]> sourceware.org Git - glibc.git/blame - ChangeLog
powerpc: Fix fsqrt build in libm [BZ#16576]
[glibc.git] / ChangeLog
CommitLineData
08cee2a4
AZ
12015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2
3 [BZ #16576]
4 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5 and use _ARCH_PPCSQ instead.
6 (__ieee754_sqrt): Likewise.
7 (__ieee754_sqrtf): Likewise.
8 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9 _ARCH_PPCSQ is defined.
10 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
11 fsqrt instruction.
12 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13 _ARCH_PPCSQ is defined.
14 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15 fsqrts instruction.
16 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17
5fe8e359
AK
182015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19
20 * iconv/loop.c: Suppress array out of bound warning caused by GCC
21 bug (GCC BZ #64739).
22
24bb7432
AS
232015-01-25 Andreas Schwab <schwab@linux-m68k.org>
24
fa20da31
AS
25 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26 Mark _retval as used.
27 (lll_futex_wake_unlock): Likewise.
28 (lll_futex_timed_wait_requeue_pi): Likewise.
29
45819cbc
AS
30 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32 register variables.
33
403cc231
AS
34 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
35 libm_hidden_def.
36
24bb7432
AS
37 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38 (__bswap_64): Mark as __always_inline.
39
9317ea65
B
402015-01-25 Bram <bug_rh@spam.wizbit.be>
41
42 [BZ #15378]
43 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
44 when none of the search directories exist.
45
0e87343e
AZ
462015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
47
bea58013
AZ
48 [BZ #17869]
49 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
50 power8 in .machine directive.
51
0e87343e
AZ
52 [BZ #17868]
53 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
54 set dependency from opd value.
55
ede0236c
L
562015-01-23 H.J. Lu <hongjiu.lu@intel.com>
57
58 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
59 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
60 architecture.
ede0236c 61
22971c35
L
622015-01-23 H.J. Lu <hongjiu.lu@intel.com>
63
64 [BZ #17870]
65 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
66 with uint64_t.
67 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
68 (uint64_t) 1.
e0da28a1 69 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
70 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
71 Replace 1UL with (uint64_t) 1.
72 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
73 int with uint64_t.
74
da5bf245
RM
752015-01-23 Roland McGrath <roland@hack.frob.com>
76
2ec2d703
RM
77 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
78 (if_freenameindex): Likewise.
79
da5bf245
RM
80 * resource/getrlimit64.c: Add missing libc_hidden_def.
81
d7423856
JM
822015-01-22 Joseph Myers <joseph@codesourcery.com>
83
84 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
85 __label__.
86 (_FP_FMA): Likewise.
87 (_FP_TO_INT_ROUND): Likewise.
88 (_FP_FROM_INT): Likewise.
89
6b2ba95b
AZ
902015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91
92 [BZ #16418]
93 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
94 Make code racy and cancel safe.
95
ccdb048d
CD
962015-01-21 Carlos O'Donell <carlos@redhat.com>
97
191220b3
CD
98 * sysdeps/arm/unwind-resume.h: Fix copyright year.
99 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
100 attribution.
101
0897c551
CD
102 * pwd/tst-getpw.c: Rewrite.
103
ccdb048d
CD
104 [BZ #17702]
105 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
106 (modules-names): Add moddummy1 and moddummy2.
107 ($(objpfx)tst-rec-dlopen): Define.
108 * dlfcn/moddummy1.c: New file.
109 * dlfcn/moddummy2.c: New file.
110 * dlfcn/tst-rec-dlopen.c: New file.
111 * elf/dl-cache.c (_dl_load_cache_lookup):
112 Return char*. Copy result with alloca/strcpy/strdup.
113 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
114 returns char*. Free cached. If not saving realname
115 free cached.
116 * elf/dl-open.c (dl_open_worker): Do not assert that
117 _r_debug->r_state is RT_CONSISTENT.
118 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
119 returns char*.
120
042e1521
CD
1212015-01-21 Torvald Riegel <triegel@redhat.com>
122 Carlos O'Donell <carlos@redhat.com>
123
124 [BZ #12674]
125 * nptl/sem_waitcommon.c: New file.
126 * nptl/sem_wait.c: Include sem_waitcommon.c.
127 (__sem_wait_cleanup, do_futex_wait): Remove.
128 (__new_sem_wait): Adapt.
129 (__new_sem_trywait): New function.
130 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
131 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
132 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
133 (sem_timedwait): Adapt.
134 * nptl/sem_post.c (__new_sem_post): Adapt.
135 (futex_wake): New function.
136 (__old_sem_post): Add release MO fence.
137 * nptl/sem_open.c (sem_open): Adapt.
138 * nptl/sem_init.c (__new_sem_init): Adapt.
139 (futex_private_if_supported): New function.
140 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
141 (__old_sem_getvalue): Add using previous code.
142 * sysdeps/nptl/internaltypes.h: Adapt.
143 * nptl/tst-sem13.c (do_test): Adapt.
144 * nptl/tst-sem11.c (main): Adapt.
145 * nptl/sem_trywait.c: Remove.
146 * nptl/DESIGN-sem.txt: Remove.
147 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
148 (gen-as-const-headers): Remove structsem.sym.
149 * nptl/structsem.sym: Remove.
150 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
151 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
152 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
153 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
154 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
155 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
156 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
157 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
158 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
159 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
160 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
161 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
162 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
163 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
164 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
165 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
166 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
167 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
168 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
169 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
170 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
171 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
172
fe0e85af
CD
1732015-01-20 Carlos O'Donell <carlos@redhat.com>
174
a8db092e
CD
175 * INSTALL: Regenerated.
176
fe0e85af
CD
177 * po/libc.pot: Regenerated.
178
522e6ee3
CLT
1792015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
180 Sandra Loosemore <sandra@codesourcery.com>
181 Andrew Jenner <andrew@codesourcery.com>
182 Joseph Myers <joseph@codesourcery.com>
183 Nathan Sidwell <nathan@codesourcery.com>
184
185 * NEWS: Mention new Nios II port.
186 * sysdeps/nios2/Implies: New file.
187 * sysdeps/nios2/Makefile: New file.
188 * sysdeps/nios2/Subdirs: New file.
189 * sysdeps/nios2/Versions: New file.
190 * sysdeps/nios2/__longjmp.S: New file.
191 * sysdeps/nios2/abort-instr.h: New file.
192 * sysdeps/nios2/backtrace.c: New file.
193 * sysdeps/nios2/bits/endian.h: New file.
194 * sysdeps/nios2/bits/fenv.h: New file.
195 * sysdeps/nios2/bits/link.h: New file.
196 * sysdeps/nios2/bits/setjmp.h: New file.
197 * sysdeps/nios2/bsd-_setjmp.S: New file.
198 * sysdeps/nios2/bsd-setjmp.S: New file.
199 * sysdeps/nios2/configure: New generated file.
200 * sysdeps/nios2/configure.ac: New file.
201 * sysdeps/nios2/crti.S: New file.
202 * sysdeps/nios2/crtn.S: New file.
203 * sysdeps/nios2/dl-init.c: New file.
204 * sysdeps/nios2/dl-machine.h: New file.
205 * sysdeps/nios2/dl-sysdep.h: New file.
206 * sysdeps/nios2/dl-tls.h: New file.
207 * sysdeps/nios2/dl-trampoline.S: New file.
208 * sysdeps/nios2/gccframe.h: New file.
209 * sysdeps/nios2/gmp-mparam.h: New file.
210 * sysdeps/nios2/jmpbuf-offsets.h: New file.
211 * sysdeps/nios2/jmpbuf-unwind.h: New file.
212 * sysdeps/nios2/ldsodefs.h: New file.
213 * sysdeps/nios2/libc-tls.c: New file.
214 * sysdeps/nios2/libm-test-ulps: New file.
215 * sysdeps/nios2/machine-gmon.h: New file.
216 * sysdeps/nios2/math-tests.h: New file.
217 * sysdeps/nios2/math_private.h: New file.
218 * sysdeps/nios2/memusage.h: New file.
219 * sysdeps/nios2/nptl/Makefile: New file.
220 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
221 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
222 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
223 * sysdeps/nios2/nptl/pthreaddef.h: New file.
224 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
225 * sysdeps/nios2/nptl/tls.h: New file.
226 * sysdeps/nios2/preconfigure: New file.
227 * sysdeps/nios2/s_fma.c: New file.
228 * sysdeps/nios2/s_fmaf.c: New file.
229 * sysdeps/nios2/setjmp.S: New file.
230 * sysdeps/nios2/sfp-machine.h: New file.
231 * sysdeps/nios2/sotruss-lib.c: New file.
232 * sysdeps/nios2/stackguard-macros.h: New file.
233 * sysdeps/nios2/stackinfo.h: New file.
234 * sysdeps/nios2/start.S: New file.
235 * sysdeps/nios2/sysdep.h: New file.
236 * sysdeps/nios2/tls-macros.h: New file.
237 * sysdeps/nios2/tst-audit.h: New file.
238 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
239 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
240 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
241 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
242 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
243 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
244 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
245 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
246 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
247 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
248 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
249 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
250 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
251 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
252 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
253 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
254 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
255 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
256 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
257 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
258 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
259 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
260 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
261 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
262 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
263 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
264 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
265 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
266 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
267 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
268 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
269 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
270 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
271 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
272 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
273 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
274 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
275 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
276 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
277 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
278 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
279 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
280 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
281 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
282
026eb207
SL
2832015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
284
285 [BZ #17844]
286 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
287 (getutent): Use weak_alias in non SHARED case
288 and default_symbol_version in SHARED case.
289 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
290 (getutent_r, pututline): Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
292 (getutid): Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
294 (getutid_r): Likewise.
295 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
296 (getutline): Likewise.
297 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
298 (getutline_r): Likewise.
299 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
300 (updwtmp): Likewise.
301
1d532483
SL
3022015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
303
304 [BZ #17848]
305 * sysdeps/s390/s390-32/memcmp.S
306 (memcmp_g5): Rename to __memcmp_g5.
307 * sysdeps/s390/s390-32/memcpy.S
308 (memcpy_g5): Rename to __memcpy_g5.
309 Jump to __memcpy_mvcle instead of memcpy_mvcle.
310 (memcpy_mvcle) Rename to __memcpy_mvcle.
311 * sysdeps/s390/s390-32/memset.S
312 (memset_g5): Rename to __memset_g5.
313 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
314 (IFUNC_RESOLVE): Prefix ifunc-resolve function
315 and use prefixed functions.
316 * sysdeps/s390/s390-32/multiarch/memcmp.S
317 (memcmp_z196): Rename to __memcmp_z196.
318 (memcmp_z10): Rename to __memcmp_z10.
319 (memcmp): Set alias to __memcmp_g5.
320 (bcmp): Set alias to __memcmp_g5.
321 * sysdeps/s390/s390-32/multiarch/memcpy.S
322 (memcpy_z196): Rename to __memcpy_z196.
323 Jump to __memcpy_mvcle instead of memcpy_mvcle.
324 (memcpy_z10): Rename to __memcpy_z10.
325 Jump to __memcpy_mvcle instead of memcpy_mvcle.
326 (memcpy): Set alias to __memcpy_g5.
327 * sysdeps/s390/s390-32/multiarch/memset.S
328 (memset_z196): Rename to __memset_z196.
329 Jump to __memset_mvcle instead of memset_mvcle.
330 (memset_z10): Rename to __memset_z10.
331 Jump to __memset_mvcle instead of memset_mvcle.
332 (memset_mvcle) Rename to __memset_mvcle.
333 (memset): Set alias to __memset_g5.
334 * sysdeps/s390/s390-64/memcmp.S
335 (memcmp_z900): Rename to __memcmp_z900.
336 * sysdeps/s390/s390-64/memcpy.S
337 (memcpy_z900): Rename to __memcpy_z900.
338 Jump to __memcpy_mvcle instead of memcpy_mvcle.
339 (memcpy_mvcle) Rename to __memcpy_mvcle.
340 * sysdeps/s390/s390-64/memset.S
341 (memset_z900): Rename to __memset_z900.
342 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
343 (IFUNC_RESOLVE): Prefix ifunc-resolve function
344 and use prefixed functions.
345 * sysdeps/s390/s390-64/multiarch/memcmp.S
346 (memcmp_z196): Rename to __memcmp_z196.
347 (memcmp_z10): Rename to __memcmp_z10.
348 (memcmp): Set alias to __memcmp_z900.
349 (bcmp): Set alias to __memcmp_z900.
350 * sysdeps/s390/s390-64/multiarch/memcpy.S
351 (memcpy_z196): Rename to __memcpy_z196.
352 Jump to __memcpy_mvcle instead of memcpy_mvcle.
353 (memcpy_z10): Rename to __memcpy_z10.
354 Jump to __memcpy_mvcle instead of memcpy_mvcle.
355 (memcpy): Set alias to __memcpy_z900.
356 * sysdeps/s390/s390-64/multiarch/memset.S
357 (memset_z196): Rename to __memset_z196.
358 Jump to __memset_mvcle instead of memset_mvcle.
359 (memset_z10): Rename to __memset_z10.
360 Jump to __memset_mvcle instead of memset_mvcle.
361 (memset_mvcle) Rename to __memset_mvcle.
362 (memset): Set alias to __memset_z900.
363
53fbd169
JM
3642015-01-14 Joseph Myers <joseph@codesourcery.com>
365
366 [BZ #17748]
367 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
368 __fesetenv instead of fesetenv.
369
d639a363
SP
3702015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
371
372 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
373 macro.
374
d3b00f46
AZ
3752015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
376
ce6615c9
AZ
377 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
378 regression on LE.
379
d3b00f46
AZ
380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
381 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
382 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
383 strncmp-power8 object.
384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
385 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
386 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
387 * NEWS: Update.
388
72607db0
RS
3892015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
393 trailing byte check.
394
54dc5461
DM
3952015-01-13 David S. Miller <davem@davemloft.net>
396
397 * include/signal.h (__sigreturn): Guard with __USE_MISC.
398
1c6e6f23
RM
3992015-01-13 Roland McGrath <roland@hack.frob.com>
400
401 * login/logout.c (logout): Use memset rather than bzero.
402 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
403 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
404 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
405 (_gethtbyaddr): Likewise.
406 * locale/programs/simple-hash.c (bcopy): Macro removed.
407
96d6fd6c
AZ
4082015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409
8bedcb5f
AZ
410 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
411 Add strcmp-power8 object.
412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
413 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
414 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
415 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
416 __strcmp_power8 implementation.
417 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
418 * NEWS: Update.
419
f06a4faf
AZ
420 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
421 Add strncpy-power8 and stpncpy-power8 objects.
422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
423 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
424 implementations.
425 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
426 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
427 __stpncpy_power8 implementation.
428 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
429 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
430 __strncpy_power8 implementation.
431 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
432 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
433 * NEWS: Update.
434
9f2f36e5
AZ
435 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
436 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
437 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
438
96d6fd6c 439 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
440 strncat-power8 object.
441 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
442 __strcat_power8 implementation.
443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
444 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
445 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
446 optimized strcat for power8.
447
448 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
449 strcpy-power8 and stpcpy-power8 objects.
450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
451 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
452 implementations.
453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
454 multiarch stpcpy implementation for POWER8.
455 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
456 multiarch strcpy implementation for POWER8.
457 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
458 __strcpy_power8 function.
459 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
460 stpcpy for POWER8.
461 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
462 strcpy for POWER8.
463 * NEWS: Update.
464
0f9e5854
LH
4652015-01-13 Leonhard Holz <leonhard.holz@web.de>
466
467 [BZ #16009]
468 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
469 weights and rules. Use do_xfrm_cached if data fits in cache,
470 do_xfrm otherwise. Moved former main loop to...
471 * (do_xfrm_cached): New function.
472 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
473 find_idx, find_position and stack_push.
474 * (find_idx): New function.
475 * (find_position): Likewise.
476 * localedata/sort-test.sh: Added test run for do_xfrm.
477 * localedata/xfrm-test.c (main): Added command line option
478 -nocache to run the test with strings that are too large for
479 the STRXFRM cache.
480
c60ec0e0
TR
4812015-01-13 Torvald Riegel <triegel@redhat.com>
482
483 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
484 variable to lll_futex_wake call, not the value itself.
485
34e93d6c
JM
4862015-01-12 Joseph Myers <joseph@codesourcery.com>
487
5a9e4c09
JM
488 [BZ #17803]
489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
490 twom64. Adjust value to 0x1p-64L.
491 (__scalblnl): Only return standard underflowing result for K <=
492 -64 not K <= -63; adjust exponent for underflowing result by 64
493 not 63.
494 * math/libm-test.inc (scalbn_test_data): Add more tests.
495 (scalbln_test_data): Likewise.
496
34e93d6c
JM
497 [BZ #17834]
498 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
499 0x1p63L.
500 (__scalblnl): Get new exponent of adjusted subnormal value from ES
501 not HX.
502 * math/libm-test.inc (scalbn_test_data): Add more tests.
503 (scalbln_test_data): Likewise.
504
ca677d3c
AZ
5052015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
506 Stefani Seibold <stefani@seibold.net>
507
508 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
509 (sysdep_routines): Add dl-vdso here, ...
510 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
511 (sysdep_routines): ... not here.
512 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
513 fallback when vDSO is not presented.
514 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
515 Define with libc_hidden_proto/libc_hidden_data_def definitions.
516 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
517 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
518 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
519 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
520 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
521 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
522 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
524 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
525 fallback configurable symbol when vDSO is not available.
526 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
527 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
528 be able to redefine fallback symbol when vDSO is not available.
529 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
530 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
531
49a9f6ab 5322015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 533
56cf2763
AZ
534 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
535 (TLS_INIT_TP): Add tm_capable initialization.
536 (TLS_DEFINE_INIT_TP): Likewise.
537 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
538 TCB.
539 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
540 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
541 calculation.
542 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
543 transactoion is lock elision is built and TCB tm_capable is set.
544 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
546 (INTERNAL_SYSCALL_NCS): Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
548 (INTERNAL_SYSCALL_NCS): Likewise.
549 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
550
4b45943a
AZ
551 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
552 for powerpc.
553 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
554 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
555 and remove it for 32 bits case.
556 [pthread_rwlock_t] (__rwelision): New field for lock elision.
557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
558 initialization.
559 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
560 Disable lock elision with rdlocks if elision is not available.
561
8d2c0a59
AZ
562 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
563 (sysdep_routines): Add lock elision objects.
564 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
565 [pthread_mutex_t] (__spins): Rework to add lock elision field.
566 [pthread_mutex_t] (__elision): Add field.
567 [__PTHREAD_SPINS]: Adjust to init lock elision field.
568 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
569 elision definitions for powerpc.
570 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
571 implementation of lock elision for powerpc.
572 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
573 implementation of timed lock elision for powerpc.
574 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
575 implementation of trylock with lock elision for powerpc.
576 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
577 implementaion of unlock for lock elision for powerpc.
578 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
579 automatic enable lock elision for mutexes.
580 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
581 transaction execution definitions for powerpc.
582 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
583 definitions.
584 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
585 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
586 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
587 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
588 * NEWS: Update.
589
bc0ed9f7
RM
5902015-01-09 Roland McGrath <roland@hack.frob.com>
591
592 * sysdeps/posix/shm-directory.c: Use <> rather than ""
593 for #include of <shm-directory.h>.
594
585d9c18
CLT
5952015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
596
597 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
598 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
599
aee6626c
MF
6002015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
601
602 [BZ #17791]
603 * NEWS: Mention bug fix.
604 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
605 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
606 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
607
9e560f48
TR
6082015-01-09 Torvald Riegel <triegel@redhat.com>
609
610 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
611
e1cfbd0c
TR
6122015-01-09 Torvald Riegel <triegel@redhat.com>
613
614 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
615
cf71e44f
DH
6162015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
617
618 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
619 pointer and cast to uintptr_t.
620
b360ee62
DH
6212015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
622
623 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
624 removed.
625 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
626
caff764e
DH
6272015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
628
629 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
630 of 0.
631
59ff172f
RM
6322015-01-08 Roland McGrath <roland@hack.frob.com>
633
c97d27f1
RM
634 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
635 <nptl/pthreadP.h> instead.
636 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
637
08734ccd
RM
638 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
639 already defined.
640 [__SIGRTMIN] (init): Function removed.
641 [__SIGRTMIN] (initialized): Variable removed.
642 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
643 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
644 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
645 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
646 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
647 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
648 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
649 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
650 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
651 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
652 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
653 * sysdeps/nptl/allocrtsig.c: New file.
654 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
655 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
656 * sysdeps/generic/testrtsig.h: File removed.
657
7b052e33
RM
658 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
659 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
660
cc40d25e
RM
661 * nptl/nptl-init.c (pthread_functions): Conditionalize
662 .ptr__nptl_setxid initialization on [SIGSETXID].
663
9287adf0
RM
664 * sysdeps/nptl/sys/procfs.h: New file.
665 * nptl_db/Makefile (headers): Add it.
666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
667
59ff172f
RM
668 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
669 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
670 * nptl/pthread_attr_setaffinity.c: Include it.
671 * nptl/pthread_setattr_default_np.c: Likewise.
672 * nptl/check-cpuset.h: New file.
673
b9205857
RH
6742015-01-08 Richard Henderson <rth@redhat.com>
675
676 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
677 (CFLAGS-tst-execstack-prog.c): Likewise.
678 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
679
1a0a8d15
CLT
6802015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
681 Sandra Loosemore <sandra@codesourcery.com>
682 Andrew Jenner <andrew@codesourcery.com>
683 Joseph Myers <joseph@codesourcery.com>
684 Nathan Sidwell <nathan@codesourcery.com>
685
686 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
687 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
688 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
689 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
690 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
691 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
692 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
693 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
694 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
695 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
696 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
697 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
698 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
699 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
700 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
701 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
702 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
703
dd6e8af6
AZ
7042015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705
706 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
707 timespec struct member in syscall macro.
708 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
709 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
710 first timeval struct member in syscall macro.
711 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
712
8116321f
JM
7132015-01-07 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #17748]
716 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
717 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
718 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
719 __feupdateenv and define as weak alias of __feupdateenv. Use
720 libm_hidden_weak.
721 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
722 libm_hidden_def.
723 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
724 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
725 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
726 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
727 libm_hidden_def.
728 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
729 __feupdateenv and define as weak alias of __feupdateenv. Use
730 libm_hidden_weak.
731 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
732 libm_hidden_def.
733 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
734 __feupdateenv and define as weak alias of __feupdateenv. Use
735 libm_hidden_weak.
736 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
737 libm_hidden_def.
738 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
739 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
740 (__feupdateenv): Likewise.
741 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
742 __feupdateenv and define as weak alias of __feupdateenv. Use
743 libm_hidden_weak.
744 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
745 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
746 libm_hidden_def.
747 * sysdeps/tile/math_private.h (__feupdateenv): New inline
748 function.
749 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
750 libm_hidden_def.
751 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
752 __feupdateenv instead of feupdateenv.
753 (default_libc_feupdateenv_test): Likewise.
754 (libc_feresetround_ctx): Likewise.
755
882dfe18
AZ
7562015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757
758 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
759 prototype.
760
39a12f8d
CM
7612015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
762
763 * posix/regcomp.c (parse_bracket_exp): Initialize type to
764 COLL_SYM in a couple of places to avoid uninitialized variable
765 wanings on tilegx gcc 4.8.2.
766
dc400d7b
RE
7672015-01-07 Richard Earnshaw <rearnsha@arm.com>
768
769 * sysdeps/aarch64/strcpy.S: New file.
770 * sysdeps/aarch64/stpcpy.S: New file.
771 * NEWS: Updated.
772
ec582ca0
RE
7732015-01-07 Richard Earnshaw <rearnsha@arm.com>
774
775 * sysdeps/aarch64/strrchr.S: New file.
776 * NEWS: Updated.
777
d5b1c5ed
EB
7782015-01-07 Eric Biggers <ebiggers3@gmail.com>
779
780 [BZ #17658]
781 * stdlib/setenv.c: Fix memory leak when setting large,
782 duplicate string.
783
fb87ee96
VN
7842015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
785
60f046a8 786 [BZ #17273]
fb87ee96
VN
787 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
788 and tabs from buffer before parsing fstab entry.
789 * misc/tst-mntent.c (main): Add test for mount entry with
790 trailing spaces and tabs.
791
cd42798a
JM
7922015-01-06 Joseph Myers <joseph@codesourcery.com>
793
01238691
JM
794 [BZ #17748]
795 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
796 * math/fesetround.c (fesetround): Rename to __fesetround and
797 define as weak alias of __fesetround. Use libm_hidden_weak.
798 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
799 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
800 * sysdeps/arm/fesetround.c (fesetround): Likewise.
801 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
802 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
803 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
804 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
805 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
806 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
807 __fesetround_inline.
808 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
809 __fesetround_inline instead of __fesetround.
810 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
811 __fesetround and define as weak alias of __fesetround. Use
812 libm_hidden_weak. Call __fesetround_inline instead of
813 __fesetround.
814 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
815 __fesetround and define as weak alias of __fesetround. Use
816 libm_hidden_weak.
817 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
818 Likewise.
819 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
821 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
822 * sysdeps/tile/math_private.h (__fesetround): New inline function.
823 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
824 __fesetround and define as weak alias of __fesetround. Use
825 libm_hidden_weak.
826 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
827 __fesetround instead of fesetround.
828 (default_libc_feholdexcept_setround): Likewise.
829 (libc_feholdsetround_ctx): Likewise.
830 (libc_feholdsetround_noex_ctx): Likewise.
831
cd42798a
JM
832 [BZ #17748]
833 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
834 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
835 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
836 and define as weak alias of __fesetenv. Use libm_hidden_weak.
837 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
838 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
839 define as weak alias of __fesetenv. Use libm_hidden_weak.
840 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
841 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
842 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
843 define as weak alias of __fesetenv. Use libm_hidden_weak.
844 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
845 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
846 define as weak alias of __fesetenv. Use libm_hidden_weak.
847 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
848 libm_hidden_def.
849 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
850 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
851 Likewise.
852 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
853 define as weak alias of __fesetenv. Use libm_hidden_weak.
854 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
855 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
856 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
857 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
858 and define as weak alias of __fesetenv. Use libm_hidden_weak.
859 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
860 __fesetenv instead of fesetenv.
861 (libc_feresetround_noex_ctx): Likewise.
862 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
863 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
864 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
865 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
866 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
867 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
868 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
869 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
870 (__feupdateenv): Likewise.
871 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
872 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
873 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
874 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
875
38949026
AJ
8762015-01-06 Aurelien Jarno <aurelien@aurel32.net>
877
1cf98e27 878 [BZ #17806]
38949026
AJ
879 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
880 addresses have been freed.
881
5fe55e9c
AJ
8822015-01-06 Aurelien Jarno <aurelien@aurel32.net>
883
884 * resolv/res_init.c (__res_vinit): Improve comments about nserv
885 and nservall.
886
dc8ab018
OB
8872015-01-06 Ondřej Bílka <neleai@seznam.cz>
888
889 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
890 Clean up check_pf allocation pattern. addresses
891
14bb4e57
AZ
8922015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893
894 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
895 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
896 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
897 * nptl/pthread_exit.c (__pthread_exit): Likewise.
898 * nptl/pthread_join.c (pthread_join): Likewise.
899 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
900 * sysdeps/posix/waitid.c (__waitid): Likewise.
901 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
902 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
903 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
904 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
906 Likewise.
907 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
908 (__libc_pread64): Likewise.
909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
910 (__libc_pwrite): Likewise.
911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
912 (__libc_pwrite64): Likewsie.
913 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
914 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
915 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
916 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
917 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
918 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
919 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
921 Likewise.
922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
923 (__libc_pread64): Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
925 Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
927 (__libc_pwrite64): Likewise.
928 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
929 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
930 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
931 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
932 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
933 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
934 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
935 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
936 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
937 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
938 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
939 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
940 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
941 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
942 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
943 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
944 Likewise.
945
10a5e112
AS
9462015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
947
948 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
949 (CFLAGS-test-double.c): Likewise.
950 (CFLAGS-test-ldouble.c): Likewise.
951 (CPPFLAGS-test-ifloat.c): Likewise.
952 (CPPFLAGS-test-idouble.c): Likewise.
953 (CPPFLAGS-test-ildoubl.c): Likewise.
954 (CFLAGS-test-test-fenv.c): Remove variable.
955 (CFLAGS-test-misc.c): Likewise.
956
57ada0e7
L
9572015-01-06 H.J. Lu <hongjiu.lu@intel.com>
958
959 [BZ #17797]
960 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
961 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
962 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
963 CLOCKS_PER_SEC == 1000000.
964 * time/clocktest.c (main): Replace %ld with %jd and cast to
965 intmax_t.
966
46abb64d
RM
9672015-01-05 Roland McGrath <roland@hack.frob.com>
968
969 * sysdeps/generic/unwind-resume.h: New file.
970 * sysdeps/gnu/unwind-resume.c: Include it.
971 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
972 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
973 argument list.
974 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
975 global rather than static.
976 (_Unwind_Resume): Update user.
977 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
978 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
979 rather than static. Add __attribute__ ((cold)).
980 (_Unwind_Resume, __gcc_personality_v0): Update callers.
981 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
982 * sysdeps/arm/arm-unwind-resume.S: New file.
983 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
984 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
985 * sysdeps/arm/Makefile [$(subdir) = csu]
986 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
987 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
988 Add rt-arm-unwind-resume.
989 [$(subdir) = nptl]
990 (libpthread-sysdep_routines, libpthread-shared-only-routines):
991 Add pt-arm-unwind-resume.
992 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
993 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
994
ef9faf13
JM
9952015-01-05 Joseph Myers <joseph@codesourcery.com>
996
997 [BZ #17748]
998 * include/fenv.h (__feholdexcept): Declare. Use
999 libm_hidden_proto.
1000 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1001 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1002 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1003 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1004 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1005 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1006 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1007 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1008 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1009 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1010 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1011 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1012 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1013 (feholdexcept): Likewise.
1014 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1016 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1017 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1018 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1019 __feholdexcept instead of feholdexcept.
1020 (default_libc_feholdexcept_setround): Likewise.
1021
295a453e
SE
10222015-01-05 Steve Ellcey <sellcey@imgtec.com>
1023
1024 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1025 to avoid using stl/str to align destination.
1026
882c4b9f
SE
10272015-01-05 Steve Ellcey <sellcey@imgtec.com>
1028
1029 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1030
ac4c11f5
JM
10312015-01-05 Joseph Myers <joseph@codesourcery.com>
1032
1033 [BZ #17796]
1034 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1035 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1036 Define as weak alias not strong alias.
1037
03403e30
SE
10382015-01-05 Steve Ellcey <sellcey@imgtec.com>
1039
1040 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1041 bltzal with addiupc.
1042 (RTLD_START): Ditto.
1043
1dca195e
CM
10442015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1045
7ea793f3
CM
1046 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1047 for __vdso_* functions in declarations.
1048 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1049 definitions.
1050 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1051 INTERNAL_VSYSCALL): Use struct return types to check for error.
1052
1dca195e
CM
1053 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1054 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1055 function with cast from llround().
1056 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1057 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1058 Define.
1059
a287953a
JM
10602015-01-05 Joseph Myers <joseph@codesourcery.com>
1061
ab70da77
JM
1062 [BZ #17793]
1063 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1064 Define as weak alias not strong alias.
1065
b8986484
JM
1066 [BZ #17635]
1067 * ctype/ctype-c99.c: New file. isblank implementation moved from
1068 ...
1069 * ctype/ctype-extn.c: ... here.
1070 (__isblank_l): Move to ...
1071 * ctype/ctype-c99_l.c: ... here. New file.
1072 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1073 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1074 Remove variable.
1075 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1076 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1077 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1078 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1079 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1080
a287953a
JM
1081 [BZ #17777]
1082 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1083 (posix_fadvise64): Define as weak alias not strong alias.
1084 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1085 (posix_fallocate64): Likewise.
1086 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1087 Remove variable.
1088 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1089 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1090 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1091 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1092 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1093
b1efe3bb
MF
10942015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1095
1096 [BZ #16191]
1097 * NEWS: Mention bug fix.
1098 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1099 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1100 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1101 (HOST_STACK_END_ADDR): Likewise.
1102
9706dc5f
JM
11032015-01-02 Joseph Myers <joseph@codesourcery.com>
1104
b93c2205
JM
1105 [BZ #17748]
1106 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1107 * math/fegetround.c (fegetround): Rename to __fegetround and
1108 define as weak alias of __fegetround. Use libm_hidden_weak.
1109 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1110 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1111 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1112 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1113 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1114 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1115 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1116 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1117 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1118 Undefine after rather than before function definition; use
1119 parentheses around function name in definition.
1120 (__fegetround): Also undefine macro after function definition.
1121 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1122 __fegetround and define as weak alias of __fegetround. Use
1123 libm_hidden_weak. Do not undefine as macro.
1124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1125 Likewise.
1126 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1127 __fegetround and define as weak alias of __fegetround. Use
1128 libm_hidden_weak.
1129 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1130 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1131 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1132 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1133 __fegetround and define as weak alias of __fegetround. Use
1134 libm_hidden_weak.
1135 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1136 __fegetround instead of fegetround.
1137
253a59cc
JM
1138 [BZ #17782]
1139 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1140 Condition macro definition on [__USE_MISC].
1141
27dae011
JM
1142 [BZ #17781]
1143 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1144 (struct sigaction): Change type of sa_flags field to int.
1145
172019c0
JM
1146 [BZ #17780]
1147 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1148 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1149 __glibc_reserved0.
1150
522ad1d6
JM
1151 * nptl/version.c (banner): Use single year in copyright notice.
1152
9706dc5f
JM
1153 * NEWS: Update copyright dates.
1154 * catgets/gencat.c (print_version): Likewise.
1155 * csu/version.c (banner): Likewise.
1156 * debug/catchsegv.sh: Likewise.
1157 * debug/pcprofiledump.c (print_version): Likewise.
1158 * debug/xtrace.sh (do_version): Likewise.
1159 * elf/ldconfig.c (print_version): Likewise.
1160 * elf/ldd.bash.in: Likewise.
1161 * elf/pldd.c (print_version): Likewise.
1162 * elf/sotruss.sh: Likewise.
1163 * elf/sprof.c (print_version): Likewise.
1164 * iconv/iconv_prog.c (print_version): Likewise.
1165 * iconv/iconvconfig.c (print_version): Likewise.
1166 * locale/programs/locale.c (print_version): Likewise.
1167 * locale/programs/localedef.c (print_version): Likewise.
1168 * login/programs/pt_chown.c (print_version): Likewise.
1169 * malloc/memusage.sh (do_version): Likewise.
1170 * malloc/memusagestat.c (print_version): Likewise.
1171 * malloc/mtrace.pl: Likewise.
1172 * manual/libc.texinfo: Likewise.
1173 * nptl/version.c (banner): Likewise.
1174 * nscd/nscd.c (print_version): Likewise.
1175 * nss/getent.c (print_version): Likewise.
1176 * nss/makedb.c (print_version): Likewise.
1177 * posix/getconf.c (main): Likewise.
1178 * scripts/test-installation.pl: Likewise.
1179 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1180
b8607aac
WN
11812015-01-02 Will Newton <will.newton@linaro.org>
1182
1183 * sysdeps/arm/armv7/configure: Removed.
1184 * sysdeps/arm/armv7/configure.ac: Likewise.
1185
b168057a
JM
11862015-01-02 Joseph Myers <joseph@codesourcery.com>
1187
1188 * All files with FSF copyright notices: Update copyright dates
1189 using scripts/update-copyrights.
1190 * intl/plural.c: Regenerated.
1191 * locale/programs/charmap-kw.h: Likewise.
1192 * locale/programs/locfile-kw.h: Likewise.
1193
b217c15f
SP
11942015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1195
1196 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1197
73a268c7
JM
11982014-12-31 Joseph Myers <joseph@codesourcery.com>
1199
1200 [BZ #17748]
1201 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1202 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1203 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1204 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1205 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1206 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1207 define as weak alias of __fegetenv. Use libm_hidden_weak.
1208 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1209 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1210 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1211 define as weak alias of __fegetenv. Use libm_hidden_weak.
1212 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1213 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1214 define as weak alias of __fegetenv. Use libm_hidden_weak.
1215 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1216 libm_hidden_def.
1217 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1218 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1219 Likewise.
1220 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1221 define as weak alias of __fegetenv. Use libm_hidden_weak.
1222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1223 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1224 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1225 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1226 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1227 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1228 __fegetenv instead of fegetenv.
1229 (libc_feholdsetround_noex_ctx): Likewise.
1230
0bd95672
MF
12312014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1232
1233 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1234 (Elf_MIPS_ABIFlags_v0): New structure.
1235 (EF_MIPS_FP64): Define.
1236 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1237 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1238 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1239 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1240 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1241 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1242 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1243 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1244 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1245 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1246 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1247 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1248 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1249 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1250 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1251 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1252 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1253 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1254 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1255 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1256 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1257 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1258 field.
1259 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1260 EF_MIPS_FP64.
1261 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1262 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1263 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1264 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1265 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1266 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1267 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1268 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1269 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1270 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1271 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1272 record the current FP ABI extension.
1273 (mips-mode-switch): Define to show if kernel headers support mode
1274 switching.
1275 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1276 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1277 supported SYSV ABI version to 3.
1278 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1279 feature.
1280
f59ad976
RS
12812014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1282 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
1284 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1285 path.
1286 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1287
4a3d3999
JM
12882014-12-31 Joseph Myers <joseph@codesourcery.com>
1289
1290 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1291 __fegetround and redefine to call __fegetround. Remove condition
1292 on [!__NO_MATH_INLINES].
1293 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1294 function.
1295 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1296 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1297 Remove macro.
1298 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1299 instead of <fenv_libc.h>.
1300 (__llrintl): Call fegetround instead of __fegetround.
1301 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1302 instead of <fenv_libc.h>.
1303 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1304 (__lrintl): Call fegetround instead of __fegetround.
1305 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1306 instead of <fenv_libc.h>.
1307 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1308 (__rintl): Call fegetround instead of __fegetround.
1309
195f3afc
SP
13102014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1311
1312 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1313 arrays.
1314
7062bd42
L
13152014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 [BZ #17775]
1318 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1319 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1320 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1321
07256e18
AS
13222014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1323
1324 * sysdeps/i386/tls-macros.h: Include <features.h>.
1325 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1326 (TLS_IE): Likewise.
1327 (TLS_LD): Likewise.
1328 (TLS_GD): Likewise.
1329 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1330 define for GCC >= 5.0.
1331
1ff950ad
CM
13322014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1333
1334 * math/test-fenv.c (test_single_exception, set_single_exc,
1335 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1336 feexcp_mask_test, feenable_test, fe_single_test): Add
1337 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1338 case where they are not used.
1339 * math/libm-test.inc: Likewise.
1340 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1341 unused in the absence of FP rounding/exception support.
1342 * stdio-common/tst-printf-round.c: Likewise.
1343 * stdlib/tst-strtod-round.c: Likewise.
1344 * stdlib/tst-strtod-underflow.c: Likewise.
1345
0747f818
JM
13462014-12-30 Joseph Myers <joseph@codesourcery.com>
1347
1348 [BZ #17723]
1349 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1350 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1351 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1352 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1353 libm_hidden_weak.
1354 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1355 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1356 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1357 libm_hidden_def.
1358 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1359 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1360 libm_hidden_weak.
1361 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1362 Likewise.
1363 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1364 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1365 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1366 libm_hidden_weak.
1367 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1368 libm_hidden_def.
1369 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1370 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1371 (__feraiseexcept): Likewise.
1372 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1373 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1374 libm_hidden_weak.
1375 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1376 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1377 libm_hidden_def.
1378 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1379 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1380 Use libm_hidden_def.
1381 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1382 libm_hidden_def.
1383 (feraiseexcept): Define as weak not strong alias. Use
1384 libm_hidden_weak.
1385 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1386 New inline function. Factored out of ...
1387 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1388 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1389 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1390 feraiseexcept.
1391 * math/w_acos.c (__acos): Likewise.
1392 * math/w_asin.c (__asin): Likewise.
1393 * math/w_ilogb.c (__ilogb): Likewise.
1394 * math/w_j0.c (y0): Likewise.
1395 * math/w_j1.c (y1): Likewise.
1396 * math/w_jn.c (yn): Likewise.
1397 * math/w_log.c (__log): Likewise.
1398 * math/w_log10.c (__log10): Likewise.
1399 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1400 * sysdeps/aarch64/fpu/math_private.h
1401 (libc_feupdateenv_test_aarch64): Likewise.
1402 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1403 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1404 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1405 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1406 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1407 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1408 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1409 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1410 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1411 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1412
8d2b2763
L
14132014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 [BZ #17732]
1416 * io/test-utime.c (main): Replace %ld with %jd and cast to
1417 intmax_t.
41fad830 1418 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1419 * nptl/tst-mutex5.c: Include <stdint.h>.
1420 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1421 * posix/tst-regex.c (run_test): Likewise.
1422 (run_test_backwards): Likewise.
5d619de4
L
1423 * rt/tst-clock.c: Include <stdint.h>.
1424 (clock_test): Replace %ld with %jd and cast to intmax_t.
1425 * rt/tst-cpuclock1.c: Include <stdint.h>.
1426 (do_test): Replace %lu with %ju and cast to uintmax_t.
1427 * rt/tst-cpuclock2.c: Include <stdint.h>.
1428 (do_test): Replace %lu with %ju and cast to uintmax_t.
1429 * rt/tst-mqueue1.c: Include <stdint.h>.
1430 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1431 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1432 intmax_t.
1433 * rt/tst-mqueue4.c (do_test): Likewise.
1434 * rt/tst-timer4.c: Include <stdint.h>.
1435 (check_ts): Replace %ld with %jd and cast to intmax_t.
1436 (do_test): Likewise.
ad86fbc3
L
1437 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1438 and cast to intmax_t.
37f46900 1439 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1440 * time/clocktest.c (main): Likewise.
1441 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1442 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1443
8b4416d8
AS
14442014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1445 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1448 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1449 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1450 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1451 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1452 version if bit_Fast_Unaligned_Load is set.
1453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1460 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1461 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1462 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1463 to 4.
1464 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1465 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1466 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1467 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1468
e47b8d3b
CM
14692014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1470
6d6d7fde
CM
1471 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1472 instead of #if to avoid a Wundef warning.
1473 * stdlib/tst-limits.c (do_test): Likewise.
1474
cd2c37c9
CM
1475 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1476 parallel other exception macros.
1477 (fegetenv): Convert from macro to extern inline so that it applies
1478 retroactively to inline functions already seen by the compiler.
1479 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1480
e47b8d3b
CM
1481 * posix/Makefile (before-compile): Use $(objpfx) for
1482 posix-conf-vars-def.h.
1483
4a6aca7b
SP
14842014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1485
7910c2ae
SP
1486 * posix/getconf.c (main): Use size_t for type of I.
1487 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1488 NSPEC.
1489
50cbbaa9
SP
1490 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1491 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1492 * posix/posix-envs.def: Likewise.
1493 * sysdeps/posix/sysconf.c: Likewise.
1494 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1495 (specs): Remove array.
1496 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1497 array.
1498
3b566046
SP
1499 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1500 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1501 (__sysconf): Use CONF_IS_* macros.
1502
4a6aca7b
SP
1503 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1504 ($(objpfx)posix-conf-vars-def.h): New target.
1505 * posix/posix-conf-vars.list: New file.
1506 * posix/posix-conf-vars.h: New file.
1507 * posix/confstr.c: Include posix-conf-vars.h.
1508 (confstr): Use CONF_IS_* macros.
1509 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1510 CONF_IS_* macros.
1511 * scripts/gen-posix-conf-vars.awk: New file.
1512
7c1395a7
CM
15132014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1514
0025b4cc
CM
1515 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1516 fegetround): Add no-op macros to avoid linknamespace issues.
1517
d8aaf74b
CM
1518 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1519 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1520
5d24aa60
CM
1521 * sysdeps/unix/sysv/linux/tile/sysdep.h
1522 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1523 assembly-specific section to avoid a redefinition warning.
1524
7c1395a7
CM
1525 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1526 long before casting to pointer to avoid a cast warning.
1527
3c87c616
CM
15282014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1529
1530 * sysdeps/tile/tilegx/Implies: New file.
1531
f559d8cf
RE
15322014-12-23 Richard Earnshaw <rearnsha@arm.com>
1533
1534 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1535
7d81e8d6
FW
15362014-12-23 Florian Weimer <fweimer@redhat.com>
1537
1538 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1539
90aa3d09
JM
15402014-12-22 Joseph Myers <joseph@codesourcery.com>
1541
1542 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1543 not define.
1544 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1545 <kernel-features.h>.
1546 (__utimes) [__NR_utimes]: Make code unconditional.
1547 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1549 (__ASSUME_UTIMES): Do not undefine.
1550 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1551 (__ASSUME_UTIMES): Likewise.
1552 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1553 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1554 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1555 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1556
4c0c0e2a
SE
15572014-12-22 Steve Ellcey <sellcey@imgtec.com>
1558
1559 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1560
0dacd7a3
CM
15612014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1562
b638f96a
CM
1563 [BZ #17747]
1564 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1565 alias to weak alias for j0l, y0l.
1566 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1567 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1568
0dacd7a3
CM
1569 [BZ #17746]
1570 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1571 conversion.
1572
528479c4
SE
15732014-12-22 Steve Ellcey <sellcey@imgtec.com>
1574
1575 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1576 to zero if not already defined.
1577
f56f9124
JM
15782014-12-22 Joseph Myers <joseph@codesourcery.com>
1579
1580 [BZ #17724]
1581 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1582 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1583 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1584 (char *) casts added.
1585 * sysdeps/ieee754/k_standardf.c: New file.
1586 * sysdeps/ieee754/k_standardl.c: Likewise.
1587 * math/Makefile (libm-support): Remove k_standard.
1588 (libm-calls): Add k_standard.
1589
8622d556
WD
15902014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1591
1592 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1593 Optimize to avoid an unnecessary FPCR read.
1594
f3806bdb
WD
15952014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1596
1597 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1598 Optimize to reduce FPCR/FPSR accesses.
1599
9b47df58
WD
16002014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1601
1602 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1603 Call libc_fetestexcept_aarch64.
1604
97be3cac
WD
16052014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1606
1607 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1608 Call libc_fesetround_aarch64.
1609
935ab817
JM
16102014-12-22 Joseph Myers <joseph@codesourcery.com>
1611
1612 [BZ #17733]
1613 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1614 (__bind): Do not define as weak alias.
1615 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1616 define.
1617 (__getsockname): Do not define as weak alias.
1618
cc8623f1
WN
16192014-12-22 Will Newton <will.newton@linaro.org>
1620
1621 * manual/install.texi: Document that we require bison 2.7
1622 or above.
1623 * INSTALL: Regenerate.
1624 * configure.ac: Use AC_CHECK_PROG_VER instead of
1625 AC_PATH_PROG when checking for bison and check for
1626 version 2.7 or above.
1627 * configure: Regenerate.
1628
a19ca65a
CM
16292014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1630
92901170 1631 [BZ #17745]
e969965a
CM
1632 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1633 * sysdeps/tile/ffsll.c (ffsll): To here.
1634
a19ca65a
CM
1635 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1636
050f7298
L
16372014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1640 if not defined.
1641 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1642 definition.
1643 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1644 hidden ___tls_get_addr.
1645 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1646 hidden __tls_get_addr.
1647 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1648 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1649 Likewise.
1650
6df5547e
AS
16512014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1652
1653 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1654 _dl_init call.
1655
7432d613
L
16562014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1659 from "call _dl_init@PLT".
1660 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1661
98fe149e
AK
16622014-12-21 Anders Kaseorg <andersk@mit.edu>
1663
1664 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1665 guarantees.
1666
d12455f5
CM
16672014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1668
1669 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1670
95dee05f
CM
16712014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1672
92901170 1673 [BZ #17744]
95dee05f
CM
1674 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1675 strnlen.
1676
2ef4b74a
SE
16772014-12-19 Steve Ellcey <sellcey@imgtec.com>
1678
1679 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1680 of multu on MIPSr6.
1681 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1682 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1683 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1684 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1685 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1686
16872014-12-19 Steve Ellcey <sellcey@imgtec.com>
1688
1689 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1690 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1691 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1692 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1693 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1694 mips32r6/mips64r6.
1695 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1696
3eb38795
OB
16972014-12-19 Ondřej Bílka <neleai@seznam.cz>
1698
1699 * string/strncat.c (STRNCAT): Simplify implementation.
1700
6d4188dd
DM
17012014-12-19 David S. Miller <davem@davemloft.net>
1702
0d4ba8be
DM
1703 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1704 access the quad as both a long double and as a series of 4 words.
1705
6d4188dd
DM
1706 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1707 link_map->l_info array access.
1708
4ef91cdc
CM
17092014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1710
804c54f7
CM
1711 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1712
4ef91cdc
CM
1713 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1714 * math/atest-exp2.c (TIMEOUT): Likewise.
1715 * math/atest-sincos.c (TIMEOUT): Likewise.
1716
afd176d6
L
17172014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1720 -Wno-error with -fno-builtin-lround.
1721
a4a43a90
TR
17222014-12-19 Torvald Riegel <triegel@redhat.com>
1723
1724 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1725 Contains futex constants and functions moved over from ...
1726 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1727 <lowlevellock-futex.h>.
1728 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1729 (lll_timedwait_tid): Add comments and parentheses around macro
1730 arguments.
1731
76f71081
TR
17322014-12-19 Torvald Riegel <triegel@redhat.com>
1733
1734 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1735 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1736 (__lll_private_flag): Remove.
1737 (lll_futex_wait): Likewise.
1738 (lll_futex_timed_wait): Likewise.
1739 (lll_futex_wake): Likewise.
1740 (lll_futex_requeue): Likewise.
1741 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1742 (__lll_timedwait_tid): Spell out argument names.
1743 (lll_timedwait_tid): Add comments and parentheses around macro
1744 arguments.
1745 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1746 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1747
6b814909
TR
17482014-12-19 Torvald Riegel <triegel@redhat.com>
1749
1750 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1751 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1752 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1753 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1754 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1755 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1756 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1757 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1758 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1759 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1760 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1761 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1764 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1765 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1766 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1767 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1768 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1769
9cd4d4ab
L
17702014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1771
1772 * sysdeps/x86_64/x32/Makefile: New file.
1773
c9c1a2d0
L
17742014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1777 1L with (mp_limb_t) 1.
1778
af102d95
RM
17792014-12-17 Roland McGrath <roland@hack.frob.com>
1780
dd690454
RM
1781 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1782 * nptl/libc_pthread_init.c: ... here.
1783 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1784 * nptl/register-atfork.c: ... here.
1785
74eb826c
RM
1786 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1787 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1788 Use assert_perror to check its return value.
1789 (__gai_create_helper_thread): Likewise.
1790
c9ce306b
RM
1791 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1792
af102d95
RM
1793 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1794
8ac5a76a
JM
17952014-12-17 Joseph Myers <joseph@codesourcery.com>
1796
ea41469b
JM
1797 [BZ #17725]
1798 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1799 __profil_counter.
1800 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1801 Likewise.
1802 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1807 (profil_counter): Likewise.
1808 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1809 (profil_counter): Likewise.
1810 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1811 Likewise.
1812 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1813 Likewise.
1814 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1815 (profil_counter): Likewise.
1816 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1817 Likewise.
1818 [!__profil_counter] (profil_counter): Define as weak alias of
1819 __profil_counter.
1820 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1821 (profil_counter): Rename to __profil_counter.
1822 [!__profil_counter] (profil_counter): Define as weak alias of
1823 __profil_counter.
1824 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1825 (profil_counter): Rename to __profil_counter.
1826 [!__profil_counter] (profil_counter): Define as weak alias of
1827 __profil_counter.
1828 * sysdeps/posix/profil.c: Update comment referring to
1829 profil_counter.
1830 (__profil): Use __profil_counter instead of profil_counter.
1831 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1832 __profil_counter. Use __profil_counter_ushort and
1833 __profil_counter_uint in definitions.
1834 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1835 instead of profil_counter_uint and profil_counter_ushort.
1836
8ac5a76a
JM
1837 [BZ #17722]
1838 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1839 define as weak alias of __inet_makeaddr.
1840 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1841 as weak alias of __inet_addr.
1842 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1843 as weak alias of __inet_pton. Use libc_hidden_weak.
1844 * include/arpa/inet.h (__inet_pton): Declare. Use
1845 libc_hidden_proto.
1846 (inet_makeaddr): Don't use libc_hidden_proto.
1847 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1848 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1849 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1850 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1851 Remove variable.
1852 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1853 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1854
66ce3cb1
SE
18552014-12-17 Steve Ellcey <sellcey@imgtec.com>
1856
1857 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1858
d22ce01b
SL
18592014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1860
1861 * stdio-common/bug-vfprintf-nargs.c (do_test):
1862 Cast value to intptr_t to avoid format warning
1863 for usage with PRIdPTR printing macro.
1864
eca2772b
SL
18652014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1866
1867 * libio/tst-widetext.c (do_test):
1868 Use format type %td instead of %Zd for ptrdiff_t
1869 in order to avoid format warning.
1870
bdf079da
AS
18712014-12-17 Andreas Schwab <schwab@suse.de>
1872
1873 * nscd/mem.c (gc): Add size_t cast to match printf format.
1874
3eb5d2fc
RM
18752014-12-16 Roland McGrath <roland@hack.frob.com>
1876
1877 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1878 (init): Apply PTR_MANGLE to pointers before storing them.
1879 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1880 before using them.
1881
d003ada2
JM
18822014-12-16 Joseph Myers <joseph@codesourcery.com>
1883
380292ba
JM
1884 [BZ #17719]
1885 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1886 define as weak alias of __memrchr.
1887 (__memrchr): Do not define as strong alias of memrchr.
1888 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1889 Remove variable.
1890 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1891 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1892 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1893
9a44d530
JM
1894 [BZ #17717]
1895 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1896 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1897 (if_indextoname): Rename to __if_indextoname and define as weak
1898 alias of __if_indextoname. Use libc_hidden_weak.
1899 (if_freenameindex): Rename to __if_freenameindex and define as
1900 weak alias of __if_freenameindex.
1901 (if_nameindex): Rename to __if_nameindex and define as weak alias
1902 of __if_nameindex.
1903 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1904 __if_nametoindex and define as weak alias of __if_nametoindex.
1905 Use libc_hidden_weak.
1906 (if_freenameindex): Rename to __if_freenameindex and define as
1907 weak alias of __if_freenameindex.
1908 (if_nameindex): Rename to __if_nameindex and define as weak alias
1909 of __if_nameindex.
1910 (if_indextoname): Rename to __if_indextoname and define as weak
1911 alias of __if_indextoname. Use libc_hidden_weak.
1912 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1913 __if_nametoindex and define as weak alias of __if_nametoindex.
1914 Use libc_hidden_weak.
1915 (if_freenameindex): Rename to __if_freenameindex and define as
1916 weak alias of __if_freenameindex. Use libc_hidden_weak.
1917 (if_nameindex_netlink): Use __if_freenameindex instead of
1918 if_freenameindex.
1919 (if_nameindex): Rename to __if_nameindex and define as weak alias
1920 of __if_nameindex. Use libc_hidden_weak.
1921 (if_indextoname): Rename to __if_indextoname and define as weak
1922 alias of __if_indextoname. Use libc_hidden_weak.
1923 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1924 libc_hidden_proto.
1925 [!_ISOMAC] (__if_freenameindex): Likewise.
1926 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1927 if_nametoindex.
1928 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1929 variable.
1930 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1931 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1932 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1933 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1934 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1935 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1936 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1937
d003ada2
JM
1938 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1939 Remove variable.
1940 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1941 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1942
a0d424ef
SP
19432014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1944
0cd85520
SP
1945 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1946 subscript above bounds'
1947
a0d424ef
SP
1948 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1949 bounds.
1950
0e426475
AS
19512014-12-16 Arjun Shankar <arjun.is@lostca.se>
1952
8b460906
AS
1953 * libio/tst-fopenloc.c: Use test-skeleton.c.
1954
fa13e15b
AS
1955 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1956 (entry): Rename to ITEM.
1957 (do_test, comp): Adjust.
1958
0e426475
AS
1959 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1960
4f646bce
TR
19612014-12-16 Torvald Riegel <triegel@redhat.com>
1962
1963 * string/tester.c: Include <libc-internal.h>.
1964 (test_memset): Ignore -Wmemset-transposed-args.
1965
a07c4427
TR
19662014-12-16 Torvald Riegel <triegel@redhat.com>
1967
1968 * misc/tst-mntent2.c (do_test): Fix warning.
1969
1469f466
TR
19702014-12-16 Torvald Riegel <triegel@redhat.com>
1971
1972 * elf/tst-unique4lib.cc(a): Mark as used.
1973
11e3417a
FW
19742014-12-16 Florian Weimer <fweimer@redhat.com>
1975
1976 [BZ #17630]
1977 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1978 names.
1979
ae61fc7b
AM
19802014-12-16 Allan McRae <allan@archlinux.org>
1981
1982 * stdio-common/Makefile (tests): Re-add bug26.
1983
363a9899
OB
19842014-12-15 Ondřej Bílka <neleai@seznam.cz>
1985
1986 [BZ #17657]
1987 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1988 static array.
1989
d52c62df
TR
19902014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1991
1992 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1993 (__lll_lock_wait): Likewise.
1994 (__lll_timedlock_wait): Likewise.
1995 (__lll_timedwait_tid): Likewise.
1996 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1997 (__lll_robust_timedlock_wait): Likewise.
1998 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1999 (lll_cond_trylock): Likewise.
2000 (__lll_lock): Likewise.
2001 (__lll_robust_lock): Likewise.
2002 (__lll_cond_lock): Likewise.
2003 (lll_robust_cond_lock): Likewise.
2004 (__lll_timedlock): Likewise.
2005 (__lll_robust_timedlock): Likewise.
2006 (__lll_unlock): Likewise.
2007 (__lll_robust_unlock): Likewise.
2008 (lll_wait_tid): Likewise.
2009 (lll_timedwait_tid): Likewise.
2010
045a6bcd
TR
20112014-12-15 Torvald Riegel <triegel@redhat.com>
2012
2013 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2014
7f786dc1
TR
20152014-12-15 Torvald Riegel <triegel@redhat.com>
2016
2017 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2018
e7e21cba
AZ
20192014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2020
2021 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2022 * stdio-common/tst-sprintf.c: Likewise.
2023
bc89c0fc
TR
20242014-12-15 Torvald Riegel <triegel@redhat.com>
2025
2026 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2027
a5357b7c
JL
20282014-12-15 Jeff Law <law@redhat.com>
2029
2030 [BZ #16617]
2031 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2032 on the heap. (CVE-2012-3406)
2033 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2034 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2035 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2036
3a12c70f
WN
20372014-12-15 Will Newton <will.newton@linaro.org>
2038
2039 * manual/install.texi: Bump required version of texinfo
2040 to 4.7 from 4.5.
2041 * INSTALL: Regenerated.
2042 * configure.ac: Check for makeinfo version 4.7 and above.
2043 * configure: Regenerated.
2044
e4f639e4
RM
20452014-12-12 Roland McGrath <roland@hack.frob.com>
2046
2047 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2048 PREFIX, string constant to insert between directory and name.
2049 * sysdeps/posix/shm_open.c: Update caller.
2050 * sysdeps/posix/shm_unlink.c: Likewise.
2051 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2052 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2053 (SEM_SHM_PREFIX): New macro.
2054 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2055 [$(have-thread-library) = no].
2056 * nptl/Makefile (libpthread-routines): Add shm-directory.
2057 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2058 * sysdeps/nptl/shm-directory.h: New file.
2059 * sysdeps/posix/shm-directory.c
2060 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2061 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2062 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2063 INTERNAL_SYSCALL.
2064 (__where_is_shmfs): Function removed.
2065 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2066 Variables removed.
2067 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2068 Use SHM_GET_NAME.
2069 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2070
2071 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2072 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2073 unconditional for use inside libpthread.
2074 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2075
439c43f6
RM
20762014-12-12 Roland McGrath <roland@hack.frob.com>
2077
c76d1ff5
RM
2078 * nptl/pthread_getaffinity.c: New file.
2079 * nptl/pthread_setaffinity.c: New file.
2080 * nptl/pthread_getname.c: New file.
2081 * nptl/pthread_setname.c: New file.
2082
439c43f6
RM
2083 * nptl/pthread_create.c (START_THREAD_DEFN)
2084 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2085
48e435cd
SL
20862014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2087 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2088
2089 * resolv/res_send.c (send_vc): Disable warning resplen may
2090 be used uninitialized.
2091
9d9c0019
SL
20922014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2093
2094 * nptl/tst-mutex6.c
2095 (ATTR_NULL): New define checks ATTR against NULL.
2096 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2097 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2098
9173840b
JL
20992014-12-11 James Lemke <jwlemke@codesourcery.com>
2100
2101 [BZ #17581]
2102 * malloc/hooks.c
2103 (mem2mem_check): Revert my previous change.
2104 (malloc_check_get_size): Revert my previous change.
2105 (mem2chunk_check): Revert my previous change.
2106
78e21c5d
RM
21072014-12-11 Roland McGrath <roland@hack.frob.com>
2108
2109 * sysdeps/posix/shm-directory.c: New file.
2110 * sysdeps/posix/shm-directory.h: New file.
2111 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2112 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2113 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2114 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2115 Transmute EPERM to EACCES.
2116 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2117 from ...
2118 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2119 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2120
f82c43af
KK
21212014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2122
2123 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2124 pointer and cast to uintptr_t.
2125 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2126 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2127 Add cast to avoid warning.
2128 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2129
fc00cf7b
JM
21302014-12-11 Joseph Myers <joseph@codesourcery.com>
2131
2132 * nptl/semaphore.h: Move to ...
2133 * sysdeps/pthread/semaphore.h: ... here.
2134 * Makefile (installed-headers): Change nptl/semaphore.h to
2135 sysdeps/pthread/semaphore.h.
2136
1c4053db
RM
21372014-12-11 Roland McGrath <roland@hack.frob.com>
2138
73b0c1a1
RM
2139 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2140 generated error format strings.
2141
1c4053db
RM
2142 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2143 -Wformat-extra-args warnings for scanf formats.
2144 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2145 test of zero-length format (duh).
2146 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2147 corner-case scanf format test.
2148 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2149 generated fprintf format string.
2150 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2151 corner-case sprintf format tests.
2152 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2153 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2154 -Wformat-extra-args warnings throughout.
2155 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2156 (CFLAGS-scanf4.c): Likewise.
2157 (CFLAGS-scanf7.c): Likewise.
2158 (CFLAGS-tst-sprintf.c): Likewise.
2159 (CFLAGS-tst-printf.c): Likewise.
2160 (CFLAGS-tst-printfsz.c): Likewise.
2161
47d51f4f
JM
21622014-12-11 Joseph Myers <joseph@codesourcery.com>
2163
a1edbf3c
JM
2164 * include/cpio.h: New file.
2165 * include/fmtmsg.h: Likewise.
2166
47d51f4f
JM
2167 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2168 corresponding format argument to size_t.
2169 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2170 arguments.
2171 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2172 corresponding format argument to size_t.
2173 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2174 arguments.
2175 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2176 corresponding format argument to size_t.
2177 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2178 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2179 (CFLAGS-tst-mbswcs2.c): Likewise.
2180 (CFLAGS-tst-mbswcs3.c): Likewise.
2181 (CFLAGS-tst-mbswcs4.c): Likewise.
2182 (CFLAGS-tst-mbswcs5.c): Likewise.
2183 (CFLAGS-tst-trans.c): Likewise
2184
e9813cfb
RM
21852014-12-11 Roland McGrath <roland@hack.frob.com>
2186
2187 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2188 rather than assuming they won't contain any '%'s.
2189
f627ca82
CM
21902014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2191
2192 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2193 inhibit_loop_to_libcall to avoid recursive calls.
2194 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2195 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2196
7f296942
AZ
21972014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2198
2199 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2200 prototype.
2201
d0276e18
SE
22022014-12-11 Steve Ellcey <sellcey@imgtec.com>
2203
2204 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2205 integer value instead of boolean.
2206
fc56e970
SE
22072014-12-11 Steve Ellcey <sellcey@imgtec.com>
2208
2209 * malloc/malloc.c: Fix powerof2 check.
2210
40e53917
SL
22112014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2212
2213 * locale/programs/locfile.h (maybe_swap_uint32):
2214 Remove inline and add unused attribute.
2215
1ea166df
SL
22162014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2217
9d9c0019 2218 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2219 Truncating assembler expression to a .long expression.
2220
acf869f4
AS
22212014-12-11 Andreas Schwab <schwab@suse.de>
2222
2223 * elf/rtld.c (struct map_args): Constify str member.
2224 (do_preload): Constify fname argument.
2225
9d969099
AZ
22262014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227
2228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2229 constants definition.
2230
da5bcaa4
AS
22312014-12-11 Andreas Schwab <schwab@suse.de>
2232
b0a3c164
AS
2233 [BZ #16657]
2234 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2235 FORCE_ELISION instead of DO_ELISION.
2236 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2237 Remove.
2238 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2239 Likewise.
2240
da5bcaa4
AS
2241 * iconvdata/gconv-modules: Remove duplicate entry.
2242
6d248857
WN
22432014-12-11 Will Newton <will.newton@linaro.org>
2244
2245 Merge gettext 0.19.3 into intl/.
2246
2247 This involves a number of cosmetic changes to comments
2248 and ANSI function definitions and prototypes throughout
2249 all the files. The gettext copyright header is used but
2250 with the date ranges taken from the glibc copy.
2251
2252 * NEWS: Add gettext merge to 2.21.
2253 * intl/bindtextdom.c: Switch to gettext copyright.
2254 Use ANSI definitions and prototypes.
2255 Use gl_* locking primitives rather than __libc_* ones.
2256 Use __builtin_expect rather than __glibc_likely/unlikely.
2257 * intl/dcgettext.c: Switch to gettext copyright.
2258 Use ANSI definitions and prototypes.
2259 * intl/dcigettext.c: Switch to gettext copyright.
2260 Use ANSI definitions and prototypes.
2261 (INTDIV0_RAISES_SIGFPE): New define.
2262 Use gl_* locking primitives rather than __libc_* ones.
2263 Include eval-plural.h instead of plural-eval.c.
2264 Use __builtin_expect rather than __glibc_likely/unlikely.
2265 * intl/dcngettext.c: Switch to gettext copyright.
2266 Use ANSI definitions and prototypes.
2267 * intl/dgettext.c: Likewise.
2268 * intl/dngettext.c: Likewise.
2269 * intl/plural-eval.c: Renamed to...
2270 * intl/eval-plural.h: ...this.
2271 * intl/explodename.c: Switch to gettext copyright.
2272 Use ANSI definitions and prototypes.
2273 (_nl_explode_name): Use strchr instead of __rawmemchr.
2274 * intl/finddomain.c: Switch to gettext copyright.
2275 Use ANSI definitions and prototypes.
2276 Use gl_* locking primitives rather than __libc_* ones.
2277 (_nl_find_domain): Use malloc rather than alloca for
2278 allocation of temporary locale name.
2279 * intl/gettext.c: Switch to gettext copyright.
2280 Use ANSI definitions and prototypes.
2281 * intl/gettextP.h: Switch to gettext copyright.
2282 Use ANSI definitions and prototypes.
2283 Use gl_* locking primitives rather than __libc_* ones.
2284 * intl/gmo.h: Switch to gettext copyright.
2285 (struct sysdep_string): Move struct segment_pair outside of
2286 struct definition.
2287 * intl/hash-string.c: Use ANSI definitions and prototypes.
2288 * intl/hash-string.h: Switch to gettext copyright.
2289 Use ANSI definitions and prototypes.
2290 * intl/l10nflist.c: Switch to gettext copyright.
2291 Use ANSI definitions and prototypes.
2292 (_nl_normalize_codeset): Avoid integer overflow.
2293 * intl/loadinfo.h: Switch to gettext copyright.
2294 Use ANSI definitions and prototypes.
2295 (LIBINTL_DLL_EXPORTED): New define.
2296 (PATH_SEPARATOR): New define.
2297 * intl/loadmsgcat.c: Switch to gettext copyright.
2298 * intl/localealias.c: Switch to gettext copyright.
2299 Use ANSI definitions and prototypes.
2300 (_nl_expand_alias): Use PATH_SEPARATOR.
2301 * intl/ngettext.c: Switch to gettext copyright.
2302 Use ANSI definitions and prototypes.
2303 * intl/plural-exp.c: Likewise.
2304 * intl/plural-exp.h: Switch to gettext copyright.
2305 Use ANSI definitions and prototypes.
2306 (struct expression): Move definition of enum operator outside
2307 of struct definition.
2308 * intl/plural.c: Regenerate.
2309 * intl/plural.y: Switch to gettext copyright.
2310 Use ANSI definitions and prototypes.
2311 Port to bison 3.0.
2312 * intl/textdomain.c: Switch to gettext copyright.
2313 Use ANSI definitions and prototypes.
2314 Use gl_* locking primitives rather than __libc_* ones.
2315
48c43298
SE
23162014-12-10 Steve Ellcey <sellcey@imgtec.com>
2317
2318 * debug/warning-nop.c: Add used atrribute.
2319
2b89bce9
JM
23202014-12-10 Joseph Myers <joseph@codesourcery.com>
2321
c153ac9f
JM
2322 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2323
2b89bce9
JM
2324 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2325 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2326 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2327
2cfbdb9a
JM
23282014-12-10 Joseph Myers <joseph@codesourcery.com>
2329 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2330
2331 [BZ #17634]
2332 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2333 Undefine after defining function. Define as weak alias of
2334 __wcschr. Use libc_hidden_weak.
2335 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2336 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2337 (libc_hidden_def): Also define __GI___wcschr alias.
2338 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2339 __wcschr and define as weak alias of __wcschr.
2340 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2341 __wcschr.
2342 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2343 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2344 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2345 libc_hidden_weak. Do not use libc_hidden_def.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2347 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2348 __GI___wcschr alias.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2350 [IS_IN (libc)] (wcschr): Define as macro expanding to
2351 __redirect_wcschr.
2352 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2353 [IS_IN (libc)] (__wcschr_power6): Likewise.
2354 [IS_IN (libc)] (__wcschr_power7): Likewise.
2355 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2356 instead of wcschr.
2357 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2358 __libc_wcschr.
2359 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2360 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2361 __wcschr and define as weak alias of __wcschr. Use
2362 libc_hidden_builtin_def.
2363 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2364 as weak alias of __wcschr. Use libc_hidden_weak.
2365 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2366 wcschr.
2367 * time/era.c (_nl_init_era_entries): Likewise.
2368 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2369 variable.
2370 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2371 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2372
1b8bf351
JM
23732014-12-10 Joseph Myers <joseph@codesourcery.com>
2374
2375 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2376 format for long int variable.
2377
f5f46d51
AK
23782014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2379
2380 [BZ #10672]
07008f7d 2381 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2382 qsort stable.
2383
217a74a8
AS
23842014-12-10 Andreas Schwab <schwab@suse.de>
2385
2386 [BZ #12847]
2387 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2388 user-controlled locks.
2389
aa76a5c7
RE
23902014-12-10 Richard Earnshaw <rearnsha@arm.com>
2391
2392 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2393 register.
2394
2084e7ca
JM
23952014-12-10 Joseph Myers <joseph@codesourcery.com>
2396
a4ecc9eb
JM
2397 * configure.ac (--disable-werror): New configure option.
2398 (enable_werror): New AC_SUBST.
2399 * configure: Regenerated.
2400 * config.make.in (enable-werror): New variable.
2401 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2402 -Wno-error=undef.
2403 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2404 * manual/install.texi (Configuring and compiling): Document
2405 --disable-werror.
2406 * INSTALL: Regenerated.
2407 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2408 (CFLAGS-tst-chk2.c): Likewise.
2409 (CFLAGS-tst-chk3.c): Likewise.
2410 (CFLAGS-tst-chk4.cc): Likewise.
2411 (CFLAGS-tst-chk5.cc): Likewise.
2412 (CFLAGS-tst-chk6.cc): Likewise.
2413 (CFLAGS-tst-lfschk1.c): Likewise.
2414 (CFLAGS-tst-lfschk2.c): Likewise.
2415 (CFLAGS-tst-lfschk3.c): Likewise.
2416 (CFLAGS-tst-lfschk4.cc): Likewise.
2417 (CFLAGS-tst-lfschk5.cc): Likewise.
2418 (CFLAGS-tst-lfschk6.cc): Likewise.
2419
0f88636c
JM
2420 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2421 (main): Disable -Wdeprecated-declarations around calls to
2422 register_printf_function.
2423
c81e9deb
JM
2424 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2425 (do_test): Disable -Wdiv-by-zero around some calls to
2426 fwrite_unlocked and fread_unlocked.
2427
2084e7ca
JM
2428 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2429 (DIAG_POP_NEEDS_COMMENT): Likewise.
2430 (_DIAG_STR1): Likewise.
2431 (_DIAG_STR): Likewise.
2432 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2433 * stdio-common/bug21.c: Include <libc-internal.h>.
2434 (do_test): Disable -Wformat around call to sscanf.
2435 * stdio-common/scanf14.c: Include <libc-internal.h>.
2436 (main): Disable -Wformat around some calls to scanf functions.
2437
df7ecc6b
TR
24382014-12-09 Torvald Riegel <triegel@redhat.com>
2439
2440 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2441
2aa3862e
AZ
24422014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2443
2444 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2445 stack variable alignment.
2446
c5c2b7c3
JM
24472014-12-06 Joseph Myers <joseph@codesourcery.com>
2448
2449 [BZ #17682]
2450 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2451 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2452 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2453 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2454 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2455 __getrlimit instead of getrlimit.
2456 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2457 __gettimeofday instead of gettimeofday.
2458 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2459 Likewise.
2460 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2461 Likewise.
2462 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2463 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2464 Remove variable.
2465 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2466 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2467
9752c3cd
AZ
24682014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469
2470 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2471 for wide-character tests.
2472
4bee4cd9
RM
24732014-12-04 Roland McGrath <roland@hack.frob.com>
2474
2475 * io/openat64.c: #include <libc-internal.h>
2476 (__openat64): Prototypify. Use ignore_value on MODE.
2477 * io/openat.c: Likewise.
2478 * misc/reboot.c: #include <libc-internal.h>
2479 (reboot): Prototypify. Use ignore_value on HOWTO.
2480 * misc/ptrace.c: #include <libc-internal.h>
2481 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2482
84dbedb6
JM
24832014-12-04 Joseph Myers <joseph@codesourcery.com>
2484
2485 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2486 XPG4, UNIX98 and XOPEN2K.
2487 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2488 Remove variable.
2489 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2490
b7a3e1c4 24912014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2492
af50dfc1 2493 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2494 * libio/iofopen.c: Likewise.
2495 * libio/wfileops.c: Likewise.
2496
fe8b4d98
SP
2497 [BZ #17653]
2498 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2499 offset on EOF.
2500 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2501 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2502 (fgets_func): Function pointer to fgets and fgetws.
2503 (do_ftell_test): Add test to verify ftell value after read
2504 EOF.
2505 (do_test): Set fgets_func.
2506
61b4f792
SP
2507 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2508 O_TRUNC flag for w and w+ modes.
2509 (do_rewind_test): Likewise.
2510 (do_ftell_test): Likewise.
2511 (do_write_test): Likewise.
2512
be349d70
SP
2513 [BZ #17647]
2514 * libio/fileops.c (do_ftell): Seek only when there are
2515 unflushed writes.
2516 * libio/wfileops.c (do_ftell_wide): Likewise.
2517 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2518 test case.
2519 (do_one_test): Call it.
2520
e3d6dba5
JM
25212014-12-03 Joseph Myers <joseph@codesourcery.com>
2522
2523 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2524 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2525 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2526 Remove variable.
2527 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2528 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2529 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2530
7f994279
JM
25312014-12-02 Joseph Myers <joseph@codesourcery.com>
2532
28a91e8f
JM
2533 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2534 Remove variable.
2535 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2536
7f994279
JM
2537 [BZ #17668]
2538 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2539 as weak alias of __getifaddrs. Use libc_hidden_weak.
2540 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2541 __freeifaddrs. Use libc_hidden_weak.
2542 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2543 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2544 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2545 __freeifaddrs. Use libc_hidden_weak.
2546 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2547 __getifaddrs and define as weak alias of __getifaddrs. Use
2548 libc_hidden_weak.
2549 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2550 __freeifaddrs. Use libc_hidden_weak.
2551 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2552 Remove variable.
2553 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2554 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2555
bbe4c142
PJ
25562014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2557
2558 [BZ #17601]
2559 * sysdeps/mips/start.S (__start): Use indirect jump to call
2560 __libc_start_main.
2561
66cadc05
JM
25622014-12-02 Joseph Myers <joseph@codesourcery.com>
2563
909e16d9
JM
2564 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2565
4e0b9016
JM
2566 * nptl/tst-mutex1.c: Include <stdbool.h>.
2567 [!ATTR] (ATTR_NULL): New macro.
2568 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2569 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2570 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2571
b1aff6a4
JM
2572 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2573 to char *.
2574
266865c0
JM
2575 [BZ #17665]
2576 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2577 Change conditional to [__USE_MISC].
2578
84e5e756
JM
2579 [BZ #17664]
2580 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2581 fgets_unlocked.
2582 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2583 __fgets_unlocked.
2584 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2585 fgets_unlocked.
2586 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2587 Remove variable.
2588 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2589 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2590 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2591 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2592 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2593 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2594 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2595 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2596 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2597
66cadc05
JM
2598 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2599
2e8a2de2 26002014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2601
2602 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2603 Remove strpbrk objects.
2604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2605 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2606 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2607 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2608 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2609 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2610
bb2542e0
AZ
2611 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2612 Remove strcspn objects.
2613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2614 (__libc_ifunc_impl_list): Remove strcspn implementation.
2615 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2616 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2617 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2618 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2619
2620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2621 Remove strspn objetcs.
2622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2623 (__libc_ifunc_impl_list): Remove strspn implementation.
2624 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2625 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2626 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2627 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2628
08f1e1d2
JL
26292014-12-01 James Lemke <jwlemke@codesourcery.com>
2630
2631 [BZ #17581]
2632 * malloc/hooks.c
2633 (mem2mem_check): Add a terminator to the chain of checking blocks.
2634 (malloc_check_get_size): Use it here.
2635 (mem2chunk_check): Ditto.
2636
a8a7d7d2
RS
26372014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2638
2639 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2640 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2641
97114a38
CD
26422014-11-29 Carlos O'Donell <carlos@redhat.com>
2643
c8dc1727
CD
2644 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2645
6d03458e
CD
2646 * nptl/nptl-init.c: Include libc-internal.h.
2647 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2648
97114a38
CD
2649 * elf/ldconfig.c (search_dir): Expand comment.
2650
0e7e69ba
JM
26512014-11-29 Joseph Myers <joseph@codesourcery.com>
2652
2653 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2654 variable.
2655 (linknamespace-symlist-stdlibs-tests): Likewise.
2656 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2657 instead of $(objpfx)symlist-stdlibs.
2658 (linknamespace-libs-isoc): New variable.
2659 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2660 (linknamespace-libs-ISO): New variable.
2661 (linknamespace-libs-ISO99): Likewise.
2662 (linknamespace-libs-ISO11): Likewise.
2663 (linknamespace-libs-XPG3): Likewise.
2664 (linknamespace-libs-XPG4): Likewise.
2665 (linknamespace-libs-POSIX): Likewise.
2666 (linknamespace-libs-UNIX98): Likewise.
2667 (linknamespace-libs-XOPEN2K): Likewise.
2668 (linknamespace-libs-POSIX2008): Likewise.
2669 (linknamespace-libs-XOPEN2K8): Likewise.
2670 ($(objpfx)symlist-stdlibs): Replace by
2671 $(linknamespace-symlist-stdlibs-tests). Use
2672 $(linknamespace-libs-$*) as set of libraries.
2673 ($(linknamespace-header-tests)): Update dependencies. Use
2674 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2675 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2676 * conform/linknamespace.pl: Remove comment about considering
2677 definitions of symbols from irrelevant libraries.
2678
d8dd0080
L
26792014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 [BZ #13862]
2682 * elf/dl-tls.c: Include <atomic.h>.
2683 (oom): Remove #ifdef SHARED/#endif.
2684 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2685 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2686 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2687 big enough.
2688 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2689 * nptl/Makefile (tests): Add tst-stack4.
2690 (modules-names): Add tst-stack4mod.
2691 ($(objpfx)tst-stack4): New.
2692 (tst-stack4mod.sos): Likewise.
2693 ($(objpfx)tst-stack4.out): Likewise.
2694 ($(tst-stack4mod.sos)): Likewise.
2695 (clean): Likewise.
2696 * nptl/tst-stack4.c: New file.
2697 * nptl/tst-stack4mod.c: Likewise.
2698
167da422
B
26992014-11-27 J. Brown <jb999@gmx.de>
2700
2701 * sysdeps/x86/bits/string.h: Add recent CPUs.
2702
9114625b
JM
27032014-11-27 Joseph Myers <joseph@codesourcery.com>
2704
6b5189eb
JM
2705 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2706 sigblock.
2707
49051f8e
JM
2708 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2709 feof.
2710
9114625b
JM
2711 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2712 variable.
2713
e7300fef
SL
27142014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2715
2716 * nscd/connections.c: Include libc-internal.h because of macro
2717 usage ignore_value.
2718
1721f0a4
SP
27192014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2720
2721 * string/bits/string3.h (__warn_memset_zero_len): Don't
2722 declare for gcc newer than 5.0.
2723 (memset): Don't test for zero-length __LEN for gcc newer than
2724 5.0.
2725
be970916
JM
27262014-11-27 Joseph Myers <joseph@codesourcery.com>
2727
d88548f4
JM
2728 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2729 size_t for %zu format.
2730
be970916
JM
2731 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2732 difference, not %ju.
2733
3b20fd5c
JM
27342014-11-26 Joseph Myers <joseph@codesourcery.com>
2735
8915eace
JM
2736 * include/libc-internal.h (ignore_value): New macro.
2737 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2738 with ignore_value.
2739
f1a5a0e3
JM
2740 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2741 definition.
2742
59ef1715
JM
2743 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2744 pthread_cleanup_push to void *.
2745
a6f3079b
JM
2746 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2747 Undefine.
2748
706688aa
JM
2749 [BZ #16619]
2750 [BZ #16740]
2751 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2752 instead of 1L << 52.
2753
12da14a5
JM
2754 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2755 * libio/bug-rewind2.c (do_test): Likewise.
2756
bd5dadac
JM
2757 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2758 * debug/test-strcpy_chk-ifunc.c: Likewise.
2759 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2760 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2761 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2762 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2763 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2764 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2765 * Rules [$(multi-arch) = no] (tests): Do not filter out
2766 $(tests-ifunc).
2767 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2768 * debug/Makefile (tests-ifunc): Remove variable.
2769 (tests): Do not add $(tests-ifunc).
2770 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2771 (tests): Do not add $(tests-ifunc).
2772 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2773 [TEST_IFUNC]: Remove conditionals.
2774 * string/test-string.h (TEST_IFUNC): Remove macro.
2775 [TEST_IFUNC]: Remove conditionals.
2776
3b20fd5c
JM
2777 * string/test-strchr.c [!WIDE] (L): New macro.
2778 [WIDE] (L): Likewise.
2779 (check1): Use CHAR instead of char. Use L on string and character
2780 constants.
2781
704f7947
AZ
27822014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2783
2784 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2785 tests.
2786 * sysdeps/powerpc/bits/atomic.h
2787 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2788 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2789 (atomic_exchange_and_add_acq): Likewise.
2790 (atomic_exchange_and_add_rel): Likewise.
2791 * sysdeps/powerpc/powerpc32/bits/atomic.h
2792 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2793 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2794 * sysdeps/powerpc/powerpc64/bits/atomic.h
2795 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2796 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2797
cdcb42d7
TR
27982014-11-26 Torvald Riegel <triegel@redhat.com>
2799
2800 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2801 Change synchronization of __sched_fifo_min_prio and
2802 __sched_fifo_max_prio.
2803 * nptl/pthread_mutexattr_getprioceiling.c
2804 (pthread_mutexattr_getprioceiling): Likewise.
2805 * nptl/pthread_mutexattr_setprioceiling.c
2806 (pthread_mutexattr_setprioceiling): Likewise.
2807 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2808 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2809 Likewise.
2810
c82f5c0c
JM
28112014-11-26 Joseph Myers <joseph@codesourcery.com>
2812
2813 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2814 void.
2815
439e1ad6
JM
28162014-11-25 Joseph Myers <joseph@codesourcery.com>
2817
2818 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2819 third argument const.
2820
b1eda10e
PE
28212014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2822
2823 fnmatch: work around GCC compiler warning bug with uninit var
2824 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2825 This works around a bug with x86-64 GCC 4.9.2 and earlier
2826 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2827 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2828 used uninitialized in this function [-Wmaybe-uninitialized]".
2829
bde2667a
JM
28302014-11-25 Joseph Myers <joseph@codesourcery.com>
2831
2832 * posix/bug-regex31.c (main): Return RES not 0.
2833
5fbb5691
AB
28342014-11-25 Anton Blanchard <anton@samba.org>
2835
2836 * sysdeps/powerpc/bits/atomic.h
2837 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2838
467fec0b
BM
28392014-11-24 Sterling Augustine <saugustine@google.com>
2840
2841 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2842
e9ff8efb
RC
28432014-11-24 Ryan Cumming <etaoins@gmail.com>
2844
2845 [BZ #17608]
2846 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2847
9744496f
JM
28482014-11-24 Joseph Myers <joseph@codesourcery.com>
2849
2850 [BZ #17633]
2851 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2852 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2853 variable.
2854 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2855 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2856
6423d475
WD
28572014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2858
2859 * string/strncpy.c (strncpy): Improve performance by using memset.
2860
28612014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2862
2863 * string/strcpy.c (strcpy):
2864 Improve performance by using strlen and memcpy.
2865
5d178c37
LH
28662014-11-24 Leonhard Holz <leonhard.holz@web.de>
2867
2868 * string/strcoll_l.c (get_next_seq): __always_inline.
2869 * string/strcoll_l.c (do_compare): __always_inline.
2870
279bc5b3
SP
28712014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2872
7a9ebfa1
SP
2873 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2874 defined.
2875 * include/mqueue.h: Likewise.
2876 * include/stdlib.h: Likewise.
2877
4f41c682
SP
2878 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2879 (get_null_defines): Adjust.
2880 * sunrpc/Makefile: Adjust comment.
2881 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2882 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2883 (CFLAGS-interp.c): Likewise.
2884 (CFLAGS-ldconfig.c): Likewise.
2885 (CPPFLAGS-.os): Likewise.
2886 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2887 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2888 * extra-modules.mk (extra-modules.mk): Likewise.
2889 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2890 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2891 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2892 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2893 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2894 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2895 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2896 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2897 * iconvdata/Makefile (CPPFLAGS): Likewise.
2898 (cpp-srcs-left): Add libof for all iconvdata routines.
2899 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2900 * include/assert.h: Likewise.
2901 * include/ctype.h: Likewise.
2902 * include/errno.h: Likewise.
2903 * include/libc-symbols.h: Likewise.
2904 * include/math.h: Likewise.
2905 * include/netdb.h: Likewise.
2906 * include/resolv.h: Likewise.
2907 * include/stdio.h: Likewise.
2908 * include/stdlib.h: Likewise.
2909 * include/string.h: Likewise.
2910 * include/sys/stat.h: Likewise.
2911 * include/wctype.h: Likewise.
2912 * intl/l10nflist.c: Likewise.
2913 * libidn/idn-stub.c: Likewise.
2914 * libio/libioP.h: Likewise.
2915 * nptl/libc_multiple_threads.c: Likewise.
2916 * nptl/pthreadP.h: Likewise.
2917 * posix/regex_internal.h: Likewise.
2918 * resolv/res_hconf.c: Likewise.
2919 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2920 * sysdeps/arm/memmove.S: Likewise.
2921 * sysdeps/arm/sysdep.h: Likewise.
2922 * sysdeps/generic/_itoa.h: Likewise.
2923 * sysdeps/generic/symbol-hacks.h: Likewise.
2924 * sysdeps/gnu/errlist.awk: Likewise.
2925 * sysdeps/gnu/errlist.c: Likewise.
2926 * sysdeps/i386/i586/memcpy.S: Likewise.
2927 * sysdeps/i386/i586/memset.S: Likewise.
2928 * sysdeps/i386/i686/memcpy.S: Likewise.
2929 * sysdeps/i386/i686/memmove.S: Likewise.
2930 * sysdeps/i386/i686/mempcpy.S: Likewise.
2931 * sysdeps/i386/i686/memset.S: Likewise.
2932 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2933 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2934 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2935 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2936 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2937 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2938 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2939 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2940 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2941 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2942 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2943 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2944 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2945 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2946 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2947 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2948 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2949 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2950 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2951 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2952 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2953 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2954 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2955 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2956 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2958 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2959 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2960 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2961 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2962 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2963 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2965 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2966 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2970 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2972 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2973 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2975 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2976 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2977 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2978 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2979 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2983 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2984 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2985 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2986 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2987 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2988 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2989 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2990 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2993 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2994 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2995 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2996 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2997 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2998 * sysdeps/posix/closedir.c: Likewise.
2999 * sysdeps/posix/opendir.c: Likewise.
3000 * sysdeps/posix/readdir.c: Likewise.
3001 * sysdeps/posix/rewinddir.c: Likewise.
3002 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3003 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3004 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3005 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3006 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3007 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3008 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3013 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3014 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3015 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3017 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3018 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3019 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3020 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3021 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3024 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3025 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3026 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3030 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3038 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3040 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3041 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3042 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3043 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3044 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3046 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3047 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3048 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3049 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3050 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3051 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3052 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3053 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3054 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3059 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3061 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3062 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3063 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3064 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3066 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3068 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3069 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3070 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3071 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3072 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3074 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3075 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3076 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3077 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3078 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3079 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3080 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3082 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3084 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3085 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3086 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3087 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3088 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3089 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3090 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3092 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3093 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3094 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3096 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3098 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3100 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3101 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3103 * sysdeps/unix/alpha/sysdep.S: Likewise.
3104 * sysdeps/unix/alpha/sysdep.h: Likewise.
3105 * sysdeps/unix/make-syscalls.sh: Likewise.
3106 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3107 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3108 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3109 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3110 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3111 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3112 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3113 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3114 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3115 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3116 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3117 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3119 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3120 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3121 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3122 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3123 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3124 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3125 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3126 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3127 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3128 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3129 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3130 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3131 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3132 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3135 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3136 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3140 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3144 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3145 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3146 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3147 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3148 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3149 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3150 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3156 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3157 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3158 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3159 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3160 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3161 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3162 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3164 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3165 * sysdeps/x86_64/memcpy.S: Likewise.
3166 * sysdeps/x86_64/memmove.c: Likewise.
3167 * sysdeps/x86_64/memset.S: Likewise.
3168 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3170 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3171 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3172 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3175 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3176 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3177 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3178 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3180 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3181 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3182 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3183 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3185 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3186 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3187 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3188 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3189 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3191 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3192 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3193 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3194 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3195 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3196 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3197 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3198 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3199 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3200 * sysdeps/x86_64/strcmp.S: Likewise.
3201
76ca86a5
SP
3202 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3203
a3848485
SP
3204 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3205 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3206 * elf/rtld-Rules: Likewise.
3207 * elf/setup-vdso.h: Likewise.
3208 * include/assert.h: Likewise.
3209 * include/bits/stdlib-float.h: Likewise.
3210 * include/errno.h: Likewise.
3211 * include/sys/stat.h: Likewise.
3212 * include/unistd.h: Likewise.
3213 * sysdeps/aarch64/setjmp.S: Likewise.
3214 * sysdeps/alpha/setjmp.S: Likewise.
3215 * sysdeps/arm/__longjmp.S: Likewise.
3216 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3217 * sysdeps/arm/setjmp.S: Likewise.
3218 * sysdeps/arm/sysdep.h: Likewise.
3219 * sysdeps/generic/_itoa.h: Likewise.
3220 * sysdeps/generic/dl-sysdep.h: Likewise.
3221 * sysdeps/generic/ldsodefs.h: Likewise.
3222 * sysdeps/i386/dl-tls.h: Likewise.
3223 * sysdeps/i386/setjmp.S: Likewise.
3224 * sysdeps/m68k/setjmp.c: Likewise.
3225 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3226 * sysdeps/mach/hurd/opendir.c: Likewise.
3227 * sysdeps/posix/getcwd.c: Likewise.
3228 * sysdeps/posix/opendir.c: Likewise.
3229 * sysdeps/posix/profil.c: Likewise.
3230 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3231 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3232 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3234 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3235 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3236 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3237 * sysdeps/s390/dl-tls.h: Likewise.
3238 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3239 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3240 * sysdeps/sh/sh3/setjmp.S: Likewise.
3241 * sysdeps/sh/sh4/setjmp.S: Likewise.
3242 * sysdeps/unix/alpha/sysdep.h: Likewise.
3243 * sysdeps/unix/arm/sysdep.S: Likewise.
3244 * sysdeps/unix/i386/sysdep.S: Likewise.
3245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3246 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3247 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3248 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3250 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3251 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3252 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3253 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3254 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3255 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3256 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3257 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3260 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3263 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3264 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3265 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3268 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3269 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3272 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3273 * sysdeps/x86_64/setjmp.S: Likewise.
3274
a109996e
SP
3275 * include/math.h: Use IS_IN instead of IS_IN_libm.
3276 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3277 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3278 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3279 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3283 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3285 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3286 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3287 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3288 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3289 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3290 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3291 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3292 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3293 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3294 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3295 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3296 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3297 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3298 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3299 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3300 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3301 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3302 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3303 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3304 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3305 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3306 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3307 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3308 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3310 Likewise.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3312 Likewise.
3313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3314 Likewise.
3315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3316 Likewise.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3318 Likewise.
3319 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3321 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3322 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3323 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3324 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3330 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3331 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3332 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3333 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3334 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3335 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3339 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3340 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3343 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3345 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3346
ce9f10f7
SP
3347 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3348 * nptl/pthreadP.h: Likewise.
3349 * nptl_db/structs.def: Likewise.
3350 * sysdeps/arm/sysdep.h: Likewise.
3351 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3352 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3353 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3354 * sysdeps/unix/alpha/sysdep.h: Likewise.
3355 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3357 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3358 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3359 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3360 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3361 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3362 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3363 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3364 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3365 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3366 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3367 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3368 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3373 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3376 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3377 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3378 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3379 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3380 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3381
016afc75
SP
3382 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3383 * nptl/pthreadP.h: Likewise.
3384 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3385 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3386 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3387 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3388 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3389 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3390 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3391 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3392 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3393 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3394 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3395 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3397 Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3401 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3405 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3406 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3407 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3408
9b42a0b3
SP
3409 * dlfcn/dladdr.c: Use IS_IN.
3410 * dlfcn/dladdr1.c: Likewise.
3411 * dlfcn/dlclose.c: Likewise.
3412 * dlfcn/dlerror.c: Likewise.
3413 * dlfcn/dlinfo.c: Likewise.
3414 * dlfcn/dlmopen.c: Likewise.
3415 * dlfcn/dlopen.c: Likewise.
3416 * dlfcn/dlsym.c: Likewise.
3417 * dlfcn/dlvsym.c: Likewise.
3418
85f36372
SP
3419 * include/ifaddrs.h: Use IS_IN.
3420 * inet/check_pf.c: Likewise.
3421 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3422 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3423
fb6784e3
SP
3424 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3425 IS_IN_ldconfig.
3426 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3427 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3428
2886d2d1
SP
3429 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3430 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3431 IS_IN (libc).
3432
9a484857
SP
3433 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3434
a10178bd
SP
3435 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3436 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3437 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3438 * include/libc-symbols.h (IS_IN_LIB): New macro.
3439 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3440 * include/netdb.h: Likewise.
3441 * include/stap-probe.h: Remove all uses of IN_LIB.
3442
279bc5b3
SP
3443 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3444 instead of IN_MODULE.
3445 * include/libc-symbols.h (IN_MODULE): Define using
3446 MODULE_NAME.
3447 (PASTE_NAME, PASTE_NAME1): New macros.
3448 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3449 of IN_LIB.
3450 (STAP_PROBE_ASM): Likewise.
3451
e0cfa510
ST
34522014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3453
3454 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3455 __mach_init in dlopened libc.
3456
34d97d87
MF
34572014-11-22 Mike Frysinger <vapier@gentoo.org>
3458
3459 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3460 * sysdeps/arm/preconfigure: Regenerate.
3461
33cd1f74
RM
34622014-11-21 Roland McGrath <roland@hack.frob.com>
3463
3464 * nptl/pthread_create.c (__pthread_create_2_1): Set
3465 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3466 when copying values from IATTR into PD.
3467
8c230039
WN
34682014-11-21 Will Newton <will.newton@linaro.org>
3469 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3470
6d3db89b
AP
3471 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3472 Refactor inline-asm. Also add comment.
3473
01194ba1
WN
3474 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3475 ElfW macro instead of hardcoded Elf64 types.
3476 (la_aarch64_gnu_pltenter): Likewise.
3477 * sysdeps/aarch64/dl-machine.h
3478 (elf_machine_runtime_setup): Use ElfW(Addr).
3479
8c230039
WN
3480 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3481 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3482 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3483 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3484 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3485 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3486 (R_AARCH64_TLS_DTPMOD): This.
3487 (R_AARCH64_TLS_DTPREL64): Rename to ...
3488 (R_AARCH64_TLS_DTPREL): This.
3489 (R_AARCH64_TLS_TPREL64): Rename to ...
3490 (R_AARCH64_TLS_TPREL): This.
3491 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3492 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3493 R_AARCH64_TLS_TPREL64.
3494 (elf_machine_rela): Likewise.
3495
0d79fa53
TR
34962014-11-21 Torvald Riegel <triegel@redhat.com>
3497
3498 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3499 by setting it to 0. 64b atomics are not supported currently.
3500
b59d114b
AO
35012014-11-21 Alexandre Oliva <aoliva@redhat.com>
3502
3503 [BZ #16469]
3504 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3505 search domain names.
3506
f3d945d5
AO
35072014-11-21 Alexandre Oliva <aoliva@redhat.com>
3508
3509 [BZ #16469]
3510 * NEWS: Update.
3511 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3512 trailing dot.
3513 * posix/tst-getaddrinfo5.c: New.
3514 * posix/Makefile (tests): Add it.
3515
49698902
AO
35162014-11-21 Alexandre Oliva <aoliva@redhat.com>
3517
3518 [BZ #14498]
3519 * NEWS: Fixed.
3520 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3521 after parsing line but before break_if_match.
3522 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3523 if there is a protocol mismatch.
3524
81959214
MS
35252014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3526
3527 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3528 because the potential race is on the user-supplied stream.
3529
7729e0e9
AO
35302014-11-21 Alexandre Oliva <aoliva@redhat.com>
3531
3532 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3533 string literal if not passed a buffer.
3534 * manual/job.texi (ctermid): Update reasoning, note deviation
3535 from posix, suggest mtasurace when not passed a buffer, for
3536 future non-preliminary safety notes.
3537
a4ea5e28
AO
35382014-11-21 Alexandre Oliva <aoliva@redhat.com>
3539
3540 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3541 of not passing it a buffer.
3542 Reported by Peng Haitao.
3543
a2b581cb
AO
35442014-11-21 Alexandre Oliva <aoliva@redhat.com>
3545
3546 * manual/Makefile ($(objpfx)stamp-summary): Require
3547 check-safety.sh to pass.
3548 * manual/check-safety.sh: Wish for verification that every
3549 @deftypefn and @deftypefun is followed by a @safety remark.
3550
f214ff74
RM
35512014-11-20 Roland McGrath <roland@hack.frob.com>
3552
7f0dfae0
RM
3553 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3554
2f531bbb
RM
3555 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3556 PTHREAD_CANCEL_ASYNCHRONOUS.
3557 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3558 send SIGCANCEL.
3559
f214ff74
RM
3560 * nptl/default-sched.h: New file.
3561 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3562 * nptl/pthread_create.c: Include it.
3563 (__pthread_create_2_1): Use collect_default_sched instead of making
3564 Linux syscalls here directly.
3565
e37c91d4
TR
35662014-11-20 Torvald Riegel <triegel@redhat.com>
3567
3568 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3569 __pthread_once): Use C11 atomics.
3570
1eccfecd
TR
35712014-11-20 Torvald Riegel <triegel@redhat.com>
3572
3573 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3574
ff871426
TR
35752014-11-20 Torvald Riegel <triegel@redhat.com>
3576
3577 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3578 atomic_thread_fence_acquire, atomic_thread_fence_release,
3579 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3580 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3581 atomic_compare_exchange_weak_relaxed,
3582 atomic_compare_exchange_weak_acquire,
3583 atomic_compare_exchange_weak_release,
3584 atomic_exchange_acquire, atomic_exchange_release,
3585 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3586 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3587 atomic_fetch_and_acquire,
3588 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3589
1ea339b6
TR
35902014-11-20 Torvald Riegel <triegel@redhat.com>
3591
3592 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3593 USE_ATOMIC_COMPILER_BUILTINS): Define.
3594 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3595 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3596 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3597 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3598 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3600 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3602 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3603 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3604 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3606 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3608 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3610 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3612 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3614 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3615 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3616 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3618 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3619 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3620 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3621 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3622 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3623 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3624 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3625 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3626 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3627 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3628 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3629 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3631 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3632 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3633 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3634
cbd463e2
RM
36352014-11-19 Roland McGrath <roland@hack.frob.com>
3636
d960211f
RM
3637 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3638 the sched_priority value here. It was already checked when the user
3639 called pthread_attr_setschedparam.
3640
cbd463e2
RM
3641 * nptl/tst-bad-schedattr.c: New file.
3642 * nptl/Makefile (tests): Add it.
3643
a39208bd
CD
36442014-11-19 Carlos O'Donell <carlos@redhat.com>
3645 Florian Weimer <fweimer@redhat.com>
3646 Joseph Myers <joseph@codesourcery.com>
3647 Adam Conrad <adconrad@0c3.net>
3648 Andreas Schwab <schwab@suse.de>
3649 Brooks <bmoses@google.com>
3650
3651 [BZ #17625]
3652 * wordexp-test.c (__dso_handle): Add prototype.
3653 (__register_atfork): Likewise.
3654 (__app_register_atfork): New function.
3655 (registered_forks): New global.
3656 (register_fork): New function.
3657 (test_case): Add 3 new tests for WRDE_CMDSUB.
3658 (main): Call __app_register_atfork.
3659 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3660 fork count is non-zero fail the test.
3661 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3662 is set.
3663 (parse_dollars): Remove check for WRDE_NOCMD.
3664 (parse_dquote): Likewise.
3665
9cd47470
SP
36662014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3667
130ac68c
SP
3668 * Makeconfig (built-modules): List non-library modules to be
3669 built.
3670 (module-cppflags): Include libc-modules.h for
3671 everything except shlib-versions.v.i.
3672 (CPPFLAGS): Use it.
3673 (before-compile): Add libc-modules.h.
3674 ($(common-objpfx)libc-modules.h,
3675 $(common-objpfx)libc-modules.stmp): New targets.
3676 (common-generated): Add libc-modules.h and libc-modules.stmp.
3677 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3678 * include/libc-symbols.h: Don't include libc-modules.h.
3679 * include/libc-modules.h: Remove file.
3680 * scripts/gen-libc-modules.awk: New script to generate
3681 libc-modules.h.
3682 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3683 Depend on libc-modules.stmp.
3684
286663c3
SP
3685 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3686
9cd47470
SP
3687 * Makeconfig (in-module): Get value of libof set for the
3688 translation unit.
3689 (CPPFLAGS): Use $(in-module).
3690 * Makerules: Don't suffix routine names for nonlib.
3691 * include/libc-modules.h: New file.
3692 * include/libc-symbols.h: Include libc-modules.h
3693 (IS_IN): New macro to replace IS_IN_* macros.
3694 * elf/Makefile: Set libof-* for each routine.
3695 * elf/rtld-Rules: Likewise.
3696 * extra-modules.mk: Likewise.
3697 * iconv/Makefile: Likewise.
3698 * iconvdata/Makefile: Likewise.
3699 * locale/Makefile: Likewise.
3700 * malloc/Makefile: Likewise.
3701 * nss/Makefile: Likewise.
3702 * sysdeps/gnu/Makefile: Likewise.
3703 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3704 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3705 * sysdeps/s390/s390-64/Makefile: Likewise.
3706 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3707 CPPFLAGS for nscd instead of nonlib.
3708
32fed10f
RM
37092014-11-18 Roland McGrath <roland@hack.frob.com>
3710
d71035bd
RM
3711 * nptl/createthread.c: New file.
3712
6540b991
RM
3713 * nptl/createthread.c: Moved ...
3714 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3715
32fed10f
RM
3716 * nptl/createthread.c: Add proper top-line comment.
3717 (do_clone): Folded into ...
3718 (create_thread): ... here. Take new arguments STOPPED_START and
3719 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3720 increment __nptl_threads, do event-reporting logic, do
3721 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3722 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3723 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3724 just send SIGCANCEL.
3725 * nptl/pthread_create.c: Forward-declare create_thread before
3726 including createthread.c.
3727 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3728 declaration, and new macro START_THREAD_SELF to replace argument.
3729 Remove return statement.
3730 (report_thread_creation): New function.
3731 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3732 synchronization logic, and __nptl_nthreads increment here, around
3733 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3734 PD->parent_cancelhandling here, before create_thread. When
3735 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3736 __deallocate_stack, and ENOMEM translation here.
3737
107a5bf0
JM
37382014-11-18 Joseph Myers <joseph@codesourcery.com>
3739
3740 [BZ #17616]
3741 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3742 (mptwo): Rename to __mptwo.
3743 (__inv): Use __mptwo instead of mptwo.
3744 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3745 (mptwo): Rename to __mptwo.
3746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3747 of mpone and __mptwo instead of mptwo.
3748 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3749 instead of mpone.
3750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3751 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3752 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3753 of mpone and __mptwo instead of mptwo.
3754 (__mpranred): Use __mpone instead of mpone.
3755 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3756 variable.
3757 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3758 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3759 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3760 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3761 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3762 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3763 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3764 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3765 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3766 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3767 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3768 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3769 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3770 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3771 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3772 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3773 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3774 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3775 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3776
3b679ab3
TV
37772014-11-18 Tom de Vries <tom@codesoucery.com>
3778
3779 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3780 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3781
37822014-11-17 Richard Henderson <rth@redhat.com>
3783
3784 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3785 (_FP_PACK_RAW_2): Remove.
3786 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3787 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3788 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3789 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3790 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3791 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3792 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3793 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3794 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3795 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3796 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3797 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3798 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3799 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3800 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3801 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3802
0781a777
RM
38032014-11-14 Roland McGrath <roland@hack.frob.com>
3804
3805 * signal/signal.h [__USE_MISC]
3806 (struct sigvec): Remove type.
3807 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3808 (sigvec): Remove declaration.
3809 * sysdeps/posix/sigvec.c: Moved ...
3810 * signal/sigvec.c: ... here, replacing old file.
3811 (struct sigvec): New type, copied from old signal.h definition.
3812 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3813 (__sigvec): Convert definition to prototype.
3814 (sigvec): Replace weak_alias with compat_symbol.
3815 * signal/Versions (libc: GLIBC_2.21): New version set.
3816 * include/signal.h: Remove __sigvec declaration.
3817 * sysdeps/unix/bsd/sigvec.c: Remove file.
3818 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3819 * manual/signal.texi (BSD Handler): Remove subsection.
3820 Move siginterrupt up to ...
3821 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3822 (Blocking in BSD): Fold subsection into its parent.
3823 * NEWS: Mention sigvec removal.
3824
a4733812
JM
38252014-11-14 Joseph Myers <joseph@codesourcery.com>
3826
5ae4fe60
JM
3827 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3828 (DLA_FMS): Make definition conditional only on [__FMA4__].
3829 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3830 definition.
3831
6a0dd472
JM
3832 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3833 Make definition conditional only on [PROF].
3834 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3835 definition.
3836 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3837 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3838
a4733812
JM
3839 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3840 !__GNUC__].
3841 * include/signal.h (__sigpause): Move declaration above call to
3842 libc_hidden_proto.
3843 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3844 variable.
3845 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3846 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3847
cf7246dd
DM
38482014-11-14 David S. Miller <davem@davemloft.net>
3849
3850 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3851 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3852
c1b0aadc
JM
38532014-11-14 Joseph Myers <joseph@codesourcery.com>
3854
4863355a
JM
3855 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3856 * configure: Regenerated.
3857 * manual/install.texi (Tools for Compilation): Document a
3858 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3859 compiler verified to work.
3860 * INSTALL: Regenerated.
3861
c1b0aadc
JM
3862 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3863 redeclare with asm name.
3864 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3865 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3866 including <string.h>.
3867 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3868 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3869 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3870 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3871 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3872 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3873 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3874
2a1cfd94
JM
38752014-11-13 Joseph Myers <joseph@codesourcery.com>
3876
bf438382
JM
3877 * stdlib/strtol.c (__strtol): Use prototype definition.
3878
2a1cfd94
JM
3879 [BZ #17594]
3880 * stdlib/strtol.c (SYM__): New macro.
3881 (SYM__1): Likewise.
3882 (__strtol): Likewise.
3883 (strtol): Rename to __strtol and define as weak alias of
3884 __strtol. Use libc_hidden_weak.
3885
20ed0d26
SL
38862014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3887
3888 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3889 Use numbered labels in inline assembly.
3890
53244a4e
SL
38912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3892
3893 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3894 Add setjmp LIBC_PROBE.
3895 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3896 Likewise.
3897 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3898 Add longjmp, longjmp_target LIBC_PROBE.
3899 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3900 Likewise.
3901
47df8251
SL
39022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3903
3904 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3905 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3906 to get rid of unused variable warning.
3907
618cebef
SL
39082014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3909
3910 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3911 Check for unwind_backtrace == NULL only in SHARED case.
3912 (__backchain_backtrace): Compile only in SHARED case.
3913 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3914 Likewise.
3915 (__backchain_backtrace): Declare as static.
3916
c6aab2cb
RM
39172014-11-12 Roland McGrath <roland@hack.frob.com>
3918
3919 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3920 (__libc_multiple_threads_ptr): Variable moved ...
3921 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3922
5a6fa4d7
JM
39232014-11-12 Joseph Myers <joseph@codesourcery.com>
3924
24f4f825
JM
3925 * conform/GlibcConform.pm: New file.
3926 * conform/conformtest.pl: Use GlibcConform module.
3927 * conform/linknamespace.pl: New file.
3928 * conform/list-header-symbols.pl: Likewise.
3929 * conform/Makefile (linknamespace-symlists-base): New variable.
3930 (linknamespace-symlists-tests): Likewise.
3931 (linknamespace-header-base): Likewise.
3932 (linknamespace-header-tests): Likewise.
3933 (tests-special): Add new tests.
3934 ($(linknamespace-symlists-tests)): New rule.
3935 (linknamespace-libs): New variable.
3936 ($(objpfx)symlist-stdlibs): New rule.
3937 ($(linknamespace-header-tests)): Likewise.
3938 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3939 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3940 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3941 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3942 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3943 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3944 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3945 (test-xfail-ISO/math.h/linknamespace): Likewise.
3946 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3947 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3948 (test-xfail-ISO/time.h/linknamespace): Likewise.
3949 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3950 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3951 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3952 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3953 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3954 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3955 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3956 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3957 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3958 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3959 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3960 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3961 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3962 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3963 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3964 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3965 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3966 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3967 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3968 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3969 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3970 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3971 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3972 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3973 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3974 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3975 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3976 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3977 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3978 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3979 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3980 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3981 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3982 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3983 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3984 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3985 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3986 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3987 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3988 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3989 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3990 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3991 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3992 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3993 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3994 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3995 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3996 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3997 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3998 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3999 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4000 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4001 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4002 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4003 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4004 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4005 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4006 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4007 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4008 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4009 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4010 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4011 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4012 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4013 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4014 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4015 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4016 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4017 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4018 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4019 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4020 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4021 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4022 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4023 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4024 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4025 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4026 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4027 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4028 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4029 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4030 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4031 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4032 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4033 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4034 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4035 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4036 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4037 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4038 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4039 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4040 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4041 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4042 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4043 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4044 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4045 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4046 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4047 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4048 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4049 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4050 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4051 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4052 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4053 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4054 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4055 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4056 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4057 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4058 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4059 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4060 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4061 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4062 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4063 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4064 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4065 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4066 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4067 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4068 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4069 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4070 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4071 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4072 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4073 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4074 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4075 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4076 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4077 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4078 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4079 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4080 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4081 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4082 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4083 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4084 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4085 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4086 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4087 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4088 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4089 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4090 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4091 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4092 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4093 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4094 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4095 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4096 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4097 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4098 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4099
cc67478e
JM
4100 [BZ #17589]
4101 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4102 of fgets_unlocked.
4103
9975e3d3
JM
4104 [BZ #17585]
4105 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4106 (memmem): Rename to __memmem and define as weak alias of
4107 __memmem. Use libc_hidden_weak.
4108 (__memmem): Use libc_hidden_def.
4109 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4110 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4111 memmem.
4112
c4eae752
JM
4113 [BZ #17582]
4114 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4115 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4116 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4117 and define as weak alias of __fgets_unlocked. Use
4118 libc_hidden_weak.
4119 (__fgets_unlocked): Use libc_hidden_def.
4120 * include/stdio.h (__fgets_unlocked): Declare. Use
4121 libc_hidden_proto.
4122 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4123 __fgets_unlocked instead of fgets_unlocked.
4124 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4125 (GET_NPROCS_CONF_PARSER): Likewise.
4126 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4127 (GET_NPROCS_CONF_PARSER): Likewise.
4128
01cad84e
JM
4129 [BZ #17574]
4130 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4131 weak alias of __wmemset. Use libc_hidden_weak.
4132 (__wmemset): Use libc_hidden_def.
4133 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4134 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4135 of wmemset.
4136
939da411
JM
4137 [BZ #17573]
4138 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4139 with asm name __mempcpy.
4140 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4141
293d9a41
JM
4142 [BZ #17572]
4143 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4144 and define as weak alias of __rawmemchr.
4145 (__rawmemchr): Do not define as strong alias of rawmemchr.
4146
bef8fd60
JM
4147 [BZ #17571]
4148 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4149 alias of __qsort_r.
4150 (qsort): Call __qsort_r instead of qsort_r.
4151 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4152 (__qsort_r): Declare. Call libc_hidden_proto.
4153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4154 instead of qsort_r.
4155 * nscd/gai.c (__qsort_r): Define to qsort_r.
4156 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4157 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4158 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4159
c52ff39e
JM
4160 [BZ #17570]
4161 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4162 define as weak alias of __malloc_info.
4163
2f5c1b00
JM
4164 [BZ #17584]
4165 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4166 as weak alias of __rewinddir. Don't use libc_hidden_def.
4167 (__rewinddir): Use libc_hidden_def.
4168 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4169 as weak alias of __rewinddir. Don't use libc_hidden_def.
4170 (__rewinddir): Use libc_hidden_def.
4171 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4172 weak alias of __rewinddir. Don't use libc_hidden_def.
4173 (__rewinddir): Use libc_hidden_def.
4174 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4175 (__rewinddir): Use libc_hidden_proto.
4176 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4177 rewinddir.
4178 (__getcwd): Use __rewinddir instead of rewinddir.
4179
5a6fa4d7
JM
4180 [BZ #17583]
4181 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4182 alias of __fileno. Use libc_hidden_weak.
4183 (__fileno): Use libc_hidden_def.
4184 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4185 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4186 alias of __ftello.
4187 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4188 __ftello.
4189 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4190 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4191 libc_hidden_def.
4192 (fread_unlocked): Don't use libc_hidden_ver.
4193 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4194 and define as weak alias of __fread_unlocked. Don't use
4195 libc_hidden_def.
4196 (__fread_unlocked): Use libc_hidden_def.
4197 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4198 (ftello): Don't use libc_hidden_proto.
4199 (__ftello): Declare. Use libc_hidden_proto.
4200 (fread_unlocked): Don't use libc_hidden_proto.
4201 (__fread_unlocked): Declare. Use libc_hidden_proto.
4202 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4203 and __ftello instead of fileno, fread_unlocked and ftello.
4204
2581b98e
SP
42052012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4206
4207 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4208 GOT12.
4209 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4210 Likewise.
4211 (_dl_start_user): Likewise.
4212 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4213
533bb7c2
SP
42142014-11-12 Carlos O'Donell <carlos@redhat.com>
4215 Siddhesh Poyarekar <siddhesh@redhat.com>
4216
4217 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4218 Move argv and envp down instead of moving argc up.
4219 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4220
fffa1cf8
LH
42212014-11-12 Leonhard Holz <leonhard.holz@web.de>
4222
4223 [BZ #17506]
4224 * test-skeleton.c (main): Return successful if one of
4225 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4226 * string/tst-strcoll-overflow.c: Define expected status.
4227
fb89b46d
TU
42282014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4229
4230 [BZ #17475]
4231 * locale/iso-639.def: Define Bhili and Tulu language codes.
4232
5c40c3ba
AH
42332014-11-11 Alan Hayward <alan.hayward@arm.com>
4234
4235 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4236
b17fe01b 42372014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4238
4239 [BZ #17555]
4240 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4241
bd805071
AS
42422014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4243
4244 * configure.ac: Updated check of minimal required version to
4245 2.22.
4246 * manual/install.texi (Tools for Compilation): Updated version
4247 number.
4248 * configure: Regenerated.
4249 * INSTALL: Likewise.
4250
1400983e
AS
42512014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4252
4253 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4254 __tls_get_addr.
4255
2c46a66a
JM
42562014-11-07 Joseph Myers <joseph@codesourcery.com>
4257
4258 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4259 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4260 (__waitpid): Don't define as alias. Use libc_hidden_def not
4261 libc_hidden_weak.
4262 (waitpid): Define as alias of __waitpid.
4263 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4264 __waitpid.
4265 (__waitpid): Don't define as alias. Use libc_hidden_def not
4266 libc_hidden_weak.
4267 (waitpid): Define as alias of __waitpid.
4268 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4269 __libc_waitpid alias.
4270 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4271 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4272 Likewise.
4273 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4274 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4275 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4276 alias.
4277 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4278 __waitpid.
4279 (__waitpid): Don't define as alias. Use libc_hidden_def not
4280 libc_hidden_weak.
4281 (waitpid): Define as alias of __waitpid.
4282
da53d6db
CD
42832014-11-06 Carlos O'Donell <carlos@redhat.com>
4284
a2887bdb
CD
4285 * manual/llio.texi: Add comment that write safety has been
4286 fixed in Linux.
4287
da53d6db
CD
4288 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4289 (localplt-build-dso): Add elf/ld.so.
4290 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4291 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4292 and free for ld.so.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4294 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4296 Likewise.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4298 Likewise.
4299 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4300 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4301 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4302 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4303 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4304 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4305 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4306 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4307 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4309 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4310
9cf27b8d
JM
43112014-11-05 Joseph Myers <joseph@codesourcery.com>
4312
4313 [BZ #14132]
4314 * include/libc-symbols.h (INTUSE): Remove macro.
4315 (INTDEF): Likewise.
4316 (INTVARDEF): Likewise.
4317 (_INTVARDEF): Likewise.
4318 (INTDEF2): Likewise.
4319 (INTVARDEF2): Likewise.
4320 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4321 rtld_hidden_def instead of INTVARDEF.
4322 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4323 (_dl_starting_up_internal): Remove declaration.
4324 (_dl_starting_up): Use rtld_hidden_proto.
4325 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4326 declaration.
4327 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4328 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4329 _dl_starting_up.
4330 * elf/dl-writev.h (_dl_writev): Likewise.
4331 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4332 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4333 _dl_starting_up_internal.
4334
af83568d
AZ
43352014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336
4337 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4338 test-skeleton.c.
4339
b01ee67c
WN
43402014-11-05 Will Newton <will.newton@linaro.org>
4341
4342 * benchtests/Makefile: (bench-malloc): Add malloc thread
4343 scalability benchmark.
4344 * benchtests/bench-malloc-threads.c: New file.
4345
be9d4ccc
RE
43462014-11-05 Richard Earnshaw <rearnsha@arm.com>
4347
4348 * sysdeps/aarch64/strchrnul.S: New file.
4349
7110166d
AZ
43502014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4351
4352 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4353 definition.
4354 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4355 Likwise.
4356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4357 Likewise.
4358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4359 Likewise.
4360 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4361 Likewise.
4362 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4363 Likewise.
4364
43652014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4366
4367 * catgets/test-gencat.c: Use test-skeleton.c.
4368 * catgets/tst-catgets.c: Likewise.
4369 * csu/tst-empty.c: Likewise.
4370 * elf/tst-audit2.c: Likewise.
4371 * elf/tst-global1.c: Likewise.
4372 * elf/tst-pathopt.c: Likewise.
4373 * elf/tst-piemod1.c: Likewise.
4374 * elf/tst-tls10.c: Likewise.
4375 * elf/tst-tls11.c: Likewise.
4376 * elf/tst-tls12.c: Likewise.
4377 * gnulib/tst-gcc.c: Likewise.
4378 * iconvdata/tst-e2big.c: Likewise.
4379 * iconvdata/tst-loading.c: Likewise.
4380 * iconv/tst-iconv1.c: Likewise.
4381 * iconv/tst-iconv2.c: Likewise.
4382 * inet/test-inet6_opt.c: Likewise.
4383 * inet/tst-gethnm.c: Likewise.
4384 * inet/tst-network.c: Likewise.
4385 * inet/tst-ntoa.c: Likewise.
4386 * intl/tst-codeset.c: Likewise.
4387 * intl/tst-gettext2.c: Likewise.
4388 * intl/tst-gettext3.c: Likewise.
4389 * intl/tst-ngettext.c: Likewise.
4390 * intl/tst-translit.c: Likewise.
4391 * io/test-stat.c: Likewise.
4392 * libio/test-fmemopen.c: Likewise.
4393 * libio/tst-freopen.c: Likewise.
4394 * libio/tst-sscanf.c: Likewise.
4395 * libio/tst-ungetwc1.c: Likewise.
4396 * libio/tst-ungetwc2.c: Likewise.
4397 * libio/tst-widetext.c: Likewise.
4398 * localedata/tst-ctype.c: Likewise.
4399 * localedata/tst-digits.c: Likewise.
4400 * localedata/tst-leaks.c: Likewise.
4401 * localedata/tst-mbswcs1.c: Likewise.
4402 * localedata/tst-mbswcs2.c: Likewise.
4403 * localedata/tst-mbswcs3.c: Likewise.
4404 * localedata/tst-mbswcs4.c: Likewise.
4405 * localedata/tst-mbswcs5.c: Likewise.
4406 * localedata/tst-setlocale.c: Likewise.
4407 * localedata/tst-trans.c: Likewise.
4408 * localedata/tst-wctype.c: Likewise.
4409 * localedata/tst-xlocale1.c: Likewise.
4410 * login/tst-grantpt.c: Likewise.
4411 * malloc/tst-calloc.c: Likewise.
4412 * malloc/tst-malloc.c: Likewise.
4413 * malloc/tst-mallocstate.c: Likewise.
4414 * malloc/tst-mcheck.c: Likewise.
4415 * malloc/tst-mtrace.c: Likewise.
4416 * malloc/tst-obstack.c: Likewise.
4417 * math/atest-exp2.c: Likewise.
4418 * math/atest-exp.c: Likewise.
4419 * math/atest-sincos.c: Likewise.
4420 * math/test-matherr.c: Likewise.
4421 * math/test-misc.c: Likewise.
4422 * math/test-powl.c: Likewise.
4423 * math/tst-definitions.c: Likewise.
4424 * misc/tst-dirname.c: Likewise.
4425 * misc/tst-efgcvt.c: Likewise.
4426 * misc/tst-fdset.c: Likewise.
4427 * misc/tst-hsearch.c: Likewise.
4428 * misc/tst-mntent2.c: Likewise.
4429 * nptl/tst-sem7.c: Likewise.
4430 * nptl/tst-sem8.c: Likewise.
4431 * nptl/tst-sem9.c: Likewise.
4432 * nss/test-netdb.c: Likewise.
4433 * posix/tst-fnmatch.c: Likewise.
4434 * posix/tst-getlogin.c: Likewise.
4435 * posix/tst-gnuglob.c: Likewise.
4436 * posix/tst-mmap.c: Likewise.
4437 * pwd/tst-getpw.c: Likewise.
4438 * resolv/tst-inet_ntop.c: Likewise.
4439 * rt/tst-timer.c: Likewise.
4440 * stdio-common/test-fseek.c: Likewise.
4441 * stdio-common/test-popen.c: Likewise.
4442 * stdio-common/test-vfprintf.c: Likewise.
4443 * stdio-common/tst-cookie.c: Likewise.
4444 * stdio-common/tst-fileno.c: Likewise.
4445 * stdio-common/tst-gets.c: Likewise.
4446 * stdio-common/tst-obprintf.c: Likewise.
4447 * stdio-common/tst-perror.c: Likewise.
4448 * stdio-common/tst-sprintf2.c: Likewise.
4449 * stdio-common/tst-sprintf3.c: Likewise.
4450 * stdio-common/tst-sprintf.c: Likewise.
4451 * stdio-common/tst-swprintf.c: Likewise.
4452 * stdio-common/tst-tmpnam.c: Likewise.
4453 * stdio-common/tst-unbputc.c: Likewise.
4454 * stdio-common/tst-wc-printf.c: Likewise.
4455 * stdlib/tst-environ.c: Likewise.
4456 * stdlib/tst-fmtmsg.c: Likewise.
4457 * stdlib/tst-limits.c: Likewise.
4458 * stdlib/tst-rand48-2.c: Likewise.
4459 * stdlib/tst-rand48.c: Likewise.
4460 * stdlib/tst-random2.c: Likewise.
4461 * stdlib/tst-random.c: Likewise.
4462 * stdlib/tst-strtol.c: Likewise.
4463 * stdlib/tst-strtoll.c: Likewise.
4464 * stdlib/tst-tls-atexit.c: Likewise.
4465 * stdlib/tst-xpg-basename.c: Likewise.
4466 * string/test-ffs.c: Likewise.
4467 * string/tst-bswap.c: Likewise.
4468 * string/tst-inlcall.c: Likewise.
4469 * string/tst-strtok.c: Likewise.
4470 * string/tst-strxfrm.c: Likewise.
4471 * sysdeps/x86_64/tst-audit10.c: Likewise.
4472 * sysdeps/x86_64/tst-audit3.c: Likewise.
4473 * sysdeps/x86_64/tst-audit4.c: Likewise.
4474 * sysdeps/x86_64/tst-audit5.c: Likewise.
4475 * time/tst-ftime_l.c: Likewise.
4476 * time/tst-getdate.c: Likewise.
4477 * time/tst-mktime3.c: Likewise.
4478 * time/tst-mktime.c: Likewise.
4479 * time/tst-posixtz.c: Likewise.
4480 * time/tst-strptime2.c: Likewise.
4481 * time/tst-strptime3.c: Likewise.
4482 * wcsmbs/tst-btowc.c: Likewise.
4483 * wcsmbs/tst-mbrtowc.c: Likewise.
4484 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4485 * wcsmbs/tst-wchar-h.c: Likewise.
4486 * wcsmbs/tst-wcpncpy.c: Likewise.
4487 * wcsmbs/tst-wcrtomb.c: Likewise.
4488 * wcsmbs/tst-wcsnlen.c: Likewise.
4489 * wcsmbs/tst-wcstof.c: Likewise.
4490
2004e7fb
JM
44912014-11-04 Joseph Myers <joseph@codesourcery.com>
4492
ab97ee8f
JM
4493 [BZ #14132]
4494 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4495 INTDEF.
4496 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4497 declaration.
4498 (_dl_mcount): Use rtld_hidden_proto.
4499 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4500 _dl_mcount.
4501 * elf/rtld.c (_rtld_global_ro): Likewise.
4502
c5684fdb
JM
4503 [BZ #14132]
4504 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4505 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4506 of _dl_init_internal.
4507 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4508 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4509 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4510 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4511 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4512 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4513 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4514 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4515 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4516 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4517 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4518 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4519 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4520 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4521 * sysdeps/tile/dl-start.S (_start): Likewise.
4522 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4523 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4524
4243cbea
JM
4525 [BZ #14132]
4526 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4527 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4528 (rtld_progname): Make macro definition unconditional.
4529 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4530 INTDEF.
4531 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4532 (dl_main): Likewise.
4533 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4534 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4535 instead of _dl_argv_internal.
4536 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4537 __GI__dl_argv instead of INTUSE(_dl_argv).
4538 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4539 __GI__dl_argv instead of _dl_argv_internal.
4540
2004e7fb
JM
4541 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4542 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4543 macro.
4544 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4545 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4546 New macro.
4547 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4548 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4549 macro.
4550 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4551 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4552
97827bfc
AS
45532014-11-04 Andreas Schwab <schwab@suse.de>
4554
4555 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4556
5e4df284
AZ
45572014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558
4559 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4560 mtvsrd instruction in binary form.
4561
04b76b5a
AS
45622014-11-03 Andreas Schwab <schwab@suse.de>
4563
4564 [BZ #17522]
4565 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4566 for less than MB_LEN_MAX use a local buffer of that size.
4567 * libio/tst-fputws.c: New file.
4568 * libio/Makefile (tests): Add tst-fputws.
4569
4c6da7da
JM
45702014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4571
4572 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4573 the size of the fpu_fr.fpu_dregs[] array.
4574
1679ba8e
JM
45752014-11-01 Joseph Myers <joseph@codesourcery.com>
4576
4577 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4578 (__nanosleep): Do not define as alias.
4579 (nanosleep): Define as alias of __nanosleep.
4580 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4581 __libc_nanosleep name.
4582
2626c183
JM
45832014-10-31 Joseph Myers <joseph@codesourcery.com>
4584
4585 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4586 install.texi in comment.
4587
7f981fc2
TR
45882014-10-31 Torvald Riegel <triegel@redhat.com>
4589
4590 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4591 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4592 ... add here and use lwsync or sync ...
4593 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4594 ... and add here using lwsync.
4595
d6f373d2
MF
45962014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4597
4598 * elf/dl-machine-reject-phdr.h: New file.
4599 * elf/dl-load.c: #include that.
4600 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4601 if that returned true.
4602
67c37987
RM
46032014-10-31 Roland McGrath <roland@hack.frob.com>
4604
4605 [BZ #17496]
4606 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4607 gen-as-const-headers chunk. Add a big scare comment after the last
4608 safe place to touch before-compile.
4609
94a42455 46102014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4611
f3f5d895
JM
4612 * manual/install.texi (Tools for Compilation): Update autoconf
4613 version requirements.
4614 * INSTALL: Regenerated.
4615
f62ff286
JM
4616 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4617 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4618 (__libc_pselect): Likewise.
94a42455
JM
4619
4620 [BZ #14138]
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4625
ff9dbdc0
TR
46262014-10-31 Torvald Riegel <triegel@redhat.com>
4627
4628 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4629 correct barrier instruction.
4630 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4631 Likewise.
4632 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4633 Likewise.
4634
b4f66884
RM
46352014-10-30 Roland McGrath <roland@hack.frob.com>
4636
4637 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4638 after defining inlines. Instead, just use parens to defeat macro
4639 expansion of __isctype in its declaration.
4640
e19c95fd
JM
46412014-10-30 Joseph Myers <joseph@codesourcery.com>
4642
4643 * include/sys/uio.h (__libc_readv): Remove declaration.
4644 (__libc_writev): Likewise.
4645 * misc/readv.c (__libc_readv): Rename to __readv.
4646 (__readv): Do not define as alias.
4647 (readv): Define as alias of __readv.
4648 * misc/writev.c (__libc_writev): Rename to __writev.
4649 (__writev): Do not define as alias.
4650 (writev): Define as alias of __writev.
4651 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4652 (__readv): Do not define as alias.
4653 (readv): Define unconditionally as alias of __readv.
4654 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4655 (__writev): Do not define as alias.
4656 (writev): Define unconditionally as alias of __writev.
4657 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4658 name.
4659 (writev): Do not define __libc_writev name.
4660
65b00b6c
RM
46612014-10-30 Roland McGrath <roland@hack.frob.com>
4662
4663 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4664 (convert_charseq): New function, broken out of ...
4665 (use_from_charmap): ... here. Call it.
4666 (use_to_charmap): Use convert_charseq and free instead of duplicating
4667 its code with a variable-length stack struct.
4668
d4e157aa
JM
46692014-10-30 Joseph Myers <joseph@codesourcery.com>
4670
4671 * include/fcntl.h (__libc_creat): Remove declaration.
4672 * io/creat.c (__libc_creat): Rename to creat.
4673 (creat): Do not define as alias.
4674 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4675 of creat instead of __libc_creat.
4676 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4677 to creat.
4678 (creat): Do not define as alias.
4679 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4680 __libc_creat.
4681 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4682 __libc_creat name.
4683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4684 Likewise.
4685
0c6891a0
CD
46862014-10-29 Carlos O'Donell <carlos@redhat.com>
4687
4688 * manual/llio.texi: Add comments discussing why write() may be
4689 considered MT-unsafe on Linux.
4690
cc00cece
CD
46912014-10-28 Carlos O'Donell <carlos@redhat.com>
4692
4693 * dl-load.c (local_strdup): Remove.
4694 (expand_dynamic_string_token): Use __strdup.
4695 (decompose_rpath): Likewise.
4696 (_dl_map_object): Likewise.
4697
51e623f2
JM
46982014-10-28 Joseph Myers <joseph@codesourcery.com>
4699
4700 [BZ #14132]
4701 * sysdeps/generic/unwind-dw2-fde.c
4702 (__register_frame_info_bases_internal): Do not declare.
4703 (__register_frame_info_table_bases_internal): Likewise.
4704 (__deregister_frame_info_bases_internal): Likewise.
4705 (__register_frame_info_bases): Declare and use hidden_proto before
4706 definition. Use hidden_def instead of INTDEF.
4707 (__register_frame_info_table_bases): Likewise.
4708 (__deregister_frame_info_bases): Likewise.
4709 (__register_frame_info): Do not use INTUSE.
4710 (__register_frame): Likewise.
4711 (__register_frame_info_table): Likewise.
4712 (__register_frame_table): Likewise.
4713 (__deregister_frame_info): Likewise.
4714 (__deregister_frame): Likewise.
4715
03d41216
GC
47162014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4717
4718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4719 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4720 not undefine.
4721 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4722 Likewise.
4723 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4724 Likewise.
4725
a4b3624d
JM
47262014-10-27 Joseph Myers <joseph@codesourcery.com>
4727
4728 [BZ #14138]
4729 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4730 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4731 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4732 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4733 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4734 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4735 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4737 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4738 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4741 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4742 syscall.
4743 (setfsuid): Likewise.
4744 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4745 (setfsuid): Likewise.
4746 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4747 (setfsuid): Likewise.
4748 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4749 Likewise.
4750 (setfsuid): Likewise.
4751 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4752 (setfsuid): Likewise.
4753 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4754 Likewise.
4755 (setfsuid): Likewise.
4756
3574f2fd
AS
47572014-10-27 Andreas Schwab <schwab@suse.de>
4758
4759 [BZ #17501]
4760 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4761 check for Slow_SSE4_2 feature bit.
4762 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4763 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4764 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4765 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4766
70996a37
RM
47672014-10-24 Roland McGrath <roland@hack.frob.com>
4768
461a7b1e
RM
4769 * configure.ac: Validate compiler version with a empirical test of
4770 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4771 $CC -v output.
4772 * configure: Regenerated.
4773
70996a37
RM
4774 * inet/htons.c (htons): Prototypify.
4775 * inet/htonl.c (htonl): Likewise.
4776
e80514b5
WD
47772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4778
4779 * string/strncat.c (strncat): Improve performance by using strlen.
4780
6e46de42
WD
47812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4782
4783 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4784
6a9ad2fa
WD
47852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4786
4787 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4788 Call libc_fetestexcept_aarch64.
4789
1c8810ed
WD
47902014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4791
4792 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4793 Call libc_feholdexcept_aarch64.
4794
8b1af712
WD
47952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4796
4797 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4798 Call get_rounding_mode.
4799
a7b00c11
WD
48002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4801
4802 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4803 Simplify logic.
4804
3a84f1a6
WD
48052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4806
4807 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4808 Simplify logic.
4809
48eb7a94
JM
48102014-10-24 Joseph Myers <joseph@codesourcery.com>
4811
c8bc4038
JM
4812 [BZ #14138]
4813 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4814 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4815 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4816 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4817 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4818 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4819 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4820 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4821 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4822 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4824 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4825 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4826 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4827 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4828 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4829 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4830 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4831 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4832 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4833 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4834 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4835 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4836 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4837 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4838 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4840 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4841 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4842 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4843 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4844 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4845 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4846 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4847 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4853 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4854 syscall.
4855 (geteuid): Likewise.
4856 (getgid): Likewise.
4857 (getuid): Likewise.
4858 (getresgid): Likewise.
4859 (getresuid): Likewise.
4860 (getgroups): Likewise.
4861 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4862 (geteuid): Likewise.
4863 (getgid): Likewise.
4864 (getuid): Likewise.
4865 (getresgid): Likewise.
4866 (getresuid): Likewise.
4867 (getgroups): Likewise.
4868 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4869 (geteuid): Likewise.
4870 (getgid): Likewise.
4871 (getuid): Likewise.
4872 (getresgid): Likewise.
4873 (getresuid): Likewise.
4874 (getgroups): Likewise.
4875 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4876 Likewise.
4877 (geteuid): Likewise.
4878 (getgid): Likewise.
4879 (getuid): Likewise.
4880 (getresgid): Likewise.
4881 (getresuid): Likewise.
4882 (getgroups): Likewise.
4883 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4884 (geteuid): Likewise.
4885 (getgid): Likewise.
4886 (getuid): Likewise.
4887 (getresgid): Likewise.
4888 (getresuid): Likewise.
4889 (getgroups): Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4891 Likewise.
4892 (geteuid): Likewise.
4893 (getgid): Likewise.
4894 (getuid): Likewise.
4895 (getgroups): Likewise.
4896
48eb7a94
JM
4897 [BZ #14138]
4898 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4899 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4900 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4902 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4903 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4904 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4905 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4906 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4907 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4908 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4909 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4910 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4911 __chown.
4912 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4913 (lchown): Likewise.
4914 (fchown): Likewise.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4916 Likewise.
4917 (lchown): Likewise.
4918 (fchown): Likewise.
4919 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4920 (lchown): Likewise.
4921 (fchown): Likewise.
4922 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4923 Likewise.
4924 (lchown): Likewise.
4925 (fchown): Likewise.
4926
ea9a7c8b
WD
49272014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4928
4929 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4930 Simplify logic.
4931
e226de33
WD
49322014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4933
4934 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4935 Cleanup logic.
4936
6e3d8ed3
WD
49372014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4938
4939 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4940 Remove unused include.
4941
eb04247d
WD
49422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4943
4944 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4945 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4946 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4947 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4948
13d84554
CD
49492014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4950 Helge Deller <deller@gmx.de>
4951
4952 [BZ #17508]
4953 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4954 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4955 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4956
15f9c5df
JM
49572014-10-23 Joseph Myers <joseph@codesourcery.com>
4958
4959 [BZ #14132]
4960 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4961 Remove macro definition.
4962 (__ashrdi3_v_glibc20): Likewise.
4963 (__lshrdi3_v_glibc20): Likewise.
4964 (__cmpdi2_v_glibc20): Likewise.
4965 (__ucmpdi2_v_glibc20): Likewise.
4966 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4967 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4968 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4969 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4970 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4971 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4972
c6dfed24
RM
49732014-10-22 Roland McGrath <roland@hack.frob.com>
4974
4975 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4976 old GNU extension [0] syntax.
4977 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4978 alloca rather than an array member with variable length.
4979 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4980 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4981 (parse_opt): ... here. Likewise use alloca there.
4982 Validate the -i argument before checking for rootness.
4983 (send_shutdown): New function, broken out of ...
4984 (parse_opt): ... here.
4985
8c2b1ed8
RM
49862014-10-22 Roland McGrath <roland@hack.frob.com>
4987
4988 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4989 macro to get at the _rt_local_ro field.
4990 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4991 ([PIC] case) or _dl_hwcap ([!PIC] case).
4992 * sysdeps/arm/setjmp.S: Likewise.
4993
4994 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4995 * sysdeps/arm/configure.ac: New check to define it.
4996 * sysdeps/arm/configure: Regenerated.
4997 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4998 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4999 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5000 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5001 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5002 Use move/movt pair instead of a load.
5003 (LDST_GLOBAL): Macro removed.
5004 (LDR_GLOBAL): New macro replaces it.
5005 (LDR_HIDDEN): New macro.
5006 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5007 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5008
5009 * setjmp/tst-setjmp-static.c: New file.
5010 * setjmp/Makefile (tests): Add it.
5011 (tests-static): New variable.
5012
b5af9297
MR
50132014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5014
5015 [BZ #17485]
5016 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5017
a13d0d74
JM
50182014-10-21 Joseph Myers <joseph@codesourcery.com>
5019
5020 [BZ #14132]
5021 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5022
f05e73f6
RM
50232014-10-21 Roland McGrath <roland@hack.frob.com>
5024
5025 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5026
6ab1d1ea
RM
50272014-10-20 Roland McGrath <roland@hack.frob.com>
5028
5029 * io/fts.c (dirent_not_directory): New function.
5030 (fts_build): Call it.
5031
ab49e763
RM
50322014-10-20 Roland McGrath <roland@hack.frob.com>
5033
e436eb79
RM
5034 * nptl/version.c (__nptl_main): Use normal __write rather than
5035 INTERNAL_SYSCALL.
5036 (banner): Update copyright years.
5037
6af246cf
RM
5038 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5039 gettimeofday.
5040 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5041 * nptl/pthread_cond_timedwait.c: Likewise.
5042 * nptl/pthread_mutex_timedlock.c: Likewise.
5043 * nptl/sem_timedwait.c: Likewise.
5044
ab49e763
RM
5045 * sysdeps/nptl/bits/libc-lock.h
5046 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5047 (__libc_lock_init_recursive): Return void, not 0.
5048 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5049 (__libc_rwlock_init): Likewise.
5050 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5051
f50277c1
TR
50522014-10-20 Torvald Riegel <triegel@redhat.com>
5053
5054 [BZ #15215]
5055 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5056 (__pthread_once_slow): ... here.
5057 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5058 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5059
63668b70
TR
50602014-10-20 Torvald Riegel <triegel@redhat.com>
5061
5062 [BZ #15215]
5063 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5064 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5065 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5066 * nptl/pthread_once.c (__pthread_once): Likewise.
5067 Update comments.
5068
42b7f5d4
JM
50692014-10-20 Joseph Myers <joseph@codesourcery.com>
5070
5071 [BZ #14138]
5072 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5073 name.
5074 (writev): Use __libc_writev as strong name.
5075 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5076 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5077
b0643088
RM
50782014-10-17 Roland McGrath <roland@hack.frob.com>
5079
114c4e09
RM
5080 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5081
674b8978
RM
5082 * sysdeps/i386/nptl/tls.h
5083 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5084 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5085 New macros.
5086 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5087 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5088 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5089 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5090 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5091 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5092
184ee940
RM
5093 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5094 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5095 on [__NR_futex].
5096 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5097 broken out of ...
5098 (__pthread_mutex_init): ... here. Call it.
5099 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5100 Conditionalize PI cases on [__NR_futex].
5101 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5102 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5103 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5104
327ae257
RM
5105 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5106 conditional on [SIGSETXID].
5107 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5108 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5109 is defined. Likewise for SIGSETXID.
5110 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5111 Conditionalize definitions on [SIGSETXID].
5112 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5113 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5114 unblocking on [SIGCANCEL].
5115
b0643088
RM
5116 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5117 [__NR_set_robust_list].
5118
33cc770b
SP
51192014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
5121 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5122 (do_compare): Likewise.
5123
0742aef6
LH
51242014-10-17 Leonhard Holz <leonhard.holz@web.de>
5125
5126 [BZ #15884]
5127 * string/strcoll_l.c: Don't include stdio.h.
5128 (coll_seq): Remove members idxarr and rulearr.
5129 (get_next_seq_cached): Remove function.
5130 (get_next_seq): Likewise.
5131 (get_next_seq_nocache): Rename to get_next_seq.
5132 (do_compare): Remove function.
5133 (do_compare_nocache): Rename to do_compare.
5134 (STRCOLL): Remove weight and rules cache.
5135
ee54ce44
RM
51362014-10-16 Roland McGrath <roland@hack.frob.com>
5137
5138 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5139 * sysdeps/arm/sfp-machine.h: ... to here.
5140 * sysdeps/arm/Implies: Remove arm/soft-fp.
5141
a75d3b02
JM
51422014-10-14 Joseph Myers <joseph@codesourcery.com>
5143
5144 * conform/data/sys/utsname.h-data (*_t): Allow.
5145 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5146 [POSIX] (WEXITED): Do not expect constant.
5147 [POSIX] (WSTOPPED): Likewise.
5148 [POSIX] (WNOHANG): Likewise.
5149 [POSIX] (WNOWAIT): Likewise.
5150 [POSIX] (siginfo_t): Do not expect type or elements.
5151 [POSIX] (pid_t): Do not expect type.
5152 [POSIX] (signal.h): Do not allow header.
5153 [POSIX] (sys/resource.h): Likewise.
5154 [POSIX] (si_*): Do not allow pattern.
5155 [POSIX] (W*): Likewise.
5156 [POSIX] (P_*): Likewise.
5157 [POSIX] (BUS_*): Likewise.
5158 [POSIX] (CLD_*): Likewise.
5159 [POSIX] (FPE_*): Likewise.
5160 [POSIX] (ILL_*): Likewise.
5161 [POSIX] (POLL_*): Likewise.
5162 [POSIX] (SEGV_*): Likewise.
5163 [POSIX] (SI_*): Likewise.
5164 [POSIX] (TRAP_*): Likewise.
5165 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5166 variable.
5167
fda389c8
SP
51682014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5169
5170 [BZ #12926]
5171 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5172 infinite loop when __recvmsg returns 0.
5173
6bc6bd3b
JM
51742014-10-10 Joseph Myers <joseph@codesourcery.com>
5175
fcb32af1
JM
5176 * CANCEL-FCT-WAIVE: Remove file.
5177 * CANCEL-FILE-WAIVE: Likewise.
5178
6bc6bd3b
JM
5179 [BZ #14132]
5180 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5181 instead of INTVARDEF.
5182 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5183 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5184 rtld_hidden_data_def instead of INTVARDEF.
5185 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5186 * elf/dl-deps.c (expand_dst): Likewise.
5187 * elf/dl-load.c (_dl_dst_count): Likewise.
5188 (_dl_dst_substitute): Likewise.
5189 (decompose_rpath): Likewise.
5190 (_dl_init_paths): Likewise.
5191 (open_path): Likewise.
5192 (_dl_map_object): Likewise.
5193 * elf/rtld.c (dl_main): Likewise.
5194 (process_dl_audit): Likewise.
5195 (process_envvars): Likewise.
5196 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5197 Remove declaration.
5198 (__libc_enable_secure): Use rtld_hidden_proto.
5199
b8c80a7e
KS
52002014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5201
5202 * elf/dl-load.c
5203 (add_path): New function broken out of _dl_rtld_di_serinfo.
5204 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5205
ff12c11f
JM
52062014-10-09 Joseph Myers <joseph@codesourcery.com>
5207
5c0508a3
JM
5208 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5209 parentheses around macro arguments.
5210 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5213 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5216 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5217 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5218 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5221 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5222 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5223 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5224 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5225 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5226 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5227 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5229 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5230 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5233 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5234 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5235 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5236 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5237 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5239 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5240 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5241 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5242 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5243 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5244 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5245 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5246 Likewise.
5247 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5248 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5249 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5250 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5251 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5254 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5255 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5256 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5257 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5258 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5259 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5260 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5261 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5262 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5264 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5265 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5266 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5268 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5269 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5270 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5271 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5272 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5273 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5274 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5275 (_FP_FRAC_SRS_1): Likewise.
5276 (_FP_FRAC_CLZ_1): Likewise.
5277 (_FP_MUL_MEAT_1_imm): Likewise.
5278 (_FP_MUL_MEAT_1_wide): Likewise.
5279 (_FP_MUL_MEAT_1_hard): Likewise.
5280 (_FP_SQRT_MEAT_1): Likewise.
5281 (_FP_FRAC_ASSEMBLE_1): Likewise.
5282 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5283 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5284 (__FP_CLZ_2): Likewise.
5285 (_FP_MUL_MEAT_2_wide): Likewise.
5286 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5287 (_FP_MUL_MEAT_2_gmp): Likewise.
5288 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5289 (_FP_SQRT_MEAT_2): Likewise.
5290 (_FP_FRAC_ASSEMBLE_2): Likewise.
5291 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5292 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5293 (_FP_FRAC_CLZ_4): Likewise.
5294 (_FP_MUL_MEAT_4_wide): Likewise.
5295 (_FP_MUL_MEAT_4_gmp): Likewise.
5296 (_FP_SQRT_MEAT_4): Likewise.
5297 (_FP_FRAC_ASSEMBLE_4): Likewise.
5298 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5299 * soft-fp/op-common.h (_FP_CMP): Likewise.
5300 (_FP_CMP_EQ): Likewise.
5301 (_FP_CMP_UNORD): Likewise.
5302 (_FP_TO_INT): Likewise.
5303 (_FP_FROM_INT): Likewise.
5304 [!__FP_CLZ] (__FP_CLZ): Likewise.
5305 (_FP_DIV_HELP_imm): Likewise.
5306 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5307 Likewise.
5308 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5309 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5310 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5311 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5312 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5313 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5315 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5316 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5319 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5320 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5321 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5323 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5324 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5325 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5326 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5327 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5328 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5329 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5330 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5331 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5332 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5333 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5334 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5335 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5336 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5337 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5338 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5339 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5340 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5341 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5342 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5343 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5344 (FP_UNPACK_RAW_SP): Likewise.
5345 (FP_PACK_RAW_S): Likewise.
5346 (FP_PACK_RAW_SP): Likewise.
5347 (FP_UNPACK_S): Likewise.
5348 (FP_UNPACK_SP): Likewise.
5349 (FP_UNPACK_SEMIRAW_S): Likewise.
5350 (FP_UNPACK_SEMIRAW_SP): Likewise.
5351 (FP_PACK_S): Likewise.
5352 (FP_PACK_SP): Likewise.
5353 (FP_PACK_SEMIRAW_S): Likewise.
5354 (FP_PACK_SEMIRAW_SP): Likewise.
5355 (_FP_SQRT_MEAT_S): Likewise.
5356 (FP_CMP_S): Likewise.
5357 (FP_CMP_EQ_S): Likewise.
5358 (FP_CMP_UNORD_S): Likewise.
5359 (FP_TO_INT_S): Likewise.
5360 (FP_FROM_INT_S): Likewise.
5361
a736ec37
JM
5362 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5363
ff12c11f
JM
5364 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5365 (FP_EX_INVALID_IMZ): Likewise.
5366 (FP_EX_INVALID_IMZ_FMA): Likewise.
5367 (FP_EX_INVALID_ISI): Likewise.
5368 (FP_EX_INVALID_ZDZ): Likewise.
5369 (FP_EX_INVALID_IDI): Likewise.
5370 (FP_EX_INVALID_SQRT): Likewise.
5371 (FP_EX_INVALID_CVI): Likewise.
5372 (FP_EX_INVALID_VC): Likewise.
5373 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5374 "invalid" exceptions.
5375 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5376 (_FP_ADD_INTERNAL): Likewise.
5377 (_FP_MUL): Likewise.
5378 (_FP_FMA): Likewise.
5379 (_FP_DIV): Likewise.
5380 (_FP_CMP_CHECK_NAN): Likewise.
5381 (_FP_SQRT): Likewise.
5382 (_FP_TO_INT): Likewise.
5383 (FP_EXTEND): Likewise.
5384
b6dcfe8c
AM
53852014-10-09 Allan McRae <allan@archlinux.org>
5386
5387 * po/fr.po: Update French translation from translation project.
5388
2d6a47ba
JM
53892014-10-09 Joseph Myers <joseph@codesourcery.com>
5390
cb831245
JM
5391 [BZ #14132]
5392 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5393 of INTDEF.
5394 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5395 (__cxa_atexit): Use libc_hidden_proto.
5396 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5397
5deeb190
JM
5398 [BZ #14132]
5399 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5400 declaration.
5401 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5402 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5403 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5404 [!_ISOMAC] (__iswctype_internal): Likewise.
5405 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5406 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5407 alias.
5408 (fcntl): Remove __fcntl_internal alias.
5409 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5410 __connect_internal alias.
5411 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5412 Likewise.
5413
454ac701
JM
5414 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5415 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5416 FP_DENORM_ZERO.
5417 (_FP_CHECK_FLUSH_ZERO): New macro.
5418 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5419 (_FP_CMP): Likewise.
5420 (_FP_CMP_EQ): Likewise.
5421 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5422 FP_DENORM_ZERO.
5423 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5424 (FP_TRUNC): Likewise.
5425
0022e688
JM
5426 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5427 treated as invalid conversion, not as normal exponent.
5428
73e28d9c
JM
5429 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5430 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5431 (_FP_CMP_EQ): Likewise.
5432 (_FP_CMP_UNORD): Likewise.
5433 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5434 (FP_CMP_EQ_D): Likewise.
5435 (FP_CMP_UNORD_D): Likewise.
5436 * soft-fp/extended.h (FP_CMP_E): Likewise.
5437 (FP_CMP_EQ_E): Likewise.
5438 (FP_CMP_UNORD_E): Likewise.
5439 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5440 (FP_CMP_EQ_Q): Likewise.
5441 (FP_CMP_UNORD_Q): Likewise.
5442 * soft-fp/single.h (FP_CMP_S): Likewise.
5443 (FP_CMP_EQ_S): Likewise.
5444 (FP_CMP_UNORD_S): Likewise.
5445 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5446 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5447 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5448 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5449 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5450 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5451 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5452 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5453 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5454 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5455 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5456 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5457 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5458 to FP_CMP_Q.
5459 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5460 FP_CMP_Q.
5461 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5462 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5463 FP_CMP_EQ_Q.
5464 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5465 FP_CMP_Q.
5466 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5467 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5468 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5469 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5470 FP_CMP_EQ_Q.
5471 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5472 FP_CMP_Q.
5473 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5474 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5475 FP_CMP_EQ_Q.
5476 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5477 FP_CMP_Q.
5478 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5479 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5480 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5481 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5482 FP_CMP_EQ_Q.
5483
43059f42
JM
5484 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5485 a subnormal result, set the underflow exception if trapping on
5486 underflow is enabled.
5487 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5488 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5489 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5490 redefine to 0.
5491 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5492 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5493 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5494 * soft-fp/extendxftf2.c (__extendxftf2): Use
5495 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5496
2d6a47ba
JM
5497 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5498 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5499 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5500 FP_HANDLE_EXCEPTIONS.
5501 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5502 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5503 FP_HANDLE_EXCEPTIONS.
5504 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5505 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5506 FP_HANDLE_EXCEPTIONS.
5507 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5508 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5509 FP_HANDLE_EXCEPTIONS.
5510
620f462e
JM
55112014-10-08 Joseph Myers <joseph@codesourcery.com>
5512
5513 [BZ #14132]
5514 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5515 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5516 use INTUSE.
5517 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5518 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5519 Remove alias.
5520 (__adjtimex): Define using libc_hidden_ver.
5521 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5522 Remove declaration.
5523 (ntp_gettime): Call __adjtimex directly.
5524 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5525 Remove declaration.
5526 (ntp_gettimex): Call __adjtimex directly.
5527 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5528 __adjtimex_internal alias.
5529
c763c5d2
RM
55302014-10-08 Roland McGrath <roland@hack.frob.com>
5531
5532 [BZ #17460]
5533 * nscd/nscd.c (more_help): Rewrite list of tables collection
5534 using xstrdup and asprintf.
5535
5536 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5537
7b8fb2b8
RM
55382014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5539 Roland McGrath <roland@hack.frob.com>
5540
5541 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5542 (do_lookup_unique): ... local function 'enter' here; update callers.
5543
abb280f7
JM
55442014-10-06 Joseph Myers <joseph@codesourcery.com>
5545
f7b42517
JM
5546 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5547 compat_symbol calls on [SHARED].
5548 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5549 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5550 Remove.
5551 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5552 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5553 (oldsetrlimit): Remove.
5554 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5556 (lchown): New syscall entry.
5557 (oldsetrlimit): Remove.
5558 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5559 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5560 (oldsetrlimit): Remove.
5561 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5562
abb280f7
JM
5563 [BZ #14138]
5564 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5565 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5566 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5567 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5568 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5569 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5570 (fchown): Likewise.
5571 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5572 (fchown): Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5574 Likewise.
5575
47d46237
AZ
55762014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5579 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5580 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5581 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5582 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5583 Likewise.
5584 (__old_sem_post): Likewise.
5585
55862014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5587
845a7343
CM
5588 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5589 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5590 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5591 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5592 Use INLINE_VSYSCALL macro.
5593 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5594 __vdso_clock_gettime.
5595 * sysdeps/unix/sysv/linux/tile/init-first.c
5596 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5597 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5598 __vdso_clock_gettime.
5599
83d641ef
CM
5600 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5601 to set up frame more cleanly.
5602
d9cd52e6
CM
5603 * sysdeps/tile/memcmp.c: New file.
5604
4b68ea11
CM
5605 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5606
c86f7b80
CM
5607 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5608 * sysdeps/tile/tilegx/strcasestr.c: New file.
5609 * sysdeps/tile/tilegx/strnlen.c: New file.
5610 * sysdeps/tile/tilegx/strstr.c: New file.
5611
1c4c1a6f
CM
5612 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5613
99d86ea3
AS
56142014-10-06 Arjun Shankar <arjun.is@lostca.se>
5615
5616 * nptl/tst-setuid3.c: Write errors to stdout.
5617
06210a44
KS
56182014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5619
5620 * elf/dl-deps.c
5621 (preload): New functions broken out of _dl_map_object_deps.
5622 (_dl_map_object_deps): Remove a nested function. Update call sites.
5623
6268f532
JM
56242014-10-01 Joseph Myers <joseph@codesourcery.com>
5625
5626 [BZ #14138]
5627 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5628 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5629
b925285f
SE
56302014-10-01 Steve Ellcey <sellcey@mips.com>
5631
5632 * sysdeps/mips/strcmp.S: New.
5633
754a15c6
JM
56342014-09-30 Joseph Myers <joseph@codesourcery.com>
5635
5636 [BZ #14138]
5637 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5638 (linkat): Likewise.
5639 (mkdirat): Likewise.
5640 (readlinkat): Likewise.
5641 (renameat): Likewise.
5642 (symlinkat): Likewise.
5643 (unlinkat): Likewise.
5644 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5645 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5646 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5647 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5648 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5649 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5650 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5651
85bb81c9
WN
56522014-09-30 Will Newton <will.newton@linaro.org>
5653
dc6fe23b
WN
5654 * math/math.h: Define long double math functions if
5655 _LIBC_TEST is defined.
5656 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5657
85bb81c9
WN
5658 * localedata/Makefile: Move assignment to tests-special
5659 into an ifdef testing run-built-tests.
5660 * timezone/Makefile: Likewise.
5661
b7e02da4
JM
56622014-09-29 Joseph Myers <joseph@codesourcery.com>
5663
5664 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5665 with $(BASH) not $(SHELL).
5666
62058ce6
CD
56672014-09-29 Carlos O'Donell <carlos@redhat.com>
5668 Matthew LeGendre <legendre1@llnl.gov>
5669
5670 [BZ #17411]
5671 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5672 l_reloc_result.
5673
8e257a29
KS
56742014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5675
5676 * stdio-common/printf_fp.c
5677 (hack_digit): New function, broken out of ...
5678 (__printf_fp): ... local function here. Update call sites.
5679 hack_digit now takes an additional parameter that is a pointer
5680 to a struct of the referenced locals. Those locals moved inside
5681 the struct and references updated.
5682
f4a58f0d
L
56832014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5684
5685 * aclocal.m4: Require autoconf 2.69.
5686 * configure: Regenerated.
5687 * sysdeps/aarch64/configure: Likewise.
5688 * sysdeps/alpha/configure: Likewise.
5689 * sysdeps/arm/armv7/configure: Likewise.
5690 * sysdeps/arm/configure: Likewise.
5691 * sysdeps/ia64/configure: Likewise.
5692 * sysdeps/mach/configure: Likewise.
5693 * sysdeps/mips/configure: Likewise.
5694 * sysdeps/s390/configure: Likewise.
5695 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5697
5698 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5699 file.
5700 * sysdeps/ia64/configure.ac: Likewise.
5701
93ae1eba
JM
57022014-09-26 Joseph Myers <joseph@codesourcery.com>
5703
1810d3ab
JM
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5705 specify symbol version for ld.so. Do not include entry for
5706 libpthread.
5707 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5708 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5709 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5710
93ae1eba
JM
5711 [BZ #14171]
5712 * Makeconfig [$(build-shared) = yes]
5713 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5714 makefiles.
5715 [$(build-shared) = yes && $(soversions.mk-done) = t]
5716 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5717 [$(build-shared) = yes && $(soversions.mk-done) = t]
5718 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5719 to Makerules.
5720 [$(build-shared) = yes && $(soversions.mk-done) = t]
5721 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5722 here.
5723 [$(build-shared) = yes && $(soversions.mk-done) = t]
5724 (common-generated): Don't append gnu/lib-names.h and
5725 gnu/lib-names.stmp here.
5726 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5727 (lib-names-h-abi): New variable.
5728 [$(build-shared) = yes && $(soversions.mk-done) = t]
5729 (lib-names-stmp-abi): Likewise.
5730 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5731 abi-variants] (before-compile): Append
5732 $(common-objpfx)$(lib-names-h-abi).
5733 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5734 abi-variants] (common-generated): Append gnu/lib-names.h.
5735 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5736 abi-variants] (install-others-nosubdir): Depend on
5737 $(inst_includedir)/$(lib-names-h-abi).
5738 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5739 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5740 [$(build-shared) = yes && $(soversions.mk-done) = t]
5741 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5742 [$(build-shared) = yes && $(soversions.mk-done) = t]
5743 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5744 [$(build-shared) = yes && $(soversions.mk-done) = t]
5745 (common-generated): Append $(lib-names-h-abi) and
5746 $(lib-names-stmp-abi).
5747 * scripts/lib-names.awk: Do not handle multi being set.
5748 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5749 Remove variable.
5750 (abi-lp64_be-ld-soname): Likewise.
5751 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5752 Likewise.
5753 (abi-hard-ld-soname): Likewise.
5754 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5755 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5756 Remove variable.
5757 (abi-o32_hard-ld-soname): Likewise.
5758 (abi-o32_soft_2008-ld-soname): Likewise.
5759 (abi-o32_hard_2008-ld-soname): Likewise.
5760 (abi-n32_soft-ld-soname): Likewise.
5761 (abi-n32_hard-ld-soname): Likewise.
5762 (abi-n32_soft_2008-ld-soname): Likewise.
5763 (abi-n32_hard_2008-ld-soname): Likewise.
5764 (abi-n64_soft-ld-soname): Likewise.
5765 (abi-n64_hard-ld-soname): Likewise.
5766 (abi-n64_soft_2008-ld-soname): Likewise.
5767 (abi-n64_hard_2008-ld-soname): Likewise.
5768 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5769 Likewise.
5770 (abi-64-v2-ld-soname): Likewise.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5772 ld.so entries.
5773 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5774 variable.
5775 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5776 entry.
5777 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5778 variable.
5779 (abi-64-ld-soname): Likewise.
5780 (abi-x32-ld-soname): Likewise.
5781 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5782 entry.
5783 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5784
68870f12
JM
57852014-09-23 Joseph Myers <joseph@codesourcery.com>
5786
5787 [BZ #14138]
5788 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5790 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5791 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5792 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5793 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5794 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5795 syscall entry for GLIBC_2.2 symbol version.
5796 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5797 Likewise.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5799 (setrlimit): Likewise.
5800 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5801 Likewise.
5802
ea58f202
WN
58032014-09-23 Will Newton <will.newton@linaro.org>
5804
5805 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5806 _LINUX_ARM_SYSDEP_H include guard too.
5807 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5808 define.
5809
69eb9a18
RV
58102014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5811
5812 * sysdeps/unix/sysv/linux/eventfd.c:
5813 Make first argument unsigned.
5814 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5815 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5816
20e5a5f7
OB
58172014-09-20 Ondřej Bílka <neleai@seznam.cz>
5818
5819 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5820 * socket/sys/socket.h: Likewise
5821 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5822
d3c827e7
AK
58232014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5824
5825 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5826
fe1cc35a
AS
58272014-09-17 Arjun Shankar <arjun.is@lostca.se>
5828
5829 * time/tst-ftime.c: New test.
5830 * time/Makefile (tests): Add tst-ftime.
5831
4e8afe69
JM
58322014-09-17 Joseph Myers <joseph@codesourcery.com>
5833
c4fe3ea7
JM
5834 * soft-fp/extended.h: Fix comment formatting.
5835 * soft-fp/op-1.h: Likewise.
5836 * soft-fp/op-2.h: Likewise.
5837 * soft-fp/op-4.h: Likewise.
5838 * soft-fp/op-8.h: Likewise.
5839 * soft-fp/op-common.h: Likewise.
5840 * soft-fp/soft-fp.h: Likewise.
5841
4e8afe69
JM
5842 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5843
af296fcd
JM
58442014-09-16 Joseph Myers <joseph@codesourcery.com>
5845
5846 [BZ #6652]
5847 * Makeconfig (soversions-default-setname): Remove variable.
5848 ($(common-objpfx)soversions.i): Don't pass default_setname to
5849 soversions.awk.
5850 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5851 oldest_abi to abi-versions.awk.
5852 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5853 * config.make.in (oldest-abi): Remove variable.
5854 * configure.ac (--enable-oldest-abi): Remove configure option.
5855 * configure: Regenerated.
5856 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5857 text.
5858 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5859 * scripts/soversions.awk: Do not handle default_setname variable.
5860 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5861 variable.
5862 * sysdeps/mach/hurd/configure: Regenerated.
5863 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5864 variable.
5865 * sysdeps/unix/sysv/linux/configure: Regenerated.
5866
545583d6
SP
58672014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5868
d330b980
SP
5869 * elf/Makefile (CFLAGS-interp.c): Remove.
5870 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5871 path string.
5872 * elf/interp.c: Include generated runtime-linker.h
5873
02657da2
SP
5874 * Makerules (lib%.so): Don't include $(+interp) in
5875 prerequisites.
5876 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5877 * dlfcn/eval.c: Remove file.
5878
653b1080
SP
5879 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5880 macros.
5881
602f80ec
SP
5882 [BZ #17266]
5883 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5884 4.2 and newer.
5885
545583d6
SP
5886 [BZ #17370]
5887 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5888
884ddc50
SP
58892014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5890 Jakub Jelinek <jakub@redhat.com>
5891
5892 [BZ #17266]
5893 * libio/stdio.h: Check definition of __fortify_function
5894 instead of __extern_always_inline to include bits/stdio2.h.
5895 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5896 check if __extern_always_inline is defined.
5897 [__USE_MISC || __USE_XOPEN]: Likewise.
5898 [__USE_ISOC99] Likewise.
5899 * misc/sys/cdefs.h (__fortify_function): Define only if
5900 __extern_always_inline is defined.
5901 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5902 __extern_always_inline and __extern_inline only for g++-4.3
5903 and newer or a compatible gcc.
5904
a7b87268
AS
59052014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5906
5907 [BZ #17371]
5908 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5909 last change to handle zero prefix length.
5910
3f41521d
SP
59112014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5912
61fe374a
SP
5913 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5914 _SC_REGEX_VERSION.
5915
3f41521d
SP
5916 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5917 _POSIX_RAW_SOCKETS.
5918
d8f879ee
AM
59192014-09-13 Allan McRae <allan@archlinux.org>
5920
5921 * po/ru.po: Update Russian translation from translation project.
5922
c079afb7
RM
59232014-09-12 Roland McGrath <roland@hack.frob.com>
5924
a62b3c15
RM
5925 * locale/programs/locale.c (show_locale_vars): Inline local function
5926 into its sole call site. Clean up some style nits.
5927 (print_item): New function, broken out of ...
5928 (show_info): ... local function here. Clean up style nits.
5929
d7e49b19
RM
5930 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5931 out of ...
5932 (set_class_defaults): ... local function set_default here.
5933 Define set_default as a macro locally to pass constant parameters.
5934 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5935 rather than a shared local.
5936
c079afb7
RM
5937 * stdlib/rpmatch.c (try): New function, broken out of ...
5938 (rpmatch): ... local function here. Also, prototypify definition.
5939
0bd72468
JM
59402014-09-12 Joseph Myers <joseph@codesourcery.com>
5941
ba90e050
JM
5942 * scripts/soversions.awk: Do not handle configuration names.
5943 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5944 vendor and os variables to soversions.awk.
5945 * configure.ac: Do not modify gnu-* host_os.
5946 * configure: Regenerated
5947 * shlib-versions: Remove first column with configuration names.
5948 * nptl/shlib-versions: Likewise.
5949 * nptl_db/shlib-versions: Likewise.
5950 * sysdeps/hppa/shlib-versions: Likewise.
5951 * sysdeps/m68k/shlib-versions: Likewise.
5952 * sysdeps/mach/hurd/shlib-versions: Likewise.
5953 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5954 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5955 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5956 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5957 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5958 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5959 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5960 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5962 Likewise.
5963 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5964 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5965 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5966 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5967 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5968 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5969 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5970 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5971
73a39112
JM
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5973 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5975 Regenerated.
5976 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5978 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5979
c729e7c1
JM
5980 * shlib-versions: Remove OS-specific entries. Moved to files in
5981 sysdeps.
5982 * sysdeps/mach/hurd/shlib-versions: New file.
5983 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5984
dc932a24
JM
5985 * nptl/shlib-versions: Remove architecture-specific entries.
5986 Moved to files in sysdeps.
5987 * shlib-versions: Likewise.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5989 file.
5990 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5991 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5992 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5993 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5994
0bd72468
JM
5995 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5996 (UDP_NO_CHECK6_RX): Likewise.
5997
920238e0
SP
59982014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5999
6000 * sysdeps/posix/sysconf.c (__sysconf): Spell
6001 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6002
ba7b4d29
FW
60032014-08-12 Florian Weimer <fweimer@redhat.com>
6004
6005 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6006 loading.
6007 * iconv/Versions (__gconv_transliterate): Export for use from
6008 gconv modules.
6009 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6010 (struct __gconv_trans_data, __gconv_trans_fct,
6011 __gconv_trans_context_fct, __gconv_trans_query_fct,
6012 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6013 definitions.
6014 (struct __gconv_step_data): Remove __trans member.
6015 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6016 longer hidden. Remove unused trans_data argument.
6017 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6018 (__gconv_translit_find): Remove declaration.
6019 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6020 prototype.
6021 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6022 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6023 trans_data argument. Add hidden definition.
6024 (__gconv_translit_find): Remove.
6025 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6026 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6027 * iconv/skeleton.c: Remove transliteration initialization.
6028 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6029 __gconv_step_data initialization.
6030 * libio/iofwide.c (__libio_translit_): Remove.
6031 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6032 * wcsmbs/btowc.c (__btowc): Likewise.
6033 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6034 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6035 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6036 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6037 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6038 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6039 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6040 * wcsmbs/wctob.c (wctob): Likewise.
6041
5379aebd
SP
60422014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6043
6044 [BZ #16194]
6045 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6046 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6047 register usage.
6048 * sysdeps/x86/Makefile: Adjust.
6049
8c0ab919
RM
60502014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6051 Roland McGrath <roland@hack.frob.com>
6052
6053 * locale/weight.h: Add include guard.
6054 (findidx): Make static rather than auto; take new parameters
6055 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6056 * locale/weightwc.h: Likewise.
6057 * posix/fnmatch_loop.c
6058 (FCT): Change type of EXTRA from int32_t to wint_t.
6059 Don't include either header inside the function.
6060 Call FINDIDX rather than findidx, and pass new arguments.
6061 #undef FINDIDX at the end of the file.
6062 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6063 FINDIDX before including fnmatch_loop.c for the non-wide version.
6064 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6065 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6066 for the wide version.
6067 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6068 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6069 Pass new arguments to findidx.
6070 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6071 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6072 Don't #include it inside the function. Pass new arguments to findidx.
6073 * posix/regex_internal.h
6074 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6075 (re_string_elem_size_at): Don't #include it inside the function.
6076 Pass new arguments to findidx.
6077 * string/strcoll_l.c: #include WEIGHT_H at top level.
6078 (get_next_seq): Don't #include it inside the function.
6079 Pass new arguments to findidx.
6080 (get_next_seq_nocache): Likewise.
6081 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6082 (STRXFRM): Don't #include it inside the function.
6083 Pass new arguments to findidx.
6084
52ffbdf2
FW
60852014-09-11 Florian Weimer <fweimer@redhat.com>
6086
6087 [BZ #17344]
6088 * malloc/malloc.c (unlink): Turn asserts into a call to
6089 malloc_printerr.
6090
984c0ea9
TL
60912014-09-11 Tim Lammens <tim.lammens@gmail.com>
6092
6093 [BZ #17370]
6094 * libio/wfileops (do_ftell_wide): Free OUT.
6095
3daee107
CM
60962014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6097
6098 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6099
58b930ae
SP
61002014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6101
6102 [BZ #17363]
6103 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6104 group if the current group is empty.
6105
3b473fec
AZ
61062014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107
71ae8647
AZ
6108 * benchtests/bench-memset.c (test_main): Add more test from size
6109 from 32 to 512 bytes.
6110 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6111 Add POWER8 memset object.
6112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6114 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6115 implementation.
6116 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6117 Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6119 multiarch POWER8 memset optimization.
6120 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6121 POWER8 memset optimization.
6122
3b473fec
AZ
6123 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6124 Remove bzero multiarch objects.
6125 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6126 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6127 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6128 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6129 Remove define.
6130 [__bzero]: Redefine to specific name.
6131 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6132 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6133 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6134 define.
6135 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6136 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6137
e6fb9587
FW
61382014-09-10 Florian Weimer <fweimer@redhat.com>
6139
6140 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6141 warnings into errors.
6142
6143 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6144 __cxa_thread_atexit_impl prototype.
6145
9d3a350b
SE
61462014-09-09 Steve Ellcey <sellcey@mips.com>
6147
6148 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6149 Fix capitalization of error message.
6150
0febba23
SE
61512014-09-09 Steve Ellcey <sellcey@mips.com>
6152
6153 * sysdeps/mips/preconfigure: Modify ABI tests.
6154
645a0e9c
CD
61552014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6156
6157 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6158
d83f0734
CD
61592014-09-07 Roland McGrath <roland@hack.frob.com>
6160 Carlos O'Donell <carlos@systemhalted.org>
6161
6162 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6163 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6164 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6165 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6166 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6167 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6168 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6169 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6170 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6171 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6172 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6173 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6174 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6175 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6176 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6177 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6178 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6179 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6180 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6181 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6182 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6183 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6184 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6185 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6186 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6187 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6188 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6189 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6190 Deconditionalize the code that was previously under [RESET_PID].
6191 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6192 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6193 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6194 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6195 include sysdep.h.
6196
21c83793
AM
61972014-09-08 Allan McRae <allan@archlinux.org>
6198
6199 * version.h (RELEASE): Set to "development".
6200 (VERSION): Set to "2.20.90"
6201
1cd9b65c
AM
62022014-09-07 Allan McRae <allan@archlinux.org
6203
b8079dd0
AM
6204 * version.h (RELEASE): Set to "stable".
6205 (VERSION): Set to "2.20"
6206 * include/features.h (__GLIBC_MINOR__): Set to 20.
6207
c46303ef
AM
6208 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6209 Liebler.
6210
1cd9b65c
AM
6211 * po/ko.po: Update Korean translation from translation project.
6212
8622092d
CM
62132014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6214
6215 [BZ #17354]
6216 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6217 macro for handling signed relocations.
6218
41488498
FW
62192014-09-03 Florian Weimer <fweimer@redhat.com>
6220
6221 [BZ #17325]
6222 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6223 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6224 assert.
6225 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6226 * iconvdata/ibm935.c (BODY): Likewise.
6227 * iconvdata/ibm937.c (BODY): Likewise.
6228 * iconvdata/ibm939.c (BODY): Likewise.
6229 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6230 assert.
6231 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6232 script.
6233 * iconvdata/run-iconv-test.sh: New test loop for checking for
6234 decoder crashers.
6235
a78b712d
KR
62362014-09-02 Khem Raj <raj.khem@gmail.com>
6237
6238 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6239 libm_hidden_ver.
6240
cb08abc6
AM
62412014-09-01 Allan McRae <allan@archlinux.org>
6242
2c31e102
AM
6243 * po/eo.po: Update Esperanto translation from translation project.
6244
cb08abc6
AM
6245 * po/ca.po: Update Catalan translation from translation project.
6246
17a62de1
ST
62472014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6248
6249 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6250 __proc_dostop call.
6251
9570bc53
MW
62522014-08-27 Mark Wielaard <mjw@redhat.com>
6253
6254 [BZ #17319]
6255 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6256 to call set_thread_area instead of hand written asm.
6257 (__NR_set_thread_area): Removed define.
6258 (TLS_FLAG_WRITABLE): Likewise.
6259 (__ASSUME_SET_THREAD_AREA): Remove check.
6260 (TLS_EBX_ARG): Remove define.
6261 (TLS_LOAD_EBX): Likewise.
6262
b0f955c9
ST
62632014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6264
6265 Simplify atomicity of socket creation in bind.
6266
6267 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6268 looking up the name after linking the file.
6269
529bf515
AM
62702014-08-27 Allan McRae <allan@archlinux.org>
6271
6272 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6273
a1a6a401
FW
62742014-08-26 Florian Weimer <fweimer@redhat.com>
6275
6276 [BZ #17187]
6277 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6278 trans_compare, open_translit, __gconv_translit_find):
6279 Remove module loading code.
6280
686ab290
AM
62812014-08-26 Allan McRae <allan@archlinux.org>
6282
e4e7cfd2
AM
6283 * po/vi.po: Update Vietnamese translation from translation project.
6284
6aa09f71
AM
6285 * po/uk.po: Update Ukrainian translation from translation project.
6286
edc0660e
AM
6287 * po/fr.po: Update French translation from translation project.
6288
7eea72ac
AM
6289 * po/ru.po: Update Russian translation from translation project.
6290
93c49eff
AM
6291 * po/pl.po: Update Polish translation from translation project.
6292
46acaf63
AM
6293 * po/cs.po: Update Czech translation from translation project.
6294
a9f5ce98
AM
6295 * po/de.po: Update German translation from translation project.
6296
373f2b78
AM
6297 * po/bg.po: Update Bulgarian translation from translation project.
6298
e7548bd8
AM
6299 * po/sv.po: Update Sweedish translation from translation project.
6300
c526bf4d
AM
6301 * po/nl.po: Update Dutch translation from translation project.
6302
686ab290
AM
6303 * po/es.po: Update Spanish translation from translation project.
6304
eb72478a
SP
63052014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
dd763fdb
SP
6307 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6308
318c7a58
SP
6309 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6310 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6311 (CPPFLAGS-iconvconfig): Likewise.
6312 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6313
eb72478a
SP
6314 * include/libc-symbols.h: Remove unnecessary check for
6315 NOT_IN_libc.
6316 * nptl/pthreadP.h: Likewise.
6317 * sysdeps/aarch64/setjmp.S: Likewise.
6318 * sysdeps/alpha/setjmp.S: Likewise.
6319 * sysdeps/arm/sysdep.h: Likewise.
6320 * sysdeps/i386/setjmp.S: Likewise.
6321 * sysdeps/m68k/setjmp.c: Likewise.
6322 * sysdeps/posix/getcwd.c: Likewise.
6323 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6324 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6325 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6326 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6327 * sysdeps/sh/sh3/setjmp.S: Likewise.
6328 * sysdeps/sh/sh4/setjmp.S: Likewise.
6329 * sysdeps/unix/alpha/sysdep.h: Likewise.
6330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6332 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6333 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6337 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6338 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6341 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6343 * sysdeps/x86_64/setjmp.S: Likewise.
6344
d44a052c
JM
63452014-08-13 Joseph Myers <joseph@codesourcery.com>
6346
6347 [BZ #17263]
6348 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6349 <stdint.h>.
6350 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6351 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6352
508ce3ac
SP
63532014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6354
e44c8b0e
SP
6355 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6356
508ce3ac
SP
6357 [BZ #17262]
6358 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6359 and __x86_64__ when disabling x87 inline functions.
6360
b4acef1f
L
63612014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 [BZ #17259]
6364 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6365 asm statement with __cpuid_count.
6366
61b1ef6e
MF
63672014-08-12 Mike Frysinger <vapier@gentoo.org>
6368
6369 * configure.ac: Change __ehdr_start code to dereference the struct.
6370 Run readelf on the output to look for relocations.
6371 * configure: Regenerated.
6372
898c62f4
JM
63732014-08-12 Joseph Myers <joseph@codesourcery.com>
6374
6375 [BZ #17261]
6376 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6377 value to 0.
6378 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6379
9a8a5720
RM
63802014-08-12 Roland McGrath <roland@hack.frob.com>
6381
6382 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6383
4e75751c
BO
63842014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6385
6386 [BZ #16892]
6387 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6388 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6389
bb2ce416
SA
63902014-08-12 Sean Anderson <seanga2@gmail.com>
6391
6392 * malloc/malloc.c: Fix typo in comment.
6393
7950a4ee
AM
63942014-08-09 Allan McRae <allan@archlinux.org>
6395
6396 * Regenerate libc.po.
6397
f469c49f
MF
63982014-08-08 Mike Frysinger <vapier@gentoo.org>
6399
6400 * intl/tst-gettext2.sh: Check every lang file for creation.
6401
656b84c2
WD
64022014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6403
6404 * sysdeps/aarch64/fpu/math_private.h
6405 (libc_feholdsetround_noex_aarch64_ctx): New function.
6406
538e9e45
W
64072014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6408
6409 * sysdeps/arm/armv6/strcpy.S (strcpy):
6410 Fix performance issue in misaligned cases.
6411
d4795e4a
AZ
64122014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6413
6414 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6415 Move definition from termios.h.
6416 (struct termio): Likewise.
6417 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6418 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6419 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6420 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6421 Likewise.
6422 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6423 Move definition to ioctl-types.h
6424 (struct termio): Likewise.
6425 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6426 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6427 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6428 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6429 Likewise.
6430
64accb62
RH
64312014-08-05 Richard Henderson <rth@redhat.com>
6432
27bb6dc0
RH
6433 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6434 exceptions.
6435 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6436 Add fraiseexcpt.
6437 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6438 Use __feraiseexcept.
6439 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6440 Protect libm symbols with IS_IN_libm.
6441
64accb62
RH
6442 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6443
e5292691
BO
64442014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6445
6446 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6447
5b4bd2d4
WN
64482014-08-04 Will Newton <will.newton@linaro.org>
6449
6450 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6451 file.
6452
fcadaeef
MF
64532014-08-04 Mike Frysinger <vapier@gentoo.org>
6454
6455 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6456 variants for each function.
6457
43a94c64
RM
64582014-08-04 Roland McGrath <roland@hack.frob.com>
6459
6460 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6461 appended ...
6462 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6463 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6464 appended ...
6465 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6466 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6467 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6468 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6469 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6470 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6471 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6472 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6473 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6474 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6475 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6476 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6477 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6478 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6479 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6480 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6481 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6482 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6483 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6485 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6486 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6487 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6488 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6489 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6491 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6492 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6493 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6495 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6497 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6498 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6499 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6501 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6502 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6503 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6504 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6505 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6506 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6507 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6508 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6509 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6511 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6513 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6515 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6516 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6517 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6518 Update #include.
6519 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6520 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6521
8f3c1fa4
RM
65222014-08-04 Roland McGrath <roland@hack.frob.com>
6523
6524 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6525 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6526 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6527 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6529 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6530
ca08746f
RM
65312014-08-04 Roland McGrath <roland@hack.frob.com>
6532
6533 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6534 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6535 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6536 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6537
9c925ff9
RM
65382014-08-04 Roland McGrath <roland@hack.frob.com>
6539
6540 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6541 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6542 (__libc_vfork): Define function under this name.
6543 (__vfork): Define as an alias.
6544 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6545 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6546
e641054c
RM
65472014-08-04 Roland McGrath <roland@hack.frob.com>
6548
6549 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6550 that was previously under [RESET_PID].
6551 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6552
dacdc867
AS
65532014-08-04 Andreas Schwab <schwab@suse.de>
6554
6555 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6556
41f725ff
MF
65572014-08-03 Mike Frysinger <vapier@gentoo.org>
6558
6559 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6560 (main): Likewise.
6561
277cfb31
RM
65622014-08-01 Roland McGrath <roland@hack.frob.com>
6563
6564 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6565
4896f049
RH
65662014-08-01 Richard Henderon <rth@redhat.com>
6567
6568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6569 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6570 typo in exact zero test.
6571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6574
6f64e7d7
RM
65752014-08-01 Roland McGrath <roland@hack.frob.com>
6576
6577 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6578 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6579 * sysdeps/arm/sysdep.h: ... here.
6580 [!__ASSEMBLER__]: Include <stdint.h>.
6581
3f3dd810
SP
65822014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6583
a476ac4b
SP
6584 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6585 (HAVE_WCTYPE_H): Likewise.
6586 (HAVE_ISWCTYPE): Likewise.
6587 (ENABLE_NLS): Likewise.
6588 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6589 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6590
78dd658a
SP
6591 * posix/regex_internal.c: Check if DEBUG is defined and is
6592 set.
6593
3f3dd810
SP
6594 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6595 (HAVE_MBSRTOWCS): Likewise.
6596 * posix/fnmatch.c: Include string.h unconditionally.
6597
95ee7fb1
SL
65982014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6599
6600 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6601 reversal.
6602
23fe486b
RM
66032014-07-31 Roland McGrath <roland@hack.frob.com>
6604
f61a113f
RM
6605 * sysdeps/generic/safe-fatal.h: New file.
6606 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6607 * nptl/forward.c: Include it.
6608 (__pthread_unwind): Use __safe_fatal as default action, rather
6609 than a bogus use of INTERNAL_SYSCALL that could never work.
6610
9fe7e787
RM
6611 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6612 * configure.ac (libc_cv_builtin_trap): New test.
6613 * configure: Regenerated.
6614 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6615 (ABORT_INSTRUCTION): Define using __builtin_trap.
6616
23fe486b
RM
6617 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6618 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6619 * sysdeps/nptl/nptl-signals.h: New file.
6620 * nptl/pthreadP.h: Include <nptl-signals.h>.
6621
f349489e
SL
66222014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6623
6624 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6625 (ONE_DIRECTION): Define.
6626 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6627 (ONE_DIRECTION): Define.
6628 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6629 (ONE_DIRECTION): Define.
6630
2f438e20
SL
66312014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6632
6633 * sysdeps/s390/Makefile: Delete file.
6634 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6635 * sysdeps/s390/__longjmp.c: Delete file.
6636 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6637 Remove fields __flags and __reserved.
6638 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6639 and add versioning.
6640 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6641 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6642 * sysdeps/s390/rtld-setjmp.S: Likewise.
6643 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6644 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6645 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6646 * sysdeps/s390/s390-32/setjmp.S: ... here.
6647 Add versioning.
6648 (__sigsetjmp): Remove setting __flags field.
6649 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6650 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6651 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6652 * sysdeps/s390/s390-64/setjmp.S: ... here.
6653 Add versioning.
6654 (__sigsetjmp): Remove setting __flags field.
6655 * sysdeps/s390/setjmp.S: Delete file.
6656 * sysdeps/s390/sigjmp.c: Likewise.
6657 * sysdeps/s390/v1-longjmp.c: Likewise.
6658 * sysdeps/s390/v1-setjmp.h: Likewise.
6659 * sysdeps/s390/v1-sigjmp.c: Likewise.
6660 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6661 Remove v1-longjmp_chk.
6662 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6663 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6664 Include debug/longjmp_chk.c and add versioning.
6665 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6666 Include nptl/pt-longjmp.c and add versioning.
6667 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6668 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6669 Include __longjmp.c.
6670 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6671 Move to ...
6672 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6673 (__getcontext): Remove setting __flags field.
6674 Add versioning.
6675 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6676 Don't restore upper high grps.
6677 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6678 Likewise.
6679 (__swapcontext): Remove setting uc_flags field.
6680 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6681 Delete file.
6682 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6683 Include __longjmp.c.
6684 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6685 Move to ...
6686 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6687 (__getcontext): Remove setting __flags field.
6688 Add versioning.
6689 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6690 (__swapcontext): Remove setting uc_flags field.
6691 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6692 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6693 Remove fields uc_high_gprs and __reserved.
6694 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6695 New file with reverted content.
6696 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6697 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6698 Regenerated.
6699 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6700 Regenerated.
6701
6c9578a2
AS
67022014-07-31 Andreas Schwab <schwab@suse.de>
6703
6704 * config.h.in (HAVE_IFUNC): Define to 0.
6705 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6706 definedness.
6707
05f3633d
LM
67082014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6709
6710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6711 memmove-avx-unaligned, memcpy-avx-unaligned and
6712 mempcpy-avx-unaligned.
6713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6714 Add tests for AVX memcpy functions.
6715 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6716 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6717 memcpy_chk.
6718 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6719 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6720 memmove_chk.
6721 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6722 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6723 mempcpy_chk.
6724 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6725 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6726 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6727
a53fbd8e
AZ
67282013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729
6730 [BZ #17213]
6731 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6732 powerpc64le.
6733
0961f7e1
JL
67342014-07-29 Jeff Layton <jlayton@poochiereds.net>
6735
6736 [BZ #16839]
6737 * manual/llio.texi: Add section about open file description locks.
6738 * manual/examples/ofdlocks.c: Example of open file description
6739 lock usage.
6740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6741 F_OFD_SETLK, and F_OFD_SETLKW.
6742
cc5fb300
AM
67432014-07-23 Allan McRae <allan@archlinux.org>
6744
6745 * po/es.po: Update Spanish translation from translation project.
6746
23329dca
AS
67472014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6748
6749 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6750
9c82da17
MR
67512014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6752
6753 [BZ #17078]
6754 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6755 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6756 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6757
29c4f53e
JM
67582014-07-17 Joseph Myers <joseph@codesourcery.com>
6759
831b9896
JM
6760 [BZ #17088]
6761 * math/fesetenv.c (__fesetenv)
6762 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6763 * math/feupdateenv.c (__feupdateenv)
6764 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6765
b21c2d50
JM
6766 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6767 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6768 (__ASSUME_SOCKETCALL): Do not define.
6769
067764ef
JM
6770 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6771 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6772 (__ASSUME_SOCKETCALL): Do not define.
6773 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6774 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6775 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6776 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6777 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6778 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6779 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6780 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6781
642530c1
JM
6782 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6783 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6784 (__ASSUME_SOCKETCALL): Do not define.
6785 (__ASSUME_IPC64): Define unconditionally.
6786 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6787 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6788 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6789 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6790 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6791 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6792 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6793 Likewise.
6794
03f77315
JM
6795 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6796 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6797 (__ASSUME_SOCKETCALL): Do not define.
6798 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6799 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6800 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6801 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6802 (__ASSUME_REQUEUE_PI): Define unconditionally.
6803 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6804 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6805 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6806 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6807 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6808 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6809
083b1f7c
JM
6810 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6811 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6812 (__ASSUME_SOCKETCALL): Do not define.
6813 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6814 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6815 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6816 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6817 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6818 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6819
5be44ea6
JM
6820 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6821 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6822 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6823 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6824 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6825 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6826 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6827 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6828 (__ASSUME_GETCPU_SYSCALL): Likewise.
6829
d95ffd4c
JM
6830 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6831 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6832 cases for individual architectures.
6833 * sysdeps/gnu/configure: Regenerated.
6834 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6835 LIBC_SLIBDIR_RTLDDIR.
6836 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6837 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6838 LIBC_SLIBDIR_RTLDDIR.
6839 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6841 LIBC_SLIBDIR_RTLDDIR.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6843 Regenerated.
6844 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6845 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6846 file.
6847 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6848 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6849 file.
6850 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6851 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6852 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6854
29c4f53e
JM
6855 * sysdeps/aarch64/shlib-versions: Move to ...
6856 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6857 * sysdeps/alpha/shlib-versions: Move to ...
6858 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6859 * sysdeps/arm/shlib-versions: Move to ...
6860 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6861 * sysdeps/hppa/shlib-versions: Move all contents except for
6862 libgcc_s entry to ...
6863 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6864 entry from ...
6865 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6866 * sysdeps/ia64/shlib-versions: Move to ...
6867 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6868 entry from ...
6869 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6870 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6871 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6872 * sysdeps/microblaze/shlib-versions: Move to ...
6873 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6874 * sysdeps/mips/shlib-versions: Move to ...
6875 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6876 entry from ...
6877 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6878 * sysdeps/tile/shlib-versions: Move to ...
6879 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6880 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6881 from ...
6882 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6883 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6884 entry from ...
6885 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6886
32bead5b
WN
68872014-07-17 Will Newton <will.newton@linaro.org>
6888
57977c4b
WN
6889 * sysdeps/arm/bits/atomic.h
6890 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6891 (__arch_compare_and_exchange_bool_16_int): Likewise.
6892 (__arch_compare_and_exchange_bool_64_int): Likewise.
6893
32bead5b
WN
6894 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6895 into an #else block.
6896
37fccd41
RM
68972014-07-16 Roland McGrath <roland@hack.frob.com>
6898
6899 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6900 just Linux configurations. Test empirically that the compiler sets
6901 __ARM_EABI__, rather than using the tuple to decide.
6902 * sysdeps/arm/preconfigure: Regenerated.
6903 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6904 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6905 contents appended ...
6906 * sysdeps/arm/configure.ac: ... here.
6907 * sysdeps/arm/configure: Regenerated.
6908
b365f3ec
RM
69092014-07-15 Roland McGrath <roland@hack.frob.com>
6910
8badf496
RM
6911 * nptl/pthread_kill.c: New file.
6912 * nptl/pthread_sigmask.c: New file.
6913 * nptl/pthread_sigqueue.c: New file.
6914
3df6f22e
RM
6915 * sysdeps/nptl/lowlevellock.h: New file.
6916 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6917 * sysdeps/nptl/lowlevellock-futex.h: New file.
6918
b365f3ec
RM
6919 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6920 Remove dead declarations.
6921
f2fef657
L
69222014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6923
6924 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6925 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6926 config-cflags-avx2.
6927 * sysdeps/x86_64/configure.ac: Likewise.
6928 * sysdeps/i386/configure: Regenerated.
6929 * sysdeps/x86_64/configure: Likewise.
6930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6931 memset-avx2 only if config-cflags-avx2 is yes.
6932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6933 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6934 defined.
6935 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6936 only if HAVE_AVX2_SUPPORT is defined.
6937 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6938
f6c44d47
AM
69392014-07-14 Alan Modra <amodra@gmail.com>
6940
6941 [BZ #17153]
6942 * elf/elf.h (DT_PPC64_NUM): Correct value.
6943 * NEWS: Add to fixed bug list.
6944
7ee03f00
JM
69452014-07-13 Jim Meyering <meyering@fb.com>
6946
6947 [BZ 17150]
6948 regex: don't deref NULL upon heap allocation failure
6949 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6950 failure in one more place.
6951 To trigger the segfault, configure grep -with-included-regex,
6952 build it, and run these commands:
6953 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6954
9d39d517
AS
69552014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6956
6957 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6958
a75b89b7
RH
69592014-07-11 Richard Henderson <rth@redhat.com>
6960
6961 * sysdeps/aarch64/libm-test-ulps: Update.
6962
771eb141
FW
69632014-07-10 Florian Weimer <fweimer@redhat.com>
6964
6965 [BZ #17135]
6966 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6967 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6968 (__nptl_setxid): Initialize error member. Call
6969 __nptl_setxid_error.
6970 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6971 * nptl/descr.h (struct xid_command): Add error member.
6972 * nptl/tst-setuid3.c: New file.
6973 * nptl/Makefile (tests): Add it.
6974
bc1da176
AZ
69752014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6976
6977 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6978 New define.
6979 (__lll_trylock): Use __lll_base_trylock.
6980 (__lll_cond_trylock): Likewise.
6981
887865fc
RM
69822014-07-10 Roland McGrath <roland@hack.frob.com>
6983
c0c6bac9
RM
6984 * nptl/pthread_create.c (start_thread): Use atomic_or and
6985 lll_futex_wake directly rather than lll_robust_dead.
6986 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6987 (lll_robust_dead): Macro removed.
6a42be57 6988 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6989 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6990 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6991 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6992 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6993 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6994 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6995 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6996 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6997 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6998 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6999 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7000 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7001 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7003
887865fc
RM
7004 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7005 Use atomic_compare_and_exchange_val_acq directly rather than
7006 lll_robust_trylock.
7007 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7008 (__lll_robust_trylock, lll_robust_trylock): Removed.
7009 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7010 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7011 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7012 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7013 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7014 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7015 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7016 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7018 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7019 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7020 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7021 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7022 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7023
58536726
FW
70242014-07-02 Florian Weimer <fweimer@redhat.com>
7025
7026 * manual/locale.texi (Locale Names): New section documenting
7027 locale name syntax. Adjust menu and node chaining accordingly.
7028 (Choosing Locale): Reference Locale Names, Locale Categories.
7029 Mention setting LC_ALL=C. Reflect that name syntax is now
7030 documented.
7031 (Locale Categories): New section title. Reference Locale Names.
7032 LC_ALL is an environment variable, but not a category.
7033 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7034 description, now in Locale Name. Reference that section. Locale
7035 name syntax is now documented.
7036
4e8f95a0
FW
70372014-07-02 Florian Weimer <fweimer@redhat.com>
7038
7039 [BZ #17137]
7040 * locale/findlocale.c (name_present, valid_locale_name): New
7041 functions.
7042 (_nl_find_locale): Use the loc_name variable to store name
7043 candidates. Call name_present and valid_locale_name to check and
7044 validate locale names. Return an error if the locale is invalid.
7045
d1836456
FW
70462014-07-02 Florian Weimer <fweimer@redhat.com>
7047
7048 * locale/setlocale.c (setlocale): Use strdup for allocating
7049 composite name copy.
7050
d69b7f5a
SP
70512014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7052
888c679b
SP
7053 Sync up with gnulib.
7054 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7055 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7056 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7057 and _GL_ARG_NONNULL.
7058 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7059 [!_LIBC]: Include code for Windows and Cygwin.
7060 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7061 Include prototype for int strerror_r.
7062 [!_LIBC] (is_open): New function.
7063 (flush_stdout): New function.
7064 (print_errno_message): Use it.
7065 (error): Likewise.
7066 (error_at_line): Likewise.
7067 (error_tail) Add function attribute macros. Use
7068 __builtin_expect.
7069
180e0e4b
SP
7070 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7071
d22f1fe2
SP
7072 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7073
12f2254b
SP
7074 * io/ftw.c: Include sys/param.h unconditionally.
7075
c3c7c360
SP
7076 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7077
d62aa75a
SP
7078 [BZ #17125]
7079 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7080 libc_freeres_ptr.
7081 (freecache): New function to free CACHE on exit.
7082
d69b7f5a
SP
7083 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7084 initialization.
7085
5efe06a1
DM
70862014-07-09 David S. Miller <davem@davemloft.net>
7087
7088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7089
7000d82e
DM
7090 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7091 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7092 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7093 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7094 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7095 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7096 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7097 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7098 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7099 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7100 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7101 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7102 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7103
c213442d
AS
71042014-07-09 Andreas Schwab <schwab@suse.de>
7105
4a2552c3
AS
7106 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7107 output.
7108 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7109 (do_test): Likewise.
7110
c213442d
AS
7111 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7112
82374e65
WN
71132014-07-09 Will Newton <will.newton@linaro.org>
7114
7115 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7116 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7117 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7118 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7119 * sysdeps/hppa/start.S (_start): Likewise.
7120
6680738a
SP
71212014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7122
6ee3eab4
SP
7123 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7124
6680738a
SP
7125 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7126 defined.
7127
80b5c505
SP
71282014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7129
e35c53e3
SP
7130 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7131 after checking that it is non-NULL.
7132
80b5c505
SP
7133 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7134
91f4b564
AZ
71352014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7136
27b75f56
AZ
7137 * sysdeps/powerpc/memmove.c: Remove file.
7138 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7139 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7141 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7143 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7144 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7145 string memmove instead of removed powerpc one.
7146
e7f95bb5
AZ
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7148 [weak_alias]: Fix compiler warning due trailing data.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7150 [weak_alias]: Likewise.
7151 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7152 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7153
91f4b564
AZ
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7155 (__libc_ifunc_impl_list): Add memmove functions.
7156
7c33f1e5
SP
71572014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7158
7159 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7160 Remove code.
7161 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7162 Likewise
7163 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7164 Likewise
7165 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7166 Likewise
7167 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7168 Likewise
7169 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7170 Likewise
7171 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7172 Likewise
7173 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7174 Likewise
7175 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7176 Likewise
7177 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7178 Likewise
7179 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7180 Likewise
7181 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7182 Likewise
7183 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7184 Likewise
7185 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7186 Likewise
7187 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7188 Likewise
7189 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7190 Likewise
7191 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7192 Likewise
7193
3f17b03b
AZ
71942014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7195
87868c24
AZ
7196 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7197 to avoid alignment traps in non-cacheable memory.
7198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7199
07aedd78
AZ
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7201 multiarch objects.
7202 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7203 file: multiarch power7 memmove.
7204 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7205 multiarch default memmove.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7207 multiarch memove for powerpc32/power4.
7208
17762f66
AZ
7209 * string/bcopy.c: Use full path to include memmove.c.
7210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7211 multiarch objects.
7212 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7213 bcopy for powerpc64.
7214 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7215 bcopy for powerpc64.
7216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7217 and memmove implementations.
7218 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7219 optimized multiarch memmove for POWER7/powerpc64.
7220 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7221 default multiarch memmove for powerpc64.
7222 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7223 multiarch for powerpc64.
7224 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7225 for POWER7/powerpc64.
7226 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7227 memmove for POWER7/powerpc64.
7228
d6f68bbe
AZ
7229 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7230 glibc default one.
7231
3f17b03b
AZ
7232 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7233 __ELF_NATIVE_CLASS equal to 64.
7234
08192659
RM
72352014-07-07 Roland McGrath <roland@hack.frob.com>
7236
f4c4021b
RM
7237 * sysdeps/nptl/lowlevellock.h: File removed.
7238
f083450f
RM
7239 * NEWS: NPTL is no longer an add-on!
7240 * nptl/internaltypes.h: Moved ...
7241 * sysdeps/nptl/internaltypes.h: ... here.
7242 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7243 * sysdeps/nptl/fork.c: Likewise.
7244 * sysdeps/nptl/gai_misc.h: Likewise.
7245 * sysdeps/nptl/librt-cancellation.c: Likewise.
7246 * sysdeps/nptl/jmp-unwind.c: Likewise.
7247 * sysdeps/nptl/setxid.h: Likewise.
7248 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7249 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7250 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7251 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7252 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7253 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7254 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7255 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7256 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7257 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7258 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7259 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7260 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7261 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7262 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7263 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7264 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7265 * nptl/Makeconfig: Moved ...
7266 * sysdeps/nptl/Makeconfig: ... here.
7267 * nptl/configure: File removed.
7268 * nptl/ANNOUNCE: File removed.
7269 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7270 * sysdeps/unix/sysv/linux/configure: Regenerated.
7271
08192659
RM
7272 * nptl/Makefile (routines): Add libc_pthread_init,
7273 libc_multiple_threads, register-atfork and unregister-atfork.
7274 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7275 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7276 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7277 pthread-pi-defines.sym, structsem.sym.
7278 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7279 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7280 [$(subdir) = nptl] (tests): Add tst-setgetname.
7281 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7282 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7283 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7284 [!LIBC_SIGACTION]: Remove aliases.
7285 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7286 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7287 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7288 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7289 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7290 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7293 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7294 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7295 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7296 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7297 __libc_allocate_rtsig_private.
7298 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7299 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7300 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7301 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7302 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7303 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7304 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7305 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7306 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7307 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7308 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7309 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7310 * nptl/internaltypes.h: ... here.
7311 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7312 * sysdeps/nptl/jmp-unwind.c: ... here.
7313 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7314 * nptl/libc-lowlevellock.c: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7316 * nptl/libc_multiple_threads.c: ... here.
7317 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7318 * nptl/libc_pthread_init.c: ... here.
7319 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7320 * nptl/lowlevelbarrier.sym: ... here.
7321 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7322 * nptl/lowlevelcond.sym: ... here.
7323 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7324 * nptl/lowlevellock.c: ... here.
7325 * nptl/lowlevellock.h: Moved ...
7326 * sysdeps/nptl/lowlevellock.h: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7328 * nptl/lowlevelrobustlock.c: ... here.
7329 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7330 * nptl/lowlevelrobustlock.sym: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7332 * nptl/lowlevelrwlock.sym: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7334 * nptl/pt-fork.c: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7336 * nptl/pthread-pi-defines.sym: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7338 * nptl/pthread_attr_getaffinity.c: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7340 * nptl/pthread_attr_setaffinity.c: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7342 * nptl/pthread_mutex_cond_lock.c: ... here.
7343 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7344 Update #include.
7345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7346 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7347 * nptl/pthread_once.c: ... here, replacing old file.
7348 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7349 * nptl/pthread_yield.c: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7351 * nptl/register-atfork.c: ... here.
7352 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7353 * nptl/sem_post.c: ... here.
7354 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7355 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7356 * nptl/sem_timedwait.c: ... here.
7357 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7358 * nptl/sem_trywait.c: ... here.
7359 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7360 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7361 * nptl/sem_wait.c: ... here.
7362 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7363 * nptl/structsem.sym: ... here.
7364 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7365 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7366 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7367 * nptl/unregister-atfork.c: ... here.
7368 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7369 * nptl/unwindbuf.sym: ... here.
7370 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7371 * sysdeps/nptl/fork.c: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7373 * sysdeps/nptl/fork.h: ... here.
7374 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7375 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7376 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7377 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7378 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7380 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7382 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7383 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7384 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7385 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7386 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7388 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7389 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7390 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7391 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7392 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7394 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7395 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7396 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7398 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7400 * sysdeps/unix/sysv/linux/raise.c: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7402 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7404 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7405 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7406 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7408 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7410 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7412 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7414 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7415 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7416
96baf6ff
SP
74172014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7418
7419 * sysdeps/generic/memcopy.h: Add comment for
7420 MEMCPY_OK_FOR_FWD_MEMMOVE.
7421
6b7b14b2
WN
74222014-07-04 Will Newton <will.newton@linaro.org>
7423
1570a72b
WN
7424 * string/memchr.c: Merge from gnulib.
7425 [_LIBC]: Remove conditionals.
7426 (__ptr_t): Remove define.
7427 (LONG_MAX_32_BITS): Likewise.
7428 (LONG_MAX): Likewise.
7429 (MEMCHR): Use ANSI prototype and optimize algorithm.
7430
6b7b14b2
WN
7431 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7432
38851324
SP
74332014-07-03 Roland McGrath <roland@hack.frob.com>
7434
3d9eb57c
RM
7435 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7436 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7437
78b984ae
RM
7438 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7439 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7440 in a bare environment with no <stdlib.h> installed.
7441 * sysdeps/nptl/configure: Regenerated.
7442
2d5976a5
RM
7443 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7444
c1f5acd4
RM
7445 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7446 AC_EGREP_CPP for kernel header checks, so they only succeed if
7447 including <linux/version.h> actually works right.
7448 * sysdeps/unix/sysv/linux/configure: Regenerated.
7449
4d614fe5
RM
7450 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7451 value so it's not diagnosed as unused.
7452
38851324
SP
7453 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7454 thing) with "ifeq ($(subdir),rt)".
7455
b3ec00e5
RH
74562014-07-03 Richard Henderson <rth@redhat.com>
7457
69862e25
RH
7458 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7459 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7460 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7461
d5e16ade
RH
7462 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7463 (math_force_eval): New.
7464
ca7b945c
RH
7465 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7466 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7467
cd1175a3
RH
7468 * sysdeps/alpha/fpu/s_round.c: Remove file.
7469 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7470
b3ec00e5
RH
7471 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7472 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7473 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7474 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7475 (_dl_start, print_statistics): Likewise.
7476 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7477 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7478
7479 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7480 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7481 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7482 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7483 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7484 (HP_SMALL_TIMING_AVAIL): Define.
7485 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7486 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7487 (HP_SMALL_TIMING_AVAIL): Define.
7488 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7489 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7490
7491 * sysdeps/aarch64/hp-timing.h: New file.
7492
7493 * sysdeps/generic/hp-timing.h: Remove dead comment.
7494 * sysdeps/generic/hp-timing-common.h: New file.
7495 * sysdeps/alpha/hp-timing.h: Include it.
7496 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7497 * sysdeps/i386/i686/hp-timing.h: Likewise.
7498 * sysdeps/ia64/hp-timing.h: Likewise.
7499 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7502 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7503 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7504 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7505 (hp_timing_t): New.
7506
7507 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7508 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7509 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7510 * elf/rtld.c (_dl_start_final): Likewise.
7511 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7512 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7513 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7514 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7515 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7516 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7517 (HP_TIMING_DIFF_INIT): Remove.
7518 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7519 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7520 (HP_TIMING_DIFF_INIT): Remove.
7521 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7522 * sysdeps/i386/i686/hp-timing.c: Remove file.
7523 * sysdeps/x86_64/hp-timing.c: Remove file.
7524 * sysdeps/ia64/hp-timing.c: Remove file.
7525 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7526 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7528 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7529
7530 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7531 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7532 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7533 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7535 (HP_TIMING_ACCUM): Remove.
7536 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7538 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7539
7540 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7541 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7542 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7543 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7545 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7546 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7547 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7548
7549 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7550
225f410f
MR
75512014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7552
7553 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7554
3247f285
SP
75552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7556
7557 Sync up with gettext.
7558 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7559 [_MSC_VER]: Include malloc.h
7560 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7561 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7562 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7563 TEMP_FAILURE_RETRY. Cast return of alloca.
7564 [!_LIBC] Call gl_rwlock_init.
7565 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7566
d12704c7
SP
75672014-07-02 Roland McGrath <roland@hack.frob.com>
7568
7569 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7570 before checking its value.
7571
99f8dc92
SP
75722014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7573
05fdac77
SP
7574 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7575
99f8dc92
SP
7576 * debug/memcpy_chk.c: Don't include pagecopy.h.
7577 * debug/mempcpy_chk.c: Likewise.
7578 * string/memcpy.c: Likewise.
7579 * string/memmove.c: Likewise.
7580 * sysdeps/powerpc/memmove.c: Likewise.
7581 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7582 definition of PAGE_COPY_FWD_MAYBE here...
7583 * sysdeps/generic/pagecopy.h: ... from here.
7584 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7585
bc8ea385
VR
75862014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7587 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7588
7589 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7591 optimizations.
7592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7593 (__libc_ifunc_impl_list): Likewise.
7594 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7595 multiarch strcat for PPC64.
7596 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7597 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7598
fe5f34e4
RM
75992014-07-02 Roland McGrath <roland@hack.frob.com>
7600
7601 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7602
256aa665
SP
76032014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7604
d4eb8195
SP
7605 * intl/loadmsgcat.c: Remove declaration of
7606 get_sysdep_segment_value.
7607 (get_sysdep_segment_value): Use ISO C style.
7608 (_nl_load_domain): Use ISO C style. Get rid of redundant
7609 semicolon. Fix typo and formatting in comment.
7610 (_nl_unload_domain): Use ISO C style.
7611
256aa665
SP
7612 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7613
b100f9aa
WN
76142014-07-02 Will Newton <will.newton@linaro.org>
7615
7616 * malloc/obstack.c: Merge from gnulib master.
7617 [HAVE_CONFIG_H]: Remove conditional code.
7618 [!_LIBC]: Include config.h.
7619 [!ELIDE_CODE]: Don't include inttypes.h, include
7620 stdint.h unconditionally.
7621 (print_and_abort): Mark as _Noreturn.
7622 (_obstack_allocated_p): Mark as __attribute_pure__.
7623 (obstack_free): Rename to __obstack_free.
7624 [!__attribute__]: Remove conditional code.
7625 * malloc/obstack.h: Merge from gnulib master.
7626 [__cplusplus]: Move conditional down.
7627 [!__attribute_pure__]: Define __attribute_pure__ here
7628 if it is not already defined.
7629 (_obstack_memory_used): Mark as __attribute_pure__.
7630 [!__obstack_free]: Define as obstack_free.
7631 [__GNUC__]: Remove check for ancient NeXT gcc.
7632
c4c41244
PE
76332014-07-02 Will Newton <will.newton@linaro.org>
7634 Paul Eggert <eggert@cs.ucla.edu>
7635
7636 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7637
e1e041c4
SP
76382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7639
7640 * resolv/gethnamaddr.c: Add comment warning that the file is
7641 not maintained.
7642
ccf431ff
CD
76432014-07-01 Carlos O'Donell <carlos@redhat.com>
7644
d34570a6
CD
7645 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7646 entries.
7647
ccf431ff
CD
7648 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7649 entry for aio_cancel and aio_cancel64.
7650 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7651 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7652 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7653 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7654 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7655 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7656 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7657 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7658 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7659 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7660 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7661 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7662 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7663
ca06321d
RM
76642014-07-01 Roland McGrath <roland@hack.frob.com>
7665
7666 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7667 * nptl/pthread_mutex_lock.c: Likewise.
7668 * nptl/pthread_mutex_timedlock.c: Likewise.
7669 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7670
a1ac3184
RH
76712014-07-01 Richard henderson <rth@redhat.com>
7672
631021e0
RH
7673 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7674 (__isnan, __isnanl): Remove.
7675 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7676
a1ac3184
RH
7677 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7678
0c1d731f
SL
76792014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7680
7681 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7682
76985d3e
SP
76832014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7684
7685 * resolv/nss_dns/dns-host.c (getanswer_r)
7686 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7687
b0cb3096
JM
76882014-07-01 Joseph Myers <joseph@codesourcery.com>
7689
7690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7691 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7692 undefine.
7693 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7694 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7695
4d76cb39
RM
76962014-07-01 Roland McGrath <roland@hack.frob.com>
7697
7698 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7699 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7700
7701 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7702 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7703
7704 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7705 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7706 ... here.
7707 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7708 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7709
7710 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7711 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7712 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7713 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7714
7715 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7716 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7717 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7718 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7720 Moved ...
7721 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7722 ... here.
7723 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7724 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7726 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7727 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7740 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7741 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7742 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7743 ... here.
7744 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7747 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7748 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7749 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7750 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7751 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7752
0cdcad17
DH
77532014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7754
7755 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7756 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7757 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7758 Add sysdep.
7759
9b71d0e3
AZ
77602014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761
7762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7763
665390c2
JM
77642014-06-30 Joseph Myers <joseph@codesourcery.com>
7765
ae05a9d7
JM
7766 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7767 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7768
a7672a2f
JM
7769 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7770
665390c2
JM
7771 * sysdeps/arm/libm-test-ulps: Regenerated.
7772
d7a05d07
MR
77732014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7774 Roland McGrath <roland@hack.frob.com>
7775
7776 * test-skeleton.c (signal_handler): Kill the whole process group
7777 before killing the child individually.
7778 (main): Report any failure on `setpgid'.
7779
46f1d8a6
RM
77802014-06-30 Roland McGrath <roland@hack.frob.com>
7781
7782 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7783 from _TLS_H to _ARM_NPTL_TLS_H.
7784 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7785 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7786
9c37ec0b
JM
77872014-06-30 Joseph Myers <joseph@codesourcery.com>
7788
ce9c5b3e
JM
7789 [BZ #16539]
7790 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7791 (__expm1l): Return argument unchanged when small but not
7792 subnormal.
7793
3a6e9887
JM
7794 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7795 include macro name.
7796 (_FP_UNPACK_RAW_1_P): Likewise.
7797 (_FP_PACK_RAW_1): Likewise.
7798 (_FP_PACK_RAW_1_P): Likewise.
7799 (_FP_MUL_MEAT_1_wide): Likewise.
7800 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7801 (_FP_MUL_MEAT_1_hard): Likewise.
7802 (_FP_DIV_MEAT_1_imm): Likewise.
7803 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7804 (_FP_DIV_MEAT_1_udiv): Likewise.
7805 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7806 (_FP_UNPACK_RAW_2): Likewise.
7807 (_FP_UNPACK_RAW_2_P): Likewise.
7808 (_FP_PACK_RAW_2): Likewise.
7809 (_FP_PACK_RAW_2_P): Likewise.
7810 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7811 (_FP_MUL_MEAT_2_wide): Likewise.
7812 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7813 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7814 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7815 (_FP_MUL_MEAT_2_gmp): Likewise.
7816 (_FP_DIV_MEAT_2_udiv): Likewise.
7817 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7818 (_FP_FRAC_SRL_4): Likewise.
7819 (_FP_FRAC_SRST_4): Likewise.
7820 (_FP_FRAC_SRS_4): Likewise.
7821 (_FP_UNPACK_RAW_4): Likewise.
7822 (_FP_UNPACK_RAW_4_P): Likewise.
7823 (_FP_PACK_RAW_4): Likewise.
7824 (_FP_PACK_RAW_4_P): Likewise.
7825 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7826 (_FP_MUL_MEAT_4_wide): Likewise.
7827 (_FP_MUL_MEAT_4_gmp): Likewise.
7828 (umul_ppppmnnn): Likewise.
7829 (_FP_DIV_MEAT_4_udiv): Likewise.
7830 (__FP_FRAC_ADD_4): Likewise.
7831 (__FP_FRAC_SUB_3): Likewise.
7832 (__FP_FRAC_SUB_4): Likewise.
7833 (__FP_FRAC_DEC_3): Likewise.
7834 (__FP_FRAC_DEC_4): Likewise.
7835 (__FP_FRAC_ADDI_4): Likewise.
7836 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7837 (_FP_FRAC_SRL_8): Likewise.
7838 (_FP_FRAC_SRS_8): Likewise.
7839
9c37ec0b
JM
7840 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7841 include macro name.
7842 (FP_UNPACK_RAW_EP): Likewise.
7843 (FP_PACK_RAW_E): Likewise.
7844 (FP_PACK_RAW_EP): Likewise.
7845 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7846 (_FP_ISSIGNAN): Likewise.
7847 (_FP_ADD_INTERNAL): Likewise.
7848 (_FP_FMA): Likewise.
7849 (_FP_CMP): Likewise.
7850 (_FP_SQRT): Likewise.
7851 (_FP_TO_INT): Likewise.
7852 (_FP_FROM_INT): Likewise.
7853 (FP_EXTEND): Likewise.
7854 (_FP_DIV_MEAT_N_loop): Likewise.
7855
2125f674
MR
78562014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7857
7858 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7859 throughout.
7860
edea4028
JM
78612014-06-29 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #17097]
7864 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7865 result with correct sign in case of exponents that produce
7866 overflow except for X very close to 1.
7867
dd0ba018
PE
78682014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7869
7870 mktime: merge #if/#ifdef usage from glibc
7871 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7872 as that works with both Glibc's and Gnulib's style.
7873 See thread starting at Siddhesh Poyarekar's bug report at:
7874 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7875
64df73c2
SP
78762014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7877
7878 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7879 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7880 * sysdeps/tile/tilegx/memmove.c: Remove file.
7881
f1eafb41
JM
78822014-06-27 Joseph Myers <joseph@codesourcery.com>
7883
7884 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7885 abi-name definition.
7886 * scripts/soversions.awk: Do not handle or generate ABI lines.
7887 * shlib-versions: Remove ABI entries.
7888 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7889 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7890
58eb0862
RM
78912014-06-27 Roland McGrath <roland@hack.frob.com>
7892
37caf178
RM
7893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7894 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7895 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7900 Moved ...
7901 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7902 ... here.
7903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7904 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7906 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7908 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7912 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7914 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7916 Moved ...
7917 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7923 Moved ...
7924 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7926 Moved ...
7927 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7929 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7931 Moved ...
7932 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7936 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7940 Moved ...
7941 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7942 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7943 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7945 Moved ...
7946 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7948 Moved ...
7949 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7951 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7953 Moved ...
7954 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7955 ... here.
7956 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7957 Identical file removed.
7958 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7959 Moved ...
7960 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7961 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7962 Identical file removed.
7963 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7964 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7966 Moved ...
7967 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7968 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7969 Identical file removed.
7970 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7971 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7973 Identical file removed.
7974 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7976 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7977 Identical file removed.
7978 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7979 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7981 Identical file removed.
7982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7983 Moved ...
7984 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7986 Identical file removed.
7987 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7988 Moved ...
7989 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7990 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7991 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7992 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7993 Identical file removed.
7994 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7995 Moved ...
7996 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7997 ... here.
7998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7999 Identical file removed.
8000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8001 Moved ...
8002 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8004 Identical file removed.
8005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8006 Moved ...
8007 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8008 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8009 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8010 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8011 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8013 Moved ...
8014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8016 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8017
58eb0862
RM
8018 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8019 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8020 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8021 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8022 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8023
6f12d062
AS
80242014-06-27 Arjun Shankar <arjun.is@lostca.se>
8025
8026 [BZ #17092]
8027 * nscd/nscd.c (monitor_child): Return exit status of child
8028 instead of return value from wait syscall.
8029
be254932
JM
80302014-06-27 Joseph Myers <joseph@codesourcery.com>
8031
cb403c34
JM
8032 * configure.ac (libc_commonpagesize): Remove variable.
8033 (libc_relro_required): Likewise.
8034 (libc_cv_z_relro): Remove configure test.
8035 * configure: Regenerated.
8036 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8037 variable.
8038 (libc_relro_required): Likewise.
8039 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8040 (libc_relro_required): Likewise.
8041 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8042 (libc_relro_required): Likewise.
8043 * sysdeps/arm/preconfigure: Regenerated.
8044 * sysdeps/ia64/preconfigure: Remove file.
8045 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8046 variable.
8047 (libc_relro_required): Likewise.
8048
be254932
JM
8049 [BZ #16561]
8050 [BZ #16562]
8051 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8052 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8053 recompute overflowing results in original rounding mode.
8054 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8055 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8056 recompute overflowing results in original rounding mode.
8057 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8058 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8059 recompute overflowing results in original rounding mode.
8060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8061 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8062 recompute overflowing results in original rounding mode.
8063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8064 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8065 recompute overflowing results in original rounding mode.
8066 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8067 (libc_feholdsetround_ctx): New macro.
8068 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8069 * sysdeps/i386/fpu/libm-test-ulps: Update.
8070 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8071
b351d85a
JM
80722014-06-26 Joseph Myers <joseph@codesourcery.com>
8073
8074 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8075 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8076 corresponding .cpsetup call.
8077
3cb4de47
RM
80782014-06-26 Roland McGrath <roland@hack.frob.com>
8079
8080 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8081 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8082 * sysdeps/arm/Makefile [$(subdir) = csu]
8083 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8084 (static-only-routines): Add aeabi_read_tp here.
8085 (shared-only-routines): Add libc-aeabi_read_tp here.
8086 (CFLAGS-libc-start.c): Add -fexceptions here.
8087 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8088 (sysdep_routines, static-only-routines, shared-only-routines):
8089 Don't add to these here.
8090 (CFLAGS-libc-start.c): Likewise.
8091
8092 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8093 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8094 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8095 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8096 * sysdeps/arm/Makefile [$(subdir) = rt]
8097 (librt-sysdep_routines, librt-shared-only-routines):
8098 Append rt-aeabi_unwind_cpp_pr1 here.
8099 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8100 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8101 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8102 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8103 Append nptl-aeabi_unwind_cpp_pr1 here.
8104 (tests): Filter out tst-cleanupx4 here.
8105 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8106 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8107 Don't do those here.
8108
354426bb
JM
81092014-06-26 Joseph Myers <joseph@codesourcery.com>
8110
8111 * scripts/list-sources.sh: Do not handle ports specially.
8112
28b0a8c9
RM
81132014-06-26 Roland McGrath <roland@hack.frob.com>
8114
a3dd035d
RM
8115 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8116 * sysdeps/arm/feupdateenv.c: Likewise.
8117
28b0a8c9
RM
8118 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8119
e66a8203
JM
81202014-06-26 Joseph Myers <joseph@codesourcery.com>
8121
8122 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8123 trailing whitespace removed.
8124 * scripts/config.guess: Update to version 2014-03-23.
8125 * scripts/config.sub: Update to version 2014-05-01
8126 * scripts/install-sh: Update to version 2013-12-25.23.
8127 * scripts/move-if-change: Update from gnulib.
8128
74171115
SP
81292014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8130
b97c9ce5
SP
8131 * debug/memmove_chk.c: Remove pagecopy.h include.
8132
4000f892
SP
81332014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8134
74171115
SP
8135 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8136 identical to gnulib mktime.
8137
a8779c28
JM
81382014-06-26 Joseph Myers <joseph@codesourcery.com>
8139
e64708de
JM
8140 * configure.ac: Do not test for machine being rs6000. Do not test
8141 for powerpc*-*soft.
8142 * configure: Regenerated.
8143
a8779c28
JM
8144 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8145 test.
8146 * configure: Regenerated.
8147 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8148 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8149 Remove configure test.
8150 * sysdeps/arm/configure: Regenerated.
8151 * sysdeps/nptl/configure.ac: Do not check
8152 libc_cv_asm_cfi_directives.
8153 * sysdeps/nptl/configure: Regenerated.
8154 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8155 * sysdeps/x86_64/nptl/configure: Remove generated file.
8156 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8157 unconditional.
8158 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8159
2aac0a86
SP
81602014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
059bf913
SP
8162 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8163 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8164 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8165 it is defined.
8166
4cf5b6d0
SP
8167 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8168 instead of whether it is defined.
8169 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8170 * sysdeps/hppa/dl-machine.h: Likewise.
8171 * sysdeps/ia64/dl-machine.h: Likewise.
8172 * sysdeps/m68k/dl-machine.h: Likewise.
8173 * sysdeps/microblaze/dl-machine.h: Likewise.
8174 * sysdeps/mips/dl-machine.: Likewise.
8175 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8176 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8177 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8178 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8179 * sysdeps/sh/dl-machine.h: Likewise.
8180 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8181 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8182 * sysdeps/tile/dl-machine.h: Likewise.
8183 * sysdeps/x86_64/dl-machine.h: Likewise.
8184
2aac0a86
SP
8185 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8186 code.
8187 (verify_persistent_db): Likewise.
8188
6ad2df0b
RM
81892014-06-26 Roland McGrath <roland@hack.frob.com>
8190
d8a483f3
RM
8191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8192 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8196 Moved ...
8197 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8198 ... here.
8199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8202 Identical file removed.
8203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8212 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8214 Moved ...
8215 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8217 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8219 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8221 Moved ...
8222 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8224 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8226 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8228 Identical file removed.
8229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8230 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8232 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8234 Moved ...
8235 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8236 ... here.
8237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8238 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8240 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8244 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8246 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8248 Moved ...
8249 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8251 Moved ...
8252 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8256 Moved ...
8257 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8259 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8260
52ae23b4
RM
8261 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8262 folded into ...
8263 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8264 * sysdeps/unix/sysv/linux/s390/Versions
8265 (libpthread: GLIBC_2.19): New version set.
8266 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8267 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8268 (librt: GLIBC_2.3.3): New version set.
8269 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8270 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8271 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8272 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8273 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8274 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8275 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8277 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8278 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8279 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8281 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8283 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8284 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8285 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8287 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8289 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8291 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8292 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8293 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8295 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8296 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8297 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8298 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8299 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8305 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8307 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8309 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8311 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8313 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8314
39507e4a
RM
8315 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8316 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8317 (__libc_vfork): Define the function under this name.
8318 [!NOT_IN_libc] (__vfork): Make this an alias.
8319 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8320 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8321 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8322 (__libc_vfork): Define the function under this name.
8323 [!NOT_IN_libc] (__vfork): Make this an alias.
8324 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8325 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8326 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8328 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8329 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8330
e549ee56
RM
8331 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8332 code that was previously under [RESET_PID].
8333 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8334 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8336
6ad2df0b
RM
8337 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8338 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8339 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8340 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8341 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8342 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8343 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8344 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8345 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8346 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8348 Moved ...
8349 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8350 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8351 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8352 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8353 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8354 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8355 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8356 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8357 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8359 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8363 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8364 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8365 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8367 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8369 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8370 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8373 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8374 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8375 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8377 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8378
7c1c1d8e
RM
83792014-06-25 Roland McGrath <roland@hack.frob.com>
8380
8381 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8382 that was previously under [RESET_PID].
8383 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8384
3e239be6
JM
83852014-06-25 Joseph Myers <joseph@codesourcery.com>
8386
74385da5
JM
8387 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8388 not undefine and redefine.
8389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8390 [O_CLOEXEC]: Make code unconditional.
8391 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8392 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8393 <kernel-features.h>.
8394 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8395 conditional variable definition.
8396 (shm_open) [O_CLOEXEC]: Make code unconditional.
8397 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8398 code.
8399
c2570a0b
JM
8400 * configure.ac (USE_REGPARMS): Don't define here.
8401 * configure: Regenerated.
8402 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8403 * sysdeps/i386/configure: Regenerated.
8404
11b076bb
JM
8405 * nptl/createthread.c: Don't include kernel-features.h.
8406 * nptl/pthread_cancel.c: Likewise.
8407 * nptl/pthread_condattr_setclock.c: Likewise.
8408 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8409 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8410 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8411 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8412 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8413 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8414 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8415 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8417 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8418 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8419 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8420 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8421 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8422 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8423 * nscd/gai.c: Likewise.
8424 * nss/nss_db/db-open.c: Likewise.
8425 * sysdeps/generic/ldsodefs.h: Likewise.
8426 * sysdeps/sh/nptl/tls.h: Likewise.
8427 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8428 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8429 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8430 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8431 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8432 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8433 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8434 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8436 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8437 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8438 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8439 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8440 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8441 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8442 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8443 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8444 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8445 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8446 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8447 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8449 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8450 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8453 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8455 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8456 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8457 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8458 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8459 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8460 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8461 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8462 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8463 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8464 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8465 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8466 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8467 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8468 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8469 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8470 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8471 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8472 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8473 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8474 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8475 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8476 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8477 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8478 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8479 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8480 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8481 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8482 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8483 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8484 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8507 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8508 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8509 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8510 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8511 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8512 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8513 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8514 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8515 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8516 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8517 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8518 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8519 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8520 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8521 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8522 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8523 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8524 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8525 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8526 * sysdeps/unix/sysv/linux/system.c: Likewise.
8527 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8528 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8529 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8530 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8531 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8532 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8533 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8534
92072d57
JM
8535 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8536 * configure: Regenerated.
8537 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8538
3e239be6
JM
8539 * configure.ac (base_machine): Do not set specially for particular
8540 machines here.
8541 * configure: Regenerated.
8542 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8543 settings from configure.ac.
8544 * sysdeps/i386/preconfigure: New file.
8545 * sysdeps/s390/preconfigure: Likewise.
8546 * sysdeps/sh/preconfigure: Likewise.
8547 * sysdeps/sparc/preconfigure: Likewise.
8548
06d50baa
RM
85492014-06-25 Roland McGrath <roland@hack.frob.com>
8550
74836003
RM
8551 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8552 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8553 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8554 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8555 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8556 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8557 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8558 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8559 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8560 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8561 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8562 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8563 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8564 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8565 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8566 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8567 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8568 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8569 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8570
8571 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8572 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8573 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8574 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8575 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8576 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8577 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8578 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8579 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8580 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8581 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8582 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8583 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8584 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8585 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8586 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8587 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8588 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8589 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8590 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8591 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8592 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8593 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8594 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8595 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8596 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8597 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8598 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8599 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8600 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8601 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8602 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8603 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8604 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8605 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8606 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8607 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8608 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8609
06d50baa
RM
8610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8611 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8613 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8615 Moved ...
8616 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8617 ... here.
8618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8623 Moved ...
8624 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8630 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8632 Moved ...
8633 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8635 Moved ...
8636 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8638 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8640 Moved ...
8641 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8643 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8647 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8649 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8651 Moved ...
8652 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8653 ... here.
8654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8655 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8659 Moved ...
8660 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8662 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8664 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8668 Moved ...
8669 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8671 Moved ...
8672 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8674 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8676 Moved ...
8677 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8681 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8682
a4ccbc9b
JM
86832014-06-25 Joseph Myers <joseph@codesourcery.com>
8684
0828edbf
JM
8685 * timezone/checktab.awk: Update from tzcode 2014e.
8686 * timezone/private.h: Likewise.
8687 * timezone/tzfile.h: Likewise.
8688 * timezone/zdump.c: Likewise.
8689 * timezone/zic.c: Likewise.
8690
a4ccbc9b
JM
8691 * sysdeps/unix/sysv/linux/kernel-features.h
8692 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8693 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8694 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8695 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8696 Remove conditional code.
8697
9aea0cb8
WN
86982014-06-25 Will Newton <will.newton@linaro.org>
8699
8700 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8701 (_dl_arm_cap_flags): Add HWCAP2 values.
8702 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8703 (_DL_HWCAP_COUNT): Increase to 37.
8704 (_DL_HWCAP_LAST): New define.
8705 (_DL_HWCAP2_LAST): New define.
8706 (_dl_procinfo): Add support for printing
8707 AT_HWCAP2 entries.
8708 (_dl_string_hwcap): Use _dl_hwcap_string.
8709
6eaa65ce
AZ
87102014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8711
8712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8713
0f5b7185
JM
87142014-06-25 Joseph Myers <joseph@codesourcery.com>
8715
cfd2ea50
JM
8716 * README: Do not mention ports directory.
8717
cecf2ed4
JM
8718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8719 Remove macro.
8720 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8721 <kernel-features.h>.
8722 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8723 conditional variable definition.
8724 (__futimes): Update comment.
8725 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8726 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8727
a638de82
JM
8728 [BZ #16560]
8729 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8730 arguments close to 0.
8731 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8732 Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8734 Likewise.
8735 * math/auto-libm-test-in: Add more tests of exp10.
8736 * math/auto-libm-test-out: Regenerated.
8737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8738
0f5b7185
JM
8739 * sysdeps/unix/sysv/linux/kernel-features.h
8740 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8741 * sysdeps/unix/sysv/linux/readv.c: Do not include
8742 <kernel-features.h>.
8743 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8744 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8745 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8746 unconditional.
8747 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8748 conditional code.
8749 * sysdeps/unix/sysv/linux/writev.c: Do not include
8750 <kernel-features.h>.
8751 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8752 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8753 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8754 unconditional.
8755 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8756 conditional code.
8757
c7aec4be
WN
87582014-06-25 Will Newton <will.newton@linaro.org>
8759
8760 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8761 comment changes throughout the file. Remove checks
8762 for HAVE_*_H definitions that are not required.
8763 (__gen_tempname): Call abort if an unknown kind value is
8764 passed.
8765
c5241f95
AS
87662014-06-25 Andreas Schwab <schwab@suse.de>
8767
8768 [BZ #17086]
8769 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8770 scalbln, scalblnf, scalblnl in libc.
8771
911422da
SP
87722014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8773
8774 [BZ #17086]
8775 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8776 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8777 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8778
0d749bbe
RM
87792014-06-24 Roland McGrath <roland@hack.frob.com>
8780
8781 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8782 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8783 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8784 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8785 Update #include.
8786 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8787 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8788 Update #include.
8789 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8790 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8791 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8792 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8793 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8794 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8795 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8796 * sysdeps/x86/bits/semaphore.h: ... here.
8797 * sysdeps/x86/nptl/elide.h: Moved ...
8798 * sysdeps/x86/elide.h: ... here.
8799 * sysdeps/x86_64/nptl/Implies: File removed.
8800 * sysdeps/i386/nptl/Implies: File removed.
8801
0ea5d373
JM
88022014-06-24 Joseph Myers <joseph@codesourcery.com>
8803
4060283d
JM
8804 [BZ #16539]
8805 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8806 return the argument for normal arguments with exponent below -64.
8807 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8808 Likewise.
8809 * math/auto-libm-test-in: Add another test of expm1.
8810 * math/auto-libm-test-out: Regenerated.
8811
e7dd3c8c
JM
8812 [BZ #16287]
8813 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8814 calling __erfcl for arguments at least 16.
8815 * math/auto-libm-test-in: Add more tests of erf.
8816 * math/auto-libm-test-out: Regenerated.
8817
0ea5d373
JM
8818 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8819 individual architectures.
8820 * sysdeps/unix/sysv/linux/configure: Regenerated.
8821 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8822 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8823 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8824 (ldd_rewrite_script): Define variable.
8825 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8827 file.
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8829 generated file.
8830 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8831 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8832 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8833 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8834 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8835 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8836 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8837 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8838
2307e126
SP
88392014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8840
8841 [BZ #17084]
8842 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8843 Rename member __data.d to __data.__elision_data.
8844
c0a4ed77
W
88452014-06-24 Wilco <wdijkstr@arm.com>
8846
8847 * NEWS: Add 16918 to fixed bug list.
8848
b8c00573
W
88492014-06-24 Wilco <wdijkstr@arm.com>
8850
8851 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8852
b5570d92
W
88532014-06-24 Wilco <wdijkstr@arm.com>
8854
8855 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8856 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8857 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8858 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8859 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8860 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8861 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8862 Use _FPU_MASK_RM.
8863
947bdca2
W
88642014-06-24 Wilco <wdijkstr@arm.com>
8865
8866 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8867
00f669ed
W
88682014-06-24 Wilco <wdijkstr@arm.com>
8869
8870 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8871 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8872 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8873 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8874
db59bad3
W
88752014-06-24 Wilco <wdijkstr@arm.com>
8876
8877 [BZ #16918]
8878 * sysdeps/arm/feupdateenv.c (feupdateenv):
8879 Rewrite to reduce FPSCR accesses and fix return value.
8880
001f7b77
W
88812014-06-24 Wilco <wdijkstr@arm.com>
8882
8883 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8884 Optimize to avoid unnecessary FPSCR writes.
8885 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8886 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8887 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8888 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8889
4841e6a6
W
88902014-06-24 Wilco <wdijkstr@arm.com>
8891
8892 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8893 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8894 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8895 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8896 Call libc_fetestexcept_vfp.
8897 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8898 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8899 __SOFTFP__ ifdef so that they can be built for softfp.
8900
0813022c
SP
89012014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8902
08e5862f
SP
8903 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8904 argument type signed char.
8905
0813022c
SP
8906 * Makerules (check-abi): Dump diff of symlist if the test
8907 fails.
8908
3fc7236a
RM
89092014-06-23 Roland McGrath <roland@hack.frob.com>
8910
aba8ef95
RM
8911 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8912 using abort.
8913
3fc7236a
RM
8914 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8915 Remove unused variable ST.
8916
4da6db51
JM
89172014-06-23 Joseph Myers <joseph@codesourcery.com>
8918
4648909d
JM
8919 [BZ #16354]
8920 [BZ #17061]
8921 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8922 small arguments before calling __expm1.
8923 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8924 small arguments before calling __expm1f.
8925 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8926 small arguments before calling __expm1l.
8927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8928 Likewise.
8929 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8930 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8931 spurious underflow for some cosh tests.
8932 * math/auto-libm-test-out: Regenerated.
8933 * sysdeps/i386/fpu/libm-test-ulps: Update.
8934
46a3d3c7
JM
8935 [BZ #17050]
8936 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8937 (__ieee754_y1): Set errno if return value overflows.
8938 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8939 (__ieee754_y1f): Set errno if return value overflows.
8940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8941 (__ieee754_y1l): Set errno if return value overflows.
8942 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8943 (__ieee754_y1l): Set errno if return value overflows.
8944 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8945 * math/auto-libm-test-out: Regenerated.
8946
863893ec
JM
8947 * math/gen-auto-libm-tests.c: Document use of
8948 ignore-zero-inf-sign.
8949 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8950 (input_flags): Add ignore-zero-inf-sign.
8951 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8952 * math/gen-libm-test.pl (generate_testfile): Handle
8953 ignore-zero-inf-sign.
8954 * math/auto-libm-test-in: Mark some cpow tests with
8955 ignore-zero-inf-sign and some with xfail-rounding.
8956 * math/auto-libm-test-out: Regenerated.
8957 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8958 * sysdeps/i386/fpu/libm-test-ulps: Update.
8959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8960
4da6db51
JM
8961 [BZ #16315]
8962 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8963 overflowing or underflowing operations take place with sign of
8964 result.
8965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8966 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8967 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8968 (__ieee754_pow): Recompute overflowing and underflowing results in
8969 original rounding mode.
8970 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8971 (__powl_helper): Allow negative argument X and scale negated value
8972 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8973 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8974 overflowing or underflowing operations take place with sign of
8975 result.
8976 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8977 Include <math.h>.
8978 * math/auto-libm-test-in: Add more tests of pow.
8979 * math/auto-libm-test-out: Regenerated.
8980 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8981 (pow_tonearest_test_data): Remove.
8982 (pow_test_tonearest): Likewise.
8983 (pow_towardzero_test_data): Likewise.
8984 (pow_test_towardzero): Likewise.
8985 (pow_downward_test_data): Likewise.
8986 (pow_test_downward): Likewise.
8987 (pow_upward_test_data): Likewise.
8988 (pow_test_upward): Likewise.
8989 (main): Don't call removed functions.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
5686b236
RM
89932014-06-23 Roland McGrath <roland@hack.frob.com>
8994
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8996 Moved ...
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8999 Moved ...
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9002 Moved ...
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9005 Moved ...
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9008 File removed.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9010 File removed.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9012 File removed.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9014 File removed.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9016 File removed.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9018 File removed.
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9020 File removed.
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9022 File removed.
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9024 File removed.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9026 File removed.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9028 File removed.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9030 File removed.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9032 Moved ...
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9035 Moved ...
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9037 ... here.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9039 Moved ...
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9042 Moved ...
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9045 Moved ...
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9048 Moved ...
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9051 Moved ...
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9054 Moved ...
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9057 Moved ...
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9061 ... here.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9063 Moved ...
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9066 Moved ...
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9068 ... here.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9070 Moved ...
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9072 ... here.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9074 Moved ...
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9076 ... here.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9078 Moved ...
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9081 Moved ...
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9086 Moved ...
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9088 ... here.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9090 Moved ...
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9092 ... here.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9094 Moved ...
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9097 Moved ...
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9100 Moved ...
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9103 Moved ...
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9106 Moved ...
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9108 ... here.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9113 Moved ...
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9116 Moved ...
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9119 Moved ...
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9124 Moved ...
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9127 Moved ...
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9130 Moved ...
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9132 ... here.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9134 Moved ...
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9136 ... here.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9138 Moved ...
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9140 ... here.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9142 Moved ...
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9145 Moved ...
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9148 Moved ...
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9151 Moved ...
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9153 ... here.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9155 Moved ...
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9157 ... here.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9159 Moved ...
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9161 ... here.
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9163 Moved ...
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9166 Moved ...
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9168
e6d90d67
WD
91692014-06-23 Will Newton <will.newton@linaro.org>
9170 Wilco <wdijkstr@arm.com>
9171
9172 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9173 implementation. Include get-rounding-mode.h.
9174 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9175 [!libc_feholdsetround_noex_ctx]: Define
9176 libc_feholdsetround_noex_ctx.
9177 [!libc_feholdsetround_noexf_ctx]: Define
9178 libc_feholdsetround_noexf_ctx.
9179 [!libc_feholdsetround_noexl_ctx]: Define
9180 libc_feholdsetround_noexl_ctx.
9181 (libc_feholdsetround_ctx): New function.
9182 (libc_feresetround_ctx): New function.
9183 (libc_feholdsetround_noex_ctx): New function.
9184 (libc_feresetround_noex_ctx): New function.
9185
d42df555
RM
91862014-06-23 Roland McGrath <roland@hack.frob.com>
9187
88a46474
RM
9188 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9189 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9190 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9191 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9192 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9193 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9194
15bed472
RM
9195 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9196 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9197 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9198 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9199 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9200 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9201 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9202 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9203 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9204 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9206 Moved ...
9207 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9208 ... here.
9209 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9210 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9212 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9214 Moved ...
9215 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9217 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9219 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9223 Moved ...
9224 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9226 Moved ...
9227 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9229 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9231 Moved ...
9232 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9236 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9237 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9238 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9242 Moved ...
9243 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9244 ... here.
9245 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9246 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9247 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9248 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9250 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9256 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9258 Moved ...
9259 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9265 Moved ...
9266 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9268 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9269 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9270 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9271
d42df555
RM
9272 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9273 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9274 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9275 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9276 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9277 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9278 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9279 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9283 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9284 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9285 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9286 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9287 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9288 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9289 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9290 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9291 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9300
76e5216e
JM
93012014-06-23 Joseph Myers <joseph@codesourcery.com>
9302
9303 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9304 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9305 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9306 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9307 (IPV6_PMTUDISC_INTERFACE): Likewise.
9308 (IPV6_PMTUDISC_OMIT): Likewise.
9309
7a81cbcc
AS
93102014-06-23 Andreas Schwab <schwab@suse.de>
9311
9312 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9313 Remove unused errout label.
9314
db224009
AZ
93152014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9316
9317 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9318 macro: hardware supports Vector Crypto instructions.
9319
f393b4aa
WN
93202014-06-23 Will Newton <will.newton@linaro.org>
9321
cc7d0447
WN
9322 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9323 rather than __builtin_expect.
9324
d6d06225
WN
9325 * elf/dl-lookup.c (undefined_msg): Remove variable.
9326 (_dl_lookup_symbol_x): Replace undefined_msg with string
9327 literal.
9328
f393b4aa
WN
9329 * elf/dl-lookup.c (do_lookup_unique): New function.
9330 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9331 to a separate function.
9332
ac60763e
AS
93332014-06-23 Andreas Schwab <schwab@suse.de>
9334
9335 [BZ #17079]
9336 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9337 before reading the next line.
9338
c5c13355
WN
93392014-06-23 Will Newton <will.newton@linaro.org>
9340
9341 * test-skeleton.c (signal_handler): Use printf and %m
9342 rather than perror. Use printf rather than fprintf to
9343 stderr. Use puts rather than fputs to stderr.
9344 (main): Likewise.
9345
bd3675f9
LC
93462014-06-22 Ludovic Courtès <ludo@gnu.org>
9347
9348 * nscd/nscd.c (thread_info_t): Remove typedef.
9349 (thread_info): Remove variable.
9350
d03efb2f
AM
93512014-06-21 Allan McRae <allan@archlinux.org>
9352
9353 * NEWS: Mention CVE-2014-4043.
9354
bc4a86fa
RM
93552014-06-20 Roland McGrath <roland@hack.frob.com>
9356
dc9a54f8
RM
9357 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9358 * nptl/smp.h: ... here.
9359
bd7022c4
RM
9360 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9361
26ffd5e6
RM
9362 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9363 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9364 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9365 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9366
93a6d082
RM
9367 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9368 * nptl/stack-aliasing.h: New file.
9369 * sysdeps/i386/i686/stack-aliasing.h: New file.
9370 * sysdeps/i386/i686/nptl/Makefile: File removed.
9371 * sysdeps/x86_64/stack-aliasing.h: New file.
9372 * sysdeps/x86_64/nptl/Makefile
9373 (CFLAGS-pthread_create.c): Variable removed.
9374
bc4a86fa
RM
9375 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9376 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9377 old file.
9378 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9379 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9380 old file.
9381
2272ffc1
JM
93822014-06-21 Joseph Myers <joseph@codesourcery.com>
9383
9384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9385 (__ASSUME_SIGFRAME_V2): Remove macro.
9386 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9387 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9388 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9389 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9390 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9391 Declare as function. Remove conditional macro definitions.
9392 (__default_rt_sa_restorer): Likewise.
9393 (__default_sa_restorer_v1): Remove declaration.
9394 (__default_sa_restorer_v2): Likewise.
9395 (__default_rt_sa_restorer_v1): Likewise.
9396 (__default_rt_sa_restorer_v2): Likewise.
9397 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9398 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9399 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9400
4b88139b
RM
94012014-06-20 Roland McGrath <roland@hack.frob.com>
9402
9403 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9404 (libpthread-routines): Add sysdep.
9405 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9406 * sysdeps/unix/sysv/linux/sparc/Versions
9407 (libpthread: GLIBC_2.3.3): New version set.
9408 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9409 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9410 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9411 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9412 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9413 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9414 Moved ...
9415 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9416 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9417 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9418 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9419 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9420 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9421 * sysdeps/sparc/nptl/sem_init.c: ... here.
9422 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9423 * sysdeps/sparc/nptl/sem_post.c: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9425 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9427 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9429 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9430 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9431 (libpthread-routines): Add cpu_relax.
9432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9433 File removed.
9434 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9435 (librt: GLIBC_2.3.3): New version set.
9436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9437 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9439 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9442 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9444 Moved ...
9445 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9447 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9449 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9451 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9453 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9455 Moved ...
9456 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9457 Update #include.
9458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9459 Moved ...
9460 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9461 Update #include.
9462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9463 Moved ...
9464 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9465 Update #include.
9466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9467 Moved ...
9468 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9469 Update #include.
9470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9471 Moved ...
9472 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9473 Update #include.
9474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9475 Moved ...
9476 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9477 Update #include.
9478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9479 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9485 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9487 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9489 Moved ...
9490 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9492 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9494 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9495
d7109027
JM
94962014-06-20 Joseph Myers <joseph@codesourcery.com>
9497
9bc6103d
JM
9498 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9499 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9500 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9501 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9502 * nscd/nscd.c: Likewise.
9503 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9504 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9505 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9506 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9507
d7109027
JM
9508 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9509 <kernel-features.h>.
9510 (init_mq_netlink): Remove conditional have_sock_cloexec
9511 definitions. Remove code conditional on have_sock_cloexec < 0.
9512 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9513 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9514 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9515 <kernel-features.h>.
9516 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9517 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9518
d92d8f8a
L
95192014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9522 Add tests for memset_chk and memset.
9523
9524 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9525 with AVX2_Usable.
9526
4e6d2347
MR
95272014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9528
257ce712
MR
9529 [BZ #16046]
9530 * elf/tst-dl-iter-static.c: New file.
9531 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9532
4e6d2347
MR
9533 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9534 error.
9535
a2a76afe
JM
95362014-06-20 Joseph Myers <joseph@codesourcery.com>
9537
7fd00f99
JM
9538 * sysdeps/unix/sysv/linux/kernel-features.h
9539 (__ASSUME_F_GETOWN_EX): Remove macro.
9540 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9541 <kernel-features.h>.
9542 (miss_F_GETOWN_EX): Remove variable or macro.
9543 (do_fcntl): Do not check miss_F_GETOWN_EX.
9544 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9545
4a103975
JM
9546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9547 Remove macro.
9548 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9549 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9550 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9551
a2a76afe
JM
9552 * sysdeps/unix/sysv/linux/kernel-features.h
9553 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9554 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9555 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9556 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9557
90e5dd48
MR
95582014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9559
9560 [BZ #17075]
9561 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9562 Fix calculation of the symbol's value.
9563 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9564 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9565 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9566 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9567 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9568 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9569 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9570 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9571 (modules-names): Add `tst-armtlsdescmod',
9572 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9573 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9574 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9575 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9576 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9577 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9578 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9579 ($(objpfx)tst-armtlsdescloc): New dependency.
9580 ($(objpfx)tst-armtlsdescextnow): Likewise.
9581 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9582 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9583 TLS scheme support.
9584 * sysdeps/arm/configure: Regenerate.
9585
809fdf0d
JM
95862014-06-20 Joseph Myers <joseph@codesourcery.com>
9587
9588 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9589 (__atfct_seterrno_2): Likewise.
9590 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9591 <kernel-features.h>.
9592 (__ASSUME_ATFCTS): Do not undefine and redefine.
9593 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9594 (__have_atfcts): Remove conditional definition.
9595 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9596 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9597 unreachable if [__ASSUME_ATFCTS].
9598 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9599 not undefine and redefine.
9600 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9601 <kernel-features.h>.
9602 (faccessat) [__NR_faccessat]: Make code unconditional.
9603 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9604 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9605 <kernel-features.h>.
9606 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9607 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9608 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9609 <kernel-features.h>.
9610 (fchownat) [__NR_fchownat]: Make code unconditional.
9611 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9612 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9613 <kernel-features.h>.
9614 (futimesat) [__NR_futimesat]: Make code unconditional.
9615 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9616 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9617 <kernel-features.h>.
9618 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9619 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9620 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9621 <kernel-features.h>.
9622 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9623 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9624 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9625 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9626 <kernel-features.h>.
9627 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9628 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9629 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9630 <kernel-features.h>.
9631 (linkat) [__NR_linkat]: Make code unconditional.
9632 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9633 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9634 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9635 <kernel-features.h>.
9636 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9637 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9638 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9639 <kernel-features.h>.
9640 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9641 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9642 * sysdeps/unix/sysv/linux/openat.c: Do not include
9643 <kernel-features.h>.
9644 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9645 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9646 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9647 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9648 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9649 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9650 <kernel-features.h>.
9651 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9652 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9653 result of INLINE_SYSCALL directly, not via int variable.
9654 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9655 <kernel-features.h>.
9656 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9657 (renameat) [__NR_renameat]: Make code unconditional.
9658 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9659 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9660 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9661 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9662 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9663 (__ASSUME_ATFCTS): Do not undefine and redefine.
9664 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9665 <kernel-features.h>.
9666 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9667 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9668 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9669 <kernel-features.h>.
9670 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9671 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9672 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9673 (__ASSUME_ATFCTS): Do not undefine and redefine.
9674 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9675 <kernel-features.h>.
9676 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9677 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9678 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9679 <kernel-features.h>.
9680 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9681 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9682
224c6c51
L
96832014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9686
aa6ec754
AS
96872014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9688
9689 [BZ #17069]
9690 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9691 constructed tree before returning error.
9692 * posix/bug-regexp36.c: Expand test case.
9693
d8c2869d
SL
96942014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9695
3ef6b850
SL
9696 [BZ #6803]
9697 * math/libm-test.inc (scalbln_test_date):
9698 Add errno expectations.
9699 * math/w_scalblnf.c: New File.
9700 Add wrapper which checks for setting errno to ERANGE.
9701 Add weak_alias for corresponding scalbln function.
9702 * math/w_scalbln.c: Likewise.
9703 * math/w_scalblnl.c: Likewise.
9704 * math/Makefile (libm-calls): Add w_scalbln.
9705 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9706 Remove weak_alias for corresponding scalbln function.
9707 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9711 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9712 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9713 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9714 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9715 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9716 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9717 Remove long_double_symbol for scalblnl function in libm, libc.
9718 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9719 Add wrapper which checks for setting errno to ERANGE.
9720 Add long_double_symbol for scalblnl function in libm, libc.
9721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9722 Remove long_double_symbol for scalblnl in libm.
9723 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9724 Add wrapper which checks for setting errno to ERANGE.
9725 Add long_double_symbol for scalblnl function in libm.
9726 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9727 Do not use wrapper because of own implementation.
9728
c8daec5c
L
97292014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9730
9731 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9732 3 bytes for __pad1 for x32.
9733 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9734
5c74e47c
LM
97352014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9736 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9739 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9740 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9741 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9742 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9743
4d43ef1e
AS
97442014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9745
9746 [BZ #17069]
9747 * posix/regcomp.c (parse_expression): Deallocate partially
9748 constructed tree before returning error.
9749 * posix/Makefile.c (tests): Add bug-regex36.
9750 (generated): Add bug-regex36.mtrace.
9751 (tests-special): Add $(objpfx)bug-regex36-mem.out
9752 (bug-regex36-ENV): New variable.
9753 ($(objpfx)bug-regex36-mem.out): New rule.
9754 * posix/bug-regex36.c: New file.
9755
51a7380b
WN
97562014-06-19 Will Newton <will.newton@linaro.org>
9757
9758 * malloc/malloc.c (systrim): If extra is zero then return
9759 early.
9760
91b84fe5
SP
97612014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9762
9763 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9764
f940b965
RE
97652014-06-19 Richard Earnshaw <rearnsha@arm.com>
9766
9767 * sysdeps/aarch64/strchr.S: New file.
9768
4ba7a00f
JM
97692014-06-18 Joseph Myers <joseph@codesourcery.com>
9770
9771 [BZ #17022]
9772 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9773 from arguments -2 or below.
9774 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9775 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9776
b3a9f56b
AS
97772014-06-18 Andreas Schwab <schwab@suse.de>
9778
9779 [BZ #17062]
9780 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9781 of a bracket expr not to run off the end of the string.
9782 * posix/Makefile (tests): Add tst-fnmatch3.
9783 * posix/tst-fnmatch3.c: New file.
9784
85d89278
JM
97852014-06-18 Joseph Myers <joseph@codesourcery.com>
9786
9787 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9788 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9789 [$(cross-compiling) = no]: Likewise.
9790 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9791 [$(cross-compiling) = no]: Likewise.
9792
754c5a08
RS
97932014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9794
9795 [BZ #17031]
9796 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9797 double, adjusted for any remainder from the high double.
9798 * math/libm-test.inc (nearbyint): Add tests.
9799 (rint): Likewise.
9800
556f529d
AZ
98012014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9802
9803 * nptl/sysdeps/powerpc/Makefile: Moved ...
9804 * sysdeps/powerpc/nptl/Makefile: ... here.
9805 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9806 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9807 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9808 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9809 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9810 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9811 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9812 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9813 * nptl/sysdeps/powerpc/tls.h: Moved ...
9814 * sysdeps/powerpc/nptl/tls.h: ... here.
9815
91c03c53
JM
98162014-06-16 Joseph Myers <joseph@codesourcery.com>
9817
9818 [BZ #16681]
9819 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9820 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9821 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9822 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9823 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9824 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9825 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9826 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9827 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9828
a76e63c5
AS
98292014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9830
9831 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9832
f2f6d82f
AS
98332014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9834
ea8a15f6
AS
9835 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9836 defined operator.
9837
f2f6d82f
AS
9838 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9839 $TIMEOUTFACTOR.
9840
a7291117
FW
98412014-06-16 Florian Weimer <fweimer@redhat.com>
9842
9843 [BZ #17058]
9844 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9845 non-executed part of the test.
9846
3d7c00e3
AS
98472014-06-16 Andreas Schwab <schwab@suse.de>
9848
9849 * string/bits/string2.h (strdup, strndup): Update feature guard.
9850
6957fb31
DM
98512014-06-14 David S. Miller <davem@davemloft.net>
9852
9853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9854
11b9e55b
AS
98552014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9856
1d2a0492
AS
9857 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9858 that was previously under [RESET_PID].
9859 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9860
11b9e55b
AS
9861 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9862 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9863 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9864 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9865 (__libc_vfork): New strong alias.
9866 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9867
0f6901d0
AK
98682014-06-14 Andi Kleen <ak@linux.intel.com>
9869
9870 * sysdeps/generic/elide.h: New file.
9871
38bbbb9f
SL
98722014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9873
9874 * Makefile (installed-headers): Adjust path of pthread.h header.
9875
45193bb8
RM
98762014-06-13 Roland McGrath <roland@hack.frob.com>
9877
9a25fd1e
RM
9878 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9879 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9880 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9881 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9882
4004f7e4
RM
9883 * nptl/sysdeps/s390/Makefile: Moved ...
9884 * sysdeps/s390/nptl/Makefile: ... here.
9885 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9886 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9887 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9888 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9889 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9890 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9891 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9892 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9893 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9894 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9895 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9896 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9897 * nptl/sysdeps/s390/tls.h: Moved ...
9898 * sysdeps/s390/nptl/tls.h: ... here.
9899
45193bb8
RM
9900 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9901 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9902
f6fdf533
DM
99032014-06-13 David S. Miller <davem@davemloft.net>
9904
9905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9908 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9912 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9913 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9914 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9915 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9916 Remove RESET_PID cpp guards.
9917 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9918 Remove RESET_PID cpp guards.
9919 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9920
f5d71e14
AS
99212014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9922
9923 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9924 __sp to uintptr_t.
9925
b7aa8caa
AK
99262014-06-13 Andi Kleen <ak@linux.intel.com>
9927
4b266200
AZ
9928 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9929 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9930 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9933 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9934 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9936 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9938 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9939 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9941 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9943 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9946 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9948
9949 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9950 (pthread_rwlock_rdlock): Add elision.
9951 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9952 (pthread_rwlock_wrlock): Add elision.
9953 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9954 (pthread_rwlock_trywrlock): Add elision.
9955 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9956 (pthread_rwlock_tryrdlock): Add elision.
9957 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9958 (pthread_rwlock_tryrdlock): Add elision unlock.
9959 * nptl/sysdeps/pthread/pthread.h:
9960 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9961 (PTHREAD_RWLOCK_INITIALIZER,
9962 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9963 Handle new elision field.
9964 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9965 * sysdeps/arm/nptl/bits/pthreadtypes.h
9966 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9967 * sysdeps/sh/nptl/bits/pthreadtypes.h
9968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9969 * sysdeps/tile/nptl/bits/pthreadtypes.h
9970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9971 * sysdeps/a/nptl/bits/pthreadtypes.h
9972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9973 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9975 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9977 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9979 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9981 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9983 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9985 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9987 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9989 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9990 (elision_init): Set try_xbegin to zero when no RTM.
9991 * sysdeps/x86/nptl/bits/pthreadtypes.h
9992 (pthread_rwlock_t): Change __pad1 to __rwelision.
9993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9994
a832bdd3
AK
99952014-06-13 Andi Kleen <ak@linux.intel.com>
9996
9997 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9998 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9999 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10000 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10001
995a46bb
MI
100022014-06-13 Meador Inge <meadori@codesourcery.com>
10003
10004 [BZ #16996]
03ed7738 10005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10006 that the cached result has been set before returning it.
10007
45262aee
RM
100082014-06-12 Roland McGrath <roland@hack.frob.com>
10009
febf6cc5
RM
10010 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10011 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10012 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10013 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10014 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10015 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10016
e2682246
RM
10017 * nptl/sysdeps/sparc/Makefile: Moved ...
10018 * sysdeps/sparc/nptl/Makefile: ... here.
10019 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10020 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10021 * nptl/sysdeps/sparc/tls.h: Moved ...
10022 * sysdeps/sparc/nptl/tls.h: ... here.
10023 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10024 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10025 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10026 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10027 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10028 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10029 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10030 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10031 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10032 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10033 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10034 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10035 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10036 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10037 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10038 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10039 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10040 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10041 Update #include.
10042 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10044 Update #include.
10045 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10046 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10047 Update #include.
10048 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10050 Update #include.
10051
b0725f43
RM
10052 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10053
b14368b8
RM
10054 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10055 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10056
c5620eb3
RM
10057 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10058 (struct list_links): Type removed.
10059 (struct thread_node, struct timer_node): Replace struct list_links
10060 with struct list_head.
10061 (list_unlink_ip): Likewise.
10062 * sysdeps/pthread/timer_routines.c
10063 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10064 (list_append, list_insbefore): Likewise.
10065 (list_init): Function removed.
10066 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10067 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10068 * sysdeps/pthread/Makefile: ... here, new file.
10069
10070 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10071 * sysdeps/nptl/Implies: ... here.
10072 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10073 * nptl/sysdeps/pthread/list.h: Moved ...
10074 * include/list.h: ... here.
10075 * nptl/sysdeps/pthread/createthread.c: Moved ...
10076 * nptl/createthread.c: ... here.
10077 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10078 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10079 * nptl/pt-longjmp.c: ... here.
10080 * nptl/sysdeps/pthread/Makefile: Moved ...
10081 * sysdeps/nptl/Makefile: ... here.
10082 * nptl/sysdeps/pthread/Subdirs: Moved ...
10083 * sysdeps/nptl/Subdirs: ... here.
10084 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10085 * sysdeps/nptl/aio_misc.h: ... here.
10086 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10087 * sysdeps/nptl/bits/libc-lock.h: ... here.
10088 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10089 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10090 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10091 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10092 * nptl/sysdeps/pthread/configure: Moved ...
10093 * sysdeps/nptl/configure: ... here.
10094 * nptl/sysdeps/pthread/configure.ac: Moved ...
10095 * sysdeps/nptl/configure.ac: ... here.
10096 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10097 * sysdeps/nptl/gai_misc.h: ... here.
10098 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10099 * sysdeps/nptl/librt-cancellation.c: ... here.
10100 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10101 * sysdeps/nptl/malloc-machine.h: ... here.
10102 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10103 * sysdeps/nptl/pthread-functions.h: ... here.
10104 * nptl/sysdeps/pthread/pthread.h: Moved ...
10105 * sysdeps/nptl/pthread.h: ... here.
10106 * nptl/sysdeps/pthread/setxid.h: Moved ...
10107 * sysdeps/nptl/setxid.h: ... here.
10108 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10109 * sysdeps/nptl/sigfillset.c: ... here.
10110 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10111 * sysdeps/nptl/tcb-offsets.h: ... here.
10112 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10113 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10114 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10115 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10116 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10117 * sysdeps/pthread/allocalim.h: ... here.
10118 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10119 * sysdeps/pthread/bits/sigthread.h: ... here.
10120 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10121 * sysdeps/pthread/flockfile.c: ... here.
10122 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10123 * sysdeps/pthread/ftrylockfile.c: ... here.
10124 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10125 * sysdeps/pthread/funlockfile.c: ... here.
10126 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10127 * sysdeps/pthread/posix-timer.h: ... here.
10128 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10129 * sysdeps/pthread/timer_create.c: ... here.
10130 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10131 * sysdeps/pthread/timer_delete.c: ... here.
10132 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10133 * sysdeps/pthread/timer_getoverr.c: ... here.
10134 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10135 * sysdeps/pthread/timer_gettime.c: ... here.
10136 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10137 * sysdeps/pthread/timer_routines.c: ... here.
10138 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10139 * sysdeps/pthread/timer_settime.c: ... here.
10140 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10141 * sysdeps/pthread/tst-timer.c: ... here.
10142 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10143 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10144
e876b090
RM
10145 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10146 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10147
f6b07b3d
RM
10148 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10149 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10150 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10151 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10152 Update #include target.
10153 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10154 * sysdeps/i386/i686/nptl/Makefile: ... here.
10155 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10156 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10157 Update #include target.
10158 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10159 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10160 * nptl/sysdeps/i386/Makefile: Moved ...
10161 * sysdeps/i386/nptl/Makefile: ... here.
10162 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10163 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10164 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10165 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10166 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10167 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10168 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10169 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10170 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10171 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10172 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10173 * nptl/sysdeps/i386/tls.h: Moved ...
10174 * sysdeps/i386/nptl/tls.h: ... here.
10175
45262aee
RM
10176 * sysdeps/sh/Makefile [$(subdir) = csu]
10177 (gen-as-const-headers): Add tcb-offsets.sym.
10178 * nptl/sysdeps/sh/Makefile: File removed.
10179 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10180 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10181 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10182 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10183 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10184 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10185 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10186 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10187 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10188 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10189 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10190 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10191 * nptl/sysdeps/sh/tls.h: Moved ...
10192 * sysdeps/sh/nptl/tls.h: ... here.
10193 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10194 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10195 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10196 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10197 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10198 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10199 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10200 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10201 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10202 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10204 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10205 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10206 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10207 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10208 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10210 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10212 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10213 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10214 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10215 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10216 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10218 Moved ...
10219 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10221 Moved ...
10222 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10224 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10226 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10227 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10228 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10229 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10230 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10231 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10232 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10233 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10234 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10235 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10236 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10237 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10238 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10239 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10240 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10241
35a5e3e3
SL
102422014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10243
10244 * posix/spawn_faction_addopen.c: Include string.h.
10245
14642b85
RM
102462014-06-11 Roland McGrath <roland@hack.frob.com>
10247
10248 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10249 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10250 * nptl/sysdeps/x86_64/Makefile: Moved ...
10251 * sysdeps/x86_64/nptl/Makefile: ... here.
10252 * nptl/sysdeps/x86_64/configure: Moved ...
10253 * sysdeps/x86_64/nptl/configure: ... here.
10254 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10255 * sysdeps/x86_64/nptl/configure.ac: ... here.
10256 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10257 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10258 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10259 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10260 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10261 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10262 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10263 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10264 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10265 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10266 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10267 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10268 * nptl/sysdeps/x86_64/tls.h: Moved ...
10269 * sysdeps/x86_64/nptl/tls.h: ... here.
10270 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10271 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10272 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10273 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10274
10275 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10276
31c44fea
AZ
102772014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10278
10279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10280
e81a4f9a
JM
102812014-06-11 Joseph Myers <joseph@codesourcery.com>
10282
10283 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10284 type.
10285 [POSIX] (off_t): Likewise.
10286 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10287 [POSIX] (S_ISBLK): Require macro.
10288 [POSIX] (S_ISCHR): Likewise.
10289 [POSIX] (S_ISDIR): Likewise.
10290 [POSIX] (S_ISFIFO): Likewise.
10291 [POSIX] (S_ISREG): Likewise.
10292 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10293 optional-macro.
10294 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10295 type.
10296 [POSIX] (time_t): Likewise.
10297 [POSIX] (timer_t): Likewise.
10298
89e435f3
FW
102992014-06-11 Florian Weimer <fweimer@redhat.com>
10300
10301 [BZ #17048]
10302 * posix/spawn_int.h (struct __spawn_action): Make the path string
10303 non-const to support deallocation.
10304 * posix/spawn_faction_addopen.c
10305 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10306 * posix/spawn_faction_destroy.c
10307 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10308 path in all spawn_do_open actions.
10309 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10310 posix_spawn_file_actions_addopen.
10311
c3a2ebe1
CM
103122014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10313
10314 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10315 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10316 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10317 conditional code always true.
10318 (__libc_vfork): New alias.
10319
9503784a
RM
103202014-06-11 Roland McGrath <roland@hack.frob.com>
10321
c9cab3d2
RM
10322 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10323 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10324
d3996c79
RM
10325 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10326
ba5ec611
RM
10327 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10328 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10329
f12b4814
RM
10330 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10331 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10332
9503784a
RM
10333 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10334 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10335
e23d3d26
VR
103362014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10337
10338 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10339 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10340 multiarch strcmp for PPC64.
10341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10342 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10344 multiarch optimizations.
10345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10346 (__libc_ifunc_impl_list): Likewise.
10347
42b1161e
SP
103482014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10349
10350 * benchtests/scripts/validate_benchout.py: New script.
10351 * benchtests/Makefile (bench-func): Call it.
10352 * benchtests/scripts/benchout.schema.json: New file.
10353
2d0fc4dc
CM
103542014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10355
4a594c34
AZ
10356 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10357 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10358 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10359 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10360 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10361 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10362 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10363 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10364 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10365 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10366 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10367 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10368 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10369 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10370 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10371 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10373 Moved ...
4a594c34 10374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10375 ... here.
4a594c34 10376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10377 Moved ...
4a594c34
AZ
10378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10380 Moved ...
4a594c34 10381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10382 ... here.
4a594c34 10383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10384 Moved ...
4a594c34 10385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10386 ... here.
4a594c34 10387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10388 Moved ...
4a594c34
AZ
10389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10391 Moved ...
4a594c34 10392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10393 ... here.
4a594c34 10394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10395 Moved ...
4a594c34 10396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10397 ... here.
4a594c34 10398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10399 Moved ...
4a594c34
AZ
10400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10402 Moved ...
4a594c34 10403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10404 ... here.
4a594c34 10405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10406 Moved ...
4a594c34 10407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10408 ... here.
4a594c34 10409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10410 Moved ...
4a594c34 10411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10412 ... here.
4a594c34 10413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10414 Moved ...
4a594c34
AZ
10415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10417 Moved ...
4a594c34 10418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10419 ... here.
4a594c34 10420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10421 Moved ...
4a594c34 10422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10423 ... here.
4a594c34 10424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10425 Moved ...
4a594c34 10426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10427 ... here.
4a594c34 10428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10429 Moved ...
4a594c34
AZ
10430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10432 Moved ...
4a594c34 10433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10434 ... here.
4a594c34 10435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10436 Moved ...
4a594c34 10437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10438 ... here.
4a594c34 10439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10440 Moved ...
4a594c34
AZ
10441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10443 Moved ...
4a594c34 10444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10445 ... here.
4a594c34 10446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10447 Moved ...
4a594c34
AZ
10448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10450 Moved ...
4a594c34
AZ
10451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10453 Moved ...
4a594c34 10454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10455 ... here.
4a594c34 10456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10457 Moved ...
4a594c34 10458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10459 ... here.
4a594c34 10460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10461 Moved ...
4a594c34 10462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10463 ... here.
4a594c34 10464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10465 Moved ...
4a594c34
AZ
10466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10468 Moved ...
4a594c34 10469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10470 ... here.
4a594c34 10471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10472 Moved ...
4a594c34 10473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10474 ... here.
4a594c34
AZ
10475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10476 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10478 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10480 Moved ...
4a594c34 10481 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10482 ... here.
4a594c34
AZ
10483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10486 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10488 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10490 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10491 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10492 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10494 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10496 Moved ...
4a594c34
AZ
10497 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10499 Moved ...
4a594c34
AZ
10500 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10504 Moved ...
4a594c34
AZ
10505 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10507 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10509 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10510 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10511 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10512
0570cfed
W
105132014-06-10 Wilco <wdijkstr@arm.com>
10514
10515 * math/test-fenv-return.c: New file.
10516 * math/Makefile: Add new test test-fenv-return.
10517
f8ba1b56
JM
105182014-06-10 Joseph Myers <joseph@codesourcery.com>
10519
10520 [BZ #17042]
10521 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10522 when x - 1 is zero.
10523 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10524 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10525 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10526 0.0L for an argument of 1.0L.
10527 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10528 Likewise.
10529 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10530 value when x - 1 is zero.
10531 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10532 * sysdeps/i386/fpu/libm-test-ulps: Update.
10533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10534
2c3520d9
BO
105352014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10536
10537 [BZ #15119]
10538 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10539
acaa4d24
RM
105402014-06-09 Roland McGrath <roland@hack.frob.com>
10541
10542 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10543 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10544
962b744d
RM
105452014-06-09 Roland McGrath <roland@hack.frob.com>
10546
d752f0cc
RM
10547 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10548 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10549
34eda6d1
RM
10550 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10551 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10552
50f0a637
RM
10553 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10554 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10555
08f41f04
RM
10556 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10557 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10558
962b744d
RM
10559 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10560 if not already defined.
10561 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10562 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10563 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10564 (TLS_INIT_TP): Use it.
10565 (TLS_DEFINE_INIT_TP): New macro.
10566 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10567
09f19b05
JM
105682014-06-09 Joseph Myers <joseph@codesourcery.com>
10569
10570 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10571 constant.
10572 [POSIX] (IXANY): Likewise.
10573 [POSIX] (OLCUC): Likewise.
10574 [POSIX || POSIX2008] (CBAUD): Do not allow.
10575 [POSIX || POSIX2008] (DEFECHO): Likewise.
10576 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10577 [POSIX || POSIX2008] (ECHOKE): Likewise.
10578 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10579 [POSIX || POSIX2008] (EXTA): Likewise.
10580 [POSIX || POSIX2008] (EXTB): Likewise.
10581 [POSIX || POSIX2008] (FLUSHO): Likewise.
10582 [POSIX || POSIX2008] (LOBLK): Likewise.
10583 [POSIX || POSIX2008] (PENDIN): Likewise.
10584 [POSIX || POSIX2008] (SWTCH): Likewise.
10585 [POSIX || POSIX2008] (VDISCARD): Likewise.
10586 [POSIX || POSIX2008] (VDSUSP): Likewise.
10587 [POSIX || POSIX2008] (VLNEXT): Likewise.
10588 [POSIX || POSIX2008] (VREPRINT): Likewise.
10589 [POSIX || POSIX2008] (VSTATUS): Likewise.
10590 [POSIX || POSIX2008] (VWERASE): Likewise.
10591 (B*): Change to B[0123456789]*.
10592 * conform/data/time.h-data [POSIX || UNIX98]
10593 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10594 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10595 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10596 [POSIX] (tm_*): Do not allow.
10597
686554bf
JM
105982014-06-07 Joseph Myers <joseph@codesourcery.com>
10599
10600 * Makefile (install): Don't set LANGUAGE.
10601 * Makefile.in (install): Likewise.
10602 * assert/Makefile (test-assert-ENV): Remove variable.
10603 (test-assert-perr-ENV): Likewise.
10604 * elf/Makefile (neededtest4-ENV): Likewise.
10605 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10606 [$(cross-compiling) = no]: Don't set LANGUAGE.
10607 * io/ftwtest-sh (LANG): Remove variable.
10608 * libio/Makefile (tst-widetext-ENV): Likewise.
10609 * manual/install.texi (Running make install): Don't refer to
10610 environment settings for make install.
10611 * INSTALL: Regenerated.
10612 * nptl/tst-tls6.sh: Don't set LANG.
10613 * posix/globtest.sh (LANG): Remove variable.
10614 * string/Makefile (tester-ENV): Likewise.
10615 (inl-tester-ENV): Likewise.
10616 (noinl-tester-ENV): Likewise.
10617 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10618 [$(cross-compiling) = no]: Don't set LANGUAGE.
10619 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10620 without explicit environment settings.
10621
68e6b6b1
RM
106222014-06-06 Roland McGrath <roland@hack.frob.com>
10623
10624 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10625 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10626 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10627 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10628
4d3ae034
CM
106292014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10630
10631 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10632 other files in the crypt directory.
10633 * crypt/crypt.c: Remove duplicate includes.
10634 * crypt/crypt-entry.c: Likewise.
10635 * crypt/crypt_util.c: Likewise.
10636
8540f6d2
JM
106372014-06-06 Joseph Myers <joseph@codesourcery.com>
10638
10639 * Makeconfig (run-program-env): New variable.
10640 (run-program-prefix-before-env): Likewise.
10641 (run-program-prefix-after-env): Likewise.
10642 (run-program-prefix): Define in terms of new variables.
10643 (built-program-cmd-before-env): New variable.
10644 (built-program-cmd-after-env): Likewise.
10645 (built-program-cmd): Define in terms of new variables.
10646 (test-program-prefix-before-env): New variable.
10647 (test-program-prefix-after-env): Likewise.
10648 (test-program-prefix): Define in terms of new variables.
10649 (test-program-cmd-before-env): New variable.
10650 (test-program-cmd-after-env): Likewise.
10651 (test-program-cmd): Define in terms of new variables.
10652 * Rules (make-test-out): Use $(run-program-env).
10653 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10654 (help): Do not mention environment variables. Mention
10655 --timeoutfactor option.
10656 (timeoutfactor): New variable.
10657 (blacklist_exports): Remove function.
10658 (exports): Remove variable.
10659 (command): Do not include ${exports}.
10660 * manual/install.texi (Configuring and compiling): Do not mention
10661 test wrappers preserving environment variables. Mention that last
10662 assignment to a variable must take precedence.
10663 * INSTALL: Regenerated.
10664 * benchtests/Makefile (run-bench): Use $(run-program-env).
10665 * catgets/Makefile ($(objpfx)test1.cat): Use
10666 $(built-program-cmd-before-env), $(run-program-env) and
10667 $(built-program-cmd-after-env).
10668 ($(objpfx)test2.cat): Do not specify environment variables
10669 explicitly.
10670 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10671 $(run-program-env) and $(built-program-cmd-after-env).
10672 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10673 $(run-program-env) and $(test-program-cmd-after-env).
10674 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10675 explicitly.
10676 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10677 run_program_env and test_program_cmd_after_env arguments.
10678 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10679 * elf/tst-pathopt.sh: Use run_program_env argument.
10680 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10681 $(test-wrapper-env) and $(run-program-env).
10682 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10683 run_program_env arguments.
10684 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10685 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10686 $(test-program-prefix-before-env), $(run-program-env) and
10687 $(test-program-prefix-after-env).
10688 ($(objpfx)tst-gettext2.out): Likewise.
10689 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10690 run_program_env and test_program_prefix_after_env arguments.
10691 * intl/tst-gettext2.sh: Likewise.
10692 * intl/tst-gettext4.sh: Do not set environment variables
10693 explicitly.
10694 * intl/tst-gettext6.sh: Likewise.
10695 * intl/tst-translit.sh: Likewise.
10696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10697 $(test-program-prefix-before-env), $(run-program-env) and
10698 $(test-program-prefix-after-env).
10699 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10700 run_program_env and test_program_prefix_after_env arguments.
10701 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10702 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10703 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10704 explicitly with each use of ${test_wrapper_env}.
10705 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10706 $(test-program-prefix-before-env), $(run-program-env) and
10707 $(test-program-prefix-after-env).
10708 * posix/tst-getconf.sh: Do not set environment variables
10709 explicitly.
10710 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10711 run_program_env and test_program_prefix_after_env arguments.
10712 * stdio-common/tst-printf.sh: Do not set environment variables
10713 explicitly.
10714 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10715 $(test-program-prefix-before-env), $(run-program-env) and
10716 $(test-program-prefix-after-env).
10717 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10718 run_program_env and test_program_prefix_after_env arguments.
10719 Split $test calls into $test_pre and $test.
10720 * timezone/Makefile (build-testdata): Use
10721 $(built-program-cmd-before-env), $(run-program-env) and
10722 $(built-program-cmd-after-env).
10723
ed36bfa1
AZ
107242014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10725
10726 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10727 strlen for non SHARED builds.
10728
fc75bf46
SP
107292014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10730
10731 * nptl/allocatestack.c (check_list): Inlined function...
10732 (__reclaim_stacks): ... here.
10733
d89b3d80
OB
107342014-06-05 Ondřej Bílka <neleai@seznam.cz>
10735
10736 [BZ #15698]
10737 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10738 memory overrun.
10739
2bf18041
JM
107402014-06-05 Joseph Myers <joseph@codesourcery.com>
10741
10742 * Rules (make-test-out): Include
10743 LOCPATH=$(common-objpfx)localedata in default environment.
10744 * debug/Makefile (tst-chk1-ENV): Remove variable.
10745 (tst-chk2-ENV): Likewise.
10746 (tst-chk3-ENV): Likewise.
10747 (tst-chk4-ENV): Likewise.
10748 (tst-chk5-ENV): Likewise.
10749 (tst-chk6-ENV): Likewise.
10750 (tst-lfschk1-ENV): Likewise.
10751 (tst-lfschk2-ENV): Likewise.
10752 (tst-lfschk3-ENV): Likewise.
10753 (tst-lfschk4-ENV): Likewise.
10754 (tst-lfschk5-ENV): Likewise.
10755 (tst-lfschk6-ENV): Likewise.
10756 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10757 (tst-iconv7-ENV): Likewise.
10758 * intl/Makefile (LOCPATH-ENV): Likewise.
10759 (tst-codeset-ENV): Likewise.
10760 (tst-gettext3-ENV): Likewise.
10761 (tst-gettext5-ENV): Likewise.
10762 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10763 (tst-fopenloc-ENV): Likewise.
10764 (tst-fgetws-ENV): Remove variable.
10765 (tst-ungetwc1-ENV): Likewise.
10766 (tst-ungetwc2-ENV): Likewise.
10767 (bug-ungetwc2-ENV): Likewise.
10768 (tst-swscanf-ENV): Likewise.
10769 (bug-ftell-ENV): Likewise.
10770 (tst-fgetwc-ENV): Likewise.
10771 (tst-fseek-ENV): Likewise.
10772 (tst-ftell-partial-wide-ENV): Likewise.
10773 (tst-ftell-active-handler-ENV): Likewise.
10774 (tst-ftell-append-ENV): Likewise.
10775 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10776 (tst-regexloc-ENV): Likewise.
10777 (bug-regex1-ENV): Likewise.
10778 (tst-regex-ENV): Likewise.
10779 (tst-regex2-ENV): Likewise.
10780 (bug-regex5-ENV): Likewise.
10781 (bug-regex6-ENV): Likewise.
10782 (bug-regex17-ENV): Likewise.
10783 (bug-regex18-ENV): Likewise.
10784 (bug-regex19-ENV): Likewise.
10785 (bug-regex20-ENV): Likewise.
10786 (bug-regex22-ENV): Likewise.
10787 (bug-regex23-ENV): Likewise.
10788 (bug-regex25-ENV): Likewise.
10789 (bug-regex26-ENV): Likewise.
10790 (bug-regex30-ENV): Likewise.
10791 (bug-regex32-ENV): Likewise.
10792 (bug-regex33-ENV): Likewise.
10793 (bug-regex34-ENV): Likewise.
10794 (bug-regex35-ENV): Likewise.
10795 (tst-rxspencer-ENV): Likewise.
10796 (tst-rxspencer-no-utf8-ENV): Likewise.
10797 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10798 (tst-sscanf-ENV): Likewise.
10799 (tst-swprintf-ENV): Likewise.
10800 (tst-swscanf-ENV): Likewise.
10801 (test-vfprintf-ENV): Likewise.
10802 (scanf13-ENV): Likewise.
10803 (bug14-ENV): Likewise.
10804 (tst-grouping-ENV): Likewise.
10805 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10806 (tst-strtod3-ENV): Likewise.
10807 (tst-strtod4-ENV): Likewise.
10808 (tst-strtod5-ENV): Likewise.
10809 (testmb2-ENV): Likewise./
10810 * string/Makefile (tst-strxfrm-ENV): Likewise.
10811 (tst-strxfrm2-ENV): Likewise.
10812 (bug-strcoll1-ENV): Likewise.
10813 (test-strcasecmp-ENV): Likewise.
10814 (test-strncasecmp-ENV): Likewise.
10815 * time/Makefile (tst-strptime-ENV): Likewise.
10816 (tst-ftime_l-ENV): Likewise.
10817 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10818 (tst-mbrtowc-ENV): Likewise.
10819 (tst-wcrtomb-ENV): Likewise.
10820 (tst-mbrtowc2-ENV): Likewise.
10821 (tst-c16c32-1-ENV): Likewise.
10822 (tst-mbsnrtowcs-ENV): Likewise.
10823
cd1fb604
OB
108242014-06-05 Ondřej Bílka <neleai@seznam.cz>
10825
10826 * manual/resource.texi (How to get information about the memory
10827 subsystem?): Fix typo.
10828 Reported by Peon de la Parra Ivan <peon@keba.com>
10829
b42eca7d
GY
108302014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10831
10832 [BZ #16882]
10833 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10834 (pthread_spin_lock): Branch out of spin loop to proper location.
10835 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10836 (pthread_spin_lock): Likewise.
10837
902b71f9
DM
10838 * nptl/tst-spin4.c: New test.
10839 * nptl/Makefile (tests): Add tst-spin4.
10840
f9d2d032
AS
108412014-06-03 Andreas Schwab <schwab@suse.de>
10842
10843 [BZ #15946]
10844 * resolv/res_send.c (send_dg): Reload file descriptor after
10845 calling reopen.
10846
cf7bfd28
SL
108472014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10848
10849 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10850
111cc714
RH
108512014-06-03 Richard Henderson <rth@redhat.com>
10852
89b4bd6b
RH
10853 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10854 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10855 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10856 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10857 in the SAVE_PID block.
10858 (__libc_vfork): New alias.
71840409 10859 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10860
111cc714
RH
10861 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10862 child in registers, not on the stack. Remove RESET_PID conditionals.
10863 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10864
ccc39911
MS
108652014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10866
10867 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10868
693096cc
W
108692014-06-03 Wilco <wdijkstr@arm.com>
10870
10871 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10872 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10873 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10874 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10875 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10876 Likewise.
10877
0b4366bc
W
108782014-06-03 Wilco <wdijkstr@arm.com>
10879
10880 * sysdeps/aarch64/fpu/math_private.h
10881 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10882 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10883 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10884 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10885 Fix declarations.
10886
8747cd03
KS
108872014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10888
10889 * crypt/crypt-private.h: Include ufc-crypt.h.
10890 (__b64_from_24bit): Declare extern.
10891 * crypt/crypt_util.c(__b64_from_24bit): New function.
10892 (b64t): New static const variable.
10893 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10894 (b64t): Remove variable.
10895 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10896 * crypt/sha256-crypt.c: Include crypt-private.h.
10897 (b64t): Remove variable.
10898 (__sha256_crypt_r): Remove b64_from_24bit and replace
10899 with __b64_from_24bit.
10900 * crypt/sha512-crypt.c: Likewise.
10901
d936d379
RM
109022014-06-02 Roland McGrath <roland@hack.frob.com>
10903
10904 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10905 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10906 Label the code __libc_vfork rather than __vfork.
10907 [!NOT_IN_libc] (vfork): Define as weak alias.
10908 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10909 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10910 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10911
9fa76613
SP
109122014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10913
10914 * malloc/malloc.c (malloc_info): Fix format specifier for
10915 n_mmaps.
10916
a88dadbe
W
109172014-06-02 Wilco <wdijkstr@arm.com>
10918
10919 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10920 FPCR write.
10921
c95b3011
W
109222014-06-02 Wilco <wdijkstr@arm.com>
10923
10924 [BZ #17009]
10925 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10926 Rewrite to reduce FPCR/FPSR accesses.
10927
6b4d7a90
DM
109282014-06-01 David S. Miller <davem@davemloft.net>
10929
10930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10931
30f3d07c
DM
109322014-05-31 David S. Miller <davem@davemloft.net>
10933
10934 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10935 to occur in round to nearest mode when |x| >= 2.0
10936
74f31c18
RH
109372014-05-30 Richard Henderson <rth@twiddle.net>
10938
f0712b54
RH
10939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10940 (PSEUDO_RET_NOERRNO): Remove.
10941 (ret): Don't redefine.
10942 (ret_NOERRNO): Define in terms of ret.
10943 (ret_ERRVAL): Likewise.
10944
74f31c18
RH
10945 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10946 use of PSEUDO_RET; perform the error check directly.
10947
30477995
MM
109482014-05-30 Marko Myllynen <myllynen@redhat.com>
10949
10950 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10951 with __int128_t.
10952
62a58816
SP
109532014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10954
10955 * malloc/malloc (malloc_info): Fix formatting.
10956
4d653a59
SP
109572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10958 Roland McGrath <roland@hack.frob.com>
10959
10960 * malloc/malloc (malloc_info): Also print mmapped statistics.
10961
5190c17f
RM
109622014-05-30 Roland McGrath <roland@hack.frob.com>
10963
10964 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10965 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10966
987c0269
OB
109672014-05-30 Ondřej Bílka <neleai@seznam.cz>
10968
10969 * malloc/malloc.c (malloc_info): Inline mi_arena.
10970
af4e8ef9
RH
109712014-05-29 Richard Henderson <rth@twiddle.net>
10972
1670e207
RH
10973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10974 Remove comma before expanding ASM_ARGS_##nr.
10975 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10976 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10977 of ASM_ARGS_##nr.
10978 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10979 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10980 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10981 (ASM_ARGS_1): Add leading comma.
10982
11a28aee
RH
10983 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10984 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10985 to __errno_location.
10986 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10987 Remove the expected plt for __errno_location.
10988
a17e5ffb 10989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10990 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10991 call to __read_tp.
10992
b5be4597
RH
10993 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10994 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10995 it and break it down.
10996 (DOCARGS_0, DOCARGS_1): Do nothing.
10997 (DOCARGS_2): Update to store into the new stack frame.
10998 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10999 (UNDOCARGS_1): Update to restore from the new stack frame.
11000 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11001 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11002
645d44ab
RH
11003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11004 (SINGLE_THREAD_P): New parameter for result regno.
11005 (PSEUDO): Update to match; use cbz instead of beq.
11006
a8b4f04a
RH
11007 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11008 Use ENTRY to define the _nocancel entry point. Share the syscall
11009 and syscall error check paths with the cancel path.
11010 (PSEUDO_END): New.
11011
af4e8ef9
RH
11012 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11013 whitespace; tabs before and after asm mnemonics.
11014
26b0d2e1
EW
110152014-05-29 Eric Wong <normalperson@yhbt.net>
11016
11017 [BZ #15132]
11018 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11019 Call fstat64 or stat64 internally, depending on arguments passed.
11020 Replace stat buffer argument with file descriptor argument.
11021 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11022 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11023 Pass fd to __internal_statvfs instead of calling fstat64.
11024 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11025 Pass fd to __internal_statvfs64 instead of calling fstat64.
11026 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11027 Pass -1 to __internal_statvfs instead of calling stat64.
11028 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11029 Pass -1 to __internal_statvfs64 instead of calling stat64.
11030
1efe2bd9
RM
110312014-05-28 Roland McGrath <roland@hack.frob.com>
11032
0d3b7a19
RM
11033 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11034 that was previously under [RESET_PID].
11035 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11036
1efe2bd9
RM
11037 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11038 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11039
a6bea3ca
RM
110402014-05-27 Roland McGrath <roland@hack.frob.com>
11041
30b6629e
RM
11042 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11043
a6bea3ca
RM
11044 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11045 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11046
3dfb9a5c
OB
110472014-05-27 Ondřej Bílka <neleai@seznam.cz>
11048
11049 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11050
774f9285
AS
110512014-05-27 Andreas Schwab <schwab@suse.de>
11052
11053 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11054 TLS_INIT_TP macro.
11055 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11056 * elf/rtld.c (init_tls, dl_main): Likewise.
11057 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11058 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11059 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11060 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11061 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11062 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11063 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11064 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11065 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11066 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11067 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11068 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11069 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11070 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11071 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11072 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11073 * sysdeps/generic/tls.h: Update description.
11074
36ffe739
WN
110752014-05-27 Will Newton <will.newton@linaro.org>
11076
11077 [BZ #16990]
11078 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11079 and restore r2 rather than just restoring.
11080
2482ae43
SP
110812014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11082
11083 [BZ #16724]
11084 * libio/tst-ftell-append.c: New test case.
11085 * libio/Makefile (tests): Add test case.
11086 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11087 append mode.
11088 * libio/wfileops.c (do_ftell_wide): Likewise.
11089
3d1024e8
AZ
110902014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11091
bab90016
AZ
11092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11093
c7a8d667
AZ
11094 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11095 ...
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11098 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11099 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11100 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11101 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11102 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11103 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11105 Moved ...
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11108 Moved ...
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11110 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11111 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11112 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11113 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11115 ...
11116 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11117 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11118 Moved ...
11119 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11120 here.
11121 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11122 ...
11123 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11124 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11125 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11126
daee7851
AZ
11127 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11128 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11129 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11130 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11131
50a40819
AZ
11132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11133 merge into ...
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11136 ...
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11139 ...
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11142 Moved ...
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11144 here.
11145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11146 Moved ...
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11149 Moved ...
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11151
8464c2a1
AZ
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11153 conditional [RESET_PID].
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11156 removed.
11157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11158 removed.
11159
3d1024e8
AZ
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11161 <tcb-offsets.h>.
11162 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11163 (__libc_vfork): New strong alias.
11164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11165 removed.
11166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11167 Removed.
11168
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11170 <tcb-offsets.h>.
11171 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11172 (__libc_vfork): New strong alias.
11173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11174 removed.
11175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11176 removed.
11177
fdfd175d
CD
111782014-05-26 Carlos O'Donell <carlos@redhat.com>
11179
11180 * malloc/malloc.c (mi_arena): New function.
11181 (malloc_info): Remove nested function mi_arena. Call non-nosted
11182 function mi_arena.
11183
d298c416
AZ
111842014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11185
11186 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11187 by insrwi.
11188 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11189 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11190 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11191 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11192 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11193 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11194 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11195
b60ea6ff
AS
111962014-05-26 Andreas Schwab <schwab@suse.de>
11197
11198 [BZ #16984]
11199 * locale/programs/repertoire.c (repertoire_read): Add slash
11200 between I18NPATH element and file name.
11201 * locale/programs/locfile.c (locfile_read): Likewise.
11202
67365926
SL
112032014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11204
11205 * nptl/pthread_mutexattr_settype.c
11206 (__pthread_mutexattr_settype):
11207 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11208
f8bdf1f0
SL
112092014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11210
11211 * nptl/tst-mutex5 (do_test):
11212 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11213
15eaf6ff
SP
112142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11215
11216 * benchtests/README: Document 'init' directive.
11217 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11218 BENCH_INIT.
11219 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11220 (parse_file): Recognize 'init' directive.
11221
75f11331
KM
112222014-05-26 Kyle McMartin <kyle@redhat.com>
11223
11224 [BZ #16796]
11225 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11226 alignment of struct pthread.
11227
c3ec475c
SP
112282014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11229
11230 [BZ #16878]
11231 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11232 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11233 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11234 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11235
82aab97c
RH
112362014-05-25 Richard Henderson <rth@twiddle.net>
11237
aa2f176d
RH
11238 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11239 (SINGLE_THREAD_P_PIC): Remove.
11240 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11241 (SINGLE_THREAD_P_PIC): Remove.
11242
ca3cfa40
RH
11243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11244 branch to syscall error ...
11245 (PSEUDO): ... here.
11246 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11247 from __local_syscall_error to .Lsyscall_error.
11248 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11249 (SYSCALL_ERROR): Update label name.
11250
6e6c2d01
RH
11251 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11252 Do not use DOARGS/UNDOARGS.
11253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11254 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11255 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11256 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11257 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11258
c69abcee
RH
11259 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11260 block comment.
11261
82aab97c
RH
11262 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11263 define if !NOT_IN_libc.
11264 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11265 define with non-default symbol versions.
11266
8820e3ac
RH
112672014-05-23 Richard Henderson <rth@twiddle.net>
11268
900e445f
RH
11269 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11270 (vfork, __vfork): Define via compat_symbol.
11271
8820e3ac
RH
11272 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11273 [!HAVE_IFUNC] (vfork_compat): Remove.
11274 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11275
e59252a5
JM
112762014-05-23 Joseph Myers <joseph@codesourcery.com>
11277
11278 [BZ #16978]
11279 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11280 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11281 variable.
11282
132c7f5f
RH
112832014-05-23 Richard Henderson <rth@twiddle.net>
11284
bc89e962
RH
11285 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11286 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11287 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11288 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11289
11290 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11291 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11292 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11293 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11294 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11295 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11296 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11297 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11298 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11299 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11300 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11301 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11302 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11303 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11304 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11305 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11306 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11307 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11308 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11309 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11310 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11311 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11312 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11313 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11314 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11315 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11316 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11317 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11318 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11319 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11320 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11321 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11322 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11323 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11324 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11325 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11326 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11327 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11328 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11329 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11330 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11331 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11332 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11333 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11334 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11335 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11336 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11337 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11338 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11339 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11340 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11341 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11342 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11343 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11344 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11345 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11346
e2fa4bc2
RH
11347 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11348 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11349 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11350 before exiting on error.
11351 (__libc_vfork): New strong alias.
11352 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11353 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11354
279b24e2
RH
11355 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11356 that was previously under [RESET_PID].
11357 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11358
132c7f5f
RH
11359 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11360
b72592e7
JM
113612014-05-23 Joseph Myers <joseph@codesourcery.com>
11362
11363 [BZ #16977]
11364 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11365 value when x - 1 is zero.
11366 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11367 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11368 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11369 0.0L for an argument of 1.0L.
11370 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11371 Likewise.
11372 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11373 value when x - 1 is zero.
11374 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11375 * sysdeps/i386/fpu/libm-test-ulps: Update.
11376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11377
2302d679
RV
113782014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11379
11380 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11381 alphasort and versionsort.
11382
32999d63
AZ
113832014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11384
11385 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11386 macro.
11387 [copysignf]: Likewise.
11388
019324d0
SP
113892014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11390
11391 * crypt/md5-crypt.c: Fix formatting.
11392
34fff5c2
KS
113932014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11394
11395 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11396 (b64_from_24bit): New function.
11397
3d2badac
AZ
113982014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11399
11400 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11401 libc_hidden_builtin_def to ifunc.
11402 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11403 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11404
f7bb179f 114052014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11406
11407 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11408 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11409
4134b50d
JM
114102014-05-21 Joseph Myers <joseph@codesourcery.com>
11411
bb7d0337
JM
11412 * nscd/Depend (linuxthreads): Remove.
11413 (nptl): Add.
11414 * resolv/Depend (linuxthreads): Remove.
11415 * rt/Depend (linuxthreads): Remove.
11416
4134b50d
JM
11417 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11418 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11419 $(common-objpfx)elf/.
11420 (link-libc-before-gnulib): Likewise.
11421 (elfobjdir): Remove variable.
11422 * Makefile (install): Use $(elf-objpfx) instead of
11423 $(common-objpfx)elf/.
11424 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11425 $(elfobjdir)/.
11426 (link-libc-deps): Likewise.
11427 ($(common-objpfx)libc.so): Likewise.
11428 ($(common-objpfx)linkobj/libc.so): Likewise.
11429 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11430 instead of $(common-objpfx)elf/.
11431 (symbolic-link-list): Likewise.
11432 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11433 [$(cross-compiling) = no]: Likewise.
11434 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11435 $(elfobjdir)/.
11436 (static-gnulib-arch): Likewise.
11437 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11438 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11439 $(common-objpfx)elf/.
11440
3612eb8f
RH
114412014-05-21 Richard Henderson <rth@redhat.com>
11442
a6b3657b
RH
11443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11444 (SINGLE_THREAD_P): Use the correct width load. Fold
11445 into the ldr offset.
11446
3612eb8f
RH
11447 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11448 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11449
175cef41
JM
114502014-05-20 Joseph Myers <joseph@codesourcery.com>
11451
11452 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11453 (libgcc_s_resume): Use __attribute_used__.
11454 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11455 Likewise.
11456
e13bccd3
AZ
114572014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11458
11459 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11460 optimization when used with float constants.
11461
7c112a38
AZ
11462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11463
ae75a883
AJ
114642014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11465
11466 [BZ #16915]
11467 * locale/nl_langinfo_l.c: Make direct reference to every
11468 _nl_current_CATEGORY symbol.
11469 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11470 (tests-static): Add tst-langinfo-static.
11471 (tests-special): Add tst-langinfo-static.out.
11472 ($(objpfx)tst-langinfo.out): Redirect output.
11473 ($(objpfx)tst-langinfo-static.out): New.
11474 * localedata/tst-langinfo.sh: Send output to stdout.
11475 * localedata/tst-langinfo-static.c: New file.
11476
4406c41c
AJ
11477 [BZ #16965]
11478 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11479 when the shift amount is modulo the limb size.
11480
4c0a1e63
RH
114812014-05-20 Richard Henderson <rth@redhat.com>
11482
de9d8f20
RH
11483 [BZ #16967]
11484 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11485 Change type of sa_flags from unsigned int to int.
11486
4c0a1e63
RH
11487 [BZ #16966]
11488 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11489
11490 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11491
a60339aa
WN
114922014-05-20 Will Newton <will.newton@linaro.org>
11493
11494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11495 Test the return value of the system call in the nocancel case.
11496
7d05a816
YR
114972014-05-20 Will Newton <will.newton@linaro.org>
11498 Yvan Roux <yvan.roux@linaro.org>
11499
11500 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11501 #include of asm/ptrace.h.
11502 (PTRACE_GET_THREAD_AREA): Remove #undef.
11503 (PTRACE_GETHBPREGS): Likewise.
11504 (PTRACE_SETHBPREGS): Likewise.
11505 (struct user_regs_struct): New structure.
11506 (struct user_fpsimd_struct): New structure.
11507 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11508 #include of asm/ptrace.h and second #include of sys/user.h.
11509 (PTRACE_GET_THREAD_AREA): Remove #undef.
11510 (PTRACE_GETHBPREGS): Likewise.
11511 (PTRACE_SETHBPREGS): Likewise.
11512 (ELF_NGREG): Use new struct user_regs_struct.
11513 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11514
af121e37
AZ
115152014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11516
11517 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11519
834caf06
JM
115202014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11521
11522 [BZ #16958]
11523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11524 membar to avoid block loads/stores to overlap previous stores.
11525
e184a918
RH
115262014-05-17 Richard Henderson <rth@redhat.com>
11527
11528 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11529 Create the __##syscall_name##_nocancel entry point.
11530 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11531 Remove; let the sysdep-cancel.h code create it.
11532
f56c7a6a
DM
115332014-05-17 David S. Miller <davem@davemloft.net>
11534
11535 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11536 Protect with __USE_GNU.
11537 (TIOCSET_TEMPT): Likewise.
11538 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11539 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11540 these are already provided in bits/ioctl-types.h
11541
f75616b2
RM
115422014-05-16 Roland McGrath <roland@hack.frob.com>
11543
3edeca86
RM
11544 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11545 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11546
f75616b2
RM
11547 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11548 Use wait4 regardless of [__NR_waitpid].
11549
deb0f7f6
MR
115502014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11551
11552 PR libgcc/60166
11553 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11554 (_FP_NANSIGN_Q): Set the quiet bit.
11555
79520f4b
JM
115562014-05-16 Joseph Myers <joseph@codesourcery.com>
11557
11558 * benchtests/Makefile
11559 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11560 not $(common-objpfx)math/libm.so.
11561 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11562 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11563 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11564 $(common-objpfx)dlfcn/libdl.so.
11565 ($(objpfx)tst-audit8): Depend on $(libm), not
11566 $(common-objpfx)math/libm.so.
11567 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11568 not $(common-objpfx)dlfcn/libdl.so.
11569 * math/Makefile
11570 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11571 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11572 [$(build-shared) = yes].
11573 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11574 $(common-objpfx)nptl/libpthread.so.
11575 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11576 $(common-objpfx)math/libm.so$(libm.so-version) or
11577 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11578 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11579 $(common-objpfx)dlfcn/libdl.so.
11580 * setjmp/Makefile (link-libm): Remove variable.
11581 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11582 * stdio-common/Makefile (link-libm): Remove variable.
11583 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11584 * stdlib/Makefile (link-libm): Remove variable.
11585 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11586 ($(objpfx)tst-strtod-round): Likewise.
11587 ($(objpfx)tst-tininess): Likewise.
11588 ($(objpfx)tst-strtod-underflow): Likewise.
11589 ($(objpfx)tst-strtod6): Likewise.
11590 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11591 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11592 $(common-objpfx)dlfcn/libdl.so.
11593
026b0fe4
AZ
115942014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11595
11596 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11597 BSD terminal modes definitions.
11598
def4bcb2
RM
115992014-05-16 Roland McGrath <roland@hack.frob.com>
11600
fe39b021
RM
11601 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11602 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11603
1d1fc46e 11604 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11605 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11606 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11607 Don't do #include_next.
11608 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11609 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11610 Don't do #include_next.
11611 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11612 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11613 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11614 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11615
c72399fb
AM
116162014-05-16 Allan McRae <allan@archlinux.org>
11617
d51d659d
AM
11618 * po/sv.po: Update Swedish translation from translation project.
11619
c72399fb
AM
11620 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11621 in sed expression.
11622
d0583c40
AJ
116232014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11624
11625 [BZ #16917]
11626 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11627 errno if the TIOCGPTN ioctl fails with an error different than
11628 EINVAL.
11629 * login/tst-ptsname.c: New file.
11630 * login/Makefile (tests): Add tst-ptsname.
11631
d16e6ec7
AJ
11632 [BZ #16943]
11633 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11634 and prlimit64.
11635
cf26a0cb
SP
116362014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11637
11638 [BZ #16849]
11639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11640 herrno to return EAI_AGAIN.
11641
5675da1e
RM
116422014-05-14 Roland McGrath <roland@hack.frob.com>
11643
a5d87b3d
RM
11644 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11645 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11646 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11647 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11648 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11649 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11653 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11654 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11655 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11656 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11657 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11659 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11660 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11661 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11667 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11668 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11669 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11671 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11672 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11673 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11675 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11677 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11679 Moved ...
11680 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11682 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11684 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11686 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11688 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11690 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11692 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11694 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11696 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11698 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11700 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11702 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11704 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11706 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11708 Moved ...
11709 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11711 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11713 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11715 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11717 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11721 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11723 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11725 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11727 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11729 Moved ...
11730 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11732 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11733
039890a6
RM
11734 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11735 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11736 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11737 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11738 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11739 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11740 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11742 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11744 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11745 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11746 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11747 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11748 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11749 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11750 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11751 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11752 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11753 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11754 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11755 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11756 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11757 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11758 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11759 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11760 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11762 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11764 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11765
65c89320
RM
11766 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11767 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11768
348f8e8c
RM
11769 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11770 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11771 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11773 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11775 Moved ...
11776 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11778 Moved ...
11779 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11780 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11781 Moved ...
11782 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11784 Moved ...
11785 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11786 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11787 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11789 Moved ...
11790 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11791 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11792 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11793 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11794 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11796 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11798 Moved ...
11799 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11801 Moved ...
11802 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11803 ... here.
11804 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11805 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11806 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11807 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11809 Moved ...
11810 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11811 ... here.
11812 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11813 Moved ...
11814 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11815 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11816 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11817 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11818 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11820 Moved ...
11821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11823 Moved ...
11824 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11825 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11826 Moved ...
11827 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11829 Moved ...
11830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11831 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11832 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11834 Moved ...
11835 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11836 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11837 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11838 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11839 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11840 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11841 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11843 Moved ...
11844 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11845 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11846 Moved ...
11847 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11848 ... here.
11849 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11850 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11851 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11852 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11854 Moved ...
11855 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11856 ... here.
11857 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11858 Moved ...
11859 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11860 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11861 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11862 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11863 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11864 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11865 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11867 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11869 Moved ...
11870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11871 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11872 Moved ...
11873 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11875 Moved ...
11876 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11877 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11878 Moved ...
11879 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11881 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11882 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11883 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11885 Moved ...
11886 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11887 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11888 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11889 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11890 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11891 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11892 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11893 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11894 Moved ...
11895 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11897 Moved ...
11898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11899 ... here.
11900 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11901 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11903 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11905 Moved ...
11906 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11907 ... here.
11908 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11909 Moved ...
11910 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11911 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11912 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11913 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11914 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11915 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11916 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11918 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11919 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11920 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11921
5085af05
RM
11922 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11923 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11924
708f0813
RM
11925 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11926 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11927
c96067bc
RM
11928 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11929 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11930 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11931 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11932 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11933 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11934 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11935 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11936 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11937 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11938 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11939 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11940 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11941 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11942 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11944 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11946 Moved ...
11947 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11949 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11951 Moved ...
11952 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11954 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11956 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11957 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11958 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11960 Moved ...
11961 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11962 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11963 Moved ...
11964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11970 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11972 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11973 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11974 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11975 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11976 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11977 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11978 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11979 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11980 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11981
ec136444
RM
11982 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11983 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11984 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11985 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11986 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11987
2fbdf533
RM
11988 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11989 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11990 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11991 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11992 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11993 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11994 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11995 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11996 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11997 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11998
4c68138b
RM
11999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12000 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12001
4eaae765
RM
12002 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12003 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12004 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12005 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12006 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12007 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12008 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12009 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12010 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12011 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12012 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12013 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12014 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12015 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12016 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12017 Update #include.
12018 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12019 Likewise.
12020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12021 Likewise.
12022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12023 Likewise.
12024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12025 Likewise.
12026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12027 Likewise.
12028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12029 Likewise.
12030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12031 Likewise.
12032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12033 Likewise.
12034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12035 Likewise.
4ef6befa
RM
12036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12041 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12042 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12043 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12045 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12046 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12047 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12048 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12051
941d7dfd
RM
12052 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12053 that was previously under [RESET_PID].
12054 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12055 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12056 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12057
1b731c35
RM
12058 * sysdeps/i386/nptl/Implies: New file.
12059 * sysdeps/x86_64/nptl/Implies: New file.
12060 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12061 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12062 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12063 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12064
e2787137
RM
12065 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12066 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12067 (__libc_vfork): New strong alias.
12068 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12069 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12070
12071 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12072 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12073 (__libc_vfork): New strong alias.
12074 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12075 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12076
5675da1e
RM
12077 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12078 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12079 (__libc_vfork): New strong alias.
12080 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12081 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12082 * nptl/pt-vfork.c: New file.
12083 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12084 (libpthread: GLIBC_2.20): New version set (empty).
12085
4f02e2b8
WN
120862014-05-14 Will Newton <will.newton@linaro.org>
12087
12088 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12089 rather than #if.
12090
0bf061d3
JM
120912014-05-14 Joseph Myers <joseph@codesourcery.com>
12092
1a84c3d6
JM
12093 [BZ #16564]
12094 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12095 arguments with exponent 65 or above.
12096 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12097 arguments 0x1p113L or above.
12098 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12099 to arguments 0x1p107L or above.
12100 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12101 positive arguments with exponent 65 or above.
12102 * math/auto-libm-test-in: Add more tests of log1p.
12103 * math/auto-libm-test-out: Regenerated.
12104
01dbacd2
JM
12105 [BZ #16928]
12106 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12107 non-finite arguments is +0.
12108 * math/s_cacosf.c (__cacosf): Likewise.
12109 * math/s_cacosl.c (__cacosl): Likewise.
12110 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12111 * sysdeps/i386/fpu/libm-test-ulps: Update.
12112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12113
913d03c8
JM
12114 [BZ #16927]
12115 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12116 value.
12117 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12118 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12119 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12120 for explicit high bit of mantissa when testing for argument equal
12121 to 1.
12122 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12123 * sysdeps/i386/fpu/libm-test-ulps: Update.
12124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12125
0bf061d3
JM
12126 [BZ #16516]
12127 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12128 (__erf): Scale by 16 instead of 8 in potentially underflowing
12129 case. Ensure exception if result actually underflows.
12130 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12131 (__erff): Scale by 16 instead of 8 in potentially underflowing
12132 case. Ensure exception if result actually underflows.
12133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12134 (efx8): Remove variable.
12135 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12136 case. Ensure exception if result actually underflows.
12137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12138 (efx8): Remove variable.
12139 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12140 case. Ensure exception if result actually underflows.
12141 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12142 (efx8): Remove variable.
12143 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12144 case. Ensure exception if result actually underflows.
12145 * math/auto-libm-test-in: Add more tests of erf.
12146 * math/auto-libm-test-out: Regenerated.
12147
73ba67cb
AS
121482014-05-14 Andreas Schwab <schwab@suse.de>
12149
3d8c8bff
AS
12150 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12151 Remove code conditionalized on USE___THREAD.
12152
73ba67cb
AS
12153 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12154 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12155 not definedness.
12156
5c521ecd
JM
121572014-05-14 Joseph Myers <joseph@codesourcery.com>
12158
5e7698c6
JM
12159 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12160 Define unconditionally.
12161 (__ASSUME_O_CLOEXEC): Likewise.
12162 (__ASSUME_SOCK_CLOEXEC): Likewise.
12163 (__ASSUME_IN_NONBLOCK): Likewise.
12164 (__ASSUME_PIPE2): Likewise.
12165 (__ASSUME_EVENTFD2): Likewise.
12166 (__ASSUME_SIGNALFD4): Likewise.
12167 (__ASSUME_DUP3): Likewise.
12168 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12169 (__ASSUME_DUP3): Do not define.
12170 (__ASSUME_EVENTFD2): Likewise.
12171 (__ASSUME_IN_NONBLOCK): Likewise.
12172 (__ASSUME_O_CLOEXEC): Likewise.
12173 (__ASSUME_PIPE2): Likewise.
12174 (__ASSUME_SIGNALFD4): Likewise.
12175 (__ASSUME_SOCK_CLOEXEC): Likewise.
12176 (__ASSUME_UTIMES): Undefine.
12177 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12178 (__ASSUME_UTIMES): Do not define.
12179 (__ASSUME_O_CLOEXEC): Likewise.
12180 (__ASSUME_SOCK_CLOEXEC): Likewise.
12181 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12182 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12183 0x020621].
12184 (__ASSUME_PIPE2): Likewise.
12185 (__ASSUME_EVENTFD2): Likewise.
12186 (__ASSUME_SIGNALFD4): Likewise.
12187 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12188 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12189 Do not define.
12190 (__ASSUME_EVENTFD2): Likewise.
12191 (__ASSUME_SIGNALFD4): Likewise.
12192 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12193 (__ASSUME_32BITUIDS): Likewise.
12194 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12195 (__ASSUME_IPC64): Likewise.
12196 (__ASSUME_ST_INO_64_BIT): Likewise.
12197 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12198 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12199 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12200 (__ASSUME_UTIMES): Do not define.
12201 (__ASSUME_PSELECT): Likewise.
12202 (__ASSUME_PPOLL): Likewise.
12203 (__ASSUME_O_CLOEXEC): Likewise.
12204 (__ASSUME_SOCK_CLOEXEC): Likewise.
12205 (__ASSUME_IN_NONBLOCK): Likewise.
12206 (__ASSUME_PIPE2): Likewise.
12207 (__ASSUME_EVENTFD2): Likewise.
12208 (__ASSUME_SIGNALFD4): Likewise.
12209 (__ASSUME_DUP3): Likewise.
12210 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12211 (__ASSUME_UTIMES): Likewise.
12212 (__ASSUME_O_CLOEXEC): Likewise.
12213 (__ASSUME_SOCK_CLOEXEC): Likewise.
12214 (__ASSUME_IN_NONBLOCK): Likewise.
12215 (__ASSUME_PIPE2): Likewise.
12216 (__ASSUME_EVENTFD2): Likewise.
12217 (__ASSUME_SIGNALFD4): Likewise.
12218 (__ASSUME_DUP3): Likewise.
12219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12220 (__ASSUME_UTIMES): Likewise.
12221 (__ASSUME_O_CLOEXEC): Likewise.
12222 (__ASSUME_SOCK_CLOEXEC): Likewise.
12223 (__ASSUME_IN_NONBLOCK): Likewise.
12224 (__ASSUME_PIPE2): Likewise.
12225 (__ASSUME_EVENTFD2): Likewise.
12226 (__ASSUME_SIGNALFD4): Likewise.
12227 (__ASSUME_DUP3): Likewise.
12228 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12229 Likewise.
12230 (__ASSUME_UTIMES): Likewise.
12231 (__ASSUME_EVENTFD2): Likewise.
12232 (__ASSUME_SIGNALFD4): Likewise.
12233 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12234 (__ASSUME_O_CLOEXEC): Likewise.
12235 (__ASSUME_SOCK_CLOEXEC): Likewise.
12236 (__ASSUME_IN_NONBLOCK): Likewise.
12237 (__ASSUME_PIPE2): Likewise.
12238 (__ASSUME_EVENTFD2): Likewise.
12239 (__ASSUME_SIGNALFD4): Likewise.
12240 (__ASSUME_DUP3): Likewise.
12241 (__ASSUME_UTIMES): Undefine.
12242
5c521ecd
JM
12243 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12244 feclearexcept. Remove symbol versioning code.
12245 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12246 symbol versioning code.
12247 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12248 symbol versioning code.
12249 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12250 feupdateenv. Remove symbol versioning code.
12251 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12252 fegetexceptflag. Remove symbol versioning code.
12253 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12254 fesetexceptflag. Remove symbol versioning code.
12255 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12256 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12257 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12258 (__posix_fadvise64_l32): Remove prototype.
12259 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12260 code.
12261
5da9dfad
RM
122622014-05-13 Roland McGrath <roland@hack.frob.com>
12263
12264 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12265 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12266 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12267 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12268
893b4f37
SK
122692014-05-13 Sami Kerola <kerolasa@iki.fi>
12270
12271 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12272 current working directory
12273
e0db6517
RM
122742014-05-13 Roland McGrath <roland@hack.frob.com>
12275
58aa195d
RM
12276 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12277 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12278 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12279 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12280 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12281 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12282 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12291 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12292 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12295 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12300 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12301 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12302 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12303 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12304 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12305 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12306 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12307 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12308 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12309 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12310 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12311 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12312 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12313 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12314 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12315 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12316 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12317 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12318
8c6d01f0
RM
12319 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12320 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12321
12322 * sysdeps/unix/sysv/linux/arm/Makefile
12323 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12324 Add rt-aeabi_unwind_cpp_pr1.
12325 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12326 Add nptl-aeabi_unwind_cpp_pr1.
12327 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12328 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12329 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12330 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12331 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12332 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12333
12334 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12335 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12336 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12337 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12338
bba6da4e
RM
12339 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12340 Deconditionalize the code that was previously under [RESET_PID].
12341 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12342
e0db6517
RM
12343 * sysdeps/generic/exit-thread.h: New file.
12344 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12345 * include/unistd.h (__exit_thread): Remove declaration.
12346 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12347 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12348 * csu/libc-start.c: Include <exit-thread.h>.
12349 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12350 * nptl/pthread_create.c: Include <exit-thread.h>.
12351 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12352 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12353 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12354 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12355 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12356 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12357 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12358 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12359 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12360 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12361 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12362 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12363 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12364 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12365 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12366 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12367 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12368
01eb16fd
AS
123692014-05-13 Andreas Schwab <schwab@suse.de>
12370
12371 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12372
637461d9
JM
123732014-05-12 Joseph Myers <joseph@codesourcery.com>
12374
12375 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12376 (__ASSUME_UTIMES): Do not condition on kernel version.
12377 (__ASSUME_PSELECT): Define unconditionally.
12378 (__ASSUME_PPOLL): Likewise.
12379 (__ASSUME_ATFCTS): Likewise.
12380 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12381 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12382 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12383 (__ASSUME_UTIMENSAT): Define unconditionally.
12384 (__ASSUME_PRIVATE_FUTEX): Likewise.
12385 (__ASSUME_FALLOCATE): Likewise.
12386 (__ASSUME_O_CLOEXEC): Likewise.
12387 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12388 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12389 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12390 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12391 (__ASSUME_IN_NONBLOCK): Likewise.
12392 (__ASSUME_PIPE2): Likewise.
12393 (__ASSUME_EVENTFD2): Likewise.
12394 (__ASSUME_SIGNALFD4): Likewise.
12395 (__ASSUME_DUP3): Likewise.
12396 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12397 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12398 (__ASSUME_AT_RANDOM): Likewise.
12399 (__ASSUME_PREADV): Likewise.
12400 (__ASSUME_PWRITEV): Likewise.
12401 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12402 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12403 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12405 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12406 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12407 (__ASSUME_O_CLOEXEC): Define unconditionally.
12408 (__ASSUME_PSELECT): Do not undefine conditionally.
12409 (__ASSUME_PPOLL): Likewise.
12410 (__ASSUME_ATFCTS): Likewise.
12411 (__ASSUME_SET_ROBUST_LIST): Likewise.
12412 (__ASSUME_UTIMENSAT): Likewise.
12413 (__ASSUME_FDATASYNC): Define unconditionally.
12414 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12415 (__ASSUME_SIGFRAME_V2): Likewise.
12416 )__ASSUME_EVENTFD2): Likewise.
12417 (__ASSUME_SIGNALFD4): Likewise.
12418 (__ASSUME_PSELECT): Do not undefine conditionally.
12419 (__ASSUME_PPOLL): Likewise.
12420 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12421 (__ASSUME_PSELECT): Define unconditionally.
12422 (__ASSUME_PPOLL): Likewise.
12423 (__ASSUME_O_CLOEXEC): Likewise.
12424 (__ASSUME_SOCK_CLOEXEC): Likewise.
12425 (__ASSUME_IN_NONBLOCK): Likewise.
12426 (__ASSUME_PIPE2): Likewise.
12427 (__ASSUME_EVENTFD2): Likewise.
12428 (__ASSUME_SIGNALFD4): Likewise.
12429 (__ASSUME_DUP3): Likewise.
12430 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12431 (__ASSUME_O_CLOEXEC): Likewise.
12432 (__ASSUME_SOCK_CLOEXEC): Likewise.
12433 (__ASSUME_IN_NONBLOCK): Likewise.
12434 (__ASSUME_PIPE2): Likewise.
12435 (__ASSUME_EVENTFD2): Likewise.
12436 (__ASSUME_SIGNALFD4): Likewise.
12437 (__ASSUME_DUP3): Likewise.
12438 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12439 (__ASSUME_EVENTFD2): Likewise.
12440 (__ASSUME_SIGNALFD4): Likewise.
12441 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12442
315eb1d8
AS
124432014-05-12 Andreas Schwab <schwab@suse.de>
12444
12445 [BZ #16932]
12446 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12447 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12448 than maximum RPC packet size.
12449 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12450 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12451 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12452 (_nss_nis_getservbyport_r): Likewise.
12453
91df99f7
WN
124542014-05-12 Will Newton <will.newton@linaro.org>
12455
12456 * malloc/Makefile (tests): Add tst-mallopt.
12457 * malloc/tst-mallopt.c: New file.
12458
0a982a29
RM
124592014-05-09 Roland McGrath <roland@hack.frob.com>
12460
12461 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12462 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12463
0ded08a5
AZ
124642014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12465
12466 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12467 (tst-tlsmod6.so): Likewise.
12468
55d4d550
RM
124692014-05-09 Roland McGrath <roland@hack.frob.com>
12470
12471 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12472
77d08aca
JM
124732014-05-09 Joseph Myers <joseph@codesourcery.com>
12474
12475 [BZ #16064]
12476 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12477 and <dl-procinfo.h>.
12478 (__fegetenv): Save SSE state in envp->__eip if supported.
12479 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12480 envp->__eip if supported.
12481 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12482 and <dl-procinfo.h>.
12483 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12484 __data_offset and __data_selector in environment to 0. Set SSE
12485 state if supported.
12486 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12487 test-fenv-sse.
12488 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12489 -mfpmath=sse.
12490 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12491
28162f4d
WN
124922014-05-09 Will Newton <will.newton@linaro.org>
12493
12494 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12495 and libc_relro_required for ARM.
12496 * sysdeps/arm/preconfigure: Regenerate.
12497
5a414ff7
DV
124982014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12499 Stefan Liebler <stli@linux.vnet.ibm.com>
12500
12501 * config.make.in (enable-lock-elision): New Makefile variable.
12502 * configure.ac: Likewise.
12503 * configure: Regenerate.
12504 * sysdeps/s390/configure.ac:
12505 Add check for gcc transactions support.
12506 * sysdeps/s390/configure: Regenerate.
12507 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12508 Build elision files if enabled.
12509 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12510 Add lock elision support for s390.
12511 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12512 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12513 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12514 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12515 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12516 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12517 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12518 Likewise.
12519 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12520 Likewise.
12521 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12522 Likewise.
12523 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12524 Likewise.
12525 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12526 (__lll_timedlock_elision, __lll_lock_elision)
12527 (__lll_unlock_elision, __lll_trylock_elision)
12528 (lll_timedlock_elision, lll_lock_elision)
12529 (lll_unlock_elision, lll_trylock_elision): Add.
12530 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12531 (pthread_mutex_t): Add lock elision support for s390.
12532
1a2f40e5
W
125332014-05-14 Wilco <wdijkstr@arm.com>
12534
12535 * sysdeps/arm/fclrexcpt.c: Cleanup.
12536 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12537 * sysdeps/arm/feenablxcpt.c: Cleanup.
12538 * sysdeps/arm/fegetenv.c: Cleanup.
12539 * sysdeps/arm/fegetexcept.c: Cleanup.
12540 * sysdeps/arm/fegetround.c: Cleanup.
12541 * sysdeps/arm/feholdexcpt.c: Cleanup.
12542 * sysdeps/arm/fesetenv.c: Cleanup.
12543 * sysdeps/arm/fesetround.c: Cleanup.
12544 * sysdeps/arm/feupdateenv.c: Cleanup.
12545 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12546 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12547 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12548 * sysdeps/arm/ftestexcept.c: Cleanup.
12549 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12550 * sysdeps/arm/setfpucw.c: Cleanup.
12551
f63c86fe
WN
125522014-05-09 Will Newton <will.newton@linaro.org>
12553
12554 * sysdeps/arm/armv7/strcmp.S: New file.
12555 * NEWS: Mention addition of ARMv7 optimized strcmp.
12556
7a1a51b5
RM
125572014-05-08 Roland McGrath <roland@hack.frob.com>
12558
95afbbe5
RM
12559 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12560 look for %.ac rather than %.in.
12561
12562 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12563 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12564 * sysdeps/mach/hurd/configure: Regenerated.
12565 * sysdeps/unix/sysv/linux/configure: Regenerated.
12566
7a1a51b5
RM
12567 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12568
5057ad3b
SE
125692014-05-07 Steve Ellcey <sellcey@mips.com>
12570
12571 [BZ# 16922]
12572 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12573 (LONG_SUB): Ditto.
12574 (PTR_SUB): Ditto.
12575
8dc97517
AS
125762014-05-07 Andreas Schwab <schwab@suse.de>
12577
12578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12579 when skipping over non-matching result from nscd.
12580
ce0c5b8f
OB
125812014-05-07 Ondřej Bílka <neleai@seznam.cz>
12582
12583 [BZ #16876]
12584 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12585
a1189263
OB
12586 [BZ #16877]
12587 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12588 nscd security class.
ce0c5b8f 12589
0f58d252
RM
125902014-05-06 Roland McGrath <roland@hack.frob.com>
12591
12592 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12593 * sysdeps/arm/unwind.h: ... here.
12594
83df9ad0
AJ
125952014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12596
ce0c5b8f
OB
12597 [BZ# 16916]
12598 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12599 Define.
83df9ad0 12600
f360f94a
VR
126012014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12602
12603 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12604 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12605 multiarch strncpy for PPC64.
12606 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12607 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12609 multiarch optimizations.
12610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12611 (__libc_ifunc_impl_list): Likewise.
12612 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12613 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12614 multiarch stpncpy for PPC64.
12615 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12616 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12617
978a41c3
AS
126182014-05-06 Andreas Schwab <schwab@suse.de>
12619
12620 [BZ #16912]
12621 * gmon/mcount.c (_MCOUNT_DECL): Use
12622 atomic_compare_and_exchange_bool_acq instead of
12623 catomic_compare_and_exchange_bool_acq.
12624
eb1ed03d
RM
126252014-05-05 Roland McGrath <roland@hack.frob.com>
12626
fe658845
RM
12627 * elf/Makefile (others, install-bin): Remove pldd.
12628 (pldd-modules): Variable removed.
12629 ($(objpfx)pldd): Target removed.
12630 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12631 (others, install-bin): Append pldd here.
12632 ($(objpfx)pldd): New target.
12633
eb1ed03d
RM
12634 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12635 to 0, so the first #if test emitted later doesn't see it undefined.
12636 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12637 * sysdeps/gnu/errlist.c: Regenerated.
12638
19c4bec0
AZ
126392014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640
12641 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12642 [libc_hidden_builtin_def]: Define to empty value.
12643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12644 [libc_hidden_builtin_def]: Likewise.
12645 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12646 [libc_hidden_builtin_def]: Likewise.
12647 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12648 [libc_hidden_builtin_def]: Likewise.
12649 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12650 __redirect_memcpy and define ifunc as default hidden symbol.
12651 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12652 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12653
7776e669
AC
126542014-05-04 Adam Conrad <adconrad@0c3.net>
12655
12656 * locale/iso-4217.def: Reintroduce XDR currency.
12657
d69aeb12
AM
126582014-05-04 Allan McRae <allan@archlinux.org>
12659
12660 * po/eo.po: Update Esperanto translation from translation project.
12661
8f1df5cf
CD
126622014-05-02 Carlos O'Donell <carlos@redhat.com>
12663
12664 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12665 and FEATURE_INDEX_MAX to 1.
12666 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12667
13e402e7
SE
126682014-05-01 Steve Ellcey <sellcey@mips.com>
12669
12670 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12671 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12672 * iconvdata/big5.c (ONE_DIRECTION): Define.
12673 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12674 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12675 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12676 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12677 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12678 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12679 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12680 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12681 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12682 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12683 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12684 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12685 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12686 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12687 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12688 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12689 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12690 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12691 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12692 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12693 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12694 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12695 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12696 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12697 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12698 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12699 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12700 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12701 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12702 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12703 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12704 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12705 * iconvdata/johab.c (ONE_DIRECTION): Define.
12706 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12707 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12708 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12709 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12710 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12711 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12712 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12713 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12714 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12715 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12716
c727f032
RM
127172014-05-01 Roland McGrath <roland@hack.frob.com>
12718
8f2f08d0
RM
12719 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12720 (_IO_JUMPS_OFFSET): Define to 0.
12721
c727f032
RM
12722 * nptl/sysdeps/pthread/bits/libc-lock.h
12723 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12724 (__libc_lock_define_initialized_recursive): Always define using
12725 initializer. Modern compilers treat uninitialized (implicit zero) and
12726 explicit zero initializers the same (i.e. put the datum in bss).
12727
a849e800
AS
127282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12729
12730 * nscd/nscd-client.h: Include <string.h>.
12731
5331255b
DM
127322014-05-01 David S. Miller <davem@davemloft.net>
12733
12734 [BZ #16885]
12735 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12736 multiple zero bytes exist at the end of a string.
12737 Reported by Aurelien Jarno <aurelien@aurel32.net>
12738
12739 * string/test-strcmp.c (check): Add explicit test for situations where
12740 there are multiple zero bytes after the first.
12741
4fdfe821
AS
127422014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12743
12744 [BZ #16890]
12745 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12746 when compiling wprintf.
12747 * stdio-common/tstdiomisc.c (t3): New function.
12748 (main): Call it.
12749
0cdddc25
SE
127502014-05-01 Steve Ellcey <sellcey@mips.com>
12751
12752 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12753 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12754 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12755 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12756
6426d77e
SE
127572014-05-01 Steve Ellcey <sellcey@mips.com>
12758
12759 * stdlib/longlong.h: Updated from GCC.
12760
6d96f5e4
WN
127612014-05-01 Will Newton <will.newton@linaro.org>
12762 Bernard Ogden <bernie.ogden@linaro.org>
12763
7470db0c
WN
12764 * NEWS: Update fixed bug list.
12765
6d96f5e4
WN
12766 [BZ #15119]
12767 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12768
211d653c
DM
127692014-04-30 David S. Miller <davem@davemloft.net>
12770
4fa262fa
DM
12771 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12772 (libc_feholdexcept_setround_sparc_ctx): New function.
12773 (libc_fesetenv_sparc_ctx): Likewise.
12774 (libc_feupdateenv_sparc_ctx): Likewise.
12775 (libc_feholdsetround_sparc_ctx): Likewise.
12776 (libc_feholdexcept_setround_ctx): Define.
12777 (libc_feholdexcept_setroundf_ctx): Likewise.
12778 (libc_feholdexcept_setroundl_ctx): Likewise.
12779 (libc_fesetenv_ctx): Likewise.
12780 (libc_fesetenvf_ctx): Likewise.
12781 (libc_fesetenvl_ctx): Likewise.
12782 (libc_feupdateenv_ctx): Likewise.
12783 (libc_feupdateenvf_ctx): Likewise.
12784 (libc_feupdateenvl_ctx): Likewise.
12785 (libc_feresetround_ctx): Likewise.
12786 (libc_feresetroundf_ctx): Likewise.
12787 (libc_feresetroundl_ctx): Likewise.
12788 (libc_feholdsetround_ctx): Likewise.
12789 (libc_feholdsetroundf_ctx): Likewise.
12790 (libc_feholdsetroundl_ctx): Likewise.
12791
1d3d93ef
DM
12792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12793 with __USE_GNU instead of XOPEN cpp guards.
12794
8aa583c3
DM
12795 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12796 0.
12797
211d653c
DM
12798 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12799 with XOPEN cpp guards.
12800
60c8f1f6
JB
128012014-04-30 Julian Brown <julian@codesourcery.com>
12802
12803 [BZ #16888]
12804 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12805 handling.
12806
9a461d46
JM
128072014-04-30 Joseph Myers <joseph@codesourcery.com>
12808
d0f5b3f8
JM
12809 [BZ #9894]
12810 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12811 Change to 2.6.32.
12812 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12813 * sysdeps/unix/sysv/linux/configure: Regenerated.
12814 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12815 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12816 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12817 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12818 * README: Update reference to required Linux kernel version.
12819 * manual/install.texi (Linux): Update reference to required Linux
12820 kernel headers version.
12821 * INSTALL: Regenerated.
12822
9a461d46
JM
12823 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12824 header inclusion.
12825 [POSIX] (limits.h): Likewise.
12826 [POSIX] (math.h): Likewise.
12827 [POSIX] (sys/wait.h): Likewise.
12828 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12829 function.
12830 [POSIX] (stddef.h): Do not allow header inclusion.
12831
1775babf
AZ
128322014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12833
57f41c40 12834 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12835
8f630cca
YY
128362014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12837
12838 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12839 Return immediately after lll_futex_wake.
12840
1cdeb237
SP
128412014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
bc8f194c
SP
12843 [BZ #16791]
12844 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12845 structure.
12846 (datahead_init_pos): Call datahead_init_common early.
12847 (datahead_init_neg): Likewise.
12848
1cdeb237
SP
12849 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12850 datahead_init_neg): New functions.
12851 * nscd/aicache.c (addhstaiX): Use them.
12852 * nscd/grpcache.c (cache_addgr): Likewise.
12853 * nscd/hstcache.c (cache_addhst): Likewise.
12854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12855 * nscd/netgroupcache.c (do_notfound): Likewise.
12856 (addgetnetgrentX): Likewise.
12857 (addinnetgrX): Likewise.
12858 * nscd/pwdcache.c (cache_addpw): Likewise.
12859 * nscd/servicescache.c (cache_addserv): Likewise.
12860
16b293a7
SP
128612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12862 Atsushi Onoe <atsushi@onoe.org>
12863
12864 [BZ #14308]
12865 [BZ #12994]
12866 [BZ #13651]
12867 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12868 one response is valid.
12869 * resolv/res_send.c (send_dg): Check for validity of other
12870 response if the current response is a referral.
12871
a28a9b94
SE
128722014-04-29 Steve Ellcey <sellcey@mips.com>
12873
12874 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12875
2ca180e9
SL
128762014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12877
12878 [BZ #16823]
12879 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12880 Always divide by positive zero when computing -Inf result.
12881 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12882 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12883
18f2945a
AZ
128842014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12885
12886 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12887 FPSCR if value do not change.
12888 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12889 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12890 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12891 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12892 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12893 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12894 function.
12895
5abebba4
CD
128962014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12897
12898 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12899 * sysdeps/unix/sysv/linux/hppa: Move directory from
12900 ports/systeps/unix/sysv/linux/hppa.
12901 * README: Update listing for hppa-*-linux-gnu.
12902
f7ed60c2
OB
129032014-04-28 Ondřej Bílka <neleai@seznam.cz>
12904
fff763a5
OB
12905 [BZ #16754]
12906 * manual/stdio.texi (Hook functions): Fix types of stream hook
12907 functions.
f7ed60c2
OB
12908 [BZ #16854]
12909 * socket/sys/socket.h: Fix typo in comment.
12910
df639d73
WD
129112014-04-28 Wilco <wdijkstr@arm.com>
12912
f7ed60c2 12913 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12914 * sysdeps/arm/math_private.h: New file.
12915 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12916
48332d82
L
129172014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12920 with __int128_t.
12921 (La_x86_64_retval): Likewise.
12922
e5e0d9a4
IB
129232014-04-24 Ian Bolton <ian.bolton@arm.com>
12924
12925 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12926 fpsr if value didn't change.
12927 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12928 to fpcr if value didn't change.
12929 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12930 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12931 fpsr or fpcr if value didn't change.
12932 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12933 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12934 fpcr if value didn't change.
12935 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12936 to fpsr if value didn't change.
12937
bacc75f7
SP
129382014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12939
12940 * nptl/tst-sem3.c: Use test-skeleton.c
12941 (main): Rename to do_test. Use return instead of
12942 exit.
12943 * nptl/tst-sem4.c: Use test-skeleton.c
12944 (main): Rename to do_test.
12945
a059d359
DM
129462014-04-22 David S. Miller <davem@davemloft.net>
12947
12948 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12949 (struct sigaction): New struct member __glibc_reserved0, change
12950 type of sa_flags to int.
12951
ea6c92f3
YZ
129522014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12953
12954 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12955 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12956
766c4a36
SP
129572014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12958
12959 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12960 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12961
140cc7ab
VK
129622014-04-22 Will Newton <will.newton@linaro.org>
12963 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12964
12965 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12966 (__longjmp): Add longjmp and longjmp_target SystemTap
12967 probes.
12968 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12969 (__sigsetjmp): Add setjmp SystemTap probe.
12970
c54e5cf7
CD
129712014-04-17 Carlos O'Donell <carlos@redhat.com>
12972
12973 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12974 match manual order.
12975
75ffb047
AZ
129762014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12977
12978 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12979
2cd925f7
AZ
12980 * sysdeps/powerpc/fpu/fenv_private.h
12981 (libc_feholdexcept_setroundl_ctx): Define to
12982 libc_feholdexcept_setround_ppc_ctx.
12983 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12984 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12985 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12986 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12987
39e6cd8d
IB
129882014-04-17 Ian Bolton <ian.bolton@arm.com>
12989
12990 * sysdeps/aarch64/math-tests.h: New file.
12991
f9281df9
SY
129922014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12993
12994 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12995 New.
12996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12997 Check and set bit_AVX2_Usable.
12998 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12999 macro.
13000 (bit_AVX2): Likewise.
13001 (index_AVX2_Usable): Likewise.
13002 (CPUID_AVX2): Likewise.
13003 (HAS_AVX2): Likewise.
13004
37d35007
WN
130052014-04-17 Will Newton <will.newton@linaro.org>
13006
7c677662
WN
13007 * manual/setjmp.texi (System V contexts): Add note that
13008 calling setcontext on a context created by a call to a
13009 signal handler is undefined. Update text to note that
13010 setcontext from a signal handler is possible but not
13011 recommended.
13012
37d35007 13013 [BZ #16629]
e04a4e9d
WN
13014 * stdlib/tst-setcontext.c: Include signal.h.
13015 (main): Check that the signal stack before and
13016 after swapcontext is the same.
13017
37d35007
WN
13018 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13019 Re-implement to restore registers in user code and avoid
13020 rt_sigreturn system call.
13021
423a7160
W
130222014-04-17 Wilco <wdijkstr@arm.com>
13023
13024 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13025 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13026 * math/test-fenv.c: Skip exception trap tests on targets which only
13027 support non-stop mode.
13028
bc93ab29
IB
130292014-04-17 Ian Bolton <ian.bolton@arm.com>
13030 Wilco Dijkstra <wilco.dijkstra@arm.com>
13031
13032 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13033 (libc_feholdsetround_aarch64_ctx)
13034 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13035 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13036 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13037 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13038 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13039 (libc_feresetround_noexl_ctx): Define.
13040
95fc5fa3
RH
130412014-04-16 Richard Henderson <rth@redhat.com>
13042
ddb04724
RH
13043 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13044
d77c0899
RH
13045 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13046 unwind tables.
13047
a3df56fc
RH
13048 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13049 const from the non-libc, non-ldso copy.
13050
95fc5fa3
RH
13051 * sysdeps/alpha/libm-test-ulps: Regenerate.
13052
7e0b6763
IB
130532014-04-16 Ian Bolton <ian.bolton@arm.com>
13054 Wilco Dijkstra <wilco.dijkstra@arm.com>
13055
13056 * sysdeps/aarch64/fpu/math_private.h: New file.
13057
a9ea2e0c
MS
130582014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13059
13060 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13061
ea8ba7cd
IZ
130622014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13063
7e54fd04 13064 [BZ #16275]
ea8ba7cd
IZ
13065 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13066 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13068 Intel MPX bound registers before _dl_profile_fixup.
13069 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13070 registers after _dl_profile_fixup. Save and restore bound
13071 registers bnd0/bnd1 when calling _dl_call_pltexit.
13072 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13073 (LR_BND_OFFSET): Likewise.
13074 (LRV_BND0_OFFSET): Likewise.
13075 (LRV_BND1_OFFSET): Likewise.
13076
9f2a4fbc
ST
130772014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13078
13079 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13080 to...
13081 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13082 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13083 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13084 fields.
9f2a4fbc 13085
fd15a59b
ST
130862014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13087
13088 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13089
f19dfa0a
SL
130902014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13091
13092 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13093
4fa8bc3b
SL
130942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13095
13096 [BZ #14770]
13097 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13098 * sysdeps/s390/configure: Regenerate.
13099
8ea587db
SL
13100 [BZ #16824]
13101 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13102 Set round-to-nearest internally to reduce error accumulation.
13103
aa5f0ff1
AM
131042014-04-16 Alan Modra <amodra@gmail.com>
13105
13106 [BZ #16740]
13107 [BZ #16619]
13108 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13109 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13110 * NEWS: Update fixed bug list.
aa5f0ff1 13111
bb9c256f
SP
131122014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13113
13114 * benchtests/Makefile: Depend on libraries in build directory.
13115 (bench-math): Separate out math tests.
13116 (bench-pthread): Separate out pthread tests.
13117 (bench): Include math and pthread tests.
13118
f737dfd0
CD
131192014-04-14 Carlos O'Donell <carlos@redhat.com>
13120
13121 [BZ #16831]
13122 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13123 _dl_debug_initialize.
13124
0699f766
CD
13125 * configure.ac: Remove SELinux header check.
13126 * configure: Regenerate.
13127 * nscd/selinux.c (perms): Array of const char* to permission names.
13128 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13129 default policy. Call string_to_security_class and string_to_av_perm to
13130 translate strings. Enforce default policy and call avs_has_perm with
13131 results of translated strings.
13132
809bd45f
DM
131332014-04-13 David S. Miller <davem@davemloft.net>
13134
13135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13136
89e691f2
AM
131372014-04-12 Allan McRae <allan@archlinux.org>
13138
13139 [BZ #16838]
13140 * manual/string.texi (Collation Functions): Fix qsort argument
13141 order in example.
13142 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13143
9c9daaeb
CM
131442014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13145
13146 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13147 Make the test a no-op if there are no exceptions defined.
13148
95561fb9
PP
131492014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13150
fe8d072c 13151 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13152 enable-hardcoded-path-in-tests
13153
970c602a
WN
131542014-04-11 Will Newton <will.newton@linaro.org>
13155
13156 * benchtests/Makefile (extra-objs): Add json-lib.o.
13157 (bench-func): Tidy up JSON output.
13158 * benchtests/bench-skeleton.c: Include json-lib.h.
13159 (main): Use JSON library functions to do output of
13160 benchmark results.
13161 * benchtests/bench-timing-type.c (main): Output the
13162 timing type simply, leaving formatting to the user.
13163 * benchtests/json-lib.c: New file.
13164 * benchtests/json-lib.h: Likewise.
13165
36875b06
TR
131662014-04-11 Torvald Riegel <triegel@redhat.com>
13167
13168 [BZ #15215]
13169 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13170 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13171 memory barriers. Add comments.
13172 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13173 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13174 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13175 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13176 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13177 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13178
579db35a
SL
131792014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13180
13181 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13182 * sysdeps/s390/s390-64/configure.ac: ... this ...
13183 * sysdeps/s390/configure.ac: ... to here.
13184 * sysdeps/s390/s390-32/configure: Delete file.
13185 * sysdeps/s390/s390-64/configure: Delete file.
13186 * sysdeps/s390/configure: Regenerate.
13187
c12e9f37
JAPH
131882014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13189
13190 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13191
439bda32
WN
131922014-04-11 Will Newton <will.newton@linaro.org>
13193
13194 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13195 to zero if it is not defined elsewhere. (mtrim): Test
13196 the value of MALLOC_DEBUG with #if rather than #ifdef.
13197
6a5d6ea1
TR
131982014-04-10 Torvald Riegel <triegel@redhat.com>
13199
13200 * benchtests/pthread_once-inputs: New file.
13201 * benchtests/pthread_once-source.c: New file.
13202 * benchtests/README: Update documentation.
13203
a4c75cfd
IZ
132042014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13205 H.J. Lu <hongjiu.lu@intel.com>
13206
7e54fd04 13207 [BZ #16275]
a4c75cfd
IZ
13208 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13209 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13210 * sysdeps/x86_64/configure: Regenerated.
13211 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13212 macro.
13213 (REGISTER_SAVE_RAX): Likewise.
13214 (REGISTER_SAVE_RCX): Likewise.
13215 (REGISTER_SAVE_RDX): Likewise.
13216 (REGISTER_SAVE_RSI): Likewise.
13217 (REGISTER_SAVE_RDI): Likewise.
13218 (REGISTER_SAVE_R8): Likewise.
13219 (REGISTER_SAVE_R9): Likewise.
13220 (REGISTER_SAVE_BND0): Likewise.
13221 (REGISTER_SAVE_BND1): Likewise.
13222 (REGISTER_SAVE_BND2): Likewise.
13223 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13224 bound registers when calling _dl_fixup.
13225
27822ce6
AZ
132262014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227
13228 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13229 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13230 of its definition.
27822ce6
AZ
13231 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13232 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13233 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13234 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13235 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13236 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13237 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13238
a88ddc90
PTB
132392014-04-09 Peter Brett <peter@peter-b.co.uk>
13240
13241 [BZ #15514]
13242 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13243 pathconf(_PC_NAME_MAX).
13244
01f8eac2
AZ
132452014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13246
13247 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13248 Remove macro usage.
13249 (__PTHREAD_SPINS): Move definition to ...
13250 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13251 (__PTHREAD_SPINS): ... here.
13252 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13253 (__PTHREAD_SPIN): Likewise.
13254 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13255 (__PTHREAD_SPIN): Likewise.
13256 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13257 (__PTHREAD_SPIN): Likewise.
13258 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13259 (__PTHREAD_SPIN): Likewise.
13260 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13261 (__PTHREAD_SPIN): Likewise.
13262 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13263 (__PTHREAD_SPIN): Likewise.
13264 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13265 (__PTHREAD_SPIN): Likewise.
13266 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13267 (__PTHREAD_SPIN): Likewise.
13268 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13269 (__PTHREAD_SPIN): Likewise.
13270 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13271 (__PTHREAD_SPIN): Likewise.
13272 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13273 (__PTHREAD_SPIN): Likewise.
13274 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13275 (__PTHREAD_SPIN): Likewise.
13276
de21c33c
AZ
13277 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13278 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13279 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13280 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13281 imply folder.
13282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13283 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13284 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13285 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13286 correct imply path.
13287 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13288 strlen symbol for non multi-arch builds.
13289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13290 missing hidden_def and weak_alias.
13291
862c472e
CD
132922014-04-08 Carlos O'Donell <carlos@redhat.com>
13293
13294 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13295
8667f90e
WN
132962014-04-07 Will Newton <will.newton@linaro.org>
13297
13298 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13299 and contents. [!_LIBC] Remove #ifndef and contents.
13300 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13301 * string/memccpy.c (__memccpy): Use ANSI prototype.
13302 * string/memfrob.c (memfrob): Likewise.
13303 * string/strcoll.c (STRCOLL): Likewise.
13304 * string/strlen.c (strlen): Likewise.
13305 * string/strtok.c (STRTOK): Likewise.
13306 * string/strcat.c: Remove unused #include of memcopy.h.
13307 (strcat): Use ANSI prototype.
13308 * string/strchr.c: Remove unused #include of memcopy.h.
13309 (strchr): Use ANSI prototype.
13310 * string/strcmp.c: Remove unused #include of memcopy.h.
13311 (strcmp): Use ANSI prototype.
13312 * string/strcpy.c: Remove unused #include of memcopy.h.
13313 (strcpy): Use ANSI prototype.
13314
7ffa9423
AZ
133152014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13316
13317 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13318 * config.make.in (config-extra-cppflags): Set it from
13319 libc_extra_cppflags.
13320 * configure.ac (libc_extra_cflags): Make it accumulate over
13321 configure fragments.
13322 (libc_extra_cppflags): New flag.
13323 * configure. Regenerate.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13325 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13326 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13328
8bd70862
AZ
13329 [BZ #16815]
13330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13331 result for FE_DOWNWARD rounding mode.
13332 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13333 Likewise.
13334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13335
d42f3448
CM
133362014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13337
13338 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13339 in function argument name.
13340
1c21d115
DS
133412014-04-03 David Svoboda <svoboda@cert.org>
13342
13343 [BZ #5666]
13344 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13345 explicitly.
13346
fcccd512
RM
133472014-04-03 Roland McGrath <roland@hack.frob.com>
13348
13349 * elf/dl-unmap-segments.h: New file.
13350 * sysdeps/generic/ldsodefs.h
13351 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13352 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13353 * elf/dl-fptr.c: Likewise.
13354 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13355 * sysdeps/aarch64/tlsdesc.c: Likewise.
13356 * sysdeps/arm/tlsdesc.c: Likewise.
13357 * sysdeps/i386/tlsdesc.c: Likewise.
13358 * sysdeps/tile/dl-runtime.c: Likewise.
13359 * sysdeps/x86_64/tlsdesc.c: Likewise.
13360 * elf/dl-load.h: New file.
13361 * elf/dl-load.c: Include it.
13362 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13363 Macros moved to dl-load.h.
13364 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13365 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13366 Use _dl_unmap_segments in place of __munmap.
13367 Break out segment-mapping loop into ...
13368 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13369
f6488e2b
WN
133702014-04-03 Will Newton <will.newton@linaro.org>
13371
13372 * elf/dl-lookup.c (do_lookup_x): Remove comment
13373 referring to nested function and move variable
13374 declarations down to before first use.
13375
6f05bafe
JM
133762014-04-02 Joseph Myers <joseph@codesourcery.com>
13377
a84e78c8
JM
13378 [BZ #16799]
13379 [BZ #16800]
13380 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13381 with 0 numerator.
13382 * math/s_catanf.c (__catanf): Likewise.
13383 * math/s_catanh.c (__catanh): Likewise.
13384 * math/s_catanhf.c (__catanhf): Likewise.
13385 * math/s_catanhl.c (__catanhl): Likewise.
13386 * math/s_catanl.c (__catanl): Likewise.
13387 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13388 by positive zero when computing -Inf result.
13389 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13390 (catanh_test): Likewise.
13391 * sysdeps/i386/fpu/libm-test-ulps: Update.
13392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13393
6f05bafe
JM
13394 [BZ #16789]
13395 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13396 instead of using underflowing value in computing result.
13397 * math/s_clog10.c (__clog10): Likewise.
13398 * math/s_clog10f.c (__clog10f): Likewise.
13399 * math/s_clog10l.c (__clog10l): Likewise.
13400 * math/s_clogf.c (__clogf): Likewise.
13401 * math/s_clogl.c (__clogl): Likewise.
13402 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13403 (clog10_test): Likewise.
13404 * sysdeps/i386/fpu/libm-test-ulps: Update.
13405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13406
b0abbc21
AM
134072014-04-02 Alan Modra <amodra@gmail.com>
13408
13409 [BZ #16739]
13410 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13411 output when value is near a power of two. Use int64_t for lx and
13412 remove casts. Use decimal rather than hex exponent constants.
13413 Don't use long double multiplication when double will suffice.
13414 * math/libm-test.inc (nextafter_test_data): Add tests.
13415 * NEWS: Add 16739 and 16786 to bug list.
13416
af6b1797
AM
13417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13418
483818d7
AM
13419 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13420
f6c55796
WN
134212014-04-01 Will Newton <will.newton@linaro.org>
13422
13423 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13424 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13425
13f7fe35
FW
134262014-04-01 Florian Weimer <fweimer@redhat.com>
13427
13428 [BZ #13347]
13429 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13430 * nptl/tst-setuid2.c: New file.
13431 * nptl/Makefile (xtests): Add tst-setuid2.
13432
c859b32e
AM
134332014-04-01 Alan Modra <amodra@gmail.com>
13434
13435 [BZ #16786]
13436 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13437
54fa2475
JM
134382014-03-31 Joseph Myers <joseph@codesourcery.com>
13439
8795b4a4
JM
13440 [BZ #6803]
13441 [BZ #6804]
13442 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13443 set errno as appropriate.
13444 * math/w_scalbf.c (__scalbf): Likewise.
13445 * math/w_scalbl.c (__scalbl): Likewise.
13446 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13447 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13448 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13449 Add more NaN tests.
13450
54fa2475
JM
13451 [BZ #16349]
13452 * math/w_atan2.c: Include <errno.h>.
13453 (__atan2): Set errno for result underflowing to zero.
13454 * math/w_atan2f.c: Include <errno.h>.
13455 (__atan2f): Set errno for result underflowing to zero.
13456 * math/w_atan2l.c: Include <errno.h>.
13457 (__atan2l): Set errno for result underflowing to zero.
13458 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13459 tests.
13460 * math/auto-libm-test-out: Regenerated.
13461
757d9dd5
AZ
134622014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13463
13464 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13465 Encode instruction correctly in little endian.
13466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13467 Likewise.
13468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13469 Likewise.
13470 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13471 Likewise.
13472 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13473 Likewise.
13474
d7a68734
JM
134752014-03-31 Joseph Myers <joseph@codesourcery.com>
13476
47c5adeb
JM
13477 [BZ #9894]
13478 * sysdeps/unix/sysv/linux/kernel-features.h
13479 [__sparc__ && !__arch64__ && !__sparc_v9__]
13480 (__ASSUME_SET_ROBUST_LIST): Do not define.
13481 [__sparc__ && !__arch64__ && !__sparc_v9__]
13482 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13483 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13484 Likewise.
13485 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13486 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13487 (__ASSUME_REQUEUE_PI): Likewise.
13488 (__ASSUME_SET_ROBUST_LIST): Likewise.
13489 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13490 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13491 Undefine.
13492 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13493 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13494 Likewise.
13495 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13496 Likewise.
13497 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13498 Likewise.
13499 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13500 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13501 Undefine.
13502 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13503 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13504 Likewise.
13505
d7a68734
JM
13506 [BZ #16648]
13507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13508 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13509 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13510
c760f5c2
WN
135112014-03-31 Will Newton <will.newton@linaro.org>
13512
13513 * benchtests/Makefile (bench): Add ffs and ffsll to list
13514 of tests.
13515 * benchtests/ffs-inputs: New file.
13516 * benchtests/ffsll-inputs: Likewise.
13517
ea6029b1
JM
135182014-03-29 Joseph Myers <joseph@codesourcery.com>
13519
13520 [BZ #16770]
13521 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13522 too large before casting to int.
13523 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13524 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13525 * math/libm-test.inc (scalb_test_data): Add more tests.
13526
cf806aff
SP
135272014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13528
56737508
SP
13529 * benchtests/Makefile (DETAILED_OPT): New make option.
13530 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13531 set.
13532 * benchtests/bench-skeleton.c: Include stdbool.h.
13533 (main): Store and print timings per input.
13534 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13535 member to each argument value.
13536 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13537 (_print_arg_data): Initialize per-input timing to 0.
13538
cb5e4aad
SP
13539 * benchtests/Makefile (timing-type): New binary.
13540 (bench-clean): Also remove bench-timing-type.
13541 (bench): New target for timing-type.
13542 (bench-func): Print output in JSON format.
13543 * benchtests/bench-skeleton.c (main): Print output in JSON
13544 format.
13545 * benchtests/bench-timing-type.c: New file.
13546 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13547 (TIMING_PRINT_STATS): Remove.
13548 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13549 name separately.
13550
cf806aff
SP
13551 * benchtests/bench-modf.c: Remove.
13552 * benchtests/modf-inputs: New inputs file.
13553
289e0779
JM
135542014-03-28 Joseph Myers <joseph@codesourcery.com>
13555
13556 [BZ #16362]
13557 * math/s_clog10.c (M_PI_LOG10E): New macro.
13558 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13559 imaginary parts are 0.
13560 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13561 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13562 imaginary parts are 0.
13563 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13564 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13565 imaginary parts are 0.
13566 * math/libm-test.inc (clog10_test_data): Update expected results
13567 for when real and imaginary parts are 0.
13568
277ae3f1
PP
135692014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13570
13571 * elf/dl-load.c: Finish conversion of __builtin_expect into
13572 __glibc_{un}likely.
13573
03a7091f
JM
135742014-03-27 Joseph Myers <joseph@codesourcery.com>
13575
13576 [BZ #16348]
13577 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13578 1+x for argument with exponent below -67.
13579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13580 Likewise.
13581 * math/auto-libm-test-in: Add more tests of exp.
13582 * math/auto-libm-test-out: Regenerated.
13583
ea7d8b95
SP
135842014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13585
dd3022d7
SP
13586 [BZ #16759]
13587 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13588 (nscd_getnetgrent): Use it.
13589
ea7d8b95
SP
13590 [BZ #16760]
13591 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13592 of stpcpy.
13593
df5b85da
AK
135942014-03-27 Andi Kleen <ak@linux.intel.com>
13595
57f41c40
AS
13596 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13597 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13598 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13599 (lll_robust_unlock): Remove out of line section. Use cfi
13600 intrinsics.
df5b85da 13601 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13602 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13603 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13604 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13605 (lll_robust_unlock): Remove out of line section. Use cfi
13606 intrinsics.
df5b85da
AK
13607 (LLL_STUB_UNWIND_INFO*): Remove.
13608
fbd6b5a4
SP
136092014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13610
13611 [BZ #16758]
13612 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13613 blank values.
13614
1b26b855
PP
136152014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13616
13617 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13618
9be36fb8
JM
136192014-03-26 Joseph Myers <joseph@codesourcery.com>
13620
13621 [BZ #16198]
13622 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13623 fnstenv.
13624 * math/test-fenv-preserve.c: New file.
13625 * math/Makefile (tests): Add test-fenv-preserve.
13626
60a2f3c1
WN
136272014-03-26 Will Newton <will.newton@linaro.org>
13628
13629 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13630
a5e5f1e2
RM
136312014-03-25 Roland McGrath <roland@hack.frob.com>
13632
13633 * scripts/versionlist.awk: Partition the version sets and emit all
13634 GLIBC_* (sorted) before all others (sorted).
13635
00f4012a
JM
136362014-03-25 Joseph Myers <joseph@codesourcery.com>
13637
13638 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13639 GLIBC_2.2.5 version.
13640
7bc5a741
AZ
136412014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13642
13643 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13644 calls.
13645
7578473b
AZ
13646 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13647 previous change.
13648
f3f1dab3
AZ
13649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13650
6da36183
AS
136512014-03-25 Andreas Schwab <schwab@suse.de>
13652
13653 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13654 label to be used after in6ailist is initialized.
13655
f3f1dab3 136562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13657
7578473b 13658 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13659 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13660
046651c1
JM
136612014-03-25 Joseph Myers <joseph@codesourcery.com>
13662
13663 [BZ #16357]
13664 [BZ #16599]
13665 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13666 min_plus_half.
13667 (fp_formats): Update initializers.
13668 (init_fp_formats): Initialize new field.
13669 (output_for_one_input_case): Allow underflow for results up to
13670 min_plus_half.
13671 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13672 * math/auto-libm-test-in: Don't mark some underflows from asin and
13673 atanh as spurious.
13674 * math/auto-libm-test-out: Regenerated.
13675 * sysdeps/i386/fpu/libm-test-ulps: Update.
13676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13677
003e49ed
AS
136782014-03-25 Andreas Schwab <schwab@suse.de>
13679
13680 * libio/Makefile (tst-ftell-partial-wide-ENV)
13681 (tst-ftell-active-handler-ENV): Define.
13682
de031874
SL
136832014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13684
13685 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13686
55a81e3b
PP
136872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13688
13689 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13690
f3426898
JM
136912014-03-24 Joseph Myers <joseph@codesourcery.com>
13692
13693 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13694 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13695 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13696
a42faf59
PP
136972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13698
13699 [BZ #16634]
a42faf59 13700 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13701 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13702 (open_path): Change from boolean 'secure' to complete flag 'mode'
13703 (_dl_map_object): Adjust.
a42faf59
PP
13704 * elf/Makefile (tests): Add tst-dlopen-aout.
13705 * elf/tst-dlopen-aout.c: New test.
13706
50936127
SL
137072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13708
13709 [BZ #16714]
13710 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13711 (struct stat): Rename member pad0 to __glibc_reserved0.
13712
26011b5c
SL
13713 [BZ #16712]
13714 * sysdeps/s390/s390-32/bits/wordsize.h
13715 (__WORDSIZE32_SIZE_ULONG): New define.
13716 * sysdeps/s390/s390-64/bits/wordsize.h
13717 (__WORDSIZE32_SIZE_ULONG): Likewise.
13718 * sysdeps/generic/stdint.h (SIZE_MAX):
13719 Define as UL if __WORDSIZE32_SIZE_ULONG.
13720
a2d86bf1
SL
13721 [BZ #16713]
13722 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13723 (__glibc_reserved0): New variable.
13724 (sa_flags): Change type to int.
13725
78b6eebc
SL
13726 * posix/Makefile (before-compile): Use += before-compile instead
13727 of a :=.
13728
f1399b5a
SL
13729 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13730 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13731
a071766e
AS
137322014-03-20 Andreas Schwab <schwab@suse.de>
13733
13734 [BZ #16743]
13735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13736 non-matching result from nscd.
13737
27c673b8
SP
137382014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13739
13740 * scripts/bench.py: Moved to ...
13741 * benchtests/scripts/bench.py: ... here.
13742 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13743
44152e4b
AS
137442014-03-24 Andreas Schwab <schwab@suse.de>
13745
13746 [BZ #16002]
13747 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13748 alloca_account and account alloca use for struct in6ailist.
13749
b376a11a
JM
137502014-03-24 Joseph Myers <joseph@codesourcery.com>
13751
13752 [BZ #16284]
13753 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13754 rounding mode to recompute results that overflow to infinity or
13755 underflow to zero.
13756 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13757 bug 16284.
13758 * math/auto-libm-test-out: Regenerated.
13759 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13760 (ccosh_test): Likewise.
13761 (csin_test_data): Use plus_oflow.
13762 (csin_test): Use ALL_RM_TEST.
13763 (csinh_test_data): Use plus_oflow.
13764 (csinh_test): Use ALL_RM_TEST.
13765 * sysdeps/i386/fpu/libm-test-ulps: Update.
13766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13767
f7be7376
JM
137682014-03-21 Joseph Myers <joseph@codesourcery.com>
13769
1ca2d03e
JM
13770 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13771 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13772 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13773
f7be7376
JM
13774 [BZ #16731]
13775 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13776 when x - 1 is zero.
13777 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13778 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13779 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13780 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13781 argument is 1.
13782 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13783 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13784 zero.
13785 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13788
fdf4534d
SP
137892014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13790
df26ea53
SP
13791 * scripts/bench.pl: Remove file.
13792 * scripts/bench.py: New benchmark script.
13793 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13794 * benchtests/README: Mention python dependency.
13795 * scripts/pylintrc: New file.
13796 * scripts/pylint: New file.
13797
fdf4534d
SP
13798 * bits/mathdef.h: Use #ifdef instead of #if.
13799 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13800 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13801 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13802 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13803 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13804 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13805
6f23d093
AZ
138062014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13808
13809 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13811 and strpbrk-ppc64 objects.
13812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13813 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13814 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13815 multiarch strpbrk for POWER7.
13816 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13817 multiarch strpbrk for PPC64.
13818 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13819 ifunc selector.
13820 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13821 strpbrk for POWER7.
13822
8c92dfff
JM
138232014-03-20 Joseph Myers <joseph@codesourcery.com>
13824
13825 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13826 (atan_test): Likewise.
13827 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13828 (atanh_test): Use ALL_RM_TEST.
13829 (atan2_test_data): Likewise.
13830 (cabs_test): Likewise.
13831 (cacosh_test): Likewise.
13832 (carg_test): Likewise.
13833 (casin_test): Likewise.
13834 (casinh_test): Likewise.
13835 (cbrt_test): Likewise.
13836 (csqrt_test): Likewise.
13837 (erf_test): Likewise.
13838 (erfc_test): Likewise.
13839 (pow10_test): Likewise.
13840 (exp2_test): Likewise.
13841 (hypot_test): Likewise.
13842 (j0_test): Likewise.
13843 (j1_test): Likewise.
13844 (lgamma_test): Likewise.
13845 (gamma_test): Likewise.
13846 (sincos_test): Likewise.
13847 (tanh_test): Likewise.
13848 (y0_test): Likewise.
13849 (y1_test): Likewise.
13850 * sysdeps/i386/fpu/libm-test-ulps: Update.
13851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13852
6eaf95cb
AZ
138532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13854
a387428c
SP
13855 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13857 and strcspn-ppc64 objects.
13858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13859 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13860 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13861 multiarch strcspn for POWER7.
13862 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13863 multiarch strcspn for PPC64.
13864 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13865 ifunc selector.
13866 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13867 strcspn for POWER7.
13868
ae3a5dff
JM
138692014-03-20 Joseph Myers <joseph@codesourcery.com>
13870
13871 * math/gen-libm-test.pl (generate_testfile): Expect only function
13872 name as argument to AUTO_TESTS_* and pass results for all rounding
13873 modes to parse_args.
13874 (parse_auto_input): Separate inputs of automatic tests from
13875 outputs before storing in %auto_tests.
13876 * math/libm-test.inc (acos_test_data): Update call to
13877 AUTO_TESTS_f_f.
13878 (acos_test): Use ALL_RM_TEST.
13879 (acos_tonearest_test_data): Remove.
13880 (acos_test_tonearest): Likewise.
13881 (acos_towardzero_test_data): Likewise.
13882 (acos_test_towardzero): Likewise.
13883 (acos_downward_test_data): Likewise.
13884 (acos_test_downward): Likewise.
13885 (acos_upward_test_data): Likewise.
13886 (acos_test_upward): Likewise.
13887 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13888 (asin_test_data): Likewise.
13889 (asin_test): Use ALL_RM_TEST.
13890 (asin_tonearest_test_data): Remove.
13891 (asin_test_tonearest): Likewise.
13892 (asin_towardzero_test_data): Likewise.
13893 (asin_test_towardzero): Likewise.
13894 (asin_downward_test_data): Likewise.
13895 (asin_test_downward): Likewise.
13896 (asin_upward_test_data): Likewise.
13897 (asin_test_upward): Likewise.
13898 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13899 (atan_test_data): Likewise.
13900 (atanh_test_data): Likewise.
13901 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13902 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13903 (carg_test_data): Likewise.
13904 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13905 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13906 (ccosh_test_data): Likewise.
13907 (cexp_test_data): Likewise.
13908 (clog_test_data): Likewise.
13909 (clog10_test_data): Likewise.
13910 (cos_test_data): Update call to AUTO_TESTS_f_f.
13911 (cos_test): Use ALL_RM_TEST.
13912 (cos_tonearest_test_data): Remove.
13913 (cos_test_tonearest): Likewise.
13914 (cos_towardzero_test_data): Likewise.
13915 (cos_test_towardzero): Likewise.
13916 (cos_downward_test_data): Likewise.
13917 (cos_test_downward): Likewise.
13918 (cos_upward_test_data): Likewise.
13919 (cos_test_upward): Likewise.
13920 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13921 (cosh_test): Use ALL_RM_TEST.
13922 (cosh_tonearest_test_data): Remove.
13923 (cosh_test_tonearest): Likewise.
13924 (cosh_towardzero_test_data): Likewise.
13925 (cosh_test_towardzero): Likewise.
13926 (cosh_downward_test_data): Likewise.
13927 (cosh_test_downward): Likewise.
13928 (cosh_upward_test_data): Likewise.
13929 (cosh_test_upward): Likewise.
13930 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13931 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13932 (ctan_test_data): Likewise.
13933 (ctan_test): Use ALL_RM_TEST.
13934 (ctan_tonearest_test_data): Remove.
13935 (ctan_test_tonearest): Likewise.
13936 (ctan_towardzero_test_data): Likewise.
13937 (ctan_test_towardzero): Likewise.
13938 (ctan_downward_test_data): Likewise.
13939 (ctan_test_downward): Likewise.
13940 (ctan_upward_test_data): Likewise.
13941 (ctan_test_upward): Likewise.
13942 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13943 (ctanh_test): Use ALL_RM_TEST.
13944 (ctanh_tonearest_test_data): Remove.
13945 (ctanh_test_tonearest): Likewise.
13946 (ctanh_towardzero_test_data): Likewise.
13947 (ctanh_test_towardzero): Likewise.
13948 (ctanh_downward_test_data): Likewise.
13949 (ctanh_test_downward): Likewise.
13950 (ctanh_upward_test_data): Likewise.
13951 (ctanh_test_upward): Likewise.
13952 (erf_test_data): Update call to AUTO_TESTS_f_f.
13953 (erfc_test_data): Likewise.
13954 (exp_test_data): Likewise.
13955 (exp_test): Use ALL_RM_TEST.
13956 (exp_tonearest_test_data): Remove.
13957 (exp_test_tonearest): Likewise.
13958 (exp_towardzero_test_data): Likewise.
13959 (exp_test_towardzero): Likewise.
13960 (exp_downward_test_data): Likewise.
13961 (exp_test_downward): Likewise.
13962 (exp_upward_test_data): Likewise.
13963 (exp_test_upward): Likewise.
13964 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13965 (exp10_test): Use ALL_RM_TEST.
13966 (exp10_tonearest_test_data): Remove.
13967 (exp10_test_tonearest): Likewise.
13968 (exp10_towardzero_test_data): Likewise.
13969 (exp10_test_towardzero): Likewise.
13970 (exp10_downward_test_data): Likewise.
13971 (exp10_test_downward): Likewise.
13972 (exp10_upward_test_data): Likewise.
13973 (exp10_test_upward): Likewise.
13974 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13975 (expm1_test_data): Likewise.
13976 (expm1_test): Use ALL_RM_TEST.
13977 (expm1_tonearest_test_data): Remove.
13978 (expm1_test_tonearest): Likewise.
13979 (expm1_towardzero_test_data): Likewise.
13980 (expm1_test_towardzero): Likewise.
13981 (expm1_downward_test_data): Likewise.
13982 (expm1_test_downward): Likewise.
13983 (expm1_upward_test_data): Likewise.
13984 (expm1_test_upward): Likewise.
13985 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13986 (fma_test): Use ALL_RM_TEST.
13987 (fma_towardzero_test_data): Remove.
13988 (fma_test_towardzero): Likewise.
13989 (fma_downward_test_data): Likewise.
13990 (fma_test_downward): Likewise.
13991 (fma_upward_test_data): Likewise.
13992 (fma_test_upward): Likewise.
13993 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13994 (j0_test_data): Update call to AUTO_TESTS_f_f.
13995 (j1_test_data): Likewise.
13996 (jn_test_data): Update call to AUTO_TESTS_if_f.
13997 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13998 (log_test_data): Update call to AUTO_TESTS_f_f.
13999 (log10_test_data): Likewise.
14000 (log1p_test_data): Likewise.
14001 (log2_test_data): Likewise.
14002 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14003 (pow_tonearest_test_data): Likewise.
14004 (sin_test_data): Update call to AUTO_TESTS_f_f.
14005 (sin_test): Use ALL_RM_TEST.
14006 (sin_tonearest_test_data): Remove.
14007 (sin_test_tonearest): Likewise.
14008 (sin_towardzero_test_data): Likewise.
14009 (sin_test_towardzero): Likewise.
14010 (sin_downward_test_data): Likewise.
14011 (sin_test_downward): Likewise.
14012 (sin_upward_test_data): Likewise.
14013 (sin_test_upward): Likewise.
14014 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14015 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14016 (sinh_test): Use ALL_RM_TEST.
14017 (sinh_tonearest_test_data): Remove.
14018 (sinh_test_tonearest): Likewise.
14019 (sinh_towardzero_test_data): Likewise.
14020 (sinh_test_towardzero): Likewise.
14021 (sinh_downward_test_data): Likewise.
14022 (sinh_test_downward): Likewise.
14023 (sinh_upward_test_data): Likewise.
14024 (sinh_test_upward): Likewise.
14025 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14026 (sqrt_test): Use ALL_RM_TEST.
14027 (sqrt_tonearest_test_data): Remove.
14028 (sqrt_test_tonearest): Likewise.
14029 (sqrt_towardzero_test_data): Likewise.
14030 (sqrt_test_towardzero): Likewise.
14031 (sqrt_downward_test_data): Likewise.
14032 (sqrt_test_downward): Likewise.
14033 (sqrt_upward_test_data): Likewise.
14034 (sqrt_test_upward): Likewise.
14035 (tan_test_data): Update call to AUTO_TESTS_f_f.
14036 (tan_test): Use ALL_RM_TEST.
14037 (tan_tonearest_test_data): Remove.
14038 (tan_test_tonearest): Likewise.
14039 (tan_towardzero_test_data): Likewise.
14040 (tan_test_towardzero): Likewise.
14041 (tan_downward_test_data): Likewise.
14042 (tan_test_downward): Likewise.
14043 (tan_upward_test_data): Likewise.
14044 (tan_test_upward): Likewise.
14045 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14046 (tgamma_test_data): Likewise.
14047 (y0_test_data): Likewise.
14048 (y1_test_data): Likewise.
14049 (yn_test_data): Update call to AUTO_TESTS_if_f.
14050 (main): Do not call removed functions.
14051
d71aeee8
JM
140522014-03-19 Joseph Myers <joseph@codesourcery.com>
14053
14054 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14055 (ldexp_test_data): Remove.
14056 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14057 scalbn_test_data.
14058 (scalb_test): Use ALL_RM_TEST.
14059
baaf1ded
AS
140602014-03-19 Andreas Schwab <schwab@suse.de>
14061
14062 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14063
b1115e91
JM
140642014-03-19 Joseph Myers <joseph@codesourcery.com>
14065
14066 [BZ #16649]
14067 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14068 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14069 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14071 (__ASSUME_PREADV): Undefine.
14072 (__ASSUME_PWRITEV): Likewise.
14073
0283ecca
RM
140742014-03-18 Roland McGrath <roland@hack.frob.com>
14075
7d375303
RM
14076 * bits/mman-linux.h: Add comment about non-Linux use.
14077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14078 bits/mman-linux.h resting place.
14079
0283ecca
RM
14080 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14081 * bits/mman-linux.h: ... here.
14082
aebe1003
AZ
140832014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14084
14085 * conform/conformtest.pl: Add standard definition when calling C
14086 preprocessor on data files.
14087 (checknamespace): Remove unused variable.
14088
b29b6bb8
JM
140892014-03-18 Joseph Myers <joseph@codesourcery.com>
14090
14091 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14092 minus_oflow, plus_uflow and minus_uflow in expected results.
14093 * math/libm-test.inc (scalbn_test_data): Add more tests of
14094 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14095 minus_uflow.
14096 (scalbn_test): Use ALL_RM_TEST.
14097 (scalbln_test_data): Add more tests of negative arguments. Use
14098 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14099 (scalbln_test): Use ALL_RM_TEST.
14100
c8f8fa15
RM
141012014-03-18 Roland McGrath <roland@hack.frob.com>
14102
14103 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14104
fede7a5f
WN
141052014-03-18 Will Newton <will.newton@linaro.org>
14106
14107 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14108 inaccurate comment.
14109
80cf0a58
JM
141102014-03-18 Joseph Myers <joseph@codesourcery.com>
14111
14112 * Makerules [!subdir] (check-abi): Exit with error status if a
14113 test failed.
14114
b3620862
JM
141152014-03-17 Joseph Myers <joseph@codesourcery.com>
14116
14117 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14118 for rint. Include results for all rounding modes.
14119 (nearbyint_test): Use ALL_RM_TEST.
14120 (rint_test_data): Include all tests used for nearbyint.
14121
788bba36
WN
141222014-03-17 Will Newton <will.newton@linaro.org>
14123
04ec140a
WN
14124 * nptl/sysdeps/pthread/pthread.h: Revert previous
14125 change.
14126
7579d8d5
WN
14127 * sysdeps/generic/ldsodefs.h: Revert previous
14128 change.
14129
c15cf13a
WN
14130 * libio/genops.c: Revert previous change.
14131 * libio/libioP.h: Likewise.
14132 * stdio-common/vfprintf.c: Likewise.
14133
d0ac1324
WN
14134 * sysdeps/generic/math_private.h: Revert previous
14135 change.
14136
9290130a
WN
14137 * sysdeps/generic/math_private.h: Check whether
14138 HAVE_RM_CTX is defined with #ifdef rather
14139 than #if.
14140
afb466fc
WN
14141 * argp/argp-fmtstream.h: Check whether
14142 __STRICT_ANSI__ is defined with #ifdef rather
14143 than #if.
14144 * argp/argp.h: Likewise.
14145
f7efd7c3
WN
14146 * libio/genops.c: Check whether
14147 _IO_JUMPS_OFFSET is defined with #ifdef rather
14148 than #if.
14149 * libio/libioP.h: Likewise.
14150 * stdio-common/vfprintf.c: Likewise.
14151
53f1bed3
WN
14152 * sysdeps/generic/ldsodefs.h: Check whether
14153 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14154 than #if.
14155
788bba36
WN
14156 * nptl/sysdeps/pthread/pthread.h: Check
14157 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14158 its value.
14159
fcd89ebe
SP
141602014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14161
ae42bbc5
SP
14162 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14163 setting O_APPEND.
14164 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14165 test case.
14166
ea33158c
SP
14167 [BZ #16680]
14168 * libio/fileops.c (_IO_file_open): Seek to end of file but
14169 don't cache the offset.
14170 (get_file_offset): Remove function.
14171 (do_ftell): Use cached offset when available.
14172 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14173 don't cache the offset.
14174 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14175 case.
14176 (do_one_test): Call it.
14177 (do_ftell_test): Fix up expected old offset for a+ mode.
14178 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14179 available.
14180
b1dbb426
SP
14181 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14182 up test status with function return status.
14183 (do_write_test): Likewise.
14184 (do_append_test): Likewise.
14185
fcd89ebe
SP
14186 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14187 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14188 Remove.
14189
9962a2d3
JM
141902014-03-17 Joseph Myers <joseph@codesourcery.com>
14191
14192 * math/gen-libm-test.pl (parse_args): Handle results specified for
14193 each rounding mode separately.
14194 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14195 tests and results from lrint_tonearest_test_data,
14196 lrint_towardzero_test_data, lrint_downward_test_data and
14197 lrint_upward_test_data.
14198 (lrint_test): Use ALL_RM_TEST.
14199 (lrint_tonearest_test_data): Remove.
14200 (lrint_test_tonearest): Likewise.
14201 (lrint_towardzero_test_data): Likewise.
14202 (lrint_test_towardzero): Likewise.
14203 (lrint_downward_test_data): Likewise.
14204 (lrint_test_downward): Likewise.
14205 (lrint_upward_test_data): Likewise.
14206 (lrint_test_upward): Likewise.
14207 (llrint_test_data): Merge in per-rounding-mode tests and results
14208 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14209 llrint_downward_test_data and llrint_upward_test_data.
14210 (llrint_test): Use ALL_RM_TEST.
14211 (llrint_tonearest_test_data): Remove.
14212 (llrint_test_tonearest): Likewise.
14213 (llrint_towardzero_test_data): Likewise.
14214 (llrint_test_towardzero): Likewise.
14215 (llrint_downward_test_data): Likewise.
14216 (llrint_test_downward): Likewise.
14217 (llrint_upward_test_data): Likewise.
14218 (llrint_test_upward): Likewise.
14219 (rint_test_data): Merge in per-rounding-mode tests and results
14220 from rint_tonearest_test_data, rint_towardzero_test_data,
14221 rint_downward_test_data and rint_upward_test_data. Add
14222 per-rounding-mode results for tests not in those arrays.
14223 (rint_test): Use ALL_RM_TEST.
14224 (rint_tonearest_test_data): Remove.
14225 (rint_test_tonearest): Likewise.
14226 (rint_towardzero_test_data): Likewise.
14227 (rint_test_towardzero): Likewise.
14228 (rint_downward_test_data): Likewise.
14229 (rint_test_downward): Likewise.
14230 (rint_upward_test_data): Likewise.
14231 (rint_test_upward): Likewise.
14232 (main): Don't call removed functions.
14233
5006148e
RM
142342014-03-14 Roland McGrath <roland@hack.frob.com>
14235
14236 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14237 "Compiled on ..." crapola. It is anti-useful.
14238
d6fe5e58
JM
142392014-03-14 Joseph Myers <joseph@codesourcery.com>
14240
14241 * scripts/evaluate-test.sh: Handle fourth argument to determine
14242 whether test run should stop on failure.
14243 * Makeconfig (stop-on-test-failure): New variable.
14244 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14245 $(stop-on-test-failure).
14246 * Makefile (tests): Give a summary of results from testing and
14247 exit with failure status if they include an ERROR or FAIL.
14248 (xtests): Likewise.
14249 * manual/install.texi (Configuring and compiling): Mention
14250 stop-on-test-failure=y.
14251 * INSTALL: Regenerated.
14252
498a2233
RM
142532014-03-14 Roland McGrath <roland@hack.frob.com>
14254
22dbc19d
RM
14255 * scripts/versionlist.awk: New file.
14256 * Makerules [$(build-shared) = yes]
14257 (postclean-generated): Add Versions.def, not Versions.def.v and
14258 Versions.def.v.i.
14259 ($(common-objpfx)Versions.def.v.i): Target removed.
14260 ($(common-objpfx)Versions.def): New target.
14261 ($(common-objpfx)Versions.all): Depend on that rather that
14262 $(common-objpfx)Versions.def.v.
14263 * Versions.def: File removed.
14264
498a2233
RM
14265 * Makeconfig (+gccwarn): Add -Wundef.
14266 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14267 a dl-sysdep.h breaking its contract.
14268 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14269 * include/stackinfo.h: New file.
14270 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14271 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14272 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14273 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14274 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14275 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14276 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14277 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14278 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14279 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14280 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14281 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14282 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14283 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14284 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14285
c7de5025
AZ
142862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14287
14288 [BZ #16707]
14289 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14290 implementation.
14291 * math/libm-test.inc (round_test_data): Add more tests.
14292
98fb27a3
AZ
14293 [BZ #16706]
14294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14295 implementation.
14296 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14297
374f7f61
AZ
14298 [BZ #16701]
14299 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14300 implementation.
14301 * math/libm-test.inc (ceil_test_data): Add more tests.
14302
4655c291
AZ
14303 * math/libm-test.inc (trunc_test_data): Add more tests related to
14304 BZ#16414.
14305
d7329d4b
RM
143062014-03-14 Roland McGrath <roland@hack.frob.com>
14307
14308 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14309 with #if rather than #ifdef.
14310 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14311
aa4de9ce
L
143122014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14315 first. Disable AVX-512 GCC support if assembler doesn't support
14316 it.
14317 * sysdeps/x86_64/configure: Regenerated.
14318
2e03fae7
CD
143192014-03-13 Carlos O'Donell <carlos@redhat.com>
14320
14321 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14322 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14323 (__old_pthread_attr_setstack): Likewise.
14324 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14325 [!_STACK_GROWS_DOWN]: Likewise.
14326
43ca83ec
MF
143272014-03-13 Mike Frysinger <vapier@gentoo.org>
14328
14329 * config.make.in (have-bash2): Delete.
14330 * configure.ac (libc_cv_have_bash2): Delete.
14331 * configure: Regenerate.
14332 * elf/Makefile (common-ldd-rewrite): Rename to ...
14333 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14334 (sh-ldd-rewrite): Delete.
14335 (bash-ldd-rewrite): Delete.
14336 (have-bash2): Delete checks.
57f41c40
AS
14337 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14338 ldd-rewrite.
c66e48b4
MF
14339
14340 * config.make.in (have-ksh): Delete.
14341 (KSH): Delete.
14342 * configure.ac (libc_cv_have_ksh): Delete.
14343 * configure: Regenerate.
14344
b93834ef
MF
14345 * elf/Makefile: Delete $(have-ksh) check.
14346 ($(objpfx)sotruss): Change KSH to BASH.
14347 * elf/sotruss.ksh: Rename to ...
14348 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14349 function style to match POSIX. Drop ksh vim mode setting.
14350
f3a4632a
MF
14351 * manual/time.texi (Specifying the Time Zone with TZ): Change
14352 Tuesday to Thursday.
14353
5896c8bd
MF
14354 * debug/tst-longjmp_chk2.c: Update header comment.
14355 (stackoverflow_handler): Add comment. Call assert on pass value.
14356
2d63a517
IZ
143572014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14358
7e54fd04 14359 [BZ #16194]
2d63a517
IZ
14360 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14361 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14362 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14363 (La_x86_64_vector): Add zmm.
14364 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14365 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14366 ($(objpfx)tst-audit10): New target.
14367 ($(objpfx)tst-audit10.out): Likewise.
14368 (tst-audit10-ENV): New.
14369 (AVX512-CFLAGS): Likewise.
14370 (CFLAGS-tst-audit10.c): Likewise.
14371 (CFLAGS-tst-auditmod10a.c): Likewise.
14372 (CFLAGS-tst-auditmod10b.c): Likewise.
14373 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14374 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14375 * sysdeps/x86_64/configure: Regenerated.
14376 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14377 AVX-512 zmm register support.
14378 (_dl_x86_64_save_sse): Likewise.
14379 (_dl_x86_64_restore_sse): Likewise.
14380 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14381 size vector registers.
14382 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14383 (ZMM_SIZE): Likewise.
14384 * sysdeps/x86_64/tst-audit10.c: New file.
14385 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14386 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14387
44c4e5d5
RM
143882014-03-13 Roland McGrath <roland@hack.frob.com>
14389
14390 * configure.ac (HAVE_EHDR_START): New check.
14391 * configure: Regenerated.
14392 * config.h.in (HAVE_EHDR_START): New #undef.
14393 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14394 assuming the lowest-addressed segment maps the start of the file.
14395
acd6e389
JM
143962014-03-13 Joseph Myers <joseph@codesourcery.com>
14397
14398 * INSTALL: Regenerated.
14399
6f918f36
WN
144002014-03-13 Will Newton <will.newton@linaro.org>
14401
14402 * manual/setjmp.texi (System V contexts): Improve
14403 clarity and grammar of documentation.
14404
798212a0
PP
144052014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14406
14407 [BZ #16381]
798212a0 14408 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14409 (tests-pie): Add tst-pie2.
798212a0
PP
14410 * elf/tst-pie2.c: New file.
14411 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14412 for ET_EXEC.
14413 * elf/rtld.c (map_doit): Load executable as lt_executable.
14414 (dl_main): Likewise.
14415
abe6d90c
JM
144162014-03-12 Joseph Myers <joseph@codesourcery.com>
14417
14418 [BZ #16642]
14419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14420 (__ASSUME_PSELECT): Undefine.
14421
dd3946c6
AZ
144222014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14423
14424 [BZ #16689]
14425 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14426 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14427 static build.
14428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14429 selector for static builds.
14430
c44496df
SP
144312014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14432
14433 [BZ #16695]
14434 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14435 key in the buffer.
14436
27c7220a
AZ
144372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14438
57f41c40
AS
14439 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14440 IFUNC selector for static builds.
27c7220a 14441
600fa361
JM
144422014-03-11 Joseph Myers <joseph@codesourcery.com>
14443
76c96cf7
JM
14444 * sysdeps/mips/math_private.h [__mips_hard_float]
14445 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14446 libc_feresetround_mips_ctx.
14447 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14448 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14449 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14450
600fa361
JM
14451 [BZ #16677]
14452 * math/s_nextafter.c (__nextafter): Do not return value from
14453 overflowing computation.
14454 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14455 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14456 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14457 Likewise.
14458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14459 Likewise.
14460 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14461 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14462
d7706c32
RM
144632014-03-11 Roland McGrath <roland@hack.frob.com>
14464
14465 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14466 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14467 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14468 the new mov targetting sp.
14469
4facea47
AZ
144702014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14471
14472 [BZ #16683]
14473 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14474 Define it for static builds as well.
14475 (NO_BZERO_IMPL): Likewise.
14476
e65caf1f
VR
144772014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14478
14479 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14480 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14481 multiarch strspn for PPC64.
14482 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14483 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14485 (__libc_ifunc_impl_list): Likewise.
14486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14487 multiarch optimizations
14488 * string/strspn.c (strspn): Using macro to redefine symbol name.
14489
ba9cc071
AZ
144902014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14491 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14492
14493 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14494 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14495 multiarch strncat for PPC64.
14496 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14497 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14499 (__libc_ifunc_impl_list): Likewise.
14500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14501 multiarch optimizations
14502
8b4ff974
SP
145032014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14504
14505 [BZ #16639]
14506 * nscd/nscd.service: Make service type forking.
14507
54b46a4b
AZ
145082014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14509
14510 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14511 sign in non default rounding modes.
14512 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14513
e9996ef7
JM
145142014-03-08 Joseph Myers <joseph@codesourcery.com>
14515
14516 * math/libm-test.inc (ALL_RM_TEST): New macro.
14517 (ceil_test): Use ALL_RM_TEST.
14518 (cimag_test): Likewise.
14519 (conj_test): Likewise.
14520 (copysign_test): Likewise.
14521 (cproj_test): Likewise.
14522 (creal_test): Likewise.
14523 (fabs_test): Likewise.
14524 (floor_test): Likewise.
14525 (fmax_test): Likewise.
14526 (fmin_test): Likewise.
14527 (fmod_test): Likewise.
14528 (fpclassify_test): Likewise.
14529 (frexp_test): Likewise.
14530 (ilogb_test): Likewise.
14531 (isfinite_test): Likewise.
14532 (finite_test): Likewise.
14533 (isgreater_test): Likewise.
14534 (isgreaterequal_test): Likewise.
14535 (isinf_test): Likewise.
14536 (isless_test): Likewise.
14537 (islessequal_test): Likewise.
14538 (islessgreater_test): Likewise.
14539 (isnan_test): Likewise.
14540 (isnormal_test): Likewise.
14541 (issignaling_test): Likewise.
14542 (isunordered_test): Likewise.
14543 (logb_test): Likewise.
14544 (logb_downward_test_data): Remove.
14545 (logb_test_downward): Likewise.
14546 (lround_test): Use ALL_RM_TEST.
14547 (llround_test): Likewise.
14548 (modf_test): Likewise.
14549 (nexttoward_test): Likewise.
14550 (remainder_test): Likewise.
14551 (drem_test): Likewise.
14552 (remainder_tonearest_test_data): Likewise.
14553 (remainder_test_tonearest): Likewise.
14554 (drem_test_tonearest): Likewise.
14555 (remainder_towardzero_test_data): Likewise.
14556 (remainder_test_towardzero): Likewise.
14557 (drem_test_towardzero): Likewise.
14558 (remainder_downward_test_data): Likewise.
14559 (remainder_test_downward): Likewise.
14560 (drem_test_downward): Likewise.
14561 (remainder_upward_test_data): Likewise.
14562 (remainder_test_upward): Likewise.
14563 (drem_test_upward): Likewise.
14564 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14565 (round_test): Use ALL_RM_TEST.
14566 (signbit_test): Likewise.
14567 (trunc_test): Likewise.
14568 (significand_test): Likewise.
14569 (main): Don't call removed functions.
14570
bc61d27c
JM
145712014-03-07 Joseph Myers <joseph@codesourcery.com>
14572
5c780849
JM
14573 [BZ #16674]
14574 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14575 || __USE_XOPEN2K8].
14576 (ILL_ILLOPN): Likewise.
14577 (ILL_ILLADR): Likewise.
14578 (ILL_ILLTRP): Likewise.
14579 (ILL_PRVOPC): Likewise.
14580 (ILL_PRVREG): Likewise.
14581 (ILL_COPROC): Likewise.
14582 (ILL_BADSTK): Likewise.
14583 (FPE_INTDIV): Likewise.
14584 (FPE_INTOVF): Likewise.
14585 (FPE_FLTDIV): Likewise.
14586 (FPE_FLTOVF): Likewise.
14587 (FPE_FLTUND): Likewise.
14588 (FPE_FLTRES): Likewise.
14589 (FPE_FLTINV): Likewise.
14590 (FPE_FLTSUB): Likewise.
14591 (SEGV_MAPERR): Likewise.
14592 (SEGV_ACCERR): Likewise.
14593 (BUS_ADRALN): Likewise.
14594 (BUS_ADRERR): Likewise.
14595 (BUS_OBJERR): Likewise.
14596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14597 (TRAP_TRACE): Likewise.
14598 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14599 __USE_XOPEN2K8].
14600 (CLD_KILLED): Likewise.
14601 (CLD_DUMPED): Likewise.
14602 (CLD_TRAPPED): Likewise.
14603 (CLD_STOPPED): Likewise.
14604 (CLD_CONTINUED): Likewise.
14605 (POLL_IN): Likewise.
14606 (POLL_OUT): Likewise.
14607 (POLL_MSG): Likewise.
14608 (POLL_ERR): Likewise.
14609 (POLL_PRI): Likewise.
14610 (POLL_HUP): Likewise.
14611 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14612 Likewise.
14613 (ILL_ILLOPN): Likewise.
14614 (ILL_ILLADR): Likewise.
14615 (ILL_ILLTRP): Likewise.
14616 (ILL_PRVOPC): Likewise.
14617 (ILL_PRVREG): Likewise.
14618 (ILL_COPROC): Likewise.
14619 (ILL_BADSTK): Likewise.
14620 (FPE_INTDIV): Likewise.
14621 (FPE_INTOVF): Likewise.
14622 (FPE_FLTDIV): Likewise.
14623 (FPE_FLTOVF): Likewise.
14624 (FPE_FLTUND): Likewise.
14625 (FPE_FLTRES): Likewise.
14626 (FPE_FLTINV): Likewise.
14627 (FPE_FLTSUB): Likewise.
14628 (SEGV_MAPERR): Likewise.
14629 (SEGV_ACCERR): Likewise.
14630 (BUS_ADRALN): Likewise.
14631 (BUS_ADRERR): Likewise.
14632 (BUS_OBJERR): Likewise.
14633 (BUS_MCEERR_AR): Likewise.
14634 (BUS_MCEERR_AO): Likewise.
14635 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14636 (TRAP_TRACE): Likewise.
14637 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14638 __USE_XOPEN2K8].
14639 (CLD_KILLED): Likewise.
14640 (CLD_DUMPED): Likewise.
14641 (CLD_TRAPPED): Likewise.
14642 (CLD_STOPPED): Likewise.
14643 (CLD_CONTINUED): Likewise.
14644 (POLL_IN): Likewise.
14645 (POLL_OUT): Likewise.
14646 (POLL_MSG): Likewise.
14647 (POLL_ERR): Likewise.
14648 (POLL_PRI): Likewise.
14649 (POLL_HUP): Likewise.
14650 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14651 (ILL_ILLOPN): Likewise.
14652 (ILL_ILLADR): Likewise.
14653 (ILL_ILLTRP): Likewise.
14654 (ILL_PRVOPC): Likewise.
14655 (ILL_PRVREG): Likewise.
14656 (ILL_COPROC): Likewise.
14657 (ILL_BADSTK): Likewise.
14658 (FPE_INTDIV): Likewise.
14659 (FPE_INTOVF): Likewise.
14660 (FPE_FLTDIV): Likewise.
14661 (FPE_FLTOVF): Likewise.
14662 (FPE_FLTUND): Likewise.
14663 (FPE_FLTRES): Likewise.
14664 (FPE_FLTINV): Likewise.
14665 (FPE_FLTSUB): Likewise.
14666 (SEGV_MAPERR): Likewise.
14667 (SEGV_ACCERR): Likewise.
14668 (BUS_ADRALN): Likewise.
14669 (BUS_ADRERR): Likewise.
14670 (BUS_OBJERR): Likewise.
14671 (BUS_MCEERR_AR): Likewise.
14672 (BUS_MCEERR_AO): Likewise.
14673 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14674 (TRAP_TRACE): Likewise.
14675 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14676 __USE_XOPEN2K8].
14677 (CLD_KILLED): Likewise.
14678 (CLD_DUMPED): Likewise.
14679 (CLD_TRAPPED): Likewise.
14680 (CLD_STOPPED): Likewise.
14681 (CLD_CONTINUED): Likewise.
14682 (POLL_IN): Likewise.
14683 (POLL_OUT): Likewise.
14684 (POLL_MSG): Likewise.
14685 (POLL_ERR): Likewise.
14686 (POLL_PRI): Likewise.
14687 (POLL_HUP): Likewise.
14688 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14689 Likewise.
14690 (ILL_ILLOPN): Likewise.
14691 (ILL_ILLADR): Likewise.
14692 (ILL_ILLTRP): Likewise.
14693 (ILL_PRVOPC): Likewise.
14694 (ILL_PRVREG): Likewise.
14695 (ILL_COPROC): Likewise.
14696 (ILL_BADSTK): Likewise.
14697 (ILL_BADIADDR): Likewise.
14698 (ILL_BREAK): Likewise.
14699 (FPE_INTDIV): Likewise.
14700 (FPE_INTOVF): Likewise.
14701 (FPE_FLTDIV): Likewise.
14702 (FPE_FLTOVF): Likewise.
14703 (FPE_FLTUND): Likewise.
14704 (FPE_FLTRES): Likewise.
14705 (FPE_FLTINV): Likewise.
14706 (FPE_FLTSUB): Likewise.
14707 (FPE_DECOVF): Likewise.
14708 (FPE_DECDIV): Likewise.
14709 (FPE_DECERR): Likewise.
14710 (FPE_INVASC): Likewise.
14711 (FPE_INVDEC): Likewise.
14712 (SEGV_MAPERR): Likewise.
14713 (SEGV_ACCERR): Likewise.
14714 (SEGV_PSTKOVF): Likewise.
14715 (BUS_ADRALN): Likewise.
14716 (BUS_ADRERR): Likewise.
14717 (BUS_OBJERR): Likewise.
14718 (BUS_MCEERR_AR): Likewise.
14719 (BUS_MCEERR_AO): Likewise.
14720 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14721 (TRAP_TRACE): Likewise.
14722 (TRAP_BRANCH): Likewise.
14723 (TRAP_HWBKPT): Likewise.
14724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14725 __USE_XOPEN2K8].
14726 (CLD_KILLED): Likewise.
14727 (CLD_DUMPED): Likewise.
14728 (CLD_TRAPPED): Likewise.
14729 (CLD_STOPPED): Likewise.
14730 (CLD_CONTINUED): Likewise.
14731 (POLL_IN): Likewise.
14732 (POLL_OUT): Likewise.
14733 (POLL_MSG): Likewise.
14734 (POLL_ERR): Likewise.
14735 (POLL_PRI): Likewise.
14736 (POLL_HUP): Likewise.
14737 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14738 (ILL_ILLOPN): Likewise.
14739 (ILL_ILLADR): Likewise.
14740 (ILL_ILLTRP): Likewise.
14741 (ILL_PRVOPC): Likewise.
14742 (ILL_PRVREG): Likewise.
14743 (ILL_COPROC): Likewise.
14744 (ILL_BADSTK): Likewise.
14745 (FPE_INTDIV): Likewise.
14746 (FPE_INTOVF): Likewise.
14747 (FPE_FLTDIV): Likewise.
14748 (FPE_FLTOVF): Likewise.
14749 (FPE_FLTUND): Likewise.
14750 (FPE_FLTRES): Likewise.
14751 (FPE_FLTINV): Likewise.
14752 (FPE_FLTSUB): Likewise.
14753 (SEGV_MAPERR): Likewise.
14754 (SEGV_ACCERR): Likewise.
14755 (BUS_ADRALN): Likewise.
14756 (BUS_ADRERR): Likewise.
14757 (BUS_OBJERR): Likewise.
14758 (BUS_MCEERR_AR): Likewise.
14759 (BUS_MCEERR_AO): Likewise.
14760 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14761 (TRAP_TRACE): Likewise.
14762 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14763 __USE_XOPEN2K8].
14764 (CLD_KILLED): Likewise.
14765 (CLD_DUMPED): Likewise.
14766 (CLD_TRAPPED): Likewise.
14767 (CLD_STOPPED): Likewise.
14768 (CLD_CONTINUED): Likewise.
14769 (POLL_IN): Likewise.
14770 (POLL_OUT): Likewise.
14771 (POLL_MSG): Likewise.
14772 (POLL_ERR): Likewise.
14773 (POLL_PRI): Likewise.
14774 (POLL_HUP): Likewise.
14775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14776 (ILL_ILLOPN): Likewise.
14777 (ILL_ILLADR): Likewise.
14778 (ILL_ILLTRP): Likewise.
14779 (ILL_PRVOPC): Likewise.
14780 (ILL_PRVREG): Likewise.
14781 (ILL_COPROC): Likewise.
14782 (ILL_BADSTK): Likewise.
14783 (FPE_INTDIV): Likewise.
14784 (FPE_INTOVF): Likewise.
14785 (FPE_FLTDIV): Likewise.
14786 (FPE_FLTOVF): Likewise.
14787 (FPE_FLTUND): Likewise.
14788 (FPE_FLTRES): Likewise.
14789 (FPE_FLTINV): Likewise.
14790 (FPE_FLTSUB): Likewise.
14791 (SEGV_MAPERR): Likewise.
14792 (SEGV_ACCERR): Likewise.
14793 (BUS_ADRALN): Likewise.
14794 (BUS_ADRERR): Likewise.
14795 (BUS_OBJERR): Likewise.
14796 (BUS_MCEERR_AR): Likewise.
14797 (BUS_MCEERR_AO): Likewise.
14798 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14799 (TRAP_TRACE): Likewise.
14800 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14801 __USE_XOPEN2K8].
14802 (CLD_KILLED): Likewise.
14803 (CLD_DUMPED): Likewise.
14804 (CLD_TRAPPED): Likewise.
14805 (CLD_STOPPED): Likewise.
14806 (CLD_CONTINUED): Likewise.
14807 (POLL_IN): Likewise.
14808 (POLL_OUT): Likewise.
14809 (POLL_MSG): Likewise.
14810 (POLL_ERR): Likewise.
14811 (POLL_PRI): Likewise.
14812 (POLL_HUP): Likewise.
14813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14814 (ILL_ILLOPN): Likewise.
14815 (ILL_ILLADR): Likewise.
14816 (ILL_ILLTRP): Likewise.
14817 (ILL_PRVOPC): Likewise.
14818 (ILL_PRVREG): Likewise.
14819 (ILL_COPROC): Likewise.
14820 (ILL_BADSTK): Likewise.
14821 (FPE_INTDIV): Likewise.
14822 (FPE_INTOVF): Likewise.
14823 (FPE_FLTDIV): Likewise.
14824 (FPE_FLTOVF): Likewise.
14825 (FPE_FLTUND): Likewise.
14826 (FPE_FLTRES): Likewise.
14827 (FPE_FLTINV): Likewise.
14828 (FPE_FLTSUB): Likewise.
14829 (SEGV_MAPERR): Likewise.
14830 (SEGV_ACCERR): Likewise.
14831 (BUS_ADRALN): Likewise.
14832 (BUS_ADRERR): Likewise.
14833 (BUS_OBJERR): Likewise.
14834 (BUS_MCEERR_AR): Likewise.
14835 (BUS_MCEERR_AO): Likewise.
14836 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14837 (TRAP_TRACE): Likewise.
14838 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14839 __USE_XOPEN2K8].
14840 (CLD_KILLED): Likewise.
14841 (CLD_DUMPED): Likewise.
14842 (CLD_TRAPPED): Likewise.
14843 (CLD_STOPPED): Likewise.
14844 (CLD_CONTINUED): Likewise.
14845 (POLL_IN): Likewise.
14846 (POLL_OUT): Likewise.
14847 (POLL_MSG): Likewise.
14848 (POLL_ERR): Likewise.
14849 (POLL_PRI): Likewise.
14850 (POLL_HUP): Likewise.
14851 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14852 (ILL_ILLOPN): Likewise.
14853 (ILL_ILLADR): Likewise.
14854 (ILL_ILLTRP): Likewise.
14855 (ILL_PRVOPC): Likewise.
14856 (ILL_PRVREG): Likewise.
14857 (ILL_COPROC): Likewise.
14858 (ILL_BADSTK): Likewise.
14859 (ILL_DBLFLT): Likewise.
14860 (ILL_HARDWALL): Likewise.
14861 (FPE_INTDIV): Likewise.
14862 (FPE_INTOVF): Likewise.
14863 (FPE_FLTDIV): Likewise.
14864 (FPE_FLTOVF): Likewise.
14865 (FPE_FLTUND): Likewise.
14866 (FPE_FLTRES): Likewise.
14867 (FPE_FLTINV): Likewise.
14868 (FPE_FLTSUB): Likewise.
14869 (SEGV_MAPERR): Likewise.
14870 (SEGV_ACCERR): Likewise.
14871 (BUS_ADRALN): Likewise.
14872 (BUS_ADRERR): Likewise.
14873 (BUS_OBJERR): Likewise.
14874 (BUS_MCEERR_AR): Likewise.
14875 (BUS_MCEERR_AO): Likewise.
14876 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14877 (TRAP_TRACE): Likewise.
14878 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14879 __USE_XOPEN2K8].
14880 (CLD_KILLED): Likewise.
14881 (CLD_DUMPED): Likewise.
14882 (CLD_TRAPPED): Likewise.
14883 (CLD_STOPPED): Likewise.
14884 (CLD_CONTINUED): Likewise.
14885 (POLL_IN): Likewise.
14886 (POLL_OUT): Likewise.
14887 (POLL_MSG): Likewise.
14888 (POLL_ERR): Likewise.
14889 (POLL_PRI): Likewise.
14890 (POLL_HUP): Likewise.
14891 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14892 (ILL_ILLOPN): Likewise.
14893 (ILL_ILLADR): Likewise.
14894 (ILL_ILLTRP): Likewise.
14895 (ILL_PRVOPC): Likewise.
14896 (ILL_PRVREG): Likewise.
14897 (ILL_COPROC): Likewise.
14898 (ILL_BADSTK): Likewise.
14899 (FPE_INTDIV): Likewise.
14900 (FPE_INTOVF): Likewise.
14901 (FPE_FLTDIV): Likewise.
14902 (FPE_FLTOVF): Likewise.
14903 (FPE_FLTUND): Likewise.
14904 (FPE_FLTRES): Likewise.
14905 (FPE_FLTINV): Likewise.
14906 (FPE_FLTSUB): Likewise.
14907 (SEGV_MAPERR): Likewise.
14908 (SEGV_ACCERR): Likewise.
14909 (BUS_ADRALN): Likewise.
14910 (BUS_ADRERR): Likewise.
14911 (BUS_OBJERR): Likewise.
14912 (BUS_MCEERR_AR): Likewise.
14913 (BUS_MCEERR_AO): Likewise.
14914 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14915 (TRAP_TRACE): Likewise.
14916 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14917 __USE_XOPEN2K8].
14918 (CLD_KILLED): Likewise.
14919 (CLD_DUMPED): Likewise.
14920 (CLD_TRAPPED): Likewise.
14921 (CLD_STOPPED): Likewise.
14922 (CLD_CONTINUED): Likewise.
14923 (POLL_IN): Likewise.
14924 (POLL_OUT): Likewise.
14925 (POLL_MSG): Likewise.
14926 (POLL_ERR): Likewise.
14927 (POLL_PRI): Likewise.
14928 (POLL_HUP): Likewise.
14929 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14930 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14931
bc61d27c
JM
14932 [BZ #16670]
14933 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14934 before #include of <time.h>.
14935 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14936 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14937 (test-xfail-UNIX98/sched.h/conform): Likewise.
14938
302949e2
MS
149392014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14940
14941 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14942 error absence of trapping exception support.
14943 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14944
a00f522a
JM
149452014-03-07 Joseph Myers <joseph@codesourcery.com>
14946
6f99f280
JM
14947 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14948 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14949 * timezone/Makefile (testdata): Move definition above include of
14950 Rules.
14951 (test-zones): New variable.
14952 (tests-special): Add zone files.
14953 (build-testdata): Use $(evaluate-test).
14954
0b20a9e8
JM
14955 * elf/Makefile (tests-special): Rename tests to end with .out.
14956 ($(objpfx)noload-mem): Likewise.
14957 ($(objpfx)tst-leaks1-mem): Likewise.
14958 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14959 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14960 $(objpfx)test-iconvconfig.out.
14961 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14962 set -e inside subshell and redirect output to file.
14963 * iconvdata/Makefile (generated): Rename tests to end with .out.
14964 Correct type.
14965 (tests-special): Rename tests to end with .out.
14966 ($(objpfx)mtrace-tst-loading): Likewise.
14967 * intl/Makefile (generated): Likewise.
14968 (tests-special): Likewise.
14969 ($(objpfx)mtrace-tst-gettext): Likewise.
14970 * misc/Makefile (generated): Likewise.
14971 (tests-special): Likewise.
14972 ($(objpfx)tst-error1-mem): Likewise.
14973 * nptl/Makefile (tests-special): Likewise.
14974 ($(objpfx)tst-stack3-mem): Likewise.
14975 (generated): Likewise.
14976 * posix/Makefile (generated): Likewise.
14977 (tests-special): Likewise.
14978 (xtests-special): Likewise.
14979 ($(objpfx)tst-fnmatch-mem): Likewise.
14980 ($(objpfx)bug-regex2-mem): Likewise.
14981 ($(objpfx)bug-regex14-mem): Likewise.
14982 ($(objpfx)bug-regex21-mem): Likewise.
14983 ($(objpfx)bug-regex31-mem): Likewise.
14984 ($(objpfx)tst-vfork3-mem): Likewise.
14985 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14986 ($(objpfx)tst-pcre-mem): Likewise.
14987 ($(objpfx)tst-boost-mem): Likewise.
14988 ($(objpfx)bug-ga2-mem): Likewise.
14989 ($(objpfx)bug-glob2-mem): Likewise.
14990 * resolv/Makefile (generate): Likewise.
14991 (tests-special): Likewise.
14992 (xtests-special): Likewise.
14993 (generated): Likewise.
14994 ($(objpfx)mtrace-tst-leaks): Likewise.
14995 ($(objpfx)mtrace-tst-leaks2): Likewise.
14996
265d52ab
JM
14997 * scripts/merge-test-results.sh: New file.
14998 * Makefile (tests-special-notdir): New variable.
14999 (tests): Run merge-test-results.sh.
15000 (xtests): Likewise.
15001 * Rules (tests-special-notdir): New variable.
15002 (xtests-special-notdir): Likewise.
15003 (tests): Run merge-test-results.sh
15004 (xtests): Likewise.
15005
54ee292d
JM
15006 * Makeconfig (test-xfail-name): New variable.
15007 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15008 compute variable name for expected failures.
15009 * conform/Makefile (conformtest-headers-data): New variable.
15010 (conformtest-standards): Likewise.
15011 (conformtest-headers-ISO): Likewise.
15012 (conformtest-headers-ISO99): Likewise.
15013 (conformtest-headers-ISO11): Likewise.
15014 (conformtest-headers-POSIX): Likewise.
15015 (conformtest-headers-XPG3): Likewise.
15016 (conformtest-headers-XPG4): Likewise.
15017 (conformtest-headers-UNIX98): Likewise.
15018 (conformtest-headers-XOPEN2K): Likewise.
15019 (conformtest-headers-POSIX2008): Likewise.
15020 (conformtest-headers-XOPEN2K8): Likewise.
15021 (conformtest-header-list-base): Likewise.
15022 (conformtest-header-list-tests): Likewise.
15023 (conformtest-header-base): Likewise.
15024 (conformtest-header-tests): Likewise.
15025 (tests-special): Add $(conformtest-header-list-tests). If
15026 [$(fast-check) && !$(cross-compiling)], add
15027 $(conformtest-header-tests) instead of
15028 $(objpfx)run-conformtest.out.
15029 (generated): Add $(conformtest-header-list-base). If
15030 [$(fast-check) && !$(cross-compiling)], add
15031 $(conformtest-header-base). Remove previous setting.
15032 ($(conformtest-header-list-tests)): New target.
15033 (test-xfail-run-conformtest): Remove variable.
15034 ($(objpfx)run-conformtest.out): Remove target.
15035 (test-xfail-ISO11/complex.h/conform): New variable.
15036 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15037 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15038 (test-xfail-XPG3/varargs.h/conform): Likewise.
15039 (test-xfail-XPG4/varargs.h/conform): Likewise.
15040 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15041 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15042 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15043 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15044 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15045 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15046 (test-xfail-XPG3/ftw.h/conform): Likewise.
15047 (test-xfail-XPG3/grp.h/conform): Likewise.
15048 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15049 (test-xfail-XPG3/limits.h/conform): Likewise.
15050 (test-xfail-XPG3/pwd.h/conform): Likewise.
15051 (test-xfail-XPG3/search.h/conform): Likewise.
15052 (test-xfail-XPG3/signal.h/conform): Likewise.
15053 (test-xfail-XPG3/stdio.h/conform): Likewise.
15054 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15055 (test-xfail-XPG3/string.h/conform): Likewise.
15056 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15057 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15058 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15059 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15060 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15061 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15062 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15063 (test-xfail-XPG3/termios.h/conform): Likewise.
15064 (test-xfail-XPG3/time.h/conform): Likewise.
15065 (test-xfail-XPG3/unistd.h/conform): Likewise.
15066 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15067 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15068 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15069 (test-xfail-XPG4/netdb.h/conform): Likewise.
15070 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15071 (test-xfail-XPG4/signal.h/conform): Likewise.
15072 (test-xfail-XPG4/stdio.h/conform): Likewise.
15073 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15074 (test-xfail-XPG4/stropts.h/conform): Likewise.
15075 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15076 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15077 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15078 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15079 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15080 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15081 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15082 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15083 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15084 (test-xfail-XPG4/termios.h/conform): Likewise.
15085 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15086 (test-xfail-XPG4/unistd.h/conform): Likewise.
15087 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15088 (test-xfail-POSIX/sched.h/conform): Likewise.
15089 (test-xfail-POSIX/signal.h/conform): Likewise.
15090 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15091 (test-xfail-POSIX/tar.h/conform): Likewise.
15092 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15093 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15094 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15095 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15096 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15097 (test-xfail-UNIX98/sched.h/conform): Likewise.
15098 (test-xfail-UNIX98/signal.h/conform): Likewise.
15099 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15100 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15101 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15102 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15103 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15104 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15105 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15106 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15107 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15108 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15109 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15110 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15111 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15112 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15113 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15114 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15115 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15116 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15117 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15118 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15119 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15120 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15121 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15122 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15123 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15124 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15125 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15126 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15127 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15128 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15129 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15130 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15131 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15132 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15133 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15134 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15135 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15136 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15137 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15138 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15139 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15140 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15141 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15142 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15143 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15144 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15145 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15146 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15147 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15148 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15149 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15150 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15151 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15152 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15153 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15154 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15155 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15156 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15157 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15158 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15159 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15160 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15161 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15162 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15163 (conformtest-cc-flags): Likewise.
15164 ($(conformtest-header-tests): New target.
15165 * conform/check-header-lists.sh: New file.
15166 * conform/run-conformtest.sh: Remove.
15167
a00f522a
JM
15168 * conform/conformtest.pl: Allow ' and \ in values given for
15169 constants.
15170 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15171 inclusion.
15172 [POSIX] (sys/types.h): Likewise.
15173 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15174 inclusion.
15175 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15176 inclusion.
15177 * conform/data/signal.h-data (SIGIO): Remove expectation.
15178 [XPG3] (SIGBUS): Do not expect.
15179 [POSIX || XPG3] (SIGPOLL): Likewise.
15180 [POSIX || XPG3] (SIGPROF): Likewise.
15181 [POSIX || XPG3] (SIGSYS): Likewise.
15182 [XPG3] (SIGTRAP): Likewise.
15183 [POSIX || XPG3] (SIGURG): Likewise.
15184 [POSIX || XPG3] (SIGVTALRM): Likewise.
15185 [POSIX || XPG3] (SIGXCPU): Likewise.
15186 [POSIX || XPG3] (SIGXFSZ): Likewise.
15187 [POSIX] (SA_SIGINFO): Expect.
15188 [XPG3] (siginfo_t): Do not expect type or contents.
15189 [POSIX] (si_pid): Do not expect element.
15190 [POSIX] (si_uid): Likewise.
15191 [POSIX] (si_addr): Likewise.
15192 [POSIX] (si_status): Likewise.
15193 [POSIX] (si_band): Likewise.
15194 [XPG4] (si_value): Likewise.
15195 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15196 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15197 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15198 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15199 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15200 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15201 [POSIX || XPG3] (ILL_COPROC): Likewise.
15202 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15203 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15204 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15205 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15206 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15207 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15208 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15209 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15210 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15211 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15212 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15213 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15214 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15215 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15216 [POSIX || XPG3] (CLD_EXITED): Likewise.
15217 [POSIX || XPG3] (CLD_KILLED): Likewise.
15218 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15219 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15220 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15221 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15222 [POSIX || XPG3] (POLL_IN): Likewise.
15223 [POSIX || XPG3] (POLL_OUT): Likewise.
15224 [POSIX || XPG3] (POLL_MSG): Likewise.
15225 [POSIX || XPG3] (POLL_ERR): Likewise.
15226 [POSIX || XPG3] (POLL_PRI): Likewise.
15227 [POSIX || XPG3] (POLL_HUP): Likewise.
15228 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15229 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15230 (SIG*): Do not allow.
15231 [XPG3] (si_*): Likewise.
15232 [XPG3] (SI_*): Likewise.
15233 [XPG3 || XPG4] (sigev_*): Likewise.
15234 [XPG3 || XPG4] (SIGEV_*): Likewise.
15235 [XPG3 || XPG4] (sival_*): Likewise.
15236 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15237 [POSIX || XPG3] (BUS_*): Likewise.
15238 [POSIX || XPG3] (CLD_*): Likewise.
15239 [POSIX || XPG3] (FPE_*): Likewise.
15240 [POSIX || XPG3] (ILL_*): Likewise.
15241 [POSIX || XPG3] (POLL_*): Likewise.
15242 [POSIX || XPG3] (SEGV_*): Likewise.
15243 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15244 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15245 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15246 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15247 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15248 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15249 Specify type and value.
15250 (TVERSLEN): Likewise.
15251 (REGTYPE): Likewise.
15252 (AREGTYPE): Likewise.
15253 (LNKTYPE): Likewise.
15254 (SYMTYPE): Likewise.
15255 (CHRTYPE): Likewise.
15256 (BLKTYPE): Likewise.
15257 (DIRTYPE): Likewise.
15258 (FIFOTYPE): Likewise.
15259 (CONTTYPE): Likewise.
15260 (TSUID): Likewise.
15261 (TSGID): Likewise.
15262 (TSVTX): Likewise.
15263 (TUREAD): Likewise.
15264 (TUWRITE): Likewise.
15265 (TUEXEC): Likewise.
15266 (TGREAD): Likewise.
15267 (TGWRITE): Likewise.
15268 (TGEXEC): Likewise.
15269 (TOREAD): Likewise.
15270 (TOWRITE): Likewise.
15271 (TOEXEC): Likewise.
15272 [POSIX] (TSVTX): Expect constant.
15273
aa97dee1
JM
152742014-03-06 Joseph Myers <joseph@codesourcery.com>
15275
f214606a
JM
15276 * Makefile (tests): Change dependencies to ....
15277 (tests-special): ... additions to this variable.
15278 (tests): Depend on $(tests-special).
15279 * Makerules (check-abi-list): New variable.
15280 (check-abi): Depend on $(check-abi-list).
15281 [$(subdir) = elf] (tests-special): Add
15282 $(objpfx)check-abi-libc.out.
15283 [$(build-shared) = yes && subdir] (tests-special): Add
15284 $(check-abi-list).
15285 [$(build-shared) = yes && subdir] (tests): Do not depend on
15286 check-abi.
15287 * Rules (tests): Depend on $(tests-special).
15288 (xtests): Depend on $(xtests-special).
15289 * catgets/Makefile (tests): Change dependencies to ....
15290 (tests-special): ... additions to this variable.
15291 * conform/Makefile (tests): Change dependencies to ....
15292 (tests-special): ... additions to this variable.
15293 * elf/Makefile (tests): Change dependencies to ....
15294 (tests-special): ... additions to this variable.
15295 * grp/Makefile (tests): Change dependencies to ....
15296 (tests-special): ... additions to this variable.
15297 * iconv/Makefile (xtests): Change dependencies to ....
15298 (xtests-special): ... additions to this variable.
15299 * iconvdata/Makefile (tests): Change dependencies to ....
15300 (tests-special): ... additions to this variable.
15301 * intl/Makefile (tests): Change dependencies to ....
15302 (tests-special): ... additions to this variable. Also add
15303 $(objpfx)tst-gettext.out.
15304 * io/Makefile (tests): Change dependencies to ....
15305 (tests-special): ... additions to this variable.
15306 * libio/Makefile (tests): Change dependencies to ....
15307 (tests-special): ... additions to this variable.
15308 * malloc/Makefile (tests): Change dependencies to ....
15309 (tests-special): ... additions to this variable.
15310 * misc/Makefile (tests): Change dependencies to ....
15311 (tests-special): ... additions to this variable.
15312 * nptl/Makefile (tests): Change dependencies to ....
15313 (tests-special): ... additions to this variable.
15314 * nptl_db/Makefile (tests): Change dependencies to ....
15315 (tests-special): ... additions to this variable.
15316 * posix/Makefile (tests): Change dependencies to ....
15317 (tests-special): ... additions to this variable.
15318 (xtests): Change dependencies to ....
15319 (xtests-special): ... additions to this variable.
15320 * resolv/Makefile (tests): Change dependencies to ....
15321 (tests-special): ... additions to this variable.
15322 (xtests): Change dependencies to ....
15323 (xtests-special): ... additions to this variable.
15324 * stdio-common/Makefile (tests): Change dependencies to ....
15325 (tests-special): ... additions to this variable.
15326 (do-tst-unbputc): Remove target.
15327 (do-tst-printf): Likewise.
15328 * stdlib/Makefile (tests): Change dependencies to ....
15329 (tests-special): ... additions to this variable.
15330 * string/Makefile (tests): Change dependencies to ....
15331 (tests-special): ... additions to this variable.
15332 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15333 (tests-special): ... additions to this variable.
15334
81700b53
JM
15335 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15336 whole file.
15337 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15338 whole file.
15339 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15340 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15341
2ea18461
JM
15342 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15343 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15344 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15345 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15346 * conform/data/libgen.h-data [XPG3]: Likewise.
15347 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15348 * conform/data/ndbm.h-data [XPG3]: Likewise.
15349 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15350 * conform/data/netdb.h-data [XPG3]: Likewise.
15351 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15352 * conform/data/poll.h-data [XPG3]: Likewise.
15353 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15354 * conform/data/strings.h-data [XPG3]: Likewise.
15355 * conform/data/stropts.h-data [XPG3]: Likewise.
15356 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15357 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15358 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15359 Likewise.
15360 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15361 * conform/data/sys/time.h-data [XPG3]: Likewise.
15362 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15363 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15364 * conform/data/sys/un.h-data [XPG3]: Likewise.
15365 * conform/data/syslog.h-data [XPG3]: Likewise.
15366 * conform/data/ucontext.h-data [XPG3]: Likewise.
15367 * conform/data/utmpx.h-data [XPG3]: Likewise.
15368 * conform/data/varargs.h-data [UNIX98]: Enable file.
15369
355bc986
JM
15370 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15371
215db402
JM
15372 * math/libm-test.inc (struct test_f_f_data): Move expected results
15373 into structure for each rounding mode.
15374 (struct test_ff_f_data): Likewise.
15375 (struct test_ff_f_data_nexttoward): Likewise.
15376 (struct test_fi_f_data): Likewise.
15377 (struct test_fl_f_data): Likewise.
15378 (struct test_if_f_data): Likewise.
15379 (struct test_fff_f_data): Likewise.
15380 (struct test_c_f_data): Likewise.
15381 (struct test_f_f1_data): Likewise.
15382 (struct test_fF_f1_data): Likewise.
15383 (struct test_ffI_f1_data): Likewise.
15384 (struct test_c_c_data): Likewise.
15385 (struct test_cc_c_data): Likewise.
15386 (struct test_f_i_data): Likewise.
15387 (struct test_ff_i_data): Likewise.
15388 (struct test_f_l_data): Likewise.
15389 (struct test_f_L_data): Likewise.
15390 (struct test_fFF_11_data): Likewise.
15391 (RM_): New macro.
15392 (RM_FE_DOWNWARD): Likewise.
15393 (RM_FE_TONEAREST): Likewise.
15394 (RM_FE_TOWARDZERO): Likewise.
15395 (RM_FE_UPWARD): Likewise.
15396 (RUN_TEST_LOOP_f_f): Update references to expected results.
15397 (RUN_TEST_LOOP_2_f): Likewise.
15398 (RUN_TEST_LOOP_fff_f): Likewise.
15399 (RUN_TEST_LOOP_c_f): Likewise.
15400 (RUN_TEST_LOOP_f_f1): Likewise.
15401 (RUN_TEST_LOOP_fF_f1): Likewise.
15402 (RUN_TEST_LOOP_fI_f1): Likewise.
15403 (RUN_TEST_LOOP_ffI_f1): Likewise.
15404 (RUN_TEST_LOOP_c_c): Likewise.
15405 (RUN_TEST_LOOP_cc_c): Likewise.
15406 (RUN_TEST_LOOP_f_i): Likewise.
15407 (RUN_TEST_LOOP_f_i_tg): Likewise.
15408 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15409 (RUN_TEST_LOOP_f_b): Likewise.
15410 (RUN_TEST_LOOP_f_b_tg): Likewise.
15411 (RUN_TEST_LOOP_f_l): Likewise.
15412 (RUN_TEST_LOOP_f_L): Likewise.
15413 (RUN_TEST_LOOP_fFF_11): Likewise.
15414 * math/gen-libm-test.pl (parse_args): Output four copies of
15415 expected results for each test.
15416
67737b8f
JM
15417 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15418 (__ASSUME_UTIMES): Remove.
15419 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15420 (__ASSUME_UTIMES): Likewise.
15421
aa97dee1
JM
15422 * math/gen-auto-libm-tests.c: Update comment on output format.
15423 (output_for_one_input_case): Generate before-rounding and
15424 after-rounding information as conditions on output flags not
15425 floating-point format.
15426 * math/auto-libm-test-out: Regenerated.
15427 * math/gen-libm-test.pl (cond_value): New function.
15428 (or_cond_value): Use cond_value.
15429 (generate_testfile): Handle conditional exceptions.
15430
e6b6a857
JM
154312014-03-05 Joseph Myers <joseph@codesourcery.com>
15432
2f0a0f44
JM
15433 * math/libm-test.inc (max_valid_error): New variable.
15434 (init_max_error): Take new argument specifying whether function
15435 results are exactly determined. Set max_valid_error and bound
15436 other variables for errors based on this argument.
15437 (set_max_error): Do not record results above max_valid_error.
15438 (check_float_internal): Only accept errors of up to 0.5ulps if
15439 also at most max_valid_error.
15440 (START): Take new argument EXACT and pass it to init_max_error.
15441 (acos_test): Update call to START.
15442 (acos_test_tonearest): Likewise.
15443 (acos_test_towardzero): Likewise.
15444 (acos_test_downward): Likewise.
15445 (acos_test_upward): Likewise.
15446 (acosh_test): Likewise.
15447 (asin_test): Likewise.
15448 (asin_test_tonearest): Likewise.
15449 (asin_test_towardzero): Likewise.
15450 (asin_test_downward): Likewise.
15451 (asin_test_upward): Likewise.
15452 (asinh_test): Likewise.
15453 (atan_test): Likewise.
15454 (atanh_test): Likewise.
15455 (atan2_test): Likewise.
15456 (cabs_test): Likewise.
15457 (cacos_test): Likewise.
15458 (cacosh_test): Likewise.
15459 (carg_test): Likewise.
15460 (casin_test): Likewise.
15461 (casinh_test): Likewise.
15462 (catan_test): Likewise.
15463 (catanh_test): Likewise.
15464 (cbrt_test): Likewise.
15465 (ccos_test): Likewise.
15466 (ccosh_test): Likewise.
15467 (ceil_test): Likewise.
15468 (cexp_test): Likewise.
15469 (cimag_test): Likewise.
15470 (clog_test): Likewise.
15471 (clog10_test): Likewise.
15472 (conj_test): Likewise.
15473 (copysign_test): Likewise.
15474 (cos_test): Likewise.
15475 (cos_test_tonearest): Likewise.
15476 (cos_test_towardzero): Likewise.
15477 (cos_test_downward): Likewise.
15478 (cos_test_upward): Likewise.
15479 (cosh_test): Likewise.
15480 (cosh_test_tonearest): Likewise.
15481 (cosh_test_towardzero): Likewise.
15482 (cosh_test_downward): Likewise.
15483 (cosh_test_upward): Likewise.
15484 (cpow_test): Likewise.
15485 (cproj_test): Likewise.
15486 (creal_test): Likewise.
15487 (csin_test): Likewise.
15488 (csinh_test): Likewise.
15489 (csqrt_test): Likewise.
15490 (ctan_test): Likewise.
15491 (ctan_test_tonearest): Likewise.
15492 (ctan_test_towardzero): Likewise.
15493 (ctan_test_downward): Likewise.
15494 (ctan_test_upward): Likewise.
15495 (ctanh_test): Likewise.
15496 (ctanh_test_tonearest): Likewise.
15497 (ctanh_test_towardzero): Likewise.
15498 (ctanh_test_downward): Likewise.
15499 (ctanh_test_upward): Likewise.
15500 (erf_test): Likewise.
15501 (erfc_test): Likewise.
15502 (exp_test): Likewise.
15503 (exp_test_tonearest): Likewise.
15504 (exp_test_towardzero): Likewise.
15505 (exp_test_downward): Likewise.
15506 (exp_test_upward): Likewise.
15507 (exp10_test): Likewise.
15508 (exp10_test_tonearest): Likewise.
15509 (exp10_test_towardzero): Likewise.
15510 (exp10_test_downward): Likewise.
15511 (exp10_test_upward): Likewise.
15512 (pow10_test): Likewise.
15513 (exp2_test): Likewise.
15514 (expm1_test): Likewise.
15515 (expm1_test_tonearest): Likewise.
15516 (expm1_test_towardzero): Likewise.
15517 (expm1_test_downward): Likewise.
15518 (expm1_test_upward): Likewise.
15519 (fabs_test): Likewise.
15520 (fdim_test): Likewise.
15521 (floor_test): Likewise.
15522 (fma_test): Likewise.
15523 (fma_test_towardzero): Likewise.
15524 (fma_test_downward): Likewise.
15525 (fma_test_upward): Likewise.
15526 (fmax_test): Likewise.
15527 (fmin_test): Likewise.
15528 (fmod_test): Likewise.
15529 (fpclassify_test): Likewise.
15530 (frexp_test): Likewise.
15531 (hypot_test): Likewise.
15532 (ilogb_test): Likewise.
15533 (isfinite_test): Likewise.
15534 (finite_test): Likewise.
15535 (isgreater_test): Likewise.
15536 (isgreaterequal_test): Likewise.
15537 (isinf_test): Likewise.
15538 (isless_test): Likewise.
15539 (islessequal_test): Likewise.
15540 (islessgreater_test): Likewise.
15541 (isnan_test): Likewise.
15542 (isnormal_test): Likewise.
15543 (issignaling_test): Likewise.
15544 (isunordered_test): Likewise.
15545 (j0_test): Likewise.
15546 (j1_test): Likewise.
15547 (jn_test): Likewise.
15548 (ldexp_test): Likewise.
15549 (lgamma_test): Likewise.
15550 (gamma_test): Likewise.
15551 (lrint_test): Likewise.
15552 (lrint_test_tonearest): Likewise.
15553 (lrint_test_towardzero): Likewise.
15554 (lrint_test_downward): Likewise.
15555 (lrint_test_upward): Likewise.
15556 (llrint_test): Likewise.
15557 (llrint_test_tonearest): Likewise.
15558 (llrint_test_towardzero): Likewise.
15559 (llrint_test_downward): Likewise.
15560 (llrint_test_upward): Likewise.
15561 (log_test): Likewise.
15562 (log10_test): Likewise.
15563 (log1p_test): Likewise.
15564 (log2_test): Likewise.
15565 (logb_test): Likewise.
15566 (logb_test_downward): Likewise.
15567 (lround_test): Likewise.
15568 (llround_test): Likewise.
15569 (modf_test): Likewise.
15570 (nearbyint_test): Likewise.
15571 (nextafter_test): Likewise.
15572 (nexttoward_test): Likewise.
15573 (pow_test): Likewise.
15574 (pow_test_tonearest): Likewise.
15575 (pow_test_towardzero): Likewise.
15576 (pow_test_downward): Likewise.
15577 (pow_test_upward): Likewise.
15578 (remainder_test): Likewise.
15579 (drem_test): Likewise.
15580 (remainder_test_tonearest): Likewise.
15581 (drem_test_tonearest): Likewise.
15582 (remainder_test_towardzero): Likewise.
15583 (drem_test_towardzero): Likewise.
15584 (remainder_test_downward): Likewise.
15585 (drem_test_downward): Likewise.
15586 (remainder_test_upward): Likewise.
15587 (drem_test_upward): Likewise.
15588 (remquo_test): Likewise.
15589 (rint_test): Likewise.
15590 (rint_test_tonearest): Likewise.
15591 (rint_test_towardzero): Likewise.
15592 (rint_test_downward): Likewise.
15593 (rint_test_upward): Likewise.
15594 (round_test): Likewise.
15595 (scalb_test): Likewise.
15596 (scalbn_test): Likewise.
15597 (scalbln_test): Likewise.
15598 (signbit_test): Likewise.
15599 (sin_test): Likewise.
15600 (sin_test_tonearest): Likewise.
15601 (sin_test_towardzero): Likewise.
15602 (sin_test_downward): Likewise.
15603 (sin_test_upward): Likewise.
15604 (sincos_test): Likewise.
15605 (sinh_test): Likewise.
15606 (sinh_test_tonearest): Likewise.
15607 (sinh_test_towardzero): Likewise.
15608 (sinh_test_downward): Likewise.
15609 (sinh_test_upward): Likewise.
15610 (sqrt_test): Likewise.
15611 (sqrt_test_tonearest): Likewise.
15612 (sqrt_test_towardzero): Likewise.
15613 (sqrt_test_downward): Likewise.
15614 (sqrt_test_upward): Likewise.
15615 (tan_test): Likewise.
15616 (tan_test_tonearest): Likewise.
15617 (tan_test_towardzero): Likewise.
15618 (tan_test_downward): Likewise.
15619 (tan_test_upward): Likewise.
15620 (tanh_test): Likewise.
15621 (tgamma_test): Likewise.
15622 (trunc_test): Likewise.
15623 (y0_test): Likewise.
15624 (y1_test): Likewise.
15625 (yn_test): Likewise.
15626 (significand_test): Likewise.
15627
e6b6a857
JM
15628 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15629 individual tests in comment.
15630 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15631 (prev_max_error): New variable.
15632 (prev_real_max_error): Likewise.
15633 (prev_imag_max_error): Likewise.
15634 (compare_ulp_data): Don't refer to test names in comment.
15635 (find_test_ulps): Remove function.
15636 (find_function_ulps): Likewise.
15637 (find_complex_function_ulps): Likewise.
15638 (init_max_error): Take function name as argument. Look up ulps
15639 for that function.
15640 (print_ulps): Remove function.
15641 (print_max_error): Use prev_max_error instead of calling
15642 find_function_ulps.
15643 (print_complex_max_error): Use prev_real_max_error and
15644 prev_imag_max_error instead of calling find_complex_function_ulps.
15645 (check_float_internal): Take max_ulp parameter instead of calling
15646 find_test_ulps. Don't call print_ulps.
15647 (check_float): Update call to check_float_internal.
15648 (check_complex): Update calls to check_float_internal.
15649 (START): Pass argument to init_max_error.
15650 * math/gen-libm-test.pl (%results): Don't include "kind"
15651 information.
15652 (parse_ulps): Don't handle ulps of individual tests.
15653 (print_ulps_file): Likewise.
15654 (output_ulps): Likewise.
15655 * math/README.libm-test: Update.
15656 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15657 individual tests.
15658 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15659 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15660 * sysdeps/arm/libm-test-ulps: Likewise.
15661 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15662 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15663 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15664 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15665 * sysdeps/microblaze/libm-test-ulps: Likewise.
15666 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15667 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15668 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15669 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15670 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15671 * sysdeps/sh/libm-test-ulps: Likewise.
15672 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15673 * sysdeps/tile/libm-test-ulps: Likewise.
15674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15675
45adef3c
JM
156762014-03-04 Joseph Myers <joseph@codesourcery.com>
15677
15678 * math/libm-test.inc (print_complex_max_error): Check separately
15679 whether real and imaginary errors are within allowed range and
15680 pass 0 to print_complex_function_ulps instead of value within
15681 allowed range.
15682
000232b9
SP
156832014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15684
d4b17258
SP
15685 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15686 formatting.
15687 (get_handles_fopen): Likewise.
15688 (do_write_test): Likewise.
15689
091eff71
SP
15690 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15691
fa3cd248
SP
15692 * libio/fileops.c (do_ftell): Use cached offset when
15693 available.
15694 * libio/iofwide.c (do_ftell_wide): Likewise.
15695 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15696 _IO_file_attach.
15697 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15698
000232b9
SP
15699 [BZ #16532]
15700 * libio/libioP.h (get_file_offset): New function.
15701 * libio/fileops.c (get_file_offset): Likewise.
15702 (do_ftell): Likewise.
15703 (_IO_new_file_seekoff): Split out ftell logic.
15704 * libio/wfileops.c (do_ftell_wide): Likewise.
15705 (_IO_wfile_seekoff): Split out ftell logic.
15706 * libio/tst-ftell-active-handler.c: New test case.
15707 * libio/Makefile (tests): Add it.
15708
116f4d1a
RM
157092014-03-03 Roland McGrath <roland@hack.frob.com>
15710
15711 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15712 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15713
532a6035
SP
157142014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15715
15716 [BZ #16639]
15717 * nscd/connections.c (nscd_init): Call do_exit.
15718 (start_threads): Call do_exit and notify_parent.
15719 (begin_drop_privileges): Call do_exit.
15720 (finish_drop_privileges): Likewise.
15721 * nscd/selinux.c (preserve_capabilities): Likewise.
15722 (install_real_capabilities): Likewise.
15723 (nscd_selinux_enabled): Likewise.
15724 (avc_create_thread): Likewise.
15725 (avc_alloc_lock): Likewise.
15726 (nscd_avc_init): Likewise.
15727 * nscd/nscd.c (parent_fd): New static variable.
15728 (main): Create a pipe between parent and child processes.
15729 Skip closing parent_fd.
15730 (monitor_child): New function.
15731 (do_exit): Likewise.
15732 (notify_parent): Likewise.
15733 * nscd/nscd.h (notify_parent): Likewise.
15734 (do_exit): Likewise.
15735
d6285c9f
CD
157362014-03-03 Carlos O'Donell <carlos@redhat.com>
15737
15738 * malloc/malloc.c (__libc_calloc): Revert last change.
15739
2b85d2a0
AZ
157402014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15741
15742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15743
c7debbdf
RS
157442014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15745
15746 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15748 implementation.
15749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15750 (__libc_ifunc_impl_list): Likewise.
15751 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15752 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15753 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15754 * string/strrchr.c: Define STRRCHR.
15755
235eed86
OB
157562014-02-28 Ondřej Bílka <neleai@seznam.cz>
15757
15758 * benchtest/bench-strtok.c (simple_strtok): Delete.
15759 (strtok_string): Use as benchmark.
15760 * string/strtok (STRTOK): New macro.
15761
8e25d1e7
CD
157622014-02-28 Carlos O'Donell <carlos@redhat.com>
15763
ef563f92
CD
15764 * manual/threads.texi: Add header and standard comments to all
15765 functions.
15766
8e25d1e7
CD
15767 * elf/dl-lookup.c (check_match): New function.
15768 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15769 (do_lookup_x): Remove nested function check_match. Use non-nested
15770 function check_match.
15771
ff71cc37
RM
157722014-02-28 Roland McGrath <roland@hack.frob.com>
15773
f08e9a26
RM
15774 * csu/Makefile (generated, before-compile): Use += rather than =.
15775 * catgets/Makefile (generated, generated-dirs): Likewise.
15776 * debug/Makefile (generated): Likewise.
15777 * dlfcn/Makefile (generated): Likewise.
15778 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15779 * iconvdata/Makefile (before-compile, generated): Likewise.
15780 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15781 * libio/Makefile (generated): Likewise.
15782 * malloc/Makefile (generated): Likewise.
15783 * manual/Makefile (generated, generated-dirs): Likewise.
15784 * misc/Makefile (generated): Likewise.
15785 * posix/Makefile (generated): Likewise.
15786 * resolv/Makefile (generated): Likewise.
15787 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15788 * timezone/Makefile (generated, generated-dirs): Likewise.
15789
ff71cc37
RM
15790 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15791
fe13a20c
AZ
157922014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15793
57f41c40
AS
15794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15795 power8 implementation.
15796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15797 file: POWER8 llround ifunc implementation.
15798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15799 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15800 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15801 POWER8 llround implementation.
15802
57f41c40
AS
15803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15804 power8 implementation.
15805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15806 file: POWER8 llrint ifunc implementation.
15807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15808 Add POWER8 implementation.
1ad8950a
AZ
15809 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15810 POWER8 llrint implementation.
15811
57f41c40
AS
15812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15813 power8 implementation.
15814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15815 file: POWER8 finite ifunc implementation.
15816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15817 Add POWER8 implementation.
cac626d6
AZ
15818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15819 Likewise.
15820 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15821 POWER8 finite implementation.
15822 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15823
57f41c40
AS
15824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15825 power8 implementation.
15826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15827 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15829 POWER8 implementation.
15830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15831 Likewise.
57f41c40
AS
15832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15833 isinf implementation.
4393fc11
AZ
15834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15835
57f41c40
AS
15836 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15837 (INIT_ARCH): Add hwcap2 initialization.
15838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15839 power8 implementation.
15840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15841 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15843 POWER8 implementation.
15844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15845 Likewise.
57f41c40
AS
15846 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15847 isnan implementation.
487972ae
AZ
15848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15849
7d92b787
JY
158502014-02-27 Joey Ye <joey.ye@arm.com>
15851
15852 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15853 (_FP_NANFRAC_Q): Set to zero.
15854
1cadc858
SP
158552014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15856
15857 [BZ #16623]
15858 * math/auto-libm-test-in: New test inputs.
15859 * math/auto-libm-test-out: Regenerate.
15860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15861 and DA.
15862 (__cos): Likewise.
15863 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15864
f8c17e79
JM
158652014-02-27 Joseph Myers <joseph@codesourcery.com>
15866
15867 * scripts/evaluate-test.sh: Take new argument indicating whether
15868 failure is expected.
15869 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15870 indicating whether failure is expected.
15871 * conform/Makefile (test-xfail-run-conformtest): New variable.
15872 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15873 level.
15874 * posix/Makefile (test-xfail-annexc): New variable.
15875 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15876
a5f891ac
JM
158772014-02-26 Joseph Myers <joseph@codesourcery.com>
15878
15879 * argp/Makefile: Include Makeconfig immediately after defining
15880 subdir.
15881 * assert/Makefile: Likewise.
15882 * benchtests/Makefile: Likewise.
15883 * catgets/Makefile: Likewise.
15884 * conform/Makefile: Likewise.
15885 * crypt/Makefile: Likewise.
15886 * csu/Makefile: Likewise.
15887 (all): Remove target.
15888 * ctype/Makefile: Include Makeconfig immediately after defining
15889 subdir.
15890 * debug/Makefile: Likewise.
15891 * dirent/Makefile: Likewise.
15892 * dlfcn/Makefile: Likewise.
15893 * gmon/Makefile: Likewise.
15894 * gnulib/Makefile: Likewise.
15895 * grp/Makefile: Likewise.
15896 * gshadow/Makefile: Likewise.
15897 * hesiod/Makefile: Likewise.
15898 * hurd/Makefile: Likewise.
15899 (all): Remove target.
15900 * iconvdata/Makefile: Include Makeconfig immediately after
15901 defining subdir.
15902 * inet/Makefile: Likewise.
15903 * intl/Makefile: Likewise.
15904 * io/Makefile: Likewise.
15905 * libio/Makefile: Likewise.
15906 (all): Remove target.
15907 * locale/Makefile: Include Makeconfig immediately after defining
15908 subdir.
15909 * login/Makefile: Likewise.
15910 * mach/Makefile: Likewise.
15911 (all): Remove target.
15912 * malloc/Makefile: Include Makeconfig immediately after defining
15913 subdir.
15914 (all): Remove target.
15915 * manual/Makefile: Include Makeconfig immediately after defining
15916 subdir.
15917 * math/Makefile: Likewise.
15918 * misc/Makefile: Likewise.
15919 * nis/Makefile: Likewise.
15920 * nss/Makefile: Likewise.
15921 * po/Makefile: Likewise.
15922 (all): Remove target.
15923 * posix/Makefile: Include Makeconfig immediately after defining
15924 subdir.
15925 * pwd/Makefile: Likewise.
15926 * resolv/Makefile: Likewise.
15927 * resource/Makefile: Likewise.
15928 * rt/Makefile: Likewise.
15929 * setjmp/Makefile: Likewise.
15930 * shadow/Makefile: Likewise.
15931 * signal/Makefile: Likewise.
15932 * socket/Makefile: Likewise.
15933 * soft-fp/Makefile: Likewise.
15934 * stdio-common/Makefile: Likewise.
15935 * stdlib/Makefile: Likewise.
15936 * streams/Makefile: Likewise.
15937 * string/Makefile: Likewise.
15938 * sunrpc/Makefile: Likewise.
15939 (all): Remove target.
15940 * sysvipc/Makefile: Include Makeconfig immediately after defining
15941 subdir.
15942 * termios/Makefile: Likewise.
15943 * time/Makefile: Likewise.
15944 * timezone/Makefile: Likewise.
15945 (all): Remove target.
15946 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15947 subdir.
15948 * wctype/Makefile: Likewise.
15949
5b456e9d
SE
159502014-02-26 Steve Ellcey <sellcey@mips.com>
15951
15952 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15953 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15954 (libc_feholdexcept_setround_mips): Ditto.
15955 (libc_feholdsetround): New.
15956 (libc_feholdsetroundf): New.
15957 (libc_feholdsetroundl): New.
15958 (libc_feupdateenv_test_mips): New.
15959 (libc_feupdateenv_test): New.
15960 (libc_feupdateenv_testf): New.
15961 (libc_feupdateenv_testl): New.
15962 (libc_feresetround): New.
15963 (libc_feresetroundf): New.
15964 (libc_feresetroundl): New.
15965 (libc_fetestexcept_mips): New.
15966 (libc_fetestexcept): New.
15967 (libc_fetestexceptf): New.
15968 (libc_fetestexceptl): New.
15969 (HAVE_RM_CTX): New.
15970 (libc_feholdexcept_setround_mips_ctx): New.
15971 (libc_feholdexcept_setround_ctx): New.
15972 (libc_feholdexcept_setroundf_ctx): New.
15973 (libc_feholdexcept_setroundl_ctx): New.
15974 (libc_fesetenv_mips_ctx): New.
15975 (libc_fesetenv_ctx): New.
15976 (libc_fesetenv_ctxf): New.
15977 (libc_fesetenv_ctxl): New.
15978 (libc_feupdateenv_mips_ctx): New.
15979 (libc_feupdateenv_ctx): New.
15980 (libc_feupdateenvf_ctx): New.
15981 (libc_feupdateenvl_ctx): New.
15982 (libc_feholdsetround_mips_ctx): New.
15983 (libc_feholdsetround_ctx): New.
15984 (libc_feholdsetroundf_ctx): New.
15985 (libc_feholdsetroundl_ctx): New.
15986 (libc_feresetround_mips_ctx): New.
15987 (libc_feresetround_ctx): New.
15988 (libc_feresetroundf_ctx): New.
15989 (libc_feresetroundl_ctx): New.
15990
085d0e35
CD
159912014-02-26 Carlos O'Donell <carlos@redhat.com>
15992
f067bf1f
CD
15993 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15994
085d0e35
CD
15995 * manual/ipc.texi: New file.
15996 * manual/Makefile (chapters): Add ipc.
15997 * manual/job.texi: Add "Inter-Process Communication" to next.
15998 * manual/process.texi: Add "Inter-Process Communication" to prev.
15999
86e58c08
AZ
160002014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16001
16002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16003
4248f0da
OB
160042014-02-26 Ondřej Bílka <neleai@seznam.cz>
16005
16006 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16007
cf822e3c
OB
16008 * manual/arith.texi: Fix spaces after sentences.
16009 * manual/charset.texi: Likewise.
16010 * manual/errno.texi: Likewise.
16011 * manual/install.texi: Likewise.
16012 * manual/llio.texi: Likewise.
16013 * manual/locale.texi: Likewise.
16014 * manual/maint.texi: Likewise.
16015 * manual/math.texi: Likewise.
16016 * manual/memory.texi: Likewise.
16017 * manual/message.texi: Likewise.
16018 * manual/probes.texi: Likewise.
16019 * manual/resource.texi: Likewise.
16020 * manual/signal.texi: Likewise.
16021 * manual/socket.texi: Likewise.
16022 * manual/stdio.texi: Likewise.
16023 * manual/string.texi: Likewise.
16024 * manual/time.texi: Likewise.
16025 * manual/users.texi: Likewise.
16026
ade40b10
CD
160272014-02-25 Carlos O'Donell <carlos@redhat.com>
16028
16029 [BZ #16632]
16030 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16031 _DEFAULT_SOURCE is defined.
16032
d0503676
CD
160332014-02-25 Ulrich Drepper <drepper@gmail.com>
16034 Carlos O'Donell <carlos@redhat.com>
16035
16036 [BZ #16613]
16037 * elf/dl-tls.c (_dl_count_modids): New function.
16038 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16039 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16040 audit library and increment generation counter.
16041 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16042 * elf/tst-audit9.c: New file.
16043 * elf/tst-auditmod9a.c: New file.
16044 * elf/tst-auditmod9b.c: New file.
16045 * elf/Makefile: Add rules to build and run tst-audit9.
16046
4cbf380c
FW
160472014-02-25 Florian Weimer <fweimer@redhat.com>
16048
16049 [BZ #15347]
16050 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16051
80a56cc3
WN
160522014-02-25 Will Newton <will.newton@linaro.org>
16053
16054 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16055 (__longjmp): Restore sp and lr before restoring callee
16056 saved registers. Add longjmp and longjmp_target
16057 SystemTap probe point.
16058 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16059 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16060 Define to zero to match jmpbuf layout.
16061 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16062 (__sigsetjmp): Save sp and lr before saving callee
16063 saved registers. Add setjmp SystemTap probe point.
16064
3ea0f74e
SL
160652014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16066
16067 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16068
b04acb26
AS
160692014-02-24 Andreas Schwab <schwab@suse.de>
16070
16071 [BZ #15804]
16072 * elf/pldd.c (wait_for_ptrace_stop): New function.
16073 (main): Call it after attaching.
16074
098ad55c
RM
160752014-02-22 Roland McGrath <roland@hack.frob.com>
16076
d4ec6ae1
RM
16077 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16078 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16079 Versions files is now verboten.
16080 * hurd/Versions (libc: GLIBC_2.0):
16081 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16082 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16083 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16084 * mach/Versions: Likewise.
16085
098ad55c
RM
16086 * csu/Versions: Remove unused %include.
16087 * resolv/Versions: Likewise.
16088
acd7f096
JM
160892014-02-21 Joseph Myers <joseph@codesourcery.com>
16090
f0881698
JM
16091 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16092 ($(objpfx)check-local-headers.out): Likewise.
16093 ($(objpfx)begin-end-check.out): Likewise.
16094 * Makerules (check-abi-%.out): Likewise.
16095 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16096 ($(objpfx)test2.cat): Likewise.
16097 ($(objpfx)de/libc.cat): Likewise.
16098 ($(objpfx)test-gencat.out): Likewise.
16099 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16100 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16101 ($(objpfx)noload-mem): Likewise.
16102 ($(objpfx)tst-pathopt.out): Likewise.
16103 ($(objpfx)tst-rtld-load-self.out): Likewise.
16104 ($(objpfx)tst-array1-cmp.out): Likewise.
16105 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16106 ($(objpfx)tst-array2-cmp.out): Likewise.
16107 ($(objpfx)tst-array3-cmp.out): Likewise.
16108 ($(objpfx)tst-array4-cmp.out): Likewise.
16109 ($(objpfx)tst-array5-cmp.out): Likewise.
16110 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16111 ($(objpfx)check-textrel.out): Likewise.
16112 ($(objpfx)check-execstack.out): Likewise.
16113 ($(objpfx)check-localplt.out): Likewise.
16114 ($(objpfx)order2-cmp.out): Likewise.
16115 ($(objpfx)tst-leaks1-mem): Likewise.
16116 ($(objpfx)tst-leaks1-static-mem): Likewise.
16117 ($(objpfx)tst-initorder-cmp.out): Likewise.
16118 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16119 ($(objpfx)tst-unused-dep.out): Likewise.
16120 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16121 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16122 * iconv/Makefile (test-iconvconfig): Likewise.
16123 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16124 ($(objpfx)iconv-test.out): Likewise.
16125 ($(objpfx)tst-tables.out): Likewise.
16126 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16127 ($(objpfx)tst-gettext.out): Likewise.
16128 ($(objpfx)tst-translit.out): Likewise.
16129 ($(objpfx)tst-gettext2.out): Likewise.
16130 ($(objpfx)tst-gettext4.out): Likewise.
16131 ($(objpfx)tst-gettext6.out): Likewise.
16132 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16133 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16134 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16135 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16136 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16137 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16138 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16139 ($(objpfx)wordexp-tst.out): Likewise.
16140 ($(objpfx)annexc.out): Likewise.
16141 ($(objpfx)tst-fnmatch-mem): Likewise.
16142 ($(objpfx)bug-regex2-mem): Likewise.
16143 ($(objpfx)bug-regex14-mem): Likewise.
16144 ($(objpfx)bug-regex21-mem): Likewise.
16145 ($(objpfx)bug-regex31-mem): Likewise.
16146 ($(objpfx)tst-vfork3-mem): Likewise.
16147 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16148 ($(objpfx)tst-pcre-mem): Likewise.
16149 ($(objpfx)tst-boost-mem): Likewise.
16150 ($(objpfx)tst-getconf.out): Likewise.
16151 ($(objpfx)bug-ga2-mem): Likewise.
16152 ($(objpfx)bug-glob2-mem): Likewise.
16153 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16154 ($(objpfx)mtrace-tst-leaks2): Likewise.
16155 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16156 ($(objpfx)tst-printf.out): Likewise.
16157 ($(objpfx)tst-setvbuf1.out): Likewise.
16158 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16159 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16160 ($(objpfx)tst-fmtmsg.out): Likewise.
16161 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16162 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16163
acd7f096
JM
16164 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16165 * bits/sigaction.h [__USE_MISC]: Likewise.
16166 * bits/waitstatus.h: Update #endif comments.
16167 * ctype/ctype.h: Likewise.
16168 * dirent/dirent.h: Likewise.
16169 [__USE_MISC]: Remove redundant conditionals.
16170 * grp/grp.h: Update #endif comments.
16171 [__USE_GNU]: Remove redundant conditionals.
16172 [__USE_MISC]: Likewise.
16173 * inet/netinet/in.h [__USE_GNU]: Likewise.
16174 * io/sys/stat.h [__USE_MISC]: Likewise.
16175 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16176 * libio/bits/stdio.h: Update #endif comments.
16177 [__USE_MISC]: Remove redundant conditionals.
16178 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16179 * libio/stdio.h: Update #endif comments.
16180 [__USE_MISC]: Remove redundant conditionals.
16181 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16182 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16183 * math/math.h: Update #else and #endif comments.
16184 [__USE_MISC]: Remove redundant conditionals.
16185 * misc/sys/uio.h: Update #endif comments.
16186 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16187 * posix/glob.h [__USE_MISC]: Likewise.
16188 * posix/sys/types.h: Update #endif comments.
16189 [__USE_MISC]: Remove redundant conditionals.
16190 * posix/sys/wait.h: Update #endif comments.
16191 [__USE_MISC]: Remove redundant conditionals.
16192 * posix/unistd.h: Update #endif comments.
16193 [__USE_MISC]: Remove redundant conditionals.
16194 * pwd/pwd.h [__USE_GNU]: Likewise.
16195 [__USE_MISC]: Likewise.
16196 * resolv/netdb.h [__USE_GNU]: Likewise.
16197 * signal/signal.h: Update #endif comments.
16198 [__USE_MISC]: Remove redundant conditionals.
16199 * stdlib/stdlib.h: Update #else and #endif comments.
16200 [__USE_MISC]: Remove redundant conditionals.
16201 [__USE_GNU]: Likewise.
16202 * string/bits/string2.h [__USE_MISC]: Likewise.
16203 * string/string.h: Update #endif comments.
16204 [__USE_MISC]: Remove redundant conditionals.
16205 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16206 Likewise.
16207 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16208 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16209 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16210 Likewise.
16211 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16212 Likewise.
16213 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16214 comments.
16215 [__USE_MISC]: Remove redundant conditionals.
16216 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16217 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16218 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16219 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16220 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16221 Likewise.
16222 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16223 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16224 Likewise.
16225 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16226 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16227 Likewise.
16228 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16229 Likewise.
16230 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16231 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16232 Likewise.
16233 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16234 Likewise.
16235 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16236 * sysdeps/x86/bits/string.h: Update #endif comments.
16237 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16238 conditionals.
16239 * time/sys/time.h: Update #endif comments.
16240 * time/time.h: Likewise.
16241 [__USE_MISC]: Remove redundant conditionals.
16242
a5d82e4e
YG
162432014-02-21 Yury Gribov <y.gribov@samsung.com>
16244
16245 [BZ #16600]
16246 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16247
9a80491d
AS
162482014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16249
16250 * Versions.def (librt): Add GLIBC_2.17.
16251
105fa381
AC
162522014-02-21 Adam Conrad <adconrad@0c3.net>
16253
16254 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16255 synonym for _SYS_AUXV_H to allow direct inclusion.
16256 * sysdeps/sparc/bits/hwcap.h: Likewise.
16257 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16258 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16259 * sysdeps/sparc/sysdep.h: Likewise.
16260
b8cd1c4e
SP
162612014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16262
16263 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16264
bd939d23
RS
162652014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16266
16267 * benchtests/bench-strrchr.c: Print length instead of position.
16268
5d7b57ca
JM
162692014-02-20 Joseph Myers <joseph@codesourcery.com>
16270
bc688c10
JM
16271 [BZ #16611]
16272 * sysdeps/unix/sysv/linux/kernel-features.h
16273 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16274 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16275 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16276 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16277 Likewise.
16278 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16279 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16280 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16281 (__ASSUME_SENDMMSG): Define instead of using previous
16282 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16283 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16284 (__ASSUME_SENDMMSG_SYSCALL): Define.
16285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16286 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16287 Likewise.
16288 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16289 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16290 Likewise.
16291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16292 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16293 Likewise.
16294 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16295 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16296 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16297 [__ASSUME_SENDMMSG]: Change conditionals to
16298 [__ASSUME_SENDMMSG_SOCKETCALL].
16299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16300 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16301 Define.
16302 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16303 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16304 Likewise.
16305 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16306 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16307 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16308 [!__ASSUME_SENDMMSG]: Change conditional to
16309 [!__ASSUME_SENDMMSG_SOCKETCALL].
16310 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16311 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16312 Define.
16313
0e31b18c
JM
16314 [BZ #16610]
16315 * sysdeps/unix/sysv/linux/kernel-features.h
16316 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16317 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16318 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16319 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16320 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16321 [__i386__ || __sparc__]
16322 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16323 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16324 (__ASSUME_RECVMMSG): Define instead of using previous
16325 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16326 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16327 (__ASSUME_RECVMMSG_SYSCALL): Define.
16328 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16329 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16330 Likewise.
16331 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16332 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16333 Likewise.
16334 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16336 Likewise.
16337 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16338 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16339 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16340 [__ASSUME_RECVMMSG]: Change condition to
16341 [__ASSUME_RECVMMSG_SOCKETCALL].
16342 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16343 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16344 Define.
16345 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16346 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16347 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16348 Likewise.
16349 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16350 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16351 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16352 [!__ASSUME_RECVMMSG]: Change condition to
16353 [!__ASSUME_RECVMMSG_SOCKETCALL].
16354 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16355 (__ASSUME_RECVMMSG_SYSCALL): Define.
16356
dd481ccf
JM
16357 [BZ #16609]
16358 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16359 __powerpc__ || __s390__ || __sh__ || __sparc__]
16360 (__ASSUME_SOCKETCALL): Define.
16361 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16362 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16363 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16364 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16365 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16366 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16367 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16368 (__ASSUME_ACCEPT4): Define instead of using previous
16369 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16370 __powerpc__ || __sparc__ || __s390__)] condition.
16371 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16372 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16373 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16374 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16375 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16376 [!__ASSUME_ACCEPT4]: Change condition to
16377 [!__ASSUME_ACCEPT4_SOCKETCALL].
16378 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16379 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16380 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16381 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16382 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16383 __ASSUME_ACCEPT4_SYSCALL.
16384 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16385 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16386 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16387 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16388 __ASSUME_ACCEPT4_SYSCALL.
16389 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16390 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16391 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16392 [__ASSUME_ACCEPT4]: Change condition to
16393 [__ASSUME_ACCEPT4_SOCKETCALL].
16394 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16395 (__ASSUME_SOCKETCALL): Define.
16396 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16398 (__ASSUME_SOCKETCALL): Define.
16399 (__ASSUME_ACCEPT4): Remove.
16400 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16401 Define.
16402 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16403 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16404 Likewise.
16405 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16406 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16407
5d7b57ca
JM
16408 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16409 macro.
16410 (HWCAP_ARM_LPAE): Likewise.
16411 (HWCAP_ARM_EVTSTRM): Likewise.
16412 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16413 Add vpfd32, lpae and evtstrm.
16414 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16415 Increase to 22.
16416
63689d61
JM
164172014-02-19 Joseph Myers <joseph@codesourcery.com>
16418
16419 * math/auto-libm-test-in: Add tests of clog10.
16420 * math/auto-libm-test-out: Regenerated.
16421 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16422 * sysdeps/i386/fpu/libm-test-ulps: Update.
16423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16424
ab09bf61
AS
164252014-02-18 Andreas Schwab <schwab@suse.de>
16426
16427 [BZ #16574]
16428 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16429 Store non-zero if the second buffer was newly allocated.
16430 (send_dg): Likewise.
16431 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16432 to send_vc and send_dg.
16433 (res_nsend): Pass NULL for ansp2_malloced.
16434 * resolv/res_query.c (__libc_res_nquery): Add parameter
16435 answerp2_malloced and pass it down to __libc_res_nsend.
16436 (res_nquery): Pass additional NULL to __libc_res_nquery.
16437 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16438 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16439 second answer buffer if answerp2_malloced was set.
16440 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16441 (__libc_res_nquerydomain): Add parameter
16442 answerp2_malloced and pass it down to __libc_res_nquery.
16443 (res_nquerydomain): Pass additional NULL to
16444 __libc_res_nquerydomain.
16445 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16446 additional NULL to __libc_res_nsend and __libc_res_nquery.
16447 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16448 additional NULL to __libc_res_nsearch.
16449 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16450 parameter of __libc_res_nsearch to check for separately allocated
16451 second buffer.
16452 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16453 __libc_res_nquery.
16454 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16455 additional NULL to __libc_res_nquery.
16456 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16457 __libc_res_nsearch.
16458 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16459 * include/resolv.h: Update prototypes of __libc_res_nquery,
16460 __libc_res_nsearch, __libc_res_nsend.
16461
a4fb7861
JM
164622014-02-18 Joseph Myers <joseph@codesourcery.com>
16463
c6af2d89
JM
16464 * math/auto-libm-test-in: Add tests of fma.
16465 * math/auto-libm-test-out: Regenerated.
16466 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16467 (fma_towardzero_test_data): Likewise.
16468 (fma_downward_test_data): Likewise.
16469 (fma_upward_test_data): Likewise.
16470 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16471 mpc_mode.
16472 (rounding_modes): Add values for new field.
16473 (func_calc_method): Add value mpfr_fff_f.
16474 (func_calc_desc): Add mpfr_fff_f union field.
16475 (test_function): Add field exact_args.
16476 (FUNC): Add macro argument EXACT_ARGS.
16477 (FUNC_mpfr_f_f): Update call to FUNC.
16478 (FUNC_mpfr_f_f): Likewise.
16479 (FUNC_mpfr_ff_f): Likewise.
16480 (FUNC_mpfr_if_f): Likewise.
16481 (FUNC_mpc_c_f): Likewise.
16482 (FUNC_mpc_c_c): Likewise.
16483 (test_functions): Add fma. Update calls to FUNC.
16484 (handle_input_arg): Add argument exact_args.
16485 (add_test): Update call to handle_input_arg.
16486 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16487 (output_for_one_input_case): Update call to calc_generic_results.
16488 Recalculate exact zero results in each rounding mode.
16489
a4fb7861
JM
16490 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16491 non-negative before setting low bit.
16492 * math/auto-libm-test-in: Mark one asin test possibly having
16493 spurious underflow.
16494 * math/auto-libm-test-out: Regenerated.
16495 * sysdeps/i386/fpu/libm-test-ulps: Update.
16496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16497
ef114eaf
DH
164982014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16499
2b7f4f2c
SP
16500 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16501 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16502 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16503 * README: Add missing listing for microblaze*-*-linux-gnu.
16504
8125aedc
AM
165052014-02-16 Ondřej Bílka <neleai@seznam.cz>
16506
16507 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16508 duplicate code
16509
c70a4b1d
MF
165102014-02-16 Mike Frysinger <vapier@gentoo.org>
16511
16512 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16513 * sysdeps/unix/sysv/linux/ia64: Move directory from
16514 ports/sysdeps/unix/sysv/linux/ia64.
16515 * README: Update listing for ia64-*-linux-gnu.
16516
591aeaf7
TD
165172014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16518 Joseph Myers <joseph@codesourcery.com>
16519
16520 * Makeconfig (test-name): New variable.
16521 (evaluate-test): Likewise.
16522 * Makerules (do-test-clean): Remove .test-result files.
16523 (common-mostlyclean): Likewise.
16524 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16525 * scripts/evaluate-test.sh: New file.
16526
6e89caf1
JM
165272014-02-14 Joseph Myers <joseph@codesourcery.com>
16528
7f98f180
JM
16529 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16530 separate $(objpfx)tst-fopenloc-cmp.out and
16531 $(objpfx)tst-fopenloc-mem.out targets.
16532 (tests): Update dependencies.
16533 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16534 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16535 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16536 (tst-rxspencer-no-utf8-ARGS): New variable.
16537 (tst-rxspencer-no-utf8-ENV): Likewise.
16538 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16539 instead of $(objpfx)tst-rxspencer-mem.
16540 ($(objpfx)tst-rxspencer-mem): Change target to
16541 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16542 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16543 * posix/tst-rxspencer-no-utf8.c: New file.
16544
6e89caf1
JM
16545 * elf/Makefile ($(objpfx)order.out): Remove rule.
16546 [$(run-built-tests) = yes] (tests): Depend on
16547 $(objpfx)order-cmp.out.
16548 ($(objpfx)order-cmp.out): New rule.
16549 [$(run-built-tests) = yes] (tests): Depend on
16550 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16551 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16552 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16553 $(objpfx)tst-array5-static-cmp.out.
16554 ($(objpfx)tst-array1.out): Remove rule.
16555 ($(objpfx)tst-array1-cmp.out): New rule.
16556 ($(objpfx)tst-array1-static.out): Remove rule.
16557 ($(objpfx)tst-array1-static-cmp.out): New rule.
16558 ($(objpfx)tst-array2.out): Remove rule.
16559 ($(objpfx)tst-array2-cmp.out): New rule.
16560 ($(objpfx)tst-array3.out): Remove rule.
16561 ($(objpfx)tst-array3-cmp.out): New rule.
16562 ($(objpfx)tst-array4.out): Remove rule.
16563 ($(objpfx)tst-array4-cmp.out): New rule.
16564 ($(objpfx)tst-array5.out): Remove rule.
16565 ($(objpfx)tst-array5-cmp.out): New rule.
16566 ($(objpfx)tst-array5-static.out): Remove rule.
16567 ($(objpfx)tst-array5-static-cmp.out): New rule.
16568 [$(run-built-tests) = yes] (tests): Depend on
16569 $(objpfx)order2-cmp.out.
16570 ($(objpfx)order2.out): Remove rule.
16571 ($(objpfx)order2-cmp.out): New rule.
16572 ($(objpfx)tst-initorder.out): Remove rule.
16573 [$(run-built-tests) = yes] (tests): Depend on
16574 $(objpfx)tst-initorder-cmp.out.
16575 ($(objpfx)tst-initorder-cmp.out): New rule.
16576 ($(objpfx)tst-initorder2.out): Remove rule.
16577 [$(run-built-tests) = yes] (tests): Depend on
16578 $(objpfx)tst-initorder2-cmp.out.
16579 ($(objpfx)tst-initorder2-cmp.out): New rule.
16580 [$(run-built-tests) = yes] (tests): Depend on
16581 $(objpfx)tst-unused-dep-cmp.out.
16582 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16583 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16584 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16585 on $(objpfx)tst-setvbuf1-cmp.out.
16586 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16587 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16588 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16589 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16590 ($(objpfx)tst-svc.out): Remove rule.
16591 ($(objpfx)tst-svc-cmp.out): New rule.
16592
ed9a38e2
JM
165932014-02-13 Joseph Myers <joseph@codesourcery.com>
16594
16595 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16596 * ctype/ctype.h [__USE_MISC]: Likewise.
16597 * dirent/dirent.h [__USE_MISC]: Likewise.
16598 * grp/grp.h [__USE_MISC]: Likewise.
16599 * io/fcntl.h [__USE_MISC]: Likewise.
16600 * io/sys/stat.h [__USE_MISC]: Likewise.
16601 * libio/stdio.h [__USE_MISC]: Likewise.
16602 * posix/unistd.h [__USE_MISC]: Likewise.
16603 * pwd/pwd.h [__USE_MISC]: Likewise.
16604 * stdlib.h [__USE_MISC]: Likewise.
16605 * string/bits/string2.h [__USE_MISC]: Likewise.
16606 * string/string.h [__USE_MISC]: Likewise.
16607 * time/time.h [__USE_MISC]: Likewise.
16608
d6680619
AS
166092014-02-13 Andreas Schwab <schwab@suse.de>
16610
16611 [BZ #16574]
16612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16613 second answer buffer if it was separately allocated.
16614
ace614b8
JM
166152014-02-12 Joseph Myers <joseph@codesourcery.com>
16616
743151ae
JM
16617 * sysdeps/mips/math-tests.h: Include <features.h>.
16618 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16619 (ROUNDING_TESTS_long_double): Do not define.
16620 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16621 (EXCEPTION_TESTS_long_double): Likewise.
16622 * sysdeps/mips/mips64/libm-test-ulps: Update.
16623
498afc54
JM
16624 * include/features.h (__USE_BSD): Remove macro definitions.
16625 (__USE_SVID): Likewise.
16626 (_BSD_SOURCE): Likewise.
16627 (_SVID_SOURCE): Likewise.
16628 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16629 from definition of _DEFAULT_SOURCE.
16630 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16631 [_DEFAULT_SOURCE].
16632 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16633 * bits/mman.h [__USE_BSD]: Likewise.
16634 * bits/termios.h [__USE_BSD]: Likewise.
16635 * bits/waitstatus.h [__USE_BSD]: Likewise.
16636 * ctype/ctype.h [__USE_SVID]: Likewise.
16637 * dirent/dirent.h [__USE_BSD]: Likewise.
16638 * grp/grp.h [__USE_SVID]: Likewise.
16639 [__USE_BSD]: Likewise.
16640 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16641 * io/fcntl.h [__USE_BSD]: Likewise.
16642 * io/ftw.h [__USE_BSD]: Likewise.
16643 * io/sys/stat.h [__USE_BSD]: Likewise.
16644 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16645 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16646 * libio/stdio.h [__USE_SVID]: Likewise.
16647 [__USE_BSD]: Likewise.
16648 * math/math.h [__USE_SVID]: Likewise.
16649 [__USE_BSD]: Likewise.
16650 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16651 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16652 * misc/search.h [__USE_SVID]: Likewise.
16653 * misc/sys/mman.h [__USE_BSD]: Likewise.
16654 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16655 * misc/sys/uio.h [__USE_BSD]: Likewise.
16656 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16657 * posix/glob.h [__USE_BSD]: Likewise.
16658 * posix/regex.h [__USE_BSD]: Likewise.
16659 * posix/sys/types.h [__USE_BSD]: Likewise.
16660 [__USE_SVID]: Likewise.
16661 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16662 * posix/sys/wait.h [__USE_BSD]: Likewise.
16663 [__USE_SVID]: Likewise.
16664 * posix/unistd.h [__USE_BSD]: Likewise.
16665 [__USE_SVID]: Likewise.
16666 * pwd/pwd.h [__USE_SVID]: Likewise.
16667 * resolv/netdb.h [__USE_BSD]: Likewise.
16668 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16669 * signal/signal.h [__USE_BSD]: Likewise.
16670 [__USE_SVID]: Likewise.
16671 * socket/sys/socket.h [__USE_BSD]: Likewise.
16672 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16673 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16674 [__USE_SVID]: Likewise.
16675 * string/bits/string2.h [__USE_BSD]: Likewise.
16676 [__USE_SVID]: Likewise.
16677 * string/bits/string3.h [__USE_BSD]: Likewise.
16678 * string/endian.h [__USE_BSD]: Likewise.
16679 * string/string.h [__USE_SVID]: Likewise.
16680 [__USE_BSD]: Likewise.
16681 * string/strings.h [__USE_BSD]: Likewise.
16682 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16683 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16684 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16685 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16686 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16687 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16688 Likewise.
16689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16690 Likewise.
16691 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16692 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16693 Likewise.
16694 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16695 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16696 Likewise.
16697 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16698 Likewise.
16699 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16700 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16702 Likewise.
16703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16704 Likewise.
16705 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16706 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16707 * termios/termios.h [__USE_BSD]: Likewise.
16708 * time/sys/time.h [__USE_BSD]: Likewise.
16709 * time/time.h [__USE_BSD]: Likewise.
16710 [__USE_SVID]: Likewise.
16711
dd7b064c
JM
16712 * Makefile (subdir_targets): Remove subdir_lint.out.
16713
a2c4c199
JM
16714 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16715 (do-tst-printf): Likewise.
16716 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16717 $(objpfx)tst-printf.out.
16718
8756f740
JM
16719 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16720
1b6dd3f1
JM
16721 * Makerules (check-abi-%): Change target to
16722 $(objpfx)check-abi-%.out.
16723 (check-abi target): Update dependencies.
16724 (check-abi-pattern variable): Redirect output of diff to $@.
16725 (check-abi variable): Likewise.
16726 * elf/Makefile (check-abi): Update dependencies.
16727
ace614b8
JM
16728 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16729 unused.
16730 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16731 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16732 subnormal range.
16733 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16734 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16735 value has largest subnormal exponent.
16736 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16737 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16738 * sysdeps/aarch64/soft-fp/sfp-machine.h
16739 (_FP_TININESS_AFTER_ROUNDING): New macro.
16740 * sysdeps/alpha/soft-fp/sfp-machine.h
16741 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16742 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16743 Likewise.
16744 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16745 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16746 * sysdeps/mips/soft-fp/sfp-machine.h
16747 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16748 * sysdeps/powerpc/soft-fp/sfp-machine.h
16749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16750 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16751 Likewise.
16752 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16753 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16754 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16756 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16757 Likewise.
16758
fbfdf9cb
DAS
167592014-02-12 Dylan Alex Simon <dylan@dylex.net>
16760
16761 [BZ #16545]
16762 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16763 model 1.
16764
68b7efaa
RH
167652014-02-12 Richard Henderson <rth@redhat.com>
16766
c70a4b1d 16767 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16768 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16769 * sysdeps/unix/sysv/linux/alpha: Move directory from
16770 ports/sysdeps/unix/sysv/linux/alpha.
16771 * README: Update listing for alpha-*-linux-gnu.
16772
cb4a2928
JM
167732014-02-11 Joseph Myers <joseph@codesourcery.com>
16774
c941736c
JM
16775 * include/features.h: Update comment documenting feature test
16776 macros.
16777 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16778 _DEFAULT_SOURCE.
16779 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16780 (_SVID_SOURCE): Likewise.
16781 (_DEFAULT_SOURCE): Update description of default features.
16782 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16783 with _GNU_SOURCE.
16784 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16785 (S_ISVTX): Likewise.
16786 * manual/math.texi (Mathematical Constants): Likewise.
16787 * manual/signal.texi (Interrupted Primitives): Likewise.
16788 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16789 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16790 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16791 Don't refer to _SVID_SOURCE in warning text.
16792
e8d8d7ec
JM
16793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16794
cb4a2928
JM
16795 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16796 already defined.
16797 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16798 * sysdeps/mips/dl-lookup.c: Remove.
16799 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16800
7e6424e3
AK
168012014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16802
16803 [BZ #16447]
16804 * math/auto-libm-test-in: Add testcase for expl.
16805 * math/auto-libm-test-out: Regenerate.
16806 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16807 calculation of unsafe.
16808 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16809
75eff3fe
MS
168102014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16811
16812 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16813 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16814 ports/sysdeps/unix/sysv/linux/aarch64.
16815 * README: Update listing for aarch64*-*-linux-gnu.
16816
d35f1e80
WN
168172014-02-11 Will Newton <will.newton@linaro.org>
16818
16819 * manual/probes.texi (Mathematical Function Probes): Use
16820 "triggered" instead of "hit".
16821
7b3436d4
WN
16822 * manual/probes.texi (Internal Probes): Add documentation
16823 of setjmp, longjmp and longjmp_target probes.
16824
b4f12ca3
WN
16825 * include/stap-probe.h: Add comment about probe argument
16826 format.
16827
c13a72b7
WN
16828 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16829 definition. (tr_where, tr_freehook, tr_mallochook,
16830 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16831
195b8165
DM
168322014-02-11 David S. Miller <davem@davemloft.net>
16833
16834 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16835 processing int_tests.
16836
2ad7600b
JM
168372014-02-10 Joseph Myers <joseph@codesourcery.com>
16838
16839 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16840 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16841 * sysdeps/unix/sysv/linux/mips: Move directory from
16842 ports/sysdeps/unix/sysv/linux/mips.
16843 * README: Update listing for mips-*-linux-gnu and
16844 mips64-*-linux-gnu.
16845
73588a72
AS
168462014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16847
16848 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16849 * sysdeps/unix/sysv/linux/m68k: Move directory from
16850 ports/sysdeps/unix/sysv/linux/m68k.
16851 * README: Update listing for m68k-*-linux-gnu.
16852
4372980f
CM
168532014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16854
16855 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16856 * sysdeps/unix/sysv/linux/generic: Move directory from
16857 ports/sysdeps/unix/sysv/linux/generic.
16858 * sysdeps/unix/sysv/linux/tile: Move directory from
16859 ports/sysdeps/unix/sysv/linux/tile.
16860 * README: Update listing for tile*-*-linux-gnu.
16861
a1ffb40e
OB
168622014-02-10 Ondřej Bílka <neleai@seznam.cz>
16863
57f41c40
AS
16864 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16865 __builtin_expect.
a1ffb40e
OB
16866 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16867 * catgets/open_catalog.c (__open_catalog): Likewise.
16868 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16869 * debug/confstr_chk.c: Likewise.
16870 * debug/fread_chk.c (__fread_chk): Likewise.
16871 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16872 * debug/getgroups_chk.c: Likewise.
16873 * debug/mbsnrtowcs_chk.c: Likewise.
16874 * debug/mbsrtowcs_chk.c: Likewise.
16875 * debug/mbstowcs_chk.c: Likewise.
16876 * debug/memcpy_chk.c: Likewise.
16877 * debug/memmove_chk.c: Likewise.
16878 * debug/mempcpy_chk.c: Likewise.
16879 * debug/memset_chk.c: Likewise.
16880 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16881 * debug/strcat_chk.c (__strcat_chk): Likewise.
16882 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16883 * debug/strncat_chk.c (__strncat_chk): Likewise.
16884 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16885 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16886 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16887 * debug/wcpncpy_chk.c: Likewise.
16888 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16889 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16890 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16891 * debug/wcsncpy_chk.c: Likewise.
16892 * debug/wcsnrtombs_chk.c: Likewise.
16893 * debug/wcsrtombs_chk.c: Likewise.
16894 * debug/wcstombs_chk.c: Likewise.
16895 * debug/wmemcpy_chk.c: Likewise.
16896 * debug/wmemmove_chk.c: Likewise.
16897 * debug/wmempcpy_chk.c: Likewise.
16898 * debug/wmemset_chk.c: Likewise.
16899 * dirent/scandirat.c (SCANDIRAT): Likewise.
16900 * dlfcn/dladdr1.c (dladdr1): Likewise.
16901 * dlfcn/dladdr.c (dladdr): Likewise.
16902 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16903 * dlfcn/dlerror.c (__dlerror): Likewise.
16904 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16905 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16906 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16907 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16908 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16909 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16910 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16911 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16912 Likewise.
16913 * elf/dl-conflict.c: Likewise.
16914 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16915 * elf/dl-dst.h: Likewise.
16916 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16917 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16918 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16919 * elf/dl-init.c (call_init, _dl_init): Likewise.
16920 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16921 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16922 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16923 Likewise.
a1ffb40e
OB
16924 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16925 Likewise.
16926 * elf/dl-minimal.c (__libc_memalign): Likewise.
16927 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16928 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16929 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16930 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16931 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16932 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16933 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16934 * elf/dl-writev.h (_dl_writev): Likewise.
16935 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16936 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16937 (dl_main): Likewise.
a1ffb40e
OB
16938 * elf/setup-vdso.h (setup_vdso): Likewise.
16939 * grp/compat-initgroups.c (compat_call): Likewise.
16940 * grp/fgetgrent.c (fgetgrent): Likewise.
16941 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16942 * grp/putgrent.c (putgrent): Likewise.
16943 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16944 Likewise.
16945 * hurd/hurdinit.c: Likewise.
16946 * iconvdata/8bit-gap.c (struct): Likewise.
16947 * iconvdata/ansi_x3.110.c : Likewise.
16948 * iconvdata/big5.c : Likewise.
16949 * iconvdata/big5hkscs.c : Likewise.
16950 * iconvdata/cp1255.c: Likewise.
16951 * iconvdata/cp1258.c : Likewise.
16952 * iconvdata/cp932.c : Likewise.
16953 * iconvdata/euc-cn.c: Likewise.
16954 * iconvdata/euc-jisx0213.c : Likewise.
16955 * iconvdata/euc-jp.c: Likewise.
16956 * iconvdata/euc-jp-ms.c : Likewise.
16957 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16958 * iconvdata/gb18030.c : Likewise.
16959 * iconvdata/gbbig5.c (const): Likewise.
16960 * iconvdata/gbgbk.c: Likewise.
16961 * iconvdata/gbk.c : Likewise.
16962 * iconvdata/ibm1364.c : Likewise.
16963 * iconvdata/ibm930.c : Likewise.
16964 * iconvdata/ibm932.c: Likewise.
16965 * iconvdata/ibm933.c : Likewise.
16966 * iconvdata/ibm935.c : Likewise.
16967 * iconvdata/ibm937.c : Likewise.
16968 * iconvdata/ibm939.c : Likewise.
16969 * iconvdata/ibm943.c: Likewise.
16970 * iconvdata/iso_11548-1.c: Likewise.
16971 * iconvdata/iso-2022-cn.c : Likewise.
16972 * iconvdata/iso-2022-cn-ext.c : Likewise.
16973 * iconvdata/iso-2022-jp-3.c: Likewise.
16974 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16975 * iconvdata/iso-2022-kr.c : Likewise.
16976 * iconvdata/iso646.c (gconv_end): Likewise.
16977 * iconvdata/iso_6937-2.c : Likewise.
16978 * iconvdata/iso_6937.c : Likewise.
16979 * iconvdata/iso8859-1.c: Likewise.
16980 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16981 * iconvdata/shift_jisx0213.c : Likewise.
16982 * iconvdata/sjis.c : Likewise.
16983 * iconvdata/t.61.c : Likewise.
16984 * iconvdata/tcvn5712-1.c : Likewise.
16985 * iconvdata/tscii.c: Likewise.
16986 * iconvdata/uhc.c : Likewise.
16987 * iconvdata/unicode.c (gconv_end): Likewise.
16988 * iconvdata/utf-16.c (gconv_end): Likewise.
16989 * iconvdata/utf-32.c (gconv_end): Likewise.
16990 * iconvdata/utf-7.c (base64): Likewise.
16991 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16992 * iconv/gconv_close.c (__gconv_close): Likewise.
16993 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16994 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16995 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16996 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16997 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16998 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16999 * iconv/iconv.c (iconv): Likewise.
17000 * iconv/iconv_close.c: Likewise.
17001 * iconv/loop.c (SINGLE): Likewise.
17002 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17003 * include/atomic.h: Likewise.
17004 * inet/inet6_option.c (option_alloc): Likewise.
17005 * intl/bindtextdom.c (set_binding_values): Likewise.
17006 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17007 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17008 * intl/localealias.c (read_alias_file): Likewise.
17009 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17010 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17011 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17012 * libio/fmemopen.c (fmemopen): Likewise.
17013 * libio/iofgets.c (_IO_fgets): Likewise.
17014 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17015 * libio/iofgetws.c (fgetws): Likewise.
17016 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17017 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17018 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17019 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17020 * locale/findlocale.c (_nl_find_locale): Likewise.
17021 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17022 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17023 Likewise.
17024 * locale/setlocale.c (setlocale): Likewise.
17025 * login/programs/pt_chown.c (main): Likewise.
17026 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17027 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17028 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17029 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17030 * math/e_exp2l.c: Likewise.
17031 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17032 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17033 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17034 * math/s_catan.c (__catan): Likewise.
17035 * math/s_catanf.c (__catanf): Likewise.
17036 * math/s_catanh.c (__catanh): Likewise.
17037 * math/s_catanhf.c (__catanhf): Likewise.
17038 * math/s_catanhl.c (__catanhl): Likewise.
17039 * math/s_catanl.c (__catanl): Likewise.
17040 * math/s_ccosh.c (__ccosh): Likewise.
17041 * math/s_ccoshf.c (__ccoshf): Likewise.
17042 * math/s_ccoshl.c (__ccoshl): Likewise.
17043 * math/s_cexp.c (__cexp): Likewise.
17044 * math/s_cexpf.c (__cexpf): Likewise.
17045 * math/s_cexpl.c (__cexpl): Likewise.
17046 * math/s_clog10.c (__clog10): Likewise.
17047 * math/s_clog10f.c (__clog10f): Likewise.
17048 * math/s_clog10l.c (__clog10l): Likewise.
17049 * math/s_clog.c (__clog): Likewise.
17050 * math/s_clogf.c (__clogf): Likewise.
17051 * math/s_clogl.c (__clogl): Likewise.
17052 * math/s_csin.c (__csin): Likewise.
17053 * math/s_csinf.c (__csinf): Likewise.
17054 * math/s_csinh.c (__csinh): Likewise.
17055 * math/s_csinhf.c (__csinhf): Likewise.
17056 * math/s_csinhl.c (__csinhl): Likewise.
17057 * math/s_csinl.c (__csinl): Likewise.
17058 * math/s_csqrt.c (__csqrt): Likewise.
17059 * math/s_csqrtf.c (__csqrtf): Likewise.
17060 * math/s_csqrtl.c (__csqrtl): Likewise.
17061 * math/s_ctan.c (__ctan): Likewise.
17062 * math/s_ctanf.c (__ctanf): Likewise.
17063 * math/s_ctanh.c (__ctanh): Likewise.
17064 * math/s_ctanhf.c (__ctanhf): Likewise.
17065 * math/s_ctanhl.c (__ctanhl): Likewise.
17066 * math/s_ctanl.c (__ctanl): Likewise.
17067 * math/w_pow.c: Likewise.
17068 * math/w_powf.c: Likewise.
17069 * math/w_powl.c: Likewise.
17070 * math/w_scalb.c (sysv_scalb): Likewise.
17071 * math/w_scalbf.c (sysv_scalbf): Likewise.
17072 * math/w_scalbl.c (sysv_scalbl): Likewise.
17073 * misc/error.c (error_tail): Likewise.
17074 * misc/pselect.c (__pselect): Likewise.
17075 * nis/nis_callback.c (__nis_create_callback): Likewise.
17076 * nis/nis_call.c (__nisfind_server): Likewise.
17077 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17078 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17079 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17080 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17081 * nis/nis_lookup.c (nis_lookup): Likewise.
17082 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17083 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17084 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17085 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17086 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17087 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17088 * nis/nss_compat/compat-initgroups.c (add_group)
17089 (internal_getgrent_r): Likewise.
17090 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17091 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17092 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17093 (internal_getspnam_r): Likewise.
17094 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17095 (_nss_nis_getaliasbyname_r): Likewise.
17096 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17097 (_nss_nis_getntohost_r): Likewise.
17098 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17099 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17100 (_nss_nis_getgrgid_r): Likewise.
17101 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17102 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17103 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17104 (_nss_nis_gethostbyname4_r): Likewise.
17105 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17106 (initgroups_netid): Likewise.
a1ffb40e 17107 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17108 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17109 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17110 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17111 (_nss_nis_getprotobynumber_r): Likewise.
17112 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17113 (_nss_nis_getsecretkey): Likewise.
17114 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17115 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17116 (_nss_nis_getpwuid_r): Likewise.
17117 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17118 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17119 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17120 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17121 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17122 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17123 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17124 Likewise.
57f41c40
AS
17125 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17126 (_nss_nisplus_getntohost_r): Likewise.
17127 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17128 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17129 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17130 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17131 Likewise.
57f41c40
AS
17132 * nis/nss_nisplus/nisplus-initgroups.c
17133 (_nss_nisplus_initgroups_dyn): Likewise.
17134 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17135 (_nss_nisplus_getnetbyaddr_r): Likewise.
17136 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17137 (_nss_nisplus_getprotobynumber_r): Likewise.
17138 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17139 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17140 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17141 Likewise.
57f41c40
AS
17142 * nis/nss_nisplus/nisplus-service.c
17143 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17144 (_nss_nisplus_getservbyport_r): Likewise.
17145 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17146 (_nss_nisplus_getspnam_r): Likewise.
17147 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17148 Likewise.
a1ffb40e
OB
17149 * nscd/aicache.c (addhstaiX): Likewise.
17150 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17151 * nscd/connections.c (register_traced_file, send_ro_fd)
17152 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17153 (main_loop_epoll): Likewise.
a1ffb40e
OB
17154 * nscd/grpcache.c (addgrbyX): Likewise.
17155 * nscd/hstcache.c (addhstbyX): Likewise.
17156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17157 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17158 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17159 (addinnetgrX): Likewise.
17160 * nscd/nscd-client.h (__nscd_acquire_maplock)
17161 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17162 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17163 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17165 Likewise.
17166 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17167 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17168 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17169 (__nscd_get_map_ref): Likewise.
a1ffb40e 17170 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17171 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17172 Likewise.
a1ffb40e
OB
17173 * nscd/pwdcache.c (addpwbyX): Likewise.
17174 * nscd/selinux.c (preserve_capabilities): Likewise.
17175 * nscd/servicescache.c (addservbyX): Likewise.
17176 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17177 * posix/fnmatch.c (fnmatch): Likewise.
17178 * posix/getopt.c (_getopt_internal_r): Likewise.
17179 * posix/glob.c (glob, glob_in_dir): Likewise.
17180 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17181 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17182 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17183 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17184 * resolv/res_init.c: Likewise.
17185 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17186 * resolv/res_query.c (__libc_res_nquery): Likewise.
17187 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17188 Likewise.
17189 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17190 * stdio-common/perror.c (perror): Likewise.
17191 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17192 * stdio-common/tmpnam.c (tmpnam): Likewise.
17193 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17194 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17195 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17196 Likewise.
a1ffb40e
OB
17197 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17198 * stdlib/putenv.c (putenv): Likewise.
17199 * stdlib/setenv.c (__add_to_environ): Likewise.
17200 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17201 * stdlib/strtol_l.c (INTERNAL): Likewise.
17202 * string/memmem.c (memmem): Likewise.
17203 * string/strerror.c (strerror): Likewise.
17204 * string/strnlen.c (__strnlen): Likewise.
17205 * string/test-memmem.c (simple_memmem): Likewise.
17206 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17207 * sunrpc/pm_getport.c (__get_socket): Likewise.
17208 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17209 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17210 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17211 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17212 Likewise.
17213 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17215 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17216 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17217 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17218 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17219 Likewise.
17220 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17221 Likewise.
a1ffb40e
OB
17222 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17223 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17225 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17226 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17228 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17229 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17230 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17231 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17232 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17234 Likewise.
17235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17236 Likewise.
17237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17238 Likewise.
17239 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17241 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17242 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17243 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17244 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17245 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17248 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17249 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17251 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17255 Likewise.
a1ffb40e
OB
17256 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17257 Likewise.
17258 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17259 Likewise.
17260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17261 Likewise.
17262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17264 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17265 Likewise.
17266 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17267 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17268 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17269 * sysdeps/posix/sleep.c: Likewise.
17270 * sysdeps/posix/tempname.c: Likewise.
17271 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17272 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17273 Likewise.
57f41c40
AS
17274 * sysdeps/powerpc/powerpc32/dl-machine.h
17275 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17276 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17278 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17279 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17280 Likewise.
17281 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17283 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17285 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17286 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17287 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17288 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17289 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17290 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17292 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17293 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17295 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17296 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17297 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17298 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17299 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17300 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17301 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17302 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17304 Likewise.
17305 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17306 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17307 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17308 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17309 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17311 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17312 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17313 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17315 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17316 Likewise.
17317 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17318 (__posix_fallocate64_l64): Likewise.
17319 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17320 (posix_fallocate): Likewise.
57f41c40
AS
17321 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17322 Likewise.
a1ffb40e 17323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17324 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17325 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17326 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17327 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17328 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17329 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17330 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17331 (__posix_fallocate64_l64): Likewise.
17332 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17333 Likewise.
17334 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17336 (__get_clockfreq): Likewise.
a1ffb40e
OB
17337 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17338 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17339 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17342 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17343 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17344 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17345 Likewise.
17346 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17347 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17348 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17349 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17350 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17351 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17352 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17353 Likewise.
17354 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17355 (posix_fallocate): Likewise.
17356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17357 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17358 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17359 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17360 (elf_machine_rela, elf_machine_rela_relative)
17361 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17362 * time/asctime.c (asctime_internal): Likewise.
17363 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17364 * time/tzset.c (__tzset_parse_tz): Likewise.
17365 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17366 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17367 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17368 * wcsmbs/wcsmbsload.h: Likewise.
17369
f3d338c9
OB
17370 [BZ #15894]
17371 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17372
57f41c40
AS
17373 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17374 (arena_get2): Remove THREAD_STATS conditionals.
17375 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17376 (__malloc_stats, int): Likewise.
bdfe308a 17377
d674667c
MF
173782014-02-08 Mike Frysinger <vapier@gentoo.org>
17379
17380 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17381 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17382
6349768c
MF
17383 * manual/setjmp.texi: Fix typos/grammar errors.
17384
0b7c7473
MF
17385 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17386 Only return early when n is <= 0. Delete unused return statement.
17387
ac8cc9e3
MF
17388 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17389 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17390 * debug/tst-longjmp_chk3.c: New file.
17391
c5bb8e23
MF
17392 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17393 (test_main): Replace code with set_fortify_handler call.
17394 * debug/test-strcpy_chk.c: Likewise.
17395 * debug/tst-chk1.c: Likewise.
17396 * debug/tst-longjmp_chk.c: Likewise.
17397 * test-skeleton.c: Include fcntl.h & paths.h
17398 (set_fortify_handler): Define.
17399
10444e42
MF
17400 * debug/tst-longjmp_chk.c: Add header comment and include
17401 ../test-skeleton.c.
17402 (do_test): Mark static.
17403 (TEST_FUNCTION): Define.
17404
1e805e8d
MF
17405 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17406 (IP_PMTUDISC_INTERFACE): Likewise.
17407 (IP_MULTICAST_IF): Likewise.
17408 (IP_MULTICAST_TTL): Likewise.
17409 (IP_MULTICAST_LOOP): Likewise.
17410 (IP_ADD_MEMBERSHIP): Likewise.
17411 (IP_DROP_MEMBERSHIP): Likewise.
17412 (IP_UNBLOCK_SOURCE): Likewise.
17413 (IP_BLOCK_SOURCE): Likewise.
17414 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17415 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17416 (IP_MSFILTER): Likewise.
17417 (MCAST_JOIN_GROUP): Likewise.
17418 (MCAST_BLOCK_SOURCE): Likewise.
17419 (MCAST_UNBLOCK_SOURCE): Likewise.
17420 (MCAST_LEAVE_GROUP): Likewise.
17421 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17422 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17423 (MCAST_MSFILTER): Likewise.
17424 (IP_MULTICAST_ALL): Likewise.
17425 (IP_UNICAST_IF): Likewise.
17426
73f79bb7
MF
17427 * timezone/Makefile: Delete $(have-ksh) check.
17428 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17429 * timezone/tzselect.ksh: Add +x mode bits.
17430
8da79b60
MF
17431 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17432 (ANON_INODE_FS_MAGIC): Likewise.
17433 (BDEVFS_MAGIC): Likewise.
17434 (BINFMTFS_MAGIC): Likewise.
17435 (BTRFS_TEST_MAGIC): Likewise.
17436 (CRAMFS_MAGIC_WEND): Likewise.
17437 (DEBUGFS_MAGIC): Likewise.
17438 (ECRYPTFS_SUPER_MAGIC): Likewise.
17439 (EXT3_SUPER_MAGIC): Likewise.
17440 (EXT4_SUPER_MAGIC): Likewise.
17441 (FUTEXFS_SUPER_MAGIC): Likewise.
17442 (HOSTFS_SUPER_MAGIC): Likewise.
17443 (HUGETLBFS_MAGIC): Likewise.
17444 (MINIX3_SUPER_MAGIC): Likewise.
17445 (MTD_INODE_FS_MAGIC): Likewise.
17446 (NILFS_SUPER_MAGIC): Likewise.
17447 (OPENPROM_SUPER_MAGIC): Likewise.
17448 (PIPEFS_MAGIC): Likewise.
17449 (PSTOREFS_MAGIC): Likewise.
17450 (QNX6_SUPER_MAGIC): Likewise.
17451 (RAMFS_MAGIC): Likewise.
17452 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17453 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17454 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17455 (SECURITYFS_MAGIC): Likewise.
17456 (SELINUX_MAGIC): Likewise.
17457 (SMACK_MAGIC): Likewise.
17458 (SOCKFS_MAGIC): Likewise.
17459 (SQUASHFS_MAGIC): Likewise.
17460 (STACK_END_MAGIC): Likewise.
17461 (TMPFS_MAGIC): Likewise.
17462 (USBDEVICE_SUPER_MAGIC): Likewise.
17463 (V9FS_MAGIC): Likewise.
17464 (XENFS_SUPER_MAGIC): Likewise.
17465 (CRAMFS_MAGIC): Fix typo in comment.
17466 (EXT2_SUPER_MAGIC): Update comment.
17467 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17468
464263cc
JM
174692014-02-08 Joseph Myers <joseph@codesourcery.com>
17470
c6bfe5c4
JM
17471 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17472 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17473 * sysdeps/unix/sysv/linux/arm: Move directory from
17474 ports/sysdeps/unix/sysv/linux/arm.
17475 * README: Update listing for arm-*-linux-gnueabi.
17476
464263cc
JM
17477 * README: Remove mention of am33.
17478
32749f6c
RM
174792014-02-07 Roland McGrath <roland@hack.frob.com>
17480
17481 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17482 than the comma operator, to avoid "rhs of comma has no effect"
17483 compiler warnings.
17484 (__sigfillset, __sigandset, __sigorset): Likewise.
17485 * include/signal.h (__sigemptyset): Likewise.
17486 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17487
d5b396c1
AM
174882014-02-07 Allan McRae <allan@archlinux.org>
17489
17490 * version.h (RELEASE): Set to "development".
17491 (VERSION): Set to "2.19.90"
17492 * NEWS: Add 2.20 section.
17493
3bfff2ed
CD
174942014-02-06 Carlos O'Donell <carlos@redhat.com>
17495
17496 [BZ #16529]
17497 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17498
ee7cc385
SP
174992014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17500
17501 * manual/contrib.texi: Update entry for Carlos O'Donell,
17502 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17503
f877c4f2
CD
175042014-02-05 Carlos O'Donell <carlos@rehdat.com>
17505
27e839f6
CD
17506 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17507
f877c4f2
CD
17508 * sysdeps/unix/sysv/linux/kernel-features.h
17509 [__LINUX_KERNEL_VERSION >= 0x020621]
17510 (__ASSUME_PROC_PID_TASK_COMM): Define.
17511
68159946
SP
175122014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17513
ba17cdbd
SP
17514 [BZ #16398]
17515 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17516 conversion when destination buffer does not have enough space.
17517 * libio/tst-ftell-partial-wide.c: New test case.
17518 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17519
68159946
SP
17520 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17521 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17522 Leonard and Allan McRae.
17523
2b528732
DM
175242014-02-04 David S. Miller <davem@davemloft.net>
17525
17526 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17527 32-bit.
17528
0ff82463
AZ
175292014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17530
57f41c40
AS
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17532 New file
c01603f7
AZ
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17534 New file
57f41c40
AS
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17536 New file.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17538 New file.
c01603f7
AZ
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17540 New file.
57f41c40
AS
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17542 New file.
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17544 New file.
c01603f7
AZ
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17546 New file.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17548 New file.
17549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17550 New file.
17551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17552 New file.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17554 New file.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17556 New file.
17557
175582014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17559
0ff82463
AZ
17560 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17561 * shlib-versions: Likewise.
17562
1695c773
AZ
175632014-02-04 Roland McGrath <roland@hack.frob.com>
17564 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17565
17566 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17567 (abilist-pattern): New variable, set to %-le.abilist.
17568
17569 * Makerules (abilist-pattern): New variable.
17570 (vpath): Use $(abilist-pattern) in place of %.abilist.
17571 (check-abi-% pattern rule): Likewise.
17572 (check-abi, update-abi): Likewise.
17573
6c0ce4b4
EW
175742014-02-04 Eric Wong <normalperson@yhbt.net>
17575
17576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17577
481e3524
CD
175782014-02-03 Carlos O'Donell <carlos@redhat.com>
17579
17580 * manual/startup.texi: Add next, previous, and top entries for
17581 the `Program Arguments' and `Environment Variables' nodes.
17582
375592d3
AO
175832014-02-03 Alexandre Oliva <aoliva@redhat.com>
17584
17585 * manual/macros.texi: Add comments before MTASC-safety macros.
17586
f54838ba
AO
17587 * manual/users.texi: Document MTASC-safety properties.
17588
57f41c40
AS
17589 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17590 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17591 @deftypefun, and add @safety note.
17592 * manual/signal.texi: Move comments that analyze the above
17593 functions to their home place.
17594
fd3daba4
AM
175952014-02-03 Allan McRae <allan@archlinux.org>
17596
17597 * po/sl.po: Update Slovenian translation from translation project.
17598
597636d7
AO
175992014-02-02 Alexandre Oliva <aoliva@redhat.com>
17600
17601 * manual/time.texi (timegm): Add missing blank after @c.
17602 Reported by Joseph Myers <joseph@codesourcery.com>.
17603
ee196e3c
AO
176042014-02-01 Alexandre Oliva <aoliva@redhat.com>
17605
17606 * manual/check-safety.sh: New.
17607 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17608
f8d529d5
AO
17609 * manual/terminal.texi: Document MTASC-safety properties.
17610
de55fdf4
AO
17611 * manual/filesys.texi: Document MTASC-safety properties.
17612
c3299c08
AO
17613 * manual/errno.texi: Document MTASC-safety properties.
17614
06e90b14
AO
17615 * manual/intro.texi: Document safety identifiers and
17616 conditionals.
17617
1acd4371
AO
17618 * manual/string.texi (wcstok): Fix prototype.
17619 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17620
23e5b8cb
AO
17621 * manual/time.texi: Document MTASC-safety properties.
17622
11087373
AO
17623 * manual/string.texi: Document MTASC-safety properties.
17624
5da2c93d
AO
17625 * manual/threads.texi: Document MTASC-safety properties.
17626
171e9210
AO
17627 * manual/stdio.texi: Document MTASC-safety properties.
17628
d9e02532
AO
17629 * manual/syslog.texi: Document MTASC-safety properties.
17630
6af8bab7
AO
17631 * manual/sysinfo.texi: Document MTASC-safety properties.
17632
663b02d7
AO
17633 * manual/startup.texi: Document MTASC-safety properties.
17634
973f180b
AO
17635 * manual/socket.texi: Document MTASC-safety properties.
17636
8f3c25c8
AO
17637 * manual/signal.texi: Document MTASC-safety properties.
17638
542210fb
AO
176392014-01-31 Alexandre Oliva <aoliva@redhat.com>
17640
17641 * manual/setjmp.texi: Document MTASC-safety properties.
17642
433c45a2
AO
17643 * manual/search.texi: Document MTASC-safety properties.
17644
c8ce789c
AO
17645 * manual/resource.texi: Document MTASC-safety properties.
17646
19f5d29c
AO
17647 * manual/process.texi: Document MTASC-safety properties.
17648
e2dfb7f4
AO
17649 * manual/platform.texi: Document MTASC-safety properties.
17650
8c1413f5
AO
17651 * manual/pipe.texi: Document MTASC-safety properties.
17652
03483ada
AO
17653 * manual/pattern.texi: Document MTASC-safety properties.
17654
29e7e2df
AO
17655 * manual/message.texi: Document MTASC-safety properties.
17656
9f529d7c
AO
17657 [BZ #12751]
17658 * manual/memory.texi: Document MTASC-safety properties.
17659
27aaa791
AO
17660 * manual/math.texi: Document MTASC-safety properties.
17661
f2d58726
AO
17662 * manual/locale.texi: Document MTASC-safety properties.
17663
2cc3615c
AO
17664 * manual/llio.texi: Document MTASC-safety properties.
17665
d9f0ec97
AO
17666 * manual/libdl.texi: New.
17667
e7c4409a
AO
17668 * manual/lang.texi: Document MTASC-safety properties.
17669
27bdc63c
AO
17670 * manual/job.texi: Document MTASC-safety properties.
17671
a7b90ea9
AO
17672 * manual/getopt.texi: Document MTASC-safety properties.
17673
c49130e3
AO
17674 * manual/ctype.texi: Document MTASC-safety properties.
17675
0d23a5c1
MR
176762014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17677
17678 [BZ #16046]
17679 * csu/libc-tls.c (static_map): Remove variable.
17680 (__libc_setup_tls): Use main executable's link map for TLS data.
17681 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17682 casing for LM_ID_BASE and GL(dl_nns).
17683 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17684 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17685 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17686 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17687 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17688 member.
17689 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17690 l_phnum members.
17691
0037bb60
AO
176922014-01-30 Alexandre Oliva <aoliva@redhat.com>
17693
17694 * manual/debug.texi: Document MTASC-safety properties.
17695
409e00bd
L
176962014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17697
17698 [BZ #16510]
17699 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17700 of __x86_64__ when disabling x87 inline functions.
17701
86e60666
AO
177022014-01-29 Alexandre Oliva <aoliva@redhat.com>
17703
17704 * manual/charset.texi: Document MTASC-safety properties.
17705
76167637
AO
17706 * manual/crypt.texi: Document MTASC-safety properties.
17707
e567f2a0
AO
17708 * manual/conf.texi: Document MTASC-safety properties.
17709
b719dafd
AO
17710 * manual/arith.texi: Document MTASC-safety properties.
17711
4a16c662
AO
17712 * manual/argp.texi: Document MTASC-safety properties.
17713
0a57b83e
AO
17714 * manual/macros.texi: Introduce macros to document multi
17715 thread, asynchronous signal and asynchronous cancellation
17716 safety properties.
17717 * manual/intro.texi: Introduce the properties themselves.
17718
feab2397
KK
177192014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17720
17721 * sysdeps/sh/sh4/Makefile: New file.
17722
1c0d11bc
AS
177232014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17724
17725 * math/gen-libm-test.pl ($srcdir): New variable.
17726 ($auto_input): Use it.
17727
af37a8a3
SP
177282014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17729
d7b00f98
SP
17730 [BZ #16506]
17731 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17732 access beyond array bounds when parsing netgroups file.
17733
af37a8a3
SP
17734 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17735 the old buffer before realloc.
17736
0c00f062
AM
177372014-01-27 Allan McRae <allan@archlinux.org>
17738
17739 * po/fr.po: Update French translation from translation project.
17740
7d69a1b0
KK
177412014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17742
17743 * sysdeps/sh/libm-test-ulps: Regenerate.
17744
6e697ff7
DM
177452014-01-24 David S. Miller <davem@davemloft.net>
17746
17747 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17748
9cadb35c
KK
177492014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17750
17751 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17752 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17753
5d41dadf
SP
177542013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17755
17756 [BZ #16474]
17757 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17758 string pointers after reallocation.
17759
0bad441c
KK
177602014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17761
17762 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17763 __SH4A__ instead of __SH_FPU_ANY__.
17764
7007c661
KK
177652014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17766
17767 * sysdeps/sh/fpu_control.h: New file.
17768 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17769 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17770 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17771 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17772 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17773 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17774 * sysdeps/sh/sys/ucontext.h: Remove.
17775 * sysdeps/sh/sys: Remove directory.
17776
0f0c35e4
AK
177772014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17778
17779 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17780 s390/sys/ucontext.h.
17781 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17782 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17783
4959e284
L
177842014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 [BZ #15605]
17787 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17788
d98720e0
AZ
177892014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17790
17791 [BZ#16431]
17792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17793 Adjust the vDSO correctly for internal calls.
17794 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17795
91cbd0bc
AM
177962014-01-20 Allan McRae <allan@archlinux.org>
17797
17798 * po/ca.po: Update Catalan translation from translation project.
17799
7a02cfad
MF
178002014-01-16 Mike Frysinger <vapier@gentoo.org>
17801
17802 * sysdeps/s390/sotruss-lib.c: New file.
17803
736c304a
AZ
178042014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17805
17806 [BZ#16430]
6e077ee5 17807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17808 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17809 local calls issues by not having a PLT stub required for IFUNC calls.
17810 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17811
94d0cea0
JM
178122014-01-16 Joseph Myers <joseph@codesourcery.com>
17813
17814 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17815 * math/test-fpucw-static.c: Likewise.
17816
980cb518
SP
178172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17818
17819 [BZ #16453]
17820 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17821
2393fc01
AZ
178222014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17823
17824 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17825 implementation for powerpc.
17826
d359bcc2
OB
178272014-01-15 Ondřej Bílka <neleai@seznam.cz>
17828
17829 [BZ #14782]
17830 * sysdeps/posix/system.c (__libc_system): Do not enable
17831 asynchronous cancellation.
17832
7beb48cb
AK
178332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17834
17835 [BZ #16427]
17836 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17837 handling only for numbers special also in the IEEE case.
17838
c20d5bf5
AK
178392014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17840
17841 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17842
e83bd4ee
AM
178432014-01-11 Allan McRae <allan@archlinux.org>
17844
76d0ea69
AM
17845 * po/bg.po: Update Bulgarian translation from translation project.
17846
e83bd4ee
AM
17847 * po/de.po: Update German translation from translation project.
17848
bc2ba20a
RM
178492014-01-10 Roland McGrath <roland@hack.frob.com>
17850
17851 * sysdeps/generic/gcc-compat.h: New file.
17852
649ecea2
SP
178532014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17854
17855 * benchtests/asin-inputs: Correct slow inputs.
17856 * benchtests/acos-inputs: Likewise.
17857
1b19c006
AM
178582014-01-10 Allan McRae <allan@archlinux.org>
17859
a46dab08
AM
17860 * po:sv.po: Update Swedish translation from translation project.
17861
421df74a
AM
17862 * po/vi.po: Update Vietnamese translation from translation project.
17863
d61c51a7
AM
17864 * po/eo.po: Update Esperanto translation from translation project.
17865
0339a319
AM
17866 * po/cs.po: Update Czech translation from translation project.
17867
94ad3e99
AM
17868 * po/nl.po: Update Dutch translation from translation project.
17869
e349ca71
AM
17870 * po/pl.po: Update Polish translation from translation project.
17871
ddf930c1
AM
17872 * po/ru.po: Update Russian translation from translation project.
17873
1b19c006
AM
17874 * po/uk.po: Update Ukrainian translation from translation project.
17875
9f236c49
BM
178762014-01-08 Brooks Moses <bmoses@google.com>
17877
17878 * elf/dl-load.c: Fix comment typo.
17879
cd6701cf
CD
178802014-01-08 Carlos O'Donell <carlos@redhat.com>
17881
17882 * po/header.pot: Rename to...
17883 * po/pot.header: ... this.
17884 * po/Makefile: Use pot.header.
17885
66671c84
YK
178862014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17887 Maxim Kuvyrkov <maxim@kugelworks.com>
17888
17889 [BZ #16394]
cd6701cf
CD
17890 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17891 SRC and DEST against LEN.
66671c84 17892
38f34581
AZ
178932014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17894
17895 [BZ #16414]
17896 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17897 implementation.
17898 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17899
179002014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17901
17902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17903
4c327f2a
JM
179042014-01-08 Joseph Myers <joseph@codesourcery.com>
17905
17906 [BZ #16408]
17907 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17908 for large positive arguments.
17909
b821f414
JM
179102014-01-07 Joseph Myers <joseph@codesourcery.com>
17911
1f0f2067
JM
17912 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17913
a5a326f6
JM
17914 * math/auto-libm-test-in: Mark various tests with
17915 xfail-rounding:ldbl-128ibm.
17916 * math/auto-libm-test-out: Regenerated.
17917
b821f414
JM
17918 [BZ #16407]
17919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17920 Increase overflow threshold.
17921
94c8a4bc
OB
179222014-01-07 Ondřej Bílka <neleai@seznam.cz>
17923
17924 [BZ #14286]
17925 * stdio-common/vfprintf.c: Check for integer overflow.
17926
87ded0c3
AK
179272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17928
17929 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17930 the first argument and return value of __tls_get_addr_internal.
17931
c5eebdd0
AK
179322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17933
17934 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17935 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17936
05d138ef
AK
179372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17938
17939 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17940 * sysdeps/s390/rtld-global-offsets.sym: New file.
17941 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17942 GLIBC_2.19 symbol.
17943 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17944 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17946 ... this.
17947 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17948 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17949 ... this.
17950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17951 Regenerate.
17952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17953 Regenerate.
17954 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17955 halfs of GPRs for high_gprs contexts.
17956 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17957 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17958 field.
17959 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17960 uc_flags field.
17961 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17962 64 bit versions:
17963 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17964 for high GPRs (uc_high_gprs) and for future extensions
17965 (__reserved).
17966 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17967 for future extensions (__reserved).
17968 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17969 64 bit versions:
17970 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17971 SC_HIGHGPRS offset definition.
17972 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17973 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17974
93a45ff1
AK
17975 * Versions.def: Add GLIBC_2.19 for libpthread.
17976 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17977 siglongjmp for libpthread with GLIBC_2.19 symver.
17978 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17979 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17980 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17981 * sysdeps/s390/__longjmp.c: New file.
17982 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17983 * sysdeps/s390/longjmp.c: New file.
17984 * sysdeps/s390/setjmp.S: New file.
17985 * sysdeps/s390/sigjmp.S: New file.
17986 * sysdeps/s390/v1-longjmp.c: New file.
17987 * sysdeps/s390/v1-setjmp.h: New file.
17988 * sysdeps/s390/v1-sigjmp.c: New file.
17989 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17990 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17991 GLIBC_2.19 version.
17992 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17993 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17994 versioned symbols for ____longjmp_chk.
17995 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17996 Likewise.
17997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17998 Regenerate.
17999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18000 Regenerate.
18001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18002 Regenerate.
18003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18004 Regenerate.
18005 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18006 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18007 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18008 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18009 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18010 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18011 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18012 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18013 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18014 * sysdeps/s390/rtld-__longjmp.c: New file.
18015 * sysdeps/s390/rtld-setjmp.S: New file.
18016
eb3fc44b
JM
180172014-01-06 Joseph Myers <joseph@codesourcery.com>
18018
18019 [BZ #16400]
18020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18021 Return -__logl (x) for small positive arguments without evaluating
18022 a polynomial.
18023
9341dde4
MF
180242014-01-06 Mike Frysinger <vapier@gentoo.org>
18025
18026 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18027 Rename to ...
18028 (__ptrace_peeksiginfo_args): ... this.
18029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18032
4cff0293
AM
180332014-01-06 Allan McRae <allan@archlinux.org>
18034
18035 * inet/netinet/in.h: Fix typo in comment.
18036
75595dcf
AJ
180372014-01-05 Andreas Jaeger <aj@suse.de>
18038
18039 * sysdeps/i386/fpu/libm-test-ulps: Update.
18040
79c1e109
AM
180412014-01-05 Allan McRae <allan@archlinux.org>
18042
dd804818
AM
18043 * po/libc.pot: Regenerated.
18044
79c1e109
AM
18045 * malloc/memusagestat.c: Fix gettext call formatting.
18046
0c813d1f
SK
180472014-01-04 Sami Kerola <kerolasa@iki.fi>
18048
18049 * nscd/nscd.c: Improve usage() output.
18050
20f4a8d9
MF
180512014-01-04 Mike Frysinger <vapier@gentoo.org>
18052
18053 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18054 * sysdeps/unix/sysv/linux/configure: Regenerated.
18055 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18056 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18057
22562bb2
JM
180582014-01-03 Joseph Myers <joseph@codesourcery.com>
18059
18060 [BZ #16390]
18061 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18062 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18063
d7ad2d9b
AZ
180642014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18065
18066 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18067 extra tokens at end of #undef directive.
18068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18069 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18071
7dd009d8
JM
180722014-01-03 Joseph Myers <joseph@codesourcery.com>
18073
24db925a
JM
18074 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18075
7dd009d8
JM
18076 * math/auto-libm-test-in: Mark various tests with
18077 xfail-rounding:ldbl-128ibm.
18078 * math/auto-libm-test-out: Regenerated.
18079
396e3ecf
JM
180802014-01-02 Joseph Myers <joseph@codesourcery.com>
18081
819e5d50
JM
18082 [BZ #16386]
18083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18084 numbers with subnormal high part when calculating exponent.
18085
90b6a1e5
JM
18086 [BZ #16385]
18087 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18088 fabs.
18089
396e3ecf
JM
18090 [BZ #16384]
18091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18092 M_LN2l.
18093 (__ieee754_acoshl): Use __log1pl not __log1p.
18094
6c8dbf00
OB
180952013-01-02 Ondřej Bílka <neleai@seznam.cz>
18096
57f41c40
AS
18097 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18098 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18099 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18100 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18101 (reused_arena, arena_get2): Convert to GNU style.
18102 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18103 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18104 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18105 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18106 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18107 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18108 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18109 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18110 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18111 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18112 * malloc/malloc.h: Likewise.
57f41c40
AS
18113 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18114 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18115 * malloc/mcheck.h: Likewise.
57f41c40
AS
18116 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18117 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18118 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18119 * malloc/morecore.c (__default_morecore): Likewise.
18120 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18121 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18122 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18123 (print_and_abort): Likewise.
6c8dbf00
OB
18124 * malloc/obstack.h: Likewise.
18125 * malloc/set-freeres.c (__libc_freeres): Likewise.
18126 * malloc/tst-mallocstate.c (main): Likewise.
18127 * malloc/tst-mtrace.c (main): Likewise.
18128 * malloc/tst-realloc.c (do_test): Likewise.
18129
d4124212
SP
181302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18131
9a3c6a6f
SP
18132 [BZ #16366]
18133 * nscd/netgroupcache.c (do_notfound): New function.
18134 (addgetnetgrentX): Use it.
18135
d4124212
SP
18136 [BZ # 16365]
18137 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18138 NSS_STATUS_NOTFOUND.
18139
97b9a009
JM
181402014-01-01 Joseph Myers <joseph@codesourcery.com>
18141
18142 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144
d4697bc9
AM
181452014-01-01 Allan McRae <allan@archlinux.org>
18146
ddb3687f
AM
18147 * scripts/update-copyrights: Update configure input file suffix.
18148
88726d48
AM
18149 * NEWS: Update copyright year.
18150 * catgets/gencat.c: Likewise.
18151 * csu/version.c: Likewise.
18152 * debug/catchsegv.sh: Likewise.
18153 * debug/pcprofiledump.c: Likewise.
18154 * debug/xtrace.sh: Likewise.
18155 * elf/ldconfig.c: Likewise.
18156 * elf/ldd.bash.in: Likewise.
18157 * elf/pldd.c: Likewise.
18158 * elf/sotruss.ksh: Likewise.
18159 * elf/sprof.c: Likewise.
18160 * iconv/iconv_prog.c: Likewise.
18161 * iconv/iconvconfig.c: Likewise.
18162 * locale/programs/locale.c: Likewise.
18163 * locale/programs/localedef.c: Likewise.
18164 * login/programs/pt_chown.c: Likewise.
18165 * malloc/memusage.sh: Likewise.
18166 * malloc/memusagestat.c: Likewise.
18167 * malloc/mtrace.pl: Likewise.
18168 * manual/libc.texinfo: Likewise.
18169 * nscd/nscd.c: Likewise.
18170 * nss/getent.c: Likewise.
18171 * nss/makedb.c: Likewise.
18172 * posix/getconf.c: Likewise.
18173 * scripts/test-installation.pl: Likewise.
18174
d4697bc9
AM
18175 * All files with FSF copyright notices: Update copyright dates
18176 using scripts/update-copyrights.
18177 * intl/plural.c: Regenerated.
18178 * locale/programs/charmap-kw.h: Likewise.
18179 * locale/programs/locfile-kw.h: Likewise.
18180
c8590f9d
MF
181812013-12-31 Mike Frysinger <vapier@gentoo.org>
18182
18183 * sysdeps/unix/sysv/linux/configure: Regenerated.
18184 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18185 the linux/fanotify.h header.
18186 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18187 HAVE_LINUX_FANOTIFY_H is defined.
18188
b19221b9
SP
181892013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18190
dd1d85e5
SP
18191 * benchtests/cos-inputs: New inputs.
18192 * benchtests/sin-inputs: Likewise.
18193
1acbb90f
SP
18194 * benchtests/atan-inputs: New inputs. Fix name of multiple
18195 precision fallback inputs.
18196
4c012ed3
SP
18197 * benchtests/atanh-inputs: New inputs.
18198 * benchtests/tanh-inputs: Likewise.
18199
eff98324
SP
18200 * benchtests/acosh-inputs: New inputs.
18201 * benchtests/asinh-inputs: Likewise.
18202
ce641152
SP
18203 * benchtests/cosh-inputs: New inputs.
18204 * benchtests/sinh-inputs: Likewise.
18205
b19221b9
SP
18206 * benchtests/acos-inputs: Add more inputs.
18207 * benchtests/asin-inputs: Likewise.
18208
030a4976 182092013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18210
030a4976 18211 [BZ #16375]
9dcc8f11
VS
18212 * manual/arith.texi: Fix spelling.
18213 * manual/charset.texi: Likewise.
18214 * manual/errno.texi: Likewise.
18215 * manual/filesys.texi: Likewise.
18216 * manual/lang.texi: Likewise.
18217 * manual/llio.texi: Likewise.
18218 * manual/locale.texi: Likewise.
18219 * manual/message.texi: Likewise.
18220 * manual/resource.texi: Likewise.
18221 * manual/search.texi: Likewise.
18222 * manual/setjmp.texi: Likewise.
18223 * manual/stdio.texi: Likewise.
18224 * manual/string.texi: Likewise.
18225 * manual/sysinfo.texi: Likewise.
18226 * manual/time.texi: Likewise.
18227
11520a57
CD
182282013-12-27 Carlos O'Donell <carlos@redhat.com>
18229
18230 * po/sl.po: New file.
18231
471103ae
MF
182322013-12-27 Mike Frysinger <vapier@gentoo.org>
18233
18234 * .gitignore: Add core/.gdbinit/.gdb_history.
18235
6c9642ed
AM
182362013-12-27 Allan McRae <allan@archlinux.org>
18237
18238 [BZ #16369]
18239 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18240 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18241
3f637079
BM
182422013-12-24 Brooks Moses <bmoses@google.com>
18243
18244 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18245 all compilers that claim C++98 compliance, not just GCC.
18246 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18247 Likewise.
18248
abc26e99
MK
182492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18250
18251 * NEWS: Restore accidentally deleted bug-fix entries.
18252
362b47fe
MK
182532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18254 Ondřej Bílka <neleai@seznam.cz>
18255
18256 [BZ #15073]
18257 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18258 have_lock.
362b47fe 18259
b9bcbbcb
OB
182602013-12-23 Ondřej Bílka <neleai@seznam.cz>
18261
18262 [BZ #12986]
18263 * manual/stdio.texi (String Input Conversions): Clarify that character
18264 classes are not supported.
18265
fb55fcd2
AZ
182662013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18267
18268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18269
ef7344f0
JM
182702013-12-22 Joseph Myers <joseph@codesourcery.com>
18271
4f40e4b3
JM
18272 [BZ #16337]
18273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18274 Calculate results for small negative arguments directly rather
18275 than using reflection formula with special underflow handling.
18276
ef7344f0
JM
18277 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18278 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18279 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18280 (fchflags): Likewise.
18281 (revoke): Likewise.
18282 (setlogin): Likewise.
18283 (sigaltstack): Likewise.
18284 (wait4): Likewise.
18285 (sigblock): Remove.
18286 (sigsetmask): Likewise.
18287 (wait3): Likewise.
18288 (waitpid): Likewise.
18289 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18290 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18291 file.
18292 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18293 * sysdeps/unix/bsd/Makefile: ... here.
18294 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18295 * sysdeps/unix/bsd/Versions: ... here.
18296 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18297 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18298 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18299 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18300 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18301 * sysdeps/unix/bsd/sigblock.c: ... here.
18302 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18303 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18304 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18305 * sysdeps/unix/bsd/sigvec.c: ... here.
18306 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18307 * sysdeps/unix/bsd/tcdrain.c: ... here.
18308 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18309 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18310 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18311 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18312 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18313 * sysdeps/unix/bsd/wait.c: ... here.
18314 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18315 * sysdeps/unix/bsd/wait3.c: ... here.
18316 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18317 * sysdeps/unix/bsd/waitpid.c: ... here.
18318
5b0626b9
JM
183192013-12-21 Joseph Myers <joseph@codesourcery.com>
18320
18321 [BZ #16356]
18322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18323 round-to-nearest for [!USE_AS_EXPM1L].
18324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18325 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18326 more tests of exp and exp10. Expect some exp10 tests to miss
18327 exceptions or fail in directed rounding modes.
18328 * math/auto-libm-test-out: Regenerated.
18329 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18330 (exp10_test_tonearest): New function.
18331 (exp10_towardzero_test_data): New array.
18332 (exp10_test_towardzero): New function.
18333 (exp10_downward_test_data): New array.
18334 (exp10_test_downward): New function.
18335 (exp10_upward_test_data): New array.
18336 (exp10_test_upward): New function.
18337 (main): Call the new functions.
18338 * sysdeps/i386/fpu/libm-test-ulps: Update.
18339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18340
7fda5682
JM
183412013-12-20 Joseph Myers <joseph@codesourcery.com>
18342
31e3a405
JM
18343 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18344 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18345 * math/auto-libm-test-out: Regenerated.
18346 * math/libm-test.inc (acosh_test_data): Add more tests.
18347 (atanh_test_data): Likewise.
18348 (ceil_test_data): Likewise.
18349 (copysign_test_data): Likewise.
18350 * sysdeps/i386/fpu/libm-test-ulps: Update.
18351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18352
85bff96a
JM
18353 * timezone/checktab.awk: Update from tzcode 2013i.
18354 * timezone/private.h: Likewise.
18355 * timezone/scheck.c: Likewise.
18356 * timezone/tzfile.h: Likewise.
18357 * timezone/tzselect.ksh: Likewise.
18358 * timezone/zdump.c: Likewise.
18359 * timezone/zic.c: Likewise.
18360
b7867a3b
JM
18361 * math/auto-libm-test-in: Add tests of cpow.
18362 * math/auto-libm-test-out: Regenerated.
18363 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18364 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18365 mpc_cc_c.
18366 (func_calc_desc): Add mpc_cc_c union field.
18367 (test_functions): Add cpow.
18368 (special_fill_2pi): New function.
18369 (special_real_inputs): Add 2pi.
18370 (calc_generic_results): Handle mpc_cc_c.
18371 * sysdeps/i386/fpu/libm-test-ulps: Update.
18372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18373
7fda5682
JM
18374 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18375 csqrt, ctan and ctanh.
18376 * math/auto-libm-test-out: Regenerated.
18377 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18378 (TEST_COND_x86): Likewise.
18379 (ccos_test_data): Use AUTO_TESTS_c_c.
18380 (ccosh_test_data): Likewise.
18381 (cexp_test_data): Likewise.
18382 (clog_test_data): Likewise.
18383 (csqrt_test_data): Likewise.
18384 (ctan_test_data): Likewise.
18385 (ctan_tonearest_test_data): Likewise.
18386 (ctan_towardzero_test_data): Likewise.
18387 (ctan_downward_test_data): Likewise.
18388 (ctan_upward_test_data): Likewise.
18389 (ctanh_test_data): Likewise.
18390 (ctanh_tonearest_test_data): Likewise.
18391 (ctanh_towardzero_test_data): Likewise.
18392 (ctanh_downward_test_data): Likewise.
18393 (ctanh_upward_test_data): Likewise.
18394 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18395 mpc_c_c.
18396 (func_calc_desc): Add mpc_c_c union field.
18397 (FUNC_mpc_c_c): New macro.
18398 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18399 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18400 ctanh.
18401 (special_fill_min_subnorm_p120): New function.
18402 (special_real_inputs): Add min_subnorm_p120.
18403 (calc_generic_results): Handle mpc_c_c.
18404 * sysdeps/i386/fpu/libm-test-ulps: Update.
18405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18406
5ff8d60e
SP
184072013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18408
57f41c40
AS
18409 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18410 (do_sin_slow): New functions.
18411 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18412 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18413
84ba214c
SP
18414 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18415 Use M to change sign of result instead of X. Assume X is
18416 positive.
18417 (csloww1): Likewise.
18418 (__sin): Adjust.
18419 (__cos): Adjust.
18420
975195e4
SP
18421 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18422 arguments A and DA.
18423 (__sin): Adjust.
18424 (__cos): Likewise.
18425
5ff8d60e
SP
18426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18427 (__cos): Likewise.
18428 (sloww1): Don't adjust sign of DX.
18429 (csloww1): Likewise.
18430 (sloww2): Use X directly and don't adjust sign of DX.
18431 (csloww2): Likewise.
18432
eb983568
JM
184332013-12-19 Joseph Myers <joseph@codesourcery.com>
18434
64a17f1a
JM
18435 * math/auto-libm-test-in: Add tests of cabs and carg.
18436 * math/auto-libm-test-out: Regenerated.
18437 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18438 (carg_test_data): Likewise.
18439 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18440 mpc_c_f.
18441 (func_calc_desc): Add mpc_c_f union field.
18442 (test_functions): Add cabs and carg.
18443 (calc_generic_results): Handle mpc_c_f.
18444
eb983568
JM
18445 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18446 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18447 as a macro and a compat symbol.
18448 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18449 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18450 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18451 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18452 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18453 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18454 not use .hidden.
18455 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18456 Likewise.
18457 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18458 Likewise.
18459 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18460 Likewise.
18461 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18462 Likewise.
18463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18464 Likewise.
18465 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18466 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18467 from GLIBC_2.3.2.
18468
6eeb678a
AZ
184692013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18470
18471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18472
6f6fc482
JM
184732013-12-19 Joseph Myers <joseph@codesourcery.com>
18474
21fea2e2
JM
18475 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18476 trailing whitespace removed.
18477 * scripts/config.guess: Update to version 2013-11-29.
18478 * scripts/config.sub: Update to version 2013-10-01.
18479
6f6fc482
JM
18480 * math/auto-libm-test-in: Add tests of sincos.
18481 * math/auto-libm-test-out: Regenerated.
18482 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18484 mpfr_f_11.
18485 (func_calc_desc): Add mpfr_f_11 union field.
18486 (test_functions): Add sincos.
18487 (calc_generic_results): Handle mpfr_f_11.
18488 * sysdeps/i386/fpu/libm-test-ulps: Update.
18489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18490
83f5c32d
AS
184912013-12-19 Andreas Schwab <schwab@suse.de>
18492
18493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18494 CALL_MCOUNT.
18495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18497 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18498
c688b419
JM
184992013-12-19 Joseph Myers <joseph@codesourcery.com>
18500
335ee092
JM
18501 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18502 * sysdeps/i386/fpu/libm-test-ulps: Update.
18503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18504
f88acd39
JM
18505 [BZ #16293]
18506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18507 round-to-nearest mode when using frndint.
18508 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18509 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18510 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18511 Likewise.
18512 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18513 sinh test to fail.
18514 * math/auto-libm-test-out: Regenerated.
18515 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18516 (TEST_COND_x86): Likewise.
18517 (expm1_tonearest_test_data): New array.
18518 (expm1_test_tonearest): New function.
18519 (expm1_towardzero_test_data): New array.
18520 (expm1_test_towardzero): New function.
18521 (expm1_downward_test_data): New array.
18522 (expm1_test_downward): New function.
18523 (expm1_upward_test_data): New array.
18524 (expm1_test_upward): New function.
18525 (main): Run the new test functions.
18526 * sysdeps/i386/fpu/libm-test-ulps: Update.
18527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18528
c688b419
JM
18529 * include/features.h: Update comment documenting feature test
18530 macros. Mention _DEFAULT_SOURCE in comment.
18531 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18532 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18533 _BSD_SOURCE and _SVID_SOURCE.
18534 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18535 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18536 !_SVID_SOURCE]: Likewise.
18537 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18538 (__USE_POSIX_IMPLICITLY): Define.
18539 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18540 (_POSIX_SOURCE): Undefine and redefine.
18541 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18542 (_POSIX_C_SOURCE): Likewise.
18543 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18544 (Feature Test Macros): Update documentation of default features.
18545
9f6e964c
RS
185462013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18547
18548 * benchtests/Makefile: Add bench-strtok.
18549 * benchtests/bench-strtok.c: New file: strtok benchtest.
18550
ee0a148a
AM
185512013-12-19 Allan McRae <allan@archlinux.org>
18552
18553 * manual/install.texi: Suppress menu for plain text output.
18554 * INSTALL: Regenerated.
18555
b9ab448f
BM
185562013-12-18 Brooks Moses <bmoses@google.com>
18557
18558 [BZ #15846]
18559 * misc/getauxval.c: Include errno.h.
18560 (__getauxval): Set errno to ENOENT if the requested type is not
18561 found.
18562 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18563 don't declare with __attribute_const__.
18564 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18565 * manual/startup.texi: Document that getauxval sets errno.
18566
23776487
JM
185672013-12-18 Joseph Myers <joseph@codesourcery.com>
18568
f889953b
JM
18569 * math/auto-libm-test-in: Add tests of jn and yn.
18570 * math/auto-libm-test-out: Regenerated.
18571 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18572 (yn_test_data): Likewise.
18573 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18574 mpfr_if_f.
18575 (func_calc_desc): Add mpfr_if_f union field.
18576 (FUNC_mpfr_if_f): New macro.
18577 (test_functions): Add jn and yn.
18578 (calc_generic_results): Assert type of second input for
18579 mpfr_ff_f. Handle mpfr_if_f.
18580 (output_for_one_input_case): Disable all checking for arguments
18581 fitting floating-point types in case of an integer argument.
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18584
23776487
JM
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18586 Don't expect fegetround reference in libm.so.
18587
cb756c6d
MS
185882013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18589
18590 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18591 $(config-cflags-nofma).
18592
2dec468f
JM
185932013-12-18 Joseph Myers <joseph@codesourcery.com>
18594
5953eb3a
JM
18595 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18596 * math/auto-libm-test-out: Regenerated.
18597
2dec468f
JM
18598 [BZ #16338]
18599 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18600 to determine exponent and adjust argument to have exponent of -1.
18601 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18602 log2.
18603 * math/auto-libm-test-out: Regenerated.
18604 * sysdeps/i386/fpu/libm-test-ulps: Update.
18605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606
4d84e6ad
OB
186072013-12-18 Ondřej Bílka <neleai@seznam.cz>
18608
18609 * manual/probes.texi: Remove cases when per-thread arenas are
18610 disabled.
18611
1818483b
AS
186122013-12-18 Andreas Schwab <schwab@suse.de>
18613
18614 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18615 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18616 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18617 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18618 * sysdeps/i386/i686/multiarch/Makefile: Update.
18619 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18620
25de95bf
JM
186212013-12-17 Joseph Myers <joseph@codesourcery.com>
18622
18623 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18624 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18625
674762d9
PE
186262013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18627
ed27ed83 18628 [BZ #15968]
0748546f
PE
18629 Support TZ transition times < 00:00:00.
18630 This is needed for version-3 tz-format files; it supports time
18631 stamps past 2037 for America/Godthab (the only entry in the tz
18632 database for which this change is relevant).
18633 * manual/time.texi (TZ Variable): Document transition times
18634 from -167:59:59 through -00:00:01.
18635 * time/tzset.c (tz_rule): Time of day is now signed.
18636 (__tzset_parse_tz): Parse negative time of day.
18637
4480e934
PE
18638 Document TZ transition times >= 25:00:00.
18639 * manual/time.texi (TZ Variable): Document transition times from
18640 25:00:00 through 167:59:59. These are already supported, and this
18641 support will help with version-3 tz-format files.
18642
69947401
PE
18643 * manual/time.texi (TZ Variable): Modernize North America example
18644 to reflect current (i.e., 2007-and-later) daylight saving rules.
18645
674762d9
PE
18646 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18647
7011c262
JM
186482013-12-17 Joseph Myers <joseph@codesourcery.com>
18649
2fc6557e
JM
18650 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18651 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18654 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18655 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18656 * sysdeps/unix/bsd/clock.c: Likewise.
18657 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18658 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18659 * sysdeps/unix/bsd/init-posix.c: Likewise.
18660 * sysdeps/unix/bsd/poll.c: Likewise.
18661 * sysdeps/unix/bsd/ptsname.c: Likewise.
18662 * sysdeps/unix/bsd/seekdir.c: Likewise.
18663 * sysdeps/unix/bsd/setegid.c: Likewise.
18664 * sysdeps/unix/bsd/seteuid.c: Likewise.
18665 * sysdeps/unix/bsd/setgid.c: Likewise.
18666 * sysdeps/unix/bsd/setrgid.c: Likewise.
18667 * sysdeps/unix/bsd/setruid.c: Likewise.
18668 * sysdeps/unix/bsd/setsid.c: Likewise.
18669 * sysdeps/unix/bsd/setuid.c: Likewise.
18670 * sysdeps/unix/bsd/sigaction.c: Likewise.
18671 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18672 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18673 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18674 * sysdeps/unix/bsd/telldir.c: Likewise.
18675 * sysdeps/unix/bsd/times.c: Likewise.
18676 * sysdeps/unix/bsd/usleep.c: Likewise.
18677
029c7b25
JM
18678 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18679 ($(objpfx)libbsd-compat.a): Remove rule.
18680
7011c262
JM
18681 * include/features.h (__FAVOR_BSD): Do not define.
18682 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18683 features conflicting with POSIX.
18684 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18685 (_BSD_SOURCE): Remove description of not being a subset of other
18686 feature test macros.
18687 * manual/job.texi (getpgrp): Do not document BSD version.
18688 (getpgid): Do not document by reference to BSD getpgrp.
18689 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18690 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18691 * signal/signal.h [__FAVOR_BSD]: Likewise.
18692 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18693 instead of making contents conditional on [__FAVOR_BSD].
18694 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18695
affb6f78
AZ
186962013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18697
18698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18699
c88769dd
JM
187002013-12-17 Joseph Myers <joseph@codesourcery.com>
18701
6432a540
JM
18702 [BZ #16314]
18703 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18704 values below 2**-450, not 2**-500.
18705 * math/auto-libm-test-in: Don't allow spurious underflow from
18706 hypot.
18707 * math/auto-libm-test-out: Regenerated.
18708
c88769dd
JM
18709 [BZ #16316]
18710 [BZ #16330]
18711 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18712 values of ha and hb and sort them after adjusting subnormal
18713 arguments.
18714 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18715 Likewise.
18716 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18717 values of ea and eb and sort them after adjusting subnormal
18718 arguments.
18719 * math/auto-libm-test-in: Do not expect some hypot tests of
18720 subnormals to fail. Add more hypot tests.
18721 * math/auto-libm-test-out: Regenerated.
18722
29618f6b
KK
187232013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18724
18725 [BZ #13304]
18726 * sysdeps/sh/s_fma.c: New file.
18727 * sysdeps/sh/s_fmaf.c: New file.
18728 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18729 version.
18730 * sysdeps/sh/Implies: Add sh/soft-fp.
18731
eacfdfbf
RM
187322013-12-16 Roland McGrath <roland@hack.frob.com>
18733
18734 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18735 level of indirection to members `objname', `errstring', `malloced'.
18736 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18737 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18738 it as the __longjmp argument (just pass 1 instead).
18739 (_dl_catch_error): Initialize C with argument pointers and address of
18740 volatile local ERRCODE rather than copying values out of C at return.
18741
ff362e5b
JM
187422013-12-16 Joseph Myers <joseph@codesourcery.com>
18743
18744 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18745 * math/auto-libm-test-out: Regenerated.
18746 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18747 (hypot_test_data): Likewise.
18748 (pow_test_data): Likewise.
18749 (pow_tonearest_test_data): Likewise.
18750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18751 mpfr_ff_f.
18752 (func_calc_desc): Add mpfr_ff_f union field.
18753 (FUNC_mpfr_ff_f): New macro.
18754 (test_functions): Add atan2, hypot and pow.
18755 (special_fill_min): New function.
18756 (special_fill_minus_min): Likewise.
18757 (special_fill_min_subnorm): Likewise.
18758 (special_fill_minus_min_subnorm): Likewise.
18759 (special_real_inputs): Add min, -min, min_subnorm and
18760 -min_subnorm.
18761 (calc_generic_results): Handle mpfr_ff_f.
18762 * sysdeps/i386/fpu/libm-test-ulps: Update.
18763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764
5764c27f
WN
187652013-12-16 Will Newton <will.newton@linaro.org>
18766
18767 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18768 (Aligned Memory Blocks): Add documentation for aligned_alloc
18769 and suggest it as an alternative to posix_memalign.
18770 (Hooks for Malloc): Document __memalign_hook is also called
18771 for aligned_alloc. (Summary of Malloc): Add summary for
18772 aligned alloc. Document __memalign_hook is also called
18773 for aligned_alloc.
18774
0a096e44
WN
187752013-12-16 Will Newton <will.newton@linaro.org>
18776
18777 * manual/memory.texi (Malloc Examples): Clarify default
18778 alignment documentation. Suggest posix_memalign rather
18779 than memalign or valloc.
18780 (Aligned Memory Blocks): Remove suggestion to use memalign
18781 or valloc. Remove obsolete comment about BSD.
18782 Document memalign errno values and mark the function obsolete.
18783 Document posix_memalign returned error codes. Mark valloc
18784 as obsolete. (Hooks for Malloc): __memalign_hook is also
18785 called for posix_memalign and valloc.
18786 (Summary of Malloc): Add posix_memalign to function summary.
18787 __memalign_hook is also called for posix_memalign and valloc.
18788
8d561986
SP
187892013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18790
18791 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18792 TAYLOR_SIN.
18793 (__sin): Adjust.
18794 (__cos): Likewise.
18795 (sloww): Use mynumber union. Expand ternary operator into
18796 if-else statements.
18797 (cslow): use mynumber union.
18798
73616a74
AM
187992013-12-16 Allan McRae <allan@archlinux.org>
18800
9e8ac24b
AM
18801 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18802 * configure: Regenerated.
18803
6f8e37eb
AM
18804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18805
8894bad3
AM
18806 [BZ #14120]
18807 * configure.ac: Added --enable-maintainer-mode. Check for
18808 autoconf when enabled.
18809 * configure: Regenerated.
18810
73616a74
AM
18811 * nscd/nscd.service: New file.
18812 * nscd/nscd.tmpfiles: New file.
18813
584b18eb
OB
188142013-12-14 Ondřej Bílka <neleai@seznam.cz>
18815
18816 [BZ #12100]
18817 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18818 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18819 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18820 (strstr): Add __strstr_sse2_unaligned ifunc.
18821 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18822 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18823 (strcasestr): Remove __strcasestr_sse42 ifunc.
18824 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18827
8a5c7897
KK
188282013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18829
18830 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18831 * sysdeps/sh/bits/fenv.h: ... here.
18832 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18833
fd712ef3
AZ
188342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18835
18836 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18837
42fcb46c
AZ
18838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18839 hypotf multiarch implementations.
18840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18843 multiarch hypot for PPC64.
18844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18846 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18847 multiarch hypotf for PPC64.
18848
83efded4
AZ
18849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18850 modff multiarch implementations.
18851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18854 multiarch modf for PPC64.
18855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18858 multiarch modff for PPC64.
18859
43e246d2
AZ
18860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18861 and logl multiarch implementations.
18862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18865 multiarch logb for PPC64.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18869 multiarch logb for PPC64.
18870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18873 multiarch logb for PPC64.
18874
8fdad123
AZ
18875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18876 isinff multiarch implementation.
18877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18878 file.
18879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18881 multiarch isinf for PPC64.
18882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18883 file.
18884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18885 multiarch isinff for PPC64.
18886
1481d706
AZ
18887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18888 finitef multiarch implementation.
18889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18890 file.
18891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18893 multiarch finite for PPC64.
18894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18895 file.
18896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18897 multiarch finitef for PPC64.
18898
5ccd5fc8
AZ
18899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18900 lrint multiarch implementation.
18901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18902 file.
18903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18905 multiarch llrint for PPC64.
18906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18907 multiarch lrint for PPC64.
18908
2568f3fa
AZ
18909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18910 copysignf multiarch implementation.
18911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18912 file.
18913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18914 file.
18915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18916 multiarch copysign for PPC64.
18917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18918 multiarch copysignf for PPC64.
18919
1cb341fd
AZ
18920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18921 multiarch implementation.
18922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18923 file.
18924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18925 file.
18926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18927 file.
18928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18929 file.
18930 multiarch llround for PPC64.
18931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18932 multiarch trunc for PPC64.
18933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18934 multiarch truncf for PPC64.
18935
59a3e194
AZ
18936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18937 multiarch implementation.
18938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18939 file.
18940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18941 file.
18942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18943 file.
18944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18945 file.
18946 multiarch llround for PPC64.
18947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18948 multiarch round for PPC64.
18949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18950 multiarch roundf for PPC64.
18951
357fd3b4
AZ
18952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18953 multiarch implementation.
18954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18955 file.
18956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18957 file.
18958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18959 file.
18960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18961 file.
18962 multiarch llround for PPC64.
18963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18964 multiarch floor for PPC64.
18965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18966 multiarch floorf for PPC64.
18967
96770f12
AZ
18968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18969 multiarch implementation.
18970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18971 file.
18972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18973 file.
18974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18975 file.
18976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18977 file.
18978 multiarch llround for PPC64.
18979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18980 multiarch ceil for PPC64.
18981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18982 multiarch ceilf for PPC64.
18983
c3627f6e
AZ
18984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18985 multiarch implementation.
18986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18987 file.
18988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18989 file.
18990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18991 file.
18992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18993 multiarch llround for PPC64.
18994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18995 multiarch lround for PPC64.
18996
b2284ad7
AZ
18997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18998 multiarch implementation.
18999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19002 file.
19003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19006 multiarch isnan for PPC64.
19007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19008 multiarch isnanf for PPC64.
19009
69bbc63d
AZ
19010 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19011 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19012 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19013 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19014 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19016
c24517c9
AZ
19017 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19018 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19021
a52374e8
AZ
19022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19023 multiarch implementations.
19024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19025 (__libc_ifunc_impl_list): Likewise.
19026 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19027 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19028 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19029 multiarch stpcpy for PPC64.
19030
7f5ec113
AZ
19031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19032 multiarch implementations.
19033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19034 (__libc_ifunc_impl_list): Likewise.
19035 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19036 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19037 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19038 multiarch strcpy for PPC64.
19039
e28bcd42
AZ
19040 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19041 redefine function name.
19042 (_wordcopy_fwd_dest_aligned): Likewise.
19043 (_wordcopy_bwd_aligned): Likewise.
19044 (_wordcopy_bwd_dest_aligned): Likewise.
19045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19046 multiarch implementations.
19047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19048 (__libc_ifunc_impl_list): Likewise.
19049 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19050 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19053 multiarch wcscpy for PPC64.
19054
92cacfce
AZ
19055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19056 multiarch implementations.
19057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19058 (__libc_ifunc_impl_list): Likewise.
19059 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19060 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19063 multiarch wcscpy for PPC64.
19064
7b714620
AZ
19065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19066 multiarch implementations.
19067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19068 (__libc_ifunc_impl_list): Likewise.
19069 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19071 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19073 multiarch wcsrchr for PPC64.
19074
16fd2ae3
AZ
19075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19076 multiarch implementations.
19077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19078 (__libc_ifunc_impl_list): Likewise.
19079 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19080 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19081 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19082 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19083 multiarch wcschr for PPC64.
19084
9ee2969b
AZ
19085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19086 multiarch implementations.
19087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19088 (__libc_ifunc_impl_list): Likewise.
19089 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19090 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19091 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19092 multiarch strchrnul for PPC64.
19093
372dc060
AZ
19094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19095 implementations.
19096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19097 (__libc_ifunc_impl_list): Likewise.
19098 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19099 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19100 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19101 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19102 strchr for PPC64.
19103
24c2c3b9
AZ
19104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19105 implementations.
19106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19107 (__libc_ifunc_impl_list): Likewise.
19108 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19109 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19110 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19111 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19112 strncmp for PPC64.
19113
1c92d9a0
AZ
19114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19115 multiarch implementations.
19116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19117 (__libc_ifunc_impl_list): Likewise.
19118 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19119 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19120 strncasecmp for PPC64.
19121 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19122 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19123 multiarch strncasecmp_l for PPC64.
19124
17de3ee3
AZ
19125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19126 multiarch implementations.
19127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19128 (__libc_ifunc_impl_list): Likewise.
19129 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19130 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19131 multiarch strcasecmp for PPC64.
19132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19133 file.
19134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19135 multiarch strcasecmp_l for PPC64.
19136
62982bf9
AZ
19137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19138 implementations.
19139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19140 (__libc_ifunc_impl_list): Likewise.
19141 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19142 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19143 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19144 strnlen for PPC64.
19145
a65f4904
AZ
19146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19147 implementations.
19148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19149 (__libc_ifunc_impl_list): Likewise.
19150 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19151 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19152 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19153 strlen for PPC64.
19154
1fd005ad
AZ
19155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19156 implementations.
19157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19158 (__libc_ifunc_impl_list): Likewise.
19159 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19160 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19161 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19162 rawmemrchr for PPC64.
19163
cd05ba91
AZ
19164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19165 implementation.
19166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19167 (__libc_ifunc_impl_list): Likewise.
19168 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19169 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19170 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19171 memrchr for PPC64.
19172
870f8676
AZ
19173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19174 implementation.
19175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19176 (__libc_ifunc_impl_list): Likewise.
19177 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19178 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19179 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19180 memchr for PPC64.
19181
f00be62b
AZ
19182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19183 implementation.
19184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19185 (__libc_ifunc_impl_list): Likewise.
19186 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19187 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19188 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19189 mempcpy for PPC64.
19190
8a29a3d0
AZ
19191 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19192 avoid cretion of __bzero symbol.
19193 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19194 Likewise.
19195 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19196 Likewise.
19197 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19198 Likewise.
19199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19200 multiarch implementations.
19201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19202 (__libc_ifunc_impl_list): Likewise.
19203 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19206 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19207 bzero for PPC32.
19208 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19209 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19210 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19211 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19212 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19213 memset for PPC64.
19214 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19215
07253fcf
AZ
19216 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19218 implementations.
19219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19220 (__libc_ifunc_impl_list): Likewise.
19221 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19222 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19224 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19225 memcmp for PPC64.
19226
b5beafbc
AZ
19227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19228 multiarch for POWER/PPC64.
19229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19230 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19233 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19237 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19238 memcpy for PPC64.
19239
5e6a4d4b
AZ
19240 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19241 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19242 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19243 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19244 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19245 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19246 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19247 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19248 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19249 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19250 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19251 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19252 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19253 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19254 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19262
ddfab6dc
KK
192632013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19264
19265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19266
19b5525e
SP
192672013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19268
19269 * benchtests/Makefile (bench): Add exp2 and log2.
19270 (LDLIBS-bench-exp2): Add -lm.
19271 (LDLIBS-bench-log2): Likewise.
19272 * benchtests/exp2-inputs: New inputs file.
19273 * benchtests/log2-inputs: New inputs file.
19274 * benchtests/log-inputs: Add new inputs.
19275 * benchtests/tan-inputs: Likewise.
19276
196f7f5d
SP
192772013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19278
7a74607f
SP
19279 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19280 definition...
57f41c40
AS
19281 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19282 (csloww2): ... from here.
7a74607f 19283
196f7f5d
SP
19284 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19285 instead of structures.
19286 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19287 (POLYNOMIAL): Likewise.
19288 (TAYLOR_SLOW): Likewise.
19289 (__sin): Likewise.
19290 (__cos): Likewise.
19291 (slow1): Likewise.
19292 (slow2): Likewise.
19293 (sloww): Likewise.
19294 (sloww1); Likewise.
19295 (sloww2): Likewise.
19296 (bsloww1): Likewise.
19297 (bsloww2): Likewise.
19298 (cslow2): Likewise.
19299 (csloww): Likewise.
19300 (csloww1): Likewise.
19301 (csloww2): Likewise.
19302
0dfa665c
OB
193032013-12-10 Ondřej Bílka <neleai@seznam.cz>
19304
19305 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19306 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19307 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19308 * malloc/hooks.c (realloc_check): Likewise.
19309
5782a80f
OB
19310 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19311 * malloc/arena.c: Remove PER_THREAD conditional.
19312 [!PER_THREAD]: Remove code.
19313 (ptmalloc_unlock_all2): Likewise.
19314 (ptmalloc_init): Likewise.
19315 (_int_new_arena): Likewise.
19316 (arena_get2): Likewise.
19317 * malloc/hooks.c (__malloc_get_state): Likewise.
19318 (__malloc_set_state): Likewise.
19319 * malloc/malloc.c: Likewise.
19320 (struct malloc_state): Likewise.
19321 (struct malloc_par): Likewise.
19322 (__libc_realloc): Likewise.
19323 (__libc_mallopt): Likewise.
19324
aeb95445
AZ
193252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19326
19327 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19328
e8349efd
OB
193292013-12-09 Ondřej Bílka <neleai@seznam.cz>
19330
19331 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19332 macro to a function. Check for zero perturb_byte.
19333 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19334
f3eeb3fc 19335 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19336 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19337 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19338 force_reg by atomic_forced_read.
19339 * malloc/arena.c (ptmalloc_init): Likewise.
19340 * malloc/hooks.c (top_check): Likewise.
19341
be2f9009
AZ
193422013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19343
19344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19345
e7b914bd
MT
193462013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19347
19348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19349
9f0be4f8
JM
193502013-12-08 Joseph Myers <joseph@codesourcery.com>
19351
19352 * math/auto-libm-test-in: Add tests of lgamma.
19353 * math/auto-libm-test-out: Regenerated.
19354 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19355 (M_LOG_2_SQRT_PIl): Likewise.
19356 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19357 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19358 mpfr_f_f1.
19359 (func_calc_desc): Add mpfr_f_f1 union field.
19360 (ARGS1): New macro.
19361 (ARGS2): Likewise.
19362 (ARGS3): Likewise.
19363 (ARGS4): Likewise.
19364 (RET1): Likewise.
19365 (RET2): Likewise.
19366 (CALC): Likewise.
19367 (FUNC): Likewise.
19368 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19369 (test_functions): Add lgamma.
19370 (calc_generic_results): Handle mpfr_f_f1.
19371 * sysdeps/i386/fpu/libm-test-ulps: Update.
19372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19373
24eeafdb
AZ
193742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19375
19376 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19377 __mpn_add_n for PowerPC64/POWER7.
19378 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19379 __mpn_sub_n for PowerPC64/POWER7.
19380
4a2c0fd4
AZ
19381 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19382 __mpn_addmul_1 for PowerPC64.
19383 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19384 __mpn_submul_1 for PowerPC64.
19385 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19386 for PowerPC64.
19387 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19388 for PowerPC64.
19389
4b5b548c
FS
193902013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19391
19392 [BZ #15089]
19393 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19394
0a3ac0aa
AZ
193952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19396
19397 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19398
ccdc8438
AZ
19399 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19400 add multiarch folders.
19401 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19402 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19403 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19404 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19405 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19406 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19407 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19408 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19409 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19410 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19411 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19418
2e973d99
AZ
19419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19420 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19422 New file.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19424 New file.
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19426 multiarch __ieee754_hypot for PowerPC32.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19428 New file.
19429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19430 New file.
19431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19432 multiarch __ieee754_hypotf for PowerPC32.
19433
2d9470b2
AZ
19434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19435 long_double_symbol only if __logbl is defined.
19436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19437 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19439 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19441 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19443 path for implementation.
19444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19447 logb, and logbl multiarch implementations for PowerPC32.
19448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19449 file.
19450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19451 file.
19452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19453 multiarch logb for PowerPC32.
19454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19455 file.
19456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19457 file.
19458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19459 multiarch logbf for PowerPC32.
19460 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19462 file.
19463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19464 multiarch logbl implementation for PowerPC32.
19465
5212ffce
AZ
19466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19467 and modff multiarch implementations.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19469 New file.
19470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19471 New file.
19472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19473 multiarch modf for PowerPC32.
19474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19475 New file.
19476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19477 New file.
19478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19479 multiarch modff for PowerPC32.
19480
79dccf31
AZ
19481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19482 and lrintf multiarch implementations.
19483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19484 New file.
19485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19486 New file.
19487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19488 multiarch lrint for PowerPC32.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19490 file: multiarch lrintf for PowerPC32.
19491
deb66480
AZ
19492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19493 and lroundf multiarch implementations.
19494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19495 New file.
19496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19497 New file.
19498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19499 New file.
19500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19501 multiarch lround for PowerPC32.
19502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19503 file: multiarch lroundf for PowerPC32.
19504
264b036b
AZ
19505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19506 copysign and copysignf multiarch implementations.
19507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19508 New file.
19509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19510 New file.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19512 file: multiarch copysign for PowerPC32.
19513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19514 file: multiarch copysignf for PowerPC32.
19515
d47db6c9
AZ
19516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19517 and truncf multiarch implementations.
19518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19519 New file.
19520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19521 file.
19522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19523 multiarch trunc for PowerPC32.
19524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19525 New file.
19526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19527 New file.
19528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19529 multiarch truncf for PowerPC32.
19530
ddb60b5a
AZ
19531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19532 and roundf multiarch implementations.
19533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19534 New file.
19535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19536 file.
19537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19538 multiarch round for PowerPC32.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19540 New file.
19541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19542 New file.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19544 multiarch roundf for PowerPC32.
19545
bedcf49b
AZ
19546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19547 and floorf multiarch implementations.
19548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19549 New file.
19550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19551 file.
19552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19553 multiarch floor for PowerPC32.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19555 New file.
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19557 New file.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19559 multiarch floorf for PowerPC32.
19560
35ae5b40
AZ
19561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19562 and ceilf multiarch implementations.
19563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19564 New file.
19565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19566 file.
19567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19568 multiarch ceil for PowerPC32.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19570 New file.
19571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19572 file.
19573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19574 multiarch ceilf for PowerPC32.
19575
ae1a4cd9
AZ
19576 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19577 is defined.
19578 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19579 FINITEF is defined.
19580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19581 and finitef multiarch implementations.
19582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19583 New file.
19584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19585 file.
19586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19587 multiarch finite for PowerPC32.
19588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19589 New file.
19590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19591 file: multiarch finitef for PowerPC32.
19592
64fffd65
AZ
19593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19594 and isinff multiarch implementations.
19595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19596 file.
19597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19598 file.
19599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19600 multiarch isinf for PowerPC32.
19601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19602 New file.
19603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19604 multiarch isinff for PowerPC32.
19605
8e4e7ba2
AZ
19606 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19607 alias when __isnan is defined.
19608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19609 and isnanf multiarch implementations.
19610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19611 file.
19612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19613 file.
19614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19615 file.
19616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19617 file.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19619 multiarch isnan for PowerPC32.
19620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19621 New file.
19622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19623 New file.
19624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19625 multiarch isnanf for PowerPC32.
19626
ddba588e
AZ
19627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19628 and sqrtf multiarch implementations.
19629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19630 file.
19631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19632 file.
19633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19634 multiarch sqrt for PowerPC32.
19635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19636 file.
19637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19638 file.
19639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19640 multiarch sqrtf for PowerPC32.
19641
0f96a2f0
AZ
19642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19643 and llroundf multiarch implementations.
19644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19645 New file.
19646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19647 New file.
19648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19649 New file.
19650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19651 file: multiarch llround for PowerPC32.
19652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19653 file: multiarch llroundf for PowerPC32.
19654
c9b5d79e
AZ
19655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19656 multiarch PowerPC32 fpu implementations.
19657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19658 New file.
19659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19660 New file.
19661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19662 multiarch llrint for PowerPC32.
19663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19664 New file.
19665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19666 New file.
19667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19668 file.
19669
9cbb3aab
AZ
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19671
ea5a72f8
AZ
19672 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19673 file.
19674 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19675 file.
19676 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19677 file.
19678 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19679 multiarch wordcopy for PPC32.
19680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19681 wordcopy objects.
19682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19683 (__libc_ifunc_impl_list): Likewise.
19684 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19685 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19686 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19687 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19688 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19689 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19690
93be09e7
AZ
19691 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19693 file.
19694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19695 file.
19696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19697 file.
19698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19699 multiarch wcscpy for PPC32.
19700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19701 multiarch objects.
19702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19703 (__libc_ifunc_impl_list): Likewise.
19704 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19705 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19706 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19707 sysdeps/powerpc/power6/wcscpy.c.
19708
bb04e529
AZ
19709 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19711 file.
19712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19713 file.
19714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19715 file.
19716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19717 multiarch wcsrchr for PPC32.
19718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19719 multiarch objects.
19720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19721 (__libc_ifunc_impl_list): Likewise.
19722 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19723 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19724 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19725 sysdeps/powerpc/power6/wcsrchr.c.
19726
05b5cd1c
AZ
19727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19728 file.
19729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19730 file.
19731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19733 multiarch wcschr for PPc32.
19734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19735 multiarch objects.
19736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19737 (__libc_ifunc_impl_list): Likewise.
19738 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19739 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19740 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19741 sysdeps/powerpc/power6/wcschr.c.
19742
ba964147
AZ
19743 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19744 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19745 file.
19746 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19747 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19748 file: multiarch strchr for PPC32.
19749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19750 multiarch objects.
19751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19752 (__libc_ifunc_impl_list): Likewise.
19753
31c81aaa
AZ
19754 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19755 name.
19756 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19757 file.
19758 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19759 file.
19760 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19761 multiarch strchrnul for PPC32.
19762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19763 multiarch objects.
19764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19765 (__libc_ifunc_impl_list): Likewise.
19766
0d0607d9
AZ
19767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19768 file.
19769 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19770 multiarch strncasecmp for PPC32.
19771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19772 file.
19773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19774 multiarch strncasecmp_l for PPC32.
19775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19776 strncasecmp multiarch objects.
19777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19778 (__libc_ifunc_impl_list): Likewise.
19779
4dfd5c86
AZ
19780 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19781 file.
19782 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19783 multiarch strncasecmp for PPC32.
19784 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19785 New file.
19786 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19787 multiarch strcasecmp_l for PPC32.
19788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19789 multiarch objects.
19790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19791 (__libc_ifunc_impl_list): Likewise.
19792
a19e01a3
AZ
19793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19794 file.
19795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19796 file.
19797 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19798 multiarch strncmp for PPC32.
19799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19800 multiarch objects.
19801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19802 (__libc_ifunc_impl_list): Likewise.
19803
ae9cf7a2
AZ
19804 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19805 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19806 file.
19807 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19808 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19810 multiarch objects.
19811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19812 (__libc_ifunc_impl_list): Likewise.
19813
3148bb7d
AZ
19814 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19815 file.
19816 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19817 file.
19818 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19820 multiarch objects.
19821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19822 (__libc_ifunc_impl_list): Likewise.
19823
7af8b946
AZ
19824 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19825 file.
19826 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19827 file.
19828 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19829 multiarch rawmemchr for PPC32.
19830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19831 multiarch objects.
19832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19833 (__libc_ifunc_impl_list): Likewise.
19834
03a6aa6a
AZ
19835 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19836 file.
19837 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19838 file.
19839 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19840 file: memrchr multiarch for PPC32.
19841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19842 multiarch objects.
19843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19844 (__libc_ifunc_impl_list): Likewise.
19845
1c62e6d9
AZ
19846 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19847 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19848 file.
19849 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19851 multiarch memchr for PPC32.
19852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19853 multiarch objects.
19854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19855 (__libc_ifunc_impl_list): Likewise.
19856
87da8bdb
AZ
19857 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19858 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19859 file.
19860 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19861 file.
19862 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19863 file: multiarch mempcpy for PPC32.
19864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19865 multiarch objects.
19866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19867 (__libc_ifunc_impl_list): Likewise.
19868
20ed4714
AZ
19869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19870 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19873 multiarch bzero for PPC32.
19874 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19875 file.
19876 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19877 file.
19878 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19879 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19880 file: multiarch memset for PPC32.
19881 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19883 memset multiarch objects.
19884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19885 (__libc_ifunc_impl_list): Likewise.
19886
ab3e3a46
AZ
19887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19888 file.
19889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19891 memcmp for PPC32.
19892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19894 multiarch objects.
19895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19896 (__libc_ifunc_impl_list): Likewise.
19897
930de6f0
AZ
19898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19901 file.
19902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19903 file.
19904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19905 file.
19906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19907 multiarch memcpy for PPC32.
19908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19909 multiarch objects.
19910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19911 (__libc_ifunc_impl_list): Likewise.
19912
4c628e00
AZ
19913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19914 support multiarch for POWER/PPC32.
19915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19916 Likewise.
19917 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19919 Implies file to make multiarch folder appers before the fpu and
19920 default folder for power4 configuration.
19921
f4479220
SP
199222013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19923
19924 * scripts/bench.pl: Append volatile keyword to type.
19925
8517800f
KK
199262013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19927
19928 * sysdeps/sh/sotruss-lib.c: New file.
19929 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19930
180138f1
AZ
199312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19932
19933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19934
bbf37bdc
JM
199352013-12-05 Joseph Myers <joseph@codesourcery.com>
19936
e47cc4e0
JM
19937 [BZ #6810]
19938 * math/w_tgamma.c: Include <errno.h>.
19939 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19940 * math/w_tgammaf.c: Include <errno.h>.
19941 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19942 * math/w_tgammal.c: Include <errno.h>.
19943 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19944 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19945 underflow. Add more tgamma tests.
19946 * math/auto-libm-test-out: Regenerated.
19947 * sysdeps/i386/fpu/libm-test-ulps: Update.
19948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19949
bbf37bdc
JM
19950 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19951 sin, sinh, tan, tanh, tgamma, y0 and y1.
19952 * math/auto-libm-test-out: Regenerated.
19953 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19954 (TEST_COND_x86): Likewise.
19955 (M_E2l): Remove macro.
19956 (M_E3l): Likewise.
19957 (M_2_SQRT_PIl): Likewise.
19958 (M_SQRT_PIl): Likewise.
19959 (M_1_DIV_El): Likewise.
19960 (log_test_data): Use AUTO_TESTS_f_f.
19961 (log10_test_data): Likewise.
19962 (log1p_test_data): Likewise.
19963 (log2_test_data): Likewise.
19964 (sin_test_data): Likewise.
19965 (sin_tonearest_test_data): Likewise.
19966 (sin_towardzero_test_data): Likewise.
19967 (sin_downward_test_data): Likewise.
19968 (sin_upward_test_data): Likewise.
19969 (sinh_test_data): Likewise.
19970 (sinh_tonearest_test_data): Likewise.
19971 (sinh_towardzero_test_data): Likewise.
19972 (sinh_downward_test_data): Likewise.
19973 (sinh_upward_test_data): Likewise.
19974 (tan_test_data): Likewise.
19975 (tan_tonearest_test_data): Likewise.
19976 (tan_towardzero_test_data): Likewise.
19977 (tan_downward_test_data): Likewise.
19978 (tan_upward_test_data): Likewise.
19979 (tanh_test_data): Likewise.
19980 (tgamma_test_data): Likewise.
19981 (y0_test_data): Likewise.
19982 (y1_test_data): Likewise.
19983 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19984 (special_real_inputs): Add pi/4.
19985 * sysdeps/i386/fpu/libm-test-ulps: Update.
19986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19987
eb5ad6b9
AZ
199882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19989
19990 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19991 "longjmp_target" static probes.
19992 (__longjmp): Rename to __longjmp_symbol.
19993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19994 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19995 on which longjmp to generate.
19996 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19997 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19998 probe.
19999 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20000 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20001 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20002 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20003 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20004 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20006 __longjmp_symbol based on which __longjmp to generate.
20007 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20008 probe.
20009 (setjmp): Rename to setjmp_symbol.
20010 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20011 (_setjmp): Rename to _setjmp_symbol.
20012 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20013 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20014 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20015 which setjmp to generate.
20016 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20017 "longjmp_target" static probes.
20018
d136c6dc
SP
200192013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20020
9298ecba
SP
20021 * benchtests/README: Add note about output arguments.
20022 * benchtests/bench-sincos.c: Remove file.
20023 * benchtests/sincos-inputs: New file.
20024 * scripts/bench.pl: Identify output arguments and define
20025 static variables for them.
20026
232983e9
SP
20027 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20028
d136c6dc
SP
20029 [BZ #15941]
20030 * Makefile (INSTALL): Add install-plain.texi as the primary
20031 dependency.
20032 * manual/install-plain.texi: New file.
20033 * manual/install.texi: Include node directive only for
20034 non-plaintext output.
20035
699ff837
JM
200362013-12-04 Joseph Myers <joseph@codesourcery.com>
20037
ab07cea8
JM
20038 * stdlib/longlong.h: Update from GCC.
20039
699ff837
JM
20040 [BZ #6807]
20041 [BZ #15901]
20042 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20043 * math/w_j0f.c (y0f): Likewise.
20044 * math/w_j0l.c (__y0l): Likewise.
20045 * math/w_j1.c (y1): Likewise.
20046 * math/w_j1f.c (y1f): Likewise.
20047 * math/w_j1l.c (__y1l): Likewise
20048 * math/w_jn.c (yn): Likewise.
20049 * math/w_jnf.c (ynf): Likewise.
20050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20051 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20052 value for Bessel function domain errors outside _SVID_ mode.
20053 Adjust sign of return value for yn (negative integer, 0).
20054 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20055 by zero in return for negative x and set sign appropriately for
20056 negative n.
20057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20059 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20060 expectations in error cases.
20061 (y1_test_data): Likewise.
20062 (yn_test_data): Likewise.
20063 * sysdeps/i386/fpu/libm-test-ulps: Update.
20064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20065
5b118558
UW
200662013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20067
20068 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20069 "64" to "64-v1". Add "64-v2".
20070 (abi-64-options): Rename to ...
20071 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20072 (abi-64-condition): Rename to ...
20073 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20074 (abi-64-ld-soname): Rename to ...
20075 (abi-64-v1-ld-soname): ... this.
20076 (abi-64-v2-options): Define.
20077 (abi-64-v2-condition): Likewise.
20078 (abi-64-v2-ld-soname): Likewise.
20079 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20080 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20084
61cd8fe4
UW
200852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20086 Alan Modra <amodra@gmail.com>
20087
20088 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20089 New versions for use with the ELFv2 ABI.
20090 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20091 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20092 declaration.
20093 (struct La_ppc64v2_retval): Likewise.
20094 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20095 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20096 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20097 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20098 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20099 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20100 Do not save or restore CR.
20101 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20102 (_dl_profile_resolve): Do no save or restore CR. Support extended
20103 return values for ELFv2 ABI. Fix location of FPR return registers.
20104 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20105 updated values for _CALL_ELF == 2.
20106 (La_regs, La_retval, int_retval): Likewise.
20107
8b8a692c
UW
201082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20109
20110 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20111 (FRAME_MIN_SIZE_PARM): Likewise.
20112 (FRAME_BACKCHAIN): Likewise.
20113 (FRAME_CR_SAVE): Likewise.
20114 (FRAME_LR_SAVE): Likewise.
20115 (FRAME_TOC_SAVE): Likewise.
20116 (FRAME_PARM_SAVE): Likewise.
20117 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20118 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20119 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20120 (call_mcount_parm_offset): New macro.
20121 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20122 (PROF): Use symbolic stack frame offsets.
20123 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20124 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20125 Redefine in terms of FRAME_MIN_SIZE.
20126 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20127 (_dl_profile_resolve): Likewise. Update comment.
20128 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20129 symbols stack frame offsets.
20130 (__sigsetjmp): Likewise.
20131 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20132 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20133 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20134 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20135
20136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20137 (FRAME_BACKCHAIN): Remove.
20138 (FRAME_CR_SAVE): Likewise.
20139 (FRAME_LR_SAVE): Likewise.
20140 (FRAME_COMPILER_DW): Likewise.
20141 (FRAME_LINKER_DW): Likewise.
20142 (FRAME_TOC_SAVE): Likewise.
20143 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20144 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20145 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20146 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20148 (CHECK_SP): Use symbolic stack frame offsets.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20150 zone" instead of caller's parameter save area for temp storage.
20151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20152 Likewise. Also, use symbolic stack frame offsets.
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20154 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20155 our own stack frame instead of the caller's.
20156 (__socket): Use symbolic stack frame offsets.
20157
122b66de
UW
201582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20159 Alan Modra <amodra@gmail.com>
20160
20161 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20162 Define.
57f41c40
AS
20163 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20164 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20165 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20166 New function.
20167 (elf_machine_fixup_plt): Call it.
20168 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20169 reloc arguments.
20170 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20172 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20173 r2 before calling target.
20174
696caf1d
UW
201752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20176 Alan Modra <amodra@gmail.com>
20177
20178 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20179 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20180 versions of macros to support ELFv2 ABI.
20181 (LOCALENTRY): New macro.
20182 (ENTRY, EALIGN): Use it.
20183 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20184 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20185 fall through into ENTRY entry point.
20186 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20187 Only define if _CALL_ELF != 2.
20188
20189 (elf_machine_matches_host): Verify ABI version matches.
20190 (RTLD_START): Use LOCALENTRY.
20191 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20192 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20193 (PLT_ENTRY_WORDS): New macro.
20194 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20195 (elf_machine_runtime_setup): Support ELFv2 ABI.
20196 (elf_machine_fixup_plt): Likewise.
20197 (elf_machine_plt_conflict): Likewise.
20198 (resolve_ifunc): Likewise.
20199 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20201 Likewise.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20203 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20205 (makecontext): Support ELFv2 ABI.
20206 * elf/elf.h (EF_PPC64_ABI): Define.
20207
d31beafa
UW
202082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20209
57f41c40
AS
20210 * sysdeps/powerpc/powerpc64/sysdep.h
20211 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20212 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20213 (ENTRY) [ASSEMBLER]: ... but instead here ...
20214 (EALIGN) [ASSEMBLER]: ... and here.
20215 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20216 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20217 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20218 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20219 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20221 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20222 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20224 Use PPC64_LOAD_FUNCPTR.
20225
b525166b
UW
20226 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20227
7ec07d9a
AM
202282013-12-04 Alan Modra <amodra@gmail.com>
20229
20230 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20231 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20232 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20233 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20234
20235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20236 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20237 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20238 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20239 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20240 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20241
5162e7dd
UW
202422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20243
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20245 (__makecontext): Fix incorrect CFI when backtracing out of
20246 context created via makecontext.
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20248 (__setcontext): Fix incorrect CFI during switch to new context.
20249 (__novec_setcontext): Likewise.
20250
19e3372b
OB
202512013-12-04 Ondřej Bílka <neleai@seznam.cz>
20252
20253 [BZ #4772]
20254 * time/strptime_l.c (__strptime_internal): Allow modifiers
20255 in strptime.
20256 * time/tst-strptime.c (day_tests): Add testcase.
20257
ecaf142d
SP
202582013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20259
20260 * scripts/bench.pl: Skip over blank lines.
20261
fbf964ae
PE
202622013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20263
20264 [BZ #926]
20265 * manual/time.texi (Calendar Time): Clarify what timezone functions
20266 use.
20267
fa60a674
AZ
202682013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20269
20270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20271
d674f0ef
OB
202722013-12-04 Ondřej Bílka <neleai@seznam.cz>
20273
20274 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20275 implementation.
20276 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20277 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20278 * debug/memset_chk.c (__memset_chk): Likewise.
20279 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20280 * debug/strncpy_chk.c: Likewise.
20281
17dea188
JM
202822013-12-03 Joseph Myers <joseph@codesourcery.com>
20283
749008ff
JM
20284 [BZ #15268]
20285 [BZ #15425]
20286 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20287 (__ieee754_exp): For possibly underflowing results, check size of
20288 result and force underflow exception if required.
20289 * math/auto-libm-test-in: Add more tests of exp.
20290 * math/auto-libm-test-out: Regenerated.
20291 * sysdeps/i386/fpu/libm-test-ulps: Update.
20292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293
17dea188
JM
20294 [BZ #16283]
20295 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20296 * math/w_exp2f.c (__exp2f): Likewise.
20297 * math/w_exp2l.c (__exp2l): Likewise.
20298 * math/auto-libm-test-in: Do not allow missing errno on exp2
20299 underflow.
20300 * math/auto-libm-test-out: Regenerated.
20301
b20de2c3
OB
203022013-12-03 Ondřej Bílka <neleai@seznam.cz>
20303
20304 [BZ #16274]
20305 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20306 handle filename validation.
20307 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20308 (do_open): Delete.
20309
d8e2dbe3
JM
203102013-12-03 Joseph Myers <joseph@codesourcery.com>
20311
34e16df5
JM
20312 [BZ #6786]
20313 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20314 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20315 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20316 <float.h>.
20317 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20319 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20321 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20323 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20324 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20325 Add more erfc tests.
20326 * math/auto-libm-test-out: Regenerated.
20327 * sysdeps/i386/fpu/libm-test-ulps: Update.
20328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20329
d8e2dbe3
JM
20330 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20331 exp2, expm1, j0 and j1.
20332 * math/auto-libm-test-out: Regenerated.
20333 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20334 (erfc_test_data): Likewise.
20335 (exp_test_data): Likewise.
20336 (exp_tonearest_test_data): Likewise.
20337 (exp_towardzero_test_data): Likewise.
20338 (exp_downward_test_data): Likewise.
20339 (exp_upward_test_data): Likewise.
20340 (exp10_test_data): Likewise.
20341 (exp2_test_data): Likewise.
20342 (expm1_test_data): Likewise.
20343 (j0_test_data): Likewise.
20344 (j1_test_data): Likewise.
20345 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20346 (input_flag_type): Add flag_xfail_rounding.
20347 (input_flags): Add xfail-rounding.
20348 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20349 (output_for_one_input_case): Handle flag_xfail_rounding.
20350 * sysdeps/i386/fpu/libm-test-ulps: Update.
20351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20352
18d14251
AJ
203532013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20354
3d2e6075 20355 [BZ #16289]
18d14251
AJ
20356 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20357 division by 0.
20358
520d437b
SP
203592013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20360
20361 [BZ #16195]
20362 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20363 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20364 (STAP_PROBE0): New macro.
20365 (STAP_PROBE1): Likewise.
20366 (STAP_PROBE2): Likewise.
20367 (STAP_PROBE3): Likewise.
20368 (STAP_PROBE4): Likewise.
20369
416e0145
OB
203702013-12-02 Ondřej Bílka <neleai@seznam.cz>
20371
20372 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20373
9d17796a
SE
203742013-12-02 Steve Ellcey <sellcey@mips.com>
20375
20376 * benchtests/Makefile (bench): Add sqrt.
20377 (LDLIBS-bench-sqrt): New.
20378 * benchtests/sqrt-input: New.
20379
f524d6a8
PS
203802013-12-02 Pavel Simerda <psimerda@redhat.com>
20381
639a0ef8
PS
20382 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20383 (GAIH_EAI): Likewise.
20384 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20385 (gaih_inet): Likewise.
20386 (getaddrinfo): Don't use GAIH_EAI.
20387
f524d6a8
PS
20388 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20389 (struct gaih): Remove definition.
20390
df3aedaf
SP
203912013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20392
20393 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20394 Use HERRNOP directly.
20395
1ab19dec
AZ
203962013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20397
b42ad38d 20398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20399
176b0c79
JM
204002013-11-30 Joseph Myers <joseph@codesourcery.com>
20401
20402 * math/gen-auto-libm-tests.c (test_functions): Add more
20403 single-argument functions.
20404 (special_fill_pi_2): New function.
20405 (special_fill_minus_pi_2): Likewise.
20406 (special_fill_pi_6): Likewise.
20407 (special_fill_minus_pi_6): Likewise.
20408 (special_fill_pi_3): Likewise.
20409 (special_fill_2pi_3): Likewise.
20410 (special_fill_e): Likewise.
20411 (special_fill_1_e): Likewise.
20412 (special_fill_e_minus_1): Likewise.
20413 (special_real_inputs): Add more special inputs.
20414 (output_for_one_input_case): Do not require ERANGE on underflow to
20415 zero if round-to-nearest result does not underflow to zero, unless
20416 exact results required.
20417 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20418 atan, atanh, cbrt, cos and cosh.
20419 * math/auto-libm-test-out: Regenerated.
20420 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20421 (acos_tonearest_test_data): Likewise.
20422 (acos_towardzero_test_data): Likewise.
20423 (acos_downward_test_data): Likewise.
20424 (acos_upward_test_data): Likewise.
20425 (acosh_test_data): Likewise.
20426 (asin_test_data): Likewise.
20427 (asin_tonearest_test_data): Likewise.
20428 (asin_towardzero_test_data): Likewise.
20429 (asin_upward_test_data): Likewise.
20430 (asinh_test_data): Likewise.
20431 (atan_test_data): Likewise.
20432 (atanh_test_data): Likewise.
20433 (cbrt_test_data): Likewise.
20434 (cos_test_data): Likewise.
20435 (cos_tonearest_test_data): Likewise.
20436 (cos_towardzero_test_data): Likewise.
20437 (cos_downward_test_data): Likewise.
20438 (cos_upward_test_data): Likewise.
20439 (cosh_test_data): Likewise.
20440 (cosh_tonearest_test_data): Likewise.
20441 (cosh_towardzero_test_data): Likewise.
20442 (cosh_downward_test_data): Likewise.
20443 (cosh_upward_test_data): Likewise.
20444 * sysdeps/i386/fpu/libm-test-ulps: Update.
20445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20446
ffb536d0
JM
204472013-11-29 Joseph Myers <joseph@codesourcery.com>
20448
2a77a467
JM
20449 [BZ #6787]
20450 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20451 * math/w_exp10f.c (__exp10f): Likewise.
20452 * math/w_exp10l.c (__exp10l): Likewise.
20453 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20454 errno settings in existing tests.
20455
ea3bc4e8
JM
20456 [BZ #14032]
20457 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20458 precision control set to double precision.
20459 * sysdeps/i386/fpu/w_sqrt.c: New file.
20460 * math/auto-libm-test-in: Add more tests.
20461 * math/auto-libm-test-out: Update.
20462
0712c9d8
JM
20463 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20464 (sqrt_test_tonearest): New function.
20465 (sqrt_towardzero_test_data): New variable.
20466 (sqrt_test_towardzero): New function.
20467 (sqrt_downward_test_data): New variable.
20468 (sqrt_test_downward): New function.
20469 (sqrt_upward_test_data): New variable.
20470 (sqrt_test_upward): New function.
20471 (main): Call the new functions.
20472
ffb536d0
JM
20473 * math/gen-auto-libm-tests.c: New file.
20474 * math/auto-libm-test-in: Likewise.
20475 * math/auto-libm-test-out: New generated file.
20476 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20477 variables.
20478 (%beautify): Add generated representations of zero.
20479 (top level): Set $auto_input and call parse_auto_input.
20480 (beautify): Remove trailing "f" from hex float constants.
20481 (parse_args): Handle XFAIL_TEST.
20482 (convert_condition): New function.
20483 (or_value): Likewise.
20484 (or_cond_value): Likewise.
20485 (generate_testfile): Handle AUTO_TESTS_* lines.
20486 (parse_auto_input): New function.
20487 * math/libm-test.inc (XFAIL_TEST): New macro.
20488 (ERRNO_UNCHANGED): Update value.
20489 (ERRNO_EDOM): Likewise.
20490 (ERRNO_ERANGE): Likewise.
20491 (IGNORE_RESULT): Likewise.
20492 (TEST_COND_flt_32): New macro.
20493 (TEST_COND_dbl_64): Likewise.
20494 (TEST_COND_ldbl_96_intel): Likewise.
20495 (TEST_COND_ldbl_96_m68k): Likewise.
20496 (TEST_COND_ldbl_128): Likewise.
20497 (TEST_COND_ldbl_128ibm): Likewise.
20498 (TEST_COND_long32): Likewise.
20499 (TEST_COND_long64): Likewise.
20500 (TEST_COND_before_rounding): Likewise.
20501 (TEST_COND_after_rounding): Likewise.
20502 (enable_test): Handle XFAIL_TEST flag.
20503 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20504 with finite results.
20505 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20506 auto-libm-test-out.
20507
acd98a8e
AK
205082013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20509 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20510
20511 [BZ #16214]
20512 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20513 __tls_get_addr_internal instead of __tls_get_offset in order to
20514 avoid GOT pointer dependency. Make rtld export
20515 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20516 __tls_get_addr since we are a __tls_get_offset platform.
20517 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20518 GOT pointer being set up before.
20519 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20520
3c1c46a6
JM
205212013-11-28 Joseph Myers <joseph@codesourcery.com>
20522
7475aef5
JM
20523 * manual/math.texi (Errors in Math Functions): Document accuracy
20524 goals.
20525
8bca7cd8
JM
20526 [BZ #15004]
20527 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20528 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20529 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20530 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20531 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20532 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20533 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20534 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20535 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20537 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20541 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20542 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20543
91a1f3fe
JM
20544 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20545 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20546 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20547 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20548 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20549 Likewise.
20550 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20551 Likewise.
20552 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20553 Likewise.
20554 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20555 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20556 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20557 atomic-feupdateenv and flt-rounds.
20558 * sysdeps/powerpc/nofpu/Versions (libc): Add
20559 __atomic_feholdexcept, __atomic_feclearexcept,
20560 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20561 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20562 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20563 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20564 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20565 here.
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20567 Update.
20568
c5df7609
JM
20569 * manual/arith.texi (FP Exceptions): Document that exceptions may
20570 not be raised when matherr is used.
20571 (Math Error Reporting): Document overflow in directed rounding
20572 modes. Document that errno may not be set when finite values are
20573 returned on overflow. Document intent to set errno on underflow
20574 only for underflow to zero.
20575
3c1c46a6
JM
20576 [BZ #16271]
20577 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20578 round-to-nearest then adjust result for other rounding modes.
20579 * include/fenv.h (fegetround): Use libm_hidden_proto.
20580 * math/fegetround.c (fegetround): Use libm_hidden_def.
20581 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20582 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20583 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20585 Likewise.
20586 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20588 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20589 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20590
5a4c6d53
SP
205912013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20592
20593 [BZ #16077]
20594 * nss/Versions (libnss_files): Add
20595 _nss_files_gethostbyname3_r.
20596 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20597 New function.
20598 (HOST_DB_LOOKUP): Remove macro.
20599 (_nss_files_gethostbyname_r): Implement function without the
20600 HOST_DB_LOOKUP macro.
20601 (_nss_files_gethostbyname2_r): Likewise.
20602
897b98ba
OB
206032013-11-28 Ondřej Bílka <neleai@seznam.cz>
20604
20605 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20606
6f476861
UB
206072013-11-26 Uros Bizjak <ubizjak@gmail.com>
20608
20609 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20610 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20611 warning.
20612
bd12ab55
AZ
206132013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20614
20615 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20616 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20617 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20618 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20619 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20620 __fe_nomask_env_priv and attribute_hidden.
20621 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20622 (libc_feupdateenv_test_ppc): Likewise.
20623 (libc_feresetround_ppc): Likewise.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20625 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20626 compat_symbol macro.
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20628 (__fe_nomask_env): Likewise.
20629 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20630
52bb6543
OB
206312013-11-26 Ondřej Bílka <neleai@seznam.cz>
20632
20633 * string/Makefile: Remove ifunc tests.
20634 * string/test-string.h: Define TEST_IFUNC.
20635 * string/test-bcopy-ifunc.c: Remove.
20636 * string/test-bzero-ifunc.c: Likewise.
20637 * string/test-memccpy-ifunc.c: Likewise.
20638 * string/test-memchr-ifunc.c: Likewise.
20639 * string/test-memcmp-ifunc.c: Likewise.
20640 * string/test-memcpy-ifunc.c: Likewise.
20641 * string/test-memmem-ifunc.c: Likewise.
20642 * string/test-memmove-ifunc.c: Likewise.
20643 * string/test-mempcpy-ifunc.c: Likewise.
20644 * string/test-memrchr-ifunc.c: Likewise.
20645 * string/test-memset-ifunc.c: Likewise.
20646 * string/test-rawmemchr-ifunc.c: Likewise.
20647 * string/test-stpcpy-ifunc.c: Likewise.
20648 * string/test-stpncpy-ifunc.c: Likewise.
20649 * string/test-strcasecmp-ifunc.c: Likewise.
20650 * string/test-strcasestr-ifunc.c: Likewise.
20651 * string/test-strcat-ifunc.c: Likewise.
20652 * string/test-strchr-ifunc.c: Likewise.
20653 * string/test-strchrnul-ifunc.c: Likewise.
20654 * string/test-strcmp-ifunc.c: Likewise.
20655 * string/test-strcpy-ifunc.c: Likewise.
20656 * string/test-strcspn-ifunc.c: Likewise.
20657 * string/test-strlen-ifunc.c: Likewise.
20658 * string/test-strncasecmp-ifunc.c: Likewise.
20659 * string/test-strncat-ifunc.c: Likewise.
20660 * string/test-strncmp-ifunc.c: Likewise.
20661 * string/test-strncpy-ifunc.c: Likewise.
20662 * string/test-strnlen-ifunc.c: Likewise.
20663 * string/test-strpbrk-ifunc.c: Likewise.
20664 * string/test-strrchr-ifunc.c: Likewise.
20665 * string/test-strspn-ifunc.c: Likewise.
20666 * string/test-strstr-ifunc.c: Likewise.
20667
ab260039 206682013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20669
20670 * benchtests/Makefile: Remove ifunc tests.
20671 * benchtests/bench-string.h: Define TEST_IFUNC.
20672 * benchtests/bench-bcopy-ifunc.c: Remove.
20673 * benchtests/bench-bzero-ifunc.c: Likewise.
20674 * benchtests/bench-memccpy-ifunc.c: Likewise.
20675 * benchtests/bench-memchr-ifunc.c: Likewise.
20676 * benchtests/bench-memcmp-ifunc.c: Likewise.
20677 * benchtests/bench-memcpy-ifunc.c: Likewise.
20678 * benchtests/bench-memmem-ifunc.c: Likewise.
20679 * benchtests/bench-memmove-ifunc.c: Likewise.
20680 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20681 * benchtests/bench-memrchr-ifunc.c: Likewise.
20682 * benchtests/bench-memset-ifunc.c: Likewise.
20683 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20684 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20685 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20686 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20687 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20688 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20689 * benchtests/bench-strcat-ifunc.c: Likewise.
20690 * benchtests/bench-strchr-ifunc.c: Likewise.
20691 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20692 * benchtests/bench-strcmp-ifunc.c: Likewise.
20693 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20694 * benchtests/bench-strcpy-ifunc.c: Likewise.
20695 * benchtests/bench-strcspn-ifunc.c: Likewise.
20696 * benchtests/bench-strlen-ifunc.c: Likewise.
20697 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20698 * benchtests/bench-strncat-ifunc.c: Likewise.
20699 * benchtests/bench-strncmp-ifunc.c: Likewise.
20700 * benchtests/bench-strncpy-ifunc.c: Likewise.
20701 * benchtests/bench-strnlen-ifunc.c: Likewise.
20702 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20703 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20704 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20705 * benchtests/bench-strspn-ifunc.c: Likewise.
20706 * benchtests/bench-strstr-ifunc.c: Likewise.
20707
207082013-11-26 Ondřej Bílka <neleai@seznam.cz>
20709
ab260039
OB
20710 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20711
d1d9eaf4 207122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20713
d1d9eaf4
OB
20714 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20715 * rt/aio.h: Likewise.
20716 * sysdeps/gnu/bits/utmp.h: Likewise.
20717 * sysdeps/gnu/bits/utmpx.h: Likewise.
20718 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20719 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20720 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20721 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20722 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20723 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20724 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20725 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20726 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20727 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20728 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20729 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20730 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20732 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20733 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20734 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20735 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20736 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20737 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20738 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20739 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20740 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20741 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20742 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20745 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20746 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20747 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20748 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20749 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20752 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20753 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20754 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20755 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20756 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20757 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20758 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20759 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20760
a7624ed9
CD
207612013-11-25 Carlos O'Donell <carlos@redhat.com>
20762
20763 [BZ #16245]
20764 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20765 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20766
63cfe52b
JM
207672013-11-25 Joseph Myers <joseph@codesourcery.com>
20768
20769 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20770 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20771 Likewise.
20772
41e8926a
AZ
207732013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20774
20775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20776 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20777 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20778 (__fesetround): Remove define.
20779 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20780 rounding and exceptions handling.
20781 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20782 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20783 (__fe_nomask_env): Likewise.
20784 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20785 __fegetround instead of fegetround.
20786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20787 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20788
6851bd4d
RM
207892013-11-21 Roland McGrath <roland@hack.frob.com>
20790
070906ff
RM
20791 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20792 it's there.
20793
6851bd4d
RM
20794 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20795
84ae135d
MI
207962013-11-21 Meador Inge <meadori@codesourcery.com>
20797
20798 [BZ #11157]
20799 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20800 (encrypt_r): Likewise.
20801 * malloc/obstack.h (obstack_free): Likewise.
20802 * posix/unistd.h (encrypt): Likewise.
20803
daf75146
GM
208042013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20805
20806 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20807 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20808 DL_CALL_DT_FINI() that call the functions directly.
20809 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20810 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20811 * elf/dl-fini.c: Likewise.
20812
10ad46bc
OB
208132013-11-20 Ondřej Bílka <neleai@seznam.cz>
20814
20815 * malloc/hooks.c (memalign_check): Add alignment rounding.
20816 * malloc/malloc.c (_mid_memalign): New function.
20817 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20818 Implement by calling _mid_memalign.
20819 * manual/probes.texi (Memory Allocation Probes): Remove
20820 memory_valloc_retry and memory_pvalloc_retry.
20821
f3fd2628
SP
208222013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20823
4712799f
SP
20824 * locale/programs/locarchive.c (open_archive): Add const
20825 qualifier to ARCHIVEFNAME and copy default fname to
20826 DEFAULT_FNAME.
20827
0417b20f
SP
20828 [BZ #15601]
20829 * libio/tst-widetext.input: Rename Oriya to Odia.
20830 * locale/iso-639.def: Likewise.
20831
f3fd2628
SP
20832 * manual/probes.texi (Mathematical Function Probes): Add
20833 documentation for sin, cos, asin and acos probes.
20834 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20835 (__sin32): Add slowasin probe.
20836 (__cos32): Add slowacos probe.
20837 (__mpsin): Add slowsin probe.
20838 (__mpcos): Add slowcos probe.
20839
73c1ce4f
JM
208402013-11-19 Joseph Myers <joseph@codesourcery.com>
20841
20842 [BZ #15483]
20843 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20844 thread-local __sim_exceptions_thread and global
20845 __sim_exceptions_global.
20846 (__sim_disabled_exceptions): Change to thread-local
20847 __sim_disabled_exceptions_thread and global
20848 __sim_disabled_exceptions_global.
20849 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20850 and global __sim_round_mode_global.
20851 (__simulate_exceptions): Use thread-local floating-point state and
20852 set global state from it as needed.
20853 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20854 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20855 __sim_round_mode_thread.
20856 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20857 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20858 and global __sim_exceptions_global.
20859 (__sim_disabled_exceptions): Change to thread-local
20860 __sim_disabled_exceptions_thread and global
20861 __sim_disabled_exceptions_global.
20862 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20863 and global __sim_round_mode_global.
20864 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20865 (SIM_SET_GLOBAL): Likewise.
20866 * sysdeps/powerpc/soft-fp/sfp-machine.h
20867 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20868 __sim_round_mode_thread.
20869 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20870 __sim_disabled_exceptions_thread.
20871 (__sim_exceptions): Change to __sim_exceptions_thread.
20872 (__sim_disabled_exceptions): Change to
20873 __sim_disabled_exceptions_thread.
20874 (__sim_round_mode): Change to __sim_round_mode_thread.
20875 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20876 thread-local floating-point state and set global state from it as
20877 needed.
20878 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20879 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20880 (__sim_disabled_exceptions): Remove extern declaration.
20881 (feenableexcept): Use thread-local floating-point state and set
20882 global state from it as needed.
20883 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20884 extern declaration.
20885 (__sim_disabled_exceptions): Likewise.
20886 (__sim_round_mode): Likewise.
20887 (__fegetenv): Use thread-local floating-point state.
20888 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20889 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20890 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20891 floating-point state and set global state from it as needed.
20892 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20893 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20894 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20895 Likewise.
20896 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20897 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20898 Likewise.
20899 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20900 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20901 Use __sim_round_mode_thread.
20902 * math/test-fenv-tls.c: New file.
20903 * math/Makefile (tests): Add test-fenv-tls.
20904 ($(objpfx)test-fenv-tls): Depend on
20905 $(common-objpfx)nptl/libpthread.so.
20906
b5449b12
AS
209072013-11-19 Andreas Schwab <schwab@suse.de>
20908
20909 * locale/programs/locale.c (show_info): Decode wordarray elements.
20910 * locale/categories.def (LC_MONETARY): Add element for
20911 _NL_MONETARY_CRNCYSTR.
20912 * locale/C-monetary.c (conversion_rate): New variable.
20913 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20914 element.
20915
e186536b
CM
209162013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20917
20918 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20919 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20920
5c349950
PP
209212013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20922
20923 * elf/Makefile (tst-auxv): New test.
20924 * elf/tst-auxv.c: New
20925 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20926
699df45b
JM
209272013-11-18 Joseph Myers <joseph@codesourcery.com>
20928
20929 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20930 (hidden_proto): Caller changed.
20931 (hidden_tls_proto): New macro.
20932 (libc_hidden_tls_proto): Likewise.
20933 (rtld_hidden_tls_proto): Likewise.
20934 (libm_hidden_tls_proto): Likewise.
20935 (libresolv_hidden_tls_proto): Likewise.
20936 (librt_hidden_tls_proto): Likewise.
20937 (libdl_hidden_tls_proto): Likewise.
20938 (libnss_files_hidden_tls_proto): Likewise.
20939 (libnsl_hidden_tls_proto): Likewise.
20940 (libnss_nisplus_hidden_tls_proto): Likewise.
20941 (libutil_hidden_tls_proto): Likewise.
20942
b7589107
OB
209432013-11-18 Ondřej Bílka <neleai@seznam.cz>
20944
20945 [BZ #10253]
20946 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20947 (decompose_rpath): Defer expansion to fillin_rpath.
20948 (_dl_init_paths): Pass linkmap to fillin_rpath.
20949
250c23bd
RS
209502013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20951
20952 * benchtests/Makefile: Add strsep.
20953 * benchtests/bench-strsep.c: New file: strsep benchtest.
20954 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20955
a7931fcf
AS
209562013-11-18 Andreas Schwab <schwab@suse.de>
20957
20958 * locale/programs/locale.c (show_info) [case byte]: Check for
20959 '\377' instead of '\177'.
20960 * locale/C-monetary.c (not_available): Always use "\377".
20961 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20962 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20963 detect unavailable sign_posn locale elements.
20964 * locale/localeconv.c (__localeconv): For grouping and
20965 mon_grouping handle "\177" and "\377" like no grouping.
20966 (INT_ELEM): New macro. Use it to set all numeric members.
20967 * locale/programs/ld-monetary.c (monetary_read)
20968 <tok_mon_grouping>: Normalize single -1 to the empty string.
20969 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20970 Likewise.
20971
728dab0e
OB
209722013-11-07 Ondřej Bílka <neleai@seznam.cz>
20973
20974 [BZ #16055]
20975 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20976 when we match (nil).
20977 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20978
66294491
JM
209792013-11-16 Joseph Myers <joseph@codesourcery.com>
20980
ce665817
JM
20981 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20982 (NO_TEST_INLINE): Update value.
20983 (ERRNO_UNCHANGED): Likewise.
20984 (ERRNO_EDOM): Likewise.
20985 (ERRNO_ERANGE): Likewise.
20986 (IGNORE_RESULT): Likewise.
20987 (check_float_internal): Check signs of NaN results if
20988 TEST_NAN_SIGN used.
20989 (check_complex): Pass TEST_NAN_SIGN flag through to second
20990 check_float_internal call.
20991 (copysign_test_data): Add tests with quiet NaNs as second
20992 argument. Use TEST_NAN_SIGN.
20993 (fabs_test_data): Add test of negative quiet NaN argument. Use
20994 TEST_NAN_SIGN.
20995 (signbit_test_data): Add tests of quiet NaN argument.
20996 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20997
ee1466a9
JM
20998 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20999 $ignore_result.
21000 (parse_args): Handle function results specified as IGNORE.
21001 * math/libm-test.inc (IGNORE_RESULT): New macro.
21002 (check_float_internal): Do not check numerical result if flag
21003 IGNORE_RESULT set.
21004 (check_complex): Pass through IGNORE_RESULT to second
21005 check_float_internal call.
21006 (check_int): Do not check numerical result if flag IGNORE_RESULT
21007 set.
21008 (check_long): Likewise.
21009 (check_bool): Likewise.
21010 (check_longlong): Likewise.
21011 (lrint_test_data): Add tests of infinite and NaN arguments.
21012 (lrint_tonearest_test_data): Likewise.
21013 (lrint_towardzero_test_data): Likewise.
21014 (lrint_downward_test_data): Likewise.
21015 (lrint_upward_test_data): Likewise.
21016 (llrint_test_data): Likewise.
21017 (llrint_tonearest_test_data): Likewise.
21018 (llrint_towardzero_test_data): Likewise.
21019 (llrint_downward_test_data): Likewise.
21020 (llrint_upward_test_data): Likewise.
21021 (lround_test_data): Likewise.
21022 (llround_test_data): Likewise.
21023
14407b7e
JM
21024 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21025 (ERRNO_UNCHANGED): Update value.
21026 (ERRNO_EDOM): Likewise.
21027 (ERRNO_ERANGE): Likewise.
21028 (NO_TEST_INLINE_FLOAT): New macro.
21029 (NO_TEST_INLINE_DOUBLE): Likewise.
21030 (enable_test): New function.
21031 (RUN_TEST_f_f): Check enable_test before running test.
21032 (RUN_TEST_2_f): Likewise.
21033 (RUN_TEST_fff_f): Likewise.
21034 (RUN_TEST_c_f): Likewise.
21035 (RUN_TEST_f_f1): Likewise.
21036 (RUN_TEST_fF_f1): Likewise.
21037 (RUN_TEST_fI_f1): Likewise.
21038 (RUN_TEST_ffI_f1): Likewise.
21039 (RUN_TEST_c_c): Likewise.
21040 (RUN_TEST_cc_c): Likewise.
21041 (RUN_TEST_f_i): Likewise.
21042 (RUN_TEST_f_i_tg): Likewise.
21043 (RUN_TEST_ff_i_tg): Likewise.
21044 (RUN_TEST_f_b): Likewise.
21045 (RUN_TEST_f_b_tg): Likewise.
21046 (RUN_TEST_f_l): Likewise.
21047 (RUN_TEST_f_L): Likewise.
21048 (RUN_TEST_fFF_11): Likewise.
21049 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21050 conditionals.
21051 (cosh_test_data): Likewise.
21052 (exp_test_data): Likewise.
21053 (expm1_test_data): Likewise.
21054 (hypot_test_data): Likewise.
21055 (pow_test_data): Likewise.
21056 (sinh_test_data): Likewise.
21057 (tanh_test_data): Likewise.
21058 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21059 flags argument.
21060
ca07f197
JM
21061 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21062 tests with quiet NaN input and output.
21063 (acosh_test_data): Likewise.
21064 (asin_test_data): Likewise.
21065 (asinh_test_data): Likewise.
21066 (atan_test_data): Likewise.
21067 (atanh_test_data): Likewise.
21068 (atan2_test_data): Likewise.
21069 (cbrt_test_data): Likewise.
21070 (cos_test_data): Likewise.
21071 (cosh_test_data): Likewise.
21072 (erf_test_data): Likewise.
21073 (erfc_test_data): Likewise.
21074 (exp_test_data): Likewise.
21075 (exp10_test_data): Likewise.
21076 (exp2_test_data): Likewise.
21077 (expm1_test_data): Likewise.
21078 (hypot_test_data): Likewise.
21079 (j0_test_data): Likewise.
21080 (j1_test_data): Likewise.
21081 (jn_test_data): Likewise.
21082 (lgamma_test_data): Likewise.
21083 (log_test_data): Likewise.
21084 (log10_test_data): Likewise.
21085 (log1p_test_data): Likewise.
21086 (log2_test_data): Likewise.
21087 (pow_test_data): Likewise.
21088 (scalb_test_data): Likewise.
21089 (sin_test_data): Likewise.
21090 (sincos_test_data): Likewise.
21091 (sinh_test_data): Likewise.
21092 (tan_test_data): Likewise.
21093 (tanh_test_data): Likewise.
21094 (tgamma_test_data): Likewise.
21095 (y0_test_data): Likewise.
21096 (y1_test_data): Likewise.
21097 (yn_test_data): Likewise.
21098
66294491
JM
21099 [BZ #16167]
21100 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21101 argument being NaN and avoid computations with second argument in
21102 that case.
21103 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21104 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21105 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21106
1820b143
CL
211072013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21108
21109 * locale/iso-639.def: Add Chitwani Tharu (the).
21110
714bd261
AS
211112013-11-14 Andreas Schwab <schwab@suse.de>
21112
21113 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21114 word instead of empty string.
21115
7ab44563
AZ
211162013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21117
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21119 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21121 (__fe_nomask_env): Likewise.
21122
e8470ea2
SE
211232013-11-13 Steve Ellcey <sellcey@mips.com>
21124
21125 * benchtests/bench-timing.h: Include time.h.
21126
17c1d9f0
L
211272013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21128
21129 [BZ #15997]
21130 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21131 to 3.4.0 for x32.
21132 * sysdeps/unix/sysv/linux/configure: Regenerated.
21133
9310c284
JM
211342013-11-13 Joseph Myers <joseph@codesourcery.com>
21135
21136 [BZ #16151]
21137 * stdlib/strtod_l.c (round_and_return): Do not consider
21138 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21139 exponent one less than half the least subnormal exponent.
21140 * stdlib/test-strtod-round-data: Add more tests.
21141 * stdlib/tst-strtod-round.c (tests): Regenerated.
21142
7a2ad8cf
AZ
211432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21144
21145 [BZ #14143]
21146 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21147 (__fe_mask_env): Likewise.
21148 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21149 libm_hidden_proto and add function prototype.
21150 (__fe_mask_env): Add function prototype.
21151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21152 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21154 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21156 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21157
50727aa7
MS
211582013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21159
b2f386c1 21160 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21161 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21162
a615be46
MS
211632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21164
21165 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21166 of htab_find_slot().
21167
7ddace62
DM
211682013-11-11 David S. Miller <davem@davemloft.net>
21169
21170 [BZ #16150]
21171 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21172 symbol in the non-vis3 case in static builds.
21173 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21174 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21175 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21176 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21177
9182aa67
JK
211782013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21179
21180 [BZ #387]
21181 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21182 it is empty.
21183
450a2e2d
AZ
211842013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21185
b2f386c1
SP
21186 * benchtests/Makefile: Add bench-strtod.
21187 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21188
8ec3f656
AS
211892013-11-11 Andreas Schwab <schwab@suse.de>
21190
21191 [BZ #16153]
21192 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21193 terminating NUL in key length.
21194
76a9b998
AZ
211952013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21196
21197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21198 Add artificial ODP entry for vDSO symbol for PPC64.
21199 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21200 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21201
e4368156
OB
212022013-11-07 Ondřej Bílka <neleai@seznam.cz>
21203
21204 [BZ #15374]
21205 * nss/getent.c (services_keys): Recognize services starting with digit.
21206
8d6bb57c
DM
212072013-11-06 David S. Miller <davem@davemloft.net>
21208
21209 [BZ #15985]
21210 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21211 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21212
e256c421
WN
212132013-11-06 Will Newton <will.newton@linaro.org>
21214
21215 * manual/memory.texi (Malloc Examples): Remove register
21216 keyword from examples.
21217
f6e12daa 212182013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21219
f6e12daa 21220 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21221
9d880655
AS
212222013-11-04 Joseph Myers <joseph@codesourcery.com>
21223
fd2f9486 21224 [BZ #6981]
9d880655
AS
21225 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21226 depending on [__GCC_IEC_559 > 0].
21227 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21228 depending on [__GCC_IEC_559_COMPLEX > 0].
21229
ae129d3c
CL
212302013-11-03 Chris Leonard <cjl@sugarlabs.org>
21231
21232 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21233 to iso-639.def.
21234
4a15c2a4 212352013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21236
21237 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21238
8b35e35d
OB
212392013-11-01 Ondřej Bílka <neleai@seznam.cz>
21240
21241 [BZ #16112]
21242 * malloc/malloc (malloc_info): Do not handle first bin as
21243 special case.
21244
1d70fd6c
CL
212452013-11-01 Chris Leonard <cjl@sugarlabs.org>
21246
21247 * locale/iso-639.def: Add Central Nahuatl (nhn).
21248
8c5c2600
BH
212492013-11-01 Bruno Haible <bruno@clisp.org>
21250
21251 [BZ #7003]
21252 * manual/math.texi (BSD Random): Specify range upper bound as
21253 in POSIX.
21254
da5579c2
CL
212552013-10-31 Chris Leonard <cjl@sugarlabs.org>
21256
21257 * locale/iso-639.def: Add Meadow Mari (mhr).
21258
5d30d853
OB
212592013-10-31 Ondřej Bílka <neleai@seznam.cz>
21260
21261 [BZ #14752], [BZ #15763]
21262 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21263 Validate name.
21264 * rt/tst_shm.c: Add test for escaping directory.
21265
a4966c61
AS
212662013-10-31 Andreas Schwab <schwab@suse.de>
21267
8a43e768 21268 [BZ #15917]
a4966c61
AS
21269 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21270 followed by 'x' as part of digit sequence.
21271 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21272
28d708c4
MAP
212732013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21274
21275 [BZ #16037]
21276 * configure.ac: allow GNU Make 4.0 and greater.
21277 * configure: Regenerated.
21278
a56ee40b
WN
212792013-10-30 Will Newton <will.newton@linaro.org>
21280
21281 [BZ #16038]
21282 * malloc/hooks.c (memalign_check): Limit alignment to the
21283 maximum representable power of two.
21284 * malloc/malloc.c (__libc_memalign): Likewise.
21285 * malloc/tst-memalign.c (do_test): Add test for very
21286 large alignment values.
21287 * malloc/tst-posix_memalign.c (do_test): Likewise.
21288
c6e4925d
OB
212892013-10-30 Ondřej Bílka <neleai@seznam.cz>
21290
21291 [BZ #11087]
21292 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21293 (munmap_chunk): Likewise.
21294 (mremap_chunk): Likewise.
21295
212962013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21297
8a43e768 21298 [BZ #15799]
bbea82f7
OB
21299 * stdlib/div.c (div): Remove obsolete code.
21300 * stdlib/ldiv.c (ldiv): Likewise.
21301 * stdlib/lldiv.c (lldiv): Likewise.
21302
977f4b31
SP
213032013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21304
21305 [BZ #16071]
21306 * nss/nss_files/files-XXX.c (get_contents_ret): New
21307 enumerator.
21308 (get_contents): New function.
21309 (internal_getent): Use it. Expand size of LINEBUFLEN.
21310
cb8a6dbd
MF
213112013-10-30 Mike Frysinger <vapier@gentoo.org>
21312
21313 * configure.in: Moved to ...
21314 * configure.ac: ... here. Change reference to configure.in
21315 to configure.ac.
21316 * sysdeps/arm/preconfigure.ac: ... here.
21317 configure.in to configure.ac.
21318 * sysdeps/gnu/configure.in: Moved to ...
21319 * sysdeps/gnu/configure.ac: ... here.
21320 * sysdeps/i386/configure.in: Moved to ...
21321 * sysdeps/i386/configure.ac: ... here.
21322 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21323 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21324 * sysdeps/mach/configure.in: Moved to ...
21325 * sysdeps/mach/configure.ac: ... here.
21326 * sysdeps/mach/hurd/configure.in: Moved to ...
21327 * sysdeps/mach/hurd/configure.ac: ... here.
21328 * sysdeps/powerpc/configure.in: Moved to ...
21329 * sysdeps/powerpc/configure.ac: ... here.
21330 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21331 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21332 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21333 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21334 * sysdeps/s390/s390-32/configure.in: Moved to ...
21335 * sysdeps/s390/s390-32/configure.ac: ... here.
21336 * sysdeps/s390/s390-64/configure.in: Moved to ...
21337 * sysdeps/s390/s390-64/configure.ac: ... here.
21338 * sysdeps/sh/configure.in: Moved to ...
21339 * sysdeps/sh/configure.ac: ... here.
21340 * sysdeps/sparc/configure.in: Moved to ...
21341 * sysdeps/sparc/configure.ac: ... here.
21342 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21343 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21344 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21345 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21346 * sysdeps/x86_64/configure.in: Moved to ...
21347 * sysdeps/x86_64/configure.ac: ... here.
21348 * sysdeps/x86_64/preconfigure.in: Moved to ...
21349 * sysdeps/x86_64/preconfigure.ac: ... here.
21350 * aclocal.m4: Change reference to configure.in to configure.ac.
21351 * config.h.in: Likewise.
21352 * manual/install.texi: Likewise.
21353 * manual/maint.texi: Likewise.
21354 * Makefile: Likewise.
21355 * malloc/Makefile: Likewise.
21356 * nscd/Makefile: Likewise.
21357 * Makeconfig: Change reference to configure.in and
21358 preconfigure.in to configure.ac and preconfigure.ac
21359 respectively.
21360 * INSTALL: Regenerated.
21361 * configure: Likewise.
21362 * sysdeps/gnu/configure: Likewise.
21363 * sysdeps/i386/configure: Likewise.
21364 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21365 * sysdeps/mach/configure: Likewise.
21366 * sysdeps/mach/hurd/configure: Likewise.
21367 * sysdeps/powerpc/configure: Likewise.
21368 * sysdeps/powerpc/powerpc32/configure: Likewise.
21369 * sysdeps/powerpc/powerpc64/configure: Likewise.
21370 * sysdeps/s390/s390-32/configure: Likewise.
21371 * sysdeps/s390/s390-64/configure: Likewise.
21372 * sysdeps/sh/configure: Likewise.
21373 * sysdeps/sparc/configure: Likewise.
21374 * sysdeps/unix/sysv/linux/configure: Likewise.
21375 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21376 * sysdeps/x86_64/configure: Likewise.
21377 * sysdeps/x86_64/preconfigure: Likewise.
21378
36a4953a
AS
213792013-10-29 Andreas Schwab <schwab@suse.de>
21380
21381 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21382
c79a1204
SP
213832013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21384
dfa1b402
SP
21385 * benchtests/pow-inputs: Add new inputs.
21386
54f73d9c
SP
21387 * benchtests/exp-inputs: Add new inputs.
21388
c79a1204
SP
21389 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21390 conditional check for return value.
21391 (__cos32): Likewise.
21392
67beb545 213932013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21394
21395 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21396 to provide a boost for large inputs with word alignment.
21397 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21398 implementation based on optimized PPC64 strcpy.
21399 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21400 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21401 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21402 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21403
151659f6
OB
214042013-10-25 Ondřej Bílka <neleai@seznam.cz>
21405
482a077e 21406 [BZ #2801]
151659f6
OB
21407 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21408
10b0f26b
OB
214092013-10-25 Ondřej Bílka <neleai@seznam.cz>
21410
21411 [BZ #14876]
21412 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21413 * time/tst-strptime.c (day_tests): Add testcase.
21414
ca42d35e
OB
214152013-10-25 Ondřej Bílka <neleai@seznam.cz>
21416
482a077e 21417 [BZ #14029]
ca42d35e
OB
21418 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21419
52e6d801
FB
214202013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21421
21422 [BZ #16074]
21423 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21424 MAP_FAILED on error.
21425
7cbcdb36
SP
214262013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21427
21428 [BZ #16072]
21429 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21430 heap for large requests.
21431
894f3f10
AM
214322013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21433
21434 [BZ #9954]
21435 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21436 result if the result has no associated interface.
21437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21438 interface for all 127.X.Y.Z addresses.
21439
b85545a6
CL
214402013-10-24 Chris Leonard <cjl@sugarlabs.org>
21441
21442 * locale/iso-639.def: Add Ligurian (lij)
21443
d1f23d46
OB
214442013-10-21 Ondřej Bílka <neleai@seznam.cz>
21445
21446 [BZ #15825]
21447 * sunrpc/rpc_main.c: Document rpcgen -5.
21448
4db5b08f
MS
214492013-10-19 Michael Stahl <mstahl@redhat.com>
21450
21451 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21452
a471e96a
OB
214532013-10-19 Ondřej Bílka <neleai@seznam.cz>
21454
d1f23d46 21455 [BZ #10278]
a471e96a
OB
21456 * posix/glob.c: Match only directories when trailing slash is present.
21457 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21458 (main): Add testcase.
21459
45c30c61
OB
214602013-10-19 Ondřej Bílka <neleai@seznam.cz>
21461
21462 [BZ #15670]
21463 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21464
484c12fb
CD
214652013-10-18 Carlos O'Donell <carlos@redhat.com>
21466
3d7dc513
CD
21467 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21468 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21469 AUTH_DES and cindex for FIPS 140-2.
21470 (DES Encryption): Add cindex FIPS 46-3.
21471
484c12fb
CD
21472 * locale/locarchive.h (struct locarhandle): Add fname.
21473 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21474 if an optional argument was specified to --list-archive,
21475 otherwise NULL.
21476 * locale/programs/locarchive.c (show_archive_content): Take new
21477 argument fname and pass it via ah.fname to open_archive.
21478 * locale/programs/localedef.h: Update decl.
21479 (open_archive): If AH->fname is non-null, open that file
21480 rather than the default file name, and don't ignore ENOENT.
21481 (create_archive): Set AH.fname to NULL.
21482 (delete_locales_from_archive): Likewise.
21483 (add_locales_to_archive): Likewise.
21484 * locale/programs/locfile.c (write_all_categories): Likewise.
21485
3c8325fb
JM
214862013-10-18 Joseph Myers <joseph@codesourcery.com>
21487 Aldy Hernandez <aldyh@redhat.com>
21488
21489 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21490 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21491 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21492 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21493 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21494 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21495 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21496 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21497 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21498 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21499 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21500 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21501 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21502 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21503 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21504 Likewise.
21505 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21506 Likewise.
21507 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21508 Likewise.
21509 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21510 Likewise.
21511 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21512 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21513 Likewise.
21514 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21515 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21516 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21517 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21518 Likewise.
21519 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21520 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21521 * sysdeps/powerpc/preconfigure: Likewise.
21522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21523 Likewise.
21524 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21525 Replace contents of file by #include of <fenv_libc.h>.
21526 * sysdeps/powerpc/soft-fp/sfp-machine.h
21527 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21528 and <sys/prctl.h>.
21529 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21542 Allow copysignl PLT reference to be missing.
21543
5abe0682
RS
215442013-10-18 Richard Sandiford <richard@codesourcery.com>
21545 Joseph Myers <joseph@codesourcery.com
21546
21547 [BZ #15948]
21548 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21549 single character.
21550 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21551
c7738d08
SP
215522013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21553
21554 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21555 * elf/tst-tls1.c: Likewise.
21556 * elf/tst-tls10.h: Likewise.
21557 * elf/tst-tls14.c: Likewise.
21558 * elf/tst-tls2.c: Likewise.
21559 * elf/tst-tls3.c: Likewise.
21560 * elf/tst-tls4.c: Likewise.
21561 * elf/tst-tls5.c: Likewise.
21562 * elf/tst-tls6.c: Likewise.
21563 * elf/tst-tls7.c: Likewise.
21564 * elf/tst-tls8.c: Likewise.
21565 * elf/tst-tls9.c: Likewise.
21566 * elf/tst-tlsmod1.c: Likewise.
21567 * elf/tst-tlsmod13.c: Likewise.
21568 * elf/tst-tlsmod13a.c: Likewise.
21569 * elf/tst-tlsmod14a.c: Likewise.
21570 * elf/tst-tlsmod16a.c: Likewise.
21571 * elf/tst-tlsmod16b.c: Likewise.
21572 * elf/tst-tlsmod2.c: Likewise.
21573 * elf/tst-tlsmod3.c: Likewise.
21574 * elf/tst-tlsmod4.c: Likewise.
21575 * elf/tst-tlsmod5.c: Likewise.
21576 * elf/tst-tlsmod6.c: Likewise.
21577
0bfcf2c7
OB
215782013-10-18 Ondřej Bílka <neleai@seznam.cz>
21579
21580 [BZ #12486]
21581 * malloc/malloc.c: remove checks for statistics.
21582
264aad1e
OB
215832013-10-17 Ondřej Bílka <neleai@seznam.cz>
21584
21585 [BZ #15277]
21586 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21587 * inet/tst-network.c: Add testcase.
21588
b957ced8
AS
215892013-10-17 Andreas Schwab <schwab@suse.de>
21590
21591 [BZ #15218]
21592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21593 to determine canonical name.
21594
c5d5d574
OB
215952013-10-17 Ondřej Bílka <neleai@seznam.cz>
21596
21597 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21598 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21621 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21622 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21626 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21631 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21655
e5c2c2d0
JM
216562013-10-17 Joseph Myers <joseph@codesourcery.com>
21657
21658 [BZ #16041]
21659 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21660 make result into a quiet NaN.
21661
51ca9e29
JM
216622013-10-16 Joseph Myers <joseph@codesourcery.com>
21663
21664 * soft-fp/adddf3.c: Fix horizontal whitespace.
21665 * soft-fp/addsf3.c: Likewise.
21666 * soft-fp/addtf3.c: Likewise.
21667 * soft-fp/divdf3.c: Likewise.
21668 * soft-fp/divsf3.c: Likewise.
21669 * soft-fp/divtf3.c: Likewise.
21670 * soft-fp/double.h: Likewise.
21671 * soft-fp/eqdf2.c: Likewise.
21672 * soft-fp/eqsf2.c: Likewise.
21673 * soft-fp/eqtf2.c: Likewise.
21674 * soft-fp/extenddftf2.c: Likewise.
21675 * soft-fp/extended.h: Likewise.
21676 * soft-fp/extendsfdf2.c: Likewise.
21677 * soft-fp/extendsftf2.c: Likewise.
21678 * soft-fp/extendxftf2.c: Likewise.
21679 * soft-fp/fixdfdi.c: Likewise.
21680 * soft-fp/fixdfsi.c: Likewise.
21681 * soft-fp/fixdfti.c: Likewise.
21682 * soft-fp/fixsfdi.c: Likewise.
21683 * soft-fp/fixsfsi.c: Likewise.
21684 * soft-fp/fixsfti.c: Likewise.
21685 * soft-fp/fixtfdi.c: Likewise.
21686 * soft-fp/fixtfsi.c: Likewise.
21687 * soft-fp/fixtfti.c: Likewise.
21688 * soft-fp/fixunsdfdi.c: Likewise.
21689 * soft-fp/fixunsdfsi.c: Likewise.
21690 * soft-fp/fixunsdfti.c: Likewise.
21691 * soft-fp/fixunssfdi.c: Likewise.
21692 * soft-fp/fixunssfsi.c: Likewise.
21693 * soft-fp/fixunssfti.c: Likewise.
21694 * soft-fp/fixunstfdi.c: Likewise.
21695 * soft-fp/fixunstfsi.c: Likewise.
21696 * soft-fp/fixunstfti.c: Likewise.
21697 * soft-fp/floatdidf.c: Likewise.
21698 * soft-fp/floatdisf.c: Likewise.
21699 * soft-fp/floatditf.c: Likewise.
21700 * soft-fp/floatsidf.c: Likewise.
21701 * soft-fp/floatsisf.c: Likewise.
21702 * soft-fp/floatsitf.c: Likewise.
21703 * soft-fp/floattidf.c: Likewise.
21704 * soft-fp/floattisf.c: Likewise.
21705 * soft-fp/floattitf.c: Likewise.
21706 * soft-fp/floatundidf.c: Likewise.
21707 * soft-fp/floatundisf.c: Likewise.
21708 * soft-fp/floatunditf.c: Likewise.
21709 * soft-fp/floatunsidf.c: Likewise.
21710 * soft-fp/floatunsisf.c: Likewise.
21711 * soft-fp/floatunsitf.c: Likewise.
21712 * soft-fp/floatuntidf.c: Likewise.
21713 * soft-fp/floatuntisf.c: Likewise.
21714 * soft-fp/floatuntitf.c: Likewise.
21715 * soft-fp/fmadf4.c: Likewise.
21716 * soft-fp/fmasf4.c: Likewise.
21717 * soft-fp/fmatf4.c: Likewise.
21718 * soft-fp/gedf2.c: Likewise.
21719 * soft-fp/gesf2.c: Likewise.
21720 * soft-fp/getf2.c: Likewise.
21721 * soft-fp/ledf2.c: Likewise.
21722 * soft-fp/lesf2.c: Likewise.
21723 * soft-fp/letf2.c: Likewise.
21724 * soft-fp/muldf3.c: Likewise.
21725 * soft-fp/mulsf3.c: Likewise.
21726 * soft-fp/multf3.c: Likewise.
21727 * soft-fp/negdf2.c: Likewise.
21728 * soft-fp/negsf2.c: Likewise.
21729 * soft-fp/negtf2.c: Likewise.
21730 * soft-fp/op-1.h: Likewise.
21731 * soft-fp/op-2.h: Likewise.
21732 * soft-fp/op-4.h: Likewise.
21733 * soft-fp/op-8.h: Likewise.
21734 * soft-fp/op-common.h: Likewise.
21735 * soft-fp/quad.h: Likewise.
21736 * soft-fp/single.h: Likewise.
21737 * soft-fp/soft-fp.h: Likewise.
21738 * soft-fp/sqrtdf2.c: Likewise.
21739 * soft-fp/sqrtsf2.c: Likewise.
21740 * soft-fp/sqrttf2.c: Likewise.
21741 * soft-fp/subdf3.c: Likewise.
21742 * soft-fp/subsf3.c: Likewise.
21743 * soft-fp/subtf3.c: Likewise.
21744 * soft-fp/truncdfsf2.c: Likewise.
21745 * soft-fp/trunctfdf2.c: Likewise.
21746 * soft-fp/trunctfsf2.c: Likewise.
21747 * soft-fp/trunctfxf2.c: Likewise.
21748 * soft-fp/unorddf2.c: Likewise.
21749 * soft-fp/unordsf2.c: Likewise.
21750 * soft-fp/unordtf2.c: Likewise.
21751
9ebb0332
JM
217522013-10-15 Joseph Myers <joseph@codesourcery.com>
21753
21754 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21755 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21756
4b1a6d8b
OB
217572013-10-15 Ondřej Bílka <neleai@seznam.cz>
21758
21759 * elf/dl-libc.c: Clear initfini list after freeing.
21760
1e145589
JM
217612013-10-14 Joseph Myers <joseph@codesourcery.com>
21762
21763 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21764 * soft-fp/addsf3.c: Likewise.
21765 * soft-fp/addtf3.c: Likewise.
21766 * soft-fp/divdf3.c: Likewise.
21767 * soft-fp/divsf3.c: Likewise.
21768 * soft-fp/divtf3.c: Likewise.
21769 * soft-fp/double.h: Likewise.
21770 * soft-fp/eqdf2.c: Likewise.
21771 * soft-fp/eqsf2.c: Likewise.
21772 * soft-fp/eqtf2.c: Likewise.
21773 * soft-fp/extenddftf2.c: Likewise.
21774 * soft-fp/extended.h: Likewise.
21775 * soft-fp/extendsfdf2.c: Likewise.
21776 * soft-fp/extendsftf2.c: Likewise.
21777 * soft-fp/extendxftf2.c: Likewise.
21778 * soft-fp/fixdfdi.c: Likewise.
21779 * soft-fp/fixdfsi.c: Likewise.
21780 * soft-fp/fixdfti.c: Likewise.
21781 * soft-fp/fixsfdi.c: Likewise.
21782 * soft-fp/fixsfsi.c: Likewise.
21783 * soft-fp/fixsfti.c: Likewise.
21784 * soft-fp/fixtfdi.c: Likewise.
21785 * soft-fp/fixtfsi.c: Likewise.
21786 * soft-fp/fixtfti.c: Likewise.
21787 * soft-fp/fixunsdfdi.c: Likewise.
21788 * soft-fp/fixunsdfsi.c: Likewise.
21789 * soft-fp/fixunsdfti.c: Likewise.
21790 * soft-fp/fixunssfdi.c: Likewise.
21791 * soft-fp/fixunssfsi.c: Likewise.
21792 * soft-fp/fixunssfti.c: Likewise.
21793 * soft-fp/fixunstfdi.c: Likewise.
21794 * soft-fp/fixunstfsi.c: Likewise.
21795 * soft-fp/fixunstfti.c: Likewise.
21796 * soft-fp/floatdidf.c: Likewise.
21797 * soft-fp/floatdisf.c: Likewise.
21798 * soft-fp/floatditf.c: Likewise.
21799 * soft-fp/floatsidf.c: Likewise.
21800 * soft-fp/floatsisf.c: Likewise.
21801 * soft-fp/floatsitf.c: Likewise.
21802 * soft-fp/floattidf.c: Likewise.
21803 * soft-fp/floattisf.c: Likewise.
21804 * soft-fp/floattitf.c: Likewise.
21805 * soft-fp/floatundidf.c: Likewise.
21806 * soft-fp/floatundisf.c: Likewise.
21807 * soft-fp/floatunsidf.c: Likewise.
21808 * soft-fp/floatunsisf.c: Likewise.
21809 * soft-fp/floatuntidf.c: Likewise.
21810 * soft-fp/floatuntisf.c: Likewise.
21811 * soft-fp/floatuntitf.c: Likewise.
21812 * soft-fp/fmadf4.c: Likewise.
21813 * soft-fp/fmasf4.c: Likewise.
21814 * soft-fp/fmatf4.c: Likewise.
21815 * soft-fp/gedf2.c: Likewise.
21816 * soft-fp/gesf2.c: Likewise.
21817 * soft-fp/getf2.c: Likewise.
21818 * soft-fp/ledf2.c: Likewise.
21819 * soft-fp/lesf2.c: Likewise.
21820 * soft-fp/letf2.c: Likewise.
21821 * soft-fp/muldf3.c: Likewise.
21822 * soft-fp/mulsf3.c: Likewise.
21823 * soft-fp/multf3.c: Likewise.
21824 * soft-fp/negdf2.c: Likewise.
21825 * soft-fp/negsf2.c: Likewise.
21826 * soft-fp/negtf2.c: Likewise.
21827 * soft-fp/op-1.h: Likewise.
21828 * soft-fp/op-2.h: Likewise.
21829 * soft-fp/op-4.h: Likewise.
21830 * soft-fp/op-8.h: Likewise.
21831 * soft-fp/op-common.h: Likewise.
21832 * soft-fp/quad.h: Likewise.
21833 * soft-fp/single.h: Likewise.
21834 * soft-fp/soft-fp.h: Likewise.
21835 * soft-fp/sqrtdf2.c: Likewise.
21836 * soft-fp/sqrtsf2.c: Likewise.
21837 * soft-fp/sqrttf2.c: Likewise.
21838 * soft-fp/subdf3.c: Likewise.
21839 * soft-fp/subsf3.c: Likewise.
21840 * soft-fp/subtf3.c: Likewise.
21841 * soft-fp/truncdfsf2.c: Likewise.
21842 * soft-fp/trunctfdf2.c: Likewise.
21843 * soft-fp/trunctfsf2.c: Likewise.
21844 * soft-fp/trunctfxf2.c: Likewise.
21845 * soft-fp/unorddf2.c: Likewise.
21846 * soft-fp/unordsf2.c: Likewise.
21847 * soft-fp/unordtf2.c: Likewise.
21848
17c48a60
OB
218492013-10-14 Ondřej Bílka <neleai@seznam.cz>
21850
21851 [BZ #15672]
21852 * misc/error.c (error_tail): Fix possible buffer overflow.
21853
cabba934
OB
218542013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21855
21856 [BZ #13028]
21857 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21858 address.
21859
94bf958a
PM
218602013-10-14 P. J. McDermott <pj@pehjota.net>
21861
21862 [BZ #832]
21863 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21864 testing pipefail option.
21865
71b4dea7
JM
218662013-10-12 Joseph Myers <joseph@codesourcery.com>
21867
21868 * soft-fp/double.h: Indent preprocessor directives inside #if.
21869 * soft-fp/extended.h: Likewise.
21870 * soft-fp/op-2.h: Likewise.
21871 * soft-fp/op-4.h: Likewise.
21872 * soft-fp/op-common.h: Likewise.
21873 * soft-fp/quad.h: Likewise.
21874 * soft-fp/single.h: Likewise.
21875 * soft-fp/soft-fp.h: Likewise.
21876
55602758
YC
218772013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21878
21879 * iconv/iconv_prog.c: Fix typos.
21880 * stdio-common/psiginfo-data.h: Likewise.
21881
9cd83302
RT
218822013-10-12 Reuben Thomas <rrt@sc3d.org>
21883
21884 [BZ #15764]
21885 * locale/setlocale.c: Fix typo.
21886
99fd9f47
JM
218872013-10-12 Joseph Myers <joseph@codesourcery.com>
21888
b7ea74f0
JM
21889 [BZ #16036]
21890 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21891 signaling NaN arguments.
21892 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21893 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21894
8a509447
JM
21895 [BZ #14910]
21896 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21897 unordered operands.
21898 * soft-fp/gesf2.c (__gesf2): Likewise.
21899 * soft-fp/getf2.c (__getf2): Likewise.
21900 * soft-fp/ledf2.c (__ledf2): Likewise.
21901 * soft-fp/lesf2.c (__lesf2): Likewise.
21902 * soft-fp/letf2.c (__letf2): Likewise.
21903
98998e9f
JM
21904 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21905 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21906 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21907 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21908 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21909 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21910 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21911 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21912 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21913 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21914 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21915 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21916 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21917 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21918 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21919 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21920 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21921 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21922 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21923 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21924 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21925 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21926 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21927 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21928 * soft-fp/floattidf.c (__floattidf): Likewise.
21929 * soft-fp/floattisf.c (__floattisf): Likewise.
21930 * soft-fp/floattitf.c (__floattitf): Likewise.
21931 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21932 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21933 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21934 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21935 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21936 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21937 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21938 * soft-fp/gesf2.c (__gesf2): Likewise.
21939 * soft-fp/getf2.c (__getf2): Likewise.
21940 * soft-fp/ledf2.c (__ledf2): Likewise.
21941 * soft-fp/lesf2.c (__lesf2): Likewise.
21942 * soft-fp/letf2.c (__letf2): Likewise.
21943
8edc4a11
JM
21944 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21945 Undefine and redefine.
21946 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21947 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21948 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21949 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21950 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21951 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21952 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21953 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21954 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21955 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21956 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21957 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21958 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21959 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21960 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21961
8399acaf
JM
21962 [BZ #16032]
21963 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21964 without decrementing exponent if mantissa >= that for the
21965 denominator, not >.
21966 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21967 denominator, not >. Decrement exponent in < case instead of
21968 incrementing in >= case.
21969 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21970 without decrementing exponent if mantissa >= that for the
21971 denominator, not >.
21972
99fd9f47
JM
21973 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21974 computing saturated result for unsigned overflow.
21975
10e1cf6b
SP
219762013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21977 Jeff Law <law@redhat.com>
21978
21979 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21980 (atan2Mp): Add systemtap probe marker.
21981 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21982 (__ieee754_log): Add systemtap probe marker.
21983 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21984 (atanMp): Add systemtap probe marker.
21985 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21986 (tanMp): Add systemtap probe marker.
21987 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21988 (__slowexp): Add systemtap probe marker.
21989 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21990 (__slowpow): Add systemtap probe marker.
21991 * manual/probes.texi: Document probes.
21992
3d110c7c
EB
219932013-10-11 Eric Biggers <ebiggers3@gmail.com>
21994
21995 [BZ #15362]
21996 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21997 written.
21998 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21999 written.
22000 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22001 written to buffer but not flushed.
22002 * libio/iofwrite_u.c: Likewise.
22003 * libio/iopadn.c: Return bytes returned even if EOF was
22004 encountered.
22005 * libio/iowpadn.c: Likewise.
22006 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22007 if _IO_padn does not write the whole buffer.
22008 [!COMPILE_WPRINTF] (PAD): Likewise.
22009
75b4202a
DM
220102013-10-10 David S. Miller <davem@davemloft.net>
22011
22012 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22013 directory block.
22014
6c6352e6
JM
220152013-10-10 Joseph Myers <joseph@codesourcery.com>
22016
33b853c3
JM
22017 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22018 instead of FSF address.
22019 * soft-fp/fixdfti.c: Likewise.
22020 * soft-fp/fixsfti.c: Likewise.
22021 * soft-fp/fixtfti.c: Likewise.
22022 * soft-fp/fixunsdfti.c: Likewise.
22023 * soft-fp/fixunssfti.c: Likewise.
22024 * soft-fp/fixunstfti.c: Likewise.
22025 * soft-fp/floattidf.c: Likewise.
22026 * soft-fp/floattisf.c: Likewise.
22027 * soft-fp/floattitf.c: Likewise.
22028 * soft-fp/floatuntidf.c: Likewise.
22029 * soft-fp/floatuntisf.c: Likewise.
22030 * soft-fp/floatuntitf.c: Likewise.
22031 * soft-fp/trunctfxf2.c: Likewise.
22032
6c6352e6
JM
22033 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22034 * soft-fp/fixdfti.c: Likewise.
22035 * soft-fp/fixsfti.c: Likewise.
22036 * soft-fp/fixtfti.c: Likewise.
22037 * soft-fp/fixunsdfti.c: Likewise.
22038 * soft-fp/fixunssfti.c: Likewise.
22039 * soft-fp/fixunstfti.c: Likewise.
22040 * soft-fp/floattidf.c: Likewise.
22041 * soft-fp/floattisf.c: Likewise.
22042 * soft-fp/floattitf.c: Likewise.
22043 * soft-fp/floatuntidf.c: Likewise.
22044 * soft-fp/floatuntisf.c: Likewise.
22045 * soft-fp/floatuntitf.c: Likewise.
22046 * soft-fp/trunctfxf2.c: Likewise.
22047
3bf78b71
DM
220482013-10-10 David S. Miller <davem@davemloft.net>
22049
22050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22051
6f10289e
JM
220522013-10-10 Joseph Myers <joseph@codsourcery.com>
22053
bd878fc0
JM
22054 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22055 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22056 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22061
6f10289e
JM
22062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22063 for NaNs before doing comparisons on argument.
22064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22065 Likewise.
22066
321e2684
WN
220672013-10-10 Will Newton <will.newton@linaro.org>
22068
22069 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22070 passed to _int_memalign does not overflow.
22071
40fefba1
TR
220722013-10-10 Torvald Riegel <triegel@redhat.com>
22073
22074 * scripts/bench.pl: Add include-sources directive.
22075 * benchtests/README: Update documentation.
22076
2ae21ed2
JM
220772013-10-10 Joseph Myers <joseph@codesourcery.com>
22078
dcc2dd3f
JM
22079 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22080 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22081 instead of FP_INIT_ROUNDMODE.
22082 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22083 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22084
2ae21ed2
JM
22085 [BZ #16034]
22086 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22087 copy class of input value.
22088 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22089 not handle exceptions.
22090 * soft-fp/negsf2.c (__negsf2): Likewise.
22091 * soft-fp/negtf2.c (__negtf2): Likewise.
22092 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22093
cb8f9562
JM
220942013-10-09 Joseph Myers <joseph@codesourcery.com>
22095
22096 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22097 semicolon. From Linux kernel.
22098
5b60c59d
AB
220992013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22100
22101 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22102
b86835ca
YC
221032013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22104
22105 [BZ #156]
22106 * manual/socket.texi: Added statement about buffer
22107 for gethostbyname2_r.
22108
e7044ea7
OB
221092013-10-08 Ondřej Bílka <neleai@seznam.cz>
22110
22111 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22112 Use .p2align directive instead, throughout.
22113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22114 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22115 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22118 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22119 * sysdeps/x86_64/strchr.S: Likewise.
22120 * sysdeps/x86_64/strrchr.S: Likewise.
22121
09544cbc
SP
221222013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22123
88576635
SP
22124 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22125
e7b2d1dd
SP
22126 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22127
09544cbc
SP
22128 * sysdeps/generic/math_private.h (__mpsin1): Remove
22129 declaration.
22130 (__mpcos1): Likewise.
22131 (__mpsin): New argument __range_reduce.
22132 (__mpcos): Likewise.
22133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22134 (slow): Use __mpsin and __mpcos.
22135 (slow1): Likewise.
22136 (slow2): Likewise.
22137 (sloww): Likewise.
22138 (sloww1): Likewise.
22139 (sloww2): Likewise.
22140 (bsloww): Likewise.
22141 (bsloww1): Likewise.
22142 (bsloww2): Likewise.
22143 (cslow2): Likewise.
22144 (csloww): Likewise.
22145 (csloww1): Likewise.
22146 (csloww2): Likewise.
22147 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22148 range_reduce. Merge in __mpsin1.
22149 (__mpcos): Likewise.
22150 (__mpsin1): Remove.
22151 (__mpcos1): Likewise.
22152
7602d070
JM
221532013-10-07 Joseph Myers <joseph@codesourcery.com>
22154
22155 * locale/loadlocale.c (_nl_intern_locale_data): Use
22156 LOCFILE_ALIGNED_P.
22157 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22158 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22159 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22160 obstack data is appropriately aligned.
22161 (obstack_int32_grow_fast): Likewise.
22162 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22163 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22164 (add_locale_uint32_array): Likewise.
22165
a357259b
SP
221662013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22167
22168 * benchtests/Makefile: Remove ARGLIST and RET variables.
22169 ($(objpfx)bench-%.c): Pass only function name to the script.
22170 * benchtests/README: Update documentation.
22171 * benchtests/acos-inputs: Add new directives.
22172 * benchtests/acosh-inputs: Likewise.
22173 * benchtests/asin-inputs: Likewise.
22174 * benchtests/asinh-inputs: Likewise.
22175 * benchtests/atan-inputs: Likewise.
22176 * benchtests/atanh-inputs: Likewise.
22177 * benchtests/cos-inputs: Likewise.
22178 * benchtests/cosh-inputs: Likewise.
22179 * benchtests/exp-inputs: Likewise.
22180 * benchtests/log-inputs: Likewise.
22181 * benchtests/pow-inputs: Likewise.
22182 * benchtests/rint-inputs: Likewise.
22183 * benchtests/sin-inputs: Likewise.
22184 * benchtests/sinh-inputs: Likewise.
22185 * benchtests/tan-inputs: Likewise.
22186 * benchtests/tanh-inputs: Likewise.
22187 * scripts/bench.pl: Add support for new directives.
22188
9ec1b13d
AM
221892013-10-07 Alan Modra <amodra@gmail.com>
22190
22191 * README: Fix careless merge.
22192
8b7d57cd
AM
221932013-10-05 Alan Modra <amodra@gmail.com>
22194
22195 * NEWS: Mention powerpc64le support and bugs fixed.
22196 * README: Both big-endian and little-endian powerpc64 supported.
22197
7b7bab13
ST
221982013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22199
57f41c40
AS
22200 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22201 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22202 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22203 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22204
d39baad1
RA
222052013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22206
22207 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22208 match prototype.
22209
cd78f7e7
JM
222102013-10-04 Joseph Myers <joseph@codesourcery.com>
22211
29d73d86
JM
22212 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22213 Move -mhard-float appending from
22214 ports/sysdeps/powerpc/powerpc32/Makefile.
22215 [$(with-fp) = yes] (ASFLAGS): Likewise.
22216 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22217 * sysdeps/powerpc/nofpu: Move directory from
22218 ports/sysdeps/powerpc/nofpu.
22219 * sysdeps/powerpc/soft-fp: Move directory from
22220 ports/sysdeps/powerpc/soft-fp.
22221 * sysdeps/powerpc/powerpc32/405: Move directory from
22222 ports/sysdeps/powerpc/powerpc32/405.
22223 * sysdeps/powerpc/powerpc32/440: Move directory from
22224 ports/sysdeps/powerpc/powerpc32/440.
22225 * sysdeps/powerpc/powerpc32/464: Move directory from
22226 ports/sysdeps/powerpc/powerpc32/464.
22227 * sysdeps/powerpc/powerpc32/476: Move directory from
22228 ports/sysdeps/powerpc/powerpc32/476.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22230 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22234 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22236 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22238 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22239 * README: Update for powerpc-*-linux-gnu software floating point
22240 support in libc.
22241
e246b347
JM
22242 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22243 case to powerpc/powerpc32*.
22244 * sysdeps/unix/sysv/linux/configure: Regenerated.
22245
89c2003e
JM
22246 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22247 (_FPU_MASK_OM): Define as 0x04.
22248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22250 0x00c10080.
22251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22252 0x0000003c.
22253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22254
cd78f7e7
JM
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22256 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22257 getcontext_e500.
22258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22259 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22260 setcontext_e500.
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22262 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22263 and setcontext_e500.
22264
c755294d
CL
222652013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22266
22267 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22268
e16d221c
SP
222692013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22270
22271 * manual/threads.texi (Default Thread Attributes): Fix typo.
22272
215c7d43
WN
222732013-10-04 Will Newton <will.newton@linaro.org>
22274
22275 * malloc/Makefile: Add tst-memalign.
22276 * malloc/tst-memalign.c: New file.
22277
27d0461b
WN
22278 * malloc/tst-posix_memalign.c: Add comments.
22279 (do_test): Add comments and call free on all potentially
22280 allocated pointers. Add space after cast.
22281
1bc92709
WN
22282 * malloc/tst-pvalloc.c: Add comments.
22283 (do_test): Add comments and call free on all potentially
22284 allocated pointers. Remove duplicate check for NULL pointer.
22285 Add space after cast.
22286
66a9be9d
WN
22287 * malloc/tst-valloc.c: Add comments.
22288 (do_test): Add comments and call free on all potentially
22289 allocated pointers. Remove duplicate check for NULL pointer.
22290 Add space after cast.
22291
4cb81307
AM
222922013-10-04 Alan Modra <amodra@gmail.com>
22293
22294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22295 Use stdint types in rather than __attribute__((mode())).
22296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22297
f8e3e9f3
AM
222982013-10-04 Alan Modra <amodra@gmail.com>
22299
22300 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22301 Correct handling of unaligned relocs for little-endian.
22302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22303
8f9ebb08
AM
223042013-10-04 Alan Modra <amodra@gmail.com>
22305
22306 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22307 * configure: Regenerate.
22308 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22309 * shlib-versions: Likewise.
22310
0edf96c2
AM
223112013-10-04 Alan Modra <amodra@gmail.com>
22312
22313 * string/tester.c (test_memrchr): Increment reported test cycle.
22314
e0f7a380
AM
223152013-10-04 Alan Modra <amodra@gmail.com>
22316
22317 * string/test-memcpy.c (do_one_test): When reporting errors, print
22318 string address and don't overrun end of string.
22319
466b0393
AM
223202013-10-04 Alan Modra <amodra@gmail.com>
22321
22322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22323 insrdi. Make better use of reg selection to speed exit slightly.
22324 Schedule entry path a little better. Remove useless "are we done"
22325 checks on entry to main loop. Handle wrapping around zero address.
22326 Correct main loop count. Handle single left-over word from main
22327 loop inline rather than by using loop_small. Remove extra word
22328 case in loop_small caused by wrong loop count. Add little-endian
22329 support.
22330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22331 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22332 cache hint.
22333 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22334 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22335 support. Avoid rlwimi.
22336 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22337
3be87c77
AM
223382013-10-04 Alan Modra <amodra@gmail.com>
22339
22340 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22341 insrdi. Formatting.
3be87c77
AM
22342 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22343 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22344 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22345 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22346 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22347 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22348
759cfef3
AM
223492013-10-04 Alan Modra <amodra@gmail.com>
22350
22351 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22352 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22353 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22354 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22355 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22356 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22357 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22358 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22360 use of regs. Use power7 mtocrf. Tidy function tails.
22361
fe6e95d7
AM
223622013-10-04 Alan Modra <amodra@gmail.com>
22363
22364 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22365 Formatting. Consistently use rXXX register defines or rN defines.
22366 Use early exit labels that avoid restoring unused non-volatile regs.
22367 Make cr field use more consistent with rWORDn compares. Rename
22368 regs used as shift registers for unaligned loop, using rN defines
22369 for short lifetime/multiple use regs.
22370 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22371 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22372 addi 1,1,64 to pop stack frame. Simplify return value code.
22373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22374
664318c3
AM
223752013-10-04 Alan Modra <amodra@gmail.com>
22376
22377 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22378 support. Correct typos, formatting. Optimize tail. Use insrdi
22379 rather than rlwimi.
22380 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22382 little-endian support. Correct typos.
22383 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22384 rather than rlwimi.
22385 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22386 in loop and entry code to keep "and." results.
22387 (strchr): Add little-endian support. Comment. Move cntlzd
22388 earlier in tail.
22389 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22390
43b84013
AM
223912013-10-04 Alan Modra <amodra@gmail.com>
22392
22393 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22394 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22395 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22396 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22397
8a7413f9
AM
223982013-10-04 Alan Modra <amodra@gmail.com>
22399
22400 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22401 (rTMP): Define as r11.
22402 (strcmp): Add little-endian support. Optimise tail.
22403 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22404 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22405 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22409 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22410
33ee81de
AM
224112013-10-04 Alan Modra <amodra@gmail.com>
22412
22413 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22414 little-endian support. Remove unnecessary "are we done" tests.
22415 Handle "s" wrapping around zero and extremely large "size".
22416 Correct main loop count. Handle single left-over word from main
22417 loop inline rather than by using small_loop. Correct comments.
22418 Delete "zero" tail, use "end_max" instead.
22419 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22420
db9b4570
AM
224212013-10-04 Alan Modra <amodra@gmail.com>
22422
22423 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22424 support. Don't branch over align.
22425 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22426 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22427 support. Rearrange tmp reg use to suit. Comment.
22428 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22429
f7c399cf
AM
224302013-10-04 Alan Modra <amodra@gmail.com>
22431
22432 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22433
0b2c2ace
AM
224342013-10-04 Alan Modra <amodra@gmail.com>
22435
22436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22437 conditional form of branch and link when obtaining pc.
22438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22439
02f04a6c
AM
224402013-10-04 Alan Modra <amodra@gmail.com>
22441
22442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22443 HIWORD/LOWORD.
22444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22446
9b874b2f
AM
224472013-10-04 Alan Modra <amodra@gmail.com>
22448
22449 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22450 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22451 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22452 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22453 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22454 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22455 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22456 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22458 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22459
be1e5d31
AB
224602013-10-04 Anton Blanchard <anton@au1.ibm.com>
22461 Alistair Popple <alistair@ozlabs.au.ibm.com>
22462 Alan Modra <amodra@gmail.com>
22463
22464 [BZ #15723]
22465 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22466 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22467 _dl_hwcap access for little-endian.
22468 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22469 destroy vmx regs when saving unaligned.
22470 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22471 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22472 destroy vmx regs when saving unaligned.
22473
fef13a78
AM
224742013-10-04 Alan Modra <amodra@gmail.com>
22475
22476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22477 Don't use a union to pack hi/low value.
22478
76a66d51
AB
224792013-10-04 Anton Blanchard <anton@au1.ibm.com>
22480
22481 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22482 for little-endian.
22483 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22485 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22486 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22487 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22488
6a31fe7f
AM
224892013-10-04 Alan Modra <amodra@gmail.com>
22490
22491 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22492 constants to usual value for .cst8 section, and remove redundant
22493 high address load.
22494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22495 constant for 0x1p52. Load little-endian words of double from
22496 correct stack offsets.
22497
7b88401f
AM
224982013-10-04 Alan Modra <amodra@gmail.com>
22499
22500 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22501 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22502 words of double from correct stack offsets.
22503 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22504 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22505 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22510 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22511 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22515 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22516 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22517 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22519 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22520
9c008155
AM
225212013-10-04 Alan Modra <amodra@gmail.com>
22522
22523 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22524 64-bit int/double union.
22525 (_FPU_SETCW): Likewise.
22526 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22527 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22528
da13146d
AM
225292013-10-04 Alan Modra <amodra@gmail.com>
22530
22531 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22532 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22533
603e8410
AM
225342013-10-04 Alan Modra <amodra@gmail.com>
22535
22536 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22537 use vector int constants.
22538 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22539
4a28b3ca
AB
225402013-10-04 Anton Blanchard <anton@au1.ibm.com>
22541
22542 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22543 array with long long.
22544 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22545 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22546 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22547 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22548 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22549 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22550 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22551 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22552 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22553 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22554 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22555 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22556 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22557
2ca85d2b
AB
225582013-10-04 Anton Blanchard <anton@au1.ibm.com>
22559
22560 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22561 (__signbit): Likewise. Correct for little-endian.
22562 (__signbitl): Call __signbit.
22563 (lrint): Correct for little-endian.
22564 (lrintf): Call lrint.
22565
62a728ae
AM
225662013-10-04 Alan Modra <amodra@gmail.com>
22567
22568 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22569 union 32-bit int array member with 64-bit int array.
22570 (t515, tm256): Double rather than long double.
22571 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22572
32c301df
AM
225732013-10-04 Alan Modra <amodra@gmail.com>
22574
22575 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22576 Delete.
22577 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22579 version of math_ldbl.h.
22580
650ef4bd
AM
225812013-10-04 Alan Modra <amodra@gmail.com>
22582
22583 [BZ #15734], [BZ #15735]
22584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22585 all uses of ieee875 long double macros and unions. Simplify test
22586 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22587 ldbl_extract_mantissa value for ix,iy exponents. Properly
22588 normalize after ldbl_extract_mantissa, and don't add hidden bit
22589 already handled. Don't treat low word of ieee854 mantissa like
22590 low word of IBM long double and mask off bit when testing for
22591 zero.
22592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22593 all uses of ieee875 long double macros and unions. Simplify tests
22594 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22595 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22596 two1022, instead use their values. Recognise that tests for large
22597 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22598 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22599 Rewrite all uses of ieee875 long double macros and unions. Simplify
22600 test for 0.0L and nan. Correct negation.
22601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22602 ieee875 long double macros and unions. Correct output for large
22603 magnitude x. Correct absolute value calculation.
22604 (__erfcl): Likewise.
22605 * math/libm-test.inc: Add tests for errors discovered in IBM long
22606 double versions of fmodl, remainderl, erfl and erfcl.
22607
765714ca
AM
226082013-10-04 Alan Modra <amodra@gmail.com>
22609
22610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22611 all uses of ieee854 long double macros and unions. Simplify tests
22612 for long doubles that are fully specified by the high double.
22613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22614 Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22616 Remove dead code too.
22617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22618 (__ieee754_ynl): Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22622 Remove dead code too.
22623 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22627 Simplify.
22628 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22629 Simplify.
22630 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22633 Comment on variable precision.
22634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22636 Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22642
4ebd120c
AM
226432013-10-04 Alan Modra <amodra@gmail.com>
22644
22645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22646 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22647 all uses of ieee854 long double macros and unions.
22648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22654 Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22656 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22657 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22658 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22660 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22661 Simplify sign and nan test too.
22662 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22663 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22665 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22666 Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22669 Likewise.
22670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22672 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22676
1b6adf88
AM
226772013-10-04 Alan Modra <amodra@gmail.com>
22678
22679 * stdio-common/printf_size.c (__printf_size): Don't use
22680 union ieee854_long_double in fpnum union.
22681 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22682 signbit macro to retrieve sign from long double.
22683 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22684 retrieve sign from long double.
22685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22686 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22688 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22689 * math/test-misc.c (main): Don't use union ieee854_long_double.
22690
4cf69995
AM
226912013-10-04 Alan Modra <amodra@gmail.com>
22692
22693 [BZ #15680]
22694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22695 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22696 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22697 calculation. Remove unnecessary test for denormal exponent.
22698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22699 Correct handling of denormals. Avoid undefined shift behaviour.
22700 Correct normalisation of low mantissa when low double is denormal.
22701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22702 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22703 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22704 Correct normalisation of low mantissa. Test for overflow of high
22705 mantissa and normalise.
22706 (ldbl_nearbyint): Use more readable constant for two52.
22707 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22708 (__mpn_construct_long_double): Fix test for overflow of high
22709 mantissa and correct normalisation. Avoid undefined shift.
22710
9605ca6c
AM
227112013-10-04 Alan Modra <amodra@gmail.com>
22712
22713 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22714 (union ibm_extended_long_double): Define as an array of ieee754_double.
22715 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22717 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22718 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22722 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22726
975569d0
JM
227272013-10-03 Joseph Myers <joseph@codesourcery.com>
22728
d3d23756
JM
22729 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22730 page size instead of calling getpagesize.
22731
975569d0
JM
22732 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22733 (LOCFILE_ALIGN_MASK): Likewise.
22734 (LOCFILE_ALIGN_UP): Likewise.
22735 (LOCFILE_ALIGNED_P): Likewise.
22736 * locale/programs/ld-collate.c (collate_output): Use the new
22737 macros instead of __alignof__ (int32_t).
22738 * locale/weight.h (findidx): Likewise.
22739
b1fe1f2b
OB
227402013-10-03 Ondřej Bílka <neleai@seznam.cz>
22741
22742 [BZ #431]
22743 * manual/string.texi: Fix strncat and wcsncat.
22744
5f855e35
BM
227452013-10-03 Brooks Moses <bmoses@google.com>
22746
22747 [BZ #15915]
22748 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22749 * Makerules: ...here, and adjust associated comments.
22750
3cef6009
WN
227512013-10-02 Will Newton <will.newton@linaro.org>
22752
22753 * malloc/Makefile: Add tst-pvalloc.
22754 * malloc/tst-pvalloc.c: New file.
22755
7815420b
WN
227562013-10-02 Will Newton <will.newton@linaro.org>
22757
22758 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22759 improve test coverage.
22760
4868b204
WN
227612013-10-02 Will Newton <will.newton@linaro.org>
22762
22763 * malloc/Makefile: Add tst-posix_memalign.
22764 * malloc/tst-posix_memalign.c: New file.
22765
29c793b3
EB
227662013-10-01 Eric Blake <eblake@redhat.com>
22767
22768 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22769 Use __THROWNL rather than __THROW on static functions.
22770
fd967522
PM
227712013-09-30 Petr Machata <pmachata@redhat.com>
22772
22773 * elf/elf.h (R_AARCH64_ABS16): New macro.
22774 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22775 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22776 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22777 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22778 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22779 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22780 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22781 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22782 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22783 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22784 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22785 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22786 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22787 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22788 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22789 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22790 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22791 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22792 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22793 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22794 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22795 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22796 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22797 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22798 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22799 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22800 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22801 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22802 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22803 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22804 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22805 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22806 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22807 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22808 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22809 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22810 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22811 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22812 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22813 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22814 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22815 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22816 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22817 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22818 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22819 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22820 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22821 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22822 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22823 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22824 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22825 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22826 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22827 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22828 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22829 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22830 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22831 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22832 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22833 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22834 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22835 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22836 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22837 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22838 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22839 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22840 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22841 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22842 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22843 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22844 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22845 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22846 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22847 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22848 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22849 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22850 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22851 (R_AARCH64_TLSDESC_LDR): Likewise.
22852 (R_AARCH64_TLSDESC_ADD): Likewise.
22853 (R_AARCH64_TLSDESC_CALL): Likewise.
22854
b2179107
AS
228552013-09-30 Andreas Schwab <schwab@suse.de>
22856
22857 [BZ #15048]
22858 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22859 the nss database lookup.
22860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22862
47f28d0a
MF
228632013-09-28 Mike Frysinger <vapier@gentoo.org>
22864
22865 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22866
228672013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22868
22869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22870 ${Bash-specific parameter/pattern/string} parameter expansion.
22871 * sysdeps/unix/make-syscalls.sh: Likewise.
22872
f4518a17
KK
228732013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22874
22875 * sysdeps/sh/stackguard-macros.h: New file.
22876
dc1a95c7
OB
228772013-09-26 Ondřej Bílka <neleai@seznam.cz>
22878
22879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22881 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22882 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22883 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22884 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22885
5ebbff8f
AZ
228862013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22887
22888 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22889 Fix thread ID register.
22890
4fd2cf9f
JM
228912013-09-25 Joseph Myers <joseph@codesourcery.com>
22892
22893 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22894 [POSIX || UNIX98]: Require rather than permitting all symbols from
22895 <time.h>.
22896 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22897 element of struct sched_param.
22898 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22899 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22900 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22901 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22902 constant.
22903
12c22bc4
OL
229042013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22905
22906 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22907 argument calculation.
22908
a03d8ea7
JM
229092013-09-24 Joseph Myers <joseph@codesourcery.com>
22910
22911 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22912 Expect macro.
22913 [POSIX] (pthread_attr_t): Do not require type.
22914 [POSIX] (pthread_cond_t): Likewise.
22915 [POSIX] (pthread_condattr_t): Likewise.
22916 [POSIX] (pthread_key_t): Likewise.
22917 [POSIX] (pthread_mutex_t): Likewise.
22918 [POSIX] (pthread_mutexattr_t): Likewise.
22919 [POSIX] (pthread_once_t): Likewise.
22920 [POSIX] (pthread_t): Likewise.
22921 [POSIX-based standards] (pthread_atfork): Expect function.
22922
6055173a
JM
229232013-09-24 Joseph Myers <joseph@codesourcery.com>
22924 Richard Sandiford <richard@codesourcery.com>
22925
22926 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22927 (swap_endianness_p): New extern variable.
22928 (set_big_endian): New inline function.
22929 (maybe_swap_uint32): Likewise.
22930 (maybe_swap_uint32_array): Likewise.
22931 (maybe_swap_uint32_obstack): Likewise.
22932 * locale/programs/locfile.c: Include <stdbool.h>.
22933 (swap_endianness_p): New variable.
22934 (add_locale_uint32): Call maybe_swap_uint32.
22935 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22936 (write_locale_data): Call maybe_swap_uint32_array.
22937 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22938 maybe_swap_uint32.
22939 (obstack_int32_grow_fast): Likewise.
22940 (output_weightwc): Call maybe_swap_uint32_obstack.
22941 (collate_output): Likewise.
22942 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22943 (OPT_LITTLE_ENDIAN): Likewise.
22944 (options): Add --little-endian and --big-endian options.
22945 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22946 * locale/programs/locarchive.c: Include "locfile.h".
22947 (GET): New macro.
22948 (SET): Likewise.
22949 (INC): Likewise.
22950 (create_archive): Use the new macros to access fields of
22951 structures directly mapped from or written to locale archives.
22952 (oldlocrecentcmp): Likewise.
22953 (enlarge_archive): Likewise.
22954 (insert_name): Likewise.
22955 (add_alias): Likewise.
22956 (add_locale): Likewise.
22957 (delete_locales_from_archive): Likewise.
22958 (show_archive_content): Likewise.
22959 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22960 locale data.
22961
39bf0bb4
RM
229622013-09-24 Roland McGrath <roland@hack.frob.com>
22963
22964 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22965 http://www.gnu.org/doc/freemanuals.texi.
22966 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22967
f02eed10
WN
229682013-09-24 Will Newton <will.newton@linaro.org>
22969
22970 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22971 macro.
22972
a3a6c312
JM
229732013-09-23 Joseph Myers <joseph@codesourcery.com>
22974
22975 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22976 unsigned char.
22977
107375ac
MR
229782013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22979
22980 * manual/threads.texi (POSIX Threads): Fix a typo.
22981
141f3a77
SP
229822013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22983
303e567a
SP
22984 [BZ #14547]
22985 * string/tst-strcoll-overflow.c: New test case.
22986 * string/Makefile (xtests): Add tst-strcoll-overflow.
22987 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22988 cache if string sizes may cause integer overflow.
22989
141f3a77
SP
22990 [BZ #14547]
22991 * string/strcoll_l.c (coll_seq): New members rule, idx,
22992 save_idx and back_us.
22993 (get_next_seq_nocache): New function.
22994 (do_compare_nocache): New function.
22995 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22996 when malloc fails.
22997
c61b4d41
CD
229982013-09-23 Carlos O'Donell <carlos@redhat.com>
22999
0b1f8e35
CD
23000 [BZ #15754]
23001 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23002 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23003 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23004
c61b4d41
CD
23005 [BZ #15754]
23006 * elf/Makefile (tests): Add tst-ptrguard1.
23007 (tests-static): Add tst-ptrguard1-static.
23008 (tst-ptrguard1-ARGS): Define.
23009 (tst-ptrguard1-static-ARGS): Define.
23010 * elf/tst-ptrguard1.c: New file.
23011 * elf/tst-ptrguard1-static.c: New file.
23012 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23013 * sysdeps/i386/stackguard-macros.h: Likewise.
23014 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23015 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23016 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23017 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23018 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23019 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23020
230212013-09-23 Hector Marco <hecmargi@upv.es>
23022 Ismael Ripoll <iripoll@disca.upv.es>
23023 Carlos O'Donell <carlos@redhat.com>
23024
23025 [BZ #15754]
23026 * sysdeps/generic/stackguard-macros.h: Define
23027 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23028 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23029 Define __pointer_chk_guard_local.
23030 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23031 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23032
f5f4e7b4
VV
230332013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23034
23035 [BZ #15859]
23036 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23037
5bb43a43
AS
230382013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23039
23040 * include/string.h (__ffs): Declare as hidden.
23041 * string/ffs.c (__ffs): Define as hidden.
23042 * sysdeps/i386/ffs.c (__ffs): Likewise.
23043 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23044 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23045 * sysdeps/s390/ffs.c (__ffs): Likewise.
23046 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23047
3ea5be54
AO
230482013-09-20 Alexandre Oliva <aoliva@redhat.com>
23049
ffb89e53
AO
23050 * NEWS: Mention malloc probes.
23051
322dea08
AO
23052 * malloc/arena.c (new_heap): New memory_heap_new probe.
23053 (grow_heap): New memory_heap_more probe.
23054 (shrink_heap): New memory_heap_less probe.
23055 (heap_trim): New memory_heap_free probe.
23056 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23057 (systrim): New memory_sbrk_less probe.
23058 * manual/probes.texi: Document them.
23059
655673f3
AO
23060 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23061 * manual/probes.texi: Document it.
23062
35fed6f1
AO
23063 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23064 (__libc_realloc): Add memory_realloc_retry probe.
23065 (__libc_memalign): Add memory_memalign_retry probe.
23066 (__libc_valloc): Add memory_valloc_retry probe.
23067 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23068 (__libc_calloc): Add memory_calloc_retry probe.
23069 * manual/probes.texi: Document them.
23070
6999d38c
AO
23071 * malloc/arena.c (get_free_list): Add probe
23072 memory_arena_reuse_free_list.
23073 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23074 and memory_arena_reuse.
23075 (arena_get2) [!PER_THREAD]: Likewise.
23076 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23077 memory_arena_reuse_realloc.
23078 * manual/probes.texi: Document them.
23079
0653427f
AO
23080 * malloc/malloc.c (__libc_free): Add
23081 memory_mallopt_free_dyn_thresholds probe.
23082 (__libc_mallopt): Add multiple memory_mallopt probes.
23083 * manual/probes.texi: Document them.
23084
3ea5be54
AO
23085 * malloc/malloc.c: Include stap-probe.h.
23086 (__libc_mallopt): Add memory_mallopt probe.
23087 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23088 * manual/probes.texi: New.
23089 * manual/Makefile (chapters): Add probes.
23090 * manual/threads.texi: Set next node.
23091
e35696c3 230922013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23093
e35696c3
CL
23094 [BZ #15963, #13985]
23095 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23096 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23097 Add `Chinese' to `nan' entry name.
23098
4aafb73c
SP
230992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23100
23101 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23102 (POLYNOMIAL): Likewise.
23103 (TAYLOR_SINCOS): Likewise.
23104 (TAYLOR_SLOW): Likewise.
23105 (__sin): Use TAYLOR_SINCOS.
23106 (__cos): Likewise.
23107 (slow): Use TAYLOR_SLOW.
23108 (sloww): Likewise.
23109 (bsloww): Likewise.
23110 (csloww): Likewise.
23111
d84f25c7
LD
231122013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23113
23114 * stdlib/strtod_l.c: Fix buffer overrun.
23115
5eea0404
SP
231162013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23117
7849ff93
SP
23118 * benchtests/Makefile (bench): Add sincos.
23119 * benchtests/bench-sincos.c: New file.
23120
cfa3c886
SP
23121 * math/libm-test.inc (cos_test_data): New test inputs.
23122 (sin_test_data): Likewise.
23123
b348e1e3
SP
23124 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23125 macro.
23126 (__sin): Use it.
23127 (__cos): Likewise.
23128 (slow1): Likewise.
23129 (slow2): Likewise.
23130 (sloww1): Likewise.
23131 (sloww2): Likewise.
23132 (bsloww1): Likewise.
23133 (bsloww2): Likewise.
23134 (cslow2): Likewise.
23135 (csloww1): Likewise.
23136 (csloww2): Likewise.
23137
6cce25f8
SP
23138 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23139 function.
23140 (__sin): Use it.
23141 (__cos): Likewise.
23142
5eea0404
SP
23143 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23144 gotos.
23145 (__cos): Likewise.
23146
9c21573c
MR
231472013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23148
23149 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23150 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23151 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23152 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23153 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23154 * elf/cache.c (print_entry): Handle the new cache flags.
23155
24d22e65
JM
231562013-09-18 Joseph Myers <joseph@codesourcery.com>
23157 Aldy Hernandez <aldyh@redhat.com>
23158
23159 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23160 Change condition to [_SOFT_FLOAT].
23161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23173 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23176 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23177 declaration.
23178
d13ef066
JM
231792013-09-18 Joseph Myers <joseph@codesourcery.com>
23180
2e071de0
JM
23181 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23182 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23183 (__longjmp): Use LOAD_GP to load saved GPRs.
23184 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23186 (__sigsetjmp): Use SAVE_GP to save GPRs.
23187
d13ef066
JM
23188 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23189 Do not append -msoft-float.
23190 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23191
97a0650b
SP
231922013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23193
23194 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23195
11ca09e9
JM
231962013-09-17 Joseph Myers <joseph@codesourcery.com>
23197
23198 [BZ #15966]
23199 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23200 (_FPU_GETCW): Use initial "__" on variable and field names but not
23201 on macro parameter name.
23202 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23203 parentheses around reference to macro parameter.
23204
08ffcf34
RS
232052013-09-13 Richard Sandiford <richard@codesourcery.com>
23206
23207 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23208 prototype.
23209 (ctype_startup): Use uint32_t in cast and sizeof for
23210 ctype->charnames.
23211
ae7080d3
JL
232122013-09-11 Jia Liu <proljc@gmail.com>
23213
23214 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23215 __daddr_t_defined.
23216 [__FreeBSD__]: Likewise.
23217
5905e7b3
OB
232182013-09-11 Ondřej Bílka <neleai@seznam.cz>
23219
23220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23221 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23222 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23223 (strchr): Remove __strchr_sse42 ifunc selection.
23224 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23225 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23226
b987c776
WN
232272013-09-11 Will Newton <will.newton@linaro.org>
23228
23229 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23230 parameter to RES. Remove hardcoded 1000 value.
23231 * benchtests/bench-skeleton.c (main): Pass RES parameter
23232 to TIMING_INIT and multiply result by 1000.
23233
ddf985af
AZ
232342013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23235
23236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23237
ffdd3181
AS
232382013-09-11 Andreas Schwab <schwab@suse.de>
23239
23240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23241 if not defined.
23242 (O_TMPFILE) [__USE_GNU]: Define.
23243 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23244 Define.
23245
b73ed247
WN
232462013-09-11 Will Newton <will.newton@linaro.org>
23247
23248 [BZ #15857]
23249 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23250 does not overflow.
23251
55e17aad
WN
232522013-09-11 Will Newton <will.newton@linaro.org>
23253
23254 [BZ #15856]
23255 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23256 does not overflow.
23257
1159a193
WN
232582013-09-11 Will Newton <will.newton@linaro.org>
23259
23260 [BZ #15855]
23261 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23262 does not overflow.
23263
5905e7b3 232642013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23265
23266 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23267 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23271
cdfc721b
AM
232722013-09-10 Allan McRae <allan@archlinux.org>
23273
aa04af00
AM
23274 [BZ #15748]
23275 * manual/arith.texi (Parsing of Floats): Clarify
23276 cross-reference.
23277
cdfc721b
AM
23278 [BZ #15849]
23279 * manual/install.texi (Running make install): Mention
23280 --enable-pt-chown.
23281 * INSTALL: Regenerated.
23282
95e7cf29
MR
232832013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23284
23285 * csu/init-first.c (_init): Remove the !SHARED condition around
23286 FPU control word initialization.
23287 * elf/dl-support.c (_dl_fpu_control): New variable.
23288 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23289 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23290 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23291 * math/test-fpucw-static.c: New file.
23292 * math/test-fpucw-ieee.c: New file.
23293 * math/test-fpucw-ieee-static.c: New file.
23294 * math/Makefile (tests): Add `test-fpucw-ieee' and
23295 `$(tests-static)'.
23296 (tests-static): New variable.
23297 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23298 dependency to...
23299 [($(build-shared),yes)]
23300 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23301 ... this.
23302 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23303 New dependency.
23304
83e43bf0
AM
233052013-09-09 Allan McRae <allan@archlinux.org>
23306
a9f5ce09
AM
23307 [BZ #15939]
23308 * manual/string.texi (Collation Functions): Fix typo in
23309 strcoll example.
23310 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23311
34829bc2
AM
23312 [BZ #15893]
23313 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23314
3932737d
AM
23315 [BZ #15892]
23316 * libio/memstream.c (open_memstream): Fix memory leak.
23317 * libio/wmemstream.c (open_wmemstream): Likewise.
23318
83e43bf0
AM
23319 [BZ #15895]
23320 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23321
0c66b8e9
WN
233222013-09-09 Will Newton <will.newton@linaro.org>
23323
23324 * malloc/Makefile: Add tst-realloc to tests.
23325 * malloc/tst-realloc.c: New file.
23326
f6b00fd1
AM
233272013-09-09 Allan McRae <allan@archlinux.org>
23328
23329 [BZ #15844]
23330 * COPYING: Update from GNU website to fix FSF address.
23331 * COPYING.LIB: Likewise.
23332
eec55e16
DM
233332013-09-06 David S. Miller <davem@davemloft.net>
23334
23335 * po/zh_TW.po: Update Chinese (traditional) translation from
23336 translation project.
23337
1ecbb381
RS
233382013-09-06 Richard Sandiford <richard@codesourcery.com>
23339 Joseph Myers <joseph@codesourcery.com>
23340
23341 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23342 "localeinfo.h".
23343 (obstack_chunk_alloc): New macro.
23344 (obstack_chunk_free): Likewise.
23345 (record_offset): New function.
23346 (init_locale_data): Likewise.
23347 (align_locale_data): Likewise.
23348 (add_locale_empty): Likewise.
23349 (add_locale_raw_data): Likewise.
23350 (add_locale_raw_obstack): Likewise.
23351 (add_locale_string): Likewise.
23352 (add_locale_wstring): Likewise.
23353 (add_locale_uint32): Likewise.
23354 (add_locale_uint32_array): Likewise.
23355 (add_locale_char): Likewise.
23356 (start_locale_structure): Likewise.
23357 (end_locale_structure): Likewise.
23358 (start_locale_prelude): Likewise.
23359 (end_locale_prelude): Likewise.
23360 (write_locale_data): Take locale_file structure rather than an
23361 iovec.
23362 * locale/programs/locfile.h: Include "obstack.h".
23363 (struct locale_file): Change to store locale file contents instead
23364 of header.
23365 (init_locale_data): New prototype.
23366 (align_locale_data): Likewise.
23367 (add_locale_empty): Likewise.
23368 (add_locale_raw_data): Likewise.
23369 (add_locale_raw_obstack): Likewise.
23370 (add_locale_string): Likewise.
23371 (add_locale_wstring): Likewise.
23372 (add_locale_uint32): Likewise.
23373 (add_locale_uint32_array): Likewise.
23374 (add_locale_char): Likewise.
23375 (start_locale_structure): Likewise.
23376 (end_locale_structure): Likewise.
23377 (start_locale_prelude): Likewise.
23378 (end_locale_prelude): Likewise.
23379 (write_locale_data): Update prototype.
23380 * locale/programs/3level.h (struct TABLE): Remove result field.
23381 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23382 Use new locale_file interface.
23383 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23384 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23385 * locale/programs/ld-address.c (address_output): Use new
23386 locale_file interface.
23387 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23388 NO_ADD_LOCALE.
23389 (collate_finish): Don't call collseq_table_finalize.
23390 (collate_output): Use new locale_file interface.
23391 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23392 in file.
23393 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23394 (TABLE): Move defines earlier in file.
23395 (ELEMENT): Likewise.
23396 (DEFAULT): Likewise.
23397 (wctrans_table_add): Move macro and inline function earlier in
23398 file.
23399 (struct wctype_table): Move type earlier in file.
23400 (add_locale_wctype_table): New static prototype.
23401 (struct locale_ctype_t): Use logical types instead of struct iovec
23402 pointers for members.
23403 (ctype_output): Use new locale_file interface.
23404 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23405 new locale_file interface.
23406 (allocate_arrays): Update for use of new locale_file interface.
23407 * locale/programs/ld-identification.c (identification_output): Use
23408 new locale_file interface.
23409 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23410 * locale/programs/ld-messages.c (messages_output): Likewise.
23411 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23412 * locale/programs/ld-name.c (name_output): Likewise.
23413 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23414 * locale/programs/ld-paper.c (paper_output): Likewise.
23415 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23416 * locale/programs/ld-time.c (time_output): Likewise.
23417
e029e2e5
AZ
234182013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23419
23420 * benchtests/Makefile: Add memrchr benchmark.
23421 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23422 benchmark as memrchr.
23423 * benchtests/bench-memrchr-ifunc.c: New file.
23424 * benchtests/bench-memrchr.c: New file.
23425
bbf6e8e4
WN
234262013-09-06 Will Newton <will.newton@linaro.org>
23427
23428 * benchtests/Makefile (string-bench): Add memcpy.
23429
6c82a2f8
CD
234302013-09-05 Carlos O'Donell <carlos@redhat.com>
23431 Cong Wang <amwang@redhat.com>
23432
e732c5f0 23433 [BZ #15850]
6c82a2f8
CD
23434 * sysdeps/unix/sysv/linux/bits/in.h
23435 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23436 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23437 before __USE_KERNEL_IPV6_DEFS uses.
23438 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23439 IPPROTO_BEETPH.
23440 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23441 sockaddr_in6, or ipv6_mreq.
23442
5430fc65
AZ
234432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23444
23445 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23446 memory access for final bytes in some large inputs.
23447 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23448
4660856c
AZ
234492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23450
23451 * string/test-memrchr.c: New file.
23452 * string/test-memrchr-ifunc.c: New file.
23453 * string/Makefile: Add new memrchr testcase.
23454
bb8ea713
MF
234552013-09-05 Mike Frysinger <vapier@gentoo.org>
23456
23457 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23458 fanotify_init returns EPERM.
23459
b92a20b5
JM
234602013-09-04 Joseph Myers <joseph@codesourcery.com>
23461
23462 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23463 errors.
23464 (top level): Treat second token from macro or constant entries for
23465 allowed headers as allowed.
23466 * include/complex.h: Condition internal declarations on
23467 [!_ISOMAC].
23468 * include/fenv.h: Condition include of <stdbool.h> and internal
23469 declarations on [!_ISOMAC].
7447ccd9
CL
23470
234712013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23472
3e181dda 23473 [BZ #15923]
7447ccd9
CL
23474 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23475
3f2e46a4
JM
234762013-09-04 Joseph Myers <joseph@codesourcery.com>
23477
23478 * configure.in (--enable-versioning): Remove configure option.
23479 (libc_cv_asm_symver_directive): Remove configure test.
23480 (libc_cv_ld_version_script_option): Likewise.
23481 (VERSIONING): Remove variable and AC_SUBST.
23482 (DO_VERSIONING): Remove AC_DEFINE.
23483 * configure: Regenerated.
23484 * config.h.in (DO_VERSIONING): Remove macro.
23485 * Makerules [$(versioning) = yes]: Change conditionals to
23486 [$(build-shared) = yes].
23487 * config.make.in (versioning): Remove variable.
23488 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23489 [$(build-shared) = yes].
23490 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23491 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23492 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23493 [$(build-shared) = yes].
23494 * extra-lib.mk [$(versioning) = yes]: Likewise.
23495 * hurd/Makefile [$(versioning) = yes]: Likewise.
23496 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23497 [SHARED].
23498 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23499 [SHARED].
23500 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23501 [SHARED && !NO_HIDDEN].
23502 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23503 [SHARED].
23504 [SHARED && DO_VERSIONING]: Likewise..
23505 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23506 [$(build-shared) = yes].
23507 * manual/install.texi (--disable-versioning): Remove
23508 documentation.
23509 * INSTALL: Regenerated.
23510 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23511 to [SHARED].
23512 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23513 [$(build-shared) = yes].
23514 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23515 * sysdeps/i386/i686/multiarch/strstr-c.c
23516 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23517 [SHARED && !NO_HIDDEN].
23518 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23519 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23520 * sysdeps/powerpc/powerpc32/dl-machine.c
23521 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23522 * sysdeps/powerpc/powerpc32/sysdep.h
23523 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23524 to [SHARED && PIC && !NO_HIDDEN].
23525 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23526 conditional to [SHARED].
23527
44558701
WN
235282013-09-04 Will Newton <will.newton@linaro.org>
23529
23530 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23531 * benchtests/bench-string.h: Include bench-timing.h instead
23532 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23533 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23534 call to HP_TIMING_DIFF_INIT.
23535 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23536 instead of hp-timing.h macros.
23537 * benchtests/bench-memchr.c: Likewise.
23538 * benchtests/bench-memcmp.c: Likewise.
23539 * benchtests/bench-memcpy.c: Likewise.
23540 * benchtests/bench-memmem.c: Likewise.
23541 * benchtests/bench-memmove.c: Likewise.
23542 * benchtests/bench-memset.c: Likewise.
23543 * benchtests/bench-rawmemchr.c: Likewise.
23544 * benchtests/bench-strcasecmp.c: Likewise.
23545 * benchtests/bench-strcasestr.c: Likewise.
23546 * benchtests/bench-strcat.c: Likewise.
23547 * benchtests/bench-strchr.c: Likewise.
23548 * benchtests/bench-strcmp.c: Likewise.
23549 * benchtests/bench-strcpy.c: Likewise.
23550 * benchtests/bench-strcpy_chk.c: Likewise.
23551 * benchtests/bench-strlen.c: Likewise.
23552 * benchtests/bench-strncasecmp.c: Likewise.
23553 * benchtests/bench-strncat.c: Likewise.
23554 * benchtests/bench-strncmp.c: Likewise.
23555 * benchtests/bench-strncpy.c: Likewise.
23556 * benchtests/bench-strnlen.c: Likewise.
23557 * benchtests/bench-strpbrk.c: Likewise.
23558 * benchtests/bench-strrchr.c: Likewise.
23559 * benchtests/bench-strspn.c: Likewise.
23560 * benchtests/bench-strstr.c: Likewise.
23561
cae16d66
WN
235622013-09-04 Will Newton <will.newton@linaro.org>
23563
23564 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23565
ffa3cd7f
JM
235662013-09-03 Joseph Myers <joseph@codesourcery.com>
23567
23568 [BZ #15427]
23569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23570 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23571 * math/libm-test.inc (lgamma_test_data): Add more tests.
23572 * sysdeps/i386/fpu/libm-test-ulps: Update.
23573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23574
8f02859f
OB
235752013-09-03 Ondřej Bílka <neleai@seznam.cz>
23576
23577 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23579 Add ifunc.
23580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23581 Add strcmp-sse2-unaligned
23582 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23583
18d43716
MF
235842013-09-02 Mike Frysinger <vapier@gentoo.org>
23585
23586 * Versions.def (libc): Add GLIBC_2.19.
23587
ac444012
MF
235882013-09-02 Mike Frysinger <vapier@gentoo.org>
23589
23590 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23591 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23592
b7835e32
JM
235932013-09-02 Joseph Myers <joseph@codesourcery.com>
23594
23595 [BZ #14155]
23596 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23597 intermediate calculations in recurrence.
23598 (__ieee754_ynf): Likewise.
23599 * math/libm-test.inc (jn_test_data): Do not allow spurious
23600 underflow exception. Add more tests.
23601 (yn_test_data): Add more tests.
23602 * sysdeps/i386/fpu/libm-test-ulps: Update.
23603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23604
8220f4f0
OB
236052013-09-02 Ondřej Bílka <neleai@seznam.cz>
23606
23607 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23608
f24a6d08
OB
236092013-08-30 Ondřej Bílka <neleai@seznam.cz>
23610
23611 * csu/init-first.c: Fix then/than typos.
23612 * locale/programs/ld-collate.c: Likewise.
23613 * locale/programs/linereader.h: Likewise.
23614 * manual/charset.texi: Likewise.
23615 * manual/filesys.texi: Likewise.
23616 * manual/stdio.texi: Likewise.
23617 * manual/string.texi: Likewise.
23618 * stdlib/fmtmsg.c: Likewise.
23619 * sysdeps/i386/stpncpy.S: Likewise.
23620 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23622 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23623 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23624
382466e0
OB
236252013-08-30 Ondřej Bílka <neleai@seznam.cz>
23626
23627 * elf/dl-open.c: Fix typos.
23628 * iconvdata/gbbig5.c: Likewise.
23629 * iconvdata/iso-2022-jp.c: Likewise.
23630 * iconv/gconv_int.h: Likewise.
23631 * iconv/loop.c: Likewise.
23632 * nis/rpcsvc/nis.h: Likewise.
23633 * resolv/ns_name.c: Likewise.
23634 * stdio-common/vfscanf.c: Likewise.
23635 * streams/stropts.h: Likewise.
23636 * sunrpc/rpc_thread.c: Likewise.
23637 * sysdeps/i386/strpbrk.S: Likewise.
23638 * sysdeps/ieee754/k_standard.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23641 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23642 * sysdeps/mach/hurd/profil.c: Likewise.
23643 * sysdeps/s390/dl-procinfo.h: Likewise.
23644 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23645 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23646 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23647 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23649
0186c6e9
OB
236502013-08-30 Ondřej Bílka <neleai@seznam.cz>
23651
23652 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23654
d4e16af1
OB
236552013-08-29 Ondřej Bílka <neleai@seznam.cz>
23656
23657 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23658 aix specific files.
23659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23662 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23663 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23664 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23665 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23666 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23667
88335980
TS
236682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23669 Roland McGrath <roland@hack.frob.com>
23670
23671 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23672 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23673
ed479b02
ST
236742013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23675
23676 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23677 __executable_start symbol instead of _start.
23678
f1cc4c86
TS
236792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23680
d821f07c
TS
23681 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23682 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23683 Move macros to...
23684 * sysdeps/gnu/ldsodefs.h: ... this new file.
23685
c54290cf
TS
23686 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23687 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23688 instead of ELFOSABI_LINUX.
23689
0007fc9b 23690 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23691 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23692 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23693 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23694 Likewise.
23695 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23696 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23697 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23698 Likewise.
23699 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23700 (ibm_extended_long_double): Add ieee_nan member.
23701 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23702 (do_test): New function.
23703
f1cc4c86
TS
23704 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23705 TEST_TRUNC.
23706 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23707 functions, renamed from truncdfsf_test, trunctfsf_test,
23708 trunctfdf_test.
23709 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23710 functions.
23711 (do_test): Run all these.
23712
6f65e668
OB
237132013-08-29 Ondřej Bílka <neleai@seznam.cz>
23714
23715 * argp/argp-help.c: Fix typos.
23716 * argp/argp-parse.c: Likewise.
23717 * debug/backtracesyms.c: Likewise.
23718 * elf/elf.h: Likewise.
23719 * malloc/malloc.c: Likewise.
23720 * nis/nis_print.c: Likewise.
23721 * resolv/res_comp.c: Likewise.
23722 * stdlib/stdlib.h: Likewise.
23723 * sunrpc/clnt_tcp.c: Likewise.
23724 * sunrpc/clnt_udp.c: Likewise.
23725 * sunrpc/clnt_unix.c: Likewise.
23726 * sysdeps/unix/bsd/ptsname.c: Likewise.
23727 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23728 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23730 Likewise.
23731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23732 Likewise.
23733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23734 Likewise.
6f65e668
OB
23735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23736
3a309239
SP
237372013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23738
23739 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23741
3b813b29
MF
237422013-08-27 Mike Frysinger <vapier@gentoo.org>
23743
23744 [BZ #15897]
23745 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23746 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23747 ($(objpfx)bug-dl-leaf): New rule.
23748 ($(objpfx)bug-dl-leaf.so): Likewise.
23749 ($(objpfx)bug-dl-leaf.out): Likewise.
23750 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23751 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23752 * dlfcn/bug-dl-leaf.c: New test.
23753 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23754 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23755 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23756 (dlclose): Likewise.
23757 (dlmopen): Likewise.
23758
8cc3269f
RM
237592013-08-27 Roland McGrath <roland@hack.frob.com>
23760
7f9d0034
RM
23761 * include/netdb.h [!_ISOMAC]:
23762 Don't include <tls.h>.
23763 (h_errno, __libc_h_errno): Move declaration and macros out of
23764 [_LIBC_REENTRANT].
23765
fb431262
RM
23766 * include/resolv.h [_RESOLV_H_]:
23767 Don't include <tls.h>.
23768 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23769 * resolv/res_libc.c: Don't include <tls.h>.
23770 (_res): Use __attribute__ ((nocommon)) in place of
23771 __attribute__ ((section (".bss"))).
23772
bd81123a
RM
23773 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23774 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23775
c4e42566
RM
23776 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23777
f890a59b
RM
23778 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23779 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23780
23781 * resolv/res_mkquery.c: Include <sys/time.h>.
23782
5d1f0a09
RM
23783 * inet/ifreq.c: Moved to ...
23784 * sysdeps/unix/ifreq.c: ... here.
23785 * inet/ifreq.c: New file, true stub version.
23786
6fcf28b3
RM
23787 * socket/sa_len.c: New file.
23788 * socket/Makefile (aux): Add it.
23789 * sysdeps/unix/sysv/linux/Makefile
23790 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23791 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23792 and #include <socket/sa_len.c>.
23793 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23794 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23795
e041fb8b
RM
23796 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23797 * bits/socket.h: ... here.
23798
8cc3269f
RM
23799 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23800 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23801 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23802
5d228a43
AS
238032013-08-27 Andreas Schwab <schwab@suse.de>
23804
45b8accc
AS
23805 [BZ #15736]
23806 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23807 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23808 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23809 * string/test-strcasecmp.c (test_main): Run tests in several
23810 locales.
23811 * string/test-strncasecmp.c (test_main): Likewise.
23812
5d228a43
AS
23813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23814 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23815 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23817 (__strncasecmp_ssse3) [PIC]: Likewise.
23818
59d112a4
RM
238192013-08-26 Roland McGrath <roland@hack.frob.com>
23820
53234cc3
RM
23821 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23822
59d112a4
RM
23823 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23824 instead of explicitly declaring xdecrypt.
23825 * nis/nss_nis/nis-publickey.c: Likewise.
23826
595aba70
SP
238272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23828
23829 [BZ #15890]
23830 * nscd/aicache.c: Include res_hconf.h.
23831 (addhstaiX): Initialize res_hconf.
23832
ffabd393
AS
238332013-08-26 Andreas Schwab <schwab@suse.de>
23834
23835 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23836 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23837
e0a69f5c
SP
238382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23839
23840 * nscd/aicache.c (addhstaiX): Fix indentation.
23841
8c12f01d
MF
238422013-08-25 Mike Frysinger <vapier@gentoo.org>
23843
23844 * configure.ac: Quote $build_pt_chown test.
23845 * configure: Regenerated.
23846
8fe89494
JM
238472013-08-23 Joseph Myers <joseph@codesourcery.com>
23848
23849 [BZ #15532]
23850 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23851 * math/s_cexpf.c (__cexpf): Likewise.
23852 * math/s_cexpl.c (__cexpl): Likewise.
23853 * math/libm-test.inc (cexp_test_data): Correct expected return
23854 value for NaN + i0. Add another test.
23855
75b181d6
DM
238562013-08-22 David S. Miller <davem@davemloft.net>
23857
23858 * po/ca.po: Update Catalan translation from translation project.
936241e4 23859 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23860
acd06bb1
JM
238612013-08-21 Joseph Myers <joseph@codesourcery.com>
23862
23863 [BZ #15797]
23864 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23865 is infinite, not alongside NaN test.
23866 * math/s_fdimf.c (__fdimf): Likewise.
23867 * math/s_fdiml.c (__fdiml): Likewise.
23868 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23869 errno is unchanged.
23870
c0c3f78a
OB
238712013-08-21 Ondřej Bílka <neleai@seznam.cz>
23872
23873 * argp/argp-help.c: Fix typos.
23874 * crypt/speeds.c: Likewise.
23875 * csu/check_fds.c: Likewise.
23876 * elf/dl-load.c: Likewise.
23877 * elf/dl-open.c: Likewise.
23878 * elf/reldep3.c: Likewise.
23879 * elf/reldep.c: Likewise.
23880 * elf/sprof.c: Likewise.
23881 * iconv/iconv_charmap.c: Likewise.
23882 * iconv/skeleton.c: Likewise.
23883 * iconv/strtab.c: Likewise.
23884 * io/lockf64.c: Likewise.
23885 * libio/libioP.h: Likewise.
23886 * resolv/gai_notify.c: Likewise.
23887 * resolv/ns_name.c: Likewise.
23888 * resolv/ns_samedomain.c: Likewise.
23889 * resolv/res_send.c: Likewise.
23890 * stdlib/random.c: Likewise.
23891 * sunrpc/rpc/xdr.h: Likewise.
23892 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23893 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23894 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23895 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23899 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23900 * sysdeps/mach/hurd/check_fds.c: Likewise.
23901 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23902 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23905 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23906 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23907 * sysdeps/pthread/aio_notify.c: Likewise.
23908 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23909 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23910 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23911 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23912 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23913
46ed1038
LD
239142013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23915
23916 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23917 version if bit_Slow_SSE4_2 is set.
23918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23920
d400dcac
AZ
239212013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23922
23923 [BZ #15867]
23924 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23925 trampoline stack frame information.
23926 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23927 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23928 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23929 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23930 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23931 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23932 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23933 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23934 sa_flags value.
23935 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23936 interrupting a syscall and set with option SA_SIGINFO.
23937
42c8fdd8
JM
239382013-08-20 Joseph Myers <joseph@codesourcery.com>
23939
c980f2f4
JM
23940 [BZ #15531]
23941 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23942 argument is infinite.
23943 * math/s_cprojf.c (__cprojf): Likewise.
23944 * math/s_cprojl.c (__cprojl): Likewise.
23945 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23946 * math/libm-test.inc (cproj_test_data): Add more tests.
23947
0716c4fc
JM
23948 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23949
42c8fdd8
JM
23950 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23951 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23952 size. Use __ffs to determine corresponding shift.
23953
b31469d0
JM
239542013-08-20 Joseph Myers <joseph@codesourcery.com>
23955 Roland McGrath <roland@hack.frob.com>
23956
23957 * Makefile (INSTALL): Remove trailing blank lines from output of
23958 makeinfo.
23959
4e39af6e
AK
239602013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23961
23962 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23963 Align 32 bit compat elf_greg to 8 bytes.
23964
f315524e
AA
239652013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23966
23967 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23968
1326ba1a
SP
239692013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23970
23971 * string/strcoll_l.c (coll_seq): New structure.
23972 (get_next_seq_cached): New function.
23973 (get_next_seq): New function.
23974 (do_compare): New function.
23975 (STRCOLL): Use GNU style definition. Simplify implementation
23976 by using get_next_seq, get_next_seq_cached and do_compare.
23977
91ce4085
FW
239782013-08-16 Florian Weimer <fweimer@redhat.com>
23979
23980 [BZ #14699]
23981 CVE-2013-4237
23982 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23983 member.
23984 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23985 member.
23986 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23987 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23988 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23989 conditional.
23990 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23991 GETDENTS_64BIT_ALIGNED.
23992 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23993 * manual/filesys.texi (Reading/Closing Directory): Document
23994 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23995 strongly.
23996 * manual/conf.texi (Limits for Files): Add portability note to
23997 NAME_MAX, PATH_MAX.
23998 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23999
ca0a6bc4
AS
240002013-08-13 Andreas Schwab <schwab@suse.de>
24001
24002 [BZ #15749]
24003 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24004 of fabs.
24005 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24006 LDBL_MAX_EXP >= 16384]: Add tests for it.
24007
6c1fd795
DM
240082013-08-12 David S. Miller <davem@davemloft.net>
24009
24010 * version.h (RELEASE): Set to "development".
24011 (VERSION): Set to "2.18.90".
24012 * NEWS: Add 2.19 section.
24013
31ad488d
DM
240142013-08-03 David S. Miller <davem@davemloft.net>
24015
24016 * po/ko.po: Update Korean translation from translation project.
24017
db24e684
DM
240182013-08-01 David S. Miller <davem@davemloft.net>
24019
24020 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24021 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24022 Bilka.
24023
f723285b
DM
240242013-07-30 David S. Miller <davem@davemloft.net>
24025
24026 * po/fr.po: Update French translation from translation project.
24027
3cbc52db
DM
240282013-07-28 David S. Miller <davem@davemloft.net>
24029
30bbc0cc
DM
24030 * po/cs.po: Update Czech translation from translation project.
24031
3cbc52db
DM
24032 * po/sv.po: Update Swedish translation from translation project.
24033
d492e6d0
DM
240342013-07-27 David S. Miller <davem@davemloft.net>
24035
f1a7f492
DM
24036 * po/eo.po: Update Esperanto translation from translation project.
24037
90e62a4a
DM
24038 * po/vi.po: Update Vietnamese translation from translation project.
24039
d492e6d0
DM
24040 * po/de.po: Update German translation from translation project.
24041
d4baa62d
DM
240422013-07-26 David S. Miller <davem@davemloft.net>
24043
641aa7b4
DM
24044 * po/bg.po: Update Bulgarian translation from translation project.
24045
d4baa62d
DM
24046 * po/nl.po: Update Dutch translation from translation project.
24047 * po/pl.po: Update Polish translation from translation project.
24048 * po/ru.po: Update Russian translation from translation project.
24049
61a9dcb9
DM
240502013-07-24 David S. Miller <davem@davemloft.net>
24051
24052 * po/libc.pot: Update.
24053
7b1f8b58
AZ
240542013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24055
24056 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24057 variable page size.
24058 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24059 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24060 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24061
a8fc7a03
AK
240622013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24063
24064 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24065
e4608715
CD
240662013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24067 Andreas Schwab <schwab@suse.de>
24068 Roland McGrath <roland@hack.frob.com>
24069 Joseph Myers <joseph@codesourcery.com>
24070 Carlos O'Donell <carlos@redhat.com>
24071
24072 [BZ #15755]
24073 * config.h.in: Define HAVE_PT_CHOWN.
24074 * config.make.in (build-pt-chown): New variable.
24075 * configure.in (--enable-pt_chown): New configure option.
24076 * configure: Regenerate.
24077 * login/Makefile: Include Makeconfig. Build pt_chown only if
24078 build-pt-chown is enabled.
24079 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24080 pt_chown to fix pty ownership.
24081 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24082 CLOSE_ALL_FDS.
24083 * manual/install.texi (Configuring and compiling): Mention
24084 --enable-pt_chown. Add @findex for grantpt.
24085 * INSTALL: Regenerate.
24086
da2d62df
DM
240872013-07-20 David S. Miller <davem@davemloft.net>
24088
24089 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24090 difference between 32-bit and 64-bit.
24091
d7e06450
CD
240922013-07-15 Carlos O'Donell <carlos@redhat.com>
24093
24094 [BZ #15711]
24095 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24096 Avoid system header dependency with -ffreestanding.
24097 ($(objpfx)bits/syscall%d): Likewise.
24098
f959cfd7
DM
240992013-07-13 David S. Miller <davem@davemloft.net>
24100
24101 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24102 underflows from atanl/atan2l due to bug 15319.
24103 (casinh_test_data): Likewise.
24104
c61f8513
DM
241052013-07-07 David S. Miller <davem@davemloft.net>
24106
24107 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24108
72c90ed0
JA
241092013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24110
24111 * sysdeps/i386/fpu/libm-test-ulps: Update.
24112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24113
52dfbe13
SP
241142013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24115
24116 * configure.in (--enable-lock-elision): Fix message text.
24117 * INSTALL: Regenerate.
24118 * configure: Regenerate.
24119
3f169543
AZ
241202013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24121
24122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24123
521c6785
AJ
241242013-07-03 Andreas Jaeger <aj@suse.de>
24125
24126 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24127 define.
24128 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24129 (ptrace_peeksiginfo_args): Add.
24130 (__ptrace_peeksiginfo_flags): Add.
24131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24132 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24133 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24134
d2cc15cb
AM
241352013-07-03 Allan McRae <allan@archlinux.org>
24136
24137 * sysdeps/i386/fpu/libm-test-ulps: Update.
24138
3aaeeca7
DM
241392013-07-02 David S. Miller <davem@davemloft.net>
24140
24141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24142
5314ed1a
MT
241432013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24144
24145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24146
67338156
JM
241472013-07-02 Joseph Myers <joseph@codesourcery.com>
24148
24149 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24151
1717da59
AK
241522013-07-02 Andi Kleen <ak@linux.intel.com>
24153
24154 * config.h.in (ENABLE_LOCK_ELISION): Add.
24155 * configure.in (--enable-lock-elision): Add option.
24156 * manual/install.texi: Document --enable lock elision.
24157 * configure: Regenerate
24158 * INSTALL: Regenerate.
24159
1c81621c
L
241602013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24161
24162 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24163 SSE4.2 strcasecmp for libc.a.
24164 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24165
77f01ab5
JM
241662013-07-02 Joseph Myers <joseph@codesourcery.com>
24167
24168 [BZ #13304]
24169 * soft-fp/op-common.h (_FP_FMA): New macro.
24170 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24171 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24172 (_FP_MUL_MEAT_1_imm): ... here.
24173 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24174 (_FP_MUL_MEAT_1_wide): ... here.
24175 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24176 (_FP_MUL_MEAT_1_hard): ... here.
24177 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24178 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24179 (_FP_MUL_MEAT_2_wide): ... here.
24180 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24181 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24182 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24183 (_FP_MUL_MEAT_2_gmp): ... here.
24184 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24185 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24186 (_FP_MUL_MEAT_4_wide): ... here.
24187 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24188 (_FP_MUL_MEAT_4_gmp): ... here.
24189 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24190 (_FP_WFRACBITS_DW_S): Likewise.
24191 (_FP_WFRACXBITS_DW_S): Likewise.
24192 (_FP_HIGHBIT_DW_S): Likewise.
24193 (FP_FMA_S): Likewise.
24194 (_FP_FRAC_HIGH_DW_S): Likewise.
24195 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24196 (_FP_WFRACBITS_DW_D): Likewise.
24197 (_FP_WFRACXBITS_DW_D): Likewise.
24198 (_FP_HIGHBIT_DW_D): Likewise.
24199 (FP_FMA_D): Likewise.
24200 (_FP_FRAC_HIGH_DW_D): Likewise.
24201 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24202 (_FP_WFRACBITS_DW_E): Likewise.
24203 (_FP_WFRACXBITS_DW_E): Likewise.
24204 (_FP_HIGHBIT_DW_E): Likewise.
24205 (FP_FMA_E): Likewise.
24206 (_FP_FRAC_HIGH_DW_E): Likewise.
24207 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24208 (_FP_WFRACBITS_DW_Q): Likewise.
24209 (_FP_WFRACXBITS_DW_Q): Likewise.
24210 (_FP_HIGHBIT_DW_Q): Likewise.
24211 (FP_FMA_Q): Likewise.
24212 (_FP_FRAC_HIGH_DW_Q): Likewise.
24213 * soft-fp/fmasf4.c: New file.
24214 * soft-fp/fmadf4.c: Likewise.
24215 * soft-fp/fmatf4.c: Likewise.
24216
6308fd9a
LD
242172013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24218
24219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24220 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24221 Silvermont.
24222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24223 macro.
24224 (index_Slow_SSE4_2): Likewise.
24225 (index_Prefer_PMINUB_for_stringop): Likewise.
24226 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24227 bit_Slow_SSE4_2 is set.
24228 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24229 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24230
89cd9569
RA
242312013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24232
24233 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24234 rtld_global._dl_hwcap2.
24235 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24236 POWER8.
24237 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24238 POWER8 feature descriptions defined in _dl_hwcap2.
24239 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24240 string handling for POWER8 feature bits.
24241 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24242 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24243 _dl_powerpc_cap_flags.
24244 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24245 * sysdeps/powerpc/rtld-global-offsets.sym
24246 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24247 _dl_hwcap2 in the rtld_global_ro structure.
24248
1ae8bfe0
RA
242492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24250
24251 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24252 hardware capabilities in support of AT_HWCAP2.
24253 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24254 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24255 GLRO(dl_hwcap2).
24256 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24257 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24258 explicitly the unknown a_type display mechanism is used.
24259 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24260 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24261 struct member.
24262 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24263 to macro prototype for AT_HWCAP2 support.
24264 * sysdeps/i386/dl-procinfo.h: Likewise.
24265 * sysdeps/s390/dl-procinfo.h: Likewise.
24266 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24267 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24268 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24269 return -1 for unknown a_type display fallback.
24270 * sysdeps/sparc/dl-procinfo.h: Likewise.
24271 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24272 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24273
8fbec010
JM
242742013-06-28 Joseph Myers <joseph@codesourcery.com>
24275
24276 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24277 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24278
0432680e
PY
242792013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24280
24281 [BZ #12492]
24282 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24283 mprotect making __stack_prot writable.
24284
ce61a2ad
NF
242852013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24286 Joseph Myers <joseph@codesourcery.com>
24287
24288 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24289 as being properly aligned.
24290
f91f1c0f
MR
242912013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24292
3d0f5d0c
MR
24293 * dlfcn/modstatic5.c: New file.
24294 * dlfcn/tststatic5.c: New file.
24295 * dlfcn/Makefile (tests): Add tststatic5.
24296 (tests-static): Likewise.
24297 (modules-names): Add modstatic5.
24298 (tststatic5-ENV): New variable.
24299 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24300
f91f1c0f
MR
24301 [BZ #15022]
24302 * elf/dl-support.c (_dl_main_map): New variable.
24303 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24304 (_dl_nns, _dl_load_adds): Set to 1.
24305 (_dl_initial_searchlist): Refer to _dl_main_map.
24306 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24307 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24308 call to _dl_get_origin.
24309 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24310 around call_map.
24311 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24312 * dlfcn/modstatic3.c: New file.
24313 * dlfcn/tststatic3.c: New file.
24314 * dlfcn/tststatic4.c: New file.
24315 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24316 (tests-static): Likewise.
24317 (modules-names): Add modstatic3.
24318 (tststatic3-ENV, tststatic4-ENV): New variables.
24319 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24320 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24321
cbe7d24b
JM
243222013-06-26 Joseph Myers <joseph@codesourcery.com>
24323
24324 * configure.in (CC): Require GCC version 4.4 or later.
24325 * configure: Regenerated.
24326 * manual/install.texi (Tools for Compilation): Update GCC version
24327 requirement.
24328 * INSTALL: Regenerated.
24329
11b8a0e1
LD
243302013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24331
24332 [BZ #15674]
bb5bb87c
L
24333 * string/test-memcmp.c (check2): New.
24334 (main): Call check2.
24335
11b8a0e1
LD
24336 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24337
b0037103
MR
243382013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24339
24340 [BZ #15022]
24341 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24342 over to...
24343 (dl_open_worker) [!SHARED]: ... here.
24344
c18c701d
RA
243452013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24346
24347 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24348
1d17fa5f
RH
243492013-06-25 Richard Henderson <rth@redhat.com>
24350
24351 * locale/programs/locarchive.c: Include <libc-internal.h>
24352
8fcb833a
JM
243532013-06-25 Joseph Myers <joseph@codesourcery.com>
24354
24355 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24356 trailing whitespace removed.
24357
17db6e8d
MF
243582013-06-24 Mike Frysinger <vapier@gentoo.org>
24359
24360 [BZ #10283]
17db6e8d
MF
24361 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24362 * locale/programs/locarchive.c: Include libc-mmap.h.
24363 (prepare_address_space): Take two new outputs (the mmap base and len).
24364 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24365 values.
24366 (create_archive): Declare new mmap base and len values for
24367 prepare_address_space, and store the result in ah.
24368 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24369 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24370 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24371 Declare new mmap base and len values for
24372 prepare_address_space, and store the result in new_ah.
24373 (open_archive): Declare new mmap base and len values for
24374 prepare_address_space, and store the result in ah.
24375 (close_archive): If ah->mmap_base is not NULL, use that and
24376 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24377 * sysdeps/generic/libc-mmap.h: New file.
24378
d605071e
MF
243792013-06-24 Mike Frysinger <vapier@gentoo.org>
24380
24381 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24382 (ALIGN_UP): Likewise.
24383 (PTR_ALIGN_DOWN): Likewise.
24384 (PTR_ALIGN_UP): Likewise.
24385
2f063a6e
RA
243862013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24387
24388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24389 entry mapped to PPC_PLATFORM_POWER8.
24390 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24391 POWER8.
24392 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24393 (_dl_string_platform): Add case for exporting platform position for
24394 POWER8.
24395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24396 search path to sysdeps/powerpc/powerpc32/power8 directory.
24397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24398 search path to sysdeps/powerpc/powerpc64/power8 directory.
24399 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24400 power7 directories.
24401 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24402 power7 directories.
24403
a31ee4b3
SP
244042013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24405
a74ca98f
SP
24406 * INSTALL: Regenerate.
24407
a31ee4b3
SP
24408 * nscd/connections.c (nscd_init): Fix comment.
24409
695c378f
JM
244102013-06-22 Joseph Myers <joseph@codesourcery.com>
24411
d8412221
JM
24412 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24413
695c378f
JM
24414 [BZ #15667]
24415 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24416 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24417
d1d54715
MR
244182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24419
24420 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24421 DL_DST_REQ_STATIC.
24422 (DL_DST_REQ_STATIC): Remove macro.
24423
8fdda7af
JM
244242013-06-21 Joseph Myers <joseph@codesourcery.com>
24425
24426 [BZ #7006]
24427 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24428 with a shift of 0 bits.
24429
f3bc5e5a
MR
244302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24431
24432 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24433 $(tststatic-ENV).
24434
be09e8c9
KK
244352013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24436
24437 [BZ #15655]
24438 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24439
85c2e611
AZ
244402013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24441
24442 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24443 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24444 accepts -fno-tree-loop-distribute-patterns.
24445 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24446 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24447 recursive call.
24448 * string/memset.c (memset): Likewise.
24449 * string/test-memmove.c (simple_memmove): Disable loop transformation
24450 to library calls.
24451 * string/test-memset.c (simple_memset): Likewise.
24452 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24453 * benchtests/bench-memset.c (simple_memset): Likewise.
24454 * configure: Regenerated.
24455
c91e0825
JM
244562013-06-20 Joseph Myers <joseph@codesourcery.com>
24457
b8c792af
JM
24458 * math/test-misc.c (main): Ignore fesetround failure when failures
24459 of subsequent rounding tests would be ignored.
24460
c91e0825
JM
24461 [BZ #15654]
24462 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24463 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24464 * math/fegetenv.c (__fegetenv): Return 0.
24465 * math/fegetexcept.c (fegetexcept): Return 0.
24466 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24467 FE_TONEAREST.
24468 * math/feholdexcpt.c (feholdexcept): Return 0.
24469 * math/fesetenv.c (__fesetenv): Return 0.
24470 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24471 argument FE_TONEAREST.
24472 * math/feupdateenv.c (__feupdateenv): Return 0.
24473 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24474
bfcacbde
RM
244752013-06-18 Roland McGrath <roland@hack.frob.com>
24476
24477 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24478 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24479 ($(objpfx)rtld-%.os rules): Use them.
24480
e55a9b25
AZ
244812013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24482
24483 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24484 fields.
24485
346d65b3
RM
244862013-06-17 Roland McGrath <roland@hack.frob.com>
24487
12086fb4
RM
24488 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24489 length of target pattern, then descending length of dependency pattern.
24490 * configure.in (AWK): Require gawk 3.1.2 or newer.
24491 * manual/install.texi (Tools for Compilation): Say that we do.
24492 * configure: Regenerated.
24493
346d65b3
RM
24494 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24495 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24496 * scripts/sysd-rules.awk: ... this new script.
24497 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24498 than a glob-style pattern.
24499
1a846317
JM
245002013-06-17 Joseph Myers <joseph@codesourcery.com>
24501
24502 * math/test-misc.c (main): Do not treat incorrectly rounded
24503 conversions as failure unless ROUNDING_TESTS passes.
24504
8fc75e6f
JM
245052013-06-15 Joseph Myers <joseph@codesourcery.com>
24506
3711a167
JM
24507 [BZ #15631]
24508 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24509 restore exception state around main square root computation, then
24510 check for inexactness explicitly.
24511
8fc75e6f
JM
24512 * math/libm-test.inc (fma_test_data): Add another test.
24513
61dd6208
SP
245142013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24515
adf23d2c
SP
24516 * manual/threads.texi (Non-POSIX Extensions): New document
24517 node. Document pthread_getattr_default_np and
24518 pthread_setattr_default_np.
24519
61dd6208
SP
24520 * Versions.def (libpthread): Add GLIBC_2.18.
24521 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24523 Likewise.
24524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24525 Likewise.
24526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24527 Likewise.
24528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24529 Likewise.
24530 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24531 Likewise.
24532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24533 Likewise.
24534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24535 Likewise.
24536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24537 Likewise.
24538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24539 Likewise.
24540
d086fc7b
LD
245412013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24542
24543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24544 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24545
747ef469
SP
245462013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24547 H.J. Lu <hjl.tools@gmail.com>
24548
24549 [BZ #15627]
24550 * sysdeps/x86_64/rtld-memset.c: Remove file.
24551 * sysdeps/x86_64/rtld-memset.S: New file.
24552
1b2feed2
JM
245532013-06-14 Joseph Myers <joseph@codesourcery.com>
24554
24555 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24556 (test_in_one_mode): Take arguments for whether the rounding mode
24557 is supported for each floating-point type.
24558 (do_test): Pass new arguments to test_in_one_mode using
24559 ROUNDING_TESTS.
24560
a58ad3f8
RM
245612013-06-13 Roland McGrath <roland@hack.frob.com>
24562
24563 * posix/tst-waitid.c (do_test): Distinguish different instances of
24564 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24565 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24566 before entering the kernel for waitpid.
24567
c204ab28
SP
245682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24569
24570 * NEWS: Fix note on clock function precision. Text by Roland
24571 McGrath.
24572
f4a29fba
RM
245732013-06-13 Roland McGrath <roland@hack.frob.com>
24574
24575 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24576 it into place only when and if the sanity check passes.
24577
1f24b9ad
JM
245782013-06-13 Joseph Myers <joseph@codesourcery.com>
24579
24580 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24581 output for whether conversion result is exact. Take argument
24582 indicating whether type is IBM long double.
24583 (round_for_all): Change need_exact field to ibm_ld.
24584 * stdlib/tst-strtod-round.c (struct exactness): New type.
24585 (struct test): Change bool ld_ok field to struct exactness exact.
24586 (TEST): Update all definitions for change to field.
24587 (tests): Regenerate array contents.
24588 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24589 field value. Check for IBM long double here.
24590 (do_test): Update calls to test_in_one_mode.
24591
58206c68
SP
245922013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24593
24594 [BZ #12515]
24595 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24596 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24597
2d6f4c5b 245982013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24599
24600 [BZ #15605]
24601 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24602 generated by the compiler on loop optimizations.
24603 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24604 general definitions.
24605
94f2c076
JM
246062013-06-12 Joseph Myers <joseph@codesourcery.com>
24607
24608 * math/bug-nextafter.c: Include <math-tests.h>.
24609 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24610 the relevant type.
24611 * math/bug-nexttoward.c: Include <math-tests.h>.
24612 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24613 the relevant type.
24614 * math/test-misc.c: Include <math-tests.h>.
24615 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24616 the relevant type.
24617
e0e50a0a
AJ
246182013-06-12 Andreas Jaeger <aj@suse.de>
24619
24620 * po/ia.po: Update Interlingua translation from translation
24621 project.
24622
25061094
SP
246232013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24624
24625 * include/fenv.h: Include stdbool.h.
24626 (struct rm_ctx): New structure.
24627 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24628 Define macro.
24629 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24630 (SET_RESTORE_ROUNDF): Likewise.
24631 (SET_RESTORE_ROUNDL): Likewise.
24632 (SET_RESTORE_ROUND_NOEX): Likewise.
24633 (SET_RESTORE_ROUND_NOEXF): Likewise.
24634 (SET_RESTORE_ROUND_NOEXL): Likewise.
24635 (SET_RESTORE_ROUND_53BIT): Likewise.
24636 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24637 (libc_feresetround_noexf_ctx): Likewise.
24638 (libc_feresetround_noexl_ctx): Likewise.
24639 (libc_feholdsetround_53bit_ctx): Likewise.
24640 (libc_feresetround_53bit_ctx): Likewise.
24641 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24642 (libc_feholdexcept_setround_sse_ctx): New function.
24643 (libc_fesetenv_sse_ctx): Likewise.
24644 (libc_feupdateenv_sse_ctx): Likewise.
24645 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24646 (libc_feholdexcept_setround_387_ctx): Likewise.
24647 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24648 (libc_feholdsetround_387_prec_ctx): Likewise.
24649 (libc_feholdsetround_387_ctx): Likewise.
24650 (libc_feholdsetround_387_53bit_ctx): Likewise.
24651 (libc_feholdsetround_sse_ctx): Likewise.
24652 (libc_feresetround_sse_ctx): Likewise.
24653 (libc_feresetround_387_ctx): Likewise.
24654 (libc_feupdateenv_387_ctx): Likewise.
24655 (libc_feholdexcept_setroundf_ctx): Define macro.
24656 (libc_fesetenvf_ctx): Likewise.
24657 (libc_feupdateenvf_ctx): Likewise.
24658 (libc_feholdsetroundf_ctx): Likewise.
24659 (libc_feresetroundf_ctx): Likewise.
24660 (libc_feholdexcept_setround_ctx): Likewise.
24661 (libc_fesetenv_ctx): Likewise.
24662 (libc_feupdateenv_ctx): Likewise.
24663 (libc_feholdsetround_ctx): Likewise.
24664 (libc_feresetround_ctx): Likewise.
24665 (libc_feholdexcept_setroundl_ctx): Likewise.
24666 (libc_feupdateenvl_ctx): Likewise.
24667 (libc_feholdsetroundl_ctx): Likewise.
24668 (libc_feresetroundl_ctx): Likewise.
24669 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24670 (libc_feresetround_53bit_ctx): Likewise.
24671
59b30555
SP
246722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24673
24674 * locale/iso-639.def: Convert to UTF-8.
24675
f1d73d30
JM
246762013-06-11 Joseph Myers <joseph@codesourcery.com>
24677
24678 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24679 (EXCEPTION_TESTS_double): Likewise.
24680 (EXCEPTION_TESTS_long_double): Likewise.
24681 (EXCEPTION_TESTS): Likewise.
24682 * math/libm-test.inc (test_exceptions): Only test exceptions if
24683 EXCEPTION_TESTS (FLOAT).
24684
94aca5e7
SP
246852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24686
24687 * benchtests/Makefile (string-bench): Add strcpy_chk and
24688 stpcpy_chk.
24689 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24690 * benchtests/bench-stpcpy_chk.c: New file.
24691 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24692 * benchtests/bench-strcpy_chk.c: New file.
24693 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24694 code.
24695 (do_test): Likewise.
24696
fac0c5f2
RA
246972013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24698
24699 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24700 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24701 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24702 with tabs where appropriate.
24703 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24704 dl-procinfo.h.
24705 [PPC_PLATFORM_PPC440]: Likewise.
24706 [PPC_PLATFORM_PPC464]: Likewise.
24707 [PPC_PLATFORM_PPC476]: Likewise.
24708 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24709 ppc464, and ppc476 platform strings merging from ports/
24710 dl-procinfo.h.
24711
f22bc486
AS
247122013-06-11 Andreas Schwab <schwab@suse.de>
24713
24714 [BZ #14991]
24715 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24716 (from_ucs4_idx): Regenerate.
24717 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24718 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24719 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24720 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24721 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24722 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24723 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24724 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24725 from FROM_LOOP and TO_LOOP specific macros.
24726 (BODY): Handle combining characters.
24727 * iconvdata/BIG5HKSCS.irreversible: Update.
24728 * iconvdata/BIG5HKSCS.precomposed: New file.
24729 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24730 characters.
24731 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24732
c1f75dc3
SP
247332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24734
4eacded2
SP
24735 * include/sys/time.h: Fix indentation and add copyright header.
24736
fec799f8
SP
24737 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24738 (do_test): Likewise.
24739 * string/test-memchr.c (do_one_test): Likewise.
24740 (do_test): Likewise.
24741 * string/test-memcmp.c (do_one_test): Likewise.
24742 (do_test): Likewise.
24743 * string/test-memcpy.c (do_one_test): Likewise.
24744 (do_test): Likewise.
24745 * string/test-memmem.c (do_one_test): Likewise.
24746 (do_test): Likewise.
24747 (do_random_tests): Likewise.
24748 * string/test-memmove.c (do_one_test): Likewise.
24749 (do_test): Likewise.
24750 * string/test-memset.c (do_one_test): Likewise.
24751 (do_test): Likewise.
24752 * string/test-rawmemchr.c (do_one_test): Likewise.
24753 (do_test): Likewise.
24754 * string/test-strcasecmp.c (do_one_test): Likewise.
24755 (do_test): Likewise.
24756 * string/test-strcasestr.c (do_one_test): Likewise.
24757 (do_test): Likewise.
24758 * string/test-strcat.c (do_one_test): Likewise.
24759 (do_test): Likewise.
24760 * string/test-strchr.c (do_one_test): Likewise.
24761 (do_test): Likewise.
24762 * string/test-strcmp.c (do_one_test): Likewise.
24763 (do_test): Likewise.
24764 * string/test-strcpy.c (do_one_test): Likewise.
24765 (do_test): Likewise.
24766 * string/test-string.h: Likewise.
24767 (test_init): Likewise.
24768 * string/test-strlen.c (do_one_test): Likewise.
24769 (do_test): Likewise.
24770 * string/test-strncasecmp.c (do_one_test): Likewise.
24771 (do_test): Likewise.
24772 * string/test-strncat.c (do_one_test): Likewise.
24773 (do_test): Likewise.
24774 * string/test-strncmp.c (do_one_test): Likewise.
24775 (do_test_limit): Likewise.
24776 (do_test): Likewise.
24777 * string/test-strncpy.c (do_one_test): Likewise.
24778 (do_test): Likewise.
24779 * string/test-strnlen.c (do_one_test): Likewise.
24780 (do_test): Likewise.
24781 * string/test-strpbrk.c (do_one_test): Likewise.
24782 (do_test): Likewise.
24783 * string/test-strrchr.c (do_one_test): Likewise.
24784 (do_test): Likewise.
24785 * string/test-strspn.c (do_one_test): Likewise.
24786 (do_test): Likewise.
24787 * string/test-strstr.c (do_one_test): Likewise.
24788 (do_test): Likewise.
24789
97020474
SP
24790 * benchtests/Makefile (string-bench): Add string benchmarks.
24791 * benchtests/bench-bcopy-ifunc.c: New file.
24792 * benchtests/bench-bcopy.c: New file.
24793 * benchtests/bench-bzero-ifunc.c: New file.
24794 * benchtests/bench-bzero.c: New file.
24795 * benchtests/bench-memccpy-ifunc.c: New file.
24796 * benchtests/bench-memccpy.c: New file.
24797 * benchtests/bench-memchr-ifunc.c: New file.
24798 * benchtests/bench-memchr.c: New file.
24799 * benchtests/bench-memcmp-ifunc.c: New file.
24800 * benchtests/bench-memcmp.c: New file.
24801 * benchtests/bench-memmem-ifunc.c: New file.
24802 * benchtests/bench-memmem.c: New file.
24803 * benchtests/bench-memmove-ifunc.c: New file.
24804 * benchtests/bench-memmove.c: New file.
24805 * benchtests/bench-mempcpy-ifunc.c: New file.
24806 * benchtests/bench-mempcpy.c: New file.
24807 * benchtests/bench-memset-ifunc.c: New file.
24808 * benchtests/bench-memset.c: New file.
24809 * benchtests/bench-rawmemchr-ifunc.c: New file.
24810 * benchtests/bench-rawmemchr.c: New file.
24811 * benchtests/bench-stpcpy-ifunc.c: New file.
24812 * benchtests/bench-stpcpy.c: New file.
24813 * benchtests/bench-stpncpy-ifunc.c: New file.
24814 * benchtests/bench-stpncpy.c: New file.
24815 * benchtests/bench-strcasecmp-ifunc.c: New file.
24816 * benchtests/bench-strcasecmp.c: New file.
24817 * benchtests/bench-strcasestr-ifunc.c: New file.
24818 * benchtests/bench-strcasestr.c: New file.
24819 * benchtests/bench-strcat-ifunc.c: New file.
24820 * benchtests/bench-strcat.c: New file.
24821 * benchtests/bench-strchr-ifunc.c: New file.
24822 * benchtests/bench-strchr.c: New file.
24823 * benchtests/bench-strchrnul-ifunc.c: New file.
24824 * benchtests/bench-strchrnul.c: New file.
24825 * benchtests/bench-strcmp-ifunc.c: New file.
24826 * benchtests/bench-strcmp.c: New file.
24827 * benchtests/bench-strcpy-ifunc.c: New file.
24828 * benchtests/bench-strcpy.c: New file.
24829 * benchtests/bench-strcspn-ifunc.c: New file.
24830 * benchtests/bench-strcspn.c: New file.
24831 * benchtests/bench-strlen-ifunc.c: New file.
24832 * benchtests/bench-strlen.c: New file.
24833 * benchtests/bench-strncasecmp-ifunc.c: New file.
24834 * benchtests/bench-strncasecmp.c: New file.
24835 * benchtests/bench-strncat-ifunc.c: New file.
24836 * benchtests/bench-strncat.c: New file.
24837 * benchtests/bench-strncmp-ifunc.c: New file.
24838 * benchtests/bench-strncmp.c: New file.
24839 * benchtests/bench-strncpy-ifunc.c: New file.
24840 * benchtests/bench-strncpy.c: New file.
24841 * benchtests/bench-strnlen-ifunc.c: New file.
24842 * benchtests/bench-strnlen.c: New file.
24843 * benchtests/bench-strpbrk-ifunc.c: New file.
24844 * benchtests/bench-strpbrk.c: New file.
24845 * benchtests/bench-strrchr-ifunc.c: New file.
24846 * benchtests/bench-strrchr.c: New file.
24847 * benchtests/bench-strspn-ifunc.c: New file.
24848 * benchtests/bench-strspn.c: New file.
24849 * benchtests/bench-strstr-ifunc.c: New file.
24850 * benchtests/bench-strstr.c: New file.
24851
c1f75dc3
SP
24852 * benchtests/Makefile: Disable parallel execution of targets.
24853 (string-bench): Add memcpy.
24854 (benchset): New variable to store a list of benchmark sets.
24855 (bench-func): Renamed from bench.
24856 (bench-set): New target.
24857 (bench): Depend on bench-func and bench-set.
24858 * benchtests/README: Add section on benchmark sets.
24859 * benchtests/bench-memcpy-ifunc.c: New file.
24860 * benchtests/bench-memcpy.c: New file.
24861 * benchtests/bench-string.h: New file.
24862
50fd745b
AS
248632013-06-11 Andreas Schwab <schwab@suse.de>
24864
24865 [BZ #15577]
24866 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24867 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24868 values in the triple.
24869 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24870 terminator in the group key.
24871
3ee7e9fe
AJ
248722013-06-11 Andreas Jaeger <aj@suse.de>
24873
24874 * po/zh_TW.po: Update Chinese (traditional) translation from
24875 translation project.
24876
89fb6835
SP
248772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24878
24879 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24880 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24881 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24883 (clock_getcpuclockid): Likewise.
24884 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24885 Add weak_alias and libc_hidden_def.
24886 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24887 * rt/clock_gettime.c (clock_gettime): Rename to
24888 __clock_gettime. Add weak_alias and libc_hidden_def.
24889 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24890 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24891 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24892 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24893 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24894 Likewise.
24895 * rt/clock_settime.c (clock_settime): Rename to
24896 __clock_settime. Add weak_alias and libc_hidden_def.
24897 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24898
0efa6f8b
JM
248992013-06-10 Joseph Myers <joseph@codesourcery.com>
24900
b8c61b4b
JM
24901 * mach/err_boot.sub: Remove trailing whitespace.
24902 * mach/err_ipc.sub: Likewise.
24903 * mach/err_mach.sub: Likewise.
24904
0efa6f8b
JM
24905 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24906 (ROUNDING_TESTS_double): Likewise.
24907 (ROUNDING_TESTS_long_double): Likewise.
24908 (ROUNDING_TESTS): Likewise.
24909 * math/libm-test.inc: Include <math-tests.h>.
24910 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24911 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24912 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24913 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24914
50b818bf
SP
249152013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24916
24917 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24918 of assigning.
24919
60d2f8f3
JM
249202013-06-08 Joseph Myers <joseph@codesourcery.com>
24921
4902d2c3
JM
24922 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24923 otherwise empty TRANS lines.
24924 * sysdeps/gnu/errlist.c: Regenerated.
24925
60d2f8f3
JM
24926 * catgets/gencat.c (error_print): Use (void) in function
24927 definition.
24928 * crypt/crypt_util.c (__init_des): Likewise.
24929 * crypt/speeds.c (Stop): Likewise.
24930 (main): Likewise.
24931 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24932 * inet/ruserpass.c (token): Likewise.
24933 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24934 * intl/localealias.c (extend_alias_table): Likewise.
24935 * intl/plural-exp.c (init_germanic_plural): Likewise.
24936 * libio/fcloseall.c (__fcloseall): Likewise.
24937 * libio/genops.c (_IO_flush_all): Likewise.
24938 (_IO_flush_all_linebuffered): Likewise.
24939 (_IO_cleanup): Likewise.
24940 (_IO_iter_begin): Likewise.
24941 (_IO_iter_end): Likewise.
24942 (_IO_list_lock): Likewise.
24943 (_IO_list_unlock): Likewise.
24944 (_IO_list_resetlock): Likewise.
24945 * libio/getchar.c (getchar): Likewise.
24946 * libio/getchar_u.c (getchar_unlocked): Likewise.
24947 * libio/getwchar.c (getwchar): Likewise.
24948 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24949 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24950 * login/getpt.c (__getpt): Likewise.
24951 * login/tst-utmp.c (main): Likewise.
24952 * malloc/hooks.c (__malloc_check_init): Likewise.
24953 * malloc/malloc.c (__malloc_stats): Likewise.
24954 * malloc/mtrace.c (tr_break): Likewise.
24955 (mtrace): Likewise.
24956 (muntrace): Likewise.
24957 * misc/fstab.c (endfsent): Likewise.
24958 * misc/getclktck.c (__getclktck): Likewise.
24959 * misc/getdtsz.c (__getdtablesize): Likewise.
24960 * misc/gethostid.c (gethostid): Likewise.
24961 * misc/getpagesize.c (__getpagesize): Likewise.
24962 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24963 (__get_nprocs): Likewise.
24964 (__get_phys_pages): Likewise.
24965 (__get_avphys_pages): Likewise.
24966 * misc/getttyent.c (getttyent): Likewise.
24967 (setttyent): Likewise.
24968 (endttyent): Likewise.
24969 * misc/getusershell.c (getusershell): Likewise.
24970 (endusershell): Likewise.
24971 (setusershell): Likewise.
24972 (initshells): Likewise.
24973 * misc/hsearch.c (__hdestroy): Likewise.
24974 * misc/sync.c (sync): Likewise.
24975 * misc/syslog.c (closelog_internal): Likewise.
24976 (closelog): Likewise.
24977 * misc/ttyslot.c (ttyslot): Likewise.
24978 * misc/vhangup.c (vhangup): Likewise.
24979 * posix/fork.c (__fork): Likewise.
24980 * posix/getegid.c (__getegid): Likewise.
24981 * posix/geteuid.c (__geteuid): Likewise.
24982 * posix/getgid.c (__getgid): Likewise.
24983 * posix/getpid.c (__getpid): Likewise.
24984 * posix/getppid.c (__getppid): Likewise.
24985 * posix/getuid.c (__getuid): Likewise.
24986 * posix/pause.c (pause): Likewise.
24987 * posix/setpgrp.c (setpgrp): Likewise.
24988 * posix/setsid.c (__setsid): Likewise.
24989 * posix/test-vfork.c (noop): Likewise.
24990 * resolv/gethnamaddr.c (_endhtent): Likewise.
24991 (_gethtent): Likewise.
24992 (ht_endhostent): Likewise.
24993 (gethostent): Likewise.
24994 (dns_service): Likewise.
24995 * stdlib/drand48.c (drand48): Likewise.
24996 * stdlib/lrand48.c (lrand48): Likewise.
24997 * stdlib/mrand48.c (mrand48): Likewise.
24998 * stdlib/rand.c (rand): Likewise.
24999 * stdlib/random.c (__random): Likewise.
25000 * stdlib/setenv.c (clearenv): Likewise.
25001 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25002 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25003 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25004 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25005 (__get_nprocs): Likewise.
25006 (__get_phys_pages): Likewise.
25007 (__get_avphys_pages): Likewise.
25008 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25009 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25010 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25011 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25012 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25013 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25014 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25015 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25016 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25017 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25018 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25019 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25020 * sysdeps/posix/clock.c (clock): Likewise.
25021 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25022 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25023 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25024 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25025 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25027 (__get_nprocs_conf): Likewise.
25028 (__get_phys_pages): Likewise.
25029 (__get_avphys_pages): Likewise.
25030 * time/clock.c (clock): Likewise.
25031 * time/tzset.c (__tzname_max): Likewise.
25032
2e09a79a
JM
250332013-06-07 Joseph Myers <joseph@codesourcery.com>
25034
25035 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25036 (__bswap_32): Do not use "register".
25037 * crypt/crypt.c (_ufc_doit_r): Likewise.
25038 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25039 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25040 * gmon/gmon.c (__monstartup): Likewise.
25041 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25042 * hurd/hurdmalloc.c (more_memory): Likewise.
25043 (malloc): Likewise.
25044 (free): Likewise.
25045 (realloc): Likewise.
25046 (malloc_fork_prepare): Likewise.
25047 (malloc_fork_parent): Likewise.
25048 (malloc_fork_child): Likewise.
25049 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25050 (_svcauth_des): Likewise.
25051 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25052 * inet/inet_net.c (inet_network): Likewise.
25053 * inet/inet_netof.c (inet_netof): Likewise.
25054 * inet/rcmd.c (__validuser2_sa): Likewise.
25055 * io/fts.c (fts_open): Likewise.
25056 (fts_load): Likewise.
25057 (fts_close): Likewise.
25058 (fts_read): Likewise.
25059 (fts_children): Likewise.
25060 (fts_build): Likewise.
25061 (fts_stat): Likewise.
25062 (fts_sort): Likewise.
25063 (fts_alloc): Likewise.
25064 (fts_lfree): Likewise.
25065 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25066 (_IO_file_xsgetn): Likewise.
25067 (_IO_file_xsgetn_mmap): Likewise.
25068 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25069 (_IO_cookie_write): Likewise.
25070 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25071 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25072 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25073 * malloc/obstack.c (_obstack_begin): Likewise.
25074 (_obstack_begin_1): Likewise.
25075 (_obstack_newchunk): Likewise.
25076 (_obstack_allocated_p): Likewise.
25077 (obstack_free): Likewise.
25078 (_obstack_memory_used): Likewise.
25079 * misc/getttyent.c (getttynam): Likewise.
25080 (getttyent): Likewise.
25081 (skip): Likewise.
25082 (value): Likewise.
25083 * misc/getusershell.c (initshells): Likewise.
25084 * misc/syslog.c (__vsyslog_chk): Likewise.
25085 * misc/ttyslot.c (ttyslot): Likewise.
25086 * nis/nis_hash.c (__nis_hash): Likewise.
25087 * posix/fnmatch_loop.c (FCT): Likewise.
25088 * posix/getconf.c (print_all): Likewise.
25089 (main): Likewise.
25090 * posix/getopt.c (exchange): Likewise.
25091 * posix/glob.c (globfree): Likewise.
25092 (prefix_array): Likewise.
25093 (__glob_pattern_type): Likewise.
25094 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25095 (NS_GET32): Likewise.
25096 (NS_PUT16): Likewise.
25097 (NS_PUT32): Likewise.
25098 * resolv/gethnamaddr.c (getanswer): Likewise.
25099 (gethostbyname2): Likewise.
25100 (gethostbyaddr): Likewise.
25101 (_gethtent): Likewise.
25102 (_gethtbyname2): Likewise.
25103 (_gethtbyaddr): Likewise.
25104 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25105 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25106 * resolv/res_init.c (__res_vinit): Likewise.
25107 (net_mask): Likewise.
25108 * resolv/res_mkquery.c (outchar): Likewise.
25109 (PRINT): Likewise.
25110 * stdio-common/printf_fp.c (outchar): Likewise.
25111 (PRINT): Likewise.
25112 * stdio-common/printf_fphex.c (outchar): Likewise.
25113 (PRINT): Likewise.
25114 * stdio-common/printf_size.c (outchar): Likewise.
25115 (PRINT): Likewise.
25116 * stdio-common/test_rdwr.c (main): Likewise.
25117 * stdio-common/tfformat.c (matches): Likewise.
25118 * stdio-common/vfprintf.c (outchar): Likewise.
25119 (printf_unknown): Likewise.
25120 (buffered_vfprintf): Likewise.
25121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25122 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25123 (ReadFile): Likewise.
25124 * stdlib/qsort.c (SWAP): Likewise.
25125 (_quicksort): Likewise.
25126 * stdlib/setenv.c (__add_to_environ): Likewise.
25127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25128 * stdlib/strtol_l.c (__strtol_l): Likewise.
25129 * stdlib/tst-strtod.c (main): Likewise.
25130 * stdlib/tst-strtol.c (main): Likewise.
25131 * stdlib/tst-strtoll.c (main): Likewise.
25132 * string/bits/string2.h (__strcmp_cc): Likewise.
25133 (__strcmp_cg): Likewise.
25134 (__strcspn_c1): Likewise.
25135 (__strcspn_c2): Likewise.
25136 (__strcspn_c3): Likewise.
25137 (__strspn_c1): Likewise.
25138 (__strspn_c2): Likewise.
25139 (__strspn_c3): Likewise.
25140 (__strsep_1c): Likewise.
25141 (__strsep_2c): Likewise.
25142 (__strsep_3c): Likewise.
25143 * string/memccpy.c (__memccpy): Likewise.
25144 * string/stpcpy.c (__stpcpy): Likewise.
25145 * string/strcmp.c (strcmp): Likewise.
25146 * string/strrchr.c (strrchr): Likewise.
25147 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25148 Likewise.
25149 * sysdeps/mach/hurd/getcwd.c
25150 (_hurd_canonicalize_directory_name_internal): Likewise.
25151 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25152 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25153 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25154 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25155 Likewise, in both definitions.
25156 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25157 definitions.
25158 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25159 64] (__bswap_64): Likewise.
25160 * time/test_time.c (main): Likewise.
25161 * time/tzfile.c (__tzfile_read): Likewise.
25162 (__tzfile_compute): Likewise.
25163 * time/tzset.c (__tzset_parse_tz): Likewise.
25164 (tzset_internal): Likewise.
25165 (compute_change): Likewise.
25166 * wcsmbs/wcscat.c (__wcscat): Likewise.
25167 * wcsmbs/wcschr.c (wcschr): Likewise.
25168 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25169 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25170 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25171 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25172 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25173 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25174 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25175 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25176 * wcsmbs/wmemset.c (wmemset): Likewise.
25177
9e54314b
JM
251782013-06-06 Joseph Myers <joseph@codesourcery.com>
25179
25180 * scripts/config.guess: Update to version 2013-05-16.
25181 * scripts/config.sub: Update to version 2013-04-24.
25182 * scripts/install-sh: Update to version 2011-11-20.07.
25183 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25184 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25185
350635a5
OB
251862013-06-06 Ondřej Bílka <neleai@seznam.cz>
25187
25188 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25189 * elf/sln.c: Likewise.
25190 * hurd/hurd/ioctl.h: Likewise.
25191 * hurd/hurdmalloc.c: Likewise.
25192 * hurd/xattr.c: Likewise.
25193 * include/shlib-compat.h: Likewise.
25194 * inet/ruserpass.c: Likewise.
25195 * libio/iofgets_u.c: Likewise.
25196 * libio/iofgetws_u.c: Likewise.
25197 * locale/programs/ld-identification.c: Likewise.
25198 * locale/programs/ld-time.c: Likewise.
25199 * mach/msg-destroy.c: Likewise.
25200 * nss/nss_files/files-netgrp.c: Likewise.
25201 * resolv/res_data.c: Likewise.
25202 * soft-fp/op-1.h: Likewise.
25203 * soft-fp/op-2.h: Likewise.
25204 * soft-fp/op-4.h: Likewise.
25205 * soft-fp/op-common.h: Likewise.
25206 * stdio-common/printf_fphex.c: Likewise.
25207 * stdlib/strtod_l.c: Likewise.
25208 * sunrpc/rpc/clnt.h: Likewise.
25209 * sysdeps/generic/framestate.c: Likewise.
25210 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25211 * sysdeps/i386/bsd-setjmp.S: Likewise.
25212 * sysdeps/i386/__longjmp.S: Likewise.
25213 * sysdeps/i386/setjmp.S: Likewise.
25214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25230 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25232 * sysdeps/ieee754/support.c: Likewise.
25233 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25234 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25235 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25236 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25237 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25238 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25239 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25240 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25241 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25242 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25243 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25244 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25245 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25246 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25248 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25249 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25251
44a988af
OB
252522013-06-05 Ondřej Bílka <neleai@seznam.cz>
25253
25506f09 25254 * posix/transbug.c: Remove executable mode.
44a988af 25255
9c84384c
JM
252562013-06-05 Joseph Myers <joseph@codesourcery.com>
25257
25258 * crypt/speeds.c: Remove trailing whitespace.
25259 * dlfcn/default.c: Likewise.
25260 * elf/ifuncdep2.c: Likewise.
25261 * elf/ifuncmain1.c: Likewise.
25262 * elf/ifuncmain1vis.c: Likewise.
25263 * elf/testobj.h: Likewise.
25264 * elf/tst-stackguard1.c: Likewise.
25265 * gmon/sys/gmon.h: Likewise.
25266 * hurd/hurdmsg.c: Likewise.
25267 * hurd/new-fd.c: Likewise.
25268 * hurd/ports-get.c: Likewise.
25269 * iconvdata/ibm1008_420.c: Likewise.
25270 * inet/tst-getni1.c: Likewise.
25271 * inet/tst-getni2.c: Likewise.
25272 * libio/ioungetc.c: Likewise.
25273 * libio/wfiledoalloc.c: Likewise.
25274 * manual/libm-err-tab.pl: Likewise.
25275 * math/w_dremf.c: Likewise.
25276 * misc/ftruncate.c: Likewise.
25277 * posix/bug-glob2.c: Likewise.
25278 * posix/tst-pcre.c: Likewise.
25279 * posix/wait4.c: Likewise.
25280 * resolv/README: Likewise.
25281 * resolv/res_debug.h: Likewise.
25282 * resolv/tst-inet_ntop.c: Likewise.
25283 * setjmp/bug269-setjmp.c: Likewise.
25284 * soft-fp/extended.h: Likewise.
25285 * soft-fp/op-1.h: Likewise.
25286 * soft-fp/op-2.h: Likewise.
25287 * soft-fp/op-4.h: Likewise.
25288 * soft-fp/op-8.h: Likewise.
25289 * soft-fp/testit.c: Likewise.
25290 * stdio-common/bug16.c: Likewise.
25291 * stdlib/random.c: Likewise.
25292 * sunrpc/rpcsvc/rquota.x: Likewise.
25293 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25294 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25295 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25296 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25297 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25298 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25299 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25300 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25301 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25303 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25320 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25322 * sysdeps/ieee754/s_lib_version.c: Likewise.
25323 * sysdeps/mach/hurd/check_fds.c: Likewise.
25324 * sysdeps/mach/hurd/getsockname.c: Likewise.
25325 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25326 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25327 * sysdeps/powerpc/bits/link.h: Likewise.
25328 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25329 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25330 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25331 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25332 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25333 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25334 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25335 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25336 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25337 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25338 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25339 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25340 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25341 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25342 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25343 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25344 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25345 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25349 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25350 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25351 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25352 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25353 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25355 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25356 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25357 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25358 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25360 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25361 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25362 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25363 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25364 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25365 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25366 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25367 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25368 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25369 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25371 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25374 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25375 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25376 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25377 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25382 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25384 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25385 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25387 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25388 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25390 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25391 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25392 * sysdeps/powerpc/sysdep.h: Likewise.
25393 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25394 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25395 * sysdeps/sh/dl-trampoline.S: Likewise.
25396 * sysdeps/sh/memset.S: Likewise.
25397 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25398 * sysdeps/sh/strlen.S: Likewise.
25399 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25400 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25401 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25402 * sysdeps/sparc/sparc32/rem.S: Likewise.
25403 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25404 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25405 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25406 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25407 * sysdeps/sparc/sparc32/urem.S: Likewise.
25408 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25409 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25410 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25411 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25412 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25413 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25414 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25415 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25416 * sysdeps/unix/bsd/times.c: Likewise.
25417 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25418 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25422 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25424 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25425 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25426 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25427 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25428 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25429 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25431 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25432 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25433 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25434 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25435 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25436 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25437 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25438 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25439 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25440 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25441 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25442 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25443 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25444 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25445 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25446 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25447 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25448 * sysdeps/x86_64/strcspn.S: Likewise.
25449
869378a5
RA
254502013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25451
25452 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25453 generated file. Regenerate properly from gen-translit.pl.
25454 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25455 locale/C-translit.h.
25456
840e2943
AS
254572013-06-05 Andreas Schwab <schwab@suse.de>
25458
25459 [BZ #15100]
25460 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25461 week as 6 instead of -1.
25462 * time/tst-strptime.c (day_tests): Add test case.
25463
4c60cb0c
SP
254642013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25465
25466 * sysdeps/generic/math_private.h
25467 (libc_feholdexcept_setround_53bit): Replace with
25468 libc_feholdsetround_53bit.
25469 (libc_feupdateenv_53bit): Replace with
25470 libc_feresetround_53bit.
25471 (SET_RESTORE_ROUND_53BIT): Adjust.
25472
d180203e
SP
254732013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25474
96df079a
SP
25475 * string/test-strchrnul.c: Add copyright header.
25476
d180203e
SP
25477 * posix/tst-getaddrinfo4.c: Increase test timeout.
25478
8b0ccb2d
CD
254792013-06-03 Carlos O'Donell <carlos@redhat.com>
25480
25481 [BZ #15536]
25482 * math/libm-test.inc (MAX_EXP): Remove
25483 (MIN_EXP): Define.
25484 (ulp): Use MIN_EXP - MANT_DIG.
25485 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25486
3b3c4d40
CD
254872013-05-31 Carlos O'Donell <carlos@redhat.com>
25488
25489 * po/be.po: Revert last change.
25490 * po/zh_CN.po: Likewise.
25491 * po/header.pot: Likewise.
25492
fab7ce3f
JM
254932013-05-31 Joseph Myers <joseph@codesourcery.com>
25494
25495 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25496 link-libc-deps to empty as target-specific variable.
25497 * Makerules (link-libc-args): New variable.
25498 (libc-for-link): Likewise.
25499 (link-libc-deps): Likewise.
25500 (lib%.so): Depend on $(link-libc-deps). Link with
25501 $(link-libc-args).
25502 (build-module): Link with $(link-libc-args).
25503 (build-module-asneeded): Likewise.
25504 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25505 list of objects.
25506 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25507 target-specific variable.
25508 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25509 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25510 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25511 libc.
25512 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25513 libc and ld.so.
25514 ($(objpfx)libpcprofile.so): Likewise.
25515 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25516 libc_nonshared.a.
25517 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25518 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25519 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25520 $(link-libc-deps).
25521 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25522 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25523 * login/Makefile ($(objpfx)libutil.so): Likewise.
25524 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25525 * math/Makefile ($(objpfx)libm.so): Likewise.
25526 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25527 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25528 variable instead of depending directly on libc.
25529 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25530 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25531 $(link-libc-deps).
25532 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25533 libc.
25534 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25535 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25536 ($(objpfx)libanl.so): Likewise.
25537 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25538 ld.so.
25539 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25540 $(link-libc-deps).
25541 * sysdeps/i386/fpu/Makefile: Remove file.
25542 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25543 ($(objpfx)libm.so): Remove dependency on ld.so.
25544
eca5920c
PF
255452013-05-30 Patsy Franklin <pfrankli@redhat.com>
25546
25547 [BZ # 15553]
25548 * nis/yp_xdr.c (XDRMAXNAME): Define.
25549 (XDRMAXRECORD): Define.
25550 (xdr_domainname): Use XDRMAXNAME.
25551 (xdr_mapname): Likewise.
25552 (xdr_peername): Likewise.
25553 (xdr_keydat): Use XDRMAXRECORD.
25554 (xdr_valdat): Likewise.
25555
255562013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25557
25558 [BZ #14256]
25559 * manual/errno.texi (ESTALE): Update to account for more than
25560 just NFS file systems.
25561 * sysdeps/gnu/errlist.c: Regenerated.
25562
b9375348
SP
255632013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25564
25565 [BZ #15465]
25566 * elf/Makefile (tests): Add tst-null-argv.
25567 (modules-names): Add tst-null-argv-lib.
25568 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25569 (tst-null-argv-ENV): Set environment for tst-null-argv.
25570 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25571 (RTLD_PROGNAME): New macro.
25572 * elf/tst-null-argv.c: New test case.
25573 * elf/tst-null-argv-lib.c: Library for test case.
25574 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25575 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25576 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25577 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25578 * elf/dl-init.c (call_init): Likewise.
25579 (_dl_init): Likewise.
25580 * elf/dl-load.c (print_search_path): Likewise.
25581 (_dl_map_object): Likewise.
25582 * elf/dl-lookup.c (do_lookup_x): Likewise.
25583 (add_dependency): Likewise.
25584 (_dl_lookup_symbol_x): Likewise.
25585 (_dl_debug_bindings): Likewise.
25586 * elf/dl-open.c (_dl_show_scope): Likewise.
25587 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25588 * elf/dl-version.c (match_symbol): Likewise.
25589 (_dl_check_map_versions): Likewise.
25590 * elf/rtld.c (dl_main): Likewise.
25591 (print_unresolved): Use RTLD_PROGNAME.
25592 (print_missing_version): Likewise.
25593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25594 (elf_machine_rela): Likewise.
25595 * sysdeps/powerpc/powerpc32/dl-machine.c
25596 (__process_machine_rela): Likewise.
25597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25598 Likewise.
25599 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25600 Likewise.
25601 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25602 Likewise.
25603 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25605 Likewise.
25606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25607 Likewise.
25608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25609
8a9f20c8
CD
256102013-05-28 Carlos O'Donell <carlos@redhat.com>
25611
25612 * po/be.po: Add descriptive title.
25613 * po/zh_CN.po: Likewise.
25614 * po/header.pot: Likewise.
25615
0e60d68e
MF
256162013-05-28 Mike Frysinger <vapier@gentoo.org>
25617
25618 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25619 error message.
25620 (enlarge_archive): Likewise.
25621
56b672e9
BN
256222013-05-28 Ben North <ben@redfrontdoor.org>
25623
25624 * manual/arith.texi (frexp): It is the magnitude of the return
25625 value which lies in [0.5, 1), not the return value itself.
25626
5e056687
AZ
256272013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25628
25629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25630
2b66ef5d
TS
256312013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25632
528c2405
TS
25633 * stdio-common/bug26.c (main): Correct fscanf template.
25634
07b4c13d
TS
25635 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25636 declare _dl_skip_args.
25637
ec9dd97c
TS
25638 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25639 Don't declare.
25640
2b66ef5d
TS
25641 * manual/platform.texi: Add missing @end deftypefun.
25642
4f8dfe27
JM
256432013-05-24 Joseph Myers <joseph@codesourcery.com>
25644
0323d086
JM
25645 [BZ #15529]
25646 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25647 bit of mantissa of 2^16382.
25648 * math/libm-test.inc (hypot_test_data): Add more tests.
25649
dd4259b9
JM
25650 * math/libm-test.inc: Add drem and pow10 to list of tested
25651 functions.
25652 (pow10_test): New function.
25653 (drem_test): Likewise.
25654 (drem_test_tonearest): Likewise.
25655 (drem_test_towardzero): Likewise.
25656 (drem_test_downward): Likewise.
25657 (drem_test_upward): Likewise.
25658 (main): Call the new functions.
25659
4f8dfe27
JM
25660 * math/libm-test.inc (finite_test_data): Remove.
25661 (finite_test): Run tests from isfinite_test_data.
25662 (gamma_test_data): Remove.
25663 (gamma_test): Run tests from lgamma_test_data.
25664 * sysdeps/i386/fpu/libm-test-ulps: Update.
25665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25666
d116b7c4
AZ
256672013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25668
25669 * manual/platform.texi: Add PowerPC PPR function set documentation.
25670 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25671 implementation.
25672
e96e3767
CD
256732013-05-24 Carlos O'Donell <carlos@redhat.com>
25674
25675 * math/libm-test.inc (MAX_EXP): Define.
25676 (ULPDIFF): Define.
25677 (ulp): New function.
25678 (check_float_internal): Use ULPDIFF.
25679 (cpow_test): Disable failing test.
25680 (check_ulp): Test ulp() implemetnation.
25681 (main): Call check_ulp before starting tests.
25682
b679a606
JM
256832013-05-24 Joseph Myers <joseph@codesourcery.com>
25684
e8bdba36
JM
25685 * math/gen-libm-test.pl (generate_testfile): Do not handle
25686 START_DATA and END_DATA.
25687 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25688 END_DATA.
25689 (acos_tonearest_test_data): Likewise.
25690 (acos_towardzero_test_data): Likewise.
25691 (acos_downward_test_data): Likewise.
25692 (acos_upward_test_data): Likewise.
25693 (acosh_test_data): Likewise.
25694 (asin_test_data): Likewise.
25695 (asin_tonearest_test_data): Likewise.
25696 (asin_towardzero_test_data): Likewise.
25697 (asin_downward_test_data): Likewise.
25698 (asin_upward_test_data): Likewise.
25699 (asinh_test_data): Likewise.
25700 (atan_test_data): Likewise.
25701 (atanh_test_data): Likewise.
25702 (atan2_test_data): Likewise.
25703 (cabs_test_data): Likewise.
25704 (cacos_test_data): Likewise.
25705 (cacosh_test_data): Likewise.
25706 (carg_test_data): Likewise.
25707 (casin_test_data): Likewise.
25708 (casinh_test_data): Likewise.
25709 (catan_test_data): Likewise.
25710 (catanh_test_data): Likewise.
25711 (cbrt_test_data): Likewise.
25712 (ccos_test_data): Likewise.
25713 (ccosh_test_data): Likewise.
25714 (ceil_test_data): Likewise.
25715 (cexp_test_data): Likewise.
25716 (cimag_test_data): Likewise.
25717 (clog_test_data): Likewise.
25718 (clog10_test_data): Likewise.
25719 (conj_test_data): Likewise.
25720 (copysign_test_data): Likewise.
25721 (cos_test_data): Likewise.
25722 (cos_tonearest_test_data): Likewise.
25723 (cos_towardzero_test_data): Likewise.
25724 (cos_downward_test_data): Likewise.
25725 (cos_upward_test_data): Likewise.
25726 (cosh_test_data): Likewise.
25727 (cosh_tonearest_test_data): Likewise.
25728 (cosh_towardzero_test_data): Likewise.
25729 (cosh_downward_test_data): Likewise.
25730 (cosh_upward_test_data): Likewise.
25731 (cpow_test_data): Likewise.
25732 (cproj_test_data): Likewise.
25733 (creal_test_data): Likewise.
25734 (csin_test_data): Likewise.
25735 (csinh_test_data): Likewise.
25736 (csqrt_test_data): Likewise.
25737 (ctan_test_data): Likewise.
25738 (ctan_tonearest_test_data): Likewise.
25739 (ctan_towardzero_test_data): Likewise.
25740 (ctan_downward_test_data): Likewise.
25741 (ctan_upward_test_data): Likewise.
25742 (ctanh_test_data): Likewise.
25743 (ctanh_tonearest_test_data): Likewise.
25744 (ctanh_towardzero_test_data): Likewise.
25745 (ctanh_downward_test_data): Likewise.
25746 (ctanh_upward_test_data): Likewise.
25747 (erf_test_data): Likewise.
25748 (erfc_test_data): Likewise.
25749 (exp_test_data): Likewise.
25750 (exp_tonearest_test_data): Likewise.
25751 (exp_towardzero_test_data): Likewise.
25752 (exp_downward_test_data): Likewise.
25753 (exp_upward_test_data): Likewise.
25754 (exp10_test_data): Likewise.
25755 (exp2_test_data): Likewise.
25756 (expm1_test_data): Likewise.
25757 (fabs_test_data): Likewise.
25758 (fdim_test_data): Likewise.
25759 (finite_test_data): Likewise.
25760 (floor_test_data): Likewise.
25761 (fma_test_data): Likewise.
25762 (fma_towardzero_test_data): Likewise.
25763 (fma_downward_test_data): Likewise.
25764 (fma_upward_test_data): Likewise.
25765 (fmax_test_data): Likewise.
25766 (fmin_test_data): Likewise.
25767 (fmod_test_data): Likewise.
25768 (fpclassify_test_data): Likewise.
25769 (frexp_test_data): Likewise.
25770 (gamma_test_data): Likewise.
25771 (hypot_test_data): Likewise.
25772 (ilogb_test_data): Likewise.
25773 (isfinite_test_data): Likewise.
25774 (isgreater_test_data): Likewise.
25775 (isgreaterequal_test_data): Likewise.
25776 (isinf_test_data): Likewise.
25777 (isless_test_data): Likewise.
25778 (islessequal_test_data): Likewise.
25779 (islessgreater_test_data): Likewise.
25780 (isnan_test_data): Likewise.
25781 (isnormal_test_data): Likewise.
25782 (issignaling_test_data): Likewise.
25783 (isunordered_test_data): Likewise.
25784 (j0_test_data): Likewise.
25785 (j1_test_data): Likewise.
25786 (jn_test_data): Likewise.
25787 (ldexp_test_data): Likewise.
25788 (lgamma_test_data): Likewise.
25789 (lrint_test_data): Likewise.
25790 (lrint_tonearest_test_data): Likewise.
25791 (lrint_towardzero_test_data): Likewise.
25792 (lrint_downward_test_data): Likewise.
25793 (lrint_upward_test_data): Likewise.
25794 (llrint_test_data): Likewise.
25795 (llrint_tonearest_test_data): Likewise.
25796 (llrint_towardzero_test_data): Likewise.
25797 (llrint_downward_test_data): Likewise.
25798 (llrint_upward_test_data): Likewise.
25799 (log_test_data): Likewise.
25800 (log10_test_data): Likewise.
25801 (log1p_test_data): Likewise.
25802 (log2_test_data): Likewise.
25803 (logb_test_data): Likewise.
25804 (logb_downward_test_data): Likewise.
25805 (lround_test_data): Likewise.
25806 (llround_test_data): Likewise.
25807 (modf_test_data): Likewise.
25808 (nearbyint_test_data): Likewise.
25809 (nextafter_test_data): Likewise.
25810 (nexttoward_test_data): Likewise.
25811 (pow_test_data): Likewise.
25812 (pow_tonearest_test_data): Likewise.
25813 (pow_towardzero_test_data): Likewise.
25814 (pow_downward_test_data): Likewise.
25815 (pow_upward_test_data): Likewise.
25816 (remainder_test_data): Likewise.
25817 (remainder_tonearest_test_data): Likewise.
25818 (remainder_towardzero_test_data): Likewise.
25819 (remainder_downward_test_data): Likewise.
25820 (remainder_upward_test_data): Likewise.
25821 (remquo_test_data): Likewise.
25822 (rint_test_data): Likewise.
25823 (rint_tonearest_test_data): Likewise.
25824 (rint_towardzero_test_data): Likewise.
25825 (rint_downward_test_data): Likewise.
25826 (rint_upward_test_data): Likewise.
25827 (round_test_data): Likewise.
25828 (scalb_test_data): Likewise.
25829 (scalbn_test_data): Likewise.
25830 (scalbln_test_data): Likewise.
25831 (signbit_test_data): Likewise.
25832 (sin_test_data): Likewise.
25833 (sin_tonearest_test_data): Likewise.
25834 (sin_towardzero_test_data): Likewise.
25835 (sin_downward_test_data): Likewise.
25836 (sin_upward_test_data): Likewise.
25837 (sincos_test_data): Likewise.
25838 (sinh_test_data): Likewise.
25839 (sinh_tonearest_test_data): Likewise.
25840 (sinh_towardzero_test_data): Likewise.
25841 (sinh_downward_test_data): Likewise.
25842 (sinh_upward_test_data): Likewise.
25843 (sqrt_test_data): Likewise.
25844 (tan_test_data): Likewise.
25845 (tan_tonearest_test_data): Likewise.
25846 (tan_towardzero_test_data): Likewise.
25847 (tan_downward_test_data): Likewise.
25848 (tan_upward_test_data): Likewise.
25849 (tanh_test_data): Likewise.
25850 (tgamma_test_data): Likewise.
25851 (trunc_test_data): Likewise.
25852 (y0_test_data): Likewise.
25853 (y1_test_data): Likewise.
25854 (yn_test_data): Likewise.
25855 (significand_test_data): Likewise.
25856
b679a606
JM
25857 * math/gen-libm-test.pl (@functions): Remove variable.
25858 (generate_testfile): Don't handle START and END lines.
25859 * math/libm-test.inc (START): New macro.
25860 (END): Likewise.
25861 (END_COMPLEX): Likewise.
25862 (acos_test): Use END macro without arguments.
25863 (acos_test_tonearest): Likewise.
25864 (acos_test_towardzero): Likewise.
25865 (acos_test_downward): Likewise.
25866 (acos_test_upward): Likewise.
25867 (acosh_test): Likewise.
25868 (asin_test): Likewise.
25869 (asin_test_tonearest): Likewise.
25870 (asin_test_towardzero): Likewise.
25871 (asin_test_downward): Likewise.
25872 (asin_test_upward): Likewise.
25873 (asinh_test): Likewise.
25874 (atan_test): Likewise.
25875 (atanh_test): Likewise.
25876 (atan2_test): Likewise.
25877 (cabs_test): Likewise.
25878 (cacos_test): Use END_COMPLEX macro without arguments.
25879 (cacosh_test): Likewise.
25880 (carg_test): Use END macro without arguments.
25881 (casin_test): Use END_COMPLEX macro without arguments.
25882 (casinh_test): Likewise.
25883 (catan_test): Likewise.
25884 (catanh_test): Likewise.
25885 (cbrt_test): Use END macro without arguments.
25886 (ccos_test): Use END_COMPLEX macro without arguments.
25887 (ccosh_test): Likewise.
25888 (ceil_test): Use END macro without arguments.
25889 (cexp_test): Use END_COMPLEX macro without arguments.
25890 (cimag_test): Use END macro without arguments.
25891 (clog_test): Use END_COMPLEX macro without arguments.
25892 (clog10_test): Likewise.
25893 (conj_test): Likewise.
25894 (copysign_test): Use END macro without arguments.
25895 (cos_test): Likewise.
25896 (cos_test_tonearest): Likewise.
25897 (cos_test_towardzero): Likewise.
25898 (cos_test_downward): Likewise.
25899 (cos_test_upward): Likewise.
25900 (cosh_test): Likewise.
25901 (cosh_test_tonearest): Likewise.
25902 (cosh_test_towardzero): Likewise.
25903 (cosh_test_downward): Likewise.
25904 (cosh_test_upward): Likewise.
25905 (cpow_test): Use END_COMPLEX macro without arguments.
25906 (cproj_test): Likewise.
25907 (creal_test): Use END macro without arguments.
25908 (csin_test): Use END_COMPLEX macro without arguments.
25909 (csinh_test): Likewise.
25910 (csqrt_test): Likewise.
25911 (ctan_test): Likewise.
25912 (ctan_test_tonearest): Likewise.
25913 (ctan_test_towardzero): Likewise.
25914 (ctan_test_downward): Likewise.
25915 (ctan_test_upward): Likewise.
25916 (ctanh_test): Likewise.
25917 (ctanh_test_tonearest): Likewise.
25918 (ctanh_test_towardzero): Likewise.
25919 (ctanh_test_downward): Likewise.
25920 (ctanh_test_upward): Likewise.
25921 (erf_test): Use END macro without arguments.
25922 (erfc_test): Likewise.
25923 (exp_test): Likewise.
25924 (exp_test_tonearest): Likewise.
25925 (exp_test_towardzero): Likewise.
25926 (exp_test_downward): Likewise.
25927 (exp_test_upward): Likewise.
25928 (exp10_test): Likewise.
25929 (exp2_test): Likewise.
25930 (expm1_test): Likewise.
25931 (fabs_test): Likewise.
25932 (fdim_test): Likewise.
25933 (finite_test): Likewise.
25934 (floor_test): Likewise.
25935 (fma_test): Likewise.
25936 (fma_test_towardzero): Likewise.
25937 (fma_test_downward): Likewise.
25938 (fma_test_upward): Likewise.
25939 (fmax_test): Likewise.
25940 (fmin_test): Likewise.
25941 (fmod_test): Likewise.
25942 (fpclassify_test): Likewise.
25943 (frexp_test): Likewise.
25944 (gamma_test): Likewise.
25945 (hypot_test): Likewise.
25946 (ilogb_test): Likewise.
25947 (isfinite_test): Likewise.
25948 (isgreater_test): Likewise.
25949 (isgreaterequal_test): Likewise.
25950 (isinf_test): Likewise.
25951 (isless_test): Likewise.
25952 (islessequal_test): Likewise.
25953 (islessgreater_test): Likewise.
25954 (isnan_test): Likewise.
25955 (isnormal_test): Likewise.
25956 (issignaling_test): Likewise.
25957 (isunordered_test): Likewise.
25958 (j0_test): Likewise.
25959 (j1_test): Likewise.
25960 (jn_test): Likewise.
25961 (ldexp_test): Likewise.
25962 (lgamma_test): Likewise.
25963 (lrint_test): Likewise.
25964 (lrint_test_tonearest): Likewise.
25965 (lrint_test_towardzero): Likewise.
25966 (lrint_test_downward): Likewise.
25967 (lrint_test_upward): Likewise.
25968 (llrint_test): Likewise.
25969 (llrint_test_tonearest): Likewise.
25970 (llrint_test_towardzero): Likewise.
25971 (llrint_test_downward): Likewise.
25972 (llrint_test_upward): Likewise.
25973 (log_test): Likewise.
25974 (log10_test): Likewise.
25975 (log1p_test): Likewise.
25976 (log2_test): Likewise.
25977 (logb_test): Likewise.
25978 (logb_test_downward): Likewise.
25979 (lround_test): Likewise.
25980 (llround_test): Likewise.
25981 (modf_test): Likewise.
25982 (nearbyint_test): Likewise.
25983 (nextafter_test): Likewise.
25984 (nexttoward_test): Likewise.
25985 (pow_test): Likewise.
25986 (pow_test_tonearest): Likewise.
25987 (pow_test_towardzero): Likewise.
25988 (pow_test_downward): Likewise.
25989 (pow_test_upward): Likewise.
25990 (remainder_test): Likewise.
25991 (remainder_test_tonearest): Likewise.
25992 (remainder_test_towardzero): Likewise.
25993 (remainder_test_downward): Likewise.
25994 (remainder_test_upward): Likewise.
25995 (remquo_test): Likewise.
25996 (rint_test): Likewise.
25997 (rint_test_tonearest): Likewise.
25998 (rint_test_towardzero): Likewise.
25999 (rint_test_downward): Likewise.
26000 (rint_test_upward): Likewise.
26001 (round_test): Likewise.
26002 (scalb_test): Likewise.
26003 (scalbn_test): Likewise.
26004 (scalbln_test): Likewise.
26005 (signbit_test): Likewise.
26006 (sin_test): Likewise.
26007 (sin_test_tonearest): Likewise.
26008 (sin_test_towardzero): Likewise.
26009 (sin_test_downward): Likewise.
26010 (sin_test_upward): Likewise.
26011 (sincos_test): Likewise.
26012 (sinh_test): Likewise.
26013 (sinh_test_tonearest): Likewise.
26014 (sinh_test_towardzero): Likewise.
26015 (sinh_test_downward): Likewise.
26016 (sinh_test_upward): Likewise.
26017 (sqrt_test): Likewise.
26018 (tan_test): Likewise.
26019 (tan_test_tonearest): Likewise.
26020 (tan_test_towardzero): Likewise.
26021 (tan_test_downward): Likewise.
26022 (tan_test_upward): Likewise.
26023 (tanh_test): Likewise.
26024 (tgamma_test): Likewise.
26025 (trunc_test): Likewise.
26026 (y0_test): Likewise.
26027 (y1_test): Likewise.
26028 (yn_test): Likewise.
26029 (significand_test): Likewise.
26030
bae143d2
OB
260312013-05-24 Ondřej Bílka <neleai@seznam.cz>
26032
26033 [BZ #15381]
26034 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26035
9323d39b
EM
260362013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26037
d4ea44a0 26038 [BZ #14894]
9323d39b
EM
26039 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26040 __ppc_mdoio and __ppc_mdoom.
26041 * manual/platform.texi: Document new functions __ppc_yield,
26042 __ppc_mdoio and __ppc_mdoom.
26043
13e23af7
CD
260442013-05-22 Carlos O'Donell <carlos@redhat.com>
26045
26046 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26047 (main): Mention "tls" pseudo-hwcap is legacy.
26048 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26049
351fe550
JM
260502013-05-22 Joseph Myers <joseph@codesourcery.com>
26051
26052 * math/gen-libm-test.pl (parse_args): Output only string of
26053 arguments as text for test name, not full call or descriptions of
26054 tests for extra outputs.
26055 (generate_testfile): Do not pass function name to parse_args.
26056 Generate this_func variable from START.
26057 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26058 field to arg_str.
26059 (struct test_ff_f_data): Likewise.
26060 (test_ff_f_data_nexttoward): Likewise.
26061 (struct test_fi_f_data): Likewise.
26062 (struct test_fl_f_data): Likewise.
26063 (struct test_if_f_data): Likewise.
26064 (struct test_fff_f_data): Likewise.
26065 (struct test_c_f_data): Likewise.
26066 (struct test_f_f1_data): Likewise. Remove field extra_name.
26067 (struct test_fF_f1_data): Likewise.
26068 (struct test_ffI_f1_data): Likewise.
26069 (struct test_c_c_data): Rename test_name field to arg_str.
26070 (struct test_cc_c_data): Likewise.
26071 (struct test_f_i_data): Likewise.
26072 (struct test_ff_i_data): Likewise.
26073 (struct test_f_l_data): Likewise.
26074 (struct test_f_L_data): Likewise.
26075 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26076 and extra2_name.
26077 (COMMON_TEST_SETUP): New macro.
26078 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26079 (COMMON_TEST_CLEANUP): Likewise.
26080 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26081 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26082 macros.
26083 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26084 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26085 macros.
26086 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26087 (RUN_TEST_fff_f): Take argument string. Call new setup and
26088 cleanup macros.
26089 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26090 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26091 macros.
26092 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26093 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26094 macros.
26095 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26096 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26097 cleanup macros.
26098 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26099 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26100 cleanup macros.
26101 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26102 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26103 cleanup macros.
26104 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26105 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26106 macros.
26107 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26108 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26109 macros.
26110 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26111 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26112 macros.
26113 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26114 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26115 cleanup macros.
26116 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26117 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26118 cleanup macros.
26119 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26120 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26121 macros.
26122 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26123 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26124 cleanup macros.
26125 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26126 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26127 macros.
26128 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26129 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26130 macros.
26131 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26132 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26133 cleanup macros.
26134 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26135
85118d4d
EBM
261362013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26137
26138 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26139 to _sifields.sigfault.
26140 (si_addr_lsb): Define new macro.
26141 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26142 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26143 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26144
7a44c18f
CD
261452013-05-03 Carlos O'Donell <carlos at redhat.com>
26146
26147 [BZ #15441]
26148 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26149 returns -1.
26150 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26151 null return -1.
26152 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26153 loading the domain.
26154
b50a7181
JM
261552013-05-22 Joseph Myers <joseph@codesourcery.com>
26156
26157 * math/gen-libm-test.pl (parse_args): Do not include expected
26158 result in test name.
26159 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26161 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26163 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26165
051063c8
SP
261662013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26167
3ce9e010
SP
26168 * benchtests/Makefile: Sort function entries.
26169
051063c8
SP
26170 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26171 tanh, asinh, acosh, atanh.
26172 * benchtests/acos-inputs: New file.
26173 * benchtests/acosh-inputs: New file.
26174 * benchtests/asin-inputs: New file.
26175 * benchtests/asinh-inputs: New file.
26176 * benchtests/atanh-inputs: New file.
26177 * benchtests/cosh-inputs: New file.
26178 * benchtests/log-inputs: New file.
26179 * benchtests/sinh-inputs: New file.
26180 * benchtests/tanh-inputs: New file.
26181
47c22455
DL
261822013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26183
26184 [BZ #15339]
26185 * posix/tst-getaddrinfo4.c: New test.
26186 * posix/Makefile (tests): Add it.
26187
3d04f5db
SP
261882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26189
26190 [BZ #15339]
26191 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26192 when no services were used.
26193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26194 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26195
d5dd6189
AS
261962013-05-21 Andreas Schwab <schwab@suse.de>
26197
26198 [BZ #15014]
26199 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26200 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26201 successful.
26202 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26203 redundant variable declarations and reallocation of buffer when
26204 parsing as IPv6 address. Always set NSS status when called from
26205 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26206 buffer too small. Correct computation of needed size.
26207 * nss/Makefile (tests): Add test-digits-dots.
26208 * nss/test-digits-dots.c: New test.
26209
fef94eab
SP
262102013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26211
26212 * benchtests/Makefile: Remove instructions for adding
26213 benchmark tests.
26214 * benchtests/README: New file to explain how to execute and
26215 enhance the benchmark tests.
26216
e39adf43
AS
262172013-05-21 Andreas Schwab <schwab@suse.de>
26218
26219 [BZ #15493]
26220 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26221 * setjmp/tst-sigsetjmp.c: New test.
26222
b2b671b6
OB
262232013-05-20 Ondřej Bílka <neleai@seznam.cz>
26224
26225 * sysdeps/x86_64/memset.S (memset): New implementation.
26226 (__bzero): Likewise.
26227 (__memset_tail): New function.
26228
2d48b41c
OB
262292013-05-20 Ondřej Bílka <neleai@seznam.cz>
26230
26231 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26232 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26233 __memcpy_sse2_unaligned ifunc selection.
26234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26235 Add memcpy-sse2-unaligned.S.
26236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26237 Add: __memcpy_sse2_unaligned.
26238
f16cc3eb
JM
262392013-05-19 Joseph Myers <joseph@codesourcery.com>
26240
3e694268
JM
26241 [BZ #15490]
26242 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26243 math_force_eval before restoring floating-point envrionment.
26244 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26246 Likewise.
26247 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26248 <math_private.h>.
26249 (__nearbyintl): Use math_force_eval before restoring
26250 floating-point environment.
26251 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26252
db62a907
JM
26253 * math/gen-libm-test.pl (special_functions): Remove.
26254 (parse_args): Don't handle TEST_extra. Handle functions with no
26255 return value.
26256 * math/libm-test.inc (struct test_sincos_data): Replace with
26257 struct test_fFF_11_data.
26258 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26259 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26260 (sincos_test_data): Change element type to struct
26261 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26262 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26263 RUN_TEST_LOOP_sincos.
26264 * math/README.libm-test: Don't mention special handling of
26265 individual functions.
26266 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26268 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26269 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26270 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26272
f16cc3eb
JM
26273 * math/gen-libm-test.pl (get_variable): Remove function.
26274 (parse_args): Don't show pointer parameters to call in test
26275 names. Use "extra output N" in test names for extra outputs
26276 rather than naming variables.
26277
3779b5b6
JM
262782013-05-18 Joseph Myers <joseph@codesourcery.com>
26279
2ee094ff
JM
26280 [BZ #15488]
26281 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26282 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26283 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26284 double tests.
26285 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26286 disable.
26287 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26288 check_long_double.
26289
3779b5b6
JM
26290 * math/gen-libm-test.pl (@tests): Remove variable.
26291 ($count): Likewise.
26292 (new_test): Remove function.
26293 (show_exceptions): New function.
26294 (special_functions): Use show_exceptions instead of new_test.
26295 (parse_args): Likewise.
26296 (generate_testfile): Pass only function name in generated call to
26297 print_max_error or print_complex_max_error.
26298 (get_ulps): Do not handle complex tests specially.
26299 (output_test): Rename to ...
26300 (get_all_ulps_for_test): ... this. Return a string rather than
26301 printing to a file. Require ulps to be present.
26302 (output_ulps): Generate arrays rather than #defines.
26303 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26304 (struct ulp_data): New type.
26305 (BUILD_COMPLEX_ULP): Remove macro.
26306 (compare_ulp_data): New function.
26307 (find_ulps): Likewise.
26308 (find_test_ulps): Likewise.
26309 (find_function_ulps): Likewise.
26310 (find_complex_function_ulps): Likewise.
26311 (print_max_error): Determine allowed ulps using
26312 find_function_ulps.
26313 (print_complex_max_error): Determine allowed ulps using
26314 find_complex_function_ulps.
26315 (check_float_internal): Determine max ulps using find_test_ulps.
26316 (check_float): Do not take max_ulp parameter. Update call to
26317 check_float_internal.
26318 (check_complex): Likewise.
26319 (check_int): Do not take max_ulp parameter.
26320 (check_long): Likewise.
26321 (check_bool): Likewise.
26322 (check_longlong): Likewise.
26323 (struct test_f_f_data): Remove max_ulp field.
26324 (struct test_ff_f_data): Likewise.
26325 (struct test_ff_f_data_nexttoward): Likewise.
26326 (struct test_fi_f_data): Likewise.
26327 (struct test_fl_f_data): Likewise.
26328 (struct test_if_f_data): Likewise.
26329 (struct test_fff_f_data): Likewise.
26330 (struct test_c_f_data): Likewise.
26331 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26332 (struct test_fF_f1_data): Likewise.
26333 (struct test_ffI_f1_data): Likewise.
26334 (struct test_c_c_data): Remove max_ulp field.
26335 (struct test_cc_c_data): Likewise.
26336 (struct test_f_i_data): Likewise.
26337 (struct test_ff_i_data): Likewise.
26338 (struct test_f_l_data): Likewise.
26339 (struct test_f_L_data): Likewise.
26340 (struct test_sincos_data): Likewise.
26341 (RUN_TEST_f_f): Do not handle ulps.
26342 (RUN_TEST_LOOP_f_f): Likewise.
26343 (RUN_TEST_2_f): Likewise.
26344 (RUN_TEST_LOOP_2_f): Likewise.
26345 (RUN_TEST_fff_f): Likewise.
26346 (RUN_TEST_LOOP_fff_f): Likewise.
26347 (RUN_TEST_c_f): Likewise.
26348 (RUN_TEST_LOOP_c_f): Likewise.
26349 (RUN_TEST_f_f1): Likewise.
26350 (RUN_TEST_LOOP_f_f1): Likewise.
26351 (RUN_TEST_fF_f1): Likewise.
26352 (RUN_TEST_LOOP_fF_f1): Likewise.
26353 (RUN_TEST_fI_f1): Likewise.
26354 (RUN_TEST_LOOP_fI_f1): Likewise.
26355 (RUN_TEST_ffI_f1): Likewise.
26356 (RUN_TEST_LOOP_ffI_f1): Likewise.
26357 (RUN_TEST_c_c): Likewise.
26358 (RUN_TEST_LOOP_c_c): Likewise.
26359 (RUN_TEST_cc_c): Likewise.
26360 (RUN_TEST_LOOP_cc_c): Likewise.
26361 (RUN_TEST_f_i): Likewise.
26362 (RUN_TEST_LOOP_f_i): Likewise.
26363 (RUN_TEST_f_i_tg): Likewise.
26364 (RUN_TEST_LOOP_f_i_tg): Likewise.
26365 (RUN_TEST_ff_i_tg): Likewise.
26366 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26367 (RUN_TEST_f_b): Likewise.
26368 (RUN_TEST_LOOP_f_b): Likewise.
26369 (RUN_TEST_f_b_tg): Likewise.
26370 (RUN_TEST_LOOP_f_b_tg): Likewise.
26371 (RUN_TEST_f_l): Likewise.
26372 (RUN_TEST_LOOP_f_l): Likewise.
26373 (RUN_TEST_f_L): Likewise.
26374 (RUN_TEST_LOOP_f_L): Likewise.
26375 (RUN_TEST_sincos): Likewise.
26376 (RUN_TEST_LOOP_sincos): Likewise.
26377
8269107f
JM
263782013-05-17 Joseph Myers <joseph@codesourcery.com>
26379
bb38759d
JM
26380 [BZ #15480]
26381 [BZ #15485]
26382 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26383 main case of finite arguments, set rounding mode to FE_TONEAREST
26384 and discard exceptions.
26385 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26386 exceptions.
26387 (remainder_tonearest_test_data): New variable.
26388 (remainder_test_tonearest): New function.
26389 (remainder_towardzero_test_data): New variable.
26390 (remainder_test_towardzero): New function.
26391 (remainder_downward_test_data): New variable.
26392 (remainder_test_downward): New function.
26393 (remainder_upward_test_data): New variable.
26394 (remainder_test_upward): New function.
26395 (main): Call the new test functions.
26396
a00bdcf0
JM
26397 * math/libm-test.inc (struct test_f_f1_data): Remove field
26398 extra_init.
26399 (struct test_fF_f1_data): Likewise.
26400 (struct test_ffI_f1_data): Likewise.
26401 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26402 based on value of EXTRA_EXPECTED.
26403 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26404 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26405 EXTRA_VAR based on value of EXTRA_EXPECTED.
26406 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26407 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26408 EXTRA_VAR based on value of EXTRA_EXPECTED.
26409 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26410 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26411 EXTRA_VAR based on value of EXTRA_EXPECTED.
26412 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26413 * math/gen-libm-test.pl (parse_args): Don't output initializers
26414 for extra output values.
26415
de407f79
JM
26416 * math/libm-test.inc (check_int): Expect result to be exactly
26417 equal to expected value and do not handle ulps.
26418 (check_long): Likewise.
26419 (check_longlong): Likewise.
26420
8269107f
JM
26421 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26422 exceptions.
26423 (cimag_test_data): Likewise.
26424 (conj_test_data): Likewise.
26425 (copysign_test_data): Likewise.
26426 (cproj_test_data): Likewise.
26427 (creal_test_data): Likewise.
26428 (fabs_test_data): Likewise.
26429 (fdim_test_data): Likewise.
26430 (finite_test_data): Likewise.
26431 (floor_test_data): Likewise.
26432 (fmax_test_data): Likewise.
26433 (fmin_test_data): Likewise.
26434 (fmod_test_data): Likewise.
26435 (fpclassify_test_data): Likewise.
26436 (frexp_test_data): Likewise.
26437 (ilogb_test_data): Likewise.
26438 (isfinite_test_data): Likewise.
26439 (isgreater_test_data): Likewise.
26440 (isgreaterequal_test_data): Likewise.
26441 (isinf_test_data): Likewise.
26442 (isless_test_data): Likewise.
26443 (islessequal_test_data): Likewise.
26444 (islessgreater_test_data): Likewise.
26445 (isnan_test_data): Likewise.
26446 (isnormal_test_data): Likewise.
26447 (issignaling_test_data): Likewise.
26448 (isunordered_test_data): Likewise.
26449 (ldexp_test_data): Likewise.
26450 (lrint_test_data): Likewise.
26451 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26452 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26453 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26454 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26455 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26456 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26457 test input.
26458 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26459 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26460 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26461 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26462 that test input.
26463 (lrint_downward_test_data): Test for "inexact" exceptions.
26464 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26465 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26466 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26467 test input.
26468 (lrint_upward_test_data): Test for "inexact" exceptions.
26469 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26470 test input.
26471 (llrint_test_data): Test for "inexact" exceptions.
26472 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26473 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26474 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26475 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26476 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26477 (llrint_downward_test_data): Test for "inexact" exceptions.
26478 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26479 (llrint_upward_test_data): Test for "inexact" exceptions.
26480 (logb_test_data): Likewise.
26481 (logb_downward_test_data): Likewise.
26482 (nextafter_test_data): Likewise.
26483 (nexttoward_test_data): Likewise.
26484 (remainder_test_data): Likewise.
26485 (remquo_test_data): Likewise.
26486 (scalbn_test_data): Likewise.
26487 (scalbln_test_data): Likewise.
26488 (signbit_test_data): Likewise.
26489 (sqrt_test_data): Likewise.
26490 (significand_test_data): Likewise.
26491
48a18de1
SP
264922013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26493
26494 [BZ #15424]
26495 * benchtests/bench-modf.c (struct args): Mark arg0 as
26496 volatile.
26497 * scripts/bench.pl: Mark members of struct args as volatile.
26498
13d3b41a
AZ
264992013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26500
68191c1d 26501 [BZ # 15497]
13d3b41a
AZ
26502 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26503 negative infinity on POWER6 or lower.
26504 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26505
2848b105
MR
265062013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26507
26508 [BZ #15442]
26509 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26510 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26511 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26512 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26513 (_FP_SETQNAN): New macro.
26514 (_FP_SETQNAN_SEMIRAW): Likewise.
26515 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26516 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26517 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26518 (FP_EXTEND): Use _FP_FRAC_SNANP.
26519 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26520 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26521 into account.
26522 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26523 New macro.
26524 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26525 Likewise.
26526
323e5cb7
JM
265272013-05-16 Joseph Myers <joseph@codesourcery.com>
26528
c58b274f
JM
26529 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26530 with DIVIDE_BY_ZERO_EXCEPTION.
26531 (gamma_test_data): Likewise.
26532 (lgamma_test_data): Likewise.
26533 (log_test_data): Likewise.
26534 (log10_test_data): Likewise.
26535 (log2_test_data): Likewise.
26536 (tgamma_test_data): Likewise.
26537
0ab34904
JM
26538 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26539 (acos_test_tonearest): Likewise.
26540 (acos_test_towardzero): Likewise.
26541 (acos_test_downward): Likewise.
26542 (acos_test_upward): Likewise.
26543 (acosh_test): Likewise.
26544 (asin_test): Likewise.
26545 (asin_test_tonearest): Likewise.
26546 (asin_test_towardzero): Likewise.
26547 (asin_test_downward): Likewise.
26548 (asin_test_upward): Likewise.
26549 (asinh_test): Likewise.
26550 (atan_test): Likewise.
26551 (atanh_test): Likewise.
26552 (atan2_test): Likewise.
26553 (cabs_test): Likewise.
26554 (cacos_test): Likewise.
26555 (cacosh_test): Likewise.
26556 (casin_test): Likewise.
26557 (casinh_test): Likewise.
26558 (catan_test): Likewise.
26559 (catanh_test): Likewise.
26560 (cbrt_test): Likewise.
26561 (ccos_test): Likewise.
26562 (ccosh_test): Likewise.
26563 (cexp_test): Likewise.
26564 (clog_test): Likewise.
26565 (clog10_test): Likewise.
26566 (cos_test): Likewise.
26567 (cos_test_tonearest): Likewise.
26568 (cos_test_towardzero): Likewise.
26569 (cos_test_downward): Likewise.
26570 (cos_test_upward): Likewise.
26571 (cosh_test): Likewise.
26572 (cosh_test_tonearest): Likewise.
26573 (cosh_test_towardzero): Likewise.
26574 (cosh_test_downward): Likewise.
26575 (cosh_test_upward): Likewise.
26576 (cpow_test): Likewise.
26577 (csin_test): Likewise.
26578 (csinh_test): Likewise.
26579 (csqrt_test): Likewise.
26580 (ctan_test): Likewise.
26581 (ctan_test_tonearest): Likewise.
26582 (ctan_test_towardzero): Likewise.
26583 (ctan_test_downward): Likewise.
26584 (ctan_test_upward): Likewise.
26585 (ctanh_test): Likewise.
26586 (ctanh_test_tonearest): Likewise.
26587 (ctanh_test_towardzero): Likewise.
26588 (ctanh_test_downward): Likewise.
26589 (ctanh_test_upward): Likewise.
26590 (erf_test): Likewise.
26591 (erfc_test): Likewise.
26592 (exp_test): Likewise.
26593 (exp_test_tonearest): Likewise.
26594 (exp_test_towardzero): Likewise.
26595 (exp_test_downward): Likewise.
26596 (exp_test_upward): Likewise.
26597 (exp10_test): Likewise.
26598 (exp2_test): Likewise.
26599 (expm1_test): Likewise.
26600 (fmod_test): Likewise.
26601 (gamma_test): Likewise.
26602 (hypot_test): Likewise.
26603 (j0_test): Likewise.
26604 (j1_test): Likewise.
26605 (jn_test): Likewise.
26606 (lgamma_test): Likewise.
26607 (log_test): Likewise.
26608 (log10_test): Likewise.
26609 (log1p_test): Likewise.
26610 (log2_test): Likewise.
26611 (logb_test_downward): Likewise.
26612 (pow_test): Likewise.
26613 (pow_test_tonearest): Likewise.
26614 (pow_test_towardzero): Likewise.
26615 (pow_test_downward): Likewise.
26616 (pow_test_upward): Likewise.
26617 (remainder_test): Likewise.
26618 (remquo_test): Likewise.
26619 (sin_test): Likewise.
26620 (sin_test_tonearest): Likewise.
26621 (sin_test_towardzero): Likewise.
26622 (sin_test_downward): Likewise.
26623 (sin_test_upward): Likewise.
26624 (sincos_test): Likewise.
26625 (sinh_test): Likewise.
26626 (sinh_test_tonearest): Likewise.
26627 (sinh_test_towardzero): Likewise.
26628 (sinh_test_downward): Likewise.
26629 (sinh_test_upward): Likewise.
26630 (sqrt_test): Likewise.
26631 (tan_test): Likewise.
26632 (tan_test_tonearest): Likewise.
26633 (tan_test_towardzero): Likewise.
26634 (tan_test_downward): Likewise.
26635 (tan_test_upward): Likewise.
26636 (tanh_test): Likewise.
26637 (tgamma_test): Likewise.
26638 (y0_test): Likewise.
26639 (y1_test): Likewise.
26640 (yn_test): Likewise.
26641
323e5cb7
JM
26642 * math/gen-libm-test.pl (adjust_arg): Remove function.
26643 (special_function): Remove argument $in_func. Only handle
26644 generating output for tables of tests, not inside functions.
26645 (parse_args): Likewise.
26646 (generate_testfile): Remove variable $in_func. Update call to
26647 parse_args.
26648 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26649 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26650 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26651 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26652 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26653 (MAX_VALUE_INIT): Rename macro to max_value.
26654 (MIN_VALUE_INIT): Rename macro to min_value.
26655 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26656 (plus_zero): Remove variable.
26657 (minus_zero): Likewise.
26658 (plus_infty): Likewise.
26659 (minus_infty): Likewise.
26660 (qnan_value): Likewise.
26661 (max_value): Likewise.
26662 (min_value): Likewise.
26663 (min_subnorm_value): Likewise.
26664
e054f494
RA
266652013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26666
26667 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26668 uint64_t or uint32_t usage.
26669 * crypt/sha256-block.c: Likewise.
26670 * crypt/sha256-crypt.c: Likewise.
26671 * crypt/sha256.c: Likewise.
26672 * crypt/sha512-block.c: Likewise.
26673 * crypt/sha512-crypt.c: Likewise.
26674 * crypt/sha512.c: Likewise.
26675 * debug/backtrace-tst.c: Likewise.
26676 * debug/pcprofiledump.c: Likewise.
26677 * elf/cache.c: Likewise.
26678 * elf/dl-cache.c: Likewise.
26679 * elf/dl-misc.c: Likewise.
26680 * elf/dl-profile.c: Likewise.
26681 * elf/dl-support.c: Likewise.
26682 * elf/ldconfig.c: Likewise.
26683 * elf/sprof.c: Likewise.
26684 * iconv/dummy-repertoire.c: Likewise.
26685 * iconv/iconv_charmap.c: Likewise.
26686 * iconv/skeleton.c: Likewise.
26687 * iconvdata/8bit-generic.c: Likewise.
26688 * iconvdata/cp737.h: Likewise.
26689 * iconvdata/cp775.h: Likewise.
26690 * iconvdata/ibm1008.h: Likewise.
26691 * iconvdata/ibm1025.h: Likewise.
26692 * iconvdata/ibm1046.h: Likewise.
26693 * iconvdata/ibm1097.h: Likewise.
26694 * iconvdata/ibm1112.h: Likewise.
26695 * iconvdata/ibm1122.h: Likewise.
26696 * iconvdata/ibm1123.h: Likewise.
26697 * iconvdata/ibm1124.h: Likewise.
26698 * iconvdata/ibm1129.h: Likewise.
26699 * iconvdata/ibm1130.h: Likewise.
26700 * iconvdata/ibm1132.h: Likewise.
26701 * iconvdata/ibm1133.h: Likewise.
26702 * iconvdata/ibm1137.h: Likewise.
26703 * iconvdata/ibm1140.h: Likewise.
26704 * iconvdata/ibm1141.h: Likewise.
26705 * iconvdata/ibm1142.h: Likewise.
26706 * iconvdata/ibm1143.h: Likewise.
26707 * iconvdata/ibm1144.h: Likewise.
26708 * iconvdata/ibm1145.h: Likewise.
26709 * iconvdata/ibm1146.h: Likewise.
26710 * iconvdata/ibm1147.h: Likewise.
26711 * iconvdata/ibm1148.h: Likewise.
26712 * iconvdata/ibm1149.h: Likewise.
26713 * iconvdata/ibm1153.h: Likewise.
26714 * iconvdata/ibm1154.h: Likewise.
26715 * iconvdata/ibm1155.h: Likewise.
26716 * iconvdata/ibm1156.h: Likewise.
26717 * iconvdata/ibm1157.h: Likewise.
26718 * iconvdata/ibm1158.h: Likewise.
26719 * iconvdata/ibm1160.h: Likewise.
26720 * iconvdata/ibm1161.h: Likewise.
26721 * iconvdata/ibm1162.h: Likewise.
26722 * iconvdata/ibm1163.h: Likewise.
26723 * iconvdata/ibm1164.h: Likewise.
26724 * iconvdata/ibm1166.h: Likewise.
26725 * iconvdata/ibm1167.h: Likewise.
26726 * iconvdata/ibm12712.h: Likewise.
26727 * iconvdata/ibm1390.h: Likewise.
26728 * iconvdata/ibm1399.h: Likewise.
26729 * iconvdata/ibm16804.h: Likewise.
26730 * iconvdata/ibm4517.h: Likewise.
26731 * iconvdata/ibm4899.h: Likewise.
26732 * iconvdata/ibm4909.h: Likewise.
26733 * iconvdata/ibm4971.h: Likewise.
26734 * iconvdata/ibm5347.h: Likewise.
26735 * iconvdata/ibm803.h: Likewise.
26736 * iconvdata/ibm856.h: Likewise.
26737 * iconvdata/ibm901.h: Likewise.
26738 * iconvdata/ibm902.h: Likewise.
26739 * iconvdata/ibm9030.h: Likewise.
26740 * iconvdata/ibm9066.h: Likewise.
26741 * iconvdata/ibm921.h: Likewise.
26742 * iconvdata/ibm922.h: Likewise.
26743 * iconvdata/ibm9448.h: Likewise.
26744 * iconvdata/isiri-3342.h: Likewise.
26745 * iconvdata/jis0201.h: Likewise.
26746 * include/link.h: Likewise.
26747 * include/netdb.h: Likewise.
26748 * inet/check_native.c: Likewise.
26749 * inet/check_pf.c: Likewise.
26750 * inet/getipv4sourcefilter.c: Likewise.
26751 * inet/getnameinfo.c: Likewise.
26752 * inet/getsourcefilter.c: Likewise.
26753 * inet/htonl.c: Likewise.
26754 * inet/setipv4sourcefilter.c: Likewise.
26755 * inet/setsourcefilter.c: Likewise.
26756 * inet/test-inet6_opt.c: Likewise.
26757 * inet/tst-network.c: Likewise.
26758 * locale/C-collate.c: Likewise.
26759 * locale/C-ctype.c: Likewise.
26760 * locale/C-time.c: Likewise.
26761 * locale/C-translit.h: Likewise.
26762 * locale/loadarchive.c: Likewise.
26763 * locale/programs/3level.h: Likewise.
26764 * locale/programs/charmap.c: Likewise.
26765 * locale/programs/charmap.h: Likewise.
26766 * locale/programs/ld-address.c: Likewise.
26767 * locale/programs/ld-collate.c: Likewise.
26768 * locale/programs/ld-ctype.c: Likewise.
26769 * locale/programs/ld-identification.c: Likewise.
26770 * locale/programs/ld-measurement.c: Likewise.
26771 * locale/programs/ld-messages.c: Likewise.
26772 * locale/programs/ld-monetary.c: Likewise.
26773 * locale/programs/ld-name.c: Likewise.
26774 * locale/programs/ld-numeric.c: Likewise.
26775 * locale/programs/ld-paper.c: Likewise.
26776 * locale/programs/ld-telephone.c: Likewise.
26777 * locale/programs/ld-time.c: Likewise.
26778 * locale/programs/linereader.c: Likewise.
26779 * locale/programs/locale.c: Likewise.
26780 * locale/programs/locarchive.c: Likewise.
26781 * locale/programs/locfile.h: Likewise.
26782 * locale/programs/repertoire.c: Likewise.
26783 * locale/programs/simple-hash.c: Likewise.
26784 * locale/programs/simple-hash.h: Likewise.
26785 * malloc/memusage.c: Likewise.
26786 * malloc/memusagestat.c: Likewise.
26787 * nis/nis_defaults.c: Likewise.
26788 * nis/nis_hash.c: Likewise.
26789 * nis/nis_print.c: Likewise.
26790 * nis/nis_xdr.c: Likewise.
26791 * nscd/connections.c: Likewise.
26792 * nscd/hstcache.c: Likewise.
26793 * nscd/nscd_gethst_r.c: Likewise.
26794 * nscd/nscd_getserv_r.c: Likewise.
26795 * nscd/nscd_helper.c: Likewise.
26796 * nscd/servicescache.c: Likewise.
26797 * nss/makedb.c: Likewise.
26798 * nss/nss_db/db-XXX.c: Likewise.
26799 * nss/nss_db/db-initgroups.c: Likewise.
26800 * nss/nss_db/db-netgrp.c: Likewise.
26801 * nss/nss_files/files-network.c: Likewise.
26802 * nss/nss_files/files-parse.c: Likewise.
26803 * posix/bug-regex5.c: Likewise.
26804 * posix/fnmatch_loop.c: Likewise.
26805 * posix/regcomp.c: Likewise.
26806 * posix/regexec.c: Likewise.
26807 * posix/tst-rfc3484-2.c: Likewise.
26808 * posix/tst-rfc3484-3.c: Likewise.
26809 * posix/tst-rfc3484.c: Likewise.
26810 * resolv/nss_dns/dns-canon.c: Likewise.
26811 * resolv/nss_dns/dns-network.c: Likewise.
26812 * resolv/res_init.c: Likewise.
26813 * resolv/res_mkquery.c: Likewise.
26814 * resolv/tst-aton.c: Likewise.
26815 * stdlib/cxa_atexit.c: Likewise.
26816 * stdlib/cxa_finalize.c: Likewise.
26817 * stdlib/gen-fpioconst.c: Likewise.
26818 * stdlib/strtol_l.c: Likewise.
26819 * string/tst-endian.c: Likewise.
26820 * sunrpc/auth_des.c: Likewise.
26821 * sunrpc/clnt_udp.c: Likewise.
26822 * sunrpc/rtime.c: Likewise.
26823 * sunrpc/svcauth_des.c: Likewise.
26824 * sunrpc/xdr.c: Likewise.
26825 * sunrpc/xdr_intXX_t.c: Likewise.
26826 * sunrpc/xdr_rec.c: Likewise.
26827 * sysdeps/generic/ldconfig.h: Likewise.
26828 * sysdeps/generic/ldsodefs.h: Likewise.
26829 * sysdeps/generic/memusage.h: Likewise.
26830 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26833 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26836 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26838 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26840 * sysdeps/posix/getaddrinfo.c: Likewise.
26841 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26842 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26843 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26844 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26845 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26846 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26847 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26848 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26849 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26850 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26851 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26852 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26853 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26854 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26855 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26856 * sysdeps/x86_64/dl-tls.h: Likewise.
26857 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26858 * time/alt_digit.c: Likewise.
26859 * time/era.c: Likewise.
26860 * wcsmbs/tst-c16c32-1.c: Likewise.
26861
8c75f674
JM
268622013-05-16 Joseph Myers <joseph@codesourcery.com>
26863
26864 * math/libm-test.inc (struct test_sincos_data): New type.
26865 (RUN_TEST_LOOP_sincos): New macro.
26866 (sincos_test_data): New variable.
26867 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26868
e6e49e59
RH
268692013-05-16 Richard Henderson <rth@redhat.com>
26870
26871 * math/atest-exp2.c (LIMB64): New macro.
26872 (CONSTSZ): New macro.
26873 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26874 (hexdig): Move ...
26875 (print_mpn_fp): ... to function scope.
26876 (read_mpn_hex): Remove.
26877 (get_log2): Remove.
26878 (exp2_mpn): Use mp_log2.
26879 (main): Use mp_exp1.
26880
15c7c18d
JM
268812013-05-16 Joseph Myers <joseph@codesourcery.com>
26882
105a07df
JM
26883 * math/libm-test.inc: Remove comment about not testing "inexact"
26884 exceptions.
26885 (INEXACT_EXCEPTION): New macro.
26886 (NO_INEXACT_EXCEPTION): Likewise.
26887 (INVALID_EXCEPTION_OK): Update value.
26888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26889 (OVERFLOW_EXCEPTION_OK): Likewise.
26890 (UNDERFLOW_EXCEPTION_OK): Likewise.
26891 (IGNORE_ZERO_INF_SIGN): Likewise.
26892 (ERRNO_UNCHANGED): Likewise.
26893 (ERRNO_EDOM): Likewise.
26894 (ERRNO_ERANGE): Likewise.
26895 (test_exceptions): Handle testing "inexact" exceptions.
26896 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26897 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26898 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26899 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26900 INEXACT_EXCEPTION.
26901 (rint_towardzero_test_data): Likewise.
26902 (rint_downward_test_data): Likewise.
26903 (rint_upward_test_data): Likewise.
26904
e9eee333
JM
26905 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26906 with OVERFLOW_EXCEPTION.
26907 (exp10_test_data): Likewise.
26908 (exp2_test_data): Likewise.
26909 (expm1_test_data): Likewise.
26910 (lgamma_test_data): Likewise.
26911 (pow_test_data): Likewise.
26912 (tgamma_test_data): Likewise.
26913 (yn_test_data): Remove duplicate test of overflow.
26914
1c38ff73
JM
26915 * math/libm-test.inc (struct test_cc_c_data): New type.
26916 (RUN_TEST_LOOP_cc_c): New macro.
26917 (cpow_test_data): New variable.
26918 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26919
15c7c18d
JM
26920 * math/libm-test.inc (struct test_f_L_data): New type.
26921 (RUN_TEST_LOOP_f_L): New macro.
26922 (llrint_test_data): New variable.
26923 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26924 (llrint_tonearest_test_data): New variable.
26925 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26926 (llrint_towardzero_test_data): New variable.
26927 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26928 (llrint_downward_test_data): New variable.
26929 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26930 (llrint_upward_test_data): New variable.
26931 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26932 (llround_test_data): New variable.
26933 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26934
f137ff13
PC
269352013-05-13 Peter Collingbourne <pcc@google.com>
26936
26937 * math/atest-exp2.c (get_log2): Remove const attribute.
26938
3608cb24
JM
269392013-05-15 Joseph Myers <joseph@codesourcery.com>
26940
26941 * math/libm-test.inc (struct test_f_l_data): New type.
26942 (RUN_TEST_LOOP_f_l): New macro.
26943 (lrint_test_data): New variable.
26944 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26945 (lrint_tonearest_test_data): New variable.
26946 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26947 (lrint_towardzero_test_data): New variable.
26948 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26949 (lrint_downward_test_data): New variable.
26950 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26951 (lrint_upward_test_data): New variable.
26952 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26953 (lround_test_data): New variable.
26954 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26955
39b1f617
PC
269562013-05-15 Peter Collingbourne <pcc@google.com>
26957
1deff3dc
PC
26958 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26959 (EXTRACT_WORDS64) Use where appropriate.
26960 (INSERT_WORDS64) Likewise.
26961
791f3ba0
PC
26962 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26963 constraints with x constraints.
26964 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26965
39b1f617
PC
26966 * malloc/obstack.c (_obstack_compat): Add initializer.
26967
12fba011
EM
269682013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26969
26970 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26971 si_trapno and add si_addr_lsb to _sifields.sigfault.
26972 (si_trapno): Remove macro.
26973 (si_addr_lsb): Define new macro.
26974 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26975
d369f531
JM
269762013-05-15 Joseph Myers <joseph@codesourcery.com>
26977
b861c6c4
JM
26978 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26979 instead of TEST_f_l.
26980 (llrint_test_tonearest): Likewise.
26981 (llrint_test_towardzero): Likewise.
26982 (llrint_test_downward): Likewise.
26983 (llrint_test_upward): Likewise.
26984 (llround_test): Likewise.
26985
7abeee12
JM
26986 * math/libm-test.inc (struct test_f_i_data): Add comment.
26987 (RUN_TEST_LOOP_f_b): New macro.
26988 (RUN_TEST_LOOP_f_b_tg): Likewise.
26989 (finite_test_data): New variable.
26990 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26991 (isfinite_test_data): New variable.
26992 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26993 (isinf_test_data): New variable.
26994 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26995 (isnan_test_data): New variable.
26996 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26997 (isnormal_test_data): New variable.
26998 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26999 (issignaling_test_data): New variable.
27000 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27001 (signbit_test_data): New variable.
27002 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27003
cbe8c4d3
JM
27004 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27005 with INVALID_EXCEPTION.
27006 (acosh_test_data): Likewise.
27007 (asin_test_data): Likewise.
27008 (atanh_test_data): Likewise.
27009 (fmod_test_data): Likewise.
27010 (log_test_data): Likewise.
27011 (log10_test_data): Likewise.
27012 (log2_test_data): Likewise.
27013 (pow_test_data): Likewise.
27014 (sqrt_test_data): Likewise.
27015 (y0_test_data): Likewise.
27016 (y1_test_data): Likewise.
27017 (yn_test_data): Likewise.
27018
5575c0e5
JM
27019 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27020 function contents.
27021
d369f531
JM
27022 * math/libm-test.inc (struct test_ff_i_data): New type.
27023 (RUN_TEST_LOOP_ff_i_tg): New macro.
27024 (isgreater_test_data): New variable.
27025 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27026 (isgreaterequal_test_data): New variable.
27027 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27028 (isless_test_data): New variable.
27029 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27030 (islessequal_test_data): New variable.
27031 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27032 (islessgreater_test_data): New variable.
27033 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27034 (isunordered_test_data): New variable.
27035 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27036
781fd748
DM
270372013-05-14 David S. Miller <davem@davemloft.net>
27038
27039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27040
87aa21df
JM
270412013-05-14 Joseph Myers <joseph@codesourcery.com>
27042
5e908270
JM
27043 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27044
f71172e5
JM
27045 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27046 extra_test to int.
27047 (struct test_f_i_data): Change type of max_ulp to int.
27048
8cfa635a
JM
27049 * math/libm-test.inc (test_ffI_f1_data): New type.
27050 (RUN_TEST_LOOP_ffI_f1): New macro.
27051 (remquo_test_data): New variable.
27052 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27053
2bcb36b2
JM
27054 * setjmp/tst-setjmp-fp.c: New file.
27055 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27056 (link-libm): New variable.
27057 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27058
acbd839a
JM
27059 * math/libm-test.inc (struct test_f_i_data): New type.
27060 (RUN_TEST_LOOP_f_i): New macro.
27061 (RUN_TEST_LOOP_f_i_tg): Likewise.
27062 (fpclassify_test_data): New variable.
27063 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27064 (ilogb_test_data): New variable.
27065 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27066
e414d745
JM
27067 * math/libm-test.inc (scalbln_test): Correct function name in END
27068 call.
27069
d9c2a0fd
JM
27070 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27071 (RUN_TEST_LOOP_fI_f1): New macro.
27072 (frexp_test_data): New variable.
27073 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27074
9dc9095d
JM
27075 * math/libm-test.inc (struct test_fF_f1_data): New type.
27076 (RUN_TEST_LOOP_fF_f1): New macro.
27077 (modf_test_data): New variable.
27078 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27079
87aa21df
JM
27080 * math/libm-test.inc (struct test_f_f1_data): New type.
27081 (RUN_TEST_LOOP_f_f1): New macro.
27082 (gamma_test_data): New variable.
27083 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27084 (lgamma_test_data): New variable.
27085 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27086
141af660
CD
270872013-05-13 Carlos O'Donell <carlos@redhat.com>
27088
27089 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27090 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27091 (main): Comment "tls" pseudo-hwcap.
27092
6d33265c
JM
270932013-05-13 Joseph Myers <joseph@codesourcery.com>
27094
68fc074c
JM
27095 * math/libm-test.inc (struct test_fl_f_data): New type.
27096 (RUN_TEST_LOOP_fl_f): New variable.
27097 (scalbln_test_data): New variable.
27098 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27099
243216e1
JM
27100 * math/libm-test.inc (struct test_fi_f_data): New type.
27101 (RUN_TEST_LOOP_fi_f): New macro.
27102 (ldexp_test_data): New variable.
27103 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27104 (scalbn_test_data): New variable.
27105 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27106
6a1992e2
JM
27107 * math/libm-test.inc (struct test_c_f_data): New type.
27108 (RUN_TEST_LOOP_c_f): New macro.
27109 (cabs_test_data): New variable.
27110 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27111 (carg_test_data): New variable.
27112 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27113 (cimag_test_data): New variable.
27114 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27115 (creal_test_data): New variable.
27116 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27117
0e400df5
JM
27118 * math/libm-test.inc (struct test_if_f_data): New type.
27119 (RUN_TEST_LOOP_if_f): New macro.
27120 (jn_test_data): New variable.
27121 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27122 (yn_test_data): New variable.
27123 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27124
6d33265c
JM
27125 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27126
f98ece5f
AZ
271272013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27128
27129 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27130 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27131
0f7d347b
SP
271322013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27133
43fe811b
SP
27134 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27135 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27136 (bench-deps): Add bench-timing.h.
27137 * benchtests-bench-skeleton.c: Include bench-timing.h.
27138 (main): Use TIMING_* macros instead of clock_gettime.
27139 * benchtests/bench-timing.h: New file.
27140
0f7d347b
SP
27141 [BZ #14582]
27142 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27143 Renamed from _LIB_VERSION.
27144 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27145
601a3a5f
JM
271462013-05-12 Joseph Myers <joseph@codesourcery.com>
27147
4f184d30
JM
27148 * math/libm-test.inc (struct test_fff_f_data): New type.
27149 (RUN_TEST_LOOP_fff_f): New macro.
27150 (fma_test_data): New variable.
27151 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27152 (fma_towardzero_test_data): New variable.
27153 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27154 (fma_downward_test_data): New variable.
27155 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27156 (fma_upward_test_data): New variable.
27157 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27158
08198877
JM
27159 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27160 (struct test_c_c_data): New type.
27161 (RUN_TEST_LOOP_c_c): New macro.
27162 (cacos_test_data): New variable.
27163 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27164 (cacosh_test_data): New variable.
27165 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27166 (casin_test_data): New variable.
27167 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27168 (casinh_test_data): New variable.
27169 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27170 (catan_test_data): New variable.
27171 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27172 (catanh_test_data): New variable.
27173 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27174 (ccos_test_data): New variable.
27175 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27176 (ccosh_test_data): New variable.
27177 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27178 (cexp_test_data): New variable.
27179 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27180 (clog_test_data): New variable.
27181 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27182 (clog10_test_data): New variable.
27183 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27184 (conj_test_data): New variable.
27185 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27186 (cproj_test_data): New variable.
27187 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27188 (csin_test_data): New variable.
27189 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27190 (csinh_test_data): New variable.
27191 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27192 (csqrt_test_data): New variable.
27193 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27194 (ctan_test_data): New variable.
27195 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27196 (ctan_tonearest_test_data): New variable.
27197 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27198 (ctan_towardzero_test_data): New variable.
27199 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27200 (ctan_downward_test_data): New variable.
27201 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27202 (ctan_upward_test_data): New variable.
27203 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27204 (ctanh_test_data): New variable.
27205 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27206 (ctanh_tonearest_test_data): New variable.
27207 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27208 (ctanh_towardzero_test_data): New variable.
27209 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27210 (ctanh_downward_test_data): New variable.
27211 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27212 (ctanh_upward_test_data): New variable.
27213 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27214 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27215 of BUILD_COMPLEX.
27216
601a3a5f
JM
27217 * math/libm-test.inc (struct test_ff_f_data): New type.
27218 (struct test_ff_f_data_nexttoward): Likewise.
27219 (RUN_TEST_LOOP_2_f): New macro.
27220 (RUN_TEST_LOOP_ff_f): Likewise.
27221 (atan2_test_data): New variable.
27222 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27223 (copysign_test_data): New variable.
27224 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27225 (fdim_test_data): New variable.
27226 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27227 (fmax_test_data): New variable.
27228 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27229 (fmin_test_data): New variable.
27230 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27231 (fmod_test_data): New variable.
27232 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27233 (hypot_test_data): New variable.
27234 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27235 (nextafter_test_data): New variable.
27236 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27237 (nexttoward_test_data): New variable.
27238 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27239 (pow_test_data): New variable.
27240 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27241 (pow_tonearest_test_data): New variable.
27242 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27243 (pow_towardzero_test_data): New variable.
27244 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27245 (pow_downward_test_data): New variable.
27246 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27247 (pow_upward_test_data): New variable.
27248 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27249 (remainder_test_data): New variable.
27250 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27251 (scalb_test_data): New variable.
27252 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27253 * sysdeps/i386/fpu/libm-test-ulps: Update.
27254
74c57478
JM
272552013-05-11 Joseph Myers <joseph@codesourcery.com>
27256
8329e4da
JM
27257 * math/libm-test.inc (fma_test): Use max_value instead of local
27258 variable fltmax.
27259 (nextafter_test): Likewise.
27260
74c57478
JM
27261 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27262 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27263 (acos_downward_test_data): New variable.
27264 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27265 (acos_upward_test_data): New variable.
27266 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27267 (acosh_test_data): New variable.
27268 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27269 (asin_test_data): New variable.
27270 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27271 (asin_tonearest_test_data): New variable.
27272 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27273 (asin_towardzero_test_data): New variable.
27274 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27275 (asin_downward_test_data): New variable.
27276 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27277 (asin_upward_test_data): New variable.
27278 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27279 (asinh_test_data): New variable.
27280 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27281 (atan_test_data): New variable.
27282 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27283 (atanh_test_data): New variable.
27284 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27285 (cbrt_test_data): New variable.
27286 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27287 (ceil_test_data): New variable.
27288 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27289 (cos_test_data): New variable.
27290 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27291 (cos_tonearest_test_data): New variable.
27292 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27293 (cos_towardzero_test_data): New variable.
27294 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27295 (cos_downward_test_data): New variable.
27296 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27297 (cos_upward_test_data): New variable.
27298 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27299 (cosh_test_data): New variable.
27300 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27301 (cosh_tonearest_test_data): New variable.
27302 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27303 (cosh_towardzero_test_data): New variable.
27304 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27305 (cosh_downward_test_data): New variable.
27306 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27307 (cosh_upward_test_data): New variable.
27308 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27309 (erf_test_data): New variable.
27310 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27311 (erfc_test_data): New variable.
27312 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27313 (exp_test_data): New variable.
27314 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27315 (exp_tonearest_test_data): New variable.
27316 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27317 (exp_towardzero_test_data): New variable.
27318 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27319 (exp_downward_test_data): New variable.
27320 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27321 (exp_upward_test_data): New variable.
27322 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27323 (exp10_test_data): New variable.
27324 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27325 (exp2_test_data): New variable.
27326 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27327 (expm1_test_data): New variable.
27328 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27329 (fabs_test_data): New variable.
27330 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27331 (floor_test_data): New variable.
27332 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27333 (j0_test_data): New variable.
27334 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27335 (j1_test_data): New variable.
27336 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27337 (log_test_data): New variable.
27338 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27339 (log10_test_data): New variable.
27340 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27341 (log1p_test_data): New variable.
27342 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27343 (log2_test_data): New variable.
27344 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27345 (logb_test_data): New variable.
27346 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27347 (logb_downward_test_data): New variable.
27348 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27349 (nearbyint_test_data): New variable.
27350 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27351 (rint_test_data): New variable.
27352 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27353 (rint_tonearest_test_data): New variable.
27354 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27355 (rint_towardzero_test_data): New variable.
27356 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27357 (rint_downward_test_data): New variable.
27358 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27359 (rint_upward_test_data): New variable.
27360 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27361 (round_test_data): New variable.
27362 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27363 (sin_test_data): New variable.
27364 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27365 (sin_tonearest_test_data): New variable.
27366 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27367 (sin_towardzero_test_data): New variable.
27368 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27369 (sin_downward_test_data): New variable.
27370 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27371 (sin_upward_test_data): New variable.
27372 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27373 (sinh_test_data): New variable.
27374 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27375 (sinh_tonearest_test_data): New variable.
27376 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27377 (sinh_towardzero_test_data): New variable.
27378 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27379 (sinh_downward_test_data): New variable.
27380 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27381 (sinh_upward_test_data): New variable.
27382 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27383 (sqrt_test_data): New variable.
27384 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27385 (tan_test_data): New variable.
27386 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27387 (tan_tonearest_test_data): New variable.
27388 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27389 (tan_towardzero_test_data): New variable.
27390 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27391 (tan_downward_test_data): New variable.
27392 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27393 (tan_upward_test_data): New variable.
27394 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27395 (tanh_test_data): New variable.
27396 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27397 (tgamma_test_data): New variable.
27398 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27399 (trunc_test_data): New variable.
27400 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27401 (y0_test_data): New variable.
27402 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27403 (y1_test_data): New variable.
27404 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27405 (significand_test_data): New variable.
27406 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27407
7187d844
CG
274082013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27409
27410 [BZ #12387]
27411 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27412
f63fae73
PT
274132013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27414
27415 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27416
8a67a4b3
AJ
274172013-05-10 Andreas Jaeger <aj@suse.de>
27418
27419 [BZ #15448]
27420 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27421 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27422
51df539d
JM
274232013-05-10 Joseph Myers <joseph@codesourcery.com>
27424
27425 * math/gen-libm-test.pl (adjust_arg): New function.
27426 (special_functions): Handle generating output in both functions
27427 and arrays.
27428 (parse_args): Likewise.
27429 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27430 $in_func argument to parse_args.
27431 * math/libm-test.inc (struct test_f_f_data): New type.
27432 (IF_ROUND_INIT_): New macro.
27433 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27434 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27435 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27436 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27437 (ROUND_RESTORE_): Likewise.
27438 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27439 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27440 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27441 (ROUND_RESTORE_FE_UPWARD): Likewise.
27442 (RUN_TEST_LOOP_f_f): New macro.
27443 (acos_test_data): New variable.
27444 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27445 (acos_tonearest_test_data): New variable.
27446 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27447
5c637fe5
SP
274482013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27449
27450 * benchtests/bench-skeleton.c (startup): Fix coding style.
27451
ab2b9461
JM
274522013-05-10 Joseph Myers <joseph@codesourcery.com>
27453
27454 [BZ #6809]
27455 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27456 negative infinity argument.
27457 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27458 negative infinity argument.
27459 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27460 negative infinity argument.
27461 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27462 domain errors.
27463
4c0fe6fe
FW
274642013-05-10 Florian Weimer <fweimer@redhat.com>
27465
27466 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27467 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27468 * iconv/iconv_prog.c (main): Likewise.
27469 * locale/programs/charmap-dir.c (charmap_readdir)
27470 (fopen_uncompressed): Likewise.
27471 * locale/programs/locfile.c (siblings_uncached)
27472 (write_locale_data): Use lstat64 instead of lstat.
27473 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27474 stat.
27475
a3375d29
AJ
274762013-05-10 Andreas Jaeger <aj@suse.de>
27477
27478 [BZ #15395]
27479 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27480 localization.
27481 Include <locale.h>.
27482
36129722
CD
274832013-05-09 Carlos O'Donell <carlos@redhat.com>
27484
27485 * elf/dl-close.c (_dl_close_worker): Add comments.
27486
faa7f811
JM
274872013-05-09 Joseph Myers <joseph@codesourcery.com>
27488
ed41ffef
JM
27489 [BZ #15359]
27490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27491 high part of pi/2.
27492 (__ieee754_rem_pio2l): Update comments.
27493
d0213cd0
JM
27494 [BZ #15429]
27495 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27496 high part of pi/2.
27497 (__ieee754_rem_pio2l): Update comments.
27498
0d3e777a
JM
27499 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27500 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27501
24f56066
JM
27502 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27503 M_PI_4l.
27504
faa7f811
JM
27505 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27506 (M_PI_34_LOG10El): Likewise.
27507 (M_PI2_LOG10El): Likewise.
27508 (M_PI4_LOG10El): Likewise.
27509 (M_PI_LOG10El): Likewise.
27510
e9a5e0fd
AZ
275112013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27512
27513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27514
d8cd06db
JM
275152013-05-08 Joseph Myers <joseph@codesourcery.com>
27516
a0d9f9d7
JM
27517 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27518 (MINUS_ZERO_INIT): Likewise.
27519 (PLUS_INFTY_INIT): Likewise.
27520 (MINUS_INFTY_INIT): Likewise.
27521 (QNAN_VALUE_INIT): Likewise.
27522 (MAX_VALUE_INIT): Likewise.
27523 (MIN_VALUE_INIT): Likewise.
27524 (MIN_SUBNORM_VALUE_INIT): Likewise.
27525 (plus_zero): Initialize with PLUS_ZERO_INIT.
27526 (minus_zero): Initialize with MINUS_ZERO_INIT.
27527 (plus_infty): Initialize with PLUS_INFTY_INIT.
27528 (minus_infty): Initialize with MINUS_INFTY_INIT.
27529 (qnan_value): Initialize with QNAN_VALUE_INIT.
27530 (max_value): Initialize with MAX_VALUE_INIT.
27531 (min_value): Initialize with MIN_VALUE_INIT.
27532 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27533
ae08db3b
JM
27534 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27535 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27536 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27537 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27538
f44bf14a
JM
27539 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27540 (RUN_TEST_2_f): Likewise.
27541 (RUN_TEST_ff_f): Likewise.
27542 (RUN_TEST_fi_f): Likewise.
27543 (RUN_TEST_fl_f): Likewise.
27544 (RUN_TEST_fff_f): Likewise.
27545 (RUN_TEST_c_f): Likewise.
27546 (RUN_TEST_f_f1): Likewise.
27547 (RUN_TEST_fF_f1): Likewise.
27548 (RUN_TEST_fI_f1): Likewise.
27549 (RUN_TEST_ffI_f1): Likewise.
27550 (RUN_TEST_c_c): Likewise.
27551 (RUN_TEST_cc_c): Likewise.
27552 (RUN_TEST_f_i): Likewise.
27553 (RUN_TEST_f_i_tg): Likewise.
27554 (RUN_TEST_ff_i_tg): Likewise.
27555 (RUN_TEST_f_b): Likewise.
27556 (RUN_TEST_f_b_tg): Likewise.
27557 (RUN_TEST_f_l): Likewise.
27558 (RUN_TEST_f_L): Likewise.
27559 (RUN_TEST_sincos): Likewise.
27560 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27561 whether to show exceptions. Do not include ");\n" in return
27562 value.
27563 (special_functions): Output call to RUN_TEST_sincos instead of
27564 check_float calls. Update calls to new_test.
27565 (parse_args): Output call to single RUN_TEST_* macro instead of
27566 check_* calls and other assignments. Update calls to new_test.
27567
d8cd06db
JM
27568 [BZ #2546]
27569 [BZ #2560]
27570 [BZ #5159]
27571 [BZ #15426]
27572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27573 input to result for tgamma overflow.
27574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27575 (gamma_coeff): New variable.
27576 (NCOEFF): New macro.
27577 (gamma_positive): New function.
27578 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27579 underflow here. Use gamma_positive instead of exp (lgamma) for
27580 other arguments.
27581 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27582 (gamma_coeff): New variable.
27583 (NCOEFF): New macro.
27584 (gammaf_positive): New function.
27585 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27586 underflow here. Use gamma_positive instead of exp (lgamma) for
27587 other arguments.
27588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27589 (gamma_coeff): New variable.
27590 (NCOEFF): New macro.
27591 (gammal_positive): New function.
27592 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27593 underflow here. Use gamma_positive instead of exp (lgamma) for
27594 other arguments.
27595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27596 (gamma_coeff): New variable.
27597 (NCOEFF): New macro.
27598 (gammal_positive): New function.
27599 (__ieee754_gammal_r): Handle positive infinity, overflow and
27600 underflow here. Handle NaN the same as positive infinity. Remove
27601 check x < 0xffffffff for negative integers. Use gamma_positive
27602 instead of exp (lgamma) for other arguments.
27603 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27604 (gamma_coeff): New variable.
27605 (NCOEFF): New macro.
27606 (gammal_positive): New function.
27607 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27608 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27612 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27613 * sysdeps/generic/math_private.h (__gamma_productf): New
27614 prototype.
27615 (__gamma_product): Likewise.
27616 (__gamma_productl): Likewise.
27617 * math/Makefile (libm-calls): Add gamma_product.
27618 * math/libm-test.inc (tgamma_test): Add more tests.
27619 * sysdeps/i386/fpu/libm-test-ulps: Update.
27620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27621
bb7cf681
OB
276222013-05-08 Ondřej Bílka <neleai@seznam.cz>
27623
27624 * benchtests/bench-skeleton.c (main): Preheat CPU.
27625
ba853947
AJ
276262013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27627
27628 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27629
8347c74c
RM
276302013-05-07 Roland McGrath <roland@hack.frob.com>
27631
27632 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27633 and _dl_skip_args_internal.
27634
e8dd4791
CD
276352013-05-07 Carlos O'Donell <carlos@redhat.com>
27636
27637 * manual/message.texi (Message Translation): Talk about users.
27638 Message to key mapping impacts design.
27639
c7405830
RM
276402013-05-06 Roland McGrath <roland@hack.frob.com>
27641
a9173057
RM
27642 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27643
976e2f03
RM
27644 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27645
9723ffc5
RM
27646 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27647 * sysdeps/wordsize-64/glob64.c: ... here.
27648
962e6658
RM
27649 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27650 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27651 New macros.
27652
ee586a6d
RM
27653 * debug/getlogin_r_chk.c: Moved to ...
27654 * login/getlogin_r_chk.c: ... here.
27655 * debug/Makefile (routines): Move getlogin_r_chk to ...
27656 * login/Makefile (routines): ... here.
27657 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27658 * login/Versions (libc: GLIBC_2.4): ... here.
27659
355f9165
RM
27660 * io/poll.c (__poll): Renamed from poll.
27661 Add libc_hidden_def.
27662 (poll): Define as weak alias.
27663
bd9ffde6
RM
27664 * debug/ptsname_r_chk.c: Moved to ...
27665 * login/ptsname_r_chk.c: ... here.
27666 * debug/Makefile (routines): Move ptsname_r_chk to ...
27667 * login/Makefile (routines): ... here.
27668 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27669 * login/Versions (libc: GLIBC_2.4): ... here.
27670
8fb16a04
RM
27671 * posix/getlogin.c: Moved to ...
27672 * login/getlogin.c: ... here.
27673 * posix/getlogin_r.c: Moved to ...
27674 * login/getlogin_r.c: ... here.
27675 * posix/getlogin_r.c: Moved to ...
27676 * login/getlogin_r.c: ... here.
27677 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27678 * login/Makefile (routines): ... here.
27679 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27680 * login/Versions (libc: GLIBC_2.0): ... here.
27681
b99b892f
RM
27682 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27683 (setrlimit): Define as weak alias.
27684
c7405830
RM
27685 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27686 Call __ names for open, ftruncate, and close.
27687 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27688 (truncate): Define as weak alias.
27689
5bf96de5
JM
276902013-05-06 Joseph Myers <joseph@codesourcery.com>
27691
9ea3513c
JM
27692 * math/gen-libm-test.pl (parse_args): Initialize x before each
27693 test of frexp, modf and remquo.
27694
5bf96de5
JM
27695 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27696 test signgam value.
27697
16e616a7
AZ
276982013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27699
27700 [BZ #15418]
27701 [BZ #15419]
27702 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27703 internal tests.
27704 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27705
d5e82754
RM
277062013-05-06 Roland McGrath <roland@hack.frob.com>
27707
27708 * elf/dl-writev.h: New file.
27709 * elf/dl-misc.c: Include it.
27710 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27711 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27712
a7548d41
JM
277132013-05-04 Joseph Myers <joseph@codesourcery.com>
27714
b7dab1e4
JM
27715 * math/libm-test.inc (noXFails): Remove variable.
27716 (noXPasses): Likewise.
27717 (BUILD_COMPLEX_INT): Remove macro.
27718 (print_screen): Remove xfail argument.
27719 (print_screen_max_error): Likewise.
27720 (update_stats): Likewise.
27721 (print_max_error): Likewise. Update calls to other affected
27722 functions.
27723 (print_complex_max_error): Likewise.
27724 (test_single_exception): Update calls to print_screen.
27725 (test_single_errno): Likewise.
27726 (check_float_internal): Remove xfail argument. Update calls to
27727 other affected functions.
27728 (check_float): Likewise.
27729 (check_complex): Likewise.
27730 (check_int): Likewise.
27731 (check_long): Likewise.
27732 (check_bool): Likewise.
27733 (check_longlong): Likewise.
27734 (main): Don't print noXFails and noXPasses.
27735 * math/gen-libm-test.pl (top level): Don't mention expected
27736 failure handling in comment.
27737 (new_test): Don't handle expected failures.
27738 (parse_args): Don't mention expected failure handling in comment.
27739 (generate_testfile): Don't handle expected failures.
27740 (parse_ulps): Likewise.
27741 (print_ulps_file): Likewise.
27742 (get_failure): Remove function.
27743 (output_test): Don't handle expected failures.
27744 * make/README.libm-test: Don't mention expected failure handling.
27745
a7548d41
JM
27746 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27747 (minus_zero): Likewise.
27748 (plus_infty): Likewise.
27749 (minus_infty): Likewise.
27750 (qnan_value): Likewise.
27751 (max_value): Likewise.
27752 (min_value): Likewise.
27753 (min_subnorm_value): Likewise.
27754 (initialize): Do not initialize those variables dynamically.
27755
60bfd54c
RM
277562013-05-03 Roland McGrath <roland@hack.frob.com>
27757
cc0e6ed8
RM
27758 * io/open.c (__open_2): Moved to ...
27759 * io/open_2.c: ... this new file.
27760 * io/open64.c (__open64_2): Moved to ...
27761 * io/open64_2.c: ... this new file.
27762 * io/openat.c (__openat_2): Moved to ...
27763 * io/openat_2.c: ... this new file.
27764 * io/openat64.c (__openat64_2): Moved to ...
27765 * io/openat64_2.c: ... this new file.
27766 * io/Makefile (routines): Add them.
27767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27768 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27769 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27770 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27771 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27772 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27773 (__openat64): Add hidden_ver.
27774 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27775 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27776
60bfd54c
RM
27777 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27778 Separately conditionalize setting of GLRO(dl_sysinfo) so
27779 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27780 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27781
83e7640f
AZ
277822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27783
27784 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27786 definition.
27787 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27788 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27789 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27790 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27791 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27792
d5dc2af3
JM
277932013-05-03 Joseph Myers <joseph@codesourcery.com>
27794
c31a5b1e
JM
27795 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27796 test signgam value.
27797
d5dc2af3
JM
27798 * math/libm-test.inc (hypot_test): Do not use
27799 IGNORE_ZERO_INF_SIGN.
27800
164fd39d
AJ
278012013-05-03 Andreas Jaeger <aj@suse.de>
27802
27803 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27804 Linux 3.9.
27805 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27806 (PF_MAX): Adjust for VSOCK change.
27807
8237f48c
AZ
278082013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27809
27810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27811
9df02941
CD
278122013-05-02 Carlos O'Donell <carlos@redhat.com>
27813
27814 [BZ #15264]
27815 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27816 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27817 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27818
d422395e
DM
278192013-05-02 David S. Miller <davem@davemloft.net>
27820
27821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27822
a07c5731
OB
278232013-05-01 Ondřej Bílka <neleai@seznam.cz>
27824
27825 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27826
1324e37f
RM
278272013-05-01 Roland McGrath <roland@hack.frob.com>
27828
27829 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27830
0695940b
RS
278312013-05-01 Richard Smith <richard@metafoo.co.uk>
27832
bb5f27ad 27833 [BZ #14952]
0695940b
RS
27834 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27835 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27836 Use __attribute__ ((__gnu_inline__)).
27837 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27838 Don't use __attribute__ ((__gnu_inline__)).
27839
10de07f5
JM
278402013-05-01 Joseph Myers <joseph@codesourcery.com>
27841
27842 [BZ #15423]
27843 * math/s_catan.c (__catan): Handle small real or imaginary part of
27844 input specially to avoid spurious underflow.
27845 * math/s_catanf.c (__catanf): Likewise.
27846 * math/s_catanh.c (__catanh): Likewise.
27847 * math/s_catanhf.c (__catanhf): Likewise.
27848 * math/s_catanhl.c (__catanhl): Likewise.
27849 * math/s_catanl.c (__catanl): Likewise.
27850 * math/libm-test.inc (catan_test): Add more tests.
27851 (catanh_test): Likewise.
27852 * sysdeps/i386/fpu/libm-test-ulps: Update.
27853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27854
cb4d5414
AZ
278552013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27856
27857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27858
caf84319
JM
278592013-04-30 Joseph Myers <joseph@codesourcery.com>
27860
27861 [BZ #15416]
27862 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27863 accurately for denominator in atan2.
27864 * math/s_catanf.c (__catanf): Likewise.
27865 * math/s_catanh.c (__catanh): Likewise.
27866 * math/s_catanhf.c (__catanhf): Likewise.
27867 * math/s_catanhl.c (__catanhl): Likewise.
27868 * math/s_catanl.c (__catanl): Likewise.
27869 * math/libm-test.inc (catan_test): Add more tests.
27870 (catanh_test): Likewise.
27871 * sysdeps/i386/fpu/libm-test-ulps: Update.
27872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873
d569c6ee
SP
278742013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27875
6dbe713d
SP
27876 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27877
f0ee064b
SP
27878 * benchtests/Makefile (bench): Remove slow benchmarks.
27879 * benchtests/atan-inputs: Add slow benchmark inputs.
27880 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27881 (BENCH_FUNC): Accept variant offset.
27882 (VARIANT): Define.
27883 * benchtests/bench-skeleton.c (main): Run benchmark for each
27884 variant.
27885 * benchtests/cos-inputs: Add slow benchmark inputs.
27886 * benchtests/exp-inputs: Likewise.
27887 * benchtests/pow-inputs: Likewise.
27888 * benchtests/sin-inputs: Likewise.
27889 * benchtests/slowatan-inputs: Remove.
27890 * benchtests/slowatan.c: Remove.
27891 * benchtests/slowcos-inputs: Remove.
27892 * benchtests/slowcos.c: Remove.
27893 * benchtests/slowexp-inputs: Remove.
27894 * benchtests/slowexp.c: Remove.
27895 * benchtests/slowpow-inputs: Remove.
27896 * benchtests/slowpow.c: Remove.
27897 * benchtests/slowsin-inputs: Remove.
27898 * benchtests/slowsin.c: Remove.
27899 * benchtests/slowtan-inputs: Remove.
27900 * benchtests/slowtan.c: Remove.
27901 * benchtests/tan-inputs: Add slow benchmark inputs.
27902 * scripts/bench.pl: Parse comments and directives.
27903
d569c6ee
SP
27904 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27905 in CPPFLAGS.
27906 ($(objpfx)bench-%.c): Remove *-ITER.
27907 * benchtests/bench-modf.c: Remove definition of ITER.
27908 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27909 (main): Loop for DURATION seconds instead of fixed number of
27910 iterations.
27911 * scripts/bench.pl: Don't expect iterations in parameters.
27912
a6a242fe
RM
279132013-04-29 Roland McGrath <roland@hack.frob.com>
27914
27915 * io/fchdir.c (__fchdir): Renamed from fchdir.
27916 (fchdir): Define as weak alias.
27917
f2da7793
JM
279182013-04-29 Joseph Myers <joseph@codesourcery.com>
27919
27920 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27921 (ERRNO_EDOM): Likewise.
27922 (ERRNO_ERANGE): Likewise.
27923 (noErrnoTests): New variable.
27924 (init_max_error): Set errno to 0.
27925 (test_single_errno): New function.
27926 (test_errno): Likewise.
27927 (check_float_internal): Call test_errno. Set errno to 0.
27928 (check_complex): Refer to errno tests in comment.
27929 (check_int): Call test_errno. Set errno to 0.
27930 (check_long): Likewise.
27931 (check_bool): Likewise.
27932 (check_longlong): Likewise.
27933 (cos_test): Use ERRNO_* flags for errno tests instead of
27934 check_int.
27935 (expm1_test): Likewise.
27936 (fmod_test): Likewise.
27937 (ilogb_test): Likewise.
27938 (lgamma_test): Likewise.
27939 (pow_test): Likewise.
27940 (remainder_test): Likewise.
27941 (sin_test): Likewise.
27942 (tan_test): Likewise.
27943 (yn_test): Likewise.
27944 (initialize): Set errno to 0.
27945 (main): Print number of errno tests.
27946 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27947
b1a36ceb
AJ
279482013-04-29 Andreas Jaeger <aj@suse.de>
27949
c3ed8088
AJ
27950 [BZ #15084]
27951 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27952 and RES_USEVC.
27953
f1a24198
AJ
27954 [BZ #15085]
27955 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27956 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27957 unimplemented.
27958
9ce3b2cb
AJ
27959 [BZ #15380]
27960 * stdlib/random.c (__initstate): Return NULL if
27961 __initstate fails.
27962
f1a24198 27963 [BZ #15086]
b1a36ceb
AJ
27964 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27965 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27966 RES_SNGLKUPREOP.
27967
7e7b6f36
AZ
279682013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27969
27970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27971
4d14f449
JM
279722013-04-29 Joseph Myers <joseph@codesourcery.com>
27973
27974 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27975 of individual tests.
27976 (casin_test): Likewise.
27977 (casinh_test): Likewise.
27978
5b4217d7
JM
279792013-04-27 Joseph Myers <joseph@codesourcery.com>
27980
27981 [BZ #15409]
27982 * math/s_catan.c (__catan): Handle arguments with large real or
27983 imaginary part separately without squaring.
27984 * math/s_catanf.c (__catanf): Likewise.
27985 * math/s_catanh.c (__catanh): Likewise.
27986 * math/s_catanhf.c (__catanhf): Likewise.
27987 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27988 and redefine.
27989 (__catanhl): Handle arguments with large real or imaginary part
27990 separately without squaring.
27991 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27992 and redefine.
27993 (__catanl): Handle arguments with large real or imaginary part
27994 separately without squaring.
27995 * math/libm-test.inc (catan_test): Add more tests.
27996 (catanh_test): Likewise.
27997 * sysdeps/i386/fpu/libm-test-ulps: Update.
27998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27999
4220c3ef
AJ
280002013-04-27 Andreas Jaeger <aj@suse.de>
28001
28002 [BZ #15007]
28003 * stdlib/stdlib.h: Update guards for qecvt.
28004 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28005 <stdlib.h>.
28006
4721b2d1
AM
280072013-04-27 Allan McRae <allan@archlinux.org>
28008
28009 * sysdeps/i386/fpu/libm-test-ulps: Update.
28010
f0302940
JM
280112013-04-26 Joseph Myers <joseph@codesourcery.com>
28012
9457fd95
JM
28013 [BZ #15406]
28014 * math/s_catan.c: Include <float.h>.
28015 (__catan): Ensure underflow exception occurs for underflowed
28016 result.
28017 * math/s_catanf.c: Include <float.h>.
28018 (__catanf): Ensure underflow exception occurs for underflowed
28019 result.
28020 * math/s_catanh.c: Include <float.h>.
28021 (__catanh): Ensure underflow exception occurs for underflowed
28022 result.
28023 * math/s_catanhf.c: Include <float.h>.
28024 (__catanhf): Ensure underflow exception occurs for underflowed
28025 result.
28026 * math/s_catanhl.c: Include <float.h>.
28027 (__catanhl): Ensure underflow exception occurs for underflowed
28028 result.
28029 * math/s_catanl.c: Include <float.h>.
28030 (__catanl): Ensure underflow exception occurs for underflowed
28031 result.
28032 * math/libm-test.inc (catan_test): Add more tests.
28033 (catanh_test): Likewise.
28034
f0302940
JM
28035 [BZ #15405]
28036 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28037 underflowed result.
28038 * math/s_ccoshf.c (__ccoshf): Likewise.
28039 * math/s_ccoshl.c (__ccoshl): Likewise.
28040 * math/s_csin.c (__csin): Likewise.
28041 * math/s_csinf.c (__csinf): Likewise.
28042 * math/s_csinh.c (__csinh): Likewise.
28043 * math/s_csinhf.c (__csinhf): Likewise.
28044 * math/s_csinhl.c (__csinhl): Likewise.
28045 * math/s_csinl.c (__csinl): Likewise.
28046 * math/libm-test.inc (ccos_test): Add more tests.
28047 (ccosh_test): Likewise.
28048 (csin_test): Likewise.
28049 (csinh_test): Likewise.
28050
aa630f59
AZ
280512013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28052
28053 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28054 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28055 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28056 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28057 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28058 powerpc/power5+/fpu folders.
28059 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28060
28061
1b835983
MT
280622013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28063
28064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28065
73709b26
JM
280662013-04-25 Joseph Myers <joseph@codesourcery.com>
28067
28068 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28069 additions to variable.
28070 [$(config-machine) = x86_64] (modules-names): Likewise.
28071 ($(objpfx)tst-audit3): Remove dependency.
28072 ($(objpfx)tst-audit3.out): Likewise.
28073 ($(objpfx)tst-audit4): Likewise.
28074 ($(objpfx)tst-audit4.out): Likewise.
28075 ($(objpfx)tst-audit5): Likewise.
28076 ($(objpfx)tst-audit5.out): Likewise.
28077 ($(objpfx)tst-audit6): Likewise.
28078 ($(objpfx)tst-audit6.out): Likewise.
28079 ($(objpfx)tst-audit7): Likewise.
28080 ($(objpfx)tst-audit7.out): Likewise.
28081 (tst-audit3-ENV): Remove variable.
28082 (tst-audit4-ENV): Likewise.
28083 (tst-audit5-ENV): Likewise.
28084 (tst-audit6-ENV): Likewise.
28085 (tst-audit7-ENV): Likewise.
28086 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28087 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28088 addition to variable.
28089 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28090 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28091 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28094 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28095 tst-audit3, tst-audit4 and tst-audit5.
28096 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28097 tst-audit6 and tst-audit7.
28098 [$(subdir) = elf] (modules-names): Add audit modules for those
28099 tests.
28100 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28101 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28102 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28103 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28104 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28105 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28106 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28107 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28108 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28109 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28110 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28111 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28112 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28113 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28114 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28115 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28116 Likewise.
28117 [$(subdir) = elf && $(config-cflags-avx) = yes]
28118 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28119 [$(subdir) = elf && $(config-cflags-avx) = yes]
28120 (CFLAGS-tst-auditmod4a.c): Likewise.
28121 [$(subdir) = elf && $(config-cflags-avx) = yes]
28122 (CFLAGS-tst-auditmod4b.c): Likewise.
28123 [$(subdir) = elf && $(config-cflags-avx) = yes]
28124 (CFLAGS-tst-auditmod6b.c): Likewise.
28125 [$(subdir) = elf && $(config-cflags-avx) = yes]
28126 (CFLAGS-tst-auditmod6c.c): Likewise.
28127 [$(subdir) = elf && $(config-cflags-avx) = yes]
28128 (CFLAGS-tst-auditmod7b.c): Likewise.
28129 * elf/tst-audit3.c: Move to ...
28130 * sysdeps/x86_64/tst-audit3.c: ... here.
28131 * elf/tst-audit4.c: Move to ...
28132 * sysdeps/x86_64/tst-audit4.c: ... here.
28133 * elf/tst-audit5.c: Move to ...
28134 * sysdeps/x86_64/tst-audit5.c: ... here.
28135 * elf/tst-audit6.c: Move to ...
28136 * sysdeps/x86_64/tst-audit6.c: ... here.
28137 * elf/tst-audit7.c: Move to ...
28138 * sysdeps/x86_64/tst-audit7.c: ... here.
28139 * elf/tst-auditmod3a.c: Move to ...
28140 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28141 * elf/tst-auditmod3b.c: Move to ...
28142 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28143 * elf/tst-auditmod4a.c: Move to ...
28144 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28145 * elf/tst-auditmod4b.c: Move to ...
28146 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28147 * elf/tst-auditmod5a.c: Move to ...
28148 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28149 * elf/tst-auditmod5b.c: Move to ...
28150 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28151 * elf/tst-auditmod6a.c: Move to ...
28152 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28153 * elf/tst-auditmod6b.c: Move to ...
28154 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28155 * elf/tst-auditmod6c.c: Move to ...
28156 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28157 * elf/tst-auditmod7a.c: Move to ...
28158 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28159 * elf/tst-auditmod7b.c: Move to ...
28160 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28161
1ef74943
PP
281622013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28163
28164 [BZ #15366]
28165 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28166 define unconditionally.
28167 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28168 define unconditionally.
28169 (INT8_C, INT16_C, etc.): Likewise.
28170
93fd48c5
MR
281712013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28172
ae9552cf
MR
28173 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28174 __ehdr_start with hidden visibility.
28175
93fd48c5
MR
28176 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28177
418601aa
CD
281782013-04-24 Carlos O'Donell <carlos@redhat.com>
28179
28180 * math/libm-test.inc (cos_test): Use accurate hex constants.
28181 (sincost_test): Likewise.
28182
2f38fbfe
JM
281832013-04-24 Joseph Myers <joseph@codesourcery.com>
28184
5e221800
JM
28185 * math/libm-test.inc (catan_test): Add more tests.
28186 (catanh_test): Likewise.
28187
77f143fd
JM
28188 * math/s_catanf.c (__catanf): Use suffixed floating-point
28189 constants.
28190 * math/s_catanhf.c (__catanhf): Likewise.
28191 * math/s_catanhl.c (__catanhl): Likewise.
28192 * math/s_catanl.c (__catanl): Likewise.
28193
2f38fbfe
JM
28194 [BZ #15394]
28195 * math/s_catan.c (__catan): Calculate imaginary part of result
28196 with log1p not log unless computing log of number close to 0.
28197 * math/s_catanf.c (__catanf): Likewise.
28198 * math/s_catanl.c (__catanl): Likewise.
28199 * math/s_catanh.c (__catanh): Calculate real part of result with
28200 log1p not log unless computing log of number close to 0.
28201 * math/s_catanhf.c (__catanhf): Likewise.
28202 * math/s_catanhl.c (__catanhl): Likewise.
28203 * math/libm-test.inc (catan_test): Add more tests.
28204 (catanh_test): Likewise.
28205 * sysdeps/i386/fpu/libm-test-ulps: Update.
28206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28207
45d69176
SP
282082013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28209
28210 * benchtests/Makefile: Mention files in which fast and slow
28211 paths of math functions are implemented.
28212
87f51853
RM
282132013-04-23 Roland McGrath <roland@hack.frob.com>
28214
28215 * sysdeps/posix/timespec_get.c: New file.
28216
3c026539
AZ
282172013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28218
28219 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28220 POWER.
28221 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28222 for POWER.
28223 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28224 powerpc/power5/fpu folders.
28225 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28226 * benchtests/Makefile: Add modf testcase.
28227 * benchtests/bench-modf.c: New file: Benchmark test for mo
28228
ff491d14
SP
282292013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28230
28231 [BZ #14888]
28232 * time/Makefile (tests): Add tst-strptime-whitespace.
28233 * time/strptime_l.c (get_number): Use ISSPACE.
28234 (__strptime_internal): Likewise.
28235 * time/tst-strptime-whitespace.c: New test case.
28236
7ed3f4e8
AS
282372013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28238
28239 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28240 member.
28241 (_nss_files_init): Set it here.
28242
5c95f7b6
HC
282432013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28244
28245 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28246 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28247 unsigned.
28248
d34c9158
JBG
282492013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28250
28251 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28252
2169712d
SP
282532013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28254
28255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28256 size just once.
28257
29c5de99
DM
282582013-04-21 David S. Miller <davem@davemloft.net>
28259
28260 * po/ru.po: Update Russion translation from translation project.
28261
ccdad15d
AC
282622013-04-17 Adam Conrad <adconrad@0c3.net>
28263
28264 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28265 and setfsgid.
28266
0f122b8d
CD
282672013-04-17 Carlos O'Donell <carlos@redhat.com>
28268
5c5b07da 28269 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28270 * configure: Regenerate.
5c5b07da 28271 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28272 Add example to error message.
28273 * sysdeps/i386/configure: Regenerate.
28274
037714dd
SP
282752013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28276
28277 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28278 slowtan.
28279 * benchtests/cos-inputs: New file.
28280 * benchtests/slowcos-inputs: New file.
28281 * benchtests/slowcos.c: New file.
28282 * benchtests/slowtan-inputs: New file.
28283 * benchtests/slowtan.c: New file.
28284 * benchtests/tan-inputs: New file.
28285
e913141d
RM
282862013-04-16 Roland McGrath <roland@hack.frob.com>
28287
28288 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28289 considered kosher.
28290
a2964074
SP
282912013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28292
4856bcd2
SP
28293 * benchtests/Makefile: Include cppflags-iterator.mk to add
28294 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28295
a2964074
SP
28296 * Makefile.in (bench-clean): New target.
28297 * benchtests/Makefile (bench-clean): Likewise.
28298
9fbf9aca
DH
282992013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28300
28301 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28302
207d1e2a
TS
283032013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28304
28305 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28306
306dfba9
AS
283072013-04-15 Andreas Schwab <schwab@suse.de>
28308
28309 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28311 * nscd/pwdcache.c (cache_addpw): Likewise.
28312 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28313 more than recsize.
28314
206a6699
SP
283152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28316
28317 * benchtests/Makefile (bench): Write all output to
28318 bench-out.tmp together.
28319
0582f6b3
AS
283202013-04-15 Andreas Schwab <schwab@suse.de>
28321
28322 * nscd/nscd.c (main): Don't fork again after closing files.
28323
acb4325f
SP
283242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28325
5cb26d0a
SP
28326 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28327
acb4325f
SP
28328 * benchtests/Rules (bench-deps): Collect dependencies into a
28329 single variable. Add Makefile to dependencies.
28330 ($(objpfx)bench-%.c): Depend on bench-deps.
28331
47792506
RM
283322013-04-12 Roland McGrath <roland@hack.frob.com>
28333 Xavier Roche <roche+kml2@exalead.com>
28334
28335 [BZ #15361]
28336 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28337 just that it's a file descriptor.
28338 * manual/llio.texi (Synchronizing AIO Operations): Update description
28339 for EBADF error from aio_fsync.
28340
8fc1bee5
SP
283412013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28342
28343 * Rules (bench): Move target definition...
28344 * benchtests/Makefile: ... here.
28345
aba5e333
CD
283462013-04-11 Carlos O'Donell <carlos@redhat.com>
28347
28348 * math/libm-test.inc (cos_test): Fix PI/2 test.
28349 (sincos_test): Likewise.
28350 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28351 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28352
273cdee8
AS
283532013-04-11 Andreas Schwab <schwab@suse.de>
28354
6ecec3b6
AS
28355 [BZ #13988]
28356 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28357 accept exponent character only when digits were seen.
28358 * stdio-common/Makefile (tests): Add bug26.
28359 * stdio-common/bug26.c: New file.
28360
273cdee8
AS
28361 [BZ #14293]
28362 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28363 non-freeable.
28364
8da491f5
SP
283652013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28366
01dc6df9
SP
28367 * Makeconfig (rtld-prefix): Define built linker prefix.
28368 * Rules (run-bench): Use it.
28369 * math/Makefile (run-regen-ulps): Likewise.
28370
8da491f5
SP
28371 * Rules (bench): Remove eval.
28372
abe7f530
SP
283732013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28374 Roland McGrath <roland@hack.frob.com>
28375 Ondrej Bilka <neleai@seznam.cz>
28376
28377 [BZ #15346]
28378 * time/getdate.c: Include ctype.h and alloca.h.
28379 (__getdate_r): Trim leading and trailing spaces of input.
28380 * time/tst-getdate.c (tests): Add tests with leading and
28381 trailing spaces.
28382
61c23e62
RM
283832013-04-08 Roland McGrath <roland@hack.frob.com>
28384
28385 [BZ #14280]
28386 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28387 when computing value.
28388
7208a313
CD
283892013-04-06 Carlos O'Donell <carlos@redhat.com>
28390
085b2d41
CD
28391 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28392 Use testrun.sh to run libm tests.
28393
7208a313
CD
28394 [BZ #15309]
28395 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28396
872c0acd
MM
283972013-04-06 Marko Myllynen <myllynen@redhat.com>
28398
28399 [BZ #15264]
28400 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28401
26510bdd
CD
284022013-04-06 Carlos O'Donell <carlos@redhat.com>
28403
28404 * Makefile.in (regen-ulps): New target.
28405 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28406 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28407 [ifneq (no,$(PERL)] (regen-ulps): New target.
28408 [ifeq (no,$(PERL)] (regen-ulps): New target.
28409 * math/libm-test.inc (ulps_file_name): Define.
28410 (output_dir): New variable.
28411 (options): Add "output-dir" option.
28412 (parse_opt): Handle 'o' case.
28413 (main): If output_dir is non-NULL use it as a prefix
28414 otherwise use "".
28415 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28416
a01f19c8
CD
284172013-04-06 Carlos O'Donell <carlos@redhat.com>
28418
28419 [BZ #10060, #10062]
28420 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28421 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28422 fail configure if __sync_val_compare_and_swap is not inlined.
28423 * sysdeps/i386/configure: Regenerate.
28424 * configure.in: Build for i686 when configured for i386.
28425 * configure: Regenerate.
28426 * README: Remove i386 reference.
28427
b7a329a5
CD
284282013-04-06 Carlos O'Donell <carlos@redhat.com>
28429
28430 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28432
bf0f50df
TS
284332013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28434
ee091edf
TS
28435 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28436 (lmsnanval): New variables.
28437 (F): Add conversion tests.
28438 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28439 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28440
a8b792d6
TS
28441 * stdio-common/tstdiomisc.c (F): Properly collect individual
28442 tests' results.
28443
a1cbf437
TS
28444 [BZ #14686, #15336]
28445 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28446 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28447 Instead, use input NaN values or generate a qNaN by arithmetic
28448 operation. Also fix bugs to comply with the standard.
28449 * math/libm-test.inc (remainder_test): Add more tests.
28450
8b43a0c9
TS
28451 [BZ #15335, #15342]
28452 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28454 input NaN values or generate a qNaN by arithmetic operation.
28455
d91da4ce
TS
28456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28457 unreachable code.
28458
bf0f50df
TS
28459 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28460 definitions.
28461
05e166c8
JM
284622013-04-03 Joseph Myers <joseph@codesourcery.com>
28463
28464 [BZ #14478]
28465 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28466 underflowed result.
28467 * math/s_cexpf.c (__cexpf): Likewise.
28468 * math/s_cexpl.c (__cexpl): Likewise.
28469 * math/libm-test.inc (cexp_test): Add more tests.
28470
1cef1b19
AS
284712013-04-03 Andreas Schwab <schwab@suse.de>
28472
28473 [BZ #15330]
28474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28475 order arrays from heap if bigger than alloca cutoff.
28476
74d87055
TS
284772013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28478
28479 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28480 (SNAN_TESTS_double): Refer to GCC PR56831.
28481 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28482 GCC PR56828.
28483
d755bba4
SP
284842013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28485
90d5d5bb
SP
28486 * Rules (bench): Move bench.out after the run is complete.
28487
73e0cd5d
SP
28488 * Rules (bench): Echo currently running benchmark.
28489
64aabd4b
SP
28490 * benchtests/Makefile (bench): Add atan and slowatan.
28491 * benchtests/atan-inputs: New file.
28492 * benchtests/slowatan-inputs: New file.
28493 * benchtests/slowatan.c: New file.
28494
c871eccd
SP
28495 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28496 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28497 its value.
28498
d755bba4
SP
28499 [BZ #15305]
28500 * sysdeps/unix/sysv/linux/kernel-features.h
28501 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28502 __ASSUME_XFS_RESTRICTED_CHOWN.
28503 * sysdeps/unix/sysv/linux/pathconf.c
28504 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28505 Save and restore errno.
28506
52ce4860
JM
285072013-04-02 Joseph Myers <joseph@codesourcery.com>
28508
28509 [BZ #15327]
28510 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28511 arguments using __kernel_casinh.
28512 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28513 arguments using __kernel_casinhf.
28514 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28515 arguments using __kernel_casinhl.
28516 * math/libm-test.inc (cacosh_test): Add more tests.
28517 * sysdeps/i386/fpu/libm-test-ulps: Update.
28518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28519
81f311c2
SP
285202013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28521
e7906a47
SP
28522 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28524
92e3664b
SP
28525 * bench/Makefile (bench): Add sin and slowsin.
28526 * benchtests/sin-inputs: New file.
28527 * benchtests/slowsin-inputs: New file.
28528 * benchtests/slowsin.c: New file.
28529
81f311c2
SP
28530 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28531 (bench): Add slowexp and slowpow.
28532 (exp-ITER): Increase iterations.
28533 (pow-ITER): Likewise.
28534 * benchtests/exp-inputs: Change input.
28535 * benchtests/pow-inputs: Likewise.
28536 * benchtests/slowexp-inputs: New file.
28537 * benchtests/slowexp.c: New file.
28538 * benchtests/slowpow-inputs: New file.
28539 * benchtests/slowpow.c: New file.
28540
ab0f1aa9
AZ
285412013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28542
28543 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28544 instructions.
28545 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28546 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28547 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28548 * benchtests/Makefile: Add rint benchtest.
28549 * benchtests/rint-inputs: Input for rint benchtest.
28550
57267616
TS
285512013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28552
28553 * Versions.def (libm): Add GLIBC_2.18.
28554 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28555 hidden libm prototypes.
28556 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28557 * math/Makefile (libm-calls): Add s_issignaling.
28558 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28559 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28560 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28561 declaration.
28562 * math/math.h [__USE_GNU] (issignaling): New macro.
28563 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28564 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28566 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28569 * manual/arith.texi (issignaling): New section.
28570 * manual/libm-err-tab.pl (@all_functions): Update comment.
28571 * math/gen-libm-test.pl (parse_args): Apply special handling for
28572 issignaling.
28573 * math/libm-test.inc (print_float, issignaling_test): New
28574 functions.
28575 (check_float_internal): Add issignaling checks.
28576 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28577 default definition.
28578 * sysdeps/powerpc/math-tests.h: New file.
28579 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28580 tests.
28581 * math/test-snan.c (TEST_FUNC): Likewise.
28582
6142896d
DM
285832013-03-30 David S. Miller <davem@davemloft.net>
28584
28585 * po/de.po: Update from translation team.
28586
ccc8cadf
JM
285872013-03-30 Joseph Myers <joseph@codesourcery.com>
28588
28589 [BZ #10357]
28590 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28591 imaginary part less than 1.0 and real part less than 0.5
28592 specially.
28593 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28594 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28595 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28596 (cacos_test): Add more tests.
28597 (casin_test): Likewise.
28598 (casinh_test): Likewise.
28599 * sysdeps/i386/fpu/libm-test-ulps: Update.
28600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28601
0f6a8d4b
SP
286022013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28603
0d1029de
SP
28604 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28605 ONE with its value.
28606
c2d94018
SP
28607 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28608 (__pow_mp): Replace ONE and MONE with their values.
28609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28611 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28612 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28613 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28614 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28615
27ec37f1
SP
28616 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28617
a64d7e0e
SP
28618 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28619 (__pow_mp): Replace ZERO and MZERO with their values.
28620 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28621 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28624 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28625 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28626 (__sqr): Likewise.
28627
d26dd3eb
SP
28628 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28629
0f6a8d4b
SP
28630 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28631
e57b0c61
RM
286322013-03-28 Roland McGrath <roland@hack.frob.com>
28633
28634 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28635 Declare with __attribute__ ((weak)).
28636 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28637 Call __call_tls_dtors only if it's not NULL.
28638
356b3480
RM
286392013-03-28 Roland McGrath <roland@hack.frob.com>
28640
288f7d79
RM
28641 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28642 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28643 magic __ehdr_start linker symbol if it's defined.
28644 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28645 them up here if it was already done.
28646
dc0a0263
RM
28647 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28648 (_dl_aux_init): Use const in cast when setting it.
28649 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28650 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28651 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28652
3d3436ae
RM
28653 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28654 Declare them here.
28655 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28656 * csu/libc-tls.c: Nor here.
28657 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28658
356b3480
RM
28659 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28660 (__libc_message): Never call vsyslog.
28661
b0f1246a
AM
286622013-03-28 Alan Modra <amodra@gmail.com>
28663
28664 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28665 Define as empty.
28666 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28667 Likewise.
28668
fbbe2b9a
AZ
286692013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28670
28671 [BZ #15214]
28672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28673 underflow.
28674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28675
1728ab37
SP
286762013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28677
7a86be6e
SP
28678 [BZ #15304]
28679 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28680 Don't add gid passed as argument.
28681
1728ab37
SP
28682 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28683
3a7182a1
JM
286842013-03-27 Joseph Myers <joseph@codesourcery.com>
28685
28686 [BZ #15307]
28687 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28688 imaginary part between 1.0 and 1.5 and real part less than 0.5
28689 specially.
28690 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28691 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28692 * math/libm-test.inc (cacos_test): Add more tests.
28693 (casin_test): Likewise.
28694 (casinh_test): Likewise.
28695 * sysdeps/i386/fpu/libm-test-ulps: Update.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28697
6f2e90e7
SP
286982013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28699
5739f705
SP
28700 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28701 constants.
28702 (norm): Likewise.
28703 (denorm): Likewise.
28704 (__dbl_mp): Likewise.
28705 (add_magnitudes): Likewise.
28706 (sub_magnitudes): Likewise.
28707 (__add): Likewise.
28708 (__sub): Likewise.
28709 (__mul): Likewise.
28710 (__sqr): Likewise.
28711 (__inv): Likewise.
28712 (__dvd): Likewise.
28713
e375e83d
SP
28714 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28715 commented code.
28716 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28717 (__dubcos): Likewise.
28718 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28719 (__ieee754_acos): Likewise.
28720 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28721 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28722 (__exp1): Likewise.
28723 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28725 (log1): Likewise.
28726 (my_log2): Likewise.
28727 (checkint): Likewise.
28728 * sysdeps/ieee754/dbl-64/e_remainder.c
28729 (__ieee754_remainder): Likewise.
28730 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28732 (bsloww): Likewise.
28733 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28734
6f2e90e7
SP
28735 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28737 MANTISSA_STORE_T to store computations on mantissa. Use
28738 macros for rounding and division.
28739 (denorm): Likewise.
28740 (__dbl_mp): Likewise.
28741 (add_magnitudes): Likewise.
28742 (sub_magnitudes): Likewise.
28743 (__mul): Likewise.
28744 (__sqr): Likewise.
28745 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28746 powers of two in terms of TWOPOW macro.
28747 (mp_no): Make type of mantissa as MANTISSA_T.
28748 [!RADIXI]: Define RADIXI.
28749 [!TWO52]: Define TWO52.
28750 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28751
fce14d4e
AZ
287522013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28753
28754 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28755 llroundl symbol when building for PPC32.
28756
9ad027fb
MW
287572013-03-24 Mark H Weaver <mhw@netris.org>
28758
28759 * manual/arith.texi (Normalization Functions): Fix prototypes for
28760 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28761
e42a38dd
AZ
287622013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28763
28764 [BZ #13889]
28765 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28766 high value to check if expl overflow.
28767 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28768 to check for underflow and overflow.
28769 * math/libm-test.inc: Add exp test.
28770
2e0fb521
DL
287712013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28772
28773 [BZ #11120]
28774 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28775 with NOT_IN_libc.
28776
b5784d95
AZ
287772013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28778
28779 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28780 symbol.
28781
5aa4a1a1
TS
287822013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28783
bdef0be7
TS
28784 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28785 wrap blocks consisting of several statements.
28786
5aa4a1a1
TS
28787 * sysdeps/generic/math-tests.h: New file.
28788 * sysdeps/i386/fpu/math-tests.h: Likewise.
28789 * math/test-snan.c: Include it.
28790 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28791
98c48fe5
JM
287922013-03-21 Joseph Myers <joseph@codesourcery.com>
28793
28794 [BZ #15285]
28795 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28796 (__ieee754_j0l): Do not improve calculations using cos of twice
28797 input for inputs above LDBL_MAX / 2.0L.
28798 (__ieee754_y0l): Likewise.
28799 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28800 (__ieee754_j1l): Do not improve calculations using cos of twice
28801 input for inputs above LDBL_MAX / 2.0L.
28802 (__ieee754_y1l): Likewise.
28803 * math/libm-test.inc (j0_test): Add another test.
28804 (j1_test): Likewise.
28805 (y0_test): Likewise.
28806 (y1_test): Likewise.
28807 * sysdeps/i386/fpu/libm-test-ulps: Update.
28808
3775a8bc
SP
288092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28810
28811 * Rules ($(objpfx)bench-%.c): Include code from a C source
28812 file.
28813
0a1b2ae6
JM
288142013-03-21 Joseph Myers <joseph@codesourcery.com>
28815
28816 [BZ #15287]
28817 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28818 imaginary part 1.0 and real part less than 0.5 specially.
28819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28821 * math/libm-test.inc (cacos_test): Add more tests.
28822 (casin_test): Likewise.
28823 (casinh_test): Likewise.
28824 * sysdeps/i386/fpu/libm-test-ulps: Update.
28825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28826
b33d4ce4
SP
288272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28828
28829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28830 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28831
bef0b507
JM
288322013-03-20 Joseph Myers <joseph@codesourcery.com>
28833
28834 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28835 * config.make.in (config-cflags-sse4): Remove variable.
28836 (config-cflags-avx): Likewise.
28837 (config-cflags-sse2avx): Likewise.
28838 (config-cflags-novzeroupper): Likewise.
28839 (config-asflags-i686): Likewise.
28840 (have-mfma4): Likewise.
28841 (have-as-vis3): Likewise.
28842 (MIG): Likewise.
28843 * configure.in (MIG): Do not AC_SUBST.
28844 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28845 (libc_cv_cc_sse4): Do not AC_SUBST.
28846 (libc_cv_cc_avx): Likewise.
28847 (libc_cv_cc_sse2avx): Likewise.
28848 (libc_cv_cc_novzeroupper): Likewise.
28849 (libc_cv_cc_fma4): Likewise.
28850 (libc_cv_as_i686): Likewise.
28851 (libc_cv_sparc_as_vis3): Likewise.
28852 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28853 LIBC_CONFIG_VAR.
28854 (config-asflags-i686): Likewise.
28855 (config-cflags-avx): Likewise.
28856 (config-cflags-sse2avx): Likewise.
28857 (have-mfma4): Likewise.
28858 (config-cflags-novzeroupper): Likewise.
28859 * sysdeps/mach/configure.in (MIG): Likewise.
28860 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28861 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28862 LIBC_CONFIG_VAR.
28863 (config-cflags-avx): Likewise.
28864 (config-cflags-sse2avx): Likewise.
28865 (have-mfma4): Likewise.
28866 (config-cflags-novzeroupper): Likewise.
28867 * configure: Regenerated.
28868 * sysdeps/i386/configure: Likewise.
28869 * sysdeps/mach/configure: Likewise.
28870 * sysdeps/sparc/configure: Likewise.
28871 * sysdeps/x86_64/configure: Likewise.
28872
912cc4b3
RM
288732013-03-20 Roland McGrath <roland@hack.frob.com>
28874
28875 [BZ #14812]
28876 * locale/programs/localedef.c (options): Put N_ translation marker
28877 on argument names, not just descriptions.
28878
04eed2b0
MS
288792013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28880
28881 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28882
a065ceff
OB
288832013-03-20 Ondřej Bílka <neleai@seznam.cz>
28884
9bb2a810 28885 [BZ #14176]
a065ceff
OB
28886 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28887
a600e5ce
RM
288882013-03-19 Roland McGrath <roland@hack.frob.com>
28889
28890 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28891 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28892 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28893 [!BEFORE_ABORT] (before_abort): New function.
28894 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28895 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28896 (writev_for_fatal): New function.
28897 (WRITEV_FOR_FATAL): New macro; call that.
28898 (backtrace_and_maps): New function.
28899 (BEFORE_ABORT): New macro; call that.
28900 (struct str_list): Type removed.
28901 (__libc_message, __libc_fatal): Functions removed.
28902 Include <sysdeps/posix/libc_fatal.c> instead.
28903
6b18bea6
JM
289042013-03-19 Joseph Myers <joseph@codesourcery.com>
28905
28906 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28907 constants.
28908 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28909 double constants.
28910
aaa8cb4b
AS
289112013-03-19 Andreas Schwab <schwab@suse.de>
28912
44673770
AS
28913 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28914 * sysdeps/gnu/configure: Regenerate.
28915
aaa8cb4b
AS
28916 * configure.in: Substitute libc_cv_rtlddir.
28917 * configure: Regenerate.
28918 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28919 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28920 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28921 * elf/Makefile (install-others, CFLAGS-interp.c)
28922 (ldso_install, common-ldd-rewrite): Likewise.
28923 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28924 $(inst_slibdir)/$(rtld-installed-name).
28925 * scripts/rellns-sh: Add -p option.
28926 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28927 for source.
28928
d3cfc668
SP
289292013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28930
28931 * manual/nptl.texi: Renamed to ...
28932 * manual/threads.texi: ... this.
28933 * manual/Makefile (chapters): Update.
28934
0e2b9cdd
RM
289352013-03-18 Roland McGrath <roland@hack.frob.com>
28936
28937 [BZ #14812]
28938 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28939 on argument names, not just descriptions.
0e2b9cdd
RM
28940 * malloc/memusagestat.c (options): Likewise.
28941 * nss/getent.c (options): Likewise.
63270c24
RM
28942
289432013-03-18 Benno Schulenberg <bensberg@justemail.net>
28944
28945 [BZ #14812]
28946 * iconv/iconv_prog.c (options): Put N_ translation marker
28947 on argument names, not just descriptions.
28948 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28949
b2e1393c
OB
289502013-03-18 Ondrej Bilka <neleai@seznam.cz>
28951
28952 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28953 implementation which is faster on all x86_64 architectures.
28954 Tested on AMD, Intel Nehalem, SNB, IVB.
28955 * sysdeps/x86_64/strnlen.S: Likewise.
28956
28957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28958 Remove all multiarch strlen and strnlen versions.
28959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28960 Remove strlen and strnlen related parts.
28961
28962 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28963 Inline strlen part.
28964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28965
28966 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28967 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28968 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28969 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28970 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28971 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28972
ec4ff04d
CD
289732013-03-17 Carlos O'Donell <carlos@redhat.com>
28974
28975 * manual/memory.texi (Malloc Tunable Parameters):
28976 Sort parameters alphabetically. Add comments for missing entries.
28977
cd18e90a
DM
289782013-03-17 David S. Miller <davem@davemloft.net>
28979
28980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28981
2a185d32
JM
289822013-03-16 Joseph Myers <joseph@codesourcery.com>
28983
d2f9799e
JM
28984 [BZ #15283]
28985 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28986 for arguments at most half maximum finite value.
28987 * math/libm-test.inc (j0_test): Add more tests.
28988 (j1_test): Likewise.
28989 (y0_test): Likewise.
28990 (y1_test): Likewise.
28991 * sysdeps/i386/fpu/libm-test-ulps: Update.
28992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28993
2a185d32
JM
28994 [BZ #14155]
28995 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28996 1 / x and functions P and Q for arguments above 0x1p256L.
28997 (__ieee754_y0l): Likewise.
28998 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28999 (__ieee754_y1l): Likewise.
29000 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29001 (j1_test): Likewise.
29002 (y0_test): Likewise.
29003 (y1_test): Likewise.
29004
6cbec759
TS
290052013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29006
29007 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29008 variable.
29009
bc16e260
RM
290102013-03-15 Roland McGrath <roland@hack.frob.com>
29011
aefc9b8c
RM
29012 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29013 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29014 zero since it's initialized to EXEC_PAGESIZE.
29015
bc16e260
RM
29016 * sysdeps/unix/sysv/linux/ldsodefs.h
29017 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29018 * sysdeps/generic/ldsodefs.h: ... here.
29019
a57da955
TS
290202013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29021
af00a34d
TS
29022 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29023
495ded2c
TS
29024 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29025 math/test-snan.c.
29026 * math/test-snan.c: Renamed from
29027 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29028 * math/Makefile (tests): Add test-snan.
29029 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29030 test-powerpc-snan.
29031
777b0332
TS
29032 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29033 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29034 functions.
29035 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29036 __builtin_nan family of functions.
29037 * math/libm-test.inc (initialize): Initialize qnan_value with
29038 __builtin_nan family of functions.
29039 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29040 Remove variables.
29041 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29042 Remove functions.
29043 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29044 storage class. Initialize qNaN_var and sNaN_var with
29045 __builtin_nan and __builtin_nans families of functions,
29046 respectively.
29047
64d063b8
TS
29048 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29049 (sqrt_test): Remove duplicate test with qNaN input.
29050 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29051 (round_test, signbit_test, significand_test): Note missing +/-Inf
29052 as well as qNaN tests.
29053
67e971f1
TS
29054 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29055 qNaN_var. Fix a few strings, too.
29056 * math/libm-test.inc (nan_value): Rename to qnan_value.
29057 * math/gen-libm-test.pl (%beautify): Adjust to that.
29058 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29059 * math/test-misc.c (main): Likewise.
29060 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29061 to __qnan_bytes, and __qnan_union, respectively.
29062 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29063 Likewise.
29064 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29065 and lqnanval, respectively.
29066 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29067 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29068 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29069 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29070
64487e12
TS
29071 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29072 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29073 doubles.
29074
e015e27b
TS
29075 * math/test-misc.c (main): Fix copy'n'pastos.
29076 * misc/tst-efgcvt.c (special): Likewise.
29077
a57da955
TS
29078 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29079 Remove declarations.
29080
1e380345
SP
290812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29082
29083 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29084 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29085 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29086 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29087
ef26eece
AZ
290882013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29089
29090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29091 macro to return vdso values correctly in IFUNC implementations.
29092 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29093 Optimization by using IFUNC.
29094
8cfdb7e0
SP
290952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29096 Richard Henderson <rth@redhat.com>
29097 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29098
29099 * Makefile.in (bench): New target.
29100 * NEWS: Mention the benchmark framework.
29101 * Rules (bench): Likewise.
29102 (binaries-bench): Generate binaries for functions to
29103 benchmark.
29104 * benchtests/Makefile: New makefile for benchmark tests.
29105 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29106 programs.
29107 * benchtests/exp-inputs: New input file for EXP function.
29108 * benchtests/pow-inputs: New input file for POW function.
29109 * scripts/bench.pl: New script to generate source files for
29110 benchmark programs.
29111
bcda9880
SP
291122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29113
d22ca8cd
SP
29114 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29115 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29116 computations on mantissa. Use macros for rounding and
29117 division.
29118 (denorm): Likewise.
29119 (__dbl_mp): Likewise.
29120 (add_magnitudes): Likewise.
29121 (sub_magnitudes): Likewise.
29122 (__mul): Likewise.
29123 (__sqr): Likewise.
29124 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29125 powers of two in terms of TWOPOW macro.
29126 (mp_no): Make type of mantissa as MANTISSA_T.
29127 [!RADIXI]: Define RADIXI.
29128 [!TWO52]: Define TWO52.
29129 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29130
bcda9880
SP
29131 * manual/nptl.texi (cindex): Modify threads to pthreads.
29132
06d5adfb
JM
291332013-03-15 Joseph Myers <joseph@codesourcery.com>
29134
29135 * sysdeps/x86_64/preconfigure: Regenerated.
29136
41c7328e
JM
291372013-03-14 Joseph Myers <joseph@codesourcery.com>
29138
29139 [BZ #14155]
29140 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29141 0x1p28 and above.
29142 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29143 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29144 0x1p28 and above.
29145 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29146 * math/libm-test.inc (j0_test): Do not allow one spurious
29147 underflow exception.
29148 (y1_test): Likewise.
29149
e25cfa60
SP
291502013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29151
0409959c
SP
29152 * manual/Makefile (chapters): Add nptl.
29153 * manual/debug.texi (Debugging Support): Add link to Threads
29154 chapter.
29155 * manual/nptl.texi: New file.
29156
e25cfa60
SP
29157 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29158
58a1335e
PB
291592013-03-14 Petr Baudis <pasky@ucw.cz>
29160
29161 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29162 for non-NULL pointer before the memory validity test. Pointed
29163 out by Holger Brunck <holger.brunck@keymile.com>.
29164
9dc7c64f
AS
291652013-03-13 Andreas Schwab <schwab@suse.de>
29166
29167 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29168 instead of .os.
29169
54206aa6
JM
291702013-03-13 Joseph Myers <joseph@codesourcery.com>
29171
29172 * timezone/zic.c: Update from tzcode 2013b.
29173
e98cdb38
CD
291742013-03-12 Carlos O'Donell <carlos@redhat.com>
29175
29176 * manual/install.texi (Configuring and compiling):
29177 Mention i686 and i586.
29178 * INSTALL: Regenerate.
29179
9967e003
RM
291802013-03-12 Roland McGrath <roland@hack.frob.com>
29181
29182 * sysdeps/init_array/elf-init.c: New file.
29183 * csu/elf-init.c
29184 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29185 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29186
29187 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29188 __gmon_start__ as global, but as static with a .preinit_array pointer.
29189 * sysdeps/init_array/gmon-start.c: New file. Use that.
29190 * sysdeps/init_array/crti.S: New file, empty except for comments.
29191 * sysdeps/init_array/crtn.S: Likewise.
29192
e6b5a293 291932013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29194
29195 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29196 definining bcopy.
80f844c9
OB
29197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29198 Remove Prefer_SSE_for_memop.
29199 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29200 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29201 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29203 memset-x86-64.
80f844c9 29204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29205 Remove bzero, memset ifunc support.
80f844c9
OB
29206 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29207 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29208 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29209 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29210
fb6b0fcb
AS
292112013-03-11 Andreas Schwab <schwab@suse.de>
29212
29213 [BZ #15234]
29214 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29215 by SHLIB_COMPAT.
29216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29217 (GLIBC_2.16): Remove pthread_atfork.
29218
3e6bd4b1
PP
292192013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29220
29221 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29222 (ptestcases.h): Likewise.
29223
222d7f00
RM
292242013-03-08 Roland McGrath <roland@hack.frob.com>
29225
29226 * Makeconfig ($(common-objpfx)config.status): Depend on
29227 sysdeps/*/preconfigure{,.in} too.
29228
1ba4f030
JM
292292013-03-08 Joseph Myers <joseph@codesourcery.com>
29230
a222d91a
JM
29231 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29232 (__free_hook): Use void * instead of __malloc_ptr_t.
29233 (__malloc_hook): Likewise.
29234 (__realloc_hook): Likewise.
29235 (__memalign_hook): Likewise.
29236 (__after_morecore_hook): Likewise.
29237 * malloc/arena.c (save_malloc_hook): Likewise.
29238 (save_free_hook): Likewise.
29239 * malloc/hooks.c (malloc_hook_ini): Likewise.
29240 (realloc_hook_ini): Likewise.
29241 (memalign_hook_ini): Likewise.
29242 * malloc/malloc.c (malloc_hook_ini): Likewise.
29243 (realloc_hook_ini): Likewise.
29244 (memalign_hook_ini): Likewise.
29245 (__free_hook): Likewise.
29246 (__malloc_hook): Likewise.
29247 (__realloc_hook): Likewise.
29248 (__memalign_hook): Likewise.
29249 (__libc_malloc): Likewise.
29250 (__libc_free): Likewise.
29251 (__libc_realloc): Likewise.
29252 (__libc_memalign): Likewise.
29253 (__libc_valloc): Likewise.
29254 (__libc_pvalloc): Likewise.
29255 (__libc_calloc): Likewise.
29256 (__posix_memalign): Likewise.
29257 * malloc/morecore.c (__sbrk): Likewise.
29258 (__default_morecore): Likewise.
29259
5cc45e10
JM
29260 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29261
dd54b864
JM
29262 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29263 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29264 __malloc_ptrdiff_t.
29265
1ba4f030
JM
29266 * malloc/malloc.h (__malloc_size_t): Remove macro.
29267 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29268 __malloc_size_t.
29269 (old_memalign_hook): Likewise.
29270 (old_realloc_hook): Likewise.
29271 (struct hdr): Likewise.
29272 (flood): Likewise.
29273 (mallochook): Likewise.
29274 (memalignhook): Likewise.
29275 (reallochook): Likewise.
29276 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29277 (tr_old_realloc_hook): Likewise.
29278 (tr_old_memalign_hook): Likewise.
29279 (tr_mallochook): Likewise.
29280 (tr_reallochook): Likewise.
29281 (tr_memalignhook): Likewise.
29282
edf66e57
AZ
292832013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29284
29285 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29286 default_ldbl_pack and using as default implementation.
29287 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29288 implementation.
29289 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29290 redundant definition.
29291 (ldbl_insert_mantissa): Likewise.
29292 (ldbl_canonicalize): Likewise.
29293 (ldbl_nearbyint): Likewise.
29294 (ldbl_pack): Rename to ldbl_pack_ppc.
29295 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29296 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29297 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29298
6d9145d8
SP
292992013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29300
29301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29302 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29303 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29304 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29306 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29307 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29308 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29309
4dd4e157
AJ
293102013-03-07 Andreas Jaeger <aj@suse.de>
29311
29312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29313 bits/mman-linux.h.
29314
adbb8027
SP
293152013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29316
ce544b5b
SP
29317 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29318 Include mpa.h and declare __MPEXP.
29319 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29320 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29321 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29322 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29323 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29324 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29325 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29326
4cc149fd
SP
29327 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29328 (__slowpow): Use long double EXPL and LOGL functions to
29329 compute POW.
29330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29331 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29334 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29336
e6ebd4a7
SP
29337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29338 intermediate variable to calculate exponent.
29339 (__sqr): Likewise.
29340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29341 Likewise.
29342 (__sqr): Likewise.
29343
82a9811d
SP
29344 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29345 [!NO__SQR]: Define __sqr.
29346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29347 and NO__SQR. Remove all code except __mul and __sqr. Include
29348 sysdeps/ieee754/dbl-64/mpa.c.
29349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29350
adbb8027
SP
29351 [BZ #12723]
29352 * posix/Makefile (tests): Add tst-pathconf.
29353 * posix/tst-pathconf.c: New test case.
29354 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29355 _PC_PIPE_BUF.
29356 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29357
39120df9
PF
293582013-03-06 Patsy Franklin <pfrankli@redhat.com>
29359
29360 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29361
67525cb8
AJ
293622013-03-06 Andreas Jaeger <aj@suse.de>
29363
664a9ce4
AJ
29364 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29365 definition via __MAP_ANONYMOUS.
29366
8e39047d
AJ
29367 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29368 it's not part of Linux headers.
29369
67525cb8
AJ
29370 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29371 (MAP_HUGE_MASK): Define.
29372
29373 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29374 Define.
29375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29377 Define.
29378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29379 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29380 Define.
29381 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29383 Define.
29384 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29385
29386 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29387 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29388 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29389 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29390 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29391 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29392
29393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29394 Handle f2fs.
29395
29396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29397 Handle f2fs and efivarfs.
29398
29399 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29400 f2fs.
29401
29402 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29403 (EFIVARFS_MAGIC): Add.
29404 (F2FS_LINK_MAX): Add.
29405
e1b42695
PP
294062013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29407
29408 * stdio-common/vfprintf.c: Replace __builtin_expect with
29409 __glibc_unlikely.
29410
2d67d91a
JM
294112013-03-06 Joseph Myers <joseph@codesourcery.com>
29412
29413 [BZ #13550]
29414 * sysdeps/generic/bp-sym.h: Remove file.
29415 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29416 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29417 <bp-sym.h> and <bp-asm.h>.
29418 (__longjmp): Don't use BP_SYM.
29419 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29420 and <bp-asm.h>.
29421 (memcpy): Don't use BP_SYM.
29422 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29423 <bp-sym.h> and <bp-asm.h>.
29424 (memcpy): Don't use BP_SYM.
29425 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29426 <bp-asm.h>.
29427 (memcpy): Don't use BP_SYM.
29428 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29429 <bp-asm.h>.
29430 (memset): Don't use BP_SYM.
29431 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29432 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29433 (__bzero): Don't use BP_SYM.
29434 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29435 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29437 <bp-sym.h> and <bp-asm.h>.
29438 (memcmp): Don't use BP_SYM. Remove comment about bounded
29439 pointers.
29440 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29441 <bp-sym.h> and <bp-asm.h>.
29442 (memcpy): Don't use BP_SYM.
29443 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29444 <bp-sym.h> and <bp-asm.h>.
29445 (memset): Don't use BP_SYM.
29446 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29447 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29448 (__bzero): Don't use BP_SYM.
29449 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29450 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29452 <bp-sym.h> and <bp-asm.h>.
29453 (strncmp): Don't use BP_SYM. Remove comment about bounded
29454 pointers.
29455 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29456 <bp-sym.h> and <bp-asm.h>.
29457 (memcpy): Don't use BP_SYM.
29458 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29459 <bp-sym.h> and <bp-asm.h>.
29460 (memset): Don't use BP_SYM.
29461 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29462 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29463 (__bzero): Don't use BP_SYM.
29464 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29465 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29466 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29467 <bp-sym.h> and <bp-asm.h>.
29468 (__memchr): Don't use BP_SYM.
29469 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29470 <bp-sym.h> and <bp-asm.h>.
29471 (memcmp): Don't use BP_SYM. Remove comment about bounded
29472 pointers.
29473 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29474 <bp-sym.h> and <bp-asm.h>.
29475 (memcpy): Don't use BP_SYM.
29476 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29477 <bp-sym.h> and <bp-asm.h>.
29478 (__mempcpy): Don't use BP_SYM.
29479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29480 <bp-sym.h> and <bp-asm.h>.
29481 (__memrchr): Don't use BP_SYM.
29482 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29483 <bp-sym.h> and <bp-asm.h>.
29484 (memset): Don't use BP_SYM.
29485 (__bzero): Likewise.
29486 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29487 <bp-sym.h> and <bp-asm.h>.
29488 (__rawmemchr): Don't use BP_SYM.
29489 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29490 <bp-sym.h> and <bp-asm.h>.
29491 (__STRCMP): Don't use BP_SYM.
29492 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29493 <bp-sym.h> and <bp-asm.h>.
29494 (strchr): Don't use BP_SYM.
29495 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29496 <bp-sym.h> and <bp-asm.h>.
29497 (__strchrnul): Don't use BP_SYM.
29498 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29499 <bp-sym.h> and <bp-asm.h>.
29500 (strlen): Don't use BP_SYM.
29501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29502 <bp-sym.h> and <bp-asm.h>.
29503 (strncmp): Don't use BP_SYM. Remove comment about bounded
29504 pointers.
29505 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29506 <bp-sym.h> and <bp-asm.h>.
29507 (__strnlen): Don't use BP_SYM.
29508 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29509 <bp-sym.h> and <bp-asm.h>.
29510 (__GI__setjmp): Don't use BP_SYM.
29511 (_setjmp): Likewise.
29512 (__sigsetjmp): Likewise.
29513 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29514 (L(start_addresses)): Don't use BP_SYM.
29515 (_start): Likewise.
29516 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29517 <bp-asm.h>.
29518 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29519 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29520 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29521 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29522 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29523 <bp-asm.h>.
29524 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29525 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29526 about bounded pointers.
29527 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29528 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29529 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29530 <bp-asm.h>.
29531 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29532 about bounded pointers. Remove GKM FIXME comments.
29533 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29534 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29535 <bp-asm.h>.
29536 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29537 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29538 Remove GKM FIXME comments.
29539 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29540 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29541 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29542 <bp-asm.h>.
29543 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29544 about bounded pointers. Remove GKM FIXME comment.
29545 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29546 and <bp-asm.h>.
29547 (strncmp): Don't use BP_SYM. Remove comment about bounded
29548 pointers.
29549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29550 <bp-sym.h> and <bp-asm.h>.
29551 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29553 <bp-sym.h> and <bp-asm.h>.
29554 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29555 comment.
29556
cdcf361f
PP
295572013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29558
29559 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29560 call free(NULL).
29561
3c4a2b15
DM
295622013-03-05 David S. Miller <davem@davemloft.net>
29563
29564 * po/es.po: Update from translation team.
29565
cdcf361f 295662013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29567
29568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29569 <bits/mman-linux.h>.
29570 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29571 is fine.
29572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29573 <bits/mman-linux.h> to end of file.
29574 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29575 is fine.
29576 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29577 <bits/mman-linux.h> to end of file.
29578 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29579 is fine.
29580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29581 <bits/mman-linux.h> to end of file.
29582
29583 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29584 (MCL_CURRENT, MCL_FUTURE): Define here.
29585
5f67c04f
AK
295862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29587
8a4473cc 29588 [BZ #15232]
5f67c04f
AK
29589 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29590 attribute_hidden.
29591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29592
c3e94a95
AK
295932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29594
29595 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29596 fourth parameter needed for rt_sigprocmask syscall.
29597 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29598 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29599 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29600 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29601 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29602 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29603
cfb6382a
JM
296042013-03-04 Joseph Myers <joseph@codesourcery.com>
29605
29606 [BZ #13550]
29607 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29608 comment about bounded pointers.
29609 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29610 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29611
539d8e01
AJ
296122013-03-04 Andreas Jaeger <aj@suse.de>
29613
29614 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29615 common definitions.
29616
29617 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29618 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29619 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29621 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29623
2e167a70 296242013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29625
29626 [BZ #15055]
29627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29628 __ieee754_sqrl instead of __sqrl.
29629
68508633
JM
296302013-03-01 Joseph Myers <joseph@codesourcery.com>
29631
29632 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29633 * sysdeps/powerpc/fpu_control.h: ... here.
29634 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29635 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29636 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29637 * sysdeps/powerpc/bits/mathinline.h: ... here.
29638
7775448e
RM
296392013-03-01 Roland McGrath <roland@hack.frob.com>
29640
29641 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29642 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29643 to just [NEED_DL_SYSINFO_DSO].
29644 * elf/dl-support.c: Likewise.
29645 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29646 * elf/rtld.c (dl_main): Likewise.
29647 * elf/setup-vdso.h (setup_vdso): Likewise.
29648 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29649 * sysdeps/unix/sysv/linux/dl-sysdep.c
29650 (_dl_discover_osversion): Likewise.
29651
4e9b5995
CD
296522013-03-01 Carlos O'Donell <carlos@redhat.com>
29653
29654 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29655 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29656
e23872c8
SP
296572013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29658
e5c74c63
SP
29659 * NEWS: Mention libm performance improvements and non-x86 PI
29660 futex support.
29661
e23872c8
SP
29662 * csu/libc-start.c (__pthread_initialize_minimal): Change
29663 function arguments.
29664 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29665
b5510883
JM
296662013-02-28 Joseph Myers <joseph@codesourcery.com>
29667
29668 [BZ #13550]
29669 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29670 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29671 <bp-sym.h> and <bp-asm.h>.
29672 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29674 and <bp-asm.h>.
29675 (memcpy): Don't use BP_SYM.
29676 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29677 <bp-asm.h>.
29678 (__mpn_add_n): Don't use BP_SYM.
29679 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29680 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29681 and <bp-asm.h>.
29682 (__mpn_addmul_1): Don't use BP_SYM.
29683 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29684 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29685 <bp-sym.h>.
29686 (_setjmp): Don't use BP_SYM.
29687 (__novmx_setjmp): Likewise.
29688 (__GI__setjmp): Likewise.
29689 (__vmx_setjmp): Likewise.
29690 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29691 <bp-sym.h>.
29692 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29693 (__bzero): Don't use BP_SYM.
29694 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29695 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29696 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29697 <bp-sym.h> and <bp-asm.h>.
29698 (memcpy): Don't use BP_SYM.
29699 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29700 <bp-sym.h> and <bp-asm.h>.
29701 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29702 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29703 <bp-sym.h> and <bp-asm.h>.
29704 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29705 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29706 <bp-asm.h>.
29707 (__mpn_lshift): Don't use BP_SYM.
29708 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29709 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29710 <bp-asm.h>.
29711 (memset): Don't use BP_SYM.
29712 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29713 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29714 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29715 <bp-asm.h>.
29716 (__mpn_mul_1): Don't use BP_SYM.
29717 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29719 <bp-sym.h> and <bp-asm.h>.
29720 (memcmp): Don't use BP_SYM.
29721 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29722 <bp-sym.h> and <bp-asm.h>.
29723 (memcpy): Don't use BP_SYM.
29724 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29725 <bp-sym.h> and <bp-asm.h>.
29726 (memset): Don't use BP_SYM.
29727 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29728 <bp-sym.h> and <bp-asm.h>.
29729 (strncmp): Don't use BP_SYM.
29730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29731 <bp-sym.h> and <bp-asm.h>.
29732 (memcpy): Don't use BP_SYM.
29733 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29734 <bp-sym.h> and <bp-asm.h>.
29735 (memset): Don't use BP_SYM.
29736 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29737 <bp-sym.h> and <bp-asm.h>.
29738 (__memchr): Don't use BP_SYM.
29739 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29740 <bp-sym.h> and <bp-asm.h>.
29741 (memcmp): Don't use BP_SYM.
29742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29743 <bp-sym.h> and <bp-asm.h>.
29744 (memcpy): Don't use BP_SYM.
29745 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29746 <bp-sym.h> and <bp-asm.h>.
29747 (__mempcpy): Don't use BP_SYM.
29748 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29749 <bp-sym.h> and <bp-asm.h>.
29750 (__memrchr): Don't use BP_SYM.
29751 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29752 <bp-sym.h> and <bp-asm.h>.
29753 (memset): Don't use BP_SYM.
29754 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29755 <bp-sym.h> and <bp-asm.h>.
29756 (__rawmemchr): Don't use BP_SYM.
29757 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29758 <bp-sym.h> and <bp-asm.h>.
29759 (__STRCMP): Don't use BP_SYM.
29760 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29761 <bp-sym.h> and <bp-asm.h>.
29762 (strchr): Don't use BP_SYM.
29763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29764 <bp-sym.h> and <bp-asm.h>.
29765 (__strchrnul): Don't use BP_SYM.
29766 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29767 <bp-sym.h> and <bp-asm.h>.
29768 (strlen): Don't use BP_SYM.
29769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29770 <bp-sym.h> and <bp-asm.h>.
29771 (strncmp): Don't use BP_SYM.
29772 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29773 <bp-sym.h> and <bp-asm.h>.
29774 (__strnlen): Don't use BP_SYM.
29775 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29776 <bp-asm.h>.
29777 (__mpn_rshift): Don't use BP_SYM.
29778 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29779 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29780 <bp-sym.h> and <bp-asm.h>.
29781 (__sigsetjmp): Don't use BP_SYM.
29782 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29783 (L(start_addresses)): Don't use BP_SYM.
29784 (_start): Likewise.
29785 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29786 <bp-asm.h>.
29787 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29788 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29789 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29790 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29791 <bp-asm.h>.
29792 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29793 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29794 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29795 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29796 <bp-asm.h>.
29797 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29798 comments.
29799 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29800 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29801 <bp-asm.h>.
29802 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29803 FIXME comments.
29804 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29805 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29806 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29807 <bp-asm.h>.
29808 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29809 comment.
29810 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29811 and <bp-asm.h>.
29812 (strncmp): Don't use BP_SYM,
29813 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29814 <bp-asm.h>.
29815 (__mpn_sub_n): Don't use BP_SYM.
29816 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29817 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29818 and <bp-asm.h>.
29819 (__mpn_submul_1): Don't use BP_SYM.
29820 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29822 <bp-sym.h> and <bp-asm.h>.
29823 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29825 <bp-sym.h> and <bp-asm.h>.
29826 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29827 comment.
29828
8d19fe64
SP
298292013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29830
29831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29832 Use ZK to minimize writes to Z.
29833 (sub_magnitudes): Simplify code a bit.
29834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29835 Use ZK to minimize writes to Z.
29836 (sub_magnitudes): Simplify code a bit.
29837
85bd816a
RM
298382013-02-27 Roland McGrath <roland@hack.frob.com>
29839
29840 * csu/gmon-start.c: Add special exception to license text.
29841
b5977bf2
RH
298422013-02-27 Richard Henderson <rth@redhat.com>
29843
29844 * scripts/config.guess: Update from config.git.
29845 * scripts/config.sub: Likewise.
29846
11d6e2f2
SP
298472013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29848
09c14ed2
SP
29849 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29850
a688864e
SP
29851 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29852
6295157a
SP
29853 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29854
b8de2202
SP
29855 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29856
11d6e2f2
SP
29857 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29858
7e80ddb8
RM
298592013-02-26 Roland McGrath <roland@hack.frob.com>
29860
29861 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29862 [$(build-shared = yes].
7e80ddb8 29863
7da6d9ed
SP
298642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29865
45f05884
SP
29866 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29867 (__mul): Reduce iterations for calculating mantissa.
29868
2236d359
SP
29869 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29870 MPTWO.
29871 (__mpranred): Likewise.
29872
7da6d9ed
SP
29873 [BZ #15160]
29874 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29875 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29876
b7688c42
PE
298772013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29878
29879 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29880 Define __attribute__.
29881
53a5c423
SP
298822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29883
29884 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29885 unused.
29886 * posix/regex_internal.h (__attribute): Remove.
29887 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29888 (re_string_context_at): Likewise.
29889 (bitset_not): Use __attribute__ and mark function as possibly
29890 unused.
29891 (bitset_merge): Likewise.
29892 (bitset_mask): Likewise.
29893 (re_string_char_size_at): Likewise.
29894 (re_string_wchar_at): Likewise.
29895 (re_string_elem_size_at): Likewise.
29896
60f5a8b5
SP
298972013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29898
2a983a2e
SP
29899 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29900 code.
29901 (cc32): Likewise.
29902
e69804d1
SP
29903 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29904 (__acr): Likewise.
29905 (__cpy): Likewise.
29906 (norm): Likewise.
29907 (denorm): Likewise.
29908 (__dbl_mp): Likewise.
29909 (add_magnitudes): Likewise.
29910 (sub_magnitudes): Likewise.
29911 (__mul): Likewise.
29912 (__inv): Likewise.
29913
2f22a1e8
SP
29914 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29915 style.
29916
8930ddc7
SP
29917 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29918 style.
29919
dc60cb11
SP
29920 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29921 code.
29922
60f5a8b5
SP
29923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29924 up changes with default code.
29925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29926 Likewise.
29927
b4d1fd33
AM
299282013-02-24 Allan McRae <allan@archlinux.org>
29929
faf6f8bc
AM
29930 * manual/socket.texi (The Internet Namespace): Order menu items
29931 to match that in the file.
29932
b4d1fd33
AM
29933 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29934 node listing of the info page menu.
29935
2366713d
JM
299362013-02-21 Joseph Myers <joseph@codesourcery.com>
29937
29938 [BZ #13550]
29939 * sysdeps/i386/bp-asm.h: Remove file.
29940 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29941 (PARMS): Do not use macros from bp-asm.h.
29942 (S1): Likewise.
29943 (S2): Likewise.
29944 (SIZE): Likewise.
29945 (__mpn_add_n): Do not use BP_SYM
29946 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29947 "bp-asm.h".
29948 (PARMS): Do not use macros from bp-asm.h.
29949 (S1): Likewise.
29950 (SIZE): Likewise.
29951 (__mpn_addmul_1): Do not use BP_SYM
29952 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29953 "bp-asm.h".
29954 (PARMS): Do not use macros from bp-asm.h.
29955 (SIGMSK): Likewise.
29956 (_setjmp): Likewise. Do not use BP_SYM.
29957 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29958 "bp-asm.h".
29959 (PARMS): Do not use macros from bp-asm.h.
29960 (SIGMSK): Likewise.
29961 (setjmp): Likewise. Do not use BP_SYM.
29962 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29963 "bp-asm.h".
29964 (PARMS): Do not use macros from bp-asm.h.
29965 (__frexp): Do not use BP_SYM.
29966 (frexp): Likewise.
29967 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29968 "bp-asm.h".
29969 (PARMS): Do not use macros from bp-asm.h.
29970 (__frexpf): Do not use BP_SYM.
29971 (frexpf): Likewise.
29972 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29973 "bp-asm.h".
29974 (PARMS): Do not use macros from bp-asm.h.
29975 (__frexpl): Do not use BP_SYM.
29976 (frexpl): Likewise.
29977 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29978 "bp-asm.h".
29979 (PARMS): Do not use macros from bp-asm.h.
29980 (__remquo): Do not use BP_SYM.
29981 (remquo): Likewise.
29982 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29983 "bp-asm.h".
29984 (PARMS): Do not use macros from bp-asm.h.
29985 (__remquof): Do not use BP_SYM.
29986 (remquof): Likewise.
29987 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29988 "bp-asm.h".
29989 (PARMS): Do not use macros from bp-asm.h.
29990 (__remquol): Do not use BP_SYM.
29991 (remquol): Likewise.
29992 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29993 "bp-asm.h".
29994 (PARMS): Do not use macros from bp-asm.h.
29995 (DEST): Likewise.
29996 (SRC): Likewise.
29997 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29998 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29999 "bp-asm.h".
30000 (PARMS): Do not use macros from bp-asm.h.
30001 (strlen): Do not use BP_SYM.
30002 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30003 "bp-asm.h".
30004 (PARMS): Do not use macros from bp-asm.h.
30005 (S1): Likewise.
30006 (S2): Likewise.
30007 (SIZE): Likewise.
30008 (__mpn_add_n): Do not use BP_SYM.
30009 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30010 "bp-asm.h".
30011 (PARMS): Do not use macros from bp-asm.h.
30012 (S1): Likewise.
30013 (SIZE): Likewise.
30014 (__mpn_addmul_1): Do not use BP_SYM.
30015 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30016 weak_alias.
30017 (bzero): Likewise.
30018 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30019 "bp-asm.h".
30020 (PARMS): Do not use macros from bp-asm.h.
30021 (S): Likewise.
30022 (SIZE): Likewise.
30023 (__mpn_lshift): Do not use BP_SYM.
30024 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30025 "bp-asm.h".
30026 (PARMS): Do not use macros from bp-asm.h.
30027 (DEST): Likewise.
30028 (SRC): Likewise.
30029 (LEN): Likewise.
30030 (memcpy): Likewise. Do not use BP_SYM.
30031 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30032 libc_hidden_def and weak_alias.
30033 (mempcpy): Do not use BP_SYM in weak_alias.
30034 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30035 "bp-asm.h".
30036 (PARMS): Do not use macros from bp-asm.h.
30037 (DEST): Likewise.
30038 (LEN): Likewise.
30039 [!BZERO_P] (CHR): Likewise.
30040 (memset): Likewise. Do not use BP_SYM.
30041 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30042 "bp-asm.h".
30043 (PARMS): Do not use macros from bp-asm.h.
30044 (S1): Likewise.
30045 (SIZE): Likewise.
30046 (__mpn_mul_1): Do not use BP_SYM.
30047 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30048 "bp-asm.h".
30049 (PARMS): Do not use macros from bp-asm.h.
30050 (S): Likewise.
30051 (SIZE): Likewise.
30052 (__mpn_rshift): Do not use BP_SYM.
30053 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30054 "bp-asm.h".
30055 (PARMS): Do not use macros from bp-asm.h.
30056 (STR): Likewise.
30057 (CHR): Likewise.
30058 (strchr): Likewise. Do not use BP_SYM.
30059 (index): Do not use BP_SYM in weak_alias.
30060 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30061 "bp-asm.h".
30062 (PARMS): Do not use macros from bp-asm.h.
30063 (DEST): Likewise.
30064 (SRC): Likewise.
30065 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30066 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30067 "bp-asm.h".
30068 (PARMS): Do not use macros from bp-asm.h.
30069 (strlen): Do not use BP_SYM.
30070 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30071 "bp-asm.h".
30072 (PARMS): Do not use macros from bp-asm.h.
30073 (S1): Likewise.
30074 (S2): Likewise.
30075 (SIZE): Likewise.
30076 (__mpn_sub_n): Do not use BP_SYM.
30077 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30078 "bp-asm.h".
30079 (PARMS): Do not use macros from bp-asm.h.
30080 (S1): Likewise.
30081 (SIZE): Likewise.
30082 (__mpn_submul_1): Do not use BP_SYM.
30083 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30084 "bp-asm.h".
30085 (PARMS): Do not use macros from bp-asm.h.
30086 (S1): Likewise.
30087 (S2): Likewise.
30088 (SIZE): Likewise.
30089 (__mpn_add_n): Do not use BP_SYM.
30090 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30091 weak_alias.
30092 (bzero): Likewise.
30093 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30094 "bp-asm.h".
30095 (PARMS): Do not use macros from bp-asm.h.
30096 (BLK2): Likewise.
30097 (LEN): Likewise.
30098 (memcmp): Do not use BP_SYM.
30099 (bcmp): Do not use BP_SYM in weak_alias.
30100 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30101 "bp-asm.h".
30102 (PARMS): Do not use macros from bp-asm.h.
30103 (DEST): Likewise.
30104 (SRC): Likewise.
30105 (LEN): Likewise.
30106 (memcpy): Likewise. Do not use BP_SYM.
30107 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30108 "bp-asm.h".
30109 (PARMS): Do not use macros from bp-asm.h.
30110 (DEST): Likewise.
30111 (SRC): Likewise.
30112 (LEN): Likewise.
30113 (memmove): Likewise. Do not use BP_SYM.
30114 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30115 "bp-asm.h".
30116 (PARMS): Do not use macros from bp-asm.h.
30117 (DEST): Likewise.
30118 (SRC): Likewise.
30119 (LEN): Likewise.
30120 (__mempcpy): Likewise. Do not use BP_SYM.
30121 (mempcpy): Do not use BP_SYM in weak_alias.
30122 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30123 "bp-asm.h".
30124 (PARMS): Do not use macros from bp-asm.h.
30125 (DEST): Likewise.
30126 (LEN): Likewise.
30127 [!BZERO_P] (CHR): Likewise.
30128 (memset): Likewise. Do not use BP_SYM.
30129 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30130 "bp-asm.h".
30131 (PARMS): Do not use macros from bp-asm.h.
30132 (STR2): Likewise.
30133 (strcmp): Do not use BP_SYM.
30134 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30135 "bp-asm.h".
30136 (PARMS): Do not use macros from bp-asm.h.
30137 (STR): Likewise.
30138 (DELIM): Likewise.
30139 [USE_AS_STRTOK_R] (SAVE): Likewise.
30140 (FUNCTION): Likewise. Do not use BP_SYM.
30141 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30142 aliases.
30143 (strtok_r): Likewise.
30144 (__GI___strtok_r): Likewise.
30145 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30146 (PARMS): Do not use macros from bp-asm.h.
30147 (S): Likewise.
30148 (SIZE): Likewise.
30149 (__mpn_lshift): Do not use BP_SYM.
30150 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30151 (PARMS): Do not use macros from bp-asm.h.
30152 (STR): Likewise.
30153 (CHR): Likewise.
30154 (__memchr): Do not use BP_SYM.
30155 (memchr): Do not use BP_SYM in weak_alias.
30156 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30157 (PARMS): Do not use macros from bp-asm.h.
30158 (BLK2): Likewise.
30159 (LEN): Likewise.
30160 (memcmp): Do not use BP_SYM.
30161 (bcmp): Do not use BP_SYM in weak_alias.
30162 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30163 (PARMS): Do not use macros from bp-asm.h.
30164 (S1): Likewise.
30165 (SIZE): Likewise.
30166 (__mpn_mul_1): Do not use BP_SYM.
30167 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30168 "bp-asm.h".
30169 (PARMS): Do not use macros from bp-asm.h.
30170 (STR): Likewise.
30171 (CHR): Likewise.
30172 (__rawmemchr): Do not use BP_SYM.
30173 (rawmemchr): Do not use BP_SYM in weak_alias.
30174 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30175 (PARMS): Do not use macros from bp-asm.h.
30176 (S): Likewise.
30177 (SIZE): Likewise.
30178 (__mpn_rshift): Do not use BP_SYM.
30179 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30180 (PARMS): Do not use macros from bp-asm.h.
30181 (SIGMSK): Likewise.
30182 (__sigsetjmp): Likewise. Do not use BP_SYM.
30183 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30184 (_start): Do not use BP_SYM.
30185 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30186 (PARMS): Do not use macros from bp-asm.h.
30187 (DEST): Likewise.
30188 (SRC): Likewise.
30189 (__stpcpy): Likewise. Do not use BP_SYM.
30190 (stpcpy): Do not use BP_SYM in weak_alias.
30191 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30192 "bp-asm.h".
30193 (PARMS): Do not use macros from bp-asm.h.
30194 (DEST): Likewise.
30195 (SRC): Likewise.
30196 (LEN): Likewise.
30197 (__stpncpy): Likewise. Do not use BP_SYM.
30198 (stpncpy): Do not use BP_SYM in weak_alias.
30199 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30200 (PARMS): Do not use macros from bp-asm.h.
30201 (STR): Likewise.
30202 (CHR): Likewise.
30203 (strchr): Likewise. Do not use BP_SYM.
30204 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30205 "bp-asm.h".
30206 (PARMS): Do not use macros from bp-asm.h.
30207 (STR): Likewise.
30208 (CHR): Likewise.
30209 (__strchrnul): Likewise. Do not use BP_SYM.
30210 (strchrnul): Do not use BP_SYM in weak_alias.
30211 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30212 "bp-asm.h".
30213 (PARMS): Do not use macros from bp-asm.h.
30214 (STOP): Likewise.
30215 (strcspn): Do not use BP_SYM.
30216 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30217 "bp-asm.h".
30218 (PARMS): Do not use macros from bp-asm.h.
30219 (STR): Likewise.
30220 (STOP): Likewise.
30221 (strpbrk): Likewise. Do not use BP_SYM.
30222 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30223 "bp-asm.h".
30224 (PARMS): Do not use macros from bp-asm.h.
30225 (STR): Likewise.
30226 (CHR): Likewise.
30227 (strrchr): Likewise. Do not use BP_SYM.
30228 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30229 (PARMS): Do not use macros from bp-asm.h.
30230 (SKIP): Likewise.
30231 (strspn): Do not use BP_SYM.
30232 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30233 (PARMS): Do not use macros from bp-asm.h.
30234 (STR): Likewise.
30235 (DELIM): Likewise.
30236 (SAVE): Likewise.
30237 (FUNCTION): Likewise. Do not use BP_SYM.
30238 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30239 aliases.
30240 (strtok_r): Likewise.
30241 (__GI___strtok_r): Likewise.
30242 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30243 (PARMS): Do not use macros from bp-asm.h.
30244 (S1): Likewise.
30245 (S2): Likewise.
30246 (SIZE): Likewise.
30247 (__mpn_sub_n): Do not use BP_SYM.
30248 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30249 "bp-asm.h".
30250 (PARMS): Do not use macros from bp-asm.h.
30251 (S1): Likewise.
30252 (SIZE): Likewise.
30253 (__mpn_submul_1): Do not use BP_SYM.
30254 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30255 <bp-sym.h>.
30256 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30257 and <bp-asm.h>.
30258 (PARMS): Do not use macros from bp-asm.h.
30259 (FLAGS): Likewise.
30260 (PTID): Likewise.
30261 (TLS): Likewise.
30262 (CTID): Likewise.
30263 (__clone): Do not use BP_SYM.
30264 (clone): Do not use BP_SYM in weak_alias.
30265 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30266 and <bp-asm.h>.
30267 (PARMS): Do not use macros from bp-asm.h.
30268 (LEN): Likewise.
30269 (__mmap64): Do not use BP_SYM.
30270 (mmap64): Do not use BP_SYM in weak_alias.
30271 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30272 <bp-sym.h> and <bp-asm.h>.
30273 (PARMS): Do not use macros from bp-asm.h.
30274 (__posix_fadvise64_l64): Do not use BP_SYM.
30275 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30276 (PARMS): Do not use macros from bp-asm.h.
30277 (NSOPS): Likewise.
30278 (semtimedop): Do not use BP_SYM.
30279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30280 and <bp-asm.h>.
30281
582a3cff
AM
302822013-02-21 Allan McRae <allan@archlinux.org>
30283
30284 * manual/message.texi (Charset conversion in gettext):
30285 Move @end statement to beginning of line.
30286
bab8a695
SP
302872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30288
80945231
SP
30289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30290 static.
30291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30292 Likewise.
30293
bab8a695
SP
30294 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30295 (denorm): Likewise.
30296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30298
e21d7aa7
AK
302992013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30300
30301 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30302 tail-call to the resolved function if pltexit isn't needed.
30303
4c7a4263
SP
303042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30305
30306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30307 or Y being zero as being unlikely.
30308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30309 Likewise.
30310
41f49342
CD
303112013-02-20 Carlos O'Donell <carlos@redhat.com>
30312
30313 * manual/nss.texi (System Databases and Name Service Switch):
30314 Remove frobnicate @pxref.
30315
50022a93
TS
303162013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30317
30318 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30319 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30320
08cbd996
PM
303212013-02-20 Petr Machata <pmachata@redhat.com>
30322
30323 * elf/elf.h (R_ARM_TARGET1): New macro.
30324 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30325 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30326 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30327 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30328 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30329 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30330 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30331 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30332 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30333 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30334 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30335 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30336 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30337 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30338 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30339 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30340 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30341 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30342 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30343 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30344 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30345 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30346 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30347 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30348 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30349 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30350 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30351 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30352 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30353 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30354 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30355 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30356 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30357 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30358 (R_ARM_THM_GOT_BREL12): Likewise.
30359 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30360 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30361 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30362 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30363 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30364 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30365 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30366 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30367 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30368
c7b275d6
TS
303692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30370
30371 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30372 __attribute_used__ to __attribute__ ((unused)).
30373
20cd7fb3
SP
303742013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30375
30376 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30377 powerpc mpa.c.
30378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30379 comment formatting.
30380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30381
92945b52
JM
303822013-02-19 Joseph Myers <joseph@codesourcery.com>
30383
30384 [BZ #13550]
30385 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30386 Remove macro.
30387 (ENTER): Remove both macro definitions.
30388 (LEAVE): Likewise.
30389 (CHECK_BOUNDS_LOW): Likewise.
30390 (CHECK_BOUNDS_HIGH): Likewise.
30391 (CHECK_BOUNDS_BOTH): Likewise.
30392 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30393 (RETURN_BOUNDED_POINTER): Likewise.
30394 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30395 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30396 (POP_ERRNO_LOCATION_RETURN): Likewise.
30397 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30398 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30399 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30400 macros.
30401 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30402 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30403 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30404 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30405 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30406 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30407 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30408 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30409 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30410 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30411 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30412 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30413 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30414 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30415 removed macros.
30416 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30417 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30418 macros.
30419 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30420 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30421 * sysdeps/i386/i586/memset.S (memset): Likewise.
30422 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30423 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30424 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30425 macros.
30426 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30427 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30428 Change uses of L(2) to L(out).
30429 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30430 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30431 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30432 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30433 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30434 removed macros.
30435 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30436 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30437 macros.
30438 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30439 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30440 (RETURN): Do not use macro LEAVE.
30441 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30442 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30443 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30444 * sysdeps/i386/i686/memset.S (memset): Likewise.
30445 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30446 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30447 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30448 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30449 Likewise.
30450 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30451 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30452 L(1_2) and L(1_3) into L(1).
30453 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30454 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30455 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30456 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30457 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30458 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30459 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30460 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30461 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30462 macros.
30463 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30464 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30465 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30466 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30467 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30468 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30469 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30470 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30471 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30472 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30473 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30474 * sysdeps/i386/strspn.S (strspn): Likewise.
30475 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30476 conditional code.
30477 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30478 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30479 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30480 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30481 L(1_3) into L(1_1).
30482 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30483 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30484 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30485 macros.
30486 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30487
2389741a
JJ
304882013-02-19 Jakub Jelinek <jakub@redhat.com>
30489
30490 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30491 macro.
30492
2016b3cd
SP
304932013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30494
e4f22324
SP
30495 * math/atest-exp.c (exp_mpn): Remove ROUND.
30496 * math/atest-exp2.c (exp_mpn): Likewise.
30497 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30498
2016b3cd
SP
30499 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30500 * stdlib/tst-tls-atexit-lib.c: Likewise.
30501 * stdlib/tst-tls-atexit.c: Likewise.
30502
4be9b544
MF
305032013-02-18 Mike Frysinger <vapier@gentoo.org>
30504
30505 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30506 and __attribute_alloc_size__.
30507
2f62b9ee
MF
305082013-02-18 Mike Frysinger <vapier@gentoo.org>
30509
30510 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30511 __attribute_alloc_size__.
30512 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30513 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30514
6ff444c4
MF
305152013-02-18 Mike Frysinger <vapier@gentoo.org>
30516
30517 * include/programs/xmalloc.h: New file.
30518 * catgets/gencat.c: Include it.
30519 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30520 * elf/pldd.c: Likewise.
30521 * iconv/iconv_charmap.c: Likewise.
30522 * iconv/iconvconfig.c: Likewise.
30523 * iconv/strtab.c: Likewise.
30524 * locale/programs/locale.c: Likewise.
30525 * locale/programs/localedef.h: Likewise.
30526 * locale/programs/simple-hash.c: Likewise.
30527 * nscd/nscd.h: Likewise.
30528 * nss/makedb.c: Likewise.
30529 * sysdeps/generic/ldconfig.h: Likewise.
30530
be179c8a
SP
305312013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30532
ba384f6e
SP
30533 * Versions.def: Add GLIBC_2.18.
30534 * include/link.h (struct link_map): New member l_tls_dtor_count.
30535 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30536 (__call_tls_dtors): Likewise.
30537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30538 __cxa_thread_atexit_impl.
30539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30540 Likewise.
30541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30542 Likewise.
30543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30544 Likewise.
30545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30546 Likewise.
30547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30549 Likewise.
30550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30551 Likewise.
30552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30554 Likewise.
30555 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30556 (tests): Add test case tst-tls-atexit.
30557 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30558 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30559 (GLIBC_PRIVATE): Add __call_tls_dtors.
30560 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30561 for libstdc++.
30562 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30563 * stdlib/tst-tls-atexit.c: New test case.
30564 * stdlib/tst-tls-atexit-lib.c: New test case.
30565
ffaa74cf 30566 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30567
be179c8a
SP
30568 * elf/Versions (ld): Add _dl_find_dso_for_object.
30569 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30570 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30571 (dl_open_worker): Use _dl_find_dso_for_object.
30572 * elf/dl-sym.c (do_sym): Likewise.
30573 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30574
f78b5caa
AK
305752013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30576
30577 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30578 Syntactic changes only.
30579 (_dl_runtime_profile): Do a tail-call to the resolved function.
30580
29691210
JM
305812013-02-17 Joseph Myers <joseph@codesourcery.com>
30582
30583 [BZ #13550]
30584 * sysdeps/x86_64/bp-asm.h: Remove file.
30585 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30586 <bp-sym.h> and <bp-asm.h>.
30587 (__clone): Do not use BP_SYM.
30588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30589 <bp-sym.h> and <bp-asm.h>.
30590 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30591 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30592 "bp-asm.h".
30593 (_setjmp): Do not use BP_SYM.
30594 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30595 "bp-asm.h".
30596 (setjmp): Do not use BP_SYM.
30597 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30598 libc_hidden_def.
30599 (mempcpy): Do not use BP_SYM in weak_alias.
30600 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30601 "bp-asm.h".
30602 (strchr): Do not use BP_SYM.
30603 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30604 "bp-asm.h".
30605 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30606 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30607 (_start): Do not use BP_SYM.
30608 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30609 "bp-asm.h".
30610 (strcat): Do not use BP_SYM.
30611 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30612 "bp-asm.h".
30613 (STRCMP): Do not use BP_SYM.
30614 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30615 "bp-asm.h".
30616 (STRCPY): Do not use BP_SYM.
30617 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30618 "bp-asm.h".
30619 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30620 "bp-asm.h".
30621 (FUNCTION): Do not use BP_SYM.
30622 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30623 weak_alias.
30624 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30625
f238fd19
AJ
306262013-02-17 Andreas Jaeger <aj@suse.de>
30627
30628 * time/Versions: Sort entries.
30629 * string/Versions: Likewise.
30630 * resolv/Versions: Likewise.
30631 * posix/Versions: Likewise.
30632 * iconv/Versions: Likewise.
30633 * elf/Versions: Likewise.
30634 * wcsmbs/Versions: Likewise.
30635
bd07f23c 306362013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30637
22af19f9
SP
30638 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30639 loop termination condition.
30640
4709fe76
SP
30641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30642 variable to calculate EZ.
30643 (__sqr): Likewise.
2d0e0f29
SP
30644
30645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30646 the lower precision input.
30647
daaa7713
JM
306482013-02-15 Joseph Myers <joseph@codesourcery.com>
30649
30650 [BZ #13550]
30651 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30652 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30653 (run-via-rtld-prefix): Do not handle %-bp tests.
30654 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30655 (all-object-suffixes): Remove .ob.
30656 (bppfx): Remove variable.
30657 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30658 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30659 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30660 [$(build-bounded) = yes] (libtype.ob): Likewise.
30661 * Makerules (elide-routines.ob): Remove variable.
30662 (do-tests-clean): Do not handle *-bp.out.
30663 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30664 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30665 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30666 (tests): Do not include $(tests-bp.out).
30667 (xtests): Do not include $(xtests-bp.out).
30668 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30669 [$(build-bounded) = yes] ($(addprefix
30670 $(objpfx),$(binaries-bounded))): Remove rule.
30671 ($(objpfx)%-bp.out): Remove rule.
30672 * config.make.in (build-bounded): Remove variable.
30673 * crypt/Makefile [$(build-bounded) = yes]
30674 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30675 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30676 append to variable.
30677 [$(build-bounded) = yes] (install-lib): Likewise.
30678 [$(build-bounded) = yes] (generated): Likewise.
30679 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30680 Remove rule.
30681 * intl/Makefile [$(build-bounded) = yes]
30682 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30683 * math/Makefile [$(build-bounded) = yes]
30684 ($(tests:%=$(objpfx)%-bp): Likewise.
30685 * misc/Makefile [$(build-bounded) = yes]
30686 ($(objpfx)tst-tsearch-bp): Likewise.
30687 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30688 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30689 Remove dependency.
30690 * string/Makefile (o-objects.ob): Remove variable.
30691 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30692 (CFLAGS-.ob): Remove variable.
30693 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30694 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30695 both definitions of variable.
30696 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30697 (ASFLAGS-.ob): Remove variable.
30698
e97ed6dd
JM
306992013-02-14 Joseph Myers <joseph@codesourcery.com>
30700
2bdd4ca6
JM
30701 [BZ #13550]
30702 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30703 Remove __BOUNDED_POINTERS__ from condition.
30704 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30705 * string/bits/string2.h [!__NO_STRING_INLINES &&
30706 !__BOUNDED_POINTERS__]: Likewise.
30707 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30708 Likewise.
30709 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30710 Remove conditional code.
30711 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30712 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30713 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30714 condition.
30715
e97ed6dd
JM
30716 [BZ #13550]
30717 * csu/libc-start.c: Do not include <bp-sym.h>.
30718 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30719 * elf/dl-open.c: Do not include <bp-sym.h>.
30720 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30721 * math/fegetenv.c: Do not include <bp-sym.h>.
30722 (fegetenv): Do not use BP_SYM in versioned symbols.
30723 * nptl/sysdeps/pthread/bits/libc-lockP.h
30724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30725 <bp-sym.h>.
30726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30727 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30729 (__pthread_mutex_destroy): Likewise.
30730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30731 (__pthread_mutex_lock): Likewise.
30732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30733 (__pthread_mutex_trylock): Likewise.
30734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30735 (__pthread_mutex_unlock): Likewise.
30736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30737 (__pthread_mutexattr_init): Likewise.
30738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30739 (__pthread_mutexattr_destroy): Likewise.
30740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30741 (__pthread_mutexattr_settype): Likewise.
30742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30743 (__pthread_rwlock_init): Likewise.
30744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30745 (__pthread_rwlock_destroy): Likewise.
30746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30747 (__pthread_rwlock_rdlock): Likewise.
30748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30749 (__pthread_rwlock_tryrdlock): Likewise.
30750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30751 (__pthread_rwlock_wrlock): Likewise.
30752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30753 (__pthread_rwlock_trywrlock): Likewise.
30754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30755 (__pthread_rwlock_unlock): Likewise.
30756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30757 (__pthread_key_create): Likewise.
30758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30759 (__pthread_setspecific): Likewise.
30760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30761 (__pthread_getspecific): Likewise.
30762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30763 Likewise.
30764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30765 (_pthread_cleanup_push_defer): Likewise.
30766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30767 (_pthread_cleanup_pop_restore): Likewise.
30768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30769 (pthread_setcancelstate): Likewise.
30770 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30771 <bp-sym.h>.
30772 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30773 (memchr): Do not use BP_SYM in weak_alias.
30774 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30775 (fegetenv): Do not use BP_SYM in versioned symbols.
30776 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30777 (fesetenv): Do not use BP_SYM in versioned symbols.
30778 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30779 (feupdateenv): Do not use BP_SYM in versioned symbols.
30780 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30781 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30782 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30783 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30784 (open64): Do not use BP_SYM in weak_alias.
30785 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30786 (fegetenv): Do not use BP_SYM in versioned symbols.
30787 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30788 (fesetenv): Do not use BP_SYM in versioned symbols.
30789 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30790 (feupdateenv): Do not use BP_SYM in versioned symbols.
30791 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30792 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30793 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30794 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30795 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30796 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30797 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30798 <bp-sym.h>.
30799 (__libc_start_main): Do not use BP_SYM.
30800
d6752ccd
SP
308012013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30802
cb57ce60
SP
30803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30804 redundant return line.
30805 (norm): Likewise.
30806 (denorm): Likewise.
30807 (dbl_mp): Likewise.
30808 (sub_magnitudes): Likewise.
30809 (__add): Likewise.
30810 (__sub): Likewise.
30811 (__mul): Likewise.
30812 (__inv): Likewise.
30813 (__dvd): Likewise.
30814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30815 (norm): Likewise.
30816 (denorm): Likewise.
30817 (dbl_mp): Likewise.
30818 (sub_magnitudes): Likewise.
30819 (__add): Likewise.
30820 (__sub): Likewise.
30821 (__mul): Likewise.
30822 (__inv): Likewise.
30823 (__dvd): Likewise.
30824
f414520d
SP
30825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30826 instead of __mul.
30827 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30828 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30829 (cc32): Likewise.
30830
d6752ccd
SP
30831 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30832 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30834 of __mul for squares.
30835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30836 function
30837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30838 Likewise.
30839 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30841
70d9946a
JM
308422013-02-13 Joseph Myers <joseph@codesourcery.com>
30843
30844 [BZ #13550]
30845 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30846 code.
30847 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30848 prototype or function definition. Rename ubp_* variables and
30849 parameters. Remove argv definitions conditional on
30850 [__BOUNDED_POINTERS__].
30851 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30852 * elf/dl-runtime.c (_dl_fixup): Likewise.
30853 * include/set-hooks.h (RUN_HOOK): Likewise.
30854 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30855 definition.
30856 * string/strcpy.c (strcpy): Do not use __unbounded.
30857 * sysdeps/generic/frame.h (struct layout): Likewise.
30858 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30859 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30860 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30861 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30862 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30863 (__backtrace): Likewise.
30864 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30865 use __ptrvalue.
30866 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30867 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30868 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30869 Likewise.
30870 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30871 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30872 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30873 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30874 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30875 Do not use __unbounded.
30876 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30877 Rename __unboundedrlimits parameter to rlimits in prototype.
30878 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30879 Do not use __unbounded.
30880 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30881 not use __ptrvalue.
30882 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30883 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30884 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30885 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30886 __ptrvalue or __unbounded.
30887 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30888 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30889 use __unbounded.
30890 (__new_msgctl): Do not use __ptrvalue.
30891 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30892 __unbounded.
30893 (__libc_msgrcv): Do not use __ptrvalue.
30894 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30895 startup_info): Do not use __unbounded.
30896 (__libc_start_main): Likewise. Rename ubp_* variables and
30897 parameters. Remove argv definitions conditional on
30898 [__BOUNDED_POINTERS__].
30899 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30900 __ptrvalue.
30901 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30902 use __unbounded.
30903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30904 or __ptrvalue.
30905 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30906 use __unbounded.
30907 (__new_shmctl): Do not use __ptrvalue.
30908 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30909 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30910 Likewise.
30911 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30913 (__libc_sigaction): Likewise.
30914 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30915 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30916 Likewise.
30917 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30918
cc7834d6
OB
309192013-02-13 Ondřej Bílka <neleai@seznam.cz>
30920
ffb1ec7b 30921 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30922
30923 * string/mempcpy.c: Implement by calling memcpy.
30924
bdf02814
SP
309252013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30926
c2af38aa
SP
30927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30928
4e92d59e
SP
30929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30930 evaluation.
30931
909279a5
SP
30932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30933 values in the mantissa.
30934
bdf02814
SP
30935 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30936 minimize writes to Z.
30937 (sub_magnitudes): Simplify code a bit.
30938
cd525923
RM
309392013-02-12 Roland McGrath <roland@hack.frob.com>
30940
30941 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30942 from the message. The linker prefixes all warnings with that already.
30943
7e2f0d2d
AS
309442013-02-12 Andreas Schwab <schwab@suse.de>
30945
a445af0b
AS
30946 [BZ #15078]
30947 * posix/regexec.c (extend_buffers): Add parameter min_len.
30948 (check_matching): Pass minimum needed length.
30949 (clean_state_log_if_needed): Likewise.
30950 (get_subexp): Likewise.
30951 * posix/Makefile (tests): Add bug-regex34.
30952 (bug-regex34-ENV): Define.
30953 * posix/bug-regex34.c: New file.
30954
7e2f0d2d
AS
30955 [BZ #11561]
30956 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30957 elements compare against the byte sequence of it, not its name.
30958 * posix/Makefile (tests): Add bug-regex35.
30959 (bug-regex35-ENV): Define.
30960 * posix/bug-regex35.c: New file.
30961
a175b684
TV
309622013-02-11 Tom de Vries <tom@codesourcery.com>
30963
30964 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30965 comment.
30966 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30967 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30968 (CHECK_EOL): Add undef.
30969
310998fe 309702013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30971
30972 * bits/stdlib-bsearch.h: New file.
30973 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30974 * stdlib/stdlib.h: Likewise.
41eda41d 30975
8ded91fb
RM
309762013-02-11 Roland McGrath <roland@hack.frob.com>
30977
30978 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30979 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30980 declaration.
30981 * manual/search.texi (Array Search Function): Add missing const in
30982 lfind prototype.
30983 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30984 declaration to use rlim_t.
30985 (Basic Scheduling Functions): Remove erroneous const from
30986 sched_getparam prototype. Remove erroneous * from
30987 sched_get_priority_max and sched_get_priority_min prototypes.
30988 (Resource Usage): Fix summary @comment on vtimes to refer to
30989 sys/vtimes.h rather than vtimes.h.
30990 Add missing *s in vtimes prototype.
30991 (Limits on Resources): Fix ulimit prototype to return long int.
30992 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30993 prototypes to use long int rather than double.
30994 (BSD Random): Fix initstate and setstate to use char *, not void *.
30995 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30996 prototype to make second argument 'struct aiocb64 *const[]'.
30997 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30998 (Status of AIO Operations): Remove erroneous const in aio_return and
30999 aio_return64 prototypes.
31000 (Synchronizing I/O): Fix sync prototype to return void.
31001 * manual/startup.texi (Suboptions): Remove an erroneous const in
31002 getsubopt prototype.
31003 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31004 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31005 use size_t rather than int.
31006 (Scanning All Users): Likewise for getpwent_r.
31007 (Setting Groups): Add missing const to setgroups prototype.
31008 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31009 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31010 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31011 'const void *' rather than 'const char *'.
31012 (Host Address Functions): Likewise for inet_ntop.
31013 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31014 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31015 ssize_t for return value.
31016 (Sending Data): Likewise for send, sendto, sendmsg.
31017 (Socket Option Functions): Add a missing const in setsockopt prototype.
31018 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31019 use wchar_t for the argument.
31020 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31021 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31022 take no arguments.
31023 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31024 double/float/long double for second argument.
31025 Fix return types of significand, significandf, significandl.
31026 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31027 argument in fchmod prototype.
31028 (File Owner): Use uid_t and gid_t in fchown prototype.
31029 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31030 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31031 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31032 use 'const struct dirent **' as argument types to CMP function pointer
31033 argument.
31034 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31035 (File Times): Fix summary magic @comment for struct utimbuf and utime
31036 to refer to utime.h, not time.h.
31037 * manual/string.texi (Argz Functions): Add missing const in
31038 argz_extract and argz_next prototypes.
31039 (Finding Tokens in a String): Likewise for basename.
31040 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31041 (Copying and Concatenation): Fix typo in wmemmove prototype.
31042 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31043 (Signal Stack): Remove erroneous const in sigstack prototype.
31044 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31045 prototype.
31046 (Simple Calendar Time): Likewise for stime.
31047 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31048 prototype.
31049 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31050 say sys/sysctl.h instead.
31051 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31052 and vsyslog prototypes.
31053
fe77fe6d
TV
310542013-02-11 Tom de Vries <tom@codesourcery.com>
31055
31056 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31057 Remove.
31058
3a09b620
RM
310592013-02-11 Roland McGrath <roland@hack.frob.com>
31060
31061 * misc/sys/mman.h: Fix typo in mremap comment.
31062
550a0b89
RM
310632013-02-08 Roland McGrath <roland@hack.frob.com>
31064
31065 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31066 the '\0' terminator.
31067
a2da1673
JM
310682013-02-08 Joseph Myers <joseph@codesourcery.com>
31069
31070 [BZ #13550]
31071 * debug/segfault.c: Don't include <bp-checks.h>.
31072 * sysdeps/generic/bp-checks.h: Remove file.
31073 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31074 (__GETDENTS): Don't use CHECK_N.
31075 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31076 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31077 (__getgroups): Don't use CHECK_N.
31078 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31079 (setgroups): Don't use CHECK_N.
31080 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31081 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31082 (__libc_msgrcv): Don't use CHECK_N.
31083 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31084 (__libc_msgsnd): Don't use CHECK_N.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31086 <bp-checks.h>.
31087 (__libc_pread): Don't use CHECK_N.
31088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31089 include <bp-checks.h>.
31090 (__libc_pread64): Don't use CHECK_N.
31091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31092 include <bp-checks.h>.
31093 (__libc_pwrite): Don't use CHECK_N.
31094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31095 include <bp-checks.h>.
31096 (__libc_pwrite64): Don't use CHECK_N.
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31098 <bp-checks.h>.
31099 (__libc_pread): Don't use CHECK_N.
31100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31101 include <bp-checks.h>.
31102 (__libc_pread64): Don't use CHECK_N.
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31104 include <bp-checks.h>.
31105 (__libc_pwrite): Don't use CHECK_N.
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31107 include <bp-checks.h>.
31108 (__libc_pwrite64): Don't use CHECK_N.
31109 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31110 (do_pread): Don't use CHECK_N.
31111 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31112 (do_pread64): Don't use CHECK_N.
31113 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31114 (do_pwrite): Don't use CHECK_N.
31115 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31116 (do_pwrite64): Don't use CHECK_N.
31117 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31118 (__libc_readv): Don't use CHECK_N.
31119 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31120 (semop): Don't use CHECK_N.
31121 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31122 <bp-checks.h>.
31123 (semtimedop): Don't use CHECK_N.
31124 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31125 (__libc_pread): Don't use CHECK_N.
31126 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31127 <bp-checks.h>.
31128 (__libc_pread64): Don't use CHECK_N.
31129 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31130 <bp-checks.h>.
31131 (__libc_pwrite): Don't use CHECK_N.
31132 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31133 <bp-checks.h>.
31134 (__libc_pwrite64): Don't use CHECK_N.
31135 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31136 <bp-checks.h>.
31137 (__libc_msgrcv): Don't use CHECK_N.
31138 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31139 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31140 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31141 (__libc_writev): Don't use CHECK_N.
31142
b84660a8
RM
311432013-02-08 Roland McGrath <roland@hack.frob.com>
31144
7f3e75f8
RM
31145 * string/strcpy.c: Removed unused variable.
31146
b84660a8
RM
31147 * Makeconfig (+sysdep-includes): Define with := rather than =.
31148 Use an existing include/ subdir of each sysdeps dir before it.
31149
471514d3
CD
311502013-02-08 Carlos O'Donell <carlos@redhat.com>
31151
31152 * nscd/connection.c (register_traced_file): Comment function.
31153 [HAVE_INOTIFY] (union __inev): Define.
31154 [HAVE_INOTIFY] (inotify_check_files): New function.
31155 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31156 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31157 clear_db_cache.
31158 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31159
b2d3c3be
CD
311602013-02-08 Carlos O'Donell <carlos@redhat.com>
31161
31162 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31163 loaded if not already and that a failure is permanent.
31164
b39949d2
CD
311652013-02-08 Carlos O'Donell <carlos@redhat.com>
31166
ddacd1db 31167 [BZ #15006]
b39949d2
CD
31168 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31169 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31170
b2c9eff4
JM
311712013-02-08 Joseph Myers <joseph@codesourcery.com>
31172
f3aae3f3
JM
31173 [BZ #13550]
31174 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31175 (CHECK_1_NULL_OK): Likewise.
31176 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31177 (__fxstat): Do not use CHECK_1.
31178 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31179 <bp-checks.h>.
31180 (___fxstat64): Do not use CHECK_1.
31181 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31182 <bp-checks.h>.
31183 (__fxstatat): Do not use CHECK_1.
31184 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31185 <bp-checks.h>.
31186 (__fxstatat64): Do not use CHECK_1.
31187 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31188 <bp-checks.h>.
31189 (__fxstat): Do not use CHECK_1.
31190 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31191 <bp-checks.h>.
31192 (__fxstatat): Do not use CHECK_1.
31193 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31194 <bp-checks.h>.
31195 (__getresgid): Do not use CHECK_1.
31196 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31197 <bp-checks.h>.
31198 (__getresuid): Do not use CHECK_1.
31199 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31200 <bp-checks.h>.
31201 (__lxstat): Do not use CHECK_1.
31202 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31203 <bp-checks.h>.
31204 (__old_msgctl): Do not use CHECK_1.
31205 (__new_msgctl): Likewise.
31206 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31207 <bp-checks.h>.
31208 (__new_setrlimit): Do not use CHECK_1.
31209 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31210 <bp-checks.h>.
31211 (__old_shmctl): Do not use CHECK_1.
31212 (__new_shmctl): Likewise.
31213 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31214 <bp-checks.h>.
31215 (__xstat): Do not use CHECK_1.
31216 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31217 (__lxstat): Do not use CHECK_1.
31218 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31219 <bp-checks.h>.
31220 (___lxstat64): Do not use CHECK_1.
31221 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31222 (__old_msgctl): Do not use CHECK_1.
31223 (__new_msgctl): Likewise.
31224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31225 <bp-checks.h>.
31226 (__gettimeofday): Do not use CHECK_1.
31227 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31228 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31229 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31230 <bp-checks.h>.
31231 (__gettimeofday): Do not use CHECK_1.
31232 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31233 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31234 (__new_shmctl): Do not use CHECK_1.
31235 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31236 <bp-checks.h>.
31237 (do_sigtimedwait): Do not use CHECK_1.
31238 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31239 <bp-checks.h>.
31240 (do_sigwaitinfo): Do not use CHECK_1.
31241 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31242 <bp-checks.h>.
31243 (msgctl): Do not use CHECK_1.
31244 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31245 <bp-checks.h>.
31246 (shmctl): Do not use CHECK_1.
31247 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31248 (ustat): Do not use CHECK_1.
31249 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31250 <bp-checks.h>.
31251 (__fxstat): Do not use CHECK_1.
31252 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31253 <bp-checks.h>.
31254 (__fxstatat): Do not use CHECK_1.
31255 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31256 <bp-checks.h>.
31257 (__lxstat): Do not use CHECK_1.
31258 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31259 <bp-checks.h>.
31260 (__xstat): Do not use CHECK_1.
31261 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31262 (__xstat): Do not use CHECK_1.
31263 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31264 (___xstat64): Do not use CHECK_1.
31265
b2c9eff4
JM
31266 [BZ #13550]
31267 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31268 definitions.
31269 (CHECK_BOUNDS_HIGH): Likewise.
31270 * string/strcpy.c: Do not include <bp-checks.h>.
31271 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31272
f1d70dad
RM
312732013-02-07 Roland McGrath <roland@hack.frob.com>
31274
31275 * nscd/nscd-client.h (__nscd_drop_map_ref):
31276 Add __attribute__ ((unused)).
31277 * nis/nss-nisplus.h (niserr2nss): Likewise.
31278
31279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31280 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31281
31282 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31283 Remove inline keyword.
31284 * include/rounding-mode.h (round_away): Likewise.
31285 * libio/wfileops.c (adjust_wide_data): Likewise.
31286 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31287 (__m128i_strloadu_tolower): Likewise.
31288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31289 (__m128i_strloadu_tolower): Likewise.
31290 * time/mktime.c (ydhms_diff): Likewise.
31291 * locale/elem-hash.h (elem_hash): Likewise.
31292 * locale/setlocale.c (setdata): Likewise.
31293 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31294 (re_string_wchar_at): Likewise.
31295 (bitset_not, bitset_merge, bitset_mask): Likewise.
31296 [!(__GNUC__ > 3)] (inline): Remove macro.
31297 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31298 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31299 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31300 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31301 * string/memcmp.c (memcmp_bytes): Likewise.
31302 * locale/programs/locarchive.c (compute_hashval): Likewise.
31303 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31304 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31305 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31306 * nss/getent.c (print_rpc, print_protocols): Likewise.
31307 (print_passwd, print_group, print_aliases): Likewise.
31308 * nis/nss-nisplus.h (niserr2nss): Likewise.
31309 * nscd/connections.c (restart_p): Likewise.
31310 Change return type to bool.
31311
eab55bfb
RM
313122013-02-05 Roland McGrath <roland@hack.frob.com>
31313
7bd642f5
RM
31314 * Makeconfig (all-Depend-files): Add existing
31315 $(sorted-subdirs:=/Depend) files.
31316 (all-subdirs): Remove nss.
31317 * sysdeps/unix/inet/Subdirs: Add it here instead.
31318 * hesiod/Depend: New file.
31319
573c29b2
RM
31320 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31321 instead of calling alloca.
31322
b2e25af0
RM
31323 * io/lseek.c (__lseek): Rename to __libc_lseek.
31324 Define __lseek as an alias.
31325
eab55bfb
RM
31326 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31327
9a0d1941
CD
313282013-02-04 Carlos O'Donell <carlos@redhat.com>
31329
31330 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31331 else clause and remove check for non-standard endianness.
31332
b83bbec4
DM
313332013-02-04 David S. Miller <davem@davemloft.net>
31334
31335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31336
6277fdab
JM
313372013-02-04 Joseph Myers <joseph@codesourcery.com>
31338
31339 [BZ #13550]
31340 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31341 (__ubp_memchr): Remove prototype.
31342 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31343 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31344 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31345 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31346 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31347 Remove alias.
31348 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31349 (__ubp_memchr): Likewise.
31350 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31351 (__ubp_memchr): Likewise.
31352 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31353 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31354 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31355 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31356 CHECK_STRING.
31357 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31358 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31359 (__getcwd): Do not use CHECK_STRING.
31360 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31361 <bp-checks.h>.
31362 (__real_chown): Do not use CHECK_STRING.
31363 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31364 <bp-checks.h>.
31365 (fchownat): Do not use CHECK_STRING.
31366 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31367 CHECK_STRING.
31368 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31369 <bp-checks.h>.
31370 (__lchown): Do not use CHECK_STRING.
31371 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31372 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31373 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31374 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31376 include <bp-checks.h>.
31377 (truncate64): Do not use CHECK_STRING.
31378 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31379 <bp-checks.h>.
31380 (__real_chown): Do not use CHECK_STRING.
31381 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31382 <bp-checks.h>.
31383 (__lchown): Do not use CHECK_STRING.
31384 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31385 <bp-checks.h>.
31386 (__chown): Do not use CHECK_STRING.
31387 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31388 <bp-checks.h>.
31389 (truncate64): Do not use CHECK_STRING.
31390 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31391 Likewise.
31392 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31393 (__xmknod): Do not use CHECK_STRING.
31394 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31395 <bp-checks.h>.
31396 (__xmknodat): Do not use CHECK_STRING.
31397 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31398 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31399
903ae060
AS
314002013-02-04 Andreas Schwab <schwab@suse.de>
31401
31402 [BZ #14142]
31403 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31404 * include/netdb.h: Likewise for h_errno.
31405 * elf/tst-stackguard1.c: Include <tls.h>.
31406
542f9466
JK
314072013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31408
31409 * elf/link.h (struct link_map): Extend the l_addr comment.
31410 * include/link.h (struct link_map): Likewise.
31411
e782a927
JM
314122013-02-01 Joseph Myers <joseph@codesourcery.com>
31413
31414 [BZ #13550]
31415 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31416 (BOUNDED_1): Remove macro.
31417 * debug/backtrace.c: Don't include <bp-checks.h>.
31418 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31419 (__backtrace): Likewise.
31420 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31421 <bp-checks.h>.
31422 (__backtrace): Don't use BOUNDED_1.
31423 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31424 <bp-checks.h>.
31425 (__backtrace): Don't use BOUNDED_1.
31426 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31427 (__backtrace): Don't use BOUNDED_1.
31428 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31429 (shmat): Don't use BOUNDED_N.
31430
8cf28c5e
JM
314312013-01-31 Joseph Myers <joseph@codesourcery.com>
31432
3a7ac8a0
JM
31433 [BZ #13550]
31434 * sysdeps/generic/bp-start.h: Remove file.
31435 * csu/libc-start.c: Don't include <bp-start.h>.
31436 (LIBC_START_MAIN): Set up __environ directly instead of using
31437 INIT_ARGV_and_ENVIRON.
31438 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31439 <bp-start.h>.
31440
f3499f95
JM
31441 [BZ #13550]
31442 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31443 definitions.
31444 (CHECK_FCNTL): Likewise.
31445 (CHECK_N_PAGES): Likewise.
31446
32a45bea
JM
31447 [BZ #13550]
31448 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31449 definitions.
31450 (CHECK_SIGSET_NULL_OK): Likewise.
31451 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31452 <bp-checks.h>.
31453 (sigpending): Don't use CHECK_SIGSET.
31454 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31455 <bp-checks.h>.
31456 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31457 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31458 <bp-checks.h>.
31459 (do_sigsuspend): Don't use CHECK_SIGSET.
31460 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31461 use CHECK_SIGSET.
31462 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31463 (do_sigwait): Don't use CHECK_SIGSET.
31464 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31465 use CHECK_SIGSET.
31466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31467 include <bp-checks.h>.
31468 (sigpending): Don't use CHECK_SIGSET.
31469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31470 include <bp-checks.h>.
31471 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31472 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31473 <bp-checks.h>.
31474 (sigpending): Don't use CHECK_SIGSET.
31475 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31476 <bp-checks.h>.
31477 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31478
2e8a5c8c
JM
31479 [BZ #13550]
31480 * sysdeps/generic/bp-semctl.h: Remove file.
31481 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31482 <bp-checks.h> and <bp-semctl.h>.
31483 (__old_semctl): Don't use CHECK_SEMCTL.
31484 (__new_semctl): Likewise.
31485 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31486 and <bp-semctl.h>.
31487 (__old_semctl): Don't use CHECK_SEMCTL.
31488 (__new_semctl): Likewise.
31489 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31490 <bp-checks.h> and <bp-semctl.h>.
31491 (__old_semctl): Don't use CHECK_SEMCTL.
31492 (__new_semctl): Likewise.
31493 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31494 <bp-checks.h> and <bp-semctl.h>.
31495 (semctl): Don't use CHECK_SEMCTL.
31496
c2d54929
JM
31497 [BZ #13550]
31498 * Makerules (elide-bp-thunks): Remove variable.
31499 (elide-routines.oS): Don't use $(elide-bp-thunks).
31500 (elide-routines.os): Likewise.
31501 (elide-routines.o): Likewise.
31502 (elide-routines.op): Likewise.
31503 (elide-routines.og): Likewise.
31504 (objects): Don't use $(bp-thunks).
31505 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31506 include.
31507 (common-generated): Do not add s-proto-bp.d.
31508 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31509 (int): Likewise.
31510 (typ): Likewise.
31511 Do not generate makefile rules for bounded-pointer thunks.
31512 * sysdeps/generic/bp-thunks.h: Remove file.
31513 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31514 * sysdeps/unix/s-proto-bp.S: Likewise.
31515
8cf28c5e
JM
31516 [BZ #15062]
31517 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31518 parts of result separately when argument is not close to line from
31519 -i to i and one part of argument is small.
31520 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31521 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31522 * math/libm-test.inc (cacos_test): Add more tests.
31523 (casin_test): Likewise.
31524 (casinh_test): Likewise.
31525 * sysdeps/i386/fpu/libm-test-ulps: Update.
31526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31527
c4e33b8d
DM
315282013-01-31 David S. Miller <davem@davemloft.net>
31529
31530 * po/de.po: Update from translation team.
31531
3b60b421
MK
315322013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31533
31534 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31535
bb931195
TS
315362013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31537
b5a5da23
TS
31538 * configure.in (_AC_PROG_CC_C89): New definition.
31539 * configure: Regenerate.
31540
bb931195
TS
31541 * configure.in (AC_PROG_CPP): New definition.
31542 * configure: Regenerate.
31543
8c53a12c
JM
315442013-01-23 Joseph Myers <joseph@codesourcery.com>
31545
31546 * debug/tst-backtrace.h: New file.
31547 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31548 (ret): Remove variable.
31549 (x): Likewise.
31550 (FAIL): Remove macro.
31551 (NO_INLINE): Likewise.
31552 (fn1): Use match function instead of strstr.
31553 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31554 (ret): Remove variable.
31555 (x): Likewise.
31556 (FAIL): Remove macro.
31557 (NO_INLINE): Likewise.
31558 (fn): Use match function instead of strstr.
31559 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31560 (ret): Remove variable.
31561 (x): Likewise.
31562 (FAIL): Remove macro.
31563 (NO_INLINE): Likewise.
31564 (handle_signal): Use match function instead of strstr.
31565 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31566 (ret): Remove variable.
31567 (x): Likewise.
31568 (FAIL): Remove macro.
31569 (NO_INLINE): Likewise.
31570 (handle_signal): Use match function instead of strstr.
31571
4858fa2a
RM
315722013-01-23 Roland McGrath <roland@hack.frob.com>
31573
31574 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31575
bae8e7f5
DM
315762013-01-23 David S. Miller <davem@davemloft.net>
31577
31578 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31579 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31580 argument of CAS if possible.
31581 * sysdeps/sparc/sparc64/bits/atomic.h
31582 (__arch_compare_and_exchange_val_32_acq): Likewise.
31583 (__arch_compare_and_exchange_val_64_acq): Likewise.
31584
9cbbc4ae
PT
315852013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31586
31587 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31588 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31589 Include <limits.h>.
67b3f58c 31590 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31591
5655a0b5
AC
315922013-01-23 Adam Conrad <adconrad@0c3.net>
31593
31594 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31595 (LDFLAGS-tst-array5): Likewise.
31596
052aff95
JM
315972013-01-23 Joseph Myers <joseph@codesourcery.com>
31598
31599 [BZ #15036]
31600 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31601 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31602 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31603 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31604
7c1e01aa
DM
316052013-01-21 David S. Miller <davem@davemloft.net>
31606
31607 * sysdeps/sparc/backtrace.c: New file.
31608 * sysdeps/sparc/sparc32/backtrace.h: New file.
31609 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31610 * sysdeps/sparc/sparc64/backtrace.h: New file.
31611 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31612 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31613 -funwind-tables.
31614
ab087e0a
AS
316152013-01-21 Andreas Schwab <schwab@suse.de>
31616
31617 [BZ #15020]
31618 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31619 closed its stdout.
31620
ed689c2f
AS
316212013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31622
31623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31624 "mpa2.h".
31625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31626
31d470ac
JM
316272013-01-18 Joseph Myers <joseph@codesourcery.com>
31628 Mark Mitchell <mark@codesourcery.com>
31629 Tom de Vries <tom@codesourcery.com>
31630 Paul Pluzhnikov <ppluzhnikov@google.com>
31631
31632 * debug/tst-backtrace2.c: New file.
31633 * debug/tst-backtrace3.c: Likewise.
31634 * debug/tst-backtrace4.c: Likewise.
31635 * debug/tst-backtrace5.c: Likewise.
31636 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31637 (CFLAGS-tst-backtrace3.c): Likewise.
31638 (CFLAGS-tst-backtrace4.c): Likewise.
31639 (CFLAGS-tst-backtrace5.c): Likewise.
31640 (LDFLAGS-tst-backtrace2): Likewise.
31641 (LDFLAGS-tst-backtrace3): Likewise.
31642 (LDFLAGS-tst-backtrace4): Likewise.
31643 (LDFLAGS-tst-backtrace5): Likewise.
31644 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31645 tst-backtrace4 and tst-backtrace5.
31646
90567f30 316472013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31648 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31649
31650 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31651 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31652 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31653 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31655 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31656 "+r" and remove output regs list as redundant. Add explicit inline
31657 asm to specify register of return val to work around compiler codegen
31658 bug. Remove (int) cast on return value. Add return type parameter to
31659 use in macro so that this macro does not truncate return value for
31660 64-bit values.
31661 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31662 pass to INTERNAL_VSYSCALL_NCS.
31663 (INLINE_VSYSCALL): Add 'long int' as return type to
31664 INTERNAL_VSYSCALL_NCS macro invocation.
31665 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31666 INTERNAL_VSYSCALL_NCS macro invocation.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31668
d3b9ea61
SP
316692013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31670
0b57daeb
SP
31671 [BZ #14496]
31672 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31673 Fix application of SIMD FP exception mask.
31674
caa99d06
SP
31675 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31676 mp_no from a power of two.
31677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31678 __mpexp_twomm1. Use __pow_mp.
31679
d3b9ea61
SP
31680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31681 multiplication.
31682
1dbaee3c
DM
316832013-01-17 David S. Miller <davem@davemloft.net>
31684
31685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31686
728d7b43
JM
316872013-01-17 Joseph Myers <joseph@codesourcery.com>
31688
31689 [BZ #15023]
31690 * include/complex.h: Condition contents on [!_COMPLEX_H].
31691 (__kernel_casinhf): New prototype.
31692 (__kernel_casinh): Likewise.
31693 (__kernel_casinhl): Likewise.
31694 * math/Makefile (libm_calls): Add k_casinh.
31695 * math/k_casinh.c: New file.
31696 * math/k_casinhf.c: Likewise.
31697 * math/k_casinhl.c: Likewise.
31698 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31699 finite nonzero arguments.
31700 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31701 finite nonzero arguments.
31702 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31703 finite nonzero arguments.
31704 * math/s_casinh.c: Do not include <float.h>.
31705 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31706 * math/s_casinhf.c: Do not include <float.h>.
31707 (__casinhf): Move code for finite nonzero arguments to
31708 k_casinhf.c.
31709 * math/s_casinhl.c: Do not include <float.h>.
31710 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31711 redefine.
31712 (__casinhl): Move code for finite nonzero arguments to
31713 k_casinhl.c.
31714 * math/libm-test.inc (cacos_test): Add more tests.
31715 * sysdeps/i386/fpu/libm-test-ulps: Update.
31716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31717
2a26ef3a
PT
317182013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31719
31720 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31721 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31722 [!HAVE_MREMAP]: Remove [defined linux] case.
31723 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31724
a897655d
SP
317252013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31726
31727 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31728
881ebe89 317292013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31730
31731 * elf/elf.h (R_386_SIZE32): New relocation.
31732 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31733 R_386_SIZE32.
31734 (elf_machine_rela): Likewise.
31735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31736 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31737
59981e9b
JM
317382013-01-17 Joseph Myers <joseph@codesourcery.com>
31739
31740 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31741 (FP_FAST_FMA): Do not define.
31742 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31743 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31744 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31745 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31746 !_SOFT_FLOAT]: Likewise.
31747 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31748 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31749 value.
31750 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31751 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31752 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31754 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31755 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31756 file.
31757
cfa8054f
AS
317582013-01-16 Andreas Schwab <schwab@suse.de>
31759
31760 [BZ #14327]
31761 * include/stdlib.h (__mktemp): Add declaration.
31762 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31763 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31764
dd930cc5
SP
317652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31766
881ebe89
SP
31767 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31768 definitions.
31769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31770 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31771 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31772 definitions here.
31773 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31774 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31775 definitions.
31776 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31777 and ONE.
31778 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31779 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31780 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31781 definitions.
31782 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31783 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31784 definitions.
31785 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31786
dd930cc5
SP
31787 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31788
c19a9f89
DM
317892013-01-15 David S. Miller <davem@davemloft.net>
31790
1aa61767
DM
31791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31792 trunc{,f} to libm-sysdep_routes.
31793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31795 file.
31796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31798 file.
31799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31800 file.
31801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31803 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31804 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31805 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31806 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31807 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31808 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31809
c42d5e98
DM
31810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31811 nearbyint{,f} to libm-sysdep_routes.
31812 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31814 New file.
31815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31816 file.
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31818 New file.
31819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31820 file.
31821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31823 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31824 file.
31825 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31827 file.
31828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31829 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31830 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31831
c19a9f89
DM
31832 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31833 libc_feholdexcept and libc_fesetenv.
31834
357679d2
MF
318352013-01-15 Mike Frysinger <vapier@gentoo.org>
31836
31837 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31838
65a82e3d
DM
318392013-01-14 David S. Miller <davem@davemloft.net>
31840
8b954ab9
DM
31841 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31842 (SPARC_ASM_VIS2_IFUNC): Likewise.
31843 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31845 use of 'siam' instruction.
31846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31847 Likewise.
31848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31849 Likewise.
31850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31851 Likewise.
31852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31857 file.
31858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31859 file.
31860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31861 file.
31862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31863 file.
31864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31869 new VIS2 routines.
31870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31873 Likewise.
31874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31879 routines to libm-sysdep_routines.
31880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31881
65a82e3d
DM
31882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31883 fdim/fdimf to libm-sysdep_routines.
31884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31885 file.
31886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31888 file.
31889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31892 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31893 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31894 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31895 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31896
e34ab705
SP
318972013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31898
2a91b573
SP
31899 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31900 to optimize copies.
31901
1066a534
SP
31902 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31905
e34ab705
SP
31906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31907 local variable MPTWO.
31908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31909 Likewise.
31910
aba5e596
MF
319112013-01-13 Mike Frysinger <vapier@gentoo.org>
31912
31913 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31914 GLOB_NOESCAPE.
31915
e557e9e5
MF
319162013-01-13 Mike Frysinger <vapier@gentoo.org>
31917
31918 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31919
0428cec9
MF
319202013-01-13 Mike Frysinger <vapier@gentoo.org>
31921
31922 * manual/pattern.texi (glob_t): Document gl_flags.
31923 (glob64_t): Likewise.
31924
8794a964
DM
319252013-01-11 David S. Miller <davem@davemloft.net>
31926
66438c3f
RM
31927 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31928 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31929 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31930 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31931 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31932 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31933 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31934 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31935 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31936 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31937 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31938 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31939 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31940
4ae4244d
DM
31941 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31942 sparc V9 rather than using V8 code.
31943 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31944 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31945
8794a964
DM
31946 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31947 Move to...
31948 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31949 Here.
31950
6270516e
RM
319512013-01-11 Roland McGrath <roland@hack.frob.com>
31952
31953 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31954 not in the main loop.
31955 * configure: Regenerated.
31956
6a57d931
JM
319572013-01-11 Joseph Myers <joseph@codesourcery.com>
31958
31959 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31960 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31961 to just #else.
31962 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31963 [!__GLIBC_HAVE_LONG_LONG] case.
31964 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31965 condition to just #else.
31966 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31967 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31968 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31969 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31970 unconditional.
31971 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31972 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31973 #elif condition to just #else.
31974 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31975 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31976 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31977 #elif condition to just #else.
31978
0e8529e9
SE
319792013-01-11 Steve Ellcey <sellcey@mips.com>
31980
31981 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31982 (EF_MIPS_ARCH_64): Fix value.
31983 (EF_MIPS_ARCH_32R2): New.
31984 (EF_MIPS_ARCH_64R2): New.
31985
740b3dbe
L
319862013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31987
31988 * Makeconfig (+link-pie-before-libc): New.
31989 (+link-pie-after-libc): Likewise.
31990 (+link-pie-tests): Likewise.
31991 (+link-pie): Rewritten.
31992 (link-before-libc): Remove $(config-LDFLAGS).
31993 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31994 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31995 (config-LDFLAGS): Renamed to ...
31996 (rtld-LDFLAGS): This.
31997 (rtld-tests-LDFLAGS): New macro.
31998 (link-libc-rpath-link): Likewise.
31999 (link-libc-tests-rpath-link): Likewise.
32000 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32001 (link-libc): Prepand $(link-libc-rpath-link).
32002 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32003 (test-program-prefix): New macro.
32004 (test-via-rtld-prefix): Likewise.
32005 (test-program-cmd): Likewise.
32006 (host-test-program-cmd): Likewise.
32007 * Makefile ($(common-objpfx)testrun.sh): Replace
32008 $(run-program-prefix) with $(test-program-prefix).
32009 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32010 $(rtld-LDFLAGS).
32011 ($(common-objpfx)shlib.lds): Likewise.
32012 (build-module-helper): Likewise.
32013 ($(common-objpfx)format.lds): Likewise.
32014 * Rules (binaries-pie-tests): New.
32015 (binaries-pie-notests): Likewise.
32016 (binaries-pie): Rewritten.
32017 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32018 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32019 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32020 (make-test-out): Replace $(host-built-program-cmd) with
32021 $(host-test-program-cmd).
32022 * config.make.in (build-hardcoded-path-in-tests): New variable.
32023 * configure.in (--enable-hardcoded-path-in-tests): New configure
32024 option.
32025 (hardcoded_path_in_tests): New AC_SUBST.
32026 * configure: Regenerated.
32027 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32028 $(built-program-cmd) with $(test-program-cmd).
32029 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32030 (test_program_cmd): This.
32031 * elf/Makefile ($(objpfx)order.out): Run test with
32032 $(test-program-prefix).
32033 ($(objpfx)order2.out): Likewise.
32034 ($(objpfx)tst-initorder.out): Likewise.
32035 ($(objpfx)tst-initorder2.out): Likewise.
32036 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32037 $(test-program-cmd).
32038 ($(objpfx)tst-array1-static.out): Likewise.
32039 ($(objpfx)tst-array2.out): Likewise.
32040 ($(objpfx)tst-array3.out): Likewise.
32041 ($(objpfx)tst-array4.out): Likewise.
32042 ($(objpfx)tst-array5.out): Likewise.
32043 ($(objpfx)tst-array5-static.out): Likewise.
32044 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32045 $(test-program-cmd).
32046 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32047 $(run-program-prefix) with $(test-program-prefix).
32048 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32049 (test_program_prefix): This.
32050 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32051 $(run-program-prefix) with $(test-program-prefix).
32052 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32053 (test_program_prefix): This.
32054 * iconvdata/tst-tables.sh: Likewise.
32055 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32056 $(run-program-prefix) with $(test-program-prefix).
32057 ($(objpfx)tst-translit.out): Likewise.
32058 ($(objpfx)tst-gettext2.out): Likewise.
32059 ($(objpfx)tst-gettext4.out): Likewise.
32060 ($(objpfx)tst-gettext6.out): Likewise.
32061 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32062 (test_program_prefix): This.
32063 * intl/tst-gettext2.sh: Likewise.
32064 * intl/tst-gettext4.sh Likewise.
32065 * intl/tst-gettext6.sh: Likewise.
32066 * intl/tst-translit.sh: Likewise.
32067 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32068 with $(test-program-cmd).
32069 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32070 $(run-program-prefix) with $(test-program-prefix).
32071 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32072 (test_program_prefix): This.
32073 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32074 $(run-program-prefix) with $(test-program-prefix).
32075 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32076 (test_program_prefix): This.
32077 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32078 * posix/Makefile ($(objpfx)globtest.out): Replace
32079 $(run-via-rtld-prefix) and $(test-wrapper) with
32080 $(test-program-prefix) and $(test-via-rtld-prefix).
32081 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32082 $(test-program-prefix).
32083 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32084 $(host-test-program-cmd).
32085 (tst-spawn-ARGS): Likewise.
32086 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32087 $(test-program-prefix).
32088 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32089 (test_via_rtld_prefix): This.
32090 (test_wrapper): Renamed to ...
32091 (test_program_prefix): This.
32092 (run_program_prefix): Replaced by test_program_prefix.
32093 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32094 (test_program_prefix): This.
32095 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32096 with $(host-test-program-cmd).
32097 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32098 $(run-program-prefix) with $(test-program-prefix).
32099 ($(objpfx)tst-printf.out): Likewise.
32100 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32101 $(test-program-cmd).
32102 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32103 (test_program_prefix): This.
32104 * stdio-common/tst-unbputc.sh: Likewise.
32105 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32106 $(run-program-prefix) with $(test-program-prefix).
32107 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32108 (test_program_prefix): This.
32109 * string/Makefile ($(objpfx)tst-svc.out): Replace
32110 $(built-program-cmd) with $(test-program-cmd).
32111
c6fe55cf
AJ
321122013-01-11 Andreas Jaeger <aj@suse.de>
32113
32114 [BZ #15003]
32115 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32116 value. Sync with Linux 3.7.
32117
9e6919c8
DM
321182013-01-10 David S. Miller <davem@davemloft.net>
32119
32120 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32121 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32122 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32123
1c9f1a02
RM
321242013-01-10 Roland McGrath <roland@hack.frob.com>
32125
32126 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32127 never set.
32128 * configure: Regenerated.
32129
b9de2dde
DM
321302013-01-10 David S. Miller <davem@davemloft.net>
32131
32132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32133 sparc V9 rather than using V8 code.
32134 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32135 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32136
e7f68ef4
RM
321372013-01-10 Roland McGrath <roland@hack.frob.com>
32138
32139 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32140 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32141 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32142 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32143 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32144 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32145 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32146 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32147 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32148 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32149 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32150 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32151 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32152 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32153 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32154 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32155 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32156 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32157 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32158 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32159 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32160 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32161 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32162 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32163 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32164 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32165 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32166
5a47cc9c
DM
321672013-01-10 David S. Miller <davem@davemloft.net>
32168
32169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32170
4cf8f209
L
321712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 * posix/Makefile (tests-static): New variable.
32174 (tests): Add $(tests-static).
32175 (tst-exec-static-ARGS): New variable.
32176 (tst-spawn-static-ARGS): Likewise.
32177 * posix/tst-exec-static.c: New file.
32178 * posix/tst-spawn-static.c: Likewise.
32179 * posix/tst-exec.c: Support run directly.
32180 * posix/tst-spawn.c: Likewise.
32181
fed0faa1
JM
321822013-01-10 Joseph Myers <joseph@codesourcery.com>
32183
828beb13
JM
32184 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32185 long.
32186 * math/bits/mathcalls.h (llrint): Likewise.
32187 (llround): Likewise.
32188 * stdlib/stdlib.h (struct drand48_data): Likewise.
32189 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32190 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32192 Likewise.
32193 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32194 Likewise.
32195 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32196 (elf_greg_t): Likewise.
32197 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32198 (__jmp_buf): Likewise.
32199 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32200 definitions.
32201 (llrint): Likewise, for all definitions.
32202 (llrintl): Likewise.
32203
fed0faa1
JM
32204 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32205 Remove [__GNUC__] condition.
32206 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32207 condition to just [__USE_ISOC99].
32208 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32209
1a20cb20
L
322102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 [BZ #14200]
32213 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32214 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32215 defined.
32216 (_POSIX_V6_ILP32_OFF32): Likewise.
32217 (_XBS5_ILP32_OFF32): Likewise.
32218 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32219 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32220
751b85f7
SP
322212013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32222
7490eb81
SP
32223 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32224
751b85f7
SP
32225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32226 doubles __mpexp_twomm1. Adjust usage.
32227 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32228 Remove.
32229
988197f0
AS
322302013-01-10 Andreas Schwab <schwab@suse.de>
32231
32232 [BZ #14964]
32233 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32234 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32235
e83d7298
DM
322362013-01-09 David S. Miller <davem@davemloft.net>
32237
034ed64b 32238 [BZ #15003]
57f41c40
AS
32239 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32240 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32241 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32242 (TCP_FASTOPEN): Define.
e83d7298
DM
32243 (tcp_repair_opt): New structure.
32244 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32245 enum values.
57f41c40
AS
32246 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32247 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32248 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32249 (tcp_cookie_transactions): New structure.
32250
d5e0b9bd
AB
322512013-01-09 Anton Blanchard <anton@samba.org>
32252
32253 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32254 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32255 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32256 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32257
0c07e3ea
JM
322582013-01-09 Joseph Myers <joseph@codesourcery.com>
32259
32260 * include/features.h (__USE_ANSI): Remove.
32261
232f7002
RM
322622013-01-09 Roland McGrath <roland@hack.frob.com>
32263
ad98e30c
RM
32264 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32265
232f7002
RM
32266 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32267
950c99ca
SP
322682013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32269
b5792741
SP
32270 * sysdeps/s390/fpu/libm-test-ulps: Update.
32271
47cf2278
SP
32272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32273
950c99ca
SP
32274 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32275 (__acr): Likewise.
32276 (__cpy): Likewise.
32277 (norm): Likewise.
32278 (denorm): Likewise.
32279 (__mp_dbl): Likewise.
32280 (__dbl_mp): Likewise.
32281 (add_magnitudes): Likewise.
32282 (sub_magnitudes): Likewise.
32283 (__add): Likewise.
32284 (__sub): Likewise.
32285 (__mul): Likewise.
32286 (__inv): Likewise.
32287 (__dvd): Likewise.
32288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32289 (__acr): Likewise.
32290 (__cpy): Likewise.
32291 (norm): Likewise.
32292 (denorm): Likewise.
32293 (__mp_dbl): Likewise.
32294 (__dbl_mp): Likewise.
32295 (add_magnitudes): Likewise.
32296 (sub_magnitudes): Likewise.
32297 (__add): Likewise.
32298 (__sub): Likewise.
32299 (__mul): Likewise.
32300 (__inv): Likewise.
32301 (__dvd): Likewise.
32302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32303 (__acr): Likewise.
32304 (__cpy): Likewise.
32305 (norm): Likewise.
32306 (denorm): Likewise.
32307 (__mp_dbl): Likewise.
32308 (__dbl_mp): Likewise.
32309 (add_magnitudes): Likewise.
32310 (sub_magnitudes): Likewise.
32311 (__add): Likewise.
32312 (__sub): Likewise.
32313 (__mul): Likewise.
32314 (__inv): Likewise.
32315 (__dvd): Likewise.
32316
eede9df9
JM
323172013-01-08 Joseph Myers <joseph@codesourcery.com>
32318
32319 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32320 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32321 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32322 2 && __USE_EXTERN_INLINES]: Likewise.
32323
c40ea3d9
AJ
323242013-01-08 Andreas Jaeger <aj@suse.de>
32325
32326 [BZ# 14985]
32327 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32328 Remove.
32329 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32330 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32331
2ccdea26
AB
323322013-01-07 Anton Blanchard <anton@samba.org>
32333
32334 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32335 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32336 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32337 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32338 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32339 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32340 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32341 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32344 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32345 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32346 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32350 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32352 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32353 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32354 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32355 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32357 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32358 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32359 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32360 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32361 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32363 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32364 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32367 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32370 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32373 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32376 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32377
a9708fed
JM
323782013-01-07 Joseph Myers <joseph@codesourcery.com>
32379
375607b9
JM
32380 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32381 (__MALLOC_PMT): Likewise.
32382 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32383 [__GNUC__], only on [_LIBC].
32384 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32385 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32386 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32387 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32388 forward declaration.
32389 (realloc_hook_ini): Likewise.
32390 (memalign_hook_ini): Likewise.
32391 (__libc_memalign): Do not use __MALLOC_PMT in variable
32392 declaration.
32393 (__libc_valloc): Likewise.
32394 (__libc_pvalloc): Likewise.
32395 (__libc_calloc): Likewise.
32396 (__posix_memalign): Likewise.
32397
a9708fed
JM
32398 [BZ #14996]
32399 * math/s_casinh.c: Include <float.h>.
32400 (__casinh): Do not do computation with squaring and square root
32401 for large arguments.
32402 * math/s_casinhf.c: Include <float.h>.
32403 (__casinhf): Do not do computation with squaring and square root
32404 for large arguments.
32405 * math/s_casinhl.c: Include <float.h>.
32406 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32407 (__casinhl): Do not do computation with squaring and square root
32408 for large arguments.
32409 * math/libm-test.inc (casin_test): Add more tests.
32410 (casinh_test): Likewise.
32411 * sysdeps/i386/fpu/libm-test-ulps: Update.
32412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32413
afec409a
L
324142013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32415
32416 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32417 (__x86_64_raw_data_cache_size): Likewise.
32418 (__x86_64_data_cache_size_half): Likewise.
32419 (__x86_64_raw_data_cache_size_half): Likewise.
32420 (__x86_64_shared_cache_size): Likewise.
32421 (__x86_64_raw_shared_cache_size): Likewise.
32422 (__x86_64_shared_cache_size_half): Likewise.
32423 (__x86_64_raw_shared_cache_size_half): Likewise.
32424 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32425 to ...
32426 (__x86_data_cache_size): This.
32427 (__x86_64_raw_data_cache_size): Renamed to ...
32428 (__x86_raw_data_cache_size): This.
32429 (__x86_64_data_cache_size_half): Renamed to ...
32430 (__x86_data_cache_size_half): This.
32431 (__x86_64_raw_data_cache_size_half): Renamed to ...
32432 (__x86_raw_data_cache_size_half): This.
32433 (__x86_64_shared_cache_size): Renamed to ...
32434 (__x86_shared_cache_size): This.
32435 (__x86_64_raw_shared_cache_size): Renamed to ...
32436 (__x86_raw_shared_cache_size): This.
32437 (__x86_64_shared_cache_size_half): Renamed to ...
32438 (__x86_shared_cache_size_half): This.
32439 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32440 (__x86_raw_shared_cache_size_half): This.
32441 * sysdeps/x86_64/memcpy.S: Updated.
32442 * sysdeps/x86_64/memset.S: Likewise.
32443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32444 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32445 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32446
0b3986d0
DM
324472013-01-04 David S. Miller <davem@davemloft.net>
32448
32449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32450
e47686e9
AS
324512013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32452
d643bac1
AS
32453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32454 1 to avoid redefinition warning.
32455 (__USE_GNU): Don't define.
32456 (init_signaling_nan): Protoize.
32457
e47686e9
AS
32458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32459
b18decba
SP
324602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32461
fffb407f
SP
32462 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32464 (__cpymn): Likewise.
32465 (norm): Remove commented code.
32466 (denorm): Likewise.
32467 (__mp_dbl): Likewise.
32468 (__inv): Likewise.
32469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32470 (__cpymn): Likewise.
32471 (norm): Remove commented code.
32472 (denorm): Likewise.
32473 (__mp_dbl): Likewise.
32474 (__inv): Likewise.
32475
b18decba
SP
32476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32477 mp_no value for 1.0 and 2.0.
32478 (norm): Use RADIXI instead of radixi.d.
32479 (denorm): Likewise.
32480 (__mul): Use 0.0 instead of zero.d.
32481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32482 mp_no value for 1.0 and 2.0.
32483 (norm): Use RADIXI instead of radixi.d.
32484 (denorm): Likewise.
32485 (__mul): Use 0.0 instead of zero.d.
32486
cdc1c96f
JM
324872013-01-04 Joseph Myers <joseph@codesourcery.com>
32488
32489 [BZ #14994]
32490 * math/s_casinh.c (__casinh): Reduce finite argument to first
32491 quadrant then set signs of results at the end.
32492 * math/s_casinhf.c (__casinhf): Likewise.
32493 * math/s_casinhl.c (__casinhl): Likewise.
32494 * math/libm-test.inc (casin_test): Add more tests.
32495 (casinh_test): Likewise.
32496 * sysdeps/i386/fpu/libm-test-ulps: Update.
32497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32498
302913e1
SP
324992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32500
6420d207
SP
32501 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32502
a9e48ab4
SP
32503 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32504
b7837264
SP
32505 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32506 declarations.
32507 (denorm): Likewise.
32508 (__mp_dbl): Likewise.
32509 (__inv): Likewise.
32510
f8af25d2
SP
32511 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32512 and adjust the header comment.
32513
302913e1
SP
32514 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32515 variable name from declaration.
32516
5d7dd1ca
L
325172013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32518
32519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32520 Initialize COMMON_CPUID_INDEX_7 element.
32521 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32522 (CPUID_RTM): Likewise.
32523 (HAS_RTM): Likewise.
32524 (COMMON_CPUID_INDEX_7): New enum.
32525
2f5f40f4
AS
325262013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32527
32528 [BZ #14981]
32529 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32530 size is zero, record memory as freed.
32531
4056f4a0
AJ
325322013-01-03 Andreas Jaeger <aj@suse.de>
32533
32534 * po/ia.po: Add new Interlingua translation.
32535
ab15736f 325362012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32537
32538 * locale/programs/localedef.c: Fix description of '--posix' flag.
32539
568035b7
JM
325402013-01-02 Joseph Myers <joseph@codesourcery.com>
32541
e6898b8d
JM
32542 * NEWS: Update dates in second copyright notice.
32543 * README: Update copyright dates in example.
32544 * manual/libc.texinfo: Update copyright dates.
32545 * scripts/test-installation.pl: Update copyright date in --version
32546 output.
32547
0e2f9562
JM
32548 * hurd/ctty-input.c: Fix copyright notice formatting.
32549 * hurd/ctty-output.c: Likewise.
32550 * hurd/dtable.c: Likewise.
32551 * hurd/hurd-raise.c: Likewise.
32552 * hurd/hurdprio.c: Likewise.
32553 * hurd/msgportdemux.c: Likewise.
32554 * misc/sys/file.h: Likewise.
32555 * misc/sys/ioctl.h: Likewise.
32556 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32557 * sysdeps/mach/hurd/chdir.c: Likewise.
32558 * sysdeps/mach/hurd/fchdir.c: Likewise.
32559 * sysdeps/mach/hurd/rename.c: Likewise.
32560 * sysdeps/mach/hurd/rmdir.c: Likewise.
32561 * sysdeps/mach/hurd/seekdir.c: Likewise.
32562 * sysdeps/mach/hurd/setsid.c: Likewise.
32563 * sysdeps/posix/wait3.c: Likewise.
32564
568035b7
JM
32565 * All files with FSF copyright notices: Update copyright dates
32566 using scripts/update-copyrights.
32567 * intl/plural.c: Regenerated.
32568 * locale/programs/charmap-kw.h: Likewise.
32569 * locale/programs/locfile-kw.h: Likewise.
32570
da08f647
SP
325712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32572
0f5477af
SP
32573 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32574 four values.
32575
44e0d4c2
SP
32576 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32577 calculation loop and add branch prediction.
32578
4d55b4e5
SP
32579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32580 check access beyond bounds of m1np.
32581
da08f647
SP
32582 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32583 MPTWO.
32584 (__inv): Remove local variable MPTWO to use the global
32585 constant.
32586 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32588 variable MPTWO.
32589 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32590 MP3HALFS static const.
32591
8e051029
DM
325922013-01-01 David S. Miller <davem@davemloft.net>
32593
32594 * po/ca.po: Update from translation team.
32595
f4cf5f2d
JM
325962013-01-01 Joseph Myers <joseph@codesourcery.com>
32597
32598 * scripts/update-copyrights: New file.
32599 * Makeconfig: Reformat copyright notice.
32600 * ctype/ctype.h: Likewise.
32601 * debug/swprintf_chk.c: Likewise.
32602 * elf/dl-cache.c: Likewise.
32603 * elf/dl-debug.c: Likewise.
32604 * elf/dl-object.c: Likewise.
32605 * grp/initgroups.c: Likewise.
32606 * hurd/Makefile: Likewise.
32607 * hurd/hurd/signal.h: Likewise.
32608 * hurd/hurdfault.c: Likewise.
32609 * hurd/hurdioctl.c: Likewise.
32610 * hurd/hurdlookup.c: Likewise.
32611 * hurd/intr-msg.c: Likewise.
32612 * iconv/gconv_open.c: Likewise.
32613 * libio/swprintf.c: Likewise.
32614 * locale/lc-ctype.c: Likewise.
32615 * locale/nl_langinfo.c: Likewise.
32616 * mach/Machrules: Likewise.
32617 * mach/Makefile: Likewise.
32618 * malloc/obstack.h: Likewise.
32619 * manual/Makefile: Likewise.
32620 * manual/tsort.awk: Likewise.
32621 * misc/bits/stab.def: Likewise.
32622 * nis/nis_print_group_entry.c: Likewise.
32623 * nis/nis_table.c: Likewise.
32624 * nis/nss_compat/compat-pwd.c: Likewise.
32625 * nis/nss_compat/compat-spwd.c: Likewise.
32626 * po/Makefile: Likewise.
32627 * posix/fnmatch.c: Likewise.
32628 * posix/regex.h: Likewise.
32629 * resolv/Makefile: Likewise.
32630 * resolv/nss_dns/dns-network.c: Likewise.
32631 * resolv/res_hconf.c: Likewise.
32632 * scripts/gen-sorted.awk: Likewise.
32633 * soft-fp/soft-fp.h: Likewise.
32634 * stdio-common/printf.h: Likewise.
32635 * stdlib/monetary.h: Likewise.
32636 * stdlib/random.c: Likewise.
32637 * stdlib/random_r.c: Likewise.
32638 * sysdeps/generic/Makefile: Likewise.
32639 * sysdeps/gnu/Makefile: Likewise.
32640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32650 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32651 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32652 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32653 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32654 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32656 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32658 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32666 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32668 * sysdeps/mach/hurd/errnos.awk: Likewise.
32669 * sysdeps/mach/hurd/fork.c: Likewise.
32670 * sysdeps/mach/hurd/getcwd.c: Likewise.
32671 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32672 * sysdeps/mach/hurd/mmap.c: Likewise.
32673 * sysdeps/mach/hurd/utimes.c: Likewise.
32674 * sysdeps/mach/hurd/xmknod.c: Likewise.
32675 * sysdeps/posix/profil.c: Likewise.
32676 * sysdeps/posix/readdir_r.c: Likewise.
32677 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32678 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32679 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32680 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32683 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32684 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32686 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32688 * sysdeps/pthread/lio_listio.c: Likewise.
32689 * sysdeps/sparc/dl-procinfo.h: Likewise.
32690 * sysdeps/unix/i386/sysdep.S: Likewise.
32691 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32692 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32693 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32694 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32696 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32697 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32698 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32699 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32700 * sysdeps/wordsize-32/divdi3.c: Likewise.
32701 * time/sys/time.h: Likewise.
32702 * wcsmbs/Makefile: Likewise.
32703
0549fbba
DM
327042013-01-01 David S. Miller <davem@davemloft.net>
32705
a141f1a7
DM
32706 * po/fr.po: Update from translation team.
32707
0549fbba
DM
32708 * catgets/gencat.c: Update copyright year.
32709 * csu/version.c: Likewise.
32710 * debug/catchsegv.sh: Likewise.
32711 * debug/pcprofiledump.c: Likewise.
32712 * debug/xtrace.sh: Likewise.
32713 * elf/ldconfig.c: Likewise.
32714 * elf/ldd.bash.in: Likewise.
32715 * elf/pldd.c: Likewise.
32716 * elf/sotruss.ksh: Likewise.
32717 * elf/sprof.c: Likewise.
32718 * iconv/iconv_prog.c: Likewise.
32719 * iconv/iconvconfig.c: Likewise.
32720 * locale/programs/locale.c: Likewise.
32721 * locale/programs/localedef.c: Likewise.
32722 * login/programs/pt_chown.c: Likewise.
32723 * malloc/memusage.sh: Likewise.
32724 * malloc/memusagestat.c: Likewise.
32725 * malloc/mtrace.pl: Likewise.
32726 * nscd/nscd.c: Likewise.
32727 * nss/getent.c: Likewise.
32728 * nss/makedb.c: Likewise.
32729 * posix/getconf.c: Likewise.
32730
18ea052c
SP
327312012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32732
32733 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32734 numbers.
32735
9c89fca6
MF
327362012-12-30 Mike Frysinger <vapier@gentoo.org>
32737
32738 * math/bits/mathcalls.h (modf): Use __nonnull.
32739
085ec079
SP
327402012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32741
32742 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32743 (split): Use macro CN instead of the bare value.
32744 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32745 could be used.
32746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32747 instead of the bare value.
32748 (power1): Likewise.
32749
6d9f97e1
SP
327502012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32751
d63f73be
SP
32752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32753 __ATAN_TWOM.
32754 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32755
6d9f97e1
SP
32756 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32757 their values.
32758 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32759 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32760 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32761 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32762
4c4febf5
AJ
327632012-12-28 Andreas Jaeger <aj@suse.de>
32764
af5843ef
AJ
32765 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32766 values are from Linux 3.7.
32767
4c4febf5
AJ
32768 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32769 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32770
99136f82
SP
327712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32772
2f216c3c 32773 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32774 TRUE case.
32775
99136f82
SP
32776 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32777 (norm): Likewise.
32778 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32779 variables with preprocessor constants.
32780 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32781 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32782 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32783
7fffbdff
BH
327842012-12-27 Bruno Haible <bruno@clisp.org>
32785
32786 [BZ #14317]
32787 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32788 only if needed.
32789
b76eb5f0
SP
327902012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32791
31a7fe5c
SP
32792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32793 and use variable directly.
32794 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32795
b76eb5f0
SP
32796 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32797 MPONE.
32798 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32799 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32800 variable MPONE.
32801 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32803 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32804 include directive. Remove local variable MPONE.
32805 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32806 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32807 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32808
2c8bfe7d
DM
328092012-12-25 David S. Miller <davem@davemloft.net>
32810
32811 * version.h (RELEASE): Set to "development".
32812 (VERSION): Set to "2.17.90".
32813 * NEWS: Add 2.18 section.
32814
147d03b0
DM
328152012-12-21 David S. Miller <davem@davemloft.net>
32816
32817 * po/hr.po: Update from translation team.
32818
a8ebb2b9
AK
328192012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32820
32821 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32822
95b4f1b6
SE
328232012-12-19 Steve Ellcey <sellcey@mips.com>
32824
b2d94007 32825 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32826
cedb2a90
MS
328272012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32828
32829 * manual/contrib.texi (Contributors): Spelling correction.
32830
bbf527d6
DM
328312012-12-15 David S. Miller <davem@davemloft.net>
32832
32833 * po/ru.po: Update from translation team.
32834
bc38c906
DM
328352012-12-13 David S. Miller <davem@davemloft.net>
32836
85429b1a
DM
32837 * NEWS: Mention IFUNC testsuite enhancements.
32838
d283e353
DM
32839 * po/pl.po: Update from translation team.
32840 * po/bg.po: Likewise.
32841
bc38c906
DM
32842 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32843 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32844
a181b0d7
DM
328452012-12-11 David S. Miller <davem@davemloft.net>
32846
4641d57e
DM
32847 * po/sv.po: Update from translation team.
32848
f7bc6495
DM
32849 * po/vi.po: Update from translation team.
32850
6fc9048f
DM
32851 * po/cs.po: Update from translation team.
32852
a181b0d7
DM
32853 * po/de.po: Update from translation team.
32854 * po/eo.po: Likewise.
32855 * po/nl.po: Likewise.
32856
f70bfe80
SP
328572012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32858
3c8b4190
SP
32859 [BZ #14246]
32860 * manual/argp.texi (Argp Helper Functions): Move node to follow
32861 Argp Parsing State.
32862
f70bfe80
SP
32863 [BZ #14872]
32864 * manual/conf.texi (Limits on File System Capacity): Mention if
32865 terminating null is included in the max size.
32866
188f0adf
AJ
328672012-12-10 Andreas Jaeger <aj@suse.de>
32868
32869 * po/cs.po: Update from translation team.
32870
56e7d3ad
SP
328712012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32872
32873 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32874 void pointer and cast to uintptr_t.
32875 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32876 path.
32877 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32878 * sysdeps/s390/s390-64/memset.S: Likewise.
32879
76f2d2ea 328802012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32881
32882 [BZ #14833]
32883 * menual/message.texi (Message Translation): Fix typos.
32884 (Helper programs for gettext): Likewise.
32885
67cbf9a2
AS
328862012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32887
32888 [BZ #14898]
32889 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32890 Change to -1.
32891
682d0e9a
DM
328922012-12-07 David S. Miller <davem@davemloft.net>
32893
32894 * po/libc.pot: Update.
32895
573cd484
RH
328962012-12-07 Richard Henderson <rth@redhat.com>
32897
7e9da188 32898 [BZ #10114]
573cd484
RH
32899 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32900 normal/normal case to before the switch.
32901 (_FP_DIV): Likewise.
32902
e933a943
MF
329032012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32904 Mike Frysinger <vapier@gentoo.org>
32905
32906 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32907 check for __NR_fadvise64_64.
32908
82123268
CM
329092012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32910
32911 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32912 0, not just to plain "0" as a statement.
32913 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32914 with cw.
32915
d9814526
JM
329162012-12-06 Joseph Myers <joseph@codesourcery.com>
32917
32918 * NEWS: Use sourceware.org in Bugzilla URL.
32919
7728c574
SP
329202012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32921
f16946dd
SP
32922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32923 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32924
5704bbcb
SP
32925 * stdio-common/tst-put-error.c (do_test): Add newline to the
32926 padded test to ensure flush.
32927
17aa0516
JL
329282012-12-05 Jeff Law <law@redhat.com>
32929
32930 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32931
363313b5
JM
329322012-12-05 Joseph Myers <joseph@codesourcery.com>
32933
effbd42a
JM
32934 * README: Don't refer to ports add-on as distributed separately.
32935 Mention AArch64 in list of systems supported in the ports add-on.
32936
87600365
JM
32937 * LICENSES: Add more non-FSF copyright and license notices.
32938
a0d7066a
JM
32939 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32940 ((unused)).
32941
66ca5a5b
JM
32942 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32943
363313b5
JM
32944 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32945 10000 as width of padded output.
32946
b37984ad
JM
329472012-12-04 Joseph Myers <joseph@codesourcery.com>
32948
9003570a
JM
32949 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32950
b37984ad
JM
32951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32952 variable LX with __attribute__ ((unused)).
32953 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32954 Likewise.
32955 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32957 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32958 with __attribute__ ((unused)).
32959
c8df52ec
DM
329602012-12-04 David S. Miller <davem@abraco.davemloft.net>
32961
32962 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32963
b3b099af
JM
329642012-12-04 Joseph Myers <joseph@codesourcery.com>
32965
c33aa6e3
JM
32966 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32967 (CFLAGS-nldbl-acos.c): New variable.
32968 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32969 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32970 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32971 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32972 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32973 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32974 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32975 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32976 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32977 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32978 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32979 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32980 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32981 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32982 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32983 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32984 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32985 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32986 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32987 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32988 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32989 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32990 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32991 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32992 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32993 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32994 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32995 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32996 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32997 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32998 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32999 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33000 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33001 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33002 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33003 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33004 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33005 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33006 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33007 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33008 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33009 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33010 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33011 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33012 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33013 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33014 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33015 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33016 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33017 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33018 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33019 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33020 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33021 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33022 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33023 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33024 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33025 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33026 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33027 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33028 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33029 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33030 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33031 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33032 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33033 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33034 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33035 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33036 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33037 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33038 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33039 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33040 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33041 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33042 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33043 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33044 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33045 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33046 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33047 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33048 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33049 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33050 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33051 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33052 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33053 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33054 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33055 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33056 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33057 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33058 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33059 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33060 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33061 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33062 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33063 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33064 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33065
20f0018d
JM
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33067 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33068
b3b099af
JM
33069 [BZ #14914]
33070 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33071 whole low double instead of just low 47 bits when splitting values
33072 into two parts.
33073
029264d1
AM
330742012-12-03 Allan McRae <allan@archlinux.org>
33075
33076 * manual/stdio.texi (Predefined Printf Handlers): Remove
33077 @hsep and @vsep usage.
33078
c9d6789e
MF
330792012-12-03 Mike Frysinger <vapier@gentoo.org>
33080
33081 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33082 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33083
4b7634a5
JL
330842012-12-03 Jeff Law <law@redhat.com>
33085
33086 * time/sys/time.h (settimeofday): Do not mark TV argument
33087 as __nonnull.
33088
eb6cbd24
MF
330892012-12-01 Mike Frysinger <vapier@gentoo.org>
33090
33091 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33092 when currently writing and seek to current position when not.
33093 * libio/Makefile (tests): Remove bug-fclose1.
33094 * libio/bug-fclose1.c: Delete.
33095
f638872a
JM
330962012-12-01 Joseph Myers <joseph@codesourcery.com>
33097
33098 * manual/arith.texi (feenableexcept): Fix typo.
33099 (fedisableexcept): Likewise.
33100
48085d14
RM
331012012-11-30 Roland McGrath <roland@hack.frob.com>
33102
33103 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33104 second, differently-typed declaration, rather than a cast.
33105
1a538b9f
SP
331062012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33107
33108 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33109 * include/rpc/svc.h: ... here.
33110
d07f2ff1 331112012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33112
33113 [BZ #13013]
33114 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33115 depending n and resplen2 to catch cases where answer
33116 equals answerp2.
33117
c93ec1f0
CD
331182012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33119
33120 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33121 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33122
37db69de
MF
331232012-11-29 Mike Frysinger <vapier@gentoo.org>
33124
33125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33126
e10c4e4f
RM
331272012-11-29 Roland McGrath <roland@hack.frob.com>
33128
33129 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33130
2af1b328
JL
331312012-11-28 Jeff Law <law@redhat.com>
33132
33133 [BZ #13761]
33134 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33135 dataset_temporary. Track alloca usage into alloca_used.
33136 If dataset is large allocate and release it via malloc/free.
33137
111db5b1
FW
331382012-06-04 Florian Weimer <fweimer@redhat.com>
33139
f06cc227 33140 [BZ #14197]
111db5b1
FW
33141 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33142
dd694abd
DM
331432012-11-28 David S. Miller <davem@davemloft.net>
33144
33145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33146
9984dd01
JM
331472012-11-28 Joseph Myers <joseph@codesourcery.com>
33148
33149 [BZ #14803]
33150 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33151 of pi/2 rounded to nearest to 64 bits.
33152 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33153 nearest to 64 bits.
33154 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33155 bits.
33156
14bc93a9
JL
331572012-11-28 Jeff Law <law@redhat.com>
33158 Martin Osvald <mosvald@redhat.com>
33159
33160 [BZ #14889]
33161 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33162 * sunrpc/svc.c: Include time.h.
33163 (__svc_accept_failed): New function.
33164 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33165 any reason other than EINTR, call __svc_accept_failed.
33166 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33167 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33168
e3c6aa3a
AS
331692012-11-28 Andreas Schwab <schwab@suse.de>
33170
33171 * scripts/abilist.awk: Also handle indirect functions in .opd
33172 section.
33173
1bead169
JM
331742012-11-28 Joseph Myers <joseph@codesourcery.com>
33175
33176 [BZ #13881]
33177 * sysdeps/x86/fpu/powl_helper.c: New file.
33178 * sysdeps/x86/fpu/Makefile: Likewise.
33179 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33180 (p3): New object.
33181 (__ieee754_powl): Use __powl_helper for finite arguments except
33182 integer exponents below 8.
33183 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33184 (p3): New object.
33185 (__ieee754_powl): Use __powl_helper for finite arguments except
33186 integer exponents below 8.
33187 * math/libm-test.inc (pow_test): Add more tests and enable some
33188 previously disabled tests.
33189 * sysdeps/i386/fpu/libm-test-ulps: Update.
33190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33191
0817d63d
SP
331922012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33193 Carlos O'Donell <carlos_odonell@mentor.com>
33194
33195 * nss/makedb.c (is_prime): Assert that input is odd and greater
33196 than 4. Note that fact in a comment too.
33197 (next_prime): Add 4 to input.
33198
de2fd463
SP
331992012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33200
33201 [BZ #11741]
33202 * libio/Makefile (tests): Add test case tst-fwrite-error.
33203 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33204 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33205 * libio/tst-fwrite-error.c: New test case.
33206
c515fb51
L
332072012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33208
33209 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33210 before casting to void *.
33211 * include/libc-internal.h (__pointer_type): New macro.
33212 (__integer_if_pointer_type_sub): Likewise.
33213 (__integer_if_pointer_type): Likewise.
33214 (cast_to_integer): Likewise.
33215 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33216 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33217 before casting to atomic64_t.
33218 (atomic_exchange_acq): Likewise.
33219 (__arch_exchange_and_add_body): Likewise.
33220 (__arch_add_body): Likewise.
33221 (atomic_add_negative): Likewise.
33222 (atomic_add_zero): Likewise.
33223
4cf77aa9
JM
332242012-11-26 Joseph Myers <joseph@codesourcery.com>
33225
33226 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33227 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33228 (add_fdes): Likewise.
33229 (linear_search_fdes): Likewise.
33230 (binary_search_unencoded_fdes): Likewise.
33231
d260b3b4
AS
332322012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33233
33234 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33235
67060746
AC
332362012-11-24 Adam Conrad <adconrad@0c3.net>
33237
33238 * configure.in: Autodetect C++ header directories.
33239 * configure: Regenerated.
33240
800938a1
MF
332412012-11-23 Mike Frysinger <vapier@gentoo.org>
33242
33243 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33244
4e6e34e6
AS
332452012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33246
33247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33248
7c7feb47
JM
332492012-11-22 Joseph Myers <joseph@codesourcery.com>
33250
7184dcdf
JM
33251 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33252 LDBL_MANT_DIG == 106]: Disable some tests.
33253 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33254 Likewise.
33255 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33256 Likewise.
33257
0a42601f
JM
33258 [BZ #14871]
33259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33260 input for small inputs. Return +/- pi/2 for large inputs.
33261 * math/libm-test.inc (atan_test): Add more tests.
33262
79c9b9fe
JM
33263 * sysdeps/generic/unwind-dw2-fde-glibc.c
33264 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33265 __attribute__ ((unused)).
33266
c60d3bf2
JM
33267 [BZ #14645]
33268 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33269 x * y if x and y are nonzero and z is zero.
33270
ef1e0867
JM
33271 [BZ #14811]
33272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33273 nonzero exponents with absolute value below 0x1p-117 to +/-
33274 0x1p-117.
33275
1468ded3
JM
33276 [BZ #14869]
33277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33278 up arguments below 2**-450, not just those below 2**-500.
33279 * math/libm-test.inc (hypot_test): Add another test.
33280
8e27e3cc
JM
33281 [BZ #14868]
33282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33283 Return a+b for ratio over 2**120, not 2**60.
33284 * math/libm-test.inc (hypot_test): Add another test.
33285
c9c0279b
JM
33286 * math/libm-test.inc (clog_test): Use
33287 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33288 (clog10_test): Likewise.
33289
7c7feb47
JM
33290 [BZ #6778]
33291 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33292
fff1530e
AS
332932012-11-22 Andreas Schwab <schwab@suse.de>
33294
33295 * sysdeps/i386/fpu/libm-test-ulps: Update.
33296
94558d30
PT
332972012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33298
33299 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33300 printf output with newline.
33301
7e1be741
L
333022012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33303
6bfea974
L
33304 [BZ #14865]
33305 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33306 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33307 -z nodlopen, -z initfirst and -z execstack support.
33308 * configure: Regenerated.
33309
7e1be741
L
33310 * elf/elf.h (DF_1_NODIRECT): New macro.
33311 (DF_1_IGNMULDEF): Likewise.
33312 (DF_1_NOKSYMS): Likewise.
33313 (DF_1_NOHDR): Likewise.
33314 (DF_1_EDITED): Likewise.
33315 (DF_1_NORELOC): Likewise.
33316 (DF_1_SYMINTPOSE): Likewise.
33317 (DF_1_GLOBAUDIT): Likewise.
33318 (DF_1_SINGLETON): Likewise.
33319 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33320 DT_1_SUPPORTED_MASK bits.
33321 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33322
105ce2ce
CD
333232012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33324
33325 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33326
123be9de
TS
333272012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33328
d072f3f7
TS
33329 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33330 macro.
33331
123be9de
TS
33332 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33333 (sendmmsg): Move declarations...
33334 * socket/sys/socket.h: ... here.
33335 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33336 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33337 include it from...
33338 * socket/recvmmsg.c: ... this new file.
33339 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33340 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33341 definition of __sendmmsg hidden.
33342 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33343 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33344 Move ENOSYS stub into and include it from...
33345 * socket/sendmmsg.c: ... this new file.
33346 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33347 (sysdep_routines): Move recvmmsg and sendmmsg...
33348 * socket/Makefile (routines): ... here.
33349 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33350 (GLIBC_PRIVATE): Add __sendmmsg.
33351 * include/sys/socket.h (__sendmmsg): Add declarations.
33352 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33353 sendmmsg.
33354
cf9a5d18
JM
333552012-11-20 Joseph Myers <joseph@codesourcery.com>
33356
33357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33358 variable I1 with __attribute__ ((unused)).
33359 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33360
ecd4caf9
JM
333612012-11-19 Joseph Myers <joseph@codesourcery.com>
33362
be14d48f
JM
33363 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33364 DUMMY variables with __attribute__ ((unused)).
33365
ecd4caf9
JM
33366 * bits/byteswap.h: Include <bits/types.h>.
33367 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33368
986cab95
PT
333692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33370
33371 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33372 string_t. Do not manually set errno.
33373 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33374 length with __strnlen. Make sure to both set errno and return it on
33375 failure.
33376
6d33cc9d
DM
333772012-11-19 David S. Miller <davem@davemloft.net>
33378
33379 With help from Joseph Myers.
33380 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33381 very large arguments properly.
33382 * math/libm-test.inc (atan_test): New tests.
33383 (atan2_test): New tests.
33384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33386
ee663277
JM
333872012-11-19 Joseph Myers <joseph@codesourcery.com>
33388
877f2d8e
JM
33389 [BZ #14856]
33390 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33391 Define to 3.
33392
116fc08a
JM
33393 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33394 [POSIX] (EADDRNOTAVAIL): Likewise.
33395 [POSIX] (EAFNOSUPPORT): Likewise.
33396 [POSIX] (EALREADY): Likewise.
33397 [POSIX] (ECONNABORTED): Likewise.
33398 [POSIX] (ECONNREFUSED): Likewise.
33399 [POSIX] (ECONNRESET): Likewise.
33400 [POSIX] (EDESTADDRREQ): Likewise.
33401 [POSIX] (EDQUOT): Likewise.
33402 [POSIX] (EHOSTUNREACH): Likewise.
33403 [POSIX] (EIDRM): Likewise.
33404 [POSIX] (EISCONN): Likewise.
33405 [POSIX] (ELOOP): Likewise.
33406 [POSIX] (EMULTIHOP): Likewise.
33407 [POSIX] (ENETDOWN): Likewise.
33408 [POSIX] (ENETUNREACH): Likewise.
33409 [POSIX] (ENOBUFS): Likewise.
33410 [POSIX] (ENODATA): Likewise.
33411 [POSIX] (ENOLINK): Likewise.
33412 [POSIX] (ENOMSG): Likewise.
33413 [POSIX] (ENOPROTOOPT): Likewise.
33414 [POSIX] (ENOSR): Likewise.
33415 [POSIX] (ENOSTR): Likewise.
33416 [POSIX] (ENOTCONN): Likewise.
33417 [POSIX] (ENOTSOCK): Likewise.
33418 [POSIX] (EOPNOTSUPP): Likewise.
33419 [POSIX] (EOVERFLOW): Likewise.
33420 [POSIX] (EPROTO): Likewise.
33421 [POSIX] (EPROTONOSUPPORT): Likewise.
33422 [POSIX] (EPROTOTYPE): Likewise.
33423 [POSIX] (ESTALE): Likewise.
33424 [POSIX] (ETIME): Likewise.
33425 [POSIX] (ETXTBSY): Likewise.
33426 [POSIX] (EWOULDBLOCK): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33428 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33429 [POSIX] (SEEK_CUR): Likewise.
33430 [POSIX] (SEEK_END): Likewise.
33431 [POSIX || UNIX98] (mode_t): Do not require.
33432 [POSIX] (off_t): Likewise.
33433 [POSIX] (pid_t): Likewise.
33434 [POSIX] (sys/stat.h): Do not allow header.
33435 [POSIX] (unistd.h): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33437 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33439 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33440 require.
33441 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33442 sigevent): Specify elements.
33443 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33444 entry.
33445 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33446 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33447
a483863f
JM
33448 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33449 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33450 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33451 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33452 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33453 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33454 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33455 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33457 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33458 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33459 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33460 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33461 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33462 Likewise.
33463 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33464 Likewise.
33465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33466 Likewise.
33467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33468 Likewise.
33469 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33470 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33471 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33472 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33474 Specify lower bound on value.
33475 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33481 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33482 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33483 value.
33484 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33485 as optional.
33486 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33499 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33500 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33501 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33502 entry.
33503 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33504 optional.
33505 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33506 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33507 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33508 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33509 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33510 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33511 Likewise.
33512 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33515 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33517 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33518 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33519 as optional.
33520 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33524 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33525 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33526 specify as optional.
33527 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33530 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33531 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33532 [XPG3] (NL_LANGMAX): Likewise.
33533 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33534 [POSIX || XPG3] (NL_NMAX): Likewise.
33535 [POSIX || XPG3] (NL_SETMAX): Likewise.
33536 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33537 [XPG3] (NZERO): Likewise.
33538 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33539 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33540 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33541 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33542 (REG_ERANGE): Expect.
33543 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33544 optional-constant.
33545 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33546 Use (void) in prototype.
33547 [POSIX] (*_t): Allow.
33548 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33549 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33550 (WRDE_BADVAL): Expect.
33551
5ba924e3
JM
33552 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33553 expect.
33554 [XPG3 || XPG4] (O_RSYNC): Likewise.
33555 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33556 Likewise.
33557 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33558 [XPG3 || XPG4] (sigqueue): Likewise.
33559 [XPG3 || XPG4] (sigtimedwait): Likewise.
33560 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33561 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33562 [XPG3 || XPG4] (vsnprintf): Likewise.
33563 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33564 Likewise.
33565 [XPG3 || XPG4] (blksize_t): Likewise.
33566 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33567 Likewise.
33568 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33569 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33570 [XPG3 || XPG4] (struct itimerspec): Likewise.
33571 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33572 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33573 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33574 [XPG3 || XPG4] (clockid_t): Likewise.
33575 [XPG3 || XPG4] (timer_t): Likewise.
33576 [XPG3 || XPG4] (clock_getres): Likewise.
33577 [XPG3 || XPG4] (clock_gettime): Likewise.
33578 [XPG3 || XPG4] (clock_settime): Likewise.
33579 [XPG3 || XPG4] (nanosleep): Likewise.
33580 [XPG3 || XPG4] (timer_create): Likewise.
33581 [XPG3 || XPG4] (timer_delete): Likewise.
33582 [XPG3 || XPG4] (timer_gettime): Likewise.
33583 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33584 [XPG3 || XPG4] (timer_settime): Likewise.
33585 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33586 [XPG3 || XPG4] (getlogin_r): Likewise.
33587 [XPG3 || XPG4] (pread): Likewise.
33588 [XPG3 || XPG4] (pthread_atfork): Likewise.
33589 [XPG3 || XPG4] (pwrite): Likewise.
33590
ee663277
JM
33591 [BZ #14835]
33592 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33593 <bits/siginfo.h>.
33594
942caa16
PT
335952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33596
e19af380
PT
33597 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33598 finalizing MALLSTREAM.
33599
942caa16
PT
33600 * sysdeps/mach/hurd/syncfs.c: New file.
33601
cfde9b46
SP
336022012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33603
33604 [BZ #14719]
33605 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33606 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33607 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33608 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33609 (_nss_dns_gethostbyname4_r): Likewise.
33610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33611 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33612
f6da27e5
PH
336132012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33614
33615 [BZ #13763]
33616 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33617
6665d4a2
SM
336182012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33619
1f51ee92
SM
33620 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33621 * elf/cache.c (print_entry): Print ",AArch64" for
33622 FLAG_AARCH64_LIB64
33623
6665d4a2
SM
33624 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33625 * elf/cache.c (print_entry): Print ",hard-float" for
33626 FLAG_ARM_LIBHF.
33627
05b227bd
DM
336282012-11-18 David S. Miller <davem@davemloft.net>
33629
33630 With help from Joseph Myers.
33631 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33632 cutoff to 2**-13.
33633 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33634 cutoff to 2**-25.
33635 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33636 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33637 small.
33638 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33639 * math/libm-test.inc (y0_test): New tests.
33640 (y1_test): New tests.
33641 * sysdeps/i386/fpu/libm-test-ulps: Update.
33642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33644
786b0b67
AS
336452012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33646
33647 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33648 64-bit targets.
33649 * configure: Regenerated.
33650
8e18b86d
DM
336512012-11-17 David S. Miller <davem@davemloft.net>
33652
33653 [BZ #14811]
33654 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33655 nonzero exponents with absolute value below 0x1p-128 to +/-
33656 0x1p-128.
33657
531f1ae0
JM
336582012-11-17 Joseph Myers <joseph@codesourcery.com>
33659
12df29e2
JM
33660 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33661
150dc1a0
JM
33662 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33663
531f1ae0
JM
33664 * posix/getconf-speclist.c: New file.
33665 * posix/posix-envs.def: Likewise.
33666 * posix/confstr.c (START_ENV_GROUP): New macro.
33667 (END_ENV_GROUP): Likewise.
33668 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33669 (KNOWN_PRESENT_ENV_STRING): Likewise.
33670 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33671 (UNKNOWN_ENVIRONMENT): Likewise.
33672 (confstr): Include posix-envs.def instead of handling
33673 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33674 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33675 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33676 (END_ENV_GROUP): Likewise.
33677 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33678 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33679 (UNKNOWN_ENVIRONMENT): Likewise.
33680 (__sysconf): Include posix-envs.def instead of handling associated
33681 cases directly here.
33682 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33683 preprocessing getconf-speclist.c rather than running getconf or
33684 generating empty file.
33685
a93f9cbc
PT
336862012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33687
33688 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33689
d64d9f87
AL
336902012-11-16 Andrej Lajovic <natrij@gmail.com>
33691
33692 [BZ #14672]
33693 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33694
447885eb
DM
336952012-11-16 David S. Miller <davem@davemloft.net>
33696
33697 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33698 smaller than LDBL_EPSILON/2.0L, just return xm1.
33699
bcbf9830
L
337002012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33701
33702 * elf/tst-array1.c (init): Set constructor priority to 1000.
33703 (fini): Set destructor priority to 1000.
33704 * elf/tst-array2dep.c: Likewise.
33705
2b766585
SP
337062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33707
33708 [BZ #11741]
33709 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33710 (_IO_new_file_xsputn): Also return EOF if none of the input
33711 data was written when overflow failed.
33712 * libio/iopadn.c (_IO_padn): Likewise.
33713 * libio/iowpadn.c (_IO_wpadn): Likewise.
33714 * stdio-common/tst-put-error.c: Add copyright notice.
33715 (do_test): Add case for printing padded string.
33716 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33717 _IO_padn returned error.
33718 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33719 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33720 return EOF.
33721
b1848fde
SP
337222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33723
33724 * libio/libioP.h: Add comment note that the references to C++
33725 bits are now obsolete.
33726
2fd89785
MS
337272012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33728
33729 * math/libm-test.inc (check_complex): Use asprintf.
33730
e3ea5409
JM
337312012-11-14 Joseph Myers <joseph@codesourcery.com>
33732
33733 * debug/pcprofiledump.c (print_version): Update copyright year.
33734 * malloc/memusagestat.c (print_version): Likewise.
33735
2e64d265
L
337362012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33737
33738 [BZ #14831]
33739 * elf/Makefile (tests): Add tst-audit8.
33740 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33741 ($(objpfx)tst-audit8.out): New target.
33742 (tst-audit8-ENV): New variable.
33743 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33744 audit if l_reloc_result is NULL.
33745 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33746 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33747 * elf/tst-audit8.c: New file.
33748
c485e4d2
MS
337492012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33750
33751 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33752 * misc/Makefile (CFLAGS-select.c): Define.
33753 * posix/Makefile (CFLAGS-pause.c): Define.
33754
3a0d900a
DM
337552012-11-13 David S. Miller <davem@davemloft.net>
33756
33757 * crypt/Makefile: Move test targets after toplevel Rules
33758 inclusion. Grab any necessary sysdep routines when linking.
33759 * crypt/md5.c (md5_process_block): Remove define, we will always
33760 name it __md5_process_block.
33761 (md5_finish_ctx): Update md5_process_block call.
33762 (md5_stream): Likewise.
33763 (md5_process_bytes): Likewise.
33764 (md5_process_block): Rename to __md5_process_block and move to ...
33765 * crypt/md5-block.c: ... here.
33766 * crypt/sha256.c (sha256_process_block): Move to ...
33767 * crypt/sha256-block.c: ... here.
33768 * crypt/sha512.c (sha512_process_block): Move to ...
33769 * crypt/sha512-block.c: ... here.
33770 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33771 path.
33772 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33773 * sysdeps/sparc/sparc64/multiarch/Makefile
33774 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33775 crypt subdir.
33776 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33778 multiarch changes.
33779 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33780 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33781 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33782 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33783 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33784 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33785 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33786 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33787 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33788 file.
33789 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33790 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33791 file.
33792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33793
8ca89318
JM
337942012-11-13 Joseph Myers <joseph@codesourcery.com>
33795
e27d476a
JM
33796 * timezone/tzselect.ksh: Update from tzcode git revision
33797 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33798 * timezone/zdump.c: Likewise.
33799 * timezone/zic.c: Likewise.
33800 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33801 in TZVERSION setting, not $(PKGVERSION).
33802 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33803 REPORT_BUGS_TO settings.
33804
8ca89318
JM
33805 [BZ #14838]
33806 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33807 macro.
33808
47594329
MS
338092012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33810
33811 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33812 detection to immediately after _FP_ROUND().
33813 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33814 bits are 0.
33815
640ac3f1
DM
338162012-11-11 David S. Miller <davem@davemloft.net>
33817
33818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33819 inttypes.h
33820 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33821 __close rather than their public counterparts.
33822
3d2577bb
JM
338232012-11-10 Joseph Myers <joseph@codesourcery.com>
33824
33825 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33826 file.
33827 [UNIX98] (sem_timedwait): Do not expect.
33828 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33829 [XPG4 || UNIX98] (sockatmark): Do not expect.
33830 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33831 (clock_getcpuclockid): Do not expect.
33832 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33833 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33834 Do not expect.
33835 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33836 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33837 [UNIX98] (vwscanf): Likewise.
33838 [UNIX98] (vswscanf): Likewise.
33839
fb1ae1ee
JM
338402012-11-09 Joseph Myers <joseph@codesourcery.com>
33841
9ec6f8bd
JM
33842 * timezone/version.h: Remove file.
33843 * timezone/README: Do not refer to version.h.
33844 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33845 $(objpfx)version.h.
33846 ($(objpfx)zdump.o): Likewise.
c3f81911 33847 ($(objpfx)version.h): New target.
9ec6f8bd 33848
0aa8f8a1
JM
33849 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33850 2012i.
33851 * timezone/README: Don't mention modification to tzselect.ksh.
33852 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33853 work on unmodified tzselect.ksh. Substitute version numbers in
33854 tzselect.ksh.
33855
4e87147f
JM
33856 * Makefile (format-me): Remove.
33857 (INSTALL): Adjust indentation. Use commands directly instead of
33858 using $(format-me).
33859
8b748aed
JM
33860 * aclocal.m4 (ACX_PKGVERSION): New macro.
33861 (ACX_BUGURL): Likewise.
33862 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33863 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33864 (REPORT_BUGS_TO): Likewise.
33865 * configure: Regenerated.
33866 * config.h.in (PKGVERSION): New macro.
33867 (REPORT_BUGS_TO): Likewise.
33868 * config.make.in (PKGVERSION): New variable.
33869 (PKGVERSION_TEXI): Likewise.
33870 (REPORT_BUGS_TO): Likewise.
33871 (REPORT_BUGS_TEXI): Likewise.
33872 * Makefile (format-me): Use -I$(common-objpfx)manual.
33873 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33874 ($(common-objpfx)manual/%): New target.
33875 (manual/%): Remove target.
33876 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33877 (print_version): Use PKGVERSION.
33878 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33879 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33880 and REPORT_BUGS_TO.
33881 ($(objpfx)xtrace): Likewise.
33882 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33883 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33884 (print_version): Use PKGVERSION.
33885 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33886 (do_version): Use PKGVERSION.
33887 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33888 REPORT_BUGS_TO.
33889 (common-ldd-rewrite): Likewise.
33890 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33891 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33892 (print_version): Use PKGVERSION.
33893 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33894 * elf/pldd.c (argp_program_bug_address): Remove variable.
33895 (more_help): New function.
33896 (argp): Use more_help.
33897 (print_version): Use PKGVERSION.
33898 * elf/sln.c (main): Use PKGVERSION.
33899 (usage): Use REPORT_BUGS_TO.
33900 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33901 (top level): Use PKGVERSION.
33902 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33903 (print_version): Use PKGVERSION.
33904 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33905 (print_version): Use PKGVERSION.
33906 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33907 (print_version): Use PKGVERSION.
33908 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33909 (print_version): Use PKGVERSION.
33910 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33911 (print_version): Use PKGVERSION.
33912 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33913 (print_version): Use PKGVERSION.
33914 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33915 and BUGURL.
33916 ($(objpfx)memusage): Likewise.
33917 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33918 (do_version): Use PKGVERSION.
33919 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33920 (print_version): Use PKGVERSION.
33921 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33922 ($PKGVERSION): New variable.
33923 ($REPORT_BUGS_TO): Likewise.
33924 (usage): Use $REPORT_BUGS_TO.
33925 (top level): Use $PKGVERSION.
33926 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33927 ($(objpfx)pkgvers.texi): New rule.
33928 ($(objpfx)stamp-pkgvers): Likewise.
33929 * manual/install.texi: Include pkgvers.texi.
33930 (--with-pkgversion): Document new configure option.
33931 (--with-bugurl): Likewise.
33932 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33933 than necessarily for this particular distribution. Use
33934 REPORT_BUGS_TO for where to report bugs.
33935 * INSTALL: Regenerated.
33936 * manual/libc.texinfo: Include pkgvers.texi.
33937 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33938 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33939 (print_version): Use PKGVERSION.
33940 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33941 (print_version): Use PKGVERSION.
33942 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33943 (print_version): Use PKGVERSION.
33944 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33945 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33946 macro.
33947 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33948 (print_version): Use PKGVERSION.
33949 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33950 (print_version): Use PKGVERSION.
33951 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33952 and PKGVERSION.
33953
92e4b6a9
JM
33954 * timezone/checktab.awk: Update from tzcode 2012i.
33955 * timezone/ialloc.c: Likewise.
33956 * timezone/private.h: Likewise.
33957 * timezone/scheck.c: Likewise.
33958 * timezone/tzfile.h: Likewise.
33959 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33960 (TZVERSION): Hardcode tzcode version number.
33961 * timezone/zdump.c: Update from tzcode 2012i.
33962 * timezone/zic.c: Likewise.
33963 * timezone/version.h: New file.
33964 * timezone/README: Describe version.h. Update upstream location.
33965
9bde902c
JM
33966 [BZ #14824]
33967 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33968 (mktemp): Enable declaration.
33969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33973 Likewise.
33974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33975 Likewise.
33976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33977 Likewise.
33978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33979 Likewise.
33980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33981 Likewise.
33982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33983 Likewise.
33984
fb1ae1ee
JM
33985 [BZ #14821]
33986 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33987 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33988 for copies of such integer values.
33989 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33990 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33991
2c1adbcb
AJ
339922012-11-09 Andreas Jaeger <aj@suse.de>
33993
33994 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33995 definitions and declarations that are provided by
33996 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33997
d0f8457e
AK
339982012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33999
3a235abb 34000 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34001 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34002 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34003 definition.
34004
57241e26
MS
340052012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34006
34007 * elf/elf.h: Update comment before AArch64 relocations.
34008
60e8270d
DM
340092012-11-07 David S. Miller <davem@davemloft.net>
34010
34011 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34012 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34013 (__start_context): Declare.
34014 (__makecontext_ret): Delete.
34015 (__makecontext): Hook up __start_context instead of
34016 __makecontext_ret.
34017 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34018 (sysdep_routines): Add __start_context when in stdlib.
34019
0fbb0fbc
JM
340202012-11-07 Joseph Myers <joseph@codesourcery.com>
34021
34022 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34023 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34024 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34025 hardcoded "nm".
34026 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34027 (READELF): New variable. Use it instead of hardcoded "readelf".
34028
eb48db7e
L
340292012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34032 * sysdeps/x86/Makefile: Here.
34033 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34034 * sysdeps/x86/tst-xmmymm.sh: This.
34035
05bcf62a
JM
340362012-11-07 Joseph Myers <joseph@codesourcery.com>
34037
c4b6cf53
JM
34038 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34039 expectations.
34040 [UNIX98] (pthread_barrier_t): Do not expect.
34041 [UNIX98] (pthread_barrierattr_t): Likewise.
34042 [UNIX98] (pthread_spinlock_t): Likewise.
34043 [UNIX98] (pthread_barrier_destroy): Likewise.
34044 [UNIX98] (pthread_barrier_init): Likewise.
34045 [UNIX98] (pthread_barrier_wait): Likewise.
34046 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34047 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34048 [UNIX98] (pthread_barrierattr_init): Likewise.
34049 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34050 [UNIX98] (pthread_getcpuclockid): Likewise.
34051 [UNIX98] (pthread_mutex_timedlock): Likewise.
34052 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34053 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34054 [UNIX98] (pthread_sigmask): Likewise.
34055 [UNIX98] (pthread_spin_destroy): Likewise.
34056 [UNIX98] (pthread_spin_init): Likewise.
34057 [UNIX98] (pthread_spin_lock): Likewise.
34058 [UNIX98] (pthread_spin_trylock): Likewise.
34059 [UNIX98] (pthread_spin_unlock): Likewise.
34060 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34061 Do not expect.
34062 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34063 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34064 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34065 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34066 [XPG3 || XPG4] (pthread_key_t): Likewise.
34067 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34068 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34069 [XPG3 || XPG4] (pthread_once_t): Likewise.
34070 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34071 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34072 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34073 [XPG3 || XPG4] (pthread_t): Likewise.
34074
cbe6e120
JM
34075 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34076 not expect.
34077 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34078
1b126443
JM
34079 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34080 Change function return type to int.
34081
b961a573
JM
34082 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34083 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34084 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34085 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34086 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34087 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34088 [!POSIX] (posix_madvise): Likewise.
34089 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34090 && !UNIX98].
34091 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34092 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34093 (mode_t): Likewise.
34094 (posix_mem_offset): Likewise.
34095 (posix_typed_mem_get_info): Likewise.
34096 (posix_typed_mem_open): Likewise.
34097
9e188909
JM
34098 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34099 Change condition to [XOPEN2K8].
34100
05bcf62a
JM
34101 * conform/conformtest.pl: Preprocess allow-header data with -x c
34102 instead of from stdin.
34103 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34104 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34105 [C99-based standards] (cerfc): Likewise.
34106 [C99-based standards] (cexp2): Likewise.
34107 [C99-based standards] (cexpm1): Likewise.
34108 [C99-based standards] (clog10): Likewise.
34109 [C99-based standards] (clog1p): Likewise.
34110 [C99-based standards] (clog2): Likewise.
34111 [C99-based standards] (clgamma): Likewise.
34112 [C99-based standards] (ctgamma): Likewise.
34113 [C99-based standards] (cerff): Likewise.
34114 [C99-based standards] (cerfcf): Likewise.
34115 [C99-based standards] (cexp2f): Likewise.
34116 [C99-based standards] (cexpm1f): Likewise.
34117 [C99-based standards] (clog10f): Likewise.
34118 [C99-based standards] (clog1pf): Likewise.
34119 [C99-based standards] (clog2f): Likewise.
34120 [C99-based standards] (clgammaf): Likewise.
34121 [C99-based standards] (ctgammaf): Likewise.
34122 [C99-based standards] (cerfl): Likewise.
34123 [C99-based standards] (cerfcl): Likewise.
34124 [C99-based standards] (cexp2l): Likewise.
34125 [C99-based standards] (cexpm1l): Likewise.
34126 [C99-based standards] (clog10l): Likewise.
34127 [C99-based standards] (clog1pl): Likewise.
34128 [C99-based standards] (clog2l): Likewise.
34129 [C99-based standards] (clgammal): Likewise.
34130 [C99-based standards] (ctgammal): Likewise.
34131 * conform/data/inttypes.h-data [C99-based standards]: Include
34132 stdint.h-data. Remove all expectations for stdint.h contents.
34133 [C99-based standards] (PRI*): Do not allow.
34134 [C99-based standards] (SCN*): Likewise.
34135 [C99-based standards] (*_t): Likewise.
34136 [C99-based-standards] (PRId8): Expect macro.
34137 [C99-based-standards] (PRIi8): Likewise.
34138 [C99-based-standards] (PRIo8): Likewise.
34139 [C99-based-standards] (PRIu8): Likewise.
34140 [C99-based-standards] (PRIx8): Likewise.
34141 [C99-based-standards] (PRIX8): Likewise.
34142 [C99-based-standards] (SCNd8): Likewise.
34143 [C99-based-standards] (SCNi8): Likewise.
34144 [C99-based-standards] (SCNo8): Likewise.
34145 [C99-based-standards] (SCNu8): Likewise.
34146 [C99-based-standards] (SCNx8): Likewise.
34147 [C99-based-standards] (PRIdLEAST8): Likewise.
34148 [C99-based-standards] (PRIiLEAST8): Likewise.
34149 [C99-based-standards] (PRIoLEAST8): Likewise.
34150 [C99-based-standards] (PRIuLEAST8): Likewise.
34151 [C99-based-standards] (PRIxLEAST8): Likewise.
34152 [C99-based-standards] (PRIXLEAST8): Likewise.
34153 [C99-based-standards] (SCNdLEAST8): Likewise.
34154 [C99-based-standards] (SCNiLEAST8): Likewise.
34155 [C99-based-standards] (SCNoLEAST8): Likewise.
34156 [C99-based-standards] (SCNuLEAST8): Likewise.
34157 [C99-based-standards] (SCNxLEAST8): Likewise.
34158 [C99-based-standards] (PRIdFAST8): Likewise.
34159 [C99-based-standards] (PRIiFAST8): Likewise.
34160 [C99-based-standards] (PRIoFAST8): Likewise.
34161 [C99-based-standards] (PRIuFAST8): Likewise.
34162 [C99-based-standards] (PRIxFAST8): Likewise.
34163 [C99-based-standards] (PRIXFAST8): Likewise.
34164 [C99-based-standards] (SCNdFAST8): Likewise.
34165 [C99-based-standards] (SCNiFAST8): Likewise.
34166 [C99-based-standards] (SCNoFAST8): Likewise.
34167 [C99-based-standards] (SCNuFAST8): Likewise.
34168 [C99-based-standards] (SCNxFAST8): Likewise.
34169 [C99-based-standards] (PRId16): Likewise.
34170 [C99-based-standards] (PRIi16): Likewise.
34171 [C99-based-standards] (PRIo16): Likewise.
34172 [C99-based-standards] (PRIu16): Likewise.
34173 [C99-based-standards] (PRIx16): Likewise.
34174 [C99-based-standards] (PRIX16): Likewise.
34175 [C99-based-standards] (SCNd16): Likewise.
34176 [C99-based-standards] (SCNi16): Likewise.
34177 [C99-based-standards] (SCNo16): Likewise.
34178 [C99-based-standards] (SCNu16): Likewise.
34179 [C99-based-standards] (SCNx16): Likewise.
34180 [C99-based-standards] (PRIdLEAST16): Likewise.
34181 [C99-based-standards] (PRIiLEAST16): Likewise.
34182 [C99-based-standards] (PRIoLEAST16): Likewise.
34183 [C99-based-standards] (PRIuLEAST16): Likewise.
34184 [C99-based-standards] (PRIxLEAST16): Likewise.
34185 [C99-based-standards] (PRIXLEAST16): Likewise.
34186 [C99-based-standards] (SCNdLEAST16): Likewise.
34187 [C99-based-standards] (SCNiLEAST16): Likewise.
34188 [C99-based-standards] (SCNoLEAST16): Likewise.
34189 [C99-based-standards] (SCNuLEAST16): Likewise.
34190 [C99-based-standards] (SCNxLEAST16): Likewise.
34191 [C99-based-standards] (PRIdFAST16): Likewise.
34192 [C99-based-standards] (PRIiFAST16): Likewise.
34193 [C99-based-standards] (PRIoFAST16): Likewise.
34194 [C99-based-standards] (PRIuFAST16): Likewise.
34195 [C99-based-standards] (PRIxFAST16): Likewise.
34196 [C99-based-standards] (PRIXFAST16): Likewise.
34197 [C99-based-standards] (SCNdFAST16): Likewise.
34198 [C99-based-standards] (SCNiFAST16): Likewise.
34199 [C99-based-standards] (SCNoFAST16): Likewise.
34200 [C99-based-standards] (SCNuFAST16): Likewise.
34201 [C99-based-standards] (SCNxFAST16): Likewise.
34202 [C99-based-standards] (PRId32): Likewise.
34203 [C99-based-standards] (PRIi32): Likewise.
34204 [C99-based-standards] (PRIo32): Likewise.
34205 [C99-based-standards] (PRIu32): Likewise.
34206 [C99-based-standards] (PRIx32): Likewise.
34207 [C99-based-standards] (PRIX32): Likewise.
34208 [C99-based-standards] (SCNd32): Likewise.
34209 [C99-based-standards] (SCNi32): Likewise.
34210 [C99-based-standards] (SCNo32): Likewise.
34211 [C99-based-standards] (SCNu32): Likewise.
34212 [C99-based-standards] (SCNx32): Likewise.
34213 [C99-based-standards] (PRIdLEAST32): Likewise.
34214 [C99-based-standards] (PRIiLEAST32): Likewise.
34215 [C99-based-standards] (PRIoLEAST32): Likewise.
34216 [C99-based-standards] (PRIuLEAST32): Likewise.
34217 [C99-based-standards] (PRIxLEAST32): Likewise.
34218 [C99-based-standards] (PRIXLEAST32): Likewise.
34219 [C99-based-standards] (SCNdLEAST32): Likewise.
34220 [C99-based-standards] (SCNiLEAST32): Likewise.
34221 [C99-based-standards] (SCNoLEAST32): Likewise.
34222 [C99-based-standards] (SCNuLEAST32): Likewise.
34223 [C99-based-standards] (SCNxLEAST32): Likewise.
34224 [C99-based-standards] (PRIdFAST32): Likewise.
34225 [C99-based-standards] (PRIiFAST32): Likewise.
34226 [C99-based-standards] (PRIoFAST32): Likewise.
34227 [C99-based-standards] (PRIuFAST32): Likewise.
34228 [C99-based-standards] (PRIxFAST32): Likewise.
34229 [C99-based-standards] (PRIXFAST32): Likewise.
34230 [C99-based-standards] (SCNdFAST32): Likewise.
34231 [C99-based-standards] (SCNiFAST32): Likewise.
34232 [C99-based-standards] (SCNoFAST32): Likewise.
34233 [C99-based-standards] (SCNuFAST32): Likewise.
34234 [C99-based-standards] (SCNxFAST32): Likewise.
34235 [C99-based-standards] (PRId64): Likewise.
34236 [C99-based-standards] (PRIi64): Likewise.
34237 [C99-based-standards] (PRIo64): Likewise.
34238 [C99-based-standards] (PRIu64): Likewise.
34239 [C99-based-standards] (PRIx64): Likewise.
34240 [C99-based-standards] (PRIX64): Likewise.
34241 [C99-based-standards] (SCNd64): Likewise.
34242 [C99-based-standards] (SCNi64): Likewise.
34243 [C99-based-standards] (SCNo64): Likewise.
34244 [C99-based-standards] (SCNu64): Likewise.
34245 [C99-based-standards] (SCNx64): Likewise.
34246 [C99-based-standards] (PRIdLEAST64): Likewise.
34247 [C99-based-standards] (PRIiLEAST64): Likewise.
34248 [C99-based-standards] (PRIoLEAST64): Likewise.
34249 [C99-based-standards] (PRIuLEAST64): Likewise.
34250 [C99-based-standards] (PRIxLEAST64): Likewise.
34251 [C99-based-standards] (PRIXLEAST64): Likewise.
34252 [C99-based-standards] (SCNdLEAST64): Likewise.
34253 [C99-based-standards] (SCNiLEAST64): Likewise.
34254 [C99-based-standards] (SCNoLEAST64): Likewise.
34255 [C99-based-standards] (SCNuLEAST64): Likewise.
34256 [C99-based-standards] (SCNxLEAST64): Likewise.
34257 [C99-based-standards] (PRIdFAST64): Likewise.
34258 [C99-based-standards] (PRIiFAST64): Likewise.
34259 [C99-based-standards] (PRIoFAST64): Likewise.
34260 [C99-based-standards] (PRIuFAST64): Likewise.
34261 [C99-based-standards] (PRIxFAST64): Likewise.
34262 [C99-based-standards] (PRIXFAST64): Likewise.
34263 [C99-based-standards] (SCNdFAST64): Likewise.
34264 [C99-based-standards] (SCNiFAST64): Likewise.
34265 [C99-based-standards] (SCNoFAST64): Likewise.
34266 [C99-based-standards] (SCNuFAST64): Likewise.
34267 [C99-based-standards] (SCNxFAST64): Likewise.
34268 [C99-based-standards] (PRIdMAX): Likewise.
34269 [C99-based-standards] (PRIiMAX): Likewise.
34270 [C99-based-standards] (PRIoMAX): Likewise.
34271 [C99-based-standards] (PRIuMAX): Likewise.
34272 [C99-based-standards] (PRIxMAX): Likewise.
34273 [C99-based-standards] (PRIXMAX): Likewise.
34274 [C99-based-standards] (SCNdMAX): Likewise.
34275 [C99-based-standards] (SCNiMAX): Likewise.
34276 [C99-based-standards] (SCNoMAX): Likewise.
34277 [C99-based-standards] (SCNuMAX): Likewise.
34278 [C99-based-standards] (SCNxMAX): Likewise.
34279 [C99-based-standards] (PRIdPTR): Likewise.
34280 [C99-based-standards] (PRIiPTR): Likewise.
34281 [C99-based-standards] (PRIoPTR): Likewise.
34282 [C99-based-standards] (PRIuPTR): Likewise.
34283 [C99-based-standards] (PRIxPTR): Likewise.
34284 [C99-based-standards] (PRIXPTR): Likewise.
34285 [C99-based-standards] (SCNdPTR): Likewise.
34286 [C99-based-standards] (SCNiPTR): Likewise.
34287 [C99-based-standards] (SCNoPTR): Likewise.
34288 [C99-based-standards] (SCNuPTR): Likewise.
34289 [C99-based-standards] (SCNxPTR): Likewise.
34290 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34291 allow.
34292 * conform/data/stdint.h-data: Update comments to clarify
34293 requirements.
34294 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34295 type.
34296 [C99-based standards] (INT8_MAX): Likewise.
34297 [C99-based standards] (INT16_MIN): Likewise.
34298 [C99-based standards] (INT16_MAX): Likewise.
34299 [C99-based standards] (INT32_MIN): Likewise.
34300 [C99-based standards] (INT32_MAX): Likewise.
34301 [C99-based standards] (INT64_MIN): Likewise.
34302 [C99-based standards] (INT64_MAX): Likewise.
34303 [C99-based standards] (UINT8_MAX): Likewise.
34304 [C99-based standards] (UINT16_MAX): Likewise.
34305 [C99-based standards] (UINT32_MAX): Likewise.
34306 [C99-based standards] (UINT64_MAX): Likewise.
34307 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34308 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34309 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34310 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34311 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34312 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34313 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34314 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34315 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34316 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34317 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34318 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34319 [C99-based standards] (INT_FAST8_MIN): Likewise.
34320 [C99-based standards] (INT_FAST8_MAX): Likewise.
34321 [C99-based standards] (INT_FAST16_MIN): Likewise.
34322 [C99-based standards] (INT_FAST16_MAX): Likewise.
34323 [C99-based standards] (INT_FAST32_MIN): Likewise.
34324 [C99-based standards] (INT_FAST32_MAX): Likewise.
34325 [C99-based standards] (INT_FAST64_MIN): Likewise.
34326 [C99-based standards] (INT_FAST64_MAX): Likewise.
34327 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34328 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34329 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34330 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34331 [C99-based standards] (INTPTR_MIN): Likewise.
34332 [C99-based standards] (INTPTR_MAX): Likewise.
34333 [C99-based standards] (UINTPTR_MAX): Likewise.
34334 [C99-based standards] (INTMAX_MIN): Likewise.
34335 [C99-based standards] (INTMAX_MAX): Likewise.
34336 [C99-based standards] (UINTMAX_MAX): Likewise.
34337 [C99-based standards] (PTRDIFF_MIN): Likewise.
34338 [C99-based standards] (PTRDIFF_MAX): Likewise.
34339 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34340 [C99-based standards] (SIZE_MAX): Likewise.
34341 [C99-based standards] (WCHAR_MAX): Likewise.
34342 [C99-based standards] (WINT_MAX): Likewise.
34343 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34344 constraint on value.
34345 [C99-based standards] (WCHAR_MIN): Likewise.
34346 [C99-based standards] (WINT_MIN): Likewise.
34347 [C99-based standards] (*_t): Allow.
34348 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34349 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34350 Include math.h-data and complex.h-data. Remove all expectations
34351 of math.h and complex.h contents.
34352 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34353 at end of line.
34354 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34355 (struct tm): Expect tag.
34356 [C99-based-standards] (wcstof): Expect function.
34357 [C99-based-standards] (wcstold): Likewise.
34358 [C99-based-standards] (wcstoll): Likewise.
34359 [C99-based-standards] (wcstoull): Likewise.
34360 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34361 macro-int-constant. Specify type.
34362 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34363 constraint on value.
34364 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34365 Specify type.
34366 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34367 Specify value.
34368 [ISO C standards]: Do not allow headers.
34369 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34370 wcs[abcdefghijklmnopqrstuvwxyz]*.
34371 [ISO C standards] (*_t): Do not allow.
34372 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34373 Expect function.
34374 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34376 Specify type.
34377 [ISO C standards]: Do not allow headers.
34378 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34379 is[abcdefghijklmnopqrstuvwxyz]*.
34380 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34381 to[abcdefghijklmnopqrstuvwxyz]*.
34382 [ISO C standards] (*_t): Do not allow.
34383 * conform/data/stdalign.h-data: New file.
34384 * conform/data/stdbool.h-data: Likewise.
34385 * conform/data/stdnoreturn.h-data: Likewise.
34386
7514feb8
RM
343872012-11-07 Roland McGrath <roland@hack.frob.com>
34388
34389 [BZ #14815]
34390 * manual/filesys.texi (Directory Entries): Typo fix.
34391 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34392
19b2ecfc
MS
343932012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34394
34395 * elf/elf.h (EM_AARCH64): New macro.
34396 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34397 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34398 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34399 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34400 (R_AARCH64_TLSDESC): Likewise.
34401 (NT_ARM_TLS): Likewise.
34402 (NT_ARM_HW_BREAK): Likewise.
34403 (NT_ARM_HW_WATCH): Likewise.
34404
60e235ee
JM
344052012-11-07 Joseph Myers <joseph@codesourcery.com>
34406
34407 [BZ #14811]
34408 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34409 (__ieee754_powl): Saturate nonzero exponents with absolute value
34410 below 0x1p-79 to +/- 0x1p-79.
34411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34412 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34413 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34414 nonzero exponents with absolute value below 0x1p-32 to +/-
34415 0x1p-32.
34416 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34417 (__ieee754_powl): Saturate nonzero exponents with absolute value
34418 below 0x1p-79 to +/- 0x1p-79.
34419 * math/libm-test.inc (pow_test): Add more tests.
34420
0ab234b7
AK
344212012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34422
34423 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34424 _dl_s390_cap_flags with kernel. Increase string length.
34425 (_dl_s390_platforms): Add z196 and zEC12.
34426
45832f74
JM
344272012-11-07 Joseph Myers <joseph@codesourcery.com>
34428
34429 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34430 Change XOPEN21K to XOPEN2K.
34431
19218757
MK
344322012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34433
34434 * string/memmove.c: Use memcpy when possible.
34435
c5f45721
AJ
344362012-11-06 Andreas Jaeger <aj@suse.de>
34437
34438 * po/eo.po: Update from translation team.
34439
82477c28
JM
344402012-11-06 Joseph Myers <joseph@codesourcery.com>
34441
34442 [BZ #14793]
34443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34444 exponent and small x and y exponents, scale x or y up. Increase
34445 by 2 the exponent used in scaling up.
34446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34448 * math/libm-test.inc (fma_test): Add more tests.
34449 (fma_test_towardzero): Likewise.
34450 (fma_test_downward): Likewise.
34451 (fma_test_upward): Likewise.
34452
99252c8c
JM
344532012-11-05 Joseph Myers <joseph@codesourcery.com>
34454
acfa885f
JM
34455 [BZ #14805]
34456 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34457 fenv_t *.
34458
99252c8c
JM
34459 [BZ #14801]
34460 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34461 namespace for names of struct fields.
34462 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34463 fenv_t fields.
34464 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34465 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34466
d6d98dea
ST
344672012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34468
34469 [BZ #3665]
34470 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34471
e10bb107
TS
344722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34473
34474 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34475 PTR_DEMANGLE.
34476
34477 [BZ #5246]
34478 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34479 PTR_DEMANGLE.
34480
a0c2940d
JM
344812012-11-04 Joseph Myers <joseph@codesourcery.com>
34482
34483 [BZ #14797]
34484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34485 definitely overflow as x * y not x * y + z.
34486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34488 * math/libm-test.inc (fma_test): Add more tests.
34489 (fma_test_towardzero): Likewise.
34490 (fma_test_downward): Likewise.
34491 (fma_test_upward): Likewise.
34492
b830319d
TS
344932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34494
34495 [BZ #157]
34496
34497 * include/stub-tag.h: Remove file.
34498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34499 '#include' of it.
34500 * manual/maint.texi (Porting): Don't reference it.
34501 * Makerules ($(objpfx)stubs): Likewise.
34502 * dirent/closedir.c: Don't include <stub-tag.h>.
34503 * dirent/dirfd.c: Likewise.
34504 * dirent/fdopendir.c: Likewise.
34505 * dirent/getdents.c: Likewise.
34506 * dirent/getdents64.c: Likewise.
34507 * dirent/opendir.c: Likewise.
34508 * dirent/readdir.c: Likewise.
34509 * dirent/readdir64.c: Likewise.
34510 * dirent/readdir64_r.c: Likewise.
34511 * dirent/readdir_r.c: Likewise.
34512 * dirent/rewinddir.c: Likewise.
34513 * dirent/seekdir.c: Likewise.
34514 * dirent/telldir.c: Likewise.
34515 * gmon/profil.c: Likewise.
34516 * grp/setgroups.c: Likewise.
34517 * inet/if_index.c: Likewise.
34518 * io/access.c: Likewise.
34519 * io/chdir.c: Likewise.
34520 * io/chmod.c: Likewise.
34521 * io/chown.c: Likewise.
34522 * io/close.c: Likewise.
34523 * io/dup.c: Likewise.
34524 * io/dup2.c: Likewise.
34525 * io/dup3.c: Likewise.
34526 * io/euidaccess.c: Likewise.
34527 * io/faccessat.c: Likewise.
34528 * io/fchdir.c: Likewise.
34529 * io/fchmod.c: Likewise.
34530 * io/fchmodat.c: Likewise.
34531 * io/fchown.c: Likewise.
34532 * io/fchownat.c: Likewise.
34533 * io/fcntl.c: Likewise.
34534 * io/flock.c: Likewise.
34535 * io/fstatfs.c: Likewise.
34536 * io/fstatfs64.c: Likewise.
34537 * io/fstatvfs.c: Likewise.
34538 * io/fstatvfs64.c: Likewise.
34539 * io/futimens.c: Likewise.
34540 * io/fxstat.c: Likewise.
34541 * io/fxstat64.c: Likewise.
34542 * io/fxstatat.c: Likewise.
34543 * io/fxstatat64.c: Likewise.
34544 * io/getcwd.c: Likewise.
34545 * io/isatty.c: Likewise.
34546 * io/lchmod.c: Likewise.
34547 * io/lchown.c: Likewise.
34548 * io/link.c: Likewise.
34549 * io/linkat.c: Likewise.
34550 * io/lseek.c: Likewise.
34551 * io/lseek64.c: Likewise.
34552 * io/lxstat64.c: Likewise.
34553 * io/mkdir.c: Likewise.
34554 * io/mkdirat.c: Likewise.
34555 * io/mkfifo.c: Likewise.
34556 * io/mkfifoat.c: Likewise.
34557 * io/open.c: Likewise.
34558 * io/open64.c: Likewise.
34559 * io/openat.c: Likewise.
34560 * io/openat64.c: Likewise.
34561 * io/pipe.c: Likewise.
34562 * io/pipe2.c: Likewise.
34563 * io/poll.c: Likewise.
34564 * io/posix_fadvise.c: Likewise.
34565 * io/posix_fadvise64.c: Likewise.
34566 * io/posix_fallocate.c: Likewise.
34567 * io/posix_fallocate64.c: Likewise.
34568 * io/read.c: Likewise.
34569 * io/readlink.c: Likewise.
34570 * io/readlinkat.c: Likewise.
34571 * io/rmdir.c: Likewise.
34572 * io/sendfile.c: Likewise.
34573 * io/sendfile64.c: Likewise.
34574 * io/statfs.c: Likewise.
34575 * io/statfs64.c: Likewise.
34576 * io/statvfs.c: Likewise.
34577 * io/statvfs64.c: Likewise.
34578 * io/symlink.c: Likewise.
34579 * io/symlinkat.c: Likewise.
34580 * io/ttyname.c: Likewise.
34581 * io/ttyname_r.c: Likewise.
34582 * io/umask.c: Likewise.
34583 * io/unlink.c: Likewise.
34584 * io/unlinkat.c: Likewise.
34585 * io/utime.c: Likewise.
34586 * io/utimensat.c: Likewise.
34587 * io/write.c: Likewise.
34588 * io/xmknod.c: Likewise.
34589 * io/xmknodat.c: Likewise.
34590 * io/xstat.c: Likewise.
34591 * io/xstat64.c: Likewise.
34592 * login/getpt.c: Likewise.
34593 * login/grantpt.c: Likewise.
34594 * login/unlockpt.c: Likewise.
34595 * math/e_acoshl.c: Likewise.
34596 * math/e_acosl.c: Likewise.
34597 * math/e_asinl.c: Likewise.
34598 * math/e_atan2l.c: Likewise.
34599 * math/e_atanhl.c: Likewise.
34600 * math/e_coshl.c: Likewise.
34601 * math/e_expl.c: Likewise.
34602 * math/e_fmodl.c: Likewise.
34603 * math/e_gammal_r.c: Likewise.
34604 * math/e_hypotl.c: Likewise.
34605 * math/e_j0l.c: Likewise.
34606 * math/e_j1l.c: Likewise.
34607 * math/e_jnl.c: Likewise.
34608 * math/e_lgammal_r.c: Likewise.
34609 * math/e_log10l.c: Likewise.
34610 * math/e_log2l.c: Likewise.
34611 * math/e_logl.c: Likewise.
34612 * math/e_powl.c: Likewise.
34613 * math/e_rem_pio2l.c: Likewise.
34614 * math/e_sinhl.c: Likewise.
34615 * math/e_sqrtl.c: Likewise.
34616 * math/fclrexcpt.c: Likewise.
34617 * math/fedisblxcpt.c: Likewise.
34618 * math/feenablxcpt.c: Likewise.
34619 * math/fegetenv.c: Likewise.
34620 * math/fegetexcept.c: Likewise.
34621 * math/fegetround.c: Likewise.
34622 * math/feholdexcpt.c: Likewise.
34623 * math/fesetenv.c: Likewise.
34624 * math/fesetround.c: Likewise.
34625 * math/feupdateenv.c: Likewise.
34626 * math/fgetexcptflg.c: Likewise.
34627 * math/fraiseexcpt.c: Likewise.
34628 * math/fsetexcptflg.c: Likewise.
34629 * math/ftestexcept.c: Likewise.
34630 * math/k_cosl.c: Likewise.
34631 * math/k_rem_pio2l.c: Likewise.
34632 * math/k_sinl.c: Likewise.
34633 * math/k_tanl.c: Likewise.
34634 * math/s_asinhl.c: Likewise.
34635 * math/s_atanl.c: Likewise.
34636 * math/s_cbrtl.c: Likewise.
34637 * math/s_erfl.c: Likewise.
34638 * math/s_expm1l.c: Likewise.
34639 * math/s_log1pl.c: Likewise.
34640 * math/s_tanhl.c: Likewise.
34641 * misc/acct.c: Likewise.
34642 * misc/brk.c: Likewise.
34643 * misc/chflags.c: Likewise.
34644 * misc/chroot.c: Likewise.
34645 * misc/fchflags.c: Likewise.
34646 * misc/fgetxattr.c: Likewise.
34647 * misc/flistxattr.c: Likewise.
34648 * misc/fremovexattr.c: Likewise.
34649 * misc/fsetxattr.c: Likewise.
34650 * misc/fsync.c: Likewise.
34651 * misc/ftruncate.c: Likewise.
34652 * misc/futimes.c: Likewise.
34653 * misc/futimesat.c: Likewise.
34654 * misc/getdomain.c: Likewise.
34655 * misc/getdtsz.c: Likewise.
34656 * misc/gethostid.c: Likewise.
34657 * misc/gethostname.c: Likewise.
34658 * misc/getloadavg.c: Likewise.
34659 * misc/getpagesize.c: Likewise.
34660 * misc/getsysstats.c: Likewise.
34661 * misc/getxattr.c: Likewise.
34662 * misc/gtty.c: Likewise.
34663 * misc/ioctl.c: Likewise.
34664 * misc/lgetxattr.c: Likewise.
34665 * misc/listxattr.c: Likewise.
34666 * misc/llistxattr.c: Likewise.
34667 * misc/lremovexattr.c: Likewise.
34668 * misc/lsetxattr.c: Likewise.
34669 * misc/lutimes.c: Likewise.
34670 * misc/madvise.c: Likewise.
34671 * misc/mincore.c: Likewise.
34672 * misc/mlock.c: Likewise.
34673 * misc/mlockall.c: Likewise.
34674 * misc/mmap.c: Likewise.
34675 * misc/mprotect.c: Likewise.
34676 * misc/msync.c: Likewise.
34677 * misc/munlock.c: Likewise.
34678 * misc/munlockall.c: Likewise.
34679 * misc/munmap.c: Likewise.
34680 * misc/preadv.c: Likewise.
34681 * misc/preadv64.c: Likewise.
34682 * misc/ptrace.c: Likewise.
34683 * misc/pwritev.c: Likewise.
34684 * misc/pwritev64.c: Likewise.
34685 * misc/readv.c: Likewise.
34686 * misc/reboot.c: Likewise.
34687 * misc/remap_file_pages.c: Likewise.
34688 * misc/removexattr.c: Likewise.
34689 * misc/revoke.c: Likewise.
34690 * misc/select.c: Likewise.
34691 * misc/setdomain.c: Likewise.
34692 * misc/setegid.c: Likewise.
34693 * misc/seteuid.c: Likewise.
34694 * misc/sethostid.c: Likewise.
34695 * misc/sethostname.c: Likewise.
34696 * misc/setregid.c: Likewise.
34697 * misc/setreuid.c: Likewise.
34698 * misc/setxattr.c: Likewise.
34699 * misc/sstk.c: Likewise.
34700 * misc/stty.c: Likewise.
34701 * misc/swapoff.c: Likewise.
34702 * misc/swapon.c: Likewise.
34703 * misc/sync.c: Likewise.
34704 * misc/syncfs.c: Likewise.
34705 * misc/syscall.c: Likewise.
34706 * misc/truncate.c: Likewise.
34707 * misc/ualarm.c: Likewise.
34708 * misc/usleep.c: Likewise.
34709 * misc/ustat.c: Likewise.
34710 * misc/utimes.c: Likewise.
34711 * misc/vhangup.c: Likewise.
34712 * misc/writev.c: Likewise.
34713 * posix/_exit.c: Likewise.
34714 * posix/alarm.c: Likewise.
34715 * posix/execve.c: Likewise.
34716 * posix/fexecve.c: Likewise.
34717 * posix/fork.c: Likewise.
34718 * posix/fpathconf.c: Likewise.
34719 * posix/getaddrinfo.c: Likewise.
34720 * posix/getegid.c: Likewise.
34721 * posix/geteuid.c: Likewise.
34722 * posix/getgid.c: Likewise.
34723 * posix/getgroups.c: Likewise.
34724 * posix/getlogin.c: Likewise.
34725 * posix/getlogin_r.c: Likewise.
34726 * posix/getpgid.c: Likewise.
34727 * posix/getpid.c: Likewise.
34728 * posix/getppid.c: Likewise.
34729 * posix/getresgid.c: Likewise.
34730 * posix/getresuid.c: Likewise.
34731 * posix/getsid.c: Likewise.
34732 * posix/getuid.c: Likewise.
34733 * posix/glob64.c: Likewise.
34734 * posix/nanosleep.c: Likewise.
34735 * posix/pathconf.c: Likewise.
34736 * posix/pause.c: Likewise.
34737 * posix/posix_madvise.c: Likewise.
34738 * posix/pread.c: Likewise.
34739 * posix/pread64.c: Likewise.
34740 * posix/pwrite.c: Likewise.
34741 * posix/pwrite64.c: Likewise.
34742 * posix/sched_getaffinity.c: Likewise.
34743 * posix/sched_getp.c: Likewise.
34744 * posix/sched_gets.c: Likewise.
34745 * posix/sched_primax.c: Likewise.
34746 * posix/sched_primin.c: Likewise.
34747 * posix/sched_rr_gi.c: Likewise.
34748 * posix/sched_setaffinity.c: Likewise.
34749 * posix/sched_setp.c: Likewise.
34750 * posix/sched_sets.c: Likewise.
34751 * posix/sched_yield.c: Likewise.
34752 * posix/setgid.c: Likewise.
34753 * posix/setlogin.c: Likewise.
34754 * posix/setpgid.c: Likewise.
34755 * posix/setresgid.c: Likewise.
34756 * posix/setresuid.c: Likewise.
34757 * posix/setsid.c: Likewise.
34758 * posix/setuid.c: Likewise.
34759 * posix/sleep.c: Likewise.
34760 * posix/spawni.c: Likewise.
34761 * posix/sysconf.c: Likewise.
34762 * posix/times.c: Likewise.
34763 * posix/wait.c: Likewise.
34764 * posix/wait3.c: Likewise.
34765 * posix/wait4.c: Likewise.
34766 * posix/waitpid.c: Likewise.
34767 * resolv/gai_sigqueue.c: Likewise.
34768 * resource/getpriority.c: Likewise.
34769 * resource/getrlimit.c: Likewise.
34770 * resource/getrusage.c: Likewise.
34771 * resource/nice.c: Likewise.
34772 * resource/setpriority.c: Likewise.
34773 * resource/setrlimit.c: Likewise.
34774 * resource/ulimit.c: Likewise.
34775 * rt/aio_cancel.c: Likewise.
34776 * rt/aio_fsync.c: Likewise.
34777 * rt/aio_read.c: Likewise.
34778 * rt/aio_sigqueue.c: Likewise.
34779 * rt/aio_suspend.c: Likewise.
34780 * rt/aio_write.c: Likewise.
34781 * rt/clock_getres.c: Likewise.
34782 * rt/clock_gettime.c: Likewise.
34783 * rt/clock_nanosleep.c: Likewise.
34784 * rt/clock_settime.c: Likewise.
34785 * rt/lio_listio.c: Likewise.
34786 * rt/mq_close.c: Likewise.
34787 * rt/mq_getattr.c: Likewise.
34788 * rt/mq_notify.c: Likewise.
34789 * rt/mq_open.c: Likewise.
34790 * rt/mq_receive.c: Likewise.
34791 * rt/mq_send.c: Likewise.
34792 * rt/mq_setattr.c: Likewise.
34793 * rt/mq_timedreceive.c: Likewise.
34794 * rt/mq_timedsend.c: Likewise.
34795 * rt/mq_unlink.c: Likewise.
34796 * rt/shm_open.c: Likewise.
34797 * rt/shm_unlink.c: Likewise.
34798 * rt/timer_create.c: Likewise.
34799 * rt/timer_delete.c: Likewise.
34800 * rt/timer_getoverr.c: Likewise.
34801 * rt/timer_gettime.c: Likewise.
34802 * rt/timer_settime.c: Likewise.
34803 * setjmp/__longjmp.c: Likewise.
34804 * setjmp/setjmp.c: Likewise.
34805 * signal/kill.c: Likewise.
34806 * signal/killpg.c: Likewise.
34807 * signal/raise.c: Likewise.
34808 * signal/sigaction.c: Likewise.
34809 * signal/sigaltstack.c: Likewise.
34810 * signal/sigblock.c: Likewise.
34811 * signal/sigignore.c: Likewise.
34812 * signal/sigintr.c: Likewise.
34813 * signal/signal.c: Likewise.
34814 * signal/sigpause.c: Likewise.
34815 * signal/sigpending.c: Likewise.
34816 * signal/sigqueue.c: Likewise.
34817 * signal/sigreturn.c: Likewise.
34818 * signal/sigset.c: Likewise.
34819 * signal/sigsetmask.c: Likewise.
34820 * signal/sigstack.c: Likewise.
34821 * signal/sigsuspend.c: Likewise.
34822 * signal/sigtimedwait.c: Likewise.
34823 * signal/sigvec.c: Likewise.
34824 * signal/sigwait.c: Likewise.
34825 * signal/sigwaitinfo.c: Likewise.
34826 * signal/sysv_signal.c: Likewise.
34827 * socket/accept.c: Likewise.
34828 * socket/accept4.c: Likewise.
34829 * socket/bind.c: Likewise.
34830 * socket/connect.c: Likewise.
34831 * socket/getpeername.c: Likewise.
34832 * socket/getsockname.c: Likewise.
34833 * socket/getsockopt.c: Likewise.
34834 * socket/isfdtype.c: Likewise.
34835 * socket/listen.c: Likewise.
34836 * socket/recv.c: Likewise.
34837 * socket/recvfrom.c: Likewise.
34838 * socket/recvmsg.c: Likewise.
34839 * socket/send.c: Likewise.
34840 * socket/sendmsg.c: Likewise.
34841 * socket/sendto.c: Likewise.
34842 * socket/setsockopt.c: Likewise.
34843 * socket/shutdown.c: Likewise.
34844 * socket/sockatmark.c: Likewise.
34845 * socket/socket.c: Likewise.
34846 * socket/socketpair.c: Likewise.
34847 * stdio-common/ctermid.c: Likewise.
34848 * stdio-common/cuserid.c: Likewise.
34849 * stdio-common/remove.c: Likewise.
34850 * stdio-common/rename.c: Likewise.
34851 * stdio-common/renameat.c: Likewise.
34852 * stdio-common/tempname.c: Likewise.
34853 * stdlib/getcontext.c: Likewise.
34854 * stdlib/makecontext.c: Likewise.
34855 * stdlib/setcontext.c: Likewise.
34856 * stdlib/swapcontext.c: Likewise.
34857 * stdlib/system.c: Likewise.
34858 * streams/fattach.c: Likewise.
34859 * streams/fdetach.c: Likewise.
34860 * streams/getmsg.c: Likewise.
34861 * streams/getpmsg.c: Likewise.
34862 * streams/putmsg.c: Likewise.
34863 * streams/putpmsg.c: Likewise.
34864 * sysdeps/unix/bsd/getpt.c: Likewise.
34865 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34866 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34867 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34869 Likewise.
34870 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34871 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34872 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34873 * sysvipc/msgctl.c: Likewise.
34874 * sysvipc/msgget.c: Likewise.
34875 * sysvipc/msgrcv.c: Likewise.
34876 * sysvipc/msgsnd.c: Likewise.
34877 * sysvipc/semctl.c: Likewise.
34878 * sysvipc/semget.c: Likewise.
34879 * sysvipc/semop.c: Likewise.
34880 * sysvipc/semtimedop.c: Likewise.
34881 * sysvipc/shmat.c: Likewise.
34882 * sysvipc/shmctl.c: Likewise.
34883 * sysvipc/shmdt.c: Likewise.
34884 * sysvipc/shmget.c: Likewise.
34885 * termios/tcdrain.c: Likewise.
34886 * termios/tcflow.c: Likewise.
34887 * termios/tcflush.c: Likewise.
34888 * termios/tcgetattr.c: Likewise.
34889 * termios/tcgetpgrp.c: Likewise.
34890 * termios/tcsendbrk.c: Likewise.
34891 * termios/tcsetattr.c: Likewise.
34892 * termios/tcsetpgrp.c: Likewise.
34893 * time/adjtime.c: Likewise.
34894 * time/clock.c: Likewise.
34895 * time/getitimer.c: Likewise.
34896 * time/gettimeofday.c: Likewise.
34897 * time/setitimer.c: Likewise.
34898 * time/settimeofday.c: Likewise.
34899 * time/stime.c: Likewise.
34900 * time/time.c: Likewise.
34901
349022012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34903
a20492cf
PT
34904 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34905 /usr/old/bin.
34906
72e182e3
PT
34907 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34908 instead of spaces.
34909 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34910
fbeafede
JM
349112012-11-03 Joseph Myers <joseph@codesourcery.com>
34912
5b5b04d6
JM
34913 [BZ #14796]
34914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34915 FE_TONEAREST before applying Dekker multiplication and Knuth
34916 addition. Clear inexact exceptions and check for exact zero
34917 results afterwards.
34918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34919 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34921 * math/libm-test.inc (fma_test): Add more tests.
34922 (fma_test_towardzero): Likewise.
34923 (fma_test_downward): Likewise.
34924 (fma_test_upward): Likewise.
34925 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34926 function.
34927 (libc_fesetround): New macro.
34928 (libc_fesetroundf): Likewise.
34929 (libc_fesetroundl): Likewise.
34930 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34931 function.
34932 (libc_fesetround_387): Likewise.
34933 (libc_fesetroundf): New macro.
34934 (libc_fesetround): Likewise.
34935 (libc_fesetroundl): Likewise.
34936 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34937 function.
34938 (libc_fesetroundf): New macro.
34939 (libc_fesetround): Likewise.
34940 (libc_fesetroundl): Likewise.
34941 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34942 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34943 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34944 libm_hidden_ver.
34945 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34946 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34947 libm_hidden_def.
34948 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34949 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34950 libm_hidden_ver.
34951 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34952 libm_hidden_def.
34953
fbeafede
JM
34954 [BZ #3439]
34955 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34956 integer constant usable in #if and use that to give value to enum
34957 constant.
34958 (FE_DIVBYZERO): Likewise.
34959 (FE_UNDERFLOW): Likewise.
34960 (FE_OVERFLOW): Likewise.
34961 (FE_INVALID): Likewise.
34962 (FE_INVALID_SNAN): Likewise.
34963 (FE_INVALID_ISI): Likewise.
34964 (FE_INVALID_IDI): Likewise.
34965 (FE_INVALID_ZDZ): Likewise.
34966 (FE_INVALID_IMZ): Likewise.
34967 (FE_INVALID_COMPARE): Likewise.
34968 (FE_INVALID_SOFTWARE): Likewise.
34969 (FE_INVALID_SQRT): Likewise.
34970 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34971 (FE_TONEAREST): Likewise.
34972 (FE_TOWARDZERO): Likewise.
34973 (FE_UPWARD): Likewise.
34974 (FE_DOWNWARD): Likewise.
34975 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34976 (FE_DIVBYZERO): Likewise.
34977 (FE_OVERFLOW): Likewise.
34978 (FE_UNDERFLOW): Likewise.
34979 (FE_INEXACT): Likewise.
34980 (FE_TONEAREST): Likewise.
34981 (FE_DOWNWARD): Likewise.
34982 (FE_UPWARD): Likewise.
34983 (FE_TOWARDZERO): Likewise.
34984 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34985 (FE_UNDERFLOW): Likewise.
34986 (FE_OVERFLOW): Likewise.
34987 (FE_DIVBYZERO): Likewise.
34988 (FE_INVALID): Likewise.
34989 (FE_TONEAREST): Likewise.
34990 (FE_TOWARDZERO): Likewise.
34991 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34992 (FE_OVERFLOW): Likewise.
34993 (FE_UNDERFLOW): Likewise.
34994 (FE_DIVBYZERO): Likewise.
34995 (FE_INEXACT): Likewise.
34996 (FE_TONEAREST): Likewise.
34997 (FE_TOWARDZERO): Likewise.
34998 (FE_UPWARD): Likewise.
34999 (FE_DOWNWARD): Likewise.
35000 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35001 (FE_DIVBYZERO): Likewise.
35002 (FE_OVERFLOW): Likewise.
35003 (FE_UNDERFLOW): Likewise.
35004 (FE_INEXACT): Likewise.
35005 (FE_TONEAREST): Likewise.
35006 (FE_DOWNWARD): Likewise.
35007 (FE_UPWARD): Likewise.
35008 (FE_TOWARDZERO): Likewise.
35009
105ca950
CM
350102012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35011
35012 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35013
a542b389
AS
350142012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35015
35016 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35017 commands. Quote $PWD.
35018 (blacklist_exports): Don't use remove_newlines. Replace "declare
35019 -x" by "export".
35020 (remove_newlines): Remove.
35021
f62c8abc
L
350222012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35023
35024 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35025 * stdlib/stdlib.h (atof): Moved to ...
35026 * include/bits/stdlib-float.h: Here. New file.
35027 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35028 * stdlib/bits/stdlib-float.h: New file.
35029 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35030 -mno-sse -mno-mmx.
35031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35032 <xmmintrin.h>.
35033
0155d5b2
JM
350342012-11-02 Joseph Myers <joseph@codesourcery.com>
35035
a68d0680
JM
35036 * conform/conformtest.pl (@headers): Add fenv.h.
35037 * conform/data/fenv.h-data: New file.
35038 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35039 include of <math/fenv.h>.
35040
caf7f573
JM
35041 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35042 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35043 && !UNIX98]. Enables tests for XOPEN2K8.
35044 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35045 POSIX2008]: Likewise.
35046
6c073ad6
JM
35047 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35048 (struct rusage): Do not expect type or its members.
35049
0155d5b2
JM
35050 [BZ #3439]
35051 * math/math.h (FP_NAN): Define macro to integer constant usable in
35052 #if and use that to give value to enum constant.
35053 (FP_INFINITE): Likewise.
35054 (FP_ZERO): Likewise.
35055 (FP_SUBNORMAL): Likewise.
35056 (FP_NORMAL): Likewise.
35057
b5dcacb4
AS
350582012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35059
35060 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35061 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35062 arguments.
35063
f7934be8
RM
350642012-11-02 Roland McGrath <roland@hack.frob.com>
35065
35066 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35067 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35068 autoconf-time if not.
35069 * configure.in: Remove AC_PREREQ.
35070
d7d08bde
TMQMF
350712012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35072
35073 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35074 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35075 of the internal implementation.
35076
dcdae19a
JM
350772012-11-02 Joseph Myers <joseph@codesourcery.com>
35078
35079 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35080 except include of <misc/sys/syslog.h>.
35081
d6cffd3e
AS
350822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35083
35084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35085 function returns with a NULL context exit with zero.
35086
b3563932
TMQMF
350872012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35088
35089 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35090
b288a93d
L
350912012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35092
35093 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35094 (run_program_cmd): This.
35095 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35096 (tst_langinfo): New variable. Use it.
35097
a2421a68
SAS
350982012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35099
35100 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35101 floating point opcodes.
35102
6f796e1b
TS
351032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35104
7402596b
TS
35105 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35106 variable.
35107
d0d4f868
TS
35108 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35109
6f796e1b
TS
35110 * sysdeps/mach/hurd/powerpc: Remove directory.
35111 * sysdeps/mach/powerpc: Likewise.
35112
4da224a2
AS
351132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35114
35115 * scripts/check-local-headers.sh: Ignore c++ headers.
35116
341dd673
TS
351172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35118
35119 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35120 __libc_cleanup_region_start argument.
35121
473611b2
JM
351222012-11-01 Joseph Myers <joseph@codesourcery.com>
35123
35124 [BZ #14784]
35125 [BZ #14785]
35126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35127 x * y using scaling, not as x * y + z.
35128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35129 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35130 * math/libm-test.inc (fma_test): Add more tests.
35131 (fma_test_towardzero): Likewise.
35132 (fma_test_downward): Likewise.
35133 (fma_test_upward): Likewise.
35134
4078da3d
TS
351352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35136
35137 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35138
903252aa
JM
351392012-10-31 Joseph Myers <joseph@codesourcery.com>
35140
35141 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35142 New variable.
35143
cbc818d0
TS
351442012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35145
35146 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35147
5a03cb1e
AS
351482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35149
35150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35151 Fix sort order.
35152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35153 Likewise.
35154
90aff2ff
TMQMF
351552012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35156
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35158 Fix the order of the list for glibc 2.17.
35159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35160 Likewise.
35161
1818fcb7
AS
351622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35163
35164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35165
ef82f4da
JM
351662012-10-31 Joseph Myers <joseph@codesourcery.com>
35167
16a0e2ec
JM
35168 [BZ #14610]
35169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35170 for low part of x being zero before using __atanl (y).
35171 * math/libm-test.inc (atan2_test): Add another test.
35172
0eb69512
JM
35173 * manual/install.texi (Configuring and compiling): Document
35174 general use of test-wrapper and test-wrapper-env.
35175 * INSTALL: Regenerated.
35176
ef82f4da
JM
35177 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35178 (__fma): Do not extract and scale down low bits on after-rounding
35179 systems when result rounded to normal precision would have normal
35180 exponent.
35181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35182 (__fmal): Do not extract and scale down low bits on after-rounding
35183 systems when result rounded to normal precision would have normal
35184 exponent.
35185 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35186 (__fmal): Do not extract and scale down low bits on after-rounding
35187 systems when result rounded to normal precision would have normal
35188 exponent.
35189 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35190 macro.
35191 (fma_test): Add more tests.
35192 (fma_test_towardzero): Likewise.
35193 (fma_test_downward): Likewise.
35194 (fma_test_upward): Likewise.
35195
954ef0d9
L
351962012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35197
35198 * sysdeps/i386/tininess.h: Renamed to ...
35199 * sysdeps/x86/tininess.h: This.
35200 * sysdeps/x86_64/tininess.h: Removed.
35201
df61ffb2
JM
352022012-10-30 Joseph Myers <joseph@codesourcery.com>
35203
35204 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35205 input. Use $(build-program-cmd).
35206 ($(objpfx)tst-array1-static.out): Likewise.
35207 ($(objpfx)tst-array2.out): Likewise.
35208 ($(objpfx)tst-array3.out): Likewise.
35209 ($(objpfx)tst-array4.out): Likewise.
35210 ($(objpfx)tst-array5.out): Likewise.
35211 ($(objpfx)tst-array5-static.out): Likewise.
35212
01767843
CM
352132012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35214
47cc1490
CM
35215 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35216 if defined.
35217
01767843
CM
35218 * nss/nsswitch.h (nss_interface_function): Provide new
35219 macro for use with NSS functions.
35220 * grp/initgroups.c: Use new macro.
35221 * nss/getXXbyYY.c: Likewise.
35222 * nss/getXXbyYY_r.c: Likewise.
35223 * nss/getXXent.c: Likewise.
35224 * nss/getXXent_r.c: Likewise.
35225 * sysdeps/posix/getaddrinfo.c: Likewise.
35226
8321aa97
AJ
352272012-10-30 Andreas Jaeger <aj@suse.de>
35228
35229 * po/ru.po: Update Russion translation from translation project.
35230
2a27fd6d
JM
352312012-10-30 Joseph Myers <joseph@codesourcery.com>
35232
8627a232
JM
35233 [BZ #14152]
35234 [BZ #14783]
35235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35236 result and shift together with sticky bit instead of replicating
35237 round-to-nearest rounding.
35238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35240 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35241 missing underflow exceptions.
35242 (fma_test_towardzero): Add more tests.
35243 (fma_test_downward): Likewise.
35244 (fma_test_upward): Likewise.
35245
2a27fd6d
JM
35246 [BZ #14047]
35247 * sysdeps/generic/tininess.h: New file.
35248 * sysdeps/i386/tininess.h: Likewise.
35249 * sysdeps/sh/tininess.h: Likewise.
35250 * sysdeps/x86_64/tininess.h: Likewise.
35251 * stdlib/tst-strtod-underflow.c: Likewise.
35252 * stdlib/tst-tininess.c: Likewise.
35253 * stdlib/strtod_l.c: Include <tininess.h>.
35254 (round_and_return): Do not set errno for exact underflow cases.
35255 Force an underflow exception when setting errno for underflow.
35256 Determine underflow based on rounding to normal precision if
35257 TININESS_AFTER_ROUNDING.
35258 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35259 ERANGE for exact underflow cases.
35260 * stdlib/Makefile (tests): Add tst-tininess and
35261 tst-strtod-underflow.
35262 ($(objpfx)tst-tininess): Use $(link-libm).
35263 ($(objpfx)tst-strtod-underflow): Likewise.
35264
e7170363
AJ
352652012-10-30 Andreas Jaeger <aj@suse.de>
35266
e5088dc6
AJ
35267 [BZ#14767]
35268 * elf/Makefile (tests): Remove conditional for have-initfini-array
35269 since this is now always required and the variable does not exist
35270 anymore.
35271 (tests-static): Likewise.
35272 (modules-names): Likewise.
35273
e7170363 35274 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35275
35276 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35277 merged with constructor/destructor.
35278 (init_array): Likewise.
35279 * elf/tst-array2dep.c (fini_array): Likewise.
35280 (init_array): Likewise.
35281
60457d8a
MF
352822012-10-29 Mike Frysinger <vapier@gentoo.org>
35283
35284 * manual/message.texi: Delete @cartouche tags.
35285
8bece752
PT
352862012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35287
94ce799f
PT
35288 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35289 EOPNOTSUPP.
35290 * sysdeps/mach/hurd/fsync.c: Likewise.
35291
8bece752
PT
35292 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35293 [_POSIX_REALTIME_SIGNALS]: Change condition to
35294 [_POSIX_REALTIME_SIGNALS > 0].
35295
86ebe6b1
AJ
352962012-10-27 Andreas Jaeger <aj@suse.de>
35297
35298 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35299 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35301 [__WORDSIZE != 64]: Likewise.
35302
54399c08
L
353032012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35304
35305 * iconvdata/tst-table.sh: Remove ${SHELL}.
35306 * iconvdata/tst-tables.sh: Likewise.
35307
e2211bed
DM
353082012-10-25 David S. Miller <davem@davemloft.net>
35309
35310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35311 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35312 of strtoull.
35313
f303f97c
DM
35314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35315 ifunc-impl-list.c
35316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35317 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35318 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35319 file.
35320
1e9d84cd
RM
353212012-10-25 Roland McGrath <roland@hack.frob.com>
35322
35323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35324 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35325 __getdirentries.
35326
df381762
JM
353272012-10-25 Joseph Myers <joseph@codesourcery.com>
35328 Jim Blandy <jimb@codesourcery.com>
35329
35330 * scripts/cross-test-ssh.sh: New file.
35331 * manual/install.texi (Configuring and compiling): Document use of
35332 cross-test-ssh.sh.
35333 * INSTALL: Regenerated.
35334
bff64913
PT
353352012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35336
35337 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35338 EOPNOTSUPP.
35339
25fe8932
JM
353402012-10-25 Joseph Myers <joseph@codesourcery.com>
35341
35342 * Makeconfig (run-program-prefix): Fix comment.
35343
cc1290d0
JM
353442012-10-24 Joseph Myers <joseph@codesourcery.com>
35345 Jim Blandy <jimb@codesourcery.com>
35346
35347 * Makeconfig (test-wrapper): New variable,
35348 (test-wrapper-env): Likewise.
35349 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35350 (run-built-tests): Define to yes.
35351 (run-program-prefix): Use $(test-wrapper).
35352 (built-program-cmd): Likewise.
35353 * Rules (make-test-out): Use $(test-wrapper-env) and
35354 $(host-built-program-cmd).
35355 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35356 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35357 tst-pathopt.sh.
35358 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35359 $(test-wrapper-env) to tst-rtld-load-self.sh.
35360 ($(objpfx)order2.out): Use $(test-wrapper).
35361 ($(objpfx)tst-initorder.out): Likewise.
35362 ($(objpfx)tst-initorder2.out): Likewise.
35363 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35364 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35365 (test_wrapper_env): New variable. Use it to run ld.so.
35366 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35367 Use it to run ld.so.
35368 (test_wrapper_env): Likewise.
35369 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35370 $(test-wrapper) to run-iconv-test.sh.
35371 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35372 (ICONV): Use $test_wrapper.
35373 * posix/Makefile ($(objpfx)globtest.out): Pass
35374 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35375 globtest.sh, not $(run-program-prefix).
35376 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35377 (test_wrapper): Likewise.
35378 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35379 set together with run_via_rtld_prefix.
35380 (run_program_prefix): Define in terms of test_wrapper and
35381 run_via_rtld_prefix.
35382
6e6249d0
RM
353832012-10-24 Roland McGrath <roland@hack.frob.com>
35384
35385 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35386 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35387 Targets removed.
35388
35389 [BZ #14743]
35390 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35391 Declare __clock_getres, __clock_gettime, __clock_settime,
35392 __clock_nanosleep, and __clock_getcpuclockid.
35393 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35394 Remove librt_hidden_def (clock_gettime).
35395 * sysdeps/unix/clock_gettime.c: Likewise.
35396 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35398 * rt/clock_getres.c: Define __clock_getres as an alias.
35399 * sysdeps/posix/clock_getres.c: Likewise.
35400 * rt/clock_settime.c: Define __clock_settime as an alias.
35401 * sysdeps/unix/clock_settime.c: Likewise.
35402 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35403 * sysdeps/unix/clock_nanosleep.c: Likewise.
35404 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35405 * rt/clock-compat.c: New file.
35406 * rt/Makefile (librt-routines): Add clock-compat and move
35407 $(clock-routines) to ...
35408 (routines): ... here, new variable.
35409 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35410 Don't add get_clockfreq here.
35411 * rt/Versions (libc: GLIBC_2.17): New version set.
35412 Add clock_* symbols here.
35413 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35415 (GLIBC_2.17): Add clock_* symbols.
35416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35420 Likewise.
35421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35422 Likewise.
35423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35427 * NEWS: Mention the move.
35428
35429 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35430 Use __open, __read, __close rather than their public counterparts.
35431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35432 (__get_clockfreq_via_cpuinfo): Likewise.
35433 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35434 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35435
35436 * config.h.in (HAVE_IFUNC): New #undef.
35437 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35438 was successful.
35439 * configure: Regenerated.
35440
0cae3f4b
MF
354412012-10-24 Mike Frysinger <vapier@gentoo.org>
35442
35443 * configure.in: Move READELF check to start of file.
35444 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35445 libc_cv_asm_gnu_indirect_function in the process.
35446 * configure: Regenerated.
35447
8175a253
MF
354482012-10-24 Mike Frysinger <vapier@gentoo.org>
35449
35450 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35451 send the output to /dev/null.
35452 (libc_cv_cc_with_libunwind): Likewise.
35453 (libc_cv_as_noexecstack): Likewise.
35454 * configure: Regenerate.
35455
0708a7d1
JM
354562012-10-24 Joseph Myers <joseph@codesourcery.com>
35457
10b40d85
JM
35458 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35459
0708a7d1
JM
35460 * posix/globtest.sh (TMPDIR): Do not set.
35461 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35462 (testout): Likewise.
35463
9fddec1a
AJ
354642012-10-24 Andreas Jaeger <aj@suse.de>
35465
3a8db22f
AJ
35466 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35467 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35468 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35469 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35470 posix_fadvise64, posix_fallocate64.
35471
9fddec1a
AJ
35472 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35473 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35474 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35475 Likewise.
35476 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35477 Likewise.
35478 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35479
35480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35481 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35482 <bits/fcntl-linux.h>.
35483 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35484
35485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35486 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35487 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35488 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35489 [__WORDSIZE != 64]: Likewise.
35490
ebfd1bbd
JM
354912012-10-23 Joseph Myers <joseph@codesourcery.com>
35492
03ac099f
JM
35493 * Makeconfig (run-built-tests): New variable.
35494 * Rules [$(cross-compiling) = yes]: Change condition to
35495 [$(run-built-tests) = no].
35496 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35497 to [$(run-built-tests) = yes].
35498 * elf/Makefile [$(cross-compiling) = no]: Likewise
35499 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35500 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35501 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35502 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35503 * io/Makefile [$(cross-compiling) = no]: Likewise.
35504 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35505 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35506 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35507 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35508 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35509 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35510 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35511 * string/Makefile [$(cross-compiling) = no]: Likewise.
35512
ebfd1bbd
JM
35513 * posix/Makefile ($(objpfx)globtest.out): Pass
35514 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35515 $(rtld-installed-name).
35516 * posix/globtest.sh (elf_objpfx): Remove variable.
35517 (rtld_installed_name): Likewise.
35518 (library_path): Likewise.
35519 (run_program_prefix): New variable. Use for running globtest
35520 binary.
35521
166bca24
JB
355222012-10-23 Jim Blandy <jimb@codesourcery.com>
35523 Joseph Myers <joseph@codesourcery.com>
35524
35525 * Makeconfig (host-built-program-cmd): New variable.
35526 * elf/Makefile (tst-stackguard1-ARGS): Use
35527 $(host-built-program-cmd).
35528 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35529 (tst-spawn-ARGS): Likewise.
35530 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35531
88866099
JM
355322012-10-23 Joseph Myers <joseph@codesourcery.com>
35533 Jim Blandy <jimb@codesourcery.com>
35534
35535 * Makeconfig (run-via-rtld-prefix): New variable.
35536 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35537 (built-program-cmd): Likewise.
35538
b4b4c296
AJ
355392012-10-22 Andreas Jaeger <aj@suse.de>
35540
35541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35542 __O_RSYNC if it exists, otherwise to O_SYNC.
35543
6fb54a22
JB
355442012-10-22 Jim Blandy <jimb@codesourcery.com>
35545 Joseph Myers <joseph@codesourcery.com>
35546
35547 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35548 /dev/null.
35549 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35550 from /dev/null
35551 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35552 /dev/null.
35553
481b90b9
AJ
355542012-10-22 Andreas Jaeger <aj@suse.de>
35555
2a0e2669
AJ
35556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35557 Define always.
35558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35559
76e38f9a
AJ
35560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35561 bits/fcntl-linux.h.
35562
7cd37b43
AJ
35563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35564 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35565
481b90b9
AJ
35566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35567 to __O_LARGEFILE.
35568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35569 to __O_LARGEFILE.
35570
aba75984
JB
355712012-10-21 Jim Blandy <jimb@codesourcery.com>
35572 Joseph Myers <joseph@codesourcery.com>
35573
35574 * config.make.in (NM): New variable.
35575
88d4247f
AJ
355762012-10-21 Andreas Jaeger <aj@suse.de>
35577
35578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35579 definitions and declarations that are provided by
35580 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35581
f2eed205
L
355822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35583
35584 [BZ #14683]
35585 * elf/Makefile (tests-static): Add tst-leaks1-static.
35586 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35587 ($(objpfx)tst-leaks1-static): New rule.
35588 ($(objpfx)tst-leaks1-static-mem): Likewise.
35589 (tst-leaks1-static-ENV): New macro.
35590 * elf/dl-open.c (dl_open_worker): Check the main application
35591 only if SHARED is defined.
35592 * elf/tst-leaks1-static.c: New file.
35593
335e6931
AJ
355942012-10-20 Andreas Jaeger <aj@suse.de>
35595
35596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35597 generic values for Linux.
35598 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35599 and declarations that are provided by <bits/fcntl-linux.h> and
35600 include <bits/fcntl-linux.h>.
35601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35603
ac5c94d3
RM
356042012-10-20 Roland McGrath <roland@hack.frob.com>
35605
35606 * io/fcntl.h: Move include of <bits/types.h> to the top and
35607 include it unconditionally.
35608
de54b33a
L
356092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35610
228cfb01
L
35611 * wcsmbs/Makefile (tests-ifunc): New variable.
35612 (tests): Add $(tests-ifunc).
35613 * wcsmbs/test-wcschr-ifunc.c: New file.
35614 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35615 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35616 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35617 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35618 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35619
69f07e5f
L
35620 * string/Makefile (tests-ifunc): New variable.
35621 (tests): Add $(tests-ifunc).
35622 * string/test-memccpy.c (TEST_NAME): New macro.
35623 * string/test-memchr.c (TEST_NAME): Likewise.
35624 * string/test-memcmp.c (TEST_NAME): Likewise.
35625 * string/test-memcpy.c (TEST_NAME): Likewise.
35626 * string/test-memmem.c (TEST_NAME): Likewise.
35627 * string/test-memmove.c (TEST_NAME): Likewise.
35628 * string/test-memset.c (TEST_NAME): Likewise.
35629 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35630 * string/test-stpcpy.c (TEST_NAME): Likewise.
35631 * string/test-stpncpy.c (TEST_NAME): Likewise.
35632 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35633 * string/test-strcasestr.c (TEST_NAME): Likewise.
35634 * string/test-strcat.c (TEST_NAME): Likewise.
35635 * string/test-strchr.c (TEST_NAME): Likewise.
35636 * string/test-strcmp.c(TEST_NAME): Likewise.
35637 * string/test-strcpy.c (TEST_NAME): Likewise.
35638 * string/test-strcspn.c (TEST_NAME): Likewise.
35639 * string/test-strlen.c (TEST_NAME): Likewise.
35640 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35641 * string/test-strncmp.c (TEST_NAME): Likewise.
35642 * string/test-strncpy.c (TEST_NAME): Likewise.
35643 * string/test-strnlen.c (TEST_NAME): Likewise.
35644 * string/test-strpbrk.c (TEST_NAME): Likewise.
35645 * string/test-strrchr.c (TEST_NAME): Likewise.
35646 * string/test-strspn.c (TEST_NAME): Likewise.
35647 * string/test-strstr.c (TEST_NAME): Likewise.
35648 * string/test-bcopy-ifunc.c: New file.
35649 * string/test-bzero-ifunc.c: Likewise.
35650 * string/test-memccpy-ifunc.c: Likewise.
35651 * string/test-memchr-ifunc.c: Likewise.
35652 * string/test-memcmp-ifunc.c: Likewise.
35653 * string/test-memcpy-ifunc.c: Likewise.
35654 * string/test-memmem-ifunc.c: Likewise.
35655 * string/test-memmove-ifunc.c: Likewise.
35656 * string/test-mempcpy-ifunc.c: Likewise.
35657 * string/test-memset-ifunc.c: Likewise.
35658 * string/test-rawmemchr-ifunc.c: Likewise.
35659 * string/test-stpcpy-ifunc.c: Likewise.
35660 * string/test-stpncpy-ifunc.c: Likewise.
35661 * string/test-strcasecmp-ifunc.c: Likewise.
35662 * string/test-strcasestr-ifunc.c: Likewise.
35663 * string/test-strcat-ifunc.c: Likewise.
35664 * string/test-strchr-ifunc.c: Likewise.
35665 * string/test-strchrnul-ifunc.c: Likewise.
35666 * string/test-strcmp-ifunc.c: Likewise.
35667 * string/test-strcpy-ifunc.c: Likewise.
35668 * string/test-strcspn-ifunc.c: Likewise.
35669 * string/test-strlen-ifunc.c: Likewise.
35670 * string/test-strncasecmp-ifunc.c: Likewise.
35671 * string/test-strncat-ifunc.c: Likewise.
35672 * string/test-strncmp-ifunc.c: Likewise.
35673 * string/test-strncpy-ifunc.c: Likewise.
35674 * string/test-strnlen-ifunc.c: Likewise.
35675 * string/test-strpbrk-ifunc.c: Likewise.
35676 * string/test-strrchr-ifunc.c: Likewise.
35677 * string/test-strspn-ifunc.c: Likewise.
35678 * string/test-strstr-ifunc.c: Likewise.
35679
de54b33a
L
35680 * debug/Makefile (tests-ifunc): New variable.
35681 (tests): Add $(tests-ifunc).
35682 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35683 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35684 * debug/test-stpcpy_chk-ifunc.c: New file.
35685 * debug/test-strcpy_chk-ifunc.c: Likewise.
35686
88481c16
SP
356872012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35688
35689 [BZ #13601]
35690 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35691 header is not read in.
35692
135948bd
JM
356932012-10-19 Joseph Myers <joseph@codesourcery.com>
35694
89f1c388
JM
35695 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35696 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35697 directly. Pass built executable to script as
35698 $(built-program-cmd).
35699 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35700 $testprogram without using LD_LIBRARY_PATH and $ldso.
35701
e40a0d21
JM
35702 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35703 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35704 $(rtld-installed-name).
35705 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35706 (rtld_installed_name): Likewise.
35707 (library_path): Likewise.
35708 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35709 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35710 $(run-program-prefix) to tst-tables.sh.
35711 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35712 it to run tst-table-from and tst-table-to.
35713 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35714 Pass it to tst-table.sh.
35715 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35716 $(run-program-prefix) to tst-gettext.sh.
35717 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35718 tst-translit.sh.
35719 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35720 tst-gettext2.sh.
35721 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35722 to run tst-gettext.
35723 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35724 to run tst-gettext2.
35725 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35726 to run tst-translit.
35727 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35728 $(run-program-prefix) to tst-mtrace.sh.
35729 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35730 to run tst-mtrace.
35731 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35732 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35733 $(rtld-installed-name).
35734 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35735 (rtld_installed_name): Likewise.
35736 (run_program_prefix): New variable. Use it to run wordexp-test.
35737
728e272a
JM
35738 * Makeconfig (ARCH): Remove all definitions.
35739 (machine): Likewise.
35740 [ARCH]: Remove conditional code.
35741 [!objdir]: Give error.
35742 [!objdir] (objpfx): Remove.
35743 [!objdir] (common-objpfx): Likewise.
35744 [!objdir] (common-objdir): Likewise.
35745 * configure.in (config_makefile): Remove. Hardcode Makefile in
35746 AC_CONFIG_FILES call.
35747 * configure: Regenerated.
35748
d528cdcf
JM
35749 [BZ #13888]
35750 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35751 or TMPDIR.
35752 (testout): Likewise.
35753
135948bd
JM
35754 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35755 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35756 $(rtld-installed-name).
35757 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35758 (rtld_installed_name): Likwise.
35759 (runit): Remove function.
35760 (run_getconf): New variable, Use it for running getconf binary.
35761
38c78296
L
357622012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35763
35764 [BZ #14716]
35765 * string/test-memmem.c (check_result): New function.
35766 (do_one_test): Use it.
35767 (check1): New function.
35768 (test_main): Use it.
35769
d077f65f
MT
357702012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35771
35772 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35773
ced52c71
JM
357742012-10-18 Joseph Myers <joseph@codesourcery.com>
35775
35776 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35777 (_G_LSEEK64): Likewise.
35778 (_G_MMAP64): Likewise.
35779 (_G_FSTAT64): Likewise.
35780 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35781 (_G_LSEEK64): Likewise.
35782 (_G_MMAP64): Likewise.
35783 (_G_FSTAT64): Likewise.
35784 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35785 unconditional. Call __mmap64 directly.
35786 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35787 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35788 __lseek64 directly.
35789 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35790 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35791 __mmap64 directly.
35792 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35793 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35794 __lseek64 directly.
35795 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35796 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35797 __lseek64 directly.
35798 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35799 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35800 __lseek64 directly.
35801 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35802 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35803 __fxstat64 directly.
35804 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35805 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35806 unconditional.
35807 (freopen64) [!_G_OPEN64]: Remove conditional code.
35808 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35809 unconditional.
35810 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35811 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35812 unconditional.
35813 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35814 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35815 unconditional.
35816 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35817 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35818 unconditional.
35819 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35820 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35821 unconditional.
35822 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35823 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35824 unconditional.
35825 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35826 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35827 unconditional.
35828 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35829
b741de23
SP
358302012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35831
35832 [BZ #12140]
35833 * manual/memory.texi (Malloc Tunable Parameters): Add note
35834 about free list pointers overwriting some perturb bytes.
35835 Wording suggested by Roland McGrath.
35836
f9b9d9c9
JM
358372012-10-17 Joseph Myers <joseph@codesourcery.com>
35838
35839 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35840 (lgamma_test): Likewise.
35841 (tgamma_test): Likewise.
35842
172a631a
FW
358432012-10-16 Florian Weimer <fweimer@redhat.com>
35844
35845 [BZ #14700]
35846 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35847 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35848
e9f37252
MK
358492012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35850
35851 * NEWS: Mention BZ #14716.
35852 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35853 when removing AVAILABLE1_USES_J macro.
35854
d394eb74
L
358552012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35856
35857 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35858 (__bswap_64): __uint64_t for unsigned 64-bit int.
35859
ca38dc17
AS
358602012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35861
35862 * include/string.h (memmem): Declare libc hidden alias.
35863 * string/memmem.c (memmem): Define libc hidden alias.
35864 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35865 __read, __close instead of open, read, close.
35866
9a387d1f
L
358672012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35868
ac49ecaf
L
35869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35870 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35871 global and hidden.
35872 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35873 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35874 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35875 Likewise.
35876 (__rawmemchr_sse2): Likewise.
35877 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35878 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35879 (__strchr_sse2): Likewise.
35880 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35881 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35882 (__strcasecmp_sse2): Likewise.
35883 (__strncasecmp_sse2): Likewise.
35884 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35885 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35886 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35887 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35888 (__strrchr_sse2): Likewise.
35889 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35890 ifunc-impl-list.c.
35891 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35892 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35893 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35895 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35896 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35899 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35900 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35901 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35902 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35903 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35904 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35905 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35906 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35907 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35908 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35909 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35910 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35911 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35912 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35913 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35914 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35915 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35916 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35917 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35918 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35919 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35920 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35921
b090e8ea
L
35922 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35923 global and hidden.
35924 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35925 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35926 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35927 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35928 Likewise.
35929 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35930 Likewise.
35931 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35932 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35933 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35934 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35935 ifunc-impl-list.c.
35936 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35954 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35958 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35959 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35961 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35962 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35963 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35964 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35965 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35966 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35967 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35968 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35969 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35976 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35977
11dd4af6
L
35978 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35979 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35980 * include/ifunc-impl-list.h: New file.
35981 * misc/ifunc-impl-list.c: Likewise.
35982 * misc/Makefile (routines): Add ifunc-impl-list.
35983 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35984 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35985 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35986 TEST_NAME]: New variables.
11dd4af6
L
35987 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35988 are defined.
35989 (test_init): Call __libc_ifunc_impl_list to initialize
35990 func_list if TEST_IFUNC and TEST_NAME are defined.
35991
9a387d1f
L
35992 * string/Makefile (strop-tests): Add bcopy and bzero.
35993 * string/test-bcopy.c: New file.
35994 * string/test-bzero.c: Likewise.
35995 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35996 defined.
35997 * string/test-memset.c: Support bzero test if TEST_BZERO is
35998 defined.
35999 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36000 __libc_memmove.
36001 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36002 __libc_memset.
36003 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36004 of memset.
36005
472371b9
JM
360062012-10-10 Joseph Myers <joseph@codesourcery.com>
36007
1e4a9536
JM
36008 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36009 * configure: Regenerated.
36010
d173d12e
JM
36011 * Makeconfig (+link-static-before-libc): Don't include
36012 $(link-static-libc).
36013
472371b9
JM
36014 * libio/libio.h (_IO_pos_t): Remove.
36015
89a3ad0b
AO
360162012-10-10 Alexandre Oliva <aoliva@redhat.com>
36017
36018 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36019 McGrath.
36020
e7451425
AO
360212012-10-10 Alexandre Oliva <aoliva@redhat.com>
36022
36023 * crypt/crypt-entry.c: Include fips-private.h.
36024 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36025 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36026 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36027 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36028
4ba74a35
AO
360292012-10-10 Alexandre Oliva <aoliva@redhat.com>
36030
36031 * crypt/crypt-private.h: Include stdbool.h.
36032 (_ufc_setup_salt_r): Return bool.
36033 * crypt/crypt-entry.c: Include errno.h.
36034 (__crypt_r): Return NULL with EINVAL for bad salt.
36035 * crypt/crypt_util.c (bad_for_salt): New.
36036 (_ufc_setup_salt_r): Check that salt is long enough and within
36037 the specified alphabet.
36038 * crypt/badsalttest.c: New file.
36039 * crypt/Makefile (tests): Add it.
36040 ($(objpfx)badsalttest): New.
36041
f96f1242
MK
360422012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36043
36044 * NEWS: Add entry for BZ #14602.
36045
0e8e0c1c
JM
360462012-10-09 Joseph Myers <joseph@codesourcery.com>
36047
36048 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36049 type-generic.
36050 * math/libm-test.inc: Update comment listing what functions and
36051 macros are tested.
36052 (isgreater_test): New function.
36053 (isgreaterequal_test): Likewise.
36054 (isless_test): Likewise.
36055 (islessequal_test): Likewise.
36056 (islessgreater_test): Likewise.
36057 (isunordered_test): Likewise.
36058 (main): Call the new functions.
36059
273edc5e
RM
360602012-10-09 Roland McGrath <roland@hack.frob.com>
36061
b8493de0
RM
36062 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36063 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36064 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36065 * sysdeps/i386/configure: Regenerated.
36066 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36067 * sysdeps/mach/configure: Regenerated.
36068 * sysdeps/mach/hurd/configure: Regenerated.
36069 * sysdeps/powerpc/configure: Regenerated.
36070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36071 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36072 * sysdeps/s390/s390-32/configure: Regenerated.
36073 * sysdeps/s390/s390-64/configure: Regenerated.
36074 * sysdeps/sh/configure: Regenerated.
36075 * sysdeps/sparc/configure: Regenerated.
36076 * sysdeps/unix/sysv/linux/configure: Regenerated.
36077 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36078 * sysdeps/x86_64/configure: Regenerated.
36079
273edc5e
RM
36080 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36081 defined. Don't check if MAP is NULL.
36082
c8450f70
JM
360832012-10-09 Joseph Myers <joseph@codesourcery.com>
36084
36085 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36086 (_G_stat64): Likewise.
36087 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36088 (_G_stat64): Likewise.
36089 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36090 instead of struct _G_stat64.
36091 * libio/fileops.c (mmap_remap_check): Likewise.
36092 (decide_maybe_mmap): Likewise.
36093 (_IO_new_file_seekoff): Likewise.
36094 (_IO_file_stat): Likewise.
36095 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36096 _G_off64_t.
36097 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36098 instead of struct _G_stat64.
36099 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36100
57e605ba
MK
361012012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36102
36103 [BZ #14602]
36104 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36105 Replace with ...
36106 (CHECK_EOL): New macro.
36107 (two_way_short_needle): Check beginning of haystack for EOL. Use
36108 CHECK_EOL.
36109 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36110 Replace with CHECK_EOL.
36111 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36112 Replace with CHECK_EOL.
36113
ef1bb361
JM
361142012-10-08 Joseph Myers <joseph@codesourcery.com>
36115
36116 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36117 type-generic.
36118 * math/libm-test.inc: Update comment listing what functions and
36119 macros are tested.
36120 (finite_test): New function.
36121 (isinf_test): Likewise.
36122 (isnan_test): Likewise.
36123 (fpclassify_test): Test subnormal input.
36124 (isfinite_test): Likewise.
36125 (isnormal_test): Likewise.
36126 (main): Call the new functions.
36127
55f11534
JN
361282012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36129
36130 [BZ #14660]
36131 * Makerules (%.dynsym): Force C locale when running
36132 $(OBJDUMP) --dynamic-syms.
36133
1ab29350
AS
361342012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36135
36136 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36137 <stdint.h>.
36138
f1ecb7ef
DM
361392012-10-06 David S. Miller <davem@davemloft.net>
36140
36141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36142 upper 32-bits of the length value in %o2 since we use branch-on-register
36143 tests which consider the entire 64-bit register.
36144
5d41d91a
L
361452012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36146
36147 * string/test-strstr.c (check2): Add a test for page boundary.
36148
3baddb72
DM
361492012-10-05 David S. Miller <davem@davemloft.net>
36150
36151 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36152 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36153 file.
36154 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36155 sysdep_routines.
36156 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36157 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36158 and bzero when HWCAP_SPARC_CRYPTO is present.
36159
9cee5585
L
361602012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36161
d7e0dab9
L
36162 [BZ #14602]
36163 * string/test-strstr.c (check2): New function.
36164 (test_main): Call check2.
36165
03759f47
L
36166 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36167 and bug-strchr1.
36168 * string/bug-strcasestr1.c (do_test): Moved to ...
36169 * string/test-strcasestr.c (check1): Here. New function.
36170 (do_one_test): Break out result checking code into ...
36171 (check_result): This. New function.
36172 (do_one_test): Call check_result.
36173 (test_main): Call check1.
36174 * string/bug-strchr1.c (do_test): Moved to ...
36175 * string/test-strchr.c (check1): Here. New function.
36176 (do_one_test): Break out result checking code into ...
36177 (check_result): This. New function.
36178 (do_one_test): Call check_result.
36179 (test_main): Call check1.
36180 * string/bug-strstr1.c (main): Moved to ...
046f153e 36181 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36182 (do_one_test): Break out result checking code into ...
36183 (check_result): This. New function.
36184 (do_one_test): Call check_result.
36185 (test_main): Call check1.
36186 * string/bug-strcasestr1.c: Removed.
36187 * string/bug-strchr1.c: Likewise.
36188 * string/bug-strstr1.c: Likewise.
36189
53cea63e
L
36190 * elf/Makefile (dl-routines): Add hwcaps.
36191 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36192 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36193 (_dl_important_hwcaps): Moved to ...
36194 * elf/dl-hwcaps.c: Here. New file.
36195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36196
9cee5585 36197 [BZ #14557]
bb859b06
L
36198 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36199 if IS_IN_rtld isn't defined.
36200
9cee5585
L
36201 * elf/dl-support.c (_dl_sysinfo_map): New.
36202 Include "get-dynamic-info.h" and "setup-vdso.h".
36203 (_dl_non_dynamic_init): Call setup_vdso.
36204 * elf/dynamic-link.h: Don't include <assert.h>.
36205 (elf_get_dynamic_info): Moved to ...
36206 * elf/get-dynamic-info.h: Here. New file.
36207 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36208 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36209 * elf/setup-vdso.h: Here. New file.
36210 * elf/rtld.c: Include "setup-vdso.h".
36211 (dl_main): Call setup_vdso.
36212
23c31b76
JM
362132012-10-05 Joseph Myers <joseph@codesourcery.com>
36214
28234b07
JM
36215 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36216 creal in comment listing functions tested. List finite, isinf,
36217 isnan, isless, islessequal, isgreater, isgreaterequal,
36218 islessgreater, isunordered, lgamma_r and pow10 as functions and
36219 macros not tested. Mention which functions not tested are aliases
36220 for other functions. Fix typo. Note that signs of NaNs are not
36221 tested.
36222
23c31b76
JM
36223 * scripts/config.guess: Update from config.git.
36224 * scripts/config.sub: Likewise.
36225
9043e228
RM
362262012-10-04 Roland McGrath <roland@hack.frob.com>
36227
36228 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36229 * misc/madvise.c (madvise): Renamed to __madvise.
36230 Make madvise a weak alias.
36231 * include/sys/mman.h: Declare __madvise.
36232 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36233 * sysdeps/unix/syscalls.list
36234 (madvise): Make __madvise the strong name, and madvise a weak alias.
36235 * sysdeps/unix/sysv/linux/syscalls.list
36236 (madvise, mmap): Remove redundant entries.
36237 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36238 * malloc/malloc.c (mtrim): Likewise.
36239 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36240
f57f8055
RM
362412012-10-03 Roland McGrath <roland@hack.frob.com>
36242
36243 * sysdeps/mach/hurd/dl-cache.c: File removed.
36244 * config.h.in (USE_LDCONFIG): New #undef.
36245 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36246 * configure: Regenerated.
36247 * elf/Makefile (dl-routines): Add dl-cache only under
36248 [$(use-ldconfig) = yes].
36249 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36250 cache on [USE_LDCONFIG].
36251 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36252 [USE_LDCONFIG].
36253 * elf/rtld.c (dl_main): Likewise.
36254
5bb0c10a
PT
362552012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36256
36257 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36258 _SC_LEVEL4_CACHE_LINESIZE.
36259
010188c6
RM
362602012-10-03 Roland McGrath <roland@hack.frob.com>
36261
36262 * sysdeps/unix/bsd/confstr.h: File removed.
36263
b6c5ec07
AO
362642012-10-02 Alexandre Oliva <aoliva@redhat.com>
36265
36266 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36267 sys/sdt-config.h.
36268
408223d4
RM
362692012-10-02 Roland McGrath <roland@hack.frob.com>
36270
36271 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36272 Make 'mapoff' field ElfW(Off) rather than off_t.
36273
bb9510dc
DL
362742012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36275
fc997c6e
DL
36276 * nscd/Makefile: Remove nscd-cflags and all its users.
36277 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36278 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36279
bb9510dc
DL
36280 [BZ #10631]
36281 * malloc.c (malloc_printerr): Clarify error message.
36282
05699367
L
362832012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36284
36285 [BZ #14648]
36286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36287 Set bit_FMA_Usable if FMA is supported.
36288 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36289 macro.
36290 (bit_FMA4_Usable): Updated.
36291 (index_FMA_Usable): New macro.
36292 (CPUID_FMA): Likewise
36293 (HAS_FMA): Defined with bit_FMA_Usable.
36294
51367701
RM
362952012-10-01 Roland McGrath <roland@hack.frob.com>
36296
36297 * bits/types.h (__swblk_t): Type removed.
36298 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36299 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36301 (__SWBLK_T_TYPE): Likewise.
36302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36303 (__SWBLK_T_TYPE): Likewise.
36304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36305 (__SWBLK_T_TYPE): Likewise.
36306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36307 (__SWBLK_T_TYPE): Likewise.
36308
4d57bf63 363092012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36310 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36311
36312 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36313 (xdr_mapname): Use YPMAXMAP as maxsize.
36314 (xdr_peername): Use YPMAXPEER as maxsize.
36315 (xdr_keydat): Use YPAXRECORD as maxsize.
36316 (xdr_valdat): Use YPMAXRECORD as maxsize.
36317
93c65d43
RM
363182012-10-01 Roland McGrath <roland@hack.frob.com>
36319
497a03d6
RM
36320 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36321
93c65d43
RM
36322 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36323 * csu/init-first.c: ... here.
36324 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36325 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36326 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36327 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36328 * sysdeps/i386/init-first.c: File removed.
36329 * sysdeps/sh/init-first.c: File removed.
36330
bec749fd
JM
363312012-10-01 Joseph Myers <joseph@codesourcery.com>
36332
36333 [BZ #14645]
36334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36335 if x * y might underflow to zero and z is zero.
36336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36338 * math/libm-test.inc (min_subnorm_value): New variable.
36339 (fma_test): Add more tests.
36340 (fma_test_towardzero): Likewise.
36341 (fma_test_downward): Likewise
36342 (fma_test_upward): Likewise.
36343 (initialize): Set min_subnorm_value.
36344
8ec5b013
JM
363452012-09-29 Joseph Myers <joseph@codesourcery.com>
36346
36347 [BZ #14638]
36348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36349 0 + 0.
36350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36351 mode for addition resulting in exact zero.
36352 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36354 exact 0 + 0.
36355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36357 * math/libm-test.inc (fma_test): Add more tests.
36358 (fma_test_towardzero): New function.
36359 (fma_test_downward): Likewise.
36360 (fma_test_upward): Likewise.
36361 (main): Call the new functions.
36362
b1fa802e
DM
363632012-09-28 David S. Miller <davem@davemloft.net>
36364
36365 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36366
d3b9fd9e
RM
363672012-09-28 Roland McGrath <roland@hack.frob.com>
36368
ea4d37b3
RM
36369 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36370 instead of SIGALRM.
36371
ac51c949
RM
36372 * sysdeps/gnu/_G_config.h: Moved to ...
36373 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36374 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36375 * sysdeps/generic/_G_config.h: ... here.
36376
28c195f7
RM
36377 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36378
848917f9
RM
36379 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36380
6bacf05b
RM
36381 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36382 Conditionalize target on [libnss_test1.so-version].
36383
91363dbb
RM
36384 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36385
cc87f7d8
RM
36386 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36387 (elfobjdir): Move out of conditionals.
36388
b1c608fe
RM
36389 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36390 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36391 (__nss_lookup_function): Conditionalize label remove_from_tree on
36392 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36393
1d9a6d96
DM
363942012-09-28 David S. Miller <davem@davemloft.net>
36395
36396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36398 file.
36399 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36400 sysdep_routines.
36401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36403 when HWCAP_SPARC_CRYPTO is present.
36404
72581615
PT
364052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36406
36407 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36408
715a900c
JL
364092012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36410
36411 [BZ #6530]
36412 * stdio-common/vfprintf.c (process_string_arg): Revert
36413 2000-07-22 change.
36414
364152011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36416
36417 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36418 for testcase.
36419 * stdio-common/tst-sprintf.c: Include <locale.h>
36420 (main): Test sprintf's handling of incomplete multibyte
36421 characters.
36422
9bac1d86
L
364232012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36424
36425 * elf/dl-runtime.c (VERSYMIDX): Removed.
36426 * elf/dl-version.c (VERSYMIDX): Likewise.
36427 * elf/do-rel.h (VERSYMIDX): Likewise.
36428 (VALIDX): Likewise.
36429 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36430 * elf/rtld.c (VALIDX): Likewise.
36431 (ADDRIDX): Likewise.
9bac1d86
L
36432 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36433 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36434 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36435 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36436 (VALIDX): Likewise.
36437 (ADDRIDX): Likewise.
9bac1d86 36438
b31606c0
PT
364392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36440
36441 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36442
11541177
JL
364432012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36444
36445 [BZ #11438]
36446 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36447 to global scope.
36448 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36449 addresses are in the same scope as 192.0.2/24.
36450 * posix/gai.conf: Document new scope table defaults.
36451
adb26fae
SP
364522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36453
36454 [BZ #5298]
36455 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36456 for ftell. Compute offsets from write pointers instead.
36457 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36458
4573c6b0
SP
364592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36460
36461 [BZ #14543]
36462 * libio/Makefile (tests): New test case tst-fseek.
36463 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36464 combination works in wide mode.
36465 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36466 state when the external buffer state changes.
36467
aa9bbfe6
DM
364682012-09-27 David S. Miller <davem@davemloft.net>
36469
36470 [BZ #14376]
36471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36472 pass reloc->r_addend in as the 'high' argument to
36473 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36474
784421e7
DM
36475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36476
c39bc8b8
PT
364772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36478
36479 * rt/tst-aio2.c: Include <pthread.h>.
36480 * rt/tst-aio3.c: Likewise.
36481
1ccc2399
SE
364822012-09-27 Steve Ellcey <sellcey@mips.com>
36483
36484 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36485
31ed4153
L
364862012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36487
25f5f885
L
36488 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36489 contents on [SHARED].
31ed4153 36490
b7bfe116
MP
364912012-09-26 Marek Polacek <polacek@redhat.com>
36492
36493 [BZ #14530]
36494 [BZ #13741]
36495 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36496 for C++ and GCC <4.3 as well as for non GCC compilers.
36497
43c4edba
MT
364982012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36499
36500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36501
6a1bf82f
RM
365022012-09-25 Roland McGrath <roland@hack.frob.com>
36503
36504 * Makefile.in (all, install): Declare with .PHONY.
36505 Reported by Michael Hope <michael.hope@linaro.org>.
36506
8ad11b9a
TMQMF
365072012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36508
36509 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36510 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36511 system header.
36512 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36513 Likewise.
36514 (sydep_routines): Add the new and the internal functions.
36515 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36518 (GLIBC_2.17): Add the new function.
36519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36520 (GLIBC_2.17): Likewise.
36521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36522 (GLIBC_2.17): Likewise.
36523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36524 (GLIBC_2.17): Likewise.
36525 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36526
7e2fca8d
AM
365272012-09-25 Alan Modra <amodra@gmail.com>
36528
36529 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36530 Add release barrier before setting once_control to say
36531 initialisation is done. Add hints on lwarx. Use macro in
36532 place of isync.
36533 (clear_once_control): Add release barrier.
36534
b87c4b24
JM
365352012-09-25 Joseph Myers <joseph@codesourcery.com>
36536
d032e0d2
JM
36537 [BZ #13629]
36538 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36539 specially.
36540 * math/s_clog10.c (__clog10): Likewise.
36541 * math/s_clog10f.c (__clog10f): Likewise.
36542 * math/s_clog10l.c (__clog10l): Likewise.
36543 * math/s_clogf.c (__clogf): Likewise.
36544 * math/s_clogl.c (__clogl): Likewise.
36545 * math/Makefile (libm-calls): Add x2y2m1.
36546 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36547 (__x2y2m1): Likewise.
36548 (__x2y2m1l): Likewise.
36549 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36550 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36551 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36552 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36553 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36554 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36555 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36556 * sysdeps/i386/fpu/libm-test-ulps: Update.
36557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36558
b87c4b24
JM
36559 [BZ #14621]
36560 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36561 int as type of variable DEPTH.
36562 (glob): Use size_t instead of int as type of variables NEWCOUNT
36563 and OLD_PATHC.
36564
6d3bf199
LD
365652012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36566
22bf5c17
LD
36567 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36568 Add s_sincosf-sse2.
36569 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36570 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36571 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36572 macros for using routine as __sincosf_ia32.
36573 Use macro for function declaration and weak_alias.
36574 * sysdeps/i386/fpu/libm-test-ulps: Update.
36575
36576 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36578
36579 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36580 subnormal argument.
36581 * math/s_cexpf.c (__cexpf): Likewise.
36582 * math/s_csinf.c (__csinf): Likewise.
36583 * math/s_csinhf.c (__csinhf): Likewise.
36584 * math/s_ctanf.c (__ctanf): Likewise.
36585 * math/s_ctanhf.c (__ctanhf): Likewise.
36586 * math/s_ccosh.c (__ccoshf): Likewise.
36587 * math/s_cexp.c (__cexpl): Likewise.
36588 * math/s_csin.c (__csin): Likewise.
36589 * math/s_csinh.c (__csinh): Likewise.
36590 * math/s_ctan.c (__ctan): Likewise.
36591 * math/s_ctanh.c (ctanh): Likewise.
36592 * math/s_ccoshl.c (__ccoshl): Likewise.
36593 * math/s_cexpl.c (__cexpl): Likewise.
36594 * math/s_csinl.c (__csinl): Likewise.
36595 * math/s_csinhl.c (__csinhl): Likewise.
36596 * math/s_ctanl.c (__ctanl): Likewise.
36597 * math/s_ctanhl.c (__ctanhl): Likewise.
36598
203e5603
JM
365992012-09-25 Joseph Myers <joseph@codesourcery.com>
36600
36601 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36602 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36603 (_IO_off_t): Define to __off_t, not _G_off_t.
36604 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36605 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36606 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36607 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36608 type of __dummy and __dummy2 fields.
36609 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36610 (_G_ssize_t): Likewise.
36611 (_G_off_t): Likewise.
36612 (_G_pid_t): Likewise.
36613 (_G_uid_t): Likewise.
36614 (_G_wchar_t): Likewise.
36615 (_G_wint_t): Likewise.
36616 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36617 (_G_ssize_t): Likewise.
36618 (_G_off_t): Likewise.
36619 (_G_pid_t): Likewise.
36620 (_G_uid_t): Likewise.
36621 (_G_wchar_t): Likewise.
36622 (_G_wint_t): Likewise.
36623 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36624 (_G_ssize_t): Likewise.
36625 (_G_off_t): Likewise.
36626 (_G_pid_t): Likewise.
36627 (_G_uid_t): Likewise.
36628 (_G_wchar_t): Likewise.
36629 (_G_wint_t): Likewise.
36630
9fab36eb
SP
366312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36632
36633 * malloc/arena.c: Include malloc-sysdep.h.
36634 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36635 is sufficient to shrink the heap or an unmap is needed.
36636 * sysdeps/generic/malloc-sysdep.h: New file. Define
36637 new function check_may_shrink_heap.
36638 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36639 new function check_may_shrink_heap.
36640
2b4f00d1
SP
366412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36642
36643 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36644 comments.
36645
9a9028b1
DL
366462012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36647
57c69bef
DL
36648 * catgets/test-gencat.sh: Add "set -e".
36649 * elf/tst-pathopt.sh: Likewise.
36650 * grp/tst_fgetgrent.sh: Likewise.
36651 * iconvdata/run-iconv-test.sh: Likewise.
36652 * intl/tst-gettext.sh: Likewise.
36653 * intl/tst-gettext2.sh: Likewise.
36654 * intl/tst-gettext4.sh: Likewise.
36655 * intl/tst-gettext6.sh: Likewise.
36656 * intl/tst-translit.sh: Likewise.
36657 * io/ftwtest-sh: Likewise.
36658 * libio/test-freopen.sh: Likewise.
36659 * malloc/tst-mtrace.sh: Likewise.
36660 * posix/globtest.sh: Likewise.
36661 * posix/tst-getconf.sh: Likewise.
36662 * posix/wordexp-tst.sh: Likewise.
36663 * stdio-common/tst-printf.sh: Likewise.
36664 * stdio-common/tst-unbputc.sh: Likewise.
36665 * stdlib/tst-fmtmsg.sh: Likewise.
36666 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36667 * catgets/Makefile: Do not specify -e option when running
36668 testsuite shell scripts.
36669 * elf/Makefile: Likewise.
36670 * grp/Makefile: Likewise.
36671 * iconvdata/Makefile: Likewise.
36672 * intl/Makefile: Likewise.
36673 * io/Makefile: Likewise.
36674 * libio/Makefile: Likewise.
36675 * malloc/Makefile: Likewise.
36676 * posix/Makefile: Likewise.
36677 * stdio-common/Makefile: Likewise.
36678 * stdlib/Makefile: Likewise.
36679 * sysdeps/x86_64/Makefile: Likewise.
36680
9a9028b1
DL
36681 * io/ftwtest-sh: Add copyright header.
36682 * posix/globtest.sh: Likewise.
36683 * posix/tst-getconf.sh: Likewise.
36684 * posix/wordexp-tst.sh: Likewise.
36685 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36686
ced6f16e
L
366872012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36688
94b32c39
L
36689 [BZ #13679]
36690 * Makeconfig (+link): Defined as $(+link-static) if
36691 $(build-shared) isn't yes.
36692 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36693 isn't yes.
36694 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36695
189e935b
L
36696 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36697
ced6f16e
L
36698 [BZ #14562]
36699 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36700 new chunk size with MALLOC_ALIGN_MASK.
36701
a9f8e53a
JM
367022012-09-24 Joseph Myers <joseph@codesourcery.com>
36703
36704 [BZ #5044]
36705 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36706 <rounding-mode.h>.
36707 (__printf_fphex): Determine rounding using get_rounding_mode and
36708 round_away.
36709 * stdio-common/tst-printf-round.c (struct hex_test): New
36710 structure.
36711 (hex_tests): New variable.
36712 (test_hex_in_one_mode): New function.
36713 (do_test): Also run tests for hex float output.
36714
43153109
JM
367152012-09-21 Joseph Myers <joseph@codesourcery.com>
36716
36717 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36718 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36719 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36720 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36721 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36722 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36723 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36725
8a26625d
JM
367262012-09-20 Joseph Myers <joseph@codesourcery.com>
36727
36728 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36729 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36730 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36731 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36732
f3fd569c
DL
367332012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36734
36735 [BZ #14579]
36736 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36737 mode only.
36738 * elf/tst-rtld-load-self.sh: New test.
36739 * elf/Makefile: Run it.
36740
63bbedd4
JM
367412012-09-18 Joseph Myers <joseph@codesourcery.com>
36742
36743 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36744 (tst-writev-ENV): Remove.
36745 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36746
626f8b6a
CM
367472012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36748
36749 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36750
b7aaa4d6
JM
367512012-09-17 Joseph Myers <joseph@codesourcery.com>
36752
36753 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36754 unconditional.
36755 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36756 Likewise.
36757 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36758 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36759 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36760 Likewise.
36761
65513990
L
367622012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36763
36764 [BZ #14587]
36765 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36766 * config.make.in (have-cpp-asm-debuginfo): Removed.
36767 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36768 * configure: Regenerated.
36769
784761be
JM
367702012-09-14 Joseph Myers <joseph@codesourcery.com>
36771
36772 [BZ #5044]
36773 * stdio-common/printf_fp.c: Include <stdbool.h> and
36774 <rounding-mode.h>.
36775 (___printf_fp): Determine rounding using get_rounding_mode and
36776 round_away.
36777 * stdio-common/tst-printf-round.c: New file.
36778 * stdio-common/Makefile (tests): Add tst-printf-round.
36779 (link-libm): New variable.
36780 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36781
9503345f
L
367822012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36783
36784 [BZ #14576]
36785 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36786 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36787 Likewise.
36788 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36789 Likewise.
36790
ad35fc00
JM
367912012-09-13 Joseph Myers <joseph@codesourcery.com>
36792
36793 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36794 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36795 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36796 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36797
6c9b0f68
JM
367982012-09-12 Joseph Myers <joseph@codesourcery.com>
36799
36800 [BZ #14518]
36801 * include/rounding-mode.h: New file.
36802 * sysdeps/generic/get-rounding-mode.h: Likewise.
36803 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36804 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36805 (MAX_VALUE): New macro.
36806 (MIN_VALUE): Likewise.
36807 (overflow_value): New function.
36808 (underflow_value): Likewise.
36809 (round_and_return): Use overflow_value and underflow_value to
36810 determine return values in overflow and underflow cases. Use
36811 round_away to determine rounding depending on rounding mode.
36812 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36813 determine return values in overflow and underflow cases.
36814 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36815 (struct test_results): New structure.
36816 (struct test): Use struct test_results to store expected results
36817 for all rounding modes.
36818 (TEST): Include expected results for all rounding modes.
36819 (test_in_one_mode): New function.
36820 (do_test): Use test_in_one_mode to compute and check results.
36821 Check results for all rounding modes.
36822 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36823 $(link-libm).
36824
19fcedd5
AM
368252012-12-09 Allan McRae <allan@archlinux.org>
36826
1e9d84cd 36827 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36828
8bbfd2f1
JM
368292012-09-11 Joseph Myers <joseph@codesourcery.com>
36830
36831 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36832 (_G_int32_t): Likewise.
36833 (_G_uint16_t): Likewise.
36834 (_G_uint32_t): Likewise.
36835 (_G_HAVE_BOOL): Likewise.
36836 (_G_HAVE_ATEXIT): Likewise.
36837 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36838 (_G_HAVE_IO_FILE_OPEN): Likewise.
36839 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36840 (_G_int32_t): Likewise.
36841 (_G_uint16_t): Likewise.
36842 (_G_uint32_t): Likewise.
36843 (_G_HAVE_BOOL): Likewise.
36844 (_G_HAVE_ATEXIT): Likewise.
36845 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36846 (_G_HAVE_IO_FILE_OPEN): Likewise.
36847 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36848 (_G_int32_t): Likewise.
36849 (_G_uint16_t): Likewise.
36850 (_G_uint32_t): Likewise.
36851 (_G_HAVE_BOOL): Likewise.
36852 (_G_HAVE_ATEXIT): Likewise.
36853 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36854 (_G_HAVE_IO_FILE_OPEN): Likewise.
36855
b1dc5912
L
368562012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * csu/libc-tls.c: Update copyright years.
36859
0e886ef9
JM
368602012-09-10 Joseph Myers <joseph@codesourcery.com>
36861
28361c5e
JM
36862 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36863 [!_G_USING_THUNKS]: Remove conditional code.
36864 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36865 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36866
0e886ef9
JM
36867 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36868 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36869 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36870 (_G_VTABLE_LABEL_PREFIX): Likewise.
36871 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36872 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36873 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36874 (_G_VTABLE_LABEL_PREFIX): Likewise.
36875 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36876 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36877 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36878 (_G_VTABLE_LABEL_PREFIX): Likewise.
36879 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36880
bcba7aa2
L
368812012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36882
36883 * libio/Makefile: Include ../Makeconfig before tests.
36884 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36885 only if $(build-shared) is yes.
36886
06585ee8
L
36887 * iconv/gconv_db.c: Update copyright years.
36888
80ccd52c
LD
368892012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36890
36891 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36892 unwind info if defined PIC. Fix special cases description.
36893 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36894
36895 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36896 DP_HI_MASK entry.
36897 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36898
691bc9c1
L
368992012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36900
3d9b46b3
L
36901 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36902
de2139a9
L
36903 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36904 is NULL.
36905
5ca78dd0
L
36906 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36907 (LDLIBS-tst-chk4): This.
36908 (LDFLAGS-tst-chk5): Renamed to ...
36909 (LDLIBS-tst-chk5): This.
36910 (LDFLAGS-tst-chk6): Renamed to ...
36911 (LDLIBS-tst-chk6): This.
36912 (LDFLAGS-tst-lfschk4): Renamed to ...
36913 (LDLIBS-tst-lfschk4): This.
36914 (LDFLAGS-tst-lfschk5): Renamed to ...
36915 (LDLIBS-tst-lfschk5): This.
36916 (LDFLAGS-tst-lfschk6): Renamed to ...
36917 (LDLIBS-tst-lfschk6): This.
36918
691bc9c1
L
36919 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36920 on $(common-objpfx)soversions.mk.
36921
65cafb1c
JM
369222012-09-07 Joseph Myers <joseph@codesourcery.com>
36923
36924 [BZ #10014]
36925 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36926 example host name.
36927
c78ab094
SP
369282012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36929
36930 * malloc/arena.c (arena_get_retry): New function that gets
36931 another arena for the caller to try its request on.
36932 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36933 current arena cannot fulfill the request.
36934 (__libc_memalign): Likewise.
36935 (__libc_memalign): Likewise.
36936 (__libc_pvalloc): Likewise.
36937 (__libc_calloc): Likewise.
36938
01f49f59
JT
369392012-09-05 John Tobey <john.tobey@gmail.com>
36940
36941 [BZ #13542]
36942 * manual/arith.texi (Operations on Complex): Fix description
36943 of carg branch cut.
36944
4c23fed5
JM
369452012-09-06 Joseph Myers <joseph@codesourcery.com>
36946
1d3c8572
JM
36947 [BZ #10014]
36948 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36949 host name.
36950
4c23fed5
JM
36951 [BZ #10038]
36952 * manual/memory.texi (Memory): Make order of menu items match
36953 order of sections.
36954
04570aaa
L
369552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36956
36957 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36958 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36959 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36960
b80af2f4
L
369612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36962
36963 * csu/libc-tls.c (static_dtv): Renamed to ...
36964 (_dl_static_dtv): This. Make it global.
36965 (_dl_initial_dtv): Removed.
36966 (__libc_setup_tls): Updated.
36967 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36968 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36969 DL_INITIAL_DTV.
36970
2abe9f15
PM
369712012-09-06 Petr Machata <pmachata@redhat.com>
36972
36973 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36974 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36975 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36976 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36977
0948c3af
L
369782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36979
36980 [BZ #14545]
36981 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36982 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36983 freeing dtv[-1].
36984
a5055ad1
L
369852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36986
36987 [BZ #14544]
36988 * Makeconfig (link-static-before-libc): Replace $(+prector)
36989 with $(+prectorT).
36990 (link-static-after-libc): Replace $(+postctor) with
36991 $(+postctorT).
36992 (link-bounded): Replace $(+prector)/$(+postctor) with
36993 $(+prectorT)/$(+postctorT).
36994 (+prectorT): New macro.
36995 (+postctorT): Likewise.
36996
ed8c2ecd
JM
369972012-09-06 Joseph Myers <joseph@codesourcery.com>
36998
36999 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37000 (round_str): Handle values above the maximum for IBM long double
37001 as inexact.
37002 * stdlib/tst-strtod-round.c (tests): Regenerated.
37003
14c996c8
AK
370042012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37005
37006 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37007 assembler flag.
37008 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37009 zarch_nohighgprs around the zarch optimized routines.
37010 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37011 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37013 for zarch.
37014
430d6ce6
DM
370152012-09-05 David S. Miller <davem@davemloft.net>
37016
37017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37018
57f41c40
AS
37019 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37020 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37021 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37023 entries.
37024
24d4e01b
AO
370252012-09-05 Alexandre Oliva <aoliva@redhat.com>
37026
37027 * malloc/arena.c: Fold copyright years.
37028 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37029
61d58174
AO
370302012-09-05 Alexandre Oliva <aoliva@redhat.com>
37031
37032 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37033
20196a5e
AO
370342012-09-05 Alexandre Oliva <aoliva@redhat.com>
37035
37036 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37037
5c447383
AO
370382012-09-05 Alexandre Oliva <aoliva@redhat.com>
37039
37040 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37041 change internal state upon failure.
37042
fad64255
AO
370432012-09-05 Alexandre Oliva <aoliva@redhat.com>
37044
37045 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37046 * malloc/memusage.c (mmap): Likewise.
37047 (mmap64, mremap): Likewise. Adjust name in comment.
37048
1ffb8c90
SP
370492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37050
37051 * libio/fileops.c: Fix typos in comments.
37052 * libio/oldfileops.c: Likewise.
37053 * libio/wfileops.c: Likewise.
37054
6ef9cc37
SP
370552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37056
37057 [BZ #1349]
37058 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37059 (tst-malloc-usable-ENV): Set environment for test case.
37060 * malloc/hooks.c (malloc_check_get_size): New function to get
37061 requested size.
37062 * malloc/malloc.c (musable): Use malloc_check_get_size.
37063 * malloc/tst-malloc-usable.c: New test case.
37064
4d038ae3
AS
370652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37066
37067 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37068
c4e85184
AM
370692012-09-05 Allan McRae <allan@archlinux.org>
37070
b9dafc56 37071 [BZ #13966]
c4e85184
AM
37072 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37073 determine header location.
37074 * configure: Regenerated.
37075
e1343020
AS
370762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37077
37078 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37079 float format.
37080 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37081 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37082 format.
e1343020
AS
37083 (test): Regenerate.
37084
0a9f1987
DM
370852012-09-04 David S. Miller <davem@davemloft.net>
37086
37087 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37088 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37090
29237804
FW
370912012-09-04 Florian Weimer <fweimer@redhat.com>
37092
37093 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37094 failures.
37095
edb3cb88
FW
37096 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37097
60160d83
JM
370982012-09-04 Joseph Myers <joseph@codesourcery.com>
37099
37100 [BZ #9914]
37101 * libio/iogetdelim.c: Include <limits.h>.
37102 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37103 + len + 1 would overflow.
37104
bcd6c8dc
AJ
371052012-09-03 Andreas Jaeger <aj@suse.de>
37106
37107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37108 * sysdeps/i386/fpu/libm-test-ulps: Update.
37109
4ffffbd2
LD
371102012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37111
37112 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37113 Add s_sinf-sse2, s_conf-sse2.
37114
37115 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37116 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37117 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37118 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37119
37120 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37121 for using routine as __sinf_ia32.
37122 Use macro for function declaration and weak_alias.
37123 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37124 for using routine as __cosf_ia32.
37125 Use macro for function declaration and weak_alias.
37126
37127 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37128 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37129
37130 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37131 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37133
37134 * math/libm-test.inc (cos_test): Add more test cases.
37135 (sin_test): Likewise.
37136 (sincos_test): Likewise.
37137
511fa286
AK
371382012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37139
37140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37141 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37142 hidden.
37143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37144
5f30cfec
L
371452012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37146
37147 [BZ #14538]
37148 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37149 first element of the GOT.
37150 (elf_machine_load_address): Return the difference between
37151 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37152
0786794f
AM
371532012-09-01 Allan McRae <allan@archlinux.org>
37154
5f30cfec
L
37155 [BZ #13412]
37156 * configure.in (AWK): Require gawk version 3.0 or later.
37157 * configure: Regenerated.
0786794f 37158
26889eac
JM
371592012-09-01 Joseph Myers <joseph@codesourcery.com>
37160
37161 * sysdeps/unix/sysv/linux/kernel-features.h
37162 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37164 [__NR_clock_getres]: Make code unconditional.
37165 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37166 (clock_getcpuclockid): Remove code left unreachable by removal of
37167 conditionals.
37168 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37169 code unconditional.
37170 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37171 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37172 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37173 Make code unconditional.
37174 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37175 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37176 * sysdeps/unix/sysv/linux/clock_settime.c
37177 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37178 conditional code.
37179 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37180 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37181
d22e28b0
L
371822012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37183
37184 [BZ #14476]
37185 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37186 scripts/test-installation.pl.
37187
37188 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37189 and $ld_so_version if it is set.
37190
050af9c4
SP
371912012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37192
37193 [BZ #14516]
37194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37195 failure if reading from procfs failed.
37196 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37197
ad845c0b
JM
371982012-08-27 Joseph Myers <joseph@codesourcery.com>
37199
37200 * sysdeps/unix/sysv/linux/kernel-features.h
37201 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37202 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37203 Remove conditional code.
37204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37205 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37206 Remove conditional code.
37207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37208 * sysdeps/unix/sysv/linux/i386/fxstat.c
37209 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37211 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37212 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37214 * sysdeps/unix/sysv/linux/i386/lxstat.c
37215 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37217 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37218 Remove conditional code.
37219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37220 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37221 Remove conditional code.
37222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37223 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37224 <kernel-features.h>.
37225 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37226 Remove.
37227 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37228 Remove conditional code.
37229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37230 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37231 Remove conditional.
37232
5dbf56af
MF
372332012-08-27 Mike Frysinger <vapier@gentoo.org>
37234
37235 [BZ #5400]
37236 * NEWS: Add fixed bug number.
37237
d6e70f43
JM
372382012-08-27 Joseph Myers <joseph@codesourcery.com>
37239
7efb4737
JM
37240 [BZ #14519]
37241 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37242 underflowing exponent in case of negative sign.
37243 * stdlib/tst-strtod-round-data: Add more tests.
37244 * stdlib/tst-strtod-round.c (tests): Regenerated.
37245
af92131a
JM
37246 [BZ #3479]
37247 * stdlib/strtod_l.c (NDIG): Remove.
37248 (HEXNDIG): Likewise.
37249 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37250 smallest representable value.
37251 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37252 lie within an exact representation of 1/2 ulp of the result.
37253 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37254 unconditionally.
37255 (TENS_P9_IDX): Define unconditionally.
37256 (TENS_P9_SIZE): Likewise.
37257 (TENS_P10_IDX): Likewise.
37258 (TENS_P10_SIZE): Likewise.
37259 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37260 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37261 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37262 entries for 10^2^13 and 10^2^14.
37263 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37264 (TENS_P13_IDX): Define.
37265 (TENS_P13_SIZE): Likewise.
37266 (TENS_P14_IDX): Likewise.
37267 (TENS_P14_SIZE): Likewise.
37268 (_fpioconst_pow10): Change array size to
37269 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37270 unconditional.
37271 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37272 1024]: Add entries for 10^2^13 and 10^2^14.
37273 [LAST_POW10 > _LAST_POW10]: Remove #error.
37274 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37275 (_fpioconst_pow10): Change array size to
37276 FPIOCONST_POW10_ARRAY_SIZE.
37277 * stdlib/gen-fpioconst.c: New file.
37278 * stdlib/gen-tst-strtod-round.c: Likewise.
37279 * stdlib/tst-strtod-round-data: Likewise.
37280 * stdlib/tst-strtod-round.c: Likewise.
37281 * stdlib/Makefile (tests): Add tst-strtod-round.
37282
d6e70f43
JM
37283 [BZ #14459]
37284 * stdlib/strtod_l.c: Include <stdint.h>.
37285 (NDEBUG): Do not define.
37286 (round_and_return): Change EXPONENT parameter to type intmax_t.
37287 Rearrange calculations to avoid internal overflow possibilities.
37288 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37289 Rearrange calculations to avoid internal overflow possibilities.
37290 Assert that number fits inside MPNSIZE limbs.
37291 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37292 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37293 calculations and add assertions to avoid internal overflow
37294 possibilities. Add casts to avoid signed/unsigned operations.
37295 * stdlib/tst-strtod-overflow.c: New file.
37296 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37297
1f529f7d
MP
372982012-08-25 Marek Polacek <polacek@redhat.com>
37299
37300 * time/time.h: Fix some typos in comments.
37301
59a629f1
RM
373022012-08-23 Roland McGrath <roland@hack.frob.com>
37303
37304 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37305 * posix/tst-rfc3484-2.c: Likewise.
37306 * posix/tst-rfc3484-3.c: Likewise.
37307
d3bafbc9
SM
373082012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37309
37310 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37311 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37312
4efcc022
JM
373132012-08-23 Joseph Myers <joseph@codesourcery.com>
37314
37315 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37316 #include of fxstatat64.c.
37317
3cc3ef96
RM
373182012-08-22 Roland McGrath <roland@hack.frob.com>
37319
f04e2132
RM
37320 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37321 * shadow/getspent_r.c: Likewise.
37322 * shadow/getspnam.c: Likewise.
37323 * shadow/getspnam_r.c: Likewise.
37324 * gshadow/getsgent.c: Likewise.
37325 * gshadow/getsgent_r.c: Likewise.
37326 * gshadow/getsgnam.c: Likewise.
37327 * gshadow/getsgnam_r.c: Likewise.
37328 * inet/getnetbyad.c: Likewise.
37329 * inet/getnetbyad_r.c: Likewise.
37330 * inet/getnetbynm.c: Likewise.
37331 * inet/getnetbynm_r.c: Likewise.
37332 * inet/getnetent.c: Likewise.
37333 * inet/getnetent_r.c: Likewise.
37334 * inet/getproto.c: Likewise.
37335 * inet/getproto_r.c: Likewise.
37336 * inet/getprtent.c: Likewise.
37337 * inet/getprtent_r.c: Likewise.
37338 * inet/getprtname.c: Likewise.
37339 * inet/getprtname_r.c: Likewise.
37340 * inet/getrpcbyname.c: Likewise.
37341 * inet/getrpcbyname_r.c: Likewise.
37342 * inet/getrpcbynumber.c: Likewise.
37343 * inet/getrpcbynumber_r.c: Likewise.
37344 * inet/getrpcent.c: Likewise.
37345 * inet/getrpcent_r.c: Likewise.
37346 * inet/getaliasent.c: Likewise.
37347 * inet/getaliasent_r.c: Likewise.
37348 * inet/getaliasname.c: Likewise.
37349 * inet/getaliasname_r.c: Likewise.
37350 * nscd/getgrgid_r.c: Likewise.
37351 * nscd/getgrnam_r.c: Likewise.
37352 * nscd/gethstbyad_r.c: Likewise.
37353 * nscd/gethstbynm3_r.c: Likewise.
37354 * nscd/getpwnam_r.c: Likewise.
37355 * nscd/getpwuid_r.c: Likewise.
37356 * nscd/getsrvbynm_r.c: Likewise.
37357 * nscd/getsrvbypt_r.c: Likewise.
37358 * nscd/gai.c: Likewise.
37359
c53d909c
RM
37360 * configure.in (build_nscd): New substituted variable, set
37361 by --disable-build-nscd and defaults to $use_nscd.
37362 * configure: Regenerated.
37363 * config.make.in (build-nscd): New substituted variable.
37364 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37365 Change conditional to require [$(build-nscd) = yes] as well.
37366 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37367
3cc3ef96
RM
37368 [BZ# 13696]
37369 * configure.in (use_nscd): New substituted variable, set by
37370 --disable-nscd. If enabled, define USE_NSCD.
37371 * configure: Regenerated.
37372 * config.h.in: Add USE_NSCD.
37373 * config.make.in (use-nscd): New substituted variable.
37374 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37375 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37376 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37377 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37378 (CFLAGS-getgrnam_r.c): Likewise.
37379 (CFLAGS-initgroups.c): Likewise.
37380 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37381 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37382 Variables removed.
37383 * inet/getnetgrent_r.c
37384 (nscd_setnetgrent): New function, broken out of ...
37385 (setnetgrent): ... here. Call it.
37386 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37387 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37388 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37389 * nscd/Makefile (routines, aux): Move definitions after include of
37390 Makeconfig. Conditionalize on [$(use-nscd) != no].
37391 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37392 Conditionalize on [USE_NSCD].
37393 (is_nscd, nscd_init_cb): Likewise.
37394 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37395 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37396 * nss/nss_db/db-init.c: Likewise.
37397 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37398 [USE_NSCD].
37399 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37400 (make_request): Use it.
37401 (cache_valid_p): New function.
37402 (__check_pf): Use it.
37403 * NEWS: Add item for --disable-nscd.
37404
07e51550
DL
374052012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37406
37407 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37408 to support sed >= 4.2.1-20-ga9bf076.
37409 * configure: Regenerated.
37410
35a5b08b
RM
374112012-08-22 Roland McGrath <roland@hack.frob.com>
37412
37413 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37414 Conditionalize whole body on [IREL].
37415
8479f23a
JL
374162012-08-22 Jeff Law <law@redhat.com>
37417
37418 [BZ #14505]
37419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37420 if the family is PF_UNSPEC.
37421
48da0b21
MF
374222012-08-22 Mike Frysinger <vapier@gentoo.org>
37423
37424 * Makerules (lib-version): Rename from V.
37425 (install-lib-nosubdir): Change V to lib-version.
37426
15d0da8c
WS
374272012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37428
37429 [BZ #14252]
37430 * powerpc32/power6/wcschr.c: New file.
37431 * powerpc32/power6/wcscpy.c: New file.
37432 * powerpc32/power6/wcsrchr.c: New file.
37433 * powerpc64/power6/wcschr.c: New file.
37434 * powerpc64/power6/wcscpy.c: New file.
37435 * powerpc64/power6/wcsrchr.c: New file.
37436
bcca0895
MK
374372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37438
37439 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37440 (two_way_short_needle): Use it.
5a4aaa33
RM
37441 * string/strstr.c (AVAILABLE1_USES_J): Define.
37442 * string/strcasestr.c: Likewise.
99677e57
MK
37443
37444 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37445 array references.
37446 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37447
400726de
MK
37448 [BZ #11607]
37449 * NEWS: Add an entry.
37450 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37451 define their defaults.
37452 (two_way_short_needle): Detect end-of-string on-the-fly.
37453 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37454 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37455 * string/bug-strcasestr1.c: New test.
37456 * string/Makefile: Run it.
37457
20a71f2c
MK
374582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37459
37460 [BZ #11607]
37461 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37462 the first character.
37463
21ad0558
RM
374642012-08-21 Roland McGrath <roland@hack.frob.com>
37465
37466 * csu/elf-init.c (__libc_csu_irel): Function removed.
37467 * csu/libc-start.c (apply_irel): New function.
37468 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37469
0e1d9911
JM
374702012-08-21 Joseph Myers <joseph@codesourcery.com>
37471
37472 * sysdeps/unix/sysv/linux/kernel-features.h
37473 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37474 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37475 <kernel-features.h>.
37476 [__NR_fadvise64_64]: Make code unconditional.
37477 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37478 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37479 !__NR_fadvise64_64)]: Likewise.
37480 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37481 !__NR_fadvise64_64))]: Likewise.
37482 [__NR_fadvise64]: Make code unconditional.
37483 [!__NR_fadvise64]: Remove conditional code.
37484 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37485 <kernel-features.h>.
37486 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37487 unconditional.
37488 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37489 conditional code.
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37491 not include <kernel-features.h>.
37492 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37493 unconditional.
37494 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37495 conditional code.
37496 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37497 include <kernel-features.h>.
37498 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37499 unconditional.
37500 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37501 conditional code.
37502
14a50c9d
WS
375032012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37504
37505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37506 slight instruction rearrangements per scrollpipe analysis.
37507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37508
c0f4faf0
RM
375092012-08-20 Roland McGrath <roland@hack.frob.com>
37510
696da859
RM
37511 * manual/syslog.texi (syslog; vsyslog, closelog):
37512 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37513 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37514
c0f4faf0
RM
37515 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37516 DSOCAPS to match condition on defining it.
37517
348363b2
JM
375182012-08-20 Joseph Myers <joseph@codesourcery.com>
37519
a35cbf28
JM
37520 * sysdeps/unix/sysv/linux/kernel-features.h
37521 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37523 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37524 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37526 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37527 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37529 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37530 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37531
445f7ecd
JM
37532 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37533 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37534
348363b2
JM
37535 * sysdeps/unix/sysv/linux/kernel-features.h
37536 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37537 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37538 unconditional.
37539 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37540 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37541 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37542 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37543 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37544 Make code unconditional.
37545 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37546 (__mmap64) [!__NR_mmap2]: Likewise.
37547 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37548 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37549 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37550 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37551 [__NR_mmap2]: Make code unconditional.
37552 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37553 (__mmap64) [!__NR_mmap2]: Likewise.
37554
bc5bc0e5
AK
375552012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37556
37557 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37558
88d506de
AJ
375592012-08-18 Andreas Jaeger <aj@suse.de>
37560
37561 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37562
493387d2
MF
375632012-08-18 Mike Frysinger <vapier@gentoo.org>
37564
37565 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37566 * include/unistd.h (__have_sock_cloexec): Likewise.
37567 (__have_pipe2): Likewise.
37568 (__have_dup3): Likewise.
37569
a277af22
MF
375702012-08-18 Mike Frysinger <vapier@gentoo.org>
37571
37572 [BZ #9685]
37573 * include/unistd.h (__have_pipe2): Change define into an extern int.
37574 (__have_dup3): Likewise.
37575 * socket/have_sock_cloexec.c: Include fcntl.h.
37576 (__have_pipe2): New variable.
37577 (__have_dup3): Likewise.
37578
fdab8fd3
MF
375792012-08-17 Mike Frysinger <vapier@gentoo.org>
37580
37581 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37582
31035e80
MP
375832012-08-17 Marek Polacek <polacek@redhat.com>
37584
37585 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37586 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37587
3bd9e993
RM
375882012-08-17 Roland McGrath <roland@hack.frob.com>
37589
c91c505f
RM
37590 * configure.in: Add AC_SUBST for sysheaders.
37591 * configure: Regenerated.
37592 * config.make.in (sysheaders): New substituted variable.
37593
7c6f9d53
RM
37594 * sysdeps/unix/mkfifo.c: Moved ...
37595 * sysdeps/posix/mkfifo.c: ... here.
37596 * sysdeps/unix/mkfifoat.c: Moved ...
37597 * sysdeps/posix/mkfifoat.c: ... here.
37598
37599 * sysdeps/unix/utime.c: Moved ...
37600 * sysdeps/posix/utime.c: ... here.
37601
37602 * sysdeps/unix/time.c: Moved ...
37603 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37604 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37605 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37606
37607 * sysdeps/unix/nice.c: Moved ...
37608 * sysdeps/posix/nice.c: ... here.
37609
37610 * sysdeps/unix/alarm.c: Moved ...
37611 * sysdeps/posix/alarm.c: ... here.
37612
3bd9e993
RM
37613 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37614
d1f09384
JL
376152012-08-17 Jeff Law <law@redhat.com>
37616
37617 * intl/Makefile (codeset_mo): New variable.
37618 ($(codeset_mo)): New target.
37619 (tst-codeset.out): Depend on that. Remove explicit rule.
37620 (tst-gettext3.out, tst-gettext5.out): Likewise.
37621 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37622 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37623 * intl/tst-codeset.sh: Remove.
37624 * intl/tst-gettext3.sh: Likewise.
37625 * intl/tst-gettext5.sh: Likewise.
37626
2ae1ae5c
RM
376272012-08-17 Roland McGrath <roland@hack.frob.com>
37628
c31fdb83
RM
37629 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37630 * sysdeps/unix/syscalls.list: ... here.
37631
a0844057
RM
37632 * sysdeps/posix/getaddrinfo.c
37633 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37634 (gaiconf_init, gaiconf_reload): Use them.
37635 [!_STATBUF_ST_NSEC]
37636 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37637 Define using time_t rather than struct timespec.
37638
750c1f2a
RM
37639 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37640 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37641 Macros removed.
37642 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37643 [!NO_THREADS].
37644 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37645 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37646 Likewise.
37647
2ae1ae5c
RM
37648 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37649 __libc_cleanup_push argument.
37650
e66a42f5
RM
37651 * bits/param.h: New file.
37652 * misc/sys/param.h: New file.
37653 * include/sys/param.h: New file.
37654 * misc/Makefile (headers): Add bits/param.h.
37655 * sysdeps/generic/sys/param.h: File removed.
37656 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37657 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37658 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37659 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37660
b7c08a66
RM
37661 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37662 last change.
37663
b2e1c562
RM
37664 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37665 [_IO_MTSAFE_IO].
37666 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37667 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37668 New macros.
37669
c75ccd4c
RM
37670 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37671 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37672 rather than -D_IO_MTSAFE_IO conditionally.
37673 * stdio-common/Makefile (CPPFLAGS): Likewise.
37674 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37675 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37676 Use $(libio-mtsafe).
37677 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37678 of -D_IO_MTSAFE_IO.
37679 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37680 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37681 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37682 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37683 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37684 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37685 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37686 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37687 (CFLAGS-fread_u_chk.c): Likewise.
37688 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37689 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37690 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37691 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37692 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37693 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37694 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37695 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37696 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37697
37698 * libio/Makefile: Test [$(libc-reentrant) = yes]
37699 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37700
37701 * Makeconfig
37702 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37703 * sysdeps/pthread/configure: File removed.
37704 * sysdeps/pthread/Makeconfig: New file.
37705 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37706 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37707
d9195db8
GB
377082012-08-16 Gary Benson <gbenson@redhat.com>
37709
37710 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37711 unmapping the first object in a namespace.
37712
86466cd9
RM
377132012-08-16 Roland McGrath <roland@hack.frob.com>
37714
37715 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37716 (__internal_setnetgrent): ... this. Add internal_function to
37717 definition. Add libc_hidden_def.
37718 (setnetgrent): Update caller.
37719 (internal_endnetgrent): Renamed to ...
37720 (__internal_endnetgrent): ... this. Add internal_function to
37721 definition. Add libc_hidden_def.
37722 (endnetgrent): Update caller.
37723 (internal_getnetgrent_r): Renamed to ...
37724 (__internal_getnetgrent_r): ... this. Add internal_function to
37725 definition. Add libc_hidden_def.
37726 (__getnetgrent_r): Update caller.
37727 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37728
c3c8283c
JM
377292012-08-16 Joseph Myers <joseph@codesourcery.com>
37730
37731 * stdlib/longlong.h: Update from GCC.
37732
db1ee0a8
RM
377332012-08-16 Roland McGrath <roland@hack.frob.com>
37734
37735 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37736 on _QL, which is set by umul_ppmm but never used.
37737 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37738 variables, which are set by GMP macros but never used.
37739 * stdio-common/_itowa.c (_itowa): Likewise.
37740 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37741 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37742
30f69637
CD
377432012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37744
37745 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37746 struct La_sh_regs is not constant.
37747 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37748 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37749 and struct La_sparc64_regs are not constant.
37750
93a78ac4
JM
377512012-08-16 Joseph Myers <joseph@codesourcery.com>
37752
37753 * sysdeps/unix/sysv/linux/kernel-features.h
37754 (__ASSUME_POSIX_TIMERS): Remove.
37755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37757 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37758 Make code unconditional.
37759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37760 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37761 Make code unconditional.
37762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37763 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37764 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37766 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37767 Make code unconditional.
37768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37769 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37770 (__libc_missing_posix_timers): Remove.
37771
dd924cd7
RM
377722012-08-15 Roland McGrath <roland@hack.frob.com>
37773
4b4f2771
RM
37774 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37775 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37776
601c888b
RM
37777 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37778
176790a7
RM
37779 * elf/dl-sym.c: Include <stdlib.h>.
37780
329bc018
RM
37781 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37782 constants, which avoids warnings in 32-bit builds.
37783
e04e272d
RM
37784 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37785 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37786
952bf94a
RM
37787 * misc/lseek.c: File moved to ...
37788 * io/lseek.c: ... here.
37789
7c99b50a
RM
37790 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37791
dd924cd7
RM
37792 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37793 shifting LEN more than 31 bits at once.
37794
b3f479a8
LD
377952012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37796
37797 [BZ #14195]
8c4ae0d4
RM
37798 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37799 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37800 * string/test-strncasecmp.c (check1): Renamed to...
37801 (bz12205): ...this.
37802 (bz14195): Add new testcase for two empty input strings and N > 0.
37803 (test_main): Call new testcase, adapt for renamed function.
37804
9c55864e
AJ
378052012-08-15 Andreas Jaeger <aj@suse.de>
37806
37807 [BZ #14090]
37808 * crypt/md5test2.c: New test, based on test supplied by Serge
37809 Belyshev <belyshev@depni.sinp.msu.ru>.
37810 * crypt/Makefile (xtests): Add md5test-giant..
37811 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37812
02dcb6c5
PE
378132012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37814
37815 [BZ #14090]
37816 * crypt/md5.c (md5_process_block): Don't assume the buffer
37817 length is less than 2**32.
37818 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37819 length is less than 2**64.
37820
a3f95dcc
RM
378212012-08-15 Roland McGrath <roland@hack.frob.com>
37822
be75d758
RM
37823 * string/str-two-way.h: Include <sys/param.h>.
37824 (MAX): Macro removed.
37825
7312ca90
RM
37826 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37827 Move #define and #undef of memmove to just before and after
37828 including <string.h>.
37829
9a0a5486
RM
37830 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37831 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37832 and after including <string.h>. Move declarations of
37833 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37834 to before #include "string/memmove.c".
37835
67cc348d
RM
37836 * include/dirent.h: Declare __getdirentries.
37837
a3f95dcc
RM
37838 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37839 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37840
ca98e171
MF
378412012-08-14 Mike Frysinger <vapier@gentoo.org>
37842
37843 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37844 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37845 * sysdeps/i386/configure: Regenerated.
37846 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37847 STABS_CURRENT_FILE, and STABS_FUN.
37848 (END): Remove call to STABS_FUN_END.
37849 (STABS_CURRENT_FILE1): Delete.
37850 (STABS_CURRENT_FILE): Likewise.
37851 (STABS_FUN): Likewise.
37852 (STABS_FUN_END): Likewise.
37853 (STABS_FUN2): Likewise.
37854 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37855 * sysdeps/x86_64/configure: Regenerated.
37856
5908bf46
RM
378572012-08-14 Roland McGrath <roland@hack.frob.com>
37858
37859 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37860 * elf/dl-lookup.c: Likewise.
5908bf46 37861
f2c05b9e
JM
378622012-08-14 Joseph Myers <joseph@codesourcery.com>
37863
37864 * sysdeps/unix/sysv/linux/kernel-features.h
37865 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37866 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37867 unconditionally.
37868 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37869 unconditionally.
37870 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37871 condition on __ASSUME_CLONE_THREAD_FLAGS.
37872
e11f5155
AJ
378732012-08-14 Andreas Jaeger <aj@suse.de>
37874
37875 * sysdeps/i386/fpu/libm-test-ulps: Update.
37876
51a9ba86
MK
378772012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37878
2fdd4f78
AJ
37879 * include/atomic.h (atomic_exchange_and_add): Split into ...
37880 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37881 New atomic macros.
51a9ba86 37882
ba6cba9e
MT
378832012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37884
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37886
42443a47
JL
378872012-08-13 Jeff Law <law@redhat.com>
37888
37889 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37890 null byte in the output string.
37891
121dce05
JM
378922012-08-10 Joseph Myers <joseph@codesourcery.com>
37893
37894 * sysdeps/unix/sysv/linux/kernel-features.h
37895 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37896 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37897 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37899 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37900 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37901 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37902
bf51f568
JL
379032012-08-09 Jeff Law <law@redhat.com>
37904
37905 [BZ #13939]
37906 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37907 When avoid_arena is set, don't retry in the that arena. Pick the
37908 next one, whatever it might be.
37909 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37910 (arena_lock): Pass in new parameter to arena_get2.
37911 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37912 arena_get2.
37913 (__libc_malloc): Unify retrying after main arena failure with
37914 __libc_memalign version.
37915 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37916
f85fa270
L
379172012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37918
37919 [BZ #14166]
37920 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37921 to __redirect_strstr.
37922 (__strstr_sse42): Use typeof __redirect_strstr.
37923 (__strstr_ia32): Likewise.
37924 (__libc_strstr): New prototype.
37925 (strstr): Renamed to ...
37926 (__libc_strstr): This.
37927 (strstr): New strong alias of __libc_strstr.
37928 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37929 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37930 __redirect_time.
37931 Include <time.h>.
37932 (__libc_time): New prototype.
37933 (time_ifunc): Replace time with __libc_time.
37934 (time): New strong alias and hidden definition of __libc_time.
37935 (__GI_time): Remove strong alias.
37936 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37937 Include <stddef.h>.
37938 (memmove): Redefined to __redirect_memmove.
37939 (__memmove_sse2): Use typeof __redirect_memmove.
37940 (__memmove_ssse3): Likewise.
37941 (__memmove_ssse3_back): Likewise.
37942 (__libc_memmove): New prototype.
37943 (memmove): Renamed to ...
37944 (__libc_memmove): This.
37945 (memmove): New strong alias of __libc_memmove.
37946
33b4a91e
MS
379472012-08-08 Mark Salter <msalter@redhat.com>
37948
37949 * elf/elf.h
37950 (R_MN10300_TLS_GD): Define.
37951 (R_MN10300_TLS_LD): Likewise.
37952 (R_MN10300_TLS_LDO): Likewise.
37953 (R_MN10300_TLS_GOTIE): Likewise.
37954 (R_MN10300_TLS_IE): Likewise.
37955 (R_MN10300_TLS_LE): Likewise.
37956 (R_MN10300_TLS_DTPMOD): Likewise.
37957 (R_MN10300_TLS_DTPOFF): Likewise.
37958 (R_MN10300_TLS_TPOFF): Likewise.
37959 (R_MN10300_SYM_DIFF): Likewise.
37960 (R_MN10300_ALIGN): Likewise.
37961 (R_MN10300_NUM): Update.
37962
b36137f1
JM
379632012-08-08 Joseph Myers <joseph@codesourcery.com>
37964
37965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37966 Remove.
37967
cdd915fd
RM
379682012-08-08 Roland McGrath <roland@hack.frob.com>
37969
a2433aac
RM
37970 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37971
cdd915fd
RM
37972 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37973 sysdeps/unix -> sysdeps/posix move.
37974 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37975
bf9b740a
AM
379762012-08-07 Allan McRae <allan@archlinux.org>
37977
37978 [BZ #14303]
37979 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37980 (SUNOS_CPP): Likewise.
37981 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37982 not found.
37983 (open_input): Call CPP using execvp.
37984
93df14ee
JM
379852012-08-07 Joseph Myers <joseph@codesourcery.com>
37986
37987 * sysdeps/unix/sysv/linux/kernel-features.h
37988 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37989 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37990 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37991 (__ASSUME_WAITID_SYSCALL): Likewise.
37992 * sysdeps/unix/sysv/linux/dl-execstack.c
37993 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37994 code unconditional.
37995 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37996 conditional code.
37997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37998 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37999 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38000 code.
38001 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38002 unconditional.
38003 [__ASSUME_WAITID_SYSCALL]: Likewise.
38004 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38005
d34689de
RM
380062012-08-07 Roland McGrath <roland@hack.frob.com>
38007
a281decc
RM
38008 * sysdeps/unix/closedir.c: Renamed to ...
38009 * sysdeps/posix/closedir.c: ... here.
38010 * sysdeps/unix/dirfd.c: Renamed to ...
38011 * sysdeps/posix/dirfd.c: ... here.
38012 * sysdeps/unix/dirstream.h: Renamed to ...
38013 * sysdeps/posix/dirstream.h: ... here.
38014 * sysdeps/unix/fdopendir.c: Renamed to ...
38015 * sysdeps/posix/fdopendir.c: ... here.
38016 * sysdeps/unix/opendir.c: Renamed to ...
38017 * sysdeps/posix/opendir.c: ... here.
38018 * sysdeps/unix/readdir.c: Renamed to ...
38019 * sysdeps/posix/readdir.c: ... here.
38020 * sysdeps/unix/readdir_r.c: Renamed to ...
38021 * sysdeps/posix/readdir_r.c: ... here.
38022 * sysdeps/unix/rewinddir.c: Renamed to ...
38023 * sysdeps/posix/rewinddir.c: ... here.
38024 * sysdeps/unix/seekdir.c: Renamed to ...
38025 * sysdeps/posix/seekdir.c: ... here.
38026 * sysdeps/unix/telldir.c: Renamed to ...
38027 * sysdeps/posix/telldir.c: ... here.
38028 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38029 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38030 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38031 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38032
22895b47
RM
38033 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38034 * bits/fcntl.h: ... here.
38035
707a53b6
RM
38036 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38037 not 0.
38038 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38039 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38040 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38041 (struct flock): Move l_start, l_len to the beginning.
38042 Use __pid_t for l_pid.
38043 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38044 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38045 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38046 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38047 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38048 [__USE_LARGEFILE64] (struct flock64): New type.
38049 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38050
f0bd3e25
RM
38051 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38052 * bits/dirent.h: ... here.
38053
d34689de
RM
38054 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38055 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38056
6dad2c06
JM
380572012-08-07 Joseph Myers <joseph@codesourcery.com>
38058
38059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38060 Change from 2.6.0 to 2.6.16.
38061 * sysdeps/unix/sysv/linux/configure: Regenerated.
38062 * sysdeps/unix/sysv/linux/kernel-features.h
38063 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38064 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38065 version.
38066 (__ASSUME_UTIMES): Likewise.
38067 (__ASSUME_CLONE_STOPPED): Remove.
38068 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38069 architectures, not kernel version.
38070 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38071 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38072 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38073 (__ASSUME_WAITID_SYSCALL): Likewise.
38074 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38075 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38076 * README: State 2.6.16 as minimum Linux kernel version. Do not
38077 refer to older versions.
38078
03af9520
RM
380792012-08-06 Roland McGrath <roland@hack.frob.com>
38080
8e49df1d
RM
38081 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38082 Define alphasort64 as an alias.
38083 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38084 Define versionsort64 as an alias.
38085 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38086 Define scandir64 as an alias.
38087 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38088 Define scandirat64 as an alias.
38089 * dirent/alphasort64.c (alphasort64):
38090 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38091 * dirent/versionsort64.c: Likewise.
38092 * dirent/scandir64.c: Likewise.
38093 * dirent/scandirat64.c: Likewise.
38094 * sysdeps/wordsize-64/alphasort.c: File removed.
38095 * sysdeps/wordsize-64/alphasort64.c: File removed.
38096 * sysdeps/wordsize-64/scandir.c: File removed.
38097 * sysdeps/wordsize-64/scandir64.c: File removed.
38098 * sysdeps/wordsize-64/scandirat.c: File removed.
38099 * sysdeps/wordsize-64/scandirat64.c: File removed.
38100 * sysdeps/wordsize-64/versionsort.c: File removed.
38101 * sysdeps/wordsize-64/versionsort64.c: File removed.
38102 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38103 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38110
38111 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38113 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38115 [defined __arch64__ || defined __sparcv9]
38116 (__INO_T_MATCHES_INO64_T): New macro.
38117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38118 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38119 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38120 * sysdeps/unix/sysv/linux/bits/dirent.h
38121 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38122 (_DIRENT_MATCHES_DIRENT64): New macro.
38123
03af9520
RM
38124 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38125 Define lockf64 as an alias.
38126 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38127 Define fseeko64 as an alias.
38128 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38129 Define ftello64 as an alias.
38130 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38131 Define _IO_fgetpos64 and fgetpos64 as aliases.
38132 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38133 Define _IO_fsetpos64 and fsetpos64 as aliases.
38134 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38135 Conditionalize body on this.
38136 * libio/fseeko64.c: Likewise.
38137 * libio/ftello64.c: Likewise.
38138 * libio/iofgetpos64.c: Likewise.
38139 * libio/iofsetpos64.c: Likewise.
38140 * sysdeps/wordsize-64/lockf.c: File removed.
38141 * sysdeps/wordsize-64/lockf64.c: File removed.
38142 * sysdeps/wordsize-64/fseeko.c: File removed.
38143 * sysdeps/wordsize-64/fseeko64.c: File removed.
38144 * sysdeps/wordsize-64/ftello.c: File removed.
38145 * sysdeps/wordsize-64/ftello64.c: File removed.
38146 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38147 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38148 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38149 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38150 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38151 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38152 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38153 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38154 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38155 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38156 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38157 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38160
38161 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38163 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38165 [defined __arch64__ || defined __sparcv9]
38166 (__OFF_T_MATCHES_OFF64_T): New macro.
38167 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38168 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38170 (__OFF_T_MATCHES_OFF64_T): New macro.
38171
c5757acd
L
381722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38173
38174 * stdlib/secure-getenv.c (__secure_getenv): Replace
38175 GLIBC_2_16 with GLIBC_2_17.
38176
3a31811e
L
381772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38178
38179 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38180 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38181
faa2bccb
DM
381822012-08-03 David S. Miller <davem@davemloft.net>
38183
38184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38185
85fe1997
JM
381862012-08-03 Joseph Myers <joseph@codesourcery.com>
38187
38188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38189 Remove.
38190 (__ASSUME_CORRECT_SI_PID): Likewise.
38191 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38192 (__ASSUME_TMPFS_NAME): Likewise.
38193 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38194 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38195 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38196 (HAVE_AUX_SECURE): Make definition unconditional.
38197 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38198 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38199
4f75b7a0
RM
382002012-08-03 Roland McGrath <roland@hack.frob.com>
38201
38202 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38203 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38204 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38205 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38206 __eloop_threshold instead of SYMLOOP_MAX.
38207
38208 * sysdeps/generic/eloop-threshold.h: New file.
38209 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38210 of MAXSYMLINKS.
38211 * elf/chroot_canon.c (chroot_canon): Likewise.
38212
7aab07e4
JM
382132012-08-03 Joseph Myers <joseph@codesourcery.com>
38214
38215 [BZ #13717]
38216 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38217 Change to 2.6.0 everywhere.
38218 * sysdeps/unix/sysv/linux/configure: Regenerated.
38219 * sysdeps/unix/sysv/linux/kernel-features.h
38220 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38221 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38222 kernel versions.
38223 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38224 (__ASSUME_FUTEX_REQUEUE): Remove.
38225 (__ASSUME_STATFS64): Define unconditionally.
38226 (__ASSUME_AT_SECURE): Likewise.
38227 (__ASSUME_CORRECT_SI_PID): Likewise.
38228 (__ASSUME_TGKILL): Define without depending on kernel version for
38229 i386.
38230 (__ASSUME_UTIMES): Likewise.
38231 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38232 kernel version.
38233 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38234 (__ASSUME_TMPFS_NAME): Likewise.
38235 * README: Update reference to Linux kernel versions.
38236
b67e9372
MP
382372012-08-02 Marek Polacek <polacek@redhat.com>
38238
1f529f7d 38239 [BZ# 14150]
b67e9372
MP
38240 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38241 libc_cv_asm_type_prefix with %.
38242 * configure: Regenerated.
d2441631
RM
38243 * include/libc-symbols.h: Remove comment about
38244 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38245 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38246 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38247 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38248 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38249 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38250 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38251 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38252 * elf/tst-unique2mod1.c: Likewise.
38253 * elf/tst-unique1mod2.c: Likewise.
38254 * elf/tst-unique1mod1.c: Likewise.
38255 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38256 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38257 Replace ASM_TYPE_DIRECTIVE with .type.
38258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38259 * sysdeps/i386/sysdep.h: Likewise.
38260 * sysdeps/x86_64/sysdep.h: Likewise.
38261 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38263 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38264 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38265 * sysdeps/powerpc/powerpc32/sysdep.h:
38266 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38267 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38268 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38269 * sysdeps/i386/fpu/e_powf.S: Likewise.
38270 * sysdeps/i386/fpu/e_expl.S: Likewise.
38271 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38272 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38273 * sysdeps/i386/fpu/e_pow.S: Likewise.
38274 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38275 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38276 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38277 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38278 * sysdeps/i386/fpu/e_log2.S: Likewise.
38279 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38280 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38281 * sysdeps/i386/fpu/e_powl.S: Likewise.
38282 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38283 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38284 * sysdeps/i386/fpu/e_logl.S: Likewise.
38285 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38286 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38287 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38288 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38289 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38290 * sysdeps/i386/fpu/e_log.S: Likewise.
38291 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38292 * sysdeps/i386/fpu/e_logf.S: Likewise.
38293 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38294 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38295 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38296 * sysdeps/i386/fpu/e_log10.S: Likewise.
38297 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38298 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38299 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38300 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38301 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38303 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38304 * sysdeps/i386/i686/strtok.S: Likewise.
38305 * sysdeps/i386/i386-mcount.S: Likewise.
38306 * sysdeps/i386/strtok.S: Likewise.
38307 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38308 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38310 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38312 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38313 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38314 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38315 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38316 * sysdeps/x86_64/_mcount.S: Likewise.
38317 * sysdeps/x86_64/strtok.S: Likewise.
38318 * sysdeps/sh/_mcount.S: Likewise.
38319
2747bf9a
RM
383202012-08-01 Roland McGrath <roland@hack.frob.com>
38321
38322 * libio/iofopen.c: Include <fcntl.h>.
38323 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38324 (_IO_fopen64, fopen64): Define as aliases.
38325 * libio/iofopen64.c: Include <fcntl.h>.
38326 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38327 Conditionalize body on this.
38328 * sysdeps/wordsize-64/iofopen.c: File removed.
38329 * sysdeps/wordsize-64/iofopen64.c: File removed.
38330
3fb791b8
MP
383312012-08-01 Marek Polacek <polacek@redhat.com>
38332
38333 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38334 Use dlfcn directly instead of a variable.
38335 (binfmt-subdir): Do not define.
38336 (dlfcn): Likewise.
38337
a9f1039f
JM
383382012-08-01 Joseph Myers <joseph@codesourcery.com>
38339
23bddc06
JM
38340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38341 Remove all definitions.
38342 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38343 <kernel-features.h>.
38344 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38345 (miss_F_GETOWN_EX): Remove all definitions.
38346 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38347 macro definition.
38348 [!__ASSUME_FCNTL64]: Remove conditional code.
38349 [__ASSUME_FCNTL64]: Make code unconditional.
38350 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38351 <kernel-features.h>.
38352 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38353 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38354 (lockf64) [__NR_fcntl64]: Make code unconditional.
38355 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38356
a9f1039f
JM
38357 * sysdeps/unix/sysv/linux/kernel-features.h
38358 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38359 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38360 Make code unconditional.
38361 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38362 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38364 [__NR_vfork]: Make code unconditional.
38365 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38366 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38368 [__NR_vfork]: Make code unconditional.
38369 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38370 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38371
09c0ee5f
RM
383722012-08-01 Roland McGrath <roland@hack.frob.com>
38373
48aec5b9
RM
38374 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38375 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38376
cd97c966
RM
38377 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38378 Define mkstemp64 as an alias.
3f55550c
RM
38379 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38380 Define mkstemps64 as an alias.
cd97c966
RM
38381 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38382 Define mkostemp64 as an alias.
b8625cfc
RM
38383 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38384 Define mkostemps64 as an alias.
cd97c966
RM
38385 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38386 Conditionalize body on this.
38387 * misc/mkostemp64.c: Likewise.
b8625cfc 38388 * misc/mkostemps64.c: Likewise.
3f55550c 38389 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38390 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38391 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38392 * sysdeps/wordsize-64/mkostemp.c: File removed.
38393 * sysdeps/wordsize-64/mkstemp.c: File removed.
38394 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38395 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38396 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38398
09c0ee5f
RM
38399 [BZ #14138]
38400 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38401 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38402 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38403 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38404
38405 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38406 compat_symbol macros from <shlib-compat.h> rather than the underlying
38407 default_symbol_version and symbol_version macros, so that DEFAULT
38408 lines in shlib-versions are respected.
38409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38410
7e66ee51
FW
384112012-08-01 Florian Weimer <fweimer@redhat.com>
38412
38413 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38414 Declare with warn_unused_result.
38415 (setgid, setregid, setegid, setresgid): Likewise.
38416 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38417 Likewise.
38418 * WUR-REPORT: Remove set*id functions.
38419
d2a54255
PT
384202012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38421
38422 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38423
7ecdb005
RM
384242012-07-31 Roland McGrath <roland@hack.frob.com>
38425
b4180a5e 38426 [BZ #10191]
789bd351
RM
38427 * include/sys/socket.h (__libc_accept, __libc_accept4):
38428 Add attribute_hidden.
38429 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38430
40ce302d
RM
38431 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38432 use of PTR_MANGLE.
38433 * inet/getnetgrent_r.c (setup): Likewise.
38434
7ecdb005
RM
38435 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38436
e2eabb2c
DM
384372012-07-31 David S. Miller <davem@davemloft.net>
38438
38439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38440
d0419dbf
JM
384412012-07-31 Joseph Myers <joseph@codesourcery.com>
38442
38443 [BZ #13629]
38444 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38445 value between 1.0 and 2.0 and smaller part has absolute value less
38446 than 1.0.
38447 * math/s_clog10.c (__clog10): Likewise.
38448 * math/s_clog10f.c (__clog10f): Likewise.
38449 * math/s_clog10l.c (__clog10l): Likewise.
38450 * math/s_clogf.c (__clogf): Likewise.
38451 * math/s_clogl.c (__clogl): Likewise.
38452 * math/libm-test.inc (clog_test): Add more tests.
38453 (clog10_test): Likewise.
38454 * sysdeps/i386/fpu/libm-test-ulps: Update.
38455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38456
2bc13872
FW
384572012-07-31 Florian Weimer <fweimer@redhat.com>
38458
38459 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38460 Exit with zero in case no suitable GID is found, and write a
38461 message to standard error.
38462
bea9b193
RM
384632012-07-30 Roland McGrath <roland@hack.frob.com>
38464
38465 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38466 rather than to 1.
38467 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38468 (MAXPATHLEN): Removed.
38469 (NOGROUP, NODEV): New macros.
38470 (setbit, clrbit, isset, isclr): New macros.
38471 (howmany, roundup, powerof2): New macros.
38472 (DEV_BSIZE): New macro.
38473
38474 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38475 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38476
38477 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38478 definition on [!__NO_LONG_DOUBLE_MATH].
38479
38480 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38481 PTR_MANGLE and PTR_DEMANGLE.
38482
38483 * socket/accept4.c (accept4): Rename to __libc_accept4.
38484 Define accept4 as a weak alias.
38485
38486 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38487 on [_DIRENT_HAVE_D_TYPE].
38488 * io/ftw.c (ftw_dir): Likewise.
38489
38490 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38491
38492 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38493
38494 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38495 Use the BSD numbers rather than the arbitrary ones we had.
38496 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38497 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38498 (SIGXCPU, SIGXFSZ): New macros.
38499 (_NSIG): Now 32.
38500
38501 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38502 initializer on [_LIBC_REENTRANT].
38503
38504 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38505 definitions inside [_POSIX_MAPPED_FILES].
38506
38507 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38508
38509 * dirent/opendir.c: Include <fcntl.h>.
38510
38511 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38512 (__libc_getspecific): Likewise.
38513 (__libc_key_create): Likewise.
38514
38515 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38516 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38517 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38518 (tmpfile64): Define as alias.
38519 * sysdeps/wordsize-64/tmpfile.c: File removed.
38520 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38521 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38523
38524 * stdio-common/vfscanf.c: Include <stdbool.h>.
38525 * nss/makedb.c: Likewise.
38526 * stdio-common/_i18n_number.h: Likewise.
38527 * argp/argp-help.c: Likewise.
38528 * posix/wordexp.c: Likewise.
38529 * sysdeps/posix/spawni.c: Likewise.
38530 * nss/nss_files/files-initgroups.c: Likewise.
38531 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38532 * nss/nss_files/files-initgroups.c: Likewise.
38533 * nss/nss_db/db-netgrp.c: Likewise.
38534 * nss/nss_db/db-initgroups.c: Likewise.
38535 * io/fchmodat.c: Include <sys/stat.h>.
38536
38537 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38538 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38539
38540 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38541 [HAVE_MMAP].
38542
38543 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38544 Add multiple inclusion protection.
38545
e5abc686
DM
385462012-07-27 David S. Miller <davem@davemloft.net>
38547
38548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38549
815e6fa3
GB
385502012-07-27 Gary Benson <gbenson@redhat.com>
38551
38552 [BZ #14298]
38553 * elf/rtld.c: Include <stap-probe.h>.
38554 (dl_main): Added static probes "init_start" and "init_complete".
38555 * elf/dl-load.c: Include <stap-probe.h>.
38556 (lose): Take new parameter "nsid".
38557 Added static probe "map_failed".
38558 (_dl_map_object_from_fd): Pass namespace id to lose.
38559 Added static probe "map_start".
38560 (open_verify): Pass namespace id to lose.
38561 * elf/dl-open.c: Include <stap-probe.h>.
38562 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38563 and "reloc_complete".
38564 * elf/dl-close.c: Include <stap-probe.h>.
38565 (_dl_close_worker): Added static probes "unmap_start" and
38566 "unmap_complete".
38567 * elf/rtld-debugger-interface.txt: New file documenting the above.
38568
9f98c16c
RM
385692012-07-26 Roland McGrath <roland@hack.frob.com>
38570
38571 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38572 rather than a string variable.
38573 * sunrpc/rpc_main.c (h_output): Likewise.
38574 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38575
f3c22df3
PT
385762012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38577
38578 * inet/check_native.c: New file.
38579
3129cfc6
JM
385802012-07-26 Joseph Myers <joseph@codesourcery.com>
38581
da865e95
JM
38582 [BZ #13629]
38583 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38584 if larger part has absolute value 1.0.
38585 * math/s_clog10.c (__clog10): Likewise.
38586 * math/s_clog10f.c (__clog10f): Likewise.
38587 * math/s_clog10l.c (__clog10l): Likewise.
38588 * math/s_clogf.c (__clogf): Likewise.
38589 * math/s_clogl.c (__clogl): Likewise.
38590 * math/libm-test.inc (clog_test): Add more tests.
38591 (clog10_test): Likewise.
38592 * sysdeps/i386/fpu/libm-test-ulps: Update.
38593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38594
3129cfc6
JM
38595 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38596 (pltexit): Likewise.
38597 (La_regs): Likewise.
38598 (La_retval): Likewise.
38599 (int_retval): Likewise.
38600 Update #error for removed macros to refer only to definitions in
38601 tst-audit.h.
38602 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38603 macro.
38604 (pltexit): Likewise.
38605 (La_regs): Likewise.
38606 (La_retval): Likewise.
38607 (int_retval): Likewise.
38608 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38609 macro.
38610 (pltexit): Likewise.
38611 (La_regs): Likewise.
38612 (La_retval): Likewise.
38613 (int_retval): Likewise.
38614 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38615 macro.
38616 (pltexit): Likewise.
38617 (La_regs): Likewise.
38618 (La_retval): Likewise.
38619 (int_retval): Likewise.
38620 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38621 macro.
38622 (pltexit): Likewise.
38623 (La_regs): Likewise.
38624 (La_retval): Likewise.
38625 (int_retval): Likewise.
38626 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38627 macro.
38628 (pltexit): Likewise.
38629 (La_regs): Likewise.
38630 (La_retval): Likewise.
38631 (int_retval): Likewise.
38632 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38633 macro.
38634 (pltexit): Likewise.
38635 (La_regs): Likewise.
38636 (La_retval): Likewise.
38637 (int_retval): Likewise.
38638 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38639 macro definitions in tst-audit.h.
38640 * sysdeps/i386/tst-audit.h: New file.
38641 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38642 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38643 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38644 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38645 * sysdeps/sh/tst-audit.h: Likewise.
38646 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38647 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38648 * sysdeps/x86_64/tst-audit.h: Likewise.
38649
bfc07087
AJ
386502012-07-26 Andreas Jaeger <aj@suse.de>
38651
b1b2aaf8
AJ
38652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38653 ptrace.
38654
38655 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38656 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38657 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38658 PTRACE_O_MASK.
38659 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38660 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38661 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38662
bfc07087
AJ
38663 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38664 value.
38665
38666 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38667 _sigsys.
38668 (si_call_addr, si_syscall, si_arch): Define new macro.
38669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38670 _sigsys.
38671 (si_call_addr, si_syscall, si_arch): Define new marcro.
38672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38673 _sigsys.
38674 (si_call_addr, si_syscall, si_arch): Define new macro.
38675 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38676 _sigsys.
38677 (si_call_addr, si_syscall, si_arch): Define new macro.
38678
89b4b02f
JM
386792012-07-25 Joseph Myers <joseph@codesourcery.com>
38680
38681 [BZ #13717]
38682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38683 Change to 2.4.21 where previously 2.4.1.
38684 * sysdeps/unix/sysv/linux/configure: Regenerated.
38685 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38686 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38687 Linux kernel version.
38688 (__ASSUME_STD_AUXV): Remove.
38689 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38690 kernel version.
38691 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38692 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38693 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38694 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38695 (__ASSUME_NETLINK_SUPPORT): Likewise.
38696 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38697 (__no_netlink_support): Remove conditional definition.
38698 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38699 Remove.
38700 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38701 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38702 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38703 (if_nameindex_ioctl): Remove.
38704 (if_nameindex_netlink): Do not handle __no_netlink_support.
38705 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38706 code.
38707 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38708 Remove conditional code.
38709 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38710 code.
38711 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38712 unconditional.
38713 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38714 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38715 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38716 Remove.
38717 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38718 [!__ASSUME_STD_AUXV]: Remove conditional code.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38720 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38721 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38723 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38724 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38725 code.
38726 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38728 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38729 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38730 conditional code.
38731 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38733 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38734 code.
38735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38736 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38737 conditional code.
38738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38739 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38740 code unconditional.
38741 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38742 conditional code.
38743 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38744 unconditional.
38745 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38746 conditional code.
38747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38748 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38749 unconditional.
38750 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38751 conditional code.
38752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38753 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38754 code unconditional.
38755 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38756 conditional code.
38757 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38758 unconditional.
38759 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38760 conditional code.
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38762 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38763 code unconditional.
38764 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38765 conditional code.
38766 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38767 unconditional.
38768 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38769 conditional code.
38770
842a39cd
AS
387712012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38772
38773 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38774 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38775 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38776 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38777 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38778 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38779 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38780 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38781 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38782 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38783 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38784 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38785 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38786 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38787 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38788 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38789 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38790 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38791 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38793 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38794 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38795 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38796
84b3fd84
FW
387972012-07-25 Florian Weimer <fweimer@redhat.com>
38798
38799 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38800 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38801 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38802 Introduce __libc_secure_getenv.
0c7936d5
FW
38803 * stdlib/Versions (2.17): Add secure_getenv
38804 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38805 * stdlib/secure-getenv.c: Rename __secure_getenv to
38806 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38807 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38808 * stdlib/tst-secure-getenv.c: New.
38809 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38810 * manual/startup.texi (Environment Access): Document
38811 secure_getenv.
84b3fd84
FW
38812 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38813 __libc_secure_getenv.
38814 * inet/ruserpass.c (ruserpass): Likewise.
38815 * malloc/mtrace.c (mtrace): Likewise.
38816 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38817 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38818 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38819 * sysdeps/posix/tempname.c: Likewise. Evaluate
38820 HAVE_SECURE_GETENV.
38821 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38822 __secure_getenv to __libc_secure_getenv.
84b3fd84 38823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38825 Likewise.
38826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38827 Likewise.
38828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38835
56e49b71
JM
388362012-07-25 Joseph Myers <joseph@codesourcery.com>
38837
38838 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38839 (struct La_i86_retval): Likewise.
38840 (struct La_x86_64_regs): Likewise.
38841 (struct La_x86_64_retval): Likewise.
38842 (struct La_x32_regs): Likewise.
38843 (struct La_x32_retval): Likewise.
38844 (struct La_ppc32_regs): Likewise.
38845 (struct La_ppc32_retval): Likewise.
38846 (struct La_ppc64_regs): Likewise.
38847 (struct La_ppc64_retval): Likewise.
38848 (struct La_sh_regs): Likewise.
38849 (struct La_sh_retval): Likewise.
38850 (struct La_s390_32_regs): Likewise.
38851 (struct La_s390_32_retval): Likewise.
38852 (struct La_s390_64_regs): Likewise.
38853 (struct La_s390_64_retval): Likewise.
38854 (struct La_sparc32_regs): Likewise.
38855 (struct La_sparc32_retval): Likewise.
38856 (struct La_sparc64_regs): Likewise.
38857 (struct La_sparc64_retval): Likewise.
38858 (struct audit_ifaces): Remove architecture-specific pltenter and
38859 pltexit members.
38860 * sysdeps/i386/ldsodefs.h: New file.
38861 * sysdeps/powerpc/ldsodefs.h: Likewise.
38862 * sysdeps/s390/ldsodefs.h: Likewise.
38863 * sysdeps/sh/ldsodefs.h: Likewise.
38864 * sysdeps/sparc/ldsodefs.h: Likewise.
38865 * sysdeps/x86_64/ldsodefs.h: Likewise.
38866
354691b7
MP
388672012-07-25 Marek Polacek <polacek@redhat.com>
38868
38869 [BZ #6808]
38870 * math/libm-test.inc (yn_test): Add another test.
38871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38872 to ERANGE when the result is +-Inf.
38873 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38874 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38875 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38876 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38877
bf9e2071
JM
388782012-07-24 Joseph Myers <joseph@codesourcery.com>
38879
38880 * conform/data/time.h-data (NULL): Use macro-constant. Require
38881 equal to 0.
38882 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38883 clock_t.
38884 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38885
57633811
TS
388862012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38887
38888 * configure.in <sysdeps resolving>: Correct printing
38889 Implies_before.
38890 * configure: Regenerate.
38891
c23c33b0
TS
388922012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38893
38894 * math/w_ilogb.c: Include <limits.h>.
38895 * math/w_ilogbl.c: Likewise.
38896
b5982523
JM
388972012-07-20 Joseph Myers <joseph@codesourcery.com>
38898
38899 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38900 va_copy. Document allowing for unavailable va_copy only as
38901 pre-C99 compatibility.
38902 * manual/string.texi (Copying and Concatenation): Use va_copy
38903 instead of __va_copy in concat example.
38904
ac4ea442
PT
389052012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38906
38907 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38908 (__sendto): Use create_address_port. Initialize APORT and deallocate
38909 it if not null.
38910
f98eafbd
PT
38911 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38912 with O_NOLINK passed to __file_name_lookup.
38913
898c7aab
PT
38914 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38915 with O_NOLINK passed to __file_name_lookup.
38916
0ced335a
PT
38917 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38918 negative N or less than NGIDS.
38919
b3404dbd
PT
38920 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38921 type to string_t. Set ERANGE as errno and return it if NAME is not big
38922 enough. Use memcpy instead of strncpy.
38923
0f48659e
JM
389242012-07-20 Joseph Myers <joseph@codesourcery.com>
38925
38926 * elf/Makefile (check-data): Remove.
38927 (localplt.data): New vpath directive.
38928 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38929 instead of $(check-data).
38930 * scripts/data/localplt-generic.data: Move to ...
38931 * sysdeps/generic/localplt.data: ... here.
38932 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38933 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38934 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38936 ... here.
38937 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38939 ... here.
38940 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38942 ... here.
38943 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38945 ... here.
38946 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38948 ... here.
38949 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38951 ... here.
38952
d37cbdaa
AZ
389532012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38954
38955 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38956 PPC32 and PPC64 files.
38957 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38958 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38959
46f85fc2
AK
389602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38961
38962 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38963 __makecontext_ret to ...
38964 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38965 ... here and call exit if uc_link is NULL. New file.
38966 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38967 __makecontext_ret.S.
38968 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38969 __makecontext_ret to ...
38970 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38971 ... here and call exit if uc_link is NULL. New file.
38972 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38973 __makecontext_ret.S.
38974
08f43f9b
AK
389752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38976
38977 * elf/elf.h (R_390_IRELATIVE): New definition.
38978 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38979 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38980 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38982 (elf_machine_lazy_rel): Likewise.
38983 * sysdeps/s390/dl-irel.h: New file.
38984 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38985 * sysdeps/s390/s390-64/memset.S: New asm code.
38986 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38987 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38988 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38989 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38990 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38991 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38992 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38993 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38994 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38995 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38996 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38997 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38998 * sysdeps/s390/s390-32/memset.S: New asm code.
38999 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39000
3b05db33
MP
390012012-07-17 Marek Polacek <polacek@redhat.com>
39002
39003 [BZ #14349]
39004 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39005 * sysdeps/s390/s390-64/configure.in: Likewise.
39006 * sysdeps/sparc/configure.in: Likewise.
39007 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39008 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39009 * sysdeps/i386/configure.in: Likewise.
39010 * sysdeps/x86_64/configure.in: Likewise.
39011 * sysdeps/sh/configure.in: Likewise.
39012 * sysdeps/s390/s390-32/configure: Regenerated.
39013 * sysdeps/s390/s390-64/configure: Likewise.
39014 * sysdeps/x86_64/configure: Likewise.
39015 * sysdeps/sh/configure: Likewise.
39016 * sysdeps/powerpc/powerpc64/configure: Likewise.
39017 * sysdeps/powerpc/powerpc32/configure: Likewise.
39018 * sysdeps/sparc/configure: Likwise.
39019 * sysdeps/i386/configure: Likewise.
39020
a66877c6
MP
39021 * elf/dl-open.c: Comment fixes.
39022
cfc82fd8
JM
390232012-07-17 Joseph Myers <joseph@codesourcery.com>
39024
bd29910a
JM
39025 * Makefile [CXX] (check-data): Remove.
39026 [CXX] (c++-types.data): New vpath directive.
39027 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39028 vpath. Do not allow for C++ type data being missing.
39029 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39030 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39031 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39032 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39033 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39034 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39035 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39037 ... here.
39038 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39040 ... here.
39041 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39043 ... here.
39044 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39046 ... here.
39047 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39049 ... here.
39050 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39052 ... here.
39053 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39055 ... here.
39056 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39058
cfc82fd8
JM
39059 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39060 definitions to architecture-specific files.
39061 (TLS_IE): Likewise.
39062 (TLS_LD): Likewise.
39063 (TLS_GD): Likewise.
39064 * sysdeps/i386/tls-macros.h: New file.
39065 * sysdeps/powerpc/tls-macros.h: Likewise.
39066 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39067 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39068 * sysdeps/sh/tls-macros.h: Likewise.
39069 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39070 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39071 * sysdeps/x86_64/tls-macros.h: Likewise.
39072
f7db3170
TS
390732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39074
07cbfc23
TS
39075 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39076 zero value for regular exit case.
39077
f7db3170
TS
39078 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39079 (__start_context): Preserve zero value for regular exit case.
39080
dc97c227
TS
390812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39082 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39083
39084 * manual/setjmp.texi (setcontext): Clarify normal process
39085 termination when uc_link is the null pointer.
39086 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39087 exit call.
39088
d0cd7d02
AS
390892012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39090
39091 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39092 preprocessor. Test for each exception mask separately.
39093
dd318934
AJ
390942012-07-16 Andreas Jaeger <aj@suse.de>
39095
39096 * po/ru.po: Update from translation team.
39097
8048311a
JM
390982012-07-15 Joseph Myers <joseph@codesourcery.com>
39099
39100 * conform/data/string.h-data (NULL): Use macro-constant. Require
39101 equal to 0.
39102 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39103 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39104 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39105 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39107
b637d46e
AJ
391082012-07-13 Andreas Jaeger <aj@suse.de>
39109
39110 * po/fr.po: Update from translation team.
39111
541428fe
MP
391122012-07-12 Marek Polacek <polacek@redhat.com>
39113
39114 [BZ #14173]
39115 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39116 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39117 loop condition.
39118
ec332e94
JM
391192012-07-12 Joseph Myers <joseph@codesourcery.com>
39120
39121 [BZ #13717]
39122 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39123 Change to 2.4.1 where previously 2.4.0.
39124 * sysdeps/unix/sysv/linux/configure: Regenerated.
39125 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39126 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39127 version.
39128 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39129 (__ASSUME_AT_CLKTCK): Remove.
39130 (__ASSUME_AT_PAGESIZE): Likewise.
39131 (__ASSUME_AT_XID): Likewise.
39132 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39133 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39134 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39135 unconditionally.
39136 (HAVE_AUX_PAGESIZE): Likewise.
39137 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39138 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39139 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39140
7b6e99be
JB
391412012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39142
39143 [BZ #14307]
39144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39145 the temporary buffer used to invoke __gethostbyname2_r,
39146 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39147 host_data / struct gaih_addrtuple.
39148 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39149 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39150 header file nss/nsswitch.h.
39151 * nss/nsswitch.h (global scope): Add definition of implementation
39152 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39153 resolv/nss_dns/dns-host.c).
39154
608404eb
AJ
391552012-07-11 Andreas Jaeger <aj@suse.de>
39156
39157 * po/fr.po: Update from translation team.
39158
71220aca
AJ
39159 * po/sv.po: Update from translation team
39160 * po/fr.po: Another update from translation team.
39161
28cfe843
AZ
391622012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39163
39164 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39165 for subnormals or multiply small sinh result by itself.
39166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39168
6b90f981
DM
391692012-07-11 David S. Miller <davem@davemloft.net>
39170
39171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39172
c6825772
AS
391732012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39174
39175 [BZ #14347]
39176 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39177 (INTERNAL_MARK): Shift it here.
39178
7b8e0d49
MP
391792012-07-10 Marek Polacek <polacek@redhat.com>
39180
39181 [BZ #14151]
39182 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39183 libc_cv_asm_global_directive with .globl.
39184 * configure: Regenerated.
39185 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39186 with .globl.
39187 * sysdeps/i386/configure: Regenerated.
39188 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39189 with .globl.
39190 * sysdeps/x86_64/configure: Regenerated.
39191 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39192 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39193 * elf/tst-unique2mod2.c: Likewise.
39194 * elf/tst-unique2mod1.c: Likewise.
39195 * elf/tst-unique1mod2.c: Likewise.
39196 * elf/tst-unique1mod1.c: Likewise.
39197 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39198 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39200 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39201 * sysdeps/mach/sysdep.h: Likewise.
39202 * sysdeps/i386/sysdep.h: Likewise.
39203 * sysdeps/i386/i386-mcount.S: Likewise.
39204 * sysdeps/x86_64/_mcount.S: Likewise.
39205 * sysdeps/x86_64/sysdep.h: Likewise.
39206 * sysdeps/sh/_mcount.S: Likewise.
39207 * sysdeps/sh/sysdep.h: Likewise.
39208 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39209 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39210 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39211 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39212 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39213 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39214 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39215 * locale/localeinfo.h: Likewise.
39216 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39217 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39218
6c55cda3
RM
392192012-07-09 Roland McGrath <roland@hack.frob.com>
39220
39221 [BZ #14336]
39222 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39223 system".
39224 * manual/message.texi (The Uniforum approach): Likewise.
39225 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39226 (glibc iconv Implementation): Likewise.
39227
638a572e
JM
392282012-07-09 Joseph Myers <joseph@codesourcery.com>
39229
39230 [BZ #14337]
39231 * math/s_clog.c (__clog): Avoid scaling a value down where that
39232 could result in underflow.
39233 * math/s_clog10.c (__clog10): Likewise.
39234 * math/s_clog10f.c (__clog10f): Likewise.
39235 * math/s_clog10l.c (__clog10l): Likewise.
39236 * math/s_clogf.c (__clogf): Likewise.
39237 * math/s_clogl.c (__clogl): Likewise.
39238 * math/libm-test.inc (clog_test): Add more tests.
39239 (clog10_test): Likewise.
39240 * sysdeps/i386/fpu/libm-test-ulps: Update.
39241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39242
261f4859
AS
392432012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39244
0abaf3e4
AS
39245 [BZ #14283]
39246 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39247 by 7 not 8 to examine high bit of fractional part.
39248
261f4859
AS
39249 [BZ #14042]
39250 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39251 for call to __mcount_internal.
39252 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39253 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39254 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39255
f17ac40d
JM
392562012-07-06 Joseph Myers <joseph@codesourcery.com>
39257
9ad63c23
JM
39258 [BZ #14154]
39259 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39260 approximation for values within 0x1p-13f of an odd multiple of
39261 pi/4.
39262 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39263 exception. Add more tests.
39264 * sysdeps/i386/fpu/libm-test-ulps: Update.
39265
f17ac40d
JM
39266 [BZ #6778]
39267 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39268 inputs and return -1 for them. Do not check for +Inf in case not
39269 reachable for +Inf.
39270 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39271 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39272 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39273 and return -1 for them. Do not check for +Inf in case not
39274 reachable for +Inf.
39275 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39276 define.
39277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39278 and return -1 for them. Do not check for +Inf in case not
39279 reachable for +Inf.
39280 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39281 spurious underflow.
39282 * sysdeps/i386/fpu/libm-test-ulps: Update.
39283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39284
fb21f89b
MF
392852012-07-06 Mike Frysinger <vapier@gentoo.org>
39286
39287 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39288
cdfe2c5e
JM
392892012-07-05 Joseph Myers <joseph@codesourcery.com>
39290
39291 [BZ #14157]
39292 [BZ #14331]
39293 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39294 could result in spurious underflow. Scale down values above
39295 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39296 * math/s_csqrtf.c (__csqrtf): Likewise.
39297 * math/s_csqrtl.c (__csqrtl): Likewise.
39298 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39299 spurious underflow.
39300 * sysdeps/i386/fpu/libm-test-ulps: Update.
39301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39302
70d35b67
AS
393032012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39304
704bc459
AS
39305 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39306 xopen-msg.sed.
39307 * catgets/xopen-msg.awk: New file.
39308 * catgets/xopen-msg.sed: Removed.
39309
70d35b67
AS
39310 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39311 po2text.sed.
39312 * intl/po2test.awk: New file.
39313 * intl/po2test.sed: Removed.
39314
ca61cf32
JM
393152012-07-04 Joseph Myers <joseph@codesourcery.com>
39316
39317 [BZ #14328]
39318 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39319 or multiply small sinh result by itself.
39320 * math/s_ctanf.c (__ctanf): Likewise.
39321 * math/s_ctanh.c (__ctanh): Likewise.
39322 * math/s_ctanhf.c (__ctanhf): Likewise.
39323 * math/s_ctanhl.c (__ctanhl): Likewise.
39324 * math/s_ctanl.c (__ctanl): Likewise.
39325 * math/libm-test.inc (ctan_test_tonearest): New function.
39326 (ctan_test_towardzero): Likewise.
39327 (ctan_test_downward): Likewise.
39328 (ctan_test_upward): Likewise.
39329 (ctanh_test_tonearest): Likewise.
39330 (ctanh_test_towardzero): Likewise.
39331 (ctanh_test_downward): Likewise.
39332 (ctanh_test_upward): Likewise.
39333 (main): Call these new functions.
39334 * sysdeps/i386/fpu/libm-test-ulps: Update.
39335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39336
ca48a46a
MF
393372012-07-03 Mike Frysinger <vapier@gentoo.org>
39338
39339 * .gitignore: Delete /ports entry.
39340
9d63d37d
AJ
393412012-07-03 Andreas Jaeger <aj@suse.de>
39342
39343 * po/bg.po: Update from translation team.
39344 * po/cs.po: Likewise.
39345 * po/de.po: Likewise.
39346 * po/hr.po: Likewise.
39347 * po/nl.pl: Likewise.
39348 * po/pl.po: Likewise.
39349 * po/vi.po: Likewise.
39350
370ca3d2
JM
393512012-07-03 Joseph Myers <joseph@codesourcery.com>
39352
95f5a9a8
JM
39353 * Makeconfig [!+link] (+link-before-libc): New variable.
39354 [!+link] (+link-after-libc): Likewise.
39355 [!+link] (+link-tests): Likewise.
39356 [!+link] (+link): Define in terms of $(+link-before-libc) and
39357 $(+link-after-libc).
39358 [!+link-static] (+link-static-before-libc): New variable.
39359 [!+link-static] (+link-static-after-libc): Likewise.
39360 [!+link-static] (+link-static-tests): Likewise.
39361 [!+link-static] (+link-static): Define in terms of
39362 $(+link-static-before-libc) and $(+link-static-after-libc).
39363 [build-shared] (link-libc-before-gnulib): New variable.
39364 [build-shared] (link-libc-tests): Likewise.
39365 [build-shared] (link-libc): Define in terms of
39366 $(link-libc-before-gnulib).
39367 [!build-shared] (link-libc-tests): New variable.
39368 (link-libc-static-tests): New variable.
39369 [!gnulib] (gnulib-arch): New variable.
39370 [!gnulib] (gnulib-tests): Likewise.
39371 [!gnulib] (static-gnulib-arch): Likewise.
39372 [!gnulib] (static-gnulib-tests): Likewise.
39373 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39374 Define with "=" instead of ":=".
39375 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39376 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39377 * Rules (binaries-all-notests): New variable.
39378 (binaries-all-tests): Likewise.
39379 (binaries-static-notests): Likewise.
39380 (binaries-static-tests): Likewise.
39381 (binaries-all): Define using $(binaries-all-notests) and
39382 $(binaries-all-tests).
39383 (binaries-static): Define using $(binaries-static-notests) and
39384 $(binaries-static-tests).
39385 (binaries-shared-tests): New variable.
39386 (binaries-shared-notests): Likewise.
39387 (binaries-shared): Remove variable.
39388 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39389 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39390 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39391 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39392 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39393 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39394 * elf/Makefile (sln-modules): New variable.
39395 (extra-objs): Add $(sln-modules:=.o).
39396 (ldconfig-modules): Add static-stubs.
39397 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39398 * elf/static-stubs.c: New file.
39399
7a845b2c
JM
39400 [BZ #14283]
39401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39402 by 7 not 8 to examine high bit of fractional part. Use volatile
39403 variables when splitting into final array of floats if
39404 __FLT_EVAL_METHOD__ != 0.
39405 * math/libm-test.inc (cos_test): Add another test.
39406 (sin_test): Likewise.
39407 * sysdeps/i386/fpu/libm-test-ulps: Update.
39408
e2283f38
JM
39409 [BZ #14273]
39410 * math/libm-test.inc (cosh_test): Add more tests.
39411
370ca3d2
JM
39412 * version.h (RELEASE): Set to "development".
39413 (VERSION): Set to "2.16.90".
39414
ee9247c3
CD
394152012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39416
39417 * NEWS: Update copyright. Remove last-updated date.
39418 Mention math library bug fixes and timezone data changes.
39419 * README: Mention GNU/Hurd, x32, and HPPA support status.
39420
4648c381
TS
394212012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39422
39423 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39424
aac78a43
AJ
394252012-06-27 Andreas Jaeger <aj@suse.de>
39426
39427 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39428
ed3dbfad
AJ
394292012-06-25 Andreas Jaeger <aj@suse.de>
39430
39431 * sysdeps/s390/fpu/libm-test-ulps: Update.
39432
4d0ee855
AS
394332012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39434 Thomas Schwinge <thomas@codesourcery.com>
39435
39436 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39437 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39439 fanotify_mark.
39440
af1bce34
TS
394412012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39442
a9fa33ba
TS
39443 * sysdeps/mach/start.c: Remove file.
39444 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39445 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39446 * sysdeps/sh/init-first.c: Likewise.
39447
58f902b8
TS
39448 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39449 registers for frame unwinding purposes, add CFI directives.
39450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39452 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39453 Likewise.
39454
1518f58b
TS
39455 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39456 __fortify_fail returning.
39457 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39458
db9b5059
TS
39459 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39460 sysdeps/sh/____longjmp_chk.S.
39461 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39462 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39463 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39464 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39465
967705fe
TS
39466 * sysdeps/sh/abort-instr.h: New file.
39467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39468 process in case exit returns.
39469
a9def8c4
TS
39470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39471 initialize the GOT register before use.
39472
2a649725
TS
39473 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39474 calculation of ARGC > 4.
39475
af1bce34
TS
39476 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39477 meaningful names to some local labels.
39478
d230f50a
KK
394792012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39480 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39481
39482 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39483 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39484 (__arch_compare_and_exchange_val_16_acq): Likewise.
39485 (__arch_compare_and_exchange_val_32_acq): Likewise.
39486 (atomic_exchange_and_add): Fix gUSA sequence.
39487 (atomic_add): Likewise.
39488 (atomic_add_negative): Likewise.
39489 (atomic_add_zero): Likewise.
39490 (atomic_bit_test_set): Likewise.
39491
0479b305
AS
394922012-06-22 Andreas Schwab <schwab@redhat.com>
39493
39494 [BZ #13579]
39495 * include/link.h (struct link_map): Add l_free_initfini.
39496 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39497 l_initfini.
39498 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39499 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39500 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39501 set.
39502
0e3933b9
CD
395032012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39504
39505 * configure.in: Use AC_LANG_SOURCE.
39506 * configure: Regenerate.
39507
4248b1b1
RM
395082012-06-22 Roland McGrath <roland@hack.frob.com>
39509
39510 * configure.in (libc_cv_localstatedir): New substituted variable.
39511 * configure: Regenerated.
39512 * config.make.in (localstatedir): New variable, substituted from
39513 libc_cv_localstatedir.
39514 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39515 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39516 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39517 * sysdeps/gnu/configure: Regenerated.
39518
006dd861
JL
395192012-06-21 Jeff Law <law@redhat.com>
39520
39521 [BZ #14277]
39522 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39523 free. Simplify list management for _LIBC case.
39524
79662d42
JM
395252012-06-21 Joseph Myers <joseph@codesourcery.com>
39526
b7abb4bf
JM
39527 [BZ #14273]
39528 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39529 Clear sign bit of 64-bit integer value before comparing against
39530 overflow value.
39531
79662d42
JM
39532 * sysdeps/mach/configure: Regenerated.
39533
1f150908
L
395342012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39535
39536 [BZ #14278]
39537 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39538
28363bbf
JL
395392012-06-21 Jeff Law <law@redhat.com>
39540
39541 [BZ #13882]
39542 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39543 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39544 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39545 * elf/dl-open.c (dl_open_worker): Likewise.
39546
09615db4
CD
395472012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39548
39549 * scripts/list-sources.sh: Scan PORTS for translations.
39550 * po/libc.pot: Regenerated.
39551
2174c6dd
AJ
395522012-06-21 Andreas Jaeger <aj@suse.de>
39553
39554 [BZ #12194]
39555 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39556 warning.
39557 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39558 * bits/byteswap-16.h (__bswap_16): Likewise.
39559 * bits/byteswap.h (__bswap_constant_16): Likewise.
39560
3ee947b1
L
395612012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39562
39563 [BZ #14117]
a2f34833
L
39564 * sysdeps/i386/fpu_control.h: Removed.
39565 * sysdeps/x86_64/fpu_control.h: Moved to ...
39566 * sysdeps/x86/fpu_control.h: Here.
39567
3ee947b1
L
39568 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39569 (_FPU_SETCW): Likewise.
39570
ed1825f8
L
395712012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39572
25f1282a
L
39573 [BZ #14117]
39574 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39575 * sysdeps/x86/fpu/bits/mathinline.h: This.
39576 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39577
ed1825f8
L
39578 [BZ #14050]
39579 [BZ #14117]
39580 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39581 functions if __x86_64__ is defined.
39582
36d54b74
CLT
395832012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39584
39585 * string/endian.h: Add !__ASSEMBLER__ condition for including
39586 conversion interfaces.
39587
10285c21
JM
395882012-06-15 Joseph Myers <joseph@codesourcery.com>
39589
39590 [BZ #14241]
39591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39592 of ABS(x) in calculating zero to negative powers other than odd
39593 integers.
39594 * math/libm-test.inc (pow_test): Add more tests.
39595
06c5abbd
AJ
395962012-06-15 Andreas Jaeger <aj@suse.de>
39597
39598 * manual/contrib.texi (Contributors): Update entry of Liubov
39599 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39600 Machado Filho.
39601
a3aeac40
CH
396022012-06-15 Cyril Hrubis <metan@ucw.cz>
39603
39604 * string/string.h: Add __wur to GNU version of strerror_r.
39605
49bdf4c1
L
396062012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39607
39608 [BZ #14229]
39609 * string/Makefile (tests): Add tst-strtok_r.
39610 * string/tst-strtok_r.c: New file.
39611 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39612 RAX_LP/RDX_LP on SAVE_PTR.
39613
834f9b8d
RM
396142012-06-14 Roland McGrath <roland@hack.frob.com>
39615
39616 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39617
75fa1921
JM
396182012-06-14 Joseph Myers <joseph@codesourcery.com>
39619
39620 * libm_test.inc (csqrt_test): Allow more spurious underflow
39621 exceptions.
39622 (j0_test): Likewise.
39623 (j1_test): Likewise.
39624 (y0_test): Likewise.
39625 (y1_test): Likewise.
39626
771766df
CD
396272012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39628
39629 * po/Makefile (libc.pot): Use UTF-8 charset.
39630
ceb9e56b
PP
396312012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39632
39633 [BZ #14210]
39634 Suppress sign-conversion warning from FD_SET.
39635 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39636 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39637 not unsigned long int.
39638 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39639
ddb28975
L
396402012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39641
39642 [BZ #14050]
39643 [BZ #14117]
39644 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39645 __extern_always_inline instead of __extern_inline.
39646 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39647 (__signbit): Likewise.
39648 (__signbitl): Support C++ namespace.
39649 (lrintf): New inline function.
39650 (lrint): Likewise.
39651 (llrintf): Likewise.
39652 (llrint): Likewise.
39653 (fmaxf): Likewise.
39654 (fmax): Likewise.
39655 (fminf): Likewise.
39656 (fmin): Likewise.
39657 (rint): Likewise.
39658 (rintf): Likewise.
39659 (ceil): Likewise.
39660 (ceilf): Likewise.
39661 (floor): Likewise.
39662 (floorf): Likewise.
39663 (nearbyint): Likewise.
39664 (nearbyintf): Likewise.
39665
d7b4fb26
TS
396662012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39667
39668 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39669 non-default versions.
39670
eb55f5c2
RM
396712012-06-11 Roland McGrath <roland@hack.frob.com>
39672
39673 [BZ #14218]
39674 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39675
366af02c
TS
396762012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39677
99ff6e5c
TS
39678 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39679 (FE_UPWARD, FE_DOWNWARD): Don't define.
39680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39681 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39682
366af02c
TS
39683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39684 reading it.
39685 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39687
793ea851
KK
396882012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39689
39690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39692 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39693 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39694
a728a38f
L
396952012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39696
39697 [BZ #14117]
c08010c7
L
39698 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39699 * sysdeps/i386/fpu/Implies: New file.
39700 * sysdeps/x86_64/fpu/Implies: Likewise.
39701 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39702 * sysdeps/x86/fpu/bits/fenv.h: This.
39703
a728a38f
L
39704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39705 __SSE_MATH__.
39706
6e230d11
SP
397072012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39708
39709 [BZ #14134]
39710 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39711 character 0xffff that matches the last element of the
39712 conversion table.
39713
1b671feb
AZ
397142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39715
39716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39717 fmodl commit.
39718
6043738b
AZ
397192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39720
39721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39722 values higher than 25.6283.
39723
34ae0b32
AZ
397242012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39725
39726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39727 subnormal exponent extraction and add some __builtin_expect.
39728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39729 Fix for subnormal mantissa calculation.
39730
1214ec8f
MF
397312012-06-04 Mike Frysinger <vapier@gentoo.org>
39732
39733 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39734 cpu2 is -1 and errno is not ENOSYS.
39735
f3d1f93c
L
397362012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39737
39738 [BZ #14117]
0e4a3cd7
L
39739 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39740 * sysdeps/x86/bits/string.h: This.
39741 * sysdeps/x86_64/bits/string.h: Removed.
39742
6704c645
L
39743 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39744 if not compiling for x86-64, but compiling for >= i486.
39745
48495318
L
39746 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39747 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39748
14adcbfc
L
39749 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39750 New macro from Linux kernel 3.4.0.
39751 (FP_XSTATE_MAGIC2): Likewise.
39752 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39753 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39754 (struct _fpx_sw_bytes): New struct.
39755 (struct _xsave_hdr): Likewise.
39756 (struct _ymmh_state): Likewise.
39757 (struct _xstate): Likewise.
39758
68e408ab
L
39759 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39760 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39762 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39764 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39765
f3d1f93c
L
39766 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39767 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39768 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39769 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39770 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39771 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39772
d9dc34cd
TMQMF
397732012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39774
39775 [BZ #13743]
39776 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39777 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39778 (sysdep_headers): Include sys/platform/ppc.h.
39779 * sysdeps/powerpc/test-gettimebase.c: Test for
39780 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39781 * manual/Makefile (appendices): Include platform.texi.
39782 * manual/contrib.texi (Contributors): Update @node pointers.
39783 * manual/maint.texi (Maintenance): Likewise.
39784 (Platform): New node.
39785 * manual/platform.texi: New file. Document the new features.
39786
4af3879c
SP
397872012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39788 Jakub Jelinek <jakub@redhat.com>
39789
39790 [BZ #14188]
39791 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39792 where __builtin_expect is unavailable.
39793
2fd6ff13
DM
397942012-06-03 David S. Miller <davem@davemloft.net>
39795
39796 * stdlib/longlong.h: Updated from GCC.
39797
173f7220
AS
397982012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39799
39800 [BZ #14042]
39801 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39802 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39803 __mcount_internal.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39805 (GLIBC_2.16): Likewise.
39806
f34a1c6f
L
398072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39808
39809 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39810
88a4576f
JM
398112012-06-01 Joseph Myers <joseph@codesourcery.com>
39812
ea32bcdd
JM
39813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39814 (default-abi): New variable.
39815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39816 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39817 variable.
39818 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39819 Likewise.
39820 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39821 Likewise.
39822 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39823 Likewise.
39824
88a4576f
JM
39825 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39826 definition. Document in comment.
39827
402fe938
DM
398282012-06-01 David S. Miller <davem@davemloft.net>
39829
39830 * stdlib/longlong.h: Updated from GCC.
39831
3553723f
L
398322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39833
39834 [BZ #14117]
3bd872c4
L
39835 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39836 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39837 sys/debugreg.h sys/io.h here.
39838 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39839 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39840 sys/io.h.
39841 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39842 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39843 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39844 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39845 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39846 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39847
3553723f
L
39848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39849 Define only if __x86_64__ is defined.
39850
4842e4fe
JM
398512012-06-01 Joseph Myers <joseph@codesourcery.com>
39852
c5bfe3d5
JM
39853 [BZ #14048]
39854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39855 Use int64_t for variable i.
39856 * math/libm-test.inc (fmod_test): Add more tests.
39857
4842e4fe
JM
39858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39859 z computation is not scheduled after fetestexcept.
39860 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39861 Use math_force_eval instead of asm to ensure calculation scheduled
39862 before exception test.
39863 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39864 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39865
efb73488
AJ
398662012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39867
39868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39869 computation is not scheduled after fetestexcept.
39870
29bcce7c
L
398712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39872
39873 [BZ #14117]
39874 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39875 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39876
73a68f94
AZ
398772012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39878
39879 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39881
67b6df78
L
398822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39883
edf2933a 39884 [BZ #14117]
ebc64a18
L
39885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39886 <bits/wordsize.h>.
39887 (__WCHAR_MIN): Support __WORDSIZE == 64.
39888 (__WCHAR_MAX): Likewise.
39889
edf2933a
L
39890 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39892
57c6cf40
L
39893 [BZ #14183]
39894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39895 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39896
67b6df78 39897 [BZ #14117]
8eb6281e
L
39898 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39900
aac639f4
L
39901 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39902 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39903
67b6df78
L
39904 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39905 Defined to 1 if __x86_64__ isn't defined.
39906 (_STAT_VER_LINUX_OLD): New.
39907 (st_atime): Remove duplicate.
39908 (st_mtime): Likewise.
39909 (st_ctime): Likewise.
39910
1c2cfe81
DM
399112012-05-31 David S. Miller <davem@davemloft.net>
39912
39913 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39914 entries.
39915
5be8418c
AS
399162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39917
e7725326
AS
39918 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39919 gen-libm-test.pl.
39920
5be8418c
AS
39921 [BZ #14132]
39922 * elf/dl-reloc.c: Include <_itoa.h>.
39923 (_dl_reloc_bad_type): Remove use of INTUSE.
39924 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39925 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39926 * stdio-common/psiginfo.c (psiginfo): Likewise.
39927 * stdio-common/psignal.c (psignal): Likewise.
39928 * string/strsignal.c (strsignal): Likewise.
39929 * include/signal.h (_sys_siglist): Declare hidden proto.
39930 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39931 INTVARDEF with libc_hidden_data_def.
39932 * stdio-common/itoa-udigits.c: Likewise.
39933 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39934 (_itoa_lower_digits_internal): Remove declaration.
39935 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39936 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39937 (_sys_sigabbrev_internal): Remove aliases.
39938 (_sys_siglist): Define hidden alias.
39939
507352f1
MT
399402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39941
39942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39943 bits/sysctl.h.
39944
42bbb1c3
L
399452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39946
39947 [BZ #14117]
6bd784b6
L
39948 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39949 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39950
8bca20f0
L
39951 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39952 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39953 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39954 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39956 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39957
f9e890a9
L
39958 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39959 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39960 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39961
471101a1
L
39962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39963 with __addr.
39964 (insw): Likewise.
39965 (insl): Likewise.
39966 (outsb): Likewise.
39967 (outsw): Likewise.
39968 (outsl): Likewise.
39969
6451c862
L
39970 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39971 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39972 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39973
a254b8c9
L
39974 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39975 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39976 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39977 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39978 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39979 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39980
b8dfdd92
L
39981 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39982 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39983
578cd270
L
39984 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39985 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39986
de662f5f
L
39987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39990
25653439
L
39991 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39992 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39993 to ...
39994 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39995
6bad24a0
L
39996 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39998 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39999
42bbb1c3
L
40000 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40001 for x86-64.
40002 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40003
2d10d547
JM
400042012-05-31 Joseph Myers <joseph@codesourcery.com>
40005
40006 * math/math.h (M_El): Use two more decimal places.
40007 (M_LOG2El): Likewise.
40008 (M_LOG10El): Likewise.
40009 (M_LN2l): Likewise.
40010 (M_LN10l): Likewise.
40011 (M_PIl): Likewise.
40012 (M_PI_2l): Likewise.
40013 (M_PI_4l): Likewise.
40014 (M_1_PIl): Likewise.
40015 (M_2_PIl): Likewise.
40016 (M_2_SQRTPIl): Likewise.
40017 (M_SQRT2l): Likewise.
40018 (M_SQRT1_2l): Likewise.
40019
f230c29b
DM
400202012-05-31 David S. Miller <davem@davemloft.net>
40021
40022 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40023 values between float registers.
40024 * sysdeps/sparc/sparc64/memset.S: Likewise.
40025 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40026
fed806c3
MF
400272012-05-31 Mike Frysinger <vapier@gentoo.org>
40028
40029 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40030 -D_FORTIFY_SOURCE=1.
40031 (CPPFLAGS-tst-longjmp_chk.c): Define.
40032 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40033 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40034 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40035 CFLAGS-tst-wchar-h.c.
40036
30917259
MP
400372012-05-31 Marek Polacek <polacek@redhat.com>
40038
40039 [BZ #14132]
40040 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40041 __endmntent_internal): Remove declaration.
40042 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40043 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40044 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40045
1c58d5dc
DM
400462012-05-30 David S. Miller <davem@davemloft.net>
40047
40048 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40049 (___Q_simulate_exceptions): Use real FP ops rather than writing
40050 into the %fsr.
40051 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40052 Likewise.
40053
7dc00e0d
L
400542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40055
40056 [BZ #14117]
0bd53985
L
40057 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40058 * sysdeps/x86/bits/xtitypes.h: This.
40059
3a257e66
L
40060 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40061 * sysdeps/x86/bits/wordsize.h: This.
40062
62f62904
L
40063 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40064 * sysdeps/x86/bits/huge_vall.h: This.
40065
404fe9d9
L
40066 * sysdeps/i386/bits/select.h: Removed.
40067 * sysdeps/x86_64/bits/select.h: Renamed to ...
40068 * sysdeps/x86/bits/select.h: This.
40069
d48d0446
L
40070 * sysdeps/i386/bits/setjmp.h: Removed.
40071 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40072 * sysdeps/x86/bits/setjmp.h: This.
40073
7dc00e0d
L
40074 * sysdeps/i386/bits/mathdef.h: Removed.
40075 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40076 * sysdeps/x86/bits/mathdef.h: This.
40077
03277f8f
AS
400782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40079
40080 [BZ #14132]
40081 * include/sys/socket.h (__connect_internal)
40082 (__libc_sa_len_internal): Remove declaration.
40083 (__connect, __libc_sa_len): Declare hidden_proto.
40084 (SA_LEN): Remove use of INTUSE.
40085 * socket/connect.c: Add libc_hidden_def.
40086 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40087 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40088 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40089 alias.
40090 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40091 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40092 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40093 of adding _internal alias.
40094
13764867
L
400952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40096
40097 [BZ #14117]
6bd97696
L
40098 * sysdeps/i386/bits/link.h: Removed.
40099 * sysdeps/i386/bits/linkmap.h: Likewise.
40100 * sysdeps/x86_64/bits/link.h: Renamed to ...
40101 * sysdeps/x86/bits/link.h: This.
40102 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40103 * sysdeps/x86/bits/linkmap.h: This.
40104
f726f0bb
L
40105 * sysdeps/i386/bits/endian.h: Removed.
40106 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40107 * sysdeps/x86/bits/endian.h: This.
40108
13764867
L
40109 * sysdeps/i386/bits/byteswap.h: Removed.
40110 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40111 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40112 * sysdeps/x86/bits/byteswap.h: This.
40113 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40114 * sysdeps/x86/bits/byteswap-16.h: This.
40115 * sysdeps/i386/Implies: Add x86.
40116 * sysdeps/x86_64/Implies: Likewise.
40117
ae251b0b
DM
401182012-05-30 David S. Miller <davem@davemloft.net>
40119
40120 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40121 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40122 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40123 (FP_TRAPPING_EXCEPTIONS): Define.
40124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40125 (FP_TRAPPING_EXCEPTIONS): Define.
40126 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40127 subnormals only when inexact has been signalled or underflow
40128 exceptions are enabled.
40129 (_FP_PACK_CANONICAL): Likewise.
40130
d5c90867
L
401312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40132
40133 [BZ #14183]
40134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40135 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40136
63f1549e
RH
401372012-05-30 Richard Henderson <rth@twiddle.net>
40138
8d8f2279
RH
40139 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40140 with #ifndef NOT_IN_libc.
40141
63f1549e
RH
40142 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40143 marked to avoid plt entry.
40144
0ab0291b
L
401452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40146
40147 [BZ #14112]
40148 * Makeconfig (default-abi): New macro.
40149 (abi-includes): Likewise.
40150 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40151 $(abi-$(default-abi)-lib-soname) for soname if defined.
40152 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40153 abi-variants.
40154 * Makefile (installed-stubs): Likewise.
40155 * include/stubs-biarch.h: Removed.
40156 * scripts/lib-names.awk: Only handle one library at a time.
40157 * scripts/soversions.awk: Remove WORDSIZE support.
40158 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40159 entries.
40160 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40161 Removed.
40162 (syscall-list-default-condition): Likewise.
40163 (syscall-list-default-condition): Likewise.
40164 (syscall-list-includes): Likewise.
40165 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40166 syscall-list-* with abi-*. Handle undefined abi-variants.
40167 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40168 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40169 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40170 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40171 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40172 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40173 Removed.
40174 (syscall-list-32-options): Likewise.
40175 (syscall-list-32-condition): Likewise.
40176 (syscall-list-64-options): Likewise.
40177 (syscall-list-64-condition): Likewise.
40178 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40179 macro.
40180 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40181 Renamed to ...
40182 (abi-*): This.
40183 (abi-64-ld-soname): New macro.
40184 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40185 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40186 Renamed to ...
40187 (abi-*): This.
40188 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40189 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40190
4da0431d
JM
401912012-05-30 Joseph Myers <joseph@codesourcery.com>
40192
3a85279c
JM
40193 * sysdeps/unix/sysv/linux/kernel-features.h
40194 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40195 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40196 include <kernel-features.h>.
40197 [!__NR_ftruncate64]: Remove conditional code.
40198 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40199 [__NR_ftruncate64]: Make code unconditional.
40200 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40201 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40202 include <kernel-features.h>.
40203 [!__NR_ftruncate64]: Remove conditional code.
40204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40205 [__NR_ftruncate64]: Make code unconditional.
40206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40208 include <kernel-features.h>.
40209 [!__NR_ftruncate64]: Remove conditional code.
40210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40211 [__NR_ftruncate64]: Make code unconditional.
40212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40214 include <kernel-features.h>.
40215 [!__NR_ftruncate64]: Remove conditional code.
40216 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40217 [__NR_ftruncate64]: Make code unconditional.
40218 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40219
4da0431d
JM
40220 * configure.in (libc_cv_fpie): Weaken to a compile test using
40221 LIBC_TRY_CC_OPTION.
40222 * configure: Regenerated.
40223
11ef492c
AK
402242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40225
40226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40230 Refreshed.
40231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40237 Refreshed.
40238
d66ef399
DM
402392012-05-27 David S. Miller <davem@davemloft.net>
40240
40241 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40242 (___Q_zero): New.
40243 (__Q_simulate_exceptions): Return void. Change to simulate
40244 exceptions by writing into the %fsr.
40245 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40246 (__Qp_handle_exceptions): Likewise.
40247 (numbers): Delete.
40248 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40249 __Qp_handle_exceptions.
40250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40251 __Qp_handle_exceptions.
40252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40253 as unused and give dummy FP_RND_NEAREST initializer.
40254 (FP_INHIBIT_RESULTS): Define.
40255 (___Q_simulate_exceptions): Update declaration.
40256 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40257 formatting.
40258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40259 as unused and give dummy FP_RND_NEAREST initializer.
40260 (__Qp_handle_exceptions): Update declaration.
40261 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40262 formatting.
40263
04fb54b5
TS
402642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40265
40266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40267 the temporary FPU control word.
40268 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40269 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40271 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40272 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40273 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40274 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40276 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40277 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40278 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40279
3f99608f
KK
402802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40281
40282 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40283 fields.
40284
65a4de4e
CLT
402852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40286
40287 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40288 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40289 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40290 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40291 Likewise.
40292 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40293 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40294 Likewise.
40295
15749d40
UD
402962012-05-27 Ulrich Drepper <drepper@gmail.com>
40297
40298 * po/h.po: Update from translation team.
40299
25dbcb27
AS
403002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40301
3d3f8e55
AS
40302 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40303
25dbcb27
AS
40304 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40305 handling of denormals.
40306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40307 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40308 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40313 Likewise.
40314
7ad47a80 403152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40316
40317 [BZ #14152]
40318 * math/libm-test.inc (fma_test): Don't always expect underflow
40319 exception.
40320
9c6ea9fa
SP
403212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40322
40323 [BZ #12416]
40324 * elf/tst-execstack.c: Include stackinfo.h.
40325 (do_test): Adjust test case to ensure that pthread_getattr_np
40326 behaviour remains the same after marking stack executable.
40327
a8239222
JM
403282012-05-25 Joseph Myers <joseph@codesourcery.com>
40329
40330 * sysdeps/unix/sysv/linux/kernel-features.h
40331 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40332 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40333 kernel-features.h.
40334 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40335 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40336 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40337 kernel-features.h.
40338 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40339 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40340
918b5606
L
403412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40342
40343 * configure.in: Define the default includes to being none.
40344 * configure: Regenerated.
40345
3a097cc7
RM
403462012-05-25 Roland McGrath <roland@hack.frob.com>
40347
8422c9a5
RM
40348 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40349 * sysdeps/x86_64/setjmp.S: Likewise.
40350 * sysdeps/i386/bsd-setjmp.S: Likewise.
40351 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40352 * sysdeps/i386/setjmp.S: Likewise.
40353 * sysdeps/i386/__longjmp.S: Likewise.
40354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40355 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40356
3a097cc7
RM
40357 * include/stap-probe.h: New file.
40358 * configure.in: Handle --enable-systemtap.
40359 * configure: Regenerated.
40360 * config.h.in (USE_STAP_PROBE): New #undef.
40361 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40362 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40363 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40364
21708942
JM
403652012-05-25 Joseph Myers <joseph@codesourcery.com>
40366
40367 [BZ #13717]
40368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40369 to 2.4.0 where earlier.
40370 * sysdeps/unix/sysv/linux/configure: Regenerated.
40371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40372 <kernel-features.h>.
40373 [__ASSUME_32BITUIDS]: Make code unconditional.
40374 [!__ASSUME_32BITUIDS]: Remove conditional code.
40375 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40376 <kernel-features.h>.
40377 [__ASSUME_32BITUIDS]: Make code unconditional.
40378 [!__ASSUME_32BITUIDS]: Remove conditional code.
40379 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40380 [__ASSUME_32BITUIDS]: Make code unconditional.
40381 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40382 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40383 <kernel-features.h>.
40384 [__ASSUME_32BITUIDS]: Make code unconditional.
40385 [!__ASSUME_32BITUIDS]: Remove conditional code.
40386 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40387 <kernel-features.h>.
40388 [__ASSUME_32BITUIDS]: Make code unconditional.
40389 [!__ASSUME_32BITUIDS]: Remove conditional code.
40390 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40391 <kernel-features.h>.
40392 [__ASSUME_32BITUIDS]: Make code unconditional.
40393 [!__ASSUME_32BITUIDS]: Remove conditional code.
40394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40395 <kernel-features.h>.
40396 [__ASSUME_32BITUIDS]: Make code unconditional.
40397 [!__ASSUME_32BITUIDS]: Remove conditional code.
40398 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40399 <kernel-features.h>.
40400 [__ASSUME_32BITUIDS]: Make code unconditional.
40401 [!__ASSUME_32BITUIDS]: Remove conditional code.
40402 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40403 <kernel-features.h>.
40404 [__ASSUME_32BITUIDS]: Make code unconditional.
40405 [!__ASSUME_32BITUIDS]: Remove conditional code.
40406 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40407 <kernel-features.h>.
40408 [__ASSUME_32BITUIDS]: Make code unconditional.
40409 [!__ASSUME_32BITUIDS]: Remove conditional code.
40410 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40411 <kernel-features.h>.
40412 [__ASSUME_32BITUIDS]: Make code unconditional.
40413 [!__ASSUME_32BITUIDS]: Remove conditional code.
40414 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40415 <kernel-features.h>.
40416 [__ASSUME_32BITUIDS]: Make code unconditional.
40417 [!__ASSUME_32BITUIDS]: Remove conditional code.
40418 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40419 <kernel-features.h>.
40420 [__ASSUME_32BITUIDS]: Make code unconditional.
40421 [!__ASSUME_32BITUIDS]: Remove conditional code.
40422 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40423 <kernel-features.h>.
40424 [__NR_setresgid] (__setresgid): Do not declare.
40425 [__ASSUME_32BITUIDS]: Make code unconditional.
40426 [!__ASSUME_32BITUIDS]: Remove conditional code.
40427 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40428 <kernel-features.h>.
40429 [__NR_setresuid] (__setresuid): Do not declare.
40430 [__ASSUME_32BITUIDS]: Make code unconditional.
40431 [!__ASSUME_32BITUIDS]: Remove conditional code.
40432 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40433 <kernel-features.h>.
40434 [__ASSUME_32BITUIDS]: Make code unconditional.
40435 [!__ASSUME_32BITUIDS]: Remove conditional code.
40436 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40437 <kernel-features.h>.
40438 [__ASSUME_32BITUIDS]: Make code unconditional.
40439 [!__ASSUME_32BITUIDS]: Remove conditional code.
40440 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40441 <kernel-features.h>.
40442 [__ASSUME_32BITUIDS]: Make code unconditional.
40443 [!__ASSUME_32BITUIDS]: Remove conditional code.
40444 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40445 <kernel-features.h>.
40446 [__ASSUME_32BITUIDS]: Make code unconditional.
40447 [!__ASSUME_32BITUIDS]: Remove conditional code.
40448 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40449 <kernel-features.h>.
40450 [__ASSUME_32BITUIDS]: Make code unconditional.
40451 [!__ASSUME_32BITUIDS]: Remove conditional code.
40452 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40453 <kernel-features.h>.
40454 [__ASSUME_32BITUIDS]: Make code unconditional.
40455 [!__ASSUME_32BITUIDS]: Remove conditional code.
40456 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40457 <kernel-features.h>.
40458 [__ASSUME_32BITUIDS]: Make code unconditional.
40459 [!__ASSUME_32BITUIDS]: Remove conditional code.
40460 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40461 <kernel-features.h>.
40462 [__ASSUME_32BITUIDS]: Make code unconditional.
40463 [!__ASSUME_32BITUIDS]: Remove conditional code.
40464 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40465 <kernel-features.h>.
40466 [__ASSUME_32BITUIDS]: Make code unconditional.
40467 [!__ASSUME_32BITUIDS]: Remove conditional code.
40468 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40469 <kernel-features.h>.
40470 [__ASSUME_32BITUIDS]: Make code unconditional.
40471 [!__ASSUME_32BITUIDS]: Remove conditional code.
40472 * sysdeps/unix/sysv/linux/kernel-features.h
40473 (__ASSUME_SETRESUID_SYSCALL): Remove.
40474 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40475 (__ASSUME_32BITUIDS): Likewise.
40476 (__ASSUME_LDT_WORKS): Likewise.
40477 (__ASSUME_O_DIRECTORY): Likewise.
40478 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40479 architecture but not kernel version.
40480 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40481 (__ASSUME_MMAP2_SYSCALL): Likewise.
40482 (__ASSUME_STAT64_SYSCALL): Likewise.
40483 (__ASSUME_IPC64): Likewise.
40484 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40485 <kernel-features.h>.
40486 [__ASSUME_32BITUIDS]: Make code unconditional.
40487 [!__ASSUME_32BITUIDS]: Remove conditional code.
40488 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40489 <kernel-features.h>.
40490 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40491 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40492 132096]: Remove conditional code.
40493 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40494 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40495 <kernel-features.h>.
40496 [__ASSUME_32BITUIDS]: Make code unconditional.
40497 [!__ASSUME_32BITUIDS]: Remove conditional code.
40498 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40499 <kernel-features.h>.
40500 [__ASSUME_32BITUIDS]: Make code unconditional.
40501 [!__ASSUME_32BITUIDS]: Remove conditional code.
40502 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40503 <kernel-features.h>.
40504 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40505 unconditional.
40506 (__setresgid): Do not declare.
40507 [__ASSUME_32BITUIDS]: Make code unconditional.
40508 [!__ASSUME_32BITUIDS]: Remove conditional code.
40509 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40510 <kernel-features.h>.
40511 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40512 unconditional.
40513 (__setresuid): Do not declare.
40514 [__ASSUME_32BITUIDS]: Make code unconditional.
40515 [!__ASSUME_32BITUIDS]: Remove conditional code.
40516 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40517 <kernel-features.h>.
40518 [__ASSUME_32BITUIDS]: Make code unconditional.
40519 [!__ASSUME_32BITUIDS]: Remove conditional code.
40520 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40521 <kernel-features.h>.
40522 [__ASSUME_32BITUIDS]: Make code unconditional.
40523 [!__ASSUME_32BITUIDS]: Remove conditional code.
40524
a386f1cc
RH
405252012-05-25 Richard Henderson <rth@twiddle.net>
40526
40527 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40528 dl_hwcap to ifunc resolver.
40529 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40530 elf_ifunc_invoke.
40531 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40532 dl_hwcap to ifunc resolver.
40533 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40534
b6550497
JM
405352012-05-24 Joseph Myers <joseph@codesourcery.com>
40536
40537 [BZ #14153]
40538 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40539 for |x| <= 2**-26, not 2**-57.
40540 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40541 exception.
40542
b0bc23a1
JL
405432012-05-24 Jeff Law <law@redhat.com>
40544
40545 * stdio-common/Makefile (tests): Add bug25.
40546 * stdio-common/bug25.c: New test.
40547
347c92e9
L
405482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40549
40550 [BZ #13576]
40551 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40552 multiple of MALLOC_ALIGNMENT in size.
40553 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40554
6bcc8b3f
JM
405552012-05-24 Joseph Myers <joseph@codesourcery.com>
40556
40557 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40558 Require >= 256.
40559 (FILENAME_MAX): Use macro-int-constant.
40560 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40561 (_IOFBF): Use macro-int-constant.
40562 (_IOLBF): Likewise.
40563 (_IONBF): Likewise.
40564 (SEEK_CUR): Likewise.
40565 (SEEK_END): Likewise.
40566 (SEEK_SET): Likewise.
40567 (TMP_MAX): Likewise.
40568 (EOF): Use macro-int-constant. Require < 0.
40569 (NULL): Use macro-constant. Require == 0.
40570 (stdin): Require type to be FILE *.
40571 (stdout): Likewise.
40572 (stderr): Likewise.
40573 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40574 macro-int-constant.
40575 (EXIT_SUCCESS): Likewise.
40576 (NULL): Use macro-constant. Require == 0.
40577 (RAND_MAX): Use macro-int-constant.
40578 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40579 [C99-based standards] (strtof): Require function.
40580 [C99-based standards] (strtold): Likewise.
40581 [C99-based standards] (strtoll): Likewise.
40582 [C99-based standards] (strtoull): Likewise.
40583 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40584 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40585 [ISO || ISO99 || ISO11] (math.h): Likewise.
40586 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40587 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40589
d18ea0c5
AS
405902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40591
40592 [BZ #14132]
56d25bb8
AS
40593 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40594 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40595 * intl/dgettext.c (DCGETTEXT): Likewise.
40596 * intl/gettext.c (DCGETTEXT): Likewise.
40597 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40598 * posix/regex_internal.h (gettext): Likewise.
40599 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40600 Remove declaration.
40601 * include/argz.h (__argz_count_internal)
40602 (__argz_stringify_internal): Remove declaration.
40603 (__argz_count, __argz_stringify): Declare hidden proto.
40604 * intl/dcgettext.c: Remove use of INTDEF.
40605 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40606 * string/argz-stringify.c: Likewise.
40607 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40608 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40609 Declare hidden proto.
d18ea0c5
AS
40610 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40611 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40612 Declare hidden proto.
40613 * include/stdio.h (__asprintf_internal): Don't declare.
40614 (__asprintf): Don't define as macro. Declare hidden proto.
40615 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40616 (__fsetlocking): Declare hidden proto.
40617 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40618 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40619 hidden proto.
40620 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40621 (_IO_setlinebuf): Remove use of INTUSE.
40622 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40623 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40624 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40625 Remove declaration.
40626 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40627 (_IO_do_flush): Remove use of INTUSE.
40628 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40629 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40630 (_IO_adjust_column, _IO_least_wmarker)
40631 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40632 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40633 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40634 (_IO_default_doallocate, _IO_wdefault_doallocate)
40635 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40636 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40637 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40638 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40639 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40640 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40641 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40642 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40643 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40644 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40645 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40646 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40647 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40648 proto.
40649 (_IO_flush_all_internal, _IO_adjust_column_internal)
40650 (_IO_default_uflow_internal, _IO_default_finish_internal)
40651 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40652 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40653 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40654 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40655 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40656 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40657 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40658 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40659 (_IO_file_close_internal, _IO_file_close_it_internal)
40660 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40661 (_IO_file_init_internal, _IO_file_attach_internal)
40662 (_IO_file_fopen_internal, _IO_file_read_internal)
40663 (_IO_file_sync_internal, _IO_file_seek_internal)
40664 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40665 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40666 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40667 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40668 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40669 (_IO_list_all_internal, _IO_link_in_internal)
40670 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40671 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40672 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40673 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40674 (_IO_do_write_internal, _IO_padn_internal)
40675 (_IO_getline_info_internal, _IO_getline_internal)
40676 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40677 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40678 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40679 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40680 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40681 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40682 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40683 with libc_hidden_ver, remove use of INTUSE.
40684 * libio/genops.c: Likewise.
40685 * libio/freopen.c: Likewise.
40686 * libio/freopen64.c: Likewise.
40687 * libio/iofclose.c: Likewise.
40688 * libio/iofdopen.c: Likewise.
40689 * libio/iofflush.c: Likewise.
40690 * libio/iofflush_u.c: Likewise.
40691 * libio/iofgets.c: Likewise.
40692 * libio/iofgets_u.c: Likewise.
40693 * libio/iofopen.c: Likewise.
40694 * libio/iofopncook.c: Likewise.
40695 * libio/iofread.c: Likewise.
40696 * libio/iofread_u.c: Likewise.
40697 * libio/ioftell.c: Likewise.
40698 * libio/iofwrite.c: Likewise.
40699 * libio/iogetline.c: Likewise.
40700 * libio/iogets.c: Likewise.
40701 * libio/iogetwline.c: Likewise.
40702 * libio/iopadn.c: Likewise.
40703 * libio/iopopen.c: Likewise.
40704 * libio/ioseekoff.c: Likewise.
40705 * libio/ioseekpos.c: Likewise.
40706 * libio/iosetbuffer.c: Likewise.
40707 * libio/iosetvbuf.c: Likewise.
40708 * libio/ioungetc.c: Likewise.
40709 * libio/ioungetwc.c: Likewise.
40710 * libio/iovdprintf.c: Likewise.
40711 * libio/iovsprintf.c: Likewise.
40712 * libio/iovsscanf.c: Likewise.
40713 * libio/memstream.c: Likewise.
40714 * libio/obprintf.c: Likewise.
40715 * libio/oldfileops.c: Likewise.
40716 * libio/oldiofclose.c: Likewise.
40717 * libio/oldiofdopen.c: Likewise.
40718 * libio/oldiofopen.c: Likewise.
40719 * libio/oldiopopen.c: Likewise.
40720 * libio/oldstdfiles.c: Likewise.
40721 * libio/putc.c: Likewise.
40722 * libio/setbuf.c: Likewise.
40723 * libio/setlinebuf.c: Likewise.
40724 * libio/stdfiles.c: Likewise.
40725 * libio/strops.c: Likewise.
40726 * libio/vasprintf.c: Likewise.
40727 * libio/vscanf.c: Likewise.
40728 * libio/vsnprintf.c: Likewise.
40729 * libio/vswprintf.c: Likewise.
40730 * libio/wfiledoalloc.c: Likewise.
40731 * libio/wfileops.c: Likewise.
40732 * libio/wgenops.c: Likewise.
40733 * libio/wmemstream.c: Likewise.
40734 * libio/wstrops.c: Likewise.
40735 * libio/__fpurge.c: Likewise.
40736 * libio/__fsetlocking.c: Likewise.
40737 * assert/assert.c: Likewise.
40738 * debug/fgets_chk.c: Likewise.
40739 * debug/fgets_u_chk.c: Likewise.
40740 * debug/fread_chk.c: Likewise.
40741 * debug/fread_u_chk.c: Likewise.
40742 * debug/gets_chk.c: Likewise.
40743 * debug/obprintf_chk.c: Likewise.
40744 * debug/vasprintf_chk.c: Likewise.
40745 * debug/vdprintf_chk.c: Likewise.
40746 * debug/vsnprintf_chk.c: Likewise.
40747 * debug/vsprintf_chk.c: Likewise.
40748 * malloc/mtrace.c: Likewise.
40749 * misc/error.c: Likewise.
40750 * misc/syslog.c: Likewise.
40751 * stdio-common/asprintf.c: Likewise.
40752 * stdio-common/fxprintf.c: Likewise.
40753 * stdio-common/getw.c: Likewise.
40754 * stdio-common/isoc99_fscanf.c: Likewise.
40755 * stdio-common/isoc99_scanf.c: Likewise.
40756 * stdio-common/isoc99_vfscanf.c: Likewise.
40757 * stdio-common/isoc99_vscanf.c: Likewise.
40758 * stdio-common/isoc99_vsscanf.c: Likewise.
40759 * stdio-common/printf-prs.c: Likewise.
40760 * stdio-common/printf_fp.c: Likewise.
40761 * stdio-common/printf_fphex.c: Likewise.
40762 * stdio-common/printf_size.c: Likewise.
40763 * stdio-common/putw.c: Likewise.
40764 * stdio-common/scanf.c: Likewise.
40765 * stdio-common/sprintf.c: Likewise.
40766 * stdio-common/tmpfile.c: Likewise.
40767 * stdio-common/vfprintf.c: Likewise.
40768 * stdio-common/vfscanf.c: Likewise.
40769 * stdlib/strfmon_l.c: Likewise.
40770 * sunrpc/openchild.c: Likewise.
40771 * sunrpc/xdr_stdio.c: Likewise.
40772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40773 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40774
d6c33fda
RM
407752012-05-24 Roland McGrath <roland@hack.frob.com>
40776
c1487492
RM
40777 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40778
40779 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40780 in the third column, to generate for the shared library an IFUNC
40781 that uses _dl_vdso_vsym.
40782 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40783 * Makeconfig (object-suffixes-noshared): New variable.
40784
40785 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40786 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40787 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40788 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40789
d6c33fda
RM
40790 [BZ #14132]
40791 * include/sys/time.h (__gettimeofday): Remove macro.
40792 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40793 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40794 Remove INTDEF.
40795 (__gettimeofday): Add libc_hidden_def.
40796 (gettimeofday): Add libc_hidden_weak.
40797 * sysdeps/mach/gettimeofday.c: Likewise.
40798 * sysdeps/posix/gettimeofday.c: Likewise.
40799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40800 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40802 (__gettimeofday_internal): Remove strong_alias.
40803 (__gettimeofday): Add libc_hidden_def.
40804 (gettimeofday): Add libc_hidden_weak.
40805 * sysdeps/unix/syscalls.list (gettimeofday):
40806 Remove __gettimeofday_internal alias.
40807
b5a2bbe6
L
408082012-05-24 Daniel Jacobowitz <drow@false.org>
40809 H.J. Lu <hongjiu.lu@intel.com>
40810
40811 [BZ #12495]
40812 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40813 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40814 (largebin_index_32_big): New.
40815 (largebin_index): Use it for 16-byte alignment.
40816 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40817 correction with front_misalign.
40818
cfba4fda
L
408192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40820
7f907421
L
40821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40823 Likewise.
40824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40825 Likewise.
40826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40827 Likewise.
40828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40829 Likewise.
40830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40831 Likewise.
40832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40833 Likewise.
40834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40835 Likewise.
40836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40837 Likewise.
40838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40839 Likewise.
40840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40841 Likewise.
40842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40843 Likewise.
40844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40845 Likewise.
40846
cfba4fda
L
40847 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40848 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40849
80bad0cc
JM
408502012-05-24 Joseph Myers <joseph@codesourcery.com>
40851
7a25eb06
JM
40852 [BZ #10846]
40853 [BZ #14036]
40854 * math/libm-test.inc (exp_test): Add test from bug 14036.
40855 (pow_test): Add test from bug 10846.
40856
795405f9
JM
40857 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40858 and other flags.
40859 (special_function): Do not include flags in test name.
40860 (parse_args): Likewise.
40861 * sysdeps/i386/fpu/libm-test-ulps: Update.
40862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40863 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40864 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40866
80bad0cc
JM
40867 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40868 exceptions.
40869 * math/libm-test.inc ("Philosophy"): Update comment about
40870 exception testing.
40871 (UNDERFLOW_EXCEPTION): New macro.
40872 (UNDERFLOW_EXCEPTION_OK): Likewise.
40873 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40874 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40875 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40876 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40877 (INVALID_EXCEPTION_OK): Update value.
40878 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40879 (OVERFLOW_EXCEPTION_OK): Likewise.
40880 (IGNORE_ZERO_INF_SIGN): Likewise.
40881 (test_exceptions): Handle underflow exceptions.
40882 (acos_test): Update for underflow exception expectations.
40883 (cexp_test): Likewise.
40884 (clog_test): Likewise.
40885 (clog10_test): Likewise.
40886 (csqrt_test): Likewise.
40887 (ctan_test): Likewise.
40888 (ctanh_test): Likewise.
40889 (exp_test): Likewise.
40890 (exp10_test): Likewise.
40891 (exp2_test): Likewise.
40892 (expm1_test): Likewise.
40893 (fma_test): Likewise.
40894 (j0_test): Likewise.
40895 (jn_test): Likewise.
40896 (nexttoward_test): Likewise.
40897 (pow_test): Likewise.
40898 (scalbn_test): Likewise.
40899 (scalbln_test): Likewise.
40900 (tan_test): Likewise.
40901 (y1_test): Likewise.
40902 * sysdeps/i386/fpu/libm-test-ulps: Update.
40903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40904
9e0e3d0b
DM
409052012-05-23 David S. Miller <davem@davemloft.net>
40906
40907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40908 (__libc_sigaction): Remove unused local variables.
40909
ccd0a08f
L
409102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40911
40912 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40913
62bdf9a6
PE
409142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40915
f8591f80
PE
40916 mktime: avoid signed integer overflow
40917 * time/mktime.c (__mktime_internal): Do not mishandle the case
40918 where diff == INT_MIN.
40919
94c7d826
PE
40920 mktime: simplify computation of average
40921 * time/mktime.c (ranged_convert): Use new time_t_avg function
40922 instead of rolling our own (probably-slower) code.
40923
ce73d683
PE
40924 mktime: do not assume signed right shift propagates sign bit
40925 * time/mktime.c (isdst_differ): New static function.
40926 (__mktime_internal): No need to normalize tm_isdst now.
40927 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40928 tm_isdst values.
40929
72a22e59
PE
40930 mktime: merge another wrapv change from gnulib
40931 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40932 from some compilers.
40933
68605433
PE
40934 mktime: remove incorrect attempt at unusual arithmetics
40935 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40936 The code didn't really work on such machines anyway.
40937 (TYPE_MINIMUM): Assume two's complement.
40938 (twos_complement_arithmetic): Verify that long_int and time_t
40939 are two's complement (or unsigned, in the latter case).
40940
03cf7fe3
PE
40941 mktime: check signed shifts on long_int and time_t, too
40942 * time/mktime.c (SHR): Check that shifts work as desired
40943 on the types long_int and time_t too, as SHR is used on
40944 such types.
40945
f04dfbc2
PE
40946 mktime: do not assume 'long' is wide enough
40947 * time/mktime.c (verify): Move decl up.
40948 (long_int): New type.
40949 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40950 to remove assumption in the code that 'long' is wide enough to
40951 store year values. This assumption is not true on x32 and on
40952 some non-glibc platforms.
40953
62bdf9a6
PE
40954 mktime: merge wrapv change from gnulib
40955 * time/mktime.c (WRAPV): New macro.
40956 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40957 (guess_time_tm, __mktime_internal): Do not assume that signed
40958 integer overflow wraps around; modern compilers generate code
40959 where this assumption is no longer valid.
40960
5e292e4f
L
409612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40962
40963 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40964 Replace "jmp L(pseudo_end)" with "ret".
40965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40966 Likewise.
40967
8caf8c87
AJ
409682012-05-23 Andreas Jaeger <aj@suse.de>
40969
40970 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40971 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40972
1a09dc56
AJ
409732012-05-23 Andreas Jaeger <aj@suse.de>
40974 Maximilian Attems <max@stro.at>
40975
40976 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40977 New macros.
40978
1c87aba0
L
409792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40980
40981 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40982 code so that pseudo_end is just ret and the stack pointer is
40983 correct also for static library in error case.
40984
40e45bd5
JM
409852012-05-23 Joseph Myers <joseph@codesourcery.com>
40986
c2670533
JM
40987 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40988 move to syscalls.list.
40989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40993
40e45bd5
JM
40994 * manual/install.texi (Running make install): Do not mention Linux
40995 kernel version for which pt_chown is not needed.
40996 (Linux): Do not mention problems with nscd with 2.0 kernels.
40997 * INSTALL: Regenerated.
40998
be08eda5
AJ
409992012-05-23 Andreas Jaeger <aj@suse.de>
41000
41001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41002 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41003 macro.
41004 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41006 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41008 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41014 * sysdeps/unix/sysv/linux/bits/in.h
41015 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41016
a6a056bb
RM
410172012-05-22 Roland McGrath <roland@hack.frob.com>
41018
41019 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41020 (PREPARE_VERSION): Just use assert instead, it will be elided
41021 under [NDEBUG] anyway.
41022
c9009328
L
410232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41024
41025 * sysdeps/unix/sysv/linux/Makefile: Include
41026 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41027 (sysdep_routines): Remove sysctl.
c9009328
L
41028 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41029 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41030 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41031 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41032 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41033
73338355
AJ
410342012-05-22 Andreas Jaeger <aj@suse.de>
41035
41036 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41037 that pseudo_end is just ret and the stack pointer is correct also
41038 for static library in error case.
41039
d44638b0
PP
410402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41041
41042 [BZ #14122]
41043 * nss/nsswitch.c (defconfig_entries): New variable.
41044 (__nss_database_lookup): Don't leak defconfig entries.
41045 (nss_parse_service_list): Don't leak on error paths.
41046 (free_database_entries): New function.
41047 (free_defconfig): New function.
41048 (free_mem): Move common code to free_database_entries.
41049
31a39bd8
L
410502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41051
da0331a8
L
41052 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41053 Add arch_prctl.
41054 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41055
31a39bd8
L
41056 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41057 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41059 New macro.
41060 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41061 (INTERNAL_SYSCALL_TYPES): Likewise.
41062 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41063 (LOAD_REGS_TYPES_[1-6]): Likewise.
41064 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41065 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41066
45470df3
AZ
410672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41068
41069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41070 copysignl for GLIBC_2_0.
41071 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41072 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41074 logbl for GLIBC_2_0.
41075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41076 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41077
98a61bcb
L
410782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41079
a4f6e481
L
41080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41081 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41082
f63d5db6
L
41083 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41084 Use "neg %eax".
41085
98a61bcb
L
41086 * time/mktime.c: Update copyright years.
41087
95770f14
PE
410882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41089
6226efbd
PE
41090 mktime: merge comment-quoting-style change from gnulib
41091 * time/mktime.c: Quote 'like this' in comments.
41092 The GNU coding standards suggest that we no longer quote `like this',
41093 as "`" and "'" are typically rendered asymmetrically nowadays.
41094 The typical gnulib style is to quote 'like this' when quoting
41095 code, and "like this" when quoting English.
41096
b99e4f78
PE
41097 * time/mktime.c (compile-command): Add "-I.".
41098
643e01e6
PE
41099 mktime: merge mktime-internal.h change from gnulib
41100 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41101
2554247d
PE
41102 mktime: merge time_r change from gnulib
41103 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41104
826dd0ab
PE
41105 mktime: merge DEBUG change from gnulib
41106 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41107 case system <time.h> has a #define.
41108
bd83aabe
PE
41109 mktime: merge <sys/types.h> change from gnulib
41110 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41111 since <time.t> is now guaranteed to define time_t.
41112
95770f14
PE
41113 mktime: merge HAVE_CONFIG_H change from gnulib
41114 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41115
5e1a27a9
L
411162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41117
0e44a77e
L
41118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41119 Use "neg %eax".
41120
5e1a27a9
L
41121 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41122 __rlim_t cast.
41123 (struct rusage): Use anonymous union to pad each field to
41124 __syscall_slong_t.
41125
46259bec
DM
411262012-05-21 David S. Miller <davem@davemloft.net>
41127
41128 * Makefules (o-iterator): Remove .s cases.
41129 (compile-command.s): Delete.
41130 (COMPILE.s): Delete.
41131 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41132
59f0c22e
JM
411332012-05-21 Joseph Myers <joseph@codesourcery.com>
41134
41135 * configure.in (libc_cv_predef_stack_protector): Only consider
41136 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41137 * configure: Regenerated.
41138
20c07380
L
411392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41140
bbb3154b
L
41141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41142 New macro. Use R*LP on int and pointer.
41143 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41144 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41145 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41146 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41147
20c07380
L
41148 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41149 [__WORDSIZE_TIME64_COMPAT32] instead of
41150 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41151 (struct utmp): Likewise.
41152 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41153 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41154 Renamed to ...
41155 (__WORDSIZE_TIME64_COMPAT32): This.
41156 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41157 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41158 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41159 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41160 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41161 (__WORDSIZE_TIME64_COMPAT32): New macro.
41162
d8d1017e
AJ
411632012-05-21 Andreas Jaeger <aj@suse.de>
41164
41165 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41166 only if [SHARED]. Add prototype for __wcschr_ia32.
41167
6c7fb145
RM
411682012-05-21 Roland McGrath <roland@hack.frob.com>
41169
41170 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41171 of %rbp unmolested in the jmp_buf while mangling the low bits.
41172 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41173 unmolested high bits of %rbp while demangling the low bits.
41174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41175
66274218
AJ
411762012-05-21 Andreas Jaeger <aj@suse.de>
41177
07c58f8f
AJ
41178 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41179 * sunrpc/svc_simple.c: Use it for registerrpc.
41180 * sunrpc/xcrypt.c: Use it for passwd2des.
41181
66274218
AJ
41182 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41183
61f65140
L
411842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41185
41186 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41187 Don't define if [__SYSCALL_WORDSIZE != 32].
41188 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41189 New macro.
41190
5fefb436
AJ
411912012-05-21 Bruno Haible <bruno@clisp.org>
41192 Andreas Jaeger <aj@suse.de>
41193
41194 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41195 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41196 inptr and inend for must_buffer_ch.
41197 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41198 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41199 * stdio-common/Makefile (tests): Remove bug15.
41200 (bug15-ENV): Remove macro.
41201 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41202 anymore.
41203
d8e272ab
AJ
412042012-05-19 Andreas Jaeger <aj@suse.de>
41205 Roland McGrath <roland@hack.frob.com>
41206
41207 * manual/contrib.texi: Completely rewritten. It contains now an
41208 alphabetical list of contributors and their contributions.
41209
4a56a162
RH
412102012-05-21 Richard Henderson <rth@twiddle.net>
41211
41212 * misc/getauxval.c (__getauxval): Use unsigned long int.
41213 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41214 (getauxval): Use unsigned long int.
41215
d024d23c
L
412162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41217
41218 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41219
cbc00a03
RM
412202012-05-21 Roland McGrath <roland@hack.frob.com>
41221
41222 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41223 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41224 __alignof__ (long double).
41225
478143fa
AZ
412262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41227
41228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41229
c7683a6d
RH
412302012-05-20 Richard Henderson <rth@twiddle.net>
41231
41232 * misc/getauxval.c: New file.
41233 * misc/sys/auxv.h: New file.
41234 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41235 (routines): Add getauxval.
41236 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41237 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41238 * elf/dl-sysdep.c (_dl_auxv): Remove.
41239 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41240 * elf/dl-support.c (_dl_auxv): New variable.
41241 (_dl_aux_init): Initialize it.
41242 * manual/startup.texi (Auxiliary Vector): New node.
41243 * sysdeps/generic/bits/hwcap.h: New file.
41244 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41245 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41246 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41247 * sysdeps/sparc/sysdep.h: ... here. Include it.
41248 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41251 Update.
c7683a6d
RH
41252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41260
a6f1845d
AZ
412612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41262
41263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41264
cbcbe830
DM
412652012-05-19 David S. Miller <davem@davemloft.net>
41266
41267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41268
e0b16cc2
JM
412692012-05-19 Joseph Myers <joseph@codesourcery.com>
41270
41271 [BZ #14123]
41272 * math/s_ccosh.c: Include <float.h>
41273 (__ccosh): Avoid internal overflow calculating sinh and cosh
41274 values before multiplying by sin and cos values.
41275 * math/s_ccoshf.c: Likewise.
41276 * math/s_ccoshl.c: Likewise.
41277 * math/s_csin.c: Likewise.
41278 * math/s_csinf.c: Likewise.
41279 * math/s_csinl.c: Likewise.
41280 * math/s_csinh.c: Likewise.
41281 * math/s_csinhf.c: Likewise.
41282 * math/s_csinhl.c: Likewise.
41283 * math/libm-test.inc (ccos_test): Add more tests.
41284 (ccosh_test): Likewise.
41285 (csin_test): Likewise.
41286 (csinh_test): Likewise.
41287 * sysdeps/i386/fpu/libm-test-ulps: Update.
41288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41289
6ad13e08
L
412902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41291
f66f0ce8
L
41292 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41293 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41294
6ad13e08
L
41295 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41296
b1d072a7
JM
412972012-05-19 Joseph Myers <joseph@codesourcery.com>
41298
41299 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41300 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41301 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41302 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41303 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41304 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41305 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41306 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41307 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41308 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41309 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41310 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41311 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41312 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41313 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41314 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41315 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41316 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41317 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41318 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41319 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41320 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41321 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41322 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41323 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41324 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41325 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41326 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41327 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41328 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41329 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41330
9eae47cb
AJ
413312012-05-18 Andreas Jaeger <aj@suse.de>
41332
41333 * csu/.gitignore: Delete.
41334
bb07f69f
L
413352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41336
41337 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41338 (timex): Use __syscall_slong_t.
41339
e6bdb741
AJ
413402012-05-18 Andreas Jaeger <aj@suse.de>
41341 Carlos O'Donell <carlos_odonell@mentor.com>
41342
41343 * manual/install.texi (Configuring and compiling): Update
41344 description about files modified in the source directory.
d6c33fda 41345 * INSTALL: Regenerated.
e6bdb741 41346
1b74487e
L
413472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41348
41349 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41350 value. Use "or" to set return value to -1.
41351 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41352 negate return value.
41353
a88b64b9
TMQMF
413542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41355
57f41c40
AS
41356 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41357 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41358 failure if the compiler has Graphite support disabled.
41359 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41360 Likewise.
57f41c40
AS
41361 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41362 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41363 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41364 Likewise.
41365
3707636e
L
413662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41367
610b8622
L
41368 * sysdeps/x86_64/x32/_itoa.h: New file.
41369
7cd195df
L
41370 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41371 getdents system call only if kernel and user dirents have the
41372 same d_ino and d_off.
41373
94b07d20
L
41374 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41375 LLONG_MAX != LONG_MAX.
41376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41377 (_fitoa_word): Likewise.
41378
18298070
L
41379 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41380 years.
41381 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41382 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41383 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41384
553c7ea4
L
41385 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41386 include <bits/wordsize.h>. Check __x86_64__ instead of
41387 __WORDSIZE.
41388 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41389 if __x86_64__ is defined. Use anonymous union on fpstate.
41390
3707636e
L
41391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41392 anonymous union.
41393
b53ef01a
AS
413942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41395
37fb1dc0
AS
41396 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41397 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41398 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41399 Refer to _rtld_local_ro instead of _rtld_global_ro.
41400 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41401 Likewise.
41402 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41403 Likewise.
41404 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41405 Likewise.
41406 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41407 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41408 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41409
b53ef01a
AS
41410 * sysdeps/powerpc/powerpc32/dl-machine.c
41411 (__elf_machine_runtime_setup) [PROF]: Don't reference
41412 _dl_prof_resolve.
41413
7a185db2
AJ
414142012-05-18 Andreas Jaeger <aj@suse.de>
41415
41416 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41417 function only available for GCCs before 3.4 since GCC 3.4
41418 introduced a builtin.
41419 (lrint): Likewise.
41420 (llrintf): Likewise.
41421 (llrint): Likewise.
41422 (fmaxf): Likewise.
41423 (fmax): Likewise.
41424 (fminf): Likewise.
41425 (fmin): Likewise.
41426 (rint): Likewise.
41427 (rintf): Likewise.
41428 (nearbyint): Likewise.
41429 (nearbyintf): Likewise.
41430 (ceil): Likewise.
41431 (ceilf): Likewise.
41432 (floor): Likewise.
41433 (floorf): Likewise.
41434
3e5aef87
L
414352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41436
428bd707
L
41437 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41438 on both fields and cast pointer to __syscall_ulong_t.
41439
3e5aef87
L
41440 * bits/types.h (__fsword_t): New type.
41441 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41442 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41444 (__FSWORD_T_TYPE): Likewise.
41445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41446 (__FSWORD_T_TYPE): Likewise.
41447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41448 (__FSWORD_T_TYPE): Likewise.
41449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41450 (__FSWORD_T_TYPE): Likewise.
41451 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41452 __SWORD_TYPE with __fsword_t.
41453 (statfs64): Likewise.
41454
1ba7c3dc
DM
414552012-05-17 David S. Miller <davem@davemloft.net>
41456
41457 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41458
59910343
AJ
414592012-05-17 Andreas Jaeger <aj@suse.de>
41460
41461 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41462 warning.
41463
2e4c1e9e
L
414642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41465
41466 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41467
de7f5ce7
AJ
414682012-05-17 Andreas Jaeger <aj@suse.de>
41469
41470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41471 when it is used.
41472
286abc3d
CM
414732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41474
41475 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41476
477cc68e
L
414772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41478
41479 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41480 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41481
1a0994f5
CD
414822012-05-17 Andreas Jaeger <aj@suse.de>
41483 Carlos O'Donell <carlos_odonell@mentor.com>
41484
41485 [BZ #14059]
41486 * sysdeps/x86_64/multiarch/init-arch.h
41487 (bit_YMM_Usable): Rename to...
41488 (bit_AVX_Usable): ... this.
41489 (bit_FMA4_Usable): New macro.
41490 (bit_XMM_state): New macro.
41491 (bit_YMM_state): New macro.
41492 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41493 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41494 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41495 (CPUID_OSXSAVE): New macro.
41496 (CPUID_AVX): New macro.
41497 (CPUID_FMA4): New macro.
41498 (index_YMM_Usable): Rename to...
41499 (index_AVX_Usable): ... this.
41500 (HAS_AVX): Use HAS_ARCH_FEATURE.
41501 (HAS_FMA4): Likewise.
41502 (HAS_YMM_USABLE): Remove.
41503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41504 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41505 are present.
41506 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41507 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41508 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41509 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41510 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41511
0af797de
CM
415122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41513
41514 * math/libm-test.c: Support platforms without multiple rounding modes.
41515 * math/bug-nextafter.c: Support platforms without FP exceptions.
41516 * math/bug-nexttoward.c: Likewise.
41517 * math/test-fenv.c: Likewise.
41518 * math/test-misc.c: Likewise.
41519 * stdlib/bug-getcontext.c: Likewise.
41520
e39745ff
AJ
415212012-05-17 Andreas Jaeger <aj@suse.de>
41522
41523 * manual/examples/search.c (critter_cmp): Change signature to
41524 avoid warnings.
41525 * manual/string.texi (Collation Functions): Likewise.
41526
48970aba
L
415272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41528
41529 * bits/types.h: Fold copyright years.
41530 * bits/typesizes.h: Likewise.
41531 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41535 * time/time.h: Likewise.
41536
bedee953
PP
415372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41538
41539 [BZ #208]
41540 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41541 in instead of returning them. Return void.
41542 (__libc_mallinfo): Accumulate over all arenas.
41543 (__malloc_stats): Adjust for change in int_mallinfo interface.
41544
61653dfb
RM
415452012-05-16 Roland McGrath <roland@hack.frob.com>
41546
30b99d79
RM
41547 [BZ #10375]
41548 * configure.in (NM): Add AC_CHECK_TOOL for it.
41549 (libc_extra_cflags): New substituted variable.
41550 Check for -fstack-protector being used implicitly.
41551 * configure: Regenerated.
41552 * config.make.in (config-extra-cflags): New variable,
41553 gets @libc_extra_cflags@.
41554 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41555
61653dfb
RM
41556 [BZ #10375]
41557 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41558 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41559 * configure: Regenerated.
41560 * config.make.in (CPPUNDEFS): New substituted variable.
41561 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41562 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41563 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41564
661768bb
L
415652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41566
41567 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41568 (mq_attr): Use __syscall_slong_t.
41569
d4261567
L
415702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41571
41572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41573 Check __x86_64__ instead of __WORDSIZE.
41574 (_STAT_VER_LINUX): Likewise.
41575 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41576 __syscall_ulong_t and __syscall_slong_t.
41577 (stat64): Likewise.
41578
cf3ff365
L
415792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41580
41581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41582
76cf3e4d
L
415832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41584
41585 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41586
a637753a
L
415872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41588
41589 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41590 __syscall_ulong_t.
41591
d5e05119
L
41592 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41593 include <bits/wordsize.h>. Check __x86_64__ instead of
41594 __WORDSIZE.
41595 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41596 defined.
41597 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41598
f62ee380
L
41599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41600 include <bits/wordsize.h>. Check __x86_64__ instead of
41601 __WORDSIZE.
41602 (user_regs_struct): Use "__extension__ unsigned long long"
41603 instead of "unsigned long" if __x86_64__ is defined.
41604 (user): Likewise. Pad after pointer field if __ILP32__ is
41605 defined.
41606
4e124ced
JM
416072012-05-16 Joseph Myers <joseph@codesourcery.com>
41608
6a3951a0
JM
41609 * configure.in (makeinfo): Require version 4.5 or later. Allow
41610 versions 5 to 9.
41611 * configure: Regenerated.
41612 * manual/install.texi (texinfo): Increase version requirement to
41613 4.5 or later.
41614 * INSTALL: Regenerated.
41615
4e124ced
JM
41616 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41617
953ca31a
L
416182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41619
41620 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41621
617aca05
L
41622 * sysdeps/x86_64/x32/ffs.c: New file.
41623
5762f7ae
L
41624 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41625 __syscall_ulong_t.
41626 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41627 defined. Use __syscall_ulong_t.
41628 (shminfo): Use __syscall_ulong_t.
41629 (shm_info): Likewise.
41630
a26b6856
L
41631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41632 __syscall_ulong_t.
41633
cb2b9ef7
L
41634 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41635 <bits/wordsize.h>.
41636 (msgqnum_t): Use __syscall_ulong_t.
41637 (msglen_t): Likewise.
41638 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41639 __syscall_ulong_t.
41640
34683bb0
L
41641 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41643
84a68786
L
41644 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41645
48baa5f1
L
41646 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41647 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41648
180be88b
L
41649 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41650 __syscall_slong_t.
41651
5e90c8ad
L
41652 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41653 include <bits/wordsize.h>. Check __x86_64__ instead of
41654 __WORDSIZE.
41655
23dfb58b
L
41656 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41657 "unsigned long long int" if __x86_64__ is defined.
41658 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41659
ce5d54b0
L
41660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41661 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41662 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41663
13dc9eac
L
41664 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41665 <stdint.h>.
41666 (GET_PC): Cast to uintptr_t first.
41667 (GET_FRAME): Likewise.
41668 (GET_STACK): Likewise.
41669
a7895d15
L
41670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41672 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41673 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41674 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41675 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41676 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41677 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41678 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41679 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41680 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41681 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41682 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41683 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41684 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41686 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41688 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41695 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41699
656416c9
AS
417002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41701
5bd66283
AS
41702 * Makerules (+depfiles): Also collect depfiles from .oS in
41703 $(extra-objs).
41704 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41705 .oS, $(libnldbl-routines)).
41706
656416c9
AS
41707 * Makerules (native-compile-mkdep-flags): Define.
41708 * sunrpc/Makefile (extra-objs): Add $(addprefix
41709 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41710 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41711 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41712 calling $(make-target-directory).
41713
a46f2169
L
417142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41715
41716 * bits/types.h (__snseconds_t): Removed.
41717 * time/time.h (struct timespec): Replace __snseconds_t with
41718 __syscall_slong_t.
41719 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41720 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41721 Likewise.
41722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41723 (__SNSECONDS_T_TYPE): Likewise.
41724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41725 (__SNSECONDS_T_TYPE): Likewise.
41726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41727 (__SNSECONDS_T_TYPE): Likewise.
41728
6af6528b
L
417292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41730
41731 * sysdeps/mach/hurd/bits/typesizes.h
41732 (__SYSCALL_SLONG_TYPE): New macro.
41733 (__SYSCALL_ULONG_TYPE): Likewise.
41734
de986b56
L
417352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41736
41737 * bits/types.h (__syscall_slong_t): New type.
41738 (__syscall_ulong_t): Likewise.
41739
41740 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41741 (__SYSCALL_ULONG_TYPE): Likewise.
41742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41743 (__SYSCALL_SLONG_TYPE): Likewise.
41744 (__SYSCALL_ULONG_TYPE): Likewise.
41745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41746 (__SYSCALL_SLONG_TYPE): Likewise.
41747 (__SYSCALL_ULONG_TYPE): Likewise.
41748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41749 (__SYSCALL_SLONG_TYPE): Likewise.
41750 (__SYSCALL_ULONG_TYPE): Likewise.
41751
85736dc7
L
417522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41755 Add sigaltstack-offsets.sym.
41756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41757 <sigaltstack-offsets.h>.
41758 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41759 longjmp_msg pointer.
41760 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41761 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41762 signal stack.
41763 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41764
cc03b296
JM
417652012-05-15 Joseph Myers <joseph@codesourcery.com>
41766
a9538892
JM
41767 * elf/stackguard-macros.h: Remove file.
41768 * sysdeps/generic/stackguard-macros.h: New file.
41769 * sysdeps/i386/stackguard-macros.h: Likewise.
41770 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41771 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41772 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41773 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41774 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41775 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41776 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41777 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41778 <elf/stackguard-macros.h>.
41779
cc03b296
JM
41780 [BZ #14109]
41781 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41782 __aligned__ in attribute.
41783 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41784 (gregset_t): Likewise.
41785
93171016
L
417862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41787
41788 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41789 * sysdeps/x86_64/64/Implies-after: Here. New file.
41790 * sysdeps/x86_64/x32/Implies-after: New file.
41791
d86813a0
L
417922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41793
41794 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41795 and access return value for _dl_profile_fixup. Use R10_LP to
41796 load frame size.
41797
2953ec75
L
417982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41799
41800 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41801
3b550e9e
L
418022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41803
41804 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41805 * sysdeps/x86_64/x32/sysdep.h: New file.
41806
eda41706
L
418072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41808
41809 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41810 * sysdeps/x86_64/setjmp.S: Likewise.
41811
9ea01d93
AZ
418122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41813
41814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41816 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41818 remove unused global constant.
41819
02a91938
CM
418202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41821
41822 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41823 include of <not-cancel.h>.
41824
6540185f
RM
418252012-05-15 Roland McGrath <roland@hack.frob.com>
41826
41827 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41828
509072a0
AJ
418292012-05-15 Jeff Law <law@redhat.com>
41830 Andreas Jaeger <aj@suse.de>
41831
41832 [BZ #13594]
41833 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41834 out from...
41835 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41836 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41837 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41838 code changing __hst_map_handle.map.
41839
ba75122d
RM
418402012-05-15 Roland McGrath <roland@hack.frob.com>
41841
41842 * configure.in (sysnames): Look for Implies-before and Implies-after
41843 files.
41844 * configure: Regenerated.
41845
890d8bd8
L
418462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41847
41848 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41849 8-byte data alignment with LP_SIZE alignment.
41850
f6ee6623
L
418512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41852
41853 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41854 into R10_LP.
41855
ea2626f6
L
418562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41857
41858 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41859
085f715e
L
418602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41861
41862 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41863 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41865 Likewise.
41866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41867
be8498fc
L
418682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41869
41870 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41871 (stackinfo_sub_sp): Likewise.
41872
70bc83b9
L
418732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41874
41875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41876 RAX_LP.
41877
9bc0b730
L
418782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41879
41880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41881 into R*_LP.
41882
6d2850e7
L
418832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41884
41885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41886 sizes into R*_LP.
41887
3cb84561
L
418882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41889
41890 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41891
54e2ed81
L
418922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41893
41894 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41895 into R11_LP and load __x86_64_shared_cache_size_half into
41896 R8_LP.
41897
8a17f349
L
418982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41899
41900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41901 R8_LP.
41902
777b1eea
AZ
419032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41904
41905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41906 logb for POWER7.
41907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41908 logbf for POWER7.
41909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41910 logbl for POWER7.
41911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41912 powerpc32/power7/fpu/s_logb.c via #include.
41913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41914 powerpc32/power7/fpu/s_logbf.c via #include.
41915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41916 powerpc32/power7/fpu/s_logbl.c via #include.
41917
d20d4ac2
JM
419182012-05-15 Joseph Myers <joseph@codesourcery.com>
41919
41920 * README.libm: Remove file.
41921
6cdef1ab
L
419222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41923
41924 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41925 count for x32. Use R*_LP and omit operand-size suffix.
41926
0b254d8f
L
419272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41928
41929 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41930 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41931 * sysdeps/x86_64/x32/shlib-versions: New file.
41932
ceb809dc
RM
419332012-05-14 Roland McGrath <roland@hack.frob.com>
41934
41935 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41936 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41937 Use _dl_fatal_printf instead.
41938
37f1abd4
JM
419392012-05-14 Joseph Myers <joseph@codesourcery.com>
41940
41941 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41942 set if not set by the user. Do not allow for being unset.
41943 * sysdeps/unix/sysv/linux/configure: Regenerated.
41944
11de3a33
L
419452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41946
41947 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41948 the `q' suffix from lea and replace .quad with ASM_ADDR.
41949
e02f153a
L
419502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41951
41952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41953 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41954 instead of $17.
41955 (PTR_DEMANGLE): Likewise.
41956
520ae0fd
L
419572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41958
41959 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41960 (LP_OP): Likewise.
41961 (ASM_ADDR): Likewise.
41962 (RAX_LP): Likewise.
41963 (RBP_LP): Likewise.
41964 (RBX_LP): Likewise.
41965 (RCX_LP): Likewise.
41966 (RDI_LP): Likewise.
41967 (RSI_LP): Likewise.
41968 (RSP_LP): Likewise.
41969 (R8_LP): Likewise.
41970 (R9_LP): Likewise.
41971 (R10_LP): Likewise.
41972 (R10_LP): Likewise.
41973 (R11_LP): Likewise.
41974 (R12_LP): Likewise.
41975 (R13_LP): Likewise.
41976 (R14_LP): Likewise.
41977 (R15_LP): Likewise.
41978
b985be81
L
419792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41980
41981 * sysdeps/x86_64/x32/dl-machine.h: New file.
41982
6a4888ff
AJ
419832012-05-14 Andreas Jaeger <aj@suse.de>
41984
41985 * manual/Makefile (subdir): Remove export of subdir.
41986 (all): Remove target.
41987 (.PHONY): Remove all from list.
41988 (mkinstalldirs): Remove.
41989 (.PHONY): Remove installdirs from list.
41990 ($(inst_infodir)/libc.info): Use make-target-directory.
41991 (installdirs): Remove.
41992 (subdir_%): Remove.
41993 (glibc-targets): Remove.
41994 (lib): Remove.
41995 (stubs): Remove.
41996 ($(objpfx)stubs ../po/manual.pot): Remove.
41997 ($(objpfx)stamp%): Remove.
41998 (make-target-directory): Remove.
41999 (subdir_install): Remove.
42000 (routines): Remove.
42001 (aux): Remove.
42002 (sources): Remove.
42003 (objects): Remove.
42004 (headers): Remove.
42005
42006 [BZ #13750]
42007 * manual/.gitignore: Remove, it's not needed anymore.
42008 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42009 all files in it.
42010 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42011 directory.
42012 (texis): Renamed to $(objpfx)texis.
42013 (texis-path): New, contains path to generated files.
42014 (chapters.%): Use texis-path for complete path, add extra argument
42015 libc-texinfo.sh.
42016 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42017 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42018 (summary,texi, stamp-summary): Use complete path of
42019 files. Generate files in build dir.
42020 (dir-add.texi): Build in build dir.
42021 (libm-err.texi,stamp-libm-err): Likewise.
42022 (version.texi, stamp-version): Likewise.
42023 (.%c.texi): Likewise.
42024 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42025 (mostlyclean): Remove target.
42026 (realclean): Remove target.
42027 (generated): Add new variable with contents from mostlyclean and
42028 realclean, remove entries duplicated in common-mostlyclean, add
42029 stamp-libm-err and stamp-version.
42030 (generated-dirs): Add libc directory.
42031 ($(inst_infodir)/libc.info): Install files from build dir.
42032
42033 * manual/install.texi (Configuring and compiling): Adjust since
42034 the info files are not part of the tar ball anymore.
42035
7ac77294
AJ
420362012-05-14 Andreas Jaeger <aj@suse.de>
42037
42038 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42039 variable.
42040
ffb7875d
JM
420412012-05-14 Joseph Myers <joseph@codesourcery.com>
42042
42043 [BZ #13717]
42044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42045 to 2.2.0 where earlier.
42046 * sysdeps/unix/sysv/linux/configure: Regenerated.
42047 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42048 Remove conditional code.
42049 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42050 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42051 Remove conditional code.
42052 [!__NR_lchown]: Likewise.
42053 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42054 [__NR_lchown]: Likewise.
42055 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42056 comment referencing __ASSUME_LCHOWN_SYSCALL.
42057 * sysdeps/unix/sysv/linux/i386/sigaction.c
42058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42060 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42061 Remove conditional code.
42062 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42063 (__protocol_available): Remove #if 0 code.
42064 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42065 conditional code.
42066 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42067 * sysdeps/unix/sysv/linux/kernel-features.h
42068 (__ASSUME_GETCWD_SYSCALL): Don't define.
42069 (__ASSUME_REALTIME_SIGNALS): Likewise.
42070 (__ASSUME_PREAD_SYSCALL): Likewise.
42071 (__ASSUME_PWRITE_SYSCALL): Likewise.
42072 (__ASSUME_POLL_SYSCALL): Likewise.
42073 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42074 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42075 non-SPARC.
42076 (__ASSUME_SIOCGIFNAME): Don't define.
42077 (__ASSUME_MSG_NOSIGNAL): Likewise.
42078 (__ASSUME_SENDFILE): Define unconditionally.
42079 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42080 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42081 conditional code.
42082 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42083 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42084 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42085 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42086 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42087 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42088 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42090 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42091 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42093 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42096 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42102 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42108 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42113 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42114 Remove conditional code.
42115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42116 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42117 Remove conditional code.
42118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42119 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42120 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42121 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42122 Remove conditional code.
42123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42124 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42125 Remove conditional code.
42126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42127 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42128 Remove conditional code.
42129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42130 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42131 Remove conditional code.
42132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42133 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42134 Remove conditional code.
42135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42136 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42137 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42139 * sysdeps/unix/sysv/linux/sigaction.c
42140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42142 * sysdeps/unix/sysv/linux/sigpending.c
42143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42145 * sysdeps/unix/sysv/linux/sigprocmask.c
42146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42148 * sysdeps/unix/sysv/linux/sigsuspend.c
42149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42151 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42152 (__libc_missing_rt_sigs): Remove.
42153 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42154 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42155 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42156 Remove conditional code.
42157 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42158 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42159 return 1.
42160 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42161 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42162 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42163 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42164
1bfb7291
AJ
421652012-05-14 Andreas Jaeger <aj@suse.de>
42166
caae5a81
AJ
42167 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42168 it's not used in glibc.
42169 (__coshm1): Likewise.
42170 (__acosh1p): Likewise.
42171 (__sgn): Likewise.
42172
1bfb7291
AJ
42173 * manual/string.texi (Copying and Concatenation): Add missing
42174 variable in concat example.
42175 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42176
c044d724
L
421772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42178
144c5467 42179 [BZ #14103]
c044d724
L
42180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42181 __builtin_clzl with __builtin_clzll.
42182
2523c62b
L
421832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42184
42185 [BZ #14104]
42186 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42187 libc_freeres_ptr.
42188
d7bb4c42
LD
421892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42190
42191 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42192 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42193 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42195
9dc4e1fb
MF
421962012-05-14 Mike Frysinger <vapier@gentoo.org>
42197
42198 * NEWS: Update ia64 info.
42199
c7df0112
AS
422002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42201
42202 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42203 used as bcopy.
42204
dc70356c
TS
422052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42206
42207 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42208 * sysdeps/unix/syscalls.list (dup3): Likewise.
42209 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42210 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42211
9fb1a21f
L
422122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42213
42214 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42215 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42216
4822a2a5
L
422172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42218
42219 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42220 thread pointer.
42221 (TLS_IE): Use mov/add instead of movq/addq to load thread
42222 pointer.
42223 (TLS_GD_PREFIX): New.
42224 (TLS_GD): Use it.
42225
842b81d6
DM
422262012-05-11 David S. Miller <davem@davemloft.net>
42227
42228 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42229 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42230 (_FPU_SETCW): Likewise.
42231
1cf463cd
L
422322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42233
42234 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42235 is 32-byte aligned.
42236
60cc4a18
AS
422372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42238
42239 [BZ #11837]
42240 * iconvdata/gb18030.c: Update tables.
42241 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42242 characters specially.
42243 (BODY for TO_LOOP): Add encoding of missing ranges.
42244
febb44a4
TS
422452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42246
42247 [BZ #13673]
42248 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42249 * sysdeps/mach/hurd/dup3.c: Likewise.
42250 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42251 * sysdeps/powerpc/memmove.c:: Likewise.
42252
0a10fb9e
L
422532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42254
42255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42256 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42257
df8a552f
L
422582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42259
42260 * elf/elf.h (R_X86_64_RELATIVE64): New.
42261 (R_X86_64_NUM): Updated.
42262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42263 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42264 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42265 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42266 tst-quad1pie tst-quad2pie
42267 (modules-names): Add tst-quadmod1 tst-quadmod2.
42268 ($(objpfx)tst-quad1): New dependency.
42269 ($(objpfx)tst-quad2): Likewise.
42270 ($(objpfx)tst-quad1pie): Likewise.
42271 ($(objpfx)tst-quad2pie): Likewise.
42272 * sysdeps/x86_64/tst-quad1.c: New file.
42273 * sysdeps/x86_64/tst-quad1pie.c: New file.
42274 * sysdeps/x86_64/tst-quad2.c: Likewise.
42275 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42276 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42277 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42278 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42279 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42280
f34d6f84
ST
422812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42282
f42d41d1
ST
42283 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42284 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42285 * streams/stropts.h (t_scalar_t): Define type.
42286
3c3571fc
ST
42287 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42288 (_PATH_PRESERVE): Set to "/var/lib".
42289 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42290
61f06bd3
ST
42291 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42292 instead of int.
42293
918d4d71
ST
42294 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42295 if __dir_mkfile succeeded.
42296
f34d6f84
ST
42297 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42298 checking for _hurd_dtablesize. Unlock it right after having
42299 finished _hurd_dtable allocation.
42300
10589b4a
TS
423012012-05-10 Thomas Schwinge <thomas@schwinge.name>
42302
674cdbc7
TS
42303 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42304 * sysdeps/mach/hurd/configure: Regenerated.
42305 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42306 special-casing to...
42307 * sysdeps/gnu/configure.in: ... this new file.
42308 * sysdeps/unix/sysv/linux/configure: Regenerated.
42309 * sysdeps/gnu/configure: New generated file.
42310
8e41b99f
TS
42311 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42312 for Linux: use nsec instead of usec, as well as:
42313 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42314 members of type struct timespec.
42315 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42316 New macros.
42317 (struct stat64): Likewise.
42318 (_STATBUF_ST_NSEC): New macro.
42319 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42320
10589b4a
TS
42321 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42322 __strtoul_internal rather than strtoul.
42323
63643c85
PT
423242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42325
42326 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42327 and reject them.
42328
3faebe6a
ST
423292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42330
42331 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42332 which preserves existing values.
42333 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42334
c6474b07
PT
423352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42336
42337 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42338 TIMEOUT values. Return EINVAL for NFDS values either negative or
42339 greater than FD_SETSIZE.
42340
1043890b
ST
423412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42342
42343 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42344 allocated, call __vm_protect to finish enabling the existing space, and
42345 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42346 allocate the remainder.
42347
37ed8b9b
PT
423482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42349
42350 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42351 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42352
db653660
ST
423532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42354
37ed8b9b
PT
42355 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42356 sysdeps/mach/hurd/readlink.c.
b29d4053 42357
db653660
ST
42358 * posix/tst-sysconf.c (posix_options): Only use
42359 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42360 _POSIX_SYNCHRONIZED_IO when they are defined
42361 * sysdeps/mach/hurd/bits/posix_opt.h:
42362 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42363 (_XOPEN_REALTIME): Undefine macro.
42364 (_XOPEN_REALTIME_THREADS): Undefine macro.
42365 (_XOPEN_SHM): Undefine macro.
42366 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42367 macro to -1.
42368 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42369 macro to -1.
42370 (_POSIX_ASYNC_IO): Undefine macro.
42371 (_POSIX_PRIORITIZED_IO): Undefine macro.
42372 (_POSIX_SPIN_LOCKS): Define macro to -1.
42373
ee16e894
ST
42374 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42375 SA_NODEFER, SA_RESETHAND.
42376 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42377 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42378 F_DUPFD_CLOEXEC.
42379
6103ae3b
TS
423802012-05-10 Thomas Schwinge <thomas@schwinge.name>
42381
42382 * elf/Makefile (pldd-modules): Define unconditionally.
42383
80b4e5f3
TS
423842012-05-10 Thomas Schwinge <thomas@schwinge.name>
42385
42386 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42387
edadcbd6
ST
423882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42389
42390 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42391 Return ENOENT when name is empty.
42392 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42393
80694780
TS
423942012-05-10 Thomas Schwinge <thomas@schwinge.name>
42395
1792c087
TS
42396 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42397
80694780
TS
42398 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42399
6b645f0d
ST
424002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42401
80694780
TS
42402 Fix mlock in all cases except non-readable pages.
42403 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42404 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42405
6b645f0d
ST
42406 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42407 (__mkdir): When path is `/', just fail with EEXIST.
42408 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42409
e468f8a3
TS
424102012-05-10 Thomas Schwinge <thomas@schwinge.name>
42411
42412 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42413 <sys/uio.h> (for writev).
42414 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42415 and <sys/param.h> (for MIN).
42416
a4186cff
PT
424172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42418
42419 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42420 REQUESTED_TIME. Properly set the remaining time and return EINTR
42421 if interrupted.
42422
510bbf14
TS
424232012-05-10 Thomas Schwinge <thomas@schwinge.name>
42424
42425 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42426 Depend on against $(link-rpcuserlibs).
42427
5d5722e8
ST
424282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42429
a4186cff
PT
42430 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42431 (__libc_stack_end): Do not use attribute_relro.
42432 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42433 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42434 to libthread-provided value.
a4186cff
PT
42435 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42436 attribute_relro.
5d5722e8 42437
37233df9
TS
424382012-05-10 Thomas Schwinge <thomas@schwinge.name>
42439
be971a2b
TS
42440 [BZ #3748]
42441 * bits/libc-lock.h (__libc_once_get): New macro.
42442 * sysdeps/mach/bits/libc-lock.h: Likewise.
42443 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42445 instead of using implementation details.
42446
37233df9
TS
42447 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42448 * libio/freopen.c: Likewise.
42449 * libio/freopen64.c: Likewise.
42450 * misc/syslog.c: Likewise.
42451 * nscd/connections.c: Likewise.
42452 * nscd/netgroupcache.c: Likewise.
42453 * sysdeps/posix/getcwd.c: Likewise.
42454
38de94a5
RM
424552012-05-10 Roland McGrath <roland@hack.frob.com>
42456
42457 * math/w_ilogbf.c: Add #include <limits.h>.
42458
67530489
ST
424592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42460
a4186cff 42461 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42462 path instead of returning without unlocking.
42463
67530489
ST
42464 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42465 immediate-write ioctls.
42466 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42467
5aa3a74a
TS
424682012-05-10 Thomas Schwinge <thomas@schwinge.name>
42469
18bad2ae
TS
42470 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42471 __builtin_frame_address instead of making assumptions about the
42472 location of the return address relative to DATA. Force early load of
42473 the return address.
42474 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42475 __builtin_frame_address.
42476
5aa3a74a
TS
42477 dup3 for GNU Hurd.
42478 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42479 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42480 implement dup3 and do some further code clean-ups.
42481 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42482 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42483
ecd0de9a
ST
424842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42485
cd9fa985
ST
42486 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42487
a4186cff
PT
42488 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42489 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42490 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42491 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42492 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42493 d->port.lock.
802ca5a5 42494
a4186cff
PT
42495 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42496 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42497 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42498
bcf55240
TS
424992012-05-10 Thomas Schwinge <thomas@schwinge.name>
42500
6960eb42
TS
42501 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42502 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42503 definitions.
42504
eb43375f
TS
42505 accept4 for GNU Hurd.
42506 * include/sys/socket.h (__libc_accept4): New prototype.
42507 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42508 to implement __libc_accept4.
42509 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42510 __libc_accept4.
42511 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42512
bcf55240
TS
42513 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42514 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42515 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42516 signal-defines.sym.
42517
6178c55b
ST
425182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42519
a4186cff 42520 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42521
6f080c2f
TS
425222012-05-10 Thomas Schwinge <thomas@schwinge.name>
42523
42524 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42525 assertion on O_CLOEXEC flag.
42526 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42527 * hurd/intern-fd.c: Likewise.
42528 * hurd/port2fd.c: Likewise.
42529
bcfe3a54
ST
425302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42531
42532 [BZ #3906]
42533 * bits/in.h (IPV6_PKTINFO): Define new macro.
42534 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42535
89c9aa49
AZ
425362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42537
42538 [BZ #13954]
42539 [BZ #13955]
42540 [BZ #13956]
42541 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42543 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42544 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42546 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42547 * math/libm-test.inc (logb_test) : Additional logb tests.
42548
021db4be
AJ
425492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42550 Andreas Jaeger <aj@suse.de>
42551
42552 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42553 * configure: Regenerated.
42554 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42555 * config.make.in (link-obsolete-rpc): New substituted variable.
42556 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42557 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42558 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42559 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42560 so that libc.a contains the symbols.
42561 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42562 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42563 * sunrpc/auth_none.c: Likewise.
42564 * sunrpc/auth_unix.c: Likewise.
42565 * sunrpc/authdes_prot.c: Likewise.
42566 * sunrpc/authuxprot.c: Likewise.
42567 * sunrpc/clnt_gen.c: Likewise.
42568 * sunrpc/clnt_perr.c: Likewise.
42569 * sunrpc/clnt_raw.c: Likewise.
42570 * sunrpc/clnt_simp.c: Likewise.
42571 * sunrpc/clnt_tcp.c: Likewise.
42572 * sunrpc/clnt_udp.c: Likewise.
42573 * sunrpc/clnt_unix.c: Likewise.
42574 * sunrpc/des_crypt.c: Likewise.
42575 * sunrpc/des_soft.c: Likewise.
42576 * sunrpc/get_myaddr.c: Likewise.
42577 * sunrpc/key_call.c: Likewise.
42578 * sunrpc/key_prot.c: Likewise.
42579 * sunrpc/netname.c: Likewise.
42580 * sunrpc/pm_getmaps.c: Likewise.
42581 * sunrpc/pm_getport.c: Likewise.
42582 * sunrpc/pmap_clnt.c: Likewise.
42583 * sunrpc/pmap_prot.c: Likewise.
42584 * sunrpc/pmap_prot2.c: Likewise.
42585 * sunrpc/pmap_rmt.c: Likewise.
42586 * sunrpc/publickey.c: Likewise.
42587 * sunrpc/rpc_cmsg.c: Likewise.
42588 * sunrpc/rpc_common.c: Likewise.
42589 * sunrpc/rpc_dtable.c: Likewise.
42590 * sunrpc/rpc_prot.c: Likewise.
42591 * sunrpc/rpc_thread.c: Likewise.
42592 * sunrpc/rtime.c: Likewise.
42593 * sunrpc/svc.c: Likewise.
42594 * sunrpc/svc_auth.c: Likewise.
42595 * sunrpc/svc_raw.c: Likewise.
42596 * sunrpc/svc_run.c: Likewise.
42597 * sunrpc/svc_tcp.c: Likewise.
42598 * sunrpc/svc_udp.c: Likewise.
42599 * sunrpc/svc_unix.c: Likewise.
42600 * sunrpc/svcauth_des.c: Likewise.
42601 * sunrpc/xcrypt.c: Likewise.
42602 * sunrpc/xdr.c: Likewise.
42603 * sunrpc/xdr_array.c: Likewise.
42604 * sunrpc/xdr_float.c: Likewise.
42605 * sunrpc/xdr_intXX_t.c: Likewise.
42606 * sunrpc/xdr_mem.c: Likewise.
42607 * sunrpc/xdr_rec.c: Likewise.
42608 * sunrpc/xdr_ref.c: Likewise.
42609 * sunrpc/xdr_sizeof.c: Likewise.
42610 * sunrpc/xdr_stdio.c: Likewise.
42611
b5c086a2
RM
426122012-05-10 Roland McGrath <roland@hack.frob.com>
42613
42614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42615 change. Update copyright years.
42616
6d74dd09
JM
426172012-05-10 Joseph Myers <joseph@codesourcery.com>
42618
42619 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42620
28e72501
MK
426212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42622 Joseph Myers <joseph@codesourcery.com>
42623 Paul Pluzhnikov <ppluzhnikov@google.com>
42624
42625 [BZ #14012]
42626 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42627 requiring rpcgen.
42628 [cross-compiling] (extra-libs): Likewise.
42629 [cross-compiling] (extra-libs-others): Likewise.
42630 [cross-compiling] (librpcsvc-routines): Likewise.
42631 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42632 [cross-compiling] (omit-deps): Likewise.
42633 (sunrpc-CPPFLAGS): New variable.
42634 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42635 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42636 (cross-rpcgen-objs): New variable.
42637 (extra-objs): Append $(cross-rpcgen-objs).
42638 ($(cross-rpcgen-objs)): New rule.
42639 ($(objpfx)cross-rpcgen): Likewise.
42640 (rpcgen-cmd): Define to use $(built-program-file). Expand
42641 comment.
42642 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42643 ($(objpfx)x%.stmp): Likewise.
42644 * sunrpc/proto.h [IS_IN_build] (_): Define.
42645 [IS_IN_build] (_libc_intl_domainname): Likewise.
42646
c8c59454
L
426472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42648
42649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42650 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42651 and R_X86_64_TPOFF64.
42652
6f27cd16
JM
426532012-05-10 Joseph Myers <joseph@codesourcery.com>
42654
42655 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42656 sysdeps/unix/sysv/syscalls.list.
42657 (stime): Likewise.
42658 (utime): Likewise.
42659 * sysdeps/unix/sysv/syscalls.list: Remove file.
42660
02467e1c
PE
426612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42662
42663 [BZ #3440]
42664 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42665 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42666 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42667 (__LC_IDENTIFICATION): Make these macros useful in #if
42668 expressions, as required by C99.
42669
da392631
AS
426702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42671
42672 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42673 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42674 after this.
42675
8115f29b
L
426762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42677
42678 * stdlib/longlong.h: Updated from GCC.
42679
bdd74070
AJ
426802012-05-09 Andreas Jaeger <aj@suse.de>
42681
edfe0dbe
AJ
42682 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42683 default is first entry.
42684 (run_mode): Set type.
42685 (main): Remove informal message about syslog.
42686 (options): Fix typo.
42687
bcfe3a54
ST
42688 [BZ #14053]
42689 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42690 to asm.
bcfe3a54
ST
42691 (lrint): Likewise.
42692 (llrintf): Likewise.
42693 (llrint): Likewise.
42694 (rint): Likewise.
42695 (rintf): Likewise.
42696 (nearbyint): Likewise.
42697 (nearbyintf): Likewise.
bdd74070 42698
91d8d69e
AJ
426992012-05-09 Andreas Jaeger <aj@suse.de>
42700 Pedro Alves <palves@redhat.com>
42701
42702 * nscd/nscd.c (run_mode): Use enum.
42703 (main): Cleanup coding style issue.
42704
bb90b80b
AJ
427052012-05-09 Alexandre Oliva <aoliva@redhat.com>
42706 Andreas Jaeger <aj@suse.de>
42707
bcfe3a54
ST
42708 * nscd/nscd.c (go_background): Replaced with...
42709 (run_mode): ... this.
bb90b80b 42710 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42711 (options): Add -F --foreground.
42712 (main): Implement it.
42713 (parse_opt): Parse it.
bb90b80b 42714
1a4b75a1
AJ
427152012-05-09 Andreas Jaeger <aj@suse.de>
42716
42717 [BZ #14083]
42718 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42719 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42720 -Wconversion warning.
42721 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42722 Likewise.
42723
b1cc2472
JM
427242012-05-09 Joseph Myers <joseph@codesourcery.com>
42725
42726 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42727 == 0.
42728 (LC_ALL): Use macro-int-constant.
42729 (LC_COLLATE): Likewise.
42730 (LC_CTYPE): Likewise.
42731 (LC_MESSAGES): Likewise.
42732 (LC_MONETARY): Likewise.
42733 (LC_NUMERIC): Likewise.
42734 (LC_TIME): Likewise.
42735 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42736 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42738 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42739 Specify type.
42740 [C99-based standards] (float_t): Expect type.
42741 [C99-based standards] (double_t): Expect type.
42742 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42743 type.
42744 [C99-based standards] (HUGE_VALL): Likewise.
42745 [C99-based standards] (INFINITY): Likewise.
42746 [C99-based standards] (NAN): Likewise.
42747 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42748 [C99-based standards] (FP_NAN): Likewise.
42749 [C99-based standards] (FP_NORMAL): Likewise.
42750 [C99-based standards] (FP_SUBNORMAL): Likewise.
42751 [C99-based standards] (FP_ZERO): Likewise.
42752 [C99-based standards] (FP_FAST_FMA): Use
42753 optional-macro-int-constant. Specify type. Require == 1.
42754 [C99-based standards] (FP_FAST_FMAF): Likewise.
42755 [C99-based standards] (FP_FAST_FMAL): Likewise.
42756 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42757 [C99-based standards] (FP_ILOGBNAN): Likewise.
42758 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42759 Specify type.
42760 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42761 [C99-based standards] (math_errhandling): Specify type.
42762 [ISO99 || ISO11] (signgam): Do not allow.
42763 [non-C99-based standards] (copysignf): Do not allow.
42764 [non-C99-based standards] (exp2f): Likewise.
42765 [non-C99-based standards] (log2f): Likewise.
42766 [non-C99-based standards] (modff): Allow.
42767 [non-C99-based standards] (erff): Do not allow.
42768 [non-C99-based standards] (erfcf): Likewise.
42769 [non-C99-based standards] (gammaf): Likewise.
42770 [non-C99-based standards] (hypotf): Likewise.
42771 [non-C99-based standards] (j0f): Likewise.
42772 [non-C99-based standards] (j1f): Likewise.
42773 [non-C99-based standards] (jnf): Likewise.
42774 [non-C99-based standards] (lgammaf): Likewise.
42775 [non-C99-based standards] (tgammaf): Likewise.
42776 [non-C99-based standards] (y0f): Likewise.
42777 [non-C99-based standards] (y1f): Likewise.
42778 [non-C99-based standards] (ynf): Likewise.
42779 [non-C99-based standards] (isnanf): Likewise.
42780 [non-C99-based standards] (acoshf): Likewise.
42781 [non-C99-based standards] (asinhf): Likewise.
42782 [non-C99-based standards] (atanhf): Likewise.
42783 [non-C99-based standards] (cbrtf): Likewise.
42784 [non-C99-based standards] (expm1f): Likewise.
42785 [non-C99-based standards] (ilogbf): Likewise.
42786 [non-C99-based standards] (log1pf): Likewise.
42787 [non-C99-based standards] (logbf): Likewise.
42788 [non-C99-based standards] (nextafterf): Likewise.
42789 [non-C99-based standards] (remainderf): Likewise.
42790 [non-C99-based standards] (rintf): Likewise.
42791 [non-C99-based standards] (scalbf): Likewise.
42792 [non-C99-based standards] (copysignl): Likewise.
42793 [non-C99-based standards] (exp2l): Likewise.
42794 [non-C99-based standards] (log2l): Likewise.
42795 [non-C99-based standards] (modfl): Allow.
42796 [non-C99-based standards] (erfl): Do not allow.
42797 [non-C99-based standards] (erfcl): Likewise.
42798 [non-C99-based standards] (gammal): Likewise.
42799 [non-C99-based standards] (hypotl): Likewise.
42800 [non-C99-based standards] (j0l): Likewise.
42801 [non-C99-based standards] (j1l): Likewise.
42802 [non-C99-based standards] (jnl): Likewise.
42803 [non-C99-based standards] (lgammal): Likewise.
42804 [non-C99-based standards] (tgammal): Likewise.
42805 [non-C99-based standards] (y0l): Likewise.
42806 [non-C99-based standards] (y1l): Likewise.
42807 [non-C99-based standards] (ynl): Likewise.
42808 [non-C99-based standards] (isnanl): Likewise.
42809 [non-C99-based standards] (acoshl): Likewise.
42810 [non-C99-based standards] (asinhl): Likewise.
42811 [non-C99-based standards] (atanhl): Likewise.
42812 [non-C99-based standards] (cbrtl): Likewise.
42813 [non-C99-based standards] (expm1l): Likewise.
42814 [non-C99-based standards] (ilogbl): Likewise.
42815 [non-C99-based standards] (log1pl): Likewise.
42816 [non-C99-based standards] (logbl): Likewise.
42817 [non-C99-based standards] (nextafterl): Likewise.
42818 [non-C99-based standards] (remainderl): Likewise.
42819 [non-C99-based standards] (rintl): Likewise.
42820 [non-C99-based standards] (scalbl): Likewise.
42821 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42822 [non-C99-based standards] (FP_*): Do not allow.
42823 [C99-based standards] (FP_*): Change to
42824 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42825 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42826 allow.
42827 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42828 (SIG_ERR): Likewise.
42829 [X/Open-based standards] (SIG_HOLD): Likewise.
42830 (SIG_IGN): Likewise.
42831 (SIGABRT): Use macro-int-constant. Specify type. Require
42832 positive value.
42833 (SIGFPE): Likewise.
42834 (SIGILL): Likewise.
42835 (SIGINT): Likewise.
42836 (SIGSEGV): Likewise.
42837 (SIGTER): Likewise.
42838 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42839 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42840 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42841 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42842 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42843 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42845 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42846 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42847 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42848 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42849 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42850 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42851 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42852 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42853 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42854 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42855 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42856 [X/Open-based standards] (SIGTRAP): Likewise.
42857 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42858 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42859 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42860 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42861 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42862 allow.
42863
b9f1922d
IW
428642012-05-08 Ian Wienand <ianw@vmware.com>
42865
42866 [BZ #14080]
42867 * time/tzset.c (__tzset_parse_tz): Update default rules for
42868 daylight time changes in the Energy Policy Act of 2005.
42869
1db86e88
AJ
428702012-05-09 Andreas Jaeger <aj@suse.de>
42871
42872 [BZ #13983]
42873 * elf/ldconfig.c (parse_conf): Change string to make clear that
42874 ldconfig only issued a warning if ld.so.conf does not exist.
42875
dee4a4e3
DM
428762012-05-08 David S. Miller <davem@davemloft.net>
42877
ee0db190
DM
42878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42879 movxtod instead of popping the value on the stack.
42880
dee4a4e3
DM
42881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42882
6a43ec98
CD
428832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42884
42885 * config.h.in: Add HAVE_ARM_PCS_VFP.
42886
05c2c961
RMG
428872012-05-08 Roland Mc Grath <roland@hack.frob.com>
42888
bcfe3a54
ST
42889 [BZ #13979]
42890 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42891 checking but the checks are disabled for any reason.
05c2c961 42892
4b30f61a
L
428932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42896 and ELF64_R_TYPE with ELFW(R_TYPE).
42897
eee2bc67
JM
428982012-05-08 Joseph Myers <joseph@codesourcery.com>
42899
7ea5391a
JM
42900 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42901 (ulimit): Likewise.
42902
eee2bc67
JM
42903 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42904 (settimeofday): Likewise.
42905
abb66a67
MF
429062012-05-08 Mike Frysinger <vapier@gentoo.org>
42907
42908 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42909 a struct th_u2 inside the union, and move tu_block/tu_code into
42910 a new th_u3 union of tu_block/tu_code inside of that. Move
42911 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42912 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42913 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42914 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42915 (th_stuff): Change to th_u1.tu_stuff.
42916 (th_data): Define.
42917 (th_msg): Change to th_u1.th_u2.tu_data.
42918
7f18b530
DM
429192012-05-07 David S. Miller <davem@davemloft.net>
42920
05760585
DM
42921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42922
7f18b530
DM
42923 [BZ #14074]
42924 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42925 (SETUP_PIC_REG): Use it.
42926 (SETUP_PIC_REG_LEAF): Use it.
42927
495fd99f
JM
429282012-05-07 Joseph Myers <joseph@codesourcery.com>
42929
42930 [BZ #13885]
42931 [BZ #13923]
42932 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42933 USE_AS_EXPM1L.
42934 (EXPL_FINITE): Likewise.
42935 (FLDLOG): Likewise.
42936 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42937 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42938 e_expl.S.
42939 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42940 USE_AS_EXPM1L.
42941 (EXPL_FINITE): Likewise.
42942 (FLDLOG): Likewise.
42943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42944 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42945 e_expl.S.
42946 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42947 test of -max_value argument for long double.
42948 * sysdeps/i386/fpu/libm-test-ulps: Update.
42949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42950
6693d694
DM
429512012-05-06 David S. Miller <davem@davemloft.net>
42952
42953 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42954 quad soft-float symbols whose references which are compiler
42955 generated.
42956 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42957
6c23e11c
JM
429582012-05-06 Joseph Myers <joseph@codesourcery.com>
42959
d8b82cad
JM
42960 [BZ #13884]
42961 [BZ #13914]
42962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42963 USE_AS_EXP10L.
42964 (EXPL_FINITE): Likewise.
42965 (FLDLOG): Likewise.
42966 (c0): Likewise.
42967 (c1): Likewise.
42968 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42969 Adjust comments for base varying.
42970 (__expl_finite): Change alias to EXPL_FINITE.
42971 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42972 e_expl.S.
42973 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42974 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42976 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42977 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42978 USE_AS_EXP10L.
42979 (EXPL_FINITE): Likewise.
42980 (FLDLOG): Likewise.
42981 (c0): Likewise.
42982 (c1): Likewise.
42983 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42984 Adjust comments for base varying.
42985 (__expl_finite): Change alias to EXPL_FINITE.
42986 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42987 tests for bugs.
42988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42989
6c23e11c
JM
42990 [BZ #14064]
42991 * math/libm-test.inc (check_float_internal): Correct ulp
42992 calculation for subnormal expected results.
42993
29ba805c
AJ
429942012-05-06 Andreas Jaeger <aj@suse.de>
42995
42996 * Makeconfig (+math-flags): New, set to -frounding-math.
42997 (+cflags): Add +math-flags so that all of glibc gets compiled with
42998 it.
42999
43000 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43001
7b17aeda
JM
430022012-05-05 Joseph Myers <joseph@codesourcery.com>
43003
5779f134
JM
43004 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43005 Disable one test.
43006
41498f4d
JM
43007 [BZ #13787]
43008 [BZ #13922]
43009 [BZ #14036]
43010 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43011 (__ieee754_expl): Allow for and saturate large arguments.
43012 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43013 (u_threshold): Likewise.
43014 (__exp): Call __ieee754_exp before checking for overflow and
43015 underflow.
43016 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43017 (u_threshold): Likewise.
43018 (__expf): Call __ieee754_expf before checking for overflow and
43019 underflow.
43020 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43021 (u_threshold): Likewise.
43022 (__expl): Call __ieee754_expl before checking for overflow and
43023 underflow.
43024 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43025 (__ieee754_expl): Allow for and saturate large arguments.
43026 * math/libm-test.inc (exp_test): Add another test. Do not allow
43027 missing overflow exception on overflow.
43028 (expm1_test): Do not allow missing overflow exception on overflow.
43029
6698b8bf
JM
43030 * sysdeps/i386/fpu/e_expl.c: Move to ...
43031 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43032 rather than using inline asm.
43033 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43034 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43035 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43036
7b17aeda
JM
43037 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43038 (nice): Likewise.
43039 (poll): Likewise.
43040 (signal): Likewise.
43041 (time): Likewise.
43042 (times): Likewise.
43043
f7c85819
JM
430442012-05-04 Joseph Myers <joseph@codesourcery.com>
43045
43046 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43047 sysdeps/unix/common/syscalls.list.
43048 (fchmod): Likewise.
43049 (fchown): Likewise.
43050 (ftruncate): Likewise.
43051 (getrusage): Likewise.
43052 (gettimeofday): Likewise.
43053 (setpgid): Likewise.
43054 (setregid): Likewise.
43055 (setreuid): Likewise.
43056 (sigaction): Likewise.
43057 (truncate): Likewise.
43058 (vhangup): Likewise.
43059 * sysdeps/unix/common/syscalls.list: Remove file.
43060 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43061 * sysdeps/unix/sysv/linux/Implies: Likewise.
43062
336270d0
L
430632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43064
43065 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43067 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43068 Moved to ...
43069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43070 Here.
43071 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43072 to ...
43073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43074 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43075 to ...
43076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43077 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43078 to ...
43079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43080 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43081 to ...
43082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43083 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43084 to ...
43085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43086 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43087 to ...
43088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43089 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43090 to ...
43091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43092 Here.
43093 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43094 to ...
43095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43096 Here.
43097 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43098 to ...
43099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43100 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43101 Moved to ...
43102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43103 Here.
43104 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43105 to ...
43106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43107
d128e450
JM
431082012-05-04 Joseph Myers <joseph@codesourcery.com>
43109
fa8ee516
JM
43110 * sysdeps/unix/common/bits/dirent.h: Remove file.
43111 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43112
d128e450
JM
43113 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43114 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43115 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43116 * sysdeps/unix/bsd/isatty.c: Likewise.
43117 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43118 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43119 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43120
ff8faaf0 431212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43122
62881be4 43123 [BZ #13563]
31dc8730
AZ
43124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43125 long double comparison inaccuracies.
43126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43128
6fef930c
AS
431292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43130
43131 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43133
8f203e6c
JM
431342012-05-04 Joseph Myers <joseph@codesourcery.com>
43135
43136 [BZ #14049]
43137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43138 nonzero digits before rounding a hex value.
43139 * stdlib/tst-strtod.c (tests): Add another test.
43140
5197d9c2
AK
431412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43142
43143 * sysdeps/s390/fpu/libm-test-ulps: Update.
43144
f0c1dedf
AJ
431452012-05-03 Andreas Jaeger <aj@suse.de>
43146
43147 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43148 does not get optimized out.
43149 (malloc_opt_barrier): New.
43150
a65ef2ae 431512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43152 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43153
2b942cb7 43154 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43155 intermediate file deletion.
2b942cb7 43156 (generated): Add .symlist files.
a65ef2ae 43157
54b71e02
JM
431582012-05-03 Joseph Myers <joseph@codesourcery.com>
43159
43160 [BZ #13775]
43161 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43162 Redirect under this condition.
43163 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43164 [__USE_GNU] (__dprintf_chk): Not under this condition.
43165 [__USE_GNU] (__vdprintf_chk): Likewise.
43166 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43167 under this condition.
43168 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43169 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43170 [__USE_XOPEN2K8] (vdprintf): Likewise.
43171 [__USE_GNU] (__dprintf_chk): Not under this condition.
43172 [__USE_GNU] (__vdprintf_chk): Likewise.
43173 [__USE_GNU] (dprintf): Likewise.
43174 [__USE_GNU] (vdprintf): Likewise.
43175
d3dfcc41
RM
431762012-05-03 Roland McGrath <roland@hack.frob.com>
43177
43178 * elf/Makefile (common-generated): Set this instead of generated for
43179 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43180 $(all-built-dso)-derived lists.
43181
7ac30cc5
AJ
431822012-05-03 Andreas Jaeger <aj@suse.de>
43183
0c51e550
AJ
43184 * sysdeps/i386/fpu/libm-test-ulps: Update.
43185
7ac30cc5
AJ
43186 * FAQ: Removed.
43187 * FAQ.in: Likewise.
43188 * scripts/gen-FAQ.pl: Likewise.
43189 * manual/install.texi (Installation): Point to online location of
43190 FAQ.
43191 * Makefile (files-for-dist): Remove FAQ.
43192 (FAQ): Remove.
43193
d4c2917f
AM
431942012-05-02 Allan McRae <allan@archlinux.org>
43195
43196 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43197 (LDFLAGS-reldepmod5.so): Likewise.
43198 (LDFLAGS-reldep6mod1.so): Likewise.
43199 (LDFLAGS-reldep6mod4.so): Likewise.
43200 (LDFLAGS-reldep8mod3.so): Likewise.
43201 (LDFLAGS-unload4mod1.so): Likewise.
43202 (LDFLAGS-unload4mod2.so): Likewise.
43203 (LDFLAGS-tst-initorder): Likewise.
43204 (LDFLAGS-tst-initordera2.so): Likewise.
43205 (LDFLAGS-tst-initordera3.so): Likewise.
43206 (LDFLAGS-tst-initordera4.so): Likewise.
43207 (LDFLAGS-tst-initorderb2.so): Likewise.
43208 (LDFLAGS-noload): Likewise.
43209 (LDFLAGS-next): Likewise.
43210 (LDFLAGS-order2mod1.so): Likewise.
43211 (LDFLAGS-order2mod2.so): Likewise.
43212 (LDFLAGS-tst-initorder2): Likewise.
43213 (LDFLAGS-tst-initorder2a.so): Likewise.
43214 (LDFLAGS-tst-initorder2b.so): Likewise.
43215 (LDFLAGS-tst-initorder2c.so): Likewise.
43216 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43217
d77f993f
DM
432182012-05-02 David S. Miller <davem@davemloft.net>
43219
43220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43221
171a70b4
PP
432222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43223
43224 [BZ #14055]
43225 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43226
0be196ad
AJ
432272012-05-02 Andreas Jaeger <aj@suse.de>
43228
43229 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43230 since we manipulate rounding mode.
43231 (CPPFLAGS-test-idouble.c): Likewise.
43232 (CPPFLAGS-test-ifloat.c): Likewise.
43233 (CFLAGS-test-ldouble.c): Likewise.
43234 (CFLAGS-test-double.c): Likewise.
43235 (CFLAGS-test-float.c): Likewise.
43236 (CFLAGS-test-misc.c): Likewise.
43237 (CFLAGS-test-test-fenv.c): Likewise.
43238
4f9d04aa
AZ
432392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43240
2b942cb7
RM
43241 [BZ #2550]
43242 [BZ #2570]
43243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43244 comparisons to determine direction to adjust input.
4f9d04aa 43245
82a79e7d
RM
432462012-05-01 Roland McGrath <roland@hack.frob.com>
43247
f5a01ca9
RM
43248 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43249 output to the target.
43250
90fe4186
RM
43251 * scripts/localplt.awk: New file.
43252 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43253 (check-localplt-CFLAGS): Variable removed.
43254 ($(all-built-dso:=.jmprel)): New static pattern rule.
43255 (generated): Add those targets.
43256 (localplt-built-dso): New variable.
43257 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43258
43259 * elf/check-localplt.c: File removed.
43260
82397ed6
RM
43261 * scripts/check-execstack.awk: New file.
43262 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43263 (check-execstack-CFLAGS): Variable removed.
43264 ($(objpfx)check-execstack.h): Target removed.
43265 ($(objpfx)execstack-default): New target.
43266 (generated): Add that instead of check-execstack.h.
43267 ($(all-built-dso:=.phdr)): New static pattern rule.
43268 (generated): Add those targets.
43269 * elf/check-execstack.c: File removed.
43270
82a79e7d
RM
43271 * scripts/check-textrel.awk: New file.
43272 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43273 (check-textrel-CFLAGS): Variable removed.
43274 (all-built-dso): Use := to define.o
43275 ($(all-built-dso:=.dyn)): New static pattern rule.
43276 (generated): Add those targets.
43277 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43278 * config.make.in (READELF): New substituted variable.
43279 * elf/check-textrel.c: File removed.
43280
62fde54f 432812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43282
615605c9
JM
43283 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43284 allow.
43285 * conform/data/ctype.h-data [C99-based standards] (isblank):
43286 Expect function.
43287 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43288 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43290 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43291 Specify type. Require positive value.
43292 (EILSEQ): Likewise.
43293 (ERANGE): Likewise.
43294 [ISO || POSIX] (EILSEQ): Do not expect.
43295 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43296 Specify type. Require positive value.
43297 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43298 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43299 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43300 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43301 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43302 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43303 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43304 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43305 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43306 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43307 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43308 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43309 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43310 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43311 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43312 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43313 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43314 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43315 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43316 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43317 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43318 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43319 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43320 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43321 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43322 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43323 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43324 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43325 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43326 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43327 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43328 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43329 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43330 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43331 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43332 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43333 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43334 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43335 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43336 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43337 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43338 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43339 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43340 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43341 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43342 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43343 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43344 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43345 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43346 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43347 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43348 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43349 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43350 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43351 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43352 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43353 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43354 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43355 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43356 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43357 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43358 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43359 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43360 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43361 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43362 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43363 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43364 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43365 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43366 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43367 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43368 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43369 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43370 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43371 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43372 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43373 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43374 Require >= 2.
43375 (FLT_ROUNDS): Expect as macro, not constant.
43376 (FLT_MANT_DIG): Use macro-int-constant.
43377 (DBL_MANT_DIG): Likewise.
43378 (LDBL_MANT_DIG): Likewise.
43379 (FLT_DIG): Likewise.
43380 (DBL_DIG): Likewise.
43381 (LDBL_DIG): Likewise.
43382 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43383 (DBL_MIN_EXP): Likewise.
43384 (LDBL_MIN_EXP): Likewise.
43385 (FLT_MAX_EXP): Use macro-int-constant.
43386 (DBL_MAX_EXP): Likewise.
43387 (LDBL_MAX_EXP): Likewise.
43388 (FLT_MAX_10_EXP): Likewise.
43389 (DBL_MAX_10_EXP): Likewise.
43390 (LDBL_MAX_10_EXP): Likewise.
43391 (FLT_MAX): Use macro-constant.
43392 (DBL_MAX): Likewise.
43393 (LDBL_MAX): Likewise.
43394 (FLT_EPSILON): Use macro-constant. Give upper bound.
43395 (DBL_EPSILON): Likewise.
43396 (LDBL_EPSILON): Likewise.
43397 (FLT_MIN): Likewise.
43398 (DBL_MIN): Likewise.
43399 (LDBL_MIN): Likewise.
43400 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43401 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43402 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43403 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43404 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43405 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43406 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43407 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43408 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43409 [ISO11] (FLT_TRUE_MIN): Likewise.
43410 [ISO11] (LDBL_TRUE_MIN): Likewise.
43411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43412 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43413 (SCHAR_MIN): Use macro-int-constant. Specify type.
43414 (SCHAR_MAX): Likewise.
43415 (UCHAR_MAX): Likewise.
43416 (CHAR_MIN): Likewise.
43417 (CHAR_MAX): Likewise.
43418 (MB_LEN_MAX): Use macro-int-constant.
43419 (SHRT_MIN): Use macro-int-constant. Specify type.
43420 (SHRT_MAX): Likewise.
43421 (USHRT_MAX): Likewise.
43422 (INT_MAX): Likewise.
43423 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43424 bound negative.
43425 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43426 bound with "U".
43427 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43428 bound with "L".
43429 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43430 bound negative. Suffix upper bound with "L".
43431 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43432 bound with "UL".
43433 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43434 Specify type.
43435 [C99-based standards] (LLONG_MAX): Likewise.
43436 [C99-based standards] (ULLONG_MAX): Likewise.
43437 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43438 == 0.
43439 [ISO11] (max_align_t): Require type.
43440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43441
c9140a62
JM
43442 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43443 from $CFLAGS, without defining away __attribute__ calls.
43444 (checknamespace): Use $CFLAGS_namespace.
43445
9af0bf29
JM
43446 * conform/conformtest.pl (@keywords): Only include C99 keywords
43447 for standards based on C99 or C11.
43448
343222a2
JM
43449 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43450 Disable tests.
43451 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43452 UNIX98]: Likewise.
43453
661f8cf0
JM
43454 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43455 usability of symbols in #if.
43456
ee74b9cb
JM
43457 * conform/conformtest.pl: If macro or constant types start
43458 "promoted:", expect the symbol to be of the following type
43459 promoted by the integer promotions.
62fde54f 43460
aafc49b3
JM
43461 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43462 in one place. Also handle "macro-constant".
43463
fefdf574
JM
43464 * conform/conformtest.pl: Only accept expected macro values with
43465 "==". Parse all "macro" lines in one place.
43466 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43467
f2d922fe
JM
43468 * conform/conformtest.pl: Handle braced types on "constant" lines
43469 instead of handling "typed-constant".
43470 * conform/data/signal.h-data: Use "constant" instead of
43471 "typed-constant".
43472
d22956c9
JM
43473 * conform/conformtest.pl: Handle "optional-" at start of lines in
43474 one place rather than duplicating several cases. Handle each
43475 format of "macro" line with initial "optional-".
43476
028e2e38
JM
43477 * conform/conformtest.pl: Only accept expected constant or
43478 optional-constant values with "==". Parse all "constant" lines in
43479 one place. Parse all "optional-constant" lines in one place.
43480 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43481 * conform/data/fmtmsg.h-data: Likewise.
43482 * conform/data/netinet/in.h-data: Likewise.
43483 * conform/data/tar.h-data: Likewise.
43484 * conform/data/limits.h-data: Use "==" form on "constant" and
43485 "optional-constant" lines.
43486
1b8f2850
JM
43487 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43488 Use -std=c99 for XOPEN2K.
43489 (@knownproblems): Remove.
43490 (newtoken): Don't check %isknown.
43491
a05a144b
JM
43492 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43493 Do not expect macro.
43494 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43495 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43496 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43497 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43498 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43499 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43500 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43501 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43502 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43503 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43504 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43505 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43506 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43507 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43508 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43509 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43510 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43511 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43512 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43513 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43514 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43515 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43516 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43518 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43519 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43520 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43521 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43522 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43523 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43524 [XPG3] (acosh): Likewise.
43525 [XPG3] (asinh): Likewise.
43526 [XPG3] (atanh): Likewise.
43527 [XPG3] (cbrt): Likewise.
43528 [XPG3] (expm1): Likewise.
43529 [XPG3] (ilogb): Likewise.
43530 [XPG3] (log1p): Likewise.
43531 [XPG3] (logb): Likewise.
43532 [XPG3] (nextafter): Likewise.
43533 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43534 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43535 [XPG3] (remainder): Likewise.
43536 [XPG3] (rint): Likewise.
43537 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43538 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43539 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43540 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43541 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43542 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43543 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43544 [UNIX98 || XOPEN2K] (scalb): Expect.
43545 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43546 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43547 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43548 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43549 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43550 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43551 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43552 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43553 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43554 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43555 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43556 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43557 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43558 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43559 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43560 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43561 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43562 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43563 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43564 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43565 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43566 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43567 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43568 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43569 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43570 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43571 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43572 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43573 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43574 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43575 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43576 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43577 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43578 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43579 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43580 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43581 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43582 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43583 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43584 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43585 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43586 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43587 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43588 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43589 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43590 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43591 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43592 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43593 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43594 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43595 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43596 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43597 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43598 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43599 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43600 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43601 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43602 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43603 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43604 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43605 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43606 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43607 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43608 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43609 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43610 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43611 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43612 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43613 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43614 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43615 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43616 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43617 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43618 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43619 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43620 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43621 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43622 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43623 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43624 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43625 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43626 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43627 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43628 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43629 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43630 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43631 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43632 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43633 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43634 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43635 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43636 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43637 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43638 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43639 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43640 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43641 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43642 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43643 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43644 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43645 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43646 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43647 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43648 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43649 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43650 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43651 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43652 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43653 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43654 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43655 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43656 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43657 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43658 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43659 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43660 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43661 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43662 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43663 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43664 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43665 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43666 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43667 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43668 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43669 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43670 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43671 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43672 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43673 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43674 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43675 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43676 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43677 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43678 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43679 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43680 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43681 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43682
73c5ebe3
JM
43683 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43684 _XOPEN_SOURCE_EXTENDED for XPG4.
43685
39c33b6c
JM
43686 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43687
62fde54f
JM
43688 * Makeconfig (localtime): Remove variable.
43689 (inst_localtime-file): Likewise.
43690
0741d64c
AS
436912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43692
43693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43694 Update.
43695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43696 Update.
43697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43698 Update.
43699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43700 Update.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43702 Update.
43703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43704 Update.
43705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43706 Update.
43707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43708 Update.
43709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43710 Update.
43711
7cb029ee
JM
437122012-05-01 Joseph Myers <joseph@codesourcery.com>
43713
43714 [BZ #2550]
43715 [BZ #2570]
43716 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43717 comparisons to determine direction to adjust input.
43718 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43719 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43721 Likewise.
43722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43723 Likewise.
43724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43725 Likewise.
43726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43727 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43728 Likewise.
43729 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43730 Likewise.
43731 * math/libm-test.inc (nexttoward_test): Add more tests.
43732
412bd966
AS
437332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43734
43735 [BZ #14040]
43736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43737 in version GLIBC_2.1, not GLIBC_2.0.
43738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43739 Likewise.
43740
9568c0c2
JM
437412012-04-30 Joseph Myers <joseph@codesourcery.com>
43742
adfbc8ac
JM
43743 [BZ #13942]
43744 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43745 (1 - x) * (1 + x).
43746 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43747 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43748 * math/libm-test.inc (acos_test): Add more tests.
43749 (asin_test): Likewise.
43750 * sysdeps/i386/fpu/libm-test-ulps: Update.
43751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43752
5ba3cc69
JM
43753 [BZ #14034]
43754 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43755 of square root.
43756 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43758 * math/libm-test.inc (acos_test_tonearest): New function.
43759 (acos_test_towardzero): Likewise.
43760 (acos_test_downward): Likewise.
43761 (acos_test_upward): Likewise.
43762 (asin_test_tonearest): Likewise.
43763 (asin_test_towardzero): Likewise.
43764 (asin_test_downward): Likewise.
43765 (asin_test_upward): Likewise.
43766 (main): Call the new functions.
43767 * sysdeps/i386/fpu/libm-test-ulps: Update.
43768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43769
9568c0c2
JM
43770 [BZ #13884]
43771 [BZ #13924]
43772 * math/e_exp10.c: Include <float.h>.
43773 (__ieee754_exp10): Handle underflow here rather than multiplying
43774 large negative argument by M_LN10.
43775 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43776 of __ieee754_expf.
43777 * math/e_exp10l.c: Include <float.h>.
43778 (__ieee754_exp10l): Handle underflow here rather than multiplying
43779 large negative argument by M_LN10l.
43780 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43781 spurious overflow exception on underflow.
43782
5ac3ea17
MP
437832012-04-29 Marek Polacek <polacek@redhat.com>
43784
43785 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43786 (__fortify_function): New macro.
43787 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43788 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43789 __extern_always_inline.
43790 * libio/bits/stdio2.h: Likewise.
43791 * libio/bits/stdio.h: Likewise.
43792 * string/string.h: Likewise.
43793 * string/bits/string3.h: Likewise.
43794 * include/stdio.h: Likewise.
43795 * stdlib/bits/stdlib.h: Likewise.
43796 * stdlib/stdlib.h: Likewise.
43797 * rt/bits/mqueue2.h: Likewise.
43798 * rt/mqueue.h: Likewise.
43799 * posix/bits/unistd.h: Likewise.
43800 * posix/unistd.h: Likewise.
43801 * io/bits/poll2.h: Likewise.
43802 * io/bits/fcntl2.h: Likewise.
43803 * io/fcntl.h: Likewise.
43804 * io/sys/poll.h: Likewise.
43805 * misc/bits/syslog.h: Likewise.
43806 * misc/bits/syslog-ldbl.h: Likewise.
43807 * misc/sys/syslog.h: Likewise.
43808 * socket/bits/socket2.h: Likewise.
43809 * socket/sys/socket.h: Likewise.
43810 * debug/tst-chk1.c: Likewise.
43811 * wcsmbs/bits/wchar2.h: Likewise.
43812 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43813 * wcsmbs/wchar.h: Likewise.
43814
ecf0ebfb
AJ
438152012-04-29 Andreas Jaeger <aj@suse.de>
43816
43817 * Makerules (tests): Remove enable-check-abi protection.
43818 (check-abi-warn): Remove.
43819 (check-abi-%): Remove check-abi-warn usage.
43820
43821 * configure.in: Remove check-abi configure option.
43822 * configure: Regenerated.
43823 * config.make.in (enable-check-abi): Remove.
43824
6d5c57fa
AS
438252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43826
24c5d07e 43827 [BZ #14033]
ded5180a
AS
43828 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43829 double functions to double *_finite functions.
43830
7e0d315d
AS
43831 [BZ #13941]
43832 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43833 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43834 LDBL_MIN_EXP.
43835 * stdio-common/Makefile (tests): Add tst-sprintf3.
43836 * stdio-common/tst-sprintf3.c: New file.
43837
6d5c57fa
AS
43838 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43839 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43840
0749ff8b
JM
438412012-04-28 Joseph Myers <joseph@codesourcery.com>
43842
43843 * conform/conformtest.pl: Remove duplicate typed-constant
43844 handling.
43845
8dbd5d7b
DM
438462012-04-28 David S. Miller <davem@davemloft.net>
43847
43848 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43849 (check-abi-%): Remove AWK script prerequisite and explicit
43850 abilist directory.
43851 (check-abi): Rewrite to just diff the symlist with the abilist.
43852 (config-tls, config-abi-config): Delete, no longer used.
43853 (update-abi-%): Remove AWK script and explicit abilist directory.
43854 (update-abi): Rewrite to simply compare and conditionally copy the
43855 symlist and the sysdep abilist file. Remove update-abi-config
43856 checks.
43857 * abilist/ld.abilist: Remove.
43858 * abilist/libBrokenLocale.abilist: Remove.
43859 * abilist/libanl.abilist: Remove.
43860 * abilist/libcrypt.abilist: Remove.
43861 * abilist/libdl.abilist: Remove.
43862 * abilist/librt.abilist: Remove.
43863 * abilist/libthread_db.abilist: Remove.
43864 * abilist/libutil.abilist: Remove.
43865 * scripts/extract-abilist.awk: Remove.
43866 * scripts/merge-abilist.awk: Remove.
43867 * sysdeps/generic/libcidn.abilist: New file.
43868 * sysdeps/generic/libnss_compat.abilist: New file.
43869 * sysdeps/generic/libnss_db.abilist: New file.
43870 * sysdeps/generic/libnss_dns.abilist: New file.
43871 * sysdeps/generic/libnss_files.abilist: New file.
43872 * sysdeps/generic/libnss_hesiod.abilist: New file.
43873 * sysdeps/generic/libnss_nis.abilist: New file.
43874 * sysdeps/generic/libnss_nisplus.abilist: New file.
43875 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43876 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43877 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43878 file.
43879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43880 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43881 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43882 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43883 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43884 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43885 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43886 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43887 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43888 file.
43889 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43890 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43891 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43892 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43893 file.
43894 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43895 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43896 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43897 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43898 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43899 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43900 file.
43901 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43902 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43903 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43904 file.
43905 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43907 New file.
43908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43909 New file.
43910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43911 New file.
43912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43913 New file.
43914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43915 New file.
43916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43917 New file.
43918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43919 New file.
43920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43921 New file.
43922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43923 New file.
43924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43925 New file.
43926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43927 New file.
43928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43929 New file.
43930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43931 New file.
43932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43933 file.
43934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43935 New file.
43936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43937 New file.
43938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43939 file.
43940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43941 New file.
43942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43943 New file.
43944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43945 file.
43946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43947 New file.
43948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43949 New file.
43950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43951 New file.
43952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43953 New file.
43954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43955 New file.
43956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43957 New file.
43958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43960 file.
43961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43962 New file.
43963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43964 file.
43965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43966 file.
43967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43968 file.
43969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43970 file.
43971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43972 file.
43973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43974 New file.
43975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43976 file.
43977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43978 file.
43979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43980 New file.
43981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43982 file.
43983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43985 file.
43986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43987 New file.
43988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43989 file.
43990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43991 file.
43992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43993 file.
43994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43995 file.
43996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43997 file.
43998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43999 New file.
44000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44001 file.
44002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44003 file.
44004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44005 New file.
44006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44007 file.
44008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44009 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44010 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44011 file.
44012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44013 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44014 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44015 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44016 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44017 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44018 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44019 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44020 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44021 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44024 file.
44025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44026 New file.
44027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44028 file.
44029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44030 file.
44031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44032 file.
44033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44034 file.
44035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44036 file.
44037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44038 New file.
44039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44040 New file.
44041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44042 file.
44043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44044 New file.
44045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44046 file.
44047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44049 file.
44050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44051 New file.
44052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44053 file.
44054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44055 file.
44056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44057 file.
44058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44059 file.
44060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44061 file.
44062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44063 New file.
44064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44065 New file.
44066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44067 file.
44068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44069 New file.
44070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44071 file.
44072
41d73a1b
JM
440732012-04-28 Joseph Myers <joseph@codesourcery.com>
44074
44075 * conform/conformtest.pl: Fix typo in handling typed-constant from
44076 allow-header.
44077
28aeeda4
JM
440782012-04-27 Joseph Myers <joseph@codesourcery.com>
44079
adae8f5e
JM
44080 * README: Cut down references to pre-2.6 Linux kernels and
44081 Linuxthreads. Update lists of configurations in libc and ports
44082 and sort alphabetically. Say "or newer" with Linux kernel version
44083 requirements.
44084
28aeeda4
JM
44085 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44086
a462cb63
RA
440872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44088
44089 [BZ #887]
44090 * math/libm-test.inc (logb_test_downward): New test to expose
44091 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44092 rounding mode.
44093
6ad3493e
JM
440942012-04-27 Joseph Myers <joseph@codesourcery.com>
44095
44096 [BZ #14027]
44097 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44098 to be done.
44099 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44100 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44101
2ce4f015
JM
441022012-04-26 Joseph Myers <joseph@codesourcery.com>
44103
5aeb141a
JM
44104 * sysdeps/unix/i386/brk.S: Remove file.
44105 * sysdeps/unix/i386/dl-brk.S: Likewise.
44106 * sysdeps/unix/i386/pipe.S: Likewise.
44107 * sysdeps/unix/i386/sigreturn.S: Likewise.
44108 * sysdeps/unix/i386/syscall.S: Likewise.
44109 * sysdeps/unix/i386/vfork.S: Likewise.
44110 * sysdeps/unix/i386/wait.S: Likewise.
44111
7143acae
JM
44112 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44113 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44114
2ce4f015
JM
44115 * configure.in (arm*-none*): Do not allow without
44116 --enable-hacker-mode.
44117 (netbsd*): Remove case setting base_os.
44118 (386bsd*): Likewise.
44119 (freebsd*): Likewise.
44120 (bsdi*): Likewise.
44121 (osf*): Likewise.
44122 (sunos*): Likewise.
44123 (ultrix*): Likewise.
44124 (newsos*): Likewise.
44125 (dynix*): Likewise.
44126 (*bsd*): Likewise.
44127 (sysv*): Likewise.
44128 (isc*): Likewise.
44129 (esix*): Likewise.
44130 (sco*): Likewise.
44131 (minix*): Likewise.
44132 (irix4*): Likewise.
44133 (irix6*): Likewise.
44134 (solaris[2-9]*): Likewise.
44135 (none): Likewise.
44136 * configure: Regenerated.
44137
0ac229c8
AZ
441382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44139
44140 [BZ #11521]
44141 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44142 overflow or cancellation in calculating denominator.
44143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44145 down expression to avoid unexpected rounding in newer GCCs.
44146 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44147
33f244f4
DM
441482012-04-26 David S. Miller <davem@davemloft.net>
44149
44150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44151 long-double compat symbols.
44152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44165
cfa1f3e8
DM
441662012-04-25 David S. Miller <davem@davemloft.net>
44167
44168 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44169 HWCAP_* values only after the memory barriers have been defined.
44170 (atomic_full_barrier): Define.
44171 (atomic_read_barrier): Define.
44172 (atomic_write_barrier): Define.
44173
6e236b92
SP
441742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44175
44176 * shlib-versions: Add libgcc_s version information.
44177 * sysdeps/generic/libgcc_s.h: Remove.
44178 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44179 libgcc_s.h.
44180 * sysdeps/gnu/unwind-resume.c: Likewise.
44181 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44182
aab39a09
DM
441832012-04-25 David S. Miller <davem@davemloft.net>
44184
44185 * sysdeps/unix/sparc/brk.S: Delete.
44186 * sysdeps/unix/sparc/dl-brk.S: Delete.
44187 * sysdeps/unix/sparc/pipe.S: Delete.
44188 * sysdeps/unix/sparc/sysdep.S: Delete.
44189 * sysdeps/unix/sparc/sysdep.h: Delete.
44190 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44191 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44192 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44194 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44195 (JUMPTARGET): Remove.
44196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44197 sysdeps/unix/sparc/sysdep.h
44198 (ENTRY, END): Remove.
44199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44200
a3cc4f48
JM
442012012-04-25 Joseph Myers <joseph@codesourcery.com>
44202
2ed8cda2
JM
44203 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44204 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44205 -DIS_IN_build.
44206
35d76d59
JM
44207 * timezone/README: Update upstream location and email address for
44208 tzcode and tzdata.
44209 * timezone/zdump.c: Update from tzcode 2012b.
44210 * timezone/zic.c: Likewise.
44211
a3cc4f48
JM
44212 * configure.in (libc_cv_as_needed): Remove test.
44213 * configure: Regenerated.
44214 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44215 conditional definition.
44216 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44217 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44218 * config.make.in (have-as-needed): Remove variable.
44219
ceab42c3
SP
442202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44221 Paul Pluzhnikov <ppluzhnikov@google.com>
44222
44223 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44224 strings correctly.
44225
3ce2865f
CLT
442262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44227
44228 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44229 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44230 * sysdeps/sh/strlen.S: Likewise.
44231
f37e0d68
JM
442322012-04-24 Joseph Myers <joseph@codesourcery.com>
44233
ae186e9a
JM
44234 * sysdeps/unix/fork.S: Remove file.
44235 * sysdeps/unix/i386/fork.S: Likewise.
44236 * sysdeps/unix/sparc/fork.S: Likewise.
44237
b96914af
JM
44238 * sysdeps/unix/system.c: Remove file.
44239 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44240
f37e0d68
JM
44241 * sysdeps/unix/getegid.S: Remove file.
44242 * sysdeps/unix/geteuid.S: Likewise.
44243
87ef29ca
RM
442442012-04-24 Roland McGrath <roland@hack.frob.com>
44245
83bcd236
RM
44246 * scripts/check-localplt.awk: New file.
44247 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44248 of diff.
44249 * scripts/data/localplt-generic.data: Add a comment.
44250
87ef29ca
RM
44251 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44252 NODE when __dir_mkfile failed.
44253 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44254 Reported by Ludovic Courtès <ludo@gnu.org>.
44255
e5a6e567
AJ
442562012-04-24 Andreas Jaeger <aj@suse.de>
44257
44258 * Makerules (common-clean): Also remove gen-as-const-headers
44259 files.
44260
c1820385
JM
442612012-04-24 Joseph Myers <joseph@codesourcery.com>
44262
44263 * Makerules (native-compile): Do not change working directory for
44264 build. Use $(OUTPUT_OPTION) in command.
44265 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44266
94e02fc4
AZ
442672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44268
44269 [BZ #13886]
44270 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44271 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44272 * math/libm-test.inc (floor_test): Add more tests.
44273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44274
3a533ca3
JM
442752012-04-24 Joseph Myers <joseph@codesourcery.com>
44276
940ab4b3
JM
44277 * sysdeps/unix/getdents.c: Remove file.
44278 * sysdeps/unix/sysv/getdents.c: Likewise.
44279 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44280
90e037bd
JM
44281 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44282 sysdeps/unix/mman/syscalls.list.
44283 (mmap): Likewise.
44284 (mprotect): Likewise.
44285 (msync): Likewise.
44286 (munmap): Likewise.
44287 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44288 * sysdeps/unix/mman/syscalls.list: Remove.
44289 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44290
3a533ca3
JM
44291 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44292 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44293 * configure: Regenerated.
44294 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44295 $(libgcc_s_suffix).
44296 * config.make.in (libgcc_s_suffix): Remove variable.
44297
1ad743de
JM
442982012-04-23 Joseph Myers <joseph@codesourcery.com>
44299
4ad451e2
JM
44300 * sysdeps/unix/sysv/gethostname.c: Move to ...
44301 * sysdeps/posix/gethostname.c: ... here.
44302
5e37ce39
JM
44303 * sysdeps/unix/execve.S: Remove file.
44304
1ad743de
JM
44305 * sysdeps/unix/_exit.S: Remove file.
44306
4e681b5b
AJ
443072012-04-23 Andreas Jaeger <aj@suse.de>
44308
44309 [BZ #13739]
44310 * manual/Makefile: Remove make dist support, there's no
44311 need for a stand-alone documentation tar ball.
44312 (TEXI2DVI): Define always, it's not in Makeconfig.
44313 (dist): Removed.
44314 (tar-it): Removed.
44315 (edition): Removed.
44316 (glibc-doc-$(edition).tar): Removed
44317 (%.Z): Removed.
44318 (%.gz): Removed.
44319 (%.uu): Removed.
44320 (ETAGS): Remove, it's in Makeconfig.
44321 (move-if-change): Remove, it's in Makeconfig.
44322
38686a03 443232012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44324
44325 [BZ #13970]
44326 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44327 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44328 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44329 (strtod_l, strtof_l, strtold_l): Remove __wur.
44330 It is not necessarily an error to ignore strtol's return value.
44331 One can reliably look at the stored endptr to decide whether
44332 the number had valid syntax.
44333
7c0616fa
AJ
443342012-04-21 Andreas Jaeger <aj@suse.de>
44335
803cb6b7 44336 [BZ #13739]
7c0616fa
AJ
44337 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44338
b0fe253f
JM
443392012-04-21 Joseph Myers <joseph@codesourcery.com>
44340
44341 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44342 * sysdeps/unix/sysv/Versions: Remove file.
44343
8280f22d
MT
443442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44345
44346 [BZ #13927]
44347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44348
75ce411f 443492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44350
44351 [BZ #7064]
44352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44353 version from __vm86.
44354
097d59fa
JM
443552012-04-20 Joseph Myers <joseph@codesourcery.com>
44356
a90f3bcb
JM
44357 * sysdeps/unix/common/lxstat.c: Remove file.
44358 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44359
edc7ea78
JM
44360 * sysdeps/unix/sysv/Makefile: Remove file.
44361
cb78c221
JM
44362 * sysdeps/unix/sysv/direct.h: Remove file.
44363
efa6a45f
JM
44364 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44365 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44366 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44367 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44368 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44369 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44370 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44371
9c9f2d0c
JM
44372 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44373
4541c83b
JM
44374 * sysdeps/unix/xmknod.c: Remove file.
44375 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44376
f5d153a0
JM
44377 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44378
aa746595
JM
44379 * sysdeps/unix/sysv/i386/time.S: Remove file.
44380
cce5905e
JM
44381 * sysdeps/unix/fxstat.c: Remove file.
44382 * sysdeps/unix/xstat.c: Likewise.
44383 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44384
37fa3841
JM
44385 * sysdeps/unix/sysv/sigaction.c: Remove file.
44386
ff1962a3
JM
44387 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44388 (sysdep_headers): Remove variable.
44389 [termio.h not in sysdep_headers] (generated): Likewise.
44390 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44391 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44392 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44393 * sysdeps/unix/sysv/tcflow.c: Likewise.
44394 * sysdeps/unix/sysv/tcflush.c: Likewise.
44395 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44396 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44397 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44398 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44399 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44400
e7740d31
JM
44401 * sysdeps/unix/siglist.c: Remove file.
44402
ee06f18b
JM
44403 * sysdeps/unix/getppid.S: Remove file.
44404
097d59fa
JM
44405 * sysdeps/unix/mkdir.c: Remove file.
44406 * sysdeps/unix/rmdir.c: Likewise.
44407
ff3d51ec
AS
444082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44409
44410 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44411 ERR_MAX value.
44412 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44413 errlist-compat value.
44414
50f81fd7
DM
444152012-04-18 David S. Miller <davem@davemloft.net>
44416
44417 * sysdeps/generic/memcopy.h (reg_char): Delete.
44418 * debug/strcat_chk.c: Use char, not reg_char.
44419 * debug/strcpy_chk.c: Likewise.
44420 * debug/strncat_chk.c: Likewise.
44421 * debug/strncpy_chk.c: Likewise.
44422 * string/memchr.c: Likewise.
44423 * string/memrchr.c: Likewise.
44424 * string/rawmemchr.c: Likewise.
44425 * string/strcat.c: Likewise.
44426 * string/strchr.c: Likewise.
44427 * string/strchrnul.c: Likewise.
44428 * string/strcmp.c: Likewise.
44429 * string/strcpy.c: Likewise.
44430 * string/strncat.c: Likewise.
44431 * string/strncmp.c: Likewise.
44432 * string/strncpy.c: Likewise.
44433
8ff41c46
WS
444342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44435
44436 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44437 __builtin_memcopy is called when src and dest ranges are known to not
44438 overlap.
44439
6b652f46
WS
444402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44441
44442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44443 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44444 fwd_align_merge macro call.
44445 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44446 bwd_align_merge macro call.
44447 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44448
b282631e
WS
444492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44450
44451 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44452 bwd_align_merge macros.
44453 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44454 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44455 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44456
95aa737c
DM
444572012-04-18 David S. Miller <davem@davemloft.net>
44458
44459 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44460
7a99a614
AJ
444612012-04-18 Andreas Jaeger <aj@suse.de>
44462
44463 [BZ# 6794]
44464 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44465 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44466 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44467
44468 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44469 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44470 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44471
44472 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44473 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44474 Adjust for changed ldbl-128 files.
44475
44476 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44477 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44479
e5270c23
DM
444802012-04-17 David S. Miller <davem@davemloft.net>
44481
44482 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44483
fb5e92c9
AS
444842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44485
44486 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44487 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44488 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44489 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44490 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44491 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44492
76da7265
AZ
444932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44494
44495 [BZ #6794]
44496 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44497 * math/libm-test.inc: Add ilogb errno and exception tests.
44498 * math/w_ilogb.c: New file: ilogb wrapper.
44499 * math/w_ilogbf.c: New file: ilogbf wrapper.
44500 * math/w_ilogbl.c: New file: ilogbl wrapper.
44501 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44502 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44503 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44504 exception being thrown with 0.0 as argument.
44505 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44506 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44507 exception being thrown with 0.0 as argument.
44508 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44509 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44510 exception being thrown with 0.0 as argument.
44511 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44512 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44513 exception being thrown with 0.0 as argument.
44514 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44515 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44517 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44518 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44519 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44520 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44521 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44522 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44523
0396e69d
PB
445242012-04-17 Petr Baudis <pasky@ucw.cz>
44525
44526 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44527 with altivec.
44528
750b5926
MP
445292012-04-16 Marek Polacek <polacek@redhat.com>
44530
44531 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44532
751728a1
MP
445332012-04-16 Marek Polacek <polacek@redhat.com>
44534
44535 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44536 operands of fdivp instruction.
44537
34a27407
L
445382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44539
44540 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44541 * elf/tst-auditmod3b.c: Likewise.
44542 * elf/tst-auditmod4b.c: Likewise.
44543 * elf/tst-auditmod5b.c: Likewise.
44544 * elf/tst-auditmod6b.c: Likewise.
44545 * elf/tst-auditmod6c.c: Likewise.
44546 * elf/tst-auditmod7b.c: Likewise.
44547 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44548 * sysdeps/x86_64/preconfigure.in: Likewise.
44549 * sysdeps/x86_64/preconfigure: Regenerated.
44550
7e73e17d
L
445512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44552
44553 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44554 __ILP32__.
44555
c7a6ab72
AB
445562012-04-13 Antoine Balestrat <merkil33@gmail.com>
44557
44558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44559 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44560
a9e8e0e0
CL
445612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44562
44563 [BZ #13973]
44564 * locale/iso-639.def: Fix gl language name. Spotted by
44565 Yaron Shahrabani.
44566
ec98af7d
RM
445672012-04-12 Roland McGrath <roland@hack.frob.com>
44568
44569 [BZ #2074]
44570 * libio/libio.h (__io_write_fn): Update comment.
44571
247c3ede
PB
445722012-04-12 Petr Baudis <pasky@ucw.cz>
44573
44574 [BZ #2074]
44575 * stdio.texi (Hook Functions): The user provided writer function
44576 is not allowed to return -1.
44577
55939d6d
DM
445782012-04-11 David S. Miller <davem@davemloft.net>
44579
44580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44581
90020f5a
MF
445822012-04-11 Mike Frysinger <vapier@gentoo.org>
44583
44584 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44585 Add a leading slash to rtkaio.
44586
288f9098
JM
445872012-04-11 Jim Meyering <meyering@redhat.com>
44588
90020f5a
MF
44589 [BZ #11959]
44590 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44591 It is not necessarily an error to ignore fwrite's return
44592 value. One can reliably use ferror to test for errors after
44593 the fact.
288f9098 44594
4be2b570
L
445952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44596
44597 * bits/types.h (__snseconds_t): New type.
44598 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44599
44600 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44602 (__SNSECONDS_T_TYPE): Likewise.
44603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44604 (__SNSECONDS_T_TYPE): Likewise.
44605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44606 (__SNSECONDS_T_TYPE): Likewise.
44607
288f9098 446082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44609
44610 [BZ #2636]
44611 * manual/time.texi (Processor Time): Return type of times is
44612 elapsed real time since an arbitrary point in the past.
44613 (CPU Time): Move CLK_TCK from here...
44614 (Processor Time): ...to here. Correct description.
44615 * manual/conf.texi (Constants for Sysconf): Correct description of
44616 _SC_CLK_TCK.
44617
d7dd4413
DM
446182012-04-10 David S. Miller <davem@davemloft.net>
44619
44620 [BZ #13967]
44621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44622 where the is a gap between DT_REL(A) and DT_JMPREL.
44623
b46068fc
L
446242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44625
44626 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44627 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44628 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44629
73d65cc3
SP
446302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44631
44632 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44633 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44634 (dl_main): Handle --inhibit-cache.
44635 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44636 _dl_inhibit_cache.
44637 * elf/dl-load.c (_dl_map_object): Use it.
44638 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44639
bcc8d661
JM
446402012-04-09 Joseph Myers <joseph@codesourcery.com>
44641
8f9a2fae
JM
44642 [BZ #13872]
44643 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44644 (__ieee754_powl): Saturate large exponents rather than testing for
44645 overflow of y*log2(x).
44646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44647 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44648 exceptions.
44649
bcc8d661
JM
44650 [BZ #11521]
44651 * math/s_ctan.c: Include <float.h>.
44652 (__ctan): Avoid internal overflow or cancellation in calculating
44653 denominator.
44654 * math/s_ctanf.c: Likewise.
44655 * math/s_ctanl.c: Likewise.
44656 * math/s_ctanh.c: Likewise.
44657 * math/s_ctanhf.c: Likewise.
44658 * math/s_ctanhl.c: Likewise.
44659 * math/libm-test.inc (ctan_test): Add more tests.
44660 (ctanh_test): Likewise.
44661 * sysdeps/i386/fpu/libm-test-ulps: Update.
44662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44663
823fbbb4
AJ
446642012-04-09 Andreas Jaeger <aj@suse.de>
44665
03879793
AJ
44666 [BZ #6894]
44667 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44668 is an optional BSD extension.
44669
823fbbb4
AJ
44670 [BZ #10254]
44671 * manual/stdio.texi (Opening Streams): Document additional fopen
44672 parameters.
44673
8de131cb
RM
446742012-04-09 Roland McGrath <roland@hack.frob.com>
44675
44676 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44677 %eax without telling the compiler.
44678
c0ed9d7d
CD
446792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44680
44681 [BZ # 13963]
44682 * manual/install.texi: Use sourceware.org.
44683
c483f6b4
JM
446842012-04-09 Joseph Myers <joseph@codesourcery.com>
44685
d7dd9453
JM
44686 [BZ #13873]
44687 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44688 (__ieee754_pow): Generate overflow and underflow using huge*huge
44689 and tiny*tiny rather than just returning constant infinity or zero
44690 for large exponents.
44691 * math/libm-test.inc (pow_test): Require overflow exceptions for
44692 applicable cases of large exponents.
44693
c483f6b4
JM
44694 [BZ #706]
44695 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44696 (__ieee754_pow): Use iterative multiplication algorithm only for
44697 integer exponents with absolute value below 1024. Check for odd
44698 integer exponents when using algorithm for real exponents.
44699 * math/libm-test.inc (pow_test): Add more tests.
44700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44701
d2de7579
JM
447022012-04-08 Joseph Myers <joseph@codesourcery.com>
44703
44704 [BZ #13705]
44705 * math/libm-test.inc (exp_test): Do not allow overflow exception
44706 on underflow test.
44707
f77f1232
AJ
447082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44709
44710 [BZ #13705]
44711 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44712 instead of __kernel_standard_f.
44713
3884932b
MF
447142012-04-08 Mike Frysinger <vapier@gentoo.org>
44715
44716 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44717 * sysdeps/x86_64/memset_chk.S: Likewise.
44718
54472e9c
AJ
447192012-04-08 Andreas Jaeger <aj@suse.de>
44720
6ab0fbfc
AJ
44721 [BZ #10153]
44722 * manual/startup.texi (Environment Access): Describe return value
44723 for putenv and setenv.
44724
61efba8c
AJ
44725 [BZ #6895]
44726 * manual/filesys.texi (Directory Entries): Add description for
44727 DT_LNK.
44728
95c3f29a
AJ
44729 [BZ #6890]
44730 * manual/filesys.texi (Directory Entries): Clarify that it's file
44731 system not operating system in the description of DT_UNKNOWN.
44732
54472e9c
AJ
44733 [BZ #6578]
44734 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44735
624254b1
SC
447362012-04-08 Stephen Compall <s11@member.fsf.org>
44737
44738 [BZ #6649]
44739 * manual/llio.texi (Opening and Closing Files): Add cross
44740 reference to explain mode argument.
44741
1e4920e0
MF
447422012-04-07 Mike Frysinger <vapier@gentoo.org>
44743
44744 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44745 * sysdeps/x86_64/memset_chk.S: Likewise.
44746
5ed848f3
DM
447472012-04-07 David S. Miller <davem@davemloft.net>
44748
44749 * elf/elf.h (R_SPARC_WDISP10): Define.
44750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44751 R_SPARC_SIZE32.
44752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44753 R_SPARC_SIZE64 and R_SPARC_H34.
44754
96154cd8
CD
447552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44756
44757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44758 conditions and remove no longer applicable assertion.
44759
9904dc47
L
447602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44761
44762 * bits/byteswap.h: Include <features.h>.
44763 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44764 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44765
f8887d0a
L
447662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44767
44768 * bits/byteswap.h (__bswap_16): Removed.
44769 Include <bits/byteswap-16.h> to get __bswap_16.
44770 * sysdeps/i386/bits/byteswap.h: Likewise.
44771 * sysdeps/s390/bits/byteswap.h: Likewise.
44772 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44773 * bits/byteswap-16.h: New file.
44774 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44775 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44776 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44777 * string/Makefile (headers): Add bits/byteswap-16.h.
44778
62470f60
PP
447792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44780
44781 [BZ #13895]
44782 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44783 extra indirection.
44784 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44785 * nss/tst-nss-static.c: New.
44786
4dad7bab
RM
447872012-04-06 Robert Millan <rmh@gnu.org>
44788
44789 [BZ #6486]
44790 * manual/llio.texi (File Position Primitive): lseek
44791 refers to WHENCE when it really means OFFSET.
44792
e9142a17
AJ
447932012-04-06 Andreas Jaeger <aj@suse.de>
44794
2c040eff
AJ
44795 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44796 strncmp declarations.
44797
e9142a17
AJ
44798 * abilist/libc.abilist: Add __poll and __ppoll.
44799
ff9f1c5f
DM
448002012-04-05 David S. Miller <davem@davemloft.net>
44801
dcd2ae90
DM
44802 * scripts/check-local-headers.sh: Accept a host triplet in the
44803 path matched by the exclude regexp.
44804
993eb054
DM
44805 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44806 definition.
44807 * sysdeps/powerpc/powerpc32/dl-machine.h
44808 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44809 * sysdeps/s390/s390-32/dl-machine.h
44810 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44811 * sysdeps/sparc/sparc32/dl-machine.h
44812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44813 * sysdeps/sparc/sparc64/dl-machine.h
44814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44815
ff9f1c5f
DM
44816 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44817 lazy binding.
48e2e132 44818 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44819 undefined symbol errors.
44820
48e2e132 44821 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44822 DT_NEEDED entries.
44823
e80d6f94
MM
448242012-04-05 Michael Matz <matz@suse.de>
44825
44826 [BZ #13592]
44827 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44828
349fa79f
AJ
448292012-04-05 Andreas Jaeger <aj@suse.de>
44830
44831 [BZ #13908]
44832 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44833 comment.
44834
f402708f
KK
448352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44836
44837 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44838 which ROUND is no valid rounding mode.
44839
2ecccfc9
KK
448402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44841
44842 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44843 read again.
44844 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44845
8a53f50f
KK
448462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44847
44848 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44849 an exception using FPU order intentionally.
44850
448512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44852
44853 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44854 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44855 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44856 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44857
d653abb7
SJ
448582012-04-05 Simon Josefsson <simon@josefsson.org>
44859
44860 [BZ #12340]
44861 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44862 EINVAL when BUFLEN is too smal.
44863
c3b1bf7d
TS
448642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44865
44866 [BZ #13553]
44867 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44868 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44869
b1aa60f3
AJ
448702012-04-03 Andreas Jaeger <aj@suse.de>
44871
c3b1bf7d 44872 [BZ #13938]
67f60a26
AJ
44873 * manual/setjmp.texi (System V contexts): Fix sentence.
44874
b1aa60f3
AJ
44875 [BZ #13926]
44876 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44877 New macro for this case.
44878 [!__GNUC__] (__bswap_64): New inline function for this case.
44879 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44880 * bits/byteswap.h: Likewise.
44881 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44882 ull, guard with __GLIBC_HAVE_LONG_LONG.
44883
44884 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44885 __GLIBC_HAVE_LONG_LONG.
44886
44887 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44888 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44889
39c59c35
TMQMF
448902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44891
44892 [BZ #13691]
44893 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44894 inptr and inend, rather than using last_ch.
44895
135ffda8
DM
448962012-04-02 David S. Miller <davem@davemloft.net>
44897
44898 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44899 * stdio-common/printf-parse.h (read_int): Change return type to
44900 'int', return -1 on INT_MAX overflow.
44901 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44902 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44903 overflows INT_MAX. Check for overflow of in-format-string precision
44904 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44905 SIZE_MAX not INT_MAX for integer overflow test.
44906 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44907 skip the construct in the format string but do not record anything.
44908 * stdio-common/bug22.c: Adjust to test both width/prevision
44909 INT_MAX overflow as well as total length INT_MAX overflow. Check
44910 explicitly for proper errno values.
44911
228c019e
TS
449122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44913
302cadd3
TS
44914 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44915 CHAR_MAX.
44916 * string/test-strcmp.c [! WIDE]: Likewise.
44917 * time/tst-mktime2.c: Likewise for INT_MAX.
44918 * string/test-string.h: #include <sys/param.h> for MIN.
44919
228c019e
TS
44920 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44921 * sysdeps/i386/init-first.c (init): Likewise.
44922 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44923 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44924 * sysdeps/sh/init-first.c (init): Likewise.
44925
cfa633f5
UD
449262012-04-01 Ulrich Drepper <drepper@gmail.com>
44927
44928 * po/ru.po: Update from translation team.
d1635ef8 44929 * po/vi.po: Likewise.
cfa633f5 44930
6cd0a5ea
SP
449312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44932
44933 * resolv/nss_dns/dns-host.c: Merge copyright years.
44934
4b43400f
LD
449352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44936
44937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44938 Optimize memcpy with prefetch if
44939 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44940 src, dst pointers have unequal 16 byte alignments.
44941
48c41d04
SP
449422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44943
44944 [BZ #13928]
44945 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44946 from a CNAME entry and return the minimum ttl for the query.
44947 (gaih_getanswer_slice): Likewise.
44948
b8dc394d
JL
449492012-03-30 Jeff Law <law@redhat.com>
44950
44951 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44952 due to long keys.
44953 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44954 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44955
2f5a5ed0
JL
44956 * resolv/nss_dns/dns-host.c: Update copyright year.
44957
1d39e359
UD
449582012-03-30 Ulrich Drepper <drepper@gmail.com>
44959
c030f70c 44960 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44961 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44962
1d39e359
UD
44963 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44964 comments for sendmmsg.
44965
449662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44967
44968 [BZ #13691]
44969 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44970 with only 1 character between 0x0041 and 0x01b0.
44971 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44972 * wcsmbs/tst-mbsnrtowcs.c: New file.
44973
20fde227
DM
449742012-03-29 David S. Miller <davem@davemloft.net>
44975
44976 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44977 small copies by hand.
44978
984a4237
JL
449792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44980
44981 [BZ #13761]
57f41c40
AS
44982 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44983 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44984 group memberships.
984a4237 44985
18c9d62b
DM
449862012-03-28 David S. Miller <davem@davemloft.net>
44987
88d85d4f
DM
44988 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44989 that branches into memcpy.
44990 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44993 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44995 bits.
44996 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44997 implementation too.
44998 * sysdeps/sparc/mempcpy.S: New file.
44999
e5aa83e1
DM
45000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45001 the IFUNC routine in the libc case.
45002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45003
88570753
DM
45004 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45005 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45006 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45007 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45008 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45009 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45010 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45011 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45012
249d7567
DM
45013 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45014 loop to 256 bytes instead of 64 bytes and fix test signedness.
45015
18c9d62b
DM
45016 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45017 * sysdeps/sparc/sparc32/Makefile: rather than here...
45018 * sysdeps/sparc/sparc64/Makefile: and here.
45019
05f3d1f6
UD
450202012-03-28 Ulrich Drepper <drepper@gmail.com>
45021
45022 * malloc/mallocbug.c: Avoid warnings about unused variables.
45023
86ae07a8
JL
450242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45025
45026 [BZ #13760]
45027 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45028 in the right place. Discard and retry query if response is
45029 larger than input buffer size.
45030
41bf21a1
JM
450312012-03-28 Joseph Myers <joseph@codesourcery.com>
45032
d6270972
JM
45033 [BZ #369]
45034 [BZ #2678]
45035 [BZ #3866]
45036 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45037 x for large integer exponent.
45038 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45039 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45040 sign of result as needed afterwards.
45041 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45042 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45043 result for underflowing pow the same as for overflow.
45044 (__kernel_standard_l): Handle powl overflow and underflow here
45045 rather than calling __kernel_standard.
45046 * math/libm-test.inc (pow_test): Add more tests.
45047
414fca03 45048 [BZ #3868]
41bf21a1
JM
45049 [BZ #13879]
45050 [BZ #13910]
45051 [BZ #13911]
45052 [BZ #13912]
45053 [BZ #13913]
45054 [BZ #13915]
45055 [BZ #13916]
45056 [BZ #13917]
45057 [BZ #13918]
45058 [BZ #13919]
45059 [BZ #13920]
45060 [BZ #13921]
45061 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45062 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45063 (__kernel_standard_l): New function.
45064 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45065 __kernel_standard.
45066 * math/w_acosl.c (__acosl): Likewise.
45067 * math/w_asinl.c (__asinl): Likewise.
45068 * math/w_atan2l.c (__atan2l): Likewise.
45069 * math/w_atanhl.c (__atanhl): Likewise.
45070 * math/w_coshl.c (__coshl): Likewise.
45071 * math/w_exp10l.c (__exp10l): Likewise.
45072 * math/w_exp2l.c (__exp2l): Likewise.
45073 * math/w_fmodl.c (__fmodl): Likewise.
45074 * math/w_hypotl.c (__hypotl): Likewise.
45075 * math/w_j0l.c (__j0l, __y0l): Likewise.
45076 * math/w_j1l.c (__j1l, __y1l): Likewise.
45077 * math/w_jnl.c (__jnl, __ynl): Likewise.
45078 * math/w_lgammal.c (__lgammal): Likewise.
45079 * math/w_log10l.c (__log10l): Likewise.
45080 * math/w_log2l.c (__log2l): Likewise.
45081 * math/w_logl.c (__logl): Likewise.
45082 * math/w_powl.c (__powl): Likewise.
45083 * math/w_remainderl.c (__remainderl): Likewise.
45084 * math/w_scalbl.c (sysv_scalbl): Likewise.
45085 * math/w_sinhl.c (__sinhl): Likewise.
45086 * math/w_sqrtl.c (__sqrtl): Likewise.
45087 * math/w_tgammal.c (__tgammal): Likewise.
45088 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45089 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45090 * math/libm-test.inc (acos_test): Add more tests.
45091 (acosh_test): Likewise.
45092 (asin_test): Likewise.
45093 (atanh_test): Likewise.
45094 (exp_test): Likewise.
45095 (exp10_test): Likewise.
45096 (exp2_test): Likewise.
45097 (expm1_test): Likewise.
45098 (lgamma_test): Likewise.
45099 (log_test): Likewise.
45100 (log10_test): Likewise.
45101 (log1p_test): Likewise.
45102 (log2_test): Likewise.
45103 (pow_test): Do not allow some spurious overflow exceptions.
45104 (sqrt_test): Add more tests.
45105 (tgamma_test): Likewise.
45106 (y0_test): Likewise.
45107 (y1_test): Likewise.
45108 (yn_test): Likewise.
45109
dd62fda6
AB
451102012-03-27 Anton Blanchard <anton@samba.org>
45111
45112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45113 MAP_HUGETLB.
45114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45115 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45117
1e3cdfda
AJ
451182012-03-27 David S. Miller <davem@davemloft.net>
45119
b855ab85
DM
45120 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45121
1e3cdfda
AJ
45122 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45123 have-as-vis3 check.
45124
451252012-03-27 Andreas Jaeger <aj@suse.de>
45126
45127 * sysdeps/x86_64/elf/configure.in: Moved to ...
45128 * sysdeps/x86_64/configure.in: ... here.
45129 * sysdeps/x86_64/elf/start.S: Moved to ...
45130 * sysdeps/x86_64/start.S: ... here.
45131 * sysdeps/x86_64/elf/configure: Delete.
45132
45133 * sysdeps/x86_64/configure.in: Merge contents from
45134 sysdeps/i386/configure.in (without i686 check).
45135
45136 * sysdeps/i386/elf/Versions: Merge into ...
45137 * sysdeps/i386/Versions: ... this.
45138 * sysdeps/i386/elf/Versions: Delete file.
45139 * sysdeps/i386/elf/start.S: Moved to ...
45140 * sysdeps/i386/start.S: ...here.
45141 * sysdeps/i386/elf/configure.in: Merge into...
45142 * sysdeps/i386/configure.in: ...here.
45143 * sysdeps/i386/elf/configure.in: Delete file.
45144 * sysdeps/i386/elf/configure: Delete file.
45145
45146 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45147 * debug/backtracesyms.c: ... here.
45148 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45149 * debug/backtracesymsfd.c: ... here.
45150 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45151 * sysdeps/generic/ifunc-sel.h: ... here.
45152
45153 * sysdeps/unix/i386/start.c: Delete file.
45154 * sysdeps/unix/sparc/start.c: Delete file.
45155 * sysdeps/unix/start.c: Delete file.
45156
45157 * sysdeps/sh/elf/configure.in: Moved to ...
45158 * sysdeps/sh/configure.in: ... here.
45159 * sysdeps/sh/elf/start.S: Moved to ...
45160 * sysdeps/sh/start.S: ... here.
45161 * sysdeps/sh/elf/configure: Delete file.
45162
45163 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45164 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45165 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45166 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45167 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45168 * sysdeps/powerpc/powerpc64/start.S: here.
45169 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45170 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45171 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45172 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45173 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45174
45175 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45176 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45177 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45178 * sysdeps/powerpc/powerpc32/start.S: ... here.
45179 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45180 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45181 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45182
45183 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45184 * sysdeps/powerpc/ifunc-sel.h: ... here.
45185 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45186 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45187
45188 * sysdeps/sparc/elf/configure.in: Moved to ...
45189 * sysdeps/sparc/configure.in: ... here.
45190 * sysdeps/sparc/elf/configure: Delete file.
45191 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45192 * sysdeps/sparc/sparc32/start.S: ... here.
45193 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45194 * sysdeps/sparc/sparc64/start.S: ... here.
45195 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45196 * sysdeps/sparc/sparc32/Makefile: ... this.
45197 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45198 * sysdeps/sparc/sparc64/Makefile: ... this.
45199
45200 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45201 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45202 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45203 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45204 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45205 * sysdeps/s390/s390-32/setjmp.S: ... here.
45206 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45207 * sysdeps/s390/s390-32/configure.in: ... here.
45208 * sysdeps/s390/s390-32/elf/configure: Delete file.
45209 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45210 * sysdeps/s390/s390-32/start.S: ... here.
45211
45212 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45213 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45214 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45215 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45216 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45217 * sysdeps/s390/s390-64/setjmp.S: ... here.
45218 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45219 * sysdeps/s390/s390-64/configure.in: ... here
45220 * sysdeps/s390/s390-64/elf/configure: Delete file.
45221 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45222 * sysdeps/s390/s390-64/start.S: ... here.
45223 * sysdeps/s390/s390-64/elf/configure: Delete.
45224
45225 * configure.in: Remove support for elf directories in sysdeps.
45226
45227 * configure: Regenerated.
45228 * sysdeps/i386/configure: Regenerated.
45229 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45230 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45231 * sysdeps/s390/s390-32/configure: Regenerated.
45232 * sysdeps/s390/s390-64/configure: Regenerated.
45233 * sysdeps/sh/configure: Regenerated.
45234 * sysdeps/sparc/configure: Regenerated.
45235 * sysdeps/x86_64/configure: Regenerated.
45236
a3f61311
AS
452372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45238
c876e002
AS
45239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45240
a3f61311
AS
45241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45242 denormal result into account.
45243
ac4c54f0
RM
452442012-03-25 Roland McGrath <roland@hack.frob.com>
45245
45246 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45247 Reported by Allan McRae <allan@archlinux.org>.
45248
6a9b9c02
JL
452492012-03-23 Jeff Law <law@redhat.com>
45250
45251 * nss/getnssent.c (__nss_getent): Fix typo.
45252
4c42a0c1
DM
452532012-03-23 David S. Miller <davem@davemloft.net>
45254
45255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45256
1532c7ac
L
452572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45258
45259 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45260 to pad to uint64_t for each field.
45261 (dl_tls_index): Replace unsigned long with uint64_t.
45262
3ff42526
PP
452632012-03-23 Daniel Jacobowitz <dmj@google.com>
45264 Paul Pluzhnikov <ppluzhnikov@google.com>
45265
45266 [BZ #6528]
45267 * grp/Makefile (otherlibs): Don't set it.
45268 * inet/Makefile (otherlibs): Likewise.
45269 * login/Makefile (otherlibs): Likewise.
45270 * nscd/Makefile (otherlibs): Likewise.
45271 * posix/Makefile (otherlibs): Likewise.
45272 * pwd/Makefile (otherlibs): Likewise.
45273 * rt/Makefile (otherlibs): Likewise.
45274 * sunrpc/Makefile (otherlibs): Likewise.
45275 * nss/Makefile (otherlibs): Likewise.
45276 Add libnss_files to routines and static-only-routines.
45277 ($(objpfx)getent): Remove rule.
45278 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45279 static-only-routines.
45280
7c69cd14
JM
452812012-03-22 Joseph Myers <joseph@codesourcery.com>
45282
45283 [BZ #13892]
45284 * math/s_cexp.c: Include <float.h>.
45285 (__cexp): Handle exp result overflowing not necessarily
45286 overflowing both real and imaginary parts of result.
45287 * math/s_cexpf.c: Likewise.
45288 * math/s_cexpl.c: Likewise.
45289 * math/libm-test.inc (cexp_test): Add more tests.
45290 * sysdeps/i386/fpu/libm-test-ulps: Update.
45291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45292
81b035fe
L
452932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45294
45295 * include/link.h (ELFW): New macro.
45296 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45297 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45298
1da7940c
L
452992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45300
45301 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45302 with uint64_t.
45303
b749dbb9
L
453042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45305
45306 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45307 declaration.
45308 (struct La_x32_retval): Likewise.
45309
2ff87f3f
L
453102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45311
45312 * sysdeps/x86_64/preconfigure.in: New file.
45313 * sysdeps/x86_64/preconfigure: New generated file.
45314
c0df8e69
JM
453152012-03-22 Joseph Myers <joseph@codesourcery.com>
45316
48e44791
JM
45317 [BZ #13824]
45318 * math/e_exp2l.c: Include <float.h>.
45319 (__ieee754_exp2l): Handle overflow and underflow cases
45320 separately. Only pass fractional part of argument to
45321 __ieee754_expl.
45322 * math/libm-test.inc (exp2_test): Add more tests.
45323
c0df8e69
JM
45324 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45325 negating x to take absolute value.
45326 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45327 Likewise.
45328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45330 Likewise.
45331 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45332 computing low part if x was negated.
45333 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45334
c8e43ba7
L
453352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45336
45337 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45338 la_x32_gnu_pltexit.
45339 (pltexit): Cast int_retval to ptrdiff_t.
45340 * elf/tst-auditmod3b.c: Likewise.
45341 * elf/tst-auditmod4b.c: Likewise.
45342 * elf/tst-auditmod5b.c: Likewise.
45343 * elf/tst-auditmod6b.c: Likewise.
45344 * elf/tst-auditmod6c.c: Likewise.
45345 * elf/tst-auditmod7b.c: Likewise.
45346
45347 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45348 and x32_gnu_pltexit.
45349
45350 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45351 __ELF_NATIVE_CLASS.
45352 (La_x32_regs): New macro.
45353 (La_x32_retval): Likewise.
45354 (la_x32_gnu_pltenter): New function prototype.
45355 (la_x32_gnu_pltexit): Likewise.
45356
7998fa78
AS
453572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45358
dcb33988
AS
45359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45360 exponent.
45361
233fc563
AS
45362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45363
7998fa78
AS
45364 * configure.in (libc_cv_cc_nofma): Check for option to disable
45365 generation of FMA instructions.
45366 * configure: Regenerate.
45367 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45368 * sysdeps/ieee754/dbl-64/Makefile: New file.
45369 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45370 Remove brandred-fma4.
45371 (CFLAGS-brandred-fma4.c): Remove.
45372 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45374 define.
45375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45376 define.
45377
8e95c99a
L
453782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45379
45380 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45381 LLONG_MAX != LONG_MAX.
45382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45383 (_fitoa_word): Likewise.
45384 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45385 LLONG_MAX != LONG_MAX.
45386 * stdio-common/_itowa.h: Include <_itoa.h>.
45387 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45388 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45389 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45390 only if not defined.
45391 (_ITOA_WORD_TYPE): Likewise.
45392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45393 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45394
6f4db457
DM
453952012-03-21 David S. Miller <davem@davemloft.net>
45396
45397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45398
7785fe5a
L
453992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45400
45401 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45402 of x86_64 when setting libc_cv_slibdir, libdir and
45403 libc_cv_localedir.
45404 * sysdeps/unix/sysv/linux/configure: Regenerated.
45405
4535cd55
JM
454062012-03-21 Joseph Myers <joseph@codesourcery.com>
45407
45408 * manual/lang.texi (Old Varargs): Remove section.
45409 (How Variadic): Update menu.
45410 (va_start): Do not mention varargs.h.
45411
17228132
TS
454122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45413 Joseph Myers <joseph@codesourcery.com>
45414
45415 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45416 link test.
45417 * configure: Regenerated.
45418
8149f976
TS
454192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45420
05f3d1f6
UD
45421 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45422 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45423 conformtest.pl
8149f976 45424
1a4ac776
JM
454252012-03-21 Joseph Myers <joseph@codesourcery.com>
45426
be22ce65
JM
45427 * NOTES: Remove.
45428 * Makefile (files-for-dist): Remove NOTES.
45429 (NOTES): Remove rule.
45430 * README: Don't refer to NOTES.
45431 * manual/creature.texi: Don't include macros.texi.
45432 * manual/intro.texi (creature.texi): Remove comment referring to
45433 NOTES.
45434
40b601fb
JM
45435 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45436 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45437 * configure: Regenerated.
45438 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45439 LIBC_TRY_CC_OPTION.
45440 (libc_cv_as_i686): Likewise.
45441 (libc_cv_cc_avx): Likewise.
45442 (libc_cv_cc_sse2avx): Likewise.
45443 (libc_cv_cc_fma4): Likewise.
45444 (libc_cv_cc_novzeroupper): Likewise.
45445 * sysdeps/i386/configure: Regenerated.
45446
1a4ac776
JM
45447 [BZ #13883]
45448 * sysdeps/i386/fpu/s_cexp.S: Remove.
45449 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45451 * math/libm-test.inc (cexp_test): Add more tests.
45452 * sysdeps/i386/fpu/libm-test-ulps: Update.
45453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45454
a458e7fe
AM
454552012-03-21 Allan McRae <allan@archlinux.org>
45456
45457 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45458
0cb7efc5
JM
454592012-03-21 Joseph Myers <joseph@codesourcery.com>
45460
45461 [BZ #13871]
45462 * math/w_exp2.c: Do not include <float.h>.
45463 (o_threshold, u_threshold): Remove.
45464 (__exp2): Calculate result before checking finiteness and calling
45465 __kernel_standard.
45466 * math/w_exp2f.c: Likewise.
45467 * math/w_exp2l.c: Likewise.
45468 * math/libm-test.inc (exp2_test): Require overflow exception for
45469 1e6 input.
2460d3aa
JM
45470
45471 [BZ #3866]
45472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45473 range of signed 64-bit integers before using fistpll. Remove
45474 checks for whether integers fit in mantissa bits.
45475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45476 the range of signed 32-bit integers before using fistpl. Remove
45477 checks for whether integers fit in mantissa bits.
45478 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45479 (__ieee754_powl): Test for y outside the range of signed 64-bit
45480 integers before using fistpll. Reduce 64-bit values to 63-bit
45481 ones as needed.
45482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45483 divide-by-zero is raised for zero to large negative powers.
45484 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45485 (__ieee754_powl): Test for y outside the range of signed 64-bit
45486 integers before using fistpll. Reduce 64-bit values to 63-bit
45487 ones as needed.
45488 * math/libm-test.inc (pow_test): Add more tests.
45489
eb96ffb0
L
454902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45491
45492 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45493 <stdio-common/_itoa.h>.
45494 * debug/segfault.c: Likewise.
45495 * elf/dl-cache.c: Likewise.
45496 * elf/dl-minimal.c: Likewise.
45497 * elf/dl-misc.c: Likewise.
45498 * elf/dl-sysdep.c: Likewise.
45499 * elf/dl-version.c: Likewise.
45500 * elf/rtld.c: Likewise.
45501 * hurd/hurdsock.c: Likewise.
45502 * hurd/lookup-retry.c: Likewise.
45503 * malloc/malloc.c: Likewise.
45504 * malloc/mtrace.c: Likewise.
45505 * nscd/nscd_getgr_r.c: Likewise.
45506 * nscd/nscd_getpw_r.c: Likewise.
45507 * nscd/nscd_getserv_r.c: Likewise.
45508 * posix/getopt_init.c: Likewise.
45509 * posix/wordexp.c: Likewise.
45510 * stdio-common/_itoa.c: Likewise.
45511 * stdio-common/printf_fphex.c: Likewise.
45512 * stdio-common/vfprintf.c: Likewise.
45513 * string/_strerror.c: Likewise.
45514 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45515 * sysdeps/i386/i686/hp-timing.h: Likewise.
45516 * sysdeps/mach/_strerror.c: Likewise.
45517 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45518 * sysdeps/mach/hurd/sethostid.c: Likewise.
45519 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45520 * sysdeps/mach/xpg-strerror.c: Likewise.
45521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45522 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45523 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45524 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45525 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45526 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45528 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45529 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45530 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45531 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45532 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45533 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45534 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45535 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45536 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45537 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45538 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45539 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45540 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45541 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45542
45543 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45544
45545 * stdio-common/_itoa.h: Moved to ...
45546 * sysdeps/generic/_itoa.h: Here.
45547
45548 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45549
45550 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45551 instead of "_itoa.h" and "_itowa.h".
45552 * stdio-common/vfprintf.: Likewise.
45553
d1af992d
L
455542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45555
45556 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45557 <bits/wordsize.h>.
45558 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45559 (__signbit): Likwise.
45560 (llrintf): Likwise.
45561 (llrint): Likwise.
45562
114883e0
L
455632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45564
45565 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45566 __WORDSIZE != 64.
45567
c135cc1b
JM
455682012-03-20 Joseph Myers <joseph@codesourcery.com>
45569
45570 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45571 OVERFLOW_EXCEPTION_OK.
45572 * math/libm-test.inc ("Philosophy"): Update comment about
45573 exception testing.
45574 (OVERFLOW_EXCEPTION): Define.
45575 (OVERFLOW_EXCEPTION_OK): Likewise.
45576 (INVALID_EXCEPTION_OK): Renumber.
45577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45578 (IGNORE_ZERO_INF_SIGN): Likewise.
45579 (test_exceptions): Handle FE_OVERFLOW.
45580 (exp10_test): Expect overflow exceptions.
45581 (exp2_test): Likewise.
45582 (expm1_test): Likewise.
45583 (nextafter_test): Likewise.
45584 (pow_test): Likewise.
45585 (scalbn_test): Likewise.
45586 (scalbln_test): Likewise.
45587
95443d88
L
455882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45589
45590 * sysdeps/x86_64/bits/atomic.h
45591 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45592 64bit integer.
45593 (atomic_exchange_acq): Likewise.
45594 (__arch_exchange_and_add_body): Likewise.
45595 (__arch_add_body): Likewise.
45596 (atomic_add_negative): Likewise.
45597 (atomic_add_zero): Likewise.
45598
490df6c4
L
455992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45600
c2722551 45601 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45602 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45603
5e52b189
L
456042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45605
45606 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45607 Check __x86_64__ instead of __WORDSIZE.
45608
a9879d4c
L
456092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45610
45611 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45612
5df98260
DM
456132012-03-19 David S. Miller <davem@davemloft.net>
45614
e1497744
DM
45615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45616
5df98260
DM
45617 * sysdeps/sparc/fpu/fenv_private.h: New file.
45618 * sysdeps/sparc/fpu/math_private.h: Use it.
45619 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45620 Remove.
57f41c40 45621 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45622 (libc_feholdexcept_setroundl): Remove.
45623 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45624 Remove.
45625 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45626 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45627
b4c35121
L
456282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45629
45630 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45631 int64_t instead of long int.
45632 (INSERT_WORDS64): Likwise.
45633
56965fd7
L
456342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45635
45636 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45637 _Unwind_GetCFA return to _Unwind_Ptr first.
45638
83d1aec8
JM
456392012-03-19 Joseph Myers <joseph@codesourcery.com>
45640
1897ad44
JM
45641 [BZ #13629]
45642 * math/s_clog.c: Include <float.h>.
45643 (__clog): Scale large or subnormal inputs.
45644 * math/s_clogf.c: Likewise.
45645 * math/s_clogl.c: Likewise.
45646 * math/s_clog10.c: Include <float.h>.
45647 (M_LOG10_2): Define.
45648 (__clog10): Scale large or subnormal inputs.
45649 * math/s_clog10f.c: Likewise.
45650 * math/s_clog10l.c: Likewise.
45651 * math/libm-test.inc (clog_test): Add more tests.
45652 (clog10_test): Likewise.
45653 * sysdeps/i386/fpu/libm-test-ulps: Update.
45654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45655
7726d6a9
JM
45656 [BZ #11451]
45657 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45658 x and y.
45659 * math/libm-test.inc (atan2_test): Add another test.
45660
83d1aec8
JM
45661 * Makerules (common-objdir-compile): Remove.
45662 * sysdeps/unix/Makefile (config-generated): Do not add
45663 $(unix-generated) to variable.
45664 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45665 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45666 Remove rule.
45667 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45668 Likewise.
45669 [generic bits/local_lim.h] (before-compile): Do not append to
45670 variable.
45671 [generic bits/local_lim.h] (common-generated): Likewise.
45672 [generic sys/param.h] (before-compile): Do not append to variable.
45673 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45674 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45675 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45676 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45677 include.
45678 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45679 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45680 [generic sys/param.h] ($(addprefix
45681 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45682 [generic sys/param.h] (common-generated): Do not append to
45683 variable.
45684 [generic sys/param.h] (sysdep_headers): Likewise.
45685 [generic bits/errno.h] (before-compile): Do not append to
45686 variable.
45687 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45688 rule.
45689 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45690 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45691 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45692 [generic bits/errno.h] (common-generated): Do not append to
45693 variable.
45694 [generic bits/ioctls.h] (before-compile): Do not append to
45695 variable.
45696 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45697 rule.
45698 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45699 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45700 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45701 rule.
45702 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45703 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45704 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45705 [generic bits/ioctls.h] (common-generated): Do not append to
45706 variable.
45707 [generic sys/syscall.h] (syscall.h): Remove variable.
45708 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45709 rule.
45710 [generic sys/syscall.h] (before-compile): Do not append to
45711 variable.
45712 [generic sys/syscall.h] (common-generated): Likewise.
45713 * sysdeps/unix/errnos-tmpl.c: Remove file.
45714 * sysdeps/unix/errnos.awk: Likewise.
45715 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45716 * sysdeps/unix/ioctls.awk: Likewise.
45717 * sysdeps/unix/mk-local_lim.c: Likewise.
45718 * sysdeps/unix/snarf-ioctls: Likewise.
45719
4851a949
RH
457202012-03-19 Richard Henderson <rth@twiddle.net>
45721
bd37f2ee
RH
45722 * sysdeps/i386/fpu/fenv_private.h: New file.
45723 * sysdeps/i386/fpu/math_private.h: Use it.
45724 (math_opt_barrier, math_force_eval): Remove.
45725 (libc_feholdexcept_setround_53bit): Remove.
45726 (libc_feupdateenv_53bit): Remove.
45727 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45728 (math_opt_barrier, math_force_eval): Remove.
45729 (libc_feholdexcept): Remove.
45730 (libc_feholdexcept_setround): Remove.
45731 (libc_fetestexcept, libc_fesetenv): Remove.
45732 (libc_feupdateenv_test): Remove.
45733 (libc_feupdateenv, libc_feholdsetround): Remove.
45734 (libc_feresetround): Remove.
45735
d0adc922
RH
45736 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45737 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45738
0fe0f1f8
RH
45739 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45740 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45741 (libc_feupdateenv_testl): New.
45742 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45743 (libc_feupdateenv_testf): New.
45744 (libc_feupdateenv): Use libc_feupdateenv_test.
45745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45747
eb92c487
RH
45748 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45749 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45750 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45751 (libc_feresetround_noex): New.
45752 (libc_feresetround_noexf): New.
45753 (libc_feresetround_noexl): New.
45754 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45755 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45756 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45758 SET_RESTORE_ROUND.
45759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45761 (__cos): Likewise.
45762 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45764 SET_RESTORE_ROUND_NOEX.
45765 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45766 SET_RESTORE_ROUND_NOEXF.
45767 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45768 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45769 (libc_feholdsetroundf): New.
45770 (libc_feresetround, libc_feresetroundf): New.
45771
7d2e8012
RH
45772 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45773 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45774 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45775
b4dabbb4
RH
45776 * sysdeps/generic/math_private.h: Include <fenv.h>.
45777 (default_libc_feholdexcept): New.
45778 (default_libc_feholdexcept_setround): New.
45779 (default_libc_fesetenv, default_libc_feupdateenv): New.
45780 (libc_feholdexcept): Only define if undefined.
45781 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45782 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45783 (libc_feholdexcept_setroundl): Likewise.
45784 (libc_feholdexcept_setround_53bit): Likewise.
45785 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45786 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45787 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45788 (libc_feupdateenv_53bit): Likewise.
45789 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45790 (libc_feholdexcept): Convert from macro to inline function.
45791 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45792 (libc_fesetenv, libc_feupdateenv): Likewise.
45793
4851a949
RH
45794 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45795 not previously defined.
45796 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45797 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45798 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45799 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45800 * sysdeps/ieee754/flt-32/math_private.h: New file.
45801 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45802 math_private.h below SET_FLOAT_WORD.
45803 (__isnan, __isinf_ns, __finite): Remove.
45804 (__isnanf, __isinf_nsf, __finitef): Remove.
45805
e79d442e
AS
458062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45807
45808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45809
90b80344
DM
458102012-03-17 David S. Miller <davem@davemloft.net>
45811
45812 [BZ #6471]
45813 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45814 for 2.16.
45815
edc21804
DM
458162012-03-16 David S. Miller <davem@davemloft.net>
45817
77e927af
DM
45818 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45819 warnings.
45820
374976dd
DM
45821 [BZ #6471]
45822 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45823 properly.
45824 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45825 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45826 sysdep_routines when subdir is sysvipc.
45827 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45828 __getshmlba helper.
45829
edc21804
DM
45830 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45831
473c3ef3
L
458322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45833
45834 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45835 [__LP64__].
45836
eb0f39b6
L
458372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45838
45839 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45840 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45841 (__lround): Renamed to ...
45842 (__llround): This. Replace long int with long long int.
45843 Define lround functions as aliases of llround functions.
45844 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45845
6b6cd74b
L
458462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45847
45848 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45849 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45850 adresses to uintptr_t. Replace "long int" and "unsigned long
45851 int" with "greg_t" on va_arg.
45852
f1a77b01
L
458532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45854
45855 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45856 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45857
45858 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45859 Move e_machine check before EI_CLASS check. Handle x32
45860 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45861 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45862 SKIP_EM_IA_64 and include
45863 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45864
45865 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45866 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45867 (add_system_dir): New macro.
45868
45869 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45870 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45871
11b90b9f
JM
458722012-03-16 Joseph Myers <joseph@codesourcery.com>
45873
c36e1d23
JM
45874 [BZ #2551]
45875 [BZ #2552]
45876 [BZ #2553]
45877 [BZ #2554]
45878 [BZ #2562]
45879 [BZ #2563]
45880 [BZ #2565]
45881 [BZ #2566]
45882 [BZ #2576]
45883 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45884 (y0): Likewise.
45885 * math/w_j0f.c (j0f): Likewise.
45886 (y0f): Likewise.
45887 * math/w_j0l.c (__j0l): Likewise.
45888 (__y0l): Likewise.
45889 * math/w_j1.c (j1): Likewise.
45890 (y1): Likewise.
45891 * math/w_j1f.c (j1f): Likewise.
45892 (y1f): Likewise.
45893 * math/w_j1l.c (__j1l): Likewise.
45894 (__y1l): Likewise.
45895 * math/w_jn.c (jn): Likewise.
45896 (yn): Likewise.
45897 * math/w_jnf.c (jnf): Likewise.
45898 (ynf): Likewise.
45899 * math/w_jnl.c (__jnl): Likewise.
45900 (__ynl): Likewise.
45901 * math/libm-test.inc (j0_test): Add more tests.
45902 (j1_test): Likewise.
45903 (jn_test): Likewise. Add trailing semicolon to existing test.
45904 (y0_test): Likewise.
45905 (y1_test): Likewise.
45906 * sysdeps/i386/fpu/libm-test-ulps: Update.
45907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45908
11b90b9f
JM
45909 [BZ #13851]
45910 [BZ #13854]
45911 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45912 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45913 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45915 (__tanl): Set errno for infinite argument.
45916 * sysdeps/i386/fpu/mptan.c: Remove.
45917 * sysdeps/i386/fpu/s_tan.S: Likewise.
45918 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45919 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45920 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45921 * math/libm-test.inc (tan_test): Add more tests and enable more
45922 tests for double and long double.
45923 * sysdeps/i386/fpu/libm-test-ulps: Update.
45924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45925
6a1bd2a1
JK
459262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45927
45928 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45929 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45930
10a803e0
RM
459312012-03-16 Roland McGrath <roland@hack.frob.com>
45932
45933 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45934 * configure.in: Use it for both main tree and add-ons.
45935 * configure: Regenerated.
45936
f196c7f7
L
459372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45938
45939 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45940
8848d99d
JM
459412012-03-16 Joseph Myers <joseph@codesourcery.com>
45942
96cbe7f4
JM
45943 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45944 in comment.
45945
8848d99d
JM
45946 [BZ #13851]
45947 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45948 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45952 infinite argument.
45953 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45955 != 0 for prec == 2.
45956 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45957 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45958 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45959 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45960 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45961 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45962 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45963 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45964 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45965 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45966 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45967 * math/libm-test.inc (cos_test): Add more tests and enable more
45968 tests for long double.
45969 (sin_test): Likewise.
45970 (sincos_test): Likewise.
45971 * sysdeps/i386/fpu/libm-test-ulps: Update.
45972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45973
dd7f4703
DM
459742012-03-16 David S. Miller <davem@davemloft.net>
45975
45976 * sysdeps/sparc/fpu/math_private.h: New file.
45977
006f1daa
DM
459782012-03-15 David S. Miller <davem@davemloft.net>
45979
c0c83bc8
DM
45980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45981 file.
e6a62e18 45982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45984 file.
e6a62e18
DM
45985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45991 sysdep routines.
45992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45993
88cb87d9
DM
45994 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45995 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45996
006f1daa 45997 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45999 sparc-ifunc.h
006f1daa 46000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46002 Likewise.
46003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46004 Likewise.
006f1daa
DM
46005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46009 Likewise.
006f1daa
DM
46010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46015 Likewise.
46016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46017 Likewise.
006f1daa
DM
46018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46042
11e0098e
AS
460432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46044
46045 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46046 scaling.
46047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46048
e85b09d0
AJ
460492012-03-15 Andreas Jaeger <aj@suse.de>
46050
46051 [BZ #13852]
46052 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46053 ieee754/flt-32 implementation for sin, cos and sincos.
46054 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46055 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46056 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46057 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46058 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46059 ieee754/flt-32 implementation for tan.
46060
46061 * math/libm-test.inc (cos_test): Enable some large input tests for
46062 float as well
46063 (sin_test): Likewise.
46064 (sincos_test): Likewise.
46065 (tan_test): Add tests for large input.
46066
46067 * sysdeps/i386/fpu/libm-test-ulps: Update.
46068
81c64153
AJ
460692012-03-15 Andreas Jaeger <aj@suse.de>
46070
46071 [BZ #13658]
46072 * math/libm-test.inc (cos_test): Add more test cases.
46073 (sin_test): Likewise.
46074 (sincos_test): Likewise.
46075
7bbfa5c6
AJ
460762012-03-15 Andreas Jaeger <aj@suse.de>
46077
46078 [BZ #13837]
46079 * math/libm-test.inc (cos_test): Add a test case for large input
46080 value.
46081 (sin_test): Likewise.
46082 (sincos_test): Likewise.
46083
57f41c40
AS
460842012-03-15 Andreas Jaeger <aj@suse.de>
46085 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46086
46087 [BZ #13658]
0671f479 46088 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46089 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46090 * sysdeps/i386/fpu/branred.c: Likewise.
46091 * sysdeps/i386/fpu/dosincos.c: Likewise.
46092 * sysdeps/i386/fpu/mpa.c: Likewise.
46093 * sysdeps/i386/fpu/s_cos.S: Likewise.
46094 * sysdeps/i386/fpu/s_sin.S: Likewise.
46095 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46096 * sysdeps/i386/fpu/sincos32.c: Likewise.
46097
46098 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46099 Define.
46100 (libc_feupdateenv_53bit): Define.
46101 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46102 Define.
46103 (libc_feupdateenv_53bit): Define.
46104
46105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46106 53 bit (without extend i386 double precision).
46107
46108 * math/libm-test.inc (sincos_test): Add tests for large input.
46109 (sin): Likewise.
46110 (cos): Likewise.
46111
46112 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46113
9cad04ea
AS
461142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46115
46116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46117
f7062b9a
DM
461182012-03-15 David S. Miller <davem@davemloft.net>
46119
46120 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46121 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46122 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46123 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46136 file.
f7062b9a 46137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46139 file.
f7062b9a 46140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46142 file.
f7062b9a 46143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46145 file.
f7062b9a
DM
46146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46148 fmin/fmax sysdep routines.
46149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46150
7bd951ff
DM
461512012-03-14 David S. Miller <davem@davemloft.net>
46152
559398ab
DM
46153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46182 routines.
46183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46184 file.
559398ab 46185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46187 file.
559398ab 46188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46190 file.
559398ab 46191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46193 file.
559398ab 46194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46196 file.
559398ab 46197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46199 file.
46200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46201 file.
46202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46203 file.
46204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46205 file.
46206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46207 New file.
46208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46209 file.
46210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46211 file.
559398ab 46212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46214 file.
559398ab 46215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46217 file.
559398ab 46218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46220 file.
559398ab 46221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46223 VIS3 routines.
559398ab
DM
46224
46225 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46226 New file.
46227
5a1c1e32
DM
46228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46229
eae47a36
DM
46230 * sysdeps/sparc/configure.in: New file.
46231 * sysdeps/sparc/configure: Generate.
46232 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46233 * configure: Regenerate.
46234 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46235 * config.make.in (have-as-vis3): New.
46236 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46237 available use -Av9d instead of -Av9a.
46238 * sysdeps/sparc/sparc64/Makefile: Likewise.
46239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46241 New file.
46242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46243 file.
46244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46245 New file.
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46247 file.
eae47a36
DM
46248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46253
c0c83bc8
DM
46254 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46255 fzeros/fnegs to load 0x80000000 into a float register instead of
46256 using the stack.
7bd951ff
DM
46257 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46258
bd951ccb
JM
462592012-03-14 Joseph Myers <joseph@codesourcery.com>
46260
46261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46262 bits/syscall.h.
46263 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46264 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46265 ($(inst_includedir)/bits/syscall.h): Remove rule.
46266 ($(objpfx)bits/syscall.d): Include instead of
46267 $(objpfx)syscall-list.d.
46268 (generated): Change syscall-list.h and syscall-list.d to
46269 bits/syscall.h and bits/syscall.d.
46270
bb4e6db2
RM
462712012-03-14 Roland McGrath <roland@hack.frob.com>
46272
46273 [BZ #13846]
46274 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46275
aa4a2ae1
JM
462762012-03-14 Joseph Myers <joseph@codesourcery.com>
46277
e456826d
JM
46278 [BZ #13841]
46279 * math/s_csqrt.c: Include <float.h>.
46280 (__csqrt): Scale large or subnormal inputs.
46281 * math/s_csqrtf.c: Likewise.
46282 * math/s_csqrtl.c: Likewise.
46283 * math/libm-test.inc (csqrt_test): Add more tests.
46284 * sysdeps/i386/fpu/libm-test-ulps: Update.
46285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46286
aa4a2ae1
JM
46287 [BZ #13840]
46288 * math/libm-test.inc (hypot_test): Add more tests.
46289
7c10fd35
DM
462902012-03-13 David S. Miller <davem@davemloft.net>
46291
46292 [BZ #13840]
46293 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46294 double-precision for the calculation instead of scaling.
46295
f453b98b
JM
462962012-03-13 Joseph Myers <joseph@codesourcery.com>
46297
46298 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46299 manipulate bits before adding and subtracting TWO52[sx].
46300 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46302 Likewise.
46303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46304
09a3453f
DM
463052012-03-13 David S. Miller <davem@davemloft.net>
46306
8e59da90
DM
46307 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46308 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46310 rtld-global-offsets.h
46311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46312
2a8ab7f2
DM
46313 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46314 large parameters.
46315
10f62770
DM
46316 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46317
5f0bdb18
DM
46318 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46319 'err' in the ifdef scope in which it is actually used.
46320
09a3453f
DM
46321 * nss/nss_db/db-init.c: Include string.h
46322
b4b2eb5e
DM
463232012-03-12 David S. Miller <davem@davemloft.net>
46324
98bb2f1c
DM
46325 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46326 masking out of the most significant byte of random value used.
46327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46328 Fix coding style in previous change.
46329
b4b2eb5e
DM
46330 * sysdeps/unix/sysv/linux/kernel-features.h
46331 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46332 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46333 expression.
46334 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46335 later.
46336
6e226b09
DM
463372012-03-11 David S. Miller <davem@davemloft.net>
46338
a1bcbd40
DM
46339 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46340 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46342 for 'resultvar' otherwise things get truncated on 64-bit.
46343
cb9d6174
DM
46344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46345 Fix masking out of the most significant byte of random value used.
46346
6e226b09
DM
46347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46348
058c132d
AS
463492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46350
46351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46352
2d2cd515
DM
463532012-03-09 David S. Miller <davem@davemloft.net>
46354
46355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46356 variables with appropriate CPP guards.
57f41c40
AS
46357 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46358 from the frame pointer, not the stack pointer. Correct layout
46359 comments. Fix test on resulting framesize and the management of
46360 the outregs buffer for pltexit. Preserve floating point return
46361 values across _dl_call_pltexit call.
2d2cd515
DM
46362 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46363 framesize and the management of the outregs buffer for pltexit.
46364 Preserve floating point return values across _dl_call_pltexit
46365 call.
57f41c40
AS
46366 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46367 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46368 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46369 (print_exit): Fix format string for return register value.
46370
9a07f9d0
JM
463712012-03-10 Joseph Myers <joseph@codesourcery.com>
46372
46373 * sunrpc/Makefile (others): Add rpcgen.
46374 ($(objpfx)rpcgen): Remove special build rule and dependency on
46375 libc.
46376 * sunrpc/rpcgen.c: New file.
46377
547b5e30
PE
463782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46379
c524201a
PE
46380 [BZ #13673]
46381 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46382 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46383 * sysdeps/i386/crti.S: Likewise.
46384 * sysdeps/i386/crtn.S: Likewise.
46385 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46386 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46387 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46388 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46389 * sysdeps/sh/crti.S: Likewise.
46390 * sysdeps/sh/crtn.S: Likewise.
46391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46392
7b6235f2
PE
46393 [BZ #13673]
46394 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46395 with URL.
46396 * locale/programs/locfile-kw.gperf: Likewise.
46397 * locale/programs/charmap-kw.h: Regenerated.
46398 * locale/programs/locfile-kw.h: Likewise.
46399
547b5e30
PE
46400 [BZ #13673]
46401 * intl/plural.y: Replace FSF snail mail address with URL.
46402 * intl/plural.c: Regenerated.
46403
5f0a5dae
RH
464042012-03-09 Richard Henderson <rth@twiddle.net>
46405
46406 * include/math_private.h: Remove file.
46407 * math/math_private.h: Move file ...
46408 * sysdeps/generic/math_private.h: ... here.
46409
b8c03620
RH
46410 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46411 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46413
4e234f5d 46414 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46415 and <math_private.h>.
46416 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46417 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46418 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46419 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46420 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46421 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46422 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46424 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46427 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46431 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46433 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46434 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46435 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46440 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46441 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46448 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46460 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46461 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46462 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46463 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46464 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46465 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46466 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46471 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46473 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46474 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46480 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46481 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46482 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46483 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46484 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46485 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46487 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46490 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46496 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46497 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46499 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46500 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46501 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46503 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46504 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46505 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46506 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46507 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46508 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46509 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46510 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46521 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46522 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46523 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46528 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46530 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46531 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46533 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46536 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46537 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46538 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46539 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46543 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46544 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46545 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46546 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46547 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46548 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46549 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46550 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46551 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46554 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46555 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46556 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46557 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46559 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46560 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46561 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46562 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46563 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46564 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46565 * sysdeps/ieee754/k_standard.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46597 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46598 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46599 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46604 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46617 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46618 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46627 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46628 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46643 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46650 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46654 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46662 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46663 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46664 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46665 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46670 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46673 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46674 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46675 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46676 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46691 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46692 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46693 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46694 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46695 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46696 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46697 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46698 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46699 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46700 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46703 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46706 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46708 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46709 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46710 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46711 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46712 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46713 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46714 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46715 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46717 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46720 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46721 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46725 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46726 * sysdeps/ieee754/s_lib_version.c: Likewise.
46727 * sysdeps/ieee754/s_matherr.c: Likewise.
46728 * sysdeps/ieee754/s_signgam.c: Likewise.
46729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46731 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46732 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46734 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46735 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46736 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46737 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46738 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46739 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46740 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46743 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46746 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46747 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46750
1991fa03
JM
467512012-03-09 Joseph Myers <joseph@codesourcery.com>
46752
46753 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46754 * sunrpc/rpc_main.c: Likewise.
46755 * sunrpc/rpc_svcout.c: Likewise.
46756
60d6f5a6
DM
467572012-03-09 David S. Miller <davem@davemloft.net>
46758
46759 * include/math_private.h: New file.
46760
4962050e
JM
467612012-03-09 Joseph Myers <joseph@codesourcery.com>
46762
02a6f887
JM
46763 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46764 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46765 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46766 from <bits/socket_type.h>.
46767 (enum __socket_type): Don't define here.
46768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46770 bits/socket_type.h.
46771
c6e013c1
JM
46772 [BZ #13566]
46773 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46774 checking __USE_GNU.
46775
4962050e
JM
46776 * Makerules ($(inst_includedir)/%.h): New rule.
46777 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46778 (install-others): Remove variable setting.
46779 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46780
38842f45
RH
467812012-03-08 Richard Henderson <rth@twiddle.net>
46782
67bb6da6
RH
46783 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46784 from macro to inline function; merge with the
46785 !__LIBC_INTERNAL_MATH_INLINES version.
46786 (__ieee754_sqrtf): Likewise.
46787
15194b4b
RH
46788 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46789 to inline function.
46790 (__rintf, __floor, __floorf): Likewise.
46791
64e21ede
RH
46792 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46793 macro to inline function.
46794 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46795
38842f45
RH
46796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46797 not <math/math_private.h>.
46798
c64bf5fe
DM
467992012-03-08 David S. Miller <davem@davemloft.net>
46800
46801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46802 copyright year.
46803 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46804
82d86f28
TS
468052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46806
46807 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46808 normalization.
46809 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46810 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46811
aea5d727
UD
468122012-03-08 Ulrich Drepper <drepper@gmail.com>
46813
46814 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46815 be defined individually, they must be defined as a block. Define
46816 S for printing a string instead of hidint the different by using a
46817 macro for adding the 'l'.
46818 * stdio-common/tst-fphex-wide.c: Adjust.
46819
70bca0a3
MP
468202012-03-07 Marek Polacek <polacek@redhat.com>
46821
46822 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46823
65b81130
MP
468242012-03-08 Marek Polacek <polacek@redhat.com>
46825
46826 [BZ #13806]
46827 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46828 * stdio-common/tst-fphex.c: Define a few macros to make the
46829 test reusable. Use them.
46830 * stdio-common/tst-fphex-wide.c: New file.
46831
07037eeb
JM
468322012-03-08 Joseph Myers <joseph@codesourcery.com>
46833
a7a93d50
JM
46834 [BZ #6911]
46835 * manual/macros.texi (gnusystems): New macro.
46836 (nongnusystems): Likewise.
46837 (gnulinuxhurdsystems): Likewise.
46838 (gnuhurdsystems): Likewise..
46839 (gnulinuxsystems): Likewise.
46840 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46841 variants of the GNU system, not "GNU system".
46842 * manual/conf.texi: Likewise.
46843 * manual/errno.texi: Likewise. Update example of errno macro
46844 expansion.
46845 * manual/filesys.texi: Likewise.
46846 (getumask): Document as specific to GNU/Hurd.
46847 * manual/install.texi: Likewise. Reword some references to
46848 GNU/Linux.
46849 * manual/intro.texi: Likewise.
46850 * manual/io.texi: Likewise.
46851 (File Name Portability): Detail which constraints are inapplicable
46852 to all GNU systems and which are only inapplicable to GNU/Hurd.
46853 * manual/job.texi: Likewise.
46854 * manual/llio.texi: Likewise.
46855 (O_NOCTTY): Document as present on GNU/Linux.
46856 * manual/maint.texi: Likewise.
46857 * manual/memory.texi: Likewise.
46858 * manual/pattern.texi: Likewise.
46859 * manual/pipe.texi: Likewise.
46860 * manual/process.texi: Likewise.
46861 * manual/resource.texi: Likewise.
46862 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46863 child on GNU/Hurd.
46864 * manual/setjmp.texi: Likewise.
46865 * manual/signal.texi: Likewise.
46866 * manual/startup.texi: Likewise.
46867 * manual/stdio.texi: Likewise.
46868 * manual/terminal.texi: Likewise.
46869 (ONLCR): Document as POSIX.
46870 (OXTABS): Document availability on GNU/Linux as XTABS.
46871 (ONOEOT): Document availability separately from other bits.
46872 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46873 * manual/time.texi: Likewise.
46874 * manual/users.texi: Likewise.
46875 * INSTALL: Regenerated.
46876 * sysdeps/gnu/errlist.c: Regenerated.
46877
07037eeb
JM
46878 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46879 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46880 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46881 puts.
46882 * configure: Regenerated.
46883
d1d3431a
JM
468842012-03-07 Joseph Myers <joseph@codesourcery.com>
46885
af6a1e37
JM
46886 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46887 default includes instead of AC_HEADER_CHECK.
46888 * sysdeps/i386/configure: Regenerated.
46889
d1d3431a
JM
46890 [BZ #10716]
46891 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46892 * math/s_cacoshf.c (__cacoshf): Likewise.
46893 * math/s_cacoshl.c (__cacoshl): Likewise.
46894 * math/s_casinh.c (__casinh): Set signs of result from argument.
46895 * math/s_casinhf.c (__casinhf): Likewise.
46896 * math/s_casinhl.c (__casinhl): Likewise.
46897 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46898 (casinh_test): Add more tests.
46899 * sysdeps/i386/fpu/libm-test-ulps: Update.
46900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46901
482ff4da
UD
469022012-03-07 Ulrich Drepper <drepper@gmail.com>
46903
872fda05
UD
46904 * po/zh_TW.po: Update from translation team.
46905
a4300c7a
UD
46906 * login/Makefile (distribute): Remove variable.
46907 * catgets/Makefile: Likewise.
46908 * mach/Makefile: Likewise.
46909 * malloc/Makefile: Likewise.
46910 * misc/Makefile: Likewise.
46911 * iconv/Makefile: Likewise.
46912 * nscd/Makefile: Likewise.
46913 * hurd/Makefile: Likewise.
46914 * manual/Makefile: Likewise.
46915 * locale/Makefile: Likewise.
46916 * intl/Makefile: Likewise.
46917 * conform/Makefile: Likewise.
46918 * nss/Makefile: Likewise.
46919 * time/Makefile: Likewise.
46920 * soft-fp/Makefile: Likewise.
46921 * dirent/Makefile: Likewise.
46922 * gmon/Makefile: Likewise.
46923 * po/Makefile: Likewise.
46924 * rt/Makefile: Likewise.
46925 * socket/Makefile: Likewise.
46926 * math/Makefile: Likewise.
46927 * signal/Makefile: Likewise.
46928 * debug/Makefile: Likewise.
46929 * elf/Makefile: Likewise.
46930 * timezone/Makefile: Likewise.
46931 * stdlib/Makefile: Likewise.
46932 * iconvdata/Makefile: Likewise.
46933 * sunrpc/Makefile: Likewise.
46934 * io/Makefile: Likewise.
46935 * argp/Makefile: Likewise.
46936 * inet/Makefile: Likewise.
46937 * hesiod/Makefile: Likewise.
46938 * grp/Makefile: Likewise.
46939 * csu/Makefile: Likewise.
46940 * wctype/Makefile: Likewise.
46941 * crypt/Makefile: Likewise.
46942 * libio/Makefile: Likewise.
46943 * string/Makefile: Likewise.
46944 * nis/Makefile: Likewise.
46945 * resolv/Makefile: Likewise.
46946 * stdio-common/Makefile: Likewise.
46947 * wcsmbs/Makefile: Likewise.
46948 * dlfcn/Makefile: Likewise.
46949 * posix/Makefile: Likewise.
46950
3b7c4e74 46951 [BZ #6959]
482ff4da
UD
46952 * timezone/Makefile: Don't install timezone files, just the programs
46953 and scripts.
46954
f72ed77d
UD
469552012-03-06 Ulrich Drepper <drepper@gmail.com>
46956
a000466f
UD
46957 * nss/databases.def: Add missing gshadow entry.
46958
f72ed77d
UD
46959 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46960
a53b7a4e
MP
469612012-03-06 Marek Polacek <polacek@redhat.com>
46962
46963 [BZ #13726]
46964 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46965 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46966 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46967 * stdio-common/tst-long-dbl-fphex.c: New file.
46968
e9258400
DM
469692012-03-06 David S. Miller <davem@davemloft.net>
46970
46971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46972 (set_obp_int): New function.
46973 (get_obp_int): New function.
46974 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46975 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46976 Avoid unused variable warnings on 'val' and use builtin_expect.
46977 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46978 __builtin_expect.
e9258400
DM
46979 (INLINE_CLONE_SYSCALL): Likewise.
46980
3bd2c723
DM
469812012-03-05 David S. Miller <davem@davemloft.net>
46982
46983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46984
bbb78d03
AS
469852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46986
884c5db4
AS
46987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46988
bbb78d03
AS
46989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46990 only for |x| >= 40.
46991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46992
1c9f702a 469932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46994
46995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46996 Replace gettimeofday with __vdso_gettimeofday.
46997
7be16f82
RM
46998 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46999 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47000 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47001
47002 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47003 time with __vdso_time.
47004
ed58a00f
JM
470052012-03-05 Joseph Myers <joseph@codesourcery.com>
47006
47007 * manual/lang.texi (size_t): Note types to which size_t may be
47008 equivalent with the GNU C Library, but do not describe when
47009 differences between them are significant.
47010
30ee4ced
AJ
470112012-03-05 Andreas Jaeger <aj@suse.de>
47012
47013 * sysdeps/i386/fpu/libm-test-ulps: Update.
47014
b7cd39e8
JM
470152012-03-05 Joseph Myers <joseph@codesourcery.com>
47016
47017 [BZ #3976]
47018 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47019 (__ieee754_pow): Save and restore rounding mode and use
47020 round-to-nearest for main computations.
47021 * math/libm-test.inc (pow_test_tonearest): New function.
47022 (pow_test_towardzero): Likewise.
47023 (pow_test_downward): Likewise.
47024 (pow_test_upward): Likewise.
47025 (main): Call the new functions.
47026 * sysdeps/i386/fpu/libm-test-ulps: Update.
47027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47028
47029 [BZ #3976]
47030 * math/libm-test.inc (cosh_test_tonearest): New function.
47031 (cosh_test_towardzero): Likewise.
47032 (cosh_test_downward): Likewise.
47033 (cosh_test_upward): Likewise.
47034 (sinh_test_tonearest): Likewise.
47035 (sinh_test_towardzero): Likewise.
47036 (sinh_test_downward): Likewise.
47037 (sinh_test_upward): Likewise.
47038 (main): Call the new functions.
47039 * sysdeps/i386/fpu/libm-test-ulps: Update.
47040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47041
6c6a98c9
TV
470422012-03-05 Tom de Vries <tom@codesourcery.com>
47043
47044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47045 default stack guard is set in last bytes.
47046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47047
21bb2d2e 470482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47049
21bb2d2e 47050 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47051
21bb2d2e
AJ
47052 [BZ #13656]
47053 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47054 possibly allocate from heap instead of stack.
47055 * stdio-common/bug-vfprintf-nargs.c: New file.
47056 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47057
c6922934
AS
470582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47059
47060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47061
bc957d53
MP
470622012-03-03 Marek Polacek <polacek@redhat.com>
47063
47064 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47065 * math/math_private.h: Likewise.
47066 * stdlib/tst-strtod.c: Likewise.
47067 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47068 * sysdeps/x86_64/bits/atomic.h: Likewise.
47069
6358490d
DM
470702012-03-02 David S. Miller <davem@davemloft.net>
47071
47072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47076 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47077 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47078 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47079 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47080
01ae168d
RM
470812012-03-02 Roland McGrath <roland@hack.frob.com>
47082
d9a17c07
RM
47083 [BZ #13792]
47084 * manual/examples/README: New file, says the example source files
47085 can be used under GPL>=2.
47086 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47087 line containing just "*/".
47088 * manual/examples/add.c: Add copyright header (GPL>=2).
47089 * manual/examples/argp-ex1.c: Likewise.
47090 * manual/examples/argp-ex2.c: Likewise.
47091 * manual/examples/argp-ex3.c: Likewise.
47092 * manual/examples/argp-ex4.c: Likewise.
47093 * manual/examples/atexit.c: Likewise.
47094 * manual/examples/db.c: Likewise.
47095 * manual/examples/dir.c: Likewise.
47096 * manual/examples/dir2.c: Likewise.
47097 * manual/examples/execinfo.c: Likewise.
47098 * manual/examples/filecli.c: Likewise.
47099 * manual/examples/filesrv.c: Likewise.
47100 * manual/examples/fmtmsgexpl.c: Likewise.
47101 * manual/examples/genpass.c: Likewise.
47102 * manual/examples/inetcli.c: Likewise.
47103 * manual/examples/inetsrv.c: Likewise.
47104 * manual/examples/isockad.c: Likewise.
47105 * manual/examples/longopt.c: Likewise.
47106 * manual/examples/memopen.c: Likewise.
47107 * manual/examples/memstrm.c: Likewise.
47108 * manual/examples/mkfsock.c: Likewise.
47109 * manual/examples/mkisock.c: Likewise.
47110 * manual/examples/mygetpass.c: Likewise.
47111 * manual/examples/pipe.c: Likewise.
47112 * manual/examples/popen.c: Likewise.
47113 * manual/examples/rprintf.c: Likewise.
47114 * manual/examples/search.c: Likewise.
47115 * manual/examples/select.c: Likewise.
47116 * manual/examples/setjmp.c: Likewise.
47117 * manual/examples/sigh1.c: Likewise.
47118 * manual/examples/sigusr.c: Likewise.
47119 * manual/examples/stpcpy.c: Likewise.
47120 * manual/examples/strdupa.c: Likewise.
47121 * manual/examples/strftim.c: Likewise.
47122 * manual/examples/strncat.c: Likewise.
47123 * manual/examples/subopt.c: Likewise.
47124 * manual/examples/swapcontext.c: Likewise.
47125 * manual/examples/termios.c: Likewise.
47126 * manual/examples/testopt.c: Likewise.
47127 * manual/examples/testpass.c: Likewise.
47128 * manual/examples/timeval_subtract.c: Likewise.
47129
01ae168d
RM
47130 [BZ #13792]
47131 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47132 function to ...
47133 * manual/timeval_subtract.c.texi: ... here, new file.
47134
49efa33d
DM
471352012-03-02 David S. Miller <davem@davemloft.net>
47136
47137 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47138
28afd92d
JM
471392012-03-02 Joseph Myers <joseph@codesourcery.com>
47140
804360ed
JM
47141 [BZ #3976]
47142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47143 (__sin): Save and restore rounding mode and use round-to-nearest
47144 for all computations.
47145 (__cos): Save and restore rounding mode and use round-to-nearest
47146 for all computations.
47147 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47148 <fenv.h>.
47149 (tan): Save and restore rounding mode and use round-to-nearest for
47150 all computations.
47151 * math/libm-test.inc (cos_test_tonearest): New function.
47152 (cos_test_towardzero): Likewise.
47153 (cos_test_downward): Likewise.
47154 (cos_test_upward): Likewise.
47155 (sin_test_tonearest): Likewise.
47156 (sin_test_towardzero): Likewise.
47157 (sin_test_downward): Likewise.
47158 (sin_test_upward): Likewise.
47159 (tan_test_tonearest): Likewise.
47160 (tan_test_towardzero): Likewise.
47161 (tan_test_downward): Likewise.
47162 (tan_test_upward): Likewise.
47163 (main): Call the new functions.
47164 * sysdeps/i386/fpu/libm-test-ulps: Update.
47165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47166
a6d06d7b
JM
47167 [BZ #10135]
47168 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47169 small n, then large n, before computing and testing k+n.
47170 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47172 Likewise.
47173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47174 Likewise.
47175 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47176 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47183 * math/libm-test.inc (scalbn_test): Add more tests.
47184 (scalbln_test): Likewise.
47185
07e12bb3
JM
47186 * manual/filesys.texi (mode_t): Describe constraints on size and
47187 signedness, not exact equivalence to a particular type.
47188 (ino_t): Likewise.
47189 (ino64_t): Likewise.
47190 (dev_t): Likewise.
47191 (nlink_t): Likewise.
47192 (blkcnt_t): Likewise.
47193 (blkcnt64_t): Likewise.
47194 * manual/llio.texi (off_t): Likewise.
47195
28afd92d
JM
47196 [BZ #3976]
47197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47198 (__ieee754_exp): Save and restore rounding mode and use
47199 round-to-nearest for all computations.
47200 * math/libm-test.inc (exp_test_tonearest): New function.
47201 (exp_test_towardzero): Likewise.
47202 (exp_test_downward): Likewise.
47203 (exp_test_upward): Likewise.
47204 (main): Call the new functions.
47205 * sysdeps/i386/fpu/libm-test-ulps: Update.
47206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47207
b1eeb65d
CD
472082012-03-01 Chris Demetriou <cgd@google.com>
47209
47210 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47211 have predictable order.
47212
53362a4b
DM
472132012-03-01 David S. Miller <davem@davemloft.net>
47214
3c969083
DM
47215 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47216
759707de
DM
47217 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47218 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47219 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47220 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47221
dfdb8ff2
DM
47222 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47223 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47224 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47226 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47227 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47228 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47229 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47230 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47231
ead89f96
DM
47232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47233
7f66bd07
DM
47234 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47235 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47237
53362a4b
DM
47238 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47245 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47247 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47248 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47254 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47255 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47256 * sysdeps/sparc/elf/configure: Regenerated.
47257
7b1902cb
JM
472582012-03-01 Joseph Myers <joseph@codesourcery.com>
47259
bec039bc
JM
47260 * configure.in (AS, LD): Require binutils 2.20 or later.
47261 * configure: Regenerated.
47262 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47263 as required minimum version.
47264 * INSTALL: Regenerated.
47265
7b1902cb
JM
47266 [BZ #2541]
47267 [BZ #4108]
47268 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47269 before squaring exponent.
47270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47271 bottom long double and 27 bits of top long double before squaring
47272 exponent.
47273 * math/libm-test.inc (erfc_test): Add more tests.
47274 * sysdeps/i386/fpu/libm-test-ulps: Update.
47275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47277
f775c276
KT
472782012-03-01 Kai Tietz <ktietz@redhat.com>
47279
47280 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47281 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47282 containing bit-fields.
47283 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47284 * soft-fp/single.h (_FP_UNION_S): Likewise.
47285 * soft-fp/double.h (_FP_UNION_D): Likewise.
47286
5b8a4d4a
JM
472872012-02-29 Joseph Myers <joseph@codesourcery.com>
47288
0bab47b6
JM
47289 [BZ #13786]
47290 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47291 not include ../strcmp.S.
47292 [USE_AS_STRNCASECMP_L]: Likewise.
47293 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47294 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47295 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47296 (__strncasecmp_l_ia32): Define as alias to
47297 __strncasecmp_l_nonascii.
47298
0fcad3e2
JM
47299 [BZ #5794]
47300 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47301 * sysdeps/i386/fpu/libm-test-ulps: Update.
47302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47303
5b8a4d4a
JM
47304 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47306
8fdceb2e
JL
473072012-02-29 Jeff Law <law@redhat.com>
47308
47309 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47310 out of bounds read.
47311
1f393a11
MP
473122012-02-29 Marek Polacek <polacek@redhat.com>
47313
47314 [BZ #13706]
47315 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47316 * elf/Makefile: Add rules to run tst-unused-dep.out.
47317
8847f037
DM
473182012-02-28 David S. Miller <davem@davemloft.net>
47319
47320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47326
169d7f11
JM
473272012-02-29 Joseph Myers <joseph@codesourcery.com>
47328
47329 * math/libm-test.inc (llround_test): Move one test from
47330 lround_test. Use TEST_f_L in moved test.
47331 (lround_test): Move misplaced test to llround_test. Add testcase
47332 from bug 2561.
47333
39adf059
UD
473342012-02-28 Ulrich Drepper <drepper@gmail.com>
47335
47336 * sysdeps/x86_64/fpu/e_expf.S: New file.
47337 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47338
71b5d1c5
SB
473392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47340
47341 [BZ #13637]
47342 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47343 of remain_len that may cause incomplete multi-byte character and
47344 false match.
47345 * posix/bug-regex33.c: New file.
47346 * posix/Makefile (tests): Add bug-regex33.
47347
1f77f049
JM
473482012-02-28 Joseph Myers <joseph@codesourcery.com>
47349
47350 * manual/macros.texi: New file.
47351 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47352 * manual/libc.texinfo: Include macros.texi.
47353 * manual/creatute.texi: Likewise.
47354 * manual/install.texi: Likewise.
47355 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47356 @glibcadj{} in references to the GNU C Library.
47357 * manual/charset.texi: Likewise.
47358 * manual/conf.texi: Likewise.
47359 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47360 when not using those macros.
47361 * manual/creature.texi: Likewise.
47362 * manual/crypt.texi: Likewise.
47363 * manual/errno.texi: Likewise.
47364 * manual/filesys.texi: Likewise.
47365 * manual/header.texi: Likewise.
47366 * manual/install.texi: Likewise.
47367 * manual/intro.texi: Likewise.
47368 * manual/io.texi: Likewise.
47369 * manual/job.texi: Likewise.
47370 * manual/lang.texi: Likewise.
47371 * manual/libc.texiinfo: Likewise.
47372 * manual/llio.texi: Likewise.
47373 * manual/locale.texi: Likewise.
47374 * manual/maint.texi: Likewise.
47375 * manual/math.texi: Likewise.
47376 * manual/memory.texi: Likewise.
47377 * manual/message.texi: Likewise.
47378 * manual/nss.texi: Likewise.
47379 * manual/pattern.texi: Likewise.
47380 * manual/process.texi: Likewise.
47381 * manual/resource.texi: Likewise.
47382 * manual/search.texi: Likewise.
47383 * manual/setjmp.texi: Likewise.
47384 * manual/signal.texi: Likewise.
47385 * manual/socket.texi: Likewise.
47386 * manual/startup.texi: Likewise.
47387 * manual/stdio.texi: Likewise.
47388 * manual/string.texi: Likewise.
47389 * manual/sysinfo.texi: Likewise.
47390 * manual/syslog.texi: Likewise.
47391 * manual/terminal.texi: Likewise.
47392 * manual/time.texi: Likewise.
47393 * manual/users.texi: Likewise.
47394 * INSTALL: Regenerated.
47395 * NOTES: Regenerated.
d40c5d54 47396 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47397
450bf206
AS
473982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47399
47400 * include/dirent.h: Include <dirstream.h> before
47401 <dirent/dirent.h>.
47402
741a235b
DM
474032012-02-28 David S. Miller <davem@davemloft.net>
47404
47405 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47406 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47407 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47409
d6b5aa58
DM
474102012-02-27 David S. Miller <davem@davemloft.net>
47411
1aff59a3
DM
47412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47414 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47415 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47416
d6b5aa58
DM
47417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47418 frame pointer instead of stack pointer relative arg slot.
47419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47422
433f48bf
CD
474232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47424
47425 [BZ #3992]
47426 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47427
d674b76d
DM
474282012-02-27 David S. Miller <davem@davemloft.net>
47429
47430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47436 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47438
0e7727f7
JM
474392012-02-27 Joseph Myers <joseph@codesourcery.com>
47440
47441 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47442 later. Allow versions 5-9.
43be4ca2 47443 * configure: Regenerated.
0e7727f7
JM
47444 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47445 required minimum version and 4.6 as recommended version. Do not
47446 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47447 * INSTALL: Regenerated.
0e7727f7 47448
a78bc654
DM
474492012-02-27 David S. Miller <davem@davemloft.net>
47450
428d5830
DM
47451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47457 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47459
a78bc654
DM
47460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47461 manipulate bits before adding and subtracting TWO112[sx].
47462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47463
4579f81c
RM
474642012-02-27 Roland McGrath <roland@hack.frob.com>
47465
36c8acb4
RM
47466 [BZ #13775]
47467 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47468 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47469 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47470 being in POSIX, because they are in 1003.1-2008.
47471
84ad622b
RM
47472 * rt/tst-aio.c: Include <fcntl.h>.
47473 * rt/tst-aio7.c: Likewise.
47474 * rt/tst-aio64.c: Likewise.
47475
4579f81c
RM
47476 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47477
abd923db
JM
474782012-02-27 Joseph Myers <joseph@codesourcery.com>
47479
47480 * manual/install.texi (--with-headers): Describe headers as
47481 interface headers, not private headers.
47482 (Specific advice for GNU/Linux systems): Describe use of headers
47483 from "make headers_install", not private headers from older
47484 kernels.
43be4ca2 47485 * INSTALL: Regenerated.
abd923db
JM
47486 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47487 Change to 2.6.19.
47488 * sysdeps/unix/sysv/linux/configure: Regenerated.
47489
6664049b
JM
47490 * manual/llio.texi (fclean): Remove documentation.
47491
bb8b6697
JM
47492 * manual/Makefile (libc-texi-generated): New variable. Include
47493 version.texi.
47494 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47495 $(libc-texi-generated), not duplicated list of files.
47496 (version.texi, stamp-version): New rules.
47497 (realclean): Remove $(libc-texi-generated), not individual files
47498 from that list. Do not remove dir-add.texinfo.
47499 * manual/libc.texinfo: Comment out uses of edition numbers and
47500 references to printed manual. Remove last-updated dates.
47501 (EDITION): Comment out.
47502 (ISBN): Likewise.
47503 (VERSION, UPDATED): Remove.
47504 (version.texi): Include.
47505
12e5c3b9
AS
475062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47507
47508 * sysdeps/posix/spawni.c: Include <signal.h>.
47509 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47510 * sysdeps/pthread/aio_fsync.c: Likewise.
47511
4efeffc1 475122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47513
ba63ba08
UD
47514 * conform/Makefile (tests): Run only when not cross-compiling and
47515 when fast-check is not defined.
47516
d94a4670
UD
47517 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47518 * conform/data/limits.h-data: Fixes for POSIX2008.
47519 * conform/run-conformtest.sh: Run all tests.
47520 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47521 headers.
47522 * include/bits/dlfcn.h: Likewise.
47523 * include/langinfo.h: Likewise.
47524 * include/monetary.h: Likewise.
47525 * include/sys/poll.h: Likewise.
47526
47527 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47528 for __USE_GNU.
47529 * posix/spawn.h: Define __need_sigset_t.
47530 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47531 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47532 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47533 to get sigevent_t only.
47534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47535 only for __USE_GNU.
47536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47537 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47538 process_vm_writev only for __USE_GNU.
47539 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47540
47541 * conform/Makefile: For now ignore errors from run-conformtest.
47542 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47543 POSIX to avoid namespace pollution. Don't prepend headers.
47544 * conform/data/aio.h-data: Fixes for POSIX testing.
47545 * conform/data/fcntl.h-data: Likewise.
47546 * conform/data/glob.h-data: Likewise.
47547 * conform/data/grp.h-data: Likewise.
47548 * conform/data/pthread.h-data: Likewise.
47549 * conform/data/pwd.h-data: Likewise.
47550 * conform/data/signal.h-data: Likewise.
47551 * conform/data/spawn.h-data: Likewise.
47552 * conform/data/stdio.h-data: Likewise.
47553 * conform/data/stdlib.h-data: Likewise.
47554 * conform/data/stropts.h-data: Likewise.
47555 * conform/data/sys/mman.h-data: Likewise.
47556 * conform/data/sys/stat.h-data: Likewise.
47557 * conform/data/sys/types.h-data: Likewise.
47558 * conform/data/sys/wait.h-data: Likewise.
47559 * conform/data/time.h-data: Likewise.
47560 * conform/data/unistd.h-data: Likewise.
47561 * conform/data/utime.h-data: Likewise.
47562
47563 * io/sys/stat.h: fchmod was always in POSIX.
47564 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47565 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47566 * rt/aio.h: Define __need_timespec before including <time.h>.
47567 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47568 struct. Add forward declaration of pthread_attr_t and use it in
47569 sigevent.
47570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47572 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47573 always remove CLK_TCK definition.
47574
c20105c3
AS
475752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47576
47577 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47578
7a270350
UD
475792012-02-25 Ulrich Drepper <drepper@gmail.com>
47580
31341567
UD
47581 * conform/run-conformtest.sh: New file.
47582 * conform/Makefile: Run run-conformtest for tests.
47583 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47584 support.
47585
47586 * conform/data/uchar.h-data: New file.
47587 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47588 * conform/data/arpa/inet.h-data: Likewise.
47589 * conform/data/assert.h-data: Likewise.
47590 * conform/data/complex.h-data: Likewise.
47591 * conform/data/cpio.h-data: Likewise.
47592 * conform/data/ctype.h-data: Likewise.
47593 * conform/data/dirent.h-data: Likewise.
47594 * conform/data/dlfcn.h-data: Likewise.
47595 * conform/data/errno.h-data: Likewise.
47596 * conform/data/fcntl.h-data: Likewise.
47597 * conform/data/float.h-data: Likewise.
47598 * conform/data/fmtmsg.h-data: Likewise.
47599 * conform/data/fnmatch.h-data: Likewise.
47600 * conform/data/ftw.h-data: Likewise.
47601 * conform/data/glob.h-data: Likewise.
47602 * conform/data/grp.h-data: Likewise.
47603 * conform/data/iconv.h-data: Likewise.
47604 * conform/data/inttypes.h-data: Likewise.
47605 * conform/data/langinfo.h-data: Likewise.
47606 * conform/data/libgen.h-data: Likewise.
47607 * conform/data/limits.h-data: Likewise.
47608 * conform/data/locale.h-data: Likewise.
47609 * conform/data/math.h-data: Likewise.
47610 * conform/data/monetary.h-data: Likewise.
47611 * conform/data/mqueue.h-data: Likewise.
47612 * conform/data/ndbm.h-data: Likewise.
47613 * conform/data/net/if.h-data: Likewise.
47614 * conform/data/netdb.h-data: Likewise.
47615 * conform/data/netinet/in.h-data: Likewise.
47616 * conform/data/nl_types.h-data: Likewise.
47617 * conform/data/poll.h-data: Likewise.
47618 * conform/data/pthread.h-data: Likewise.
47619 * conform/data/pwd.h-data: Likewise.
47620 * conform/data/regex.h-data: Likewise.
47621 * conform/data/sched.h-data: Likewise.
47622 * conform/data/search.h-data: Likewise.
47623 * conform/data/semaphore.h-data: Likewise.
47624 * conform/data/setjmp.h-data: Likewise.
47625 * conform/data/signal.h-data: Likewise.
47626 * conform/data/spawn.h-data: Likewise.
47627 * conform/data/stdarg.h-data: Likewise.
47628 * conform/data/stdio.h-data: Likewise.
47629 * conform/data/stdlib.h-data: Likewise.
47630 * conform/data/string.h-data: Likewise.
47631 * conform/data/strings.h-data: Likewise.
47632 * conform/data/stropts.h-data: Likewise.
47633 * conform/data/sys/ipc.h-data: Likewise.
47634 * conform/data/sys/mman.h-data: Likewise.
47635 * conform/data/sys/msg.h-data: Likewise.
47636 * conform/data/sys/resource.h-data: Likewise.
47637 * conform/data/sys/select.h-data: Likewise.
47638 * conform/data/sys/sem.h-data: Likewise.
47639 * conform/data/sys/shm.h-data: Likewise.
47640 * conform/data/sys/socket.h-data: Likewise.
47641 * conform/data/sys/stat.h-data: Likewise.
47642 * conform/data/sys/statvfs.h-data: Likewise.
47643 * conform/data/sys/time.h-data: Likewise.
47644 * conform/data/sys/timeb.h-data: Likewise.
47645 * conform/data/sys/times.h-data: Likewise.
47646 * conform/data/sys/types.h-data: Likewise.
47647 * conform/data/sys/uio.h-data: Likewise.
47648 * conform/data/sys/un.h-data: Likewise.
47649 * conform/data/sys/utsname.h-data: Likewise.
47650 * conform/data/sys/wait.h-data: Likewise.
47651 * conform/data/syslog.h-data: Likewise.
47652 * conform/data/tar.h-data: Likewise.
47653 * conform/data/termios.h-data: Likewise.
47654 * conform/data/utime.h-data: Likewise.
47655 * conform/data/utmpx.h-data: Likewise.
47656 * conform/data/varargs.h-data: Likewise.
47657 * conform/data/wchar.h-data: Likewise.
47658 * conform/data/wctype.h-data: Likewise.
47659 * conform/data/wordexp.h-data: Likewise.
47660
47661 * include/stropts.h: New file.
47662 * include/uchar.h: New file.
47663 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47664 * include/assert.h: Likewise.
47665 * include/ctype.h: Likewise.
47666 * include/dirent.h: Likewise.
47667 * include/dlfcn.h: Likewise.
47668 * include/fcntl.h: Likewise.
47669 * include/fnmatch.h: Likewise.
47670 * include/glob.h: Likewise.
47671 * include/grp.h: Likewise.
47672 * include/libio.h: Likewise.
47673 * include/locale.h: Likewise.
47674 * include/math.h: Likewise.
47675 * include/net/if.h: Likewise.
47676 * include/netdb.h: Likewise.
47677 * include/netinet/in.h: Likewise.
47678 * include/pthread.h: Likewise.
47679 * include/pwd.h: Likewise.
47680 * include/regex.h: Likewise.
47681 * include/sched.h: Likewise.
47682 * include/search.h: Likewise.
47683 * include/setjmp.h: Likewise.
47684 * include/signal.h: Likewise.
47685 * include/stdio.h: Likewise.
47686 * include/stdlib.h: Likewise.
47687 * include/string.h: Likewise.
47688 * include/sys/cdefs.h: Likewise.
47689 * include/sys/mman.h: Likewise.
47690 * include/sys/msg.h: Likewise.
47691 * include/sys/resource.h: Likewise.
47692 * include/sys/select.h: Likewise.
47693 * include/sys/socket.h: Likewise.
47694 * include/sys/stat.h: Likewise.
47695 * include/sys/statvfs.h: Likewise.
47696 * include/sys/time.h: Likewise.
47697 * include/sys/times.h: Likewise.
47698 * include/sys/uio.h: Likewise.
47699 * include/sys/utsname.h: Likewise.
47700 * include/sys/wait.h: Likewise.
47701 * include/termios.h: Likewise.
47702 * include/time.h: Likewise.
47703 * include/ulimit.h: Likewise.
47704 * include/unistd.h: Likewise.
47705 * include/utime.h: Likewise.
47706 * include/wchar.h: Likewise.
47707 * include/wctype.h: Likewise.
47708 * include/wordexp.h: Likewise.
47709
47710 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47711
7a270350
UD
47712 * time/time.h: TIME_UTC must be a macro.
47713 Make timespec_get available for ISO C11 only as well.
47714
7724defc
UD
477152012-02-24 Ulrich Drepper <drepper@gmail.com>
47716
47717 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47718 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47719
6b1d1d46
JM
477202012-02-24 Joseph Myers <joseph@codesourcery.com>
47721
47722 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47723
0f8bbd69
JM
477242012-02-24 Joseph Myers <joseph@codesourcery.com>
47725
47726 * manual/texinfo.tex: Update to version 2012-01-19.16.
47727
66ab80bc
JM
477282012-02-24 Joseph Myers <joseph@codesourcery.com>
47729
47730 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47731
74981cc5
RM
477322012-02-24 Roland McGrath <roland@hack.frob.com>
47733
ee968201
RM
47734 [BZ #13738]
47735 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47736 * manual/fdl-1.3.texi: New file.
47737 * manual/fdl-1.1.texi: File removed.
47738
74981cc5
RM
47739 [BZ #13738]
47740 * manual/libc.texinfo (FDL_VERSION): New @set.
47741 Use it for mention of FDL in cover text.
47742 (Documentation License): Use it in @include file name.
47743
7bb764bc
JM
477442012-02-22 Joseph Myers <joseph@codesourcery.com>
47745 Roland McGrath <roland@hack.frob.com>
47746
47747 [BZ #5461]
57f41c40
AS
47748 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47749 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47750 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47751 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47752 name.
47753 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47754
6cbeae47
JM
477552012-02-22 Joseph Myers <joseph@codesourcery.com>
47756
47757 [BZ #2547]
47758 [BZ #11365]
47759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47760 manipulate bits before adding and subtracting TWO23[sx].
47761 * math/libm-test.inc (nearbyint_test): Add more tests.
47762
fe45ce09
JM
477632012-02-22 Joseph Myers <joseph@codesourcery.com>
47764
47765 [BZ #2548]
47766 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47767 bits before adding and subtracting TWO23[sx].
47768 * math/libm-test.inc (rint_test): Add more tests.
47769 (rint_test_tonearest): Likewise.
47770 (rint_test_towardzero): Likewise.
47771 (rint_test_downward): Likewise.
47772 (rint_test_upward: Likewise.
47773
ff3b3d82
JM
477742012-02-22 Joseph Myers <joseph@codesourcery.com>
47775
47776 [BZ #10110]
47777 * include/stdc-predef.h: New file. Extracted from features.h.
47778 * include/features.h: Include stdc-predef.h.
47779 * Makefile (headers): Add stdc-predef.h.
47780 * CONFORMANCE (Compiler limitations): Update.
47781
ef0aab35
JM
477822012-02-22 Joseph Myers <joseph@codesourcery.com>
47783
47784 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47785
58639409
DM
477862012-02-21 David S. Miller <davem@davemloft.net>
47787
47788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47789 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47790
c0e70b25
DM
477912012-02-20 David S. Miller <davem@davemloft.net>
47792
47793 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47794 using a normal save/restore sequence, rather than allocating a
47795 dummy stack frame just to store a frame pointer and restore.
47796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47797
fb06851d
JM
477982012-02-21 Joseph Myers <joseph@codesourcery.com>
47799
47800 * manual/install.texi: Fix stray word in line-wrapped comment.
47801
7a8b71c3
DM
478022012-02-20 David S. Miller <davem@davemloft.net>
47803
d510c123
DM
47804 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47805 both binutils and gcc support GOTDATA.
47806
0722d7c2
DM
47807 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47808 "rd %pc" in the PIC register setup sequences.
47809
3d2b3019
DM
47810 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47811 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47812 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47813 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47819 (SYSCALL_ERROR_HANDLER): Likewise.
47820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47821 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47823 (SYSCALL_ERROR_HANDLER): Likewise.
47824
c80098a9
DM
47825 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47826 (HAVE_GCC_GOTDATA): New.
47827 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47828 relocation support in both binutils and gcc.
47829 * sysdeps/sparc/elf/configure: Regenerate.
47830
3a2545a0
DM
47831 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47832 * sysdeps/sparc/sparc32/elf/configure: Delete.
47833 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47834 * sysdeps/sparc/sparc64/elf/configure: Delete.
47835 * sysdeps/sparc/elf/configure.in: New file.
47836 * sysdeps/sparc/elf/configure: Generate.
47837
7a8b71c3
DM
47838 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47839 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47840 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47841 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47842 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47843
f1e86fca
JM
478442012-02-21 Joseph Myers <joseph@codesourcery.com>
47845
47846 * manual/install.texi: Do not mention specific glibc version
47847 numbers.
47848 * manual/libc.texinfo (VERSION, UPDATED): Update.
47849 (@copying): Use @copyright{} and range of years.
47850
0e7dfaef
JM
478512012-02-21 Joseph Myers <joseph@codesourcery.com>
47852
47853 [BZ #13695]
47854 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47855 [crti.S not in sysdirs] (generated): Do not append.
47856 [crti.S not in sysdirs] (omit-deps): Likewise.
47857 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47858 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47859 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47860 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47861 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47862 Likewise.
47863 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47864 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47865 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47866 * csu/defs.awk: Remove file.
47867 * sysdeps/generic/initfini.c: Likewise.
47868 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47869 variable.
47870 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47871 Likewise.
47872
599af3ca
JM
478732012-02-20 Joseph Myers <joseph@codesourcery.com>
47874
47875 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47876 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47877 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47880 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47881 <bits/epoll.h>.
47882 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47883 (__EPOLL_PACKED): Define to empty if not defined by
47884 <bits/epoll.h>.
47885 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47887 bits/epoll.h.
47888
0e499750
JM
478892012-02-20 Joseph Myers <joseph@codesourcery.com>
47890
47891 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47892 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47894 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47895 <bits/timerfd.h>.
47896 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47898 bits/timerfd.h.
47899
5ad91f6e
JM
479002012-02-20 Joseph Myers <joseph@codesourcery.com>
47901
47902 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47903 in C locale.
47904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47906 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47908
06b99b02
AJ
479092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47910
47911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47913
7638c0fd
AS
479142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47915
47916 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47917 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47918 defined.
47919 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47920 Likewise.
47921 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47922 entry for 2.16.
47923
92221550
AJ
479242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47925
47926 * math/w_acos.c: Use non-signaling floating-point comparisons.
47927 * math/w_acosf.c: Likewise.
47928 * math/w_acosh.c: Likewise.
47929 * math/w_acoshf.c: Likewise.
47930 * math/w_acoshl.c: Likewise.
47931 * math/w_acosl.c: Likewise.
47932 * math/w_asin.c: Likewise.
47933 * math/w_asinf.c: Likewise.
47934 * math/w_asinl.c: Likewise.
47935 * math/w_atanh.c: Likewise.
47936 * math/w_atanhf.c: Likewise.
47937 * math/w_atanhl.c: Likewise.
47938 * math/w_exp2.c: Likewise.
47939 * math/w_exp2f.c: Likewise.
47940 * math/w_exp2l.c: Likewise.
47941 * math/w_j0.c: Likewise.
47942 * math/w_j0f.c: Likewise.
47943 * math/w_j0l.c: Likewise.
47944 * math/w_j1.c: Likewise.
47945 * math/w_j1f.c: Likewise.
47946 * math/w_j1l.c: Likewise.
47947 * math/w_jn.c: Likewise.
47948 * math/w_jnf.c: Likewise.
47949 * math/w_log.c: Likewise.
47950 * math/w_log10.c: Likewise.
47951 * math/w_log10f.c: Likewise.
47952 * math/w_log10l.c: Likewise.
47953 * math/w_log2.c: Likewise.
47954 * math/w_log2f.c: Likewise.
47955 * math/w_log2l.c: Likewise.
47956 * math/w_logf.c: Likewise.
47957 * math/w_logl.c: Likewise.
47958 * math/w_sqrt.c: Likewise.
47959 * math/w_sqrtf.c: Likewise.
47960 * math/w_sqrtl.c: Likewise.
47961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47962 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47966
ebaf36eb
JM
479672012-02-19 Joseph Myers <joseph@codesourcery.com>
47968
47969 [BZ #9739]
47970 * manual/string.texi (strnlen): Use correct parameter name in
47971 equivalent expression.
47972
71c254a6
JM
479732012-02-19 Joseph Myers <joseph@codesourcery.com>
47974
47975 [BZ #11174]
47976 * manual/users.texi (seteuid): Consistently use neweuid for
47977 argument name.
47978
16d2c631
JM
479792012-02-19 Joseph Myers <joseph@codesourcery.com>
47980
47981 [BZ #13704]
47982 * manual/nss.texi (Services in the NSS configuration): Correct
47983 list of services in example configuration file.
47984
cd837b09
NB
479852012-02-19 Nick Bowler <nbowler@draconx.ca>
47986
47987 [BZ #11322]
47988 * manual/arith.texi: Remove statements about negative zero
47989 behaving identically to zero.
47990
02c4bbad
JM
479912012-02-18 Joseph Myers <joseph@codesourcery.com>
47992
47993 [BZ #5993]
47994 * manual/install.texi: Do not document upgrading from libc5.
47995
366842e7
JM
479962012-02-18 Joseph Myers <joseph@codesourcery.com>
47997
47998 [BZ #4596]
47999 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48000
dd54084d
DM
480012012-02-18 David S. Miller <davem@davemloft.net>
48002
48003 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48004 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48005 %o7 across the call.
48006 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48007 instead.
48008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48009 SETUP_PIC_REG_LEAF.
48010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48011 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48012 * sysdeps/sparc/crtn.S: Likewise.
48013
2bcc53a3
UD
480142012-02-17 Ulrich Drepper <drepper@gmail.com>
48015
48016 * aout/Makefile: Remove.
48017
09c093b5
RK
480182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48019
48020 [BZ #13058]
48021 * manual/examples/argp-ex1.c (main): Format definition in GNU
48022 style.
48023 * manual/examples/argp-ex2.c (main): Likewise.
48024 * manual/examples/argp-ex3.c (main): Likewise.
48025 * manual/examples/argp-ex4.c (main): Likewise.
48026 * manual/examples/longopt.c (main): Use new-style prototype
48027 definition.
48028 * manual/examples/strncat.c (main): Specify return type and use
48029 (void) for arguments.
48030 * manual/examples/subopt.c (main): Use char **argv argument.
48031
2ee633a2
JM
480322012-02-17 Joseph Myers <joseph@codesourcery.com>
48033
48034 [BZ #5077]
48035 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48036 rounding modes.
48037
0520adde
FB
480382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48039
48040 [BZ #6907]
48041 * manual/string.texi (strchr): Change when strchrnul is
48042 recommended.
48043
3f4081cd
DGM
480442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48045
48046 [BZ #174]
48047 * manual/locale.texi (setlocale): Document LOCPATH.
48048
d1b10e78
JM
480492012-02-17 Joseph Myers <joseph@codesourcery.com>
48050
48051 [BZ #10210]
48052 * manual/process.texi (execle): Move @dots{} before last argument.
48053
79c6869c
PB
480542012-02-17 Paul Bolle <pebolle@tiscali.nl>
48055
48056 [BZ #12047]
48057 * manual/charset.texi (Generic Charset Conversion): Fix typo
48058 (LC_TYPE -> LC_CTYPE).
48059
cc6e48bc
NB
480602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48061
48062 [BZ #5805]
48063 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48064 (scalbnf): Likewise.
48065 (scalbnl): Likewise.
48066 (scalbln): Likewise.
48067 (scalblnf): Likewise.
48068 (scalblnl): Likewise.
48069 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48070 (vwarnx): Likewise.
48071 (verr): Likewise.
48072 (verrx): Likewise.
48073 * manual/filesys.texi (telldir): Use braces around return type.
48074 * manual/llio.texi (mmap): Add space after comma.
48075 (mmap64): Likewise.
48076 * manual/math.texi (jn): Use @var{} on parameter names.
48077 (jnf): Likewise.
48078 (jnl): Likewise.
48079 (yn): Likewise.
48080 (ynf): Likewise.
48081 (ynl): Likewise.
48082 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48083 line.
48084 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48085 "...".
48086 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48087 (sched_get_priority_max): Likewise.
48088 * manual/signal.texi (sigvec): Add space after comma.
48089 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48090 names.
48091 (if_indextoname): Likewise.
48092 (if_freenameindex): Likewise.
48093 (sendto): Use ',' instead of '.' in prototype.
48094 * manual/startup.texi (syscall): Use @dots{} instead of literal
48095 "...".
48096 * manual/stdio.texi (__fpending): Separate initial words of
48097 paragraph from @deftypefun line.
48098 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48099 "...".
48100 (vsyslog): Use @var{} on parameter names.
48101 * manual/terminal.texi (stty): Use @var{} on parameter names.
48102 * manual/users.texi (getutmp): Use @var{} on parameter names.
48103 (getutmpx): Likewise.
48104
5b23062f
JM
481052012-02-17 Joseph Myers <joseph@codesourcery.com>
48106
48107 [BZ #6884]
48108 * manual/stdio.texi (fopen): Fix typos in description of
48109 ",ccs=STRING".
48110
8dee4833
AJ
481112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48112
48113 [BZ #4026]
48114 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48115 get clock_id definition.
48116
9078ce93
TS
481172012-02-17 Thomas Schwinge <thomas@schwinge.name>
48118
48119 [BZ #4822]
48120 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48121 (madvise): Cast every argument to void on its own.
48122
3835c55f
JM
481232012-02-17 Joseph Myers <joseph@codesourcery.com>
48124
48125 [BZ #9902]
48126 * manual/startup.texi (Exit Status): Fix typo.
48127
35c47e37
JM
481282012-02-17 Joseph Myers <joseph@codesourcery.com>
48129
48130 [BZ #10140]
48131 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48132 * manual/examples/argp-ex2.c: Likewise.
48133 * manual/examples/argp-ex3.c: Likewise.
48134
e3b69ca7
RH
481352012-02-16 Richard Henderson <rth@redhat.com>
48136
48137 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48138 * sysdeps/s390/s390-32/initfini.c: Remove.
48139 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48140 * sysdeps/s390/s390-64/initfini.c: Remove.
48141
df83af67
KK
481422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48143
48144 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48145 compiler output for sysdeps/generic/initfini.c.
48146 * sysdeps/sh/elf/initfini.c: Remove file.
48147
f63f3380
DM
481482012-02-16 David S. Miller <davem@davemloft.net>
48149
fb59b3a4
DM
48150 [BZ #11494]
48151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48152
f63f3380
DM
48153 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48154 * sysdeps/sparc/crti.S: New file.
48155 * sysdeps/sparc/crtn.S: New file.
48156 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48157 * sysdeps/sparc/sparc64/Makefile: Likewise.
48158
df6a4a4a
MF
481592012-02-15 Mike Frysinger <vapier@gentoo.org>
48160
6dd8f3dc 48161 [BZ #3335]
df6a4a4a
MF
48162 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48163
1cac7236
RM
481642012-02-15 Roland McGrath <roland@hack.frob.com>
48165
d2c736f8
RM
48166 [BZ #4822]
48167 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48168
1cac7236
RM
48169 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48170 (write, read, close): Likewise.
48171 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48172
8e475601
JM
481732012-02-15 Joseph Myers <joseph@codesourcery.com>
48174
48175 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48176 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48177 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48178 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48179 <bits/signalfd.h>.
48180 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48182 bits/signalfd.h.
48183
ed656b40
MP
481842012-02-14 Marek Polacek <polacek@redhat.com>
48185
48186 * sysdeps/x86_64/crti.S: New file.
48187 * sysdeps/x86_64/crtn.S: New file.
48188 * sysdeps/x86_64/elf/initfini.c: Remove file.
48189
2a979d3a
JM
481902012-02-13 Joseph Myers <joseph@codesourcery.com>
48191
48192 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48193 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48194 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48195 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48196 <bits/inotify.h>.
48197 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48199 bits/inotify.h.
48200
2a418ac3
JM
482012012-02-13 Joseph Myers <joseph@codesourcery.com>
48202
48203 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48204 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48205 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48206 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48207 <bits/eventfd.h>.
48208 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48210 bits/eventfd.h.
48211
fb779be7
TS
482122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48213
e19e83c5
RM
48214 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48215 __feraiseexcept instead of feraiseexcept.
7c35ffed 48216
fb779be7
TS
48217 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48218 nanosleep invocations.
48219 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48220 strings, and add error checking for a nanosleep invocations.
48221
59ba27a6
PE
482222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48223
48224 Replace FSF snail mail address with URLs, as per GNU coding standards.
48225 Most of the snail mail addresses were wrong anyway, and omitting
48226 them makes the source code easier to maintain. Almost all of the
48227 changes are to license notices and to locale LC_IDENTIFICATION
48228 addresses, except for this one:
48229 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48230 not its snail mail address.
48231
57b957eb
RH
482322012-02-09 Richard Henderson <rth@twiddle.net>
48233
af850b1c
RH
48234 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48235 of kernel-features.h.
48236
57b957eb
RH
48237 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48238
6b73181a
MP
482392012-02-08 Marek Polacek <polacek@redhat.com>
48240
48241 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48242 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48243 * sysdeps/gnu/_G_config.h: Likewise.
48244 * sysdeps/generic/_G_config.h: Likewise.
48245
26ecc33a
AS
482462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48247
6c6dbc63
AS
48248 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48249 tests.
48250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48251
e216c012
AS
48252 * sysdeps/powerpc/powerpc32/crti.S: New file.
48253 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48254 * sysdeps/powerpc/powerpc64/crti.S: New file.
48255 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48256
26ecc33a
AS
48257 * Makeconfig (have-initfini): Don't set.
48258 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48259 * configure.in (nopic_initfini): Don't substitute.
48260 * config.h.in (HAVE_INITFINI): Don't #undef.
48261 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48262 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48263
3add8e13
JM
482642012-02-08 Joseph Myers <joseph@codesourcery.com>
48265
48266 Support crti.S and crtn.S provided directly by architectures.
48267 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48268 [crti.S in sysdirs] (omit-deps): Likewise.
48269 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48270 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48271 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48272 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48273 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48274 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48275 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48276 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48277 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48278 compiler output for sysdeps/generic/initfini.c.
48279 * sysdeps/i386/elf/Makefile: Remove file.
48280 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48281
a22f12b4
MP
482822012-02-07 Marek Polacek <polacek@redhat.com>
48283
48284 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48285 * sysdeps/gnu/_G_config.h: Likewise.
48286 * sysdeps/mach/hurd/_G_config.h: Likewise.
48287
148cf100
MP
482882012-02-07 Marek Polacek <polacek@redhat.com>
48289
48290 * math/Makefile (tests): Add tst-CMPLX2.
48291 * math/tst-CMPLX2.c: New file.
48292
cfdc0dd7
AS
482932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48294
84ba42c4
AS
48295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48296
cfdc0dd7
AS
48297 * math/libm-test.inc (jn_test): Add missing L suffix.
48298
622c86f4
MP
482992012-02-06 Marek Polacek <polacek@redhat.com>
48300
48301 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48302 * sysdeps/i386/fpu/e_powf.S: Likewise.
48303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48304 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48306 * sysdeps/i386/fpu/e_pow.S: Likewise.
48307 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48309 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48310 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48311 * sysdeps/i386/fpu/e_log2.S: Likewise.
48312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48314 * sysdeps/i386/fpu/e_powl.S: Likewise.
48315 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48317 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48318 * sysdeps/i386/fpu/e_logl.S: Likewise.
48319 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48320 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48321 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48322 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48323 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48324 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48325 * sysdeps/i386/fpu/e_log.S: Likewise.
48326 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48328 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48329 * sysdeps/i386/fpu/e_logf.S: Likewise.
48330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48332 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48334 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48335 * sysdeps/i386/fpu/e_log10.S: Likewise.
48336 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48337 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48338 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48339 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48342 * sysdeps/i386/asm-syntax.h: Likewise.
48343 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48345 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48346 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48347 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48352 * sysdeps/powerpc/sysdep.h: Likewise.
48353 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48355
d4a54ac6
JM
483562012-02-06 Joseph Myers <joseph@codesourcery.com>
48357
48358 [BZ #411]
48359 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48360
314054ea
JM
483612012-02-06 Joseph Myers <joseph@codesourcery.com>
48362
48363 * sysdeps/i386/sysdep.h: Include <features.h>.
48364 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48365 version.
48366
d8e0ca50
JM
483672012-02-05 Joseph Myers <joseph@codesourcery.com>
48368
48369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48370 Define.
48371 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48372 LOAD_PIC_REG_STR.
48373
b1da7dd9
JM
483742012-02-03 Joseph Myers <joseph@codesourcery.com>
48375
48376 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48377 (SETUP_PIC_REG): Use GET_PC_THUNK.
48378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48379 macro.
48380
9a1d9254
JM
483812012-02-03 Joseph Myers <joseph@codesourcery.com>
48382
48383 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48384 for non-PIC compilation.
48385 (SETUP_PIC_REG): Add .p2align directive.
48386 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48387 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48388 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48389 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48391 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48409 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48418 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48419 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48420 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48421 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48422 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48423 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48424 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48425 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48426 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48427
65dc3b75
JM
484282012-02-03 Joseph Myers <joseph@codesourcery.com>
48429
48430 * math/tst-CMPLX.c: Include <stdio.h>.
48431
d55bf177
JM
484322012-01-31 Joseph Myers <joseph@codesourcery.com>
48433
48434 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48435 float.
48436 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48437 * sysdeps/sparc/bits/mathdef.h: Likewise.
48438
69db4f8f
MP
484392012-01-31 Marek Polacek <polacek@redhat.com>
48440
48441 * libio/libio.h: Don't define _PARAMS.
48442 * locale/programs/config.h: Don't define PARAMS.
48443 * stdlib/strtol_l.c: Likewise.
48444 (__strtol_l): Remove PARAMS from the prototype.
48445
41b81892
UD
484462012-01-31 Ulrich Drepper <drepper@gmail.com>
48447
3b49edc0
UD
48448 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48449 names. Just use the correct names. Remove unnecessary wrapper
48450 functions.
48451 * malloc/arena.c: Likewise.
48452 * malloc/hooks.c: Likewise.
48453
41b81892
UD
48454 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48455 ARENA_TEST says not to. Simplify test for creation of a new arena.
48456 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48457
27a25b6e
UD
484582012-01-30 Ulrich Drepper <drepper@gmail.com>
48459
48460 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48461 into tail calls.
48462 (update_get_addr): New function.
48463 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48464 GET_ADDR_MODULE parameter.
48465
c8a89e7d
JM
484662012-01-30 Joseph Myers <joseph@codesourcery.com>
48467
48468 * crypt/cert.c: Remove __STDC__ conditionals.
48469 * crypt/crypt-entry.c: Likewise.
48470 * crypt/crypt_util.c: Likewise.
48471 * libio/filedoalloc.c: Likewise.
48472 * libio/fileops.c: Likewise.
48473 * libio/genops.c: Likewise.
48474 * libio/iofclose.c: Likewise.
48475 * libio/iofdopen.c: Likewise.
48476 * libio/iofopen.c: Likewise.
48477 * libio/iofopen64.c: Likewise.
48478 * libio/iogetdelim.c: Likewise.
48479 * libio/iopopen.c: Likewise.
48480 * libio/obprintf.c: Likewise.
48481 * libio/oldfileops.c: Likewise.
48482 * libio/oldiofclose.c: Likewise.
48483 * libio/oldiofdopen.c: Likewise.
48484 * libio/oldiofopen.c: Likewise.
48485 * libio/oldiopopen.c: Likewise.
48486 * libio/wfiledoalloc.c: Likewise.
48487 * libio/wgenops.c: Likewise.
48488 * locale/programs/xmalloc.c: Likewise.
48489 * misc/syslog.c: Likewise.
48490 * stdio-common/xbug.c: Likewise.
48491 * string/memchr.c: Likewise.
48492 * string/memcmp.c: Likewise.
48493 * string/memrchr.c: Likewise.
48494 * string/rawmemchr.c: Likewise.
48495 * sysdeps/posix/getcwd.c: Likewise.
48496 * time/strftime_l.c: Likewise.
48497
3b100462
JM
484982012-01-30 Joseph Myers <joseph@codesourcery.com>
48499
48500 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48501 * config.make.in (config-cflags-sse2avx): Define.
48502 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48503 Fix typo.
48504
607998af
CM
485052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48506
48507 * scripts/config.guess: Update from upstream config git repository.
48508 * scripts/config.sub: Likewise.
48509
3601428f
CM
485102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48511
3ac8b282
CM
48512 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48513 (EM_NUM): Update.
48514 (R_TILEPRO_*, R_TILEGX_*): New macros.
48515
e034841e
CM
48516 * scripts/firstversions.awk: Fix bug in version range handling.
48517
540d7568
CM
48518 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48519
3601428f
CM
48520 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48521
463de862
CM
48522 * include/sys/epoll.h: New file.
48523 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48524 libc_hidden_def.
48525
73139a76
UD
485262012-01-28 Ulrich Drepper <drepper@gmail.com>
48527
96bc5b45
UD
48528 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48529 Avoid unnecessary __WORDSIZE == 64 test.
48530 (fmaxf): Use VEX format if possible.
48531 (fmax): Likewise.
48532 (fminf): Likewise.
48533 (fmin): Likewise.
48534
56f6f6a2
UD
48535 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48536 * math/math_private.h: Remove libc_fegetround* and
48537 libc_fesetround*.
48538 * sysdeps/i386/configure.in: Check for -msse2avx.
48539 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48540 also if SSE2AVX is defined.
48541 Remove libc_fegetround* and libc_fesetround*.
48542 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48543 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48545 of HAS_YMM_USABLE.
48546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48551
73139a76
UD
48552 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48553
d73f93a4
AZ
485542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48555
48556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48557 size is not set.
48558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48559
6ee65ed6
UD
485602012-01-27 Ulrich Drepper <drepper@gmail.com>
48561
48562 [BZ #13618]
48563 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48564 relocation.
48565 * Makeconfig (libm): Define.
48566 * elf/Makefile: Add rules to build and run tst-relsort1.
48567 * elf/tst-relsort1.c: New file.
48568 * elf/tst-relsort1mod1.c: New file.
48569 * elf/tst-relsort1mod2.c: New file.
48570
8db21882
JM
485712012-01-27 Joseph Myers <joseph@codesourcery.com>
48572
48573 * math/s_ldexp.c: Remove __STDC__ conditionals.
48574 * math/s_ldexpf.c: Likewise.
48575 * math/s_ldexpl.c: Likewise.
48576 * math/s_nextafter.c: Likewise.
48577 * math/s_nexttowardf.c: Likewise.
48578 * math/s_significand.c: Likewise.
48579 * math/s_significandf.c: Likewise.
48580 * math/s_significandl.c: Likewise.
48581 * math/w_jnl.c: Likewise.
48582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48613 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48618 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48619 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48620 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48621 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48622 * sysdeps/ieee754/k_standard.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48695 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48702 * sysdeps/ieee754/s_matherr.c: Likewise.
48703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48707
965a54a4
JM
487082012-01-26 Joseph Myers <joseph@codesourcery.com>
48709
48710 * crypt/md5.h: Remove __STDC__ conditionals.
48711 * libio/libioP.h: Likewise.
48712 * locale/programs/config.h: Likewise.
48713 * sysdeps/generic/sysdep.h: Likewise.
48714 * sysdeps/i386/asm-syntax.h: Likewise.
48715 * sysdeps/s390/asm-syntax.h: Likewise.
48716 * sysdeps/unix/sysdep.h: Likewise.
48717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48719
7071ad79
JM
487202012-01-26 Joseph Myers <joseph@codesourcery.com>
48721
48722 * libio/libio.h: Remove __STDC__ conditionals.
48723 * malloc/obstack.h: Likewise.
48724 * math/complex.h: Likewise.
48725 * math/math.h: Likewise.
48726 * sysdeps/generic/_G_config.h: Likewise.
48727 * sysdeps/gnu/_G_config.h: Likewise.
48728 * sysdeps/mach/hurd/_G_config.h: Likewise.
48729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48731 * sysdeps/sparc/bits/mathdef.h: Likewise.
48732
afc5ed09
UD
487332012-01-26 Ulrich Drepper <drepper@gmail.com>
48734
48735 [BZ #13583]
48736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48737 Clean up HAS_* macros.
afc5ed09 48738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48739 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48740 possible.
48741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48742 HAS_AVX.
48743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48748
bdb6de1d
JM
487492012-01-25 Joseph Myers <joseph@codesourcery.com>
48750
48751 * elf/tst-unique3.cc (gets): Remove declaration.
48752 * elf/tst-unique3lib.cc (gets): Likewise.
48753 * elf/tst-unique3lib2.cc (gets): Likewise.
48754 * elf/tst-unique4.cc (gets): Likewise.
48755
b15549e6
UD
487562012-01-24 Ulrich Drepper <drepper@gmail.com>
48757
48758 * include/stdio.h: Add C++ protection. Add gets declarations and
48759 definitions.
48760 * debug/tst-chk1.c: Don't declare gets here.
48761 * stdio-common/tst-gets.c: Likewise.
48762
a037381f
JM
487632012-01-24 Joseph Myers <joseph@codesourcery.com>
48764
48765 * posix/glob: Remove directory.
48766
f1d4aa75
JM
487672012-01-24 Joseph Myers <joseph@codesourcery.com>
48768
48769 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48770
81c0c964
PT
487712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48772
48773 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48774 of the non-standard EPFNOSUPPORT.
48775
0ea698ae
ST
487762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48777
48778 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48779 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48780 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48781
d220b117
UD
487822012-01-21 Ulrich Drepper <drepper@gmail.com>
48783
48784 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48785
3e1aa84e
UD
487862012-01-20 Ulrich Drepper <drepper@gmail.com>
48787
48788 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48789 transient errors.
48790 * nscd/grpcache.c (cache_addgr): Likewise.
48791 * nscd/hstcache.c (cache_addhst): Likewise.
48792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48793 * nscd/pwdcache.c (cache_addpw): Likewise.
48794 * nscd/servicescache.c (cache_addserv): Likewise.
48795
400aa020
UD
487962012-01-16 Ulrich Drepper <drepper@gmail.com>
48797
d77e7869
UD
48798 * malloc/malloc.c: Various cleanups.
48799 * malloc/hooks.c: Likewise.
48800
400aa020
UD
48801 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48802 * stdlib/bug-fmtmsg1.c: New file.
48803
48804 * stdlib/fmtmsg.c (init): Add missing unlock.
48805 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48806
e0a309cf
MP
488072012-01-12 Marek Polacek <polacek@redhat.com>
48808
48809 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48810 and _GNU_SOURCE.
48811
929d11c7
WS
488122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48813
48814 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48816 macro to ensure uniqueness of label name.
48817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48819
41d0e869
UD
488202012-01-11 Ulrich Drepper <drepper@gmail.com>
48821
0cc5ed3b
UD
48822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48823
41d0e869
UD
48824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48828
a47a831a
UD
488292012-01-10 Ulrich Drepper <drepper@gmail.com>
48830
daa891c0
UD
48831 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48832
48833 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48836
e58ef0f2
UD
48837 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48838
a47a831a 48839 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48840 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48843
48844 * math/bits/math-finite.h: Add ldexp support.
48845
a0bfc9c7
MP
488462012-01-10 Marek Polacek <polacek@redhat.com>
48847
48848 * locale/programs/localedef.h (show_archive_content): Add noreturn
48849 attribute.
48850
d6e97a1d
UD
488512012-01-09 Ulrich Drepper <drepper@gmail.com>
48852
48853 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48854
d5835c26
UD
488552012-01-08 Ulrich Drepper <drepper@gmail.com>
48856
e5f484c6
UD
48857 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48858
d5835c26
UD
48859 * io/Makefile (headers): Add bits/poll2.h.
48860
d1f741e9
WS
488612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48862
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48864 typo #include statement.
48865
ec09c1c4
UD
488662012-01-08 Ulrich Drepper <drepper@gmail.com>
48867
48868 * include/sys/cdefs.h: Define __attribute_alloc_size.
48869 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48870 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48871 * elf/pldd.c: Likewise.
48872 * iconv/iconv_charmap.c: Likewise.
48873 * iconv/iconvconfig.c: Likewise.
48874 * iconv/strtab.c: Likewise.
48875 * locale/programs/locale.c: Likewise.
48876 * locale/programs/localedef.h: Likewise.
48877 * locale/programs/simple-hash.c: Likewise.
48878 * nscd/nscd.h: Likewise.
48879 * nss/makedb.c: Likewise.
48880 * sysdeps/generic/ldconfig.h: Likewise.
48881 * locale/programs/localedef.c: Remove xmalloc prototype.
48882 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48883
20b38e03
PP
488842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48885
48886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48887 appropriate.
48888
a0da5fe1
UD
488892012-01-08 Ulrich Drepper <drepper@gmail.com>
48890
1d5a644a 48891 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48892 * math/tst-CMPLX.c: New file.
1d5a644a 48893
8784a6db
UD
48894 * math/complex.h (CMPLXL): Fix typo.
48895
d9a216c0
UD
48896 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48897 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48898 GLIBC_2.16.
48899 * debug/tst-chk1.c: Add poll and ppoll tests.
48900 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48901 * include/sys/poll.h: Add hidden proto for ppoll.
48902 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48903 * sysdeps/mach/hurd/ppoll.c: Likewise.
48904 * io/ppoll.c: Likewise.
48905 * debug/poll_chk.c: New file.
48906 * debug/ppoll_chk.c: New file.
48907 * include/bits/poll2.h: New file.
48908 * io/bits/poll2.h: New file.
48909
ac097f5c
UD
48910 [BZ #1350]
48911 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48912
2119dcfa
UD
48913 * configure.in: static is always set to yes. Remove.
48914 * config.make.in: Don't set build-static.
48915 * Makeconfig: Remove use of build-static.
48916 * dlfcn/Makefile: Likewise.
48917 * elf/Makefile: Likewise.
48918 * math/Makefile: Likewise.
48919 * misc/Makefile: Likewise.
48920 * nptl/Makefile: Likewise.
48921 * sysdeps/mach/hurd/Makefile: Likewise.
48922
121766a9
UD
48923 * configure.in: PWD_P is not used anymore.
48924 * config.make.in: Remove PWD_P entry.
48925
51a1d39c 48926 * configure.in: Remove last remnants of RANLIB.
8720d066 48927 No need to check for signed size_t anymore.
215f4bdc
UD
48928 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48929 and IA-64.
3857022a 48930 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48931 * aclocal.m4: Likewise.
48932
d3ed7225
UD
48933 * wcsmbs/mbrtoc16.c: Implement using towc function.
48934 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48935 * wcsmbs/wcsmbsload.c: Likewise.
48936 * iconv/gconv_simple.c: Likewise.
48937 * iconv/gconv_int.h: Likewise.
48938 * iconv/gconv_builtin.h: Likewise.
48939 * iconv/iconv_prog.c: Remove CHAR16 handling.
48940
48941 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48942
48943 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48944
a0da5fe1
UD
48945 * configure.in: Remove --with-elf and --enable-bounded options.
48946 Dont set base_machine for ia64. More non-ELF conditions removed.
48947 Remove testing and setting of leading underscore information.
48948 * config.make.in (build-bounded): Set to no.
48949 * config.h.in: Remove NO_UNDERSCORES entry.
48950 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48951 them.
48952 * csu/start.c: Remove !NO_UNDERSCORE code.
48953 * locale/localeinfo.h: Likewise.
48954 * sysdeps/generic/machine-gmon.h: Likewise.
48955 * sysdeps/generic/sysdep.h: Likewise.
48956 * sysdeps/i386/sysdep.h: Likewise.
48957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48958 * sysdeps/mach/sysdep.h: Likewise.
48959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48961 * sysdeps/sh/sysdep.h: Likewise.
48962 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48963 * sysdeps/unix/i386/sysdep.S: Likewise.
48964 * sysdeps/unix/sparc/start.c: Likewise.
48965 * sysdeps/unix/sparc/sysdep.S: Likewise.
48966 * sysdeps/unix/sparc/sysdep.h: Likewise.
48967 * sysdeps/unix/start.c: Likewise.
48968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48969 * sysdeps/x86_64/sysdep.h: Likewise.
48970
df78418a
UD
489712012-01-07 Ulrich Drepper <drepper@gmail.com>
48972
a784e502
UD
48973 [BZ #13553]
48974 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48975 for non-gcc.
48976 * argp/argp-fmtstream.h: Use const instead __const.
48977 * argp/argp.h: Likewise.
48978 * assert/assert.h: Likewise.
48979 * bits/fenv.h: Likewise.
48980 * bits/sched.h: Likewise.
48981 * bits/sigset.h: Likewise.
48982 * bits/sigthread.h: Likewise.
48983 * catgets/nl_types.h: Likewise.
48984 * conform/data/pthread.h-data: Likewise.
48985 * crypt/crypt-private.h: Likewise.
48986 * crypt/crypt.h: Likewise.
48987 * crypt/crypt_util.c: Likewise.
48988 * ctype/ctype.h: Likewise.
48989 * debug/execinfo.h: Likewise.
48990 * debug/mbsnrtowcs_chk.c: Likewise.
48991 * debug/mbsrtowcs_chk.c: Likewise.
48992 * debug/wcsnrtombs_chk.c: Likewise.
48993 * debug/wcsrtombs_chk.c: Likewise.
48994 * debug/wcstombs_chk.c: Likewise.
48995 * dirent/dirent.h: Likewise.
48996 * dlfcn/dlfcn.h: Likewise.
48997 * elf/neededtest4.c: Likewise.
48998 * grp/grp.h: Likewise.
48999 * gshadow/gshadow.h: Likewise.
49000 * iconv/gconv.h: Likewise.
49001 * iconv/gconv_int.h: Likewise.
49002 * iconv/gconv_simple.c: Likewise.
49003 * iconv/iconv.h: Likewise.
49004 * iconv/loop.c: Likewise.
49005 * iconv/skeleton.c: Likewise.
49006 * include/aio.h: Likewise.
49007 * include/aliases.h: Likewise.
49008 * include/argz.h: Likewise.
49009 * include/arpa/inet.h: Likewise.
49010 * include/assert.h: Likewise.
49011 * include/dirent.h: Likewise.
49012 * include/dlfcn.h: Likewise.
49013 * include/execinfo.h: Likewise.
49014 * include/fcntl.h: Likewise.
49015 * include/fenv.h: Likewise.
49016 * include/glob.h: Likewise.
49017 * include/grp.h: Likewise.
49018 * include/libintl.h: Likewise.
49019 * include/mntent.h: Likewise.
49020 * include/netdb.h: Likewise.
49021 * include/pwd.h: Likewise.
49022 * include/rpc/netdb.h: Likewise.
49023 * include/sched.h: Likewise.
49024 * include/search.h: Likewise.
49025 * include/shadow.h: Likewise.
49026 * include/signal.h: Likewise.
49027 * include/stdio.h: Likewise.
49028 * include/stdlib.h: Likewise.
49029 * include/string.h: Likewise.
49030 * include/sys/socket.h: Likewise.
49031 * include/sys/stat.h: Likewise.
49032 * include/sys/statfs.h: Likewise.
49033 * include/sys/statvfs.h: Likewise.
49034 * include/sys/syslog.h: Likewise.
49035 * include/sys/time.h: Likewise.
49036 * include/sys/uio.h: Likewise.
49037 * include/time.h: Likewise.
49038 * include/unistd.h: Likewise.
49039 * include/utmp.h: Likewise.
49040 * include/wchar.h: Likewise.
49041 * include/wctype.h: Likewise.
49042 * inet/aliases.h: Likewise.
49043 * inet/arpa/inet.h: Likewise.
49044 * inet/netinet/ether.h: Likewise.
49045 * inet/netinet/in.h: Likewise.
49046 * intl/libintl.h: Likewise.
49047 * io/bits/fcntl2.h: Likewise.
49048 * io/fcntl.h: Likewise.
49049 * io/ftw.h: Likewise.
49050 * io/sys/poll.h: Likewise.
49051 * io/sys/stat.h: Likewise.
49052 * io/sys/statfs.h: Likewise.
49053 * io/sys/statvfs.h: Likewise.
49054 * io/utime.h: Likewise.
49055 * libio/bits/stdio.h: Likewise.
49056 * libio/bits/stdio2.h: Likewise.
49057 * libio/libio.h: Likewise.
49058 * libio/libioP.h: Likewise.
49059 * libio/stdio.h: Likewise.
49060 * locale/lc-ctype.c: Likewise.
49061 * locale/locale.h: Likewise.
49062 * login/utmp.h: Likewise.
49063 * malloc/arena.c: Likewise.
49064 * malloc/malloc.c: Likewise.
49065 * malloc/malloc.h: Likewise.
49066 * malloc/mcheck.c: Likewise.
49067 * malloc/mtrace.c: Likewise.
49068 * math/bits/mathcalls.h: Likewise.
49069 * math/fenv.h: Likewise.
49070 * math/math_private.h: Likewise.
49071 * misc/bits/error.h: Likewise.
49072 * misc/bits/syslog.h: Likewise.
49073 * misc/err.h: Likewise.
49074 * misc/error.h: Likewise.
49075 * misc/fstab.h: Likewise.
49076 * misc/mntent.h: Likewise.
49077 * misc/regexp.h: Likewise.
49078 * misc/search.h: Likewise.
49079 * misc/sgtty.h: Likewise.
49080 * misc/sys/mman.h: Likewise.
49081 * misc/sys/syslog.h: Likewise.
49082 * misc/sys/uio.h: Likewise.
49083 * misc/sys/xattr.h: Likewise.
49084 * misc/ttyent.h: Likewise.
49085 * nis/rpcsvc/ypclnt.h: Likewise.
49086 * nss/nss.h: Likewise.
49087 * posix/bits/unistd.h: Likewise.
49088 * posix/fnmatch.h: Likewise.
49089 * posix/glob.h: Likewise.
49090 * posix/sched.h: Likewise.
49091 * posix/spawn.h: Likewise.
49092 * posix/sys/wait.h: Likewise.
49093 * posix/unistd.h: Likewise.
49094 * posix/wordexp.h: Likewise.
49095 * pwd/pwd.h: Likewise.
49096 * resolv/netdb.h: Likewise.
49097 * resource/sys/resource.h: Likewise.
49098 * rt/aio.h: Likewise.
49099 * rt/bits/mqueue2.h: Likewise.
49100 * rt/mqueue.h: Likewise.
49101 * shadow/shadow.h: Likewise.
49102 * signal/signal.h: Likewise.
49103 * socket/send.c: Likewise.
49104 * socket/sendto.c: Likewise.
49105 * socket/sys/socket.h: Likewise.
49106 * stdio-common/printf.h: Likewise.
49107 * stdlib/bits/stdlib.h: Likewise.
49108 * stdlib/fmtmsg.h: Likewise.
49109 * stdlib/monetary.h: Likewise.
49110 * stdlib/stdlib.h: Likewise.
49111 * stdlib/ucontext.h: Likewise.
49112 * streams/stropts.h: Likewise.
49113 * string/argz.h: Likewise.
49114 * string/bits/string2.h: Likewise.
49115 * string/string.h: Likewise.
49116 * string/strings.h: Likewise.
49117 * sunrpc/rpc/auth.h: Likewise.
49118 * sunrpc/rpc/auth_des.h: Likewise.
49119 * sunrpc/rpc/clnt.h: Likewise.
49120 * sunrpc/rpc/netdb.h: Likewise.
49121 * sunrpc/rpc/pmap_clnt.h: Likewise.
49122 * sunrpc/rpc/xdr.h: Likewise.
49123 * sysdeps/generic/inttypes.h: Likewise.
49124 * sysdeps/generic/net/if.h: Likewise.
49125 * sysdeps/generic/sys/swap.h: Likewise.
49126 * sysdeps/gnu/net/if.h: Likewise.
49127 * sysdeps/gnu/utmpx.h: Likewise.
49128 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49129 * sysdeps/i386/i486/bits/string.h: Likewise.
49130 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49131 * sysdeps/s390/bits/string.h: Likewise.
49132 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49133 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49134 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49135 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49136 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49137 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49138 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49139 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49140 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49141 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49142 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49143 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49144 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49145 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49146 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49153 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49154 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49155 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49156 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49157 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49160 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49162 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49163 * sysvipc/sys/ipc.h: Likewise.
49164 * sysvipc/sys/msg.h: Likewise.
49165 * sysvipc/sys/sem.h: Likewise.
49166 * sysvipc/sys/shm.h: Likewise.
49167 * termios/termios.h: Likewise.
49168 * time/sys/time.h: Likewise.
49169 * time/time.h: Likewise.
49170 * wcsmbs/bits/wchar2.h: Likewise.
49171 * wcsmbs/uchar.h: Likewise.
49172 * wcsmbs/wchar.h: Likewise.
49173 * wctype/wctype.h: Likewise.
49174
0269750c
UD
49175 [BZ #13551]
49176 * Makeconfig: Remove all but ELF support including AIX support.
49177 * Makerules: Likewise.
49178 * config.h.in: Likewise.
49179 * config.make.in: Likewise.
49180 * configure: Likewise.
49181 * configure.in: Likewise.
49182 * csu/Makefile: Likewise.
49183 * csu/version.c: Likewise.
49184 * debug/Makefile: Likewise.
49185 * dlfcn/Makefile: Likewise.
49186 * elf/Makefile: Likewise.
49187 * extra-lib.mk: Likewise.
49188 * iconv/Makefile: Likewise.
49189 * include/libc-symbols.h: Likewise.
49190 * include/shlib-compat.h: Likewise.
49191 * resolv/Makefile: Likewise.
49192 * resolv/res_libc.c: Likewise.
49193 * rt/Makefile: Likewise.
49194 * sysdeps/i386/asm-syntax.h: Likewise.
49195 * sysdeps/i386/sysdep.h: Likewise.
49196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49197 * sysdeps/mach/sysdep.h: Likewise.
49198 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49199 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49200 * sysdeps/s390/asm-syntax.h: Likewise.
49201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49203 * sysdeps/sh/sysdep.h: Likewise.
49204 * sysdeps/unix/sparc/sysdep.h: Likewise.
49205 * sysdeps/wordsize-32/divdi3.c: Likewise.
49206 * sysdeps/x86_64/sysdep.h: Likewise.
49207
00bbd29b
UD
49208 * argp/Versions: Remove _argp_unlock_xxx.
49209
49210 [BZ #13559]
49211 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49212 * abilist/libBrokenLocale.abilist: Likewise.
49213 * abilist/libanl.abilist: Likewise.
49214 * abilist/libc.abilist: Likewise.
49215 * abilist/libcrypt.abilist: Likewise.
49216 * abilist/libdl.abilist: Likewise.
49217 * abilist/libm.abilist: Likewise.
49218 * abilist/libnsl.abilist: Likewise.
49219 * abilist/libpthread.abilist: Likewise.
49220 * abilist/libresolv.abilist: Likewise.
49221 * abilist/librt.abilist: Likewise.
49222 * abilist/libthread_db.abilist: Likewise.
49223 * abilist/libutil.abilist: Likewise.
49224 * abilist/libnss_db.abilist: New file.
49225
49226 * scripts/abilist.awk: Add support for indirect functions.
49227
a2693a0e
UD
49228 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49229
3f05895f
UD
49230 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49231
ecb6fb48
UD
49232 * shlib-versions: Remove entries for ports architectures.
49233
664f8cb9
UD
49234 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49235 files in ports.
49236 * elf/stackguard-macros.h: Remove support for IA-64.
49237 * elf/tst-auditmod1.c: Likewise.
49238 * sysdeps/generic/ldsodefs.h: Likewise.
49239
7ae81d88
UD
49240 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49241 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49242 configure files.
49243
bdeba135
UD
49244 [BZ #13552]
49245 * configure.in: Remove --enable-omitfp support.
49246 * FAQ.in: Adjust.
49247 * config.make.in: Likewise.
49248 * Makeconfig: Likewise.
49249 * manual/install.texi: Likewise.
49250
d75a0a62
UD
49251 In case anyone cares, the IA-64 architecture could move to ports.
49252 * sysdeps/ia64/*: Removed.
49253 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49254 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49255
dcc9756b
UD
49256 [BZ #13555]
49257 * configure.in: Remove entries for unsupported architectures.
49258
d3761ebc 49259 [BZ #13533]
9954432e
UD
49260 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49261 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49262 routines.
49263 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49264 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49265 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49266 fall back to using wcrtomb.
49267 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49268 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49269 renaming.
49270 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49271 * wcsmbs/tst-c16c32-1.c: New file.
49272
49273 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49274 local variable.
49275
c3a87236
UD
49276 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49277
28926a1b
UD
49278 * elf/tst-unique3.cc: Add explicit declaration of gets.
49279 * elf/tst-unique3lib.cc: Likewise.
49280 * elf/tst-unique3lib2.cc: Likewise.
49281 * elf/tst-unique4.cc: Likewise.
49282
df78418a
UD
49283 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49284
8ecd6b2a
JM
492852012-01-06 Joseph Myers <joseph@codesourcery.com>
49286
49287 [BZ #13566]
49288 * assert/assert.h (static_assert): Don't define for C++.
49289 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49290 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49291
9f115170
UD
492922012-01-03 Ulrich Drepper <drepper@gmail.com>
49293
5e0d0300
UD
49294 * iconv/loop.c (single loop): Fix assertion in storing of
49295 remaining bytes.
49296
9f115170
UD
49297 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49298
81fb02b0
UD
492992012-01-01 Ulrich Drepper <drepper@gmail.com>
49300
49301 * posix/getconf.c: Update copyright year.
49302 * nss/getent.c: Likewise.
a316c1f6 49303 * nss/makedb.c: Likewise.
81fb02b0
UD
49304 * iconv/iconvconfig.c: Likewise.
49305 * iconv/iconv_prog.c: Likewise.
49306 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49307 * elf/pldd.c: Likewise.
49308 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49309 * catgets/gencat.c: Likewise.
49310 * csu/version.c: Likewise.
49311 * elf/ldd.bash.in: Likewise.
49312 * elf/sprof.c (print_version): Likewise.
49313 * locale/programs/locale.c: Likewise.
49314 * locale/programs/localedef.c: Likewise.
a316c1f6 49315 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49316 * nscd/nscd.c (print_version): Likewise.
49317 * debug/xtrace.sh: Likewise.
49318 * malloc/memusage.sh: Likewise.
49319 * malloc/mtrace.pl: Likewise.
49320 * debug/catchsegv.sh: Likewise.
49321
2ba92745
JJ
493222011-12-30 Jakub Jelinek <jakub@redhat.com>
49323
49324 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49325 pure attribute.
49326
dadebdae
UD
493272011-12-24 Ulrich Drepper <drepper@gmail.com>
49328
d3761ebc 49329 [BZ #13533]
db6af3eb
UD
49330 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49331 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49332 transformations.
49333 * iconv/gconv_int.h: Likewise.
49334 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49335 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49336 from libc for GLIBC_2.16.
49337 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49338 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49339 * wcsmbs/uchar.h: Really define mbstate_t.
49340 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49341 * wcsmbs/c16rtomb.c: New file.
49342 * wcsmbs/mbrtoc16.c: New file.
49343 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49344 for C/POSIX locale.
49345 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49346 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49347
dadebdae
UD
49348 * wcsmbs/wchar.h: Add missing __restrict.
49349
67371b56
UD
493502011-12-23 Ulrich Drepper <drepper@gmail.com>
49351
74033a25
UD
49352 [BZ #13532]
49353 * time/Makefile (routines): Add timespec_get.
49354 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49355 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49356 timespec for ISO C11.
49357 * time/timespec_get.c: New file.
49358 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49359 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49360
380d7e87
UD
49361 [BZ #13531]
49362 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49363 * stdlib/stdlib.h: Declare aligned_alloc.
49364 * Versions.def: Add GLIBC_2.16 for libc.
49365 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49366
4e9e7a35
UD
49367 [BZ 13527]
49368 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49369 ISO C11.
49370
380d7e87 49371 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49372 code.
49373
03a71829
UD
49374 [BZ #13528]
49375 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49376
839e283e
UD
49377 [BZ #13529]
49378 * assert/assert.h (static_assert): Define.
49379
ce5294e2 49380 * version.h: Update for 2.16 development version.
90fa7312 49381
8d44e150 49382 [BZ #13526]
d7809905
UD
49383 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49384 _ISOC11_SOURCE.
49385
c0da14cd
UD
49386 * version.h (RELEASE): Bump for 2.15 release.
49387 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49388
530a3249
MP
49389 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49390 Patch by Marek Polacek <mpolacek@redhat.com>.
49391
67371b56
UD
49392 * bits/byteswap.h: Protect long long constants with __extension__.
49393 * sysdeps/i386/bits/byteswap.h: Likewise.
49394 * sysdeps/ia64/bits/byteswap.h: Likewise.
49395 * sysdeps/s390/bits/byteswap.h: Likewise.
49396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49397
15db4de1
LD
493982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49399
49400 [BZ #13540]
bbe315ea
LD
49401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49402 destination buffer.
15db4de1
LD
49403 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49404
2b2596b1
MP
494052011-12-23 Marek Polacek <polacek@redhat.com>
49406
49407 * elf/dl-addr.c (determine_info): Add inline keyword.
49408 * elf/tst-auditmod4b.c (check_avx): Likewise.
49409 * elf/tst-auditmod6b.c (check_avx): Likewise.
49410 * elf/tst-auditmod6c.c (check_avx): Likewise.
49411 * elf/tst-auditmod7b.c (check_avx): Likewise.
49412
70c6c246
UD
494132011-12-23 Ulrich Drepper <drepper@gmail.com>
49414
49415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49416 !__SSE_MATH__.
49417
c044cf14
LD
494182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49419
15db4de1 49420 [BZ #13540]
c044cf14
LD
49421 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49422 processing for last bytes.
49423
6b13d9d9
BH
494242011-08-06 Bruno Haible <bruno@clisp.org>
49425
d455f537
BH
49426 [BZ #13061]
49427 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49428 U+0385, not to U+1FEE.
49429
6b13d9d9
BH
49430 [BZ #13062]
49431 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49432 entry for U+00A5 U+0301.
49433
db910efd
UD
494342011-12-22 Ulrich Drepper <drepper@gmail.com>
49435
27deeafc
UD
49436 [BZ #13166]
49437 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49438 buffer for the output is too small.
49439
aed9d171
UD
49440 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49441 optimization.
49442
db910efd
UD
49443 [BZ #13185]
49444 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49445 SSE flags if possible.
49446
2bd779ae
LD
494472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49448
e7f9dac3 49449 [BZ #13540]
2bd779ae
LD
49450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49451 processing for last bytes.
49452
154bfc16
JM
494532011-12-22 Joseph Myers <joseph@codesourcery.com>
49454
49455 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49456 (syscall-list-default-options, syscall-list-default-condition)
49457 (syscall-list-includes): Define.
49458 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49459 list of ABIs and options and #if conditions for each ABI. Do not
49460 handle common syscalls between ABIs specially.
49461 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49462 Remove.
49463 (syscall-list-variants, syscall-list-32bit-options)
49464 (syscall-list-32bit-condition, syscall-list-64bit-options)
49465 (syscall-list-64bit-condition): Define.
49466 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49467 (syscall-list-variants, syscall-list-32bit-options)
49468 (syscall-list-32bit-condition, syscall-list-64bit-options)
49469 (syscall-list-64bit-condition): Define.
49470 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49471 Remove.
49472 (syscall-list-variants, syscall-list-32bit-options)
49473 (syscall-list-32bit-condition, syscall-list-64bit-options)
49474 (syscall-list-64bit-condition): Define.
49475 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49476 Remove.
49477 (syscall-list-variants, syscall-list-32bit-options)
49478 (syscall-list-32bit-condition, syscall-list-64bit-options)
49479 (syscall-list-64bit-condition): Define.
49480
21eaf3a5
UD
494812011-12-22 Ulrich Drepper <drepper@gmail.com>
49482
16c6f992
UD
49483 * locale/iso-639.def: Add brx entry.
49484
41043168
UD
49485 [BZ #13328]
49486 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49487 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49488
21eaf3a5
UD
49489 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49490 __feraiseexcept_renamed.
49491
e3a851a2
UD
494922011-12-21 Ulrich Drepper <drepper@gmail.com>
49493
4920765e
UD
49494 [BZ #13538]
49495 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49496 EPOLLET with unsigned values.
49497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49499
e3a851a2
UD
49500 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49501 to large cancellation.
49502 * math/s_cacoshf.c: Likewise.
49503 * math/s_cacoshl.c: Likewise.
49504
b27e24b8
RK
495052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49506
49507 [BZ #13305]
aebefeee 49508 [BZ #12786]
b27e24b8
RK
49509 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49510 * math/s_cacoshf.c: Likewise.
49511 * math/s_cacoshl.c: Likewise.
49512
ee190f67
UD
495132011-12-21 Ulrich Drepper <drepper@gmail.com>
49514
49515 [BZ #13439]
49516 * iconv/gconv.h: Define __GCONV_SWAP.
49517 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49518 * iconvdata/utf-16.c: Likewise.
49519 * iconvdata/utf-32.c: Likewise.
49520
707f25df
AS
495212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49522
49523 [BZ #13524]
49524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49525 numerator after shifting it by one limb.
49526
d2daaa1e
RÁE
495272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49528
49529 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49530 under [__USE_EXTERN_INLINES].
49531
a4647e72
UD
495322011-12-17 Ulrich Drepper <drepper@gmail.com>
49533
49534 [BZ #13446]
49535 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49536
f0b264f1
AZ
495372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49538
49539 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49540 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49541 optimized code.
49542 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49543 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49544 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49545 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49546 for strncasecmp/strncasecmp_l compilation.
49547 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49548 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49549
8ef4f244
MP
495502011-12-08 Marek Polacek <mpolacek@redhat.com>
49551
49552 [BZ #13484]
49553 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49554 of __asm__.
49555
97ac2654
UD
495562011-12-17 Ulrich Drepper <drepper@gmail.com>
49557
49558 [BZ #13506]
49559 * time/tzfile.c (__tzfile_read): Check values from file header.
49560
91d2a845
WS
495612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49562
49563 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49564 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49565 * powerpc/powerpc32/dl-start.S: Likewise.
49566 * powerpc/powerpc32/elf/start.S: Likewise.
49567 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49568 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49569 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49570 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49571 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49572 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49573 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49574 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49575 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49576 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49577 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49578 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49579 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49580 * powerpc/powerpc32/memset.S: Likewise.
49581 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49582 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49583 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49584 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49585 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49586 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49587 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49588 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49589 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49590 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49591 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49594
a1267ba1
AZ
495952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49596
49597 * math/libm-test.inc: Added more nearbyint tests.
49598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49602
ad8ac1bd
RL
496032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49604
49605 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49606 FD_CLOEXEC.
49607
1d3e4b61
UD
496082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49609
49610 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49611 Add wcscpy-ssse3 wcscpy-c.
49612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49613 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49614 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49615 * sysdeps/x86_64/wcschr.S: New file.
49616 * sysdeps/x86_64/wcsrchr.S: New file.
49617 * string/test-strcmp.c: Remove checking of wcscmp function for
49618 wrong alignments.
49619 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49620 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49621 wcsrchr-sse2 wcsrchr-c.
49622 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49623 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49624 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49625 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49626 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49627 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49628 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49629 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49631 * wcsmbc/wcschr.c (WCSCHR): New macro.
49632
5b330a2d
UD
496332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49634
49635 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49636 * wcsmbs/test-wcsrchr.c: New file.
49637 * string/test-strrchr.c: Add wcsrchr support.
49638 (WIDE): New macro.
49639 * wcsmbs/test-wcscpy.c: New file.
49640 * string/test-strcpy.c: Add wcscpy support.
49641 (WIDE): New macro.
26428b7c 49642
f039c043
UD
496432011-12-10 Ulrich Drepper <drepper@gmail.com>
49644
49645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49646 the inner loop.
49647
850fb039
AS
496482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49649
49650 [BZ #13472]
49651 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49652
4efbd5cb
UD
496532011-12-04 Ulrich Drepper <drepper@gmail.com>
49654
52ff5dd0 49655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49656 Minor optimizations.
52ff5dd0 49657
4efbd5cb
UD
49658 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49659 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49660 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49661
8a426e12
UD
496622011-12-03 Ulrich Drepper <drepper@gmail.com>
49663
aff2453d
UD
49664 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49665 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49666 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49667 for gcc to avoid warnings.
49668 * inet/Makefile (tests): Add tst-checks.
49669 * inet/tst-checks.c: New file.
49670
49671 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49672 warning.
49673
49674 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49675 __wmemcmp_sse2.
49676
49677 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49678 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49679
8a426e12
UD
49680 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49681
9bea3473
UD
496822011-12-02 Ulrich Drepper <drepper@gmail.com>
49683
3a965496
UD
49684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49685 problem.
49686
9bea3473
UD
49687 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49688
f101631b
UD
496892011-11-29 Joseph Myers <joseph@codesourcery.com>
49690
49691 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49692 conditional on GCC version.
49693 (__arch_compare_and_exchange_val_8_acq)
49694 (__arch_compare_and_exchange_val_16_acq)
49695 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49696 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49697 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49698
a98275aa
UD
496992011-12-02 Joseph Myers <joseph@codesourcery.com>
49700
49701 * sysdeps/sh/backtrace.c: New file.
49702
d4cc29a2
AS
497032011-12-02 Andreas Schwab <schwab@redhat.com>
49704
49705 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49706 parenthesis.
49707
6257af2d
AS
497082011-12-01 Andreas Schwab <schwab@redhat.com>
49709
49710 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49711 falling back to utime.
49712
b5f44c1a
AS
497132011-11-30 Andreas Schwab <schwab@redhat.com>
49714
49715 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49716 expectations for float.
49717
f3a6cc0a
AS
497182011-11-29 Andreas Schwab <schwab@redhat.com>
49719
49720 * locale/weight.h (findidx): Add parameter len.
49721 * locale/weightwc.h (findidx): Likewise.
49722 * posix/fnmatch_loop.c (FCT): Adjust caller.
49723 * posix/regcomp.c (build_equiv_class): Likewise.
49724 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49725 * posix/regexec.c (check_node_accept_bytes): Likewise.
49726 * string/strcoll_l.c (STRCOLL): Likewise.
49727 * string/strxfrm_l.c (STRXFRM): Likewise.
49728
9d65ea3a
UD
497292011-11-17 Ulrich Drepper <drepper@gmail.com>
49730
49731 * Makefile.in: Remove CVSOPT handling.
49732 * configure.in: Remove use of AC_REVISION.
49733 * iconvdata/Makefile (distribute): No need to filter out CVS.
49734 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49735 handling.
49736
5583a086
AS
497372011-11-16 Andreas Schwab <schwab@redhat.com>
49738
49739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49740 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49741 [USE_AS_STRNCASECMP_L]: Likewise.
49742 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49743 NO_TLS_DIRECT_SEG_REFS.
49744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49745 Fix argument offsets for non-PIC.
49746 [USE_AS_STRNCASECMP_L]: Likewise.
49747 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49748 NO_TLS_DIRECT_SEG_REFS.
49749
d62a8200
UD
497502011-11-15 Ulrich Drepper <drepper@gmail.com>
49751
9d65ea3a 49752 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49753 O_CLOEXEC.
49754 * locale/loadlocale.c (_nl_load_locale): Likewise.
49755
09f93bd3
AS
497562011-11-15 Andreas Schwab <schwab@redhat.com>
49757
446514f9
AS
49758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49759 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49760 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49761 (SYSCALL_GETTIME): Set errno on error.
49762
09f93bd3
AS
49763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49764 count references to noai6ai_cached.
49765
312be3f9
UD
497662011-11-15 Ulrich Drepper <drepper@gmail.com>
49767
49768 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49769
49770 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49771 FD_CLOEXEC for /proc/self/maps.
49772
49773 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49774 FD_CLOEXEC for /proc/meminfo.
49775
49776 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49777 gai.conf.
49778
49779 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49780 FD_CLOEXEC for given file.
49781
49782 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49783
49784 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49785 FD_CLOEXEC for /etc/hosts.
49786 (_gethtent): Likewise.
49787
49788 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49789
49790 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49791 cancellation and set FD_CLOEXEC for /etc/netgroup.
49792
49793 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49794 reading /etc/publickey.
49795
49796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49797 allow cancellation when reading /etc/group.
49798
49799 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49800 cancellation.
49801 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49802
49803 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49804 when using data file.
49805
49806 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49807
49808 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49809 (write_nis_obj): Use "c" and "e" in fopen.
49810
49811 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49812
49813 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49814
49815 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49816
49817 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49818
49819 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49820 locale.alias.
49821
49822 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49823
49824 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49825
49826 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49827
49828 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49829 file parsing and set FD_CLOEXEC.
49830
82af0fa8
UD
498312011-11-14 Ulrich Drepper <drepper@gmail.com>
49832
49833 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49834
a5fb313c
AS
498352011-11-14 Andreas Schwab <schwab@redhat.com>
49836
49837 * malloc/arena.c (arena_get2): Don't call reused_arena when
49838 _int_new_arena failed.
49839
6abf3465
UD
498402011-11-14 Ulrich Drepper <drepper@gmail.com>
49841
49842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49843 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49845 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49848 to compile strcasecmp and strncasecmp.
49849 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49850 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49851
49852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49853
76e3966e
UD
498542011-11-13 Ulrich Drepper <drepper@gmail.com>
49855
49856 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49857 locale-defines.sym to gen-as-const-headers.
49858 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49859 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49861 to compile strcasecmp and strncasecmp.
49862 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49863 strcasecmp_l and strncasecmp_l.
49864 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49865 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49866 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49868 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49869 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49870 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49871 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49872 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49873 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49874 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49875
ab26144e
UD
498762011-11-12 Ulrich Drepper <drepper@gmail.com>
49877
7edb22ef
UD
49878 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49879 result of SYSDEP_GETTIME_CPU to retval.
49880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49881 parameter list to macro. Remove trailing semicolon. Adjust users.
49882
9694fc44
UD
49883 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49884 variable.
49885
8ad89ef8
UD
49886 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49887 mantissa words.
49888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49889
0c822ef9
UD
49890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49891 from unused variable.
49892
874e0564
UD
49893 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49894 DWARF definitions.
49895 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49896 for assembling.
49897
3a2edc79
UD
49898 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49899 over namespaces.
49900
f3c2577f
UD
49901 * sunrpc/rpc_prot.c (rejected): Fix case value.
49902
294ce126
UD
49903 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49904 unsigned long long int to avoid warnings in shift.
49905
5e2b63c6
UD
49906 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49907 of use of trans.
49908 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49909 variable tmp.
49910
e7f4b08e
UD
49911 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49912 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49914
ab26144e
UD
49915 * nis/nis_table.c (nis_list): Use variable of correct type for
49916 result of __follow_path call.
49917
8a6d5255
AZ
499182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49919
49920 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49921 of math functions ceil, trunc, floor, round, and sqrt, when
49922 avaliable on the platform.
49923 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49924 name clash.
49925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49928
aaddc98c
MP
499292011-10-30 Marek Polacek <mpolacek@redhat.com>
49930
49931 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49933
95b7042b
RM
499342011-11-11 Roland McGrath <roland@hack.frob.com>
49935
49936 * include/unistd.h: Fix __readlink return type.
49937 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49938
57769839
UD
499392011-11-11 Ulrich Drepper <drepper@gmail.com>
49940
49941 * stdlib/ucontext.h: Undo last change for makecontext.
49942
edc5984d
AS
499432011-11-11 Andreas Schwab <schwab@redhat.com>
49944
98591e58
AS
49945 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49946
edc5984d
AS
49947 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49948 * setjmp/setjmp.h: Mark functions as non-leaf.
49949 * setjmp/bits/setjmp2.h: Likewise.
49950 * stdlib/ucontext.h: Likewise.
49951
77cdc054
AS
499522011-11-10 Andreas Schwab <schwab@redhat.com>
49953
49954 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49955 (reused_arena): Don't check arena limit.
49956 (arena_get2): Atomically check arena limit.
49957
fe72eebd
UD
499582011-11-08 Ulrich Drepper <drepper@gmail.com>
49959
5f078c32
UD
49960 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49961 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49962
fe72eebd
UD
49963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49964 instructions.
49965
ae1bc2fa
AS
499662011-11-07 Andreas Schwab <schwab@redhat.com>
49967
7583a88d
AS
49968 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49969 handler when locking.
49970
ae1bc2fa
AS
49971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49972 Fix size of allocated buffer.
49973
10fb0bfa
AS
499742011-11-04 Andreas Schwab <schwab@redhat.com>
49975
998832a4
AS
49976 [BZ #10103]
49977 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49978 declarations for long double functions.
49979 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49980
10fb0bfa
AS
49981 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49982
3d7ba52b
AS
499832011-11-03 Andreas Schwab <schwab@redhat.com>
49984
a9ae54a1
AS
49985 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49986 installed.
49987
3d7ba52b
AS
49988 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49989 is disabled.
49990
bc8db248
ST
499912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49992
49993 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49994
45b96dd6
AS
499952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49996
647776f6
AS
49997 * include/alloca.h (stackinfo_alloca_round): Define.
49998 (extend_alloca): Use it.
49999 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50000 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50001 here.
50002
d91a8b93
AS
50003 * scripts/check-local-headers.sh: Ignore libaudit.h.
50004
45b96dd6
AS
50005 * nscd/Makefile (extra-objs): Make recursively expanded.
50006
432d41ce
UD
500072011-11-01 Ulrich Drepper <drepper@gmail.com>
50008
34372fc6
UD
50009 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50011
fadb59f8
UD
50012 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50013 * posix/tst-rfc3484-2.c: Likewise.
50014 * posix/tst-rfc3484-3.c: Likewise.
50015
78239589
UD
50016 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50017 process_vm_writev.
50018 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50019 process_vm_writev.
50020 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50021 process_vm_writev from libc using GLIBC_2.15 version.
50022
432d41ce
UD
50023 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50024
02f9c6cf
PP
500252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50026
50027 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50028 stack usage.
50029
3a2c0242
UD
500302011-10-31 Ulrich Drepper <drepper@gmail.com>
50031
f4ec4833
UD
50032 [BZ #13367]
50033 * nss/getent.c (initgroups_keys): Show error message in case no group
50034 names are given.
50035
3a2c0242
UD
50036 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50037 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50038 __bump_nl_timestamp.
50039 * nscd/connections (nscd_init): When host database is served open
50040 netlink socket and request notification about configuration changes.
50041 (main_loop_poll): Track netlink file descriptor and bump timestamp
50042 in case data becomes available.
50043 (main_loop_epoll): Likewise.
50044 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50045 (database_pers_head): Add extra_data fileds.
50046 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50048 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50049 Adjust caller.
50050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50051 in6ai data, call __free_in6ai.
50052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50053 Add -DHAVE_NETLINK.
50054 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50055 interface information. Reuse previous data if netlink timestamp
50056 is not changed.
50057 (__bump_nl_timestamp): New function.
50058 (__free_in6ai): New function.
50059
636064eb
UD
500602011-10-30 Ulrich Drepper <drepper@gmail.com>
50061
50062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50063 close_not_cancel_no_status here.
50064 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50065
9beb2334
UD
500662011-10-29 Ulrich Drepper <drepper@gmail.com>
50067
6ef76f3b
UD
50068 [BZ #13276]
50069 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50070 return value.
50071
0ffc4f3e 50072 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50073 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50074 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50075
cb95113e
UD
500762011-07-03 Andreas Jaeger <aj@suse.de>
50077
50078 [BZ #10709]
50079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50080 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50081 * math/libm-test.inc (sin_test): Add test case.
50082
a1b560ff
UD
500832011-10-29 Ulrich Drepper <drepper@gmail.com>
50084
c9aaface
UD
50085 [BZ #13337]
50086 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50088
d272e7f1
UD
50089 * elf/chroot_canon.c (chroot_canon): Cleanups.
50090
1bc33071
UD
50091 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50092
1760874d
TJ
50093 [BZ #13335]
50094 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50096
51d91b18
UD
50097 * string/test-strchr.c: Make usable for strchrnul testing.
50098 * string/test-strchrnul.c: New file.
50099 * string/Makefile (strop-tests): Add strchrnul.
50100
a1b560ff 50101 * po/it.po: Update from translation team.
b611fb81 50102 * po/es.po: Likewise.
a1b560ff 50103
a5b81e1f
UD
501042011-10-28 Ulrich Drepper <drepper@gmail.com>
50105
fd52bc6d
UD
50106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50107 the three constants needed as parameters. Drop the others.
50108 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50109 __m128i_strloadu_tolower.
52e4b9eb
UD
50110 Create and initialize variable zero and use it in all the places
50111 where _mm_setzero_si128 was used.
fd52bc6d 50112
a5b81e1f
UD
50113 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50114 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50115 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50117 anymore.
50118 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50119 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50120 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50121 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50123 __mpranred, __mptan.
50124 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50125 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50126 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50127 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50133
b4343346
AS
501342011-10-28 Andreas Schwab <schwab@redhat.com>
50135
0c92d8a8
AS
50136 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50137 redefine if SHARED.
50138 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50139
b4343346
AS
50140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50141 wide char related routines to wcsmbs subdir.
50142
3871f58f
AS
501432011-10-27 Andreas Schwab <schwab@redhat.com>
50144
50145 [BZ #13344]
50146 * misc/sys/cdefs.h (__THROWNL): Define.
50147 * posix/unistd.h: Use __THREADNL instead of __THREAD
50148 for memory synchronization functions.
50149
94d44d9f
RM
501502011-10-26 Roland McGrath <roland@hack.frob.com>
50151
21b64b15 50152 [BZ #13349]
94d44d9f
RM
50153 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50154 doesn't exist.
50155 * manual/stdio.texi (Obstack Streams): Node removed.
50156
f6ce9294
AS
501572011-10-26 Andreas Schwab <schwab@redhat.com>
50158
80479147
AS
50159 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50162
f6ce9294
AS
50163 * math/math_private.h (math_force_eval): Allow non-addressable
50164 arguments.
50165 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50166
618280a1
UD
501672011-10-25 Ulrich Drepper <drepper@gmail.com>
50168
e0016b11
UD
50169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50170 file is not needed.
50171
50172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50179 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50180 Add AVX variants.
50181 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50182 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50183 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50184 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50186 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50187 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50188 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50189 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50190 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50191 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50192 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50194 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50196 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50197 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50199 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50200
50201 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50202 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50203
618280a1
UD
50204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50205 place. Use VEX encoding when compiling for AVX.
50206
37822576
AS
502072011-10-25 Andreas Schwab <schwab@redhat.com>
50208
1f1e1947
AS
50209 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50210 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50211
37822576
AS
50212 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50213
31ea014d
UD
502142011-10-25 Ulrich Drepper <drepper@gmail.com>
50215
d7826aa1 50216 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50217 useless if() expression.
d7826aa1
UD
50218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50223 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50224 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50226 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50231 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50237
31ea014d
UD
50238 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50239
16437fec
AS
502402011-10-25 Andreas Schwab <schwab@redhat.com>
50241
50242 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50243 condition.
50244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50245
31d3cc00
UD
502462011-10-25 Ulrich Drepper <drepper@gmail.com>
50247
50248 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50249 .text section. Avoid duplicate constants.
50250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50254 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50258 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50259 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50260 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50261 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50262 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50263 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50264 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50267 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50274 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50275 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50276 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50277 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50279 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50295
58985aa9
UD
502962011-10-24 Ulrich Drepper <drepper@gmail.com>
50297
202c9deb
UD
50298 * sysdeps/x86_64/dla.h: Move to ...
50299 * sysdeps/x86_64/fpu/dla.h: ...here.
50300 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50301 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50302
af968f62
UD
50303 * config.make.in: Add have-mfma4 entry.
50304 * configure.in: Substitute libc_cv_cc_fma4.
50305 * math/Makefile (dbl-only-routines): Add sincostab.
50306 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50307 Use __sincostab not sincos.
50308 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50309 name is a macro.
50310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50314 using __copysign.
50315 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50316 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50317 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50318 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50319 and __inv.
50320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50321 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50322 __copysign.
50323 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50324 define aliases when function name is a macro.
50325 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50326 sysdeps/ieee754/dbl-64/sincos.tbl.
50327 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50328 fma4-enabled routines.
50329 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50330 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50331 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50332 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50334 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50339 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50341 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50344 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50345 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50346 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50347 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50349 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50356 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50357 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50358 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50359
58985aa9
UD
50360 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50361 rename.
50362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50370
a201fbcf
AS
503712011-10-24 Andreas Schwab <schwab@redhat.com>
50372
50373 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50374
fc2ee42a
LD
503752011-10-23 Ulrich Drepper <drepper@gmail.com>
50376
bb3129bd
UD
50377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50378
0275fff8
UD
50379 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50380 prediction.
50381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50382
2fa2ae85
UD
50383 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50384 Remove unused variable magic_bits.
50385 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50386
fc2ee42a
LD
50387 * string/strnlen.c: Define and use STRNLEN macro.
50388 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50389 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50391 * wcsmbs/wcslen.c: Define and use WCSLEN.
50392 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50393 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50394 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50395 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50396 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50397 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50398 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50399
ce7dd29f
LD
504002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50401
50402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50403 strnlen-sse2-no-bsf.
50404 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50406 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50407 Add strnlen support.
50408 (USE_AS_STRNLEN): New macro.
50409 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50411 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50412 * sysdeps/x86_64/wcslen.S: New file.
50413
979c70a3
MZ
504142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50415
50416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50417 XMM-moves are used for copying on small sizes.
50418
2d09f82f
LD
504192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50420
50421 * wcsmbs/Makefile (strop-tests): Add wcschr.
50422 * wcsmbs/test-wcschr.c: New file.
50423 * string/test-strchr.c: Update.
50424 Add wcschr support.
50425 (WIDE): New macro.
50426
619fccca
LD
504272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50428
2d09f82f 50429 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50430 * wcsmbs/test-wcslen.c: New file.
50431 * string/test-strlen.c: Update.
50432 Add wcslen support.
50433 (WIDE): New macro.
50434
09f699ea
UD
504352011-10-23 Ulrich Drepper <drepper@gmail.com>
50436
50437 * po/it.po: Update from translation team.
50438
95584d3b
LD
504392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50440
50441 * sysdeps/x86_64/wcscmp.S: Update.
50442 Fix wrong comparison semantics.
50443 wcscmp shall use signed comparison not unsigned.
50444 Don't use substraction to avoid overflow bug.
50445 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50446 * wcsmbc/wcscmp.c: Likewise.
50447 * string/test-strcmp.c: Likewise.
50448 Add new tests to check cases with negative values.
50449
c8b3296b
UD
504502011-10-23 Ulrich Drepper <drepper@gmail.com>
50451
50452 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50453 * sysdeps/x86_64/dla.h: ...here. New file.
50454 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50463
246ad57a
AS
504642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50465
50466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50467 __ynl_finite aliases.
50468
a1a87169
UD
504692011-10-22 Ulrich Drepper <drepper@gmail.com>
50470
0d355eb7
UD
50471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50472
a1a87169
UD
50473 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50474 define DLA_FMA.
50475 [DLA_FMA] (EMULV): Use DLA_FMA.
50476 [DLA_FMA] (MUL12): Use EMULV.
50477 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50478 that are not needed.
50479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50486
ee2aafe0
AS
504872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50488
50489 * math/s_nan.c: Undef __nan.
50490 * math/s_nanf.c: Undef __nanf.
50491 * math/s_nanl.c: Undef __nanl.
50492 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50493 "math_private.h".
50494
bc62c2fb
UD
504952011-10-22 Ulrich Drepper <drepper@gmail.com>
50496
77425c63
UD
50497 * math/s_catan.c: Add branch predictions.
50498 * math/s_catanf.c: Likewise.
50499 * math/s_catanh.c: Likewise.
50500 * math/s_catanhf.c: Likewise.
50501 * math/s_catanhl.c: Likewise.
50502 * math/s_catanl.c: Likewise.
50503 * math/s_cexp.c: Likewise.
50504 * math/s_cexpf.c: Likewise.
50505 * math/s_cexpl.c: Likewise.
50506 * math/s_clog.c: Likewise.
50507 * math/s_clog10.c: Likewise.
50508 * math/s_clog10f.c: Likewise.
50509 * math/s_clog10l.c: Likewise.
50510 * math/s_clogf.c: Likewise.
50511 * math/s_clogl.c: Likewise.
50512 * math/s_csqrt.c: Likewise.
50513 * math/s_csqrtf.c: Likewise.
50514 * math/s_csqrtl.c: Likewise.
50515 * math/s_ctanf.c: Likewise.
50516 * math/s_ctanh.c: Likewise.
50517 * math/s_ctanhf.c: Likewise.
50518 * math/s_ctanhl.c: Likewise.
50519 * math/s_ctanl.c: Likewise.
50520
bc62c2fb
UD
50521 * math/math_private.h: Define __nan, __nanf, __nanl.
50522 * math/s_cacosh.c: Include <math_private.h>.
50523 * math/s_cacoshl.c: Likewise.
50524 * math/s_casinh.c: Likewise.
50525 * math/s_casinhf.c: Likewise.
50526 * math/s_casinhl.c: Likewise.
50527 * math/s_ccos.c: Rely entire on ccosh.
50528 * math/s_ccosf.c: Rely entire on ccoshf.
50529 * math/s_ccosl.c: Rely entirely on ccoshl.
50530 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50531 Remove tests for FE_INVALID.
50532 * math/s_ccoshf.c: Likewise.
50533 * math/s_ccoshl.c: Likewise.
50534 * math/s_csin.c: Likewise.
50535 * math/s_csinf.c: Likewise.
50536 * math/s_csinh.c Likewise.
50537 * math/s_csinhf.c: Likewise.
50538 * math/s_csinhl.c: Likewise.
50539 * math/s_csinl.c: Likewise.
50540 * math/s_ctan.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50542 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50544
8ec250a4
UD
505452011-10-21 Ulrich Drepper <drepper@gmail.com>
50546
c196fed8
UD
50547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50548 compilation problems.
50549
8ec250a4
UD
50550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50551 __builtin_expect.
50552
8d4f46c6
UD
505532011-10-20 Ulrich Drepper <drepper@gmail.com>
50554
ed72b654
UD
50555 * sysdeps/i386/configure.in: Test for -mfma4 option.
50556 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50557 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50558 COMMON_CPUID_INDEX_80000001.
50559 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50560 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50561 use it if FMA3 is not supported.
50562 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50563
8d4f46c6
UD
50564 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50566
d45c60c2
AS
505672011-10-20 Andreas Schwab <schwab@redhat.com>
50568
50569 [BZ #12892]
50570 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50571 it would create a cycle with a link time dependency.
50572
d9a4d2ab
UD
505732011-10-19 Ulrich Drepper <drepper@gmail.com>
50574
855d1560
UD
50575 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50576 instruction.
50577 * string/Makefile (strop-tests): Add rawmemchr.
50578 * string/test-rawmemchr.c: New file.
50579
d9a4d2ab
UD
50580 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50582 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50583 when compiling str{,n}casecmp and when AVX is available. Hook up
50584 new optimized code in initializers.
50585
8f3b1ffe
AS
505862011-10-19 Andreas Schwab <schwab@redhat.com>
50587
50588 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50589 __feraiseexcept instead of feraiseexcept.
50590
d38f1dba
UD
505912011-10-18 Ulrich Drepper <drepper@gmail.com>
50592
d9a8d0ab
UD
50593 * math/math_private.h: Define defaults for libc_fetestexcept and
50594 libc_feupdateenv.
50595 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50596 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50597 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50601 libc_fetestexcept and libc_feupdateenv.
50602
4855e3dd
UD
50603 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50604 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50605 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50606 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50607 libc_feholdexcept_setround.
50608
581d30e3
UD
50609 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50610 Add s_nearbyint-c and s_nearbyintf-c.
50611 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50612 nearbyintf inlines.
50613 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50615 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50617
d38f1dba
UD
50618 * math/math_private.h: Define defaults for libc_fegetround,
50619 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50620 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50621 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50623 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50624 standard functions.
50625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50626 Remove comments and hacks for old compiler versions.
50627 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50628 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50629 libc_feholdexceptl.
50630
caa6c9d8
AS
506312011-10-18 Andreas Schwab <schwab@redhat.com>
50632
50633 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50634 (__feraiseexcept_renamed): Add __NTH.
50635 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50636 namespace violations.
50637
97c066e6
UD
506382011-10-17 Ulrich Drepper <drepper@gmail.com>
50639
99ce7b04
UD
50640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50641
1004d182
UD
50642 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50643
228a984d
UD
50644 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50645 recently added interfaces.
50646 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50647
c8553a6a
UD
50648 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50649 about macro parameter expansion.
50650
ed22dcf6
UD
50651 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50652 __NO_MATH_INLINES is defined. Cleanups.
50653
50654 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50655 and __floorf is target has SSE4.1.
50656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50659 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50660
b171c137
UD
50661 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50662 name.
50663 (floorf): Likewise.
50664
97c066e6
UD
50665 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50666
629f62ef
AS
506672011-10-17 Andreas Schwab <schwab@redhat.com>
50668
49a43d80
AS
50669 * misc/sys/cdefs.h: Fix last change.
50670
629f62ef
AS
50671 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50672 database lookup.
50673
e453f6cd
UD
506742011-10-16 Ulrich Drepper <drepper@gmail.com>
50675
aa78043a
UD
50676 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50677
ad0f5cad
UD
50678 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50687 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50688 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50689 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50690 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50691 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50693 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50695 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50697 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50698 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50699 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50700
50701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50702 ceil, ceilf, floor, floorf.
50703
50704 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50705 Perform IRELATIVE relocations last.
50706
e453f6cd
UD
50707 * elf/do-rel.h: Add another parameter nrelative, replacing the
50708 local variable with the same name. Change name of the function
50709 to end in Rel or Rela (uppercase).
50710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50711 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50712 elf_dynamic_do_##reloc function.
50713
fd5bdc09
UD
507142011-10-15 Ulrich Drepper <drepper@gmail.com>
50715
79b195b5
UD
50716 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50717 is sufficient, at least on modern CPUs.
50718
d4a28569
UD
50719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50720
b61099b5
UD
50721 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50723
bcf01e6d
UD
50724 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50725 __expl_finite.
50726 * math/bits/math-finite.h: Add entries for exp.
50727 * math/e_expl.c: Add __*_finite alias.
50728 * sysdeps/i386/fpu/e_exp.S: Likewise.
50729 * sysdeps/i386/fpu/e_expf.S: Likewise.
50730 * sysdeps/i386/fpu/e_expl.c: Likewise.
50731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50738
ba1a0d59
UD
50739 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50740 is sufficient, at least on modern CPUs.
50741
fd5bdc09
UD
50742 * ctype/ctype-info.c (__ctype_init): Define.
50743 * include/ctype.h (__ctype_init): Declare.
50744 (__ctype_b_loc): The variable is always initialized.
50745 (__ctype_toupper_loc): Likewise.
50746 (__ctype_tolower_loc): Likewise.
50747 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50748 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50749
7872cfb0
AS
507502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50751
b468825a
AS
50752 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50753
7872cfb0
AS
50754 * configure.in: Also look in $cxxmachine/include for C++ system
50755 headers.
50756
be13f7bf
LD
507572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50758
50759 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50760 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50761 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50762 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50764 (USE_AS_WMEMCMP): New macro.
50765 Fixing indents.
50766 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50767 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50768 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50769 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50771 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50772 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50774 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50775 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50777 (USE_AS_WMEMCMP): New macro.
50778 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50779 * sysdeps/string/test-memcmp.c: Update.
50780 Fix simple_wmemcmp.
50781 Add new tests.
50782 * wcsmbs/wmemcmp.c: Update.
50783 (WMEMCMP): New macro.
50784 Fix overflow bug.
50785
556a2007
AJ
507862011-10-12 Andreas Jaeger <aj@suse.de>
50787
50788 [BZ #13268]
50789 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50790
538faaa7
UD
507912011-10-15 Ulrich Drepper <drepper@gmail.com>
50792
ab6737ff
UD
50793 * libio/iofwide.c (do_length): Avoid warning.
50794
538faaa7
UD
50795 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50796
396a21b1
UD
507972011-10-14 Ulrich Drepper <drepper@gmail.com>
50798
cdf2901f
UD
50799 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50800
38ad40ce
UD
50801 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50802 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50803 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50804 * sysdeps/i386/i686/fpu/e_log.S: New file.
50805 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50806 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50807
396a21b1
UD
50808 * ctype/ctype.h: Add support for inlined isXXX functions when
50809 compiling C++ code.
50810
6b1f68c9
AS
508112011-10-14 Andreas Schwab <schwab@redhat.com>
50812
349290c0
AS
50813 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50814
6b1f68c9
AS
50815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50816
f2282d42
RM
508172011-10-13 Roland McGrath <roland@hack.frob.com>
50818
50819 [BZ #13291]
50820 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50821
5298ffa8
AS
508222011-10-13 Andreas Schwab <schwab@redhat.com>
50823
714fad23
AS
50824 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50825 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50826 feraiseexcept.
50827
81dcc7fb
AS
50828 * sysdeps/x86_64/memrchr.S: Check for zero size.
50829
5298ffa8
AS
50830 * string/stratcliff.c: Add memrchr tests.
50831
951fbcec
LD
508322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50833
50834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50835 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50836 rawmemchr-sse2 rawmemchr-sse2-bsf.
50837 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50838 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50839 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50840 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50841 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50842 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50843 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50844 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50845 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50847 * string/memrchr.c (MEMRCHR): New macro.
50848
0ac5ae23
UD
508492011-10-12 Ulrich Drepper <drepper@gmail.com>
50850
50851 Add integration with gcc's -ffinite-math-only and optimize wrapper
50852 functions in libm.
50853 * Versions.def: Define GLIBC_2.15 version for libm.
50854 * math/Makefile (headers): Add bits/math-finite.h.
50855 * math/bits/math-finite.h: New file.
50856 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50857 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50858 * math/e_acoshl.c: Add __*_finite alias.
50859 * math/e_acosl.c: Likewise.
50860 * math/e_asinl.c: Likewise.
50861 * math/e_atan2l.c: Likewise.
50862 * math/e_atanhl.c: Likewise.
50863 * math/e_coshl.c: Likewise.
50864 * math/e_exp10.c: Likewise.
50865 * math/e_exp10f.c: Likewise.
50866 * math/e_exp10l.c: Likewise.
50867 * math/e_exp2l.c: Likewise.
50868 * math/e_fmodl.c: Likewise.
50869 * math/e_gammal_r.c: Likewise.
50870 * math/e_hypotl.c: Likewise.
50871 * math/e_j0l.c: Likewise.
50872 * math/e_j1l.c: Likewise.
50873 * math/e_jnl.c: Likewise.
50874 * math/e_lgammal_r.c: Likewise.
50875 * math/e_log10l.c: Likewise.
50876 * math/e_log2l.c: Likewise.
50877 * math/e_logl.c: Likewise.
50878 * math/e_powl.c: Likewise.
50879 * math/e_sinhl.c: Likewise.
50880 * math/e_sqrtl.c: Likewise.
50881 * math/e_scalb.c: Completely rewritten and optimized.
50882 * math/e_scalbf.c: Likewise.
50883 * math/e_scalbl.c: Likewise.
50884 * math/w_acos.c: Likewise.
50885 * math/w_acosf.c: Likewise.
50886 * math/w_acosl.c: Likewise.
50887 * math/w_acosh.c: Likewise.
50888 * math/w_acoshf.c: Likewise.
50889 * math/w_acoshl.c: Likewise.
50890 * math/w_asin.c: Likewise.
50891 * math/w_asinf.c: Likewise.
50892 * math/w_asinl.c: Likewise.
50893 * math/w_atan2.c: Likewise.
50894 * math/w_atan2f.c: Likewise.
50895 * math/w_atan2l.c: Likewise.
50896 * math/w_atanh.c: Likewise.
50897 * math/w_atanhf.c: Likewise.
50898 * math/w_atanhl.c: Likewise.
50899 * math/w_exp10.c: Likewise.
50900 * math/w_exp10f.c: Likewise.
50901 * math/w_exp10l.c: Likewise.
50902 * math/w_fmod.c: Likewise.
50903 * math/w_fmodf.c: Likewise.
50904 * math/w_fmodl.c: Likewise.
50905 * math/w_j0.c: Likewise.
50906 * math/w_j0f.c: Likewise.
50907 * math/w_j0l.c: Likewise.
50908 * math/w_j1.c: Likewise.
50909 * math/w_j1f.c: Likewise.
50910 * math/w_j1l.c: Likewise.
50911 * math/w_jn.c: Likewise.
50912 * math/w_jnf.c: Likewise.
50913 * math/w_log.c: Likewise.
50914 * math/w_logf.c: Likewise.
50915 * math/w_logl.c: Likewise.
50916 * math/w_log10.c: Likewise.
50917 * math/w_log10f.c: Likewise.
50918 * math/w_log10l.c: Likewise.
50919 * math/w_log2.c: Likewise.
50920 * math/w_log2f.c: Likewise.
50921 * math/w_log2l.c: Likewise.
50922 * math/w_pow.c: Likewise.
50923 * math/w_powf.c: Likewise.
50924 * math/w_powl.c: Likewise.
50925 * math/w_remainder.c: Likewise.
50926 * math/w_remainderf.c: Likewise.
50927 * math/w_remainderl.c: Likewise.
50928 * math/w_scalb.c: Likewise.
50929 * math/w_scalbf.c: Likewise.
50930 * math/w_scalbl.c: Likewise.
50931 * math/w_sqrt.c: Likewise.
50932 * math/w_sqrtf.c: Likewise.
50933 * math/w_sqrtl.c: Likewise.
50934 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50935 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50936 used.
50937 * math/math_private.h: Declare __kernel_standard_f.
50938 * math/w_cosh.c: Remove cruft and optimize a bit.
50939 * math/w_coshf.c: Likewise.
50940 * math/w_coshl.c: Likewise.
50941 * math/w_exp2.c: Likewise.
50942 * math/w_exp2f.c: Likewise.
50943 * math/w_exp2l.c: Likewise.
50944 * math/w_hypot.c: Likewise.
50945 * math/w_hypotf.c: Likewise.
50946 * math/w_hypotl.c: Likewise.
50947 * math/w_lgamma.c: Likewise.
50948 * math/w_lgamma_r.c: Likewise.
50949 * math/w_lgammaf.c: Likewise.
50950 * math/w_lgammaf_r.c: Likewise.
50951 * math/w_lgammal.c: Likewise.
50952 * math/w_lgammal_r.c: Likewise.
50953 * math/w_sinh.c: Likewise.
50954 * math/w_sinhf.c: Likewise.
50955 * math/w_sinhl.c: Likewise.
50956 * math/w_tgamma.c: Likewise.
50957 * math/w_tgammaf.c: Likewise.
50958 * math/w_tgammal.c: Likewise.
50959 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50961 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50962 Minor optimizations. Pretty printing. Remove cruft.
50963 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50964 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50965 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50967 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50968 * sysdeps/i386/fpu/e_asin.S: Likewise.
50969 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50970 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50971 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50972 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50973 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50976 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50977 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50978 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50979 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50980 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50981 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50982 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50983 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50984 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50985 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50986 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50987 * sysdeps/i386/fpu/e_log.S: Likewise.
50988 * sysdeps/i386/fpu/e_log10.S: Likewise.
50989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50991 * sysdeps/i386/fpu/e_log2.S: Likewise.
50992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50994 * sysdeps/i386/fpu/e_logf.S: Likewise.
50995 * sysdeps/i386/fpu/e_logl.S: Likewise.
50996 * sysdeps/i386/fpu/e_pow.S: Likewise.
50997 * sysdeps/i386/fpu/e_powf.S: Likewise.
50998 * sysdeps/i386/fpu/e_powl.S: Likewise.
50999 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51000 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51001 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51002 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51005 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51006 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51007 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51029 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51030 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51031 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51032 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51035 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51037 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51039 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51042 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51043 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51044 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51045 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51046 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51048 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51049 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51050 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51051 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51052 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51053 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51054 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51055 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51056 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51067 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51068 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51076 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51082 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51093 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51095 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51097 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51099 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51100 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51105 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51106 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51107 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51108 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51109 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51110 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51111 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51113 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51116 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51118 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51119 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51120 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51121 (__isnanf): Likewise.
51122 (__isinf_ns): Likewise.
51123 (__isinf_nsf): Likewise.
51124 (__finite): Likewise.
51125 (__finitef): Likewise.
51126 (__ieee754_sqrt): Define as macro.
51127 (__ieee754_sqrtf): Define as macro.
51128 (__ieee754_sqrtl): Define as macro.
51129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51130 inlined copy.
51131 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51132 __FINITE_MATH_ONLY__ consistent.
51133 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51134
12cc2fcd
AS
511352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51136
a843a204
AS
51137 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51138 of rawmemchr.
51139
12cc2fcd
AS
51140 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51141
c853acd5
UD
511422011-10-09 Ulrich Drepper <drepper@gmail.com>
51143
51144 * po/ja.po: Update from translation team.
51145
c658d255
RM
511462011-10-08 Roland McGrath <roland@hack.frob.com>
51147
110946e4
RM
51148 * locale/programs/locarchive.c (prepare_address_space): New function.
51149 (create_archive, enlarge_archive, open_archive): Use it.
51150
50604220
RM
51151 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51152 inside [SHARED], where it is used.
51153
c658d255
RM
51154 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51155
51156 * nss/getent.c (netgroup_keys): Remove unused variable.
51157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51158
6a621eb7
UD
511592011-10-08 Ulrich Drepper <drepper@gmail.com>
51160
7edb55ce
UD
51161 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51162 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51165 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51166 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51167 * math/Makefile (libm-calls): Add s_isinf_ns.
51168 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51169 * math/multc3.c: Likewise.
51170 * math/s_casin.c: Likewise.
51171 * math/s_casinf.c: Likewise.
51172 * math/s_casinl.c: Likewise.
51173 * math/s_ccos.c: Likewise.
51174 * math/s_ccosf.c: Likewise.
51175 * math/s_ccosl.c: Likewise.
51176 * math/s_ctan.c: Likewise.
51177 * math/s_ctanf.c: Likewise.
51178 * math/s_ctanh.c: Likewise.
51179 * math/s_ctanhf.c: Likewise.
51180 * math/s_ctanhl.c: Likewise.
51181 * math/s_ctanl.c: Likewise.
51182 * math/w_fmod.c: Likewise.
51183 * math/w_fmodf.c: Likewise.
51184 * math/w_fmodl.c: Likewise.
51185 * math/w_remainder.c: Likewise.
51186 * math/w_remainderf.c: Likewise.
51187 * math/w_remainderl.c: Likewise.
51188 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51189 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51192 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51193 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51194 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51195 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51196
187da0ae
UD
51197 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51198 of the number.
51199 * stdio-common/printf_fphex.c: Likewise.
51200 * stdio-common/printf_size.c: Likewise.
51201
9277c064
UD
51202 * math/e_exp10.c: Include math_private.h using <...> not "...".
51203 * math/e_exp10f.c: Likewise.
51204 * math/e_exp10l.c: Likewise.
51205 * math/e_exp2l.c: Likewise.
51206 * math/e_j0l.c: Likewise.
51207 * math/e_j1l.c: Likewise.
51208 * math/e_jnl.c: Likewise.
51209 * math/e_lgammal_r.c: Likewise.
51210 * math/e_rem_pio2l.c: Likewise.
51211 * math/e_scalb.c: Likewise.
51212 * math/e_scalbf.c: Likewise.
51213 * math/e_scalbl.c: Likewise.
51214 * math/k_cosl.c: Likewise.
51215 * math/k_sinl.c: Likewise.
51216 * math/k_tanl.c: Likewise.
51217 * math/s_cacoshf.c: Likewise.
51218 * math/s_catan.c: Likewise.
51219 * math/s_catanf.c: Likewise.
51220 * math/s_catanh.c: Likewise.
51221 * math/s_catanhf.c: Likewise.
51222 * math/s_catanhl.c: Likewise.
51223 * math/s_catanl.c: Likewise.
51224 * math/s_ccosh.c: Likewise.
51225 * math/s_ccoshf.c: Likewise.
51226 * math/s_ccoshl.c: Likewise.
51227 * math/s_cexp.c: Likewise.
51228 * math/s_cexpf.c: Likewise.
51229 * math/s_cexpl.c: Likewise.
51230 * math/s_clog.c: Likewise.
51231 * math/s_clog10.c: Likewise.
51232 * math/s_clog10f.c: Likewise.
51233 * math/s_clog10l.c: Likewise.
51234 * math/s_clogf.c: Likewise.
51235 * math/s_clogl.c: Likewise.
51236 * math/s_csin.c: Likewise.
51237 * math/s_csinf.c: Likewise.
51238 * math/s_csinh.c: Likewise.
51239 * math/s_csinhf.c: Likewise.
51240 * math/s_csinhl.c: Likewise.
51241 * math/s_csinl.c: Likewise.
51242 * math/s_csqrt.c: Likewise.
51243 * math/s_csqrtf.c: Likewise.
51244 * math/s_csqrtl.c: Likewise.
51245 * math/s_ctan.c: Likewise.
51246 * math/s_ctanf.c: Likewise.
51247 * math/s_ctanh.c: Likewise.
51248 * math/s_ctanhf.c: Likewise.
51249 * math/s_ctanhl.c: Likewise.
51250 * math/s_ctanl.c: Likewise.
51251 * math/s_ldexp.c: Likewise.
51252 * math/s_ldexpf.c: Likewise.
51253 * math/s_ldexpl.c: Likewise.
51254 * math/s_significand.c: Likewise.
51255 * math/s_significandf.c: Likewise.
51256 * math/s_significandl.c: Likewise.
51257 * math/w_acos.c: Likewise.
51258 * math/w_acosf.c: Likewise.
51259 * math/w_acosh.c: Likewise.
51260 * math/w_acoshf.c: Likewise.
51261 * math/w_acoshl.c: Likewise.
51262 * math/w_acosl.c: Likewise.
51263 * math/w_asin.c: Likewise.
51264 * math/w_asinf.c: Likewise.
51265 * math/w_asinl.c: Likewise.
51266 * math/w_atan2.c: Likewise.
51267 * math/w_atan2f.c: Likewise.
51268 * math/w_atan2l.c: Likewise.
51269 * math/w_atanh.c: Likewise.
51270 * math/w_atanhf.c: Likewise.
51271 * math/w_atanhl.c: Likewise.
51272 * math/w_cosh.c: Likewise.
51273 * math/w_coshf.c: Likewise.
51274 * math/w_coshl.c: Likewise.
51275 * math/w_dremf.c: Likewise.
51276 * math/w_exp10.c: Likewise.
51277 * math/w_exp10f.c: Likewise.
51278 * math/w_exp10l.c: Likewise.
51279 * math/w_exp2.c: Likewise.
51280 * math/w_exp2f.c: Likewise.
51281 * math/w_fmod.c: Likewise.
51282 * math/w_fmodf.c: Likewise.
51283 * math/w_fmodl.c: Likewise.
51284 * math/w_hypot.c: Likewise.
51285 * math/w_hypotf.c: Likewise.
51286 * math/w_hypotl.c: Likewise.
51287 * math/w_j0.c: Likewise.
51288 * math/w_j0f.c: Likewise.
51289 * math/w_j0l.c: Likewise.
51290 * math/w_j1.c: Likewise.
51291 * math/w_j1f.c: Likewise.
51292 * math/w_j1l.c: Likewise.
51293 * math/w_jn.c: Likewise.
51294 * math/w_jnf.c: Likewise.
51295 * math/w_jnl.c: Likewise.
51296 * math/w_lgamma.c: Likewise.
51297 * math/w_lgamma_r.c: Likewise.
51298 * math/w_lgammaf.c: Likewise.
51299 * math/w_lgammaf_r.c: Likewise.
51300 * math/w_lgammal.c: Likewise.
51301 * math/w_lgammal_r.c: Likewise.
51302 * math/w_log.c: Likewise.
51303 * math/w_log10.c: Likewise.
51304 * math/w_log10f.c: Likewise.
51305 * math/w_log10l.c: Likewise.
51306 * math/w_log2.c: Likewise.
51307 * math/w_log2f.c: Likewise.
51308 * math/w_log2l.c: Likewise.
51309 * math/w_logf.c: Likewise.
51310 * math/w_logl.c: Likewise.
51311 * math/w_pow.c: Likewise.
51312 * math/w_powf.c: Likewise.
51313 * math/w_powl.c: Likewise.
51314 * math/w_remainder.c: Likewise.
51315 * math/w_remainderf.c: Likewise.
51316 * math/w_remainderl.c: Likewise.
51317 * math/w_scalb.c: Likewise.
51318 * math/w_scalbf.c: Likewise.
51319 * math/w_scalbl.c: Likewise.
51320 * math/w_sinh.c: Likewise.
51321 * math/w_sinhf.c: Likewise.
51322 * math/w_sinhl.c: Likewise.
51323 * math/w_sqrt.c: Likewise.
51324 * math/w_sqrtf.c: Likewise.
51325 * math/w_sqrtl.c: Likewise.
51326 * math/w_tgamma.c: Likewise.
51327 * math/w_tgammaf.c: Likewise.
51328 * math/w_tgammal.c: Likewise.
51329
6a621eb7
UD
51330 * po/ja.po: Update from translation team.
51331
bf582445
AJ
513322011-09-29 Andreas Jaeger <aj@suse.de>
51333
f9efbf3a
AJ
51334 [BZ #13179]
51335 * sunrpc/netname.c (netname2host): Fix logic.
51336
bf582445
AJ
51337 [BZ #6779]
51338 [BZ #6783]
51339 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51340 correctly.
51341 * math/w_remainder.c (__remainder): Likewise.
51342 * math/w_remainderf.c (__remainderf): Likewise.
51343 * math/libm-test.inc (remainder_test): Add test cases.
51344
48693bea
AK
513452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51346
51347 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51348 sdiv_qrnnd.
51349
42622229
LD
513502011-10-07 Ulrich Drepper <drepper@gmail.com>
51351
51352 * string/test-memcmp.c: Avoid unncessary #defines.
51353 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51354
093ecf92
LD
513552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51356
51357 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51358 Use new sse2 version for core i3 - i7 as it's faster
51359 than sse42 version.
51360 (bit_Prefer_PMINUB_for_stringop): New.
51361 * sysdeps/x86_64/rawmemchr.S: Update.
51362 Replace with faster SSE2 version.
51363 * sysdeps/x86_64/memrchr.S: New file.
51364 * sysdeps/x86_64/memchr.S: Update.
51365 Replace with faster SSE2 version.
51366
fde56e5c
MP
513672011-09-12 Marek Polacek <mpolacek@redhat.com>
51368
51369 * elf/dl-load.c (lose): Add cast to avoid warning.
51370
21fd49a9
UD
513712011-10-07 Ulrich Drepper <drepper@gmail.com>
51372
5a06e643
UD
51373 * po/ca.po: Update from translation team.
51374
684ae515
UD
51375 * inet/getnetgrent_r.c: Hook up nscd.
51376 * nscd/Makefile (routines): Add nscd_netgroup.
51377 (nscd-modules): Add netgroupcache.
51378 (CFLAGS-netgroupcache.c): Define.
51379 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51380 (cache_search): Add const to second parameter.
51381 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51382 INNETGR.
51383 (dbs): Add netgrdb entry.
51384 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51385 (verify_persistent_db): Handle netgrdb.
51386 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51387 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51388 GETFDNETGR.
51389 (netgroup_response_header): Define.
51390 (innetgroup_response_header): Define.
51391 (datahead): Add netgroup_response_header and innetgroup_response_header
51392 elements.
51393 * nscd/nscd.conf: Add entries for netgroup cache.
51394 * nscd/nscd.h (dbtype): Add netgrdb.
51395 (_PATH_NSCD_NETGROUP_DB): Define.
51396 (netgroup_iov_disabled): Declare.
51397 (xmalloc, xcalloc, xrealloc): Move declarations here.
51398 (cache_search): Adjust prototype.
51399 Add netgroup-related prototypes.
51400 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51401 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51402 (__nscd_innetgr): Declare.
51403 * nscd/selinux.c (perms): Use access_vector_t as element type and
51404 add netgroup-related initializers.
51405 * nscd/netgroupcache.c: New file.
51406 * nscd/nscd_netgroup.c: New file.
51407 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51408 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51409 For four parameters use innetgr.
51410 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51411 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51412 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51413 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51414
21fd49a9
UD
51415 * nscd/connections.c (register_traced_file): Don't register file
51416 for disabled databases.
51417
054c0457
UD
514182011-10-06 Ulrich Drepper <drepper@gmail.com>
51419
32b63198
UD
51420 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51421
054c0457
UD
51422 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51423 from tree and freeing node.
51424
64031225
JO
514252011-09-25 Jiri Olsa <jolsa@redhat.com>
51426
51427 * nss/nsswitch.c (__nss_database_lookup): Handle
51428 nss_parse_service_list out of memory case.
51429
0490345c
JO
514302011-09-15 Jiri Olsa <jolsa@redhat.com>
51431
51432 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51433 out of memory case.
51434
3a62d00d
AS
514352011-10-04 Andreas Schwab <schwab@redhat.com>
51436
51437 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51438 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51439 pass it down.
51440 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51441 elf_machine_rela, elf_machine_lazy_rel.
51442 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51443 (ELF_DYNAMIC_DO_REL): Likewise.
51444 (ELF_DYNAMIC_DO_RELA): Likewise.
51445 (ELF_DYNAMIC_RELOCATE): Likewise.
51446 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51447 to ELF_DYNAMIC_DO_REL.
51448 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51449 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51450 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51451 elf_machine_rela.
51452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51453 skip_ifunc, don't call ifunc function if non-zero.
51454 (elf_machine_rela): Likewise.
51455 (elf_machine_lazy_rel): Likewise.
51456 (elf_machine_lazy_rela): Likewise.
51457 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51458 (elf_machine_lazy_rel): Likewise.
51459 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51460 Likewise.
51461 (elf_machine_lazy_rel): Likewise.
51462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51463 Likewise.
51464 (elf_machine_lazy_rel): Likewise.
51465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51466 (elf_machine_lazy_rel): Likewise.
51467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51468 (elf_machine_lazy_rel): Likewise.
51469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51470 (elf_machine_lazy_rel): Likewise.
51471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51472 (elf_machine_lazy_rel): Likewise.
51473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51474 (elf_machine_lazy_rel): Likewise.
51475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51476 (elf_machine_lazy_rel): Likewise.
51477
68577918
UD
514782011-09-28 Ulrich Drepper <drepper@gmail.com>
51479
51480 * nss/nss_files/files-init.c (_nss_files_init): Use static
51481 initialization for all the *_traced_file variables.
51482
68822d74
AS
514832011-09-28 Andreas Schwab <schwab@redhat.com>
51484
51485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51486
2056100b
RM
514872011-09-27 Roland McGrath <roland@hack.frob.com>
51488
51489 [BZ #13226]
51490 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51491
32c76b63
AS
514922011-09-27 Andreas Schwab <schwab@redhat.com>
51493
51494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51495 Reread the line before reparsing it.
51496
bf972c9d
AS
514972011-09-26 Andreas Schwab <schwab@redhat.com>
51498
51499 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51500
e057a1b5
JM
515012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51502 Maxim Kuvyrkov <maxim@codesourcery.com>
51503 Joseph Myers <joseph@codesourcery.com>
51504
51505 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51506 if needed for __stack_chk_guard.
51507
bc7e1c36
RM
515082011-09-19 Roland McGrath <roland@hack.frob.com>
51509
ecb1482f
RM
51510 * sysdeps/posix/spawni.c (script_execute): Always define it.
51511 It will be optimized away if unused.
51512 (maybe_script_execute): New function.
51513 (__spawni): Call it.
51514
bc7e1c36
RM
51515 * Makerules: Don't include tls.make.
51516 (config-tls): Always set to thread.
51517 * tls.make.c: File removed.
51518
1c3b002b
MF
515192011-09-19 Mike Frysinger <vapier@gentoo.org>
51520
51521 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51522 * config.make.in (CPPFLAGS-config): New substituted variable.
51523
2840865d
UD
515242011-09-15 Ulrich Drepper <drepper@gmail.com>
51525
88738eb6
UD
51526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51527
cbf645a6 51528 [BZ #13192]
2840865d
UD
51529 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51530 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51531
b402e91a
RM
515322011-09-15 Roland McGrath <roland@hack.frob.com>
51533
51534 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51535 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51537 (CALL_FAIL): Likewise.
51538 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51539 (CALL_FAIL): Macro removed.
51540 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51541
4c1a1f71
UD
515422011-09-15 Ulrich Drepper <drepper@gmail.com>
51543
51544 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51545 for __FINITE_MATH_ONLY__ == 1.
51546
edc121be
AS
515472011-09-15 Andreas Schwab <schwab@redhat.com>
51548
51549 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51550 __ieee754_sqrt instead of sqrt.
51551 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51552 __ieee754_sqrtf instead of sqrtf.
51553 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51554 __floorf instead of floorf.
51555 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51556 __floorf, __truncf instead of floorf, truncf.
51557
cd205654
UD
515582011-09-14 Ulrich Drepper <drepper@gmail.com>
51559
ee4d0315
UD
51560 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51561
cd205654
UD
51562 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51563 __extern_always_inline.
51564 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51565 32-bit.
51566
48b67d71
AS
515672011-09-14 Andreas Schwab <schwab@redhat.com>
51568
51569 * elf/rtld.c (dl_main): Also relocate in dependency order when
51570 doing symbol dependency testing.
51571
1ae12c75
AS
515722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51573
51574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51575 Always define `refsym'.
51576
995a80df
AS
515772011-09-13 Andreas Schwab <schwab@redhat.com>
51578
e529793b
AS
51579 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51580 (__FD_ELT): Renamed from __FDELT.
51581 * misc/bits/select2.h (__FD_ELT): Likewise.
51582 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51583 __FD_MASK instead of __FDELT, __FDMASK.
51584 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51585 Likewise.
51586 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51587 Likewise.
51588
52d4fef8
AS
51589 * elf/Makefile (gen-ldd): Fix pattern.
51590
995a80df
AS
51591 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51592 (init_tls): Likewise.
51593
8682f8b0
UD
515942011-09-12 Ulrich Drepper <drepper@gmail.com>
51595
51596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51597
de82006d
AS
515982011-09-12 Andreas Schwab <schwab@redhat.com>
51599
a7c8e6a1
AS
51600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51601 `struct cmsghdr *' instead of `void *'.
51602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51603 Likewise.
51604
0f31fe77
AS
516052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51606
51607 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51608 if non-absolute.
51609 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51610 ldd_rewrite_script.
0f31fe77 51611
32b4c839
UD
516122011-09-11 Ulrich Drepper <drepper@gmail.com>
51613
83cd1420
UD
51614 * configure.in: Remove --with-tls option.
51615 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51616 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51617 out in case it is missing.
51618 * sysdeps/ia64/elf/configure.in: Likewise.
51619 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51620 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51621 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51622 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51623 * sysdeps/sh/elf/configure.in: Likewise.
51624 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51626 * sysdeps/x86_64/elf/configure.in: Likewise.
51627 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51628 * sysdeps/mach/hurd/tls.h: Likewise.
51629
633f745d
UD
51630 [BZ #13067]
51631 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51632
f318beb8
UD
51633 [BZ #13090]
51634 * configure.in: Fix use of AC_INIT.
51635
32b4c839
UD
51636 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51637
3ce1f295
UD
516382011-09-10 Ulrich Drepper <drepper@gmail.com>
51639
bb016596
UD
51640 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51641 __set_errno.
8e58439c
UD
51642 * malloc/hooks.c: Likewise.
51643
aebae053 51644 [BZ #11929]
02d46fc4
UD
51645 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51646 variables statically.
51647 (narenas): Initialize.
51648 (list_lock): Initialize.
bb016596
UD
51649 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51650 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51651 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51652 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51653 Add initializers to main_arena and mp_.
51654 (malloc_state): Remove pagesize member. Change all users to use
51655 GLRO(dl_pagesize).
51656
51657 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51658 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51659 is always initialized.
51660
22a89187
UD
51661 * malloc/malloc.c: Removed unused configurations and dead code.
51662 * malloc/arena.c: Likewise.
51663 * malloc/hooks.c: Likewise.
02d46fc4 51664 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51665
d063d164
UD
51666 * include/tls.h: Removed. USE___THREAD must always be defined.
51667 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51668 * elf/dl-libc.c: Likewise.
51669 * elf/dl-tsd.c: Likewise.
51670 * include/errno.h: Likewise.
51671 * include/netdb.h: Likewise.
51672 * include/resolv.h: Likewise.
51673 * inet/herrno-loc.c: Likewise.
51674 * inet/herrno.c: Likewise.
51675 * malloc/arena.c: Likewise.
51676 * malloc/hooks.c: Likewise.
51677 * malloc/malloc.c: Likewise.
51678 * resolv/res-state.c: Likewise.
51679 * resolv/res_libc.c: Likewise.
51680 * sysdeps/i386/dl-machine.h: Likewise.
51681 * sysdeps/ia64/dl-machine.h: Likewise.
51682 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51684 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51685 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51686 * sysdeps/sh/dl-machine.h: Likewise.
51687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51689 * sysdeps/unix/i386/sysdep.S: Likewise.
51690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51691 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51696 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51701 * sysdeps/x86_64/dl-machine.h: Likewise.
51702 * tls.make.c: Likewise.
51703
3ce1f295
UD
51704 * configure.in: Remove --with-__thread option. Make tests for
51705 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51706 tls_model attribute fail if no support is available. Remove
51707 USE_IN_LIBIO.
51708 * Makeconfig: Adjust for dropped configure option. All features are
51709 now mandatory.
51710 * Makerules: Likewise.
51711 * Versions.def: Likewise.
51712 * argp/argp-fmtstream.c: Likewise.
51713 * argp/argp-fmtstream.h: Likewise.
51714 * argp/argp-help.c: Likewise.
51715 * assert/assert.c: Likewise.
51716 * config.h.in: Likewise.
51717 * config.make.in: Likewise.
51718 * configure: Likewise.
51719 * configure.in: Likewise.
51720 * csu/Versions: Likewise.
51721 * csu/init.c: Likewise.
51722 * elf/tst-audit2.c: Likewise.
51723 * elf/tst-tls10.c: Likewise.
51724 * elf/tst-tls10.h: Likewise.
51725 * elf/tst-tls11.c: Likewise.
51726 * elf/tst-tls12.c: Likewise.
51727 * elf/tst-tls14.c: Likewise.
51728 * elf/tst-tlsmod11.c: Likewise.
51729 * elf/tst-tlsmod12.c: Likewise.
51730 * elf/tst-tlsmod13.c: Likewise.
51731 * elf/tst-tlsmod13a.c: Likewise.
51732 * elf/tst-tlsmod14a.c: Likewise.
51733 * elf/tst-tlsmod15b.c: Likewise.
51734 * elf/tst-tlsmod16a.c: Likewise.
51735 * elf/tst-tlsmod16b.c: Likewise.
51736 * elf/tst-tlsmod7.c: Likewise.
51737 * elf/tst-tlsmod8.c: Likewise.
51738 * elf/tst-tlsmod9.c: Likewise.
51739 * gmon/gmon.c: Likewise.
51740 * grp/fgetgrent_r.c: Likewise.
51741 * grp/putgrent.c: Likewise.
51742 * hurd/fopenport.c: Likewise.
51743 * include/libc-symbols.h: Likewise.
51744 * include/tls.h: Likewise.
51745 * intl/gettextP.h: Likewise.
51746 * intl/loadinfo.h: Likewise.
51747 * locale/global-locale.c: Likewise.
51748 * locale/localeinfo.h: Likewise.
51749 * mach/devstream.c: Likewise.
51750 * malloc/arena.c: Likewise.
51751 * malloc/set-freeres.c: Likewise.
51752 * misc/err.c: Likewise.
51753 * misc/getttyent.c: Likewise.
51754 * misc/mntent_r.c: Likewise.
51755 * posix/getopt.c: Likewise.
51756 * posix/wordexp.c: Likewise.
51757 * pwd/fgetpwent_r.c: Likewise.
51758 * resolv/Versions: Likewise.
51759 * resolv/res_hconf.c: Likewise.
51760 * shadow/fgetspent_r.c: Likewise.
51761 * shadow/putspent.c: Likewise.
51762 * stdio-common/printf_fphex.c: Likewise.
51763 * stdio-common/tmpfile.c: Likewise.
51764 * stdlib/abort.c: Likewise.
51765 * stdlib/fmtmsg.c: Likewise.
51766 * sunrpc/auth_unix.c: Likewise.
51767 * sunrpc/clnt_perr.c: Likewise.
51768 * sunrpc/clnt_tcp.c: Likewise.
51769 * sunrpc/clnt_udp.c: Likewise.
51770 * sunrpc/clnt_unix.c: Likewise.
51771 * sunrpc/openchild.c: Likewise.
51772 * sunrpc/svc_simple.c: Likewise.
51773 * sunrpc/svc_tcp.c: Likewise.
51774 * sunrpc/svc_udp.c: Likewise.
51775 * sunrpc/svc_unix.c: Likewise.
51776 * sunrpc/xdr.c: Likewise.
51777 * sunrpc/xdr_array.c: Likewise.
51778 * sunrpc/xdr_rec.c: Likewise.
51779 * sunrpc/xdr_ref.c: Likewise.
51780 * sunrpc/xdr_stdio.c: Likewise.
51781
1248c1c4
PB
517822011-09-09 Ulrich Drepper <drepper@gmail.com>
51783
51784 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51785
517862011-07-03 Andreas Jaeger <aj@suse.de>
51787
51788 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51789 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51790 regenerate with gen-libm-tests.pl.
51791
517922010-05-12 Petr Baudis <pasky@suse.cz>
51793
51794 [BZ #11589]
51795 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51796 around j0() zero points by switching to j1().
51797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51798 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51800 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51801
f22e1074
UD
518022011-09-09 Ulrich Drepper <drepper@gmail.com>
51803
f19009c1
UD
51804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51805 instead of 0.
51806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51807 instead of 0.
f19009c1
UD
51808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51809 Patch in part by Pavel Roskin <proski@gnu.org>.
51810
3f8cc204
UD
51811 [BZ #13138]
51812 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51813 realloc.
51814 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51815 Free memory block if necessary.
51816
f22e1074
UD
51817 [BZ #12847]
51818 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51819 be NULL. Don't lock in this case.
51820
0a2349f9
RM
518212011-09-09 Roland McGrath <roland@hack.frob.com>
51822
51823 * elf/elf.h (ELFOSABI_GNU): New macro.
51824 (ELFOSABI_LINUX): Define to that.
51825
f3cdd467
DZ
518262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51827
51828 * string/strncat.c (strncat): Undef the symbol in case it has been
51829 defined in bits/string.h.
51830
74718d13
UD
518312011-09-09 Ulrich Drepper <drepper@gmail.com>
51832
633e9e0f
UD
51833 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51834
0a2349f9 51835 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51836 link map.
51837
f9924780
AJ
518382011-08-17 Andreas Jaeger <aj@suse.de>
51839
51840 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51841
7f5517aa
PP
518422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51843 Ian Lance Taylor <iant@google.com>
51844
51845 * math/libm-test.inc (lround_test): New testcase.
51846 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51847
762011fe
UD
518482011-09-08 Ulrich Drepper <drepper@gmail.com>
51849
92963737
UD
51850 * Makefile: Remove support for automatic cvs check-ins.
51851 * Makerules: Likewise.
51852 * config.make.in: Likewise.
51853 * configure.in: Likewise.
51854 * intl/Makefile: Likewise.
51855 * locale/Makefile: Likewise.
51856 * po/Makefile: Likewise.
51857 * posix/Makefile: Likewise.
51858 * sysdeps/gnu/Makefile: Likewise.
51859 * sysdeps/mach/hurd/Makefile: Likewise.
51860 * sysdeps/sparc/sparc32/Makefile: Likewise.
51861
b0727fd8
JS
51862 [BZ #13118]
51863 * posix/Makefile (bug-regex32-ENV): Define.
51864 Patch by John Stanley <jpsinthemix@verizon.net>.
51865
a0f33f99
UD
51866 * misc/Makefile (headers): Add bits/select2.h.
51867 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51868 * misc/bits/select2.h: New file.
51869 * include/bits/select2.h: New file.
51870 * debug/Makefile (routines): Add fdelt_chk.
51871 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51872 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51873 FD_ISSET.
51874 * debug/fdelt_chk.c: New file.
51875
762011fe
UD
51876 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51877 * wcsmbs/test-wmemcmp.c: Likewise.
51878 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51879 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51880
518812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51882
51883 * string/Makefile (strop-tests): Add memcmp.
51884 * string/test-wmemcmp.c: New file.
51885 * string/test-memcmp.c: Add wmemcmp support.
51886
7f513ec8
RM
518872011-09-08 Roland McGrath <roland@hack.frob.com>
51888
0442afb4
RM
51889 [BZ #13153]
51890 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51891 2011-07-19 change.
51892
7f513ec8
RM
51893 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51894 garbage value in a __mach_port_mod_refs call in the cases of the
51895 task-self and thread-self ports.
51896
a12b2239
ST
518972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51898
51899 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51900
610f9ab4
AS
519012011-09-08 Andreas Schwab <schwab@redhat.com>
51902
7f513ec8 51903 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51904
48882a1a
LD
519052011-09-07 Ulrich Drepper <drepper@gmail.com>
51906
b49865be
UD
51907 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51908
fdc86bc9
UD
51909 * elf/dl-libc.c (dlerror_run): Pass back error code from
51910 dl_catch_error.
51911
c966526a
UD
51912 [BZ #13123]
51913 * elf/dl-load.c (lose): Free l_origin if it is valid.
51914
48882a1a
LD
51915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51916 names.
51917 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51918 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51919 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51922 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51923
77a2a8b4
AZ
519242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51925
51926 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51927 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51929 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51930 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51931 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51932 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51933 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51934 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51935 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51936
24f579d8
AM
519372011-08-15 Alan Modra <amodra@gmail.com>
51938
51939 [BZ #13092]
51940 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51941 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51942 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51943 ppc_mcount to static-only-routines.
51944 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51945 __mcount_internal.
51946 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51947 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51948
3d4837df
UD
519492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51950
51951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51952 for finite and infinity parameters.
51953
22700377
WS
519542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51955
51956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51957 and add nop instructions for throughput optimization.
51958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51959
5025581e
WS
519602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51961
51962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51963 aligned copy for power7 with vector-scalar instructions.
51964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51965
08a300c9
L
519662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51967
51968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51969 AVX check.
51970
59178ef9
AS
519712011-09-07 Andreas Schwab <schwab@redhat.com>
51972
51973 [BZ #13144]
51974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51975 last change.
51976
e38ba7ab
UD
519772011-09-07 Ulrich Drepper <drepper@gmail.com>
51978
51979 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51980 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51981 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51983 clock_gettime.
51984
d53a73ac
UD
519852011-09-06 Ulrich Drepper <drepper@gmail.com>
51986
fc8bffcc
UD
51987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51988 Forgot to demangle the pointer.
51989
ceaa0c5d
UD
51990 * sysdeps/i386/sysdep.h: Define atom_text_section.
51991 * sysdeps/x86_64/sysdep.h: Likewise.
51992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51993 section with atom_text_section.
51994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51996 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51998 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51999
a77d3c17
UD
52000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52002 already be defined. Change to take two parameters and don't assign
52003 result to variable. Adjust all users.
52004 Define INTERNAL_GETTIME if not already defined.
52005 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52006 call.
52007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52008 HAVE_CLOCK_GETTIME_VSYSCALL.
52009 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52010
d53a73ac
UD
52011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52012 gettimeofday vsyscall, just use time.
52013
a8f84144
AS
520142011-09-06 Andreas Schwab <schwab@redhat.com>
52015
52016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52017 <errno.h>.
52018
ef606249
UD
520192011-09-06 Ulrich Drepper <drepper@gmail.com>
52020
52021 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52022 syscall on x86-64.
52023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52024 syscall.
52025 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52027 syscall if possible.
52028
6585cb60
UD
520292011-09-05 Ulrich Drepper <drepper@gmail.com>
52030
52031 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52032 e_ident. Don't pass to find_mapsXX.
52033 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52034
a5f524e4
LD
520352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52036
52037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52038 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52039 * sysdeps/x86_64/multiarch/strchr.S: Update.
52040 Check bit_slow_BSF bit.
52041 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52043 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52044
554881ef
UD
520452011-09-05 Ulrich Drepper <drepper@gmail.com>
52046
d96de963
UD
52047 [BZ #13134]
52048 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52049 before glibc 2.15.
52050 (tryshell): Define.
52051 (__spawni): Change last parameter to be flag. Test
52052 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52053 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52054 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52055 * posix/spawni.c: Likewise.
52056 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52057 * posix/spawnp.c: Likewise. Change normal version to use
52058 SPAWN_XFLAGS_USE_PATH.
52059 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52060 SPAWN_XFLAGS_TRY_SHELL.
52061
d48e5868
UD
52062 [BZ #13150]
52063 * posix/glob.h: Remove gcc 1.x support.
52064
554881ef
UD
52065 [BZ #13068]
52066 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52067
693fb948
LD
520682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52069
52070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52071 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52072 strrchr-sse2-bsf
52073 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52074 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52075 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52079
1b48c537
UD
520802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52081
49d42c37
UD
52082 * sysdeps/x86_64/wcscmp.S: New file.
52083
1b48c537
UD
52084 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52085 wcscmp-c wcscmp-sse2
52086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52087 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52089 * wcsmbs/wcscmp.c: Allow renaming.
52090
15c95c5d
DM
520912011-09-05 David S. Miller <davem@davemloft.net>
52092
52093 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52094 stack slot, rather than the struct return pointer slot.
52095 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52096 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52098 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52099
2f0ad8f3
UD
521002011-09-05 Ulrich Drepper <drepper@gmail.com>
52101
d88ae418
UD
52102 * po/ja.po: Update from translation team.
52103
2f0ad8f3
UD
52104 [BZ #13144]
52105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52106 kernel in 64-bit binaries.
52107
5f4318d1
DM
521082011-09-01 David S. Miller <davem@davemloft.net>
52109
52110 * elf/elf.h (HWCAP_SPARC_*): Move to..
52111 * sysdeps/sparc/sysdep.h: this new file and add new values.
52112 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52113 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52114 _DL_HWCAP_COUNT to 24.
52115 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52116 entries.
52117 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52118 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52119 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52121 instead of magic constants.
52122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52123
3ba57516
DM
521242011-08-31 David S. Miller <davem@davemloft.net>
52125
52126 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52128 Reimplement to do errno handling inline.
52129 (SYSCALL_ERROR_HANDLER): New macro.
52130 (__SYSCALL_STRING): Do not do errno handling in asm.
52131 (__CLONE_SYSCALL_STRING): Delete.
52132 (__INTERNAL_SYSCALL_STRING): Delete.
52133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52134 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52135 (PSEUDO): Reimplement to do errno handling inline.
52136 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52137 (SYSCALL_ERROR_HANDLER): New macro.
52138 (__SYSCALL_STRING): Do not do errno handling in asm.
52139 (__CLONE_SYSCALL_STRING): Delete.
52140 (__INTERNAL_SYSCALL_STRING): Delete.
52141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52142 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52143 i386.
52144 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52145 (inline_syscall*): Add 'err' argument.
52146 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52147 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52148 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52149 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52150
52151 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52152 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52153
2bc17433
AS
521542011-08-30 Andreas Schwab <schwab@redhat.com>
52155
52156 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52157
fbeb5f4d
JO
521582011-08-29 Jiri Olsa <jolsa@redhat.com>
52159
52160 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52161 directive.
52162
ad69cc26
DM
521632011-08-24 David S. Miller <davem@davemloft.net>
52164
52165 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52166
39dd69df
AS
521672011-08-24 Andreas Schwab <schwab@redhat.com>
52168
52169 * elf/Makefile: Add rules to build and run unload8 test.
52170 * elf/unload8.c: New file.
52171 * elf/unload8mod1.c: New file.
52172 * elf/unload8mod1x.c: New file.
52173 * elf/unload8mod2.c: New file.
52174 * elf/unload8mod3.c: New file.
52175
52176 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52177 it wasn't used.
52178
2c0b250a
DM
521792011-08-23 David S. Miller <davem@davemloft.net>
52180
52181 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52182 subtract stack bias.
52183 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52184 %sp not %fp in calculations.
52185 (_JMPBUF_UNWINDS_ADJ): Likewise.
52186
22044b48
DM
52187 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52188 (aio_suspend): Call it to force an exception region around the
52189 AIO_MISC_WAIT() invocation.
52190
2cae4995
AS
521912011-08-23 Andreas Schwab <schwab@redhat.com>
52192
52193 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52194 backslash.
52195
873a772e
AJ
521962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52197
52198 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52199 protection macro.
52200 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52201 and <dl-machine.h>.
52202 (Elf64_FuncDesc): Remove.
52203
25ad0df1
DM
522042011-08-22 David S. Miller <davem@davemloft.net>
52205
52206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52207 sigaltstack check, add missing cfi directives.
52208 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52209 missing cfi directives, and sigaltstack handling.
52210
e888bcbe
AS
522112011-08-16 Andreas Schwab <schwab@redhat.com>
52212
52213 [BZ #11724]
52214 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52215 object is seen twice.
52216 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52217
52218 * elf/Makefile (distribute): Add tst-initorder2.c.
52219 (tests): Add tst-initorder2.
52220 (modules-names): Add tst-initorder2a tst-initorder2b
52221 tst-initorder2c tst-initorder2d. Add rules to build them.
52222 ($(objpfx)tst-initorder2.out): New rule.
52223 * elf/tst-initorder2.c: New file.
52224 * elf/tst-initorder2.exp: New file.
52225
87162f46
AS
522262011-08-22 Andreas Schwab <schwab@redhat.com>
52227
70538b7f
AS
52228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52229
f55ffe58
AS
52230 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52231 dependencies back to end of function.
52232
87162f46
AS
52233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52234 $(elfobjdir)/ld.so.
52235
91b392a4
UD
522362011-08-21 Ulrich Drepper <drepper@gmail.com>
52237
52238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52239 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52241 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52242 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52243 of __vdso_gettimeofday.
52244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52245 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52246 attribute_hidden.
52247 (_libc_vdso_platform_setup): Remove initialization of
52248 __vdso_gettimeofday and __vdso_time.
52249
5c43483f
UD
522502011-08-20 Ulrich Drepper <drepper@gmail.com>
52251
775a77e7
UD
52252 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52253 and fgetc_unlocked.
52254 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52255 getc_unlocked.
89f447ed 52256
49c74ba9
UD
52257 * elf/dl-open.c (add_to_global): Report additions to the global scope
52258 for LD_DEBUG=scopes.
52259 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52260 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52261
5c43483f
UD
52262 [BZ #13114]
52263 * stdio-common/Makefile (tests): Add bug24.
52264 * stdio-common/bug24.c: New file.
52265
a101b025
AJ
522662011-08-19 Andreas Jaeger <aj@suse.de>
52267
52268 [BZ #13114]
52269 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52270 non-existant file when using close-on-exec mode.
52271
c88f1766
UD
522722011-08-20 Ulrich Drepper <drepper@gmail.com>
52273
0276a718
UD
52274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52275 the very first instruction.
52276
c88f1766
UD
52277 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52278 the CFI state in the end.
52279 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52280 inclusion of dl-trampoline.h.
52281 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52282
51ccffa0
AS
522832011-08-19 Andreas Schwab <schwab@redhat.com>
52284
94d7165f
AS
52285 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52286 expectations for long double.
52287
51ccffa0
AS
52288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52289 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52290
fd708658 522912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52292
52293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52294 artificual limit depends upon the system page size.
52295
44f0a71e
UD
522962011-08-17 Ulrich Drepper <drepper@gmail.com>
52297
52298 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52299 * resolv/Makefile: Define CFLAGS-libresolv.
52300
8de79a24
AS
523012011-08-17 Andreas Schwab <schwab@redhat.com>
52302
52303 * nss/makedb.c (compute_tables): Make variables used in nested
52304 function static.
52305
27724598
UD
523062011-08-17 Ulrich Drepper <drepper@gmail.com>
52307
c5305d88
UD
52308 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52309 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52310 if buffer was too small.
52311
27724598
UD
52312 * elf/pldd.c (main): Attach to all threads in the process.
52313 Rewrite /proc handling to use *at functions.
52314
076fe015
UD
523152011-08-16 Ulrich Drepper <drepper@gmail.com>
52316
174baab3
UD
52317 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52318 specifies first scope to show.
52319 (dl_open_worker): Update callers. Move printing scope of new
52320 object to before the relocation.
44f0a71e 52321 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52322 * sysdeps/generic/ldsodefs.h: Update declaration.
52323
076fe015
UD
52324 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52325 string for the scope number.
52326
a60df2c3
UD
523272011-08-14 Ulrich Drepper <drepper@gmail.com>
52328
52329 * nscd/servicescache.c (cache_addserv): Make sure written is always
52330 initialized.
52331
5e4287d1
RM
523322011-08-14 Roland McGrath <roland@hack.frob.com>
52333
85ae0589
RM
52334 * sysdeps/i386/i486/bits/atomic.h
52335 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52336 statement expression, so as to suppress "set but not used" warning.
52337 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52338
69f63097
RM
52339 * string/strncat.c (STRNCAT): Use prototype definition.
52340
675456ef
RM
52341 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52342 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52343 -Iprograms here.
52344 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52345 (localedef-modules): Add localedef.
52346 (locale-modules): Add locale.
52347
5e4287d1
RM
52348 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52349 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52350 to avoid a warning.
52351
9c96ff23
DM
523522011-08-14 David S. Miller <davem@davemloft.net>
52353
52354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52355 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52356
f9ddf089
UD
523572011-08-13 Ulrich Drepper <drepper@gmail.com>
52358
44f0a71e 52359 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52360 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52361 * elf/rtld.c (dl_main): Set l_name of vDSO.
52362 Call _dl_show_scope when DL_DEBUG_SCOPES.
52363 (process_dl_debug): Recognize scopes flag and also set it for all.
52364 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52365 Declare _dl_show_scope.
52366
1dc27704
UD
52367 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52368 (do_dlopen): Pass caller_dlopen to dl_open.
52369 (__libc_dlopen_mode): Initialize caller_dlopen.
52370
f9ddf089
UD
52371 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52372 of libc. Make tolower call locale-independent. Optimize a bit by
52373 using isdigit instead of isalnum.
52374 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52375
9ac533d3
UD
523762011-08-12 Ulrich Drepper <drepper@gmail.com>
52377
52378 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52379 was a dependency or dynamically loaded.
52380
89edf2e9
UD
523812011-08-11 Ulrich Drepper <drepper@gmail.com>
52382
8e999d29
UD
52383 * intl/l10nflist.c: Allow architecture-specific pop function.
52384 * sysdeps/x86_64/l10nflist.c: New file.
52385
89edf2e9
UD
52386 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52387 classification.
52388
14d96785
AS
523892011-08-10 Andreas Schwab <schwab@redhat.com>
52390
52391 * include/dirent.h: Add libc_hidden_proto for scandirat and
52392 scandirat64. Don't declare __scandirat64.
52393 * dirent/scandirat.c: Add libc_hidden_def.
52394 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52395 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52396
6761ac04
DM
523972011-08-10 David S. Miller <davem@davemloft.net>
52398
52399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52400 enum.
52401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52404
c55fbd1e
UD
524052011-08-09 Ulrich Drepper <drepper@gmail.com>
52406
52407 * Versions.def [libc]: Add GLIBC_2.15.
52408 * dirent/Makefile (routines): Add scandirat and scandirat64.
52409 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52410 GLIBC_2.15.
52411 * dirent/dirent.h: Declare scandirat and scandirat64.
52412 * dirent/scandirat.c: New file.
52413 * dirent/scandirat64.c: New file.
52414 * sysdeps/wordsize-64/scandirat.c: New file.
52415 * sysdeps/wordsize-64/scandirat64.c: New file.
52416 * dirent/opendir.c: Define opendirat.
52417 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52418 using scandirat.
52419 * dirent/scandir64.c: Adjust for scandir.c change.
52420 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52421 __scandirat64, and __scandir_cancel_handler.
52422 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52423 additional parameter and use openat instead of open (outside of ld.so).
52424 Add new __opendir as wrapper around __opendirat.
52425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52426 here without requiring old scandirat implementation.
52427
879165f2
UD
524282011-08-08 Ulrich Drepper <drepper@gmail.com>
52429
52430 * dirent/scandir.c (cancel_handler): Renamed to
52431 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52432 defined. Adjust users.
52433 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52435
cb7e923b
UD
524362011-08-04 Ulrich Drepper <drepper@gmail.com>
52437
16292edd
UD
52438 * string/test-string.h (IMPL): Use __STRING to expand name and then
52439 stringify it.
52440
cb7e923b
UD
52441 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52442 of cleanups.
52443
cff82933
LD
524442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52445
52446 * string/Makefile: Update.
52447 (strop-tests): Append strncat.
52448 * string/test-wcscmp.c: New file.
52449 New comprehensive test for wcscmp.
52450 * string/test-strcmp.c: Update.
52451 (WIDE): New define.
52452
9be9bfcc
AS
524532011-07-22 Andreas Schwab <schwab@redhat.com>
52454
52455 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52456 line.
52457
2e96f1c7
AS
524582011-07-26 Andreas Schwab <schwab@redhat.com>
52459
52460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52461 encoding to ACE if AI_IDN.
52462
85188888
JJ
524632011-08-01 Jakub Jelinek <jakub@redhat.com>
52464
52465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52466 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52467
5fa16e9b
LD
524682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52469
52470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52471 Fix overflow bug in strncat.
52472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52473
52474 * string/test-strncat.c: Update.
52475 Add new tests for checking overflow bugs.
52476
524772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52478
52479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52480 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52481 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52482 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52484 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52485 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52486 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52487 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52488
52489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52490 (USE_AS_STRCAT): Define.
52491 Add strcat and strncat support.
52492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52493
8c1a459f
AS
524942011-07-25 Andreas Schwab <schwab@redhat.com>
52495
52496 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52497 __n bigger than INT_MAX+1.
52498 (__strncmp_g): Likewise.
52499
bba33c28
UD
525002011-07-23 Ulrich Drepper <drepper@gmail.com>
52501
798be72d
UD
52502 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52503 * libio/stido.h: Likewise.
52504
8accd4dc
UD
52505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52506 (AF_NFC): Define.
52507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52508 (AF_NFC): Define.
52509
cbff0d96
UD
52510 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52513 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52515
9191c04a
UD
52516 [BZ #13021]
52517 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52518 installed.
52519
bba33c28
UD
52520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52521 typo.
52522 (_dl_x86_64_save_sse): Likewise.
52523
90f139dd
UD
525242011-07-22 Ulrich Drepper <drepper@gmail.com>
52525
1aae088a
UD
52526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52527 OSXSAVE.
52528 (_dl_x86_64_save_sse): Likewise.
52529
8e2045f5
UD
52530 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52531
90f139dd
UD
52532 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52533
1d002f25
AS
525342011-07-21 Andreas Schwab <schwab@redhat.com>
52535
52536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52537 change.
52538 (_dl_x86_64_save_sse): Use correct AVX check.
52539
21137f89
UD
525402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52541
52542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52543 bug in strncpy/strncat.
52544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52545
a65c0b7a
UD
525462011-07-21 Ulrich Drepper <drepper@gmail.com>
52547
52548 * string/tester.c (test_strcat): Add tests for different alignments
52549 of source and destination.
52550 (test_strncat): Likewise.
52551
6986b98a
UD
525522011-07-20 Ulrich Drepper <drepper@gmail.com>
52553
90bb2039
UD
52554 [BZ #12852]
52555 * posix/glob.c (glob): Check passed in values before using them in
52556 expressions to avoid some overflows.
52557 (glob_in_dir): Likewise.
52558
5644ef54
UD
52559 [BZ #13007]
52560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52561 check for AVX enablement so that we don't crash with old kernels and
52562 new hardware.
52563 * elf/tst-audit4.c: Add same checks here.
52564 * elf/tst-audit6.c: Likewise.
52565
52566 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52567
bfc9dc9b
AS
525682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52569
52570 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52571
702e64bb
UD
525722011-07-20 Ulrich Drepper <drepper@gmail.com>
52573
52574 * po/cs.po: Update from translation team.
52575 * po/bg.po: Likewise.
52576
295e904f
MP
525772011-07-12 Marek Polacek <mpolacek@redhat.com>
52578
52579 * misc/sys/cdefs.h: Add support for const attribute.
52580 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52581 to gnu_dev_{major,minor,makedev} functions.
52582
3ff94596
MP
525832011-07-20 Marek Polacek <mpolacek@redhat.com>
52584
52585 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52586
28b59fca
AS
525872011-07-20 Andreas Schwab <schwab@redhat.com>
52588
52589 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52590 strlen results.
52591
19df733e
AK
525922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52593
52594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52595 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52596 register in order to avoid conflicts with the soft frame pointer
52597 being held in r11 when necessary.
52598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52599 (INTERNAL_VSYSCALL_NCS): Likewise.
52600
c8835729
MP
526012011-07-14 Marek Polacek <mpolacek@redhat.com>
52602
52603 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52604 * elf/dl-fini.c (_dl_fini): Adjust caller.
52605 * elf/dl-close.c (_dl_close_worker): Likewise.
52606 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52607
b902330c
MP
526082011-07-15 Marek Polacek <mpolacek@redhat.com>
52609
8991e135
MP
52610 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52611 "aux_cache->nlibs < 0".
52612
b902330c
MP
52613 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52614 in the reload-count case.
52615
99710781
LD
526162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52617
52618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52619 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52620 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52621 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52622 * sysdeps/x86_64/multiarch/strcat.S: New file.
52623 * sysdeps/x86_64/multiarch/strncat.S: New file.
52624 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52625 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52626 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52627 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52629 (USE_AS_STRCAT): Define.
52630 Add strcat and strncat support.
52631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52633 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52634 * string/strncat.c: Update.
52635 (USE_AS_STRNCAT): Define.
52636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52637 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52638 and i7.
52639 * sysdeps/x86_64/multiarch/init-arch.h
52640 (bit_Prefer_PMINUB_for_stringop): New.
52641 (index_Prefer_PMINUB_for_stringop): Likewise.
52642 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52643 bit_Prefer_PMINUB_for_stringop.
52644
7dc6bd90
UD
526452011-07-19 Ulrich Drepper <drepper@gmail.com>
52646
52647 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52648 buffer64.
52649 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52650 of casting of buffer.
52651 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52652 buffer32 and buffer64.
52653 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52654 writes instead of casting of buffer.
52655 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52656 buffer32.
52657 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52658 casting of buffer.
52659
e0e72284
AS
526602011-07-19 Andreas Schwab <schwab@redhat.com>
52661
52662 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52663
feb1eb0b
UD
526642011-07-19 Ulrich Drepper <drepper@gmail.com>
52665
52666 * nscd/nscd.c (termination_handler): Don't do anything for a database
52667 if it has not yet been initialized.
52668
298711ff
UD
526692011-07-18 Ulrich Drepper <drepper@gmail.com>
52670
52671 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52672
526732011-07-15 Marek Polacek <mpolacek@redhat.com>
52674
52675 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52676
f9d68389
UD
526772011-07-18 Ulrich Drepper <drepper@gmail.com>
52678
52679 * po/nl.po: Update from translation team.
52680 * po/sv.po: Likewise.
52681
db290cf5
RM
526822011-07-16 Roland McGrath <roland@hack.frob.com>
52683
52684 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52685 now disallowed by GCC.
5c550700 52686
fd5e21c7
RM
52687 * configure.in (use-default-link): Default to yes if a test -shared
52688 link meets our qualifications.
52689 * configure: Regenerated.
52690
5c550700
RM
52691 * config.make.in (output-format): New variable.
52692 * configure.in: Check for ld --print-output-format support.
52693 * configure: Regenerated.
52694 * Makerules ($(common-objpfx)format.lds)
52695 [$(output-format) != unknown]: Just use $(output-format),
52696 instead of the linker-script munging.
52697
9fa2c032
RM
526982011-07-14 Roland McGrath <roland@hack.frob.com>
52699
a6928d51
RM
52700 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52701 of $(common-objpfx)shlib.lds.
52702 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52703
661607b3
RM
52704 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52705 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52706
9fa2c032
RM
52707 * configure.in (-z relro check): Adjust test code to add a large
52708 writable data section after it.
52709 * configure: Regenerated.
52710
defe9061
RM
527112011-07-11 Roland McGrath <roland@hack.frob.com>
52712
52713 * configure.in (-z relro check): Fix test code to make the variable
52714 truly const.
52715 * configure: Regenerated.
52716
319b9ad4
UD
527172011-07-11 Ulrich Drepper <drepper@gmail.com>
52718
52719 * nscd/nscd.h (struct traced_file): Define.
52720 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52721 elements. Add traced_files.
52722 (inotify_fd): Declare.
52723 (register_traced_file): Declare.
52724 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52725 (inotify_fd): Export.
52726 (resolv_conf_descr): Remove.
52727 (nscd_init): Move inotify descriptor creation to main.
52728 Don't register files for notification here.
52729 (register_traced_file): New function.
52730 (invalidate_cache): Don't use reset_res to determine whether to call
52731 res_init, go through the list of registered files.
52732 (main_loop_poll): The inotify descriptors are now stored in the
52733 structures for the traced files.
52734 (main_loop_epoll): Likewise
52735 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52736 to __nss_disable_nscd.
52737 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52738 for a database anymore. Check the records for all the registered
52739 files instead.
52740 * nss/Makefile (libnss_files-routines): Add files-init.
52741 (libnss_db-routines): Add db-init.
52742 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52743 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52744 * nss/nss_db/db-init.c: New file.
52745 * nss/nss_files/files-init.c: New file.
52746 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52747 __nss_lookup_function.
52748 (__nss_lookup_function): Call nss_load_library.
52749 (nss_load_all_libraries): New function.
52750 (__nss_disable_nscd): Take parameter with callback function for files
52751 to register. Set is_nscd. Load all the DSOs for the NSS modules
52752 used for the cached services.
52753 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52754 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52755 options for features to all the files in nscd.
52756
52757 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52758
23bee3e8
RM
527592011-07-10 Roland McGrath <roland@hack.frob.com>
52760
52761 * csu/elf-init.c (__libc_csu_init): Comment typo.
52762
46a5b7f0
UD
527632011-07-09 Ulrich Drepper <drepper@gmail.com>
52764
52765 * po/pl.po: Update from translation team.
52766 * po/ja.po: Likewise.
52767 * po/ru.po: Likewise.
52768 * po/ko.po: Likewise.
52769 * po/fr.po: Likewise.
52770
d30cf5bb
RM
527712011-07-09 Roland McGrath <roland@hack.frob.com>
52772
113ddea4
RM
52773 * configure.in (.ctors/.dtors header and trailer check):
52774 Use an empirical test on a built program.
52775 * configure: Regenerated.
52776
574920b4
RM
52777 * configure.in (-z relro check): Use an empirical test on a built DSO.
52778 Detect, but do not require, on ia64.
52779 * configure: Regenerated.
52780
d30cf5bb
RM
52781 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52782 Update tests that use readelf to use $READELF instead.
52783 * configure: Regenerated.
52784
8538fdb3
UD
527852011-07-08 Ulrich Drepper <drepper@gmail.com>
52786
52787 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52788 if the result is not used.
52789
04d08991
AJ
527902011-07-05 Andreas Jaeger <aj@suse.de>
52791
52792 [BZ#9696]
52793 * stdlib/tst-strtod.c: Add testcase.
52794
de283087
AD
527952011-07-07 Ulrich Drepper <drepper@gmail.com>
52796
4e5f31c8 52797 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52798 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52799 The latter has a higher limit. Take additional parameter to pass to
52800 the new function.
52801 (__pathconf): Pass file to __statfs_link_max.
52802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52803 __statfs_link_max.
52804 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52805 __statfs_link_max.
52806
de283087
AD
52807 [BZ #12868]
52808 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52810 Handle Lustre.
52811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52812 (__statfs_filesize_max): Likewise.
52813 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52814
c75fa153
AJ
528152011-07-05 Andreas Jaeger <aj@suse.de>
52816
52817 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52818
1a544854
UD
528192011-07-06 Marek Polacek <mpolacek@redhat.com>
52820
52821 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52822 `status' variable.
52823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52824 Likewise.
52825
6f0eec67
UD
528262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52827
52828 * Makefile (strop-tests): Add strncat.
52829 * string/test-strncat.c: New file.
52830
aae30307
UD
528312011-06-30 Marek Polacek <mpolacek@redhat.com>
52832
52833 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52834
c0cfb5eb
UD
528352011-06-21 Andreas Jaeger <aj@suse.de>
52836
52837 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52838 Copy rule from iconvdata/Makefile.
52839
01636b21
UD
528402011-07-06 Ulrich Drepper <drepper@gmail.com>
52841
52842 [BZ #12922]
52843 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52844 but no long options are defined, just return 'W'.
52845
9895c8bc
UD
528462011-06-22 Marek Polacek <mpolacek@redhat.com>
52847
52848 [BZ #9696]
52849 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52850
5d4cf042
UD
528512011-07-06 Ulrich Drepper <drepper@gmail.com>
52852
52853 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52854 netgroups to read.
960e5535 52855 (innetgr): Likewise.
5d4cf042 52856
751eb97e
RM
528572011-07-05 Roland McGrath <roland@hack.frob.com>
52858
52859 * config.make.in (install_root): Default to $(DESTDIR).
52860
f15f1e45
UD
528612011-07-05 Ulrich Drepper <drepper@gmail.com>
52862
52863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52864
4e34ac6a
RM
528652011-07-02 Roland McGrath <roland@hack.frob.com>
52866
5e9b6af4
RM
52867 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52868
84f9ea0f
RM
52869 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52870 containing directory rather than embedding absolute directory names.
52871
ea5ee9f7
RM
52872 * scripts/check-local-headers.sh: Rewritten using awk.
52873 Match by word, not by line. Print error messages for matches.
52874 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52875
1b74661a
RM
52876 * Makerules [shlib-lds-flags empty]:
52877 ($(common-objpfx)libc_pic.opts): New target.
52878 ($(common-objpfx)libc_pic.os.clean): New target.
52879 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52880
52881 * config.make.in (OBJCOPY): New variable.
52882 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52883 * configure: Regenerated.
52884
f781ef40
RM
52885 * config.make.in (use-default-link): New variable.
52886 * configure.in (use_default_link): Grok --with-default-link to set it.
52887 * configure: Regenerated.
52888 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52889 (shlib-lds, shlib-lds-flags): Define to empty.
52890
2d4fa81e
RM
52891 * Makerules (shlib-lds): New variable.
52892 (shlib-lds-flags): New variable.
52893 (build-shlib, build-moduile, build-module-asneeded): Use it.
52894 ($(common-objpfx)libc.so): Use $(shlib-lds).
52895 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52896 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52897
31fffa6b
RM
52898 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52899 DT_FLAGS/DT_FLAGS_1 with zero flags.
52900
4e34ac6a
RM
52901 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52902 linker script munging.
52903
fcfc776b
UD
529042011-07-02 Ulrich Drepper <drepper@gmail.com>
52905
52906 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52907 as 128-bit value.
52908 * crypt/sha512.c (sha512_process_block): Perform total addition using
52909 128-bit if possible.
52910 (__sha512_finish_ctx): Likewise.
52911 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52912 as 64-bit value.
52913 * crypt/sha256.c (SWAP64): Define.
52914 (sha256_process_block): Perform total addition using 64-bit if
52915 possible.
52916 (__sha256_finish_ctx): Likewise.
52917
99231d9a
UD
529182011-07-01 Ulrich Drepper <drepper@gmail.com>
52919
52920 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52922 * nscd/hstcache.c (cache_addhst): Likewise.
52923 * nscd/grpcache.c (cache_addgr): Likewise.
52924 * nscd/aicache.c (addhstaiX): Likewise
52925 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52926
445b4a53
TK
529272011-07-01 Thorsten Kukuk <kukuk@suse.de>
52928
52929 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52931 * nscd/hstcache.c (cache_addhst): Likewise.
52932 * nscd/grpcache.c (cache_addgr): Likewise.
52933 * nscd/aicache.c (addhstaiX): Likewise
52934
6d4d8e8e
AS
529352011-07-01 Andreas Schwab <schwab@redhat.com>
52936
52937 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52938 domain only when needed.
52939
89f654c5
AS
529402011-06-30 Andreas Schwab <schwab@redhat.com>
52941
52942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52943 is always restored.
52944
cf3b23ff
UD
529452011-06-29 Ulrich Drepper <drepper@gmail.com>
52946
52947 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52948 are re-adding the entry.
52949 * nscd/servicescache.c (cache_addserv): Likewise.
52950
751626f9
AJ
529512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52952
52953 * sysdeps/generic/dl-irel.h: fix protection against multiple
52954 inclusions.
52955 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52956
9113ea1f
UD
529572011-06-28 Ulrich Drepper <drepper@gmail.com>
52958
5c0b8d90
UD
52959 [BZ #12935]
52960 * malloc/memusage.sh: Fix quoting in message.
52961 * debug/xtrace.sh: Likewise.
52962
9113ea1f
UD
52963 * configure.in: Remove support for --experimental-malloc option, make
52964 it the default.
52965 * config.make.in: Likewise.
52966 * malloc/Makefile: Likewise.
52967
a4172181
AS
529682011-06-27 Andreas Schwab <schwab@redhat.com>
52969
52970 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52971 two-byte characters.
52972
78a7eee7
RM
529732011-06-27 Roland McGrath <roland@hack.frob.com>
52974
62bede13
RM
52975 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52976 AC_CACHE_CHECK invocation.
52977 * configure: Regenerated.
52978
78a7eee7
RM
52979 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52980
5ce33a62
UD
529812011-06-27 Ulrich Drepper <drepper@gmail.com>
52982
034807a9
UD
52983 [BZ #12350]
52984 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52985 bit from old_res_options.
52986
4902da17
UD
52987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52988
5ce33a62
UD
52989 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52990 value type for setfct.
52991
c2344f56
L
529922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52993
52994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52995 __gettimeofday instead of gettimeofday.
52996
68468076
UD
529972011-06-26 Ulrich Drepper <drepper@gmail.com>
52998
52999 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53000
acb0d739
L
530012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53002
53003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53004
53005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53006 info.
53007
8912479f
L
530082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53009
53010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53011 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53012 strcpy-sse2-unaligned strncpy-sse2-unaligned
53013 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53014 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53015 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53016 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53017 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53020 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53021 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53022 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53023 (STRCPY): Support SSE2 and SSSE3 versions.
53024
d5495a11
UD
530252011-06-24 Ulrich Drepper <drepper@gmail.com>
53026
53027 [BZ #12874]
53028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53029 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53030 kernels which artificially limit size of requests.
53031
0b1cbaae
L
530322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53033
53034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53035 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53036 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53037 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53038 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53039 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53040 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53041 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53044 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53045 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53046 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53047 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53048 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53050 Enable unaligned load optimization for Intel Core i3, i5 and i7
53051 processors.
53052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53053 Define.
53054 (index_Fast_Unaligned_Load): Define.
53055 (HAS_FAST_UNALIGNED_LOAD): Define.
53056
07f494a0
MP
530572011-06-23 Marek Polacek <mpolacek@redhat.com>
53058
53059 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53060
fa3fc0fe
UD
530612011-06-22 Ulrich Drepper <drepper@gmail.com>
53062
53063 [BZ #12907]
53064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53065 until it is clear that the information is realy needed.
53066 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53067
e12df166
AS
530682011-06-22 Andreas Schwab <schwab@redhat.com>
53069
53070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53071
852eb34d
UD
530722011-06-22 Ulrich Drepper <drepper@gmail.com>
53073
84e2a551
UD
53074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53075 /sys/devices/system/cpu/online if it is usable.
53076
852eb34d
UD
53077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53078 reading the information from the /proc filesystem to once a second.
53079
6e502e19
UD
530802011-06-21 Andreas Jaeger <aj@suse.de>
53081
53082 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53083 NULL after inclusion of kernel headers.
53084
75d39ff2
UD
530852011-06-21 Ulrich Drepper <drepper@gmail.com>
53086
51f9aa6a
UD
53087 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53088 calls to internal_setent.
53089
c0244a9d
UD
53090 [BZ #12885]
53091 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53092 addresses using gethostbyname4_r ignore IPv4 addresses.
53093
c5e3c2ae
UD
53094 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53095 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53096
75d39ff2
UD
53097 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53098
42675c6f
DM
530992011-06-20 David S. Miller <davem@davemloft.net>
53100
53101 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53102 inclusions.
53103 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53104
53105 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53106 (elf_irel): Use it.
53107 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53108 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53109 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53110 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53111 * sysdeps/x86_64/dl-irel.h: Likewise.
53112
53113 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53114 * elf/dl-sym.c: Likewise.
53115
57912a71
UD
531162011-06-15 Ulrich Drepper <drepper@gmail.com>
53117
53118 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53119 need to dereference resplen2.
53120
ee22793d
AS
531212011-06-14 Andreas Schwab <schwab@redhat.com>
53122
53123 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53124
a9e836b0
UD
531252011-06-15 Ulrich Drepper <drepper@gmail.com>
53126
77fb9117
UD
53127 * Makeconfig: Define vardbdir and inst_vardbdir.
53128 * nss/Makefile: Add rules to install db-Makefile.
53129
40c1b22c
UD
53130 * nss/nss_db/db-XXX.c: Cleanup.
53131
9f2da732
UD
53132 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53133 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53134 GLIBC_PRIVATE.
53135 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53136 * nss/makedb.c: Implement -g option to specify that value strings
53137 are generated and should not be added to table iterated over for
53138 get*ent calls.
53139 * nss/nss_db/db-initgroups.c: New file.
53140
82e9a1f7
UD
53141 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53142 interface.
53143
c41af17e
UD
53144 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53145 (internal_getgrouplist): Adjust to name change.
53146 Update use_initgroups_entry if this is not the first call.
53147 * nss/databases.def: Add initgroups entry.
53148
a9e836b0
UD
53149 * nss/makedb.c (compute_tables): Check result of multiple hash table
53150 sizes to minimize maximum chain length.
53151
2666d441
UD
531522011-06-14 Ulrich Drepper <drepper@gmail.com>
53153
53154 * Versions.def: Add entry for libnss_db.
53155 * shlib-versions: Likewise.
53156 * nss/Makefile: Add rules to build libnss_db.
53157 * nss/Versions: Add libnss_db information. Organize libnss_files
53158 entries better.
53159 * nss/db-Makefile: Add gshadow support. Change rules for the new
53160 makedb progra. Some minor improvements to generate smaller files.
53161 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53162 here from...
53163 * nss/makedb.c: ...here.
53164 Improve database format to be smaller and require less memory at
53165 runtime.
53166 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53167 db anymore.
53168 * nss/nss_db/db-netgrp.c: Likewise.
53169 * nss/nss_db/db-open.c: Likewise.
53170 * nss/nss_files/flies-XXX.x: Adjust comments.
53171 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53172 * nss/nss_files/files-grp.c: Likewise.
53173 * nss/nss_files/files-hosts.c: Likewise.
53174 * nss/nss_files/files-network.c: Likewise.
53175 * nss/nss_files/files-proto.c: Likewise.
53176 * nss/nss_files/files-pwd.c: Likewise.
53177 * nss/nss_files/files-rpc.c: Likewise.
53178 * nss/nss_files/files-service.c: Likewise.
53179 * nss/nss_files/files-sgrp.c: Likewise.
53180 * nss/nss_files/files-spwd.c: Likewise.
53181 * nss/nss_db/db-alias.c: Removed.
53182 * nss/nss_db/dummy-db.h: Removed.
53183
9ee76b5a
UD
531842011-06-02 Ulrich Drepper <drepper@gmail.com>
53185
53186 * nss/makedb.c: Rewritten to not use database library.
53187 * nss/Makefile: Update to build new makedb program.
53188
c71ca1f8
AJ
531892011-06-14 Andreas Jaeger <aj@suse.de>
53190
53191 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53192 memset declaration.
53193
3154bfb8
UD
531942011-06-10 Andreas Schwab <schwab@redhat.com>
53195
53196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53197 tmpbuf.
53198
b350afab
RM
531992011-06-10 Roland McGrath <roland@hack.frob.com>
53200
decd4e50
RM
53201 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53202 * elf/Makefile ($(objpfx)ld.so): Likewise.
53203
5615eaf2
RM
53204 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53205 Don't list ld.so twice in dependencies.
53206
53207 * posix/bug-regex31.c: Include <stdlib.h>.
53208
53209 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53210
53211 * nis/nss_compat/compat-spwd.c
53212 (getspent_next_nss_netgr): Remove unused variable.
53213 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53214
53215 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53216 nonmembers" output to use the right array.
53217
53218 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53219
53220 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53221
53222 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53223 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53224 * catgets/gencat.c (read_input_file): Likewise.
53225 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53226
53227 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53228 variable definition inside #if's controlling its use.
53229
53230 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53231
53232 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53233
53234 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53235
53236 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53237 unreachable code.
53238
53239 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53240
b68e08db
RM
53241 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53242 * configure: Regenerated.
53243
b350afab
RM
53244 * Makerules: Revert last change.
53245 * elf/Makefile: Likewise.
53246
28368601
RM
532472011-06-09 Roland McGrath <roland@hack.frob.com>
53248
53249 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53250 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53251 (reloc-link): Likewise.
53252
11988f8f
UD
532532011-06-09 Ulrich Drepper <drepper@gmail.com>
53254
53255 * elf/Makefile: Add rules to build pldd.
53256 * elf/pldd.c: New file.
53257 * elf/pldd-xx.c: New file.
53258
e80fab37
UD
532592011-06-07 Ulrich Drepper <drepper@gmail.com>
53260
53261 * version.h: Update for 2.15 development version.
53262
9b849836
DM
532632011-06-07 David S. Miller <davem@davemloft.net>
53264
53265 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53266 ifuncs.
53267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53268 elf_machine_lazy_rel): Likewise.
53269 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53271 elf_machine_lazy_rel): Likewise.
53272 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53273 dl_hwcap via passed in argument.
53274 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53275 Likewise.
53276
5a31b283
AK
532772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53278
53279 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53280
069e52f8
RM
532812011-06-06 Roland McGrath <roland@hack.frob.com>
53282
53283 [BZ #12849]
53284 * manual/fdl-1.1.texi: New file, verbatim from:
53285 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53286 * manual/lgpl-2.1.texi: New file, verbatim from:
53287 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53288 * manual/Makefile (licenses): New variable, list those new file names.
53289 (texis): Use it.
53290 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53291
53292 * manual/fdl.texi: File removed.
53293 * manual/lesser.texi: File removed.
53294 * manual/libc.texinfo (Copying, Documentation License):
53295 Use new @include file names, put @appendix directive before @include.
53296
f16846a5
JJ
532972011-06-04 Jakub Jelinek <jakub@redhat.com>
53298
53299 [BZ #12841]
53300 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53301 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53302 (mq_open): Add __NTH.
53303
3d29045b
L
533042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53305
53306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53307 Assume Intel Core i3/i5/i7 processor if AVX is available.
53308
8c297311
UD
533092011-05-31 Ulrich Drepper <drepper@gmail.com>
53310
53311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53312 typo.
53313
c8fc0c91
UD
533142011-05-31 Andreas Schwab <schwab@redhat.com>
53315
53316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53317 memory. Use alloca_account. Fix memory leak when retrying.
53318
5b27a807
UD
533192011-05-31 Ulrich Drepper <drepper@gmail.com>
53320
356f8bc6
UD
53321 * version.h (RELEASE): Bump for 2.14 release.
53322 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53323
5b27a807
UD
53324 * config.make.in (RANLIB): Remove entry.
53325
01f16ab0
UD
533262011-05-30 Ulrich Drepper <drepper@gmail.com>
53327
41fce8bd
UD
53328 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53329 (libc.pot): Work around missing support for .ksh extension in xgettext.
53330
4769ae77
UD
53331 [BZ #12684]
53332 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53333 if both request failed.
53334 (send_dg): In case of server errors clear resplen or *resplen2.
53335
6b1e7d19
UD
53336 [BZ #12454]
53337 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53338 when there are multiple maps.
53339 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53340 (_dl_fini): Remove test here.
53341
01f16ab0
UD
53342 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53343
b1ebd700
UD
533442011-05-29 Ulrich Drepper <drepper@gmail.com>
53345
7ae22829
UD
53346 [BZ #12350]
53347 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53348 bit from old_res_options.
53349 (gaih_inet): Likewise.
53350
553149f6 53351 [BZ #11099]
18a84741 53352 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53353 as signed.
53354
652ffab1
UD
53355 * resolv/res_init.c (res_setoptions): Make the code more compact.
53356
16985fd0
UD
53357 [BZ #11558]
53358 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53359 set RES_USEVC.
53360
0464f746
UD
53361 [BZ #11634]
53362 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53363
7d17596c
UD
53364 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53365
cf6bbbd7
UD
53366 [BZ #11781]
53367 * malloc/malloc.h: Declare malloc hook variables as volatile.
53368
13f1ab36
UD
53369 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53370 in last patch.
53371
b1ebd700
UD
53372 [BZ #11799]
53373 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53374 raise in the comment.
80e2212d
UD
53375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53377 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53378
ce67228d
UD
533792011-05-28 Ulrich Drepper <drepper@gmail.com>
53380
8887a920
UD
53381 [BZ #12811]
53382 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53383 grow the buffers more if it already has to be sufficient.
53384 (build_wcs_upper_buffer): Likewise.
53385 * posix/regexec.c (check_matching): Likewise.
53386 (clean_state_log_if_needed): Likewise.
53387 (extend_buffers): Don't enlarge buffers beyond size of the input
53388 buffer.
53389 Patches mostly by Emil Wojak <emil@wojak.eu>.
53390 * posix/bug-regex32.c: New file.
53391 * posix/Makefile (tests): Add bug-regex32.
53392
4f031072
UD
53393 * locale/findlocale.c (_nl_find_locale): Return right away if
53394 _nl_explode_name failed.
53395 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53396
d0478f0c
UD
53397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53398
de81b246
UD
53399 * debug/xtrace.sh: Unify messages.
53400 * malloc/memusage.sh: Likewise.
53401
c738465a
UD
53402 [BZ #12813]
53403 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53404 time symbol from vDSO. Substitute with vsyscall if not available.
53405 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53406 __vdso_time.
53407
f1f929d7
UD
53408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53409 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53410 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53411 Add sendmmsg and internal_sendmmsg.
53412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53415
ce67228d
UD
53416 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53417 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53419
e57420c6
UD
534202011-05-27 Ulrich Drepper <drepper@gmail.com>
53421
a8509ca5
UD
53422 [BZ #12813]
53423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53424 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53425 available.
53426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53427 __vdso_getcpu.
53428
e57420c6
UD
53429 [BZ #12814]
53430 * iconvdata/Makefile (tests): Add bug-iconv9.
53431 * iconvdata/bug-iconv9.c: New file.
53432
4d07db15
AS
534332011-05-27 Andreas Schwab <schwab@redhat.com>
53434
53435 [BZ #12814]
53436 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53437
ea486f69
JJ
534382011-05-25 Jakub Jelinek <jakub@redhat.com>
53439
53440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53441 (struct user_regs_struct): Change intcs field back to cs.
53442
6f038433
UD
534432011-05-25 Ulrich Drepper <drepper@gmail.com>
53444
53445 * po/ja.po: Update from translation team.
53446
67f86a25
UD
534472011-05-23 Ulrich Drepper <drepper@gmail.com>
53448
53449 [BZ #12795]
53450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53452
def7fbd6
AS
534532011-05-20 Andreas Schwab <schwab@redhat.com>
53454
53455 * stdlib/longlong.h: Update from GCC.
53456
f50ef8f1
AS
534572011-05-23 Andreas Schwab <schwab@redhat.com>
53458
53459 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53460 parameter name.
53461 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53462 Add parameter name.
53463 (__sysconf): Pass it down.
53464
de7ce8f1
UD
534652011-05-22 Ulrich Drepper <drepper@gmail.com>
53466
f2962a71
UD
53467 [BZ #12671]
53468 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53469 some situations.
53470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53471 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53472 add in in __libc_use_alloca calls. Adjust callers.
53473 (glob): Use malloc in some situations.
53474
de7ce8f1
UD
53475 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53476 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53477 pltexit.
53478
aec84f53
UD
534792011-05-21 Ulrich Drepper <drepper@gmail.com>
53480
05bb4a68
UD
53481 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53482 and CLOCK_BOOTTIME_ALARM.
53483
7ea72f99
UD
53484 [BZ #12782]
53485 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53486 is returned.
53487
7e4afad5
UD
53488 * string/_strerror.c (__strerror_r): Print negative errors as signed
53489 numbers.
53490
8e211fec
UD
53491 [BZ #12777]
53492 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53493 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53494 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53495
f7d82dc9
UD
53496 * configure.in: Fix typo in redirection and correct removal of test
53497 files in two cases.
53498
cc9e536d
UD
53499 [BZ #12788]
53500 * locale/setlocale.c (new_composite_name): Fix test to check for
53501 identical name of all categories.
53502
aec84f53
UD
53503 [BZ #12792]
53504 * libio/filedoalloc.c (local_isatty): New function.
53505 (_IO_file_doallocate): Use local_isatty.
53506 * stdio-common/perror.c (perror): In case a new stream is used
53507 forward the stream error.
53508 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53509 error flag.
53510
78e64fdc
RT
535112011-05-20 Ulrich Drepper <drepper@gmail.com>
53512
34a9094f
UD
53513 [BZ #11869]
53514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53515 alloca.
53516 * include/alloca.h (extend_alloca_account): Define.
53517
78e64fdc
RT
53518 [BZ #11857]
53519 * posix/regex.h: Fix comments with documentation of user-accessible
53520 fields after compilation and describe correct free'ing of pattern
53521 after re_compile_pattern.
53522 Patch by Reuben Thomas <rrt@sc3d.org>.
53523
457bddfc
RA
535242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53525
53526 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53527 and -mno-altivec to prevent the compiler from using Altivec and/or
53528 VSX instructions when the corresponding registers are not available.
53529
a4527b51
AS
535302011-05-19 Andreas Schwab <schwab@redhat.com>
53531
53532 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53533
ed690b2f
UD
535342011-05-19 Ulrich Drepper <drepper@gmail.com>
53535
53536 * libio/freopen.c (freopen): Use __dup2, not dup2.
53537 * libio/freopen64.c (freopen64): Likewise.
53538
8db73634
L
535392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53540
53541 [BZ #12775]
53542 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53543 * math/Makefile (tests): Add test-powl.
53544 (CFLAGS-test-powl.c): Define.
53545 * math/test-powl.c: New file.
53546
0a197a9d
L
535472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53548
53549 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53550
ee30c380
UD
535512011-05-17 Ulrich Drepper <drepper@gmail.com>
53552
53553 [BZ #11837]
53554 * iconvdata/gb18030.c: Update to GB18020-2005.
53555
6ce75379
UD
535562011-05-16 Ulrich Drepper <drepper@gmail.com>
53557
a4b89fd8
AR
53558 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53559 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53560 Patch by Aharon Robbins <arnold@skeeve.com>.
53561
ea389b12
UD
53562 [BZ #11892]
53563 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53564 on the stack.
53565
68a3f91f
UD
53566 [BZ #11895]
53567 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53568 through underflows.
53569
15cc7dd1
UD
53570 [BZ #12766]
53571 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53572 point to strings before performing equality test for error_one_per_line
53573 mode.
53574
f3799213
UD
53575 [BZ #11697]
53576 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53577
d79a9c94
UD
53578 [BZ #11820]
53579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53580 (struct user_fpregs_struct): Avoid __uint*_t types.
53581
56e5eb46
UD
53582 [BZ #6420]
53583 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53584 symbol info. Use it instead of calling _dl_addr locally.
53585 (lock_and_info): New function.
53586 (tr_freehook): Call lock_and_info and pass symbol info as additional
53587 parameter to tr_where.
53588 (tr_mallochook): Likewise.
53589 (tr_reallochook): Likewise.
53590 (tr_memalignhook): Likewise.
53591
6ce75379
UD
53592 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53593 used and couldn't be at all thread-safe.
53594
f8a3b5bf
UD
535952011-05-15 Ulrich Drepper <drepper@gmail.com>
53596
94b7cc37
UD
53597 * libio/freopen.c (freopen): Don't close old file descriptor
53598 before the new one is opened. Instead dup the new file descriptor
53599 to the old one after the new stream is created.
53600 * libio/freopen64.c (freopen64): Likewise.
53601 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53602 * libio/fileops.c (_IO_new_file_close_it): Handle new
53603 _IO_FLAGS2_NOCLOSE flag.
53604 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53605 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53606 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53607 _IO_FLAGS2_NOCLOSE flag.
53608 * include/unistd.h: Add hidden_proto for dup3.
53609 Define __have_dup3.
53610 * io/dup3.c: Define hidden symbol.
53611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53612
bd25564e
UD
53613 [BZ #7101]
53614 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53615 when an incomplete long option is used.
53616 * posix/tst-getopt_long1.c: New file.
53617 * posix/Makefile (tests): Add tst-getopt_long1.
53618
c84cfef4
UD
53619 [BZ #10138]
53620 * scripts/config.guess: Update from autoconf-2.68.
53621 * scripts/config.sub: Likewise.
53622
3b85df27
UD
53623 [BZ #10157]
53624 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53625 tests into ...
53626 (has_cpuclock): ...this. New function.
53627 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53628 macro here based on has_cpuclock code.
53629
15a856b1
UD
53630 [BZ #10149]
53631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53632 First byte (not low byte) is now always NUL.
53633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53634
05f399e6
UD
53635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53636 Use non-cancelable interfaces.
53637
10a52685 53638 [BZ #9809]
94ecc67d
UD
53639 * locale/iso-639.def: Add entry for Sorani.
53640
f8a3b5bf
UD
53641 [BZ #11901]
53642 * include/stdlib.h: Move include protection to the right place.
53643 Define abort_msg_s. Declare __abort_msg with it.
53644 * stdlib/abort.c (__abort_msg): Adjust type.
53645 * assert/assert.c (__assert_fail_base): New function. Majority
53646 of code from __assert_fail. Allocate memory for __abort_msg with
53647 mmap.
53648 (__assert_fail): Now call __assert_fail_base.
53649 * assert/assert-perr.c: Remove bulk of implementation. Use
53650 __assert_fail_base.
53651 * include/assert.hL Declare __assert_fail_base.
53652 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53653 mmap.
53654 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53655
1af4e298
UD
536562011-05-14 Ulrich Drepper <drepper@gmail.com>
53657
f8a3b5bf 53658 [BZ #11952]
d26dfc60
MG
53659 [BZ #12453]
53660 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53661 until all modules are registered in the DTV.
53662 * elf/Makefile: Add rules to build and run tst-tls19.
53663 * elf/tst-tls19.c: New file.
53664 * elf/tst-tls19mod1.c: New file.
53665 * elf/tst-tls19mod2.c: New file.
53666 * elf/tst-tls19mod3.c: New file.
53667 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53668
2fc54d6f
UD
53669 [BZ #12083]
53670 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53671 correctly.
53672
98d76b46
UD
53673 [BZ #12601]
53674 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53675 two-byte sequence errors.
53676 * iconvdata/Makefile (tests): Add bug-iconv8.
53677 * iconvdata/bug-iconv8.c: New file.
53678
da3c19ef
UD
53679 [BZ #12626]
53680 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53681 buf2 definition.
53682
ca408c15
UD
53683 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53684
d6f67f7d
UD
53685 [BZ #12432]
53686 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53687 (dummy_getcfa): New function.
53688 (init): Get _Unwind_GetCFA address, use dummy if not found.
53689 (backtrace_helper): In recursion check, also check whether CFA changes.
53690 (__backtrace): Completely initialize arg.
53691
1af4e298 53692 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53693 storing incomplete byte sequence in state object. Avoid testing for
53694 guaranteed too small input if we know there is enough data available.
1af4e298 53695
da62f81b
AS
536962011-05-11 Andreas Schwab <schwab@redhat.com>
53697
53698 * Makeconfig (+link-pie): Indent.
53699 * Rules (binaries-pie): Define if $(have-fpie) and
53700 $(build-shared).
53701 (binaries-shared): Also filter out $(binaries-pie).
53702 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53703 * nscd/Makefile (others-pie): Add nscd.
53704 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53705 ($(objpfx)nscd): Remove command override.
53706 * login/Makefile (others-pie): Add pt_chown.
53707 ($(objpfx)pt_chown): Remove command override.
53708 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53709 remove command overrides.
53710
fcabc0f8
UD
537112011-05-13 Ulrich Drepper <drepper@gmail.com>
53712
20030ae6
UD
53713 * libio/tst_putwc.c: Fix error messages.
53714
fcabc0f8
UD
53715 [BZ #12724]
53716 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53717 currently writing and seek to current position when not.
53718 * libio/Makefile (tests): Add bug-fclose1.
53719 * libio/bug-fclose1.c: New file.
53720
320a5dc0
PB
537212011-05-12 Ulrich Drepper <drepper@gmail.com>
53722
53723 [BZ #12511]
53724 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53725 don't set DF_1_NODELETE here.
53726 (do_lookup_x): When entering new entry test for copy relocation
53727 and if necessary set DF_1_NODELETE flag.
53728 * elf/tst-unique4.cc: New file.
53729 * elf/tst-unique4.h: New file.
53730 * elf/tst-unique4lib.cc: New file.
53731 * elf/Makefile: Add rules to build and run tst-unique4.
53732 Patch by Piotr Bury <pbury@goahead.com>.
53733
22836f52
UD
537342011-05-11 Ulrich Drepper <drepper@gmail.com>
53735
f574184a
UD
53736 [BZ #12052]
53737 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53738
e1fb097f
UD
53739 [BZ #12625]
53740 * misc/mntent_r.c (addmntent): Flush the stream after the output
53741
22836f52
UD
53742 [BZ #12393]
53743 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53744 (is_trusted_path_normalize): Skip initial colon. Append slash
53745 to empty buffer. Duplicate is_trusted_path code but allow
53746 constructed patch to be prefix.
53747 (is_dst): Allow $ORIGIN followed by /.
53748 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53749 Correct testing of result of is_trusted_path_normalize
53750 (decompose_rpath): Fix warning.
53751
7b3b0b2a
UD
537522011-05-10 Ulrich Drepper <drepper@gmail.com>
53753
53754 [BZ #11257]
53755 * grp/initgroups.c (internal_getgrouplist): When we found the service
53756 list through the initgroups entry in nsswitch.conf do not always
53757 continue on a successful lookup. Don't always use the
eac80ce2 53758 __nss_group_database value if it is set.
7b3b0b2a
UD
53759 * nss/nsswitch.conf (initgroups): Change action for successful db
53760 lookup to continue for compatibility.
53761
2a81eaa5
UD
537622011-05-09 Ulrich Drepper <drepper@gmail.com>
53763
be97a69e
UD
53764 [BZ #11532]
53765 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53766 and CP774 modules.
53767 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53768 and CP774 modules.
53769 * iconvdata/tst-tables.sh: Likewise.
53770 * iconvdata/cp770.c: New file.
53771 * iconvdata/cp771.c: New file.
53772 * iconvdata/cp772.c: New file.
53773 * iconvdata/cp773.c: New file.
53774 * iconvdata/cp774.c: New file.
53775 * iconvdata/testdata/CP770: New file.
53776 * iconvdata/testdata/CP770..UTF8: New file.
53777 * iconvdata/testdata/CP771: New file.
53778 * iconvdata/testdata/CP771..UTF8: New file.
53779 * iconvdata/testdata/CP772: New file.
53780 * iconvdata/testdata/CP772..UTF8: New file.
53781 * iconvdata/testdata/CP773: New file.
53782 * iconvdata/testdata/CP773..UTF8: New file.
53783 * iconvdata/testdata/CP774: New file.
53784 * iconvdata/testdata/CP774..UTF8: New file.
53785
53786 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53787 END CHARMAP line.
53788 * iconvdata/gen-8bit-gap.sh: Likewise.
53789 * iconvdata/gen-8bit.sh: Likewise.
53790
c1e9e399
UD
53791 * locale/iso-639.def: Add ary entry.
53792
24c55fb3 53793 [BZ #11258]
96b4b1b0
UD
53794 * locale/C-translit.h.in: Add U20A1 transliteration.
53795
bdc2f971
KB
53796 [BZ #12178]
53797 * locale/iso-639.def: Add wae entry.
53798 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53799
2952b117
UD
53800 [BZ #12545]
53801 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53802 for n.
53803
2a81eaa5
UD
53804 [BZ #12711]
53805 * locale/C-translit.h.in: Add entry for U20B9.
53806 Patch by pravin.d.s@gmail.com.
53807
28377d1b
UD
538082011-05-08 Ulrich Drepper <drepper@gmail.com>
53809
7fb90fb8
UD
53810 [BZ #12713]
53811 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53812 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53813 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53814 in rtld. Use *stat64.
7fb90fb8 53815 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53816 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53817 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53818 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53819 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53820 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53821 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53822 __fstatat64 macros.
7fb90fb8
UD
53823 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53824 * dirent/rewinddir.c: Add libc_hidden_def.
53825 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53826 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53827
28377d1b
UD
53828 * include/dirent.h (__alloc_dir): Add flags parameter.
53829 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53830 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53831 __alloc_dir.
53832 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53833 from fdopendir if O_CLOEXEC is already set.
53834
66bdbaa4
AM
538352011-03-15 Alan Modra <amodra@gmail.com>
53836
53837 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53838 l_tls_firstbyte_offset non-zero. Save padding offset in
53839 l_tls_firstbyte_offset for later use.
53840 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53841 freeing static tls block.
53842
95721191
JN
538432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53844
53845 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53846 where #ifdef was intended. The intent is to prevent ARG_MAX from
53847 being defined by the kernel headers.
53848
f87dfb1f
UD
538492011-05-07 Ulrich Drepper <drepper@gmail.com>
53850
53851 [BZ #12734]
53852 * resolv/resolv.h: Define RES_NOTLDQUERY.
53853 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53854 no-tld-query and set RES_NOTLDQUERY.
53855 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53856 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53857 modern BIND to search name as TLD unless forbidden.
53858
47c3cd7a
UD
538592011-05-07 Petr Baudis <pasky@suse.cz>
53860 Ulrich Drepper <drepper@gmail.com>
53861
53862 [BZ #12393]
53863 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53864 (is_trusted_path): ...to here.
c1e9ea35 53865 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53866 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53867 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53868
8a35c912
PP
538692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53870
53871 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53872 __BEGIN/__END_DECLS.
53873
acd41f47
UD
538742011-05-06 Ulrich Drepper <drepper@gmail.com>
53875
53876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53877 NSS_STATUS_NOTFOUND if no record was found.
53878
597df647
AS
538792011-05-05 Andreas Schwab <schwab@redhat.com>
53880
53881 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53882 (headers-not-in-tirpc): Remove rpc/netdb.h
53883 * resolv/netdb.h: Revert last change.
53884
b9af1301
PP
538852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53886
53887 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53888 circular dependency between libgcc.a and libc.a.
53889
4e34d5f5
AS
538902011-05-05 Andreas Schwab <schwab@redhat.com>
53891
53892 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53893 * nis/Makefile: Don't install rpcsvc/*.
53894 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53895 instead of <rpc/types.h>.
53896 (MAXHOSTNAMELEN): Define.
53897
00ee369c
AS
538982011-05-03 Andreas Schwab <schwab@redhat.com>
53899
53900 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53901
0b592a30
MB
539022011-04-28 Maciej Babinski <mbabinski@google.com>
53903
53904 [BZ #12714]
53905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53906 gethostbyname4_r when IPv6 results are possible.
53907
6e04cbbe
UD
539082011-05-02 Ulrich Drepper <drepper@gmail.com>
53909
53910 [BZ #12723]
53911 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53912 _PC_PIPE_BUF handling.
53913
e4ecafe0
BH
539142011-04-30 Bruno Haible <bruno@clisp.org>
53915
53916 [BZ #12717]
53917 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53918 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53919 to 'int'.
53920 * inet/getnameinfo.c (getnameinfo): Likewise.
53921
125ee683
UD
539222011-04-29 Ulrich Drepper <drepper@gmail.com>
53923
53924 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53925 to groups setting in database lookup.
53926 * nss/nsswitch.conf: Add initgroups entry.
53927
b722481a
EB
539282011-04-22 Ulrich Drepper <drepper@gmail.com>
53929
53930 [BZ #12685]
53931 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53932 mode string.
53933 Patch by Eric Blake <eblake@redhat.com>.
53934
4df46dbd
L
539352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53936
53937 * sunrpc/Makefile (need-export-routines): Add svc_run.
53938 (routines): Remove svc_run.
53939 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53940 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53941 * sunrpc/svc_run.c (svc_run): Likewise.
53942 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53943
e84142d2
UD
539442011-04-21 Ulrich Drepper <drepper@gmail.com>
53945
53946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53947 problem in reallocation in last patch.
53948
877175d8
UD
539492011-04-20 Ulrich Drepper <drepper@gmail.com>
53950
53951 * sunrpc/Makefile: Move inclusion of Rules.
53952
ab8eed78
UD
539532011-04-19 Ulrich Drepper <drepper@gmail.com>
53954
53955 * nss/nss_files/files-initgroups.c: New file.
53956 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53957 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53958 _nss_files_initgroups_dyn.
53959
e3d8f584
RS
539602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53961
53962 * elf/elf.h (R_ARM_IRELATIVE): Define.
53963
af190f45
UD
539642011-04-19 Ulrich Drepper <drepper@gmail.com>
53965
53966 * po/ru.po: Update from translation team.
53967
53cf59ef
UD
539682011-04-17 Ulrich Drepper <drepper@gmail.com>
53969
53970 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53971 dependencies.
53972
4c559bcd
MF
539732011-02-06 Mike Frysinger <vapier@gentoo.org>
53974
53975 [BZ #12653]
53976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53977 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53981
4420675c
AS
539822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53983
53984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53985 differing bytes.
53986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53989
75ea32ab
UD
539902011-04-17 Ulrich Drepper <drepper@gmail.com>
53991
53992 [BZ #12420]
53993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53994 storing it.
53995 * stdlib/bug-getcontext.c: New file.
53996 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53997
27390476
AK
539982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53999
54000 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54001 instructions into .machine "z9-109".
54002 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54003 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54004
10442705
AK
540052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54006
54007 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54008 between environment variables and auxiliary vector.
54009
7b57bfe5
UD
540102011-04-16 Ulrich Drepper <drepper@gmail.com>
54011
54012 * Makefile: Add rules to build linkobj/libc.so.
54013 * include/libc-symbols.h: Define libc_hidden_nolink.
54014 * include/rpc/auth.h: Mark functions which are to be hidden.
54015 * include/rpc/auth_des.h: Likewise.
54016 * include/rpc/auth_unix.h: Likewise.
54017 * include/rpc/clnt.h: Likewise.
54018 * include/rpc/des_crypt.h: Likewise.
54019 * include/rpc/key_prot.h: Likewise.
54020 * include/rpc/pmap_clnt.h: Likewise.
54021 * include/rpc/pmap_prot.h: Likewise.
54022 * include/rpc/pmap_rmt.h: Likewise.
54023 * include/rpc/rpc_msg.h: Likewise.
54024 * include/rpc/svc.h: Likewise.
54025 * include/rpc/svc_auth.h: Likewise.
54026 * include/rpc/xdr.h: Likewise.
54027 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54028 * nss/Makefile: Likewise.
54029 * sunrpc/Makefile: Don't install headers. Build library with normal
54030 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54031 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54032 for the compat linking library. Remove use of INTDEF/INTUSE.
54033 * sunrpc/auth_none.c: Likewise.
54034 * sunrpc/auth_unix.c: Likewise.
54035 * sunrpc/authdes_prot.c: Likewise.
54036 * sunrpc/authuxprot.c: Likewise.
54037 * sunrpc/clnt_gen.c: Likewise.
54038 * sunrpc/clnt_perr.c: Likewise.
54039 * sunrpc/clnt_raw.c: Likewise.
54040 * sunrpc/clnt_simp.c: Likewise.
54041 * sunrpc/clnt_tcp.c: Likewise.
54042 * sunrpc/clnt_udp.c: Likewise.
54043 * sunrpc/clnt_unix.c: Likewise.
54044 * sunrpc/des_crypt.c: Likewise.
54045 * sunrpc/des_soft.c: Likewise.
54046 * sunrpc/get_myaddr.c: Likewise.
54047 * sunrpc/key_call.c: Likewise.
54048 * sunrpc/key_prot.c: Likewise.
54049 * sunrpc/netname.c: Likewise.
54050 * sunrpc/pm_getmaps.c: Likewise.
54051 * sunrpc/pm_getport.c: Likewise.
54052 * sunrpc/pmap_clnt.c: Likewise.
54053 * sunrpc/pmap_prot.c: Likewise.
54054 * sunrpc/pmap_prot2.c: Likewise.
54055 * sunrpc/pmap_rmt.c: Likewise.
54056 * sunrpc/publickey.c: Likewise.
54057 * sunrpc/rpc_cmsg.c: Likewise.
54058 * sunrpc/rpc_common.c: Likewise.
54059 * sunrpc/rpc_dtable.c: Likewise.
54060 * sunrpc/rpc_prot.c: Likewise.
54061 * sunrpc/rpc_thread.c: Likewise.
54062 * sunrpc/rtime.c: Likewise.
54063 * sunrpc/svc.c: Likewise.
54064 * sunrpc/svc_auth.c: Likewise.
54065 * sunrpc/svc_authux.c: Likewise.
54066 * sunrpc/svc_raw.c: Likewise.
54067 * sunrpc/svc_run.c: Likewise.
54068 * sunrpc/svc_simple.c: Likewise.
54069 * sunrpc/svc_tcp.c: Likewise.
54070 * sunrpc/svc_udp.c: Likewise.
54071 * sunrpc/svc_unix.c: Likewise.
54072 * sunrpc/svcauth_des.c: Likewise.
54073 * sunrpc/xcrypt.c: Likewise.
54074 * sunrpc/xdr.c: Likewise.
54075 * sunrpc/xdr_array.c: Likewise.
54076 * sunrpc/xdr_float.c: Likewise.
54077 * sunrpc/xdr_intXX_t.c: Likewise.
54078 * sunrpc/xdr_mem.c: Likewise.
54079 * sunrpc/xdr_rec.c: Likewise.
54080 * sunrpc/xdr_ref.c: Likewise.
54081 * sunrpc/xdr_sizeof.c: Likewise.
54082 * sunrpc/xdr_stdio.c: Likewise.
54083
e6c61494
UD
540842011-04-10 Ulrich Drepper <drepper@gmail.com>
54085
54086 [BZ #12650]
54087 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54088 * sysdeps/ia64/dl-tls.h: Likewise.
54089 * sysdeps/powerpc/dl-tls.h: Likewise.
54090 * sysdeps/s390/dl-tls.h: Likewise.
54091 * sysdeps/sh/dl-tls.h: Likewise.
54092 * sysdeps/sparc/dl-tls.h: Likewise.
54093 * sysdeps/x86_64/dl-tls.h: Likewise.
54094 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54095
34fe483e
AS
540962011-03-14 Andreas Schwab <schwab@redhat.com>
54097
54098 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54099 rpath element also skip the following colon.
54100 (expand_dynamic_string_token): Add is_path parameter and pass
54101 down to DL_DST_REQUIRED and _dl_dst_substitute.
54102 (decompose_rpath): Call expand_dynamic_string_token with
54103 non-zero is_path. Ignore empty rpaths.
54104 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54105 with zero is_path.
54106
f12a32e6
AS
541072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54108
54109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54110 Make cancelable.
54111
38a7d692
UD
541122011-04-09 Ulrich Drepper <drepper@gmail.com>
54113
54114 [BZ #12655]
54115 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54116 Patch by Filipe David Manana <fdmanana@apache.org>.
54117
e451d22b
AS
541182011-04-07 Andreas Schwab <schwab@redhat.com>
54119
54120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54121 Maintain aligned stack.
54122 (CHECK_RSP): Remove unused macro.
54123
dedc7c7b
UD
541242011-04-03 Ulrich Drepper <drepper@gmail.com>
54125
54126 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54128
94521213
UD
541292011-04-02 Ulrich Drepper <drepper@gmail.com>
54130
54131 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54132
8cb700c0 54133 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54134
0354e355
L
541352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54136
54137 [BZ #12518]
54138 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54139 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54140 * sysdeps/x86_64/memmove.c: New file.
54141 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54142 (memcpy): Renamed to ...
54143 (__new_memcpy): This.
54144 (memcpy): Provide GLIBC_2_14 memcpy.
54145 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54146 (memcpy): Provide GLIBC_2_2_5 memcpy.
54147
8593482f
UD
541482011-04-01 Ulrich Drepper <drepper@gmail.com>
54149
54150 [BZ #12631]
54151 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54152
81a5726b
AS
541532011-03-30 Andreas Schwab <schwab@redhat.com>
54154
54155 * misc/syncfs.c: New file.
54156 * misc/Makefile (routines): Add syncfs.
54157 * posix/unistd.h: Declare syncfs.
54158 * sysdeps/unix/syscalls.list: Add syncfs.
54159
00e5419f
AS
541602011-04-01 Andreas Schwab <schwab@redhat.com>
54161
54162 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54163 open_by_handle_at.
54164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54169 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54171
748876bf
UD
541722011-04-01 Ulrich Drepper <drepper@gmail.com>
54173
658e451d
UD
54174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54176 * sysdeps/unix/sysv/linux/powerpc/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
748876bf
UD
54182 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54183 sync_file_range.c with -fexceptions.
54184 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54185 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54186 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54187 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54188 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54191 sync_file_range as cancellation point
54192 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54193 now a wrapper around __call_sync_file_range with cancellation handling.
54194 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54196 function name to __call_sync_file_range.
54197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54198 Add call_sync_file_range.
748876bf 54199
6e63d5e1
AS
542002011-04-01 Andreas Schwab <schwab@redhat.com>
54201
54202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54203 bits/timex.h.
6e63d5e1 54204
46998f74
UD
542052011-04-01 Ulrich Drepper <drepper@gmail.com>
54206
4c1423ed
UD
54207 * iconv/iconv.h: Fix typo in comment.
54208 * io/fcntl.h: Likewise.
54209 * libio/stdio.h: Likewise.
54210 * posix/spawn.h: Likewise.
54211 * posix/unistd.h: Likewise.
54212 * stdlib/stdlib.h: Likewise.
54213 * time/time.h: Likewise.
54214 * wcsmbs/wchar.h: Likewise.
54215
158648c0
UD
54216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54217 open_by_handle): Add.
54218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54219 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54220 Augment a few comments.
54221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54226 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54227 open_by_handle.
54228
46998f74
UD
54229 * io/fcntl.h (AT_EMPTY_PATH): Define.
54230
83fe108b
UD
542312011-03-30 Ulrich Drepper <drepper@gmail.com>
54232
54233 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54234 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54235 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54236 to...
54237 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54238 * Versions.def: Add GLIBC_2.14.
54239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54240 Export.
83fe108b 54241
bb242059
UD
542422011-03-22 Ulrich Drepper <drepper@gmail.com>
54243
54244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54245 round counter.
54246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54247
c97a1282
L
542482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54249
54250 [BZ #12597]
54251 * string/test-strncmp.c (do_page_test): New function.
54252 (check2): Likewise.
54253 (test_main): Call check2.
54254 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54255
2a115601
UD
542562011-03-20 Ulrich Drepper <drepper@gmail.com>
54257
54258 [BZ #12587]
54259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54260 Handle cache information in CPU leaf 4.
54261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54262
8126d904
UD
542632011-03-18 Ulrich Drepper <drepper@gmail.com>
54264
042c49c6 54265 [BZ #12583]
8126d904
UD
54266 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54267 character representation.
54268 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54269
ccfe366e
RA
542702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54271
54272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54273 END(__isnan) to END(__isnanf) to match function entry point/label
54274 EALIGN(__isnanf,...).
54275
c6e13027
JJ
542762011-03-10 Jakub Jelinek <jakub@redhat.com>
54277
54278 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54279
33f85a3f
UD
542802011-03-10 Ulrich Drepper <drepper@gmail.com>
54281
028478fa
UD
54282 [BZ #12510]
54283 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54284 copy from the symbol referenced in the relocation to initialize the
54285 used variable.
54286 Patch by Piotr Bury <pbury@goahead.com>.
54287 * elf/Makefile: Add rules to build and tst-unique3.
54288 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54289 * elf/tst-unique3.cc: New file.
54290 * elf/tst-unique3.h: New file.
54291 * elf/tst-unique3lib.cc: New file.
54292 * elf/tst-unique3lib2.cc: New file.
54293
33f85a3f
UD
54294 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54295
03592fc7
MF
542962011-03-10 Mike Frysinger <vapier@gentoo.org>
54297
54298 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54299 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54300 to _start.
03592fc7 54301
6a5ee102
UD
543022011-03-06 Ulrich Drepper <drepper@gmail.com>
54303
54304 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54305 to-be-loaded object along a path to loader is ld.so.
54306
7e4ba49c
HJ
543072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54308 Ulrich Drepper <drepper@gmail.com>
54309
54310 * sysdeps/x86_64/memset.S: After aligning destination, code
54311 branches to different locations depending on the value of
54312 misalignment, when multiarch is enabled. Fix this.
54313
543142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54315
54316 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54317 Set _x86_64_preferred_memory_instruction for AMD processsors.
54318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54319 Set bit_Prefer_SSE_for_memop for AMD processors.
54320
13a804de
UD
543212011-03-04 Ulrich Drepper <drepper@gmail.com>
54322
54323 * libio/fmemopen.c (fmemopen): Optimize a bit.
54324
9d25c392
AS
543252011-03-03 Andreas Schwab <schwab@redhat.com>
54326
54327 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54328
a5543c6a
RM
543292011-03-03 Roland McGrath <roland@redhat.com>
54330
54331 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54332
012d35f7
DM
543332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54334
7e4ba49c 54335 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54336 __bzero_ultra1 instead of __memset_ultra1.
54337
4bff6e01
AS
543382011-02-23 Andreas Schwab <schwab@redhat.com>
54339 Ulrich Drepper <drepper@gmail.com>
54340
54341 [BZ #12509]
54342 * include/link.h (struct link_map): Add l_orig_initfini.
54343 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54344 returning unsuccessfully.
54345 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54346 close of a file loaded at startup, restore the original l_initfini
54347 list.
54348 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54349 list, store the pointer.
54350 * elf/Makefile ($(objpfx)noload-mem): New rule.
54351 (noload-ENV): Define.
54352 (tests): Add $(objpfx)noload-mem.
54353 * elf/noload.c: Include <memcheck.h>.
54354 (main): Call mtrace. Close all opened handles.
54355
f2092faf
AS
543562011-02-17 Andreas Schwab <schwab@redhat.com>
54357
54358 [BZ #12454]
54359 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54360 dependencies are missing.
54361
6c8a2e88
ST
543622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54363
f2092faf 54364 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54365 Hurd needs munmap.
54366 * sysdeps/mach/hurd/ifreq.h: New file.
54367
84a42118
PB
543682011-01-27 Petr Baudis <pasky@suse.cz>
54369 Ulrich Drepper <drepper@gmail.com>
54370
071f805e 54371 [BZ 12445]#
84a42118
PB
54372 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54373 to extend_alloca().
54374 * stdio-common/bug23.c: New file.
54375 * stdio-common/Makefile (tests): Add bug23.
54376
e23fe25b
AS
543772010-09-28 Andreas Schwab <schwab@redhat.com>
54378 Ulrich Drepper <drepper@gmail.com>
54379
54380 [BZ #12489]
54381 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54382 before performing relro protection. At old place add assertion
54383 to make sure nothing changed.
54384
d3f02e10
NS
543852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54386 Glauber de Oliveira Costa <glommer@gmail.com>
54387
54388 * elf/elf.h: Add new ARM TLS relocs.
54389
d55fd7a5
RA
543902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54391
54392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54393 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54394 cast from r3.
54395 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54396 'tests' variable.
54397 * sysdeps/wordsize-64/tst-writev.c: New file.
54398
2206397e
RA
543992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54400
54401 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54402 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54403 insns in _dl_start to prevent a TOC reference before relocs are
54404 resolved.
54405
e9433893
UD
544062011-02-15 Ulrich Drepper <drepper@gmail.com>
54407
54408 [BZ #12469]
54409 * Makeconfig: Remove RANLIB definition.
54410 * Makerules: Don't use RANLIB.
54411 * aclocal.m4: Remove ranlib test.
54412 * configure.in: No need to check for ranlib.
54413 * elf/rtld-Rules: Don't use RANLIB.
54414
f75286c6
ST
544152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54416
8e31c82d
ST
54417 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54418 protection macro.
54419 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54420 inclusion protection macro.
54421
f75286c6
ST
54422 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54423 SIGRTMIN and SIGRTMAX and print information in that case only when
54424 SIGRTMIN is defined.
54425
c1d0e639
JJ
544262011-02-11 Jakub Jelinek <jakub@redhat.com>
54427
54428 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54429 arginfo fn returning -1.
54430
54431 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54432 and thousands string is zero terminated.
54433
edf9294e
AS
544342011-02-03 Andreas Schwab <schwab@redhat.com>
54435
54436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54437 sysdeps/unix/sysv/linux/bits/socket.h.
54438
2b7e92df
ST
544392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54440
edf9294e
AS
54441 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54442 (__CPU_COUNT): Remove old macros.
54443 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54444 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54445 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54446 (__sched_cpualloc, __sched_cpufree): Add declarations.
54447
a4c7ea7b
UD
544482011-02-05 Ulrich Drepper <drepper@gmail.com>
54449
54450 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54451 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54452 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54453 (readdhstai): Return value of addhstaiX call.
54454 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54455 (addgrbyX): Return value returned by cache_addgr.
54456 (readdgrbyname): Return value returned by addgrbyX.
54457 (readdgrbygid): Likewise.
54458 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54459 (addpwbyX): Return value returned by cache_addpw.
54460 (readdpwbyname): Return value returned by addhstbyX.
54461 (readdpwbyuid): Likewise.
54462 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54463 (addservbyX): Return value returned by cache_addserv.
54464 (readdservbyname): Return value returned by addservbyX:
54465 (readdservbyport): Likewise.
54466 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54467 (addhstbyX): Return value returned by cache_addhst.
54468 (readdhstbyname): Return value returned by addhstbyX.
54469 (readdhstbyaddr): Likewise.
54470 (readdhstbynamev6): Likewise.
54471 (readdhstbyaddrv6): Likewise.
54472 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54473 (readdinitgroups): Return value returned by addinitgroupsX.
54474 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54475 (prune_cache): Keep track of timeout value of re-added entries.
54476 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54477 * nscd/nscd.h: Adjust prototypes of readd* functions.
54478
a0bf67cc
RM
544792011-02-04 Roland McGrath <roland@redhat.com>
54480
54481 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54482 (nis_stats): Likewise.
54483 * nis/nis_modify.c (nis_modify): Likewise.
54484 * nis/nis_remove.c (nis_remove): Likewise.
54485 * nis/nis_add.c (nis_add): Likewise.
54486
54487 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54488
54489 * posix/fnmatch_loop.c: Add some consts.
54490
54491 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54492
435b95eb
L
544932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54494
54495 [BZ #12460]
54496 * config.make.in (config-cflags-novzeroupper): Define.
54497 * configure.in: Substitute libc_cv_cc_novzeroupper.
54498 * elf/Makefile (AVX-CFLAGS): Define.
54499 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54500 (CFLAGS-tst-auditmod4a.c): Likewise.
54501 (CFLAGS-tst-auditmod4b.c): Likewise.
54502 (CFLAGS-tst-auditmod6b.c): Likewise.
54503 (CFLAGS-tst-auditmod6c.c): Likewise.
54504 (CFLAGS-tst-auditmod7b.c): Likewise.
54505 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54506
8517b15e
UD
545072011-02-02 Ulrich Drepper <drepper@gmail.com>
54508
54509 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54510 function to the callback.
54511 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54512
10a656fe
AS
545132011-02-02 Andreas Schwab <schwab@redhat.com>
54514
54515 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54516 of errno.
54517
968dad0a
UD
545182011-01-19 Ulrich Drepper <drepper@gmail.com>
54519
9f94d2ea 54520 [BZ #11724]
968dad0a
UD
54521 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54522 of constructors.
54523 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54524 of destructors.
54525 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54526
54527 [BZ #11724]
54528 * elf/Makefile: Add rules to build and run new test.
54529 * elf/tst-initorder.c: New file.
54530 * elf/tst-initorder.exp: New file.
54531 * elf/tst-initordera1.c: New file.
54532 * elf/tst-initordera2.c: New file.
54533 * elf/tst-initordera3.c: New file.
54534 * elf/tst-initordera4.c: New file.
54535 * elf/tst-initorderb1.c: New file.
54536 * elf/tst-initorderb2.c: New file.
54537 * elf/tst-order-a1.c: New file.
54538 * elf/tst-order-a2.c: New file.
54539 * elf/tst-order-a3.c: New file.
54540 * elf/tst-order-a4.c: New file.
54541 * elf/tst-order-b1.c: New file.
54542 * elf/tst-order-b2.c: New file.
54543 * elf/tst-order-main.c: New file.
54544 New test case by George Gensure <werkt0@gmail.com>.
54545
86e92359
UD
545462010-10-01 Andreas Schwab <schwab@redhat.com>
54547
54548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54549 decoding ACE if AI_CANONIDN.
54550
5d5732b0
UD
545512011-01-18 Ulrich Drepper <drepper@gmail.com>
54552
54553 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54554
a77e8cbc
UD
545552011-01-17 Ulrich Drepper <drepper@gmail.com>
54556
6392473f
UD
54557 * version.h (RELEASE): Bump for 2.13 release.
54558 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54559
620a0529
UD
54560 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54561
18ba70a5
UD
54562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54563 MADV_NOHUGEPAGE.
32465c3e
UD
54564 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54570
c0dafcf1
UD
54571 * posix/getconf.c: Update copyright year.
54572 * catgets/gencat.c: Likewise.
54573 * csu/version.c: Likewise.
54574 * debug/catchsegv.sh: Likewise.
54575 * debug/xtrace.sh: Likewise.
54576 * elf/ldconfig.c: Likewise.
54577 * elf/ldd.bash.in: Likewise.
54578 * elf/sprof.c (print_version): Likewise.
54579 * iconv/iconv_prog.c: Likewise.
54580 * iconv/iconvconfig.c: Likewise.
54581 * locale/programs/locale.c: Likewise.
54582 * locale/programs/localedef.c: Likewise.
54583 * malloc/memusage.sh: Likewise.
54584 * malloc/mtrace.pl: Likewise.
54585 * nscd/nscd.c (print_version): Likewise.
54586 * nss/getent.c: Likewise.
54587
a77e8cbc
UD
54588 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54589 PF_CAIF, and PF_ALG.
54590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54591
77e8bddf
AS
545922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54593
1f20b93a
AS
54594 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54595 (modules-names): Use them.
54596 (ifunc-test-modules, ifunc-pie-tests): Define.
54597 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54598 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54599 (test-extras): Likewise.
54600 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54601 $(compile-command.c).
54602 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54603 (all-built-dso): Define.
54604 (check-textrel.out, check-execstack.out): Depend on it.
54605
77e8bddf
AS
54606 * configure.in: Don't override --enable-multi-arch.
54607
bc425b33
UD
546082011-01-15 Ulrich Drepper <drepper@gmail.com>
54609
54610 [BZ #6812]
54611 * nscd/hstcache.c (tryagain): Define.
54612 (cache_addhst): Return tryagain not notfound for temporary errors.
54613 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54614 failed.
54615
794c3ad3
UD
546162011-01-14 Ulrich Drepper <drepper@gmail.com>
54617
70181fdd
UD
54618 [BZ #10563]
54619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54620 to make the syscall.
54621 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54622
794c3ad3
UD
54623 [BZ #12378]
54624 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54625 and fall back to matching as normal character if the string ends before
54626 the matching ']' is found. This is what POSIX requires.
54627 * posix/testfnm.c: Adjust test result.
54628 * posix/globtest.sh: Adjust test result. Add new test.
54629 * posix/tst-fnmatch.input: Likewise.
54630 * posix/tst-fnmatch2.c: Add new test.
54631
68dc9497
AS
546322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54633
54634 * elf/Makefile (check-execstack): Revert last change. Depend on
54635 check-execstack.h.
54636 (check-execstack.h): New target.
54637 (generated): Add check-execstack.h.
54638 * elf/check-execstack.c: Include "check-execstack.h".
54639 (main): Revert last change.
54640 (handle_file): Return zero if GNU_STACK is absent and
54641 DEFAULT_STACK_PERMS doesn't include PF_X.
54642
451f001b
UD
546432011-01-13 Ulrich Drepper <drepper@gmail.com>
54644
cfa28e56
UD
54645 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54646 in child fails because the descriptor is already closed.
8cf8ce17
UD
54647 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54648 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54650
1086d70d
UD
54651 [BZ #12397]
54652 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54653 syscall.
54654
451f001b
UD
54655 [BZ #10484]
54656 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54657 temporary buffer used to handle multi lookups locally.
a85b5cb4 54658 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54659
08769175
UD
546602011-01-12 Ulrich Drepper <drepper@gmail.com>
54661
54662 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54663 loader is ld.so.
54664
5e49c52e
UD
546652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54666
54667 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54668 alignment for SSE2.
54669
60522a5f
UD
546702011-01-12 Ulrich Drepper <drepper@gmail.com>
54671
54672 [BZ #12394]
54673 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54674 characters. When rounding increased number of integer digits recompute
54675 number of groups.
54676 * stdio-common/tst-grouping.c: New file.
54677 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54678
f257bbd7
UD
546792011-01-09 Ulrich Drepper <drepper@gmail.com>
54680
54681 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54682 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54683
54684 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54685 void.
54686 * bits/select.h: Likewise.
54687
fa9c15cb
UD
546882011-01-08 Ulrich Drepper <drepper@gmail.com>
54689
54690 * po/ja.po: Update from translation team.
54691
16c2895f
DM
546922011-01-04 David S. Miller <davem@sunset.davemloft.net>
54693
54694 [BZ #11155]
54695 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54696 implementation just like for lxstat, fxstatat, et al.
54697
2543fef2
JM
546982010-12-27 Jim Meyering <meyering@redhat.com>
54699
54700 [BZ #12348]
54701 * posix/regexec.c (build_trtable): Return failure indication upon
54702 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54703
98727dbe
UD
547042010-12-25 Ulrich Drepper <drepper@gmail.com>
54705
5bd6dc5c
UD
54706 [BZ #12201]
54707 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54708 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54710 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54711
97983464
UD
54712 [BZ #12207]
54713 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54714
98727dbe
UD
54715 [BZ #12204]
54716 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54717 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54718
4a531bb0
L
547192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54720
54721 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54722 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54723 script has SORT_BY_INIT_PRIORITY.
54724 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54725 NO_CTORS_DTORS_SECTIONS is defined.
54726 * elf/soinit.c: Likewise.
54727 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54728 NO_CTORS_DTORS_SECTIONS is defined.
54729 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54730 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54731 * sysdeps/sh/init-first.c: Likewise.
54732 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54733
07eb4b71
UD
547342010-12-24 Ulrich Drepper <drepper@gmail.com>
54735
54736 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54737 always use the slow path.
54738
30950a5f
RA
547392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54740
54741 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54742 similar rule which adds the sysdep directories to the header search in
54743 order to pick up the correct platform stackinfo.h.
54744 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54745 perform test if it is, otherwise return successfully without testing.
54746 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54747 DEFAULT_STACK_PERMS define in stackinfo.h.
54748 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54749 defined in stackinfo.h.
54750 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54751 DEFAULT_STACK_PERMS defined in stackinfo.h.
54752 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54753 * sysdeps/ia64/stackinfo.h: Likewise.
54754 * sysdeps/s390/stackinfo.h: Likewise.
54755 * sysdeps/sh/stackinfo.h: Likewise.
54756 * sysdeps/sparc/stackinfo.h: Likewise.
54757 * sysdeps/x86_64/stackinfo.h: Likewise.
54758 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54759 PF_X for powerpc64. Retain PF_X for powerpc32.
54760
db753e2c
UD
547612010-12-19 Ulrich Drepper <drepper@gmail.com>
54762
14b697f7
UD
54763 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54764 accurately.
db753e2c
UD
54765 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54766 GETDENTS_64BIT_ALIGNED.
54767
28300719
UD
547682010-12-14 Ulrich Drepper <dreper@gmail.com>
54769
14b697f7 54770 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54771
4f197237
AS
547722010-12-10 Andreas Schwab <schwab@redhat.com>
54773
dbb0472f
AS
54774 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54775 _GNU_SOURCE.
54776
4f197237
AS
54777 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54778 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54779 Remove __restrict.
54780 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54781 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54782
fb88ac72
UD
547832010-12-09 Ulrich Drepper <drepper@gmail.com>
54784
54785 [BZ #11655]
54786 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54787 are initialized.
54788
42acbb92
JJ
547892010-12-09 Jakub Jelinek <jakub@redhat.com>
54790
54791 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54792
c038d98d
UD
547932010-12-03 Ulrich Drepper <drepper@gmail.com>
54794
54795 * po/it.po: Update from translation team.
54796
3a4a2499
L
547972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54798
54799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54800 unused codes.
54801
1e24cf6e
UD
548022010-11-30 Ulrich Drepper <drepper@gmail.com>
54803
54804 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54805
a7690819
AS
548062010-11-24 Andreas Schwab <schwab@redhat.com>
54807
54808 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54809 specially.
54810 (gaih_getanswer_slice): Likewise.
54811
3bf8d1b1
JJ
548122010-10-20 Jakub Jelinek <jakub@redhat.com>
54813
54814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54815
6db52fbb
PB
548162010-05-31 Petr Baudis <pasky@suse.cz>
54817
54818 [BZ #11149]
54819 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54820 silently even in the chroot mode.
54821
eaca7569
UD
548222010-11-22 Ulrich Drepper <drepper@gmail.com>
54823
54824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54825 last patch a bit. Pretty printing
54826
3056dcdb
UD
548272010-05-31 Petr Baudis <pasky@suse.cz>
54828
54829 [BZ #10085]
54830 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54831 initialization of skip_initgroups_dyn.
54832
cf7c9078
UD
548332010-11-19 Ulrich Drepper <drepper@gmail.com>
54834
54835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54836 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54837
a1fb5e3e
UD
548382010-11-16 Ulrich Drepper <drepper@gmail.com>
54839
54840 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54841
3540d66b
AS
548422010-11-11 Andreas Schwab <schwab@redhat.com>
54843
54844 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54845 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54846 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54847 ($(objpfx)tst-fnmatch-mem): New rule.
54848 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54849 * posix/tst-fnmatch.c (main): Call mtrace.
54850
13b69574
L
548512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54852
54853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54854 Support Intel processor model 6 and model 0x2c.
54855
da93d214
LM
548562010-11-10 Luis Machado <luisgpm@br.ibm.com>
54857
54858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54859 signed comparison.
54860
8ca52c6e
L
548612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54862
54863 [BZ #12205]
54864 * string/test-strncasecmp.c (check_result): New function.
54865 (do_one_test): Use it.
54866 (check1): New function.
54867 (test_main): Use it.
54868 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54869 Support strcasecmp and strncasecmp.
54870
69da074d
UD
548712010-11-08 Ulrich Drepper <drepper@gmail.com>
54872
54873 [BZ #12194]
54874 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54876
ff02d528
L
548772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54878
54879 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54880 IFUNC support.
54881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54882 memset-x86-64.
54883 * sysdeps/x86_64/multiarch/bzero.S: New file.
54884 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54885 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54886 * sysdeps/x86_64/multiarch/memset.S: New file.
54887 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54889 Set bit_Prefer_SSE_for_memop for Intel processors.
54890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54891 Define.
54892 (index_Prefer_SSE_for_memop): Define.
54893 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54894
344d0b54
LM
548952010-11-04 Luis Machado <luisgpm@br.ibm.com>
54896
54897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54899
c0dde15b
UD
549002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54901
54902 [BZ #12191]
54903 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54904 (__x86_64_raw_data_cache_size_half): Likewise.
54905 (__x86_64_raw_shared_cache_size): Likewise.
54906 (__x86_64_raw_shared_cache_size_half): Likewise.
54907
54908 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54909 (__x86_64_raw_data_cache_size_half): Likewise.
54910 (__x86_64_raw_shared_cache_size): Likewise.
54911 (__x86_64_raw_shared_cache_size_half): Likewise.
54912 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54913 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54914 and __x86_64_raw_shared_cache_size_half. Round
54915 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54916 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54917 to multiple of 256 bytes.
54918
0e516e0e
MS
549192010-11-03 Ulrich Drepper <drepper@gmail.com>
54920
54921 [BZ #12167]
54922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54923 of inacessible symlinks. Verify result of symlink before returning it.
54924 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54925 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54926
0e012e87
ER
549272010-10-28 Erich Ritz <erichritz@gmail.com>
54928
54929 * math/math.h (isinf): Fix typo in comment.
54930
de0ff7bc
UD
549312010-11-01 Ulrich Drepper <drepper@gmail.com>
54932
54933 * po/da.po: Update from translation team.
54934
fa41c84d
UD
549352010-10-26 Ulrich Drepper <drepper@gmail.com>
54936
54937 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54938 is added to the list.
54939
f0967738
AK
549402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54941 Ulrich Drepper <drepper@gmail.com>
54942
54943 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54944 the global list here. Move code to...
54945 (_dl_add_to_namespace_list): ...here. New function.
54946 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54947 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54948 * elf/dl-load.c (lose): Don't remove the element from the list.
54949 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54950 (_dl_map_object): Likewise.
54951
549522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54953
54954 [BZ #12159]
54955 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54956 into all bytes of SSE register.
54957 Patch by Richard Li <richardpku@gmail.com>.
54958
f0967738 549592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54960
54961 [BZ #12140]
54962 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54963 perturbing.
54964
d0b9e94f
MB
549652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54966
54967 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54968 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54972 submachine.
54973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54974
8e9f92e9
AS
549752010-10-22 Andreas Schwab <schwab@redhat.com>
54976
54977 * include/dlfcn.h (__RTLD_SECURE): Define.
54978 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54979 mode & __RTLD_SECURE instead.
54980 (open_path): Rename preloaded parameter to secure.
54981 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54982 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54983 * elf/dl-deps.c (openaux): Likewise.
54984 * elf/rtld.c (struct map_args): Remove is_preloaded.
54985 (map_doit): Don't use it.
54986 (dl_main): Likewise.
54987 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54988 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54989
bc96fbda
AS
549902010-09-09 Andreas Schwab <schwab@redhat.com>
54991
54992 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54993 (sysd-rules-targets): Remove duplicates.
54994 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54995 rtld-%.$o dependency.
54996
22cd1c9b
AS
549972010-10-18 Andreas Schwab <schwab@redhat.com>
54998
54999 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55000 _dl_map_object do it.
55001
18edac48
UD
550022010-10-19 Ulrich Drepper <drepper@gmail.com>
55003
55004 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55005 fast fma builtins, define the macros in the C99 standard.
55006 (FP_FAST_FMAF): Likewise.
55007 (FP_FAST_FMAL): Likewise.
55008 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55009
55010 * bits/mathdef.h: Update copyright year.
55011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55012
d2050124
MM
550132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55014
55015 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55016 builtins, define the macros in the C99 standard.
55017 (FP_FAST_FMAF): Likewise.
55018 (FP_FAST_FMAL): Likewise.
55019 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55020 multiply/add.
55021 (FP_FAST_FMAF): Likewise.
55022
475facd1
JJ
550232010-10-15 Jakub Jelinek <jakub@redhat.com>
55024
55025 [BZ #3268]
55026 * math/libm-test.inc (fma_test): Some new testcases.
55027 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55029 y and infinite z. Do multiplication by C already in long double.
55030 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55032 y and infinite z. Do bitwise or of inexact bit into u.d.
55033 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55034 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55035 * sysdeps/i386/fpu/s_fma.S: Removed.
55036 * sysdeps/i386/fpu/s_fmal.S: Removed.
55037
7c08a05c
JJ
550382010-10-16 Jakub Jelinek <jakub@redhat.com>
55039
55040 [BZ #3268]
55041 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55043 computation is not scheduled after fetestexcept. Fix value
55044 of minimum denormal long double.
55045
f3f7372d
JJ
550462010-10-14 Jakub Jelinek <jakub@redhat.com>
55047
55048 [BZ #3268]
55049 * math/libm-test.inc (fma_test): Add some more tests.
55050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55051 correctly.
55052
14d43591
AS
550532010-10-15 Andreas Schwab <schwab@redhat.com>
55054
55055 * scripts/data/localplt-s390-linux-gnu.data: New file.
55056 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55057
5e908464
JJ
550582010-10-13 Jakub Jelinek <jakub@redhat.com>
55059
55060 [BZ #3268]
55061 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55062 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55063 instead of dbl-64.
55064 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55065 inlines.
55066 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55068 if one of x and y is very large and the other is subnormal.
55069 * sysdeps/s390/fpu/s_fmaf.c: New file.
55070 * sysdeps/s390/fpu/s_fma.c: New file.
55071 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55072 * sysdeps/powerpc/fpu/s_fma.S: New file.
55073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55074 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55075 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55076
550772010-10-12 Jakub Jelinek <jakub@redhat.com>
55078
55079 [BZ #3268]
55080 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55081 fma tests.
55082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55083 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55084 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55085 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55086 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55087 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55088 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55089
b833d51f
UD
550902010-10-12 Ulrich Drepper <drepper@redhat.com>
55091
55092 [BZ #12078]
55093 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55094 * posix/bug-regex31.input: Add test case.
55095
1751705d
UD
550962010-10-11 Ulrich Drepper <drepper@gmail.com>
55097
e9b9cbf5
UD
55098 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55099 * posix/bug-regex31.input: New file.
55100
55101 [BZ #12078]
55102 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55103 (parse_sub_exp): Fix last change, use postorder.
55104
ef06edbe
UD
55105 * posix/bug-regex31.c: New file.
55106 * posix/Makefile: Add rules to build and run bug-regex31.
55107
a129c80d
UD
55108 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55109
55110 [BZ #12078]
55111 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55112
b76b818e
UD
55113 [BZ #12108]
55114 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55115 to have entries in sys_siglist.
55116
1751705d
UD
55117 [BZ #12093]
55118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55119 be NULL.
55120
9ff8d36f
JJ
551212010-10-07 Jakub Jelinek <jakub@redhat.com>
55122
55123 [BZ #3268]
55124 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55125 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55126 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55127 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55128 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55129 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55130 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55131 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55132 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55133 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55134 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55135 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55136 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55137 * math/ftestexcept.c (fetestexcept): Likewise.
55138 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55139 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55140 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55141 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55142 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55143 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55145
af325969
UD
551462010-10-11 Ulrich Drepper <drepper@gmail.com>
55147
c579b202 55148 [BZ #12107]
af325969
UD
55149 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55150 newline.
55151
67a67b95
UD
551522010-10-06 Ulrich Drepper <drepper@gmail.com>
55153
55154 * string/bug-strstr1.c: New file.
55155 * string/Makefile: Add rules to build and run bug-strstr1.
55156
5fb308bc
EB
551572010-10-05 Eric Blake <eblake@redhat.com>
55158
55159 [BZ #12092]
55160 * string/str-two-way.h (two_way_long_needle): Always clear memory
55161 when skipping input due to the shift table.
55162
45db99c7
UD
551632010-10-03 Ulrich Drepper <drepper@gmail.com>
55164
3b111893
UD
55165 [BZ #12005]
55166 * malloc/mcheck.c: Handle large requests.
55167
45db99c7
UD
55168 [BZ #12077]
55169 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55170 for strncmp and strncasecmp.
55171 * string/stratcliff.c: Add tests for strcmp and strncmp.
55172 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55173
cf7a1eb8
NI
551742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55175
55176 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55177 __set_fpscr.
55178
6484ba5e
AJ
551792010-09-30 Andreas Jaeger <aj@suse.de>
55180
55181 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55182 (CGROUP_SUPER_MAGIC): Define.
55183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55184 Handle btrfs and cgroup file systems.
55185 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55186 Likewise.
55187
91c42559
LM
551882010-09-27 Luis Machado <luisgpm@br.ibm.com>
55189
55190 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55191 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55192
87a97932
AK
551932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55194
55195 [BZ #12067]
55196 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55197 trying to locate the ELF header.
55198
c21cc9bc
AS
551992010-09-27 Andreas Schwab <schwab@redhat.com>
55200
55201 [BZ #11611]
55202 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55203 Mask out sign-bit copies when constructing f_fsid.
55204
315970f6
PB
552052010-09-24 Petr Baudis <pasky@suse.cz>
55206
55207 * debug/stack_chk_fail_local.c: Add missing licence exception.
55208 * debug/warning-nop.c: Likewise.
55209
1ac7a2c7
JM
552102010-09-15 Joseph Myers <joseph@codesourcery.com>
55211
55212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55213 implementing getdents64 using getdents syscall, set d_type if
55214 __ASSUME_GETDENTS32_D_TYPE.
55215
56801c50
AS
552162010-09-16 Andreas Schwab <schwab@redhat.com>
55217
55218 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55219 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55220
dda51327
UD
552212010-09-21 Ulrich Drepper <drepper@redhat.com>
55222
55223 [BZ #12037]
55224 * posix/unistd.h: Undo change of feature selection for ftruncate from
55225 2010-01-11.
55226
8ffcee4a
UD
552272010-09-20 Ulrich Drepper <drepper@redhat.com>
55228
a545ecd9 55229 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55230 detection.
55231
e24f0a8b
AS
552322010-09-20 Andreas Schwab <schwab@redhat.com>
55233
55234 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55235 fanotify_mark.
55236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55237
7291c56f
AS
552382010-09-14 Andreas Schwab <schwab@redhat.com>
55239
55240 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55241 variables after CHECK_SP call.
55242 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55243
bc5fb037
AS
552442010-09-13 Andreas Schwab <schwab@redhat.com>
55245 Ulrich Drepper <drepper@redhat.com>
55246
55247 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55248 re-relocationg ld.so.
55249 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55250 _dl_init_paths call.
55251 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55252 here anymore.
55253
e66e7419
UD
552542010-09-14 Ulrich Drepper <drepper@redhat.com>
55255
55256 * resolv/res_init.c (__res_vinit): Count the default server we added.
55257
c044aa75
CLT
552582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55259 Ulrich Drepper <drepper@redhat.com>
55260
55261 [BZ #11968]
55262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55263 (____longjmp_chk): Use %ebx for saving value across system call.
55264 Add unwind info.
55265
32cf4069
AS
552662010-09-06 Andreas Schwab <schwab@redhat.com>
55267
55268 * manual/Makefile: Don't mix pattern rules with normal rules.
55269
817328ee
AS
552702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55271
55272 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55273 operation.
55274 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55275 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55276 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55277 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55279 Likewise.
55280
29fddf61
UD
552812010-09-04 Ulrich Drepper <drepper@redhat.com>
55282
55283 [BZ #11979]
55284 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55285 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55286
0959ffc9
UD
552872010-09-02 Ulrich Drepper <drepper@redhat.com>
55288
55289 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55290 * sysdeps/x86_64/addmul_1.S: Likewise.
55291 * sysdeps/x86_64/lshift.S: Likewise.
55292 * sysdeps/x86_64/mul_1.S: Likewise.
55293 * sysdeps/x86_64/rshift.S: Likewise.
55294 * sysdeps/x86_64/sub_n.S: Likewise.
55295 * sysdeps/x86_64/submul_1.S: Likewise.
55296
ece29840
ST
552972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55298
0959ffc9
UD
55299 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55300 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55301 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55302 * bits/sched.h [__need_schedparam]
ece29840 55303 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55304 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55305 (__defined_schedparam): Define to 1.
ece29840
ST
55306 (__sched_param): New structure, identical to sched_param.
55307 (__need_schedparam): Undefine.
55308
e53a31fe
MF
553092010-08-31 Mike Frysinger <vapier@gentoo.org>
55310
fdc0c10d
MF
55311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55312 (epoll_create1): Declare.
55313
e53a31fe
MF
55314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55315
a726d796
AS
553162010-08-31 Andreas Schwab <schwab@redhat.com>
55317
55318 [BZ #7066]
55319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55320 shifting retval into place.
55321
2f3e3dc7
UD
553222010-09-01 Ulrich Drepper <drepper@redhat.com>
55323
f2933da9
UD
55324 * nis/rpcsvc/nis.h: Update copyright notice.
55325 * nis/rpcsvc/nis.x: Likewise.
55326 * nis/rpcsvc/nis_callback.h: Likewise.
55327 * nis/rpcsvc/nis_callback.x: Likewise.
55328 * nis/rpcsvc/nis_object.x: Likewise.
55329 * nis/rpcsvc/nis_tags.h: Likewise.
55330 * nis/rpcsvc/yp.h: Likewise.
55331 * nis/rpcsvc/yp.x: Likewise.
55332 * nis/rpcsvc/ypupd.h: Likewise.
55333 * nis/yp_xdr.c: Likewise.
55334 * nis/ypupdate_xdr.c: Likewise.
55335
2f3e3dc7
UD
55336 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55337 mainly the body of pmap_getport. Add parameters to specify timeouts.
55338 (pmap_getport): Use __libc_rpc_getport.
55339 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55340 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55341 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55342
f3dcc2f9
AS
553432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55344
55345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55346 fanotify_mark.
55347
6d34eb5b
RM
553482010-08-27 Roland McGrath <roland@redhat.com>
55349
55350 * sysdeps/i386/i686/multiarch/Makefile
55351 (CFLAGS-varshift.c): New variable.
55352
9ea3de11
UD
553532010-08-27 Ulrich Drepper <drepper@redhat.com>
55354
c96d23fc
UD
55355 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55356 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55357
9ea3de11
UD
55358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55359
55360 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55361
623aac7f
L
553622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55363
55364 * sysdeps/x86_64/strlen.S: Unroll the loop.
55365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55366 strlen-sse2 strlen-sse2-bsf.
55367 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55368 __strlen_no_bsf if bit_Slow_BSF is set.
55369 (__strlen_sse42): Removed.
55370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55371 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55372
8b2b7715
RM
553732010-08-25 Roland McGrath <roland@redhat.com>
55374
55375 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55376 * sysdeps/x86_64/multiarch/varshift.c: New file.
55377 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55378 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55379 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55381
e73015f2
L
553822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55383
55384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55385 strlen-sse2 strlen-sse2-bsf.
55386 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55387 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55388 (__strlen_sse2): Removed.
55389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55392 bit_Slow_BSF for Atom.
55393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55394 (index_Slow_BSF): Define.
55395 (HAS_SLOW_BSF): Define.
55396
df24a73e
UD
553972010-08-25 Ulrich Drepper <drepper@redhat.com>
55398
55399 [BZ #10851]
55400 * resolv/res_init.c (__res_vinit): When no server address at all
55401 is given default to loopback.
55402
f2ac4868
RM
554032010-08-24 Roland McGrath <roland@redhat.com>
55404
09055553
RM
55405 * configure.in: Remove config-name.h generation.
55406 * configure: Regenerated.
55407 * config-name.in: File removed.
55408 * scripts/config-uname.sh: New file.
55409 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55410 ($(objdir)config-name.h): New target.
55411
f2ac4868
RM
55412 * sunrpc/rpc_parse.h: Avoid nested comment.
55413
73f27d5e
RH
554142010-08-24 Richard Henderson <rth@redhat.com>
55415 Ulrich Drepper <drepper@redhat.com>
55416 H.J. Lu <hongjiu.lu@intel.com>
55417
55418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55420 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55421 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55422 _mm_alignr_epi8 with _mm_loadu_si128.
55423 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55424 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55425 (__m128i_shift_right): Removed.
55426 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55427 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55428 * sysdeps/x86_64/multiarch/varshift.h: New file.
55429 * sysdeps/x86_64/multiarch/varshift.S: New file.
55430
84b9230c
MF
554312010-08-21 Mike Frysinger <vapier@gentoo.org>
55432
55433 * configure.in: Move assembler checks to before sysdep dir checking.
55434
9bbd0ddc
PB
554352010-08-20 Petr Baudis <pasky@suse.cz>
55436
55437 * LICENSES: Sync the sunrpc license.
55438
9da4bb31
UD
554392010-08-19 Ulrich Drepper <drepper@redhat.com>
55440
a7ab6ec8
UD
55441 * sunrpc/auth_des.c: Update copyright notice once again.
55442 * sunrpc/auth_none.c: Likewise.
55443 * sunrpc/auth_unix.c: Likewise.
55444 * sunrpc/authdes_prot.c: Likewise.
55445 * sunrpc/authuxprot.c: Likewise.
55446 * sunrpc/bindrsvprt.c: Likewise.
55447 * sunrpc/clnt_gen.c: Likewise.
55448 * sunrpc/clnt_perr.c: Likewise.
55449 * sunrpc/clnt_raw.c: Likewise.
55450 * sunrpc/clnt_simp.c: Likewise.
55451 * sunrpc/clnt_tcp.c: Likewise.
55452 * sunrpc/clnt_udp.c: Likewise.
55453 * sunrpc/clnt_unix.c: Likewise.
55454 * sunrpc/des_crypt.c: Likewise.
55455 * sunrpc/des_soft.c: Likewise.
55456 * sunrpc/get_myaddr.c: Likewise.
55457 * sunrpc/getrpcport.c: Likewise.
55458 * sunrpc/key_call.c: Likewise.
55459 * sunrpc/key_prot.c: Likewise.
55460 * sunrpc/openchild.c: Likewise.
55461 * sunrpc/pm_getmaps.c: Likewise.
55462 * sunrpc/pm_getport.c: Likewise.
55463 * sunrpc/pmap_clnt.c: Likewise.
55464 * sunrpc/pmap_prot.c: Likewise.
55465 * sunrpc/pmap_prot2.c: Likewise.
55466 * sunrpc/pmap_rmt.c: Likewise.
55467 * sunrpc/rpc/auth.h: Likewise.
55468 * sunrpc/rpc/auth_unix.h: Likewise.
55469 * sunrpc/rpc/clnt.h: Likewise.
55470 * sunrpc/rpc/des_crypt.h: Likewise.
55471 * sunrpc/rpc/key_prot.h: Likewise.
55472 * sunrpc/rpc/netdb.h: Likewise.
55473 * sunrpc/rpc/pmap_clnt.h: Likewise.
55474 * sunrpc/rpc/pmap_prot.h: Likewise.
55475 * sunrpc/rpc/pmap_rmt.h: Likewise.
55476 * sunrpc/rpc/rpc.h: Likewise.
55477 * sunrpc/rpc/rpc_des.h: Likewise.
55478 * sunrpc/rpc/rpc_msg.h: Likewise.
55479 * sunrpc/rpc/svc.h: Likewise.
55480 * sunrpc/rpc/svc_auth.h: Likewise.
55481 * sunrpc/rpc/types.h: Likewise.
55482 * sunrpc/rpc/xdr.h: Likewise.
55483 * sunrpc/rpc_clntout.c: Likewise.
55484 * sunrpc/rpc_cmsg.c: Likewise.
55485 * sunrpc/rpc_common.c: Likewise.
55486 * sunrpc/rpc_cout.c: Likewise.
55487 * sunrpc/rpc_dtable.c: Likewise.
55488 * sunrpc/rpc_hout.c: Likewise.
55489 * sunrpc/rpc_main.c: Likewise.
55490 * sunrpc/rpc_parse.c: Likewise.
55491 * sunrpc/rpc_parse.h: Likewise.
55492 * sunrpc/rpc_prot.c: Likewise.
55493 * sunrpc/rpc_sample.c: Likewise.
55494 * sunrpc/rpc_scan.c: Likewise.
55495 * sunrpc/rpc_scan.h: Likewise.
55496 * sunrpc/rpc_svcout.c: Likewise.
55497 * sunrpc/rpc_tblout.c: Likewise.
55498 * sunrpc/rpc_util.c: Likewise.
55499 * sunrpc/rpc_util.h: Likewise.
55500 * sunrpc/rpcinfo.c: Likewise.
55501 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55502 * sunrpc/rpcsvc/key_prot.x: Likewise.
55503 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55504 * sunrpc/rpcsvc/mount.x: Likewise.
55505 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55506 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55507 * sunrpc/rpcsvc/rex.x: Likewise.
55508 * sunrpc/rpcsvc/rstat.x: Likewise.
55509 * sunrpc/rpcsvc/rusers.x: Likewise.
55510 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55511 * sunrpc/rpcsvc/spray.x: Likewise.
55512 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55513 * sunrpc/rtime.c: Likewise.
55514 * sunrpc/svc.c: Likewise.
55515 * sunrpc/svc_auth.c: Likewise.
55516 * sunrpc/svc_authux.c: Likewise.
55517 * sunrpc/svc_raw.c: Likewise.
55518 * sunrpc/svc_run.c: Likewise.
55519 * sunrpc/svc_simple.c: Likewise.
55520 * sunrpc/svc_tcp.c: Likewise.
55521 * sunrpc/svc_udp.c: Likewise.
55522 * sunrpc/svc_unix.c: Likewise.
55523 * sunrpc/svcauth_des.c: Likewise.
55524 * sunrpc/xcrypt.c: Likewise.
55525 * sunrpc/xdr.c: Likewise.
55526 * sunrpc/xdr_array.c: Likewise.
55527 * sunrpc/xdr_float.c: Likewise.
55528 * sunrpc/xdr_mem.c: Likewise.
55529 * sunrpc/xdr_rec.c: Likewise.
55530 * sunrpc/xdr_ref.c: Likewise.
55531 * sunrpc/xdr_sizeof.c: Likewise.
55532 * sunrpc/xdr_stdio.c: Likewise.
55533
9da4bb31
UD
55534 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55535 handling.
55536
bdaa77bc
AS
555372010-08-19 Andreas Schwab <schwab@redhat.com>
55538
55539 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55540
fe2f79db
LM
555412010-08-19 Luis Machado <luisgpm@br.ibm.com>
55542
55543 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55545 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55546 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55548 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55550 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55552 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55553 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55554 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55555 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55556 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55557
b9b42ee0
AB
555582010-07-26 Anton Blanchard <anton@samba.org>
55559
55560 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55561 * malloc/arena.c (heap_trim): Likewise.
55562
1c06ba31
UD
555632010-08-16 Ulrich Drepper <drepper@redhat.com>
55564
55565 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55566 here. Not...
55567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55568 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55569
f8392f40
L
555702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55571
55572 * sysdeps/i386/elf/Makefile: New file.
55573
3162f12e
AS
555742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55575
55576 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55577 from fanotify_init.
55578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55580
28c90b2c
UD
555812010-08-15 Ulrich Drepper <drepper@redhat.com>
55582
55583 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55584 of strncasecmp_l.
1feccb6c 55585 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55586
ca6bb004
UD
555872010-08-14 Ulrich Drepper <drepper@redhat.com>
55588
e9f82e0d
UD
55589 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55590 strncase_l-nonascii.
55591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55592 Add strncase_l-ssse3.
55593 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55594 * sysdeps/x86_64/strcmp.S: Likewise.
55595 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55596 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55597 * sysdeps/x86_64/strncase.S: New file.
55598 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55599 * sysdeps/x86_64/strncase_l.S: New file.
55600 * string/Makefile (strop-tests): Add strncasecmp.
55601 * string/test-strncasecmp.c: New file.
55602
55603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55604 warning.
55605
ca6bb004
UD
55606 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55607 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55608
052fa7b3
AS
556092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55610
55611 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55612
962dba78
UD
556132010-08-12 Ulrich Drepper <drepper@redhat.com>
55614
55615 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55617 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55618
bebff237
AM
556192010-05-01 Alan Modra <amodra@gmail.com>
55620
55621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55622 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55623 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55624 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55625 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55626 tidying. Don't tail-call __sigjmp_save for static lib.
55627 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55628 save location.
55629 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55630 (CALL_MCOUNT): Add eh info, and nop after bl.
55631 (TAIL_CALL_SYSCALL_ERROR): New macro.
55632 (PSEUDO_RET): Use it.
55633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55634 Correct save location of integer regs and cr.
55635 (_dl_profile_resolve): Correct cr save location. Delete nops
55636 after bl when SHARED. Reduce cfi size a little by better
55637 placement of cfi directives.
55638 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55639 make a stack frame. Instead use parm save area as a temp.
55640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55641 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55643 Don't make a stack frame for parent, use parm save area.
55644 Increase child stack frame to 112 bytes. Don't save unused reg,
55645 and adjust reg usage. Set up cfi on error recovery and
55646 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55648 (__makecontext): Add dummy nop after jump to exit.
55649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55650 Use correct parm save area and cr save, reduce stack frame.
55651 Correct cfi for possible PSEUDO_RET frame setup.
55652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55653 Branch to local label emitted by PSEUDO_RET rather than
55654 __syscall_error.
55655
02637374
AS
556562010-08-12 Andreas Schwab <schwab@redhat.com>
55657
55658 [BZ #11904]
55659 * locale/programs/locale.c (print_assignment): New function.
55660 (show_locale_vars): Use it.
55661
c3e2f19b
UD
556622010-08-11 Ulrich Drepper <drepper@redhat.com>
55663
3cdaa6ad
UD
55664 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55665 field.
55666 (struct statfs64): Likewise.
55667 (_STATFS_F_FLAGS): Define.
55668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55670 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55671 (ST_VALID): Define locally.
55672 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55673 __statvfs_getflags, use the provided value.
55674 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55675 __ASSUME_STATFS_F_FLAGS.
55676
754f7da3
UD
55677 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55678
10b3bedc
UD
55679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55680 Add sys/fanotify.h.
55681 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55682 fanotify_mask for GLIBC_2.13.
55683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55684 fanotify_init and fanotify_mark.
55685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55686 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55687
c08fb0d7
UD
55688 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55689 Add prlimit.
55690 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55691 prlimit64 for GLIBC_2.13.
55692 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55693 prlimit64.
55694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55695 syscall.
55696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55698 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55701 add prlimit alias.
55702 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55703
15bac72b
UD
55704 [BZ #11903]
55705 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55706 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55707
c3e2f19b
UD
55708 * nss/Makefile: Add rules to build and run tst-nss-test1.
55709 * shlib-versions: Add entry for libnss_test1.
55710 * nss/nss_test1.c: New file.
55711 * nss/tst-nss-test1.c: New file.
55712
55713 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55714 (__nss_configure_lookup): Set appropriate entry in
55715 __nss_configure_lookup to true.
55716 * nss/nsswitch.h: Define enum with indeces of databases in
55717 databases and __nss_database_custom arrays. Declare
55718 __nss_database_custom.
55719 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55720 to avoid using nscd when custom rules are installed.
55721 * nss/getXXbyYY_r.c: Likewise.
55722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55723
55724 * nss/nss_files/files-parse.c: Whitespace fixes.
55725
f15ce4d8
UD
557262010-08-09 Ulrich Drepper <drepper@redhat.com>
55727
55728 [BZ #11883]
55729 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55730 * posix/fnmatch_loop.c: Likewise.
55731
d22e4cc9
AK
557322010-07-17 Andi Kleen <ak@linux.intel.com>
55733
55734 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55735 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55736 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55737 * Versions.def [GLIBC_2.13]: Add.
55738
805bc17d
UD
557392010-08-06 Ulrich Drepper <drepper@redhat.com>
55740
55741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55742 Also fail if tpwd after pwuid call is NULL.
55743
5a42321d
ST
557442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55745
55746 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55747 when converting to ms.
55748
fd3ebeda
ST
557492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55750
55751 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55752 EOPNOTSUPP errors with ENOTTY.
55753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55754 EOPNOTSUPP errors with ENOTTY.
55755
73507d3a
UD
557562010-07-31 Ulrich Drepper <drepper@redhat.com>
55757
55758 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55759 Add strcasecmp_l-ssse3.
55760 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55761 strcasecmp.
55762 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55763 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55765
fe36dd02
UD
557662010-07-30 Ulrich Drepper <drepper@redhat.com>
55767
66f6765a
UD
55768 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55769
42e08a54
UD
55770 * string/Makefile (strop-tests): Add strcasecmp.
55771 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55772 strcasecmp_l-nonascii.
55773 (gen-as-const-headers): Add locale-defines.sym.
55774 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55775 * sysdeps/x86_64/strcasecmp.S: New file.
55776 * sysdeps/x86_64/strcasecmp_l.S: New file.
55777 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55778 * sysdeps/x86_64/locale-defines.sym: New file.
55779 * string/test-strcasecmp.c: New file.
55780
fe36dd02
UD
55781 * string/test-strcasestr.c: Test both ends of the range of characters.
55782 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55783
48cbc0d6
RM
557842010-07-29 Roland McGrath <roland@redhat.com>
55785
76e6d6bc 55786 [BZ #11856]
48cbc0d6
RM
55787 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55788
880113d9
UD
557892010-07-27 Ulrich Drepper <drepper@redhat.com>
55790
55791 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55792 for ld.so.
55793
deb9cabb
AS
557942010-07-27 Andreas Schwab <schwab@redhat.com>
55795
55796 * manual/memory.texi (Malloc Tunable Parameters): Document
55797 M_PERTURB.
55798
1c7570ff
RM
557992010-07-26 Roland McGrath <roland@redhat.com>
55800
55801 [BZ #11840]
55802 * configure.in (-fgnu89-inline check): Set and substitute
55803 gnu89_inline, not libc_cv_gnu89_inline.
55804 * configure: Regenerated.
55805 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55806
24fb0f88
UD
558072010-07-26 Ulrich Drepper <drepper@redhat.com>
55808
55809 * string/test-strnlen.c: New file.
55810 * string/Makefile (strop-tests): Add strnlen.
55811 * string/tester.c (test_strnlen): Add a few more test cases.
55812 * string/tst-strlen.c: Better error reporting.
55813
55814 * sysdeps/x86_64/strnlen.S: New file.
55815
8e96b93a
UD
558162010-07-24 Ulrich Drepper <drepper@redhat.com>
55817
55818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55819 lower-latency instructions.
55820
dbc676d4
UD
558212010-07-23 Ulrich Drepper <drepper@redhat.com>
55822
55823 * string/test-strcasestr.c: New file.
55824 * string/test-strstr.c: New file.
55825 * string/Makefile (strop-tests): Add strstr and strcasestr.
55826 * string/str-two-way.h: Don't undefine MAX.
55827 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55828
f6a31e0e
AS
558292010-07-21 Andreas Schwab <schwab@redhat.com>
55830
55831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55832 strcasestr-nonascii.
55833 (CFLAGS-strcasestr-nonascii.c): Define.
55834 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55836 Remove unused attribute.
55837
5dbc3b6c
RM
558382010-07-20 Roland McGrath <roland@redhat.com>
55839
55840 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55841 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55842 ld.so.cache was broken. With it, there is no way to disable dsocaps
55843 like LD_HWCAP_MASK can disable hwcaps.
55844
23d101d8
EPM
558452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55846
55847 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55848
cc9f2e47
UD
558492010-07-16 Ulrich Drepper <drepper@redhat.com>
55850
55851 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55852 call in strcasestr.
55853 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55854 __strcasestr_sse42_nonascii.
55855 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55856 strcasestr-nonascii.c.
55857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55858
77c1b069
LM
558592010-06-15 Luis Machado <luisgpm@br.ibm.com>
55860
55861 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55865
440566c3
UD
558662010-07-09 Ulrich Drepper <drepper@redhat.com>
55867
55868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55869 fcntl.
55870
5be9d05d
AS
558712010-07-06 Andreas Schwab <schwab@redhat.com>
55872
c30b7ee2 55873 [BZ #11577]
5be9d05d
AS
55874 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55875 dl_signal_cerror.
55876
8a492a67
UD
558772010-07-06 Ulrich Drepper <drepper@redhat.com>
55878
55879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55880 _PC_PIPE_BUF using F_GETPIPE_SZ.
55881
713df3d5
RM
558822010-07-05 Roland McGrath <roland@redhat.com>
55883
55884 * manual/arith.texi (Rounding Functions): Fix rint description
55885 implicit in round description.
55886
702e8f14
UD
558872010-07-02 Ulrich Drepper <drepper@redhat.com>
55888
55889 * elf/Makefile: Fix linking for a few tests to make recent linker
55890 happy.
55891
52ed8be9
AS
558922010-06-30 Andreas Schwab <schwab@redhat.com>
55893
55894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55895 $(common-objpfx)libc_nonshared.a.
55896
f47c9a11
LM
558972010-06-21 Luis Machado <luisgpm@br.ibm.com>
55898
55899 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55900 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55901 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55902 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55903 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55904 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55905 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55906 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55921 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55922 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55923 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55924 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55925 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55926 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55927 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55928 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55929 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55930 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55931 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55932 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55947
6fb8cbcb
L
559482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55949
55950 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55951 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55952 * string/memmove.c (memmove): Renamed to ...
55953 (MEMMOVE): ...this. Default to memmove.
55954 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55955 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55956 (END_CHK): Define.
55957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55958 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55959 mempcpy-ssse3-back memmove-ssse3-back.
55960 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55963 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55964 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55965 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55966 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55967 * sysdeps/x86_64/multiarch/memmove.c: New file.
55968 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55969 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55970 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55971 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55974 Define.
55975 (index_Fast_Copy_Backward): Define.
55976 (HAS_ARCH_FEATURE): Define.
55977 (HAS_FAST_REP_STRING): Define.
55978 (HAS_FAST_COPY_BACKWARD): Define.
55979
4e733bac 559802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55981
55982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55983 Restore proper fallback handling.
55984
63c4ed22
UD
559852010-06-19 Ulrich Drepper <drepper@redhat.com>
55986
ac2b484c
UD
55987 [BZ #11701]
55988 * posix/group_member.c (__group_member): Correct checking loop.
55989
63c4ed22
UD
55990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55991 OOM in getpwuid_r correctly. Return error number when the caller
55992 should return, otherwise -1.
55993 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55994 call returning > 0 value.
55995 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55996
765ade4b
AS
559972010-06-07 Andreas Schwab <schwab@redhat.com>
55998
55999 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56000 libc_nonshared.a from targets in modules-names.
56001
80da2e09
KS
560022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56003
56004 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56005 requires it.
56006
158db122
LM
560072010-06-10 Luis Machado <luisgpm@br.ibm.com>
56008
56009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56013
caa78cf8
AS
560142010-06-02 Andreas Schwab <schwab@redhat.com>
56015
56016 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56017
b2ef2c01
UD
560182010-06-14 Ulrich Drepper <drepper@redhat.com>
56019
56020 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56021 and F_GETPIPE_SZ.
56022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56028
fbd643b6
RM
560292010-06-14 Roland McGrath <roland@redhat.com>
56030
56031 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56032
f32f2869
JJ
560332010-06-07 Jakub Jelinek <jakub@redhat.com>
56034
56035 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56036 __REDIRECT followed by __THROW.
56037 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56038 * posix/getopt.h (getopt): Likewise.
56039
2a50c078
EPM
560402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56041
56042 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56043 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56044 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56045 in AT_FLAGS.
56046 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56047 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56048
eb5ad2eb
LM
560492010-05-28 Luis Machado <luisgpm@br.ibm.com>
56050
56051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56052
3c88fe1e
L
560532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56054
56055 [BZ #11640]
56056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56057 Properly check family and model.
56058
d2f73151
TY
560592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56060
56061 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56062
ebd2e13d
LM
560632010-05-24 Luis Machado <luisgpm@br.ibm.com>
56064
56065 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56066
b32b8b45
UD
560672010-05-21 Ulrich Drepper <drepper@redhat.com>
56068
56069 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56070 symbol reference.
56071
9acbe24d
AS
560722010-05-19 Andreas Schwab <schwab@redhat.com>
56073
56074 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56075 symbol reference.
56076
f0ccf6ea
AS
560772010-05-21 Andreas Schwab <schwab@redhat.com>
56078
3d04ff3a
AS
56079 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56080 and internal_recvmmsg.
56081 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56082 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56083 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56084 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56085
f0ccf6ea
AS
56086 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56089
5b08ac57
AS
560902010-05-20 Andreas Schwab <schwab@redhat.com>
56091
56092 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56093
4828935d
LM
560942010-05-17 Luis Machado <luisgpm@br.ibm.com>
56095
56096 POWER7 optimizations.
56097 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56098 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56099
373d545e
UD
561002010-05-19 Ulrich Drepper <drepper@redhat.com>
56101
56102 * version.h: Update for 2.13 development version.
56103
21a2b1ae
AS
561042010-05-12 Andrew Stubbs <ams@codesourcery.com>
56105
56106 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56107 exceptions. Return 0.
56108
3f7dcb2b
RM
561092010-05-07 Roland McGrath <roland@redhat.com>
56110
56111 * elf/ldconfig.c (main): Add a const.
56112
5f24d53a 561132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56114
a160f8d8
UD
56115 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56116 (args_options): Add no-idn option.
56117 (ahosts_keys_int): Add idn_flags to ai_flags.
56118 (parse_option): Handle 'i' option to clear idn_flags.
56119
5f24d53a
UD
56120 * malloc/malloc.c (_int_free): Possible race in the most recently
56121 added check. Only act on the data if no current modification
56122 happened.
265bb1ce
UD
56123
56124See ChangeLog.17 for earlier changes.
This page took 8.16624 seconds and 5 git commands to generate.