]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
powerpc: Fix fesetexceptflag [BZ#17885]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
08cee2a4
AZ
12015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2
d4d0ecb2
AZ
3 [BZ #17885]
4 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5 value to set as new flag.
6
08cee2a4
AZ
7 [BZ #16576]
8 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9 and use _ARCH_PPCSQ instead.
10 (__ieee754_sqrt): Likewise.
11 (__ieee754_sqrtf): Likewise.
12 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13 _ARCH_PPCSQ is defined.
14 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15 fsqrt instruction.
16 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17 _ARCH_PPCSQ is defined.
18 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19 fsqrts instruction.
20 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21
5fe8e359
AK
222015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23
24 * iconv/loop.c: Suppress array out of bound warning caused by GCC
25 bug (GCC BZ #64739).
26
24bb7432
AS
272015-01-25 Andreas Schwab <schwab@linux-m68k.org>
28
fa20da31
AS
29 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
30 Mark _retval as used.
31 (lll_futex_wake_unlock): Likewise.
32 (lll_futex_timed_wait_requeue_pi): Likewise.
33
45819cbc
AS
34 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36 register variables.
37
403cc231
AS
38 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39 libm_hidden_def.
40
24bb7432
AS
41 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
42 (__bswap_64): Mark as __always_inline.
43
9317ea65
B
442015-01-25 Bram <bug_rh@spam.wizbit.be>
45
46 [BZ #15378]
47 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
48 when none of the search directories exist.
49
0e87343e
AZ
502015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
51
bea58013
AZ
52 [BZ #17869]
53 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
54 power8 in .machine directive.
55
0e87343e
AZ
56 [BZ #17868]
57 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
58 set dependency from opd value.
59
ede0236c
L
602015-01-23 H.J. Lu <hongjiu.lu@intel.com>
61
62 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
63 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
64 architecture.
ede0236c 65
22971c35
L
662015-01-23 H.J. Lu <hongjiu.lu@intel.com>
67
68 [BZ #17870]
69 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
70 with uint64_t.
71 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
72 (uint64_t) 1.
e0da28a1 73 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
74 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
75 Replace 1UL with (uint64_t) 1.
76 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
77 int with uint64_t.
78
da5bf245
RM
792015-01-23 Roland McGrath <roland@hack.frob.com>
80
2ec2d703
RM
81 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
82 (if_freenameindex): Likewise.
83
da5bf245
RM
84 * resource/getrlimit64.c: Add missing libc_hidden_def.
85
d7423856
JM
862015-01-22 Joseph Myers <joseph@codesourcery.com>
87
88 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
89 __label__.
90 (_FP_FMA): Likewise.
91 (_FP_TO_INT_ROUND): Likewise.
92 (_FP_FROM_INT): Likewise.
93
6b2ba95b
AZ
942015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
95
96 [BZ #16418]
97 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
98 Make code racy and cancel safe.
99
ccdb048d
CD
1002015-01-21 Carlos O'Donell <carlos@redhat.com>
101
191220b3
CD
102 * sysdeps/arm/unwind-resume.h: Fix copyright year.
103 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
104 attribution.
105
0897c551
CD
106 * pwd/tst-getpw.c: Rewrite.
107
ccdb048d
CD
108 [BZ #17702]
109 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
110 (modules-names): Add moddummy1 and moddummy2.
111 ($(objpfx)tst-rec-dlopen): Define.
112 * dlfcn/moddummy1.c: New file.
113 * dlfcn/moddummy2.c: New file.
114 * dlfcn/tst-rec-dlopen.c: New file.
115 * elf/dl-cache.c (_dl_load_cache_lookup):
116 Return char*. Copy result with alloca/strcpy/strdup.
117 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
118 returns char*. Free cached. If not saving realname
119 free cached.
120 * elf/dl-open.c (dl_open_worker): Do not assert that
121 _r_debug->r_state is RT_CONSISTENT.
122 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
123 returns char*.
124
042e1521
CD
1252015-01-21 Torvald Riegel <triegel@redhat.com>
126 Carlos O'Donell <carlos@redhat.com>
127
128 [BZ #12674]
129 * nptl/sem_waitcommon.c: New file.
130 * nptl/sem_wait.c: Include sem_waitcommon.c.
131 (__sem_wait_cleanup, do_futex_wait): Remove.
132 (__new_sem_wait): Adapt.
133 (__new_sem_trywait): New function.
134 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
135 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
136 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
137 (sem_timedwait): Adapt.
138 * nptl/sem_post.c (__new_sem_post): Adapt.
139 (futex_wake): New function.
140 (__old_sem_post): Add release MO fence.
141 * nptl/sem_open.c (sem_open): Adapt.
142 * nptl/sem_init.c (__new_sem_init): Adapt.
143 (futex_private_if_supported): New function.
144 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
145 (__old_sem_getvalue): Add using previous code.
146 * sysdeps/nptl/internaltypes.h: Adapt.
147 * nptl/tst-sem13.c (do_test): Adapt.
148 * nptl/tst-sem11.c (main): Adapt.
149 * nptl/sem_trywait.c: Remove.
150 * nptl/DESIGN-sem.txt: Remove.
151 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
152 (gen-as-const-headers): Remove structsem.sym.
153 * nptl/structsem.sym: Remove.
154 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
155 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
156 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
157 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
158 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
159 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
160 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
161 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
162 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
163 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
164 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
165 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
166 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
167 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
168 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
169 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
170 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
171 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
172 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
173 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
174 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
175 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
176
fe0e85af
CD
1772015-01-20 Carlos O'Donell <carlos@redhat.com>
178
a8db092e
CD
179 * INSTALL: Regenerated.
180
fe0e85af
CD
181 * po/libc.pot: Regenerated.
182
522e6ee3
CLT
1832015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
184 Sandra Loosemore <sandra@codesourcery.com>
185 Andrew Jenner <andrew@codesourcery.com>
186 Joseph Myers <joseph@codesourcery.com>
187 Nathan Sidwell <nathan@codesourcery.com>
188
189 * NEWS: Mention new Nios II port.
190 * sysdeps/nios2/Implies: New file.
191 * sysdeps/nios2/Makefile: New file.
192 * sysdeps/nios2/Subdirs: New file.
193 * sysdeps/nios2/Versions: New file.
194 * sysdeps/nios2/__longjmp.S: New file.
195 * sysdeps/nios2/abort-instr.h: New file.
196 * sysdeps/nios2/backtrace.c: New file.
197 * sysdeps/nios2/bits/endian.h: New file.
198 * sysdeps/nios2/bits/fenv.h: New file.
199 * sysdeps/nios2/bits/link.h: New file.
200 * sysdeps/nios2/bits/setjmp.h: New file.
201 * sysdeps/nios2/bsd-_setjmp.S: New file.
202 * sysdeps/nios2/bsd-setjmp.S: New file.
203 * sysdeps/nios2/configure: New generated file.
204 * sysdeps/nios2/configure.ac: New file.
205 * sysdeps/nios2/crti.S: New file.
206 * sysdeps/nios2/crtn.S: New file.
207 * sysdeps/nios2/dl-init.c: New file.
208 * sysdeps/nios2/dl-machine.h: New file.
209 * sysdeps/nios2/dl-sysdep.h: New file.
210 * sysdeps/nios2/dl-tls.h: New file.
211 * sysdeps/nios2/dl-trampoline.S: New file.
212 * sysdeps/nios2/gccframe.h: New file.
213 * sysdeps/nios2/gmp-mparam.h: New file.
214 * sysdeps/nios2/jmpbuf-offsets.h: New file.
215 * sysdeps/nios2/jmpbuf-unwind.h: New file.
216 * sysdeps/nios2/ldsodefs.h: New file.
217 * sysdeps/nios2/libc-tls.c: New file.
218 * sysdeps/nios2/libm-test-ulps: New file.
219 * sysdeps/nios2/machine-gmon.h: New file.
220 * sysdeps/nios2/math-tests.h: New file.
221 * sysdeps/nios2/math_private.h: New file.
222 * sysdeps/nios2/memusage.h: New file.
223 * sysdeps/nios2/nptl/Makefile: New file.
224 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
225 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
226 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
227 * sysdeps/nios2/nptl/pthreaddef.h: New file.
228 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
229 * sysdeps/nios2/nptl/tls.h: New file.
230 * sysdeps/nios2/preconfigure: New file.
231 * sysdeps/nios2/s_fma.c: New file.
232 * sysdeps/nios2/s_fmaf.c: New file.
233 * sysdeps/nios2/setjmp.S: New file.
234 * sysdeps/nios2/sfp-machine.h: New file.
235 * sysdeps/nios2/sotruss-lib.c: New file.
236 * sysdeps/nios2/stackguard-macros.h: New file.
237 * sysdeps/nios2/stackinfo.h: New file.
238 * sysdeps/nios2/start.S: New file.
239 * sysdeps/nios2/sysdep.h: New file.
240 * sysdeps/nios2/tls-macros.h: New file.
241 * sysdeps/nios2/tst-audit.h: New file.
242 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
243 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
244 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
245 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
246 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
247 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
248 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
249 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
250 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
251 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
252 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
253 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
254 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
255 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
256 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
257 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
258 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
259 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
260 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
261 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
262 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
263 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
264 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
265 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
266 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
267 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
268 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
269 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
270 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
271 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
272 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
273 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
274 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
275 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
276 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
277 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
279 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
280 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
281 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
282 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
283 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
284 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
285 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
286
026eb207
SL
2872015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
288
289 [BZ #17844]
290 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
291 (getutent): Use weak_alias in non SHARED case
292 and default_symbol_version in SHARED case.
293 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
294 (getutent_r, pututline): Likewise.
295 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
296 (getutid): Likewise.
297 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
298 (getutid_r): Likewise.
299 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
300 (getutline): Likewise.
301 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
302 (getutline_r): Likewise.
303 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
304 (updwtmp): Likewise.
305
1d532483
SL
3062015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
307
308 [BZ #17848]
309 * sysdeps/s390/s390-32/memcmp.S
310 (memcmp_g5): Rename to __memcmp_g5.
311 * sysdeps/s390/s390-32/memcpy.S
312 (memcpy_g5): Rename to __memcpy_g5.
313 Jump to __memcpy_mvcle instead of memcpy_mvcle.
314 (memcpy_mvcle) Rename to __memcpy_mvcle.
315 * sysdeps/s390/s390-32/memset.S
316 (memset_g5): Rename to __memset_g5.
317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
318 (IFUNC_RESOLVE): Prefix ifunc-resolve function
319 and use prefixed functions.
320 * sysdeps/s390/s390-32/multiarch/memcmp.S
321 (memcmp_z196): Rename to __memcmp_z196.
322 (memcmp_z10): Rename to __memcmp_z10.
323 (memcmp): Set alias to __memcmp_g5.
324 (bcmp): Set alias to __memcmp_g5.
325 * sysdeps/s390/s390-32/multiarch/memcpy.S
326 (memcpy_z196): Rename to __memcpy_z196.
327 Jump to __memcpy_mvcle instead of memcpy_mvcle.
328 (memcpy_z10): Rename to __memcpy_z10.
329 Jump to __memcpy_mvcle instead of memcpy_mvcle.
330 (memcpy): Set alias to __memcpy_g5.
331 * sysdeps/s390/s390-32/multiarch/memset.S
332 (memset_z196): Rename to __memset_z196.
333 Jump to __memset_mvcle instead of memset_mvcle.
334 (memset_z10): Rename to __memset_z10.
335 Jump to __memset_mvcle instead of memset_mvcle.
336 (memset_mvcle) Rename to __memset_mvcle.
337 (memset): Set alias to __memset_g5.
338 * sysdeps/s390/s390-64/memcmp.S
339 (memcmp_z900): Rename to __memcmp_z900.
340 * sysdeps/s390/s390-64/memcpy.S
341 (memcpy_z900): Rename to __memcpy_z900.
342 Jump to __memcpy_mvcle instead of memcpy_mvcle.
343 (memcpy_mvcle) Rename to __memcpy_mvcle.
344 * sysdeps/s390/s390-64/memset.S
345 (memset_z900): Rename to __memset_z900.
346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
347 (IFUNC_RESOLVE): Prefix ifunc-resolve function
348 and use prefixed functions.
349 * sysdeps/s390/s390-64/multiarch/memcmp.S
350 (memcmp_z196): Rename to __memcmp_z196.
351 (memcmp_z10): Rename to __memcmp_z10.
352 (memcmp): Set alias to __memcmp_z900.
353 (bcmp): Set alias to __memcmp_z900.
354 * sysdeps/s390/s390-64/multiarch/memcpy.S
355 (memcpy_z196): Rename to __memcpy_z196.
356 Jump to __memcpy_mvcle instead of memcpy_mvcle.
357 (memcpy_z10): Rename to __memcpy_z10.
358 Jump to __memcpy_mvcle instead of memcpy_mvcle.
359 (memcpy): Set alias to __memcpy_z900.
360 * sysdeps/s390/s390-64/multiarch/memset.S
361 (memset_z196): Rename to __memset_z196.
362 Jump to __memset_mvcle instead of memset_mvcle.
363 (memset_z10): Rename to __memset_z10.
364 Jump to __memset_mvcle instead of memset_mvcle.
365 (memset_mvcle) Rename to __memset_mvcle.
366 (memset): Set alias to __memset_z900.
367
53fbd169
JM
3682015-01-14 Joseph Myers <joseph@codesourcery.com>
369
370 [BZ #17748]
371 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
372 __fesetenv instead of fesetenv.
373
d639a363
SP
3742015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
375
376 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
377 macro.
378
d3b00f46
AZ
3792015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380
ce6615c9
AZ
381 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
382 regression on LE.
383
d3b00f46
AZ
384 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
385 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
386 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
387 strncmp-power8 object.
388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
389 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
390 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
391 * NEWS: Update.
392
72607db0
RS
3932015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
394 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
397 trailing byte check.
398
54dc5461
DM
3992015-01-13 David S. Miller <davem@davemloft.net>
400
401 * include/signal.h (__sigreturn): Guard with __USE_MISC.
402
1c6e6f23
RM
4032015-01-13 Roland McGrath <roland@hack.frob.com>
404
405 * login/logout.c (logout): Use memset rather than bzero.
406 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
407 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
408 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
409 (_gethtbyaddr): Likewise.
410 * locale/programs/simple-hash.c (bcopy): Macro removed.
411
96d6fd6c
AZ
4122015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
8bedcb5f
AZ
414 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
415 Add strcmp-power8 object.
416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
417 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
418 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
419 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
420 __strcmp_power8 implementation.
421 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
422 * NEWS: Update.
423
f06a4faf
AZ
424 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
425 Add strncpy-power8 and stpncpy-power8 objects.
426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
427 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
428 implementations.
429 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
430 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
431 __stpncpy_power8 implementation.
432 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
433 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
434 __strncpy_power8 implementation.
435 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
436 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
437 * NEWS: Update.
438
9f2f36e5
AZ
439 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
440 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
441 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
442
96d6fd6c 443 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
444 strncat-power8 object.
445 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
446 __strcat_power8 implementation.
447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
448 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
449 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
450 optimized strcat for power8.
451
452 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
453 strcpy-power8 and stpcpy-power8 objects.
454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
455 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
456 implementations.
457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
458 multiarch stpcpy implementation for POWER8.
459 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
460 multiarch strcpy implementation for POWER8.
461 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
462 __strcpy_power8 function.
463 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
464 stpcpy for POWER8.
465 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
466 strcpy for POWER8.
467 * NEWS: Update.
468
0f9e5854
LH
4692015-01-13 Leonhard Holz <leonhard.holz@web.de>
470
471 [BZ #16009]
472 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
473 weights and rules. Use do_xfrm_cached if data fits in cache,
474 do_xfrm otherwise. Moved former main loop to...
475 * (do_xfrm_cached): New function.
476 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
477 find_idx, find_position and stack_push.
478 * (find_idx): New function.
479 * (find_position): Likewise.
480 * localedata/sort-test.sh: Added test run for do_xfrm.
481 * localedata/xfrm-test.c (main): Added command line option
482 -nocache to run the test with strings that are too large for
483 the STRXFRM cache.
484
c60ec0e0
TR
4852015-01-13 Torvald Riegel <triegel@redhat.com>
486
487 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
488 variable to lll_futex_wake call, not the value itself.
489
34e93d6c
JM
4902015-01-12 Joseph Myers <joseph@codesourcery.com>
491
5a9e4c09
JM
492 [BZ #17803]
493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
494 twom64. Adjust value to 0x1p-64L.
495 (__scalblnl): Only return standard underflowing result for K <=
496 -64 not K <= -63; adjust exponent for underflowing result by 64
497 not 63.
498 * math/libm-test.inc (scalbn_test_data): Add more tests.
499 (scalbln_test_data): Likewise.
500
34e93d6c
JM
501 [BZ #17834]
502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
503 0x1p63L.
504 (__scalblnl): Get new exponent of adjusted subnormal value from ES
505 not HX.
506 * math/libm-test.inc (scalbn_test_data): Add more tests.
507 (scalbln_test_data): Likewise.
508
ca677d3c
AZ
5092015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
510 Stefani Seibold <stefani@seibold.net>
511
512 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
513 (sysdep_routines): Add dl-vdso here, ...
514 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
515 (sysdep_routines): ... not here.
516 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
517 fallback when vDSO is not presented.
518 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
519 Define with libc_hidden_proto/libc_hidden_data_def definitions.
520 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
521 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
522 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
523 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
524 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
525 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
526 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
528 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
529 fallback configurable symbol when vDSO is not available.
530 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
531 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
532 be able to redefine fallback symbol when vDSO is not available.
533 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
534 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
535
49a9f6ab 5362015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 537
56cf2763
AZ
538 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
539 (TLS_INIT_TP): Add tm_capable initialization.
540 (TLS_DEFINE_INIT_TP): Likewise.
541 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
542 TCB.
543 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
544 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
545 calculation.
546 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
547 transactoion is lock elision is built and TCB tm_capable is set.
548 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
550 (INTERNAL_SYSCALL_NCS): Likewise.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
552 (INTERNAL_SYSCALL_NCS): Likewise.
553 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
554
4b45943a
AZ
555 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
556 for powerpc.
557 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
558 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
559 and remove it for 32 bits case.
560 [pthread_rwlock_t] (__rwelision): New field for lock elision.
561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
562 initialization.
563 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
564 Disable lock elision with rdlocks if elision is not available.
565
8d2c0a59
AZ
566 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
567 (sysdep_routines): Add lock elision objects.
568 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
569 [pthread_mutex_t] (__spins): Rework to add lock elision field.
570 [pthread_mutex_t] (__elision): Add field.
571 [__PTHREAD_SPINS]: Adjust to init lock elision field.
572 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
573 elision definitions for powerpc.
574 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
575 implementation of lock elision for powerpc.
576 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
577 implementation of timed lock elision for powerpc.
578 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
579 implementation of trylock with lock elision for powerpc.
580 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
581 implementaion of unlock for lock elision for powerpc.
582 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
583 automatic enable lock elision for mutexes.
584 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
585 transaction execution definitions for powerpc.
586 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
587 definitions.
588 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
589 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
590 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
591 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
592 * NEWS: Update.
593
bc0ed9f7
RM
5942015-01-09 Roland McGrath <roland@hack.frob.com>
595
596 * sysdeps/posix/shm-directory.c: Use <> rather than ""
597 for #include of <shm-directory.h>.
598
585d9c18
CLT
5992015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
600
601 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
602 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
603
aee6626c
MF
6042015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
605
606 [BZ #17791]
607 * NEWS: Mention bug fix.
608 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
609 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
610 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
611
9e560f48
TR
6122015-01-09 Torvald Riegel <triegel@redhat.com>
613
614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
615
e1cfbd0c
TR
6162015-01-09 Torvald Riegel <triegel@redhat.com>
617
618 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
619
cf71e44f
DH
6202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
621
622 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
623 pointer and cast to uintptr_t.
624
b360ee62
DH
6252015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
626
627 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
628 removed.
629 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
630
caff764e
DH
6312015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
632
633 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
634 of 0.
635
59ff172f
RM
6362015-01-08 Roland McGrath <roland@hack.frob.com>
637
c97d27f1
RM
638 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
639 <nptl/pthreadP.h> instead.
640 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
641
08734ccd
RM
642 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
643 already defined.
644 [__SIGRTMIN] (init): Function removed.
645 [__SIGRTMIN] (initialized): Variable removed.
646 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
647 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
648 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
649 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
650 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
651 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
652 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
653 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
654 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
655 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
656 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
657 * sysdeps/nptl/allocrtsig.c: New file.
658 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
659 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
660 * sysdeps/generic/testrtsig.h: File removed.
661
7b052e33
RM
662 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
663 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
664
cc40d25e
RM
665 * nptl/nptl-init.c (pthread_functions): Conditionalize
666 .ptr__nptl_setxid initialization on [SIGSETXID].
667
9287adf0
RM
668 * sysdeps/nptl/sys/procfs.h: New file.
669 * nptl_db/Makefile (headers): Add it.
670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
671
59ff172f
RM
672 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
673 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
674 * nptl/pthread_attr_setaffinity.c: Include it.
675 * nptl/pthread_setattr_default_np.c: Likewise.
676 * nptl/check-cpuset.h: New file.
677
b9205857
RH
6782015-01-08 Richard Henderson <rth@redhat.com>
679
680 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
681 (CFLAGS-tst-execstack-prog.c): Likewise.
682 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
683
1a0a8d15
CLT
6842015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
685 Sandra Loosemore <sandra@codesourcery.com>
686 Andrew Jenner <andrew@codesourcery.com>
687 Joseph Myers <joseph@codesourcery.com>
688 Nathan Sidwell <nathan@codesourcery.com>
689
690 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
691 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
692 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
693 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
694 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
695 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
696 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
697 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
698 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
699 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
700 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
701 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
702 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
703 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
704 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
705 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
706 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
707
dd6e8af6
AZ
7082015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
711 timespec struct member in syscall macro.
712 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
713 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
714 first timeval struct member in syscall macro.
715 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
716
8116321f
JM
7172015-01-07 Joseph Myers <joseph@codesourcery.com>
718
719 [BZ #17748]
720 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
721 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
722 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
723 __feupdateenv and define as weak alias of __feupdateenv. Use
724 libm_hidden_weak.
725 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
726 libm_hidden_def.
727 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
728 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
729 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
730 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
731 libm_hidden_def.
732 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
733 __feupdateenv and define as weak alias of __feupdateenv. Use
734 libm_hidden_weak.
735 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
736 libm_hidden_def.
737 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
738 __feupdateenv and define as weak alias of __feupdateenv. Use
739 libm_hidden_weak.
740 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
741 libm_hidden_def.
742 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
743 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
744 (__feupdateenv): Likewise.
745 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
746 __feupdateenv and define as weak alias of __feupdateenv. Use
747 libm_hidden_weak.
748 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
749 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
750 libm_hidden_def.
751 * sysdeps/tile/math_private.h (__feupdateenv): New inline
752 function.
753 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
754 libm_hidden_def.
755 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
756 __feupdateenv instead of feupdateenv.
757 (default_libc_feupdateenv_test): Likewise.
758 (libc_feresetround_ctx): Likewise.
759
882dfe18
AZ
7602015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761
762 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
763 prototype.
764
39a12f8d
CM
7652015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
766
767 * posix/regcomp.c (parse_bracket_exp): Initialize type to
768 COLL_SYM in a couple of places to avoid uninitialized variable
769 wanings on tilegx gcc 4.8.2.
770
dc400d7b
RE
7712015-01-07 Richard Earnshaw <rearnsha@arm.com>
772
773 * sysdeps/aarch64/strcpy.S: New file.
774 * sysdeps/aarch64/stpcpy.S: New file.
775 * NEWS: Updated.
776
ec582ca0
RE
7772015-01-07 Richard Earnshaw <rearnsha@arm.com>
778
779 * sysdeps/aarch64/strrchr.S: New file.
780 * NEWS: Updated.
781
d5b1c5ed
EB
7822015-01-07 Eric Biggers <ebiggers3@gmail.com>
783
784 [BZ #17658]
785 * stdlib/setenv.c: Fix memory leak when setting large,
786 duplicate string.
787
fb87ee96
VN
7882015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
789
60f046a8 790 [BZ #17273]
fb87ee96
VN
791 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
792 and tabs from buffer before parsing fstab entry.
793 * misc/tst-mntent.c (main): Add test for mount entry with
794 trailing spaces and tabs.
795
cd42798a
JM
7962015-01-06 Joseph Myers <joseph@codesourcery.com>
797
01238691
JM
798 [BZ #17748]
799 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
800 * math/fesetround.c (fesetround): Rename to __fesetround and
801 define as weak alias of __fesetround. Use libm_hidden_weak.
802 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
803 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
804 * sysdeps/arm/fesetround.c (fesetround): Likewise.
805 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
806 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
807 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
808 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
809 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
810 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
811 __fesetround_inline.
812 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
813 __fesetround_inline instead of __fesetround.
814 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
815 __fesetround and define as weak alias of __fesetround. Use
816 libm_hidden_weak. Call __fesetround_inline instead of
817 __fesetround.
818 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
819 __fesetround and define as weak alias of __fesetround. Use
820 libm_hidden_weak.
821 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
822 Likewise.
823 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
824 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
825 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
826 * sysdeps/tile/math_private.h (__fesetround): New inline function.
827 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
828 __fesetround and define as weak alias of __fesetround. Use
829 libm_hidden_weak.
830 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
831 __fesetround instead of fesetround.
832 (default_libc_feholdexcept_setround): Likewise.
833 (libc_feholdsetround_ctx): Likewise.
834 (libc_feholdsetround_noex_ctx): Likewise.
835
cd42798a
JM
836 [BZ #17748]
837 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
838 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
839 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
840 and define as weak alias of __fesetenv. Use libm_hidden_weak.
841 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
842 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
843 define as weak alias of __fesetenv. Use libm_hidden_weak.
844 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
845 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
846 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
847 define as weak alias of __fesetenv. Use libm_hidden_weak.
848 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
849 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
850 define as weak alias of __fesetenv. Use libm_hidden_weak.
851 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
852 libm_hidden_def.
853 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
854 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
855 Likewise.
856 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
857 define as weak alias of __fesetenv. Use libm_hidden_weak.
858 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
859 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
860 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
861 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
862 and define as weak alias of __fesetenv. Use libm_hidden_weak.
863 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
864 __fesetenv instead of fesetenv.
865 (libc_feresetround_noex_ctx): Likewise.
866 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
867 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
869 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
870 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
871 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
872 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
873 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
874 (__feupdateenv): Likewise.
875 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
876 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
877 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
878 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
879
38949026
AJ
8802015-01-06 Aurelien Jarno <aurelien@aurel32.net>
881
1cf98e27 882 [BZ #17806]
38949026
AJ
883 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
884 addresses have been freed.
885
5fe55e9c
AJ
8862015-01-06 Aurelien Jarno <aurelien@aurel32.net>
887
888 * resolv/res_init.c (__res_vinit): Improve comments about nserv
889 and nservall.
890
dc8ab018
OB
8912015-01-06 Ondřej Bílka <neleai@seznam.cz>
892
893 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
894 Clean up check_pf allocation pattern. addresses
895
14bb4e57
AZ
8962015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897
898 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
899 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
900 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
901 * nptl/pthread_exit.c (__pthread_exit): Likewise.
902 * nptl/pthread_join.c (pthread_join): Likewise.
903 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
904 * sysdeps/posix/waitid.c (__waitid): Likewise.
905 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
906 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
907 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
908 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
910 Likewise.
911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
912 (__libc_pread64): Likewise.
913 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
914 (__libc_pwrite): Likewise.
915 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
916 (__libc_pwrite64): Likewsie.
917 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
918 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
919 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
920 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
921 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
922 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
925 Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
927 (__libc_pread64): Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
929 Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
931 (__libc_pwrite64): Likewise.
932 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
933 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
934 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
935 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
936 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
937 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
938 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
939 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
940 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
941 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
942 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
943 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
944 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
945 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
946 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
947 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
948 Likewise.
949
10a5e112
AS
9502015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
951
952 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
953 (CFLAGS-test-double.c): Likewise.
954 (CFLAGS-test-ldouble.c): Likewise.
955 (CPPFLAGS-test-ifloat.c): Likewise.
956 (CPPFLAGS-test-idouble.c): Likewise.
957 (CPPFLAGS-test-ildoubl.c): Likewise.
958 (CFLAGS-test-test-fenv.c): Remove variable.
959 (CFLAGS-test-misc.c): Likewise.
960
57ada0e7
L
9612015-01-06 H.J. Lu <hongjiu.lu@intel.com>
962
963 [BZ #17797]
964 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
965 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
966 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
967 CLOCKS_PER_SEC == 1000000.
968 * time/clocktest.c (main): Replace %ld with %jd and cast to
969 intmax_t.
970
46abb64d
RM
9712015-01-05 Roland McGrath <roland@hack.frob.com>
972
973 * sysdeps/generic/unwind-resume.h: New file.
974 * sysdeps/gnu/unwind-resume.c: Include it.
975 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
976 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
977 argument list.
978 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
979 global rather than static.
980 (_Unwind_Resume): Update user.
981 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
982 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
983 rather than static. Add __attribute__ ((cold)).
984 (_Unwind_Resume, __gcc_personality_v0): Update callers.
985 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
986 * sysdeps/arm/arm-unwind-resume.S: New file.
987 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
988 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
989 * sysdeps/arm/Makefile [$(subdir) = csu]
990 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
991 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
992 Add rt-arm-unwind-resume.
993 [$(subdir) = nptl]
994 (libpthread-sysdep_routines, libpthread-shared-only-routines):
995 Add pt-arm-unwind-resume.
996 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
997 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
998
ef9faf13
JM
9992015-01-05 Joseph Myers <joseph@codesourcery.com>
1000
1001 [BZ #17748]
1002 * include/fenv.h (__feholdexcept): Declare. Use
1003 libm_hidden_proto.
1004 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1005 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1006 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1007 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1008 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1009 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1010 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1011 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1012 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1013 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1014 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1015 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1016 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1017 (feholdexcept): Likewise.
1018 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1019 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1020 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1021 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1022 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1023 __feholdexcept instead of feholdexcept.
1024 (default_libc_feholdexcept_setround): Likewise.
1025
295a453e
SE
10262015-01-05 Steve Ellcey <sellcey@imgtec.com>
1027
1028 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1029 to avoid using stl/str to align destination.
1030
882c4b9f
SE
10312015-01-05 Steve Ellcey <sellcey@imgtec.com>
1032
1033 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1034
ac4c11f5
JM
10352015-01-05 Joseph Myers <joseph@codesourcery.com>
1036
1037 [BZ #17796]
1038 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1039 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1040 Define as weak alias not strong alias.
1041
03403e30
SE
10422015-01-05 Steve Ellcey <sellcey@imgtec.com>
1043
1044 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1045 bltzal with addiupc.
1046 (RTLD_START): Ditto.
1047
1dca195e
CM
10482015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1049
7ea793f3
CM
1050 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1051 for __vdso_* functions in declarations.
1052 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1053 definitions.
1054 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1055 INTERNAL_VSYSCALL): Use struct return types to check for error.
1056
1dca195e
CM
1057 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1058 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1059 function with cast from llround().
1060 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1061 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1062 Define.
1063
a287953a
JM
10642015-01-05 Joseph Myers <joseph@codesourcery.com>
1065
ab70da77
JM
1066 [BZ #17793]
1067 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1068 Define as weak alias not strong alias.
1069
b8986484
JM
1070 [BZ #17635]
1071 * ctype/ctype-c99.c: New file. isblank implementation moved from
1072 ...
1073 * ctype/ctype-extn.c: ... here.
1074 (__isblank_l): Move to ...
1075 * ctype/ctype-c99_l.c: ... here. New file.
1076 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1077 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1078 Remove variable.
1079 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1080 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1081 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1082 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1083 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1084
a287953a
JM
1085 [BZ #17777]
1086 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1087 (posix_fadvise64): Define as weak alias not strong alias.
1088 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1089 (posix_fallocate64): Likewise.
1090 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1091 Remove variable.
1092 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1093 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1094 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1095 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1096 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1097
b1efe3bb
MF
10982015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1099
1100 [BZ #16191]
1101 * NEWS: Mention bug fix.
1102 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1103 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1104 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1105 (HOST_STACK_END_ADDR): Likewise.
1106
9706dc5f
JM
11072015-01-02 Joseph Myers <joseph@codesourcery.com>
1108
b93c2205
JM
1109 [BZ #17748]
1110 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1111 * math/fegetround.c (fegetround): Rename to __fegetround and
1112 define as weak alias of __fegetround. Use libm_hidden_weak.
1113 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1114 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1115 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1116 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1117 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1118 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1119 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1120 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1121 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1122 Undefine after rather than before function definition; use
1123 parentheses around function name in definition.
1124 (__fegetround): Also undefine macro after function definition.
1125 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1126 __fegetround and define as weak alias of __fegetround. Use
1127 libm_hidden_weak. Do not undefine as macro.
1128 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1129 Likewise.
1130 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1131 __fegetround and define as weak alias of __fegetround. Use
1132 libm_hidden_weak.
1133 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1134 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1135 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1136 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1137 __fegetround and define as weak alias of __fegetround. Use
1138 libm_hidden_weak.
1139 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1140 __fegetround instead of fegetround.
1141
253a59cc
JM
1142 [BZ #17782]
1143 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1144 Condition macro definition on [__USE_MISC].
1145
27dae011
JM
1146 [BZ #17781]
1147 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1148 (struct sigaction): Change type of sa_flags field to int.
1149
172019c0
JM
1150 [BZ #17780]
1151 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1152 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1153 __glibc_reserved0.
1154
522ad1d6
JM
1155 * nptl/version.c (banner): Use single year in copyright notice.
1156
9706dc5f
JM
1157 * NEWS: Update copyright dates.
1158 * catgets/gencat.c (print_version): Likewise.
1159 * csu/version.c (banner): Likewise.
1160 * debug/catchsegv.sh: Likewise.
1161 * debug/pcprofiledump.c (print_version): Likewise.
1162 * debug/xtrace.sh (do_version): Likewise.
1163 * elf/ldconfig.c (print_version): Likewise.
1164 * elf/ldd.bash.in: Likewise.
1165 * elf/pldd.c (print_version): Likewise.
1166 * elf/sotruss.sh: Likewise.
1167 * elf/sprof.c (print_version): Likewise.
1168 * iconv/iconv_prog.c (print_version): Likewise.
1169 * iconv/iconvconfig.c (print_version): Likewise.
1170 * locale/programs/locale.c (print_version): Likewise.
1171 * locale/programs/localedef.c (print_version): Likewise.
1172 * login/programs/pt_chown.c (print_version): Likewise.
1173 * malloc/memusage.sh (do_version): Likewise.
1174 * malloc/memusagestat.c (print_version): Likewise.
1175 * malloc/mtrace.pl: Likewise.
1176 * manual/libc.texinfo: Likewise.
1177 * nptl/version.c (banner): Likewise.
1178 * nscd/nscd.c (print_version): Likewise.
1179 * nss/getent.c (print_version): Likewise.
1180 * nss/makedb.c (print_version): Likewise.
1181 * posix/getconf.c (main): Likewise.
1182 * scripts/test-installation.pl: Likewise.
1183 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1184
b8607aac
WN
11852015-01-02 Will Newton <will.newton@linaro.org>
1186
1187 * sysdeps/arm/armv7/configure: Removed.
1188 * sysdeps/arm/armv7/configure.ac: Likewise.
1189
b168057a
JM
11902015-01-02 Joseph Myers <joseph@codesourcery.com>
1191
1192 * All files with FSF copyright notices: Update copyright dates
1193 using scripts/update-copyrights.
1194 * intl/plural.c: Regenerated.
1195 * locale/programs/charmap-kw.h: Likewise.
1196 * locale/programs/locfile-kw.h: Likewise.
1197
b217c15f
SP
11982015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1199
1200 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1201
73a268c7
JM
12022014-12-31 Joseph Myers <joseph@codesourcery.com>
1203
1204 [BZ #17748]
1205 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1206 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1207 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1208 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1209 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1210 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1211 define as weak alias of __fegetenv. Use libm_hidden_weak.
1212 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1213 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1214 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1215 define as weak alias of __fegetenv. Use libm_hidden_weak.
1216 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1217 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1218 define as weak alias of __fegetenv. Use libm_hidden_weak.
1219 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1220 libm_hidden_def.
1221 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1222 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1223 Likewise.
1224 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1225 define as weak alias of __fegetenv. Use libm_hidden_weak.
1226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1227 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1228 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1229 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1230 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1231 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1232 __fegetenv instead of fegetenv.
1233 (libc_feholdsetround_noex_ctx): Likewise.
1234
0bd95672
MF
12352014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1236
1237 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1238 (Elf_MIPS_ABIFlags_v0): New structure.
1239 (EF_MIPS_FP64): Define.
1240 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1241 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1242 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1243 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1244 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1245 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1246 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1247 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1248 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1249 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1250 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1251 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1252 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1253 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1254 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1255 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1256 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1257 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1258 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1259 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1260 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1261 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1262 field.
1263 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1264 EF_MIPS_FP64.
1265 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1266 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1267 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1268 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1269 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1270 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1271 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1272 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1273 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1274 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1275 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1276 record the current FP ABI extension.
1277 (mips-mode-switch): Define to show if kernel headers support mode
1278 switching.
1279 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1280 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1281 supported SYSV ABI version to 3.
1282 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1283 feature.
1284
f59ad976
RS
12852014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1286 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287
1288 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1289 path.
1290 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1291
4a3d3999
JM
12922014-12-31 Joseph Myers <joseph@codesourcery.com>
1293
1294 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1295 __fegetround and redefine to call __fegetround. Remove condition
1296 on [!__NO_MATH_INLINES].
1297 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1298 function.
1299 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1300 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1301 Remove macro.
1302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1303 instead of <fenv_libc.h>.
1304 (__llrintl): Call fegetround instead of __fegetround.
1305 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1306 instead of <fenv_libc.h>.
1307 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1308 (__lrintl): Call fegetround instead of __fegetround.
1309 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1310 instead of <fenv_libc.h>.
1311 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1312 (__rintl): Call fegetround instead of __fegetround.
1313
195f3afc
SP
13142014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1315
1316 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1317 arrays.
1318
7062bd42
L
13192014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 [BZ #17775]
1322 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1323 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1324 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1325
07256e18
AS
13262014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1327
1328 * sysdeps/i386/tls-macros.h: Include <features.h>.
1329 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1330 (TLS_IE): Likewise.
1331 (TLS_LD): Likewise.
1332 (TLS_GD): Likewise.
1333 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1334 define for GCC >= 5.0.
1335
1ff950ad
CM
13362014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1337
1338 * math/test-fenv.c (test_single_exception, set_single_exc,
1339 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1340 feexcp_mask_test, feenable_test, fe_single_test): Add
1341 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1342 case where they are not used.
1343 * math/libm-test.inc: Likewise.
1344 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1345 unused in the absence of FP rounding/exception support.
1346 * stdio-common/tst-printf-round.c: Likewise.
1347 * stdlib/tst-strtod-round.c: Likewise.
1348 * stdlib/tst-strtod-underflow.c: Likewise.
1349
0747f818
JM
13502014-12-30 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #17723]
1353 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1354 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1355 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1356 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1357 libm_hidden_weak.
1358 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1359 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1360 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1361 libm_hidden_def.
1362 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1363 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1364 libm_hidden_weak.
1365 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1366 Likewise.
1367 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1368 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1369 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1370 libm_hidden_weak.
1371 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1372 libm_hidden_def.
1373 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1374 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1375 (__feraiseexcept): Likewise.
1376 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1377 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1378 libm_hidden_weak.
1379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1380 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1381 libm_hidden_def.
1382 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1383 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1384 Use libm_hidden_def.
1385 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1386 libm_hidden_def.
1387 (feraiseexcept): Define as weak not strong alias. Use
1388 libm_hidden_weak.
1389 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1390 New inline function. Factored out of ...
1391 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1392 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1393 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1394 feraiseexcept.
1395 * math/w_acos.c (__acos): Likewise.
1396 * math/w_asin.c (__asin): Likewise.
1397 * math/w_ilogb.c (__ilogb): Likewise.
1398 * math/w_j0.c (y0): Likewise.
1399 * math/w_j1.c (y1): Likewise.
1400 * math/w_jn.c (yn): Likewise.
1401 * math/w_log.c (__log): Likewise.
1402 * math/w_log10.c (__log10): Likewise.
1403 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1404 * sysdeps/aarch64/fpu/math_private.h
1405 (libc_feupdateenv_test_aarch64): Likewise.
1406 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1407 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1408 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1409 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1410 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1411 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1412 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1413 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1414 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1415 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1416
8d2b2763
L
14172014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 [BZ #17732]
1420 * io/test-utime.c (main): Replace %ld with %jd and cast to
1421 intmax_t.
41fad830 1422 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1423 * nptl/tst-mutex5.c: Include <stdint.h>.
1424 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1425 * posix/tst-regex.c (run_test): Likewise.
1426 (run_test_backwards): Likewise.
5d619de4
L
1427 * rt/tst-clock.c: Include <stdint.h>.
1428 (clock_test): Replace %ld with %jd and cast to intmax_t.
1429 * rt/tst-cpuclock1.c: Include <stdint.h>.
1430 (do_test): Replace %lu with %ju and cast to uintmax_t.
1431 * rt/tst-cpuclock2.c: Include <stdint.h>.
1432 (do_test): Replace %lu with %ju and cast to uintmax_t.
1433 * rt/tst-mqueue1.c: Include <stdint.h>.
1434 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1435 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1436 intmax_t.
1437 * rt/tst-mqueue4.c (do_test): Likewise.
1438 * rt/tst-timer4.c: Include <stdint.h>.
1439 (check_ts): Replace %ld with %jd and cast to intmax_t.
1440 (do_test): Likewise.
ad86fbc3
L
1441 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1442 and cast to intmax_t.
37f46900 1443 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1444 * time/clocktest.c (main): Likewise.
1445 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1446 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1447
8b4416d8
AS
14482014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1449 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1452 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1453 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1454 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1455 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1456 version if bit_Fast_Unaligned_Load is set.
1457 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1458 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1459 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1460 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1461 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1464 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1465 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1466 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1467 to 4.
1468 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1469 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1470 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1471 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1472
e47b8d3b
CM
14732014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1474
6d6d7fde
CM
1475 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1476 instead of #if to avoid a Wundef warning.
1477 * stdlib/tst-limits.c (do_test): Likewise.
1478
cd2c37c9
CM
1479 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1480 parallel other exception macros.
1481 (fegetenv): Convert from macro to extern inline so that it applies
1482 retroactively to inline functions already seen by the compiler.
1483 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1484
e47b8d3b
CM
1485 * posix/Makefile (before-compile): Use $(objpfx) for
1486 posix-conf-vars-def.h.
1487
4a6aca7b
SP
14882014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1489
7910c2ae
SP
1490 * posix/getconf.c (main): Use size_t for type of I.
1491 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1492 NSPEC.
1493
50cbbaa9
SP
1494 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1495 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1496 * posix/posix-envs.def: Likewise.
1497 * sysdeps/posix/sysconf.c: Likewise.
1498 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1499 (specs): Remove array.
1500 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1501 array.
1502
3b566046
SP
1503 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1504 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1505 (__sysconf): Use CONF_IS_* macros.
1506
4a6aca7b
SP
1507 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1508 ($(objpfx)posix-conf-vars-def.h): New target.
1509 * posix/posix-conf-vars.list: New file.
1510 * posix/posix-conf-vars.h: New file.
1511 * posix/confstr.c: Include posix-conf-vars.h.
1512 (confstr): Use CONF_IS_* macros.
1513 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1514 CONF_IS_* macros.
1515 * scripts/gen-posix-conf-vars.awk: New file.
1516
7c1395a7
CM
15172014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1518
0025b4cc
CM
1519 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1520 fegetround): Add no-op macros to avoid linknamespace issues.
1521
d8aaf74b
CM
1522 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1523 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1524
5d24aa60
CM
1525 * sysdeps/unix/sysv/linux/tile/sysdep.h
1526 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1527 assembly-specific section to avoid a redefinition warning.
1528
7c1395a7
CM
1529 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1530 long before casting to pointer to avoid a cast warning.
1531
3c87c616
CM
15322014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1533
1534 * sysdeps/tile/tilegx/Implies: New file.
1535
f559d8cf
RE
15362014-12-23 Richard Earnshaw <rearnsha@arm.com>
1537
1538 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1539
7d81e8d6
FW
15402014-12-23 Florian Weimer <fweimer@redhat.com>
1541
1542 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1543
90aa3d09
JM
15442014-12-22 Joseph Myers <joseph@codesourcery.com>
1545
1546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1547 not define.
1548 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1549 <kernel-features.h>.
1550 (__utimes) [__NR_utimes]: Make code unconditional.
1551 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1552 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1553 (__ASSUME_UTIMES): Do not undefine.
1554 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1555 (__ASSUME_UTIMES): Likewise.
1556 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1557 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1558 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1559 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1560
4c0c0e2a
SE
15612014-12-22 Steve Ellcey <sellcey@imgtec.com>
1562
1563 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1564
0dacd7a3
CM
15652014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1566
b638f96a
CM
1567 [BZ #17747]
1568 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1569 alias to weak alias for j0l, y0l.
1570 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1571 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1572
0dacd7a3
CM
1573 [BZ #17746]
1574 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1575 conversion.
1576
528479c4
SE
15772014-12-22 Steve Ellcey <sellcey@imgtec.com>
1578
1579 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1580 to zero if not already defined.
1581
f56f9124
JM
15822014-12-22 Joseph Myers <joseph@codesourcery.com>
1583
1584 [BZ #17724]
1585 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1586 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1587 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1588 (char *) casts added.
1589 * sysdeps/ieee754/k_standardf.c: New file.
1590 * sysdeps/ieee754/k_standardl.c: Likewise.
1591 * math/Makefile (libm-support): Remove k_standard.
1592 (libm-calls): Add k_standard.
1593
8622d556
WD
15942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1595
1596 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1597 Optimize to avoid an unnecessary FPCR read.
1598
f3806bdb
WD
15992014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1600
1601 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1602 Optimize to reduce FPCR/FPSR accesses.
1603
9b47df58
WD
16042014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1605
1606 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1607 Call libc_fetestexcept_aarch64.
1608
97be3cac
WD
16092014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1610
1611 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1612 Call libc_fesetround_aarch64.
1613
935ab817
JM
16142014-12-22 Joseph Myers <joseph@codesourcery.com>
1615
1616 [BZ #17733]
1617 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1618 (__bind): Do not define as weak alias.
1619 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1620 define.
1621 (__getsockname): Do not define as weak alias.
1622
cc8623f1
WN
16232014-12-22 Will Newton <will.newton@linaro.org>
1624
1625 * manual/install.texi: Document that we require bison 2.7
1626 or above.
1627 * INSTALL: Regenerate.
1628 * configure.ac: Use AC_CHECK_PROG_VER instead of
1629 AC_PATH_PROG when checking for bison and check for
1630 version 2.7 or above.
1631 * configure: Regenerate.
1632
a19ca65a
CM
16332014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1634
92901170 1635 [BZ #17745]
e969965a
CM
1636 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1637 * sysdeps/tile/ffsll.c (ffsll): To here.
1638
a19ca65a
CM
1639 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1640
050f7298
L
16412014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1644 if not defined.
1645 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1646 definition.
1647 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1648 hidden ___tls_get_addr.
1649 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1650 hidden __tls_get_addr.
1651 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1652 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1653 Likewise.
1654
6df5547e
AS
16552014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1656
1657 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1658 _dl_init call.
1659
7432d613
L
16602014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1663 from "call _dl_init@PLT".
1664 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1665
98fe149e
AK
16662014-12-21 Anders Kaseorg <andersk@mit.edu>
1667
1668 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1669 guarantees.
1670
d12455f5
CM
16712014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1672
1673 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1674
95dee05f
CM
16752014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1676
92901170 1677 [BZ #17744]
95dee05f
CM
1678 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1679 strnlen.
1680
2ef4b74a
SE
16812014-12-19 Steve Ellcey <sellcey@imgtec.com>
1682
1683 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1684 of multu on MIPSr6.
1685 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1686 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1687 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1688 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1689 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1690
16912014-12-19 Steve Ellcey <sellcey@imgtec.com>
1692
1693 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1694 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1695 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1696 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1697 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1698 mips32r6/mips64r6.
1699 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1700
3eb38795
OB
17012014-12-19 Ondřej Bílka <neleai@seznam.cz>
1702
1703 * string/strncat.c (STRNCAT): Simplify implementation.
1704
6d4188dd
DM
17052014-12-19 David S. Miller <davem@davemloft.net>
1706
0d4ba8be
DM
1707 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1708 access the quad as both a long double and as a series of 4 words.
1709
6d4188dd
DM
1710 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1711 link_map->l_info array access.
1712
4ef91cdc
CM
17132014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1714
804c54f7
CM
1715 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1716
4ef91cdc
CM
1717 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1718 * math/atest-exp2.c (TIMEOUT): Likewise.
1719 * math/atest-sincos.c (TIMEOUT): Likewise.
1720
afd176d6
L
17212014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1722
1723 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1724 -Wno-error with -fno-builtin-lround.
1725
a4a43a90
TR
17262014-12-19 Torvald Riegel <triegel@redhat.com>
1727
1728 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1729 Contains futex constants and functions moved over from ...
1730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1731 <lowlevellock-futex.h>.
1732 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1733 (lll_timedwait_tid): Add comments and parentheses around macro
1734 arguments.
1735
76f71081
TR
17362014-12-19 Torvald Riegel <triegel@redhat.com>
1737
1738 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1739 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1740 (__lll_private_flag): Remove.
1741 (lll_futex_wait): Likewise.
1742 (lll_futex_timed_wait): Likewise.
1743 (lll_futex_wake): Likewise.
1744 (lll_futex_requeue): Likewise.
1745 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1746 (__lll_timedwait_tid): Spell out argument names.
1747 (lll_timedwait_tid): Add comments and parentheses around macro
1748 arguments.
1749 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1750 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1751
6b814909
TR
17522014-12-19 Torvald Riegel <triegel@redhat.com>
1753
1754 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1755 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1756 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1757 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1758 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1759 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1760 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1761 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1762 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1766 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1768 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1769 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1770 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1771 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1772 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1773
9cd4d4ab
L
17742014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * sysdeps/x86_64/x32/Makefile: New file.
1777
c9c1a2d0
L
17782014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1781 1L with (mp_limb_t) 1.
1782
af102d95
RM
17832014-12-17 Roland McGrath <roland@hack.frob.com>
1784
dd690454
RM
1785 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1786 * nptl/libc_pthread_init.c: ... here.
1787 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1788 * nptl/register-atfork.c: ... here.
1789
74eb826c
RM
1790 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1791 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1792 Use assert_perror to check its return value.
1793 (__gai_create_helper_thread): Likewise.
1794
c9ce306b
RM
1795 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1796
af102d95
RM
1797 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1798
8ac5a76a
JM
17992014-12-17 Joseph Myers <joseph@codesourcery.com>
1800
ea41469b
JM
1801 [BZ #17725]
1802 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1803 __profil_counter.
1804 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1807 Likewise.
1808 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1809 Likewise.
1810 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1811 (profil_counter): Likewise.
1812 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1813 (profil_counter): Likewise.
1814 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1815 Likewise.
1816 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1817 Likewise.
1818 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1819 (profil_counter): Likewise.
1820 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1821 Likewise.
1822 [!__profil_counter] (profil_counter): Define as weak alias of
1823 __profil_counter.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/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/unix/sysv/linux/sparc/sparc64/profil-counter.h
1829 (profil_counter): Rename to __profil_counter.
1830 [!__profil_counter] (profil_counter): Define as weak alias of
1831 __profil_counter.
1832 * sysdeps/posix/profil.c: Update comment referring to
1833 profil_counter.
1834 (__profil): Use __profil_counter instead of profil_counter.
1835 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1836 __profil_counter. Use __profil_counter_ushort and
1837 __profil_counter_uint in definitions.
1838 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1839 instead of profil_counter_uint and profil_counter_ushort.
1840
8ac5a76a
JM
1841 [BZ #17722]
1842 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1843 define as weak alias of __inet_makeaddr.
1844 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1845 as weak alias of __inet_addr.
1846 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1847 as weak alias of __inet_pton. Use libc_hidden_weak.
1848 * include/arpa/inet.h (__inet_pton): Declare. Use
1849 libc_hidden_proto.
1850 (inet_makeaddr): Don't use libc_hidden_proto.
1851 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1852 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1853 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1854 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1855 Remove variable.
1856 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1857 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1858
66ce3cb1
SE
18592014-12-17 Steve Ellcey <sellcey@imgtec.com>
1860
1861 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1862
d22ce01b
SL
18632014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1864
1865 * stdio-common/bug-vfprintf-nargs.c (do_test):
1866 Cast value to intptr_t to avoid format warning
1867 for usage with PRIdPTR printing macro.
1868
eca2772b
SL
18692014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1870
1871 * libio/tst-widetext.c (do_test):
1872 Use format type %td instead of %Zd for ptrdiff_t
1873 in order to avoid format warning.
1874
bdf079da
AS
18752014-12-17 Andreas Schwab <schwab@suse.de>
1876
1877 * nscd/mem.c (gc): Add size_t cast to match printf format.
1878
3eb5d2fc
RM
18792014-12-16 Roland McGrath <roland@hack.frob.com>
1880
1881 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1882 (init): Apply PTR_MANGLE to pointers before storing them.
1883 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1884 before using them.
1885
d003ada2
JM
18862014-12-16 Joseph Myers <joseph@codesourcery.com>
1887
380292ba
JM
1888 [BZ #17719]
1889 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1890 define as weak alias of __memrchr.
1891 (__memrchr): Do not define as strong alias of memrchr.
1892 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1893 Remove variable.
1894 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1895 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1896 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1897
9a44d530
JM
1898 [BZ #17717]
1899 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1900 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1901 (if_indextoname): Rename to __if_indextoname and define as weak
1902 alias of __if_indextoname. Use libc_hidden_weak.
1903 (if_freenameindex): Rename to __if_freenameindex and define as
1904 weak alias of __if_freenameindex.
1905 (if_nameindex): Rename to __if_nameindex and define as weak alias
1906 of __if_nameindex.
1907 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1908 __if_nametoindex and define as weak alias of __if_nametoindex.
1909 Use libc_hidden_weak.
1910 (if_freenameindex): Rename to __if_freenameindex and define as
1911 weak alias of __if_freenameindex.
1912 (if_nameindex): Rename to __if_nameindex and define as weak alias
1913 of __if_nameindex.
1914 (if_indextoname): Rename to __if_indextoname and define as weak
1915 alias of __if_indextoname. Use libc_hidden_weak.
1916 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1917 __if_nametoindex and define as weak alias of __if_nametoindex.
1918 Use libc_hidden_weak.
1919 (if_freenameindex): Rename to __if_freenameindex and define as
1920 weak alias of __if_freenameindex. Use libc_hidden_weak.
1921 (if_nameindex_netlink): Use __if_freenameindex instead of
1922 if_freenameindex.
1923 (if_nameindex): Rename to __if_nameindex and define as weak alias
1924 of __if_nameindex. Use libc_hidden_weak.
1925 (if_indextoname): Rename to __if_indextoname and define as weak
1926 alias of __if_indextoname. Use libc_hidden_weak.
1927 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1928 libc_hidden_proto.
1929 [!_ISOMAC] (__if_freenameindex): Likewise.
1930 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1931 if_nametoindex.
1932 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1933 variable.
1934 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1935 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1936 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1937 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1938 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1939 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1940 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1941
d003ada2
JM
1942 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1943 Remove variable.
1944 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1945 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1946
a0d424ef
SP
19472014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1948
0cd85520
SP
1949 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1950 subscript above bounds'
1951
a0d424ef
SP
1952 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1953 bounds.
1954
0e426475
AS
19552014-12-16 Arjun Shankar <arjun.is@lostca.se>
1956
8b460906
AS
1957 * libio/tst-fopenloc.c: Use test-skeleton.c.
1958
fa13e15b
AS
1959 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1960 (entry): Rename to ITEM.
1961 (do_test, comp): Adjust.
1962
0e426475
AS
1963 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1964
4f646bce
TR
19652014-12-16 Torvald Riegel <triegel@redhat.com>
1966
1967 * string/tester.c: Include <libc-internal.h>.
1968 (test_memset): Ignore -Wmemset-transposed-args.
1969
a07c4427
TR
19702014-12-16 Torvald Riegel <triegel@redhat.com>
1971
1972 * misc/tst-mntent2.c (do_test): Fix warning.
1973
1469f466
TR
19742014-12-16 Torvald Riegel <triegel@redhat.com>
1975
1976 * elf/tst-unique4lib.cc(a): Mark as used.
1977
11e3417a
FW
19782014-12-16 Florian Weimer <fweimer@redhat.com>
1979
1980 [BZ #17630]
1981 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1982 names.
1983
ae61fc7b
AM
19842014-12-16 Allan McRae <allan@archlinux.org>
1985
1986 * stdio-common/Makefile (tests): Re-add bug26.
1987
363a9899
OB
19882014-12-15 Ondřej Bílka <neleai@seznam.cz>
1989
1990 [BZ #17657]
1991 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1992 static array.
1993
d52c62df
TR
19942014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1995
1996 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1997 (__lll_lock_wait): Likewise.
1998 (__lll_timedlock_wait): Likewise.
1999 (__lll_timedwait_tid): Likewise.
2000 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2001 (__lll_robust_timedlock_wait): Likewise.
2002 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2003 (lll_cond_trylock): Likewise.
2004 (__lll_lock): Likewise.
2005 (__lll_robust_lock): Likewise.
2006 (__lll_cond_lock): Likewise.
2007 (lll_robust_cond_lock): Likewise.
2008 (__lll_timedlock): Likewise.
2009 (__lll_robust_timedlock): Likewise.
2010 (__lll_unlock): Likewise.
2011 (__lll_robust_unlock): Likewise.
2012 (lll_wait_tid): Likewise.
2013 (lll_timedwait_tid): Likewise.
2014
045a6bcd
TR
20152014-12-15 Torvald Riegel <triegel@redhat.com>
2016
2017 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2018
7f786dc1
TR
20192014-12-15 Torvald Riegel <triegel@redhat.com>
2020
2021 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2022
e7e21cba
AZ
20232014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2024
2025 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2026 * stdio-common/tst-sprintf.c: Likewise.
2027
bc89c0fc
TR
20282014-12-15 Torvald Riegel <triegel@redhat.com>
2029
2030 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2031
a5357b7c
JL
20322014-12-15 Jeff Law <law@redhat.com>
2033
2034 [BZ #16617]
2035 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2036 on the heap. (CVE-2012-3406)
2037 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2038 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2039 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2040
3a12c70f
WN
20412014-12-15 Will Newton <will.newton@linaro.org>
2042
2043 * manual/install.texi: Bump required version of texinfo
2044 to 4.7 from 4.5.
2045 * INSTALL: Regenerated.
2046 * configure.ac: Check for makeinfo version 4.7 and above.
2047 * configure: Regenerated.
2048
e4f639e4
RM
20492014-12-12 Roland McGrath <roland@hack.frob.com>
2050
2051 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2052 PREFIX, string constant to insert between directory and name.
2053 * sysdeps/posix/shm_open.c: Update caller.
2054 * sysdeps/posix/shm_unlink.c: Likewise.
2055 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2056 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2057 (SEM_SHM_PREFIX): New macro.
2058 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2059 [$(have-thread-library) = no].
2060 * nptl/Makefile (libpthread-routines): Add shm-directory.
2061 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2062 * sysdeps/nptl/shm-directory.h: New file.
2063 * sysdeps/posix/shm-directory.c
2064 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2065 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2066 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2067 INTERNAL_SYSCALL.
2068 (__where_is_shmfs): Function removed.
2069 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2070 Variables removed.
2071 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2072 Use SHM_GET_NAME.
2073 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2074
2075 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2076 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2077 unconditional for use inside libpthread.
2078 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2079
439c43f6
RM
20802014-12-12 Roland McGrath <roland@hack.frob.com>
2081
c76d1ff5
RM
2082 * nptl/pthread_getaffinity.c: New file.
2083 * nptl/pthread_setaffinity.c: New file.
2084 * nptl/pthread_getname.c: New file.
2085 * nptl/pthread_setname.c: New file.
2086
439c43f6
RM
2087 * nptl/pthread_create.c (START_THREAD_DEFN)
2088 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2089
48e435cd
SL
20902014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2091 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2092
2093 * resolv/res_send.c (send_vc): Disable warning resplen may
2094 be used uninitialized.
2095
9d9c0019
SL
20962014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2097
2098 * nptl/tst-mutex6.c
2099 (ATTR_NULL): New define checks ATTR against NULL.
2100 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2101 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2102
9173840b
JL
21032014-12-11 James Lemke <jwlemke@codesourcery.com>
2104
2105 [BZ #17581]
2106 * malloc/hooks.c
2107 (mem2mem_check): Revert my previous change.
2108 (malloc_check_get_size): Revert my previous change.
2109 (mem2chunk_check): Revert my previous change.
2110
78e21c5d
RM
21112014-12-11 Roland McGrath <roland@hack.frob.com>
2112
2113 * sysdeps/posix/shm-directory.c: New file.
2114 * sysdeps/posix/shm-directory.h: New file.
2115 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2116 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2117 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2118 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2119 Transmute EPERM to EACCES.
2120 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2121 from ...
2122 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2123 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2124
f82c43af
KK
21252014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2126
2127 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2128 pointer and cast to uintptr_t.
2129 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2130 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2131 Add cast to avoid warning.
2132 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2133
fc00cf7b
JM
21342014-12-11 Joseph Myers <joseph@codesourcery.com>
2135
2136 * nptl/semaphore.h: Move to ...
2137 * sysdeps/pthread/semaphore.h: ... here.
2138 * Makefile (installed-headers): Change nptl/semaphore.h to
2139 sysdeps/pthread/semaphore.h.
2140
1c4053db
RM
21412014-12-11 Roland McGrath <roland@hack.frob.com>
2142
73b0c1a1
RM
2143 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2144 generated error format strings.
2145
1c4053db
RM
2146 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2147 -Wformat-extra-args warnings for scanf formats.
2148 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2149 test of zero-length format (duh).
2150 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2151 corner-case scanf format test.
2152 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2153 generated fprintf format string.
2154 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2155 corner-case sprintf format tests.
2156 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2157 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2158 -Wformat-extra-args warnings throughout.
2159 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2160 (CFLAGS-scanf4.c): Likewise.
2161 (CFLAGS-scanf7.c): Likewise.
2162 (CFLAGS-tst-sprintf.c): Likewise.
2163 (CFLAGS-tst-printf.c): Likewise.
2164 (CFLAGS-tst-printfsz.c): Likewise.
2165
47d51f4f
JM
21662014-12-11 Joseph Myers <joseph@codesourcery.com>
2167
a1edbf3c
JM
2168 * include/cpio.h: New file.
2169 * include/fmtmsg.h: Likewise.
2170
47d51f4f
JM
2171 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2172 corresponding format argument to size_t.
2173 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2174 arguments.
2175 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2176 corresponding format argument to size_t.
2177 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2178 arguments.
2179 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2180 corresponding format argument to size_t.
2181 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2182 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2183 (CFLAGS-tst-mbswcs2.c): Likewise.
2184 (CFLAGS-tst-mbswcs3.c): Likewise.
2185 (CFLAGS-tst-mbswcs4.c): Likewise.
2186 (CFLAGS-tst-mbswcs5.c): Likewise.
2187 (CFLAGS-tst-trans.c): Likewise
2188
e9813cfb
RM
21892014-12-11 Roland McGrath <roland@hack.frob.com>
2190
2191 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2192 rather than assuming they won't contain any '%'s.
2193
f627ca82
CM
21942014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2195
2196 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2197 inhibit_loop_to_libcall to avoid recursive calls.
2198 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2199 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2200
7f296942
AZ
22012014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2202
2203 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2204 prototype.
2205
d0276e18
SE
22062014-12-11 Steve Ellcey <sellcey@imgtec.com>
2207
2208 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2209 integer value instead of boolean.
2210
fc56e970
SE
22112014-12-11 Steve Ellcey <sellcey@imgtec.com>
2212
2213 * malloc/malloc.c: Fix powerof2 check.
2214
40e53917
SL
22152014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2216
2217 * locale/programs/locfile.h (maybe_swap_uint32):
2218 Remove inline and add unused attribute.
2219
1ea166df
SL
22202014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2221
9d9c0019 2222 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2223 Truncating assembler expression to a .long expression.
2224
acf869f4
AS
22252014-12-11 Andreas Schwab <schwab@suse.de>
2226
2227 * elf/rtld.c (struct map_args): Constify str member.
2228 (do_preload): Constify fname argument.
2229
9d969099
AZ
22302014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231
2232 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2233 constants definition.
2234
da5bcaa4
AS
22352014-12-11 Andreas Schwab <schwab@suse.de>
2236
b0a3c164
AS
2237 [BZ #16657]
2238 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2239 FORCE_ELISION instead of DO_ELISION.
2240 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2241 Remove.
2242 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2243 Likewise.
2244
da5bcaa4
AS
2245 * iconvdata/gconv-modules: Remove duplicate entry.
2246
6d248857
WN
22472014-12-11 Will Newton <will.newton@linaro.org>
2248
2249 Merge gettext 0.19.3 into intl/.
2250
2251 This involves a number of cosmetic changes to comments
2252 and ANSI function definitions and prototypes throughout
2253 all the files. The gettext copyright header is used but
2254 with the date ranges taken from the glibc copy.
2255
2256 * NEWS: Add gettext merge to 2.21.
2257 * intl/bindtextdom.c: Switch to gettext copyright.
2258 Use ANSI definitions and prototypes.
2259 Use gl_* locking primitives rather than __libc_* ones.
2260 Use __builtin_expect rather than __glibc_likely/unlikely.
2261 * intl/dcgettext.c: Switch to gettext copyright.
2262 Use ANSI definitions and prototypes.
2263 * intl/dcigettext.c: Switch to gettext copyright.
2264 Use ANSI definitions and prototypes.
2265 (INTDIV0_RAISES_SIGFPE): New define.
2266 Use gl_* locking primitives rather than __libc_* ones.
2267 Include eval-plural.h instead of plural-eval.c.
2268 Use __builtin_expect rather than __glibc_likely/unlikely.
2269 * intl/dcngettext.c: Switch to gettext copyright.
2270 Use ANSI definitions and prototypes.
2271 * intl/dgettext.c: Likewise.
2272 * intl/dngettext.c: Likewise.
2273 * intl/plural-eval.c: Renamed to...
2274 * intl/eval-plural.h: ...this.
2275 * intl/explodename.c: Switch to gettext copyright.
2276 Use ANSI definitions and prototypes.
2277 (_nl_explode_name): Use strchr instead of __rawmemchr.
2278 * intl/finddomain.c: Switch to gettext copyright.
2279 Use ANSI definitions and prototypes.
2280 Use gl_* locking primitives rather than __libc_* ones.
2281 (_nl_find_domain): Use malloc rather than alloca for
2282 allocation of temporary locale name.
2283 * intl/gettext.c: Switch to gettext copyright.
2284 Use ANSI definitions and prototypes.
2285 * intl/gettextP.h: Switch to gettext copyright.
2286 Use ANSI definitions and prototypes.
2287 Use gl_* locking primitives rather than __libc_* ones.
2288 * intl/gmo.h: Switch to gettext copyright.
2289 (struct sysdep_string): Move struct segment_pair outside of
2290 struct definition.
2291 * intl/hash-string.c: Use ANSI definitions and prototypes.
2292 * intl/hash-string.h: Switch to gettext copyright.
2293 Use ANSI definitions and prototypes.
2294 * intl/l10nflist.c: Switch to gettext copyright.
2295 Use ANSI definitions and prototypes.
2296 (_nl_normalize_codeset): Avoid integer overflow.
2297 * intl/loadinfo.h: Switch to gettext copyright.
2298 Use ANSI definitions and prototypes.
2299 (LIBINTL_DLL_EXPORTED): New define.
2300 (PATH_SEPARATOR): New define.
2301 * intl/loadmsgcat.c: Switch to gettext copyright.
2302 * intl/localealias.c: Switch to gettext copyright.
2303 Use ANSI definitions and prototypes.
2304 (_nl_expand_alias): Use PATH_SEPARATOR.
2305 * intl/ngettext.c: Switch to gettext copyright.
2306 Use ANSI definitions and prototypes.
2307 * intl/plural-exp.c: Likewise.
2308 * intl/plural-exp.h: Switch to gettext copyright.
2309 Use ANSI definitions and prototypes.
2310 (struct expression): Move definition of enum operator outside
2311 of struct definition.
2312 * intl/plural.c: Regenerate.
2313 * intl/plural.y: Switch to gettext copyright.
2314 Use ANSI definitions and prototypes.
2315 Port to bison 3.0.
2316 * intl/textdomain.c: Switch to gettext copyright.
2317 Use ANSI definitions and prototypes.
2318 Use gl_* locking primitives rather than __libc_* ones.
2319
48c43298
SE
23202014-12-10 Steve Ellcey <sellcey@imgtec.com>
2321
2322 * debug/warning-nop.c: Add used atrribute.
2323
2b89bce9
JM
23242014-12-10 Joseph Myers <joseph@codesourcery.com>
2325
c153ac9f
JM
2326 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2327
2b89bce9
JM
2328 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2329 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2330 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2331
2cfbdb9a
JM
23322014-12-10 Joseph Myers <joseph@codesourcery.com>
2333 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 [BZ #17634]
2336 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2337 Undefine after defining function. Define as weak alias of
2338 __wcschr. Use libc_hidden_weak.
2339 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2340 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2341 (libc_hidden_def): Also define __GI___wcschr alias.
2342 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2343 __wcschr and define as weak alias of __wcschr.
2344 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2345 __wcschr.
2346 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2347 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2348 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2349 libc_hidden_weak. Do not use libc_hidden_def.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2351 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2352 __GI___wcschr alias.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2354 [IS_IN (libc)] (wcschr): Define as macro expanding to
2355 __redirect_wcschr.
2356 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2357 [IS_IN (libc)] (__wcschr_power6): Likewise.
2358 [IS_IN (libc)] (__wcschr_power7): Likewise.
2359 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2360 instead of wcschr.
2361 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2362 __libc_wcschr.
2363 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2364 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2365 __wcschr and define as weak alias of __wcschr. Use
2366 libc_hidden_builtin_def.
2367 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2368 as weak alias of __wcschr. Use libc_hidden_weak.
2369 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2370 wcschr.
2371 * time/era.c (_nl_init_era_entries): Likewise.
2372 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2373 variable.
2374 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2375 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2376
1b8bf351
JM
23772014-12-10 Joseph Myers <joseph@codesourcery.com>
2378
2379 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2380 format for long int variable.
2381
f5f46d51
AK
23822014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2383
2384 [BZ #10672]
07008f7d 2385 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2386 qsort stable.
2387
217a74a8
AS
23882014-12-10 Andreas Schwab <schwab@suse.de>
2389
2390 [BZ #12847]
2391 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2392 user-controlled locks.
2393
aa76a5c7
RE
23942014-12-10 Richard Earnshaw <rearnsha@arm.com>
2395
2396 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2397 register.
2398
2084e7ca
JM
23992014-12-10 Joseph Myers <joseph@codesourcery.com>
2400
a4ecc9eb
JM
2401 * configure.ac (--disable-werror): New configure option.
2402 (enable_werror): New AC_SUBST.
2403 * configure: Regenerated.
2404 * config.make.in (enable-werror): New variable.
2405 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2406 -Wno-error=undef.
2407 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2408 * manual/install.texi (Configuring and compiling): Document
2409 --disable-werror.
2410 * INSTALL: Regenerated.
2411 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2412 (CFLAGS-tst-chk2.c): Likewise.
2413 (CFLAGS-tst-chk3.c): Likewise.
2414 (CFLAGS-tst-chk4.cc): Likewise.
2415 (CFLAGS-tst-chk5.cc): Likewise.
2416 (CFLAGS-tst-chk6.cc): Likewise.
2417 (CFLAGS-tst-lfschk1.c): Likewise.
2418 (CFLAGS-tst-lfschk2.c): Likewise.
2419 (CFLAGS-tst-lfschk3.c): Likewise.
2420 (CFLAGS-tst-lfschk4.cc): Likewise.
2421 (CFLAGS-tst-lfschk5.cc): Likewise.
2422 (CFLAGS-tst-lfschk6.cc): Likewise.
2423
0f88636c
JM
2424 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2425 (main): Disable -Wdeprecated-declarations around calls to
2426 register_printf_function.
2427
c81e9deb
JM
2428 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2429 (do_test): Disable -Wdiv-by-zero around some calls to
2430 fwrite_unlocked and fread_unlocked.
2431
2084e7ca
JM
2432 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2433 (DIAG_POP_NEEDS_COMMENT): Likewise.
2434 (_DIAG_STR1): Likewise.
2435 (_DIAG_STR): Likewise.
2436 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2437 * stdio-common/bug21.c: Include <libc-internal.h>.
2438 (do_test): Disable -Wformat around call to sscanf.
2439 * stdio-common/scanf14.c: Include <libc-internal.h>.
2440 (main): Disable -Wformat around some calls to scanf functions.
2441
df7ecc6b
TR
24422014-12-09 Torvald Riegel <triegel@redhat.com>
2443
2444 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2445
2aa3862e
AZ
24462014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447
2448 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2449 stack variable alignment.
2450
c5c2b7c3
JM
24512014-12-06 Joseph Myers <joseph@codesourcery.com>
2452
2453 [BZ #17682]
2454 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2455 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2456 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2457 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2458 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2459 __getrlimit instead of getrlimit.
2460 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2461 __gettimeofday instead of gettimeofday.
2462 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2463 Likewise.
2464 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2465 Likewise.
2466 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2467 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2468 Remove variable.
2469 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2470 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2471
9752c3cd
AZ
24722014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2473
2474 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2475 for wide-character tests.
2476
4bee4cd9
RM
24772014-12-04 Roland McGrath <roland@hack.frob.com>
2478
2479 * io/openat64.c: #include <libc-internal.h>
2480 (__openat64): Prototypify. Use ignore_value on MODE.
2481 * io/openat.c: Likewise.
2482 * misc/reboot.c: #include <libc-internal.h>
2483 (reboot): Prototypify. Use ignore_value on HOWTO.
2484 * misc/ptrace.c: #include <libc-internal.h>
2485 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2486
84dbedb6
JM
24872014-12-04 Joseph Myers <joseph@codesourcery.com>
2488
2489 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2490 XPG4, UNIX98 and XOPEN2K.
2491 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2492 Remove variable.
2493 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2494
b7a3e1c4 24952014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2496
af50dfc1 2497 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2498 * libio/iofopen.c: Likewise.
2499 * libio/wfileops.c: Likewise.
2500
fe8b4d98
SP
2501 [BZ #17653]
2502 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2503 offset on EOF.
2504 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2505 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2506 (fgets_func): Function pointer to fgets and fgetws.
2507 (do_ftell_test): Add test to verify ftell value after read
2508 EOF.
2509 (do_test): Set fgets_func.
2510
61b4f792
SP
2511 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2512 O_TRUNC flag for w and w+ modes.
2513 (do_rewind_test): Likewise.
2514 (do_ftell_test): Likewise.
2515 (do_write_test): Likewise.
2516
be349d70
SP
2517 [BZ #17647]
2518 * libio/fileops.c (do_ftell): Seek only when there are
2519 unflushed writes.
2520 * libio/wfileops.c (do_ftell_wide): Likewise.
2521 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2522 test case.
2523 (do_one_test): Call it.
2524
e3d6dba5
JM
25252014-12-03 Joseph Myers <joseph@codesourcery.com>
2526
2527 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2528 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2529 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2530 Remove variable.
2531 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2532 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2533 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2534
7f994279
JM
25352014-12-02 Joseph Myers <joseph@codesourcery.com>
2536
28a91e8f
JM
2537 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2538 Remove variable.
2539 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2540
7f994279
JM
2541 [BZ #17668]
2542 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2543 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/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2547 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2548 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2549 __freeifaddrs. Use libc_hidden_weak.
2550 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2551 __getifaddrs and define as weak alias of __getifaddrs. Use
2552 libc_hidden_weak.
2553 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2554 __freeifaddrs. Use libc_hidden_weak.
2555 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2556 Remove variable.
2557 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2558 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2559
bbe4c142
PJ
25602014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2561
2562 [BZ #17601]
2563 * sysdeps/mips/start.S (__start): Use indirect jump to call
2564 __libc_start_main.
2565
66cadc05
JM
25662014-12-02 Joseph Myers <joseph@codesourcery.com>
2567
909e16d9
JM
2568 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2569
4e0b9016
JM
2570 * nptl/tst-mutex1.c: Include <stdbool.h>.
2571 [!ATTR] (ATTR_NULL): New macro.
2572 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2573 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2574 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2575
b1aff6a4
JM
2576 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2577 to char *.
2578
266865c0
JM
2579 [BZ #17665]
2580 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2581 Change conditional to [__USE_MISC].
2582
84e5e756
JM
2583 [BZ #17664]
2584 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2585 fgets_unlocked.
2586 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2587 __fgets_unlocked.
2588 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2589 fgets_unlocked.
2590 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2591 Remove variable.
2592 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2593 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2594 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2595 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2596 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2597 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2598 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2599 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2600 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2601
66cadc05
JM
2602 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2603
2e8a2de2 26042014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2605
2606 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2607 Remove strpbrk objects.
2608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2609 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2610 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2611 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2612 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2613 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2614
bb2542e0
AZ
2615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2616 Remove strcspn objects.
2617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2618 (__libc_ifunc_impl_list): Remove strcspn implementation.
2619 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2620 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2621 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2622 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2623
2624 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2625 Remove strspn objetcs.
2626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2627 (__libc_ifunc_impl_list): Remove strspn implementation.
2628 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2629 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2630 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2631 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2632
08f1e1d2
JL
26332014-12-01 James Lemke <jwlemke@codesourcery.com>
2634
2635 [BZ #17581]
2636 * malloc/hooks.c
2637 (mem2mem_check): Add a terminator to the chain of checking blocks.
2638 (malloc_check_get_size): Use it here.
2639 (mem2chunk_check): Ditto.
2640
a8a7d7d2
RS
26412014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2642
2643 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2644 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2645
97114a38
CD
26462014-11-29 Carlos O'Donell <carlos@redhat.com>
2647
c8dc1727
CD
2648 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2649
6d03458e
CD
2650 * nptl/nptl-init.c: Include libc-internal.h.
2651 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2652
97114a38
CD
2653 * elf/ldconfig.c (search_dir): Expand comment.
2654
0e7e69ba
JM
26552014-11-29 Joseph Myers <joseph@codesourcery.com>
2656
2657 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2658 variable.
2659 (linknamespace-symlist-stdlibs-tests): Likewise.
2660 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2661 instead of $(objpfx)symlist-stdlibs.
2662 (linknamespace-libs-isoc): New variable.
2663 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2664 (linknamespace-libs-ISO): New variable.
2665 (linknamespace-libs-ISO99): Likewise.
2666 (linknamespace-libs-ISO11): Likewise.
2667 (linknamespace-libs-XPG3): Likewise.
2668 (linknamespace-libs-XPG4): Likewise.
2669 (linknamespace-libs-POSIX): Likewise.
2670 (linknamespace-libs-UNIX98): Likewise.
2671 (linknamespace-libs-XOPEN2K): Likewise.
2672 (linknamespace-libs-POSIX2008): Likewise.
2673 (linknamespace-libs-XOPEN2K8): Likewise.
2674 ($(objpfx)symlist-stdlibs): Replace by
2675 $(linknamespace-symlist-stdlibs-tests). Use
2676 $(linknamespace-libs-$*) as set of libraries.
2677 ($(linknamespace-header-tests)): Update dependencies. Use
2678 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2679 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2680 * conform/linknamespace.pl: Remove comment about considering
2681 definitions of symbols from irrelevant libraries.
2682
d8dd0080
L
26832014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2684
2685 [BZ #13862]
2686 * elf/dl-tls.c: Include <atomic.h>.
2687 (oom): Remove #ifdef SHARED/#endif.
2688 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2689 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2690 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2691 big enough.
2692 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2693 * nptl/Makefile (tests): Add tst-stack4.
2694 (modules-names): Add tst-stack4mod.
2695 ($(objpfx)tst-stack4): New.
2696 (tst-stack4mod.sos): Likewise.
2697 ($(objpfx)tst-stack4.out): Likewise.
2698 ($(tst-stack4mod.sos)): Likewise.
2699 (clean): Likewise.
2700 * nptl/tst-stack4.c: New file.
2701 * nptl/tst-stack4mod.c: Likewise.
2702
167da422
B
27032014-11-27 J. Brown <jb999@gmx.de>
2704
2705 * sysdeps/x86/bits/string.h: Add recent CPUs.
2706
9114625b
JM
27072014-11-27 Joseph Myers <joseph@codesourcery.com>
2708
6b5189eb
JM
2709 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2710 sigblock.
2711
49051f8e
JM
2712 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2713 feof.
2714
9114625b
JM
2715 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2716 variable.
2717
e7300fef
SL
27182014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2719
2720 * nscd/connections.c: Include libc-internal.h because of macro
2721 usage ignore_value.
2722
1721f0a4
SP
27232014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2724
2725 * string/bits/string3.h (__warn_memset_zero_len): Don't
2726 declare for gcc newer than 5.0.
2727 (memset): Don't test for zero-length __LEN for gcc newer than
2728 5.0.
2729
be970916
JM
27302014-11-27 Joseph Myers <joseph@codesourcery.com>
2731
d88548f4
JM
2732 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2733 size_t for %zu format.
2734
be970916
JM
2735 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2736 difference, not %ju.
2737
3b20fd5c
JM
27382014-11-26 Joseph Myers <joseph@codesourcery.com>
2739
8915eace
JM
2740 * include/libc-internal.h (ignore_value): New macro.
2741 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2742 with ignore_value.
2743
f1a5a0e3
JM
2744 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2745 definition.
2746
59ef1715
JM
2747 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2748 pthread_cleanup_push to void *.
2749
a6f3079b
JM
2750 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2751 Undefine.
2752
706688aa
JM
2753 [BZ #16619]
2754 [BZ #16740]
2755 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2756 instead of 1L << 52.
2757
12da14a5
JM
2758 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2759 * libio/bug-rewind2.c (do_test): Likewise.
2760
bd5dadac
JM
2761 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2762 * debug/test-strcpy_chk-ifunc.c: Likewise.
2763 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2764 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2765 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2766 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2767 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2768 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2769 * Rules [$(multi-arch) = no] (tests): Do not filter out
2770 $(tests-ifunc).
2771 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2772 * debug/Makefile (tests-ifunc): Remove variable.
2773 (tests): Do not add $(tests-ifunc).
2774 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2775 (tests): Do not add $(tests-ifunc).
2776 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2777 [TEST_IFUNC]: Remove conditionals.
2778 * string/test-string.h (TEST_IFUNC): Remove macro.
2779 [TEST_IFUNC]: Remove conditionals.
2780
3b20fd5c
JM
2781 * string/test-strchr.c [!WIDE] (L): New macro.
2782 [WIDE] (L): Likewise.
2783 (check1): Use CHAR instead of char. Use L on string and character
2784 constants.
2785
704f7947
AZ
27862014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2787
2788 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2789 tests.
2790 * sysdeps/powerpc/bits/atomic.h
2791 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2792 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2793 (atomic_exchange_and_add_acq): Likewise.
2794 (atomic_exchange_and_add_rel): Likewise.
2795 * sysdeps/powerpc/powerpc32/bits/atomic.h
2796 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2797 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2798 * sysdeps/powerpc/powerpc64/bits/atomic.h
2799 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2800 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2801
cdcb42d7
TR
28022014-11-26 Torvald Riegel <triegel@redhat.com>
2803
2804 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2805 Change synchronization of __sched_fifo_min_prio and
2806 __sched_fifo_max_prio.
2807 * nptl/pthread_mutexattr_getprioceiling.c
2808 (pthread_mutexattr_getprioceiling): Likewise.
2809 * nptl/pthread_mutexattr_setprioceiling.c
2810 (pthread_mutexattr_setprioceiling): Likewise.
2811 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2812 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2813 Likewise.
2814
c82f5c0c
JM
28152014-11-26 Joseph Myers <joseph@codesourcery.com>
2816
2817 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2818 void.
2819
439e1ad6
JM
28202014-11-25 Joseph Myers <joseph@codesourcery.com>
2821
2822 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2823 third argument const.
2824
b1eda10e
PE
28252014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2826
2827 fnmatch: work around GCC compiler warning bug with uninit var
2828 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2829 This works around a bug with x86-64 GCC 4.9.2 and earlier
2830 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2831 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2832 used uninitialized in this function [-Wmaybe-uninitialized]".
2833
bde2667a
JM
28342014-11-25 Joseph Myers <joseph@codesourcery.com>
2835
2836 * posix/bug-regex31.c (main): Return RES not 0.
2837
5fbb5691
AB
28382014-11-25 Anton Blanchard <anton@samba.org>
2839
2840 * sysdeps/powerpc/bits/atomic.h
2841 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2842
467fec0b
BM
28432014-11-24 Sterling Augustine <saugustine@google.com>
2844
2845 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2846
e9ff8efb
RC
28472014-11-24 Ryan Cumming <etaoins@gmail.com>
2848
2849 [BZ #17608]
2850 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2851
9744496f
JM
28522014-11-24 Joseph Myers <joseph@codesourcery.com>
2853
2854 [BZ #17633]
2855 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2856 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2857 variable.
2858 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2859 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2860
6423d475
WD
28612014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2862
2863 * string/strncpy.c (strncpy): Improve performance by using memset.
2864
28652014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2866
2867 * string/strcpy.c (strcpy):
2868 Improve performance by using strlen and memcpy.
2869
5d178c37
LH
28702014-11-24 Leonhard Holz <leonhard.holz@web.de>
2871
2872 * string/strcoll_l.c (get_next_seq): __always_inline.
2873 * string/strcoll_l.c (do_compare): __always_inline.
2874
279bc5b3
SP
28752014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2876
7a9ebfa1
SP
2877 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2878 defined.
2879 * include/mqueue.h: Likewise.
2880 * include/stdlib.h: Likewise.
2881
4f41c682
SP
2882 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2883 (get_null_defines): Adjust.
2884 * sunrpc/Makefile: Adjust comment.
2885 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2886 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2887 (CFLAGS-interp.c): Likewise.
2888 (CFLAGS-ldconfig.c): Likewise.
2889 (CPPFLAGS-.os): Likewise.
2890 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2891 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2892 * extra-modules.mk (extra-modules.mk): Likewise.
2893 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2894 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2895 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2896 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2897 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2898 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2899 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2900 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2901 * iconvdata/Makefile (CPPFLAGS): Likewise.
2902 (cpp-srcs-left): Add libof for all iconvdata routines.
2903 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2904 * include/assert.h: Likewise.
2905 * include/ctype.h: Likewise.
2906 * include/errno.h: Likewise.
2907 * include/libc-symbols.h: Likewise.
2908 * include/math.h: Likewise.
2909 * include/netdb.h: Likewise.
2910 * include/resolv.h: Likewise.
2911 * include/stdio.h: Likewise.
2912 * include/stdlib.h: Likewise.
2913 * include/string.h: Likewise.
2914 * include/sys/stat.h: Likewise.
2915 * include/wctype.h: Likewise.
2916 * intl/l10nflist.c: Likewise.
2917 * libidn/idn-stub.c: Likewise.
2918 * libio/libioP.h: Likewise.
2919 * nptl/libc_multiple_threads.c: Likewise.
2920 * nptl/pthreadP.h: Likewise.
2921 * posix/regex_internal.h: Likewise.
2922 * resolv/res_hconf.c: Likewise.
2923 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2924 * sysdeps/arm/memmove.S: Likewise.
2925 * sysdeps/arm/sysdep.h: Likewise.
2926 * sysdeps/generic/_itoa.h: Likewise.
2927 * sysdeps/generic/symbol-hacks.h: Likewise.
2928 * sysdeps/gnu/errlist.awk: Likewise.
2929 * sysdeps/gnu/errlist.c: Likewise.
2930 * sysdeps/i386/i586/memcpy.S: Likewise.
2931 * sysdeps/i386/i586/memset.S: Likewise.
2932 * sysdeps/i386/i686/memcpy.S: Likewise.
2933 * sysdeps/i386/i686/memmove.S: Likewise.
2934 * sysdeps/i386/i686/mempcpy.S: Likewise.
2935 * sysdeps/i386/i686/memset.S: Likewise.
2936 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2938 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2939 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2942 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2943 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2944 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2945 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2946 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2947 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2948 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2949 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2950 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2951 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2952 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2953 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2954 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2956 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2957 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2958 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2959 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2960 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2962 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2963 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2965 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2967 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2969 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2970 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2971 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2974 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2978 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2979 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2980 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2981 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2982 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2983 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2984 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2986 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2987 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2988 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2989 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2991 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2994 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2995 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2997 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2998 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2999 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3000 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3001 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3002 * sysdeps/posix/closedir.c: Likewise.
3003 * sysdeps/posix/opendir.c: Likewise.
3004 * sysdeps/posix/readdir.c: Likewise.
3005 * sysdeps/posix/rewinddir.c: Likewise.
3006 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3007 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3008 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3009 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3010 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3012 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3017 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3018 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3019 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3021 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3024 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3025 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3026 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3027 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3028 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3029 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3041 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3042 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3044 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3045 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3046 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3048 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3050 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3051 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3052 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3053 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3054 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3061 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3063 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3064 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3065 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3066 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3068 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3069 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3070 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3071 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3073 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3074 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3075 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3076 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3078 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3079 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3080 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3082 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3084 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3085 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3086 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3087 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3088 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3089 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3090 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3092 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3093 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3094 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3095 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3096 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3097 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3098 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3102 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3104 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3105 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3107 * sysdeps/unix/alpha/sysdep.S: Likewise.
3108 * sysdeps/unix/alpha/sysdep.h: Likewise.
3109 * sysdeps/unix/make-syscalls.sh: Likewise.
3110 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3111 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3112 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3113 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3114 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3115 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3116 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3117 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3118 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3119 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3120 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3121 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3123 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3124 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3125 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3126 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3127 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3128 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3129 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3130 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3131 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3132 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3133 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3134 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3135 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3136 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3139 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3140 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3144 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3146 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3148 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3149 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3150 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3151 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3157 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3160 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3161 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3162 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3163 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3165 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3166 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3168 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3169 * sysdeps/x86_64/memcpy.S: Likewise.
3170 * sysdeps/x86_64/memmove.c: Likewise.
3171 * sysdeps/x86_64/memset.S: Likewise.
3172 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3173 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3174 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3175 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3176 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3179 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3180 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3181 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3182 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3183 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3184 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3185 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3187 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3189 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3191 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3192 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3193 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3194 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3196 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3197 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3198 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3199 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3200 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3201 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3203 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3204 * sysdeps/x86_64/strcmp.S: Likewise.
3205
76ca86a5
SP
3206 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3207
a3848485
SP
3208 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3209 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3210 * elf/rtld-Rules: Likewise.
3211 * elf/setup-vdso.h: Likewise.
3212 * include/assert.h: Likewise.
3213 * include/bits/stdlib-float.h: Likewise.
3214 * include/errno.h: Likewise.
3215 * include/sys/stat.h: Likewise.
3216 * include/unistd.h: Likewise.
3217 * sysdeps/aarch64/setjmp.S: Likewise.
3218 * sysdeps/alpha/setjmp.S: Likewise.
3219 * sysdeps/arm/__longjmp.S: Likewise.
3220 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3221 * sysdeps/arm/setjmp.S: Likewise.
3222 * sysdeps/arm/sysdep.h: Likewise.
3223 * sysdeps/generic/_itoa.h: Likewise.
3224 * sysdeps/generic/dl-sysdep.h: Likewise.
3225 * sysdeps/generic/ldsodefs.h: Likewise.
3226 * sysdeps/i386/dl-tls.h: Likewise.
3227 * sysdeps/i386/setjmp.S: Likewise.
3228 * sysdeps/m68k/setjmp.c: Likewise.
3229 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3230 * sysdeps/mach/hurd/opendir.c: Likewise.
3231 * sysdeps/posix/getcwd.c: Likewise.
3232 * sysdeps/posix/opendir.c: Likewise.
3233 * sysdeps/posix/profil.c: Likewise.
3234 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3235 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3237 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3238 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3239 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3240 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3241 * sysdeps/s390/dl-tls.h: Likewise.
3242 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3243 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3244 * sysdeps/sh/sh3/setjmp.S: Likewise.
3245 * sysdeps/sh/sh4/setjmp.S: Likewise.
3246 * sysdeps/unix/alpha/sysdep.h: Likewise.
3247 * sysdeps/unix/arm/sysdep.S: Likewise.
3248 * sysdeps/unix/i386/sysdep.S: Likewise.
3249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3250 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3251 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3252 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3253 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3254 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3255 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3256 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3257 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3258 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3259 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3260 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3261 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3264 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3267 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3268 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3272 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3273 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3274 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3277 * sysdeps/x86_64/setjmp.S: Likewise.
3278
a109996e
SP
3279 * include/math.h: Use IS_IN instead of IS_IN_libm.
3280 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3281 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3283 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3284 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3285 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3286 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3288 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3289 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3290 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3291 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3292 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3293 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3294 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3295 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3296 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3297 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3300 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3301 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3302 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3303 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3304 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3305 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3306 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3307 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3308 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3309 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3310 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3311 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3312 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3314 Likewise.
3315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3316 Likewise.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3318 Likewise.
3319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3320 Likewise.
3321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3322 Likewise.
3323 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3325 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3326 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3327 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3328 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3334 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3335 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3339 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3340 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3341 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3342 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3343 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3344 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3345 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3346 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3347 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3349 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3350
ce9f10f7
SP
3351 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3352 * nptl/pthreadP.h: Likewise.
3353 * nptl_db/structs.def: Likewise.
3354 * sysdeps/arm/sysdep.h: Likewise.
3355 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3356 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3357 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3358 * sysdeps/unix/alpha/sysdep.h: Likewise.
3359 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3360 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3361 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3362 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3363 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3364 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3366 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3367 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3368 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3369 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3370 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3371 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3372 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3377 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3380 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3381 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3382 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3383 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3384 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3385
016afc75
SP
3386 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3387 * nptl/pthreadP.h: Likewise.
3388 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3389 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3390 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3391 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3392 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3393 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3395 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3396 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3397 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3398 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3399 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3401 Likewise.
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3403 Likewise.
3404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3406 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3409 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3410 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3412
9b42a0b3
SP
3413 * dlfcn/dladdr.c: Use IS_IN.
3414 * dlfcn/dladdr1.c: Likewise.
3415 * dlfcn/dlclose.c: Likewise.
3416 * dlfcn/dlerror.c: Likewise.
3417 * dlfcn/dlinfo.c: Likewise.
3418 * dlfcn/dlmopen.c: Likewise.
3419 * dlfcn/dlopen.c: Likewise.
3420 * dlfcn/dlsym.c: Likewise.
3421 * dlfcn/dlvsym.c: Likewise.
3422
85f36372
SP
3423 * include/ifaddrs.h: Use IS_IN.
3424 * inet/check_pf.c: Likewise.
3425 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3426 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3427
fb6784e3
SP
3428 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3429 IS_IN_ldconfig.
3430 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3431 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3432
2886d2d1
SP
3433 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3434 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3435 IS_IN (libc).
3436
9a484857
SP
3437 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3438
a10178bd
SP
3439 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3440 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3441 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3442 * include/libc-symbols.h (IS_IN_LIB): New macro.
3443 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3444 * include/netdb.h: Likewise.
3445 * include/stap-probe.h: Remove all uses of IN_LIB.
3446
279bc5b3
SP
3447 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3448 instead of IN_MODULE.
3449 * include/libc-symbols.h (IN_MODULE): Define using
3450 MODULE_NAME.
3451 (PASTE_NAME, PASTE_NAME1): New macros.
3452 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3453 of IN_LIB.
3454 (STAP_PROBE_ASM): Likewise.
3455
e0cfa510
ST
34562014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3457
3458 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3459 __mach_init in dlopened libc.
3460
34d97d87
MF
34612014-11-22 Mike Frysinger <vapier@gentoo.org>
3462
3463 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3464 * sysdeps/arm/preconfigure: Regenerate.
3465
33cd1f74
RM
34662014-11-21 Roland McGrath <roland@hack.frob.com>
3467
3468 * nptl/pthread_create.c (__pthread_create_2_1): Set
3469 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3470 when copying values from IATTR into PD.
3471
8c230039
WN
34722014-11-21 Will Newton <will.newton@linaro.org>
3473 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3474
6d3db89b
AP
3475 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3476 Refactor inline-asm. Also add comment.
3477
01194ba1
WN
3478 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3479 ElfW macro instead of hardcoded Elf64 types.
3480 (la_aarch64_gnu_pltenter): Likewise.
3481 * sysdeps/aarch64/dl-machine.h
3482 (elf_machine_runtime_setup): Use ElfW(Addr).
3483
8c230039
WN
3484 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3485 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3486 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3487 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3488 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3489 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3490 (R_AARCH64_TLS_DTPMOD): This.
3491 (R_AARCH64_TLS_DTPREL64): Rename to ...
3492 (R_AARCH64_TLS_DTPREL): This.
3493 (R_AARCH64_TLS_TPREL64): Rename to ...
3494 (R_AARCH64_TLS_TPREL): This.
3495 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3496 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3497 R_AARCH64_TLS_TPREL64.
3498 (elf_machine_rela): Likewise.
3499
0d79fa53
TR
35002014-11-21 Torvald Riegel <triegel@redhat.com>
3501
3502 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3503 by setting it to 0. 64b atomics are not supported currently.
3504
b59d114b
AO
35052014-11-21 Alexandre Oliva <aoliva@redhat.com>
3506
3507 [BZ #16469]
3508 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3509 search domain names.
3510
f3d945d5
AO
35112014-11-21 Alexandre Oliva <aoliva@redhat.com>
3512
3513 [BZ #16469]
3514 * NEWS: Update.
3515 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3516 trailing dot.
3517 * posix/tst-getaddrinfo5.c: New.
3518 * posix/Makefile (tests): Add it.
3519
49698902
AO
35202014-11-21 Alexandre Oliva <aoliva@redhat.com>
3521
3522 [BZ #14498]
3523 * NEWS: Fixed.
3524 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3525 after parsing line but before break_if_match.
3526 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3527 if there is a protocol mismatch.
3528
81959214
MS
35292014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3530
3531 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3532 because the potential race is on the user-supplied stream.
3533
7729e0e9
AO
35342014-11-21 Alexandre Oliva <aoliva@redhat.com>
3535
3536 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3537 string literal if not passed a buffer.
3538 * manual/job.texi (ctermid): Update reasoning, note deviation
3539 from posix, suggest mtasurace when not passed a buffer, for
3540 future non-preliminary safety notes.
3541
a4ea5e28
AO
35422014-11-21 Alexandre Oliva <aoliva@redhat.com>
3543
3544 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3545 of not passing it a buffer.
3546 Reported by Peng Haitao.
3547
a2b581cb
AO
35482014-11-21 Alexandre Oliva <aoliva@redhat.com>
3549
3550 * manual/Makefile ($(objpfx)stamp-summary): Require
3551 check-safety.sh to pass.
3552 * manual/check-safety.sh: Wish for verification that every
3553 @deftypefn and @deftypefun is followed by a @safety remark.
3554
f214ff74
RM
35552014-11-20 Roland McGrath <roland@hack.frob.com>
3556
7f0dfae0
RM
3557 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3558
2f531bbb
RM
3559 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3560 PTHREAD_CANCEL_ASYNCHRONOUS.
3561 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3562 send SIGCANCEL.
3563
f214ff74
RM
3564 * nptl/default-sched.h: New file.
3565 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3566 * nptl/pthread_create.c: Include it.
3567 (__pthread_create_2_1): Use collect_default_sched instead of making
3568 Linux syscalls here directly.
3569
e37c91d4
TR
35702014-11-20 Torvald Riegel <triegel@redhat.com>
3571
3572 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3573 __pthread_once): Use C11 atomics.
3574
1eccfecd
TR
35752014-11-20 Torvald Riegel <triegel@redhat.com>
3576
3577 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3578
ff871426
TR
35792014-11-20 Torvald Riegel <triegel@redhat.com>
3580
3581 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3582 atomic_thread_fence_acquire, atomic_thread_fence_release,
3583 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3584 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3585 atomic_compare_exchange_weak_relaxed,
3586 atomic_compare_exchange_weak_acquire,
3587 atomic_compare_exchange_weak_release,
3588 atomic_exchange_acquire, atomic_exchange_release,
3589 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3590 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3591 atomic_fetch_and_acquire,
3592 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3593
1ea339b6
TR
35942014-11-20 Torvald Riegel <triegel@redhat.com>
3595
3596 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3597 USE_ATOMIC_COMPILER_BUILTINS): Define.
3598 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3600 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3602 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3603 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3604 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3606 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3608 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3610 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3612 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3614 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3615 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3616 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3618 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3619 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3620 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3621 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3622 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3623 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3624 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3625 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3626 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3627 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3628 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3629 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3630 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3631 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3632 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3633 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3634 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3635 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3636 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3637 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3638
cbd463e2
RM
36392014-11-19 Roland McGrath <roland@hack.frob.com>
3640
d960211f
RM
3641 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3642 the sched_priority value here. It was already checked when the user
3643 called pthread_attr_setschedparam.
3644
cbd463e2
RM
3645 * nptl/tst-bad-schedattr.c: New file.
3646 * nptl/Makefile (tests): Add it.
3647
a39208bd
CD
36482014-11-19 Carlos O'Donell <carlos@redhat.com>
3649 Florian Weimer <fweimer@redhat.com>
3650 Joseph Myers <joseph@codesourcery.com>
3651 Adam Conrad <adconrad@0c3.net>
3652 Andreas Schwab <schwab@suse.de>
3653 Brooks <bmoses@google.com>
3654
3655 [BZ #17625]
3656 * wordexp-test.c (__dso_handle): Add prototype.
3657 (__register_atfork): Likewise.
3658 (__app_register_atfork): New function.
3659 (registered_forks): New global.
3660 (register_fork): New function.
3661 (test_case): Add 3 new tests for WRDE_CMDSUB.
3662 (main): Call __app_register_atfork.
3663 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3664 fork count is non-zero fail the test.
3665 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3666 is set.
3667 (parse_dollars): Remove check for WRDE_NOCMD.
3668 (parse_dquote): Likewise.
3669
9cd47470
SP
36702014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
130ac68c
SP
3672 * Makeconfig (built-modules): List non-library modules to be
3673 built.
3674 (module-cppflags): Include libc-modules.h for
3675 everything except shlib-versions.v.i.
3676 (CPPFLAGS): Use it.
3677 (before-compile): Add libc-modules.h.
3678 ($(common-objpfx)libc-modules.h,
3679 $(common-objpfx)libc-modules.stmp): New targets.
3680 (common-generated): Add libc-modules.h and libc-modules.stmp.
3681 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3682 * include/libc-symbols.h: Don't include libc-modules.h.
3683 * include/libc-modules.h: Remove file.
3684 * scripts/gen-libc-modules.awk: New script to generate
3685 libc-modules.h.
3686 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3687 Depend on libc-modules.stmp.
3688
286663c3
SP
3689 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3690
9cd47470
SP
3691 * Makeconfig (in-module): Get value of libof set for the
3692 translation unit.
3693 (CPPFLAGS): Use $(in-module).
3694 * Makerules: Don't suffix routine names for nonlib.
3695 * include/libc-modules.h: New file.
3696 * include/libc-symbols.h: Include libc-modules.h
3697 (IS_IN): New macro to replace IS_IN_* macros.
3698 * elf/Makefile: Set libof-* for each routine.
3699 * elf/rtld-Rules: Likewise.
3700 * extra-modules.mk: Likewise.
3701 * iconv/Makefile: Likewise.
3702 * iconvdata/Makefile: Likewise.
3703 * locale/Makefile: Likewise.
3704 * malloc/Makefile: Likewise.
3705 * nss/Makefile: Likewise.
3706 * sysdeps/gnu/Makefile: Likewise.
3707 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3708 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3709 * sysdeps/s390/s390-64/Makefile: Likewise.
3710 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3711 CPPFLAGS for nscd instead of nonlib.
3712
32fed10f
RM
37132014-11-18 Roland McGrath <roland@hack.frob.com>
3714
d71035bd
RM
3715 * nptl/createthread.c: New file.
3716
6540b991
RM
3717 * nptl/createthread.c: Moved ...
3718 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3719
32fed10f
RM
3720 * nptl/createthread.c: Add proper top-line comment.
3721 (do_clone): Folded into ...
3722 (create_thread): ... here. Take new arguments STOPPED_START and
3723 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3724 increment __nptl_threads, do event-reporting logic, do
3725 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3726 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3727 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3728 just send SIGCANCEL.
3729 * nptl/pthread_create.c: Forward-declare create_thread before
3730 including createthread.c.
3731 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3732 declaration, and new macro START_THREAD_SELF to replace argument.
3733 Remove return statement.
3734 (report_thread_creation): New function.
3735 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3736 synchronization logic, and __nptl_nthreads increment here, around
3737 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3738 PD->parent_cancelhandling here, before create_thread. When
3739 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3740 __deallocate_stack, and ENOMEM translation here.
3741
107a5bf0
JM
37422014-11-18 Joseph Myers <joseph@codesourcery.com>
3743
3744 [BZ #17616]
3745 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3746 (mptwo): Rename to __mptwo.
3747 (__inv): Use __mptwo instead of mptwo.
3748 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3749 (mptwo): Rename to __mptwo.
3750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3751 of mpone and __mptwo instead of mptwo.
3752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3753 instead of mpone.
3754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3755 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3756 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3757 of mpone and __mptwo instead of mptwo.
3758 (__mpranred): Use __mpone instead of mpone.
3759 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3760 variable.
3761 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3762 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3763 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3764 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3765 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3766 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3767 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3768 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3769 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3770 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3771 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3772 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3773 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3774 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3775 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3776 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3777 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3778 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3779 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3780
3b679ab3
TV
37812014-11-18 Tom de Vries <tom@codesoucery.com>
3782
3783 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3784 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3785
37862014-11-17 Richard Henderson <rth@redhat.com>
3787
3788 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3789 (_FP_PACK_RAW_2): Remove.
3790 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3791 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3792 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3793 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3794 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3795 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3796 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3797 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3798 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3799 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3800 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3801 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3802 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3803 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3804 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3805 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3806
0781a777
RM
38072014-11-14 Roland McGrath <roland@hack.frob.com>
3808
3809 * signal/signal.h [__USE_MISC]
3810 (struct sigvec): Remove type.
3811 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3812 (sigvec): Remove declaration.
3813 * sysdeps/posix/sigvec.c: Moved ...
3814 * signal/sigvec.c: ... here, replacing old file.
3815 (struct sigvec): New type, copied from old signal.h definition.
3816 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3817 (__sigvec): Convert definition to prototype.
3818 (sigvec): Replace weak_alias with compat_symbol.
3819 * signal/Versions (libc: GLIBC_2.21): New version set.
3820 * include/signal.h: Remove __sigvec declaration.
3821 * sysdeps/unix/bsd/sigvec.c: Remove file.
3822 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3823 * manual/signal.texi (BSD Handler): Remove subsection.
3824 Move siginterrupt up to ...
3825 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3826 (Blocking in BSD): Fold subsection into its parent.
3827 * NEWS: Mention sigvec removal.
3828
a4733812
JM
38292014-11-14 Joseph Myers <joseph@codesourcery.com>
3830
5ae4fe60
JM
3831 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3832 (DLA_FMS): Make definition conditional only on [__FMA4__].
3833 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3834 definition.
3835
6a0dd472
JM
3836 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3837 Make definition conditional only on [PROF].
3838 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3839 definition.
3840 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3841 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3842
a4733812
JM
3843 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3844 !__GNUC__].
3845 * include/signal.h (__sigpause): Move declaration above call to
3846 libc_hidden_proto.
3847 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3848 variable.
3849 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3850 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3851
cf7246dd
DM
38522014-11-14 David S. Miller <davem@davemloft.net>
3853
3854 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3855 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3856
c1b0aadc
JM
38572014-11-14 Joseph Myers <joseph@codesourcery.com>
3858
4863355a
JM
3859 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3860 * configure: Regenerated.
3861 * manual/install.texi (Tools for Compilation): Document a
3862 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3863 compiler verified to work.
3864 * INSTALL: Regenerated.
3865
c1b0aadc
JM
3866 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3867 redeclare with asm name.
3868 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3869 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3870 including <string.h>.
3871 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3872 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3873 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3874 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3875 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3876 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3877 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3878
2a1cfd94
JM
38792014-11-13 Joseph Myers <joseph@codesourcery.com>
3880
bf438382
JM
3881 * stdlib/strtol.c (__strtol): Use prototype definition.
3882
2a1cfd94
JM
3883 [BZ #17594]
3884 * stdlib/strtol.c (SYM__): New macro.
3885 (SYM__1): Likewise.
3886 (__strtol): Likewise.
3887 (strtol): Rename to __strtol and define as weak alias of
3888 __strtol. Use libc_hidden_weak.
3889
20ed0d26
SL
38902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3891
3892 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3893 Use numbered labels in inline assembly.
3894
53244a4e
SL
38952014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3896
3897 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3898 Add setjmp LIBC_PROBE.
3899 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3900 Likewise.
3901 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3902 Add longjmp, longjmp_target LIBC_PROBE.
3903 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3904 Likewise.
3905
47df8251
SL
39062014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3907
3908 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3909 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3910 to get rid of unused variable warning.
3911
618cebef
SL
39122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3913
3914 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3915 Check for unwind_backtrace == NULL only in SHARED case.
3916 (__backchain_backtrace): Compile only in SHARED case.
3917 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3918 Likewise.
3919 (__backchain_backtrace): Declare as static.
3920
c6aab2cb
RM
39212014-11-12 Roland McGrath <roland@hack.frob.com>
3922
3923 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3924 (__libc_multiple_threads_ptr): Variable moved ...
3925 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3926
5a6fa4d7
JM
39272014-11-12 Joseph Myers <joseph@codesourcery.com>
3928
24f4f825
JM
3929 * conform/GlibcConform.pm: New file.
3930 * conform/conformtest.pl: Use GlibcConform module.
3931 * conform/linknamespace.pl: New file.
3932 * conform/list-header-symbols.pl: Likewise.
3933 * conform/Makefile (linknamespace-symlists-base): New variable.
3934 (linknamespace-symlists-tests): Likewise.
3935 (linknamespace-header-base): Likewise.
3936 (linknamespace-header-tests): Likewise.
3937 (tests-special): Add new tests.
3938 ($(linknamespace-symlists-tests)): New rule.
3939 (linknamespace-libs): New variable.
3940 ($(objpfx)symlist-stdlibs): New rule.
3941 ($(linknamespace-header-tests)): Likewise.
3942 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3943 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3944 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3945 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3946 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3947 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3948 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3949 (test-xfail-ISO/math.h/linknamespace): Likewise.
3950 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3951 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3952 (test-xfail-ISO/time.h/linknamespace): Likewise.
3953 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3954 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3955 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3956 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3957 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3958 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3959 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3960 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3961 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3962 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3963 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3964 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3965 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3966 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3967 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3968 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3969 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3970 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3971 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3972 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3973 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3974 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3975 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3976 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3977 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3978 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3979 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3980 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3981 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3982 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3983 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3984 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3985 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3986 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3987 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3988 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3989 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3990 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3991 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3992 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3993 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3994 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3995 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3996 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3997 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3998 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3999 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4000 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4001 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4002 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4003 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4004 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4005 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4006 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4007 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4008 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4009 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4010 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4011 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4012 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4013 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4014 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4015 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4016 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4017 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4018 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4019 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4020 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4021 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4022 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4023 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4024 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4025 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4026 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4027 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4028 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4029 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4030 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4031 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4032 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4033 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4034 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4035 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4036 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4037 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4038 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4039 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4040 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4041 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4042 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4043 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4044 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4045 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4046 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4047 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4048 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4049 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4050 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4051 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4052 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4053 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4054 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4055 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4056 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4057 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4058 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4059 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4060 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4061 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4062 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4063 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4064 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4065 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4066 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4067 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4068 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4069 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4070 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4071 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4072 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4073 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4074 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4075 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4076 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4077 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4078 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4079 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4080 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4081 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4082 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4083 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4084 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4085 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4086 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4087 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4088 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4089 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4090 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4091 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4092 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4093 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4094 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4095 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4096 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4097 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4098 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4099 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4100 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4101 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4102 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4103
cc67478e
JM
4104 [BZ #17589]
4105 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4106 of fgets_unlocked.
4107
9975e3d3
JM
4108 [BZ #17585]
4109 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4110 (memmem): Rename to __memmem and define as weak alias of
4111 __memmem. Use libc_hidden_weak.
4112 (__memmem): Use libc_hidden_def.
4113 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4114 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4115 memmem.
4116
c4eae752
JM
4117 [BZ #17582]
4118 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4119 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4120 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4121 and define as weak alias of __fgets_unlocked. Use
4122 libc_hidden_weak.
4123 (__fgets_unlocked): Use libc_hidden_def.
4124 * include/stdio.h (__fgets_unlocked): Declare. Use
4125 libc_hidden_proto.
4126 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4127 __fgets_unlocked instead of fgets_unlocked.
4128 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4129 (GET_NPROCS_CONF_PARSER): Likewise.
4130 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4131 (GET_NPROCS_CONF_PARSER): Likewise.
4132
01cad84e
JM
4133 [BZ #17574]
4134 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4135 weak alias of __wmemset. Use libc_hidden_weak.
4136 (__wmemset): Use libc_hidden_def.
4137 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4138 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4139 of wmemset.
4140
939da411
JM
4141 [BZ #17573]
4142 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4143 with asm name __mempcpy.
4144 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4145
293d9a41
JM
4146 [BZ #17572]
4147 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4148 and define as weak alias of __rawmemchr.
4149 (__rawmemchr): Do not define as strong alias of rawmemchr.
4150
bef8fd60
JM
4151 [BZ #17571]
4152 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4153 alias of __qsort_r.
4154 (qsort): Call __qsort_r instead of qsort_r.
4155 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4156 (__qsort_r): Declare. Call libc_hidden_proto.
4157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4158 instead of qsort_r.
4159 * nscd/gai.c (__qsort_r): Define to qsort_r.
4160 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4161 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4162 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4163
c52ff39e
JM
4164 [BZ #17570]
4165 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4166 define as weak alias of __malloc_info.
4167
2f5c1b00
JM
4168 [BZ #17584]
4169 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4170 as weak alias of __rewinddir. Don't use libc_hidden_def.
4171 (__rewinddir): Use libc_hidden_def.
4172 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4173 as weak alias of __rewinddir. Don't use libc_hidden_def.
4174 (__rewinddir): Use libc_hidden_def.
4175 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4176 weak alias of __rewinddir. Don't use libc_hidden_def.
4177 (__rewinddir): Use libc_hidden_def.
4178 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4179 (__rewinddir): Use libc_hidden_proto.
4180 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4181 rewinddir.
4182 (__getcwd): Use __rewinddir instead of rewinddir.
4183
5a6fa4d7
JM
4184 [BZ #17583]
4185 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4186 alias of __fileno. Use libc_hidden_weak.
4187 (__fileno): Use libc_hidden_def.
4188 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4189 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4190 alias of __ftello.
4191 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4192 __ftello.
4193 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4194 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4195 libc_hidden_def.
4196 (fread_unlocked): Don't use libc_hidden_ver.
4197 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4198 and define as weak alias of __fread_unlocked. Don't use
4199 libc_hidden_def.
4200 (__fread_unlocked): Use libc_hidden_def.
4201 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4202 (ftello): Don't use libc_hidden_proto.
4203 (__ftello): Declare. Use libc_hidden_proto.
4204 (fread_unlocked): Don't use libc_hidden_proto.
4205 (__fread_unlocked): Declare. Use libc_hidden_proto.
4206 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4207 and __ftello instead of fileno, fread_unlocked and ftello.
4208
2581b98e
SP
42092012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4210
4211 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4212 GOT12.
4213 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4214 Likewise.
4215 (_dl_start_user): Likewise.
4216 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4217
533bb7c2
SP
42182014-11-12 Carlos O'Donell <carlos@redhat.com>
4219 Siddhesh Poyarekar <siddhesh@redhat.com>
4220
4221 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4222 Move argv and envp down instead of moving argc up.
4223 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4224
fffa1cf8
LH
42252014-11-12 Leonhard Holz <leonhard.holz@web.de>
4226
4227 [BZ #17506]
4228 * test-skeleton.c (main): Return successful if one of
4229 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4230 * string/tst-strcoll-overflow.c: Define expected status.
4231
fb89b46d
TU
42322014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4233
4234 [BZ #17475]
4235 * locale/iso-639.def: Define Bhili and Tulu language codes.
4236
5c40c3ba
AH
42372014-11-11 Alan Hayward <alan.hayward@arm.com>
4238
4239 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4240
b17fe01b 42412014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4242
4243 [BZ #17555]
4244 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4245
bd805071
AS
42462014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4247
4248 * configure.ac: Updated check of minimal required version to
4249 2.22.
4250 * manual/install.texi (Tools for Compilation): Updated version
4251 number.
4252 * configure: Regenerated.
4253 * INSTALL: Likewise.
4254
1400983e
AS
42552014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4256
4257 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4258 __tls_get_addr.
4259
2c46a66a
JM
42602014-11-07 Joseph Myers <joseph@codesourcery.com>
4261
4262 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4263 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4264 (__waitpid): Don't define as alias. Use libc_hidden_def not
4265 libc_hidden_weak.
4266 (waitpid): Define as alias of __waitpid.
4267 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4268 __waitpid.
4269 (__waitpid): Don't define as alias. Use libc_hidden_def not
4270 libc_hidden_weak.
4271 (waitpid): Define as alias of __waitpid.
4272 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4273 __libc_waitpid alias.
4274 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4276 Likewise.
4277 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4279 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4280 alias.
4281 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4282 __waitpid.
4283 (__waitpid): Don't define as alias. Use libc_hidden_def not
4284 libc_hidden_weak.
4285 (waitpid): Define as alias of __waitpid.
4286
da53d6db
CD
42872014-11-06 Carlos O'Donell <carlos@redhat.com>
4288
a2887bdb
CD
4289 * manual/llio.texi: Add comment that write safety has been
4290 fixed in Linux.
4291
da53d6db
CD
4292 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4293 (localplt-build-dso): Add elf/ld.so.
4294 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4295 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4296 and free for ld.so.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4298 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4300 Likewise.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4302 Likewise.
4303 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4304 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4305 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4306 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4307 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4308 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4309 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4310 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4311 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4312 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4313 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4314
9cf27b8d
JM
43152014-11-05 Joseph Myers <joseph@codesourcery.com>
4316
4317 [BZ #14132]
4318 * include/libc-symbols.h (INTUSE): Remove macro.
4319 (INTDEF): Likewise.
4320 (INTVARDEF): Likewise.
4321 (_INTVARDEF): Likewise.
4322 (INTDEF2): Likewise.
4323 (INTVARDEF2): Likewise.
4324 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4325 rtld_hidden_def instead of INTVARDEF.
4326 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4327 (_dl_starting_up_internal): Remove declaration.
4328 (_dl_starting_up): Use rtld_hidden_proto.
4329 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4330 declaration.
4331 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4332 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4333 _dl_starting_up.
4334 * elf/dl-writev.h (_dl_writev): Likewise.
4335 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4336 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4337 _dl_starting_up_internal.
4338
af83568d
AZ
43392014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4340
4341 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4342 test-skeleton.c.
4343
b01ee67c
WN
43442014-11-05 Will Newton <will.newton@linaro.org>
4345
4346 * benchtests/Makefile: (bench-malloc): Add malloc thread
4347 scalability benchmark.
4348 * benchtests/bench-malloc-threads.c: New file.
4349
be9d4ccc
RE
43502014-11-05 Richard Earnshaw <rearnsha@arm.com>
4351
4352 * sysdeps/aarch64/strchrnul.S: New file.
4353
7110166d
AZ
43542014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4355
4356 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4357 definition.
4358 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4359 Likwise.
4360 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4361 Likewise.
4362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4363 Likewise.
4364 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4365 Likewise.
4366 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4367 Likewise.
4368
43692014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4370
4371 * catgets/test-gencat.c: Use test-skeleton.c.
4372 * catgets/tst-catgets.c: Likewise.
4373 * csu/tst-empty.c: Likewise.
4374 * elf/tst-audit2.c: Likewise.
4375 * elf/tst-global1.c: Likewise.
4376 * elf/tst-pathopt.c: Likewise.
4377 * elf/tst-piemod1.c: Likewise.
4378 * elf/tst-tls10.c: Likewise.
4379 * elf/tst-tls11.c: Likewise.
4380 * elf/tst-tls12.c: Likewise.
4381 * gnulib/tst-gcc.c: Likewise.
4382 * iconvdata/tst-e2big.c: Likewise.
4383 * iconvdata/tst-loading.c: Likewise.
4384 * iconv/tst-iconv1.c: Likewise.
4385 * iconv/tst-iconv2.c: Likewise.
4386 * inet/test-inet6_opt.c: Likewise.
4387 * inet/tst-gethnm.c: Likewise.
4388 * inet/tst-network.c: Likewise.
4389 * inet/tst-ntoa.c: Likewise.
4390 * intl/tst-codeset.c: Likewise.
4391 * intl/tst-gettext2.c: Likewise.
4392 * intl/tst-gettext3.c: Likewise.
4393 * intl/tst-ngettext.c: Likewise.
4394 * intl/tst-translit.c: Likewise.
4395 * io/test-stat.c: Likewise.
4396 * libio/test-fmemopen.c: Likewise.
4397 * libio/tst-freopen.c: Likewise.
4398 * libio/tst-sscanf.c: Likewise.
4399 * libio/tst-ungetwc1.c: Likewise.
4400 * libio/tst-ungetwc2.c: Likewise.
4401 * libio/tst-widetext.c: Likewise.
4402 * localedata/tst-ctype.c: Likewise.
4403 * localedata/tst-digits.c: Likewise.
4404 * localedata/tst-leaks.c: Likewise.
4405 * localedata/tst-mbswcs1.c: Likewise.
4406 * localedata/tst-mbswcs2.c: Likewise.
4407 * localedata/tst-mbswcs3.c: Likewise.
4408 * localedata/tst-mbswcs4.c: Likewise.
4409 * localedata/tst-mbswcs5.c: Likewise.
4410 * localedata/tst-setlocale.c: Likewise.
4411 * localedata/tst-trans.c: Likewise.
4412 * localedata/tst-wctype.c: Likewise.
4413 * localedata/tst-xlocale1.c: Likewise.
4414 * login/tst-grantpt.c: Likewise.
4415 * malloc/tst-calloc.c: Likewise.
4416 * malloc/tst-malloc.c: Likewise.
4417 * malloc/tst-mallocstate.c: Likewise.
4418 * malloc/tst-mcheck.c: Likewise.
4419 * malloc/tst-mtrace.c: Likewise.
4420 * malloc/tst-obstack.c: Likewise.
4421 * math/atest-exp2.c: Likewise.
4422 * math/atest-exp.c: Likewise.
4423 * math/atest-sincos.c: Likewise.
4424 * math/test-matherr.c: Likewise.
4425 * math/test-misc.c: Likewise.
4426 * math/test-powl.c: Likewise.
4427 * math/tst-definitions.c: Likewise.
4428 * misc/tst-dirname.c: Likewise.
4429 * misc/tst-efgcvt.c: Likewise.
4430 * misc/tst-fdset.c: Likewise.
4431 * misc/tst-hsearch.c: Likewise.
4432 * misc/tst-mntent2.c: Likewise.
4433 * nptl/tst-sem7.c: Likewise.
4434 * nptl/tst-sem8.c: Likewise.
4435 * nptl/tst-sem9.c: Likewise.
4436 * nss/test-netdb.c: Likewise.
4437 * posix/tst-fnmatch.c: Likewise.
4438 * posix/tst-getlogin.c: Likewise.
4439 * posix/tst-gnuglob.c: Likewise.
4440 * posix/tst-mmap.c: Likewise.
4441 * pwd/tst-getpw.c: Likewise.
4442 * resolv/tst-inet_ntop.c: Likewise.
4443 * rt/tst-timer.c: Likewise.
4444 * stdio-common/test-fseek.c: Likewise.
4445 * stdio-common/test-popen.c: Likewise.
4446 * stdio-common/test-vfprintf.c: Likewise.
4447 * stdio-common/tst-cookie.c: Likewise.
4448 * stdio-common/tst-fileno.c: Likewise.
4449 * stdio-common/tst-gets.c: Likewise.
4450 * stdio-common/tst-obprintf.c: Likewise.
4451 * stdio-common/tst-perror.c: Likewise.
4452 * stdio-common/tst-sprintf2.c: Likewise.
4453 * stdio-common/tst-sprintf3.c: Likewise.
4454 * stdio-common/tst-sprintf.c: Likewise.
4455 * stdio-common/tst-swprintf.c: Likewise.
4456 * stdio-common/tst-tmpnam.c: Likewise.
4457 * stdio-common/tst-unbputc.c: Likewise.
4458 * stdio-common/tst-wc-printf.c: Likewise.
4459 * stdlib/tst-environ.c: Likewise.
4460 * stdlib/tst-fmtmsg.c: Likewise.
4461 * stdlib/tst-limits.c: Likewise.
4462 * stdlib/tst-rand48-2.c: Likewise.
4463 * stdlib/tst-rand48.c: Likewise.
4464 * stdlib/tst-random2.c: Likewise.
4465 * stdlib/tst-random.c: Likewise.
4466 * stdlib/tst-strtol.c: Likewise.
4467 * stdlib/tst-strtoll.c: Likewise.
4468 * stdlib/tst-tls-atexit.c: Likewise.
4469 * stdlib/tst-xpg-basename.c: Likewise.
4470 * string/test-ffs.c: Likewise.
4471 * string/tst-bswap.c: Likewise.
4472 * string/tst-inlcall.c: Likewise.
4473 * string/tst-strtok.c: Likewise.
4474 * string/tst-strxfrm.c: Likewise.
4475 * sysdeps/x86_64/tst-audit10.c: Likewise.
4476 * sysdeps/x86_64/tst-audit3.c: Likewise.
4477 * sysdeps/x86_64/tst-audit4.c: Likewise.
4478 * sysdeps/x86_64/tst-audit5.c: Likewise.
4479 * time/tst-ftime_l.c: Likewise.
4480 * time/tst-getdate.c: Likewise.
4481 * time/tst-mktime3.c: Likewise.
4482 * time/tst-mktime.c: Likewise.
4483 * time/tst-posixtz.c: Likewise.
4484 * time/tst-strptime2.c: Likewise.
4485 * time/tst-strptime3.c: Likewise.
4486 * wcsmbs/tst-btowc.c: Likewise.
4487 * wcsmbs/tst-mbrtowc.c: Likewise.
4488 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4489 * wcsmbs/tst-wchar-h.c: Likewise.
4490 * wcsmbs/tst-wcpncpy.c: Likewise.
4491 * wcsmbs/tst-wcrtomb.c: Likewise.
4492 * wcsmbs/tst-wcsnlen.c: Likewise.
4493 * wcsmbs/tst-wcstof.c: Likewise.
4494
2004e7fb
JM
44952014-11-04 Joseph Myers <joseph@codesourcery.com>
4496
ab97ee8f
JM
4497 [BZ #14132]
4498 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4499 INTDEF.
4500 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4501 declaration.
4502 (_dl_mcount): Use rtld_hidden_proto.
4503 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4504 _dl_mcount.
4505 * elf/rtld.c (_rtld_global_ro): Likewise.
4506
c5684fdb
JM
4507 [BZ #14132]
4508 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4509 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4510 of _dl_init_internal.
4511 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4512 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4513 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4514 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4515 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4516 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4517 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4518 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4519 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4520 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4521 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4522 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4523 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4524 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4525 * sysdeps/tile/dl-start.S (_start): Likewise.
4526 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4527 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4528
4243cbea
JM
4529 [BZ #14132]
4530 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4531 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4532 (rtld_progname): Make macro definition unconditional.
4533 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4534 INTDEF.
4535 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4536 (dl_main): Likewise.
4537 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4538 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4539 instead of _dl_argv_internal.
4540 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4541 __GI__dl_argv instead of INTUSE(_dl_argv).
4542 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4543 __GI__dl_argv instead of _dl_argv_internal.
4544
2004e7fb
JM
4545 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4546 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4547 macro.
4548 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4549 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4550 New macro.
4551 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4552 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4553 macro.
4554 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4555 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4556
97827bfc
AS
45572014-11-04 Andreas Schwab <schwab@suse.de>
4558
4559 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4560
5e4df284
AZ
45612014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562
4563 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4564 mtvsrd instruction in binary form.
4565
04b76b5a
AS
45662014-11-03 Andreas Schwab <schwab@suse.de>
4567
4568 [BZ #17522]
4569 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4570 for less than MB_LEN_MAX use a local buffer of that size.
4571 * libio/tst-fputws.c: New file.
4572 * libio/Makefile (tests): Add tst-fputws.
4573
4c6da7da
JM
45742014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4575
4576 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4577 the size of the fpu_fr.fpu_dregs[] array.
4578
1679ba8e
JM
45792014-11-01 Joseph Myers <joseph@codesourcery.com>
4580
4581 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4582 (__nanosleep): Do not define as alias.
4583 (nanosleep): Define as alias of __nanosleep.
4584 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4585 __libc_nanosleep name.
4586
2626c183
JM
45872014-10-31 Joseph Myers <joseph@codesourcery.com>
4588
4589 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4590 install.texi in comment.
4591
7f981fc2
TR
45922014-10-31 Torvald Riegel <triegel@redhat.com>
4593
4594 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4595 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4596 ... add here and use lwsync or sync ...
4597 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4598 ... and add here using lwsync.
4599
d6f373d2
MF
46002014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4601
4602 * elf/dl-machine-reject-phdr.h: New file.
4603 * elf/dl-load.c: #include that.
4604 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4605 if that returned true.
4606
67c37987
RM
46072014-10-31 Roland McGrath <roland@hack.frob.com>
4608
4609 [BZ #17496]
4610 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4611 gen-as-const-headers chunk. Add a big scare comment after the last
4612 safe place to touch before-compile.
4613
94a42455 46142014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4615
f3f5d895
JM
4616 * manual/install.texi (Tools for Compilation): Update autoconf
4617 version requirements.
4618 * INSTALL: Regenerated.
4619
f62ff286
JM
4620 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4621 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4622 (__libc_pselect): Likewise.
94a42455
JM
4623
4624 [BZ #14138]
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4629
ff9dbdc0
TR
46302014-10-31 Torvald Riegel <triegel@redhat.com>
4631
4632 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4633 correct barrier instruction.
4634 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4635 Likewise.
4636 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4637 Likewise.
4638
b4f66884
RM
46392014-10-30 Roland McGrath <roland@hack.frob.com>
4640
4641 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4642 after defining inlines. Instead, just use parens to defeat macro
4643 expansion of __isctype in its declaration.
4644
e19c95fd
JM
46452014-10-30 Joseph Myers <joseph@codesourcery.com>
4646
4647 * include/sys/uio.h (__libc_readv): Remove declaration.
4648 (__libc_writev): Likewise.
4649 * misc/readv.c (__libc_readv): Rename to __readv.
4650 (__readv): Do not define as alias.
4651 (readv): Define as alias of __readv.
4652 * misc/writev.c (__libc_writev): Rename to __writev.
4653 (__writev): Do not define as alias.
4654 (writev): Define as alias of __writev.
4655 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4656 (__readv): Do not define as alias.
4657 (readv): Define unconditionally as alias of __readv.
4658 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4659 (__writev): Do not define as alias.
4660 (writev): Define unconditionally as alias of __writev.
4661 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4662 name.
4663 (writev): Do not define __libc_writev name.
4664
65b00b6c
RM
46652014-10-30 Roland McGrath <roland@hack.frob.com>
4666
4667 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4668 (convert_charseq): New function, broken out of ...
4669 (use_from_charmap): ... here. Call it.
4670 (use_to_charmap): Use convert_charseq and free instead of duplicating
4671 its code with a variable-length stack struct.
4672
d4e157aa
JM
46732014-10-30 Joseph Myers <joseph@codesourcery.com>
4674
4675 * include/fcntl.h (__libc_creat): Remove declaration.
4676 * io/creat.c (__libc_creat): Rename to creat.
4677 (creat): Do not define as alias.
4678 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4679 of creat instead of __libc_creat.
4680 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4681 to creat.
4682 (creat): Do not define as alias.
4683 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4684 __libc_creat.
4685 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4686 __libc_creat name.
4687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4688 Likewise.
4689
0c6891a0
CD
46902014-10-29 Carlos O'Donell <carlos@redhat.com>
4691
4692 * manual/llio.texi: Add comments discussing why write() may be
4693 considered MT-unsafe on Linux.
4694
cc00cece
CD
46952014-10-28 Carlos O'Donell <carlos@redhat.com>
4696
4697 * dl-load.c (local_strdup): Remove.
4698 (expand_dynamic_string_token): Use __strdup.
4699 (decompose_rpath): Likewise.
4700 (_dl_map_object): Likewise.
4701
51e623f2
JM
47022014-10-28 Joseph Myers <joseph@codesourcery.com>
4703
4704 [BZ #14132]
4705 * sysdeps/generic/unwind-dw2-fde.c
4706 (__register_frame_info_bases_internal): Do not declare.
4707 (__register_frame_info_table_bases_internal): Likewise.
4708 (__deregister_frame_info_bases_internal): Likewise.
4709 (__register_frame_info_bases): Declare and use hidden_proto before
4710 definition. Use hidden_def instead of INTDEF.
4711 (__register_frame_info_table_bases): Likewise.
4712 (__deregister_frame_info_bases): Likewise.
4713 (__register_frame_info): Do not use INTUSE.
4714 (__register_frame): Likewise.
4715 (__register_frame_info_table): Likewise.
4716 (__register_frame_table): Likewise.
4717 (__deregister_frame_info): Likewise.
4718 (__deregister_frame): Likewise.
4719
03d41216
GC
47202014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4721
4722 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4723 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4724 not undefine.
4725 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4726 Likewise.
4727 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4728 Likewise.
4729
a4b3624d
JM
47302014-10-27 Joseph Myers <joseph@codesourcery.com>
4731
4732 [BZ #14138]
4733 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4734 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4735 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4736 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4737 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4738 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4740 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4741 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4742 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4743 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4745 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4746 syscall.
4747 (setfsuid): Likewise.
4748 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4749 (setfsuid): Likewise.
4750 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4751 (setfsuid): Likewise.
4752 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4753 Likewise.
4754 (setfsuid): Likewise.
4755 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4756 (setfsuid): Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4758 Likewise.
4759 (setfsuid): Likewise.
4760
3574f2fd
AS
47612014-10-27 Andreas Schwab <schwab@suse.de>
4762
4763 [BZ #17501]
4764 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4765 check for Slow_SSE4_2 feature bit.
4766 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4767 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4768 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4769 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4770
70996a37
RM
47712014-10-24 Roland McGrath <roland@hack.frob.com>
4772
461a7b1e
RM
4773 * configure.ac: Validate compiler version with a empirical test of
4774 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4775 $CC -v output.
4776 * configure: Regenerated.
4777
70996a37
RM
4778 * inet/htons.c (htons): Prototypify.
4779 * inet/htonl.c (htonl): Likewise.
4780
e80514b5
WD
47812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4782
4783 * string/strncat.c (strncat): Improve performance by using strlen.
4784
6e46de42
WD
47852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4786
4787 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4788
6a9ad2fa
WD
47892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4790
4791 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4792 Call libc_fetestexcept_aarch64.
4793
1c8810ed
WD
47942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4795
4796 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4797 Call libc_feholdexcept_aarch64.
4798
8b1af712
WD
47992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4800
4801 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4802 Call get_rounding_mode.
4803
a7b00c11
WD
48042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4805
4806 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4807 Simplify logic.
4808
3a84f1a6
WD
48092014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4810
4811 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4812 Simplify logic.
4813
48eb7a94
JM
48142014-10-24 Joseph Myers <joseph@codesourcery.com>
4815
c8bc4038
JM
4816 [BZ #14138]
4817 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4818 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4819 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4820 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4821 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4822 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4823 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4824 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4825 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4826 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4827 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4828 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4829 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4830 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4831 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4832 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4833 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4834 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4835 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4836 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4837 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4838 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4840 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4841 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4842 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4843 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4845 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4846 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4847 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4848 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4849 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4850 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4851 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4853 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4854 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4855 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4856 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4857 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4858 syscall.
4859 (geteuid): Likewise.
4860 (getgid): Likewise.
4861 (getuid): Likewise.
4862 (getresgid): Likewise.
4863 (getresuid): Likewise.
4864 (getgroups): Likewise.
4865 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4866 (geteuid): Likewise.
4867 (getgid): Likewise.
4868 (getuid): Likewise.
4869 (getresgid): Likewise.
4870 (getresuid): Likewise.
4871 (getgroups): Likewise.
4872 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4873 (geteuid): Likewise.
4874 (getgid): Likewise.
4875 (getuid): Likewise.
4876 (getresgid): Likewise.
4877 (getresuid): Likewise.
4878 (getgroups): Likewise.
4879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4880 Likewise.
4881 (geteuid): Likewise.
4882 (getgid): Likewise.
4883 (getuid): Likewise.
4884 (getresgid): Likewise.
4885 (getresuid): Likewise.
4886 (getgroups): Likewise.
4887 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4888 (geteuid): Likewise.
4889 (getgid): Likewise.
4890 (getuid): Likewise.
4891 (getresgid): Likewise.
4892 (getresuid): Likewise.
4893 (getgroups): Likewise.
4894 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4895 Likewise.
4896 (geteuid): Likewise.
4897 (getgid): Likewise.
4898 (getuid): Likewise.
4899 (getgroups): Likewise.
4900
48eb7a94
JM
4901 [BZ #14138]
4902 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4903 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4904 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4906 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4908 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4909 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4910 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4911 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4912 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4913 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4914 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4915 __chown.
4916 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4917 (lchown): Likewise.
4918 (fchown): Likewise.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4920 Likewise.
4921 (lchown): Likewise.
4922 (fchown): Likewise.
4923 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4924 (lchown): Likewise.
4925 (fchown): Likewise.
4926 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4927 Likewise.
4928 (lchown): Likewise.
4929 (fchown): Likewise.
4930
ea9a7c8b
WD
49312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4932
4933 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4934 Simplify logic.
4935
e226de33
WD
49362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4937
4938 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4939 Cleanup logic.
4940
6e3d8ed3
WD
49412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4942
4943 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4944 Remove unused include.
4945
eb04247d
WD
49462014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4947
4948 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4949 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4950 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4951 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4952
13d84554
CD
49532014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4954 Helge Deller <deller@gmx.de>
4955
4956 [BZ #17508]
4957 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4958 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4959 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4960
15f9c5df
JM
49612014-10-23 Joseph Myers <joseph@codesourcery.com>
4962
4963 [BZ #14132]
4964 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4965 Remove macro definition.
4966 (__ashrdi3_v_glibc20): Likewise.
4967 (__lshrdi3_v_glibc20): Likewise.
4968 (__cmpdi2_v_glibc20): Likewise.
4969 (__ucmpdi2_v_glibc20): Likewise.
4970 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4971 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4972 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4973 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4974 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4975 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4976
c6dfed24
RM
49772014-10-22 Roland McGrath <roland@hack.frob.com>
4978
4979 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4980 old GNU extension [0] syntax.
4981 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4982 alloca rather than an array member with variable length.
4983 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4984 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4985 (parse_opt): ... here. Likewise use alloca there.
4986 Validate the -i argument before checking for rootness.
4987 (send_shutdown): New function, broken out of ...
4988 (parse_opt): ... here.
4989
8c2b1ed8
RM
49902014-10-22 Roland McGrath <roland@hack.frob.com>
4991
4992 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4993 macro to get at the _rt_local_ro field.
4994 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4995 ([PIC] case) or _dl_hwcap ([!PIC] case).
4996 * sysdeps/arm/setjmp.S: Likewise.
4997
4998 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4999 * sysdeps/arm/configure.ac: New check to define it.
5000 * sysdeps/arm/configure: Regenerated.
5001 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5002 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5003 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5004 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5005 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5006 Use move/movt pair instead of a load.
5007 (LDST_GLOBAL): Macro removed.
5008 (LDR_GLOBAL): New macro replaces it.
5009 (LDR_HIDDEN): New macro.
5010 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5011 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5012
5013 * setjmp/tst-setjmp-static.c: New file.
5014 * setjmp/Makefile (tests): Add it.
5015 (tests-static): New variable.
5016
b5af9297
MR
50172014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5018
5019 [BZ #17485]
5020 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5021
a13d0d74
JM
50222014-10-21 Joseph Myers <joseph@codesourcery.com>
5023
5024 [BZ #14132]
5025 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5026
f05e73f6
RM
50272014-10-21 Roland McGrath <roland@hack.frob.com>
5028
5029 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5030
6ab1d1ea
RM
50312014-10-20 Roland McGrath <roland@hack.frob.com>
5032
5033 * io/fts.c (dirent_not_directory): New function.
5034 (fts_build): Call it.
5035
ab49e763
RM
50362014-10-20 Roland McGrath <roland@hack.frob.com>
5037
e436eb79
RM
5038 * nptl/version.c (__nptl_main): Use normal __write rather than
5039 INTERNAL_SYSCALL.
5040 (banner): Update copyright years.
5041
6af246cf
RM
5042 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5043 gettimeofday.
5044 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5045 * nptl/pthread_cond_timedwait.c: Likewise.
5046 * nptl/pthread_mutex_timedlock.c: Likewise.
5047 * nptl/sem_timedwait.c: Likewise.
5048
ab49e763
RM
5049 * sysdeps/nptl/bits/libc-lock.h
5050 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5051 (__libc_lock_init_recursive): Return void, not 0.
5052 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5053 (__libc_rwlock_init): Likewise.
5054 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5055
f50277c1
TR
50562014-10-20 Torvald Riegel <triegel@redhat.com>
5057
5058 [BZ #15215]
5059 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5060 (__pthread_once_slow): ... here.
5061 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5062 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5063
63668b70
TR
50642014-10-20 Torvald Riegel <triegel@redhat.com>
5065
5066 [BZ #15215]
5067 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5068 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5069 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5070 * nptl/pthread_once.c (__pthread_once): Likewise.
5071 Update comments.
5072
42b7f5d4
JM
50732014-10-20 Joseph Myers <joseph@codesourcery.com>
5074
5075 [BZ #14138]
5076 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5077 name.
5078 (writev): Use __libc_writev as strong name.
5079 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5080 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5081
b0643088
RM
50822014-10-17 Roland McGrath <roland@hack.frob.com>
5083
114c4e09
RM
5084 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5085
674b8978
RM
5086 * sysdeps/i386/nptl/tls.h
5087 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5088 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5089 New macros.
5090 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5091 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5092 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5093 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5094 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5095 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5096
184ee940
RM
5097 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5098 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5099 on [__NR_futex].
5100 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5101 broken out of ...
5102 (__pthread_mutex_init): ... here. Call it.
5103 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5104 Conditionalize PI cases on [__NR_futex].
5105 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5106 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5107 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5108
327ae257
RM
5109 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5110 conditional on [SIGSETXID].
5111 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5112 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5113 is defined. Likewise for SIGSETXID.
5114 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5115 Conditionalize definitions on [SIGSETXID].
5116 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5117 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5118 unblocking on [SIGCANCEL].
5119
b0643088
RM
5120 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5121 [__NR_set_robust_list].
5122
33cc770b
SP
51232014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5124
5125 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5126 (do_compare): Likewise.
5127
0742aef6
LH
51282014-10-17 Leonhard Holz <leonhard.holz@web.de>
5129
5130 [BZ #15884]
5131 * string/strcoll_l.c: Don't include stdio.h.
5132 (coll_seq): Remove members idxarr and rulearr.
5133 (get_next_seq_cached): Remove function.
5134 (get_next_seq): Likewise.
5135 (get_next_seq_nocache): Rename to get_next_seq.
5136 (do_compare): Remove function.
5137 (do_compare_nocache): Rename to do_compare.
5138 (STRCOLL): Remove weight and rules cache.
5139
ee54ce44
RM
51402014-10-16 Roland McGrath <roland@hack.frob.com>
5141
5142 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5143 * sysdeps/arm/sfp-machine.h: ... to here.
5144 * sysdeps/arm/Implies: Remove arm/soft-fp.
5145
a75d3b02
JM
51462014-10-14 Joseph Myers <joseph@codesourcery.com>
5147
5148 * conform/data/sys/utsname.h-data (*_t): Allow.
5149 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5150 [POSIX] (WEXITED): Do not expect constant.
5151 [POSIX] (WSTOPPED): Likewise.
5152 [POSIX] (WNOHANG): Likewise.
5153 [POSIX] (WNOWAIT): Likewise.
5154 [POSIX] (siginfo_t): Do not expect type or elements.
5155 [POSIX] (pid_t): Do not expect type.
5156 [POSIX] (signal.h): Do not allow header.
5157 [POSIX] (sys/resource.h): Likewise.
5158 [POSIX] (si_*): Do not allow pattern.
5159 [POSIX] (W*): Likewise.
5160 [POSIX] (P_*): Likewise.
5161 [POSIX] (BUS_*): Likewise.
5162 [POSIX] (CLD_*): Likewise.
5163 [POSIX] (FPE_*): Likewise.
5164 [POSIX] (ILL_*): Likewise.
5165 [POSIX] (POLL_*): Likewise.
5166 [POSIX] (SEGV_*): Likewise.
5167 [POSIX] (SI_*): Likewise.
5168 [POSIX] (TRAP_*): Likewise.
5169 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5170 variable.
5171
fda389c8
SP
51722014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5173
5174 [BZ #12926]
5175 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5176 infinite loop when __recvmsg returns 0.
5177
6bc6bd3b
JM
51782014-10-10 Joseph Myers <joseph@codesourcery.com>
5179
fcb32af1
JM
5180 * CANCEL-FCT-WAIVE: Remove file.
5181 * CANCEL-FILE-WAIVE: Likewise.
5182
6bc6bd3b
JM
5183 [BZ #14132]
5184 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5185 instead of INTVARDEF.
5186 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5187 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5188 rtld_hidden_data_def instead of INTVARDEF.
5189 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5190 * elf/dl-deps.c (expand_dst): Likewise.
5191 * elf/dl-load.c (_dl_dst_count): Likewise.
5192 (_dl_dst_substitute): Likewise.
5193 (decompose_rpath): Likewise.
5194 (_dl_init_paths): Likewise.
5195 (open_path): Likewise.
5196 (_dl_map_object): Likewise.
5197 * elf/rtld.c (dl_main): Likewise.
5198 (process_dl_audit): Likewise.
5199 (process_envvars): Likewise.
5200 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5201 Remove declaration.
5202 (__libc_enable_secure): Use rtld_hidden_proto.
5203
b8c80a7e
KS
52042014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5205
5206 * elf/dl-load.c
5207 (add_path): New function broken out of _dl_rtld_di_serinfo.
5208 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5209
ff12c11f
JM
52102014-10-09 Joseph Myers <joseph@codesourcery.com>
5211
5c0508a3
JM
5212 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5213 parentheses around macro arguments.
5214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5218 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5219 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5220 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5223 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5225 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5226 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5227 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5228 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5229 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5230 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5238 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5242 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5243 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5244 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5245 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5246 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5247 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5248 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5249 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5250 Likewise.
5251 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5252 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5253 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5254 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5255 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5256 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5257 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5258 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5259 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5260 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5261 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5262 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5263 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5266 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5267 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5271 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5272 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5273 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5274 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5275 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5276 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5277 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5278 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5279 (_FP_FRAC_SRS_1): Likewise.
5280 (_FP_FRAC_CLZ_1): Likewise.
5281 (_FP_MUL_MEAT_1_imm): Likewise.
5282 (_FP_MUL_MEAT_1_wide): Likewise.
5283 (_FP_MUL_MEAT_1_hard): Likewise.
5284 (_FP_SQRT_MEAT_1): Likewise.
5285 (_FP_FRAC_ASSEMBLE_1): Likewise.
5286 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5287 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5288 (__FP_CLZ_2): Likewise.
5289 (_FP_MUL_MEAT_2_wide): Likewise.
5290 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5291 (_FP_MUL_MEAT_2_gmp): Likewise.
5292 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5293 (_FP_SQRT_MEAT_2): Likewise.
5294 (_FP_FRAC_ASSEMBLE_2): Likewise.
5295 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5296 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5297 (_FP_FRAC_CLZ_4): Likewise.
5298 (_FP_MUL_MEAT_4_wide): Likewise.
5299 (_FP_MUL_MEAT_4_gmp): Likewise.
5300 (_FP_SQRT_MEAT_4): Likewise.
5301 (_FP_FRAC_ASSEMBLE_4): Likewise.
5302 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5303 * soft-fp/op-common.h (_FP_CMP): Likewise.
5304 (_FP_CMP_EQ): Likewise.
5305 (_FP_CMP_UNORD): Likewise.
5306 (_FP_TO_INT): Likewise.
5307 (_FP_FROM_INT): Likewise.
5308 [!__FP_CLZ] (__FP_CLZ): Likewise.
5309 (_FP_DIV_HELP_imm): Likewise.
5310 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5311 Likewise.
5312 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5313 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5314 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5315 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5316 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5317 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5318 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5321 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5322 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5323 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5324 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5325 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5326 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5327 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5328 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5329 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5330 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5331 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5332 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5333 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5334 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5335 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5336 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5339 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5340 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5341 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5342 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5343 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5344 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5345 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5346 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5347 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5348 (FP_UNPACK_RAW_SP): Likewise.
5349 (FP_PACK_RAW_S): Likewise.
5350 (FP_PACK_RAW_SP): Likewise.
5351 (FP_UNPACK_S): Likewise.
5352 (FP_UNPACK_SP): Likewise.
5353 (FP_UNPACK_SEMIRAW_S): Likewise.
5354 (FP_UNPACK_SEMIRAW_SP): Likewise.
5355 (FP_PACK_S): Likewise.
5356 (FP_PACK_SP): Likewise.
5357 (FP_PACK_SEMIRAW_S): Likewise.
5358 (FP_PACK_SEMIRAW_SP): Likewise.
5359 (_FP_SQRT_MEAT_S): Likewise.
5360 (FP_CMP_S): Likewise.
5361 (FP_CMP_EQ_S): Likewise.
5362 (FP_CMP_UNORD_S): Likewise.
5363 (FP_TO_INT_S): Likewise.
5364 (FP_FROM_INT_S): Likewise.
5365
a736ec37
JM
5366 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5367
ff12c11f
JM
5368 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5369 (FP_EX_INVALID_IMZ): Likewise.
5370 (FP_EX_INVALID_IMZ_FMA): Likewise.
5371 (FP_EX_INVALID_ISI): Likewise.
5372 (FP_EX_INVALID_ZDZ): Likewise.
5373 (FP_EX_INVALID_IDI): Likewise.
5374 (FP_EX_INVALID_SQRT): Likewise.
5375 (FP_EX_INVALID_CVI): Likewise.
5376 (FP_EX_INVALID_VC): Likewise.
5377 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5378 "invalid" exceptions.
5379 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5380 (_FP_ADD_INTERNAL): Likewise.
5381 (_FP_MUL): Likewise.
5382 (_FP_FMA): Likewise.
5383 (_FP_DIV): Likewise.
5384 (_FP_CMP_CHECK_NAN): Likewise.
5385 (_FP_SQRT): Likewise.
5386 (_FP_TO_INT): Likewise.
5387 (FP_EXTEND): Likewise.
5388
b6dcfe8c
AM
53892014-10-09 Allan McRae <allan@archlinux.org>
5390
5391 * po/fr.po: Update French translation from translation project.
5392
2d6a47ba
JM
53932014-10-09 Joseph Myers <joseph@codesourcery.com>
5394
cb831245
JM
5395 [BZ #14132]
5396 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5397 of INTDEF.
5398 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5399 (__cxa_atexit): Use libc_hidden_proto.
5400 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5401
5deeb190
JM
5402 [BZ #14132]
5403 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5404 declaration.
5405 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5406 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5407 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5408 [!_ISOMAC] (__iswctype_internal): Likewise.
5409 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5410 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5411 alias.
5412 (fcntl): Remove __fcntl_internal alias.
5413 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5414 __connect_internal alias.
5415 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5416 Likewise.
5417
454ac701
JM
5418 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5419 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5420 FP_DENORM_ZERO.
5421 (_FP_CHECK_FLUSH_ZERO): New macro.
5422 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5423 (_FP_CMP): Likewise.
5424 (_FP_CMP_EQ): Likewise.
5425 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5426 FP_DENORM_ZERO.
5427 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5428 (FP_TRUNC): Likewise.
5429
0022e688
JM
5430 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5431 treated as invalid conversion, not as normal exponent.
5432
73e28d9c
JM
5433 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5434 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5435 (_FP_CMP_EQ): Likewise.
5436 (_FP_CMP_UNORD): Likewise.
5437 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5438 (FP_CMP_EQ_D): Likewise.
5439 (FP_CMP_UNORD_D): Likewise.
5440 * soft-fp/extended.h (FP_CMP_E): Likewise.
5441 (FP_CMP_EQ_E): Likewise.
5442 (FP_CMP_UNORD_E): Likewise.
5443 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5444 (FP_CMP_EQ_Q): Likewise.
5445 (FP_CMP_UNORD_Q): Likewise.
5446 * soft-fp/single.h (FP_CMP_S): Likewise.
5447 (FP_CMP_EQ_S): Likewise.
5448 (FP_CMP_UNORD_S): Likewise.
5449 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5450 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5451 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5452 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5453 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5454 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5455 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5456 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5457 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5458 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5459 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5460 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5461 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5462 to FP_CMP_Q.
5463 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5464 FP_CMP_Q.
5465 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5466 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5467 FP_CMP_EQ_Q.
5468 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5469 FP_CMP_Q.
5470 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5471 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5472 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5473 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5474 FP_CMP_EQ_Q.
5475 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5476 FP_CMP_Q.
5477 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5478 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5479 FP_CMP_EQ_Q.
5480 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5481 FP_CMP_Q.
5482 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5483 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5484 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5485 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5486 FP_CMP_EQ_Q.
5487
43059f42
JM
5488 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5489 a subnormal result, set the underflow exception if trapping on
5490 underflow is enabled.
5491 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5492 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5493 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5494 redefine to 0.
5495 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5496 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5497 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5498 * soft-fp/extendxftf2.c (__extendxftf2): Use
5499 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5500
2d6a47ba
JM
5501 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5502 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5503 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5504 FP_HANDLE_EXCEPTIONS.
5505 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5506 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5507 FP_HANDLE_EXCEPTIONS.
5508 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5509 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5510 FP_HANDLE_EXCEPTIONS.
5511 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5512 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5513 FP_HANDLE_EXCEPTIONS.
5514
620f462e
JM
55152014-10-08 Joseph Myers <joseph@codesourcery.com>
5516
5517 [BZ #14132]
5518 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5519 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5520 use INTUSE.
5521 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5522 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5523 Remove alias.
5524 (__adjtimex): Define using libc_hidden_ver.
5525 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5526 Remove declaration.
5527 (ntp_gettime): Call __adjtimex directly.
5528 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5529 Remove declaration.
5530 (ntp_gettimex): Call __adjtimex directly.
5531 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5532 __adjtimex_internal alias.
5533
c763c5d2
RM
55342014-10-08 Roland McGrath <roland@hack.frob.com>
5535
5536 [BZ #17460]
5537 * nscd/nscd.c (more_help): Rewrite list of tables collection
5538 using xstrdup and asprintf.
5539
5540 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5541
7b8fb2b8
RM
55422014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5543 Roland McGrath <roland@hack.frob.com>
5544
5545 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5546 (do_lookup_unique): ... local function 'enter' here; update callers.
5547
abb280f7
JM
55482014-10-06 Joseph Myers <joseph@codesourcery.com>
5549
f7b42517
JM
5550 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5551 compat_symbol calls on [SHARED].
5552 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5553 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5554 Remove.
5555 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5556 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5557 (oldsetrlimit): Remove.
5558 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5560 (lchown): New syscall entry.
5561 (oldsetrlimit): Remove.
5562 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5564 (oldsetrlimit): Remove.
5565 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5566
abb280f7
JM
5567 [BZ #14138]
5568 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5569 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5570 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5571 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5572 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5573 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5574 (fchown): Likewise.
5575 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5576 (fchown): Likewise.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5578 Likewise.
5579
47d46237
AZ
55802014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581
5582 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5583 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5584 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5585 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5586 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5587 Likewise.
5588 (__old_sem_post): Likewise.
5589
55902014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5591
845a7343
CM
5592 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5593 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5594 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5595 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5596 Use INLINE_VSYSCALL macro.
5597 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5598 __vdso_clock_gettime.
5599 * sysdeps/unix/sysv/linux/tile/init-first.c
5600 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5601 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5602 __vdso_clock_gettime.
5603
83d641ef
CM
5604 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5605 to set up frame more cleanly.
5606
d9cd52e6
CM
5607 * sysdeps/tile/memcmp.c: New file.
5608
4b68ea11
CM
5609 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5610
c86f7b80
CM
5611 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5612 * sysdeps/tile/tilegx/strcasestr.c: New file.
5613 * sysdeps/tile/tilegx/strnlen.c: New file.
5614 * sysdeps/tile/tilegx/strstr.c: New file.
5615
1c4c1a6f
CM
5616 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5617
99d86ea3
AS
56182014-10-06 Arjun Shankar <arjun.is@lostca.se>
5619
5620 * nptl/tst-setuid3.c: Write errors to stdout.
5621
06210a44
KS
56222014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5623
5624 * elf/dl-deps.c
5625 (preload): New functions broken out of _dl_map_object_deps.
5626 (_dl_map_object_deps): Remove a nested function. Update call sites.
5627
6268f532
JM
56282014-10-01 Joseph Myers <joseph@codesourcery.com>
5629
5630 [BZ #14138]
5631 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5632 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5633
b925285f
SE
56342014-10-01 Steve Ellcey <sellcey@mips.com>
5635
5636 * sysdeps/mips/strcmp.S: New.
5637
754a15c6
JM
56382014-09-30 Joseph Myers <joseph@codesourcery.com>
5639
5640 [BZ #14138]
5641 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5642 (linkat): Likewise.
5643 (mkdirat): Likewise.
5644 (readlinkat): Likewise.
5645 (renameat): Likewise.
5646 (symlinkat): Likewise.
5647 (unlinkat): Likewise.
5648 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5649 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5650 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5651 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5652 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5653 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5654 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5655
85bb81c9
WN
56562014-09-30 Will Newton <will.newton@linaro.org>
5657
dc6fe23b
WN
5658 * math/math.h: Define long double math functions if
5659 _LIBC_TEST is defined.
5660 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5661
85bb81c9
WN
5662 * localedata/Makefile: Move assignment to tests-special
5663 into an ifdef testing run-built-tests.
5664 * timezone/Makefile: Likewise.
5665
b7e02da4
JM
56662014-09-29 Joseph Myers <joseph@codesourcery.com>
5667
5668 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5669 with $(BASH) not $(SHELL).
5670
62058ce6
CD
56712014-09-29 Carlos O'Donell <carlos@redhat.com>
5672 Matthew LeGendre <legendre1@llnl.gov>
5673
5674 [BZ #17411]
5675 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5676 l_reloc_result.
5677
8e257a29
KS
56782014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5679
5680 * stdio-common/printf_fp.c
5681 (hack_digit): New function, broken out of ...
5682 (__printf_fp): ... local function here. Update call sites.
5683 hack_digit now takes an additional parameter that is a pointer
5684 to a struct of the referenced locals. Those locals moved inside
5685 the struct and references updated.
5686
f4a58f0d
L
56872014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5688
5689 * aclocal.m4: Require autoconf 2.69.
5690 * configure: Regenerated.
5691 * sysdeps/aarch64/configure: Likewise.
5692 * sysdeps/alpha/configure: Likewise.
5693 * sysdeps/arm/armv7/configure: Likewise.
5694 * sysdeps/arm/configure: Likewise.
5695 * sysdeps/ia64/configure: Likewise.
5696 * sysdeps/mach/configure: Likewise.
5697 * sysdeps/mips/configure: Likewise.
5698 * sysdeps/s390/configure: Likewise.
5699 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5701
5702 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5703 file.
5704 * sysdeps/ia64/configure.ac: Likewise.
5705
93ae1eba
JM
57062014-09-26 Joseph Myers <joseph@codesourcery.com>
5707
1810d3ab
JM
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5709 specify symbol version for ld.so. Do not include entry for
5710 libpthread.
5711 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5712 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5713 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5714
93ae1eba
JM
5715 [BZ #14171]
5716 * Makeconfig [$(build-shared) = yes]
5717 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5718 makefiles.
5719 [$(build-shared) = yes && $(soversions.mk-done) = t]
5720 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5721 [$(build-shared) = yes && $(soversions.mk-done) = t]
5722 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5723 to Makerules.
5724 [$(build-shared) = yes && $(soversions.mk-done) = t]
5725 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5726 here.
5727 [$(build-shared) = yes && $(soversions.mk-done) = t]
5728 (common-generated): Don't append gnu/lib-names.h and
5729 gnu/lib-names.stmp here.
5730 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5731 (lib-names-h-abi): New variable.
5732 [$(build-shared) = yes && $(soversions.mk-done) = t]
5733 (lib-names-stmp-abi): Likewise.
5734 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5735 abi-variants] (before-compile): Append
5736 $(common-objpfx)$(lib-names-h-abi).
5737 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5738 abi-variants] (common-generated): Append gnu/lib-names.h.
5739 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5740 abi-variants] (install-others-nosubdir): Depend on
5741 $(inst_includedir)/$(lib-names-h-abi).
5742 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5743 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5744 [$(build-shared) = yes && $(soversions.mk-done) = t]
5745 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5746 [$(build-shared) = yes && $(soversions.mk-done) = t]
5747 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5748 [$(build-shared) = yes && $(soversions.mk-done) = t]
5749 (common-generated): Append $(lib-names-h-abi) and
5750 $(lib-names-stmp-abi).
5751 * scripts/lib-names.awk: Do not handle multi being set.
5752 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5753 Remove variable.
5754 (abi-lp64_be-ld-soname): Likewise.
5755 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5756 Likewise.
5757 (abi-hard-ld-soname): Likewise.
5758 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5759 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5760 Remove variable.
5761 (abi-o32_hard-ld-soname): Likewise.
5762 (abi-o32_soft_2008-ld-soname): Likewise.
5763 (abi-o32_hard_2008-ld-soname): Likewise.
5764 (abi-n32_soft-ld-soname): Likewise.
5765 (abi-n32_hard-ld-soname): Likewise.
5766 (abi-n32_soft_2008-ld-soname): Likewise.
5767 (abi-n32_hard_2008-ld-soname): Likewise.
5768 (abi-n64_soft-ld-soname): Likewise.
5769 (abi-n64_hard-ld-soname): Likewise.
5770 (abi-n64_soft_2008-ld-soname): Likewise.
5771 (abi-n64_hard_2008-ld-soname): Likewise.
5772 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5773 Likewise.
5774 (abi-64-v2-ld-soname): Likewise.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5776 ld.so entries.
5777 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5778 variable.
5779 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5780 entry.
5781 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5782 variable.
5783 (abi-64-ld-soname): Likewise.
5784 (abi-x32-ld-soname): Likewise.
5785 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5786 entry.
5787 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5788
68870f12
JM
57892014-09-23 Joseph Myers <joseph@codesourcery.com>
5790
5791 [BZ #14138]
5792 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5793 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5794 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5795 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5796 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5797 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5798 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5799 syscall entry for GLIBC_2.2 symbol version.
5800 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5801 Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5803 (setrlimit): Likewise.
5804 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5805 Likewise.
5806
ea58f202
WN
58072014-09-23 Will Newton <will.newton@linaro.org>
5808
5809 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5810 _LINUX_ARM_SYSDEP_H include guard too.
5811 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5812 define.
5813
69eb9a18
RV
58142014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5815
5816 * sysdeps/unix/sysv/linux/eventfd.c:
5817 Make first argument unsigned.
5818 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5819 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5820
20e5a5f7
OB
58212014-09-20 Ondřej Bílka <neleai@seznam.cz>
5822
5823 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5824 * socket/sys/socket.h: Likewise
5825 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5826
d3c827e7
AK
58272014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5828
5829 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5830
fe1cc35a
AS
58312014-09-17 Arjun Shankar <arjun.is@lostca.se>
5832
5833 * time/tst-ftime.c: New test.
5834 * time/Makefile (tests): Add tst-ftime.
5835
4e8afe69
JM
58362014-09-17 Joseph Myers <joseph@codesourcery.com>
5837
c4fe3ea7
JM
5838 * soft-fp/extended.h: Fix comment formatting.
5839 * soft-fp/op-1.h: Likewise.
5840 * soft-fp/op-2.h: Likewise.
5841 * soft-fp/op-4.h: Likewise.
5842 * soft-fp/op-8.h: Likewise.
5843 * soft-fp/op-common.h: Likewise.
5844 * soft-fp/soft-fp.h: Likewise.
5845
4e8afe69
JM
5846 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5847
af296fcd
JM
58482014-09-16 Joseph Myers <joseph@codesourcery.com>
5849
5850 [BZ #6652]
5851 * Makeconfig (soversions-default-setname): Remove variable.
5852 ($(common-objpfx)soversions.i): Don't pass default_setname to
5853 soversions.awk.
5854 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5855 oldest_abi to abi-versions.awk.
5856 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5857 * config.make.in (oldest-abi): Remove variable.
5858 * configure.ac (--enable-oldest-abi): Remove configure option.
5859 * configure: Regenerated.
5860 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5861 text.
5862 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5863 * scripts/soversions.awk: Do not handle default_setname variable.
5864 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5865 variable.
5866 * sysdeps/mach/hurd/configure: Regenerated.
5867 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5868 variable.
5869 * sysdeps/unix/sysv/linux/configure: Regenerated.
5870
545583d6
SP
58712014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5872
d330b980
SP
5873 * elf/Makefile (CFLAGS-interp.c): Remove.
5874 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5875 path string.
5876 * elf/interp.c: Include generated runtime-linker.h
5877
02657da2
SP
5878 * Makerules (lib%.so): Don't include $(+interp) in
5879 prerequisites.
5880 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5881 * dlfcn/eval.c: Remove file.
5882
653b1080
SP
5883 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5884 macros.
5885
602f80ec
SP
5886 [BZ #17266]
5887 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5888 4.2 and newer.
5889
545583d6
SP
5890 [BZ #17370]
5891 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5892
884ddc50
SP
58932014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5894 Jakub Jelinek <jakub@redhat.com>
5895
5896 [BZ #17266]
5897 * libio/stdio.h: Check definition of __fortify_function
5898 instead of __extern_always_inline to include bits/stdio2.h.
5899 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5900 check if __extern_always_inline is defined.
5901 [__USE_MISC || __USE_XOPEN]: Likewise.
5902 [__USE_ISOC99] Likewise.
5903 * misc/sys/cdefs.h (__fortify_function): Define only if
5904 __extern_always_inline is defined.
5905 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5906 __extern_always_inline and __extern_inline only for g++-4.3
5907 and newer or a compatible gcc.
5908
a7b87268
AS
59092014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5910
5911 [BZ #17371]
5912 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5913 last change to handle zero prefix length.
5914
3f41521d
SP
59152014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5916
61fe374a
SP
5917 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5918 _SC_REGEX_VERSION.
5919
3f41521d
SP
5920 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5921 _POSIX_RAW_SOCKETS.
5922
d8f879ee
AM
59232014-09-13 Allan McRae <allan@archlinux.org>
5924
5925 * po/ru.po: Update Russian translation from translation project.
5926
c079afb7
RM
59272014-09-12 Roland McGrath <roland@hack.frob.com>
5928
a62b3c15
RM
5929 * locale/programs/locale.c (show_locale_vars): Inline local function
5930 into its sole call site. Clean up some style nits.
5931 (print_item): New function, broken out of ...
5932 (show_info): ... local function here. Clean up style nits.
5933
d7e49b19
RM
5934 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5935 out of ...
5936 (set_class_defaults): ... local function set_default here.
5937 Define set_default as a macro locally to pass constant parameters.
5938 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5939 rather than a shared local.
5940
c079afb7
RM
5941 * stdlib/rpmatch.c (try): New function, broken out of ...
5942 (rpmatch): ... local function here. Also, prototypify definition.
5943
0bd72468
JM
59442014-09-12 Joseph Myers <joseph@codesourcery.com>
5945
ba90e050
JM
5946 * scripts/soversions.awk: Do not handle configuration names.
5947 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5948 vendor and os variables to soversions.awk.
5949 * configure.ac: Do not modify gnu-* host_os.
5950 * configure: Regenerated
5951 * shlib-versions: Remove first column with configuration names.
5952 * nptl/shlib-versions: Likewise.
5953 * nptl_db/shlib-versions: Likewise.
5954 * sysdeps/hppa/shlib-versions: Likewise.
5955 * sysdeps/m68k/shlib-versions: Likewise.
5956 * sysdeps/mach/hurd/shlib-versions: Likewise.
5957 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5958 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5959 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5960 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5961 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5962 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5963 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5964 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5968 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5969 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5970 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5972 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5973 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5974 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5975
73a39112
JM
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5977 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5979 Regenerated.
5980 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5982 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5983
c729e7c1
JM
5984 * shlib-versions: Remove OS-specific entries. Moved to files in
5985 sysdeps.
5986 * sysdeps/mach/hurd/shlib-versions: New file.
5987 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5988
dc932a24
JM
5989 * nptl/shlib-versions: Remove architecture-specific entries.
5990 Moved to files in sysdeps.
5991 * shlib-versions: Likewise.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5993 file.
5994 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5995 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5996 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5998
0bd72468
JM
5999 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6000 (UDP_NO_CHECK6_RX): Likewise.
6001
920238e0
SP
60022014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6003
6004 * sysdeps/posix/sysconf.c (__sysconf): Spell
6005 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6006
ba7b4d29
FW
60072014-08-12 Florian Weimer <fweimer@redhat.com>
6008
6009 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6010 loading.
6011 * iconv/Versions (__gconv_transliterate): Export for use from
6012 gconv modules.
6013 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6014 (struct __gconv_trans_data, __gconv_trans_fct,
6015 __gconv_trans_context_fct, __gconv_trans_query_fct,
6016 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6017 definitions.
6018 (struct __gconv_step_data): Remove __trans member.
6019 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6020 longer hidden. Remove unused trans_data argument.
6021 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6022 (__gconv_translit_find): Remove declaration.
6023 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6024 prototype.
6025 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6026 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6027 trans_data argument. Add hidden definition.
6028 (__gconv_translit_find): Remove.
6029 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6030 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6031 * iconv/skeleton.c: Remove transliteration initialization.
6032 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6033 __gconv_step_data initialization.
6034 * libio/iofwide.c (__libio_translit_): Remove.
6035 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6036 * wcsmbs/btowc.c (__btowc): Likewise.
6037 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6038 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6039 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6040 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6041 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6042 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6043 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6044 * wcsmbs/wctob.c (wctob): Likewise.
6045
5379aebd
SP
60462014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6047
6048 [BZ #16194]
6049 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6050 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6051 register usage.
6052 * sysdeps/x86/Makefile: Adjust.
6053
8c0ab919
RM
60542014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6055 Roland McGrath <roland@hack.frob.com>
6056
6057 * locale/weight.h: Add include guard.
6058 (findidx): Make static rather than auto; take new parameters
6059 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6060 * locale/weightwc.h: Likewise.
6061 * posix/fnmatch_loop.c
6062 (FCT): Change type of EXTRA from int32_t to wint_t.
6063 Don't include either header inside the function.
6064 Call FINDIDX rather than findidx, and pass new arguments.
6065 #undef FINDIDX at the end of the file.
6066 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6067 FINDIDX before including fnmatch_loop.c for the non-wide version.
6068 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6069 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6070 for the wide version.
6071 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6072 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6073 Pass new arguments to findidx.
6074 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6075 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6076 Don't #include it inside the function. Pass new arguments to findidx.
6077 * posix/regex_internal.h
6078 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6079 (re_string_elem_size_at): Don't #include it inside the function.
6080 Pass new arguments to findidx.
6081 * string/strcoll_l.c: #include WEIGHT_H at top level.
6082 (get_next_seq): Don't #include it inside the function.
6083 Pass new arguments to findidx.
6084 (get_next_seq_nocache): Likewise.
6085 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6086 (STRXFRM): Don't #include it inside the function.
6087 Pass new arguments to findidx.
6088
52ffbdf2
FW
60892014-09-11 Florian Weimer <fweimer@redhat.com>
6090
6091 [BZ #17344]
6092 * malloc/malloc.c (unlink): Turn asserts into a call to
6093 malloc_printerr.
6094
984c0ea9
TL
60952014-09-11 Tim Lammens <tim.lammens@gmail.com>
6096
6097 [BZ #17370]
6098 * libio/wfileops (do_ftell_wide): Free OUT.
6099
3daee107
CM
61002014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6101
6102 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6103
58b930ae
SP
61042014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6105
6106 [BZ #17363]
6107 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6108 group if the current group is empty.
6109
3b473fec
AZ
61102014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6111
71ae8647
AZ
6112 * benchtests/bench-memset.c (test_main): Add more test from size
6113 from 32 to 512 bytes.
6114 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6115 Add POWER8 memset object.
6116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6118 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6119 implementation.
6120 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6121 Likewise.
6122 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6123 multiarch POWER8 memset optimization.
6124 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6125 POWER8 memset optimization.
6126
3b473fec
AZ
6127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6128 Remove bzero multiarch objects.
6129 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6130 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6131 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6132 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6133 Remove define.
6134 [__bzero]: Redefine to specific name.
6135 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6136 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6137 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6138 define.
6139 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6140 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6141
e6fb9587
FW
61422014-09-10 Florian Weimer <fweimer@redhat.com>
6143
6144 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6145 warnings into errors.
6146
6147 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6148 __cxa_thread_atexit_impl prototype.
6149
9d3a350b
SE
61502014-09-09 Steve Ellcey <sellcey@mips.com>
6151
6152 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6153 Fix capitalization of error message.
6154
0febba23
SE
61552014-09-09 Steve Ellcey <sellcey@mips.com>
6156
6157 * sysdeps/mips/preconfigure: Modify ABI tests.
6158
645a0e9c
CD
61592014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6160
6161 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6162
d83f0734
CD
61632014-09-07 Roland McGrath <roland@hack.frob.com>
6164 Carlos O'Donell <carlos@systemhalted.org>
6165
6166 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6167 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6168 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6169 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6170 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6171 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6172 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6173 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6174 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6175 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6176 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6177 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6178 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6179 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6180 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6181 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6182 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6183 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6184 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6185 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6186 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6187 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6188 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6189 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6190 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6191 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6192 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6193 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6194 Deconditionalize the code that was previously under [RESET_PID].
6195 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6196 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6197 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6198 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6199 include sysdep.h.
6200
21c83793
AM
62012014-09-08 Allan McRae <allan@archlinux.org>
6202
6203 * version.h (RELEASE): Set to "development".
6204 (VERSION): Set to "2.20.90"
6205
1cd9b65c
AM
62062014-09-07 Allan McRae <allan@archlinux.org
6207
b8079dd0
AM
6208 * version.h (RELEASE): Set to "stable".
6209 (VERSION): Set to "2.20"
6210 * include/features.h (__GLIBC_MINOR__): Set to 20.
6211
c46303ef
AM
6212 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6213 Liebler.
6214
1cd9b65c
AM
6215 * po/ko.po: Update Korean translation from translation project.
6216
8622092d
CM
62172014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6218
6219 [BZ #17354]
6220 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6221 macro for handling signed relocations.
6222
41488498
FW
62232014-09-03 Florian Weimer <fweimer@redhat.com>
6224
6225 [BZ #17325]
6226 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6227 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6228 assert.
6229 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6230 * iconvdata/ibm935.c (BODY): Likewise.
6231 * iconvdata/ibm937.c (BODY): Likewise.
6232 * iconvdata/ibm939.c (BODY): Likewise.
6233 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6234 assert.
6235 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6236 script.
6237 * iconvdata/run-iconv-test.sh: New test loop for checking for
6238 decoder crashers.
6239
a78b712d
KR
62402014-09-02 Khem Raj <raj.khem@gmail.com>
6241
6242 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6243 libm_hidden_ver.
6244
cb08abc6
AM
62452014-09-01 Allan McRae <allan@archlinux.org>
6246
2c31e102
AM
6247 * po/eo.po: Update Esperanto translation from translation project.
6248
cb08abc6
AM
6249 * po/ca.po: Update Catalan translation from translation project.
6250
17a62de1
ST
62512014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6252
6253 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6254 __proc_dostop call.
6255
9570bc53
MW
62562014-08-27 Mark Wielaard <mjw@redhat.com>
6257
6258 [BZ #17319]
6259 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6260 to call set_thread_area instead of hand written asm.
6261 (__NR_set_thread_area): Removed define.
6262 (TLS_FLAG_WRITABLE): Likewise.
6263 (__ASSUME_SET_THREAD_AREA): Remove check.
6264 (TLS_EBX_ARG): Remove define.
6265 (TLS_LOAD_EBX): Likewise.
6266
b0f955c9
ST
62672014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6268
6269 Simplify atomicity of socket creation in bind.
6270
6271 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6272 looking up the name after linking the file.
6273
529bf515
AM
62742014-08-27 Allan McRae <allan@archlinux.org>
6275
6276 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6277
a1a6a401
FW
62782014-08-26 Florian Weimer <fweimer@redhat.com>
6279
6280 [BZ #17187]
6281 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6282 trans_compare, open_translit, __gconv_translit_find):
6283 Remove module loading code.
6284
686ab290
AM
62852014-08-26 Allan McRae <allan@archlinux.org>
6286
e4e7cfd2
AM
6287 * po/vi.po: Update Vietnamese translation from translation project.
6288
6aa09f71
AM
6289 * po/uk.po: Update Ukrainian translation from translation project.
6290
edc0660e
AM
6291 * po/fr.po: Update French translation from translation project.
6292
7eea72ac
AM
6293 * po/ru.po: Update Russian translation from translation project.
6294
93c49eff
AM
6295 * po/pl.po: Update Polish translation from translation project.
6296
46acaf63
AM
6297 * po/cs.po: Update Czech translation from translation project.
6298
a9f5ce98
AM
6299 * po/de.po: Update German translation from translation project.
6300
373f2b78
AM
6301 * po/bg.po: Update Bulgarian translation from translation project.
6302
e7548bd8
AM
6303 * po/sv.po: Update Sweedish translation from translation project.
6304
c526bf4d
AM
6305 * po/nl.po: Update Dutch translation from translation project.
6306
686ab290
AM
6307 * po/es.po: Update Spanish translation from translation project.
6308
eb72478a
SP
63092014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6310
dd763fdb
SP
6311 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6312
318c7a58
SP
6313 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6314 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6315 (CPPFLAGS-iconvconfig): Likewise.
6316 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6317
eb72478a
SP
6318 * include/libc-symbols.h: Remove unnecessary check for
6319 NOT_IN_libc.
6320 * nptl/pthreadP.h: Likewise.
6321 * sysdeps/aarch64/setjmp.S: Likewise.
6322 * sysdeps/alpha/setjmp.S: Likewise.
6323 * sysdeps/arm/sysdep.h: Likewise.
6324 * sysdeps/i386/setjmp.S: Likewise.
6325 * sysdeps/m68k/setjmp.c: Likewise.
6326 * sysdeps/posix/getcwd.c: Likewise.
6327 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6328 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6329 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6330 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6331 * sysdeps/sh/sh3/setjmp.S: Likewise.
6332 * sysdeps/sh/sh4/setjmp.S: Likewise.
6333 * sysdeps/unix/alpha/sysdep.h: Likewise.
6334 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6336 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6337 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6342 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6345 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6347 * sysdeps/x86_64/setjmp.S: Likewise.
6348
d44a052c
JM
63492014-08-13 Joseph Myers <joseph@codesourcery.com>
6350
6351 [BZ #17263]
6352 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6353 <stdint.h>.
6354 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6355 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6356
508ce3ac
SP
63572014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6358
e44c8b0e
SP
6359 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6360
508ce3ac
SP
6361 [BZ #17262]
6362 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6363 and __x86_64__ when disabling x87 inline functions.
6364
b4acef1f
L
63652014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6366
6367 [BZ #17259]
6368 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6369 asm statement with __cpuid_count.
6370
61b1ef6e
MF
63712014-08-12 Mike Frysinger <vapier@gentoo.org>
6372
6373 * configure.ac: Change __ehdr_start code to dereference the struct.
6374 Run readelf on the output to look for relocations.
6375 * configure: Regenerated.
6376
898c62f4
JM
63772014-08-12 Joseph Myers <joseph@codesourcery.com>
6378
6379 [BZ #17261]
6380 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6381 value to 0.
6382 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6383
9a8a5720
RM
63842014-08-12 Roland McGrath <roland@hack.frob.com>
6385
6386 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6387
4e75751c
BO
63882014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6389
6390 [BZ #16892]
6391 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6392 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6393
bb2ce416
SA
63942014-08-12 Sean Anderson <seanga2@gmail.com>
6395
6396 * malloc/malloc.c: Fix typo in comment.
6397
7950a4ee
AM
63982014-08-09 Allan McRae <allan@archlinux.org>
6399
6400 * Regenerate libc.po.
6401
f469c49f
MF
64022014-08-08 Mike Frysinger <vapier@gentoo.org>
6403
6404 * intl/tst-gettext2.sh: Check every lang file for creation.
6405
656b84c2
WD
64062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6407
6408 * sysdeps/aarch64/fpu/math_private.h
6409 (libc_feholdsetround_noex_aarch64_ctx): New function.
6410
538e9e45
W
64112014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6412
6413 * sysdeps/arm/armv6/strcpy.S (strcpy):
6414 Fix performance issue in misaligned cases.
6415
d4795e4a
AZ
64162014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417
6418 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6419 Move definition from termios.h.
6420 (struct termio): Likewise.
6421 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6422 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6423 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6424 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6425 Likewise.
6426 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6427 Move definition to ioctl-types.h
6428 (struct termio): Likewise.
6429 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6430 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6431 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6432 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6433 Likewise.
6434
64accb62
RH
64352014-08-05 Richard Henderson <rth@redhat.com>
6436
27bb6dc0
RH
6437 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6438 exceptions.
6439 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6440 Add fraiseexcpt.
6441 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6442 Use __feraiseexcept.
6443 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6444 Protect libm symbols with IS_IN_libm.
6445
64accb62
RH
6446 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6447
e5292691
BO
64482014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6449
6450 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6451
5b4bd2d4
WN
64522014-08-04 Will Newton <will.newton@linaro.org>
6453
6454 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6455 file.
6456
fcadaeef
MF
64572014-08-04 Mike Frysinger <vapier@gentoo.org>
6458
6459 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6460 variants for each function.
6461
43a94c64
RM
64622014-08-04 Roland McGrath <roland@hack.frob.com>
6463
6464 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6465 appended ...
6466 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6467 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6468 appended ...
6469 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6470 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6471 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6472 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6473 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6474 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6475 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6476 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6477 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6478 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6479 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6480 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6481 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6482 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6483 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6485 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6486 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6487 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6488 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6489 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6491 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6492 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6493 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6495 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6497 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6498 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6499 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6501 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6502 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6503 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6504 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6505 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6506 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6507 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6508 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6509 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6511 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6513 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6515 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6517 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6519 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6520 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6521 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6522 Update #include.
6523 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6524 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6525
8f3c1fa4
RM
65262014-08-04 Roland McGrath <roland@hack.frob.com>
6527
6528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6529 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6530 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6531 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6532 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6533 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6534
ca08746f
RM
65352014-08-04 Roland McGrath <roland@hack.frob.com>
6536
6537 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6538 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6539 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6540 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6541
9c925ff9
RM
65422014-08-04 Roland McGrath <roland@hack.frob.com>
6543
6544 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6545 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6546 (__libc_vfork): Define function under this name.
6547 (__vfork): Define as an alias.
6548 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6549 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6550
e641054c
RM
65512014-08-04 Roland McGrath <roland@hack.frob.com>
6552
6553 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6554 that was previously under [RESET_PID].
6555 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6556
dacdc867
AS
65572014-08-04 Andreas Schwab <schwab@suse.de>
6558
6559 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6560
41f725ff
MF
65612014-08-03 Mike Frysinger <vapier@gentoo.org>
6562
6563 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6564 (main): Likewise.
6565
277cfb31
RM
65662014-08-01 Roland McGrath <roland@hack.frob.com>
6567
6568 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6569
4896f049
RH
65702014-08-01 Richard Henderon <rth@redhat.com>
6571
6572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6573 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6574 typo in exact zero test.
6575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6578
6f64e7d7
RM
65792014-08-01 Roland McGrath <roland@hack.frob.com>
6580
6581 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6582 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6583 * sysdeps/arm/sysdep.h: ... here.
6584 [!__ASSEMBLER__]: Include <stdint.h>.
6585
3f3dd810
SP
65862014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6587
a476ac4b
SP
6588 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6589 (HAVE_WCTYPE_H): Likewise.
6590 (HAVE_ISWCTYPE): Likewise.
6591 (ENABLE_NLS): Likewise.
6592 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6593 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6594
78dd658a
SP
6595 * posix/regex_internal.c: Check if DEBUG is defined and is
6596 set.
6597
3f3dd810
SP
6598 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6599 (HAVE_MBSRTOWCS): Likewise.
6600 * posix/fnmatch.c: Include string.h unconditionally.
6601
95ee7fb1
SL
66022014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6603
6604 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6605 reversal.
6606
23fe486b
RM
66072014-07-31 Roland McGrath <roland@hack.frob.com>
6608
f61a113f
RM
6609 * sysdeps/generic/safe-fatal.h: New file.
6610 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6611 * nptl/forward.c: Include it.
6612 (__pthread_unwind): Use __safe_fatal as default action, rather
6613 than a bogus use of INTERNAL_SYSCALL that could never work.
6614
9fe7e787
RM
6615 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6616 * configure.ac (libc_cv_builtin_trap): New test.
6617 * configure: Regenerated.
6618 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6619 (ABORT_INSTRUCTION): Define using __builtin_trap.
6620
23fe486b
RM
6621 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6622 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6623 * sysdeps/nptl/nptl-signals.h: New file.
6624 * nptl/pthreadP.h: Include <nptl-signals.h>.
6625
f349489e
SL
66262014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6627
6628 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6629 (ONE_DIRECTION): Define.
6630 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6631 (ONE_DIRECTION): Define.
6632 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6633 (ONE_DIRECTION): Define.
6634
2f438e20
SL
66352014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6636
6637 * sysdeps/s390/Makefile: Delete file.
6638 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6639 * sysdeps/s390/__longjmp.c: Delete file.
6640 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6641 Remove fields __flags and __reserved.
6642 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6643 and add versioning.
6644 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6645 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6646 * sysdeps/s390/rtld-setjmp.S: Likewise.
6647 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6648 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6649 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6650 * sysdeps/s390/s390-32/setjmp.S: ... here.
6651 Add versioning.
6652 (__sigsetjmp): Remove setting __flags field.
6653 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6654 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6655 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6656 * sysdeps/s390/s390-64/setjmp.S: ... here.
6657 Add versioning.
6658 (__sigsetjmp): Remove setting __flags field.
6659 * sysdeps/s390/setjmp.S: Delete file.
6660 * sysdeps/s390/sigjmp.c: Likewise.
6661 * sysdeps/s390/v1-longjmp.c: Likewise.
6662 * sysdeps/s390/v1-setjmp.h: Likewise.
6663 * sysdeps/s390/v1-sigjmp.c: Likewise.
6664 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6665 Remove v1-longjmp_chk.
6666 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6667 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6668 Include debug/longjmp_chk.c and add versioning.
6669 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6670 Include nptl/pt-longjmp.c and add versioning.
6671 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6672 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6673 Include __longjmp.c.
6674 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6675 Move to ...
6676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6677 (__getcontext): Remove setting __flags field.
6678 Add versioning.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6680 Don't restore upper high grps.
6681 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6682 Likewise.
6683 (__swapcontext): Remove setting uc_flags field.
6684 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6685 Delete file.
6686 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6687 Include __longjmp.c.
6688 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6689 Move to ...
6690 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6691 (__getcontext): Remove setting __flags field.
6692 Add versioning.
6693 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6694 (__swapcontext): Remove setting uc_flags field.
6695 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6696 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6697 Remove fields uc_high_gprs and __reserved.
6698 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6699 New file with reverted content.
6700 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6702 Regenerated.
6703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6704 Regenerated.
6705
6c9578a2
AS
67062014-07-31 Andreas Schwab <schwab@suse.de>
6707
6708 * config.h.in (HAVE_IFUNC): Define to 0.
6709 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6710 definedness.
6711
05f3633d
LM
67122014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6713
6714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6715 memmove-avx-unaligned, memcpy-avx-unaligned and
6716 mempcpy-avx-unaligned.
6717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6718 Add tests for AVX memcpy functions.
6719 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6720 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6721 memcpy_chk.
6722 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6723 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6724 memmove_chk.
6725 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6726 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6727 mempcpy_chk.
6728 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6729 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6730 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6731
a53fbd8e
AZ
67322013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6733
6734 [BZ #17213]
6735 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6736 powerpc64le.
6737
0961f7e1
JL
67382014-07-29 Jeff Layton <jlayton@poochiereds.net>
6739
6740 [BZ #16839]
6741 * manual/llio.texi: Add section about open file description locks.
6742 * manual/examples/ofdlocks.c: Example of open file description
6743 lock usage.
6744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6745 F_OFD_SETLK, and F_OFD_SETLKW.
6746
cc5fb300
AM
67472014-07-23 Allan McRae <allan@archlinux.org>
6748
6749 * po/es.po: Update Spanish translation from translation project.
6750
23329dca
AS
67512014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6752
6753 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6754
9c82da17
MR
67552014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6756
6757 [BZ #17078]
6758 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6759 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6760 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6761
29c4f53e
JM
67622014-07-17 Joseph Myers <joseph@codesourcery.com>
6763
831b9896
JM
6764 [BZ #17088]
6765 * math/fesetenv.c (__fesetenv)
6766 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6767 * math/feupdateenv.c (__feupdateenv)
6768 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6769
b21c2d50
JM
6770 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6771 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6772 (__ASSUME_SOCKETCALL): Do not define.
6773
067764ef
JM
6774 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6775 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6776 (__ASSUME_SOCKETCALL): Do not define.
6777 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6778 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6779 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6780 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6781 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6782 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6783 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6784 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6785
642530c1
JM
6786 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6787 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6788 (__ASSUME_SOCKETCALL): Do not define.
6789 (__ASSUME_IPC64): Define unconditionally.
6790 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6791 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6792 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6793 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6794 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6795 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6796 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6797 Likewise.
6798
03f77315
JM
6799 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6800 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6801 (__ASSUME_SOCKETCALL): Do not define.
6802 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6803 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6804 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6805 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6806 (__ASSUME_REQUEUE_PI): Define unconditionally.
6807 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6808 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6809 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6810 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6811 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6812 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6813
083b1f7c
JM
6814 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6815 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6816 (__ASSUME_SOCKETCALL): Do not define.
6817 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6818 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6819 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6820 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6821 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6822 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6823
5be44ea6
JM
6824 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6825 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6826 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6827 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6828 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6829 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6830 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6831 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6832 (__ASSUME_GETCPU_SYSCALL): Likewise.
6833
d95ffd4c
JM
6834 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6835 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6836 cases for individual architectures.
6837 * sysdeps/gnu/configure: Regenerated.
6838 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6839 LIBC_SLIBDIR_RTLDDIR.
6840 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6841 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6842 LIBC_SLIBDIR_RTLDDIR.
6843 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6845 LIBC_SLIBDIR_RTLDDIR.
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6847 Regenerated.
6848 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6849 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6850 file.
6851 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6852 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6853 file.
6854 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6855 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6856 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6857 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6858
29c4f53e
JM
6859 * sysdeps/aarch64/shlib-versions: Move to ...
6860 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6861 * sysdeps/alpha/shlib-versions: Move to ...
6862 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6863 * sysdeps/arm/shlib-versions: Move to ...
6864 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6865 * sysdeps/hppa/shlib-versions: Move all contents except for
6866 libgcc_s entry to ...
6867 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6868 entry from ...
6869 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6870 * sysdeps/ia64/shlib-versions: Move to ...
6871 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6872 entry from ...
6873 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6874 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6875 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6876 * sysdeps/microblaze/shlib-versions: Move to ...
6877 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6878 * sysdeps/mips/shlib-versions: Move to ...
6879 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6880 entry from ...
6881 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6882 * sysdeps/tile/shlib-versions: Move to ...
6883 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6884 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6885 from ...
6886 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6887 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6888 entry from ...
6889 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6890
32bead5b
WN
68912014-07-17 Will Newton <will.newton@linaro.org>
6892
57977c4b
WN
6893 * sysdeps/arm/bits/atomic.h
6894 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6895 (__arch_compare_and_exchange_bool_16_int): Likewise.
6896 (__arch_compare_and_exchange_bool_64_int): Likewise.
6897
32bead5b
WN
6898 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6899 into an #else block.
6900
37fccd41
RM
69012014-07-16 Roland McGrath <roland@hack.frob.com>
6902
6903 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6904 just Linux configurations. Test empirically that the compiler sets
6905 __ARM_EABI__, rather than using the tuple to decide.
6906 * sysdeps/arm/preconfigure: Regenerated.
6907 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6908 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6909 contents appended ...
6910 * sysdeps/arm/configure.ac: ... here.
6911 * sysdeps/arm/configure: Regenerated.
6912
b365f3ec
RM
69132014-07-15 Roland McGrath <roland@hack.frob.com>
6914
8badf496
RM
6915 * nptl/pthread_kill.c: New file.
6916 * nptl/pthread_sigmask.c: New file.
6917 * nptl/pthread_sigqueue.c: New file.
6918
3df6f22e
RM
6919 * sysdeps/nptl/lowlevellock.h: New file.
6920 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6921 * sysdeps/nptl/lowlevellock-futex.h: New file.
6922
b365f3ec
RM
6923 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6924 Remove dead declarations.
6925
f2fef657
L
69262014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6929 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6930 config-cflags-avx2.
6931 * sysdeps/x86_64/configure.ac: Likewise.
6932 * sysdeps/i386/configure: Regenerated.
6933 * sysdeps/x86_64/configure: Likewise.
6934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6935 memset-avx2 only if config-cflags-avx2 is yes.
6936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6937 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6938 defined.
6939 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6940 only if HAVE_AVX2_SUPPORT is defined.
6941 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6942
f6c44d47
AM
69432014-07-14 Alan Modra <amodra@gmail.com>
6944
6945 [BZ #17153]
6946 * elf/elf.h (DT_PPC64_NUM): Correct value.
6947 * NEWS: Add to fixed bug list.
6948
7ee03f00
JM
69492014-07-13 Jim Meyering <meyering@fb.com>
6950
6951 [BZ 17150]
6952 regex: don't deref NULL upon heap allocation failure
6953 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6954 failure in one more place.
6955 To trigger the segfault, configure grep -with-included-regex,
6956 build it, and run these commands:
6957 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6958
9d39d517
AS
69592014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6960
6961 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6962
a75b89b7
RH
69632014-07-11 Richard Henderson <rth@redhat.com>
6964
6965 * sysdeps/aarch64/libm-test-ulps: Update.
6966
771eb141
FW
69672014-07-10 Florian Weimer <fweimer@redhat.com>
6968
6969 [BZ #17135]
6970 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6971 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6972 (__nptl_setxid): Initialize error member. Call
6973 __nptl_setxid_error.
6974 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6975 * nptl/descr.h (struct xid_command): Add error member.
6976 * nptl/tst-setuid3.c: New file.
6977 * nptl/Makefile (tests): Add it.
6978
bc1da176
AZ
69792014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
6981 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6982 New define.
6983 (__lll_trylock): Use __lll_base_trylock.
6984 (__lll_cond_trylock): Likewise.
6985
887865fc
RM
69862014-07-10 Roland McGrath <roland@hack.frob.com>
6987
c0c6bac9
RM
6988 * nptl/pthread_create.c (start_thread): Use atomic_or and
6989 lll_futex_wake directly rather than lll_robust_dead.
6990 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6991 (lll_robust_dead): Macro removed.
6a42be57 6992 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6993 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6994 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6995 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6996 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6997 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6998 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6999 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7000 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7001 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7002 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7003 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7004 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7005 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7006 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7007
887865fc
RM
7008 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7009 Use atomic_compare_and_exchange_val_acq directly rather than
7010 lll_robust_trylock.
7011 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7012 (__lll_robust_trylock, lll_robust_trylock): Removed.
7013 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7014 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7015 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7016 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7017 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7018 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7019 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7020 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7022 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7023 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7025 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7026 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7027
58536726
FW
70282014-07-02 Florian Weimer <fweimer@redhat.com>
7029
7030 * manual/locale.texi (Locale Names): New section documenting
7031 locale name syntax. Adjust menu and node chaining accordingly.
7032 (Choosing Locale): Reference Locale Names, Locale Categories.
7033 Mention setting LC_ALL=C. Reflect that name syntax is now
7034 documented.
7035 (Locale Categories): New section title. Reference Locale Names.
7036 LC_ALL is an environment variable, but not a category.
7037 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7038 description, now in Locale Name. Reference that section. Locale
7039 name syntax is now documented.
7040
4e8f95a0
FW
70412014-07-02 Florian Weimer <fweimer@redhat.com>
7042
7043 [BZ #17137]
7044 * locale/findlocale.c (name_present, valid_locale_name): New
7045 functions.
7046 (_nl_find_locale): Use the loc_name variable to store name
7047 candidates. Call name_present and valid_locale_name to check and
7048 validate locale names. Return an error if the locale is invalid.
7049
d1836456
FW
70502014-07-02 Florian Weimer <fweimer@redhat.com>
7051
7052 * locale/setlocale.c (setlocale): Use strdup for allocating
7053 composite name copy.
7054
d69b7f5a
SP
70552014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7056
888c679b
SP
7057 Sync up with gnulib.
7058 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7059 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7060 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7061 and _GL_ARG_NONNULL.
7062 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7063 [!_LIBC]: Include code for Windows and Cygwin.
7064 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7065 Include prototype for int strerror_r.
7066 [!_LIBC] (is_open): New function.
7067 (flush_stdout): New function.
7068 (print_errno_message): Use it.
7069 (error): Likewise.
7070 (error_at_line): Likewise.
7071 (error_tail) Add function attribute macros. Use
7072 __builtin_expect.
7073
180e0e4b
SP
7074 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7075
d22f1fe2
SP
7076 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7077
12f2254b
SP
7078 * io/ftw.c: Include sys/param.h unconditionally.
7079
c3c7c360
SP
7080 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7081
d62aa75a
SP
7082 [BZ #17125]
7083 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7084 libc_freeres_ptr.
7085 (freecache): New function to free CACHE on exit.
7086
d69b7f5a
SP
7087 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7088 initialization.
7089
5efe06a1
DM
70902014-07-09 David S. Miller <davem@davemloft.net>
7091
7092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7093
7000d82e
DM
7094 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7095 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7096 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7097 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7098 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7099 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7100 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7101 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7102 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7103 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7104 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7105 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7106 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7107
c213442d
AS
71082014-07-09 Andreas Schwab <schwab@suse.de>
7109
4a2552c3
AS
7110 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7111 output.
7112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7113 (do_test): Likewise.
7114
c213442d
AS
7115 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7116
82374e65
WN
71172014-07-09 Will Newton <will.newton@linaro.org>
7118
7119 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7120 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7121 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7122 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7123 * sysdeps/hppa/start.S (_start): Likewise.
7124
6680738a
SP
71252014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7126
6ee3eab4
SP
7127 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7128
6680738a
SP
7129 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7130 defined.
7131
80b5c505
SP
71322014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7133
e35c53e3
SP
7134 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7135 after checking that it is non-NULL.
7136
80b5c505
SP
7137 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7138
91f4b564
AZ
71392014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7140
27b75f56
AZ
7141 * sysdeps/powerpc/memmove.c: Remove file.
7142 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7143 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7145 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7147 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7148 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7149 string memmove instead of removed powerpc one.
7150
e7f95bb5
AZ
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7152 [weak_alias]: Fix compiler warning due trailing data.
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7154 [weak_alias]: Likewise.
7155 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7156 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7157
91f4b564
AZ
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7159 (__libc_ifunc_impl_list): Add memmove functions.
7160
7c33f1e5
SP
71612014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7162
7163 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7164 Remove code.
7165 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7166 Likewise
7167 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7168 Likewise
7169 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7170 Likewise
7171 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7172 Likewise
7173 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7174 Likewise
7175 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7176 Likewise
7177 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7178 Likewise
7179 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7180 Likewise
7181 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7182 Likewise
7183 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7184 Likewise
7185 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7186 Likewise
7187 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7188 Likewise
7189 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7190 Likewise
7191 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7192 Likewise
7193 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7194 Likewise
7195 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7196 Likewise
7197
3f17b03b
AZ
71982014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7199
87868c24
AZ
7200 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7201 to avoid alignment traps in non-cacheable memory.
7202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7203
07aedd78
AZ
7204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7205 multiarch objects.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7207 file: multiarch power7 memmove.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7209 multiarch default memmove.
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7211 multiarch memove for powerpc32/power4.
7212
17762f66
AZ
7213 * string/bcopy.c: Use full path to include memmove.c.
7214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7215 multiarch objects.
7216 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7217 bcopy for powerpc64.
7218 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7219 bcopy for powerpc64.
7220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7221 and memmove implementations.
7222 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7223 optimized multiarch memmove for POWER7/powerpc64.
7224 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7225 default multiarch memmove for powerpc64.
7226 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7227 multiarch for powerpc64.
7228 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7229 for POWER7/powerpc64.
7230 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7231 memmove for POWER7/powerpc64.
7232
d6f68bbe
AZ
7233 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7234 glibc default one.
7235
3f17b03b
AZ
7236 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7237 __ELF_NATIVE_CLASS equal to 64.
7238
08192659
RM
72392014-07-07 Roland McGrath <roland@hack.frob.com>
7240
f4c4021b
RM
7241 * sysdeps/nptl/lowlevellock.h: File removed.
7242
f083450f
RM
7243 * NEWS: NPTL is no longer an add-on!
7244 * nptl/internaltypes.h: Moved ...
7245 * sysdeps/nptl/internaltypes.h: ... here.
7246 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7247 * sysdeps/nptl/fork.c: Likewise.
7248 * sysdeps/nptl/gai_misc.h: Likewise.
7249 * sysdeps/nptl/librt-cancellation.c: Likewise.
7250 * sysdeps/nptl/jmp-unwind.c: Likewise.
7251 * sysdeps/nptl/setxid.h: Likewise.
7252 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7253 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7254 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7255 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7256 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7257 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7258 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7259 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7260 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7261 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7262 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7263 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7264 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7265 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7266 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7267 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7268 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7269 * nptl/Makeconfig: Moved ...
7270 * sysdeps/nptl/Makeconfig: ... here.
7271 * nptl/configure: File removed.
7272 * nptl/ANNOUNCE: File removed.
7273 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7274 * sysdeps/unix/sysv/linux/configure: Regenerated.
7275
08192659
RM
7276 * nptl/Makefile (routines): Add libc_pthread_init,
7277 libc_multiple_threads, register-atfork and unregister-atfork.
7278 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7279 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7280 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7281 pthread-pi-defines.sym, structsem.sym.
7282 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7283 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7284 [$(subdir) = nptl] (tests): Add tst-setgetname.
7285 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7286 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7287 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7288 [!LIBC_SIGACTION]: Remove aliases.
7289 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7290 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7291 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7292 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7293 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7297 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7298 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7299 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7300 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7301 __libc_allocate_rtsig_private.
7302 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7303 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7304 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7305 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7306 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7307 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7308 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7309 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7310 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7311 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7312 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7313 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7314 * nptl/internaltypes.h: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7316 * sysdeps/nptl/jmp-unwind.c: ... here.
7317 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7318 * nptl/libc-lowlevellock.c: ... here.
7319 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7320 * nptl/libc_multiple_threads.c: ... here.
7321 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7322 * nptl/libc_pthread_init.c: ... here.
7323 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7324 * nptl/lowlevelbarrier.sym: ... here.
7325 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7326 * nptl/lowlevelcond.sym: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7328 * nptl/lowlevellock.c: ... here.
7329 * nptl/lowlevellock.h: Moved ...
7330 * sysdeps/nptl/lowlevellock.h: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7332 * nptl/lowlevelrobustlock.c: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7334 * nptl/lowlevelrobustlock.sym: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7336 * nptl/lowlevelrwlock.sym: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7338 * nptl/pt-fork.c: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7340 * nptl/pthread-pi-defines.sym: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7342 * nptl/pthread_attr_getaffinity.c: ... here.
7343 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7344 * nptl/pthread_attr_setaffinity.c: ... here.
7345 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7346 * nptl/pthread_mutex_cond_lock.c: ... here.
7347 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7348 Update #include.
7349 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7350 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7351 * nptl/pthread_once.c: ... here, replacing old file.
7352 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7353 * nptl/pthread_yield.c: ... here.
7354 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7355 * nptl/register-atfork.c: ... here.
7356 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7357 * nptl/sem_post.c: ... here.
7358 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7359 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7360 * nptl/sem_timedwait.c: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7362 * nptl/sem_trywait.c: ... here.
7363 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7364 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7365 * nptl/sem_wait.c: ... here.
7366 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7367 * nptl/structsem.sym: ... here.
7368 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7369 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7370 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7371 * nptl/unregister-atfork.c: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7373 * nptl/unwindbuf.sym: ... here.
7374 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7375 * sysdeps/nptl/fork.c: ... here.
7376 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7377 * sysdeps/nptl/fork.h: ... here.
7378 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7379 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7380 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7382 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7383 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7384 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7385 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7386 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7388 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7389 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7390 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7391 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7392 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7394 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7395 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7396 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7398 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7400 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7402 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7404 * sysdeps/unix/sysv/linux/raise.c: ... here.
7405 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7406 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7408 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7410 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7412 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7414 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7416 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7418 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7419 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7420
96baf6ff
SP
74212014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7422
7423 * sysdeps/generic/memcopy.h: Add comment for
7424 MEMCPY_OK_FOR_FWD_MEMMOVE.
7425
6b7b14b2
WN
74262014-07-04 Will Newton <will.newton@linaro.org>
7427
1570a72b
WN
7428 * string/memchr.c: Merge from gnulib.
7429 [_LIBC]: Remove conditionals.
7430 (__ptr_t): Remove define.
7431 (LONG_MAX_32_BITS): Likewise.
7432 (LONG_MAX): Likewise.
7433 (MEMCHR): Use ANSI prototype and optimize algorithm.
7434
6b7b14b2
WN
7435 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7436
38851324
SP
74372014-07-03 Roland McGrath <roland@hack.frob.com>
7438
3d9eb57c
RM
7439 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7440 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7441
78b984ae
RM
7442 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7443 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7444 in a bare environment with no <stdlib.h> installed.
7445 * sysdeps/nptl/configure: Regenerated.
7446
2d5976a5
RM
7447 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7448
c1f5acd4
RM
7449 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7450 AC_EGREP_CPP for kernel header checks, so they only succeed if
7451 including <linux/version.h> actually works right.
7452 * sysdeps/unix/sysv/linux/configure: Regenerated.
7453
4d614fe5
RM
7454 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7455 value so it's not diagnosed as unused.
7456
38851324
SP
7457 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7458 thing) with "ifeq ($(subdir),rt)".
7459
b3ec00e5
RH
74602014-07-03 Richard Henderson <rth@redhat.com>
7461
69862e25
RH
7462 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7463 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7464 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7465
d5e16ade
RH
7466 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7467 (math_force_eval): New.
7468
ca7b945c
RH
7469 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7470 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7471
cd1175a3
RH
7472 * sysdeps/alpha/fpu/s_round.c: Remove file.
7473 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7474
b3ec00e5
RH
7475 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7476 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7477 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7478 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7479 (_dl_start, print_statistics): Likewise.
7480 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7481 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7482
7483 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7484 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7485 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7486 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7488 (HP_SMALL_TIMING_AVAIL): Define.
7489 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7490 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7491 (HP_SMALL_TIMING_AVAIL): Define.
7492 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7493 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7494
7495 * sysdeps/aarch64/hp-timing.h: New file.
7496
7497 * sysdeps/generic/hp-timing.h: Remove dead comment.
7498 * sysdeps/generic/hp-timing-common.h: New file.
7499 * sysdeps/alpha/hp-timing.h: Include it.
7500 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7501 * sysdeps/i386/i686/hp-timing.h: Likewise.
7502 * sysdeps/ia64/hp-timing.h: Likewise.
7503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7507 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7508 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7509 (hp_timing_t): New.
7510
7511 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7512 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7513 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7514 * elf/rtld.c (_dl_start_final): Likewise.
7515 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7516 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7517 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7518 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7519 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7521 (HP_TIMING_DIFF_INIT): Remove.
7522 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7523 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7524 (HP_TIMING_DIFF_INIT): Remove.
7525 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7526 * sysdeps/i386/i686/hp-timing.c: Remove file.
7527 * sysdeps/x86_64/hp-timing.c: Remove file.
7528 * sysdeps/ia64/hp-timing.c: Remove file.
7529 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7530 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7531 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7532 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7533
7534 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7535 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7536 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7537 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7538 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7539 (HP_TIMING_ACCUM): Remove.
7540 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7541 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7542 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7543
7544 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7545 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7546 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7547 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7549 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7550 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7551 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7552
7553 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7554
225f410f
MR
75552014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7556
7557 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7558
3247f285
SP
75592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7560
7561 Sync up with gettext.
7562 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7563 [_MSC_VER]: Include malloc.h
7564 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7565 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7566 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7567 TEMP_FAILURE_RETRY. Cast return of alloca.
7568 [!_LIBC] Call gl_rwlock_init.
7569 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7570
d12704c7
SP
75712014-07-02 Roland McGrath <roland@hack.frob.com>
7572
7573 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7574 before checking its value.
7575
99f8dc92
SP
75762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7577
05fdac77
SP
7578 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7579
99f8dc92
SP
7580 * debug/memcpy_chk.c: Don't include pagecopy.h.
7581 * debug/mempcpy_chk.c: Likewise.
7582 * string/memcpy.c: Likewise.
7583 * string/memmove.c: Likewise.
7584 * sysdeps/powerpc/memmove.c: Likewise.
7585 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7586 definition of PAGE_COPY_FWD_MAYBE here...
7587 * sysdeps/generic/pagecopy.h: ... from here.
7588 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7589
bc8ea385
VR
75902014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7591 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7592
7593 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7595 optimizations.
7596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7597 (__libc_ifunc_impl_list): Likewise.
7598 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7599 multiarch strcat for PPC64.
7600 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7601 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7602
fe5f34e4
RM
76032014-07-02 Roland McGrath <roland@hack.frob.com>
7604
7605 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7606
256aa665
SP
76072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7608
d4eb8195
SP
7609 * intl/loadmsgcat.c: Remove declaration of
7610 get_sysdep_segment_value.
7611 (get_sysdep_segment_value): Use ISO C style.
7612 (_nl_load_domain): Use ISO C style. Get rid of redundant
7613 semicolon. Fix typo and formatting in comment.
7614 (_nl_unload_domain): Use ISO C style.
7615
256aa665
SP
7616 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7617
b100f9aa
WN
76182014-07-02 Will Newton <will.newton@linaro.org>
7619
7620 * malloc/obstack.c: Merge from gnulib master.
7621 [HAVE_CONFIG_H]: Remove conditional code.
7622 [!_LIBC]: Include config.h.
7623 [!ELIDE_CODE]: Don't include inttypes.h, include
7624 stdint.h unconditionally.
7625 (print_and_abort): Mark as _Noreturn.
7626 (_obstack_allocated_p): Mark as __attribute_pure__.
7627 (obstack_free): Rename to __obstack_free.
7628 [!__attribute__]: Remove conditional code.
7629 * malloc/obstack.h: Merge from gnulib master.
7630 [__cplusplus]: Move conditional down.
7631 [!__attribute_pure__]: Define __attribute_pure__ here
7632 if it is not already defined.
7633 (_obstack_memory_used): Mark as __attribute_pure__.
7634 [!__obstack_free]: Define as obstack_free.
7635 [__GNUC__]: Remove check for ancient NeXT gcc.
7636
c4c41244
PE
76372014-07-02 Will Newton <will.newton@linaro.org>
7638 Paul Eggert <eggert@cs.ucla.edu>
7639
7640 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7641
e1e041c4
SP
76422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7643
7644 * resolv/gethnamaddr.c: Add comment warning that the file is
7645 not maintained.
7646
ccf431ff
CD
76472014-07-01 Carlos O'Donell <carlos@redhat.com>
7648
d34570a6
CD
7649 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7650 entries.
7651
ccf431ff
CD
7652 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7653 entry for aio_cancel and aio_cancel64.
7654 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7655 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7656 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7657 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7658 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7659 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7660 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7661 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7662 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7663 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7664 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7665 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7666 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7667
ca06321d
RM
76682014-07-01 Roland McGrath <roland@hack.frob.com>
7669
7670 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7671 * nptl/pthread_mutex_lock.c: Likewise.
7672 * nptl/pthread_mutex_timedlock.c: Likewise.
7673 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7674
a1ac3184
RH
76752014-07-01 Richard henderson <rth@redhat.com>
7676
631021e0
RH
7677 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7678 (__isnan, __isnanl): Remove.
7679 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7680
a1ac3184
RH
7681 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7682
0c1d731f
SL
76832014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7684
7685 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7686
76985d3e
SP
76872014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7688
7689 * resolv/nss_dns/dns-host.c (getanswer_r)
7690 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7691
b0cb3096
JM
76922014-07-01 Joseph Myers <joseph@codesourcery.com>
7693
7694 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7695 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7696 undefine.
7697 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7698 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7699
4d76cb39
RM
77002014-07-01 Roland McGrath <roland@hack.frob.com>
7701
7702 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7703 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7704
7705 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7706 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7707
7708 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7709 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7710 ... here.
7711 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7712 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7713
7714 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7715 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7716 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7717 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7718
7719 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7720 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7721 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7722 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7723 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7724 Moved ...
7725 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7726 ... here.
7727 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7740 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7741 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7742 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7743 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7744 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7745 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7746 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7747 ... here.
7748 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7751 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7752 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7753 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7754 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7755 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7756
0cdcad17
DH
77572014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7758
7759 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7760 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7761 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7762 Add sysdep.
7763
9b71d0e3
AZ
77642014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7765
7766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7767
665390c2
JM
77682014-06-30 Joseph Myers <joseph@codesourcery.com>
7769
ae05a9d7
JM
7770 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7771 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7772
a7672a2f
JM
7773 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7774
665390c2
JM
7775 * sysdeps/arm/libm-test-ulps: Regenerated.
7776
d7a05d07
MR
77772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7778 Roland McGrath <roland@hack.frob.com>
7779
7780 * test-skeleton.c (signal_handler): Kill the whole process group
7781 before killing the child individually.
7782 (main): Report any failure on `setpgid'.
7783
46f1d8a6
RM
77842014-06-30 Roland McGrath <roland@hack.frob.com>
7785
7786 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7787 from _TLS_H to _ARM_NPTL_TLS_H.
7788 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7789 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7790
9c37ec0b
JM
77912014-06-30 Joseph Myers <joseph@codesourcery.com>
7792
ce9c5b3e
JM
7793 [BZ #16539]
7794 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7795 (__expm1l): Return argument unchanged when small but not
7796 subnormal.
7797
3a6e9887
JM
7798 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7799 include macro name.
7800 (_FP_UNPACK_RAW_1_P): Likewise.
7801 (_FP_PACK_RAW_1): Likewise.
7802 (_FP_PACK_RAW_1_P): Likewise.
7803 (_FP_MUL_MEAT_1_wide): Likewise.
7804 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7805 (_FP_MUL_MEAT_1_hard): Likewise.
7806 (_FP_DIV_MEAT_1_imm): Likewise.
7807 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7808 (_FP_DIV_MEAT_1_udiv): Likewise.
7809 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7810 (_FP_UNPACK_RAW_2): Likewise.
7811 (_FP_UNPACK_RAW_2_P): Likewise.
7812 (_FP_PACK_RAW_2): Likewise.
7813 (_FP_PACK_RAW_2_P): Likewise.
7814 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7815 (_FP_MUL_MEAT_2_wide): Likewise.
7816 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7817 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7818 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7819 (_FP_MUL_MEAT_2_gmp): Likewise.
7820 (_FP_DIV_MEAT_2_udiv): Likewise.
7821 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7822 (_FP_FRAC_SRL_4): Likewise.
7823 (_FP_FRAC_SRST_4): Likewise.
7824 (_FP_FRAC_SRS_4): Likewise.
7825 (_FP_UNPACK_RAW_4): Likewise.
7826 (_FP_UNPACK_RAW_4_P): Likewise.
7827 (_FP_PACK_RAW_4): Likewise.
7828 (_FP_PACK_RAW_4_P): Likewise.
7829 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7830 (_FP_MUL_MEAT_4_wide): Likewise.
7831 (_FP_MUL_MEAT_4_gmp): Likewise.
7832 (umul_ppppmnnn): Likewise.
7833 (_FP_DIV_MEAT_4_udiv): Likewise.
7834 (__FP_FRAC_ADD_4): Likewise.
7835 (__FP_FRAC_SUB_3): Likewise.
7836 (__FP_FRAC_SUB_4): Likewise.
7837 (__FP_FRAC_DEC_3): Likewise.
7838 (__FP_FRAC_DEC_4): Likewise.
7839 (__FP_FRAC_ADDI_4): Likewise.
7840 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7841 (_FP_FRAC_SRL_8): Likewise.
7842 (_FP_FRAC_SRS_8): Likewise.
7843
9c37ec0b
JM
7844 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7845 include macro name.
7846 (FP_UNPACK_RAW_EP): Likewise.
7847 (FP_PACK_RAW_E): Likewise.
7848 (FP_PACK_RAW_EP): Likewise.
7849 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7850 (_FP_ISSIGNAN): Likewise.
7851 (_FP_ADD_INTERNAL): Likewise.
7852 (_FP_FMA): Likewise.
7853 (_FP_CMP): Likewise.
7854 (_FP_SQRT): Likewise.
7855 (_FP_TO_INT): Likewise.
7856 (_FP_FROM_INT): Likewise.
7857 (FP_EXTEND): Likewise.
7858 (_FP_DIV_MEAT_N_loop): Likewise.
7859
2125f674
MR
78602014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7861
7862 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7863 throughout.
7864
edea4028
JM
78652014-06-29 Joseph Myers <joseph@codesourcery.com>
7866
7867 [BZ #17097]
7868 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7869 result with correct sign in case of exponents that produce
7870 overflow except for X very close to 1.
7871
dd0ba018
PE
78722014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7873
7874 mktime: merge #if/#ifdef usage from glibc
7875 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7876 as that works with both Glibc's and Gnulib's style.
7877 See thread starting at Siddhesh Poyarekar's bug report at:
7878 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7879
64df73c2
SP
78802014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7881
7882 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7883 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7884 * sysdeps/tile/tilegx/memmove.c: Remove file.
7885
f1eafb41
JM
78862014-06-27 Joseph Myers <joseph@codesourcery.com>
7887
7888 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7889 abi-name definition.
7890 * scripts/soversions.awk: Do not handle or generate ABI lines.
7891 * shlib-versions: Remove ABI entries.
7892 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7893 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7894
58eb0862
RM
78952014-06-27 Roland McGrath <roland@hack.frob.com>
7896
37caf178
RM
7897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7898 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7899 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7900 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7902 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7904 Moved ...
7905 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7906 ... here.
7907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7908 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7912 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7914 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7916 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7918 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7920 Moved ...
7921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7927 Moved ...
7928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7930 Moved ...
7931 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7933 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7935 Moved ...
7936 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7942 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7944 Moved ...
7945 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7947 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7948 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7949 Moved ...
7950 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7952 Moved ...
7953 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7955 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7957 Moved ...
7958 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7959 ... here.
7960 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7961 Identical file removed.
7962 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7963 Moved ...
7964 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7966 Identical file removed.
7967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7970 Moved ...
7971 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7973 Identical file removed.
7974 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7975 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7976 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7977 Identical file removed.
7978 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7979 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7981 Identical file removed.
7982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7983 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7985 Identical file removed.
7986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7987 Moved ...
7988 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7990 Identical file removed.
7991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7992 Moved ...
7993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7994 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7995 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7997 Identical file removed.
7998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7999 Moved ...
8000 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8001 ... here.
8002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8003 Identical file removed.
8004 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8005 Moved ...
8006 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8008 Identical file removed.
8009 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8010 Moved ...
8011 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8013 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8015 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8016 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8017 Moved ...
8018 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8020 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8021
58eb0862
RM
8022 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8023 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8024 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8025 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8026 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8027
6f12d062
AS
80282014-06-27 Arjun Shankar <arjun.is@lostca.se>
8029
8030 [BZ #17092]
8031 * nscd/nscd.c (monitor_child): Return exit status of child
8032 instead of return value from wait syscall.
8033
be254932
JM
80342014-06-27 Joseph Myers <joseph@codesourcery.com>
8035
cb403c34
JM
8036 * configure.ac (libc_commonpagesize): Remove variable.
8037 (libc_relro_required): Likewise.
8038 (libc_cv_z_relro): Remove configure test.
8039 * configure: Regenerated.
8040 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8041 variable.
8042 (libc_relro_required): Likewise.
8043 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8044 (libc_relro_required): Likewise.
8045 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8046 (libc_relro_required): Likewise.
8047 * sysdeps/arm/preconfigure: Regenerated.
8048 * sysdeps/ia64/preconfigure: Remove file.
8049 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8050 variable.
8051 (libc_relro_required): Likewise.
8052
be254932
JM
8053 [BZ #16561]
8054 [BZ #16562]
8055 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8056 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8057 recompute overflowing results in original rounding mode.
8058 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8059 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8060 recompute overflowing results in original rounding mode.
8061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8062 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8063 recompute overflowing results in original rounding mode.
8064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8065 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8066 recompute overflowing results in original rounding mode.
8067 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8068 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8069 recompute overflowing results in original rounding mode.
8070 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8071 (libc_feholdsetround_ctx): New macro.
8072 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8073 * sysdeps/i386/fpu/libm-test-ulps: Update.
8074 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8075
b351d85a
JM
80762014-06-26 Joseph Myers <joseph@codesourcery.com>
8077
8078 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8079 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8080 corresponding .cpsetup call.
8081
3cb4de47
RM
80822014-06-26 Roland McGrath <roland@hack.frob.com>
8083
8084 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8085 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8086 * sysdeps/arm/Makefile [$(subdir) = csu]
8087 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8088 (static-only-routines): Add aeabi_read_tp here.
8089 (shared-only-routines): Add libc-aeabi_read_tp here.
8090 (CFLAGS-libc-start.c): Add -fexceptions here.
8091 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8092 (sysdep_routines, static-only-routines, shared-only-routines):
8093 Don't add to these here.
8094 (CFLAGS-libc-start.c): Likewise.
8095
8096 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8097 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8098 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8099 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8100 * sysdeps/arm/Makefile [$(subdir) = rt]
8101 (librt-sysdep_routines, librt-shared-only-routines):
8102 Append rt-aeabi_unwind_cpp_pr1 here.
8103 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8104 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8105 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8106 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8107 Append nptl-aeabi_unwind_cpp_pr1 here.
8108 (tests): Filter out tst-cleanupx4 here.
8109 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8110 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8111 Don't do those here.
8112
354426bb
JM
81132014-06-26 Joseph Myers <joseph@codesourcery.com>
8114
8115 * scripts/list-sources.sh: Do not handle ports specially.
8116
28b0a8c9
RM
81172014-06-26 Roland McGrath <roland@hack.frob.com>
8118
a3dd035d
RM
8119 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8120 * sysdeps/arm/feupdateenv.c: Likewise.
8121
28b0a8c9
RM
8122 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8123
e66a8203
JM
81242014-06-26 Joseph Myers <joseph@codesourcery.com>
8125
8126 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8127 trailing whitespace removed.
8128 * scripts/config.guess: Update to version 2014-03-23.
8129 * scripts/config.sub: Update to version 2014-05-01
8130 * scripts/install-sh: Update to version 2013-12-25.23.
8131 * scripts/move-if-change: Update from gnulib.
8132
74171115
SP
81332014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8134
b97c9ce5
SP
8135 * debug/memmove_chk.c: Remove pagecopy.h include.
8136
4000f892
SP
81372014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8138
74171115
SP
8139 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8140 identical to gnulib mktime.
8141
a8779c28
JM
81422014-06-26 Joseph Myers <joseph@codesourcery.com>
8143
e64708de
JM
8144 * configure.ac: Do not test for machine being rs6000. Do not test
8145 for powerpc*-*soft.
8146 * configure: Regenerated.
8147
a8779c28
JM
8148 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8149 test.
8150 * configure: Regenerated.
8151 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8152 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8153 Remove configure test.
8154 * sysdeps/arm/configure: Regenerated.
8155 * sysdeps/nptl/configure.ac: Do not check
8156 libc_cv_asm_cfi_directives.
8157 * sysdeps/nptl/configure: Regenerated.
8158 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8159 * sysdeps/x86_64/nptl/configure: Remove generated file.
8160 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8161 unconditional.
8162 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8163
2aac0a86
SP
81642014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8165
059bf913
SP
8166 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8167 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8168 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8169 it is defined.
8170
4cf5b6d0
SP
8171 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8172 instead of whether it is defined.
8173 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8174 * sysdeps/hppa/dl-machine.h: Likewise.
8175 * sysdeps/ia64/dl-machine.h: Likewise.
8176 * sysdeps/m68k/dl-machine.h: Likewise.
8177 * sysdeps/microblaze/dl-machine.h: Likewise.
8178 * sysdeps/mips/dl-machine.: Likewise.
8179 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8180 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8181 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8182 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8183 * sysdeps/sh/dl-machine.h: Likewise.
8184 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8185 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8186 * sysdeps/tile/dl-machine.h: Likewise.
8187 * sysdeps/x86_64/dl-machine.h: Likewise.
8188
2aac0a86
SP
8189 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8190 code.
8191 (verify_persistent_db): Likewise.
8192
6ad2df0b
RM
81932014-06-26 Roland McGrath <roland@hack.frob.com>
8194
d8a483f3
RM
8195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8196 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8200 Moved ...
8201 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8202 ... here.
8203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8206 Identical file removed.
8207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8212 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8214 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8216 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8218 Moved ...
8219 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8221 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8223 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8225 Moved ...
8226 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8228 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8230 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8232 Identical file removed.
8233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8234 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8236 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8238 Moved ...
8239 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8240 ... here.
8241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8244 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8246 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8248 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8250 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8252 Moved ...
8253 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8255 Moved ...
8256 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8260 Moved ...
8261 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8263 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8264
52ae23b4
RM
8265 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8266 folded into ...
8267 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8268 * sysdeps/unix/sysv/linux/s390/Versions
8269 (libpthread: GLIBC_2.19): New version set.
8270 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8271 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8272 (librt: GLIBC_2.3.3): New version set.
8273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8274 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8275 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8277 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8278 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8279 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8281 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8283 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8284 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8285 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8287 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8289 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8291 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8292 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8293 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8295 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8296 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8297 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8298 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8299 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8301 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8303 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8304 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8305 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8309 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8311 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8313 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8315 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8317 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8318
39507e4a
RM
8319 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8320 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8321 (__libc_vfork): Define the function under this name.
8322 [!NOT_IN_libc] (__vfork): Make this an alias.
8323 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8325 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8326 (__libc_vfork): Define the function under this name.
8327 [!NOT_IN_libc] (__vfork): Make this an alias.
8328 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8329 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8330 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8333 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8334
e549ee56
RM
8335 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8336 code that was previously under [RESET_PID].
8337 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8338 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8339 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8340
6ad2df0b
RM
8341 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8342 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8343 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8344 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8345 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8346 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8347 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8348 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8349 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8350 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8351 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8352 Moved ...
8353 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8354 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8355 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8356 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8359 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8363 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8364 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8365 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8367 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8369 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8370 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8375 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8377 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8378 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8379 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8380 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8381 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8382
7c1c1d8e
RM
83832014-06-25 Roland McGrath <roland@hack.frob.com>
8384
8385 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8386 that was previously under [RESET_PID].
8387 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8388
3e239be6
JM
83892014-06-25 Joseph Myers <joseph@codesourcery.com>
8390
74385da5
JM
8391 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8392 not undefine and redefine.
8393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8394 [O_CLOEXEC]: Make code unconditional.
8395 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8397 <kernel-features.h>.
8398 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8399 conditional variable definition.
8400 (shm_open) [O_CLOEXEC]: Make code unconditional.
8401 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8402 code.
8403
c2570a0b
JM
8404 * configure.ac (USE_REGPARMS): Don't define here.
8405 * configure: Regenerated.
8406 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8407 * sysdeps/i386/configure: Regenerated.
8408
11b076bb
JM
8409 * nptl/createthread.c: Don't include kernel-features.h.
8410 * nptl/pthread_cancel.c: Likewise.
8411 * nptl/pthread_condattr_setclock.c: Likewise.
8412 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8413 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8414 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8415 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8416 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8417 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8418 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8421 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8422 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8423 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8424 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8425 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8426 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8427 * nscd/gai.c: Likewise.
8428 * nss/nss_db/db-open.c: Likewise.
8429 * sysdeps/generic/ldsodefs.h: Likewise.
8430 * sysdeps/sh/nptl/tls.h: Likewise.
8431 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8432 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8433 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8434 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8435 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8436 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8437 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8438 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8439 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8440 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8441 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8442 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8443 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8444 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8445 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8446 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8447 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8448 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8449 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8450 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8453 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8454 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8457 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8458 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8459 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8460 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8461 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8462 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8463 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8464 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8465 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8466 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8467 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8468 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8469 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8470 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8471 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8472 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8473 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8474 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8475 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8476 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8477 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8478 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8479 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8480 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8481 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8482 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8483 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8484 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8485 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8486 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8487 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8488 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8511 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8512 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8513 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8514 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8515 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8519 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8520 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8521 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8522 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8523 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8524 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8525 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8526 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8528 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8529 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8530 * sysdeps/unix/sysv/linux/system.c: Likewise.
8531 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8532 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8533 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8534 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8535 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8536 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8537 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8538
92072d57
JM
8539 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8540 * configure: Regenerated.
8541 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8542
3e239be6
JM
8543 * configure.ac (base_machine): Do not set specially for particular
8544 machines here.
8545 * configure: Regenerated.
8546 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8547 settings from configure.ac.
8548 * sysdeps/i386/preconfigure: New file.
8549 * sysdeps/s390/preconfigure: Likewise.
8550 * sysdeps/sh/preconfigure: Likewise.
8551 * sysdeps/sparc/preconfigure: Likewise.
8552
06d50baa
RM
85532014-06-25 Roland McGrath <roland@hack.frob.com>
8554
74836003
RM
8555 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8556 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8557 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8558 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8559 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8560 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8561 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8562 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8563 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8564 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8565 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8566 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8567 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8568 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8569 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8570 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8571 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8572 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8573 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8574
8575 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8576 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8577 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8578 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8579 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8580 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8581 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8582 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8583 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8584 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8585 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8586 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8587 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8588 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8589 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8590 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8591 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8592 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8593 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8594 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8595 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8596 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8597 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8598 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8599 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8600 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8601 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8602 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8604 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8605 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8606 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8607 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8608 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8609 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8610 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8611 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8612 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8613
06d50baa
RM
8614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8615 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8619 Moved ...
8620 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8621 ... here.
8622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8623 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8625 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8627 Moved ...
8628 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8630 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8636 Moved ...
8637 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8639 Moved ...
8640 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8642 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8644 Moved ...
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8647 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8649 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8651 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8653 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8655 Moved ...
8656 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8657 ... here.
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8661 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8663 Moved ...
8664 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8670 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8672 Moved ...
8673 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8675 Moved ...
8676 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8678 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8680 Moved ...
8681 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8683 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8685 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8686
a4ccbc9b
JM
86872014-06-25 Joseph Myers <joseph@codesourcery.com>
8688
0828edbf
JM
8689 * timezone/checktab.awk: Update from tzcode 2014e.
8690 * timezone/private.h: Likewise.
8691 * timezone/tzfile.h: Likewise.
8692 * timezone/zdump.c: Likewise.
8693 * timezone/zic.c: Likewise.
8694
a4ccbc9b
JM
8695 * sysdeps/unix/sysv/linux/kernel-features.h
8696 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8697 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8698 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8699 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8700 Remove conditional code.
8701
9aea0cb8
WN
87022014-06-25 Will Newton <will.newton@linaro.org>
8703
8704 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8705 (_dl_arm_cap_flags): Add HWCAP2 values.
8706 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8707 (_DL_HWCAP_COUNT): Increase to 37.
8708 (_DL_HWCAP_LAST): New define.
8709 (_DL_HWCAP2_LAST): New define.
8710 (_dl_procinfo): Add support for printing
8711 AT_HWCAP2 entries.
8712 (_dl_string_hwcap): Use _dl_hwcap_string.
8713
6eaa65ce
AZ
87142014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8715
8716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8717
0f5b7185
JM
87182014-06-25 Joseph Myers <joseph@codesourcery.com>
8719
cfd2ea50
JM
8720 * README: Do not mention ports directory.
8721
cecf2ed4
JM
8722 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8723 Remove macro.
8724 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8725 <kernel-features.h>.
8726 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8727 conditional variable definition.
8728 (__futimes): Update comment.
8729 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8730 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8731
a638de82
JM
8732 [BZ #16560]
8733 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8734 arguments close to 0.
8735 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8736 Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8738 Likewise.
8739 * math/auto-libm-test-in: Add more tests of exp10.
8740 * math/auto-libm-test-out: Regenerated.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8742
0f5b7185
JM
8743 * sysdeps/unix/sysv/linux/kernel-features.h
8744 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8745 * sysdeps/unix/sysv/linux/readv.c: Do not include
8746 <kernel-features.h>.
8747 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8748 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8749 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8750 unconditional.
8751 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8752 conditional code.
8753 * sysdeps/unix/sysv/linux/writev.c: Do not include
8754 <kernel-features.h>.
8755 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8756 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8757 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8758 unconditional.
8759 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8760 conditional code.
8761
c7aec4be
WN
87622014-06-25 Will Newton <will.newton@linaro.org>
8763
8764 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8765 comment changes throughout the file. Remove checks
8766 for HAVE_*_H definitions that are not required.
8767 (__gen_tempname): Call abort if an unknown kind value is
8768 passed.
8769
c5241f95
AS
87702014-06-25 Andreas Schwab <schwab@suse.de>
8771
8772 [BZ #17086]
8773 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8774 scalbln, scalblnf, scalblnl in libc.
8775
911422da
SP
87762014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8777
8778 [BZ #17086]
8779 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8780 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8781 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8782
0d749bbe
RM
87832014-06-24 Roland McGrath <roland@hack.frob.com>
8784
8785 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8786 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8787 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8788 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8789 Update #include.
8790 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8791 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8792 Update #include.
8793 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8794 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8795 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8796 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8797 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8798 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8799 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8800 * sysdeps/x86/bits/semaphore.h: ... here.
8801 * sysdeps/x86/nptl/elide.h: Moved ...
8802 * sysdeps/x86/elide.h: ... here.
8803 * sysdeps/x86_64/nptl/Implies: File removed.
8804 * sysdeps/i386/nptl/Implies: File removed.
8805
0ea5d373
JM
88062014-06-24 Joseph Myers <joseph@codesourcery.com>
8807
4060283d
JM
8808 [BZ #16539]
8809 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8810 return the argument for normal arguments with exponent below -64.
8811 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8812 Likewise.
8813 * math/auto-libm-test-in: Add another test of expm1.
8814 * math/auto-libm-test-out: Regenerated.
8815
e7dd3c8c
JM
8816 [BZ #16287]
8817 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8818 calling __erfcl for arguments at least 16.
8819 * math/auto-libm-test-in: Add more tests of erf.
8820 * math/auto-libm-test-out: Regenerated.
8821
0ea5d373
JM
8822 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8823 individual architectures.
8824 * sysdeps/unix/sysv/linux/configure: Regenerated.
8825 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8826 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8827 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8828 (ldd_rewrite_script): Define variable.
8829 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8831 file.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8833 generated file.
8834 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8835 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8836 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8837 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8838 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8839 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8840 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8841 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8842
2307e126
SP
88432014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8844
8845 [BZ #17084]
8846 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8847 Rename member __data.d to __data.__elision_data.
8848
c0a4ed77
W
88492014-06-24 Wilco <wdijkstr@arm.com>
8850
8851 * NEWS: Add 16918 to fixed bug list.
8852
b8c00573
W
88532014-06-24 Wilco <wdijkstr@arm.com>
8854
8855 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8856
b5570d92
W
88572014-06-24 Wilco <wdijkstr@arm.com>
8858
8859 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8860 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8861 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8862 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8863 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8864 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8865 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8866 Use _FPU_MASK_RM.
8867
947bdca2
W
88682014-06-24 Wilco <wdijkstr@arm.com>
8869
8870 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8871
00f669ed
W
88722014-06-24 Wilco <wdijkstr@arm.com>
8873
8874 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8875 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8876 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8877 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8878
db59bad3
W
88792014-06-24 Wilco <wdijkstr@arm.com>
8880
8881 [BZ #16918]
8882 * sysdeps/arm/feupdateenv.c (feupdateenv):
8883 Rewrite to reduce FPSCR accesses and fix return value.
8884
001f7b77
W
88852014-06-24 Wilco <wdijkstr@arm.com>
8886
8887 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8888 Optimize to avoid unnecessary FPSCR writes.
8889 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8890 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8891 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8892 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8893
4841e6a6
W
88942014-06-24 Wilco <wdijkstr@arm.com>
8895
8896 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8897 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8898 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8899 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8900 Call libc_fetestexcept_vfp.
8901 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8902 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8903 __SOFTFP__ ifdef so that they can be built for softfp.
8904
0813022c
SP
89052014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8906
08e5862f
SP
8907 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8908 argument type signed char.
8909
0813022c
SP
8910 * Makerules (check-abi): Dump diff of symlist if the test
8911 fails.
8912
3fc7236a
RM
89132014-06-23 Roland McGrath <roland@hack.frob.com>
8914
aba8ef95
RM
8915 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8916 using abort.
8917
3fc7236a
RM
8918 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8919 Remove unused variable ST.
8920
4da6db51
JM
89212014-06-23 Joseph Myers <joseph@codesourcery.com>
8922
4648909d
JM
8923 [BZ #16354]
8924 [BZ #17061]
8925 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8926 small arguments before calling __expm1.
8927 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8928 small arguments before calling __expm1f.
8929 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8930 small arguments before calling __expm1l.
8931 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8932 Likewise.
8933 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8934 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8935 spurious underflow for some cosh tests.
8936 * math/auto-libm-test-out: Regenerated.
8937 * sysdeps/i386/fpu/libm-test-ulps: Update.
8938
46a3d3c7
JM
8939 [BZ #17050]
8940 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8941 (__ieee754_y1): Set errno if return value overflows.
8942 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8943 (__ieee754_y1f): Set errno if return value overflows.
8944 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8945 (__ieee754_y1l): Set errno if return value overflows.
8946 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8947 (__ieee754_y1l): Set errno if return value overflows.
8948 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8949 * math/auto-libm-test-out: Regenerated.
8950
863893ec
JM
8951 * math/gen-auto-libm-tests.c: Document use of
8952 ignore-zero-inf-sign.
8953 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8954 (input_flags): Add ignore-zero-inf-sign.
8955 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8956 * math/gen-libm-test.pl (generate_testfile): Handle
8957 ignore-zero-inf-sign.
8958 * math/auto-libm-test-in: Mark some cpow tests with
8959 ignore-zero-inf-sign and some with xfail-rounding.
8960 * math/auto-libm-test-out: Regenerated.
8961 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8962 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8964
4da6db51
JM
8965 [BZ #16315]
8966 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8967 overflowing or underflowing operations take place with sign of
8968 result.
8969 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8970 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8971 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8972 (__ieee754_pow): Recompute overflowing and underflowing results in
8973 original rounding mode.
8974 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8975 (__powl_helper): Allow negative argument X and scale negated value
8976 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8977 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8978 overflowing or underflowing operations take place with sign of
8979 result.
8980 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8981 Include <math.h>.
8982 * math/auto-libm-test-in: Add more tests of pow.
8983 * math/auto-libm-test-out: Regenerated.
8984 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8985 (pow_tonearest_test_data): Remove.
8986 (pow_test_tonearest): Likewise.
8987 (pow_towardzero_test_data): Likewise.
8988 (pow_test_towardzero): Likewise.
8989 (pow_downward_test_data): Likewise.
8990 (pow_test_downward): Likewise.
8991 (pow_upward_test_data): Likewise.
8992 (pow_test_upward): Likewise.
8993 (main): Don't call removed functions.
8994 * sysdeps/i386/fpu/libm-test-ulps: Update.
8995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8996
5686b236
RM
89972014-06-23 Roland McGrath <roland@hack.frob.com>
8998
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9000 Moved ...
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9003 Moved ...
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9006 Moved ...
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9012 File removed.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9014 File removed.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9016 File removed.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9018 File removed.
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9020 File removed.
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9022 File removed.
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9024 File removed.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9026 File removed.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9028 File removed.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9030 File removed.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9032 File removed.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9034 File removed.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9036 Moved ...
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9039 Moved ...
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9041 ... here.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9043 Moved ...
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9046 Moved ...
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9049 Moved ...
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9052 Moved ...
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9055 Moved ...
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9058 Moved ...
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9061 Moved ...
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9065 ... here.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9067 Moved ...
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9070 Moved ...
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9072 ... here.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9074 Moved ...
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9076 ... here.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9078 Moved ...
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9080 ... here.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9082 Moved ...
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9085 Moved ...
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9090 Moved ...
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9092 ... here.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9094 Moved ...
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9096 ... here.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9098 Moved ...
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9101 Moved ...
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9104 Moved ...
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9107 Moved ...
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9112 ... here.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9114 Moved ...
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9117 Moved ...
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9120 Moved ...
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9123 Moved ...
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9128 Moved ...
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9131 Moved ...
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9134 Moved ...
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9136 ... here.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9138 Moved ...
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9140 ... here.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9142 Moved ...
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9144 ... here.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9146 Moved ...
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9149 Moved ...
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9152 Moved ...
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9155 Moved ...
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9157 ... here.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9159 Moved ...
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9161 ... here.
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9163 Moved ...
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9165 ... here.
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9167 Moved ...
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9170 Moved ...
9171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9172
e6d90d67
WD
91732014-06-23 Will Newton <will.newton@linaro.org>
9174 Wilco <wdijkstr@arm.com>
9175
9176 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9177 implementation. Include get-rounding-mode.h.
9178 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9179 [!libc_feholdsetround_noex_ctx]: Define
9180 libc_feholdsetround_noex_ctx.
9181 [!libc_feholdsetround_noexf_ctx]: Define
9182 libc_feholdsetround_noexf_ctx.
9183 [!libc_feholdsetround_noexl_ctx]: Define
9184 libc_feholdsetround_noexl_ctx.
9185 (libc_feholdsetround_ctx): New function.
9186 (libc_feresetround_ctx): New function.
9187 (libc_feholdsetround_noex_ctx): New function.
9188 (libc_feresetround_noex_ctx): New function.
9189
d42df555
RM
91902014-06-23 Roland McGrath <roland@hack.frob.com>
9191
88a46474
RM
9192 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9193 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9194 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9195 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9196 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9197 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9198
15bed472
RM
9199 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9200 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9201 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9202 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9203 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9204 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9206 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9208 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9210 Moved ...
9211 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9212 ... here.
9213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9214 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9216 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9223 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9227 Moved ...
9228 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9230 Moved ...
9231 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9232 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9233 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9235 Moved ...
9236 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9240 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9241 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9242 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9244 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9246 Moved ...
9247 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9248 ... here.
9249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9250 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9256 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9258 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9260 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9262 Moved ...
9263 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9267 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9269 Moved ...
9270 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9272 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9273 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9274 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9275
d42df555
RM
9276 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9277 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9278 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9279 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9280 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9283 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9285 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9286 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9287 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9288 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9289 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9290 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9291 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9304
76e5216e
JM
93052014-06-23 Joseph Myers <joseph@codesourcery.com>
9306
9307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9308 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9309 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9310 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9311 (IPV6_PMTUDISC_INTERFACE): Likewise.
9312 (IPV6_PMTUDISC_OMIT): Likewise.
9313
7a81cbcc
AS
93142014-06-23 Andreas Schwab <schwab@suse.de>
9315
9316 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9317 Remove unused errout label.
9318
db224009
AZ
93192014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9320
9321 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9322 macro: hardware supports Vector Crypto instructions.
9323
f393b4aa
WN
93242014-06-23 Will Newton <will.newton@linaro.org>
9325
cc7d0447
WN
9326 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9327 rather than __builtin_expect.
9328
d6d06225
WN
9329 * elf/dl-lookup.c (undefined_msg): Remove variable.
9330 (_dl_lookup_symbol_x): Replace undefined_msg with string
9331 literal.
9332
f393b4aa
WN
9333 * elf/dl-lookup.c (do_lookup_unique): New function.
9334 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9335 to a separate function.
9336
ac60763e
AS
93372014-06-23 Andreas Schwab <schwab@suse.de>
9338
9339 [BZ #17079]
9340 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9341 before reading the next line.
9342
c5c13355
WN
93432014-06-23 Will Newton <will.newton@linaro.org>
9344
9345 * test-skeleton.c (signal_handler): Use printf and %m
9346 rather than perror. Use printf rather than fprintf to
9347 stderr. Use puts rather than fputs to stderr.
9348 (main): Likewise.
9349
bd3675f9
LC
93502014-06-22 Ludovic Courtès <ludo@gnu.org>
9351
9352 * nscd/nscd.c (thread_info_t): Remove typedef.
9353 (thread_info): Remove variable.
9354
d03efb2f
AM
93552014-06-21 Allan McRae <allan@archlinux.org>
9356
9357 * NEWS: Mention CVE-2014-4043.
9358
bc4a86fa
RM
93592014-06-20 Roland McGrath <roland@hack.frob.com>
9360
dc9a54f8
RM
9361 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9362 * nptl/smp.h: ... here.
9363
bd7022c4
RM
9364 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9365
26ffd5e6
RM
9366 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9367 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9368 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9369 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9370
93a6d082
RM
9371 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9372 * nptl/stack-aliasing.h: New file.
9373 * sysdeps/i386/i686/stack-aliasing.h: New file.
9374 * sysdeps/i386/i686/nptl/Makefile: File removed.
9375 * sysdeps/x86_64/stack-aliasing.h: New file.
9376 * sysdeps/x86_64/nptl/Makefile
9377 (CFLAGS-pthread_create.c): Variable removed.
9378
bc4a86fa
RM
9379 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9380 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9381 old file.
9382 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9383 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9384 old file.
9385
2272ffc1
JM
93862014-06-21 Joseph Myers <joseph@codesourcery.com>
9387
9388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9389 (__ASSUME_SIGFRAME_V2): Remove macro.
9390 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9391 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9392 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9393 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9394 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9395 Declare as function. Remove conditional macro definitions.
9396 (__default_rt_sa_restorer): Likewise.
9397 (__default_sa_restorer_v1): Remove declaration.
9398 (__default_sa_restorer_v2): Likewise.
9399 (__default_rt_sa_restorer_v1): Likewise.
9400 (__default_rt_sa_restorer_v2): Likewise.
9401 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9402 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9403 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9404
4b88139b
RM
94052014-06-20 Roland McGrath <roland@hack.frob.com>
9406
9407 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9408 (libpthread-routines): Add sysdep.
9409 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9410 * sysdeps/unix/sysv/linux/sparc/Versions
9411 (libpthread: GLIBC_2.3.3): New version set.
9412 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9413 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9414 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9415 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9416 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9417 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9418 Moved ...
9419 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9420 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9421 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9422 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9423 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9425 * sysdeps/sparc/nptl/sem_init.c: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9427 * sysdeps/sparc/nptl/sem_post.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9429 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9431 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9432 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9433 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9434 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9435 (libpthread-routines): Add cpu_relax.
9436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9437 File removed.
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9439 (librt: GLIBC_2.3.3): New version set.
9440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9441 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9443 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9446 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9448 Moved ...
9449 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9451 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9453 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9455 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9457 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9459 Moved ...
9460 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9461 Update #include.
9462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9463 Moved ...
9464 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9465 Update #include.
9466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9467 Moved ...
9468 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9469 Update #include.
9470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9471 Moved ...
9472 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9473 Update #include.
9474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9475 Moved ...
9476 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9477 Update #include.
9478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9479 Moved ...
9480 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9481 Update #include.
9482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9483 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9489 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9491 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9493 Moved ...
9494 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9496 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9498 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9499
d7109027
JM
95002014-06-20 Joseph Myers <joseph@codesourcery.com>
9501
9bc6103d
JM
9502 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9503 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9504 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9505 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9506 * nscd/nscd.c: Likewise.
9507 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9508 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9509 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9510 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9511
d7109027
JM
9512 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9513 <kernel-features.h>.
9514 (init_mq_netlink): Remove conditional have_sock_cloexec
9515 definitions. Remove code conditional on have_sock_cloexec < 0.
9516 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9517 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9518 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9519 <kernel-features.h>.
9520 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9521 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9522
d92d8f8a
L
95232014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9524
9525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9526 Add tests for memset_chk and memset.
9527
9528 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9529 with AVX2_Usable.
9530
4e6d2347
MR
95312014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9532
257ce712
MR
9533 [BZ #16046]
9534 * elf/tst-dl-iter-static.c: New file.
9535 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9536
4e6d2347
MR
9537 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9538 error.
9539
a2a76afe
JM
95402014-06-20 Joseph Myers <joseph@codesourcery.com>
9541
7fd00f99
JM
9542 * sysdeps/unix/sysv/linux/kernel-features.h
9543 (__ASSUME_F_GETOWN_EX): Remove macro.
9544 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9545 <kernel-features.h>.
9546 (miss_F_GETOWN_EX): Remove variable or macro.
9547 (do_fcntl): Do not check miss_F_GETOWN_EX.
9548 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9549
4a103975
JM
9550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9551 Remove macro.
9552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9553 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9554 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9555
a2a76afe
JM
9556 * sysdeps/unix/sysv/linux/kernel-features.h
9557 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9558 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9559 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9560 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9561
90e5dd48
MR
95622014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9563
9564 [BZ #17075]
9565 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9566 Fix calculation of the symbol's value.
9567 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9568 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9569 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9570 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9571 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9572 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9573 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9574 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9575 (modules-names): Add `tst-armtlsdescmod',
9576 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9577 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9578 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9579 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9580 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9581 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9582 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9583 ($(objpfx)tst-armtlsdescloc): New dependency.
9584 ($(objpfx)tst-armtlsdescextnow): Likewise.
9585 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9586 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9587 TLS scheme support.
9588 * sysdeps/arm/configure: Regenerate.
9589
809fdf0d
JM
95902014-06-20 Joseph Myers <joseph@codesourcery.com>
9591
9592 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9593 (__atfct_seterrno_2): Likewise.
9594 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9595 <kernel-features.h>.
9596 (__ASSUME_ATFCTS): Do not undefine and redefine.
9597 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9598 (__have_atfcts): Remove conditional definition.
9599 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9600 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9601 unreachable if [__ASSUME_ATFCTS].
9602 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9603 not undefine and redefine.
9604 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9605 <kernel-features.h>.
9606 (faccessat) [__NR_faccessat]: Make code unconditional.
9607 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9608 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9609 <kernel-features.h>.
9610 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9611 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9612 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9613 <kernel-features.h>.
9614 (fchownat) [__NR_fchownat]: Make code unconditional.
9615 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9616 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9617 <kernel-features.h>.
9618 (futimesat) [__NR_futimesat]: Make code unconditional.
9619 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9620 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9621 <kernel-features.h>.
9622 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9623 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9624 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9625 <kernel-features.h>.
9626 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9627 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9628 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9629 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9630 <kernel-features.h>.
9631 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9632 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9633 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9634 <kernel-features.h>.
9635 (linkat) [__NR_linkat]: Make code unconditional.
9636 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9637 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9638 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9639 <kernel-features.h>.
9640 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9641 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9642 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9643 <kernel-features.h>.
9644 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9645 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9646 * sysdeps/unix/sysv/linux/openat.c: Do not include
9647 <kernel-features.h>.
9648 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9649 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9650 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9651 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9652 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9653 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9654 <kernel-features.h>.
9655 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9656 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9657 result of INLINE_SYSCALL directly, not via int variable.
9658 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9659 <kernel-features.h>.
9660 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9661 (renameat) [__NR_renameat]: Make code unconditional.
9662 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9663 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9664 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9665 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9667 (__ASSUME_ATFCTS): Do not undefine and redefine.
9668 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9669 <kernel-features.h>.
9670 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9671 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9672 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9673 <kernel-features.h>.
9674 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9675 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9676 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9677 (__ASSUME_ATFCTS): Do not undefine and redefine.
9678 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9679 <kernel-features.h>.
9680 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9681 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9682 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9683 <kernel-features.h>.
9684 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9685 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9686
224c6c51
L
96872014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9690
aa6ec754
AS
96912014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9692
9693 [BZ #17069]
9694 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9695 constructed tree before returning error.
9696 * posix/bug-regexp36.c: Expand test case.
9697
d8c2869d
SL
96982014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9699
3ef6b850
SL
9700 [BZ #6803]
9701 * math/libm-test.inc (scalbln_test_date):
9702 Add errno expectations.
9703 * math/w_scalblnf.c: New File.
9704 Add wrapper which checks for setting errno to ERANGE.
9705 Add weak_alias for corresponding scalbln function.
9706 * math/w_scalbln.c: Likewise.
9707 * math/w_scalblnl.c: Likewise.
9708 * math/Makefile (libm-calls): Add w_scalbln.
9709 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9710 Remove weak_alias for corresponding scalbln function.
9711 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9713 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9715 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9716 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9717 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9718 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9719 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9720 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9721 Remove long_double_symbol for scalblnl function in libm, libc.
9722 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9723 Add wrapper which checks for setting errno to ERANGE.
9724 Add long_double_symbol for scalblnl function in libm, libc.
9725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9726 Remove long_double_symbol for scalblnl in libm.
9727 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9728 Add wrapper which checks for setting errno to ERANGE.
9729 Add long_double_symbol for scalblnl function in libm.
9730 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9731 Do not use wrapper because of own implementation.
9732
c8daec5c
L
97332014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9734
9735 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9736 3 bytes for __pad1 for x32.
9737 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9738
5c74e47c
LM
97392014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9740 H.J. Lu <hongjiu.lu@intel.com>
9741
9742 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9743 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9744 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9745 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9746 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9747
4d43ef1e
AS
97482014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9749
9750 [BZ #17069]
9751 * posix/regcomp.c (parse_expression): Deallocate partially
9752 constructed tree before returning error.
9753 * posix/Makefile.c (tests): Add bug-regex36.
9754 (generated): Add bug-regex36.mtrace.
9755 (tests-special): Add $(objpfx)bug-regex36-mem.out
9756 (bug-regex36-ENV): New variable.
9757 ($(objpfx)bug-regex36-mem.out): New rule.
9758 * posix/bug-regex36.c: New file.
9759
51a7380b
WN
97602014-06-19 Will Newton <will.newton@linaro.org>
9761
9762 * malloc/malloc.c (systrim): If extra is zero then return
9763 early.
9764
91b84fe5
SP
97652014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9766
9767 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9768
f940b965
RE
97692014-06-19 Richard Earnshaw <rearnsha@arm.com>
9770
9771 * sysdeps/aarch64/strchr.S: New file.
9772
4ba7a00f
JM
97732014-06-18 Joseph Myers <joseph@codesourcery.com>
9774
9775 [BZ #17022]
9776 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9777 from arguments -2 or below.
9778 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9779 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9780
b3a9f56b
AS
97812014-06-18 Andreas Schwab <schwab@suse.de>
9782
9783 [BZ #17062]
9784 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9785 of a bracket expr not to run off the end of the string.
9786 * posix/Makefile (tests): Add tst-fnmatch3.
9787 * posix/tst-fnmatch3.c: New file.
9788
85d89278
JM
97892014-06-18 Joseph Myers <joseph@codesourcery.com>
9790
9791 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9792 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9793 [$(cross-compiling) = no]: Likewise.
9794 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9795 [$(cross-compiling) = no]: Likewise.
9796
754c5a08
RS
97972014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9798
9799 [BZ #17031]
9800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9801 double, adjusted for any remainder from the high double.
9802 * math/libm-test.inc (nearbyint): Add tests.
9803 (rint): Likewise.
9804
556f529d
AZ
98052014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806
9807 * nptl/sysdeps/powerpc/Makefile: Moved ...
9808 * sysdeps/powerpc/nptl/Makefile: ... here.
9809 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9810 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9811 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9812 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9813 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9814 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9815 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9816 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9817 * nptl/sysdeps/powerpc/tls.h: Moved ...
9818 * sysdeps/powerpc/nptl/tls.h: ... here.
9819
91c03c53
JM
98202014-06-16 Joseph Myers <joseph@codesourcery.com>
9821
9822 [BZ #16681]
9823 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9824 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9825 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9826 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9827 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9828 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9829 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9830 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9831 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9832
a76e63c5
AS
98332014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9834
9835 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9836
f2f6d82f
AS
98372014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9838
ea8a15f6
AS
9839 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9840 defined operator.
9841
f2f6d82f
AS
9842 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9843 $TIMEOUTFACTOR.
9844
a7291117
FW
98452014-06-16 Florian Weimer <fweimer@redhat.com>
9846
9847 [BZ #17058]
9848 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9849 non-executed part of the test.
9850
3d7c00e3
AS
98512014-06-16 Andreas Schwab <schwab@suse.de>
9852
9853 * string/bits/string2.h (strdup, strndup): Update feature guard.
9854
6957fb31
DM
98552014-06-14 David S. Miller <davem@davemloft.net>
9856
9857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9858
11b9e55b
AS
98592014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9860
1d2a0492
AS
9861 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9862 that was previously under [RESET_PID].
9863 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9864
11b9e55b
AS
9865 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9866 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9867 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9868 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9869 (__libc_vfork): New strong alias.
9870 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9871
0f6901d0
AK
98722014-06-14 Andi Kleen <ak@linux.intel.com>
9873
9874 * sysdeps/generic/elide.h: New file.
9875
38bbbb9f
SL
98762014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9877
9878 * Makefile (installed-headers): Adjust path of pthread.h header.
9879
45193bb8
RM
98802014-06-13 Roland McGrath <roland@hack.frob.com>
9881
9a25fd1e
RM
9882 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9883 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9884 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9885 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9886
4004f7e4
RM
9887 * nptl/sysdeps/s390/Makefile: Moved ...
9888 * sysdeps/s390/nptl/Makefile: ... here.
9889 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9890 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9891 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9892 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9893 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9894 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9895 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9896 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9897 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9898 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9899 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9900 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9901 * nptl/sysdeps/s390/tls.h: Moved ...
9902 * sysdeps/s390/nptl/tls.h: ... here.
9903
45193bb8
RM
9904 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9905 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9906
f6fdf533
DM
99072014-06-13 David S. Miller <davem@davemloft.net>
9908
9909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9912 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9916 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9917 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9918 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9920 Remove RESET_PID cpp guards.
9921 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9922 Remove RESET_PID cpp guards.
9923 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9924
f5d71e14
AS
99252014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9926
9927 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9928 __sp to uintptr_t.
9929
b7aa8caa
AK
99302014-06-13 Andi Kleen <ak@linux.intel.com>
9931
4b266200
AZ
9932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9934 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9944 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9945 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9946 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9948 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9951 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9952
9953 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9954 (pthread_rwlock_rdlock): Add elision.
9955 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9956 (pthread_rwlock_wrlock): Add elision.
9957 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9958 (pthread_rwlock_trywrlock): Add elision.
9959 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9960 (pthread_rwlock_tryrdlock): Add elision.
9961 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9962 (pthread_rwlock_tryrdlock): Add elision unlock.
9963 * nptl/sysdeps/pthread/pthread.h:
9964 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9965 (PTHREAD_RWLOCK_INITIALIZER,
9966 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9967 Handle new elision field.
9968 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9969 * sysdeps/arm/nptl/bits/pthreadtypes.h
9970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9971 * sysdeps/sh/nptl/bits/pthreadtypes.h
9972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9973 * sysdeps/tile/nptl/bits/pthreadtypes.h
9974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9975 * sysdeps/a/nptl/bits/pthreadtypes.h
9976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9977 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9979 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9981 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9983 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9985 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9987 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9989 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9991 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9993 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9994 (elision_init): Set try_xbegin to zero when no RTM.
9995 * sysdeps/x86/nptl/bits/pthreadtypes.h
9996 (pthread_rwlock_t): Change __pad1 to __rwelision.
9997 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9998
a832bdd3
AK
99992014-06-13 Andi Kleen <ak@linux.intel.com>
10000
10001 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10002 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10003 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10004 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10005
995a46bb
MI
100062014-06-13 Meador Inge <meadori@codesourcery.com>
10007
10008 [BZ #16996]
03ed7738 10009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10010 that the cached result has been set before returning it.
10011
45262aee
RM
100122014-06-12 Roland McGrath <roland@hack.frob.com>
10013
febf6cc5
RM
10014 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10015 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10016 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10017 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10018 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10019 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10020
e2682246
RM
10021 * nptl/sysdeps/sparc/Makefile: Moved ...
10022 * sysdeps/sparc/nptl/Makefile: ... here.
10023 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10024 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10025 * nptl/sysdeps/sparc/tls.h: Moved ...
10026 * sysdeps/sparc/nptl/tls.h: ... here.
10027 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10028 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10029 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10030 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10031 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10032 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10033 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10034 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10035 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10036 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10037 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10038 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10039 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10040 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10041 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10042 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10043 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10044 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10045 Update #include.
10046 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10048 Update #include.
10049 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10051 Update #include.
10052 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10053 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10054 Update #include.
10055
b0725f43
RM
10056 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10057
b14368b8
RM
10058 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10059 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10060
c5620eb3
RM
10061 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10062 (struct list_links): Type removed.
10063 (struct thread_node, struct timer_node): Replace struct list_links
10064 with struct list_head.
10065 (list_unlink_ip): Likewise.
10066 * sysdeps/pthread/timer_routines.c
10067 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10068 (list_append, list_insbefore): Likewise.
10069 (list_init): Function removed.
10070 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10071 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10072 * sysdeps/pthread/Makefile: ... here, new file.
10073
10074 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10075 * sysdeps/nptl/Implies: ... here.
10076 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10077 * nptl/sysdeps/pthread/list.h: Moved ...
10078 * include/list.h: ... here.
10079 * nptl/sysdeps/pthread/createthread.c: Moved ...
10080 * nptl/createthread.c: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10082 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10083 * nptl/pt-longjmp.c: ... here.
10084 * nptl/sysdeps/pthread/Makefile: Moved ...
10085 * sysdeps/nptl/Makefile: ... here.
10086 * nptl/sysdeps/pthread/Subdirs: Moved ...
10087 * sysdeps/nptl/Subdirs: ... here.
10088 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10089 * sysdeps/nptl/aio_misc.h: ... here.
10090 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10091 * sysdeps/nptl/bits/libc-lock.h: ... here.
10092 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10093 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10094 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10095 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10096 * nptl/sysdeps/pthread/configure: Moved ...
10097 * sysdeps/nptl/configure: ... here.
10098 * nptl/sysdeps/pthread/configure.ac: Moved ...
10099 * sysdeps/nptl/configure.ac: ... here.
10100 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10101 * sysdeps/nptl/gai_misc.h: ... here.
10102 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10103 * sysdeps/nptl/librt-cancellation.c: ... here.
10104 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10105 * sysdeps/nptl/malloc-machine.h: ... here.
10106 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10107 * sysdeps/nptl/pthread-functions.h: ... here.
10108 * nptl/sysdeps/pthread/pthread.h: Moved ...
10109 * sysdeps/nptl/pthread.h: ... here.
10110 * nptl/sysdeps/pthread/setxid.h: Moved ...
10111 * sysdeps/nptl/setxid.h: ... here.
10112 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10113 * sysdeps/nptl/sigfillset.c: ... here.
10114 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10115 * sysdeps/nptl/tcb-offsets.h: ... here.
10116 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10117 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10118 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10119 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10120 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10121 * sysdeps/pthread/allocalim.h: ... here.
10122 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10123 * sysdeps/pthread/bits/sigthread.h: ... here.
10124 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10125 * sysdeps/pthread/flockfile.c: ... here.
10126 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10127 * sysdeps/pthread/ftrylockfile.c: ... here.
10128 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10129 * sysdeps/pthread/funlockfile.c: ... here.
10130 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10131 * sysdeps/pthread/posix-timer.h: ... here.
10132 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10133 * sysdeps/pthread/timer_create.c: ... here.
10134 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10135 * sysdeps/pthread/timer_delete.c: ... here.
10136 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10137 * sysdeps/pthread/timer_getoverr.c: ... here.
10138 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10139 * sysdeps/pthread/timer_gettime.c: ... here.
10140 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10141 * sysdeps/pthread/timer_routines.c: ... here.
10142 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10143 * sysdeps/pthread/timer_settime.c: ... here.
10144 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10145 * sysdeps/pthread/tst-timer.c: ... here.
10146 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10147 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10148
e876b090
RM
10149 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10150 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10151
f6b07b3d
RM
10152 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10153 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10154 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10155 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10156 Update #include target.
10157 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10158 * sysdeps/i386/i686/nptl/Makefile: ... here.
10159 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10160 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10161 Update #include target.
10162 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10163 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10164 * nptl/sysdeps/i386/Makefile: Moved ...
10165 * sysdeps/i386/nptl/Makefile: ... here.
10166 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10167 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10168 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10169 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10170 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10171 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10172 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10173 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10174 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10175 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10176 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10177 * nptl/sysdeps/i386/tls.h: Moved ...
10178 * sysdeps/i386/nptl/tls.h: ... here.
10179
45262aee
RM
10180 * sysdeps/sh/Makefile [$(subdir) = csu]
10181 (gen-as-const-headers): Add tcb-offsets.sym.
10182 * nptl/sysdeps/sh/Makefile: File removed.
10183 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10184 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10185 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10186 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10187 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10188 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10189 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10190 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10191 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10192 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10193 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10194 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10195 * nptl/sysdeps/sh/tls.h: Moved ...
10196 * sysdeps/sh/nptl/tls.h: ... here.
10197 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10198 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10199 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10200 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10201 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10202 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10203 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10204 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10205 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10206 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10207 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10208 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10210 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10212 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10213 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10214 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10215 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10216 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10218 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10220 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10222 Moved ...
10223 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10224 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10225 Moved ...
10226 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10227 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10228 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10229 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10231 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10232 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10233 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10234 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10235 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10236 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10237 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10238 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10239 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10240 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10241 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10242 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10243 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10244 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10245
35a5e3e3
SL
102462014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10247
10248 * posix/spawn_faction_addopen.c: Include string.h.
10249
14642b85
RM
102502014-06-11 Roland McGrath <roland@hack.frob.com>
10251
10252 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10253 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10254 * nptl/sysdeps/x86_64/Makefile: Moved ...
10255 * sysdeps/x86_64/nptl/Makefile: ... here.
10256 * nptl/sysdeps/x86_64/configure: Moved ...
10257 * sysdeps/x86_64/nptl/configure: ... here.
10258 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10259 * sysdeps/x86_64/nptl/configure.ac: ... here.
10260 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10261 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10262 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10263 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10264 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10265 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10266 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10267 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10268 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10269 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10270 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10271 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10272 * nptl/sysdeps/x86_64/tls.h: Moved ...
10273 * sysdeps/x86_64/nptl/tls.h: ... here.
10274 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10275 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10276 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10277 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10278
10279 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10280
31c44fea
AZ
102812014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10282
10283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10284
e81a4f9a
JM
102852014-06-11 Joseph Myers <joseph@codesourcery.com>
10286
10287 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10288 type.
10289 [POSIX] (off_t): Likewise.
10290 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10291 [POSIX] (S_ISBLK): Require macro.
10292 [POSIX] (S_ISCHR): Likewise.
10293 [POSIX] (S_ISDIR): Likewise.
10294 [POSIX] (S_ISFIFO): Likewise.
10295 [POSIX] (S_ISREG): Likewise.
10296 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10297 optional-macro.
10298 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10299 type.
10300 [POSIX] (time_t): Likewise.
10301 [POSIX] (timer_t): Likewise.
10302
89e435f3
FW
103032014-06-11 Florian Weimer <fweimer@redhat.com>
10304
10305 [BZ #17048]
10306 * posix/spawn_int.h (struct __spawn_action): Make the path string
10307 non-const to support deallocation.
10308 * posix/spawn_faction_addopen.c
10309 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10310 * posix/spawn_faction_destroy.c
10311 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10312 path in all spawn_do_open actions.
10313 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10314 posix_spawn_file_actions_addopen.
10315
c3a2ebe1
CM
103162014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10317
10318 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10319 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10320 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10321 conditional code always true.
10322 (__libc_vfork): New alias.
10323
9503784a
RM
103242014-06-11 Roland McGrath <roland@hack.frob.com>
10325
c9cab3d2
RM
10326 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10327 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10328
d3996c79
RM
10329 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10330
ba5ec611
RM
10331 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10332 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10333
f12b4814
RM
10334 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10335 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10336
9503784a
RM
10337 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10338 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10339
e23d3d26
VR
103402014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10341
10342 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10343 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10344 multiarch strcmp for PPC64.
10345 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10346 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10348 multiarch optimizations.
10349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10350 (__libc_ifunc_impl_list): Likewise.
10351
42b1161e
SP
103522014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10353
10354 * benchtests/scripts/validate_benchout.py: New script.
10355 * benchtests/Makefile (bench-func): Call it.
10356 * benchtests/scripts/benchout.schema.json: New file.
10357
2d0fc4dc
CM
103582014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10359
4a594c34
AZ
10360 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10361 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10362 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10363 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10364 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10365 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10366 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10367 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10368 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10369 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10370 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10371 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10372 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10373 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10374 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10375 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10377 Moved ...
4a594c34 10378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10379 ... here.
4a594c34 10380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10381 Moved ...
4a594c34
AZ
10382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10384 Moved ...
4a594c34 10385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10386 ... here.
4a594c34 10387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10388 Moved ...
4a594c34 10389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10390 ... here.
4a594c34 10391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10392 Moved ...
4a594c34
AZ
10393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10395 Moved ...
4a594c34 10396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10397 ... here.
4a594c34 10398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10399 Moved ...
4a594c34 10400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10401 ... here.
4a594c34 10402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10403 Moved ...
4a594c34
AZ
10404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10406 Moved ...
4a594c34 10407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10408 ... here.
4a594c34 10409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10410 Moved ...
4a594c34 10411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10412 ... here.
4a594c34 10413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10414 Moved ...
4a594c34 10415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10416 ... here.
4a594c34 10417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10418 Moved ...
4a594c34
AZ
10419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10421 Moved ...
4a594c34 10422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10423 ... here.
4a594c34 10424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10425 Moved ...
4a594c34 10426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10427 ... here.
4a594c34 10428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10429 Moved ...
4a594c34 10430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10431 ... here.
4a594c34 10432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10433 Moved ...
4a594c34
AZ
10434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10436 Moved ...
4a594c34 10437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10438 ... here.
4a594c34 10439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10440 Moved ...
4a594c34 10441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10442 ... here.
4a594c34 10443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10444 Moved ...
4a594c34
AZ
10445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10447 Moved ...
4a594c34 10448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10449 ... here.
4a594c34 10450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10451 Moved ...
4a594c34
AZ
10452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10454 Moved ...
4a594c34
AZ
10455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10457 Moved ...
4a594c34 10458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10459 ... here.
4a594c34 10460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10461 Moved ...
4a594c34 10462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10463 ... here.
4a594c34 10464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10465 Moved ...
4a594c34 10466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10467 ... here.
4a594c34 10468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10469 Moved ...
4a594c34
AZ
10470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10472 Moved ...
4a594c34 10473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10474 ... here.
4a594c34 10475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10476 Moved ...
4a594c34 10477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10478 ... here.
4a594c34
AZ
10479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10480 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10482 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10484 Moved ...
4a594c34 10485 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10486 ... here.
4a594c34
AZ
10487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10488 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10490 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10491 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10492 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10494 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10496 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10498 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10500 Moved ...
4a594c34
AZ
10501 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10502 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10503 Moved ...
4a594c34
AZ
10504 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10508 Moved ...
4a594c34
AZ
10509 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10511 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10512 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10513 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10514 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10515 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10516
0570cfed
W
105172014-06-10 Wilco <wdijkstr@arm.com>
10518
10519 * math/test-fenv-return.c: New file.
10520 * math/Makefile: Add new test test-fenv-return.
10521
f8ba1b56
JM
105222014-06-10 Joseph Myers <joseph@codesourcery.com>
10523
10524 [BZ #17042]
10525 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10526 when x - 1 is zero.
10527 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10528 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10529 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10530 0.0L for an argument of 1.0L.
10531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10532 Likewise.
10533 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10534 value when x - 1 is zero.
10535 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10536 * sysdeps/i386/fpu/libm-test-ulps: Update.
10537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10538
2c3520d9
BO
105392014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10540
10541 [BZ #15119]
10542 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10543
acaa4d24
RM
105442014-06-09 Roland McGrath <roland@hack.frob.com>
10545
10546 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10547 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10548
962b744d
RM
105492014-06-09 Roland McGrath <roland@hack.frob.com>
10550
d752f0cc
RM
10551 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10552 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10553
34eda6d1
RM
10554 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10555 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10556
50f0a637
RM
10557 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10558 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10559
08f41f04
RM
10560 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10561 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10562
962b744d
RM
10563 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10564 if not already defined.
10565 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10566 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10567 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10568 (TLS_INIT_TP): Use it.
10569 (TLS_DEFINE_INIT_TP): New macro.
10570 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10571
09f19b05
JM
105722014-06-09 Joseph Myers <joseph@codesourcery.com>
10573
10574 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10575 constant.
10576 [POSIX] (IXANY): Likewise.
10577 [POSIX] (OLCUC): Likewise.
10578 [POSIX || POSIX2008] (CBAUD): Do not allow.
10579 [POSIX || POSIX2008] (DEFECHO): Likewise.
10580 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10581 [POSIX || POSIX2008] (ECHOKE): Likewise.
10582 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10583 [POSIX || POSIX2008] (EXTA): Likewise.
10584 [POSIX || POSIX2008] (EXTB): Likewise.
10585 [POSIX || POSIX2008] (FLUSHO): Likewise.
10586 [POSIX || POSIX2008] (LOBLK): Likewise.
10587 [POSIX || POSIX2008] (PENDIN): Likewise.
10588 [POSIX || POSIX2008] (SWTCH): Likewise.
10589 [POSIX || POSIX2008] (VDISCARD): Likewise.
10590 [POSIX || POSIX2008] (VDSUSP): Likewise.
10591 [POSIX || POSIX2008] (VLNEXT): Likewise.
10592 [POSIX || POSIX2008] (VREPRINT): Likewise.
10593 [POSIX || POSIX2008] (VSTATUS): Likewise.
10594 [POSIX || POSIX2008] (VWERASE): Likewise.
10595 (B*): Change to B[0123456789]*.
10596 * conform/data/time.h-data [POSIX || UNIX98]
10597 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10598 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10599 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10600 [POSIX] (tm_*): Do not allow.
10601
686554bf
JM
106022014-06-07 Joseph Myers <joseph@codesourcery.com>
10603
10604 * Makefile (install): Don't set LANGUAGE.
10605 * Makefile.in (install): Likewise.
10606 * assert/Makefile (test-assert-ENV): Remove variable.
10607 (test-assert-perr-ENV): Likewise.
10608 * elf/Makefile (neededtest4-ENV): Likewise.
10609 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10610 [$(cross-compiling) = no]: Don't set LANGUAGE.
10611 * io/ftwtest-sh (LANG): Remove variable.
10612 * libio/Makefile (tst-widetext-ENV): Likewise.
10613 * manual/install.texi (Running make install): Don't refer to
10614 environment settings for make install.
10615 * INSTALL: Regenerated.
10616 * nptl/tst-tls6.sh: Don't set LANG.
10617 * posix/globtest.sh (LANG): Remove variable.
10618 * string/Makefile (tester-ENV): Likewise.
10619 (inl-tester-ENV): Likewise.
10620 (noinl-tester-ENV): Likewise.
10621 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10622 [$(cross-compiling) = no]: Don't set LANGUAGE.
10623 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10624 without explicit environment settings.
10625
68e6b6b1
RM
106262014-06-06 Roland McGrath <roland@hack.frob.com>
10627
10628 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10629 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10631 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10632
4d3ae034
CM
106332014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10634
10635 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10636 other files in the crypt directory.
10637 * crypt/crypt.c: Remove duplicate includes.
10638 * crypt/crypt-entry.c: Likewise.
10639 * crypt/crypt_util.c: Likewise.
10640
8540f6d2
JM
106412014-06-06 Joseph Myers <joseph@codesourcery.com>
10642
10643 * Makeconfig (run-program-env): New variable.
10644 (run-program-prefix-before-env): Likewise.
10645 (run-program-prefix-after-env): Likewise.
10646 (run-program-prefix): Define in terms of new variables.
10647 (built-program-cmd-before-env): New variable.
10648 (built-program-cmd-after-env): Likewise.
10649 (built-program-cmd): Define in terms of new variables.
10650 (test-program-prefix-before-env): New variable.
10651 (test-program-prefix-after-env): Likewise.
10652 (test-program-prefix): Define in terms of new variables.
10653 (test-program-cmd-before-env): New variable.
10654 (test-program-cmd-after-env): Likewise.
10655 (test-program-cmd): Define in terms of new variables.
10656 * Rules (make-test-out): Use $(run-program-env).
10657 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10658 (help): Do not mention environment variables. Mention
10659 --timeoutfactor option.
10660 (timeoutfactor): New variable.
10661 (blacklist_exports): Remove function.
10662 (exports): Remove variable.
10663 (command): Do not include ${exports}.
10664 * manual/install.texi (Configuring and compiling): Do not mention
10665 test wrappers preserving environment variables. Mention that last
10666 assignment to a variable must take precedence.
10667 * INSTALL: Regenerated.
10668 * benchtests/Makefile (run-bench): Use $(run-program-env).
10669 * catgets/Makefile ($(objpfx)test1.cat): Use
10670 $(built-program-cmd-before-env), $(run-program-env) and
10671 $(built-program-cmd-after-env).
10672 ($(objpfx)test2.cat): Do not specify environment variables
10673 explicitly.
10674 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10675 $(run-program-env) and $(built-program-cmd-after-env).
10676 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10677 $(run-program-env) and $(test-program-cmd-after-env).
10678 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10679 explicitly.
10680 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10681 run_program_env and test_program_cmd_after_env arguments.
10682 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10683 * elf/tst-pathopt.sh: Use run_program_env argument.
10684 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10685 $(test-wrapper-env) and $(run-program-env).
10686 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10687 run_program_env arguments.
10688 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10689 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10690 $(test-program-prefix-before-env), $(run-program-env) and
10691 $(test-program-prefix-after-env).
10692 ($(objpfx)tst-gettext2.out): Likewise.
10693 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10694 run_program_env and test_program_prefix_after_env arguments.
10695 * intl/tst-gettext2.sh: Likewise.
10696 * intl/tst-gettext4.sh: Do not set environment variables
10697 explicitly.
10698 * intl/tst-gettext6.sh: Likewise.
10699 * intl/tst-translit.sh: Likewise.
10700 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10701 $(test-program-prefix-before-env), $(run-program-env) and
10702 $(test-program-prefix-after-env).
10703 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10704 run_program_env and test_program_prefix_after_env arguments.
10705 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10706 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10707 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10708 explicitly with each use of ${test_wrapper_env}.
10709 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10710 $(test-program-prefix-before-env), $(run-program-env) and
10711 $(test-program-prefix-after-env).
10712 * posix/tst-getconf.sh: Do not set environment variables
10713 explicitly.
10714 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10715 run_program_env and test_program_prefix_after_env arguments.
10716 * stdio-common/tst-printf.sh: Do not set environment variables
10717 explicitly.
10718 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10719 $(test-program-prefix-before-env), $(run-program-env) and
10720 $(test-program-prefix-after-env).
10721 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10722 run_program_env and test_program_prefix_after_env arguments.
10723 Split $test calls into $test_pre and $test.
10724 * timezone/Makefile (build-testdata): Use
10725 $(built-program-cmd-before-env), $(run-program-env) and
10726 $(built-program-cmd-after-env).
10727
ed36bfa1
AZ
107282014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10729
10730 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10731 strlen for non SHARED builds.
10732
fc75bf46
SP
107332014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10734
10735 * nptl/allocatestack.c (check_list): Inlined function...
10736 (__reclaim_stacks): ... here.
10737
d89b3d80
OB
107382014-06-05 Ondřej Bílka <neleai@seznam.cz>
10739
10740 [BZ #15698]
10741 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10742 memory overrun.
10743
2bf18041
JM
107442014-06-05 Joseph Myers <joseph@codesourcery.com>
10745
10746 * Rules (make-test-out): Include
10747 LOCPATH=$(common-objpfx)localedata in default environment.
10748 * debug/Makefile (tst-chk1-ENV): Remove variable.
10749 (tst-chk2-ENV): Likewise.
10750 (tst-chk3-ENV): Likewise.
10751 (tst-chk4-ENV): Likewise.
10752 (tst-chk5-ENV): Likewise.
10753 (tst-chk6-ENV): Likewise.
10754 (tst-lfschk1-ENV): Likewise.
10755 (tst-lfschk2-ENV): Likewise.
10756 (tst-lfschk3-ENV): Likewise.
10757 (tst-lfschk4-ENV): Likewise.
10758 (tst-lfschk5-ENV): Likewise.
10759 (tst-lfschk6-ENV): Likewise.
10760 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10761 (tst-iconv7-ENV): Likewise.
10762 * intl/Makefile (LOCPATH-ENV): Likewise.
10763 (tst-codeset-ENV): Likewise.
10764 (tst-gettext3-ENV): Likewise.
10765 (tst-gettext5-ENV): Likewise.
10766 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10767 (tst-fopenloc-ENV): Likewise.
10768 (tst-fgetws-ENV): Remove variable.
10769 (tst-ungetwc1-ENV): Likewise.
10770 (tst-ungetwc2-ENV): Likewise.
10771 (bug-ungetwc2-ENV): Likewise.
10772 (tst-swscanf-ENV): Likewise.
10773 (bug-ftell-ENV): Likewise.
10774 (tst-fgetwc-ENV): Likewise.
10775 (tst-fseek-ENV): Likewise.
10776 (tst-ftell-partial-wide-ENV): Likewise.
10777 (tst-ftell-active-handler-ENV): Likewise.
10778 (tst-ftell-append-ENV): Likewise.
10779 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10780 (tst-regexloc-ENV): Likewise.
10781 (bug-regex1-ENV): Likewise.
10782 (tst-regex-ENV): Likewise.
10783 (tst-regex2-ENV): Likewise.
10784 (bug-regex5-ENV): Likewise.
10785 (bug-regex6-ENV): Likewise.
10786 (bug-regex17-ENV): Likewise.
10787 (bug-regex18-ENV): Likewise.
10788 (bug-regex19-ENV): Likewise.
10789 (bug-regex20-ENV): Likewise.
10790 (bug-regex22-ENV): Likewise.
10791 (bug-regex23-ENV): Likewise.
10792 (bug-regex25-ENV): Likewise.
10793 (bug-regex26-ENV): Likewise.
10794 (bug-regex30-ENV): Likewise.
10795 (bug-regex32-ENV): Likewise.
10796 (bug-regex33-ENV): Likewise.
10797 (bug-regex34-ENV): Likewise.
10798 (bug-regex35-ENV): Likewise.
10799 (tst-rxspencer-ENV): Likewise.
10800 (tst-rxspencer-no-utf8-ENV): Likewise.
10801 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10802 (tst-sscanf-ENV): Likewise.
10803 (tst-swprintf-ENV): Likewise.
10804 (tst-swscanf-ENV): Likewise.
10805 (test-vfprintf-ENV): Likewise.
10806 (scanf13-ENV): Likewise.
10807 (bug14-ENV): Likewise.
10808 (tst-grouping-ENV): Likewise.
10809 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10810 (tst-strtod3-ENV): Likewise.
10811 (tst-strtod4-ENV): Likewise.
10812 (tst-strtod5-ENV): Likewise.
10813 (testmb2-ENV): Likewise./
10814 * string/Makefile (tst-strxfrm-ENV): Likewise.
10815 (tst-strxfrm2-ENV): Likewise.
10816 (bug-strcoll1-ENV): Likewise.
10817 (test-strcasecmp-ENV): Likewise.
10818 (test-strncasecmp-ENV): Likewise.
10819 * time/Makefile (tst-strptime-ENV): Likewise.
10820 (tst-ftime_l-ENV): Likewise.
10821 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10822 (tst-mbrtowc-ENV): Likewise.
10823 (tst-wcrtomb-ENV): Likewise.
10824 (tst-mbrtowc2-ENV): Likewise.
10825 (tst-c16c32-1-ENV): Likewise.
10826 (tst-mbsnrtowcs-ENV): Likewise.
10827
cd1fb604
OB
108282014-06-05 Ondřej Bílka <neleai@seznam.cz>
10829
10830 * manual/resource.texi (How to get information about the memory
10831 subsystem?): Fix typo.
10832 Reported by Peon de la Parra Ivan <peon@keba.com>
10833
b42eca7d
GY
108342014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10835
10836 [BZ #16882]
10837 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10838 (pthread_spin_lock): Branch out of spin loop to proper location.
10839 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10840 (pthread_spin_lock): Likewise.
10841
902b71f9
DM
10842 * nptl/tst-spin4.c: New test.
10843 * nptl/Makefile (tests): Add tst-spin4.
10844
f9d2d032
AS
108452014-06-03 Andreas Schwab <schwab@suse.de>
10846
10847 [BZ #15946]
10848 * resolv/res_send.c (send_dg): Reload file descriptor after
10849 calling reopen.
10850
cf7bfd28
SL
108512014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10852
10853 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10854
111cc714
RH
108552014-06-03 Richard Henderson <rth@redhat.com>
10856
89b4bd6b
RH
10857 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10858 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10859 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10860 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10861 in the SAVE_PID block.
10862 (__libc_vfork): New alias.
71840409 10863 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10864
111cc714
RH
10865 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10866 child in registers, not on the stack. Remove RESET_PID conditionals.
10867 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10868
ccc39911
MS
108692014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10870
10871 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10872
693096cc
W
108732014-06-03 Wilco <wdijkstr@arm.com>
10874
10875 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10876 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10877 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10878 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10879 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10880 Likewise.
10881
0b4366bc
W
108822014-06-03 Wilco <wdijkstr@arm.com>
10883
10884 * sysdeps/aarch64/fpu/math_private.h
10885 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10886 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10887 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10888 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10889 Fix declarations.
10890
8747cd03
KS
108912014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10892
10893 * crypt/crypt-private.h: Include ufc-crypt.h.
10894 (__b64_from_24bit): Declare extern.
10895 * crypt/crypt_util.c(__b64_from_24bit): New function.
10896 (b64t): New static const variable.
10897 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10898 (b64t): Remove variable.
10899 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10900 * crypt/sha256-crypt.c: Include crypt-private.h.
10901 (b64t): Remove variable.
10902 (__sha256_crypt_r): Remove b64_from_24bit and replace
10903 with __b64_from_24bit.
10904 * crypt/sha512-crypt.c: Likewise.
10905
d936d379
RM
109062014-06-02 Roland McGrath <roland@hack.frob.com>
10907
10908 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10909 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10910 Label the code __libc_vfork rather than __vfork.
10911 [!NOT_IN_libc] (vfork): Define as weak alias.
10912 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10913 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10914 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10915
9fa76613
SP
109162014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10917
10918 * malloc/malloc.c (malloc_info): Fix format specifier for
10919 n_mmaps.
10920
a88dadbe
W
109212014-06-02 Wilco <wdijkstr@arm.com>
10922
10923 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10924 FPCR write.
10925
c95b3011
W
109262014-06-02 Wilco <wdijkstr@arm.com>
10927
10928 [BZ #17009]
10929 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10930 Rewrite to reduce FPCR/FPSR accesses.
10931
6b4d7a90
DM
109322014-06-01 David S. Miller <davem@davemloft.net>
10933
10934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10935
30f3d07c
DM
109362014-05-31 David S. Miller <davem@davemloft.net>
10937
10938 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10939 to occur in round to nearest mode when |x| >= 2.0
10940
74f31c18
RH
109412014-05-30 Richard Henderson <rth@twiddle.net>
10942
f0712b54
RH
10943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10944 (PSEUDO_RET_NOERRNO): Remove.
10945 (ret): Don't redefine.
10946 (ret_NOERRNO): Define in terms of ret.
10947 (ret_ERRVAL): Likewise.
10948
74f31c18
RH
10949 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10950 use of PSEUDO_RET; perform the error check directly.
10951
30477995
MM
109522014-05-30 Marko Myllynen <myllynen@redhat.com>
10953
10954 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10955 with __int128_t.
10956
62a58816
SP
109572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
10959 * malloc/malloc (malloc_info): Fix formatting.
10960
4d653a59
SP
109612014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10962 Roland McGrath <roland@hack.frob.com>
10963
10964 * malloc/malloc (malloc_info): Also print mmapped statistics.
10965
5190c17f
RM
109662014-05-30 Roland McGrath <roland@hack.frob.com>
10967
10968 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10969 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10970
987c0269
OB
109712014-05-30 Ondřej Bílka <neleai@seznam.cz>
10972
10973 * malloc/malloc.c (malloc_info): Inline mi_arena.
10974
af4e8ef9
RH
109752014-05-29 Richard Henderson <rth@twiddle.net>
10976
1670e207
RH
10977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10978 Remove comma before expanding ASM_ARGS_##nr.
10979 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10980 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10981 of ASM_ARGS_##nr.
10982 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10983 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10984 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10985 (ASM_ARGS_1): Add leading comma.
10986
11a28aee
RH
10987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10988 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10989 to __errno_location.
10990 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10991 Remove the expected plt for __errno_location.
10992
a17e5ffb 10993 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10994 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10995 call to __read_tp.
10996
b5be4597
RH
10997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10998 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10999 it and break it down.
11000 (DOCARGS_0, DOCARGS_1): Do nothing.
11001 (DOCARGS_2): Update to store into the new stack frame.
11002 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11003 (UNDOCARGS_1): Update to restore from the new stack frame.
11004 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11005 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11006
645d44ab
RH
11007 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11008 (SINGLE_THREAD_P): New parameter for result regno.
11009 (PSEUDO): Update to match; use cbz instead of beq.
11010
a8b4f04a
RH
11011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11012 Use ENTRY to define the _nocancel entry point. Share the syscall
11013 and syscall error check paths with the cancel path.
11014 (PSEUDO_END): New.
11015
af4e8ef9
RH
11016 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11017 whitespace; tabs before and after asm mnemonics.
11018
26b0d2e1
EW
110192014-05-29 Eric Wong <normalperson@yhbt.net>
11020
11021 [BZ #15132]
11022 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11023 Call fstat64 or stat64 internally, depending on arguments passed.
11024 Replace stat buffer argument with file descriptor argument.
11025 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11026 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11027 Pass fd to __internal_statvfs instead of calling fstat64.
11028 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11029 Pass fd to __internal_statvfs64 instead of calling fstat64.
11030 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11031 Pass -1 to __internal_statvfs instead of calling stat64.
11032 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11033 Pass -1 to __internal_statvfs64 instead of calling stat64.
11034
1efe2bd9
RM
110352014-05-28 Roland McGrath <roland@hack.frob.com>
11036
0d3b7a19
RM
11037 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11038 that was previously under [RESET_PID].
11039 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11040
1efe2bd9
RM
11041 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11042 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11043
a6bea3ca
RM
110442014-05-27 Roland McGrath <roland@hack.frob.com>
11045
30b6629e
RM
11046 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11047
a6bea3ca
RM
11048 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11049 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11050
3dfb9a5c
OB
110512014-05-27 Ondřej Bílka <neleai@seznam.cz>
11052
11053 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11054
774f9285
AS
110552014-05-27 Andreas Schwab <schwab@suse.de>
11056
11057 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11058 TLS_INIT_TP macro.
11059 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11060 * elf/rtld.c (init_tls, dl_main): Likewise.
11061 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11062 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11063 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11064 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11065 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11066 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11067 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11068 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11069 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11070 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11071 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11072 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11073 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11074 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11075 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11076 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11077 * sysdeps/generic/tls.h: Update description.
11078
36ffe739
WN
110792014-05-27 Will Newton <will.newton@linaro.org>
11080
11081 [BZ #16990]
11082 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11083 and restore r2 rather than just restoring.
11084
2482ae43
SP
110852014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11086
11087 [BZ #16724]
11088 * libio/tst-ftell-append.c: New test case.
11089 * libio/Makefile (tests): Add test case.
11090 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11091 append mode.
11092 * libio/wfileops.c (do_ftell_wide): Likewise.
11093
3d1024e8
AZ
110942014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11095
bab90016
AZ
11096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11097
c7a8d667
AZ
11098 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11099 ...
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11102 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11103 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11104 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11105 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11106 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11107 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11109 Moved ...
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11111 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11112 Moved ...
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11115 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11117 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11118 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11119 ...
11120 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11122 Moved ...
11123 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11124 here.
11125 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11126 ...
11127 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11129 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11130
daee7851
AZ
11131 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11132 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11134 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11135
50a40819
AZ
11136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11137 merge into ...
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11140 ...
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11143 ...
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11146 Moved ...
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11148 here.
11149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11150 Moved ...
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11153 Moved ...
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11155
8464c2a1
AZ
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11157 conditional [RESET_PID].
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11160 removed.
11161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11162 removed.
11163
3d1024e8
AZ
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11165 <tcb-offsets.h>.
11166 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11167 (__libc_vfork): New strong alias.
11168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11169 removed.
11170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11171 Removed.
11172
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11174 <tcb-offsets.h>.
11175 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11176 (__libc_vfork): New strong alias.
11177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11178 removed.
11179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11180 removed.
11181
fdfd175d
CD
111822014-05-26 Carlos O'Donell <carlos@redhat.com>
11183
11184 * malloc/malloc.c (mi_arena): New function.
11185 (malloc_info): Remove nested function mi_arena. Call non-nosted
11186 function mi_arena.
11187
d298c416
AZ
111882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11189
11190 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11191 by insrwi.
11192 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11193 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11194 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11195 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11197 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11198 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11199
b60ea6ff
AS
112002014-05-26 Andreas Schwab <schwab@suse.de>
11201
11202 [BZ #16984]
11203 * locale/programs/repertoire.c (repertoire_read): Add slash
11204 between I18NPATH element and file name.
11205 * locale/programs/locfile.c (locfile_read): Likewise.
11206
67365926
SL
112072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11208
11209 * nptl/pthread_mutexattr_settype.c
11210 (__pthread_mutexattr_settype):
11211 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11212
f8bdf1f0
SL
112132014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11214
11215 * nptl/tst-mutex5 (do_test):
11216 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11217
15eaf6ff
SP
112182014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11219
11220 * benchtests/README: Document 'init' directive.
11221 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11222 BENCH_INIT.
11223 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11224 (parse_file): Recognize 'init' directive.
11225
75f11331
KM
112262014-05-26 Kyle McMartin <kyle@redhat.com>
11227
11228 [BZ #16796]
11229 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11230 alignment of struct pthread.
11231
c3ec475c
SP
112322014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11233
11234 [BZ #16878]
11235 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11236 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11237 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11238 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11239
82aab97c
RH
112402014-05-25 Richard Henderson <rth@twiddle.net>
11241
aa2f176d
RH
11242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11243 (SINGLE_THREAD_P_PIC): Remove.
11244 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11245 (SINGLE_THREAD_P_PIC): Remove.
11246
ca3cfa40
RH
11247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11248 branch to syscall error ...
11249 (PSEUDO): ... here.
11250 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11251 from __local_syscall_error to .Lsyscall_error.
11252 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11253 (SYSCALL_ERROR): Update label name.
11254
6e6c2d01
RH
11255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11256 Do not use DOARGS/UNDOARGS.
11257 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11258 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11259 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11260 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11261 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11262
c69abcee
RH
11263 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11264 block comment.
11265
82aab97c
RH
11266 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11267 define if !NOT_IN_libc.
11268 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11269 define with non-default symbol versions.
11270
8820e3ac
RH
112712014-05-23 Richard Henderson <rth@twiddle.net>
11272
900e445f
RH
11273 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11274 (vfork, __vfork): Define via compat_symbol.
11275
8820e3ac
RH
11276 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11277 [!HAVE_IFUNC] (vfork_compat): Remove.
11278 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11279
e59252a5
JM
112802014-05-23 Joseph Myers <joseph@codesourcery.com>
11281
11282 [BZ #16978]
11283 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11284 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11285 variable.
11286
132c7f5f
RH
112872014-05-23 Richard Henderson <rth@twiddle.net>
11288
bc89e962
RH
11289 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11290 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11291 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11292 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11293
11294 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11295 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11296 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11297 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11298 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11299 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11300 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11301 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11302 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11303 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11304 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11305 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11306 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11307 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11308 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11309 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11310 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11311 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11312 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11313 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11314 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11315 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11316 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11317 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11318 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11319 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11320 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11321 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11322 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11323 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11324 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11325 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11326 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11327 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11328 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11329 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11330 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11331 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11332 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11333 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11334 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11335 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11336 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11337 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11338 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11339 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11340 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11341 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11342 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11343 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11344 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11345 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11346 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11347 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11348 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11349 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11350
e2fa4bc2
RH
11351 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11352 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11353 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11354 before exiting on error.
11355 (__libc_vfork): New strong alias.
11356 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11357 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11358
279b24e2
RH
11359 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11360 that was previously under [RESET_PID].
11361 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11362
132c7f5f
RH
11363 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11364
b72592e7
JM
113652014-05-23 Joseph Myers <joseph@codesourcery.com>
11366
11367 [BZ #16977]
11368 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11369 value when x - 1 is zero.
11370 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11371 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11372 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11373 0.0L for an argument of 1.0L.
11374 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11375 Likewise.
11376 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11377 value when x - 1 is zero.
11378 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11379 * sysdeps/i386/fpu/libm-test-ulps: Update.
11380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11381
2302d679
RV
113822014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11383
11384 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11385 alphasort and versionsort.
11386
32999d63
AZ
113872014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11388
11389 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11390 macro.
11391 [copysignf]: Likewise.
11392
019324d0
SP
113932014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11394
11395 * crypt/md5-crypt.c: Fix formatting.
11396
34fff5c2
KS
113972014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11398
11399 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11400 (b64_from_24bit): New function.
11401
3d2badac
AZ
114022014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11403
11404 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11405 libc_hidden_builtin_def to ifunc.
11406 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11407 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11408
f7bb179f 114092014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11410
11411 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11412 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11413
4134b50d
JM
114142014-05-21 Joseph Myers <joseph@codesourcery.com>
11415
bb7d0337
JM
11416 * nscd/Depend (linuxthreads): Remove.
11417 (nptl): Add.
11418 * resolv/Depend (linuxthreads): Remove.
11419 * rt/Depend (linuxthreads): Remove.
11420
4134b50d
JM
11421 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11422 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11423 $(common-objpfx)elf/.
11424 (link-libc-before-gnulib): Likewise.
11425 (elfobjdir): Remove variable.
11426 * Makefile (install): Use $(elf-objpfx) instead of
11427 $(common-objpfx)elf/.
11428 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11429 $(elfobjdir)/.
11430 (link-libc-deps): Likewise.
11431 ($(common-objpfx)libc.so): Likewise.
11432 ($(common-objpfx)linkobj/libc.so): Likewise.
11433 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11434 instead of $(common-objpfx)elf/.
11435 (symbolic-link-list): Likewise.
11436 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11437 [$(cross-compiling) = no]: Likewise.
11438 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11439 $(elfobjdir)/.
11440 (static-gnulib-arch): Likewise.
11441 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11442 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11443 $(common-objpfx)elf/.
11444
3612eb8f
RH
114452014-05-21 Richard Henderson <rth@redhat.com>
11446
a6b3657b
RH
11447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11448 (SINGLE_THREAD_P): Use the correct width load. Fold
11449 into the ldr offset.
11450
3612eb8f
RH
11451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11452 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11453
175cef41
JM
114542014-05-20 Joseph Myers <joseph@codesourcery.com>
11455
11456 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11457 (libgcc_s_resume): Use __attribute_used__.
11458 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11459 Likewise.
11460
e13bccd3
AZ
114612014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11462
11463 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11464 optimization when used with float constants.
11465
7c112a38
AZ
11466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11467
ae75a883
AJ
114682014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11469
11470 [BZ #16915]
11471 * locale/nl_langinfo_l.c: Make direct reference to every
11472 _nl_current_CATEGORY symbol.
11473 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11474 (tests-static): Add tst-langinfo-static.
11475 (tests-special): Add tst-langinfo-static.out.
11476 ($(objpfx)tst-langinfo.out): Redirect output.
11477 ($(objpfx)tst-langinfo-static.out): New.
11478 * localedata/tst-langinfo.sh: Send output to stdout.
11479 * localedata/tst-langinfo-static.c: New file.
11480
4406c41c
AJ
11481 [BZ #16965]
11482 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11483 when the shift amount is modulo the limb size.
11484
4c0a1e63
RH
114852014-05-20 Richard Henderson <rth@redhat.com>
11486
de9d8f20
RH
11487 [BZ #16967]
11488 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11489 Change type of sa_flags from unsigned int to int.
11490
4c0a1e63
RH
11491 [BZ #16966]
11492 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11493
11494 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11495
a60339aa
WN
114962014-05-20 Will Newton <will.newton@linaro.org>
11497
11498 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11499 Test the return value of the system call in the nocancel case.
11500
7d05a816
YR
115012014-05-20 Will Newton <will.newton@linaro.org>
11502 Yvan Roux <yvan.roux@linaro.org>
11503
11504 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11505 #include of asm/ptrace.h.
11506 (PTRACE_GET_THREAD_AREA): Remove #undef.
11507 (PTRACE_GETHBPREGS): Likewise.
11508 (PTRACE_SETHBPREGS): Likewise.
11509 (struct user_regs_struct): New structure.
11510 (struct user_fpsimd_struct): New structure.
11511 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11512 #include of asm/ptrace.h and second #include of sys/user.h.
11513 (PTRACE_GET_THREAD_AREA): Remove #undef.
11514 (PTRACE_GETHBPREGS): Likewise.
11515 (PTRACE_SETHBPREGS): Likewise.
11516 (ELF_NGREG): Use new struct user_regs_struct.
11517 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11518
af121e37
AZ
115192014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11520
11521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11523
834caf06
JM
115242014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11525
11526 [BZ #16958]
11527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11528 membar to avoid block loads/stores to overlap previous stores.
11529
e184a918
RH
115302014-05-17 Richard Henderson <rth@redhat.com>
11531
11532 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11533 Create the __##syscall_name##_nocancel entry point.
11534 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11535 Remove; let the sysdep-cancel.h code create it.
11536
f56c7a6a
DM
115372014-05-17 David S. Miller <davem@davemloft.net>
11538
11539 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11540 Protect with __USE_GNU.
11541 (TIOCSET_TEMPT): Likewise.
11542 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11543 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11544 these are already provided in bits/ioctl-types.h
11545
f75616b2
RM
115462014-05-16 Roland McGrath <roland@hack.frob.com>
11547
3edeca86
RM
11548 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11549 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11550
f75616b2
RM
11551 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11552 Use wait4 regardless of [__NR_waitpid].
11553
deb0f7f6
MR
115542014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11555
11556 PR libgcc/60166
11557 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11558 (_FP_NANSIGN_Q): Set the quiet bit.
11559
79520f4b
JM
115602014-05-16 Joseph Myers <joseph@codesourcery.com>
11561
11562 * benchtests/Makefile
11563 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11564 not $(common-objpfx)math/libm.so.
11565 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11566 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11567 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11568 $(common-objpfx)dlfcn/libdl.so.
11569 ($(objpfx)tst-audit8): Depend on $(libm), not
11570 $(common-objpfx)math/libm.so.
11571 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11572 not $(common-objpfx)dlfcn/libdl.so.
11573 * math/Makefile
11574 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11575 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11576 [$(build-shared) = yes].
11577 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11578 $(common-objpfx)nptl/libpthread.so.
11579 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11580 $(common-objpfx)math/libm.so$(libm.so-version) or
11581 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11582 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11583 $(common-objpfx)dlfcn/libdl.so.
11584 * setjmp/Makefile (link-libm): Remove variable.
11585 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11586 * stdio-common/Makefile (link-libm): Remove variable.
11587 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11588 * stdlib/Makefile (link-libm): Remove variable.
11589 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11590 ($(objpfx)tst-strtod-round): Likewise.
11591 ($(objpfx)tst-tininess): Likewise.
11592 ($(objpfx)tst-strtod-underflow): Likewise.
11593 ($(objpfx)tst-strtod6): Likewise.
11594 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11595 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11596 $(common-objpfx)dlfcn/libdl.so.
11597
026b0fe4
AZ
115982014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11599
11600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11601 BSD terminal modes definitions.
11602
def4bcb2
RM
116032014-05-16 Roland McGrath <roland@hack.frob.com>
11604
fe39b021
RM
11605 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11606 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11607
1d1fc46e 11608 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11609 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11610 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11611 Don't do #include_next.
11612 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11613 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11614 Don't do #include_next.
11615 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11616 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11617 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11618 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11619
c72399fb
AM
116202014-05-16 Allan McRae <allan@archlinux.org>
11621
d51d659d
AM
11622 * po/sv.po: Update Swedish translation from translation project.
11623
c72399fb
AM
11624 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11625 in sed expression.
11626
d0583c40
AJ
116272014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11628
11629 [BZ #16917]
11630 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11631 errno if the TIOCGPTN ioctl fails with an error different than
11632 EINVAL.
11633 * login/tst-ptsname.c: New file.
11634 * login/Makefile (tests): Add tst-ptsname.
11635
d16e6ec7
AJ
11636 [BZ #16943]
11637 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11638 and prlimit64.
11639
cf26a0cb
SP
116402014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11641
11642 [BZ #16849]
11643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11644 herrno to return EAI_AGAIN.
11645
5675da1e
RM
116462014-05-14 Roland McGrath <roland@hack.frob.com>
11647
a5d87b3d
RM
11648 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11649 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11650 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11653 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11654 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11655 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11657 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11659 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11660 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11661 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11667 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11668 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11669 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11671 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11672 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11673 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11674 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11675 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11677 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11679 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11681 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11683 Moved ...
11684 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11686 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11688 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11690 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11692 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11694 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11696 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11698 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11700 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11702 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11704 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11706 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11708 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11710 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11712 Moved ...
11713 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11715 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11717 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11719 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11721 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11723 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11725 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11727 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11729 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11731 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11733 Moved ...
11734 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11736 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11737
039890a6
RM
11738 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11739 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11740 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11741 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11742 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11744 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11745 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11746 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11747 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11748 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11749 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11750 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11751 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11752 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11753 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11754 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11755 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11756 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11757 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11758 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11759 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11760 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11762 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11764 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11765 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11766 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11767 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11768 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11769
65c89320
RM
11770 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11771 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11772
348f8e8c
RM
11773 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11774 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11775 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11776 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11777 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11778 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11779 Moved ...
11780 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11782 Moved ...
11783 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11784 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11785 Moved ...
11786 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11788 Moved ...
11789 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11791 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11792 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11793 Moved ...
11794 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11796 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11798 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11799 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11800 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11802 Moved ...
11803 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11804 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11805 Moved ...
11806 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11807 ... here.
11808 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11809 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11810 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11811 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11812 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11813 Moved ...
11814 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11815 ... here.
11816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11817 Moved ...
11818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11819 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11820 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11822 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11823 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11824 Moved ...
11825 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11826 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11827 Moved ...
11828 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11829 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11830 Moved ...
11831 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11833 Moved ...
11834 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11836 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11837 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11838 Moved ...
11839 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11840 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11841 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11843 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11844 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11845 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11847 Moved ...
11848 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11850 Moved ...
11851 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11852 ... here.
11853 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11854 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11855 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11856 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11857 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11858 Moved ...
11859 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11860 ... here.
11861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11862 Moved ...
11863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11864 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11865 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11867 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11869 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11871 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11873 Moved ...
11874 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11876 Moved ...
11877 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11879 Moved ...
11880 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11882 Moved ...
11883 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11885 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11887 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11889 Moved ...
11890 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11891 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11892 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11893 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11894 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11895 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11896 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11897 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11898 Moved ...
11899 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11901 Moved ...
11902 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11903 ... here.
11904 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11905 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11907 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11909 Moved ...
11910 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11911 ... here.
11912 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11913 Moved ...
11914 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11915 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11916 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11918 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11919 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11920 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11921 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11922 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11923 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11924 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11925
5085af05
RM
11926 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11927 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11928
708f0813
RM
11929 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11930 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11931
c96067bc
RM
11932 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11933 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11934 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11935 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11936 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11937 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11938 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11939 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11940 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11941 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11942 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11943 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11944 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11945 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11946 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11947 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11948 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11949 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11950 Moved ...
11951 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11952 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11953 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11954 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11955 Moved ...
11956 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11957 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11958 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11960 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11964 Moved ...
11965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11967 Moved ...
11968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11970 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11972 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11974 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11975 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11976 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11977 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11978 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11979 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11980 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11981 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11982 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11983 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11984 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11985
ec136444
RM
11986 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11987 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11988 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11989 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11990 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11991
2fbdf533
RM
11992 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11993 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11994 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11995 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11996 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11997 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11998 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11999 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12000 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12001 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12002
4c68138b
RM
12003 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12005
4eaae765
RM
12006 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12007 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12008 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12009 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12010 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12011 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12012 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12013 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12014 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12015 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12016 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12017 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12018 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12019 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12021 Update #include.
12022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12023 Likewise.
12024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12025 Likewise.
12026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12027 Likewise.
12028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12029 Likewise.
12030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12031 Likewise.
12032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12033 Likewise.
12034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12035 Likewise.
12036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12037 Likewise.
12038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12039 Likewise.
4ef6befa
RM
12040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12041 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12042 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12044 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12045 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12047 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12049 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12055
941d7dfd
RM
12056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12057 that was previously under [RESET_PID].
12058 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12059 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12060 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12061
1b731c35
RM
12062 * sysdeps/i386/nptl/Implies: New file.
12063 * sysdeps/x86_64/nptl/Implies: New file.
12064 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12065 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12066 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12067 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12068
e2787137
RM
12069 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12070 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12071 (__libc_vfork): New strong alias.
12072 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12073 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12074
12075 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12076 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12077 (__libc_vfork): New strong alias.
12078 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12079 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12080
5675da1e
RM
12081 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12082 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12083 (__libc_vfork): New strong alias.
12084 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12085 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12086 * nptl/pt-vfork.c: New file.
12087 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12088 (libpthread: GLIBC_2.20): New version set (empty).
12089
4f02e2b8
WN
120902014-05-14 Will Newton <will.newton@linaro.org>
12091
12092 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12093 rather than #if.
12094
0bf061d3
JM
120952014-05-14 Joseph Myers <joseph@codesourcery.com>
12096
1a84c3d6
JM
12097 [BZ #16564]
12098 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12099 arguments with exponent 65 or above.
12100 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12101 arguments 0x1p113L or above.
12102 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12103 to arguments 0x1p107L or above.
12104 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12105 positive arguments with exponent 65 or above.
12106 * math/auto-libm-test-in: Add more tests of log1p.
12107 * math/auto-libm-test-out: Regenerated.
12108
01dbacd2
JM
12109 [BZ #16928]
12110 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12111 non-finite arguments is +0.
12112 * math/s_cacosf.c (__cacosf): Likewise.
12113 * math/s_cacosl.c (__cacosl): Likewise.
12114 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12115 * sysdeps/i386/fpu/libm-test-ulps: Update.
12116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12117
913d03c8
JM
12118 [BZ #16927]
12119 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12120 value.
12121 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12122 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12123 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12124 for explicit high bit of mantissa when testing for argument equal
12125 to 1.
12126 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12127 * sysdeps/i386/fpu/libm-test-ulps: Update.
12128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12129
0bf061d3
JM
12130 [BZ #16516]
12131 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12132 (__erf): Scale by 16 instead of 8 in potentially underflowing
12133 case. Ensure exception if result actually underflows.
12134 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12135 (__erff): Scale by 16 instead of 8 in potentially underflowing
12136 case. Ensure exception if result actually underflows.
12137 * sysdeps/ieee754/ldbl-128/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-128ibm/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 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12146 (efx8): Remove variable.
12147 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12148 case. Ensure exception if result actually underflows.
12149 * math/auto-libm-test-in: Add more tests of erf.
12150 * math/auto-libm-test-out: Regenerated.
12151
73ba67cb
AS
121522014-05-14 Andreas Schwab <schwab@suse.de>
12153
3d8c8bff
AS
12154 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12155 Remove code conditionalized on USE___THREAD.
12156
73ba67cb
AS
12157 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12158 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12159 not definedness.
12160
5c521ecd
JM
121612014-05-14 Joseph Myers <joseph@codesourcery.com>
12162
5e7698c6
JM
12163 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12164 Define unconditionally.
12165 (__ASSUME_O_CLOEXEC): Likewise.
12166 (__ASSUME_SOCK_CLOEXEC): Likewise.
12167 (__ASSUME_IN_NONBLOCK): Likewise.
12168 (__ASSUME_PIPE2): Likewise.
12169 (__ASSUME_EVENTFD2): Likewise.
12170 (__ASSUME_SIGNALFD4): Likewise.
12171 (__ASSUME_DUP3): Likewise.
12172 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12173 (__ASSUME_DUP3): Do not define.
12174 (__ASSUME_EVENTFD2): Likewise.
12175 (__ASSUME_IN_NONBLOCK): Likewise.
12176 (__ASSUME_O_CLOEXEC): Likewise.
12177 (__ASSUME_PIPE2): Likewise.
12178 (__ASSUME_SIGNALFD4): Likewise.
12179 (__ASSUME_SOCK_CLOEXEC): Likewise.
12180 (__ASSUME_UTIMES): Undefine.
12181 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12182 (__ASSUME_UTIMES): Do not define.
12183 (__ASSUME_O_CLOEXEC): Likewise.
12184 (__ASSUME_SOCK_CLOEXEC): Likewise.
12185 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12186 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12187 0x020621].
12188 (__ASSUME_PIPE2): Likewise.
12189 (__ASSUME_EVENTFD2): Likewise.
12190 (__ASSUME_SIGNALFD4): Likewise.
12191 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12192 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12193 Do not define.
12194 (__ASSUME_EVENTFD2): Likewise.
12195 (__ASSUME_SIGNALFD4): Likewise.
12196 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12197 (__ASSUME_32BITUIDS): Likewise.
12198 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12199 (__ASSUME_IPC64): Likewise.
12200 (__ASSUME_ST_INO_64_BIT): Likewise.
12201 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12202 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12203 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12204 (__ASSUME_UTIMES): Do not define.
12205 (__ASSUME_PSELECT): Likewise.
12206 (__ASSUME_PPOLL): Likewise.
12207 (__ASSUME_O_CLOEXEC): Likewise.
12208 (__ASSUME_SOCK_CLOEXEC): Likewise.
12209 (__ASSUME_IN_NONBLOCK): Likewise.
12210 (__ASSUME_PIPE2): Likewise.
12211 (__ASSUME_EVENTFD2): Likewise.
12212 (__ASSUME_SIGNALFD4): Likewise.
12213 (__ASSUME_DUP3): Likewise.
12214 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12215 (__ASSUME_UTIMES): Likewise.
12216 (__ASSUME_O_CLOEXEC): Likewise.
12217 (__ASSUME_SOCK_CLOEXEC): Likewise.
12218 (__ASSUME_IN_NONBLOCK): Likewise.
12219 (__ASSUME_PIPE2): Likewise.
12220 (__ASSUME_EVENTFD2): Likewise.
12221 (__ASSUME_SIGNALFD4): Likewise.
12222 (__ASSUME_DUP3): Likewise.
12223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12224 (__ASSUME_UTIMES): Likewise.
12225 (__ASSUME_O_CLOEXEC): Likewise.
12226 (__ASSUME_SOCK_CLOEXEC): Likewise.
12227 (__ASSUME_IN_NONBLOCK): Likewise.
12228 (__ASSUME_PIPE2): Likewise.
12229 (__ASSUME_EVENTFD2): Likewise.
12230 (__ASSUME_SIGNALFD4): Likewise.
12231 (__ASSUME_DUP3): Likewise.
12232 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12233 Likewise.
12234 (__ASSUME_UTIMES): Likewise.
12235 (__ASSUME_EVENTFD2): Likewise.
12236 (__ASSUME_SIGNALFD4): Likewise.
12237 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12238 (__ASSUME_O_CLOEXEC): Likewise.
12239 (__ASSUME_SOCK_CLOEXEC): Likewise.
12240 (__ASSUME_IN_NONBLOCK): Likewise.
12241 (__ASSUME_PIPE2): Likewise.
12242 (__ASSUME_EVENTFD2): Likewise.
12243 (__ASSUME_SIGNALFD4): Likewise.
12244 (__ASSUME_DUP3): Likewise.
12245 (__ASSUME_UTIMES): Undefine.
12246
5c521ecd
JM
12247 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12248 feclearexcept. Remove symbol versioning code.
12249 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12250 symbol versioning code.
12251 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12252 symbol versioning code.
12253 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12254 feupdateenv. Remove symbol versioning code.
12255 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12256 fegetexceptflag. Remove symbol versioning code.
12257 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12258 fesetexceptflag. Remove symbol versioning code.
12259 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12260 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12261 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12262 (__posix_fadvise64_l32): Remove prototype.
12263 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12264 code.
12265
5da9dfad
RM
122662014-05-13 Roland McGrath <roland@hack.frob.com>
12267
12268 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12269 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12270 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12271 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12272
893b4f37
SK
122732014-05-13 Sami Kerola <kerolasa@iki.fi>
12274
12275 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12276 current working directory
12277
e0db6517
RM
122782014-05-13 Roland McGrath <roland@hack.frob.com>
12279
58aa195d
RM
12280 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12281 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12282 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12283 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12284 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12285 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12286 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12291 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12292 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12295 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12300 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12301 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12302 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12303 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12304 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12305 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12306 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12307 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12308 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12309 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12310 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12311 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12312 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12313 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12314 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12315 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12316 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12317 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12318 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12319 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12320 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12321 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12322
8c6d01f0
RM
12323 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12324 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12325
12326 * sysdeps/unix/sysv/linux/arm/Makefile
12327 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12328 Add rt-aeabi_unwind_cpp_pr1.
12329 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12330 Add nptl-aeabi_unwind_cpp_pr1.
12331 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12332 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12333 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12334 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12335 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12336 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12337
12338 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12339 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12340 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12341 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12342
bba6da4e
RM
12343 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12344 Deconditionalize the code that was previously under [RESET_PID].
12345 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12346
e0db6517
RM
12347 * sysdeps/generic/exit-thread.h: New file.
12348 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12349 * include/unistd.h (__exit_thread): Remove declaration.
12350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12351 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12352 * csu/libc-start.c: Include <exit-thread.h>.
12353 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12354 * nptl/pthread_create.c: Include <exit-thread.h>.
12355 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12356 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12357 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12358 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12359 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12360 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12361 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12362 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12363 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12364 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12365 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12366 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12367 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12368 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12369 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12370 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12371 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12372
01eb16fd
AS
123732014-05-13 Andreas Schwab <schwab@suse.de>
12374
12375 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12376
637461d9
JM
123772014-05-12 Joseph Myers <joseph@codesourcery.com>
12378
12379 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12380 (__ASSUME_UTIMES): Do not condition on kernel version.
12381 (__ASSUME_PSELECT): Define unconditionally.
12382 (__ASSUME_PPOLL): Likewise.
12383 (__ASSUME_ATFCTS): Likewise.
12384 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12385 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12386 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12387 (__ASSUME_UTIMENSAT): Define unconditionally.
12388 (__ASSUME_PRIVATE_FUTEX): Likewise.
12389 (__ASSUME_FALLOCATE): Likewise.
12390 (__ASSUME_O_CLOEXEC): Likewise.
12391 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12392 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12393 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12394 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12395 (__ASSUME_IN_NONBLOCK): Likewise.
12396 (__ASSUME_PIPE2): Likewise.
12397 (__ASSUME_EVENTFD2): Likewise.
12398 (__ASSUME_SIGNALFD4): Likewise.
12399 (__ASSUME_DUP3): Likewise.
12400 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12401 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12402 (__ASSUME_AT_RANDOM): Likewise.
12403 (__ASSUME_PREADV): Likewise.
12404 (__ASSUME_PWRITEV): Likewise.
12405 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12406 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12407 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12409 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12410 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12411 (__ASSUME_O_CLOEXEC): Define unconditionally.
12412 (__ASSUME_PSELECT): Do not undefine conditionally.
12413 (__ASSUME_PPOLL): Likewise.
12414 (__ASSUME_ATFCTS): Likewise.
12415 (__ASSUME_SET_ROBUST_LIST): Likewise.
12416 (__ASSUME_UTIMENSAT): Likewise.
12417 (__ASSUME_FDATASYNC): Define unconditionally.
12418 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12419 (__ASSUME_SIGFRAME_V2): Likewise.
12420 )__ASSUME_EVENTFD2): Likewise.
12421 (__ASSUME_SIGNALFD4): Likewise.
12422 (__ASSUME_PSELECT): Do not undefine conditionally.
12423 (__ASSUME_PPOLL): Likewise.
12424 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12425 (__ASSUME_PSELECT): Define unconditionally.
12426 (__ASSUME_PPOLL): Likewise.
12427 (__ASSUME_O_CLOEXEC): Likewise.
12428 (__ASSUME_SOCK_CLOEXEC): Likewise.
12429 (__ASSUME_IN_NONBLOCK): Likewise.
12430 (__ASSUME_PIPE2): Likewise.
12431 (__ASSUME_EVENTFD2): Likewise.
12432 (__ASSUME_SIGNALFD4): Likewise.
12433 (__ASSUME_DUP3): Likewise.
12434 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12435 (__ASSUME_O_CLOEXEC): Likewise.
12436 (__ASSUME_SOCK_CLOEXEC): Likewise.
12437 (__ASSUME_IN_NONBLOCK): Likewise.
12438 (__ASSUME_PIPE2): Likewise.
12439 (__ASSUME_EVENTFD2): Likewise.
12440 (__ASSUME_SIGNALFD4): Likewise.
12441 (__ASSUME_DUP3): Likewise.
12442 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12443 (__ASSUME_EVENTFD2): Likewise.
12444 (__ASSUME_SIGNALFD4): Likewise.
12445 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12446
315eb1d8
AS
124472014-05-12 Andreas Schwab <schwab@suse.de>
12448
12449 [BZ #16932]
12450 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12451 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12452 than maximum RPC packet size.
12453 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12454 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12455 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12456 (_nss_nis_getservbyport_r): Likewise.
12457
91df99f7
WN
124582014-05-12 Will Newton <will.newton@linaro.org>
12459
12460 * malloc/Makefile (tests): Add tst-mallopt.
12461 * malloc/tst-mallopt.c: New file.
12462
0a982a29
RM
124632014-05-09 Roland McGrath <roland@hack.frob.com>
12464
12465 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12466 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12467
0ded08a5
AZ
124682014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12469
12470 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12471 (tst-tlsmod6.so): Likewise.
12472
55d4d550
RM
124732014-05-09 Roland McGrath <roland@hack.frob.com>
12474
12475 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12476
77d08aca
JM
124772014-05-09 Joseph Myers <joseph@codesourcery.com>
12478
12479 [BZ #16064]
12480 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12481 and <dl-procinfo.h>.
12482 (__fegetenv): Save SSE state in envp->__eip if supported.
12483 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12484 envp->__eip if supported.
12485 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12486 and <dl-procinfo.h>.
12487 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12488 __data_offset and __data_selector in environment to 0. Set SSE
12489 state if supported.
12490 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12491 test-fenv-sse.
12492 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12493 -mfpmath=sse.
12494 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12495
28162f4d
WN
124962014-05-09 Will Newton <will.newton@linaro.org>
12497
12498 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12499 and libc_relro_required for ARM.
12500 * sysdeps/arm/preconfigure: Regenerate.
12501
5a414ff7
DV
125022014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12503 Stefan Liebler <stli@linux.vnet.ibm.com>
12504
12505 * config.make.in (enable-lock-elision): New Makefile variable.
12506 * configure.ac: Likewise.
12507 * configure: Regenerate.
12508 * sysdeps/s390/configure.ac:
12509 Add check for gcc transactions support.
12510 * sysdeps/s390/configure: Regenerate.
12511 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12512 Build elision files if enabled.
12513 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12514 Add lock elision support for s390.
12515 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12516 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12517 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12518 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12519 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12520 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12521 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12522 Likewise.
12523 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12524 Likewise.
12525 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12526 Likewise.
12527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12528 Likewise.
12529 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12530 (__lll_timedlock_elision, __lll_lock_elision)
12531 (__lll_unlock_elision, __lll_trylock_elision)
12532 (lll_timedlock_elision, lll_lock_elision)
12533 (lll_unlock_elision, lll_trylock_elision): Add.
12534 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12535 (pthread_mutex_t): Add lock elision support for s390.
12536
1a2f40e5
W
125372014-05-14 Wilco <wdijkstr@arm.com>
12538
12539 * sysdeps/arm/fclrexcpt.c: Cleanup.
12540 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12541 * sysdeps/arm/feenablxcpt.c: Cleanup.
12542 * sysdeps/arm/fegetenv.c: Cleanup.
12543 * sysdeps/arm/fegetexcept.c: Cleanup.
12544 * sysdeps/arm/fegetround.c: Cleanup.
12545 * sysdeps/arm/feholdexcpt.c: Cleanup.
12546 * sysdeps/arm/fesetenv.c: Cleanup.
12547 * sysdeps/arm/fesetround.c: Cleanup.
12548 * sysdeps/arm/feupdateenv.c: Cleanup.
12549 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12550 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12551 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12552 * sysdeps/arm/ftestexcept.c: Cleanup.
12553 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12554 * sysdeps/arm/setfpucw.c: Cleanup.
12555
f63c86fe
WN
125562014-05-09 Will Newton <will.newton@linaro.org>
12557
12558 * sysdeps/arm/armv7/strcmp.S: New file.
12559 * NEWS: Mention addition of ARMv7 optimized strcmp.
12560
7a1a51b5
RM
125612014-05-08 Roland McGrath <roland@hack.frob.com>
12562
95afbbe5
RM
12563 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12564 look for %.ac rather than %.in.
12565
12566 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12567 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12568 * sysdeps/mach/hurd/configure: Regenerated.
12569 * sysdeps/unix/sysv/linux/configure: Regenerated.
12570
7a1a51b5
RM
12571 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12572
5057ad3b
SE
125732014-05-07 Steve Ellcey <sellcey@mips.com>
12574
12575 [BZ# 16922]
12576 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12577 (LONG_SUB): Ditto.
12578 (PTR_SUB): Ditto.
12579
8dc97517
AS
125802014-05-07 Andreas Schwab <schwab@suse.de>
12581
12582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12583 when skipping over non-matching result from nscd.
12584
ce0c5b8f
OB
125852014-05-07 Ondřej Bílka <neleai@seznam.cz>
12586
12587 [BZ #16876]
12588 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12589
a1189263
OB
12590 [BZ #16877]
12591 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12592 nscd security class.
ce0c5b8f 12593
0f58d252
RM
125942014-05-06 Roland McGrath <roland@hack.frob.com>
12595
12596 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12597 * sysdeps/arm/unwind.h: ... here.
12598
83df9ad0
AJ
125992014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12600
ce0c5b8f
OB
12601 [BZ# 16916]
12602 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12603 Define.
83df9ad0 12604
f360f94a
VR
126052014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12606
12607 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12608 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12609 multiarch strncpy for PPC64.
12610 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12611 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12613 multiarch optimizations.
12614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12615 (__libc_ifunc_impl_list): Likewise.
12616 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12617 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12618 multiarch stpncpy for PPC64.
12619 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12620 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12621
978a41c3
AS
126222014-05-06 Andreas Schwab <schwab@suse.de>
12623
12624 [BZ #16912]
12625 * gmon/mcount.c (_MCOUNT_DECL): Use
12626 atomic_compare_and_exchange_bool_acq instead of
12627 catomic_compare_and_exchange_bool_acq.
12628
eb1ed03d
RM
126292014-05-05 Roland McGrath <roland@hack.frob.com>
12630
fe658845
RM
12631 * elf/Makefile (others, install-bin): Remove pldd.
12632 (pldd-modules): Variable removed.
12633 ($(objpfx)pldd): Target removed.
12634 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12635 (others, install-bin): Append pldd here.
12636 ($(objpfx)pldd): New target.
12637
eb1ed03d
RM
12638 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12639 to 0, so the first #if test emitted later doesn't see it undefined.
12640 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12641 * sysdeps/gnu/errlist.c: Regenerated.
12642
19c4bec0
AZ
126432014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12644
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12646 [libc_hidden_builtin_def]: Define to empty value.
12647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12648 [libc_hidden_builtin_def]: Likewise.
12649 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12650 [libc_hidden_builtin_def]: Likewise.
12651 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12652 [libc_hidden_builtin_def]: Likewise.
12653 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12654 __redirect_memcpy and define ifunc as default hidden symbol.
12655 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12656 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12657
7776e669
AC
126582014-05-04 Adam Conrad <adconrad@0c3.net>
12659
12660 * locale/iso-4217.def: Reintroduce XDR currency.
12661
d69aeb12
AM
126622014-05-04 Allan McRae <allan@archlinux.org>
12663
12664 * po/eo.po: Update Esperanto translation from translation project.
12665
8f1df5cf
CD
126662014-05-02 Carlos O'Donell <carlos@redhat.com>
12667
12668 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12669 and FEATURE_INDEX_MAX to 1.
12670 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12671
13e402e7
SE
126722014-05-01 Steve Ellcey <sellcey@mips.com>
12673
12674 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12675 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12676 * iconvdata/big5.c (ONE_DIRECTION): Define.
12677 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12678 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12679 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12680 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12681 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12682 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12683 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12684 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12685 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12686 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12687 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12688 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12689 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12690 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12691 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12692 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12693 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12694 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12695 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12696 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12697 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12698 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12699 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12700 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12701 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12702 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12703 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12704 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12705 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12706 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12707 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12708 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12709 * iconvdata/johab.c (ONE_DIRECTION): Define.
12710 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12711 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12712 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12713 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12714 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12715 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12716 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12717 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12718 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12719 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12720
c727f032
RM
127212014-05-01 Roland McGrath <roland@hack.frob.com>
12722
8f2f08d0
RM
12723 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12724 (_IO_JUMPS_OFFSET): Define to 0.
12725
c727f032
RM
12726 * nptl/sysdeps/pthread/bits/libc-lock.h
12727 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12728 (__libc_lock_define_initialized_recursive): Always define using
12729 initializer. Modern compilers treat uninitialized (implicit zero) and
12730 explicit zero initializers the same (i.e. put the datum in bss).
12731
a849e800
AS
127322014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12733
12734 * nscd/nscd-client.h: Include <string.h>.
12735
5331255b
DM
127362014-05-01 David S. Miller <davem@davemloft.net>
12737
12738 [BZ #16885]
12739 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12740 multiple zero bytes exist at the end of a string.
12741 Reported by Aurelien Jarno <aurelien@aurel32.net>
12742
12743 * string/test-strcmp.c (check): Add explicit test for situations where
12744 there are multiple zero bytes after the first.
12745
4fdfe821
AS
127462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12747
12748 [BZ #16890]
12749 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12750 when compiling wprintf.
12751 * stdio-common/tstdiomisc.c (t3): New function.
12752 (main): Call it.
12753
0cdddc25
SE
127542014-05-01 Steve Ellcey <sellcey@mips.com>
12755
12756 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12757 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12758 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12759 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12760
6426d77e
SE
127612014-05-01 Steve Ellcey <sellcey@mips.com>
12762
12763 * stdlib/longlong.h: Updated from GCC.
12764
6d96f5e4
WN
127652014-05-01 Will Newton <will.newton@linaro.org>
12766 Bernard Ogden <bernie.ogden@linaro.org>
12767
7470db0c
WN
12768 * NEWS: Update fixed bug list.
12769
6d96f5e4
WN
12770 [BZ #15119]
12771 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12772
211d653c
DM
127732014-04-30 David S. Miller <davem@davemloft.net>
12774
4fa262fa
DM
12775 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12776 (libc_feholdexcept_setround_sparc_ctx): New function.
12777 (libc_fesetenv_sparc_ctx): Likewise.
12778 (libc_feupdateenv_sparc_ctx): Likewise.
12779 (libc_feholdsetround_sparc_ctx): Likewise.
12780 (libc_feholdexcept_setround_ctx): Define.
12781 (libc_feholdexcept_setroundf_ctx): Likewise.
12782 (libc_feholdexcept_setroundl_ctx): Likewise.
12783 (libc_fesetenv_ctx): Likewise.
12784 (libc_fesetenvf_ctx): Likewise.
12785 (libc_fesetenvl_ctx): Likewise.
12786 (libc_feupdateenv_ctx): Likewise.
12787 (libc_feupdateenvf_ctx): Likewise.
12788 (libc_feupdateenvl_ctx): Likewise.
12789 (libc_feresetround_ctx): Likewise.
12790 (libc_feresetroundf_ctx): Likewise.
12791 (libc_feresetroundl_ctx): Likewise.
12792 (libc_feholdsetround_ctx): Likewise.
12793 (libc_feholdsetroundf_ctx): Likewise.
12794 (libc_feholdsetroundl_ctx): Likewise.
12795
1d3d93ef
DM
12796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12797 with __USE_GNU instead of XOPEN cpp guards.
12798
8aa583c3
DM
12799 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12800 0.
12801
211d653c
DM
12802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12803 with XOPEN cpp guards.
12804
60c8f1f6
JB
128052014-04-30 Julian Brown <julian@codesourcery.com>
12806
12807 [BZ #16888]
12808 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12809 handling.
12810
9a461d46
JM
128112014-04-30 Joseph Myers <joseph@codesourcery.com>
12812
d0f5b3f8
JM
12813 [BZ #9894]
12814 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12815 Change to 2.6.32.
12816 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12817 * sysdeps/unix/sysv/linux/configure: Regenerated.
12818 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12819 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12820 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12821 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12822 * README: Update reference to required Linux kernel version.
12823 * manual/install.texi (Linux): Update reference to required Linux
12824 kernel headers version.
12825 * INSTALL: Regenerated.
12826
9a461d46
JM
12827 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12828 header inclusion.
12829 [POSIX] (limits.h): Likewise.
12830 [POSIX] (math.h): Likewise.
12831 [POSIX] (sys/wait.h): Likewise.
12832 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12833 function.
12834 [POSIX] (stddef.h): Do not allow header inclusion.
12835
1775babf
AZ
128362014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12837
57f41c40 12838 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12839
8f630cca
YY
128402014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12841
12842 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12843 Return immediately after lll_futex_wake.
12844
1cdeb237
SP
128452014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
bc8f194c
SP
12847 [BZ #16791]
12848 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12849 structure.
12850 (datahead_init_pos): Call datahead_init_common early.
12851 (datahead_init_neg): Likewise.
12852
1cdeb237
SP
12853 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12854 datahead_init_neg): New functions.
12855 * nscd/aicache.c (addhstaiX): Use them.
12856 * nscd/grpcache.c (cache_addgr): Likewise.
12857 * nscd/hstcache.c (cache_addhst): Likewise.
12858 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12859 * nscd/netgroupcache.c (do_notfound): Likewise.
12860 (addgetnetgrentX): Likewise.
12861 (addinnetgrX): Likewise.
12862 * nscd/pwdcache.c (cache_addpw): Likewise.
12863 * nscd/servicescache.c (cache_addserv): Likewise.
12864
16b293a7
SP
128652014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12866 Atsushi Onoe <atsushi@onoe.org>
12867
12868 [BZ #14308]
12869 [BZ #12994]
12870 [BZ #13651]
12871 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12872 one response is valid.
12873 * resolv/res_send.c (send_dg): Check for validity of other
12874 response if the current response is a referral.
12875
a28a9b94
SE
128762014-04-29 Steve Ellcey <sellcey@mips.com>
12877
12878 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12879
2ca180e9
SL
128802014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12881
12882 [BZ #16823]
12883 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12884 Always divide by positive zero when computing -Inf result.
12885 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12886 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12887
18f2945a
AZ
128882014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12889
12890 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12891 FPSCR if value do not change.
12892 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12893 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12894 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12895 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12896 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12897 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12898 function.
12899
5abebba4
CD
129002014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12901
12902 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12903 * sysdeps/unix/sysv/linux/hppa: Move directory from
12904 ports/systeps/unix/sysv/linux/hppa.
12905 * README: Update listing for hppa-*-linux-gnu.
12906
f7ed60c2
OB
129072014-04-28 Ondřej Bílka <neleai@seznam.cz>
12908
fff763a5
OB
12909 [BZ #16754]
12910 * manual/stdio.texi (Hook functions): Fix types of stream hook
12911 functions.
f7ed60c2
OB
12912 [BZ #16854]
12913 * socket/sys/socket.h: Fix typo in comment.
12914
df639d73
WD
129152014-04-28 Wilco <wdijkstr@arm.com>
12916
f7ed60c2 12917 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12918 * sysdeps/arm/math_private.h: New file.
12919 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12920
48332d82
L
129212014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12924 with __int128_t.
12925 (La_x86_64_retval): Likewise.
12926
e5e0d9a4
IB
129272014-04-24 Ian Bolton <ian.bolton@arm.com>
12928
12929 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12930 fpsr if value didn't change.
12931 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12932 to fpcr if value didn't change.
12933 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12934 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12935 fpsr or fpcr if value didn't change.
12936 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12937 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12938 fpcr if value didn't change.
12939 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12940 to fpsr if value didn't change.
12941
bacc75f7
SP
129422014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12943
12944 * nptl/tst-sem3.c: Use test-skeleton.c
12945 (main): Rename to do_test. Use return instead of
12946 exit.
12947 * nptl/tst-sem4.c: Use test-skeleton.c
12948 (main): Rename to do_test.
12949
a059d359
DM
129502014-04-22 David S. Miller <davem@davemloft.net>
12951
12952 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12953 (struct sigaction): New struct member __glibc_reserved0, change
12954 type of sa_flags to int.
12955
ea6c92f3
YZ
129562014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12957
12958 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12959 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12960
766c4a36
SP
129612014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12962
12963 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12964 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12965
140cc7ab
VK
129662014-04-22 Will Newton <will.newton@linaro.org>
12967 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12968
12969 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12970 (__longjmp): Add longjmp and longjmp_target SystemTap
12971 probes.
12972 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12973 (__sigsetjmp): Add setjmp SystemTap probe.
12974
c54e5cf7
CD
129752014-04-17 Carlos O'Donell <carlos@redhat.com>
12976
12977 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12978 match manual order.
12979
75ffb047
AZ
129802014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12981
12982 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12983
2cd925f7
AZ
12984 * sysdeps/powerpc/fpu/fenv_private.h
12985 (libc_feholdexcept_setroundl_ctx): Define to
12986 libc_feholdexcept_setround_ppc_ctx.
12987 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12988 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12989 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12990 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12991
39e6cd8d
IB
129922014-04-17 Ian Bolton <ian.bolton@arm.com>
12993
12994 * sysdeps/aarch64/math-tests.h: New file.
12995
f9281df9
SY
129962014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12997
12998 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12999 New.
13000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13001 Check and set bit_AVX2_Usable.
13002 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13003 macro.
13004 (bit_AVX2): Likewise.
13005 (index_AVX2_Usable): Likewise.
13006 (CPUID_AVX2): Likewise.
13007 (HAS_AVX2): Likewise.
13008
37d35007
WN
130092014-04-17 Will Newton <will.newton@linaro.org>
13010
7c677662
WN
13011 * manual/setjmp.texi (System V contexts): Add note that
13012 calling setcontext on a context created by a call to a
13013 signal handler is undefined. Update text to note that
13014 setcontext from a signal handler is possible but not
13015 recommended.
13016
37d35007 13017 [BZ #16629]
e04a4e9d
WN
13018 * stdlib/tst-setcontext.c: Include signal.h.
13019 (main): Check that the signal stack before and
13020 after swapcontext is the same.
13021
37d35007
WN
13022 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13023 Re-implement to restore registers in user code and avoid
13024 rt_sigreturn system call.
13025
423a7160
W
130262014-04-17 Wilco <wdijkstr@arm.com>
13027
13028 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13029 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13030 * math/test-fenv.c: Skip exception trap tests on targets which only
13031 support non-stop mode.
13032
bc93ab29
IB
130332014-04-17 Ian Bolton <ian.bolton@arm.com>
13034 Wilco Dijkstra <wilco.dijkstra@arm.com>
13035
13036 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13037 (libc_feholdsetround_aarch64_ctx)
13038 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13039 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13040 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13041 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13042 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13043 (libc_feresetround_noexl_ctx): Define.
13044
95fc5fa3
RH
130452014-04-16 Richard Henderson <rth@redhat.com>
13046
ddb04724
RH
13047 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13048
d77c0899
RH
13049 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13050 unwind tables.
13051
a3df56fc
RH
13052 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13053 const from the non-libc, non-ldso copy.
13054
95fc5fa3
RH
13055 * sysdeps/alpha/libm-test-ulps: Regenerate.
13056
7e0b6763
IB
130572014-04-16 Ian Bolton <ian.bolton@arm.com>
13058 Wilco Dijkstra <wilco.dijkstra@arm.com>
13059
13060 * sysdeps/aarch64/fpu/math_private.h: New file.
13061
a9ea2e0c
MS
130622014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13063
13064 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13065
ea8ba7cd
IZ
130662014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13067
7e54fd04 13068 [BZ #16275]
ea8ba7cd
IZ
13069 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13070 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13072 Intel MPX bound registers before _dl_profile_fixup.
13073 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13074 registers after _dl_profile_fixup. Save and restore bound
13075 registers bnd0/bnd1 when calling _dl_call_pltexit.
13076 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13077 (LR_BND_OFFSET): Likewise.
13078 (LRV_BND0_OFFSET): Likewise.
13079 (LRV_BND1_OFFSET): Likewise.
13080
9f2a4fbc
ST
130812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13082
13083 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13084 to...
13085 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13086 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13087 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13088 fields.
9f2a4fbc 13089
fd15a59b
ST
130902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13091
13092 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13093
f19dfa0a
SL
130942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13095
13096 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13097
4fa8bc3b
SL
130982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13099
13100 [BZ #14770]
13101 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13102 * sysdeps/s390/configure: Regenerate.
13103
8ea587db
SL
13104 [BZ #16824]
13105 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13106 Set round-to-nearest internally to reduce error accumulation.
13107
aa5f0ff1
AM
131082014-04-16 Alan Modra <amodra@gmail.com>
13109
13110 [BZ #16740]
13111 [BZ #16619]
13112 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13113 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13114 * NEWS: Update fixed bug list.
aa5f0ff1 13115
bb9c256f
SP
131162014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13117
13118 * benchtests/Makefile: Depend on libraries in build directory.
13119 (bench-math): Separate out math tests.
13120 (bench-pthread): Separate out pthread tests.
13121 (bench): Include math and pthread tests.
13122
f737dfd0
CD
131232014-04-14 Carlos O'Donell <carlos@redhat.com>
13124
13125 [BZ #16831]
13126 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13127 _dl_debug_initialize.
13128
0699f766
CD
13129 * configure.ac: Remove SELinux header check.
13130 * configure: Regenerate.
13131 * nscd/selinux.c (perms): Array of const char* to permission names.
13132 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13133 default policy. Call string_to_security_class and string_to_av_perm to
13134 translate strings. Enforce default policy and call avs_has_perm with
13135 results of translated strings.
13136
809bd45f
DM
131372014-04-13 David S. Miller <davem@davemloft.net>
13138
13139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13140
89e691f2
AM
131412014-04-12 Allan McRae <allan@archlinux.org>
13142
13143 [BZ #16838]
13144 * manual/string.texi (Collation Functions): Fix qsort argument
13145 order in example.
13146 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13147
9c9daaeb
CM
131482014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13149
13150 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13151 Make the test a no-op if there are no exceptions defined.
13152
95561fb9
PP
131532014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13154
fe8d072c 13155 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13156 enable-hardcoded-path-in-tests
13157
970c602a
WN
131582014-04-11 Will Newton <will.newton@linaro.org>
13159
13160 * benchtests/Makefile (extra-objs): Add json-lib.o.
13161 (bench-func): Tidy up JSON output.
13162 * benchtests/bench-skeleton.c: Include json-lib.h.
13163 (main): Use JSON library functions to do output of
13164 benchmark results.
13165 * benchtests/bench-timing-type.c (main): Output the
13166 timing type simply, leaving formatting to the user.
13167 * benchtests/json-lib.c: New file.
13168 * benchtests/json-lib.h: Likewise.
13169
36875b06
TR
131702014-04-11 Torvald Riegel <triegel@redhat.com>
13171
13172 [BZ #15215]
13173 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13174 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13175 memory barriers. Add comments.
13176 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13177 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13178 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13179 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13180 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13181 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13182
579db35a
SL
131832014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13184
13185 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13186 * sysdeps/s390/s390-64/configure.ac: ... this ...
13187 * sysdeps/s390/configure.ac: ... to here.
13188 * sysdeps/s390/s390-32/configure: Delete file.
13189 * sysdeps/s390/s390-64/configure: Delete file.
13190 * sysdeps/s390/configure: Regenerate.
13191
c12e9f37
JAPH
131922014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13193
13194 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13195
439bda32
WN
131962014-04-11 Will Newton <will.newton@linaro.org>
13197
13198 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13199 to zero if it is not defined elsewhere. (mtrim): Test
13200 the value of MALLOC_DEBUG with #if rather than #ifdef.
13201
6a5d6ea1
TR
132022014-04-10 Torvald Riegel <triegel@redhat.com>
13203
13204 * benchtests/pthread_once-inputs: New file.
13205 * benchtests/pthread_once-source.c: New file.
13206 * benchtests/README: Update documentation.
13207
a4c75cfd
IZ
132082014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13209 H.J. Lu <hongjiu.lu@intel.com>
13210
7e54fd04 13211 [BZ #16275]
a4c75cfd
IZ
13212 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13213 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13214 * sysdeps/x86_64/configure: Regenerated.
13215 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13216 macro.
13217 (REGISTER_SAVE_RAX): Likewise.
13218 (REGISTER_SAVE_RCX): Likewise.
13219 (REGISTER_SAVE_RDX): Likewise.
13220 (REGISTER_SAVE_RSI): Likewise.
13221 (REGISTER_SAVE_RDI): Likewise.
13222 (REGISTER_SAVE_R8): Likewise.
13223 (REGISTER_SAVE_R9): Likewise.
13224 (REGISTER_SAVE_BND0): Likewise.
13225 (REGISTER_SAVE_BND1): Likewise.
13226 (REGISTER_SAVE_BND2): Likewise.
13227 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13228 bound registers when calling _dl_fixup.
13229
27822ce6
AZ
132302014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13231
13232 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13233 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13234 of its definition.
27822ce6
AZ
13235 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13236 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13237 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13238 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13239 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13240 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13241 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13242
a88ddc90
PTB
132432014-04-09 Peter Brett <peter@peter-b.co.uk>
13244
13245 [BZ #15514]
13246 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13247 pathconf(_PC_NAME_MAX).
13248
01f8eac2
AZ
132492014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13250
13251 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13252 Remove macro usage.
13253 (__PTHREAD_SPINS): Move definition to ...
13254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13255 (__PTHREAD_SPINS): ... here.
13256 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13257 (__PTHREAD_SPIN): Likewise.
13258 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13259 (__PTHREAD_SPIN): Likewise.
13260 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13261 (__PTHREAD_SPIN): Likewise.
13262 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13263 (__PTHREAD_SPIN): Likewise.
13264 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13265 (__PTHREAD_SPIN): Likewise.
13266 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13267 (__PTHREAD_SPIN): Likewise.
13268 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13269 (__PTHREAD_SPIN): Likewise.
13270 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13271 (__PTHREAD_SPIN): Likewise.
13272 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13273 (__PTHREAD_SPIN): Likewise.
13274 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13275 (__PTHREAD_SPIN): Likewise.
13276 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13277 (__PTHREAD_SPIN): Likewise.
13278 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13279 (__PTHREAD_SPIN): Likewise.
13280
de21c33c
AZ
13281 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13282 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13283 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13284 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13285 imply folder.
13286 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13287 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13288 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13289 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13290 correct imply path.
13291 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13292 strlen symbol for non multi-arch builds.
13293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13294 missing hidden_def and weak_alias.
13295
862c472e
CD
132962014-04-08 Carlos O'Donell <carlos@redhat.com>
13297
13298 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13299
8667f90e
WN
133002014-04-07 Will Newton <will.newton@linaro.org>
13301
13302 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13303 and contents. [!_LIBC] Remove #ifndef and contents.
13304 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13305 * string/memccpy.c (__memccpy): Use ANSI prototype.
13306 * string/memfrob.c (memfrob): Likewise.
13307 * string/strcoll.c (STRCOLL): Likewise.
13308 * string/strlen.c (strlen): Likewise.
13309 * string/strtok.c (STRTOK): Likewise.
13310 * string/strcat.c: Remove unused #include of memcopy.h.
13311 (strcat): Use ANSI prototype.
13312 * string/strchr.c: Remove unused #include of memcopy.h.
13313 (strchr): Use ANSI prototype.
13314 * string/strcmp.c: Remove unused #include of memcopy.h.
13315 (strcmp): Use ANSI prototype.
13316 * string/strcpy.c: Remove unused #include of memcopy.h.
13317 (strcpy): Use ANSI prototype.
13318
7ffa9423
AZ
133192014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13320
13321 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13322 * config.make.in (config-extra-cppflags): Set it from
13323 libc_extra_cppflags.
13324 * configure.ac (libc_extra_cflags): Make it accumulate over
13325 configure fragments.
13326 (libc_extra_cppflags): New flag.
13327 * configure. Regenerate.
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13329 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13330 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13332
8bd70862
AZ
13333 [BZ #16815]
13334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13335 result for FE_DOWNWARD rounding mode.
13336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13337 Likewise.
13338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13339
d42f3448
CM
133402014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13341
13342 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13343 in function argument name.
13344
1c21d115
DS
133452014-04-03 David Svoboda <svoboda@cert.org>
13346
13347 [BZ #5666]
13348 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13349 explicitly.
13350
fcccd512
RM
133512014-04-03 Roland McGrath <roland@hack.frob.com>
13352
13353 * elf/dl-unmap-segments.h: New file.
13354 * sysdeps/generic/ldsodefs.h
13355 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13356 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13357 * elf/dl-fptr.c: Likewise.
13358 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13359 * sysdeps/aarch64/tlsdesc.c: Likewise.
13360 * sysdeps/arm/tlsdesc.c: Likewise.
13361 * sysdeps/i386/tlsdesc.c: Likewise.
13362 * sysdeps/tile/dl-runtime.c: Likewise.
13363 * sysdeps/x86_64/tlsdesc.c: Likewise.
13364 * elf/dl-load.h: New file.
13365 * elf/dl-load.c: Include it.
13366 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13367 Macros moved to dl-load.h.
13368 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13369 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13370 Use _dl_unmap_segments in place of __munmap.
13371 Break out segment-mapping loop into ...
13372 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13373
f6488e2b
WN
133742014-04-03 Will Newton <will.newton@linaro.org>
13375
13376 * elf/dl-lookup.c (do_lookup_x): Remove comment
13377 referring to nested function and move variable
13378 declarations down to before first use.
13379
6f05bafe
JM
133802014-04-02 Joseph Myers <joseph@codesourcery.com>
13381
a84e78c8
JM
13382 [BZ #16799]
13383 [BZ #16800]
13384 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13385 with 0 numerator.
13386 * math/s_catanf.c (__catanf): Likewise.
13387 * math/s_catanh.c (__catanh): Likewise.
13388 * math/s_catanhf.c (__catanhf): Likewise.
13389 * math/s_catanhl.c (__catanhl): Likewise.
13390 * math/s_catanl.c (__catanl): Likewise.
13391 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13392 by positive zero when computing -Inf result.
13393 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13394 (catanh_test): Likewise.
13395 * sysdeps/i386/fpu/libm-test-ulps: Update.
13396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13397
6f05bafe
JM
13398 [BZ #16789]
13399 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13400 instead of using underflowing value in computing result.
13401 * math/s_clog10.c (__clog10): Likewise.
13402 * math/s_clog10f.c (__clog10f): Likewise.
13403 * math/s_clog10l.c (__clog10l): Likewise.
13404 * math/s_clogf.c (__clogf): Likewise.
13405 * math/s_clogl.c (__clogl): Likewise.
13406 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13407 (clog10_test): Likewise.
13408 * sysdeps/i386/fpu/libm-test-ulps: Update.
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13410
b0abbc21
AM
134112014-04-02 Alan Modra <amodra@gmail.com>
13412
13413 [BZ #16739]
13414 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13415 output when value is near a power of two. Use int64_t for lx and
13416 remove casts. Use decimal rather than hex exponent constants.
13417 Don't use long double multiplication when double will suffice.
13418 * math/libm-test.inc (nextafter_test_data): Add tests.
13419 * NEWS: Add 16739 and 16786 to bug list.
13420
af6b1797
AM
13421 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13422
483818d7
AM
13423 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13424
f6c55796
WN
134252014-04-01 Will Newton <will.newton@linaro.org>
13426
13427 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13428 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13429
13f7fe35
FW
134302014-04-01 Florian Weimer <fweimer@redhat.com>
13431
13432 [BZ #13347]
13433 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13434 * nptl/tst-setuid2.c: New file.
13435 * nptl/Makefile (xtests): Add tst-setuid2.
13436
c859b32e
AM
134372014-04-01 Alan Modra <amodra@gmail.com>
13438
13439 [BZ #16786]
13440 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13441
54fa2475
JM
134422014-03-31 Joseph Myers <joseph@codesourcery.com>
13443
8795b4a4
JM
13444 [BZ #6803]
13445 [BZ #6804]
13446 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13447 set errno as appropriate.
13448 * math/w_scalbf.c (__scalbf): Likewise.
13449 * math/w_scalbl.c (__scalbl): Likewise.
13450 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13451 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13452 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13453 Add more NaN tests.
13454
54fa2475
JM
13455 [BZ #16349]
13456 * math/w_atan2.c: Include <errno.h>.
13457 (__atan2): Set errno for result underflowing to zero.
13458 * math/w_atan2f.c: Include <errno.h>.
13459 (__atan2f): Set errno for result underflowing to zero.
13460 * math/w_atan2l.c: Include <errno.h>.
13461 (__atan2l): Set errno for result underflowing to zero.
13462 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13463 tests.
13464 * math/auto-libm-test-out: Regenerated.
13465
757d9dd5
AZ
134662014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13467
13468 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13469 Encode instruction correctly in little endian.
13470 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13471 Likewise.
13472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13473 Likewise.
13474 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13475 Likewise.
13476 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13477 Likewise.
13478
d7a68734
JM
134792014-03-31 Joseph Myers <joseph@codesourcery.com>
13480
47c5adeb
JM
13481 [BZ #9894]
13482 * sysdeps/unix/sysv/linux/kernel-features.h
13483 [__sparc__ && !__arch64__ && !__sparc_v9__]
13484 (__ASSUME_SET_ROBUST_LIST): Do not define.
13485 [__sparc__ && !__arch64__ && !__sparc_v9__]
13486 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13487 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13488 Likewise.
13489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13490 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13491 (__ASSUME_REQUEUE_PI): Likewise.
13492 (__ASSUME_SET_ROBUST_LIST): Likewise.
13493 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13494 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13495 Undefine.
13496 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13497 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13498 Likewise.
13499 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13500 Likewise.
13501 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13502 Likewise.
13503 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13504 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13505 Undefine.
13506 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13507 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13508 Likewise.
13509
d7a68734
JM
13510 [BZ #16648]
13511 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13513 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13514
c760f5c2
WN
135152014-03-31 Will Newton <will.newton@linaro.org>
13516
13517 * benchtests/Makefile (bench): Add ffs and ffsll to list
13518 of tests.
13519 * benchtests/ffs-inputs: New file.
13520 * benchtests/ffsll-inputs: Likewise.
13521
ea6029b1
JM
135222014-03-29 Joseph Myers <joseph@codesourcery.com>
13523
13524 [BZ #16770]
13525 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13526 too large before casting to int.
13527 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13528 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13529 * math/libm-test.inc (scalb_test_data): Add more tests.
13530
cf806aff
SP
135312014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13532
56737508
SP
13533 * benchtests/Makefile (DETAILED_OPT): New make option.
13534 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13535 set.
13536 * benchtests/bench-skeleton.c: Include stdbool.h.
13537 (main): Store and print timings per input.
13538 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13539 member to each argument value.
13540 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13541 (_print_arg_data): Initialize per-input timing to 0.
13542
cb5e4aad
SP
13543 * benchtests/Makefile (timing-type): New binary.
13544 (bench-clean): Also remove bench-timing-type.
13545 (bench): New target for timing-type.
13546 (bench-func): Print output in JSON format.
13547 * benchtests/bench-skeleton.c (main): Print output in JSON
13548 format.
13549 * benchtests/bench-timing-type.c: New file.
13550 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13551 (TIMING_PRINT_STATS): Remove.
13552 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13553 name separately.
13554
cf806aff
SP
13555 * benchtests/bench-modf.c: Remove.
13556 * benchtests/modf-inputs: New inputs file.
13557
289e0779
JM
135582014-03-28 Joseph Myers <joseph@codesourcery.com>
13559
13560 [BZ #16362]
13561 * math/s_clog10.c (M_PI_LOG10E): New macro.
13562 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13563 imaginary parts are 0.
13564 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13565 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13566 imaginary parts are 0.
13567 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13568 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13569 imaginary parts are 0.
13570 * math/libm-test.inc (clog10_test_data): Update expected results
13571 for when real and imaginary parts are 0.
13572
277ae3f1
PP
135732014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13574
13575 * elf/dl-load.c: Finish conversion of __builtin_expect into
13576 __glibc_{un}likely.
13577
03a7091f
JM
135782014-03-27 Joseph Myers <joseph@codesourcery.com>
13579
13580 [BZ #16348]
13581 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13582 1+x for argument with exponent below -67.
13583 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13584 Likewise.
13585 * math/auto-libm-test-in: Add more tests of exp.
13586 * math/auto-libm-test-out: Regenerated.
13587
ea7d8b95
SP
135882014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13589
dd3022d7
SP
13590 [BZ #16759]
13591 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13592 (nscd_getnetgrent): Use it.
13593
ea7d8b95
SP
13594 [BZ #16760]
13595 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13596 of stpcpy.
13597
df5b85da
AK
135982014-03-27 Andi Kleen <ak@linux.intel.com>
13599
57f41c40
AS
13600 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13601 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13602 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13603 (lll_robust_unlock): Remove out of line section. Use cfi
13604 intrinsics.
df5b85da 13605 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13606 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13607 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13608 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13609 (lll_robust_unlock): Remove out of line section. Use cfi
13610 intrinsics.
df5b85da
AK
13611 (LLL_STUB_UNWIND_INFO*): Remove.
13612
fbd6b5a4
SP
136132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13614
13615 [BZ #16758]
13616 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13617 blank values.
13618
1b26b855
PP
136192014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13620
13621 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13622
9be36fb8
JM
136232014-03-26 Joseph Myers <joseph@codesourcery.com>
13624
13625 [BZ #16198]
13626 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13627 fnstenv.
13628 * math/test-fenv-preserve.c: New file.
13629 * math/Makefile (tests): Add test-fenv-preserve.
13630
60a2f3c1
WN
136312014-03-26 Will Newton <will.newton@linaro.org>
13632
13633 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13634
a5e5f1e2
RM
136352014-03-25 Roland McGrath <roland@hack.frob.com>
13636
13637 * scripts/versionlist.awk: Partition the version sets and emit all
13638 GLIBC_* (sorted) before all others (sorted).
13639
00f4012a
JM
136402014-03-25 Joseph Myers <joseph@codesourcery.com>
13641
13642 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13643 GLIBC_2.2.5 version.
13644
7bc5a741
AZ
136452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13646
13647 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13648 calls.
13649
7578473b
AZ
13650 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13651 previous change.
13652
f3f1dab3
AZ
13653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13654
6da36183
AS
136552014-03-25 Andreas Schwab <schwab@suse.de>
13656
13657 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13658 label to be used after in6ailist is initialized.
13659
f3f1dab3 136602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13661
7578473b 13662 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13663 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13664
046651c1
JM
136652014-03-25 Joseph Myers <joseph@codesourcery.com>
13666
13667 [BZ #16357]
13668 [BZ #16599]
13669 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13670 min_plus_half.
13671 (fp_formats): Update initializers.
13672 (init_fp_formats): Initialize new field.
13673 (output_for_one_input_case): Allow underflow for results up to
13674 min_plus_half.
13675 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13676 * math/auto-libm-test-in: Don't mark some underflows from asin and
13677 atanh as spurious.
13678 * math/auto-libm-test-out: Regenerated.
13679 * sysdeps/i386/fpu/libm-test-ulps: Update.
13680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13681
003e49ed
AS
136822014-03-25 Andreas Schwab <schwab@suse.de>
13683
13684 * libio/Makefile (tst-ftell-partial-wide-ENV)
13685 (tst-ftell-active-handler-ENV): Define.
13686
de031874
SL
136872014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13688
13689 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13690
55a81e3b
PP
136912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13692
13693 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13694
f3426898
JM
136952014-03-24 Joseph Myers <joseph@codesourcery.com>
13696
13697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13698 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13699 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13700
a42faf59
PP
137012014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13702
13703 [BZ #16634]
a42faf59 13704 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13705 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13706 (open_path): Change from boolean 'secure' to complete flag 'mode'
13707 (_dl_map_object): Adjust.
a42faf59
PP
13708 * elf/Makefile (tests): Add tst-dlopen-aout.
13709 * elf/tst-dlopen-aout.c: New test.
13710
50936127
SL
137112014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13712
13713 [BZ #16714]
13714 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13715 (struct stat): Rename member pad0 to __glibc_reserved0.
13716
26011b5c
SL
13717 [BZ #16712]
13718 * sysdeps/s390/s390-32/bits/wordsize.h
13719 (__WORDSIZE32_SIZE_ULONG): New define.
13720 * sysdeps/s390/s390-64/bits/wordsize.h
13721 (__WORDSIZE32_SIZE_ULONG): Likewise.
13722 * sysdeps/generic/stdint.h (SIZE_MAX):
13723 Define as UL if __WORDSIZE32_SIZE_ULONG.
13724
a2d86bf1
SL
13725 [BZ #16713]
13726 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13727 (__glibc_reserved0): New variable.
13728 (sa_flags): Change type to int.
13729
78b6eebc
SL
13730 * posix/Makefile (before-compile): Use += before-compile instead
13731 of a :=.
13732
f1399b5a
SL
13733 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13734 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13735
a071766e
AS
137362014-03-20 Andreas Schwab <schwab@suse.de>
13737
13738 [BZ #16743]
13739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13740 non-matching result from nscd.
13741
27c673b8
SP
137422014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13743
13744 * scripts/bench.py: Moved to ...
13745 * benchtests/scripts/bench.py: ... here.
13746 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13747
44152e4b
AS
137482014-03-24 Andreas Schwab <schwab@suse.de>
13749
13750 [BZ #16002]
13751 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13752 alloca_account and account alloca use for struct in6ailist.
13753
b376a11a
JM
137542014-03-24 Joseph Myers <joseph@codesourcery.com>
13755
13756 [BZ #16284]
13757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13758 rounding mode to recompute results that overflow to infinity or
13759 underflow to zero.
13760 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13761 bug 16284.
13762 * math/auto-libm-test-out: Regenerated.
13763 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13764 (ccosh_test): Likewise.
13765 (csin_test_data): Use plus_oflow.
13766 (csin_test): Use ALL_RM_TEST.
13767 (csinh_test_data): Use plus_oflow.
13768 (csinh_test): Use ALL_RM_TEST.
13769 * sysdeps/i386/fpu/libm-test-ulps: Update.
13770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13771
f7be7376
JM
137722014-03-21 Joseph Myers <joseph@codesourcery.com>
13773
1ca2d03e
JM
13774 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13775 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13776 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13777
f7be7376
JM
13778 [BZ #16731]
13779 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13780 when x - 1 is zero.
13781 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13782 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13783 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13785 argument is 1.
13786 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13787 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13788 zero.
13789 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13790 * sysdeps/i386/fpu/libm-test-ulps: Update.
13791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13792
fdf4534d
SP
137932014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13794
df26ea53
SP
13795 * scripts/bench.pl: Remove file.
13796 * scripts/bench.py: New benchmark script.
13797 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13798 * benchtests/README: Mention python dependency.
13799 * scripts/pylintrc: New file.
13800 * scripts/pylint: New file.
13801
fdf4534d
SP
13802 * bits/mathdef.h: Use #ifdef instead of #if.
13803 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13804 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13805 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13806 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13807 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13808 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13809
6f23d093
AZ
138102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13811 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13812
13813 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13815 and strpbrk-ppc64 objects.
13816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13817 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13818 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13819 multiarch strpbrk for POWER7.
13820 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13821 multiarch strpbrk for PPC64.
13822 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13823 ifunc selector.
13824 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13825 strpbrk for POWER7.
13826
8c92dfff
JM
138272014-03-20 Joseph Myers <joseph@codesourcery.com>
13828
13829 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13830 (atan_test): Likewise.
13831 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13832 (atanh_test): Use ALL_RM_TEST.
13833 (atan2_test_data): Likewise.
13834 (cabs_test): Likewise.
13835 (cacosh_test): Likewise.
13836 (carg_test): Likewise.
13837 (casin_test): Likewise.
13838 (casinh_test): Likewise.
13839 (cbrt_test): Likewise.
13840 (csqrt_test): Likewise.
13841 (erf_test): Likewise.
13842 (erfc_test): Likewise.
13843 (pow10_test): Likewise.
13844 (exp2_test): Likewise.
13845 (hypot_test): Likewise.
13846 (j0_test): Likewise.
13847 (j1_test): Likewise.
13848 (lgamma_test): Likewise.
13849 (gamma_test): Likewise.
13850 (sincos_test): Likewise.
13851 (tanh_test): Likewise.
13852 (y0_test): Likewise.
13853 (y1_test): Likewise.
13854 * sysdeps/i386/fpu/libm-test-ulps: Update.
13855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13856
6eaf95cb
AZ
138572014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13858
a387428c
SP
13859 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13861 and strcspn-ppc64 objects.
13862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13863 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13864 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13865 multiarch strcspn for POWER7.
13866 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13867 multiarch strcspn for PPC64.
13868 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13869 ifunc selector.
13870 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13871 strcspn for POWER7.
13872
ae3a5dff
JM
138732014-03-20 Joseph Myers <joseph@codesourcery.com>
13874
13875 * math/gen-libm-test.pl (generate_testfile): Expect only function
13876 name as argument to AUTO_TESTS_* and pass results for all rounding
13877 modes to parse_args.
13878 (parse_auto_input): Separate inputs of automatic tests from
13879 outputs before storing in %auto_tests.
13880 * math/libm-test.inc (acos_test_data): Update call to
13881 AUTO_TESTS_f_f.
13882 (acos_test): Use ALL_RM_TEST.
13883 (acos_tonearest_test_data): Remove.
13884 (acos_test_tonearest): Likewise.
13885 (acos_towardzero_test_data): Likewise.
13886 (acos_test_towardzero): Likewise.
13887 (acos_downward_test_data): Likewise.
13888 (acos_test_downward): Likewise.
13889 (acos_upward_test_data): Likewise.
13890 (acos_test_upward): Likewise.
13891 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13892 (asin_test_data): Likewise.
13893 (asin_test): Use ALL_RM_TEST.
13894 (asin_tonearest_test_data): Remove.
13895 (asin_test_tonearest): Likewise.
13896 (asin_towardzero_test_data): Likewise.
13897 (asin_test_towardzero): Likewise.
13898 (asin_downward_test_data): Likewise.
13899 (asin_test_downward): Likewise.
13900 (asin_upward_test_data): Likewise.
13901 (asin_test_upward): Likewise.
13902 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13903 (atan_test_data): Likewise.
13904 (atanh_test_data): Likewise.
13905 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13906 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13907 (carg_test_data): Likewise.
13908 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13909 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13910 (ccosh_test_data): Likewise.
13911 (cexp_test_data): Likewise.
13912 (clog_test_data): Likewise.
13913 (clog10_test_data): Likewise.
13914 (cos_test_data): Update call to AUTO_TESTS_f_f.
13915 (cos_test): Use ALL_RM_TEST.
13916 (cos_tonearest_test_data): Remove.
13917 (cos_test_tonearest): Likewise.
13918 (cos_towardzero_test_data): Likewise.
13919 (cos_test_towardzero): Likewise.
13920 (cos_downward_test_data): Likewise.
13921 (cos_test_downward): Likewise.
13922 (cos_upward_test_data): Likewise.
13923 (cos_test_upward): Likewise.
13924 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13925 (cosh_test): Use ALL_RM_TEST.
13926 (cosh_tonearest_test_data): Remove.
13927 (cosh_test_tonearest): Likewise.
13928 (cosh_towardzero_test_data): Likewise.
13929 (cosh_test_towardzero): Likewise.
13930 (cosh_downward_test_data): Likewise.
13931 (cosh_test_downward): Likewise.
13932 (cosh_upward_test_data): Likewise.
13933 (cosh_test_upward): Likewise.
13934 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13935 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13936 (ctan_test_data): Likewise.
13937 (ctan_test): Use ALL_RM_TEST.
13938 (ctan_tonearest_test_data): Remove.
13939 (ctan_test_tonearest): Likewise.
13940 (ctan_towardzero_test_data): Likewise.
13941 (ctan_test_towardzero): Likewise.
13942 (ctan_downward_test_data): Likewise.
13943 (ctan_test_downward): Likewise.
13944 (ctan_upward_test_data): Likewise.
13945 (ctan_test_upward): Likewise.
13946 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13947 (ctanh_test): Use ALL_RM_TEST.
13948 (ctanh_tonearest_test_data): Remove.
13949 (ctanh_test_tonearest): Likewise.
13950 (ctanh_towardzero_test_data): Likewise.
13951 (ctanh_test_towardzero): Likewise.
13952 (ctanh_downward_test_data): Likewise.
13953 (ctanh_test_downward): Likewise.
13954 (ctanh_upward_test_data): Likewise.
13955 (ctanh_test_upward): Likewise.
13956 (erf_test_data): Update call to AUTO_TESTS_f_f.
13957 (erfc_test_data): Likewise.
13958 (exp_test_data): Likewise.
13959 (exp_test): Use ALL_RM_TEST.
13960 (exp_tonearest_test_data): Remove.
13961 (exp_test_tonearest): Likewise.
13962 (exp_towardzero_test_data): Likewise.
13963 (exp_test_towardzero): Likewise.
13964 (exp_downward_test_data): Likewise.
13965 (exp_test_downward): Likewise.
13966 (exp_upward_test_data): Likewise.
13967 (exp_test_upward): Likewise.
13968 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13969 (exp10_test): Use ALL_RM_TEST.
13970 (exp10_tonearest_test_data): Remove.
13971 (exp10_test_tonearest): Likewise.
13972 (exp10_towardzero_test_data): Likewise.
13973 (exp10_test_towardzero): Likewise.
13974 (exp10_downward_test_data): Likewise.
13975 (exp10_test_downward): Likewise.
13976 (exp10_upward_test_data): Likewise.
13977 (exp10_test_upward): Likewise.
13978 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13979 (expm1_test_data): Likewise.
13980 (expm1_test): Use ALL_RM_TEST.
13981 (expm1_tonearest_test_data): Remove.
13982 (expm1_test_tonearest): Likewise.
13983 (expm1_towardzero_test_data): Likewise.
13984 (expm1_test_towardzero): Likewise.
13985 (expm1_downward_test_data): Likewise.
13986 (expm1_test_downward): Likewise.
13987 (expm1_upward_test_data): Likewise.
13988 (expm1_test_upward): Likewise.
13989 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13990 (fma_test): Use ALL_RM_TEST.
13991 (fma_towardzero_test_data): Remove.
13992 (fma_test_towardzero): Likewise.
13993 (fma_downward_test_data): Likewise.
13994 (fma_test_downward): Likewise.
13995 (fma_upward_test_data): Likewise.
13996 (fma_test_upward): Likewise.
13997 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13998 (j0_test_data): Update call to AUTO_TESTS_f_f.
13999 (j1_test_data): Likewise.
14000 (jn_test_data): Update call to AUTO_TESTS_if_f.
14001 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14002 (log_test_data): Update call to AUTO_TESTS_f_f.
14003 (log10_test_data): Likewise.
14004 (log1p_test_data): Likewise.
14005 (log2_test_data): Likewise.
14006 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14007 (pow_tonearest_test_data): Likewise.
14008 (sin_test_data): Update call to AUTO_TESTS_f_f.
14009 (sin_test): Use ALL_RM_TEST.
14010 (sin_tonearest_test_data): Remove.
14011 (sin_test_tonearest): Likewise.
14012 (sin_towardzero_test_data): Likewise.
14013 (sin_test_towardzero): Likewise.
14014 (sin_downward_test_data): Likewise.
14015 (sin_test_downward): Likewise.
14016 (sin_upward_test_data): Likewise.
14017 (sin_test_upward): Likewise.
14018 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14019 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14020 (sinh_test): Use ALL_RM_TEST.
14021 (sinh_tonearest_test_data): Remove.
14022 (sinh_test_tonearest): Likewise.
14023 (sinh_towardzero_test_data): Likewise.
14024 (sinh_test_towardzero): Likewise.
14025 (sinh_downward_test_data): Likewise.
14026 (sinh_test_downward): Likewise.
14027 (sinh_upward_test_data): Likewise.
14028 (sinh_test_upward): Likewise.
14029 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14030 (sqrt_test): Use ALL_RM_TEST.
14031 (sqrt_tonearest_test_data): Remove.
14032 (sqrt_test_tonearest): Likewise.
14033 (sqrt_towardzero_test_data): Likewise.
14034 (sqrt_test_towardzero): Likewise.
14035 (sqrt_downward_test_data): Likewise.
14036 (sqrt_test_downward): Likewise.
14037 (sqrt_upward_test_data): Likewise.
14038 (sqrt_test_upward): Likewise.
14039 (tan_test_data): Update call to AUTO_TESTS_f_f.
14040 (tan_test): Use ALL_RM_TEST.
14041 (tan_tonearest_test_data): Remove.
14042 (tan_test_tonearest): Likewise.
14043 (tan_towardzero_test_data): Likewise.
14044 (tan_test_towardzero): Likewise.
14045 (tan_downward_test_data): Likewise.
14046 (tan_test_downward): Likewise.
14047 (tan_upward_test_data): Likewise.
14048 (tan_test_upward): Likewise.
14049 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14050 (tgamma_test_data): Likewise.
14051 (y0_test_data): Likewise.
14052 (y1_test_data): Likewise.
14053 (yn_test_data): Update call to AUTO_TESTS_if_f.
14054 (main): Do not call removed functions.
14055
d71aeee8
JM
140562014-03-19 Joseph Myers <joseph@codesourcery.com>
14057
14058 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14059 (ldexp_test_data): Remove.
14060 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14061 scalbn_test_data.
14062 (scalb_test): Use ALL_RM_TEST.
14063
baaf1ded
AS
140642014-03-19 Andreas Schwab <schwab@suse.de>
14065
14066 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14067
b1115e91
JM
140682014-03-19 Joseph Myers <joseph@codesourcery.com>
14069
14070 [BZ #16649]
14071 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14072 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14073 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14074 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14075 (__ASSUME_PREADV): Undefine.
14076 (__ASSUME_PWRITEV): Likewise.
14077
0283ecca
RM
140782014-03-18 Roland McGrath <roland@hack.frob.com>
14079
7d375303
RM
14080 * bits/mman-linux.h: Add comment about non-Linux use.
14081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14082 bits/mman-linux.h resting place.
14083
0283ecca
RM
14084 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14085 * bits/mman-linux.h: ... here.
14086
aebe1003
AZ
140872014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14088
14089 * conform/conformtest.pl: Add standard definition when calling C
14090 preprocessor on data files.
14091 (checknamespace): Remove unused variable.
14092
b29b6bb8
JM
140932014-03-18 Joseph Myers <joseph@codesourcery.com>
14094
14095 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14096 minus_oflow, plus_uflow and minus_uflow in expected results.
14097 * math/libm-test.inc (scalbn_test_data): Add more tests of
14098 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14099 minus_uflow.
14100 (scalbn_test): Use ALL_RM_TEST.
14101 (scalbln_test_data): Add more tests of negative arguments. Use
14102 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14103 (scalbln_test): Use ALL_RM_TEST.
14104
c8f8fa15
RM
141052014-03-18 Roland McGrath <roland@hack.frob.com>
14106
14107 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14108
fede7a5f
WN
141092014-03-18 Will Newton <will.newton@linaro.org>
14110
14111 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14112 inaccurate comment.
14113
80cf0a58
JM
141142014-03-18 Joseph Myers <joseph@codesourcery.com>
14115
14116 * Makerules [!subdir] (check-abi): Exit with error status if a
14117 test failed.
14118
b3620862
JM
141192014-03-17 Joseph Myers <joseph@codesourcery.com>
14120
14121 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14122 for rint. Include results for all rounding modes.
14123 (nearbyint_test): Use ALL_RM_TEST.
14124 (rint_test_data): Include all tests used for nearbyint.
14125
788bba36
WN
141262014-03-17 Will Newton <will.newton@linaro.org>
14127
04ec140a
WN
14128 * nptl/sysdeps/pthread/pthread.h: Revert previous
14129 change.
14130
7579d8d5
WN
14131 * sysdeps/generic/ldsodefs.h: Revert previous
14132 change.
14133
c15cf13a
WN
14134 * libio/genops.c: Revert previous change.
14135 * libio/libioP.h: Likewise.
14136 * stdio-common/vfprintf.c: Likewise.
14137
d0ac1324
WN
14138 * sysdeps/generic/math_private.h: Revert previous
14139 change.
14140
9290130a
WN
14141 * sysdeps/generic/math_private.h: Check whether
14142 HAVE_RM_CTX is defined with #ifdef rather
14143 than #if.
14144
afb466fc
WN
14145 * argp/argp-fmtstream.h: Check whether
14146 __STRICT_ANSI__ is defined with #ifdef rather
14147 than #if.
14148 * argp/argp.h: Likewise.
14149
f7efd7c3
WN
14150 * libio/genops.c: Check whether
14151 _IO_JUMPS_OFFSET is defined with #ifdef rather
14152 than #if.
14153 * libio/libioP.h: Likewise.
14154 * stdio-common/vfprintf.c: Likewise.
14155
53f1bed3
WN
14156 * sysdeps/generic/ldsodefs.h: Check whether
14157 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14158 than #if.
14159
788bba36
WN
14160 * nptl/sysdeps/pthread/pthread.h: Check
14161 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14162 its value.
14163
fcd89ebe
SP
141642014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14165
ae42bbc5
SP
14166 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14167 setting O_APPEND.
14168 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14169 test case.
14170
ea33158c
SP
14171 [BZ #16680]
14172 * libio/fileops.c (_IO_file_open): Seek to end of file but
14173 don't cache the offset.
14174 (get_file_offset): Remove function.
14175 (do_ftell): Use cached offset when available.
14176 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14177 don't cache the offset.
14178 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14179 case.
14180 (do_one_test): Call it.
14181 (do_ftell_test): Fix up expected old offset for a+ mode.
14182 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14183 available.
14184
b1dbb426
SP
14185 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14186 up test status with function return status.
14187 (do_write_test): Likewise.
14188 (do_append_test): Likewise.
14189
fcd89ebe
SP
14190 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14191 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14192 Remove.
14193
9962a2d3
JM
141942014-03-17 Joseph Myers <joseph@codesourcery.com>
14195
14196 * math/gen-libm-test.pl (parse_args): Handle results specified for
14197 each rounding mode separately.
14198 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14199 tests and results from lrint_tonearest_test_data,
14200 lrint_towardzero_test_data, lrint_downward_test_data and
14201 lrint_upward_test_data.
14202 (lrint_test): Use ALL_RM_TEST.
14203 (lrint_tonearest_test_data): Remove.
14204 (lrint_test_tonearest): Likewise.
14205 (lrint_towardzero_test_data): Likewise.
14206 (lrint_test_towardzero): Likewise.
14207 (lrint_downward_test_data): Likewise.
14208 (lrint_test_downward): Likewise.
14209 (lrint_upward_test_data): Likewise.
14210 (lrint_test_upward): Likewise.
14211 (llrint_test_data): Merge in per-rounding-mode tests and results
14212 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14213 llrint_downward_test_data and llrint_upward_test_data.
14214 (llrint_test): Use ALL_RM_TEST.
14215 (llrint_tonearest_test_data): Remove.
14216 (llrint_test_tonearest): Likewise.
14217 (llrint_towardzero_test_data): Likewise.
14218 (llrint_test_towardzero): Likewise.
14219 (llrint_downward_test_data): Likewise.
14220 (llrint_test_downward): Likewise.
14221 (llrint_upward_test_data): Likewise.
14222 (llrint_test_upward): Likewise.
14223 (rint_test_data): Merge in per-rounding-mode tests and results
14224 from rint_tonearest_test_data, rint_towardzero_test_data,
14225 rint_downward_test_data and rint_upward_test_data. Add
14226 per-rounding-mode results for tests not in those arrays.
14227 (rint_test): Use ALL_RM_TEST.
14228 (rint_tonearest_test_data): Remove.
14229 (rint_test_tonearest): Likewise.
14230 (rint_towardzero_test_data): Likewise.
14231 (rint_test_towardzero): Likewise.
14232 (rint_downward_test_data): Likewise.
14233 (rint_test_downward): Likewise.
14234 (rint_upward_test_data): Likewise.
14235 (rint_test_upward): Likewise.
14236 (main): Don't call removed functions.
14237
5006148e
RM
142382014-03-14 Roland McGrath <roland@hack.frob.com>
14239
14240 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14241 "Compiled on ..." crapola. It is anti-useful.
14242
d6fe5e58
JM
142432014-03-14 Joseph Myers <joseph@codesourcery.com>
14244
14245 * scripts/evaluate-test.sh: Handle fourth argument to determine
14246 whether test run should stop on failure.
14247 * Makeconfig (stop-on-test-failure): New variable.
14248 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14249 $(stop-on-test-failure).
14250 * Makefile (tests): Give a summary of results from testing and
14251 exit with failure status if they include an ERROR or FAIL.
14252 (xtests): Likewise.
14253 * manual/install.texi (Configuring and compiling): Mention
14254 stop-on-test-failure=y.
14255 * INSTALL: Regenerated.
14256
498a2233
RM
142572014-03-14 Roland McGrath <roland@hack.frob.com>
14258
22dbc19d
RM
14259 * scripts/versionlist.awk: New file.
14260 * Makerules [$(build-shared) = yes]
14261 (postclean-generated): Add Versions.def, not Versions.def.v and
14262 Versions.def.v.i.
14263 ($(common-objpfx)Versions.def.v.i): Target removed.
14264 ($(common-objpfx)Versions.def): New target.
14265 ($(common-objpfx)Versions.all): Depend on that rather that
14266 $(common-objpfx)Versions.def.v.
14267 * Versions.def: File removed.
14268
498a2233
RM
14269 * Makeconfig (+gccwarn): Add -Wundef.
14270 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14271 a dl-sysdep.h breaking its contract.
14272 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14273 * include/stackinfo.h: New file.
14274 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14275 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14276 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14277 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14278 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14279 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14280 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14281 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14282 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14283 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14284 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14285 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14286 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14287 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14288 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14289
c7de5025
AZ
142902014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14291
14292 [BZ #16707]
14293 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14294 implementation.
14295 * math/libm-test.inc (round_test_data): Add more tests.
14296
98fb27a3
AZ
14297 [BZ #16706]
14298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14299 implementation.
14300 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14301
374f7f61
AZ
14302 [BZ #16701]
14303 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14304 implementation.
14305 * math/libm-test.inc (ceil_test_data): Add more tests.
14306
4655c291
AZ
14307 * math/libm-test.inc (trunc_test_data): Add more tests related to
14308 BZ#16414.
14309
d7329d4b
RM
143102014-03-14 Roland McGrath <roland@hack.frob.com>
14311
14312 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14313 with #if rather than #ifdef.
14314 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14315
aa4de9ce
L
143162014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14317
14318 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14319 first. Disable AVX-512 GCC support if assembler doesn't support
14320 it.
14321 * sysdeps/x86_64/configure: Regenerated.
14322
2e03fae7
CD
143232014-03-13 Carlos O'Donell <carlos@redhat.com>
14324
14325 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14326 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14327 (__old_pthread_attr_setstack): Likewise.
14328 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14329 [!_STACK_GROWS_DOWN]: Likewise.
14330
43ca83ec
MF
143312014-03-13 Mike Frysinger <vapier@gentoo.org>
14332
14333 * config.make.in (have-bash2): Delete.
14334 * configure.ac (libc_cv_have_bash2): Delete.
14335 * configure: Regenerate.
14336 * elf/Makefile (common-ldd-rewrite): Rename to ...
14337 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14338 (sh-ldd-rewrite): Delete.
14339 (bash-ldd-rewrite): Delete.
14340 (have-bash2): Delete checks.
57f41c40
AS
14341 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14342 ldd-rewrite.
c66e48b4
MF
14343
14344 * config.make.in (have-ksh): Delete.
14345 (KSH): Delete.
14346 * configure.ac (libc_cv_have_ksh): Delete.
14347 * configure: Regenerate.
14348
b93834ef
MF
14349 * elf/Makefile: Delete $(have-ksh) check.
14350 ($(objpfx)sotruss): Change KSH to BASH.
14351 * elf/sotruss.ksh: Rename to ...
14352 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14353 function style to match POSIX. Drop ksh vim mode setting.
14354
f3a4632a
MF
14355 * manual/time.texi (Specifying the Time Zone with TZ): Change
14356 Tuesday to Thursday.
14357
5896c8bd
MF
14358 * debug/tst-longjmp_chk2.c: Update header comment.
14359 (stackoverflow_handler): Add comment. Call assert on pass value.
14360
2d63a517
IZ
143612014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14362
7e54fd04 14363 [BZ #16194]
2d63a517
IZ
14364 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14365 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14366 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14367 (La_x86_64_vector): Add zmm.
14368 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14369 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14370 ($(objpfx)tst-audit10): New target.
14371 ($(objpfx)tst-audit10.out): Likewise.
14372 (tst-audit10-ENV): New.
14373 (AVX512-CFLAGS): Likewise.
14374 (CFLAGS-tst-audit10.c): Likewise.
14375 (CFLAGS-tst-auditmod10a.c): Likewise.
14376 (CFLAGS-tst-auditmod10b.c): Likewise.
14377 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14378 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14379 * sysdeps/x86_64/configure: Regenerated.
14380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14381 AVX-512 zmm register support.
14382 (_dl_x86_64_save_sse): Likewise.
14383 (_dl_x86_64_restore_sse): Likewise.
14384 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14385 size vector registers.
14386 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14387 (ZMM_SIZE): Likewise.
14388 * sysdeps/x86_64/tst-audit10.c: New file.
14389 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14390 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14391
44c4e5d5
RM
143922014-03-13 Roland McGrath <roland@hack.frob.com>
14393
14394 * configure.ac (HAVE_EHDR_START): New check.
14395 * configure: Regenerated.
14396 * config.h.in (HAVE_EHDR_START): New #undef.
14397 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14398 assuming the lowest-addressed segment maps the start of the file.
14399
acd6e389
JM
144002014-03-13 Joseph Myers <joseph@codesourcery.com>
14401
14402 * INSTALL: Regenerated.
14403
6f918f36
WN
144042014-03-13 Will Newton <will.newton@linaro.org>
14405
14406 * manual/setjmp.texi (System V contexts): Improve
14407 clarity and grammar of documentation.
14408
798212a0
PP
144092014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14410
14411 [BZ #16381]
798212a0 14412 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14413 (tests-pie): Add tst-pie2.
798212a0
PP
14414 * elf/tst-pie2.c: New file.
14415 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14416 for ET_EXEC.
14417 * elf/rtld.c (map_doit): Load executable as lt_executable.
14418 (dl_main): Likewise.
14419
abe6d90c
JM
144202014-03-12 Joseph Myers <joseph@codesourcery.com>
14421
14422 [BZ #16642]
14423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14424 (__ASSUME_PSELECT): Undefine.
14425
dd3946c6
AZ
144262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14427
14428 [BZ #16689]
14429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14430 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14431 static build.
14432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14433 selector for static builds.
14434
c44496df
SP
144352014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14436
14437 [BZ #16695]
14438 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14439 key in the buffer.
14440
27c7220a
AZ
144412014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14442
57f41c40
AS
14443 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14444 IFUNC selector for static builds.
27c7220a 14445
600fa361
JM
144462014-03-11 Joseph Myers <joseph@codesourcery.com>
14447
76c96cf7
JM
14448 * sysdeps/mips/math_private.h [__mips_hard_float]
14449 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14450 libc_feresetround_mips_ctx.
14451 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14452 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14453 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14454
600fa361
JM
14455 [BZ #16677]
14456 * math/s_nextafter.c (__nextafter): Do not return value from
14457 overflowing computation.
14458 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14459 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14460 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14461 Likewise.
14462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14463 Likewise.
14464 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14465 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14466
d7706c32
RM
144672014-03-11 Roland McGrath <roland@hack.frob.com>
14468
14469 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14470 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14471 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14472 the new mov targetting sp.
14473
4facea47
AZ
144742014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14475
14476 [BZ #16683]
14477 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14478 Define it for static builds as well.
14479 (NO_BZERO_IMPL): Likewise.
14480
e65caf1f
VR
144812014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14482
14483 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14484 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14485 multiarch strspn for PPC64.
14486 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14487 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14489 (__libc_ifunc_impl_list): Likewise.
14490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14491 multiarch optimizations
14492 * string/strspn.c (strspn): Using macro to redefine symbol name.
14493
ba9cc071
AZ
144942014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14495 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14496
14497 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14498 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14499 multiarch strncat for PPC64.
14500 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14501 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14503 (__libc_ifunc_impl_list): Likewise.
14504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14505 multiarch optimizations
14506
8b4ff974
SP
145072014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14508
14509 [BZ #16639]
14510 * nscd/nscd.service: Make service type forking.
14511
54b46a4b
AZ
145122014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14513
14514 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14515 sign in non default rounding modes.
14516 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14517
e9996ef7
JM
145182014-03-08 Joseph Myers <joseph@codesourcery.com>
14519
14520 * math/libm-test.inc (ALL_RM_TEST): New macro.
14521 (ceil_test): Use ALL_RM_TEST.
14522 (cimag_test): Likewise.
14523 (conj_test): Likewise.
14524 (copysign_test): Likewise.
14525 (cproj_test): Likewise.
14526 (creal_test): Likewise.
14527 (fabs_test): Likewise.
14528 (floor_test): Likewise.
14529 (fmax_test): Likewise.
14530 (fmin_test): Likewise.
14531 (fmod_test): Likewise.
14532 (fpclassify_test): Likewise.
14533 (frexp_test): Likewise.
14534 (ilogb_test): Likewise.
14535 (isfinite_test): Likewise.
14536 (finite_test): Likewise.
14537 (isgreater_test): Likewise.
14538 (isgreaterequal_test): Likewise.
14539 (isinf_test): Likewise.
14540 (isless_test): Likewise.
14541 (islessequal_test): Likewise.
14542 (islessgreater_test): Likewise.
14543 (isnan_test): Likewise.
14544 (isnormal_test): Likewise.
14545 (issignaling_test): Likewise.
14546 (isunordered_test): Likewise.
14547 (logb_test): Likewise.
14548 (logb_downward_test_data): Remove.
14549 (logb_test_downward): Likewise.
14550 (lround_test): Use ALL_RM_TEST.
14551 (llround_test): Likewise.
14552 (modf_test): Likewise.
14553 (nexttoward_test): Likewise.
14554 (remainder_test): Likewise.
14555 (drem_test): Likewise.
14556 (remainder_tonearest_test_data): Likewise.
14557 (remainder_test_tonearest): Likewise.
14558 (drem_test_tonearest): Likewise.
14559 (remainder_towardzero_test_data): Likewise.
14560 (remainder_test_towardzero): Likewise.
14561 (drem_test_towardzero): Likewise.
14562 (remainder_downward_test_data): Likewise.
14563 (remainder_test_downward): Likewise.
14564 (drem_test_downward): Likewise.
14565 (remainder_upward_test_data): Likewise.
14566 (remainder_test_upward): Likewise.
14567 (drem_test_upward): Likewise.
14568 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14569 (round_test): Use ALL_RM_TEST.
14570 (signbit_test): Likewise.
14571 (trunc_test): Likewise.
14572 (significand_test): Likewise.
14573 (main): Don't call removed functions.
14574
bc61d27c
JM
145752014-03-07 Joseph Myers <joseph@codesourcery.com>
14576
5c780849
JM
14577 [BZ #16674]
14578 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14579 || __USE_XOPEN2K8].
14580 (ILL_ILLOPN): Likewise.
14581 (ILL_ILLADR): Likewise.
14582 (ILL_ILLTRP): Likewise.
14583 (ILL_PRVOPC): Likewise.
14584 (ILL_PRVREG): Likewise.
14585 (ILL_COPROC): Likewise.
14586 (ILL_BADSTK): Likewise.
14587 (FPE_INTDIV): Likewise.
14588 (FPE_INTOVF): Likewise.
14589 (FPE_FLTDIV): Likewise.
14590 (FPE_FLTOVF): Likewise.
14591 (FPE_FLTUND): Likewise.
14592 (FPE_FLTRES): Likewise.
14593 (FPE_FLTINV): Likewise.
14594 (FPE_FLTSUB): Likewise.
14595 (SEGV_MAPERR): Likewise.
14596 (SEGV_ACCERR): Likewise.
14597 (BUS_ADRALN): Likewise.
14598 (BUS_ADRERR): Likewise.
14599 (BUS_OBJERR): Likewise.
14600 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14601 (TRAP_TRACE): Likewise.
14602 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14603 __USE_XOPEN2K8].
14604 (CLD_KILLED): Likewise.
14605 (CLD_DUMPED): Likewise.
14606 (CLD_TRAPPED): Likewise.
14607 (CLD_STOPPED): Likewise.
14608 (CLD_CONTINUED): Likewise.
14609 (POLL_IN): Likewise.
14610 (POLL_OUT): Likewise.
14611 (POLL_MSG): Likewise.
14612 (POLL_ERR): Likewise.
14613 (POLL_PRI): Likewise.
14614 (POLL_HUP): Likewise.
14615 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14616 Likewise.
14617 (ILL_ILLOPN): Likewise.
14618 (ILL_ILLADR): Likewise.
14619 (ILL_ILLTRP): Likewise.
14620 (ILL_PRVOPC): Likewise.
14621 (ILL_PRVREG): Likewise.
14622 (ILL_COPROC): Likewise.
14623 (ILL_BADSTK): Likewise.
14624 (FPE_INTDIV): Likewise.
14625 (FPE_INTOVF): Likewise.
14626 (FPE_FLTDIV): Likewise.
14627 (FPE_FLTOVF): Likewise.
14628 (FPE_FLTUND): Likewise.
14629 (FPE_FLTRES): Likewise.
14630 (FPE_FLTINV): Likewise.
14631 (FPE_FLTSUB): Likewise.
14632 (SEGV_MAPERR): Likewise.
14633 (SEGV_ACCERR): Likewise.
14634 (BUS_ADRALN): Likewise.
14635 (BUS_ADRERR): Likewise.
14636 (BUS_OBJERR): Likewise.
14637 (BUS_MCEERR_AR): Likewise.
14638 (BUS_MCEERR_AO): Likewise.
14639 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14640 (TRAP_TRACE): Likewise.
14641 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14642 __USE_XOPEN2K8].
14643 (CLD_KILLED): Likewise.
14644 (CLD_DUMPED): Likewise.
14645 (CLD_TRAPPED): Likewise.
14646 (CLD_STOPPED): Likewise.
14647 (CLD_CONTINUED): Likewise.
14648 (POLL_IN): Likewise.
14649 (POLL_OUT): Likewise.
14650 (POLL_MSG): Likewise.
14651 (POLL_ERR): Likewise.
14652 (POLL_PRI): Likewise.
14653 (POLL_HUP): Likewise.
14654 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14655 (ILL_ILLOPN): Likewise.
14656 (ILL_ILLADR): Likewise.
14657 (ILL_ILLTRP): Likewise.
14658 (ILL_PRVOPC): Likewise.
14659 (ILL_PRVREG): Likewise.
14660 (ILL_COPROC): Likewise.
14661 (ILL_BADSTK): Likewise.
14662 (FPE_INTDIV): Likewise.
14663 (FPE_INTOVF): Likewise.
14664 (FPE_FLTDIV): Likewise.
14665 (FPE_FLTOVF): Likewise.
14666 (FPE_FLTUND): Likewise.
14667 (FPE_FLTRES): Likewise.
14668 (FPE_FLTINV): Likewise.
14669 (FPE_FLTSUB): Likewise.
14670 (SEGV_MAPERR): Likewise.
14671 (SEGV_ACCERR): Likewise.
14672 (BUS_ADRALN): Likewise.
14673 (BUS_ADRERR): Likewise.
14674 (BUS_OBJERR): Likewise.
14675 (BUS_MCEERR_AR): Likewise.
14676 (BUS_MCEERR_AO): Likewise.
14677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14678 (TRAP_TRACE): Likewise.
14679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14680 __USE_XOPEN2K8].
14681 (CLD_KILLED): Likewise.
14682 (CLD_DUMPED): Likewise.
14683 (CLD_TRAPPED): Likewise.
14684 (CLD_STOPPED): Likewise.
14685 (CLD_CONTINUED): Likewise.
14686 (POLL_IN): Likewise.
14687 (POLL_OUT): Likewise.
14688 (POLL_MSG): Likewise.
14689 (POLL_ERR): Likewise.
14690 (POLL_PRI): Likewise.
14691 (POLL_HUP): Likewise.
14692 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14693 Likewise.
14694 (ILL_ILLOPN): Likewise.
14695 (ILL_ILLADR): Likewise.
14696 (ILL_ILLTRP): Likewise.
14697 (ILL_PRVOPC): Likewise.
14698 (ILL_PRVREG): Likewise.
14699 (ILL_COPROC): Likewise.
14700 (ILL_BADSTK): Likewise.
14701 (ILL_BADIADDR): Likewise.
14702 (ILL_BREAK): Likewise.
14703 (FPE_INTDIV): Likewise.
14704 (FPE_INTOVF): Likewise.
14705 (FPE_FLTDIV): Likewise.
14706 (FPE_FLTOVF): Likewise.
14707 (FPE_FLTUND): Likewise.
14708 (FPE_FLTRES): Likewise.
14709 (FPE_FLTINV): Likewise.
14710 (FPE_FLTSUB): Likewise.
14711 (FPE_DECOVF): Likewise.
14712 (FPE_DECDIV): Likewise.
14713 (FPE_DECERR): Likewise.
14714 (FPE_INVASC): Likewise.
14715 (FPE_INVDEC): Likewise.
14716 (SEGV_MAPERR): Likewise.
14717 (SEGV_ACCERR): Likewise.
14718 (SEGV_PSTKOVF): Likewise.
14719 (BUS_ADRALN): Likewise.
14720 (BUS_ADRERR): Likewise.
14721 (BUS_OBJERR): Likewise.
14722 (BUS_MCEERR_AR): Likewise.
14723 (BUS_MCEERR_AO): Likewise.
14724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14725 (TRAP_TRACE): Likewise.
14726 (TRAP_BRANCH): Likewise.
14727 (TRAP_HWBKPT): Likewise.
14728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14729 __USE_XOPEN2K8].
14730 (CLD_KILLED): Likewise.
14731 (CLD_DUMPED): Likewise.
14732 (CLD_TRAPPED): Likewise.
14733 (CLD_STOPPED): Likewise.
14734 (CLD_CONTINUED): Likewise.
14735 (POLL_IN): Likewise.
14736 (POLL_OUT): Likewise.
14737 (POLL_MSG): Likewise.
14738 (POLL_ERR): Likewise.
14739 (POLL_PRI): Likewise.
14740 (POLL_HUP): Likewise.
14741 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14742 (ILL_ILLOPN): Likewise.
14743 (ILL_ILLADR): Likewise.
14744 (ILL_ILLTRP): Likewise.
14745 (ILL_PRVOPC): Likewise.
14746 (ILL_PRVREG): Likewise.
14747 (ILL_COPROC): Likewise.
14748 (ILL_BADSTK): Likewise.
14749 (FPE_INTDIV): Likewise.
14750 (FPE_INTOVF): Likewise.
14751 (FPE_FLTDIV): Likewise.
14752 (FPE_FLTOVF): Likewise.
14753 (FPE_FLTUND): Likewise.
14754 (FPE_FLTRES): Likewise.
14755 (FPE_FLTINV): Likewise.
14756 (FPE_FLTSUB): Likewise.
14757 (SEGV_MAPERR): Likewise.
14758 (SEGV_ACCERR): Likewise.
14759 (BUS_ADRALN): Likewise.
14760 (BUS_ADRERR): Likewise.
14761 (BUS_OBJERR): Likewise.
14762 (BUS_MCEERR_AR): Likewise.
14763 (BUS_MCEERR_AO): Likewise.
14764 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14765 (TRAP_TRACE): Likewise.
14766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14767 __USE_XOPEN2K8].
14768 (CLD_KILLED): Likewise.
14769 (CLD_DUMPED): Likewise.
14770 (CLD_TRAPPED): Likewise.
14771 (CLD_STOPPED): Likewise.
14772 (CLD_CONTINUED): Likewise.
14773 (POLL_IN): Likewise.
14774 (POLL_OUT): Likewise.
14775 (POLL_MSG): Likewise.
14776 (POLL_ERR): Likewise.
14777 (POLL_PRI): Likewise.
14778 (POLL_HUP): Likewise.
14779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14780 (ILL_ILLOPN): Likewise.
14781 (ILL_ILLADR): Likewise.
14782 (ILL_ILLTRP): Likewise.
14783 (ILL_PRVOPC): Likewise.
14784 (ILL_PRVREG): Likewise.
14785 (ILL_COPROC): Likewise.
14786 (ILL_BADSTK): Likewise.
14787 (FPE_INTDIV): Likewise.
14788 (FPE_INTOVF): Likewise.
14789 (FPE_FLTDIV): Likewise.
14790 (FPE_FLTOVF): Likewise.
14791 (FPE_FLTUND): Likewise.
14792 (FPE_FLTRES): Likewise.
14793 (FPE_FLTINV): Likewise.
14794 (FPE_FLTSUB): Likewise.
14795 (SEGV_MAPERR): Likewise.
14796 (SEGV_ACCERR): Likewise.
14797 (BUS_ADRALN): Likewise.
14798 (BUS_ADRERR): Likewise.
14799 (BUS_OBJERR): Likewise.
14800 (BUS_MCEERR_AR): Likewise.
14801 (BUS_MCEERR_AO): Likewise.
14802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14803 (TRAP_TRACE): Likewise.
14804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14805 __USE_XOPEN2K8].
14806 (CLD_KILLED): Likewise.
14807 (CLD_DUMPED): Likewise.
14808 (CLD_TRAPPED): Likewise.
14809 (CLD_STOPPED): Likewise.
14810 (CLD_CONTINUED): Likewise.
14811 (POLL_IN): Likewise.
14812 (POLL_OUT): Likewise.
14813 (POLL_MSG): Likewise.
14814 (POLL_ERR): Likewise.
14815 (POLL_PRI): Likewise.
14816 (POLL_HUP): Likewise.
14817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14818 (ILL_ILLOPN): Likewise.
14819 (ILL_ILLADR): Likewise.
14820 (ILL_ILLTRP): Likewise.
14821 (ILL_PRVOPC): Likewise.
14822 (ILL_PRVREG): Likewise.
14823 (ILL_COPROC): Likewise.
14824 (ILL_BADSTK): Likewise.
14825 (FPE_INTDIV): Likewise.
14826 (FPE_INTOVF): Likewise.
14827 (FPE_FLTDIV): Likewise.
14828 (FPE_FLTOVF): Likewise.
14829 (FPE_FLTUND): Likewise.
14830 (FPE_FLTRES): Likewise.
14831 (FPE_FLTINV): Likewise.
14832 (FPE_FLTSUB): Likewise.
14833 (SEGV_MAPERR): Likewise.
14834 (SEGV_ACCERR): Likewise.
14835 (BUS_ADRALN): Likewise.
14836 (BUS_ADRERR): Likewise.
14837 (BUS_OBJERR): Likewise.
14838 (BUS_MCEERR_AR): Likewise.
14839 (BUS_MCEERR_AO): Likewise.
14840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14841 (TRAP_TRACE): Likewise.
14842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14843 __USE_XOPEN2K8].
14844 (CLD_KILLED): Likewise.
14845 (CLD_DUMPED): Likewise.
14846 (CLD_TRAPPED): Likewise.
14847 (CLD_STOPPED): Likewise.
14848 (CLD_CONTINUED): Likewise.
14849 (POLL_IN): Likewise.
14850 (POLL_OUT): Likewise.
14851 (POLL_MSG): Likewise.
14852 (POLL_ERR): Likewise.
14853 (POLL_PRI): Likewise.
14854 (POLL_HUP): Likewise.
14855 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14856 (ILL_ILLOPN): Likewise.
14857 (ILL_ILLADR): Likewise.
14858 (ILL_ILLTRP): Likewise.
14859 (ILL_PRVOPC): Likewise.
14860 (ILL_PRVREG): Likewise.
14861 (ILL_COPROC): Likewise.
14862 (ILL_BADSTK): Likewise.
14863 (ILL_DBLFLT): Likewise.
14864 (ILL_HARDWALL): Likewise.
14865 (FPE_INTDIV): Likewise.
14866 (FPE_INTOVF): Likewise.
14867 (FPE_FLTDIV): Likewise.
14868 (FPE_FLTOVF): Likewise.
14869 (FPE_FLTUND): Likewise.
14870 (FPE_FLTRES): Likewise.
14871 (FPE_FLTINV): Likewise.
14872 (FPE_FLTSUB): Likewise.
14873 (SEGV_MAPERR): Likewise.
14874 (SEGV_ACCERR): Likewise.
14875 (BUS_ADRALN): Likewise.
14876 (BUS_ADRERR): Likewise.
14877 (BUS_OBJERR): Likewise.
14878 (BUS_MCEERR_AR): Likewise.
14879 (BUS_MCEERR_AO): Likewise.
14880 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14881 (TRAP_TRACE): Likewise.
14882 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14883 __USE_XOPEN2K8].
14884 (CLD_KILLED): Likewise.
14885 (CLD_DUMPED): Likewise.
14886 (CLD_TRAPPED): Likewise.
14887 (CLD_STOPPED): Likewise.
14888 (CLD_CONTINUED): Likewise.
14889 (POLL_IN): Likewise.
14890 (POLL_OUT): Likewise.
14891 (POLL_MSG): Likewise.
14892 (POLL_ERR): Likewise.
14893 (POLL_PRI): Likewise.
14894 (POLL_HUP): Likewise.
14895 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14896 (ILL_ILLOPN): Likewise.
14897 (ILL_ILLADR): Likewise.
14898 (ILL_ILLTRP): Likewise.
14899 (ILL_PRVOPC): Likewise.
14900 (ILL_PRVREG): Likewise.
14901 (ILL_COPROC): Likewise.
14902 (ILL_BADSTK): Likewise.
14903 (FPE_INTDIV): Likewise.
14904 (FPE_INTOVF): Likewise.
14905 (FPE_FLTDIV): Likewise.
14906 (FPE_FLTOVF): Likewise.
14907 (FPE_FLTUND): Likewise.
14908 (FPE_FLTRES): Likewise.
14909 (FPE_FLTINV): Likewise.
14910 (FPE_FLTSUB): Likewise.
14911 (SEGV_MAPERR): Likewise.
14912 (SEGV_ACCERR): Likewise.
14913 (BUS_ADRALN): Likewise.
14914 (BUS_ADRERR): Likewise.
14915 (BUS_OBJERR): Likewise.
14916 (BUS_MCEERR_AR): Likewise.
14917 (BUS_MCEERR_AO): Likewise.
14918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14919 (TRAP_TRACE): Likewise.
14920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14921 __USE_XOPEN2K8].
14922 (CLD_KILLED): Likewise.
14923 (CLD_DUMPED): Likewise.
14924 (CLD_TRAPPED): Likewise.
14925 (CLD_STOPPED): Likewise.
14926 (CLD_CONTINUED): Likewise.
14927 (POLL_IN): Likewise.
14928 (POLL_OUT): Likewise.
14929 (POLL_MSG): Likewise.
14930 (POLL_ERR): Likewise.
14931 (POLL_PRI): Likewise.
14932 (POLL_HUP): Likewise.
14933 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14934 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14935
bc61d27c
JM
14936 [BZ #16670]
14937 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14938 before #include of <time.h>.
14939 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14940 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14941 (test-xfail-UNIX98/sched.h/conform): Likewise.
14942
302949e2
MS
149432014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14944
14945 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14946 error absence of trapping exception support.
14947 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14948
a00f522a
JM
149492014-03-07 Joseph Myers <joseph@codesourcery.com>
14950
6f99f280
JM
14951 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14952 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14953 * timezone/Makefile (testdata): Move definition above include of
14954 Rules.
14955 (test-zones): New variable.
14956 (tests-special): Add zone files.
14957 (build-testdata): Use $(evaluate-test).
14958
0b20a9e8
JM
14959 * elf/Makefile (tests-special): Rename tests to end with .out.
14960 ($(objpfx)noload-mem): Likewise.
14961 ($(objpfx)tst-leaks1-mem): Likewise.
14962 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14963 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14964 $(objpfx)test-iconvconfig.out.
14965 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14966 set -e inside subshell and redirect output to file.
14967 * iconvdata/Makefile (generated): Rename tests to end with .out.
14968 Correct type.
14969 (tests-special): Rename tests to end with .out.
14970 ($(objpfx)mtrace-tst-loading): Likewise.
14971 * intl/Makefile (generated): Likewise.
14972 (tests-special): Likewise.
14973 ($(objpfx)mtrace-tst-gettext): Likewise.
14974 * misc/Makefile (generated): Likewise.
14975 (tests-special): Likewise.
14976 ($(objpfx)tst-error1-mem): Likewise.
14977 * nptl/Makefile (tests-special): Likewise.
14978 ($(objpfx)tst-stack3-mem): Likewise.
14979 (generated): Likewise.
14980 * posix/Makefile (generated): Likewise.
14981 (tests-special): Likewise.
14982 (xtests-special): Likewise.
14983 ($(objpfx)tst-fnmatch-mem): Likewise.
14984 ($(objpfx)bug-regex2-mem): Likewise.
14985 ($(objpfx)bug-regex14-mem): Likewise.
14986 ($(objpfx)bug-regex21-mem): Likewise.
14987 ($(objpfx)bug-regex31-mem): Likewise.
14988 ($(objpfx)tst-vfork3-mem): Likewise.
14989 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14990 ($(objpfx)tst-pcre-mem): Likewise.
14991 ($(objpfx)tst-boost-mem): Likewise.
14992 ($(objpfx)bug-ga2-mem): Likewise.
14993 ($(objpfx)bug-glob2-mem): Likewise.
14994 * resolv/Makefile (generate): Likewise.
14995 (tests-special): Likewise.
14996 (xtests-special): Likewise.
14997 (generated): Likewise.
14998 ($(objpfx)mtrace-tst-leaks): Likewise.
14999 ($(objpfx)mtrace-tst-leaks2): Likewise.
15000
265d52ab
JM
15001 * scripts/merge-test-results.sh: New file.
15002 * Makefile (tests-special-notdir): New variable.
15003 (tests): Run merge-test-results.sh.
15004 (xtests): Likewise.
15005 * Rules (tests-special-notdir): New variable.
15006 (xtests-special-notdir): Likewise.
15007 (tests): Run merge-test-results.sh
15008 (xtests): Likewise.
15009
54ee292d
JM
15010 * Makeconfig (test-xfail-name): New variable.
15011 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15012 compute variable name for expected failures.
15013 * conform/Makefile (conformtest-headers-data): New variable.
15014 (conformtest-standards): Likewise.
15015 (conformtest-headers-ISO): Likewise.
15016 (conformtest-headers-ISO99): Likewise.
15017 (conformtest-headers-ISO11): Likewise.
15018 (conformtest-headers-POSIX): Likewise.
15019 (conformtest-headers-XPG3): Likewise.
15020 (conformtest-headers-XPG4): Likewise.
15021 (conformtest-headers-UNIX98): Likewise.
15022 (conformtest-headers-XOPEN2K): Likewise.
15023 (conformtest-headers-POSIX2008): Likewise.
15024 (conformtest-headers-XOPEN2K8): Likewise.
15025 (conformtest-header-list-base): Likewise.
15026 (conformtest-header-list-tests): Likewise.
15027 (conformtest-header-base): Likewise.
15028 (conformtest-header-tests): Likewise.
15029 (tests-special): Add $(conformtest-header-list-tests). If
15030 [$(fast-check) && !$(cross-compiling)], add
15031 $(conformtest-header-tests) instead of
15032 $(objpfx)run-conformtest.out.
15033 (generated): Add $(conformtest-header-list-base). If
15034 [$(fast-check) && !$(cross-compiling)], add
15035 $(conformtest-header-base). Remove previous setting.
15036 ($(conformtest-header-list-tests)): New target.
15037 (test-xfail-run-conformtest): Remove variable.
15038 ($(objpfx)run-conformtest.out): Remove target.
15039 (test-xfail-ISO11/complex.h/conform): New variable.
15040 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15041 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15042 (test-xfail-XPG3/varargs.h/conform): Likewise.
15043 (test-xfail-XPG4/varargs.h/conform): Likewise.
15044 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15045 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15046 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15047 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15048 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15049 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15050 (test-xfail-XPG3/ftw.h/conform): Likewise.
15051 (test-xfail-XPG3/grp.h/conform): Likewise.
15052 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15053 (test-xfail-XPG3/limits.h/conform): Likewise.
15054 (test-xfail-XPG3/pwd.h/conform): Likewise.
15055 (test-xfail-XPG3/search.h/conform): Likewise.
15056 (test-xfail-XPG3/signal.h/conform): Likewise.
15057 (test-xfail-XPG3/stdio.h/conform): Likewise.
15058 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15059 (test-xfail-XPG3/string.h/conform): Likewise.
15060 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15061 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15062 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15063 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15064 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15065 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15066 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15067 (test-xfail-XPG3/termios.h/conform): Likewise.
15068 (test-xfail-XPG3/time.h/conform): Likewise.
15069 (test-xfail-XPG3/unistd.h/conform): Likewise.
15070 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15071 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15072 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15073 (test-xfail-XPG4/netdb.h/conform): Likewise.
15074 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15075 (test-xfail-XPG4/signal.h/conform): Likewise.
15076 (test-xfail-XPG4/stdio.h/conform): Likewise.
15077 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15078 (test-xfail-XPG4/stropts.h/conform): Likewise.
15079 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15080 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15081 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15082 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15083 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15084 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15085 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15086 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15087 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15088 (test-xfail-XPG4/termios.h/conform): Likewise.
15089 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15090 (test-xfail-XPG4/unistd.h/conform): Likewise.
15091 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15092 (test-xfail-POSIX/sched.h/conform): Likewise.
15093 (test-xfail-POSIX/signal.h/conform): Likewise.
15094 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15095 (test-xfail-POSIX/tar.h/conform): Likewise.
15096 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15097 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15098 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15099 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15100 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15101 (test-xfail-UNIX98/sched.h/conform): Likewise.
15102 (test-xfail-UNIX98/signal.h/conform): Likewise.
15103 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15104 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15105 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15106 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15107 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15108 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15109 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15110 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15111 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15112 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15113 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15114 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15115 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15116 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15117 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15118 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15119 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15120 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15121 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15122 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15123 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15124 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15125 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15126 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15127 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15128 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15129 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15130 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15131 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15132 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15133 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15134 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15135 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15136 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15137 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15138 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15139 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15140 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15141 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15142 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15143 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15144 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15145 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15146 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15147 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15148 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15149 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15150 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15151 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15152 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15153 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15154 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15155 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15156 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15157 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15158 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15159 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15160 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15161 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15162 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15163 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15164 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15165 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15166 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15167 (conformtest-cc-flags): Likewise.
15168 ($(conformtest-header-tests): New target.
15169 * conform/check-header-lists.sh: New file.
15170 * conform/run-conformtest.sh: Remove.
15171
a00f522a
JM
15172 * conform/conformtest.pl: Allow ' and \ in values given for
15173 constants.
15174 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15175 inclusion.
15176 [POSIX] (sys/types.h): Likewise.
15177 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15178 inclusion.
15179 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15180 inclusion.
15181 * conform/data/signal.h-data (SIGIO): Remove expectation.
15182 [XPG3] (SIGBUS): Do not expect.
15183 [POSIX || XPG3] (SIGPOLL): Likewise.
15184 [POSIX || XPG3] (SIGPROF): Likewise.
15185 [POSIX || XPG3] (SIGSYS): Likewise.
15186 [XPG3] (SIGTRAP): Likewise.
15187 [POSIX || XPG3] (SIGURG): Likewise.
15188 [POSIX || XPG3] (SIGVTALRM): Likewise.
15189 [POSIX || XPG3] (SIGXCPU): Likewise.
15190 [POSIX || XPG3] (SIGXFSZ): Likewise.
15191 [POSIX] (SA_SIGINFO): Expect.
15192 [XPG3] (siginfo_t): Do not expect type or contents.
15193 [POSIX] (si_pid): Do not expect element.
15194 [POSIX] (si_uid): Likewise.
15195 [POSIX] (si_addr): Likewise.
15196 [POSIX] (si_status): Likewise.
15197 [POSIX] (si_band): Likewise.
15198 [XPG4] (si_value): Likewise.
15199 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15200 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15201 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15202 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15203 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15204 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15205 [POSIX || XPG3] (ILL_COPROC): Likewise.
15206 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15207 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15208 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15209 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15210 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15211 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15212 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15213 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15214 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15215 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15216 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15217 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15218 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15219 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15220 [POSIX || XPG3] (CLD_EXITED): Likewise.
15221 [POSIX || XPG3] (CLD_KILLED): Likewise.
15222 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15223 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15224 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15225 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15226 [POSIX || XPG3] (POLL_IN): Likewise.
15227 [POSIX || XPG3] (POLL_OUT): Likewise.
15228 [POSIX || XPG3] (POLL_MSG): Likewise.
15229 [POSIX || XPG3] (POLL_ERR): Likewise.
15230 [POSIX || XPG3] (POLL_PRI): Likewise.
15231 [POSIX || XPG3] (POLL_HUP): Likewise.
15232 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15233 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15234 (SIG*): Do not allow.
15235 [XPG3] (si_*): Likewise.
15236 [XPG3] (SI_*): Likewise.
15237 [XPG3 || XPG4] (sigev_*): Likewise.
15238 [XPG3 || XPG4] (SIGEV_*): Likewise.
15239 [XPG3 || XPG4] (sival_*): Likewise.
15240 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15241 [POSIX || XPG3] (BUS_*): Likewise.
15242 [POSIX || XPG3] (CLD_*): Likewise.
15243 [POSIX || XPG3] (FPE_*): Likewise.
15244 [POSIX || XPG3] (ILL_*): Likewise.
15245 [POSIX || XPG3] (POLL_*): Likewise.
15246 [POSIX || XPG3] (SEGV_*): Likewise.
15247 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15248 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15249 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15250 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15251 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15252 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15253 Specify type and value.
15254 (TVERSLEN): Likewise.
15255 (REGTYPE): Likewise.
15256 (AREGTYPE): Likewise.
15257 (LNKTYPE): Likewise.
15258 (SYMTYPE): Likewise.
15259 (CHRTYPE): Likewise.
15260 (BLKTYPE): Likewise.
15261 (DIRTYPE): Likewise.
15262 (FIFOTYPE): Likewise.
15263 (CONTTYPE): Likewise.
15264 (TSUID): Likewise.
15265 (TSGID): Likewise.
15266 (TSVTX): Likewise.
15267 (TUREAD): Likewise.
15268 (TUWRITE): Likewise.
15269 (TUEXEC): Likewise.
15270 (TGREAD): Likewise.
15271 (TGWRITE): Likewise.
15272 (TGEXEC): Likewise.
15273 (TOREAD): Likewise.
15274 (TOWRITE): Likewise.
15275 (TOEXEC): Likewise.
15276 [POSIX] (TSVTX): Expect constant.
15277
aa97dee1
JM
152782014-03-06 Joseph Myers <joseph@codesourcery.com>
15279
f214606a
JM
15280 * Makefile (tests): Change dependencies to ....
15281 (tests-special): ... additions to this variable.
15282 (tests): Depend on $(tests-special).
15283 * Makerules (check-abi-list): New variable.
15284 (check-abi): Depend on $(check-abi-list).
15285 [$(subdir) = elf] (tests-special): Add
15286 $(objpfx)check-abi-libc.out.
15287 [$(build-shared) = yes && subdir] (tests-special): Add
15288 $(check-abi-list).
15289 [$(build-shared) = yes && subdir] (tests): Do not depend on
15290 check-abi.
15291 * Rules (tests): Depend on $(tests-special).
15292 (xtests): Depend on $(xtests-special).
15293 * catgets/Makefile (tests): Change dependencies to ....
15294 (tests-special): ... additions to this variable.
15295 * conform/Makefile (tests): Change dependencies to ....
15296 (tests-special): ... additions to this variable.
15297 * elf/Makefile (tests): Change dependencies to ....
15298 (tests-special): ... additions to this variable.
15299 * grp/Makefile (tests): Change dependencies to ....
15300 (tests-special): ... additions to this variable.
15301 * iconv/Makefile (xtests): Change dependencies to ....
15302 (xtests-special): ... additions to this variable.
15303 * iconvdata/Makefile (tests): Change dependencies to ....
15304 (tests-special): ... additions to this variable.
15305 * intl/Makefile (tests): Change dependencies to ....
15306 (tests-special): ... additions to this variable. Also add
15307 $(objpfx)tst-gettext.out.
15308 * io/Makefile (tests): Change dependencies to ....
15309 (tests-special): ... additions to this variable.
15310 * libio/Makefile (tests): Change dependencies to ....
15311 (tests-special): ... additions to this variable.
15312 * malloc/Makefile (tests): Change dependencies to ....
15313 (tests-special): ... additions to this variable.
15314 * misc/Makefile (tests): Change dependencies to ....
15315 (tests-special): ... additions to this variable.
15316 * nptl/Makefile (tests): Change dependencies to ....
15317 (tests-special): ... additions to this variable.
15318 * nptl_db/Makefile (tests): Change dependencies to ....
15319 (tests-special): ... additions to this variable.
15320 * posix/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 * resolv/Makefile (tests): Change dependencies to ....
15325 (tests-special): ... additions to this variable.
15326 (xtests): Change dependencies to ....
15327 (xtests-special): ... additions to this variable.
15328 * stdio-common/Makefile (tests): Change dependencies to ....
15329 (tests-special): ... additions to this variable.
15330 (do-tst-unbputc): Remove target.
15331 (do-tst-printf): Likewise.
15332 * stdlib/Makefile (tests): Change dependencies to ....
15333 (tests-special): ... additions to this variable.
15334 * string/Makefile (tests): Change dependencies to ....
15335 (tests-special): ... additions to this variable.
15336 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15337 (tests-special): ... additions to this variable.
15338
81700b53
JM
15339 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15340 whole file.
15341 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15342 whole file.
15343 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15344 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15345
2ea18461
JM
15346 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15347 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15348 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15349 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15350 * conform/data/libgen.h-data [XPG3]: Likewise.
15351 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15352 * conform/data/ndbm.h-data [XPG3]: Likewise.
15353 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15354 * conform/data/netdb.h-data [XPG3]: Likewise.
15355 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15356 * conform/data/poll.h-data [XPG3]: Likewise.
15357 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15358 * conform/data/strings.h-data [XPG3]: Likewise.
15359 * conform/data/stropts.h-data [XPG3]: Likewise.
15360 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15361 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15362 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15363 Likewise.
15364 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15365 * conform/data/sys/time.h-data [XPG3]: Likewise.
15366 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15367 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15368 * conform/data/sys/un.h-data [XPG3]: Likewise.
15369 * conform/data/syslog.h-data [XPG3]: Likewise.
15370 * conform/data/ucontext.h-data [XPG3]: Likewise.
15371 * conform/data/utmpx.h-data [XPG3]: Likewise.
15372 * conform/data/varargs.h-data [UNIX98]: Enable file.
15373
355bc986
JM
15374 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15375
215db402
JM
15376 * math/libm-test.inc (struct test_f_f_data): Move expected results
15377 into structure for each rounding mode.
15378 (struct test_ff_f_data): Likewise.
15379 (struct test_ff_f_data_nexttoward): Likewise.
15380 (struct test_fi_f_data): Likewise.
15381 (struct test_fl_f_data): Likewise.
15382 (struct test_if_f_data): Likewise.
15383 (struct test_fff_f_data): Likewise.
15384 (struct test_c_f_data): Likewise.
15385 (struct test_f_f1_data): Likewise.
15386 (struct test_fF_f1_data): Likewise.
15387 (struct test_ffI_f1_data): Likewise.
15388 (struct test_c_c_data): Likewise.
15389 (struct test_cc_c_data): Likewise.
15390 (struct test_f_i_data): Likewise.
15391 (struct test_ff_i_data): Likewise.
15392 (struct test_f_l_data): Likewise.
15393 (struct test_f_L_data): Likewise.
15394 (struct test_fFF_11_data): Likewise.
15395 (RM_): New macro.
15396 (RM_FE_DOWNWARD): Likewise.
15397 (RM_FE_TONEAREST): Likewise.
15398 (RM_FE_TOWARDZERO): Likewise.
15399 (RM_FE_UPWARD): Likewise.
15400 (RUN_TEST_LOOP_f_f): Update references to expected results.
15401 (RUN_TEST_LOOP_2_f): Likewise.
15402 (RUN_TEST_LOOP_fff_f): Likewise.
15403 (RUN_TEST_LOOP_c_f): Likewise.
15404 (RUN_TEST_LOOP_f_f1): Likewise.
15405 (RUN_TEST_LOOP_fF_f1): Likewise.
15406 (RUN_TEST_LOOP_fI_f1): Likewise.
15407 (RUN_TEST_LOOP_ffI_f1): Likewise.
15408 (RUN_TEST_LOOP_c_c): Likewise.
15409 (RUN_TEST_LOOP_cc_c): Likewise.
15410 (RUN_TEST_LOOP_f_i): Likewise.
15411 (RUN_TEST_LOOP_f_i_tg): Likewise.
15412 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15413 (RUN_TEST_LOOP_f_b): Likewise.
15414 (RUN_TEST_LOOP_f_b_tg): Likewise.
15415 (RUN_TEST_LOOP_f_l): Likewise.
15416 (RUN_TEST_LOOP_f_L): Likewise.
15417 (RUN_TEST_LOOP_fFF_11): Likewise.
15418 * math/gen-libm-test.pl (parse_args): Output four copies of
15419 expected results for each test.
15420
67737b8f
JM
15421 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15422 (__ASSUME_UTIMES): Remove.
15423 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15424 (__ASSUME_UTIMES): Likewise.
15425
aa97dee1
JM
15426 * math/gen-auto-libm-tests.c: Update comment on output format.
15427 (output_for_one_input_case): Generate before-rounding and
15428 after-rounding information as conditions on output flags not
15429 floating-point format.
15430 * math/auto-libm-test-out: Regenerated.
15431 * math/gen-libm-test.pl (cond_value): New function.
15432 (or_cond_value): Use cond_value.
15433 (generate_testfile): Handle conditional exceptions.
15434
e6b6a857
JM
154352014-03-05 Joseph Myers <joseph@codesourcery.com>
15436
2f0a0f44
JM
15437 * math/libm-test.inc (max_valid_error): New variable.
15438 (init_max_error): Take new argument specifying whether function
15439 results are exactly determined. Set max_valid_error and bound
15440 other variables for errors based on this argument.
15441 (set_max_error): Do not record results above max_valid_error.
15442 (check_float_internal): Only accept errors of up to 0.5ulps if
15443 also at most max_valid_error.
15444 (START): Take new argument EXACT and pass it to init_max_error.
15445 (acos_test): Update call to START.
15446 (acos_test_tonearest): Likewise.
15447 (acos_test_towardzero): Likewise.
15448 (acos_test_downward): Likewise.
15449 (acos_test_upward): Likewise.
15450 (acosh_test): Likewise.
15451 (asin_test): Likewise.
15452 (asin_test_tonearest): Likewise.
15453 (asin_test_towardzero): Likewise.
15454 (asin_test_downward): Likewise.
15455 (asin_test_upward): Likewise.
15456 (asinh_test): Likewise.
15457 (atan_test): Likewise.
15458 (atanh_test): Likewise.
15459 (atan2_test): Likewise.
15460 (cabs_test): Likewise.
15461 (cacos_test): Likewise.
15462 (cacosh_test): Likewise.
15463 (carg_test): Likewise.
15464 (casin_test): Likewise.
15465 (casinh_test): Likewise.
15466 (catan_test): Likewise.
15467 (catanh_test): Likewise.
15468 (cbrt_test): Likewise.
15469 (ccos_test): Likewise.
15470 (ccosh_test): Likewise.
15471 (ceil_test): Likewise.
15472 (cexp_test): Likewise.
15473 (cimag_test): Likewise.
15474 (clog_test): Likewise.
15475 (clog10_test): Likewise.
15476 (conj_test): Likewise.
15477 (copysign_test): Likewise.
15478 (cos_test): Likewise.
15479 (cos_test_tonearest): Likewise.
15480 (cos_test_towardzero): Likewise.
15481 (cos_test_downward): Likewise.
15482 (cos_test_upward): Likewise.
15483 (cosh_test): Likewise.
15484 (cosh_test_tonearest): Likewise.
15485 (cosh_test_towardzero): Likewise.
15486 (cosh_test_downward): Likewise.
15487 (cosh_test_upward): Likewise.
15488 (cpow_test): Likewise.
15489 (cproj_test): Likewise.
15490 (creal_test): Likewise.
15491 (csin_test): Likewise.
15492 (csinh_test): Likewise.
15493 (csqrt_test): Likewise.
15494 (ctan_test): Likewise.
15495 (ctan_test_tonearest): Likewise.
15496 (ctan_test_towardzero): Likewise.
15497 (ctan_test_downward): Likewise.
15498 (ctan_test_upward): Likewise.
15499 (ctanh_test): Likewise.
15500 (ctanh_test_tonearest): Likewise.
15501 (ctanh_test_towardzero): Likewise.
15502 (ctanh_test_downward): Likewise.
15503 (ctanh_test_upward): Likewise.
15504 (erf_test): Likewise.
15505 (erfc_test): Likewise.
15506 (exp_test): Likewise.
15507 (exp_test_tonearest): Likewise.
15508 (exp_test_towardzero): Likewise.
15509 (exp_test_downward): Likewise.
15510 (exp_test_upward): Likewise.
15511 (exp10_test): Likewise.
15512 (exp10_test_tonearest): Likewise.
15513 (exp10_test_towardzero): Likewise.
15514 (exp10_test_downward): Likewise.
15515 (exp10_test_upward): Likewise.
15516 (pow10_test): Likewise.
15517 (exp2_test): Likewise.
15518 (expm1_test): Likewise.
15519 (expm1_test_tonearest): Likewise.
15520 (expm1_test_towardzero): Likewise.
15521 (expm1_test_downward): Likewise.
15522 (expm1_test_upward): Likewise.
15523 (fabs_test): Likewise.
15524 (fdim_test): Likewise.
15525 (floor_test): Likewise.
15526 (fma_test): Likewise.
15527 (fma_test_towardzero): Likewise.
15528 (fma_test_downward): Likewise.
15529 (fma_test_upward): Likewise.
15530 (fmax_test): Likewise.
15531 (fmin_test): Likewise.
15532 (fmod_test): Likewise.
15533 (fpclassify_test): Likewise.
15534 (frexp_test): Likewise.
15535 (hypot_test): Likewise.
15536 (ilogb_test): Likewise.
15537 (isfinite_test): Likewise.
15538 (finite_test): Likewise.
15539 (isgreater_test): Likewise.
15540 (isgreaterequal_test): Likewise.
15541 (isinf_test): Likewise.
15542 (isless_test): Likewise.
15543 (islessequal_test): Likewise.
15544 (islessgreater_test): Likewise.
15545 (isnan_test): Likewise.
15546 (isnormal_test): Likewise.
15547 (issignaling_test): Likewise.
15548 (isunordered_test): Likewise.
15549 (j0_test): Likewise.
15550 (j1_test): Likewise.
15551 (jn_test): Likewise.
15552 (ldexp_test): Likewise.
15553 (lgamma_test): Likewise.
15554 (gamma_test): Likewise.
15555 (lrint_test): Likewise.
15556 (lrint_test_tonearest): Likewise.
15557 (lrint_test_towardzero): Likewise.
15558 (lrint_test_downward): Likewise.
15559 (lrint_test_upward): Likewise.
15560 (llrint_test): Likewise.
15561 (llrint_test_tonearest): Likewise.
15562 (llrint_test_towardzero): Likewise.
15563 (llrint_test_downward): Likewise.
15564 (llrint_test_upward): Likewise.
15565 (log_test): Likewise.
15566 (log10_test): Likewise.
15567 (log1p_test): Likewise.
15568 (log2_test): Likewise.
15569 (logb_test): Likewise.
15570 (logb_test_downward): Likewise.
15571 (lround_test): Likewise.
15572 (llround_test): Likewise.
15573 (modf_test): Likewise.
15574 (nearbyint_test): Likewise.
15575 (nextafter_test): Likewise.
15576 (nexttoward_test): Likewise.
15577 (pow_test): Likewise.
15578 (pow_test_tonearest): Likewise.
15579 (pow_test_towardzero): Likewise.
15580 (pow_test_downward): Likewise.
15581 (pow_test_upward): Likewise.
15582 (remainder_test): Likewise.
15583 (drem_test): Likewise.
15584 (remainder_test_tonearest): Likewise.
15585 (drem_test_tonearest): Likewise.
15586 (remainder_test_towardzero): Likewise.
15587 (drem_test_towardzero): Likewise.
15588 (remainder_test_downward): Likewise.
15589 (drem_test_downward): Likewise.
15590 (remainder_test_upward): Likewise.
15591 (drem_test_upward): Likewise.
15592 (remquo_test): Likewise.
15593 (rint_test): Likewise.
15594 (rint_test_tonearest): Likewise.
15595 (rint_test_towardzero): Likewise.
15596 (rint_test_downward): Likewise.
15597 (rint_test_upward): Likewise.
15598 (round_test): Likewise.
15599 (scalb_test): Likewise.
15600 (scalbn_test): Likewise.
15601 (scalbln_test): Likewise.
15602 (signbit_test): Likewise.
15603 (sin_test): Likewise.
15604 (sin_test_tonearest): Likewise.
15605 (sin_test_towardzero): Likewise.
15606 (sin_test_downward): Likewise.
15607 (sin_test_upward): Likewise.
15608 (sincos_test): Likewise.
15609 (sinh_test): Likewise.
15610 (sinh_test_tonearest): Likewise.
15611 (sinh_test_towardzero): Likewise.
15612 (sinh_test_downward): Likewise.
15613 (sinh_test_upward): Likewise.
15614 (sqrt_test): Likewise.
15615 (sqrt_test_tonearest): Likewise.
15616 (sqrt_test_towardzero): Likewise.
15617 (sqrt_test_downward): Likewise.
15618 (sqrt_test_upward): Likewise.
15619 (tan_test): Likewise.
15620 (tan_test_tonearest): Likewise.
15621 (tan_test_towardzero): Likewise.
15622 (tan_test_downward): Likewise.
15623 (tan_test_upward): Likewise.
15624 (tanh_test): Likewise.
15625 (tgamma_test): Likewise.
15626 (trunc_test): Likewise.
15627 (y0_test): Likewise.
15628 (y1_test): Likewise.
15629 (yn_test): Likewise.
15630 (significand_test): Likewise.
15631
e6b6a857
JM
15632 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15633 individual tests in comment.
15634 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15635 (prev_max_error): New variable.
15636 (prev_real_max_error): Likewise.
15637 (prev_imag_max_error): Likewise.
15638 (compare_ulp_data): Don't refer to test names in comment.
15639 (find_test_ulps): Remove function.
15640 (find_function_ulps): Likewise.
15641 (find_complex_function_ulps): Likewise.
15642 (init_max_error): Take function name as argument. Look up ulps
15643 for that function.
15644 (print_ulps): Remove function.
15645 (print_max_error): Use prev_max_error instead of calling
15646 find_function_ulps.
15647 (print_complex_max_error): Use prev_real_max_error and
15648 prev_imag_max_error instead of calling find_complex_function_ulps.
15649 (check_float_internal): Take max_ulp parameter instead of calling
15650 find_test_ulps. Don't call print_ulps.
15651 (check_float): Update call to check_float_internal.
15652 (check_complex): Update calls to check_float_internal.
15653 (START): Pass argument to init_max_error.
15654 * math/gen-libm-test.pl (%results): Don't include "kind"
15655 information.
15656 (parse_ulps): Don't handle ulps of individual tests.
15657 (print_ulps_file): Likewise.
15658 (output_ulps): Likewise.
15659 * math/README.libm-test: Update.
15660 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15661 individual tests.
15662 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15663 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15664 * sysdeps/arm/libm-test-ulps: Likewise.
15665 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15666 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15667 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15668 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15669 * sysdeps/microblaze/libm-test-ulps: Likewise.
15670 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15671 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15672 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15673 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15674 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15675 * sysdeps/sh/libm-test-ulps: Likewise.
15676 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15677 * sysdeps/tile/libm-test-ulps: Likewise.
15678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15679
45adef3c
JM
156802014-03-04 Joseph Myers <joseph@codesourcery.com>
15681
15682 * math/libm-test.inc (print_complex_max_error): Check separately
15683 whether real and imaginary errors are within allowed range and
15684 pass 0 to print_complex_function_ulps instead of value within
15685 allowed range.
15686
000232b9
SP
156872014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15688
d4b17258
SP
15689 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15690 formatting.
15691 (get_handles_fopen): Likewise.
15692 (do_write_test): Likewise.
15693
091eff71
SP
15694 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15695
fa3cd248
SP
15696 * libio/fileops.c (do_ftell): Use cached offset when
15697 available.
15698 * libio/iofwide.c (do_ftell_wide): Likewise.
15699 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15700 _IO_file_attach.
15701 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15702
000232b9
SP
15703 [BZ #16532]
15704 * libio/libioP.h (get_file_offset): New function.
15705 * libio/fileops.c (get_file_offset): Likewise.
15706 (do_ftell): Likewise.
15707 (_IO_new_file_seekoff): Split out ftell logic.
15708 * libio/wfileops.c (do_ftell_wide): Likewise.
15709 (_IO_wfile_seekoff): Split out ftell logic.
15710 * libio/tst-ftell-active-handler.c: New test case.
15711 * libio/Makefile (tests): Add it.
15712
116f4d1a
RM
157132014-03-03 Roland McGrath <roland@hack.frob.com>
15714
15715 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15716 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15717
532a6035
SP
157182014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15719
15720 [BZ #16639]
15721 * nscd/connections.c (nscd_init): Call do_exit.
15722 (start_threads): Call do_exit and notify_parent.
15723 (begin_drop_privileges): Call do_exit.
15724 (finish_drop_privileges): Likewise.
15725 * nscd/selinux.c (preserve_capabilities): Likewise.
15726 (install_real_capabilities): Likewise.
15727 (nscd_selinux_enabled): Likewise.
15728 (avc_create_thread): Likewise.
15729 (avc_alloc_lock): Likewise.
15730 (nscd_avc_init): Likewise.
15731 * nscd/nscd.c (parent_fd): New static variable.
15732 (main): Create a pipe between parent and child processes.
15733 Skip closing parent_fd.
15734 (monitor_child): New function.
15735 (do_exit): Likewise.
15736 (notify_parent): Likewise.
15737 * nscd/nscd.h (notify_parent): Likewise.
15738 (do_exit): Likewise.
15739
d6285c9f
CD
157402014-03-03 Carlos O'Donell <carlos@redhat.com>
15741
15742 * malloc/malloc.c (__libc_calloc): Revert last change.
15743
2b85d2a0
AZ
157442014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15745
15746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15747
c7debbdf
RS
157482014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15749
15750 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15752 implementation.
15753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15754 (__libc_ifunc_impl_list): Likewise.
15755 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15756 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15757 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15758 * string/strrchr.c: Define STRRCHR.
15759
235eed86
OB
157602014-02-28 Ondřej Bílka <neleai@seznam.cz>
15761
15762 * benchtest/bench-strtok.c (simple_strtok): Delete.
15763 (strtok_string): Use as benchmark.
15764 * string/strtok (STRTOK): New macro.
15765
8e25d1e7
CD
157662014-02-28 Carlos O'Donell <carlos@redhat.com>
15767
ef563f92
CD
15768 * manual/threads.texi: Add header and standard comments to all
15769 functions.
15770
8e25d1e7
CD
15771 * elf/dl-lookup.c (check_match): New function.
15772 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15773 (do_lookup_x): Remove nested function check_match. Use non-nested
15774 function check_match.
15775
ff71cc37
RM
157762014-02-28 Roland McGrath <roland@hack.frob.com>
15777
f08e9a26
RM
15778 * csu/Makefile (generated, before-compile): Use += rather than =.
15779 * catgets/Makefile (generated, generated-dirs): Likewise.
15780 * debug/Makefile (generated): Likewise.
15781 * dlfcn/Makefile (generated): Likewise.
15782 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15783 * iconvdata/Makefile (before-compile, generated): Likewise.
15784 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15785 * libio/Makefile (generated): Likewise.
15786 * malloc/Makefile (generated): Likewise.
15787 * manual/Makefile (generated, generated-dirs): Likewise.
15788 * misc/Makefile (generated): Likewise.
15789 * posix/Makefile (generated): Likewise.
15790 * resolv/Makefile (generated): Likewise.
15791 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15792 * timezone/Makefile (generated, generated-dirs): Likewise.
15793
ff71cc37
RM
15794 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15795
fe13a20c
AZ
157962014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15797
57f41c40
AS
15798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15799 power8 implementation.
15800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15801 file: POWER8 llround ifunc implementation.
15802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15803 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15804 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15805 POWER8 llround implementation.
15806
57f41c40
AS
15807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15808 power8 implementation.
15809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15810 file: POWER8 llrint ifunc implementation.
15811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15812 Add POWER8 implementation.
1ad8950a
AZ
15813 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15814 POWER8 llrint implementation.
15815
57f41c40
AS
15816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15817 power8 implementation.
15818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15819 file: POWER8 finite ifunc implementation.
15820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15821 Add POWER8 implementation.
cac626d6
AZ
15822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15823 Likewise.
15824 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15825 POWER8 finite implementation.
15826 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15827
57f41c40
AS
15828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15829 power8 implementation.
15830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15831 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15833 POWER8 implementation.
15834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15835 Likewise.
57f41c40
AS
15836 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15837 isinf implementation.
4393fc11
AZ
15838 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15839
57f41c40
AS
15840 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15841 (INIT_ARCH): Add hwcap2 initialization.
15842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15843 power8 implementation.
15844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15845 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15847 POWER8 implementation.
15848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15849 Likewise.
57f41c40
AS
15850 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15851 isnan implementation.
487972ae
AZ
15852 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15853
7d92b787
JY
158542014-02-27 Joey Ye <joey.ye@arm.com>
15855
15856 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15857 (_FP_NANFRAC_Q): Set to zero.
15858
1cadc858
SP
158592014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15860
15861 [BZ #16623]
15862 * math/auto-libm-test-in: New test inputs.
15863 * math/auto-libm-test-out: Regenerate.
15864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15865 and DA.
15866 (__cos): Likewise.
15867 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15868
f8c17e79
JM
158692014-02-27 Joseph Myers <joseph@codesourcery.com>
15870
15871 * scripts/evaluate-test.sh: Take new argument indicating whether
15872 failure is expected.
15873 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15874 indicating whether failure is expected.
15875 * conform/Makefile (test-xfail-run-conformtest): New variable.
15876 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15877 level.
15878 * posix/Makefile (test-xfail-annexc): New variable.
15879 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15880
a5f891ac
JM
158812014-02-26 Joseph Myers <joseph@codesourcery.com>
15882
15883 * argp/Makefile: Include Makeconfig immediately after defining
15884 subdir.
15885 * assert/Makefile: Likewise.
15886 * benchtests/Makefile: Likewise.
15887 * catgets/Makefile: Likewise.
15888 * conform/Makefile: Likewise.
15889 * crypt/Makefile: Likewise.
15890 * csu/Makefile: Likewise.
15891 (all): Remove target.
15892 * ctype/Makefile: Include Makeconfig immediately after defining
15893 subdir.
15894 * debug/Makefile: Likewise.
15895 * dirent/Makefile: Likewise.
15896 * dlfcn/Makefile: Likewise.
15897 * gmon/Makefile: Likewise.
15898 * gnulib/Makefile: Likewise.
15899 * grp/Makefile: Likewise.
15900 * gshadow/Makefile: Likewise.
15901 * hesiod/Makefile: Likewise.
15902 * hurd/Makefile: Likewise.
15903 (all): Remove target.
15904 * iconvdata/Makefile: Include Makeconfig immediately after
15905 defining subdir.
15906 * inet/Makefile: Likewise.
15907 * intl/Makefile: Likewise.
15908 * io/Makefile: Likewise.
15909 * libio/Makefile: Likewise.
15910 (all): Remove target.
15911 * locale/Makefile: Include Makeconfig immediately after defining
15912 subdir.
15913 * login/Makefile: Likewise.
15914 * mach/Makefile: Likewise.
15915 (all): Remove target.
15916 * malloc/Makefile: Include Makeconfig immediately after defining
15917 subdir.
15918 (all): Remove target.
15919 * manual/Makefile: Include Makeconfig immediately after defining
15920 subdir.
15921 * math/Makefile: Likewise.
15922 * misc/Makefile: Likewise.
15923 * nis/Makefile: Likewise.
15924 * nss/Makefile: Likewise.
15925 * po/Makefile: Likewise.
15926 (all): Remove target.
15927 * posix/Makefile: Include Makeconfig immediately after defining
15928 subdir.
15929 * pwd/Makefile: Likewise.
15930 * resolv/Makefile: Likewise.
15931 * resource/Makefile: Likewise.
15932 * rt/Makefile: Likewise.
15933 * setjmp/Makefile: Likewise.
15934 * shadow/Makefile: Likewise.
15935 * signal/Makefile: Likewise.
15936 * socket/Makefile: Likewise.
15937 * soft-fp/Makefile: Likewise.
15938 * stdio-common/Makefile: Likewise.
15939 * stdlib/Makefile: Likewise.
15940 * streams/Makefile: Likewise.
15941 * string/Makefile: Likewise.
15942 * sunrpc/Makefile: Likewise.
15943 (all): Remove target.
15944 * sysvipc/Makefile: Include Makeconfig immediately after defining
15945 subdir.
15946 * termios/Makefile: Likewise.
15947 * time/Makefile: Likewise.
15948 * timezone/Makefile: Likewise.
15949 (all): Remove target.
15950 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15951 subdir.
15952 * wctype/Makefile: Likewise.
15953
5b456e9d
SE
159542014-02-26 Steve Ellcey <sellcey@mips.com>
15955
15956 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15957 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15958 (libc_feholdexcept_setround_mips): Ditto.
15959 (libc_feholdsetround): New.
15960 (libc_feholdsetroundf): New.
15961 (libc_feholdsetroundl): New.
15962 (libc_feupdateenv_test_mips): New.
15963 (libc_feupdateenv_test): New.
15964 (libc_feupdateenv_testf): New.
15965 (libc_feupdateenv_testl): New.
15966 (libc_feresetround): New.
15967 (libc_feresetroundf): New.
15968 (libc_feresetroundl): New.
15969 (libc_fetestexcept_mips): New.
15970 (libc_fetestexcept): New.
15971 (libc_fetestexceptf): New.
15972 (libc_fetestexceptl): New.
15973 (HAVE_RM_CTX): New.
15974 (libc_feholdexcept_setround_mips_ctx): New.
15975 (libc_feholdexcept_setround_ctx): New.
15976 (libc_feholdexcept_setroundf_ctx): New.
15977 (libc_feholdexcept_setroundl_ctx): New.
15978 (libc_fesetenv_mips_ctx): New.
15979 (libc_fesetenv_ctx): New.
15980 (libc_fesetenv_ctxf): New.
15981 (libc_fesetenv_ctxl): New.
15982 (libc_feupdateenv_mips_ctx): New.
15983 (libc_feupdateenv_ctx): New.
15984 (libc_feupdateenvf_ctx): New.
15985 (libc_feupdateenvl_ctx): New.
15986 (libc_feholdsetround_mips_ctx): New.
15987 (libc_feholdsetround_ctx): New.
15988 (libc_feholdsetroundf_ctx): New.
15989 (libc_feholdsetroundl_ctx): New.
15990 (libc_feresetround_mips_ctx): New.
15991 (libc_feresetround_ctx): New.
15992 (libc_feresetroundf_ctx): New.
15993 (libc_feresetroundl_ctx): New.
15994
085d0e35
CD
159952014-02-26 Carlos O'Donell <carlos@redhat.com>
15996
f067bf1f
CD
15997 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15998
085d0e35
CD
15999 * manual/ipc.texi: New file.
16000 * manual/Makefile (chapters): Add ipc.
16001 * manual/job.texi: Add "Inter-Process Communication" to next.
16002 * manual/process.texi: Add "Inter-Process Communication" to prev.
16003
86e58c08
AZ
160042014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005
16006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16007
4248f0da
OB
160082014-02-26 Ondřej Bílka <neleai@seznam.cz>
16009
16010 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16011
cf822e3c
OB
16012 * manual/arith.texi: Fix spaces after sentences.
16013 * manual/charset.texi: Likewise.
16014 * manual/errno.texi: Likewise.
16015 * manual/install.texi: Likewise.
16016 * manual/llio.texi: Likewise.
16017 * manual/locale.texi: Likewise.
16018 * manual/maint.texi: Likewise.
16019 * manual/math.texi: Likewise.
16020 * manual/memory.texi: Likewise.
16021 * manual/message.texi: Likewise.
16022 * manual/probes.texi: Likewise.
16023 * manual/resource.texi: Likewise.
16024 * manual/signal.texi: Likewise.
16025 * manual/socket.texi: Likewise.
16026 * manual/stdio.texi: Likewise.
16027 * manual/string.texi: Likewise.
16028 * manual/time.texi: Likewise.
16029 * manual/users.texi: Likewise.
16030
ade40b10
CD
160312014-02-25 Carlos O'Donell <carlos@redhat.com>
16032
16033 [BZ #16632]
16034 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16035 _DEFAULT_SOURCE is defined.
16036
d0503676
CD
160372014-02-25 Ulrich Drepper <drepper@gmail.com>
16038 Carlos O'Donell <carlos@redhat.com>
16039
16040 [BZ #16613]
16041 * elf/dl-tls.c (_dl_count_modids): New function.
16042 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16043 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16044 audit library and increment generation counter.
16045 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16046 * elf/tst-audit9.c: New file.
16047 * elf/tst-auditmod9a.c: New file.
16048 * elf/tst-auditmod9b.c: New file.
16049 * elf/Makefile: Add rules to build and run tst-audit9.
16050
4cbf380c
FW
160512014-02-25 Florian Weimer <fweimer@redhat.com>
16052
16053 [BZ #15347]
16054 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16055
80a56cc3
WN
160562014-02-25 Will Newton <will.newton@linaro.org>
16057
16058 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16059 (__longjmp): Restore sp and lr before restoring callee
16060 saved registers. Add longjmp and longjmp_target
16061 SystemTap probe point.
16062 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16063 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16064 Define to zero to match jmpbuf layout.
16065 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16066 (__sigsetjmp): Save sp and lr before saving callee
16067 saved registers. Add setjmp SystemTap probe point.
16068
3ea0f74e
SL
160692014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16070
16071 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16072
b04acb26
AS
160732014-02-24 Andreas Schwab <schwab@suse.de>
16074
16075 [BZ #15804]
16076 * elf/pldd.c (wait_for_ptrace_stop): New function.
16077 (main): Call it after attaching.
16078
098ad55c
RM
160792014-02-22 Roland McGrath <roland@hack.frob.com>
16080
d4ec6ae1
RM
16081 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16082 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16083 Versions files is now verboten.
16084 * hurd/Versions (libc: GLIBC_2.0):
16085 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16086 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16087 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16088 * mach/Versions: Likewise.
16089
098ad55c
RM
16090 * csu/Versions: Remove unused %include.
16091 * resolv/Versions: Likewise.
16092
acd7f096
JM
160932014-02-21 Joseph Myers <joseph@codesourcery.com>
16094
f0881698
JM
16095 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16096 ($(objpfx)check-local-headers.out): Likewise.
16097 ($(objpfx)begin-end-check.out): Likewise.
16098 * Makerules (check-abi-%.out): Likewise.
16099 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16100 ($(objpfx)test2.cat): Likewise.
16101 ($(objpfx)de/libc.cat): Likewise.
16102 ($(objpfx)test-gencat.out): Likewise.
16103 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16104 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16105 ($(objpfx)noload-mem): Likewise.
16106 ($(objpfx)tst-pathopt.out): Likewise.
16107 ($(objpfx)tst-rtld-load-self.out): Likewise.
16108 ($(objpfx)tst-array1-cmp.out): Likewise.
16109 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16110 ($(objpfx)tst-array2-cmp.out): Likewise.
16111 ($(objpfx)tst-array3-cmp.out): Likewise.
16112 ($(objpfx)tst-array4-cmp.out): Likewise.
16113 ($(objpfx)tst-array5-cmp.out): Likewise.
16114 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16115 ($(objpfx)check-textrel.out): Likewise.
16116 ($(objpfx)check-execstack.out): Likewise.
16117 ($(objpfx)check-localplt.out): Likewise.
16118 ($(objpfx)order2-cmp.out): Likewise.
16119 ($(objpfx)tst-leaks1-mem): Likewise.
16120 ($(objpfx)tst-leaks1-static-mem): Likewise.
16121 ($(objpfx)tst-initorder-cmp.out): Likewise.
16122 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16123 ($(objpfx)tst-unused-dep.out): Likewise.
16124 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16125 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16126 * iconv/Makefile (test-iconvconfig): Likewise.
16127 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16128 ($(objpfx)iconv-test.out): Likewise.
16129 ($(objpfx)tst-tables.out): Likewise.
16130 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16131 ($(objpfx)tst-gettext.out): Likewise.
16132 ($(objpfx)tst-translit.out): Likewise.
16133 ($(objpfx)tst-gettext2.out): Likewise.
16134 ($(objpfx)tst-gettext4.out): Likewise.
16135 ($(objpfx)tst-gettext6.out): Likewise.
16136 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16137 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16138 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16139 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16140 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16141 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16142 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16143 ($(objpfx)wordexp-tst.out): Likewise.
16144 ($(objpfx)annexc.out): Likewise.
16145 ($(objpfx)tst-fnmatch-mem): Likewise.
16146 ($(objpfx)bug-regex2-mem): Likewise.
16147 ($(objpfx)bug-regex14-mem): Likewise.
16148 ($(objpfx)bug-regex21-mem): Likewise.
16149 ($(objpfx)bug-regex31-mem): Likewise.
16150 ($(objpfx)tst-vfork3-mem): Likewise.
16151 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16152 ($(objpfx)tst-pcre-mem): Likewise.
16153 ($(objpfx)tst-boost-mem): Likewise.
16154 ($(objpfx)tst-getconf.out): Likewise.
16155 ($(objpfx)bug-ga2-mem): Likewise.
16156 ($(objpfx)bug-glob2-mem): Likewise.
16157 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16158 ($(objpfx)mtrace-tst-leaks2): Likewise.
16159 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16160 ($(objpfx)tst-printf.out): Likewise.
16161 ($(objpfx)tst-setvbuf1.out): Likewise.
16162 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16163 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16164 ($(objpfx)tst-fmtmsg.out): Likewise.
16165 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16166 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16167
acd7f096
JM
16168 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16169 * bits/sigaction.h [__USE_MISC]: Likewise.
16170 * bits/waitstatus.h: Update #endif comments.
16171 * ctype/ctype.h: Likewise.
16172 * dirent/dirent.h: Likewise.
16173 [__USE_MISC]: Remove redundant conditionals.
16174 * grp/grp.h: Update #endif comments.
16175 [__USE_GNU]: Remove redundant conditionals.
16176 [__USE_MISC]: Likewise.
16177 * inet/netinet/in.h [__USE_GNU]: Likewise.
16178 * io/sys/stat.h [__USE_MISC]: Likewise.
16179 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16180 * libio/bits/stdio.h: Update #endif comments.
16181 [__USE_MISC]: Remove redundant conditionals.
16182 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16183 * libio/stdio.h: Update #endif comments.
16184 [__USE_MISC]: Remove redundant conditionals.
16185 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16186 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16187 * math/math.h: Update #else and #endif comments.
16188 [__USE_MISC]: Remove redundant conditionals.
16189 * misc/sys/uio.h: Update #endif comments.
16190 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16191 * posix/glob.h [__USE_MISC]: Likewise.
16192 * posix/sys/types.h: Update #endif comments.
16193 [__USE_MISC]: Remove redundant conditionals.
16194 * posix/sys/wait.h: Update #endif comments.
16195 [__USE_MISC]: Remove redundant conditionals.
16196 * posix/unistd.h: Update #endif comments.
16197 [__USE_MISC]: Remove redundant conditionals.
16198 * pwd/pwd.h [__USE_GNU]: Likewise.
16199 [__USE_MISC]: Likewise.
16200 * resolv/netdb.h [__USE_GNU]: Likewise.
16201 * signal/signal.h: Update #endif comments.
16202 [__USE_MISC]: Remove redundant conditionals.
16203 * stdlib/stdlib.h: Update #else and #endif comments.
16204 [__USE_MISC]: Remove redundant conditionals.
16205 [__USE_GNU]: Likewise.
16206 * string/bits/string2.h [__USE_MISC]: Likewise.
16207 * string/string.h: Update #endif comments.
16208 [__USE_MISC]: Remove redundant conditionals.
16209 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16210 Likewise.
16211 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16212 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16213 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16214 Likewise.
16215 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16216 Likewise.
16217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16218 comments.
16219 [__USE_MISC]: Remove redundant conditionals.
16220 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16221 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16222 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16223 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16224 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16225 Likewise.
16226 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16227 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16228 Likewise.
16229 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16230 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16231 Likewise.
16232 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16233 Likewise.
16234 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16235 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16236 Likewise.
16237 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16238 Likewise.
16239 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16240 * sysdeps/x86/bits/string.h: Update #endif comments.
16241 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16242 conditionals.
16243 * time/sys/time.h: Update #endif comments.
16244 * time/time.h: Likewise.
16245 [__USE_MISC]: Remove redundant conditionals.
16246
a5d82e4e
YG
162472014-02-21 Yury Gribov <y.gribov@samsung.com>
16248
16249 [BZ #16600]
16250 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16251
9a80491d
AS
162522014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16253
16254 * Versions.def (librt): Add GLIBC_2.17.
16255
105fa381
AC
162562014-02-21 Adam Conrad <adconrad@0c3.net>
16257
16258 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16259 synonym for _SYS_AUXV_H to allow direct inclusion.
16260 * sysdeps/sparc/bits/hwcap.h: Likewise.
16261 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16262 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16263 * sysdeps/sparc/sysdep.h: Likewise.
16264
b8cd1c4e
SP
162652014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16266
16267 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16268
bd939d23
RS
162692014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16270
16271 * benchtests/bench-strrchr.c: Print length instead of position.
16272
5d7b57ca
JM
162732014-02-20 Joseph Myers <joseph@codesourcery.com>
16274
bc688c10
JM
16275 [BZ #16611]
16276 * sysdeps/unix/sysv/linux/kernel-features.h
16277 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16278 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16279 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16280 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16281 Likewise.
16282 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16283 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16284 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16285 (__ASSUME_SENDMMSG): Define instead of using previous
16286 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16287 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16288 (__ASSUME_SENDMMSG_SYSCALL): Define.
16289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16290 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16291 Likewise.
16292 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16293 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16294 Likewise.
16295 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16296 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16297 Likewise.
16298 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16299 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16300 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16301 [__ASSUME_SENDMMSG]: Change conditionals to
16302 [__ASSUME_SENDMMSG_SOCKETCALL].
16303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16304 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16305 Define.
16306 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16307 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16308 Likewise.
16309 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16310 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16311 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16312 [!__ASSUME_SENDMMSG]: Change conditional to
16313 [!__ASSUME_SENDMMSG_SOCKETCALL].
16314 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16315 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16316 Define.
16317
0e31b18c
JM
16318 [BZ #16610]
16319 * sysdeps/unix/sysv/linux/kernel-features.h
16320 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16321 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16322 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16323 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16324 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16325 [__i386__ || __sparc__]
16326 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16327 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16328 (__ASSUME_RECVMMSG): Define instead of using previous
16329 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16330 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16331 (__ASSUME_RECVMMSG_SYSCALL): Define.
16332 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16333 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16334 Likewise.
16335 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16337 Likewise.
16338 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16339 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16340 Likewise.
16341 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16342 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16343 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16344 [__ASSUME_RECVMMSG]: Change condition to
16345 [__ASSUME_RECVMMSG_SOCKETCALL].
16346 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16347 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16348 Define.
16349 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16350 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16351 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16352 Likewise.
16353 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16354 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16355 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16356 [!__ASSUME_RECVMMSG]: Change condition to
16357 [!__ASSUME_RECVMMSG_SOCKETCALL].
16358 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16359 (__ASSUME_RECVMMSG_SYSCALL): Define.
16360
dd481ccf
JM
16361 [BZ #16609]
16362 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16363 __powerpc__ || __s390__ || __sh__ || __sparc__]
16364 (__ASSUME_SOCKETCALL): Define.
16365 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16366 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16367 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16368 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16369 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16370 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16371 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16372 (__ASSUME_ACCEPT4): Define instead of using previous
16373 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16374 __powerpc__ || __sparc__ || __s390__)] condition.
16375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16376 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16377 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16378 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16379 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16380 [!__ASSUME_ACCEPT4]: Change condition to
16381 [!__ASSUME_ACCEPT4_SOCKETCALL].
16382 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16383 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16384 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16385 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16386 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16387 __ASSUME_ACCEPT4_SYSCALL.
16388 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16389 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16390 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16391 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16392 __ASSUME_ACCEPT4_SYSCALL.
16393 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16394 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16395 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16396 [__ASSUME_ACCEPT4]: Change condition to
16397 [__ASSUME_ACCEPT4_SOCKETCALL].
16398 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16399 (__ASSUME_SOCKETCALL): Define.
16400 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16402 (__ASSUME_SOCKETCALL): Define.
16403 (__ASSUME_ACCEPT4): Remove.
16404 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16405 Define.
16406 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16407 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16408 Likewise.
16409 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16410 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16411
5d7b57ca
JM
16412 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16413 macro.
16414 (HWCAP_ARM_LPAE): Likewise.
16415 (HWCAP_ARM_EVTSTRM): Likewise.
16416 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16417 Add vpfd32, lpae and evtstrm.
16418 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16419 Increase to 22.
16420
63689d61
JM
164212014-02-19 Joseph Myers <joseph@codesourcery.com>
16422
16423 * math/auto-libm-test-in: Add tests of clog10.
16424 * math/auto-libm-test-out: Regenerated.
16425 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16426 * sysdeps/i386/fpu/libm-test-ulps: Update.
16427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16428
ab09bf61
AS
164292014-02-18 Andreas Schwab <schwab@suse.de>
16430
16431 [BZ #16574]
16432 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16433 Store non-zero if the second buffer was newly allocated.
16434 (send_dg): Likewise.
16435 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16436 to send_vc and send_dg.
16437 (res_nsend): Pass NULL for ansp2_malloced.
16438 * resolv/res_query.c (__libc_res_nquery): Add parameter
16439 answerp2_malloced and pass it down to __libc_res_nsend.
16440 (res_nquery): Pass additional NULL to __libc_res_nquery.
16441 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16442 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16443 second answer buffer if answerp2_malloced was set.
16444 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16445 (__libc_res_nquerydomain): Add parameter
16446 answerp2_malloced and pass it down to __libc_res_nquery.
16447 (res_nquerydomain): Pass additional NULL to
16448 __libc_res_nquerydomain.
16449 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16450 additional NULL to __libc_res_nsend and __libc_res_nquery.
16451 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16452 additional NULL to __libc_res_nsearch.
16453 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16454 parameter of __libc_res_nsearch to check for separately allocated
16455 second buffer.
16456 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16457 __libc_res_nquery.
16458 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16459 additional NULL to __libc_res_nquery.
16460 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16461 __libc_res_nsearch.
16462 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16463 * include/resolv.h: Update prototypes of __libc_res_nquery,
16464 __libc_res_nsearch, __libc_res_nsend.
16465
a4fb7861
JM
164662014-02-18 Joseph Myers <joseph@codesourcery.com>
16467
c6af2d89
JM
16468 * math/auto-libm-test-in: Add tests of fma.
16469 * math/auto-libm-test-out: Regenerated.
16470 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16471 (fma_towardzero_test_data): Likewise.
16472 (fma_downward_test_data): Likewise.
16473 (fma_upward_test_data): Likewise.
16474 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16475 mpc_mode.
16476 (rounding_modes): Add values for new field.
16477 (func_calc_method): Add value mpfr_fff_f.
16478 (func_calc_desc): Add mpfr_fff_f union field.
16479 (test_function): Add field exact_args.
16480 (FUNC): Add macro argument EXACT_ARGS.
16481 (FUNC_mpfr_f_f): Update call to FUNC.
16482 (FUNC_mpfr_f_f): Likewise.
16483 (FUNC_mpfr_ff_f): Likewise.
16484 (FUNC_mpfr_if_f): Likewise.
16485 (FUNC_mpc_c_f): Likewise.
16486 (FUNC_mpc_c_c): Likewise.
16487 (test_functions): Add fma. Update calls to FUNC.
16488 (handle_input_arg): Add argument exact_args.
16489 (add_test): Update call to handle_input_arg.
16490 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16491 (output_for_one_input_case): Update call to calc_generic_results.
16492 Recalculate exact zero results in each rounding mode.
16493
a4fb7861
JM
16494 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16495 non-negative before setting low bit.
16496 * math/auto-libm-test-in: Mark one asin test possibly having
16497 spurious underflow.
16498 * math/auto-libm-test-out: Regenerated.
16499 * sysdeps/i386/fpu/libm-test-ulps: Update.
16500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16501
ef114eaf
DH
165022014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16503
2b7f4f2c
SP
16504 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16505 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16506 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16507 * README: Add missing listing for microblaze*-*-linux-gnu.
16508
8125aedc
AM
165092014-02-16 Ondřej Bílka <neleai@seznam.cz>
16510
16511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16512 duplicate code
16513
c70a4b1d
MF
165142014-02-16 Mike Frysinger <vapier@gentoo.org>
16515
16516 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16517 * sysdeps/unix/sysv/linux/ia64: Move directory from
16518 ports/sysdeps/unix/sysv/linux/ia64.
16519 * README: Update listing for ia64-*-linux-gnu.
16520
591aeaf7
TD
165212014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16522 Joseph Myers <joseph@codesourcery.com>
16523
16524 * Makeconfig (test-name): New variable.
16525 (evaluate-test): Likewise.
16526 * Makerules (do-test-clean): Remove .test-result files.
16527 (common-mostlyclean): Likewise.
16528 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16529 * scripts/evaluate-test.sh: New file.
16530
6e89caf1
JM
165312014-02-14 Joseph Myers <joseph@codesourcery.com>
16532
7f98f180
JM
16533 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16534 separate $(objpfx)tst-fopenloc-cmp.out and
16535 $(objpfx)tst-fopenloc-mem.out targets.
16536 (tests): Update dependencies.
16537 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16538 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16539 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16540 (tst-rxspencer-no-utf8-ARGS): New variable.
16541 (tst-rxspencer-no-utf8-ENV): Likewise.
16542 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16543 instead of $(objpfx)tst-rxspencer-mem.
16544 ($(objpfx)tst-rxspencer-mem): Change target to
16545 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16546 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16547 * posix/tst-rxspencer-no-utf8.c: New file.
16548
6e89caf1
JM
16549 * elf/Makefile ($(objpfx)order.out): Remove rule.
16550 [$(run-built-tests) = yes] (tests): Depend on
16551 $(objpfx)order-cmp.out.
16552 ($(objpfx)order-cmp.out): New rule.
16553 [$(run-built-tests) = yes] (tests): Depend on
16554 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16555 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16556 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16557 $(objpfx)tst-array5-static-cmp.out.
16558 ($(objpfx)tst-array1.out): Remove rule.
16559 ($(objpfx)tst-array1-cmp.out): New rule.
16560 ($(objpfx)tst-array1-static.out): Remove rule.
16561 ($(objpfx)tst-array1-static-cmp.out): New rule.
16562 ($(objpfx)tst-array2.out): Remove rule.
16563 ($(objpfx)tst-array2-cmp.out): New rule.
16564 ($(objpfx)tst-array3.out): Remove rule.
16565 ($(objpfx)tst-array3-cmp.out): New rule.
16566 ($(objpfx)tst-array4.out): Remove rule.
16567 ($(objpfx)tst-array4-cmp.out): New rule.
16568 ($(objpfx)tst-array5.out): Remove rule.
16569 ($(objpfx)tst-array5-cmp.out): New rule.
16570 ($(objpfx)tst-array5-static.out): Remove rule.
16571 ($(objpfx)tst-array5-static-cmp.out): New rule.
16572 [$(run-built-tests) = yes] (tests): Depend on
16573 $(objpfx)order2-cmp.out.
16574 ($(objpfx)order2.out): Remove rule.
16575 ($(objpfx)order2-cmp.out): New rule.
16576 ($(objpfx)tst-initorder.out): Remove rule.
16577 [$(run-built-tests) = yes] (tests): Depend on
16578 $(objpfx)tst-initorder-cmp.out.
16579 ($(objpfx)tst-initorder-cmp.out): New rule.
16580 ($(objpfx)tst-initorder2.out): Remove rule.
16581 [$(run-built-tests) = yes] (tests): Depend on
16582 $(objpfx)tst-initorder2-cmp.out.
16583 ($(objpfx)tst-initorder2-cmp.out): New rule.
16584 [$(run-built-tests) = yes] (tests): Depend on
16585 $(objpfx)tst-unused-dep-cmp.out.
16586 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16587 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16588 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16589 on $(objpfx)tst-setvbuf1-cmp.out.
16590 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16591 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16592 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16593 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16594 ($(objpfx)tst-svc.out): Remove rule.
16595 ($(objpfx)tst-svc-cmp.out): New rule.
16596
ed9a38e2
JM
165972014-02-13 Joseph Myers <joseph@codesourcery.com>
16598
16599 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16600 * ctype/ctype.h [__USE_MISC]: Likewise.
16601 * dirent/dirent.h [__USE_MISC]: Likewise.
16602 * grp/grp.h [__USE_MISC]: Likewise.
16603 * io/fcntl.h [__USE_MISC]: Likewise.
16604 * io/sys/stat.h [__USE_MISC]: Likewise.
16605 * libio/stdio.h [__USE_MISC]: Likewise.
16606 * posix/unistd.h [__USE_MISC]: Likewise.
16607 * pwd/pwd.h [__USE_MISC]: Likewise.
16608 * stdlib.h [__USE_MISC]: Likewise.
16609 * string/bits/string2.h [__USE_MISC]: Likewise.
16610 * string/string.h [__USE_MISC]: Likewise.
16611 * time/time.h [__USE_MISC]: Likewise.
16612
d6680619
AS
166132014-02-13 Andreas Schwab <schwab@suse.de>
16614
16615 [BZ #16574]
16616 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16617 second answer buffer if it was separately allocated.
16618
ace614b8
JM
166192014-02-12 Joseph Myers <joseph@codesourcery.com>
16620
743151ae
JM
16621 * sysdeps/mips/math-tests.h: Include <features.h>.
16622 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16623 (ROUNDING_TESTS_long_double): Do not define.
16624 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16625 (EXCEPTION_TESTS_long_double): Likewise.
16626 * sysdeps/mips/mips64/libm-test-ulps: Update.
16627
498afc54
JM
16628 * include/features.h (__USE_BSD): Remove macro definitions.
16629 (__USE_SVID): Likewise.
16630 (_BSD_SOURCE): Likewise.
16631 (_SVID_SOURCE): Likewise.
16632 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16633 from definition of _DEFAULT_SOURCE.
16634 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16635 [_DEFAULT_SOURCE].
16636 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16637 * bits/mman.h [__USE_BSD]: Likewise.
16638 * bits/termios.h [__USE_BSD]: Likewise.
16639 * bits/waitstatus.h [__USE_BSD]: Likewise.
16640 * ctype/ctype.h [__USE_SVID]: Likewise.
16641 * dirent/dirent.h [__USE_BSD]: Likewise.
16642 * grp/grp.h [__USE_SVID]: Likewise.
16643 [__USE_BSD]: Likewise.
16644 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16645 * io/fcntl.h [__USE_BSD]: Likewise.
16646 * io/ftw.h [__USE_BSD]: Likewise.
16647 * io/sys/stat.h [__USE_BSD]: Likewise.
16648 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16649 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16650 * libio/stdio.h [__USE_SVID]: Likewise.
16651 [__USE_BSD]: Likewise.
16652 * math/math.h [__USE_SVID]: Likewise.
16653 [__USE_BSD]: Likewise.
16654 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16655 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16656 * misc/search.h [__USE_SVID]: Likewise.
16657 * misc/sys/mman.h [__USE_BSD]: Likewise.
16658 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16659 * misc/sys/uio.h [__USE_BSD]: Likewise.
16660 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16661 * posix/glob.h [__USE_BSD]: Likewise.
16662 * posix/regex.h [__USE_BSD]: Likewise.
16663 * posix/sys/types.h [__USE_BSD]: Likewise.
16664 [__USE_SVID]: Likewise.
16665 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16666 * posix/sys/wait.h [__USE_BSD]: Likewise.
16667 [__USE_SVID]: Likewise.
16668 * posix/unistd.h [__USE_BSD]: Likewise.
16669 [__USE_SVID]: Likewise.
16670 * pwd/pwd.h [__USE_SVID]: Likewise.
16671 * resolv/netdb.h [__USE_BSD]: Likewise.
16672 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16673 * signal/signal.h [__USE_BSD]: Likewise.
16674 [__USE_SVID]: Likewise.
16675 * socket/sys/socket.h [__USE_BSD]: Likewise.
16676 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16677 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16678 [__USE_SVID]: Likewise.
16679 * string/bits/string2.h [__USE_BSD]: Likewise.
16680 [__USE_SVID]: Likewise.
16681 * string/bits/string3.h [__USE_BSD]: Likewise.
16682 * string/endian.h [__USE_BSD]: Likewise.
16683 * string/string.h [__USE_SVID]: Likewise.
16684 [__USE_BSD]: Likewise.
16685 * string/strings.h [__USE_BSD]: Likewise.
16686 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16687 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16688 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16689 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16690 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16691 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16692 Likewise.
16693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16694 Likewise.
16695 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16696 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16697 Likewise.
16698 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16699 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16700 Likewise.
16701 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16702 Likewise.
16703 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16704 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16706 Likewise.
16707 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16708 Likewise.
16709 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16710 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16711 * termios/termios.h [__USE_BSD]: Likewise.
16712 * time/sys/time.h [__USE_BSD]: Likewise.
16713 * time/time.h [__USE_BSD]: Likewise.
16714 [__USE_SVID]: Likewise.
16715
dd7b064c
JM
16716 * Makefile (subdir_targets): Remove subdir_lint.out.
16717
a2c4c199
JM
16718 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16719 (do-tst-printf): Likewise.
16720 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16721 $(objpfx)tst-printf.out.
16722
8756f740
JM
16723 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16724
1b6dd3f1
JM
16725 * Makerules (check-abi-%): Change target to
16726 $(objpfx)check-abi-%.out.
16727 (check-abi target): Update dependencies.
16728 (check-abi-pattern variable): Redirect output of diff to $@.
16729 (check-abi variable): Likewise.
16730 * elf/Makefile (check-abi): Update dependencies.
16731
ace614b8
JM
16732 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16733 unused.
16734 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16735 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16736 subnormal range.
16737 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16738 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16739 value has largest subnormal exponent.
16740 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16741 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16742 * sysdeps/aarch64/soft-fp/sfp-machine.h
16743 (_FP_TININESS_AFTER_ROUNDING): New macro.
16744 * sysdeps/alpha/soft-fp/sfp-machine.h
16745 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16746 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16747 Likewise.
16748 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16750 * sysdeps/mips/soft-fp/sfp-machine.h
16751 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16752 * sysdeps/powerpc/soft-fp/sfp-machine.h
16753 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16754 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16755 Likewise.
16756 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16758 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16759 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16760 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16761 Likewise.
16762
fbfdf9cb
DAS
167632014-02-12 Dylan Alex Simon <dylan@dylex.net>
16764
16765 [BZ #16545]
16766 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16767 model 1.
16768
68b7efaa
RH
167692014-02-12 Richard Henderson <rth@redhat.com>
16770
c70a4b1d 16771 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16772 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16773 * sysdeps/unix/sysv/linux/alpha: Move directory from
16774 ports/sysdeps/unix/sysv/linux/alpha.
16775 * README: Update listing for alpha-*-linux-gnu.
16776
cb4a2928
JM
167772014-02-11 Joseph Myers <joseph@codesourcery.com>
16778
c941736c
JM
16779 * include/features.h: Update comment documenting feature test
16780 macros.
16781 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16782 _DEFAULT_SOURCE.
16783 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16784 (_SVID_SOURCE): Likewise.
16785 (_DEFAULT_SOURCE): Update description of default features.
16786 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16787 with _GNU_SOURCE.
16788 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16789 (S_ISVTX): Likewise.
16790 * manual/math.texi (Mathematical Constants): Likewise.
16791 * manual/signal.texi (Interrupted Primitives): Likewise.
16792 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16793 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16794 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16795 Don't refer to _SVID_SOURCE in warning text.
16796
e8d8d7ec
JM
16797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16798
cb4a2928
JM
16799 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16800 already defined.
16801 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16802 * sysdeps/mips/dl-lookup.c: Remove.
16803 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16804
7e6424e3
AK
168052014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16806
16807 [BZ #16447]
16808 * math/auto-libm-test-in: Add testcase for expl.
16809 * math/auto-libm-test-out: Regenerate.
16810 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16811 calculation of unsafe.
16812 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16813
75eff3fe
MS
168142014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16815
16816 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16817 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16818 ports/sysdeps/unix/sysv/linux/aarch64.
16819 * README: Update listing for aarch64*-*-linux-gnu.
16820
d35f1e80
WN
168212014-02-11 Will Newton <will.newton@linaro.org>
16822
16823 * manual/probes.texi (Mathematical Function Probes): Use
16824 "triggered" instead of "hit".
16825
7b3436d4
WN
16826 * manual/probes.texi (Internal Probes): Add documentation
16827 of setjmp, longjmp and longjmp_target probes.
16828
b4f12ca3
WN
16829 * include/stap-probe.h: Add comment about probe argument
16830 format.
16831
c13a72b7
WN
16832 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16833 definition. (tr_where, tr_freehook, tr_mallochook,
16834 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16835
195b8165
DM
168362014-02-11 David S. Miller <davem@davemloft.net>
16837
16838 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16839 processing int_tests.
16840
2ad7600b
JM
168412014-02-10 Joseph Myers <joseph@codesourcery.com>
16842
16843 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16844 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16845 * sysdeps/unix/sysv/linux/mips: Move directory from
16846 ports/sysdeps/unix/sysv/linux/mips.
16847 * README: Update listing for mips-*-linux-gnu and
16848 mips64-*-linux-gnu.
16849
73588a72
AS
168502014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16851
16852 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16853 * sysdeps/unix/sysv/linux/m68k: Move directory from
16854 ports/sysdeps/unix/sysv/linux/m68k.
16855 * README: Update listing for m68k-*-linux-gnu.
16856
4372980f
CM
168572014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16858
16859 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16860 * sysdeps/unix/sysv/linux/generic: Move directory from
16861 ports/sysdeps/unix/sysv/linux/generic.
16862 * sysdeps/unix/sysv/linux/tile: Move directory from
16863 ports/sysdeps/unix/sysv/linux/tile.
16864 * README: Update listing for tile*-*-linux-gnu.
16865
a1ffb40e
OB
168662014-02-10 Ondřej Bílka <neleai@seznam.cz>
16867
57f41c40
AS
16868 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16869 __builtin_expect.
a1ffb40e
OB
16870 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16871 * catgets/open_catalog.c (__open_catalog): Likewise.
16872 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16873 * debug/confstr_chk.c: Likewise.
16874 * debug/fread_chk.c (__fread_chk): Likewise.
16875 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16876 * debug/getgroups_chk.c: Likewise.
16877 * debug/mbsnrtowcs_chk.c: Likewise.
16878 * debug/mbsrtowcs_chk.c: Likewise.
16879 * debug/mbstowcs_chk.c: Likewise.
16880 * debug/memcpy_chk.c: Likewise.
16881 * debug/memmove_chk.c: Likewise.
16882 * debug/mempcpy_chk.c: Likewise.
16883 * debug/memset_chk.c: Likewise.
16884 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16885 * debug/strcat_chk.c (__strcat_chk): Likewise.
16886 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16887 * debug/strncat_chk.c (__strncat_chk): Likewise.
16888 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16889 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16890 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16891 * debug/wcpncpy_chk.c: Likewise.
16892 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16893 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16894 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16895 * debug/wcsncpy_chk.c: Likewise.
16896 * debug/wcsnrtombs_chk.c: Likewise.
16897 * debug/wcsrtombs_chk.c: Likewise.
16898 * debug/wcstombs_chk.c: Likewise.
16899 * debug/wmemcpy_chk.c: Likewise.
16900 * debug/wmemmove_chk.c: Likewise.
16901 * debug/wmempcpy_chk.c: Likewise.
16902 * debug/wmemset_chk.c: Likewise.
16903 * dirent/scandirat.c (SCANDIRAT): Likewise.
16904 * dlfcn/dladdr1.c (dladdr1): Likewise.
16905 * dlfcn/dladdr.c (dladdr): Likewise.
16906 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16907 * dlfcn/dlerror.c (__dlerror): Likewise.
16908 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16909 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16910 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16911 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16912 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16913 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16914 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16915 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16916 Likewise.
16917 * elf/dl-conflict.c: Likewise.
16918 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16919 * elf/dl-dst.h: Likewise.
16920 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16921 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16922 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16923 * elf/dl-init.c (call_init, _dl_init): Likewise.
16924 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16925 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16926 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16927 Likewise.
a1ffb40e
OB
16928 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16929 Likewise.
16930 * elf/dl-minimal.c (__libc_memalign): Likewise.
16931 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16932 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16933 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16934 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16935 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16936 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16937 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16938 * elf/dl-writev.h (_dl_writev): Likewise.
16939 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16940 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16941 (dl_main): Likewise.
a1ffb40e
OB
16942 * elf/setup-vdso.h (setup_vdso): Likewise.
16943 * grp/compat-initgroups.c (compat_call): Likewise.
16944 * grp/fgetgrent.c (fgetgrent): Likewise.
16945 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16946 * grp/putgrent.c (putgrent): Likewise.
16947 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16948 Likewise.
16949 * hurd/hurdinit.c: Likewise.
16950 * iconvdata/8bit-gap.c (struct): Likewise.
16951 * iconvdata/ansi_x3.110.c : Likewise.
16952 * iconvdata/big5.c : Likewise.
16953 * iconvdata/big5hkscs.c : Likewise.
16954 * iconvdata/cp1255.c: Likewise.
16955 * iconvdata/cp1258.c : Likewise.
16956 * iconvdata/cp932.c : Likewise.
16957 * iconvdata/euc-cn.c: Likewise.
16958 * iconvdata/euc-jisx0213.c : Likewise.
16959 * iconvdata/euc-jp.c: Likewise.
16960 * iconvdata/euc-jp-ms.c : Likewise.
16961 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16962 * iconvdata/gb18030.c : Likewise.
16963 * iconvdata/gbbig5.c (const): Likewise.
16964 * iconvdata/gbgbk.c: Likewise.
16965 * iconvdata/gbk.c : Likewise.
16966 * iconvdata/ibm1364.c : Likewise.
16967 * iconvdata/ibm930.c : Likewise.
16968 * iconvdata/ibm932.c: Likewise.
16969 * iconvdata/ibm933.c : Likewise.
16970 * iconvdata/ibm935.c : Likewise.
16971 * iconvdata/ibm937.c : Likewise.
16972 * iconvdata/ibm939.c : Likewise.
16973 * iconvdata/ibm943.c: Likewise.
16974 * iconvdata/iso_11548-1.c: Likewise.
16975 * iconvdata/iso-2022-cn.c : Likewise.
16976 * iconvdata/iso-2022-cn-ext.c : Likewise.
16977 * iconvdata/iso-2022-jp-3.c: Likewise.
16978 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16979 * iconvdata/iso-2022-kr.c : Likewise.
16980 * iconvdata/iso646.c (gconv_end): Likewise.
16981 * iconvdata/iso_6937-2.c : Likewise.
16982 * iconvdata/iso_6937.c : Likewise.
16983 * iconvdata/iso8859-1.c: Likewise.
16984 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16985 * iconvdata/shift_jisx0213.c : Likewise.
16986 * iconvdata/sjis.c : Likewise.
16987 * iconvdata/t.61.c : Likewise.
16988 * iconvdata/tcvn5712-1.c : Likewise.
16989 * iconvdata/tscii.c: Likewise.
16990 * iconvdata/uhc.c : Likewise.
16991 * iconvdata/unicode.c (gconv_end): Likewise.
16992 * iconvdata/utf-16.c (gconv_end): Likewise.
16993 * iconvdata/utf-32.c (gconv_end): Likewise.
16994 * iconvdata/utf-7.c (base64): Likewise.
16995 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16996 * iconv/gconv_close.c (__gconv_close): Likewise.
16997 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16998 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16999 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17000 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17001 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17002 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17003 * iconv/iconv.c (iconv): Likewise.
17004 * iconv/iconv_close.c: Likewise.
17005 * iconv/loop.c (SINGLE): Likewise.
17006 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17007 * include/atomic.h: Likewise.
17008 * inet/inet6_option.c (option_alloc): Likewise.
17009 * intl/bindtextdom.c (set_binding_values): Likewise.
17010 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17011 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17012 * intl/localealias.c (read_alias_file): Likewise.
17013 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17014 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17015 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17016 * libio/fmemopen.c (fmemopen): Likewise.
17017 * libio/iofgets.c (_IO_fgets): Likewise.
17018 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17019 * libio/iofgetws.c (fgetws): Likewise.
17020 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17021 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17022 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17023 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17024 * locale/findlocale.c (_nl_find_locale): Likewise.
17025 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17026 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17027 Likewise.
17028 * locale/setlocale.c (setlocale): Likewise.
17029 * login/programs/pt_chown.c (main): Likewise.
17030 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17031 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17032 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17033 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17034 * math/e_exp2l.c: Likewise.
17035 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17036 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17037 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17038 * math/s_catan.c (__catan): Likewise.
17039 * math/s_catanf.c (__catanf): Likewise.
17040 * math/s_catanh.c (__catanh): Likewise.
17041 * math/s_catanhf.c (__catanhf): Likewise.
17042 * math/s_catanhl.c (__catanhl): Likewise.
17043 * math/s_catanl.c (__catanl): Likewise.
17044 * math/s_ccosh.c (__ccosh): Likewise.
17045 * math/s_ccoshf.c (__ccoshf): Likewise.
17046 * math/s_ccoshl.c (__ccoshl): Likewise.
17047 * math/s_cexp.c (__cexp): Likewise.
17048 * math/s_cexpf.c (__cexpf): Likewise.
17049 * math/s_cexpl.c (__cexpl): Likewise.
17050 * math/s_clog10.c (__clog10): Likewise.
17051 * math/s_clog10f.c (__clog10f): Likewise.
17052 * math/s_clog10l.c (__clog10l): Likewise.
17053 * math/s_clog.c (__clog): Likewise.
17054 * math/s_clogf.c (__clogf): Likewise.
17055 * math/s_clogl.c (__clogl): Likewise.
17056 * math/s_csin.c (__csin): Likewise.
17057 * math/s_csinf.c (__csinf): Likewise.
17058 * math/s_csinh.c (__csinh): Likewise.
17059 * math/s_csinhf.c (__csinhf): Likewise.
17060 * math/s_csinhl.c (__csinhl): Likewise.
17061 * math/s_csinl.c (__csinl): Likewise.
17062 * math/s_csqrt.c (__csqrt): Likewise.
17063 * math/s_csqrtf.c (__csqrtf): Likewise.
17064 * math/s_csqrtl.c (__csqrtl): Likewise.
17065 * math/s_ctan.c (__ctan): Likewise.
17066 * math/s_ctanf.c (__ctanf): Likewise.
17067 * math/s_ctanh.c (__ctanh): Likewise.
17068 * math/s_ctanhf.c (__ctanhf): Likewise.
17069 * math/s_ctanhl.c (__ctanhl): Likewise.
17070 * math/s_ctanl.c (__ctanl): Likewise.
17071 * math/w_pow.c: Likewise.
17072 * math/w_powf.c: Likewise.
17073 * math/w_powl.c: Likewise.
17074 * math/w_scalb.c (sysv_scalb): Likewise.
17075 * math/w_scalbf.c (sysv_scalbf): Likewise.
17076 * math/w_scalbl.c (sysv_scalbl): Likewise.
17077 * misc/error.c (error_tail): Likewise.
17078 * misc/pselect.c (__pselect): Likewise.
17079 * nis/nis_callback.c (__nis_create_callback): Likewise.
17080 * nis/nis_call.c (__nisfind_server): Likewise.
17081 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17082 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17083 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17084 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17085 * nis/nis_lookup.c (nis_lookup): Likewise.
17086 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17087 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17088 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17089 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17090 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17091 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17092 * nis/nss_compat/compat-initgroups.c (add_group)
17093 (internal_getgrent_r): Likewise.
17094 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17095 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17096 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17097 (internal_getspnam_r): Likewise.
17098 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17099 (_nss_nis_getaliasbyname_r): Likewise.
17100 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17101 (_nss_nis_getntohost_r): Likewise.
17102 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17103 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17104 (_nss_nis_getgrgid_r): Likewise.
17105 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17106 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17107 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17108 (_nss_nis_gethostbyname4_r): Likewise.
17109 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17110 (initgroups_netid): Likewise.
a1ffb40e 17111 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17112 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17113 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17114 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17115 (_nss_nis_getprotobynumber_r): Likewise.
17116 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17117 (_nss_nis_getsecretkey): Likewise.
17118 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17119 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17120 (_nss_nis_getpwuid_r): Likewise.
17121 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17122 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17123 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17124 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17125 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17126 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17127 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17128 Likewise.
57f41c40
AS
17129 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17130 (_nss_nisplus_getntohost_r): Likewise.
17131 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17132 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17133 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17134 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17135 Likewise.
57f41c40
AS
17136 * nis/nss_nisplus/nisplus-initgroups.c
17137 (_nss_nisplus_initgroups_dyn): Likewise.
17138 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17139 (_nss_nisplus_getnetbyaddr_r): Likewise.
17140 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17141 (_nss_nisplus_getprotobynumber_r): Likewise.
17142 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17143 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17144 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17145 Likewise.
57f41c40
AS
17146 * nis/nss_nisplus/nisplus-service.c
17147 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17148 (_nss_nisplus_getservbyport_r): Likewise.
17149 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17150 (_nss_nisplus_getspnam_r): Likewise.
17151 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17152 Likewise.
a1ffb40e
OB
17153 * nscd/aicache.c (addhstaiX): Likewise.
17154 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17155 * nscd/connections.c (register_traced_file, send_ro_fd)
17156 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17157 (main_loop_epoll): Likewise.
a1ffb40e
OB
17158 * nscd/grpcache.c (addgrbyX): Likewise.
17159 * nscd/hstcache.c (addhstbyX): Likewise.
17160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17161 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17162 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17163 (addinnetgrX): Likewise.
17164 * nscd/nscd-client.h (__nscd_acquire_maplock)
17165 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17166 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17167 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17169 Likewise.
17170 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17171 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17172 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17173 (__nscd_get_map_ref): Likewise.
a1ffb40e 17174 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17175 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17176 Likewise.
a1ffb40e
OB
17177 * nscd/pwdcache.c (addpwbyX): Likewise.
17178 * nscd/selinux.c (preserve_capabilities): Likewise.
17179 * nscd/servicescache.c (addservbyX): Likewise.
17180 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17181 * posix/fnmatch.c (fnmatch): Likewise.
17182 * posix/getopt.c (_getopt_internal_r): Likewise.
17183 * posix/glob.c (glob, glob_in_dir): Likewise.
17184 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17185 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17186 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17187 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17188 * resolv/res_init.c: Likewise.
17189 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17190 * resolv/res_query.c (__libc_res_nquery): Likewise.
17191 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17192 Likewise.
17193 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17194 * stdio-common/perror.c (perror): Likewise.
17195 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17196 * stdio-common/tmpnam.c (tmpnam): Likewise.
17197 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17198 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17199 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17200 Likewise.
a1ffb40e
OB
17201 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17202 * stdlib/putenv.c (putenv): Likewise.
17203 * stdlib/setenv.c (__add_to_environ): Likewise.
17204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17205 * stdlib/strtol_l.c (INTERNAL): Likewise.
17206 * string/memmem.c (memmem): Likewise.
17207 * string/strerror.c (strerror): Likewise.
17208 * string/strnlen.c (__strnlen): Likewise.
17209 * string/test-memmem.c (simple_memmem): Likewise.
17210 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17211 * sunrpc/pm_getport.c (__get_socket): Likewise.
17212 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17213 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17214 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17215 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17216 Likewise.
17217 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17219 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17220 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17221 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17222 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17223 Likewise.
17224 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17225 Likewise.
a1ffb40e
OB
17226 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17227 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17229 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17230 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17232 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17233 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17234 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17235 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17236 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17237 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17238 Likewise.
17239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17240 Likewise.
17241 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17242 Likewise.
17243 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17247 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17248 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17249 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17255 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17256 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17258 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17259 Likewise.
a1ffb40e
OB
17260 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17261 Likewise.
17262 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17263 Likewise.
17264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17265 Likewise.
17266 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17268 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17269 Likewise.
17270 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17271 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17272 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17273 * sysdeps/posix/sleep.c: Likewise.
17274 * sysdeps/posix/tempname.c: Likewise.
17275 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17276 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17277 Likewise.
57f41c40
AS
17278 * sysdeps/powerpc/powerpc32/dl-machine.h
17279 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17280 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17281 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17282 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17284 Likewise.
17285 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17286 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17287 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17289 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17290 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17291 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17292 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17293 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17294 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17295 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17296 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17297 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17299 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17300 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17301 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17302 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17303 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17304 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17305 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17306 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17308 Likewise.
17309 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17310 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17311 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17312 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17313 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17314 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17315 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17316 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17317 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17318 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17319 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17320 Likewise.
17321 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17322 (__posix_fallocate64_l64): Likewise.
17323 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17324 (posix_fallocate): Likewise.
57f41c40
AS
17325 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17326 Likewise.
a1ffb40e 17327 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17328 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17329 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17330 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17331 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17332 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17333 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17334 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17335 (__posix_fallocate64_l64): Likewise.
17336 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17337 Likewise.
17338 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17339 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17340 (__get_clockfreq): Likewise.
a1ffb40e
OB
17341 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17342 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17343 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17346 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17347 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17348 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17349 Likewise.
17350 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17351 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17352 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17354 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17355 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17356 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17357 Likewise.
17358 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17359 (posix_fallocate): Likewise.
17360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17361 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17362 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17363 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17364 (elf_machine_rela, elf_machine_rela_relative)
17365 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17366 * time/asctime.c (asctime_internal): Likewise.
17367 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17368 * time/tzset.c (__tzset_parse_tz): Likewise.
17369 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17370 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17371 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17372 * wcsmbs/wcsmbsload.h: Likewise.
17373
f3d338c9
OB
17374 [BZ #15894]
17375 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17376
57f41c40
AS
17377 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17378 (arena_get2): Remove THREAD_STATS conditionals.
17379 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17380 (__malloc_stats, int): Likewise.
bdfe308a 17381
d674667c
MF
173822014-02-08 Mike Frysinger <vapier@gentoo.org>
17383
17384 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17385 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17386
6349768c
MF
17387 * manual/setjmp.texi: Fix typos/grammar errors.
17388
0b7c7473
MF
17389 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17390 Only return early when n is <= 0. Delete unused return statement.
17391
ac8cc9e3
MF
17392 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17393 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17394 * debug/tst-longjmp_chk3.c: New file.
17395
c5bb8e23
MF
17396 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17397 (test_main): Replace code with set_fortify_handler call.
17398 * debug/test-strcpy_chk.c: Likewise.
17399 * debug/tst-chk1.c: Likewise.
17400 * debug/tst-longjmp_chk.c: Likewise.
17401 * test-skeleton.c: Include fcntl.h & paths.h
17402 (set_fortify_handler): Define.
17403
10444e42
MF
17404 * debug/tst-longjmp_chk.c: Add header comment and include
17405 ../test-skeleton.c.
17406 (do_test): Mark static.
17407 (TEST_FUNCTION): Define.
17408
1e805e8d
MF
17409 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17410 (IP_PMTUDISC_INTERFACE): Likewise.
17411 (IP_MULTICAST_IF): Likewise.
17412 (IP_MULTICAST_TTL): Likewise.
17413 (IP_MULTICAST_LOOP): Likewise.
17414 (IP_ADD_MEMBERSHIP): Likewise.
17415 (IP_DROP_MEMBERSHIP): Likewise.
17416 (IP_UNBLOCK_SOURCE): Likewise.
17417 (IP_BLOCK_SOURCE): Likewise.
17418 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17419 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17420 (IP_MSFILTER): Likewise.
17421 (MCAST_JOIN_GROUP): Likewise.
17422 (MCAST_BLOCK_SOURCE): Likewise.
17423 (MCAST_UNBLOCK_SOURCE): Likewise.
17424 (MCAST_LEAVE_GROUP): Likewise.
17425 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17426 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17427 (MCAST_MSFILTER): Likewise.
17428 (IP_MULTICAST_ALL): Likewise.
17429 (IP_UNICAST_IF): Likewise.
17430
73f79bb7
MF
17431 * timezone/Makefile: Delete $(have-ksh) check.
17432 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17433 * timezone/tzselect.ksh: Add +x mode bits.
17434
8da79b60
MF
17435 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17436 (ANON_INODE_FS_MAGIC): Likewise.
17437 (BDEVFS_MAGIC): Likewise.
17438 (BINFMTFS_MAGIC): Likewise.
17439 (BTRFS_TEST_MAGIC): Likewise.
17440 (CRAMFS_MAGIC_WEND): Likewise.
17441 (DEBUGFS_MAGIC): Likewise.
17442 (ECRYPTFS_SUPER_MAGIC): Likewise.
17443 (EXT3_SUPER_MAGIC): Likewise.
17444 (EXT4_SUPER_MAGIC): Likewise.
17445 (FUTEXFS_SUPER_MAGIC): Likewise.
17446 (HOSTFS_SUPER_MAGIC): Likewise.
17447 (HUGETLBFS_MAGIC): Likewise.
17448 (MINIX3_SUPER_MAGIC): Likewise.
17449 (MTD_INODE_FS_MAGIC): Likewise.
17450 (NILFS_SUPER_MAGIC): Likewise.
17451 (OPENPROM_SUPER_MAGIC): Likewise.
17452 (PIPEFS_MAGIC): Likewise.
17453 (PSTOREFS_MAGIC): Likewise.
17454 (QNX6_SUPER_MAGIC): Likewise.
17455 (RAMFS_MAGIC): Likewise.
17456 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17457 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17458 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17459 (SECURITYFS_MAGIC): Likewise.
17460 (SELINUX_MAGIC): Likewise.
17461 (SMACK_MAGIC): Likewise.
17462 (SOCKFS_MAGIC): Likewise.
17463 (SQUASHFS_MAGIC): Likewise.
17464 (STACK_END_MAGIC): Likewise.
17465 (TMPFS_MAGIC): Likewise.
17466 (USBDEVICE_SUPER_MAGIC): Likewise.
17467 (V9FS_MAGIC): Likewise.
17468 (XENFS_SUPER_MAGIC): Likewise.
17469 (CRAMFS_MAGIC): Fix typo in comment.
17470 (EXT2_SUPER_MAGIC): Update comment.
17471 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17472
464263cc
JM
174732014-02-08 Joseph Myers <joseph@codesourcery.com>
17474
c6bfe5c4
JM
17475 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17476 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17477 * sysdeps/unix/sysv/linux/arm: Move directory from
17478 ports/sysdeps/unix/sysv/linux/arm.
17479 * README: Update listing for arm-*-linux-gnueabi.
17480
464263cc
JM
17481 * README: Remove mention of am33.
17482
32749f6c
RM
174832014-02-07 Roland McGrath <roland@hack.frob.com>
17484
17485 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17486 than the comma operator, to avoid "rhs of comma has no effect"
17487 compiler warnings.
17488 (__sigfillset, __sigandset, __sigorset): Likewise.
17489 * include/signal.h (__sigemptyset): Likewise.
17490 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17491
d5b396c1
AM
174922014-02-07 Allan McRae <allan@archlinux.org>
17493
17494 * version.h (RELEASE): Set to "development".
17495 (VERSION): Set to "2.19.90"
17496 * NEWS: Add 2.20 section.
17497
3bfff2ed
CD
174982014-02-06 Carlos O'Donell <carlos@redhat.com>
17499
17500 [BZ #16529]
17501 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17502
ee7cc385
SP
175032014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17504
17505 * manual/contrib.texi: Update entry for Carlos O'Donell,
17506 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17507
f877c4f2
CD
175082014-02-05 Carlos O'Donell <carlos@rehdat.com>
17509
27e839f6
CD
17510 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17511
f877c4f2
CD
17512 * sysdeps/unix/sysv/linux/kernel-features.h
17513 [__LINUX_KERNEL_VERSION >= 0x020621]
17514 (__ASSUME_PROC_PID_TASK_COMM): Define.
17515
68159946
SP
175162014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17517
ba17cdbd
SP
17518 [BZ #16398]
17519 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17520 conversion when destination buffer does not have enough space.
17521 * libio/tst-ftell-partial-wide.c: New test case.
17522 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17523
68159946
SP
17524 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17525 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17526 Leonard and Allan McRae.
17527
2b528732
DM
175282014-02-04 David S. Miller <davem@davemloft.net>
17529
17530 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17531 32-bit.
17532
0ff82463
AZ
175332014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17534
57f41c40
AS
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17536 New file
c01603f7
AZ
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17538 New file
57f41c40
AS
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17540 New file.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17542 New file.
c01603f7
AZ
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17544 New file.
57f41c40
AS
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17546 New file.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17548 New file.
c01603f7
AZ
17549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17550 New file.
17551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17552 New file.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17554 New file.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17556 New file.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17558 New file.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17560 New file.
17561
175622014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17563
0ff82463
AZ
17564 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17565 * shlib-versions: Likewise.
17566
1695c773
AZ
175672014-02-04 Roland McGrath <roland@hack.frob.com>
17568 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17569
17570 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17571 (abilist-pattern): New variable, set to %-le.abilist.
17572
17573 * Makerules (abilist-pattern): New variable.
17574 (vpath): Use $(abilist-pattern) in place of %.abilist.
17575 (check-abi-% pattern rule): Likewise.
17576 (check-abi, update-abi): Likewise.
17577
6c0ce4b4
EW
175782014-02-04 Eric Wong <normalperson@yhbt.net>
17579
17580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17581
481e3524
CD
175822014-02-03 Carlos O'Donell <carlos@redhat.com>
17583
17584 * manual/startup.texi: Add next, previous, and top entries for
17585 the `Program Arguments' and `Environment Variables' nodes.
17586
375592d3
AO
175872014-02-03 Alexandre Oliva <aoliva@redhat.com>
17588
17589 * manual/macros.texi: Add comments before MTASC-safety macros.
17590
f54838ba
AO
17591 * manual/users.texi: Document MTASC-safety properties.
17592
57f41c40
AS
17593 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17594 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17595 @deftypefun, and add @safety note.
17596 * manual/signal.texi: Move comments that analyze the above
17597 functions to their home place.
17598
fd3daba4
AM
175992014-02-03 Allan McRae <allan@archlinux.org>
17600
17601 * po/sl.po: Update Slovenian translation from translation project.
17602
597636d7
AO
176032014-02-02 Alexandre Oliva <aoliva@redhat.com>
17604
17605 * manual/time.texi (timegm): Add missing blank after @c.
17606 Reported by Joseph Myers <joseph@codesourcery.com>.
17607
ee196e3c
AO
176082014-02-01 Alexandre Oliva <aoliva@redhat.com>
17609
17610 * manual/check-safety.sh: New.
17611 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17612
f8d529d5
AO
17613 * manual/terminal.texi: Document MTASC-safety properties.
17614
de55fdf4
AO
17615 * manual/filesys.texi: Document MTASC-safety properties.
17616
c3299c08
AO
17617 * manual/errno.texi: Document MTASC-safety properties.
17618
06e90b14
AO
17619 * manual/intro.texi: Document safety identifiers and
17620 conditionals.
17621
1acd4371
AO
17622 * manual/string.texi (wcstok): Fix prototype.
17623 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17624
23e5b8cb
AO
17625 * manual/time.texi: Document MTASC-safety properties.
17626
11087373
AO
17627 * manual/string.texi: Document MTASC-safety properties.
17628
5da2c93d
AO
17629 * manual/threads.texi: Document MTASC-safety properties.
17630
171e9210
AO
17631 * manual/stdio.texi: Document MTASC-safety properties.
17632
d9e02532
AO
17633 * manual/syslog.texi: Document MTASC-safety properties.
17634
6af8bab7
AO
17635 * manual/sysinfo.texi: Document MTASC-safety properties.
17636
663b02d7
AO
17637 * manual/startup.texi: Document MTASC-safety properties.
17638
973f180b
AO
17639 * manual/socket.texi: Document MTASC-safety properties.
17640
8f3c25c8
AO
17641 * manual/signal.texi: Document MTASC-safety properties.
17642
542210fb
AO
176432014-01-31 Alexandre Oliva <aoliva@redhat.com>
17644
17645 * manual/setjmp.texi: Document MTASC-safety properties.
17646
433c45a2
AO
17647 * manual/search.texi: Document MTASC-safety properties.
17648
c8ce789c
AO
17649 * manual/resource.texi: Document MTASC-safety properties.
17650
19f5d29c
AO
17651 * manual/process.texi: Document MTASC-safety properties.
17652
e2dfb7f4
AO
17653 * manual/platform.texi: Document MTASC-safety properties.
17654
8c1413f5
AO
17655 * manual/pipe.texi: Document MTASC-safety properties.
17656
03483ada
AO
17657 * manual/pattern.texi: Document MTASC-safety properties.
17658
29e7e2df
AO
17659 * manual/message.texi: Document MTASC-safety properties.
17660
9f529d7c
AO
17661 [BZ #12751]
17662 * manual/memory.texi: Document MTASC-safety properties.
17663
27aaa791
AO
17664 * manual/math.texi: Document MTASC-safety properties.
17665
f2d58726
AO
17666 * manual/locale.texi: Document MTASC-safety properties.
17667
2cc3615c
AO
17668 * manual/llio.texi: Document MTASC-safety properties.
17669
d9f0ec97
AO
17670 * manual/libdl.texi: New.
17671
e7c4409a
AO
17672 * manual/lang.texi: Document MTASC-safety properties.
17673
27bdc63c
AO
17674 * manual/job.texi: Document MTASC-safety properties.
17675
a7b90ea9
AO
17676 * manual/getopt.texi: Document MTASC-safety properties.
17677
c49130e3
AO
17678 * manual/ctype.texi: Document MTASC-safety properties.
17679
0d23a5c1
MR
176802014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17681
17682 [BZ #16046]
17683 * csu/libc-tls.c (static_map): Remove variable.
17684 (__libc_setup_tls): Use main executable's link map for TLS data.
17685 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17686 casing for LM_ID_BASE and GL(dl_nns).
17687 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17688 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17689 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17690 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17691 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17692 member.
17693 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17694 l_phnum members.
17695
0037bb60
AO
176962014-01-30 Alexandre Oliva <aoliva@redhat.com>
17697
17698 * manual/debug.texi: Document MTASC-safety properties.
17699
409e00bd
L
177002014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17701
17702 [BZ #16510]
17703 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17704 of __x86_64__ when disabling x87 inline functions.
17705
86e60666
AO
177062014-01-29 Alexandre Oliva <aoliva@redhat.com>
17707
17708 * manual/charset.texi: Document MTASC-safety properties.
17709
76167637
AO
17710 * manual/crypt.texi: Document MTASC-safety properties.
17711
e567f2a0
AO
17712 * manual/conf.texi: Document MTASC-safety properties.
17713
b719dafd
AO
17714 * manual/arith.texi: Document MTASC-safety properties.
17715
4a16c662
AO
17716 * manual/argp.texi: Document MTASC-safety properties.
17717
0a57b83e
AO
17718 * manual/macros.texi: Introduce macros to document multi
17719 thread, asynchronous signal and asynchronous cancellation
17720 safety properties.
17721 * manual/intro.texi: Introduce the properties themselves.
17722
feab2397
KK
177232014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17724
17725 * sysdeps/sh/sh4/Makefile: New file.
17726
1c0d11bc
AS
177272014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17728
17729 * math/gen-libm-test.pl ($srcdir): New variable.
17730 ($auto_input): Use it.
17731
af37a8a3
SP
177322014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17733
d7b00f98
SP
17734 [BZ #16506]
17735 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17736 access beyond array bounds when parsing netgroups file.
17737
af37a8a3
SP
17738 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17739 the old buffer before realloc.
17740
0c00f062
AM
177412014-01-27 Allan McRae <allan@archlinux.org>
17742
17743 * po/fr.po: Update French translation from translation project.
17744
7d69a1b0
KK
177452014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17746
17747 * sysdeps/sh/libm-test-ulps: Regenerate.
17748
6e697ff7
DM
177492014-01-24 David S. Miller <davem@davemloft.net>
17750
17751 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17752
9cadb35c
KK
177532014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17754
17755 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17756 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17757
5d41dadf
SP
177582013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17759
17760 [BZ #16474]
17761 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17762 string pointers after reallocation.
17763
0bad441c
KK
177642014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17765
17766 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17767 __SH4A__ instead of __SH_FPU_ANY__.
17768
7007c661
KK
177692014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17770
17771 * sysdeps/sh/fpu_control.h: New file.
17772 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17773 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17774 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17775 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17776 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17777 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17778 * sysdeps/sh/sys/ucontext.h: Remove.
17779 * sysdeps/sh/sys: Remove directory.
17780
0f0c35e4
AK
177812014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17782
17783 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17784 s390/sys/ucontext.h.
17785 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17786 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17787
4959e284
L
177882014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 [BZ #15605]
17791 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17792
d98720e0
AZ
177932014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17794
17795 [BZ#16431]
17796 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17797 Adjust the vDSO correctly for internal calls.
17798 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17799
91cbd0bc
AM
178002014-01-20 Allan McRae <allan@archlinux.org>
17801
17802 * po/ca.po: Update Catalan translation from translation project.
17803
7a02cfad
MF
178042014-01-16 Mike Frysinger <vapier@gentoo.org>
17805
17806 * sysdeps/s390/sotruss-lib.c: New file.
17807
736c304a
AZ
178082014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17809
17810 [BZ#16430]
6e077ee5 17811 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17812 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17813 local calls issues by not having a PLT stub required for IFUNC calls.
17814 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17815
94d0cea0
JM
178162014-01-16 Joseph Myers <joseph@codesourcery.com>
17817
17818 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17819 * math/test-fpucw-static.c: Likewise.
17820
980cb518
SP
178212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17822
17823 [BZ #16453]
17824 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17825
2393fc01
AZ
178262014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17827
17828 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17829 implementation for powerpc.
17830
d359bcc2
OB
178312014-01-15 Ondřej Bílka <neleai@seznam.cz>
17832
17833 [BZ #14782]
17834 * sysdeps/posix/system.c (__libc_system): Do not enable
17835 asynchronous cancellation.
17836
7beb48cb
AK
178372014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17838
17839 [BZ #16427]
17840 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17841 handling only for numbers special also in the IEEE case.
17842
c20d5bf5
AK
178432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17844
17845 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17846
e83bd4ee
AM
178472014-01-11 Allan McRae <allan@archlinux.org>
17848
76d0ea69
AM
17849 * po/bg.po: Update Bulgarian translation from translation project.
17850
e83bd4ee
AM
17851 * po/de.po: Update German translation from translation project.
17852
bc2ba20a
RM
178532014-01-10 Roland McGrath <roland@hack.frob.com>
17854
17855 * sysdeps/generic/gcc-compat.h: New file.
17856
649ecea2
SP
178572014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17858
17859 * benchtests/asin-inputs: Correct slow inputs.
17860 * benchtests/acos-inputs: Likewise.
17861
1b19c006
AM
178622014-01-10 Allan McRae <allan@archlinux.org>
17863
a46dab08
AM
17864 * po:sv.po: Update Swedish translation from translation project.
17865
421df74a
AM
17866 * po/vi.po: Update Vietnamese translation from translation project.
17867
d61c51a7
AM
17868 * po/eo.po: Update Esperanto translation from translation project.
17869
0339a319
AM
17870 * po/cs.po: Update Czech translation from translation project.
17871
94ad3e99
AM
17872 * po/nl.po: Update Dutch translation from translation project.
17873
e349ca71
AM
17874 * po/pl.po: Update Polish translation from translation project.
17875
ddf930c1
AM
17876 * po/ru.po: Update Russian translation from translation project.
17877
1b19c006
AM
17878 * po/uk.po: Update Ukrainian translation from translation project.
17879
9f236c49
BM
178802014-01-08 Brooks Moses <bmoses@google.com>
17881
17882 * elf/dl-load.c: Fix comment typo.
17883
cd6701cf
CD
178842014-01-08 Carlos O'Donell <carlos@redhat.com>
17885
17886 * po/header.pot: Rename to...
17887 * po/pot.header: ... this.
17888 * po/Makefile: Use pot.header.
17889
66671c84
YK
178902014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17891 Maxim Kuvyrkov <maxim@kugelworks.com>
17892
17893 [BZ #16394]
cd6701cf
CD
17894 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17895 SRC and DEST against LEN.
66671c84 17896
38f34581
AZ
178972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17898
17899 [BZ #16414]
17900 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17901 implementation.
17902 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17903
179042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17905
17906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17907
4c327f2a
JM
179082014-01-08 Joseph Myers <joseph@codesourcery.com>
17909
17910 [BZ #16408]
17911 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17912 for large positive arguments.
17913
b821f414
JM
179142014-01-07 Joseph Myers <joseph@codesourcery.com>
17915
1f0f2067
JM
17916 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17917
a5a326f6
JM
17918 * math/auto-libm-test-in: Mark various tests with
17919 xfail-rounding:ldbl-128ibm.
17920 * math/auto-libm-test-out: Regenerated.
17921
b821f414
JM
17922 [BZ #16407]
17923 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17924 Increase overflow threshold.
17925
94c8a4bc
OB
179262014-01-07 Ondřej Bílka <neleai@seznam.cz>
17927
17928 [BZ #14286]
17929 * stdio-common/vfprintf.c: Check for integer overflow.
17930
87ded0c3
AK
179312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17932
17933 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17934 the first argument and return value of __tls_get_addr_internal.
17935
c5eebdd0
AK
179362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17937
17938 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17939 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17940
05d138ef
AK
179412014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17942
17943 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17944 * sysdeps/s390/rtld-global-offsets.sym: New file.
17945 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17946 GLIBC_2.19 symbol.
17947 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17948 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17949 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17950 ... this.
17951 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17952 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17953 ... this.
17954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17955 Regenerate.
17956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17957 Regenerate.
17958 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17959 halfs of GPRs for high_gprs contexts.
17960 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17961 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17962 field.
17963 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17964 uc_flags field.
17965 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17966 64 bit versions:
17967 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17968 for high GPRs (uc_high_gprs) and for future extensions
17969 (__reserved).
17970 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17971 for future extensions (__reserved).
17972 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17973 64 bit versions:
17974 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17975 SC_HIGHGPRS offset definition.
17976 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17977 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17978
93a45ff1
AK
17979 * Versions.def: Add GLIBC_2.19 for libpthread.
17980 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17981 siglongjmp for libpthread with GLIBC_2.19 symver.
17982 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17983 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17984 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17985 * sysdeps/s390/__longjmp.c: New file.
17986 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17987 * sysdeps/s390/longjmp.c: New file.
17988 * sysdeps/s390/setjmp.S: New file.
17989 * sysdeps/s390/sigjmp.S: New file.
17990 * sysdeps/s390/v1-longjmp.c: New file.
17991 * sysdeps/s390/v1-setjmp.h: New file.
17992 * sysdeps/s390/v1-sigjmp.c: New file.
17993 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17994 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17995 GLIBC_2.19 version.
17996 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17997 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17998 versioned symbols for ____longjmp_chk.
17999 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18000 Likewise.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18002 Regenerate.
18003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18004 Regenerate.
18005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18006 Regenerate.
18007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18008 Regenerate.
18009 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18010 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18011 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18012 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18013 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18014 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18015 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18016 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18017 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18018 * sysdeps/s390/rtld-__longjmp.c: New file.
18019 * sysdeps/s390/rtld-setjmp.S: New file.
18020
eb3fc44b
JM
180212014-01-06 Joseph Myers <joseph@codesourcery.com>
18022
18023 [BZ #16400]
18024 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18025 Return -__logl (x) for small positive arguments without evaluating
18026 a polynomial.
18027
9341dde4
MF
180282014-01-06 Mike Frysinger <vapier@gentoo.org>
18029
18030 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18031 Rename to ...
18032 (__ptrace_peeksiginfo_args): ... this.
18033 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18034 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18036
4cff0293
AM
180372014-01-06 Allan McRae <allan@archlinux.org>
18038
18039 * inet/netinet/in.h: Fix typo in comment.
18040
75595dcf
AJ
180412014-01-05 Andreas Jaeger <aj@suse.de>
18042
18043 * sysdeps/i386/fpu/libm-test-ulps: Update.
18044
79c1e109
AM
180452014-01-05 Allan McRae <allan@archlinux.org>
18046
dd804818
AM
18047 * po/libc.pot: Regenerated.
18048
79c1e109
AM
18049 * malloc/memusagestat.c: Fix gettext call formatting.
18050
0c813d1f
SK
180512014-01-04 Sami Kerola <kerolasa@iki.fi>
18052
18053 * nscd/nscd.c: Improve usage() output.
18054
20f4a8d9
MF
180552014-01-04 Mike Frysinger <vapier@gentoo.org>
18056
18057 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18058 * sysdeps/unix/sysv/linux/configure: Regenerated.
18059 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18060 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18061
22562bb2
JM
180622014-01-03 Joseph Myers <joseph@codesourcery.com>
18063
18064 [BZ #16390]
18065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18066 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18067
d7ad2d9b
AZ
180682014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18069
18070 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18071 extra tokens at end of #undef directive.
18072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18073 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18074 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18075
7dd009d8
JM
180762014-01-03 Joseph Myers <joseph@codesourcery.com>
18077
24db925a
JM
18078 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18079
7dd009d8
JM
18080 * math/auto-libm-test-in: Mark various tests with
18081 xfail-rounding:ldbl-128ibm.
18082 * math/auto-libm-test-out: Regenerated.
18083
396e3ecf
JM
180842014-01-02 Joseph Myers <joseph@codesourcery.com>
18085
819e5d50
JM
18086 [BZ #16386]
18087 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18088 numbers with subnormal high part when calculating exponent.
18089
90b6a1e5
JM
18090 [BZ #16385]
18091 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18092 fabs.
18093
396e3ecf
JM
18094 [BZ #16384]
18095 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18096 M_LN2l.
18097 (__ieee754_acoshl): Use __log1pl not __log1p.
18098
6c8dbf00
OB
180992013-01-02 Ondřej Bílka <neleai@seznam.cz>
18100
57f41c40
AS
18101 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18102 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18103 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18104 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18105 (reused_arena, arena_get2): Convert to GNU style.
18106 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18107 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18108 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18109 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18110 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18111 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18112 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18113 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18114 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18115 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18116 * malloc/malloc.h: Likewise.
57f41c40
AS
18117 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18118 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18119 * malloc/mcheck.h: Likewise.
57f41c40
AS
18120 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18121 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18122 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18123 * malloc/morecore.c (__default_morecore): Likewise.
18124 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18125 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18126 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18127 (print_and_abort): Likewise.
6c8dbf00
OB
18128 * malloc/obstack.h: Likewise.
18129 * malloc/set-freeres.c (__libc_freeres): Likewise.
18130 * malloc/tst-mallocstate.c (main): Likewise.
18131 * malloc/tst-mtrace.c (main): Likewise.
18132 * malloc/tst-realloc.c (do_test): Likewise.
18133
d4124212
SP
181342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18135
9a3c6a6f
SP
18136 [BZ #16366]
18137 * nscd/netgroupcache.c (do_notfound): New function.
18138 (addgetnetgrentX): Use it.
18139
d4124212
SP
18140 [BZ # 16365]
18141 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18142 NSS_STATUS_NOTFOUND.
18143
97b9a009
JM
181442014-01-01 Joseph Myers <joseph@codesourcery.com>
18145
18146 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18148
d4697bc9
AM
181492014-01-01 Allan McRae <allan@archlinux.org>
18150
ddb3687f
AM
18151 * scripts/update-copyrights: Update configure input file suffix.
18152
88726d48
AM
18153 * NEWS: Update copyright year.
18154 * catgets/gencat.c: Likewise.
18155 * csu/version.c: Likewise.
18156 * debug/catchsegv.sh: Likewise.
18157 * debug/pcprofiledump.c: Likewise.
18158 * debug/xtrace.sh: Likewise.
18159 * elf/ldconfig.c: Likewise.
18160 * elf/ldd.bash.in: Likewise.
18161 * elf/pldd.c: Likewise.
18162 * elf/sotruss.ksh: Likewise.
18163 * elf/sprof.c: Likewise.
18164 * iconv/iconv_prog.c: Likewise.
18165 * iconv/iconvconfig.c: Likewise.
18166 * locale/programs/locale.c: Likewise.
18167 * locale/programs/localedef.c: Likewise.
18168 * login/programs/pt_chown.c: Likewise.
18169 * malloc/memusage.sh: Likewise.
18170 * malloc/memusagestat.c: Likewise.
18171 * malloc/mtrace.pl: Likewise.
18172 * manual/libc.texinfo: Likewise.
18173 * nscd/nscd.c: Likewise.
18174 * nss/getent.c: Likewise.
18175 * nss/makedb.c: Likewise.
18176 * posix/getconf.c: Likewise.
18177 * scripts/test-installation.pl: Likewise.
18178
d4697bc9
AM
18179 * All files with FSF copyright notices: Update copyright dates
18180 using scripts/update-copyrights.
18181 * intl/plural.c: Regenerated.
18182 * locale/programs/charmap-kw.h: Likewise.
18183 * locale/programs/locfile-kw.h: Likewise.
18184
c8590f9d
MF
181852013-12-31 Mike Frysinger <vapier@gentoo.org>
18186
18187 * sysdeps/unix/sysv/linux/configure: Regenerated.
18188 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18189 the linux/fanotify.h header.
18190 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18191 HAVE_LINUX_FANOTIFY_H is defined.
18192
b19221b9
SP
181932013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18194
dd1d85e5
SP
18195 * benchtests/cos-inputs: New inputs.
18196 * benchtests/sin-inputs: Likewise.
18197
1acbb90f
SP
18198 * benchtests/atan-inputs: New inputs. Fix name of multiple
18199 precision fallback inputs.
18200
4c012ed3
SP
18201 * benchtests/atanh-inputs: New inputs.
18202 * benchtests/tanh-inputs: Likewise.
18203
eff98324
SP
18204 * benchtests/acosh-inputs: New inputs.
18205 * benchtests/asinh-inputs: Likewise.
18206
ce641152
SP
18207 * benchtests/cosh-inputs: New inputs.
18208 * benchtests/sinh-inputs: Likewise.
18209
b19221b9
SP
18210 * benchtests/acos-inputs: Add more inputs.
18211 * benchtests/asin-inputs: Likewise.
18212
030a4976 182132013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18214
030a4976 18215 [BZ #16375]
9dcc8f11
VS
18216 * manual/arith.texi: Fix spelling.
18217 * manual/charset.texi: Likewise.
18218 * manual/errno.texi: Likewise.
18219 * manual/filesys.texi: Likewise.
18220 * manual/lang.texi: Likewise.
18221 * manual/llio.texi: Likewise.
18222 * manual/locale.texi: Likewise.
18223 * manual/message.texi: Likewise.
18224 * manual/resource.texi: Likewise.
18225 * manual/search.texi: Likewise.
18226 * manual/setjmp.texi: Likewise.
18227 * manual/stdio.texi: Likewise.
18228 * manual/string.texi: Likewise.
18229 * manual/sysinfo.texi: Likewise.
18230 * manual/time.texi: Likewise.
18231
11520a57
CD
182322013-12-27 Carlos O'Donell <carlos@redhat.com>
18233
18234 * po/sl.po: New file.
18235
471103ae
MF
182362013-12-27 Mike Frysinger <vapier@gentoo.org>
18237
18238 * .gitignore: Add core/.gdbinit/.gdb_history.
18239
6c9642ed
AM
182402013-12-27 Allan McRae <allan@archlinux.org>
18241
18242 [BZ #16369]
18243 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18244 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18245
3f637079
BM
182462013-12-24 Brooks Moses <bmoses@google.com>
18247
18248 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18249 all compilers that claim C++98 compliance, not just GCC.
18250 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18251 Likewise.
18252
abc26e99
MK
182532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18254
18255 * NEWS: Restore accidentally deleted bug-fix entries.
18256
362b47fe
MK
182572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18258 Ondřej Bílka <neleai@seznam.cz>
18259
18260 [BZ #15073]
18261 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18262 have_lock.
362b47fe 18263
b9bcbbcb
OB
182642013-12-23 Ondřej Bílka <neleai@seznam.cz>
18265
18266 [BZ #12986]
18267 * manual/stdio.texi (String Input Conversions): Clarify that character
18268 classes are not supported.
18269
fb55fcd2
AZ
182702013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18271
18272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18273
ef7344f0
JM
182742013-12-22 Joseph Myers <joseph@codesourcery.com>
18275
4f40e4b3
JM
18276 [BZ #16337]
18277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18278 Calculate results for small negative arguments directly rather
18279 than using reflection formula with special underflow handling.
18280
ef7344f0
JM
18281 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18282 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18283 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18284 (fchflags): Likewise.
18285 (revoke): Likewise.
18286 (setlogin): Likewise.
18287 (sigaltstack): Likewise.
18288 (wait4): Likewise.
18289 (sigblock): Remove.
18290 (sigsetmask): Likewise.
18291 (wait3): Likewise.
18292 (waitpid): Likewise.
18293 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18294 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18295 file.
18296 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18297 * sysdeps/unix/bsd/Makefile: ... here.
18298 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18299 * sysdeps/unix/bsd/Versions: ... here.
18300 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18301 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18302 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18303 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18304 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18305 * sysdeps/unix/bsd/sigblock.c: ... here.
18306 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18307 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18308 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18309 * sysdeps/unix/bsd/sigvec.c: ... here.
18310 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18311 * sysdeps/unix/bsd/tcdrain.c: ... here.
18312 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18313 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18314 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18315 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18316 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18317 * sysdeps/unix/bsd/wait.c: ... here.
18318 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18319 * sysdeps/unix/bsd/wait3.c: ... here.
18320 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18321 * sysdeps/unix/bsd/waitpid.c: ... here.
18322
5b0626b9
JM
183232013-12-21 Joseph Myers <joseph@codesourcery.com>
18324
18325 [BZ #16356]
18326 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18327 round-to-nearest for [!USE_AS_EXPM1L].
18328 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18329 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18330 more tests of exp and exp10. Expect some exp10 tests to miss
18331 exceptions or fail in directed rounding modes.
18332 * math/auto-libm-test-out: Regenerated.
18333 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18334 (exp10_test_tonearest): New function.
18335 (exp10_towardzero_test_data): New array.
18336 (exp10_test_towardzero): New function.
18337 (exp10_downward_test_data): New array.
18338 (exp10_test_downward): New function.
18339 (exp10_upward_test_data): New array.
18340 (exp10_test_upward): New function.
18341 (main): Call the new functions.
18342 * sysdeps/i386/fpu/libm-test-ulps: Update.
18343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344
7fda5682
JM
183452013-12-20 Joseph Myers <joseph@codesourcery.com>
18346
31e3a405
JM
18347 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18348 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18349 * math/auto-libm-test-out: Regenerated.
18350 * math/libm-test.inc (acosh_test_data): Add more tests.
18351 (atanh_test_data): Likewise.
18352 (ceil_test_data): Likewise.
18353 (copysign_test_data): Likewise.
18354 * sysdeps/i386/fpu/libm-test-ulps: Update.
18355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18356
85bff96a
JM
18357 * timezone/checktab.awk: Update from tzcode 2013i.
18358 * timezone/private.h: Likewise.
18359 * timezone/scheck.c: Likewise.
18360 * timezone/tzfile.h: Likewise.
18361 * timezone/tzselect.ksh: Likewise.
18362 * timezone/zdump.c: Likewise.
18363 * timezone/zic.c: Likewise.
18364
b7867a3b
JM
18365 * math/auto-libm-test-in: Add tests of cpow.
18366 * math/auto-libm-test-out: Regenerated.
18367 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18369 mpc_cc_c.
18370 (func_calc_desc): Add mpc_cc_c union field.
18371 (test_functions): Add cpow.
18372 (special_fill_2pi): New function.
18373 (special_real_inputs): Add 2pi.
18374 (calc_generic_results): Handle mpc_cc_c.
18375 * sysdeps/i386/fpu/libm-test-ulps: Update.
18376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18377
7fda5682
JM
18378 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18379 csqrt, ctan and ctanh.
18380 * math/auto-libm-test-out: Regenerated.
18381 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18382 (TEST_COND_x86): Likewise.
18383 (ccos_test_data): Use AUTO_TESTS_c_c.
18384 (ccosh_test_data): Likewise.
18385 (cexp_test_data): Likewise.
18386 (clog_test_data): Likewise.
18387 (csqrt_test_data): Likewise.
18388 (ctan_test_data): Likewise.
18389 (ctan_tonearest_test_data): Likewise.
18390 (ctan_towardzero_test_data): Likewise.
18391 (ctan_downward_test_data): Likewise.
18392 (ctan_upward_test_data): Likewise.
18393 (ctanh_test_data): Likewise.
18394 (ctanh_tonearest_test_data): Likewise.
18395 (ctanh_towardzero_test_data): Likewise.
18396 (ctanh_downward_test_data): Likewise.
18397 (ctanh_upward_test_data): Likewise.
18398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18399 mpc_c_c.
18400 (func_calc_desc): Add mpc_c_c union field.
18401 (FUNC_mpc_c_c): New macro.
18402 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18403 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18404 ctanh.
18405 (special_fill_min_subnorm_p120): New function.
18406 (special_real_inputs): Add min_subnorm_p120.
18407 (calc_generic_results): Handle mpc_c_c.
18408 * sysdeps/i386/fpu/libm-test-ulps: Update.
18409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18410
5ff8d60e
SP
184112013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18412
57f41c40
AS
18413 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18414 (do_sin_slow): New functions.
18415 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18416 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18417
84ba214c
SP
18418 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18419 Use M to change sign of result instead of X. Assume X is
18420 positive.
18421 (csloww1): Likewise.
18422 (__sin): Adjust.
18423 (__cos): Adjust.
18424
975195e4
SP
18425 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18426 arguments A and DA.
18427 (__sin): Adjust.
18428 (__cos): Likewise.
18429
5ff8d60e
SP
18430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18431 (__cos): Likewise.
18432 (sloww1): Don't adjust sign of DX.
18433 (csloww1): Likewise.
18434 (sloww2): Use X directly and don't adjust sign of DX.
18435 (csloww2): Likewise.
18436
eb983568
JM
184372013-12-19 Joseph Myers <joseph@codesourcery.com>
18438
64a17f1a
JM
18439 * math/auto-libm-test-in: Add tests of cabs and carg.
18440 * math/auto-libm-test-out: Regenerated.
18441 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18442 (carg_test_data): Likewise.
18443 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18444 mpc_c_f.
18445 (func_calc_desc): Add mpc_c_f union field.
18446 (test_functions): Add cabs and carg.
18447 (calc_generic_results): Handle mpc_c_f.
18448
eb983568
JM
18449 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18450 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18451 as a macro and a compat symbol.
18452 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18453 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18454 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18455 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18456 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18457 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18458 not use .hidden.
18459 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18460 Likewise.
18461 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18462 Likewise.
18463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18464 Likewise.
18465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18466 Likewise.
18467 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18468 Likewise.
18469 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18470 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18471 from GLIBC_2.3.2.
18472
6eeb678a
AZ
184732013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18474
18475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18476
6f6fc482
JM
184772013-12-19 Joseph Myers <joseph@codesourcery.com>
18478
21fea2e2
JM
18479 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18480 trailing whitespace removed.
18481 * scripts/config.guess: Update to version 2013-11-29.
18482 * scripts/config.sub: Update to version 2013-10-01.
18483
6f6fc482
JM
18484 * math/auto-libm-test-in: Add tests of sincos.
18485 * math/auto-libm-test-out: Regenerated.
18486 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18487 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18488 mpfr_f_11.
18489 (func_calc_desc): Add mpfr_f_11 union field.
18490 (test_functions): Add sincos.
18491 (calc_generic_results): Handle mpfr_f_11.
18492 * sysdeps/i386/fpu/libm-test-ulps: Update.
18493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18494
83f5c32d
AS
184952013-12-19 Andreas Schwab <schwab@suse.de>
18496
18497 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18498 CALL_MCOUNT.
18499 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18501 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18502
c688b419
JM
185032013-12-19 Joseph Myers <joseph@codesourcery.com>
18504
335ee092
JM
18505 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18506 * sysdeps/i386/fpu/libm-test-ulps: Update.
18507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18508
f88acd39
JM
18509 [BZ #16293]
18510 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18511 round-to-nearest mode when using frndint.
18512 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18513 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18514 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18515 Likewise.
18516 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18517 sinh test to fail.
18518 * math/auto-libm-test-out: Regenerated.
18519 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18520 (TEST_COND_x86): Likewise.
18521 (expm1_tonearest_test_data): New array.
18522 (expm1_test_tonearest): New function.
18523 (expm1_towardzero_test_data): New array.
18524 (expm1_test_towardzero): New function.
18525 (expm1_downward_test_data): New array.
18526 (expm1_test_downward): New function.
18527 (expm1_upward_test_data): New array.
18528 (expm1_test_upward): New function.
18529 (main): Run the new test functions.
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18532
c688b419
JM
18533 * include/features.h: Update comment documenting feature test
18534 macros. Mention _DEFAULT_SOURCE in comment.
18535 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18536 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18537 _BSD_SOURCE and _SVID_SOURCE.
18538 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18539 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18540 !_SVID_SOURCE]: Likewise.
18541 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18542 (__USE_POSIX_IMPLICITLY): Define.
18543 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18544 (_POSIX_SOURCE): Undefine and redefine.
18545 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18546 (_POSIX_C_SOURCE): Likewise.
18547 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18548 (Feature Test Macros): Update documentation of default features.
18549
9f6e964c
RS
185502013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18551
18552 * benchtests/Makefile: Add bench-strtok.
18553 * benchtests/bench-strtok.c: New file: strtok benchtest.
18554
ee0a148a
AM
185552013-12-19 Allan McRae <allan@archlinux.org>
18556
18557 * manual/install.texi: Suppress menu for plain text output.
18558 * INSTALL: Regenerated.
18559
b9ab448f
BM
185602013-12-18 Brooks Moses <bmoses@google.com>
18561
18562 [BZ #15846]
18563 * misc/getauxval.c: Include errno.h.
18564 (__getauxval): Set errno to ENOENT if the requested type is not
18565 found.
18566 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18567 don't declare with __attribute_const__.
18568 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18569 * manual/startup.texi: Document that getauxval sets errno.
18570
23776487
JM
185712013-12-18 Joseph Myers <joseph@codesourcery.com>
18572
f889953b
JM
18573 * math/auto-libm-test-in: Add tests of jn and yn.
18574 * math/auto-libm-test-out: Regenerated.
18575 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18576 (yn_test_data): Likewise.
18577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18578 mpfr_if_f.
18579 (func_calc_desc): Add mpfr_if_f union field.
18580 (FUNC_mpfr_if_f): New macro.
18581 (test_functions): Add jn and yn.
18582 (calc_generic_results): Assert type of second input for
18583 mpfr_ff_f. Handle mpfr_if_f.
18584 (output_for_one_input_case): Disable all checking for arguments
18585 fitting floating-point types in case of an integer argument.
18586 * sysdeps/i386/fpu/libm-test-ulps: Update.
18587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18588
23776487
JM
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18590 Don't expect fegetround reference in libm.so.
18591
cb756c6d
MS
185922013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18593
18594 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18595 $(config-cflags-nofma).
18596
2dec468f
JM
185972013-12-18 Joseph Myers <joseph@codesourcery.com>
18598
5953eb3a
JM
18599 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18600 * math/auto-libm-test-out: Regenerated.
18601
2dec468f
JM
18602 [BZ #16338]
18603 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18604 to determine exponent and adjust argument to have exponent of -1.
18605 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18606 log2.
18607 * math/auto-libm-test-out: Regenerated.
18608 * sysdeps/i386/fpu/libm-test-ulps: Update.
18609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18610
4d84e6ad
OB
186112013-12-18 Ondřej Bílka <neleai@seznam.cz>
18612
18613 * manual/probes.texi: Remove cases when per-thread arenas are
18614 disabled.
18615
1818483b
AS
186162013-12-18 Andreas Schwab <schwab@suse.de>
18617
18618 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18619 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18620 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18621 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18622 * sysdeps/i386/i686/multiarch/Makefile: Update.
18623 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18624
25de95bf
JM
186252013-12-17 Joseph Myers <joseph@codesourcery.com>
18626
18627 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18628 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18629
674762d9
PE
186302013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18631
ed27ed83 18632 [BZ #15968]
0748546f
PE
18633 Support TZ transition times < 00:00:00.
18634 This is needed for version-3 tz-format files; it supports time
18635 stamps past 2037 for America/Godthab (the only entry in the tz
18636 database for which this change is relevant).
18637 * manual/time.texi (TZ Variable): Document transition times
18638 from -167:59:59 through -00:00:01.
18639 * time/tzset.c (tz_rule): Time of day is now signed.
18640 (__tzset_parse_tz): Parse negative time of day.
18641
4480e934
PE
18642 Document TZ transition times >= 25:00:00.
18643 * manual/time.texi (TZ Variable): Document transition times from
18644 25:00:00 through 167:59:59. These are already supported, and this
18645 support will help with version-3 tz-format files.
18646
69947401
PE
18647 * manual/time.texi (TZ Variable): Modernize North America example
18648 to reflect current (i.e., 2007-and-later) daylight saving rules.
18649
674762d9
PE
18650 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18651
7011c262
JM
186522013-12-17 Joseph Myers <joseph@codesourcery.com>
18653
2fc6557e
JM
18654 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18655 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18658 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18659 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18660 * sysdeps/unix/bsd/clock.c: Likewise.
18661 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18662 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18663 * sysdeps/unix/bsd/init-posix.c: Likewise.
18664 * sysdeps/unix/bsd/poll.c: Likewise.
18665 * sysdeps/unix/bsd/ptsname.c: Likewise.
18666 * sysdeps/unix/bsd/seekdir.c: Likewise.
18667 * sysdeps/unix/bsd/setegid.c: Likewise.
18668 * sysdeps/unix/bsd/seteuid.c: Likewise.
18669 * sysdeps/unix/bsd/setgid.c: Likewise.
18670 * sysdeps/unix/bsd/setrgid.c: Likewise.
18671 * sysdeps/unix/bsd/setruid.c: Likewise.
18672 * sysdeps/unix/bsd/setsid.c: Likewise.
18673 * sysdeps/unix/bsd/setuid.c: Likewise.
18674 * sysdeps/unix/bsd/sigaction.c: Likewise.
18675 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18676 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18677 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18678 * sysdeps/unix/bsd/telldir.c: Likewise.
18679 * sysdeps/unix/bsd/times.c: Likewise.
18680 * sysdeps/unix/bsd/usleep.c: Likewise.
18681
029c7b25
JM
18682 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18683 ($(objpfx)libbsd-compat.a): Remove rule.
18684
7011c262
JM
18685 * include/features.h (__FAVOR_BSD): Do not define.
18686 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18687 features conflicting with POSIX.
18688 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18689 (_BSD_SOURCE): Remove description of not being a subset of other
18690 feature test macros.
18691 * manual/job.texi (getpgrp): Do not document BSD version.
18692 (getpgid): Do not document by reference to BSD getpgrp.
18693 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18694 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18695 * signal/signal.h [__FAVOR_BSD]: Likewise.
18696 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18697 instead of making contents conditional on [__FAVOR_BSD].
18698 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18699
affb6f78
AZ
187002013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18701
18702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18703
c88769dd
JM
187042013-12-17 Joseph Myers <joseph@codesourcery.com>
18705
6432a540
JM
18706 [BZ #16314]
18707 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18708 values below 2**-450, not 2**-500.
18709 * math/auto-libm-test-in: Don't allow spurious underflow from
18710 hypot.
18711 * math/auto-libm-test-out: Regenerated.
18712
c88769dd
JM
18713 [BZ #16316]
18714 [BZ #16330]
18715 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18716 values of ha and hb and sort them after adjusting subnormal
18717 arguments.
18718 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18719 Likewise.
18720 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18721 values of ea and eb and sort them after adjusting subnormal
18722 arguments.
18723 * math/auto-libm-test-in: Do not expect some hypot tests of
18724 subnormals to fail. Add more hypot tests.
18725 * math/auto-libm-test-out: Regenerated.
18726
29618f6b
KK
187272013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18728
18729 [BZ #13304]
18730 * sysdeps/sh/s_fma.c: New file.
18731 * sysdeps/sh/s_fmaf.c: New file.
18732 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18733 version.
18734 * sysdeps/sh/Implies: Add sh/soft-fp.
18735
eacfdfbf
RM
187362013-12-16 Roland McGrath <roland@hack.frob.com>
18737
18738 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18739 level of indirection to members `objname', `errstring', `malloced'.
18740 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18741 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18742 it as the __longjmp argument (just pass 1 instead).
18743 (_dl_catch_error): Initialize C with argument pointers and address of
18744 volatile local ERRCODE rather than copying values out of C at return.
18745
ff362e5b
JM
187462013-12-16 Joseph Myers <joseph@codesourcery.com>
18747
18748 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18749 * math/auto-libm-test-out: Regenerated.
18750 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18751 (hypot_test_data): Likewise.
18752 (pow_test_data): Likewise.
18753 (pow_tonearest_test_data): Likewise.
18754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18755 mpfr_ff_f.
18756 (func_calc_desc): Add mpfr_ff_f union field.
18757 (FUNC_mpfr_ff_f): New macro.
18758 (test_functions): Add atan2, hypot and pow.
18759 (special_fill_min): New function.
18760 (special_fill_minus_min): Likewise.
18761 (special_fill_min_subnorm): Likewise.
18762 (special_fill_minus_min_subnorm): Likewise.
18763 (special_real_inputs): Add min, -min, min_subnorm and
18764 -min_subnorm.
18765 (calc_generic_results): Handle mpfr_ff_f.
18766 * sysdeps/i386/fpu/libm-test-ulps: Update.
18767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18768
5764c27f
WN
187692013-12-16 Will Newton <will.newton@linaro.org>
18770
18771 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18772 (Aligned Memory Blocks): Add documentation for aligned_alloc
18773 and suggest it as an alternative to posix_memalign.
18774 (Hooks for Malloc): Document __memalign_hook is also called
18775 for aligned_alloc. (Summary of Malloc): Add summary for
18776 aligned alloc. Document __memalign_hook is also called
18777 for aligned_alloc.
18778
0a096e44
WN
187792013-12-16 Will Newton <will.newton@linaro.org>
18780
18781 * manual/memory.texi (Malloc Examples): Clarify default
18782 alignment documentation. Suggest posix_memalign rather
18783 than memalign or valloc.
18784 (Aligned Memory Blocks): Remove suggestion to use memalign
18785 or valloc. Remove obsolete comment about BSD.
18786 Document memalign errno values and mark the function obsolete.
18787 Document posix_memalign returned error codes. Mark valloc
18788 as obsolete. (Hooks for Malloc): __memalign_hook is also
18789 called for posix_memalign and valloc.
18790 (Summary of Malloc): Add posix_memalign to function summary.
18791 __memalign_hook is also called for posix_memalign and valloc.
18792
8d561986
SP
187932013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18794
18795 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18796 TAYLOR_SIN.
18797 (__sin): Adjust.
18798 (__cos): Likewise.
18799 (sloww): Use mynumber union. Expand ternary operator into
18800 if-else statements.
18801 (cslow): use mynumber union.
18802
73616a74
AM
188032013-12-16 Allan McRae <allan@archlinux.org>
18804
9e8ac24b
AM
18805 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18806 * configure: Regenerated.
18807
6f8e37eb
AM
18808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18809
8894bad3
AM
18810 [BZ #14120]
18811 * configure.ac: Added --enable-maintainer-mode. Check for
18812 autoconf when enabled.
18813 * configure: Regenerated.
18814
73616a74
AM
18815 * nscd/nscd.service: New file.
18816 * nscd/nscd.tmpfiles: New file.
18817
584b18eb
OB
188182013-12-14 Ondřej Bílka <neleai@seznam.cz>
18819
18820 [BZ #12100]
18821 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18822 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18823 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18824 (strstr): Add __strstr_sse2_unaligned ifunc.
18825 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18826 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18827 (strcasestr): Remove __strcasestr_sse42 ifunc.
18828 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18831
8a5c7897
KK
188322013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18833
18834 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18835 * sysdeps/sh/bits/fenv.h: ... here.
18836 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18837
fd712ef3
AZ
188382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18839
18840 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18841
42fcb46c
AZ
18842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18843 hypotf multiarch implementations.
18844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18846 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18847 multiarch hypot for PPC64.
18848 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18849 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18851 multiarch hypotf for PPC64.
18852
83efded4
AZ
18853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18854 modff multiarch implementations.
18855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18858 multiarch modf for PPC64.
18859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18862 multiarch modff for PPC64.
18863
43e246d2
AZ
18864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18865 and logl multiarch implementations.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18869 multiarch logb for PPC64.
18870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18873 multiarch logb for PPC64.
18874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18877 multiarch logb for PPC64.
18878
8fdad123
AZ
18879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18880 isinff multiarch implementation.
18881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18882 file.
18883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18885 multiarch isinf for PPC64.
18886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18887 file.
18888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18889 multiarch isinff for PPC64.
18890
1481d706
AZ
18891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18892 finitef multiarch implementation.
18893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18894 file.
18895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18897 multiarch finite for PPC64.
18898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18899 file.
18900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18901 multiarch finitef for PPC64.
18902
5ccd5fc8
AZ
18903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18904 lrint multiarch implementation.
18905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18906 file.
18907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18909 multiarch llrint for PPC64.
18910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18911 multiarch lrint for PPC64.
18912
2568f3fa
AZ
18913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18914 copysignf multiarch implementation.
18915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18916 file.
18917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18918 file.
18919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18920 multiarch copysign for PPC64.
18921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18922 multiarch copysignf for PPC64.
18923
1cb341fd
AZ
18924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18925 multiarch implementation.
18926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18927 file.
18928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18929 file.
18930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18931 file.
18932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18933 file.
18934 multiarch llround for PPC64.
18935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18936 multiarch trunc for PPC64.
18937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18938 multiarch truncf for PPC64.
18939
59a3e194
AZ
18940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18941 multiarch implementation.
18942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18943 file.
18944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18945 file.
18946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18947 file.
18948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18949 file.
18950 multiarch llround for PPC64.
18951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18952 multiarch round for PPC64.
18953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18954 multiarch roundf for PPC64.
18955
357fd3b4
AZ
18956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18957 multiarch implementation.
18958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18959 file.
18960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18961 file.
18962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18963 file.
18964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18965 file.
18966 multiarch llround for PPC64.
18967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18968 multiarch floor for PPC64.
18969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18970 multiarch floorf for PPC64.
18971
96770f12
AZ
18972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18973 multiarch implementation.
18974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18975 file.
18976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18977 file.
18978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18979 file.
18980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18981 file.
18982 multiarch llround for PPC64.
18983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18984 multiarch ceil for PPC64.
18985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18986 multiarch ceilf for PPC64.
18987
c3627f6e
AZ
18988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18989 multiarch implementation.
18990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18991 file.
18992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18993 file.
18994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18995 file.
18996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18997 multiarch llround for PPC64.
18998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18999 multiarch lround for PPC64.
19000
b2284ad7
AZ
19001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19002 multiarch implementation.
19003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19006 file.
19007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19010 multiarch isnan for PPC64.
19011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19012 multiarch isnanf for PPC64.
19013
69bbc63d
AZ
19014 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19015 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19016 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19017 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19018 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19020
c24517c9
AZ
19021 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19025
a52374e8
AZ
19026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19027 multiarch implementations.
19028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19029 (__libc_ifunc_impl_list): Likewise.
19030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19032 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19033 multiarch stpcpy for PPC64.
19034
7f5ec113
AZ
19035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19036 multiarch implementations.
19037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19038 (__libc_ifunc_impl_list): Likewise.
19039 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19040 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19041 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19042 multiarch strcpy for PPC64.
19043
e28bcd42
AZ
19044 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19045 redefine function name.
19046 (_wordcopy_fwd_dest_aligned): Likewise.
19047 (_wordcopy_bwd_aligned): Likewise.
19048 (_wordcopy_bwd_dest_aligned): Likewise.
19049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19050 multiarch implementations.
19051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19052 (__libc_ifunc_impl_list): Likewise.
19053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19054 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19055 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19056 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19057 multiarch wcscpy for PPC64.
19058
92cacfce
AZ
19059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19060 multiarch implementations.
19061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19062 (__libc_ifunc_impl_list): Likewise.
19063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19065 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19066 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19067 multiarch wcscpy for PPC64.
19068
7b714620
AZ
19069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19070 multiarch implementations.
19071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19072 (__libc_ifunc_impl_list): Likewise.
19073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19075 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19076 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19077 multiarch wcsrchr for PPC64.
19078
16fd2ae3
AZ
19079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19080 multiarch implementations.
19081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19082 (__libc_ifunc_impl_list): Likewise.
19083 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19084 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19085 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19086 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19087 multiarch wcschr for PPC64.
19088
9ee2969b
AZ
19089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19090 multiarch implementations.
19091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19092 (__libc_ifunc_impl_list): Likewise.
19093 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19094 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19095 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19096 multiarch strchrnul for PPC64.
19097
372dc060
AZ
19098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19099 implementations.
19100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19101 (__libc_ifunc_impl_list): Likewise.
19102 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19103 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19104 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19105 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19106 strchr for PPC64.
19107
24c2c3b9
AZ
19108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19109 implementations.
19110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19111 (__libc_ifunc_impl_list): Likewise.
19112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19114 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19115 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19116 strncmp for PPC64.
19117
1c92d9a0
AZ
19118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19119 multiarch implementations.
19120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19121 (__libc_ifunc_impl_list): Likewise.
19122 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19123 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19124 strncasecmp for PPC64.
19125 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19126 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19127 multiarch strncasecmp_l for PPC64.
19128
17de3ee3
AZ
19129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19130 multiarch implementations.
19131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19132 (__libc_ifunc_impl_list): Likewise.
19133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19135 multiarch strcasecmp for PPC64.
19136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19137 file.
19138 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19139 multiarch strcasecmp_l for PPC64.
19140
62982bf9
AZ
19141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19142 implementations.
19143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19144 (__libc_ifunc_impl_list): Likewise.
19145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19146 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19147 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19148 strnlen for PPC64.
19149
a65f4904
AZ
19150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19151 implementations.
19152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19153 (__libc_ifunc_impl_list): Likewise.
19154 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19155 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19156 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19157 strlen for PPC64.
19158
1fd005ad
AZ
19159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19160 implementations.
19161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19162 (__libc_ifunc_impl_list): Likewise.
19163 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19164 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19165 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19166 rawmemrchr for PPC64.
19167
cd05ba91
AZ
19168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19169 implementation.
19170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19171 (__libc_ifunc_impl_list): Likewise.
19172 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19173 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19174 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19175 memrchr for PPC64.
19176
870f8676
AZ
19177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19178 implementation.
19179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19180 (__libc_ifunc_impl_list): Likewise.
19181 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19182 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19183 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19184 memchr for PPC64.
19185
f00be62b
AZ
19186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19187 implementation.
19188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19189 (__libc_ifunc_impl_list): Likewise.
19190 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19192 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19193 mempcpy for PPC64.
19194
8a29a3d0
AZ
19195 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19196 avoid cretion of __bzero symbol.
19197 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19198 Likewise.
19199 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19200 Likewise.
19201 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19202 Likewise.
19203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19204 multiarch implementations.
19205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19206 (__libc_ifunc_impl_list): Likewise.
19207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19208 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19209 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19210 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19211 bzero for PPC32.
19212 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19213 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19214 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19215 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19216 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19217 memset for PPC64.
19218 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19219
07253fcf
AZ
19220 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19222 implementations.
19223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19224 (__libc_ifunc_impl_list): Likewise.
19225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19227 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19228 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19229 memcmp for PPC64.
19230
b5beafbc
AZ
19231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19232 multiarch for POWER/PPC64.
19233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19234 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19241 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19242 memcpy for PPC64.
19243
5e6a4d4b
AZ
19244 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19245 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19246 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19247 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19248 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19249 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19250 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19251 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19252 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19253 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19254 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19255 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19256 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19257 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19258 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19266
ddfab6dc
KK
192672013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19268
19269 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19270
19b5525e
SP
192712013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19272
19273 * benchtests/Makefile (bench): Add exp2 and log2.
19274 (LDLIBS-bench-exp2): Add -lm.
19275 (LDLIBS-bench-log2): Likewise.
19276 * benchtests/exp2-inputs: New inputs file.
19277 * benchtests/log2-inputs: New inputs file.
19278 * benchtests/log-inputs: Add new inputs.
19279 * benchtests/tan-inputs: Likewise.
19280
196f7f5d
SP
192812013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19282
7a74607f
SP
19283 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19284 definition...
57f41c40
AS
19285 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19286 (csloww2): ... from here.
7a74607f 19287
196f7f5d
SP
19288 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19289 instead of structures.
19290 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19291 (POLYNOMIAL): Likewise.
19292 (TAYLOR_SLOW): Likewise.
19293 (__sin): Likewise.
19294 (__cos): Likewise.
19295 (slow1): Likewise.
19296 (slow2): Likewise.
19297 (sloww): Likewise.
19298 (sloww1); Likewise.
19299 (sloww2): Likewise.
19300 (bsloww1): Likewise.
19301 (bsloww2): Likewise.
19302 (cslow2): Likewise.
19303 (csloww): Likewise.
19304 (csloww1): Likewise.
19305 (csloww2): Likewise.
19306
0dfa665c
OB
193072013-12-10 Ondřej Bílka <neleai@seznam.cz>
19308
19309 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19310 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19311 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19312 * malloc/hooks.c (realloc_check): Likewise.
19313
5782a80f
OB
19314 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19315 * malloc/arena.c: Remove PER_THREAD conditional.
19316 [!PER_THREAD]: Remove code.
19317 (ptmalloc_unlock_all2): Likewise.
19318 (ptmalloc_init): Likewise.
19319 (_int_new_arena): Likewise.
19320 (arena_get2): Likewise.
19321 * malloc/hooks.c (__malloc_get_state): Likewise.
19322 (__malloc_set_state): Likewise.
19323 * malloc/malloc.c: Likewise.
19324 (struct malloc_state): Likewise.
19325 (struct malloc_par): Likewise.
19326 (__libc_realloc): Likewise.
19327 (__libc_mallopt): Likewise.
19328
aeb95445
AZ
193292013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19330
19331 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19332
e8349efd
OB
193332013-12-09 Ondřej Bílka <neleai@seznam.cz>
19334
19335 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19336 macro to a function. Check for zero perturb_byte.
19337 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19338
f3eeb3fc 19339 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19340 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19341 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19342 force_reg by atomic_forced_read.
19343 * malloc/arena.c (ptmalloc_init): Likewise.
19344 * malloc/hooks.c (top_check): Likewise.
19345
be2f9009
AZ
193462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19347
19348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19349
e7b914bd
MT
193502013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19351
19352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19353
9f0be4f8
JM
193542013-12-08 Joseph Myers <joseph@codesourcery.com>
19355
19356 * math/auto-libm-test-in: Add tests of lgamma.
19357 * math/auto-libm-test-out: Regenerated.
19358 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19359 (M_LOG_2_SQRT_PIl): Likewise.
19360 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19361 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19362 mpfr_f_f1.
19363 (func_calc_desc): Add mpfr_f_f1 union field.
19364 (ARGS1): New macro.
19365 (ARGS2): Likewise.
19366 (ARGS3): Likewise.
19367 (ARGS4): Likewise.
19368 (RET1): Likewise.
19369 (RET2): Likewise.
19370 (CALC): Likewise.
19371 (FUNC): Likewise.
19372 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19373 (test_functions): Add lgamma.
19374 (calc_generic_results): Handle mpfr_f_f1.
19375 * sysdeps/i386/fpu/libm-test-ulps: Update.
19376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19377
24eeafdb
AZ
193782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19379
19380 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19381 __mpn_add_n for PowerPC64/POWER7.
19382 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19383 __mpn_sub_n for PowerPC64/POWER7.
19384
4a2c0fd4
AZ
19385 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19386 __mpn_addmul_1 for PowerPC64.
19387 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19388 __mpn_submul_1 for PowerPC64.
19389 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19390 for PowerPC64.
19391 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19392 for PowerPC64.
19393
4b5b548c
FS
193942013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19395
19396 [BZ #15089]
19397 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19398
0a3ac0aa
AZ
193992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19400
19401 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19402
ccdc8438
AZ
19403 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19404 add multiarch folders.
19405 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19406 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19407 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19408 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19409 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19410 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19411 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19412 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19413 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19414 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19415 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19422
2e973d99
AZ
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19424 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19426 New file.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19428 New file.
19429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19430 multiarch __ieee754_hypot for PowerPC32.
19431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19432 New file.
19433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19434 New file.
19435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19436 multiarch __ieee754_hypotf for PowerPC32.
19437
2d9470b2
AZ
19438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19439 long_double_symbol only if __logbl is defined.
19440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19441 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19443 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19445 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19447 path for implementation.
19448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19451 logb, and logbl multiarch implementations for PowerPC32.
19452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19453 file.
19454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19455 file.
19456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19457 multiarch logb for PowerPC32.
19458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19459 file.
19460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19461 file.
19462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19463 multiarch logbf for PowerPC32.
19464 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19466 file.
19467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19468 multiarch logbl implementation for PowerPC32.
19469
5212ffce
AZ
19470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19471 and modff multiarch implementations.
19472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19473 New file.
19474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19475 New file.
19476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19477 multiarch modf for PowerPC32.
19478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19479 New file.
19480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19481 New file.
19482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19483 multiarch modff for PowerPC32.
19484
79dccf31
AZ
19485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19486 and lrintf multiarch implementations.
19487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19488 New file.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19490 New file.
19491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19492 multiarch lrint for PowerPC32.
19493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19494 file: multiarch lrintf for PowerPC32.
19495
deb66480
AZ
19496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19497 and lroundf multiarch implementations.
19498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19499 New file.
19500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19501 New file.
19502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19503 New file.
19504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19505 multiarch lround for PowerPC32.
19506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19507 file: multiarch lroundf for PowerPC32.
19508
264b036b
AZ
19509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19510 copysign and copysignf multiarch implementations.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19512 New file.
19513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19514 New file.
19515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19516 file: multiarch copysign for PowerPC32.
19517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19518 file: multiarch copysignf for PowerPC32.
19519
d47db6c9
AZ
19520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19521 and truncf multiarch implementations.
19522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19523 New file.
19524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19525 file.
19526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19527 multiarch trunc for PowerPC32.
19528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19529 New file.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19531 New file.
19532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19533 multiarch truncf for PowerPC32.
19534
ddb60b5a
AZ
19535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19536 and roundf multiarch implementations.
19537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19538 New file.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19540 file.
19541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19542 multiarch round for PowerPC32.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19544 New file.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19546 New file.
19547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19548 multiarch roundf for PowerPC32.
19549
bedcf49b
AZ
19550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19551 and floorf multiarch implementations.
19552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19553 New file.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19555 file.
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19557 multiarch floor for PowerPC32.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19559 New file.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19561 New file.
19562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19563 multiarch floorf for PowerPC32.
19564
35ae5b40
AZ
19565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19566 and ceilf multiarch implementations.
19567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19568 New file.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19570 file.
19571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19572 multiarch ceil for PowerPC32.
19573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19574 New file.
19575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19576 file.
19577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19578 multiarch ceilf for PowerPC32.
19579
ae1a4cd9
AZ
19580 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19581 is defined.
19582 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19583 FINITEF is defined.
19584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19585 and finitef multiarch implementations.
19586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19587 New file.
19588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19589 file.
19590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19591 multiarch finite for PowerPC32.
19592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19593 New file.
19594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19595 file: multiarch finitef for PowerPC32.
19596
64fffd65
AZ
19597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19598 and isinff multiarch implementations.
19599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19600 file.
19601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19602 file.
19603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19604 multiarch isinf for PowerPC32.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19606 New file.
19607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19608 multiarch isinff for PowerPC32.
19609
8e4e7ba2
AZ
19610 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19611 alias when __isnan is defined.
19612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19613 and isnanf multiarch implementations.
19614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19615 file.
19616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19617 file.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19619 file.
19620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19621 file.
19622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19623 multiarch isnan for PowerPC32.
19624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19625 New file.
19626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19627 New file.
19628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19629 multiarch isnanf for PowerPC32.
19630
ddba588e
AZ
19631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19632 and sqrtf multiarch implementations.
19633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19634 file.
19635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19636 file.
19637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19638 multiarch sqrt for PowerPC32.
19639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19640 file.
19641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19642 file.
19643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19644 multiarch sqrtf for PowerPC32.
19645
0f96a2f0
AZ
19646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19647 and llroundf multiarch implementations.
19648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19649 New file.
19650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19651 New file.
19652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19653 New file.
19654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19655 file: multiarch llround for PowerPC32.
19656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19657 file: multiarch llroundf for PowerPC32.
19658
c9b5d79e
AZ
19659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19660 multiarch PowerPC32 fpu implementations.
19661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19662 New file.
19663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19664 New file.
19665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19666 multiarch llrint for PowerPC32.
19667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19668 New file.
19669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19670 New file.
19671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19672 file.
19673
9cbb3aab
AZ
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19675
ea5a72f8
AZ
19676 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19677 file.
19678 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19679 file.
19680 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19681 file.
19682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19683 multiarch wordcopy for PPC32.
19684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19685 wordcopy objects.
19686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19687 (__libc_ifunc_impl_list): Likewise.
19688 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19689 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19691 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19692 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19693 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19694
93be09e7
AZ
19695 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19697 file.
19698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19699 file.
19700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19701 file.
19702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19703 multiarch wcscpy for PPC32.
19704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19705 multiarch objects.
19706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19707 (__libc_ifunc_impl_list): Likewise.
19708 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19709 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19710 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19711 sysdeps/powerpc/power6/wcscpy.c.
19712
bb04e529
AZ
19713 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19715 file.
19716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19717 file.
19718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19719 file.
19720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19721 multiarch wcsrchr for PPC32.
19722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19723 multiarch objects.
19724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19725 (__libc_ifunc_impl_list): Likewise.
19726 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19727 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19728 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19729 sysdeps/powerpc/power6/wcsrchr.c.
19730
05b5cd1c
AZ
19731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19732 file.
19733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19734 file.
19735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19737 multiarch wcschr for PPc32.
19738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19739 multiarch objects.
19740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19741 (__libc_ifunc_impl_list): Likewise.
19742 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19743 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19744 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19745 sysdeps/powerpc/power6/wcschr.c.
19746
ba964147
AZ
19747 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19748 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19749 file.
19750 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19751 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19752 file: multiarch strchr for PPC32.
19753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19754 multiarch objects.
19755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19756 (__libc_ifunc_impl_list): Likewise.
19757
31c81aaa
AZ
19758 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19759 name.
19760 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19761 file.
19762 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19763 file.
19764 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19765 multiarch strchrnul for PPC32.
19766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19767 multiarch objects.
19768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19769 (__libc_ifunc_impl_list): Likewise.
19770
0d0607d9
AZ
19771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19772 file.
19773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19774 multiarch strncasecmp for PPC32.
19775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19776 file.
19777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19778 multiarch strncasecmp_l for PPC32.
19779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19780 strncasecmp multiarch objects.
19781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19782 (__libc_ifunc_impl_list): Likewise.
19783
4dfd5c86
AZ
19784 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19785 file.
19786 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19787 multiarch strncasecmp for PPC32.
19788 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19789 New file.
19790 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19791 multiarch strcasecmp_l for PPC32.
19792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19793 multiarch objects.
19794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19795 (__libc_ifunc_impl_list): Likewise.
19796
a19e01a3
AZ
19797 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19798 file.
19799 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19800 file.
19801 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19802 multiarch strncmp for PPC32.
19803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19804 multiarch objects.
19805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19806 (__libc_ifunc_impl_list): Likewise.
19807
ae9cf7a2
AZ
19808 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19809 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19810 file.
19811 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19812 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19814 multiarch objects.
19815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19816 (__libc_ifunc_impl_list): Likewise.
19817
3148bb7d
AZ
19818 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19819 file.
19820 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19821 file.
19822 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19824 multiarch objects.
19825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19826 (__libc_ifunc_impl_list): Likewise.
19827
7af8b946
AZ
19828 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19829 file.
19830 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19831 file.
19832 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19833 multiarch rawmemchr for PPC32.
19834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19835 multiarch objects.
19836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19837 (__libc_ifunc_impl_list): Likewise.
19838
03a6aa6a
AZ
19839 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19840 file.
19841 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19842 file.
19843 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19844 file: memrchr multiarch for PPC32.
19845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19846 multiarch objects.
19847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19848 (__libc_ifunc_impl_list): Likewise.
19849
1c62e6d9
AZ
19850 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19851 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19852 file.
19853 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19854 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19855 multiarch memchr for PPC32.
19856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19857 multiarch objects.
19858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19859 (__libc_ifunc_impl_list): Likewise.
19860
87da8bdb
AZ
19861 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19862 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19863 file.
19864 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19865 file.
19866 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19867 file: multiarch mempcpy for PPC32.
19868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19869 multiarch objects.
19870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19871 (__libc_ifunc_impl_list): Likewise.
19872
20ed4714
AZ
19873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19876 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19877 multiarch bzero for PPC32.
19878 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19879 file.
19880 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19881 file.
19882 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19883 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19884 file: multiarch memset for PPC32.
19885 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19887 memset multiarch objects.
19888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19889 (__libc_ifunc_impl_list): Likewise.
19890
ab3e3a46
AZ
19891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19892 file.
19893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19895 memcmp for PPC32.
19896 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19898 multiarch objects.
19899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19900 (__libc_ifunc_impl_list): Likewise.
19901
930de6f0
AZ
19902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19905 file.
19906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19907 file.
19908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19909 file.
19910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19911 multiarch memcpy for PPC32.
19912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19913 multiarch objects.
19914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19915 (__libc_ifunc_impl_list): Likewise.
19916
4c628e00
AZ
19917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19918 support multiarch for POWER/PPC32.
19919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19920 Likewise.
19921 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19923 Implies file to make multiarch folder appers before the fpu and
19924 default folder for power4 configuration.
19925
f4479220
SP
199262013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19927
19928 * scripts/bench.pl: Append volatile keyword to type.
19929
8517800f
KK
199302013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19931
19932 * sysdeps/sh/sotruss-lib.c: New file.
19933 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19934
180138f1
AZ
199352013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19936
19937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19938
bbf37bdc
JM
199392013-12-05 Joseph Myers <joseph@codesourcery.com>
19940
e47cc4e0
JM
19941 [BZ #6810]
19942 * math/w_tgamma.c: Include <errno.h>.
19943 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19944 * math/w_tgammaf.c: Include <errno.h>.
19945 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19946 * math/w_tgammal.c: Include <errno.h>.
19947 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19948 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19949 underflow. Add more tgamma tests.
19950 * math/auto-libm-test-out: Regenerated.
19951 * sysdeps/i386/fpu/libm-test-ulps: Update.
19952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19953
bbf37bdc
JM
19954 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19955 sin, sinh, tan, tanh, tgamma, y0 and y1.
19956 * math/auto-libm-test-out: Regenerated.
19957 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19958 (TEST_COND_x86): Likewise.
19959 (M_E2l): Remove macro.
19960 (M_E3l): Likewise.
19961 (M_2_SQRT_PIl): Likewise.
19962 (M_SQRT_PIl): Likewise.
19963 (M_1_DIV_El): Likewise.
19964 (log_test_data): Use AUTO_TESTS_f_f.
19965 (log10_test_data): Likewise.
19966 (log1p_test_data): Likewise.
19967 (log2_test_data): Likewise.
19968 (sin_test_data): Likewise.
19969 (sin_tonearest_test_data): Likewise.
19970 (sin_towardzero_test_data): Likewise.
19971 (sin_downward_test_data): Likewise.
19972 (sin_upward_test_data): Likewise.
19973 (sinh_test_data): Likewise.
19974 (sinh_tonearest_test_data): Likewise.
19975 (sinh_towardzero_test_data): Likewise.
19976 (sinh_downward_test_data): Likewise.
19977 (sinh_upward_test_data): Likewise.
19978 (tan_test_data): Likewise.
19979 (tan_tonearest_test_data): Likewise.
19980 (tan_towardzero_test_data): Likewise.
19981 (tan_downward_test_data): Likewise.
19982 (tan_upward_test_data): Likewise.
19983 (tanh_test_data): Likewise.
19984 (tgamma_test_data): Likewise.
19985 (y0_test_data): Likewise.
19986 (y1_test_data): Likewise.
19987 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19988 (special_real_inputs): Add pi/4.
19989 * sysdeps/i386/fpu/libm-test-ulps: Update.
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991
eb5ad6b9
AZ
199922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19993
19994 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19995 "longjmp_target" static probes.
19996 (__longjmp): Rename to __longjmp_symbol.
19997 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19998 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19999 on which longjmp to generate.
20000 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20001 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20002 probe.
20003 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20004 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20005 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20006 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20007 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20008 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20010 __longjmp_symbol based on which __longjmp to generate.
20011 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20012 probe.
20013 (setjmp): Rename to setjmp_symbol.
20014 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20015 (_setjmp): Rename to _setjmp_symbol.
20016 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20017 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20018 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20019 which setjmp to generate.
20020 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20021 "longjmp_target" static probes.
20022
d136c6dc
SP
200232013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20024
9298ecba
SP
20025 * benchtests/README: Add note about output arguments.
20026 * benchtests/bench-sincos.c: Remove file.
20027 * benchtests/sincos-inputs: New file.
20028 * scripts/bench.pl: Identify output arguments and define
20029 static variables for them.
20030
232983e9
SP
20031 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20032
d136c6dc
SP
20033 [BZ #15941]
20034 * Makefile (INSTALL): Add install-plain.texi as the primary
20035 dependency.
20036 * manual/install-plain.texi: New file.
20037 * manual/install.texi: Include node directive only for
20038 non-plaintext output.
20039
699ff837
JM
200402013-12-04 Joseph Myers <joseph@codesourcery.com>
20041
ab07cea8
JM
20042 * stdlib/longlong.h: Update from GCC.
20043
699ff837
JM
20044 [BZ #6807]
20045 [BZ #15901]
20046 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20047 * math/w_j0f.c (y0f): Likewise.
20048 * math/w_j0l.c (__y0l): Likewise.
20049 * math/w_j1.c (y1): Likewise.
20050 * math/w_j1f.c (y1f): Likewise.
20051 * math/w_j1l.c (__y1l): Likewise
20052 * math/w_jn.c (yn): Likewise.
20053 * math/w_jnf.c (ynf): Likewise.
20054 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20055 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20056 value for Bessel function domain errors outside _SVID_ mode.
20057 Adjust sign of return value for yn (negative integer, 0).
20058 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20059 by zero in return for negative x and set sign appropriately for
20060 negative n.
20061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20062 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20063 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20064 expectations in error cases.
20065 (y1_test_data): Likewise.
20066 (yn_test_data): Likewise.
20067 * sysdeps/i386/fpu/libm-test-ulps: Update.
20068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20069
5b118558
UW
200702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20071
20072 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20073 "64" to "64-v1". Add "64-v2".
20074 (abi-64-options): Rename to ...
20075 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20076 (abi-64-condition): Rename to ...
20077 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20078 (abi-64-ld-soname): Rename to ...
20079 (abi-64-v1-ld-soname): ... this.
20080 (abi-64-v2-options): Define.
20081 (abi-64-v2-condition): Likewise.
20082 (abi-64-v2-ld-soname): Likewise.
20083 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20084 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20088
61cd8fe4
UW
200892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20090 Alan Modra <amodra@gmail.com>
20091
20092 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20093 New versions for use with the ELFv2 ABI.
20094 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20095 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20096 declaration.
20097 (struct La_ppc64v2_retval): Likewise.
20098 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20099 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20100 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20101 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20102 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20103 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20104 Do not save or restore CR.
20105 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20106 (_dl_profile_resolve): Do no save or restore CR. Support extended
20107 return values for ELFv2 ABI. Fix location of FPR return registers.
20108 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20109 updated values for _CALL_ELF == 2.
20110 (La_regs, La_retval, int_retval): Likewise.
20111
8b8a692c
UW
201122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20113
20114 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20115 (FRAME_MIN_SIZE_PARM): Likewise.
20116 (FRAME_BACKCHAIN): Likewise.
20117 (FRAME_CR_SAVE): Likewise.
20118 (FRAME_LR_SAVE): Likewise.
20119 (FRAME_TOC_SAVE): Likewise.
20120 (FRAME_PARM_SAVE): Likewise.
20121 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20122 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20123 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20124 (call_mcount_parm_offset): New macro.
20125 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20126 (PROF): Use symbolic stack frame offsets.
20127 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20128 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20129 Redefine in terms of FRAME_MIN_SIZE.
20130 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20131 (_dl_profile_resolve): Likewise. Update comment.
20132 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20133 symbols stack frame offsets.
20134 (__sigsetjmp): Likewise.
20135 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20136 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20137 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20138 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20139
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20141 (FRAME_BACKCHAIN): Remove.
20142 (FRAME_CR_SAVE): Likewise.
20143 (FRAME_LR_SAVE): Likewise.
20144 (FRAME_COMPILER_DW): Likewise.
20145 (FRAME_LINKER_DW): Likewise.
20146 (FRAME_TOC_SAVE): Likewise.
20147 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20148 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20149 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20150 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20152 (CHECK_SP): Use symbolic stack frame offsets.
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20154 zone" instead of caller's parameter save area for temp storage.
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20156 Likewise. Also, use symbolic stack frame offsets.
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20158 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20159 our own stack frame instead of the caller's.
20160 (__socket): Use symbolic stack frame offsets.
20161
122b66de
UW
201622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20163 Alan Modra <amodra@gmail.com>
20164
20165 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20166 Define.
57f41c40
AS
20167 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20168 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20169 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20170 New function.
20171 (elf_machine_fixup_plt): Call it.
20172 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20173 reloc arguments.
20174 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20176 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20177 r2 before calling target.
20178
696caf1d
UW
201792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20180 Alan Modra <amodra@gmail.com>
20181
20182 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20183 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20184 versions of macros to support ELFv2 ABI.
20185 (LOCALENTRY): New macro.
20186 (ENTRY, EALIGN): Use it.
20187 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20188 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20189 fall through into ENTRY entry point.
20190 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20191 Only define if _CALL_ELF != 2.
20192
20193 (elf_machine_matches_host): Verify ABI version matches.
20194 (RTLD_START): Use LOCALENTRY.
20195 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20196 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20197 (PLT_ENTRY_WORDS): New macro.
20198 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20199 (elf_machine_runtime_setup): Support ELFv2 ABI.
20200 (elf_machine_fixup_plt): Likewise.
20201 (elf_machine_plt_conflict): Likewise.
20202 (resolve_ifunc): Likewise.
20203 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20204 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20205 Likewise.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20207 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20209 (makecontext): Support ELFv2 ABI.
20210 * elf/elf.h (EF_PPC64_ABI): Define.
20211
d31beafa
UW
202122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20213
57f41c40
AS
20214 * sysdeps/powerpc/powerpc64/sysdep.h
20215 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20216 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20217 (ENTRY) [ASSEMBLER]: ... but instead here ...
20218 (EALIGN) [ASSEMBLER]: ... and here.
20219 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20220 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20221 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20222 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20223 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20224 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20225 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20226 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20228 Use PPC64_LOAD_FUNCPTR.
20229
b525166b
UW
20230 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20231
7ec07d9a
AM
202322013-12-04 Alan Modra <amodra@gmail.com>
20233
20234 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20235 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20236 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20237 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20238
20239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20240 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20241 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20242 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20243 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20244 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20245
5162e7dd
UW
202462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20247
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20249 (__makecontext): Fix incorrect CFI when backtracing out of
20250 context created via makecontext.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20252 (__setcontext): Fix incorrect CFI during switch to new context.
20253 (__novec_setcontext): Likewise.
20254
19e3372b
OB
202552013-12-04 Ondřej Bílka <neleai@seznam.cz>
20256
20257 [BZ #4772]
20258 * time/strptime_l.c (__strptime_internal): Allow modifiers
20259 in strptime.
20260 * time/tst-strptime.c (day_tests): Add testcase.
20261
ecaf142d
SP
202622013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20263
20264 * scripts/bench.pl: Skip over blank lines.
20265
fbf964ae
PE
202662013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20267
20268 [BZ #926]
20269 * manual/time.texi (Calendar Time): Clarify what timezone functions
20270 use.
20271
fa60a674
AZ
202722013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20273
20274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20275
d674f0ef
OB
202762013-12-04 Ondřej Bílka <neleai@seznam.cz>
20277
20278 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20279 implementation.
20280 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20281 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20282 * debug/memset_chk.c (__memset_chk): Likewise.
20283 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20284 * debug/strncpy_chk.c: Likewise.
20285
17dea188
JM
202862013-12-03 Joseph Myers <joseph@codesourcery.com>
20287
749008ff
JM
20288 [BZ #15268]
20289 [BZ #15425]
20290 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20291 (__ieee754_exp): For possibly underflowing results, check size of
20292 result and force underflow exception if required.
20293 * math/auto-libm-test-in: Add more tests of exp.
20294 * math/auto-libm-test-out: Regenerated.
20295 * sysdeps/i386/fpu/libm-test-ulps: Update.
20296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20297
17dea188
JM
20298 [BZ #16283]
20299 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20300 * math/w_exp2f.c (__exp2f): Likewise.
20301 * math/w_exp2l.c (__exp2l): Likewise.
20302 * math/auto-libm-test-in: Do not allow missing errno on exp2
20303 underflow.
20304 * math/auto-libm-test-out: Regenerated.
20305
b20de2c3
OB
203062013-12-03 Ondřej Bílka <neleai@seznam.cz>
20307
20308 [BZ #16274]
20309 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20310 handle filename validation.
20311 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20312 (do_open): Delete.
20313
d8e2dbe3
JM
203142013-12-03 Joseph Myers <joseph@codesourcery.com>
20315
34e16df5
JM
20316 [BZ #6786]
20317 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20318 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20319 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20320 <float.h>.
20321 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20322 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20323 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20325 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20327 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20328 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20329 Add more erfc tests.
20330 * math/auto-libm-test-out: Regenerated.
20331 * sysdeps/i386/fpu/libm-test-ulps: Update.
20332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20333
d8e2dbe3
JM
20334 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20335 exp2, expm1, j0 and j1.
20336 * math/auto-libm-test-out: Regenerated.
20337 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20338 (erfc_test_data): Likewise.
20339 (exp_test_data): Likewise.
20340 (exp_tonearest_test_data): Likewise.
20341 (exp_towardzero_test_data): Likewise.
20342 (exp_downward_test_data): Likewise.
20343 (exp_upward_test_data): Likewise.
20344 (exp10_test_data): Likewise.
20345 (exp2_test_data): Likewise.
20346 (expm1_test_data): Likewise.
20347 (j0_test_data): Likewise.
20348 (j1_test_data): Likewise.
20349 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20350 (input_flag_type): Add flag_xfail_rounding.
20351 (input_flags): Add xfail-rounding.
20352 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20353 (output_for_one_input_case): Handle flag_xfail_rounding.
20354 * sysdeps/i386/fpu/libm-test-ulps: Update.
20355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20356
18d14251
AJ
203572013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20358
3d2e6075 20359 [BZ #16289]
18d14251
AJ
20360 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20361 division by 0.
20362
520d437b
SP
203632013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20364
20365 [BZ #16195]
20366 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20367 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20368 (STAP_PROBE0): New macro.
20369 (STAP_PROBE1): Likewise.
20370 (STAP_PROBE2): Likewise.
20371 (STAP_PROBE3): Likewise.
20372 (STAP_PROBE4): Likewise.
20373
416e0145
OB
203742013-12-02 Ondřej Bílka <neleai@seznam.cz>
20375
20376 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20377
9d17796a
SE
203782013-12-02 Steve Ellcey <sellcey@mips.com>
20379
20380 * benchtests/Makefile (bench): Add sqrt.
20381 (LDLIBS-bench-sqrt): New.
20382 * benchtests/sqrt-input: New.
20383
f524d6a8
PS
203842013-12-02 Pavel Simerda <psimerda@redhat.com>
20385
639a0ef8
PS
20386 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20387 (GAIH_EAI): Likewise.
20388 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20389 (gaih_inet): Likewise.
20390 (getaddrinfo): Don't use GAIH_EAI.
20391
f524d6a8
PS
20392 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20393 (struct gaih): Remove definition.
20394
df3aedaf
SP
203952013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20396
20397 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20398 Use HERRNOP directly.
20399
1ab19dec
AZ
204002013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20401
b42ad38d 20402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20403
176b0c79
JM
204042013-11-30 Joseph Myers <joseph@codesourcery.com>
20405
20406 * math/gen-auto-libm-tests.c (test_functions): Add more
20407 single-argument functions.
20408 (special_fill_pi_2): New function.
20409 (special_fill_minus_pi_2): Likewise.
20410 (special_fill_pi_6): Likewise.
20411 (special_fill_minus_pi_6): Likewise.
20412 (special_fill_pi_3): Likewise.
20413 (special_fill_2pi_3): Likewise.
20414 (special_fill_e): Likewise.
20415 (special_fill_1_e): Likewise.
20416 (special_fill_e_minus_1): Likewise.
20417 (special_real_inputs): Add more special inputs.
20418 (output_for_one_input_case): Do not require ERANGE on underflow to
20419 zero if round-to-nearest result does not underflow to zero, unless
20420 exact results required.
20421 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20422 atan, atanh, cbrt, cos and cosh.
20423 * math/auto-libm-test-out: Regenerated.
20424 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20425 (acos_tonearest_test_data): Likewise.
20426 (acos_towardzero_test_data): Likewise.
20427 (acos_downward_test_data): Likewise.
20428 (acos_upward_test_data): Likewise.
20429 (acosh_test_data): Likewise.
20430 (asin_test_data): Likewise.
20431 (asin_tonearest_test_data): Likewise.
20432 (asin_towardzero_test_data): Likewise.
20433 (asin_upward_test_data): Likewise.
20434 (asinh_test_data): Likewise.
20435 (atan_test_data): Likewise.
20436 (atanh_test_data): Likewise.
20437 (cbrt_test_data): Likewise.
20438 (cos_test_data): Likewise.
20439 (cos_tonearest_test_data): Likewise.
20440 (cos_towardzero_test_data): Likewise.
20441 (cos_downward_test_data): Likewise.
20442 (cos_upward_test_data): Likewise.
20443 (cosh_test_data): Likewise.
20444 (cosh_tonearest_test_data): Likewise.
20445 (cosh_towardzero_test_data): Likewise.
20446 (cosh_downward_test_data): Likewise.
20447 (cosh_upward_test_data): Likewise.
20448 * sysdeps/i386/fpu/libm-test-ulps: Update.
20449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20450
ffb536d0
JM
204512013-11-29 Joseph Myers <joseph@codesourcery.com>
20452
2a77a467
JM
20453 [BZ #6787]
20454 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20455 * math/w_exp10f.c (__exp10f): Likewise.
20456 * math/w_exp10l.c (__exp10l): Likewise.
20457 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20458 errno settings in existing tests.
20459
ea3bc4e8
JM
20460 [BZ #14032]
20461 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20462 precision control set to double precision.
20463 * sysdeps/i386/fpu/w_sqrt.c: New file.
20464 * math/auto-libm-test-in: Add more tests.
20465 * math/auto-libm-test-out: Update.
20466
0712c9d8
JM
20467 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20468 (sqrt_test_tonearest): New function.
20469 (sqrt_towardzero_test_data): New variable.
20470 (sqrt_test_towardzero): New function.
20471 (sqrt_downward_test_data): New variable.
20472 (sqrt_test_downward): New function.
20473 (sqrt_upward_test_data): New variable.
20474 (sqrt_test_upward): New function.
20475 (main): Call the new functions.
20476
ffb536d0
JM
20477 * math/gen-auto-libm-tests.c: New file.
20478 * math/auto-libm-test-in: Likewise.
20479 * math/auto-libm-test-out: New generated file.
20480 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20481 variables.
20482 (%beautify): Add generated representations of zero.
20483 (top level): Set $auto_input and call parse_auto_input.
20484 (beautify): Remove trailing "f" from hex float constants.
20485 (parse_args): Handle XFAIL_TEST.
20486 (convert_condition): New function.
20487 (or_value): Likewise.
20488 (or_cond_value): Likewise.
20489 (generate_testfile): Handle AUTO_TESTS_* lines.
20490 (parse_auto_input): New function.
20491 * math/libm-test.inc (XFAIL_TEST): New macro.
20492 (ERRNO_UNCHANGED): Update value.
20493 (ERRNO_EDOM): Likewise.
20494 (ERRNO_ERANGE): Likewise.
20495 (IGNORE_RESULT): Likewise.
20496 (TEST_COND_flt_32): New macro.
20497 (TEST_COND_dbl_64): Likewise.
20498 (TEST_COND_ldbl_96_intel): Likewise.
20499 (TEST_COND_ldbl_96_m68k): Likewise.
20500 (TEST_COND_ldbl_128): Likewise.
20501 (TEST_COND_ldbl_128ibm): Likewise.
20502 (TEST_COND_long32): Likewise.
20503 (TEST_COND_long64): Likewise.
20504 (TEST_COND_before_rounding): Likewise.
20505 (TEST_COND_after_rounding): Likewise.
20506 (enable_test): Handle XFAIL_TEST flag.
20507 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20508 with finite results.
20509 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20510 auto-libm-test-out.
20511
acd98a8e
AK
205122013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20513 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20514
20515 [BZ #16214]
20516 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20517 __tls_get_addr_internal instead of __tls_get_offset in order to
20518 avoid GOT pointer dependency. Make rtld export
20519 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20520 __tls_get_addr since we are a __tls_get_offset platform.
20521 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20522 GOT pointer being set up before.
20523 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20524
3c1c46a6
JM
205252013-11-28 Joseph Myers <joseph@codesourcery.com>
20526
7475aef5
JM
20527 * manual/math.texi (Errors in Math Functions): Document accuracy
20528 goals.
20529
8bca7cd8
JM
20530 [BZ #15004]
20531 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20532 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20533 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20534 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20535 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20537 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20538 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20541 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20543 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20544 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20546 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20547
91a1f3fe
JM
20548 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20549 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20550 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20551 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20552 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20553 Likewise.
20554 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20555 Likewise.
20556 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20557 Likewise.
20558 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20559 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20560 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20561 atomic-feupdateenv and flt-rounds.
20562 * sysdeps/powerpc/nofpu/Versions (libc): Add
20563 __atomic_feholdexcept, __atomic_feclearexcept,
20564 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20565 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20566 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20567 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20568 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20569 here.
20570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20571 Update.
20572
c5df7609
JM
20573 * manual/arith.texi (FP Exceptions): Document that exceptions may
20574 not be raised when matherr is used.
20575 (Math Error Reporting): Document overflow in directed rounding
20576 modes. Document that errno may not be set when finite values are
20577 returned on overflow. Document intent to set errno on underflow
20578 only for underflow to zero.
20579
3c1c46a6
JM
20580 [BZ #16271]
20581 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20582 round-to-nearest then adjust result for other rounding modes.
20583 * include/fenv.h (fegetround): Use libm_hidden_proto.
20584 * math/fegetround.c (fegetround): Use libm_hidden_def.
20585 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20586 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20587 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20588 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20589 Likewise.
20590 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20591 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20592 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20593 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20594
5a4c6d53
SP
205952013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20596
20597 [BZ #16077]
20598 * nss/Versions (libnss_files): Add
20599 _nss_files_gethostbyname3_r.
20600 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20601 New function.
20602 (HOST_DB_LOOKUP): Remove macro.
20603 (_nss_files_gethostbyname_r): Implement function without the
20604 HOST_DB_LOOKUP macro.
20605 (_nss_files_gethostbyname2_r): Likewise.
20606
897b98ba
OB
206072013-11-28 Ondřej Bílka <neleai@seznam.cz>
20608
20609 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20610
6f476861
UB
206112013-11-26 Uros Bizjak <ubizjak@gmail.com>
20612
20613 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20614 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20615 warning.
20616
bd12ab55
AZ
206172013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20618
20619 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20620 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20621 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20622 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20623 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20624 __fe_nomask_env_priv and attribute_hidden.
20625 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20626 (libc_feupdateenv_test_ppc): Likewise.
20627 (libc_feresetround_ppc): Likewise.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20629 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20630 compat_symbol macro.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20632 (__fe_nomask_env): Likewise.
20633 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20634
52bb6543
OB
206352013-11-26 Ondřej Bílka <neleai@seznam.cz>
20636
20637 * string/Makefile: Remove ifunc tests.
20638 * string/test-string.h: Define TEST_IFUNC.
20639 * string/test-bcopy-ifunc.c: Remove.
20640 * string/test-bzero-ifunc.c: Likewise.
20641 * string/test-memccpy-ifunc.c: Likewise.
20642 * string/test-memchr-ifunc.c: Likewise.
20643 * string/test-memcmp-ifunc.c: Likewise.
20644 * string/test-memcpy-ifunc.c: Likewise.
20645 * string/test-memmem-ifunc.c: Likewise.
20646 * string/test-memmove-ifunc.c: Likewise.
20647 * string/test-mempcpy-ifunc.c: Likewise.
20648 * string/test-memrchr-ifunc.c: Likewise.
20649 * string/test-memset-ifunc.c: Likewise.
20650 * string/test-rawmemchr-ifunc.c: Likewise.
20651 * string/test-stpcpy-ifunc.c: Likewise.
20652 * string/test-stpncpy-ifunc.c: Likewise.
20653 * string/test-strcasecmp-ifunc.c: Likewise.
20654 * string/test-strcasestr-ifunc.c: Likewise.
20655 * string/test-strcat-ifunc.c: Likewise.
20656 * string/test-strchr-ifunc.c: Likewise.
20657 * string/test-strchrnul-ifunc.c: Likewise.
20658 * string/test-strcmp-ifunc.c: Likewise.
20659 * string/test-strcpy-ifunc.c: Likewise.
20660 * string/test-strcspn-ifunc.c: Likewise.
20661 * string/test-strlen-ifunc.c: Likewise.
20662 * string/test-strncasecmp-ifunc.c: Likewise.
20663 * string/test-strncat-ifunc.c: Likewise.
20664 * string/test-strncmp-ifunc.c: Likewise.
20665 * string/test-strncpy-ifunc.c: Likewise.
20666 * string/test-strnlen-ifunc.c: Likewise.
20667 * string/test-strpbrk-ifunc.c: Likewise.
20668 * string/test-strrchr-ifunc.c: Likewise.
20669 * string/test-strspn-ifunc.c: Likewise.
20670 * string/test-strstr-ifunc.c: Likewise.
20671
ab260039 206722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20673
20674 * benchtests/Makefile: Remove ifunc tests.
20675 * benchtests/bench-string.h: Define TEST_IFUNC.
20676 * benchtests/bench-bcopy-ifunc.c: Remove.
20677 * benchtests/bench-bzero-ifunc.c: Likewise.
20678 * benchtests/bench-memccpy-ifunc.c: Likewise.
20679 * benchtests/bench-memchr-ifunc.c: Likewise.
20680 * benchtests/bench-memcmp-ifunc.c: Likewise.
20681 * benchtests/bench-memcpy-ifunc.c: Likewise.
20682 * benchtests/bench-memmem-ifunc.c: Likewise.
20683 * benchtests/bench-memmove-ifunc.c: Likewise.
20684 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20685 * benchtests/bench-memrchr-ifunc.c: Likewise.
20686 * benchtests/bench-memset-ifunc.c: Likewise.
20687 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20688 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20689 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20690 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20691 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20692 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20693 * benchtests/bench-strcat-ifunc.c: Likewise.
20694 * benchtests/bench-strchr-ifunc.c: Likewise.
20695 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20696 * benchtests/bench-strcmp-ifunc.c: Likewise.
20697 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20698 * benchtests/bench-strcpy-ifunc.c: Likewise.
20699 * benchtests/bench-strcspn-ifunc.c: Likewise.
20700 * benchtests/bench-strlen-ifunc.c: Likewise.
20701 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20702 * benchtests/bench-strncat-ifunc.c: Likewise.
20703 * benchtests/bench-strncmp-ifunc.c: Likewise.
20704 * benchtests/bench-strncpy-ifunc.c: Likewise.
20705 * benchtests/bench-strnlen-ifunc.c: Likewise.
20706 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20707 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20708 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20709 * benchtests/bench-strspn-ifunc.c: Likewise.
20710 * benchtests/bench-strstr-ifunc.c: Likewise.
20711
207122013-11-26 Ondřej Bílka <neleai@seznam.cz>
20713
ab260039
OB
20714 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20715
d1d9eaf4 207162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20717
d1d9eaf4
OB
20718 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20719 * rt/aio.h: Likewise.
20720 * sysdeps/gnu/bits/utmp.h: Likewise.
20721 * sysdeps/gnu/bits/utmpx.h: Likewise.
20722 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20723 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20724 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20725 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20726 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20727 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20728 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20729 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20730 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20731 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20732 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20733 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20734 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20736 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20737 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20738 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20739 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20740 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20741 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20742 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20743 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20744 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20745 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20746 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20748 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20749 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20752 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20753 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20754 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20755 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20756 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20757 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20758 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20759 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20760 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20761 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20762 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20763 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20764
a7624ed9
CD
207652013-11-25 Carlos O'Donell <carlos@redhat.com>
20766
20767 [BZ #16245]
20768 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20769 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20770
63cfe52b
JM
207712013-11-25 Joseph Myers <joseph@codesourcery.com>
20772
20773 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20774 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20775 Likewise.
20776
41e8926a
AZ
207772013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20778
20779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20780 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20781 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20782 (__fesetround): Remove define.
20783 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20784 rounding and exceptions handling.
20785 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20786 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20787 (__fe_nomask_env): Likewise.
20788 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20789 __fegetround instead of fegetround.
20790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20791 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20792
6851bd4d
RM
207932013-11-21 Roland McGrath <roland@hack.frob.com>
20794
070906ff
RM
20795 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20796 it's there.
20797
6851bd4d
RM
20798 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20799
84ae135d
MI
208002013-11-21 Meador Inge <meadori@codesourcery.com>
20801
20802 [BZ #11157]
20803 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20804 (encrypt_r): Likewise.
20805 * malloc/obstack.h (obstack_free): Likewise.
20806 * posix/unistd.h (encrypt): Likewise.
20807
daf75146
GM
208082013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20809
20810 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20811 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20812 DL_CALL_DT_FINI() that call the functions directly.
20813 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20814 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20815 * elf/dl-fini.c: Likewise.
20816
10ad46bc
OB
208172013-11-20 Ondřej Bílka <neleai@seznam.cz>
20818
20819 * malloc/hooks.c (memalign_check): Add alignment rounding.
20820 * malloc/malloc.c (_mid_memalign): New function.
20821 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20822 Implement by calling _mid_memalign.
20823 * manual/probes.texi (Memory Allocation Probes): Remove
20824 memory_valloc_retry and memory_pvalloc_retry.
20825
f3fd2628
SP
208262013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20827
4712799f
SP
20828 * locale/programs/locarchive.c (open_archive): Add const
20829 qualifier to ARCHIVEFNAME and copy default fname to
20830 DEFAULT_FNAME.
20831
0417b20f
SP
20832 [BZ #15601]
20833 * libio/tst-widetext.input: Rename Oriya to Odia.
20834 * locale/iso-639.def: Likewise.
20835
f3fd2628
SP
20836 * manual/probes.texi (Mathematical Function Probes): Add
20837 documentation for sin, cos, asin and acos probes.
20838 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20839 (__sin32): Add slowasin probe.
20840 (__cos32): Add slowacos probe.
20841 (__mpsin): Add slowsin probe.
20842 (__mpcos): Add slowcos probe.
20843
73c1ce4f
JM
208442013-11-19 Joseph Myers <joseph@codesourcery.com>
20845
20846 [BZ #15483]
20847 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20848 thread-local __sim_exceptions_thread and global
20849 __sim_exceptions_global.
20850 (__sim_disabled_exceptions): Change to thread-local
20851 __sim_disabled_exceptions_thread and global
20852 __sim_disabled_exceptions_global.
20853 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20854 and global __sim_round_mode_global.
20855 (__simulate_exceptions): Use thread-local floating-point state and
20856 set global state from it as needed.
20857 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20858 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20859 __sim_round_mode_thread.
20860 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20861 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20862 and global __sim_exceptions_global.
20863 (__sim_disabled_exceptions): Change to thread-local
20864 __sim_disabled_exceptions_thread and global
20865 __sim_disabled_exceptions_global.
20866 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20867 and global __sim_round_mode_global.
20868 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20869 (SIM_SET_GLOBAL): Likewise.
20870 * sysdeps/powerpc/soft-fp/sfp-machine.h
20871 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20872 __sim_round_mode_thread.
20873 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20874 __sim_disabled_exceptions_thread.
20875 (__sim_exceptions): Change to __sim_exceptions_thread.
20876 (__sim_disabled_exceptions): Change to
20877 __sim_disabled_exceptions_thread.
20878 (__sim_round_mode): Change to __sim_round_mode_thread.
20879 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20880 thread-local floating-point state and set global state from it as
20881 needed.
20882 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20883 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20884 (__sim_disabled_exceptions): Remove extern declaration.
20885 (feenableexcept): Use thread-local floating-point state and set
20886 global state from it as needed.
20887 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20888 extern declaration.
20889 (__sim_disabled_exceptions): Likewise.
20890 (__sim_round_mode): Likewise.
20891 (__fegetenv): Use thread-local floating-point state.
20892 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20893 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20894 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20895 floating-point state and set global state from it as needed.
20896 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20897 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20898 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20899 Likewise.
20900 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20901 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20902 Likewise.
20903 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20904 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20905 Use __sim_round_mode_thread.
20906 * math/test-fenv-tls.c: New file.
20907 * math/Makefile (tests): Add test-fenv-tls.
20908 ($(objpfx)test-fenv-tls): Depend on
20909 $(common-objpfx)nptl/libpthread.so.
20910
b5449b12
AS
209112013-11-19 Andreas Schwab <schwab@suse.de>
20912
20913 * locale/programs/locale.c (show_info): Decode wordarray elements.
20914 * locale/categories.def (LC_MONETARY): Add element for
20915 _NL_MONETARY_CRNCYSTR.
20916 * locale/C-monetary.c (conversion_rate): New variable.
20917 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20918 element.
20919
e186536b
CM
209202013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20921
20922 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20923 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20924
5c349950
PP
209252013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20926
20927 * elf/Makefile (tst-auxv): New test.
20928 * elf/tst-auxv.c: New
20929 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20930
699df45b
JM
209312013-11-18 Joseph Myers <joseph@codesourcery.com>
20932
20933 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20934 (hidden_proto): Caller changed.
20935 (hidden_tls_proto): New macro.
20936 (libc_hidden_tls_proto): Likewise.
20937 (rtld_hidden_tls_proto): Likewise.
20938 (libm_hidden_tls_proto): Likewise.
20939 (libresolv_hidden_tls_proto): Likewise.
20940 (librt_hidden_tls_proto): Likewise.
20941 (libdl_hidden_tls_proto): Likewise.
20942 (libnss_files_hidden_tls_proto): Likewise.
20943 (libnsl_hidden_tls_proto): Likewise.
20944 (libnss_nisplus_hidden_tls_proto): Likewise.
20945 (libutil_hidden_tls_proto): Likewise.
20946
b7589107
OB
209472013-11-18 Ondřej Bílka <neleai@seznam.cz>
20948
20949 [BZ #10253]
20950 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20951 (decompose_rpath): Defer expansion to fillin_rpath.
20952 (_dl_init_paths): Pass linkmap to fillin_rpath.
20953
250c23bd
RS
209542013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20955
20956 * benchtests/Makefile: Add strsep.
20957 * benchtests/bench-strsep.c: New file: strsep benchtest.
20958 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20959
a7931fcf
AS
209602013-11-18 Andreas Schwab <schwab@suse.de>
20961
20962 * locale/programs/locale.c (show_info) [case byte]: Check for
20963 '\377' instead of '\177'.
20964 * locale/C-monetary.c (not_available): Always use "\377".
20965 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20966 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20967 detect unavailable sign_posn locale elements.
20968 * locale/localeconv.c (__localeconv): For grouping and
20969 mon_grouping handle "\177" and "\377" like no grouping.
20970 (INT_ELEM): New macro. Use it to set all numeric members.
20971 * locale/programs/ld-monetary.c (monetary_read)
20972 <tok_mon_grouping>: Normalize single -1 to the empty string.
20973 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20974 Likewise.
20975
728dab0e
OB
209762013-11-07 Ondřej Bílka <neleai@seznam.cz>
20977
20978 [BZ #16055]
20979 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20980 when we match (nil).
20981 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20982
66294491
JM
209832013-11-16 Joseph Myers <joseph@codesourcery.com>
20984
ce665817
JM
20985 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20986 (NO_TEST_INLINE): Update value.
20987 (ERRNO_UNCHANGED): Likewise.
20988 (ERRNO_EDOM): Likewise.
20989 (ERRNO_ERANGE): Likewise.
20990 (IGNORE_RESULT): Likewise.
20991 (check_float_internal): Check signs of NaN results if
20992 TEST_NAN_SIGN used.
20993 (check_complex): Pass TEST_NAN_SIGN flag through to second
20994 check_float_internal call.
20995 (copysign_test_data): Add tests with quiet NaNs as second
20996 argument. Use TEST_NAN_SIGN.
20997 (fabs_test_data): Add test of negative quiet NaN argument. Use
20998 TEST_NAN_SIGN.
20999 (signbit_test_data): Add tests of quiet NaN argument.
21000 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21001
ee1466a9
JM
21002 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21003 $ignore_result.
21004 (parse_args): Handle function results specified as IGNORE.
21005 * math/libm-test.inc (IGNORE_RESULT): New macro.
21006 (check_float_internal): Do not check numerical result if flag
21007 IGNORE_RESULT set.
21008 (check_complex): Pass through IGNORE_RESULT to second
21009 check_float_internal call.
21010 (check_int): Do not check numerical result if flag IGNORE_RESULT
21011 set.
21012 (check_long): Likewise.
21013 (check_bool): Likewise.
21014 (check_longlong): Likewise.
21015 (lrint_test_data): Add tests of infinite and NaN arguments.
21016 (lrint_tonearest_test_data): Likewise.
21017 (lrint_towardzero_test_data): Likewise.
21018 (lrint_downward_test_data): Likewise.
21019 (lrint_upward_test_data): Likewise.
21020 (llrint_test_data): Likewise.
21021 (llrint_tonearest_test_data): Likewise.
21022 (llrint_towardzero_test_data): Likewise.
21023 (llrint_downward_test_data): Likewise.
21024 (llrint_upward_test_data): Likewise.
21025 (lround_test_data): Likewise.
21026 (llround_test_data): Likewise.
21027
14407b7e
JM
21028 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21029 (ERRNO_UNCHANGED): Update value.
21030 (ERRNO_EDOM): Likewise.
21031 (ERRNO_ERANGE): Likewise.
21032 (NO_TEST_INLINE_FLOAT): New macro.
21033 (NO_TEST_INLINE_DOUBLE): Likewise.
21034 (enable_test): New function.
21035 (RUN_TEST_f_f): Check enable_test before running test.
21036 (RUN_TEST_2_f): Likewise.
21037 (RUN_TEST_fff_f): Likewise.
21038 (RUN_TEST_c_f): Likewise.
21039 (RUN_TEST_f_f1): Likewise.
21040 (RUN_TEST_fF_f1): Likewise.
21041 (RUN_TEST_fI_f1): Likewise.
21042 (RUN_TEST_ffI_f1): Likewise.
21043 (RUN_TEST_c_c): Likewise.
21044 (RUN_TEST_cc_c): Likewise.
21045 (RUN_TEST_f_i): Likewise.
21046 (RUN_TEST_f_i_tg): Likewise.
21047 (RUN_TEST_ff_i_tg): Likewise.
21048 (RUN_TEST_f_b): Likewise.
21049 (RUN_TEST_f_b_tg): Likewise.
21050 (RUN_TEST_f_l): Likewise.
21051 (RUN_TEST_f_L): Likewise.
21052 (RUN_TEST_fFF_11): Likewise.
21053 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21054 conditionals.
21055 (cosh_test_data): Likewise.
21056 (exp_test_data): Likewise.
21057 (expm1_test_data): Likewise.
21058 (hypot_test_data): Likewise.
21059 (pow_test_data): Likewise.
21060 (sinh_test_data): Likewise.
21061 (tanh_test_data): Likewise.
21062 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21063 flags argument.
21064
ca07f197
JM
21065 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21066 tests with quiet NaN input and output.
21067 (acosh_test_data): Likewise.
21068 (asin_test_data): Likewise.
21069 (asinh_test_data): Likewise.
21070 (atan_test_data): Likewise.
21071 (atanh_test_data): Likewise.
21072 (atan2_test_data): Likewise.
21073 (cbrt_test_data): Likewise.
21074 (cos_test_data): Likewise.
21075 (cosh_test_data): Likewise.
21076 (erf_test_data): Likewise.
21077 (erfc_test_data): Likewise.
21078 (exp_test_data): Likewise.
21079 (exp10_test_data): Likewise.
21080 (exp2_test_data): Likewise.
21081 (expm1_test_data): Likewise.
21082 (hypot_test_data): Likewise.
21083 (j0_test_data): Likewise.
21084 (j1_test_data): Likewise.
21085 (jn_test_data): Likewise.
21086 (lgamma_test_data): Likewise.
21087 (log_test_data): Likewise.
21088 (log10_test_data): Likewise.
21089 (log1p_test_data): Likewise.
21090 (log2_test_data): Likewise.
21091 (pow_test_data): Likewise.
21092 (scalb_test_data): Likewise.
21093 (sin_test_data): Likewise.
21094 (sincos_test_data): Likewise.
21095 (sinh_test_data): Likewise.
21096 (tan_test_data): Likewise.
21097 (tanh_test_data): Likewise.
21098 (tgamma_test_data): Likewise.
21099 (y0_test_data): Likewise.
21100 (y1_test_data): Likewise.
21101 (yn_test_data): Likewise.
21102
66294491
JM
21103 [BZ #16167]
21104 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21105 argument being NaN and avoid computations with second argument in
21106 that case.
21107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21108 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21109 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21110
1820b143
CL
211112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21112
21113 * locale/iso-639.def: Add Chitwani Tharu (the).
21114
714bd261
AS
211152013-11-14 Andreas Schwab <schwab@suse.de>
21116
21117 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21118 word instead of empty string.
21119
7ab44563
AZ
211202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21121
21122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21123 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21125 (__fe_nomask_env): Likewise.
21126
e8470ea2
SE
211272013-11-13 Steve Ellcey <sellcey@mips.com>
21128
21129 * benchtests/bench-timing.h: Include time.h.
21130
17c1d9f0
L
211312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21132
21133 [BZ #15997]
21134 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21135 to 3.4.0 for x32.
21136 * sysdeps/unix/sysv/linux/configure: Regenerated.
21137
9310c284
JM
211382013-11-13 Joseph Myers <joseph@codesourcery.com>
21139
21140 [BZ #16151]
21141 * stdlib/strtod_l.c (round_and_return): Do not consider
21142 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21143 exponent one less than half the least subnormal exponent.
21144 * stdlib/test-strtod-round-data: Add more tests.
21145 * stdlib/tst-strtod-round.c (tests): Regenerated.
21146
7a2ad8cf
AZ
211472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21148
21149 [BZ #14143]
21150 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21151 (__fe_mask_env): Likewise.
21152 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21153 libm_hidden_proto and add function prototype.
21154 (__fe_mask_env): Add function prototype.
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21156 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21158 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21160 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21161
50727aa7
MS
211622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21163
b2f386c1 21164 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21165 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21166
a615be46
MS
211672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21168
21169 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21170 of htab_find_slot().
21171
7ddace62
DM
211722013-11-11 David S. Miller <davem@davemloft.net>
21173
21174 [BZ #16150]
21175 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21176 symbol in the non-vis3 case in static builds.
21177 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21178 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21179 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21180 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21181
9182aa67
JK
211822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21183
21184 [BZ #387]
21185 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21186 it is empty.
21187
450a2e2d
AZ
211882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21189
b2f386c1
SP
21190 * benchtests/Makefile: Add bench-strtod.
21191 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21192
8ec3f656
AS
211932013-11-11 Andreas Schwab <schwab@suse.de>
21194
21195 [BZ #16153]
21196 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21197 terminating NUL in key length.
21198
76a9b998
AZ
211992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21200
21201 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21202 Add artificial ODP entry for vDSO symbol for PPC64.
21203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21204 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21205
e4368156
OB
212062013-11-07 Ondřej Bílka <neleai@seznam.cz>
21207
21208 [BZ #15374]
21209 * nss/getent.c (services_keys): Recognize services starting with digit.
21210
8d6bb57c
DM
212112013-11-06 David S. Miller <davem@davemloft.net>
21212
21213 [BZ #15985]
21214 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21215 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21216
e256c421
WN
212172013-11-06 Will Newton <will.newton@linaro.org>
21218
21219 * manual/memory.texi (Malloc Examples): Remove register
21220 keyword from examples.
21221
f6e12daa 212222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21223
f6e12daa 21224 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21225
9d880655
AS
212262013-11-04 Joseph Myers <joseph@codesourcery.com>
21227
fd2f9486 21228 [BZ #6981]
9d880655
AS
21229 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21230 depending on [__GCC_IEC_559 > 0].
21231 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21232 depending on [__GCC_IEC_559_COMPLEX > 0].
21233
ae129d3c
CL
212342013-11-03 Chris Leonard <cjl@sugarlabs.org>
21235
21236 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21237 to iso-639.def.
21238
4a15c2a4 212392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21240
21241 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21242
8b35e35d
OB
212432013-11-01 Ondřej Bílka <neleai@seznam.cz>
21244
21245 [BZ #16112]
21246 * malloc/malloc (malloc_info): Do not handle first bin as
21247 special case.
21248
1d70fd6c
CL
212492013-11-01 Chris Leonard <cjl@sugarlabs.org>
21250
21251 * locale/iso-639.def: Add Central Nahuatl (nhn).
21252
8c5c2600
BH
212532013-11-01 Bruno Haible <bruno@clisp.org>
21254
21255 [BZ #7003]
21256 * manual/math.texi (BSD Random): Specify range upper bound as
21257 in POSIX.
21258
da5579c2
CL
212592013-10-31 Chris Leonard <cjl@sugarlabs.org>
21260
21261 * locale/iso-639.def: Add Meadow Mari (mhr).
21262
5d30d853
OB
212632013-10-31 Ondřej Bílka <neleai@seznam.cz>
21264
21265 [BZ #14752], [BZ #15763]
21266 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21267 Validate name.
21268 * rt/tst_shm.c: Add test for escaping directory.
21269
a4966c61
AS
212702013-10-31 Andreas Schwab <schwab@suse.de>
21271
8a43e768 21272 [BZ #15917]
a4966c61
AS
21273 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21274 followed by 'x' as part of digit sequence.
21275 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21276
28d708c4
MAP
212772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21278
21279 [BZ #16037]
21280 * configure.ac: allow GNU Make 4.0 and greater.
21281 * configure: Regenerated.
21282
a56ee40b
WN
212832013-10-30 Will Newton <will.newton@linaro.org>
21284
21285 [BZ #16038]
21286 * malloc/hooks.c (memalign_check): Limit alignment to the
21287 maximum representable power of two.
21288 * malloc/malloc.c (__libc_memalign): Likewise.
21289 * malloc/tst-memalign.c (do_test): Add test for very
21290 large alignment values.
21291 * malloc/tst-posix_memalign.c (do_test): Likewise.
21292
c6e4925d
OB
212932013-10-30 Ondřej Bílka <neleai@seznam.cz>
21294
21295 [BZ #11087]
21296 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21297 (munmap_chunk): Likewise.
21298 (mremap_chunk): Likewise.
21299
213002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21301
8a43e768 21302 [BZ #15799]
bbea82f7
OB
21303 * stdlib/div.c (div): Remove obsolete code.
21304 * stdlib/ldiv.c (ldiv): Likewise.
21305 * stdlib/lldiv.c (lldiv): Likewise.
21306
977f4b31
SP
213072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21308
21309 [BZ #16071]
21310 * nss/nss_files/files-XXX.c (get_contents_ret): New
21311 enumerator.
21312 (get_contents): New function.
21313 (internal_getent): Use it. Expand size of LINEBUFLEN.
21314
cb8a6dbd
MF
213152013-10-30 Mike Frysinger <vapier@gentoo.org>
21316
21317 * configure.in: Moved to ...
21318 * configure.ac: ... here. Change reference to configure.in
21319 to configure.ac.
21320 * sysdeps/arm/preconfigure.ac: ... here.
21321 configure.in to configure.ac.
21322 * sysdeps/gnu/configure.in: Moved to ...
21323 * sysdeps/gnu/configure.ac: ... here.
21324 * sysdeps/i386/configure.in: Moved to ...
21325 * sysdeps/i386/configure.ac: ... here.
21326 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21327 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21328 * sysdeps/mach/configure.in: Moved to ...
21329 * sysdeps/mach/configure.ac: ... here.
21330 * sysdeps/mach/hurd/configure.in: Moved to ...
21331 * sysdeps/mach/hurd/configure.ac: ... here.
21332 * sysdeps/powerpc/configure.in: Moved to ...
21333 * sysdeps/powerpc/configure.ac: ... here.
21334 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21335 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21336 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21337 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21338 * sysdeps/s390/s390-32/configure.in: Moved to ...
21339 * sysdeps/s390/s390-32/configure.ac: ... here.
21340 * sysdeps/s390/s390-64/configure.in: Moved to ...
21341 * sysdeps/s390/s390-64/configure.ac: ... here.
21342 * sysdeps/sh/configure.in: Moved to ...
21343 * sysdeps/sh/configure.ac: ... here.
21344 * sysdeps/sparc/configure.in: Moved to ...
21345 * sysdeps/sparc/configure.ac: ... here.
21346 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21347 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21348 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21349 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21350 * sysdeps/x86_64/configure.in: Moved to ...
21351 * sysdeps/x86_64/configure.ac: ... here.
21352 * sysdeps/x86_64/preconfigure.in: Moved to ...
21353 * sysdeps/x86_64/preconfigure.ac: ... here.
21354 * aclocal.m4: Change reference to configure.in to configure.ac.
21355 * config.h.in: Likewise.
21356 * manual/install.texi: Likewise.
21357 * manual/maint.texi: Likewise.
21358 * Makefile: Likewise.
21359 * malloc/Makefile: Likewise.
21360 * nscd/Makefile: Likewise.
21361 * Makeconfig: Change reference to configure.in and
21362 preconfigure.in to configure.ac and preconfigure.ac
21363 respectively.
21364 * INSTALL: Regenerated.
21365 * configure: Likewise.
21366 * sysdeps/gnu/configure: Likewise.
21367 * sysdeps/i386/configure: Likewise.
21368 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21369 * sysdeps/mach/configure: Likewise.
21370 * sysdeps/mach/hurd/configure: Likewise.
21371 * sysdeps/powerpc/configure: Likewise.
21372 * sysdeps/powerpc/powerpc32/configure: Likewise.
21373 * sysdeps/powerpc/powerpc64/configure: Likewise.
21374 * sysdeps/s390/s390-32/configure: Likewise.
21375 * sysdeps/s390/s390-64/configure: Likewise.
21376 * sysdeps/sh/configure: Likewise.
21377 * sysdeps/sparc/configure: Likewise.
21378 * sysdeps/unix/sysv/linux/configure: Likewise.
21379 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21380 * sysdeps/x86_64/configure: Likewise.
21381 * sysdeps/x86_64/preconfigure: Likewise.
21382
36a4953a
AS
213832013-10-29 Andreas Schwab <schwab@suse.de>
21384
21385 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21386
c79a1204
SP
213872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21388
dfa1b402
SP
21389 * benchtests/pow-inputs: Add new inputs.
21390
54f73d9c
SP
21391 * benchtests/exp-inputs: Add new inputs.
21392
c79a1204
SP
21393 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21394 conditional check for return value.
21395 (__cos32): Likewise.
21396
67beb545 213972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21398
21399 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21400 to provide a boost for large inputs with word alignment.
21401 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21402 implementation based on optimized PPC64 strcpy.
21403 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21404 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21405 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21406 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21407
151659f6
OB
214082013-10-25 Ondřej Bílka <neleai@seznam.cz>
21409
482a077e 21410 [BZ #2801]
151659f6
OB
21411 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21412
10b0f26b
OB
214132013-10-25 Ondřej Bílka <neleai@seznam.cz>
21414
21415 [BZ #14876]
21416 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21417 * time/tst-strptime.c (day_tests): Add testcase.
21418
ca42d35e
OB
214192013-10-25 Ondřej Bílka <neleai@seznam.cz>
21420
482a077e 21421 [BZ #14029]
ca42d35e
OB
21422 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21423
52e6d801
FB
214242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21425
21426 [BZ #16074]
21427 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21428 MAP_FAILED on error.
21429
7cbcdb36
SP
214302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21431
21432 [BZ #16072]
21433 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21434 heap for large requests.
21435
894f3f10
AM
214362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21437
21438 [BZ #9954]
21439 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21440 result if the result has no associated interface.
21441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21442 interface for all 127.X.Y.Z addresses.
21443
b85545a6
CL
214442013-10-24 Chris Leonard <cjl@sugarlabs.org>
21445
21446 * locale/iso-639.def: Add Ligurian (lij)
21447
d1f23d46
OB
214482013-10-21 Ondřej Bílka <neleai@seznam.cz>
21449
21450 [BZ #15825]
21451 * sunrpc/rpc_main.c: Document rpcgen -5.
21452
4db5b08f
MS
214532013-10-19 Michael Stahl <mstahl@redhat.com>
21454
21455 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21456
a471e96a
OB
214572013-10-19 Ondřej Bílka <neleai@seznam.cz>
21458
d1f23d46 21459 [BZ #10278]
a471e96a
OB
21460 * posix/glob.c: Match only directories when trailing slash is present.
21461 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21462 (main): Add testcase.
21463
45c30c61
OB
214642013-10-19 Ondřej Bílka <neleai@seznam.cz>
21465
21466 [BZ #15670]
21467 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21468
484c12fb
CD
214692013-10-18 Carlos O'Donell <carlos@redhat.com>
21470
3d7dc513
CD
21471 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21472 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21473 AUTH_DES and cindex for FIPS 140-2.
21474 (DES Encryption): Add cindex FIPS 46-3.
21475
484c12fb
CD
21476 * locale/locarchive.h (struct locarhandle): Add fname.
21477 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21478 if an optional argument was specified to --list-archive,
21479 otherwise NULL.
21480 * locale/programs/locarchive.c (show_archive_content): Take new
21481 argument fname and pass it via ah.fname to open_archive.
21482 * locale/programs/localedef.h: Update decl.
21483 (open_archive): If AH->fname is non-null, open that file
21484 rather than the default file name, and don't ignore ENOENT.
21485 (create_archive): Set AH.fname to NULL.
21486 (delete_locales_from_archive): Likewise.
21487 (add_locales_to_archive): Likewise.
21488 * locale/programs/locfile.c (write_all_categories): Likewise.
21489
3c8325fb
JM
214902013-10-18 Joseph Myers <joseph@codesourcery.com>
21491 Aldy Hernandez <aldyh@redhat.com>
21492
21493 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21494 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21495 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21496 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21497 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21498 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21500 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21501 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21503 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21504 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21505 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21506 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21507 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21508 Likewise.
21509 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21510 Likewise.
21511 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21512 Likewise.
21513 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21514 Likewise.
21515 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21516 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21517 Likewise.
21518 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21519 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21520 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21521 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21522 Likewise.
21523 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21524 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21525 * sysdeps/powerpc/preconfigure: Likewise.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21527 Likewise.
21528 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21529 Replace contents of file by #include of <fenv_libc.h>.
21530 * sysdeps/powerpc/soft-fp/sfp-machine.h
21531 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21532 and <sys/prctl.h>.
21533 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21546 Allow copysignl PLT reference to be missing.
21547
5abe0682
RS
215482013-10-18 Richard Sandiford <richard@codesourcery.com>
21549 Joseph Myers <joseph@codesourcery.com
21550
21551 [BZ #15948]
21552 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21553 single character.
21554 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21555
c7738d08
SP
215562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21557
21558 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21559 * elf/tst-tls1.c: Likewise.
21560 * elf/tst-tls10.h: Likewise.
21561 * elf/tst-tls14.c: Likewise.
21562 * elf/tst-tls2.c: Likewise.
21563 * elf/tst-tls3.c: Likewise.
21564 * elf/tst-tls4.c: Likewise.
21565 * elf/tst-tls5.c: Likewise.
21566 * elf/tst-tls6.c: Likewise.
21567 * elf/tst-tls7.c: Likewise.
21568 * elf/tst-tls8.c: Likewise.
21569 * elf/tst-tls9.c: Likewise.
21570 * elf/tst-tlsmod1.c: Likewise.
21571 * elf/tst-tlsmod13.c: Likewise.
21572 * elf/tst-tlsmod13a.c: Likewise.
21573 * elf/tst-tlsmod14a.c: Likewise.
21574 * elf/tst-tlsmod16a.c: Likewise.
21575 * elf/tst-tlsmod16b.c: Likewise.
21576 * elf/tst-tlsmod2.c: Likewise.
21577 * elf/tst-tlsmod3.c: Likewise.
21578 * elf/tst-tlsmod4.c: Likewise.
21579 * elf/tst-tlsmod5.c: Likewise.
21580 * elf/tst-tlsmod6.c: Likewise.
21581
0bfcf2c7
OB
215822013-10-18 Ondřej Bílka <neleai@seznam.cz>
21583
21584 [BZ #12486]
21585 * malloc/malloc.c: remove checks for statistics.
21586
264aad1e
OB
215872013-10-17 Ondřej Bílka <neleai@seznam.cz>
21588
21589 [BZ #15277]
21590 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21591 * inet/tst-network.c: Add testcase.
21592
b957ced8
AS
215932013-10-17 Andreas Schwab <schwab@suse.de>
21594
21595 [BZ #15218]
21596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21597 to determine canonical name.
21598
c5d5d574
OB
215992013-10-17 Ondřej Bílka <neleai@seznam.cz>
21600
21601 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21602 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21625 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21627 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21659
e5c2c2d0
JM
216602013-10-17 Joseph Myers <joseph@codesourcery.com>
21661
21662 [BZ #16041]
21663 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21664 make result into a quiet NaN.
21665
51ca9e29
JM
216662013-10-16 Joseph Myers <joseph@codesourcery.com>
21667
21668 * soft-fp/adddf3.c: Fix horizontal whitespace.
21669 * soft-fp/addsf3.c: Likewise.
21670 * soft-fp/addtf3.c: Likewise.
21671 * soft-fp/divdf3.c: Likewise.
21672 * soft-fp/divsf3.c: Likewise.
21673 * soft-fp/divtf3.c: Likewise.
21674 * soft-fp/double.h: Likewise.
21675 * soft-fp/eqdf2.c: Likewise.
21676 * soft-fp/eqsf2.c: Likewise.
21677 * soft-fp/eqtf2.c: Likewise.
21678 * soft-fp/extenddftf2.c: Likewise.
21679 * soft-fp/extended.h: Likewise.
21680 * soft-fp/extendsfdf2.c: Likewise.
21681 * soft-fp/extendsftf2.c: Likewise.
21682 * soft-fp/extendxftf2.c: Likewise.
21683 * soft-fp/fixdfdi.c: Likewise.
21684 * soft-fp/fixdfsi.c: Likewise.
21685 * soft-fp/fixdfti.c: Likewise.
21686 * soft-fp/fixsfdi.c: Likewise.
21687 * soft-fp/fixsfsi.c: Likewise.
21688 * soft-fp/fixsfti.c: Likewise.
21689 * soft-fp/fixtfdi.c: Likewise.
21690 * soft-fp/fixtfsi.c: Likewise.
21691 * soft-fp/fixtfti.c: Likewise.
21692 * soft-fp/fixunsdfdi.c: Likewise.
21693 * soft-fp/fixunsdfsi.c: Likewise.
21694 * soft-fp/fixunsdfti.c: Likewise.
21695 * soft-fp/fixunssfdi.c: Likewise.
21696 * soft-fp/fixunssfsi.c: Likewise.
21697 * soft-fp/fixunssfti.c: Likewise.
21698 * soft-fp/fixunstfdi.c: Likewise.
21699 * soft-fp/fixunstfsi.c: Likewise.
21700 * soft-fp/fixunstfti.c: Likewise.
21701 * soft-fp/floatdidf.c: Likewise.
21702 * soft-fp/floatdisf.c: Likewise.
21703 * soft-fp/floatditf.c: Likewise.
21704 * soft-fp/floatsidf.c: Likewise.
21705 * soft-fp/floatsisf.c: Likewise.
21706 * soft-fp/floatsitf.c: Likewise.
21707 * soft-fp/floattidf.c: Likewise.
21708 * soft-fp/floattisf.c: Likewise.
21709 * soft-fp/floattitf.c: Likewise.
21710 * soft-fp/floatundidf.c: Likewise.
21711 * soft-fp/floatundisf.c: Likewise.
21712 * soft-fp/floatunditf.c: Likewise.
21713 * soft-fp/floatunsidf.c: Likewise.
21714 * soft-fp/floatunsisf.c: Likewise.
21715 * soft-fp/floatunsitf.c: Likewise.
21716 * soft-fp/floatuntidf.c: Likewise.
21717 * soft-fp/floatuntisf.c: Likewise.
21718 * soft-fp/floatuntitf.c: Likewise.
21719 * soft-fp/fmadf4.c: Likewise.
21720 * soft-fp/fmasf4.c: Likewise.
21721 * soft-fp/fmatf4.c: Likewise.
21722 * soft-fp/gedf2.c: Likewise.
21723 * soft-fp/gesf2.c: Likewise.
21724 * soft-fp/getf2.c: Likewise.
21725 * soft-fp/ledf2.c: Likewise.
21726 * soft-fp/lesf2.c: Likewise.
21727 * soft-fp/letf2.c: Likewise.
21728 * soft-fp/muldf3.c: Likewise.
21729 * soft-fp/mulsf3.c: Likewise.
21730 * soft-fp/multf3.c: Likewise.
21731 * soft-fp/negdf2.c: Likewise.
21732 * soft-fp/negsf2.c: Likewise.
21733 * soft-fp/negtf2.c: Likewise.
21734 * soft-fp/op-1.h: Likewise.
21735 * soft-fp/op-2.h: Likewise.
21736 * soft-fp/op-4.h: Likewise.
21737 * soft-fp/op-8.h: Likewise.
21738 * soft-fp/op-common.h: Likewise.
21739 * soft-fp/quad.h: Likewise.
21740 * soft-fp/single.h: Likewise.
21741 * soft-fp/soft-fp.h: Likewise.
21742 * soft-fp/sqrtdf2.c: Likewise.
21743 * soft-fp/sqrtsf2.c: Likewise.
21744 * soft-fp/sqrttf2.c: Likewise.
21745 * soft-fp/subdf3.c: Likewise.
21746 * soft-fp/subsf3.c: Likewise.
21747 * soft-fp/subtf3.c: Likewise.
21748 * soft-fp/truncdfsf2.c: Likewise.
21749 * soft-fp/trunctfdf2.c: Likewise.
21750 * soft-fp/trunctfsf2.c: Likewise.
21751 * soft-fp/trunctfxf2.c: Likewise.
21752 * soft-fp/unorddf2.c: Likewise.
21753 * soft-fp/unordsf2.c: Likewise.
21754 * soft-fp/unordtf2.c: Likewise.
21755
9ebb0332
JM
217562013-10-15 Joseph Myers <joseph@codesourcery.com>
21757
21758 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21759 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21760
4b1a6d8b
OB
217612013-10-15 Ondřej Bílka <neleai@seznam.cz>
21762
21763 * elf/dl-libc.c: Clear initfini list after freeing.
21764
1e145589
JM
217652013-10-14 Joseph Myers <joseph@codesourcery.com>
21766
21767 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21768 * soft-fp/addsf3.c: Likewise.
21769 * soft-fp/addtf3.c: Likewise.
21770 * soft-fp/divdf3.c: Likewise.
21771 * soft-fp/divsf3.c: Likewise.
21772 * soft-fp/divtf3.c: Likewise.
21773 * soft-fp/double.h: Likewise.
21774 * soft-fp/eqdf2.c: Likewise.
21775 * soft-fp/eqsf2.c: Likewise.
21776 * soft-fp/eqtf2.c: Likewise.
21777 * soft-fp/extenddftf2.c: Likewise.
21778 * soft-fp/extended.h: Likewise.
21779 * soft-fp/extendsfdf2.c: Likewise.
21780 * soft-fp/extendsftf2.c: Likewise.
21781 * soft-fp/extendxftf2.c: Likewise.
21782 * soft-fp/fixdfdi.c: Likewise.
21783 * soft-fp/fixdfsi.c: Likewise.
21784 * soft-fp/fixdfti.c: Likewise.
21785 * soft-fp/fixsfdi.c: Likewise.
21786 * soft-fp/fixsfsi.c: Likewise.
21787 * soft-fp/fixsfti.c: Likewise.
21788 * soft-fp/fixtfdi.c: Likewise.
21789 * soft-fp/fixtfsi.c: Likewise.
21790 * soft-fp/fixtfti.c: Likewise.
21791 * soft-fp/fixunsdfdi.c: Likewise.
21792 * soft-fp/fixunsdfsi.c: Likewise.
21793 * soft-fp/fixunsdfti.c: Likewise.
21794 * soft-fp/fixunssfdi.c: Likewise.
21795 * soft-fp/fixunssfsi.c: Likewise.
21796 * soft-fp/fixunssfti.c: Likewise.
21797 * soft-fp/fixunstfdi.c: Likewise.
21798 * soft-fp/fixunstfsi.c: Likewise.
21799 * soft-fp/fixunstfti.c: Likewise.
21800 * soft-fp/floatdidf.c: Likewise.
21801 * soft-fp/floatdisf.c: Likewise.
21802 * soft-fp/floatditf.c: Likewise.
21803 * soft-fp/floatsidf.c: Likewise.
21804 * soft-fp/floatsisf.c: Likewise.
21805 * soft-fp/floatsitf.c: Likewise.
21806 * soft-fp/floattidf.c: Likewise.
21807 * soft-fp/floattisf.c: Likewise.
21808 * soft-fp/floattitf.c: Likewise.
21809 * soft-fp/floatundidf.c: Likewise.
21810 * soft-fp/floatundisf.c: Likewise.
21811 * soft-fp/floatunsidf.c: Likewise.
21812 * soft-fp/floatunsisf.c: Likewise.
21813 * soft-fp/floatuntidf.c: Likewise.
21814 * soft-fp/floatuntisf.c: Likewise.
21815 * soft-fp/floatuntitf.c: Likewise.
21816 * soft-fp/fmadf4.c: Likewise.
21817 * soft-fp/fmasf4.c: Likewise.
21818 * soft-fp/fmatf4.c: Likewise.
21819 * soft-fp/gedf2.c: Likewise.
21820 * soft-fp/gesf2.c: Likewise.
21821 * soft-fp/getf2.c: Likewise.
21822 * soft-fp/ledf2.c: Likewise.
21823 * soft-fp/lesf2.c: Likewise.
21824 * soft-fp/letf2.c: Likewise.
21825 * soft-fp/muldf3.c: Likewise.
21826 * soft-fp/mulsf3.c: Likewise.
21827 * soft-fp/multf3.c: Likewise.
21828 * soft-fp/negdf2.c: Likewise.
21829 * soft-fp/negsf2.c: Likewise.
21830 * soft-fp/negtf2.c: Likewise.
21831 * soft-fp/op-1.h: Likewise.
21832 * soft-fp/op-2.h: Likewise.
21833 * soft-fp/op-4.h: Likewise.
21834 * soft-fp/op-8.h: Likewise.
21835 * soft-fp/op-common.h: Likewise.
21836 * soft-fp/quad.h: Likewise.
21837 * soft-fp/single.h: Likewise.
21838 * soft-fp/soft-fp.h: Likewise.
21839 * soft-fp/sqrtdf2.c: Likewise.
21840 * soft-fp/sqrtsf2.c: Likewise.
21841 * soft-fp/sqrttf2.c: Likewise.
21842 * soft-fp/subdf3.c: Likewise.
21843 * soft-fp/subsf3.c: Likewise.
21844 * soft-fp/subtf3.c: Likewise.
21845 * soft-fp/truncdfsf2.c: Likewise.
21846 * soft-fp/trunctfdf2.c: Likewise.
21847 * soft-fp/trunctfsf2.c: Likewise.
21848 * soft-fp/trunctfxf2.c: Likewise.
21849 * soft-fp/unorddf2.c: Likewise.
21850 * soft-fp/unordsf2.c: Likewise.
21851 * soft-fp/unordtf2.c: Likewise.
21852
17c48a60
OB
218532013-10-14 Ondřej Bílka <neleai@seznam.cz>
21854
21855 [BZ #15672]
21856 * misc/error.c (error_tail): Fix possible buffer overflow.
21857
cabba934
OB
218582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21859
21860 [BZ #13028]
21861 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21862 address.
21863
94bf958a
PM
218642013-10-14 P. J. McDermott <pj@pehjota.net>
21865
21866 [BZ #832]
21867 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21868 testing pipefail option.
21869
71b4dea7
JM
218702013-10-12 Joseph Myers <joseph@codesourcery.com>
21871
21872 * soft-fp/double.h: Indent preprocessor directives inside #if.
21873 * soft-fp/extended.h: Likewise.
21874 * soft-fp/op-2.h: Likewise.
21875 * soft-fp/op-4.h: Likewise.
21876 * soft-fp/op-common.h: Likewise.
21877 * soft-fp/quad.h: Likewise.
21878 * soft-fp/single.h: Likewise.
21879 * soft-fp/soft-fp.h: Likewise.
21880
55602758
YC
218812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21882
21883 * iconv/iconv_prog.c: Fix typos.
21884 * stdio-common/psiginfo-data.h: Likewise.
21885
9cd83302
RT
218862013-10-12 Reuben Thomas <rrt@sc3d.org>
21887
21888 [BZ #15764]
21889 * locale/setlocale.c: Fix typo.
21890
99fd9f47
JM
218912013-10-12 Joseph Myers <joseph@codesourcery.com>
21892
b7ea74f0
JM
21893 [BZ #16036]
21894 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21895 signaling NaN arguments.
21896 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21897 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21898
8a509447
JM
21899 [BZ #14910]
21900 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21901 unordered operands.
21902 * soft-fp/gesf2.c (__gesf2): Likewise.
21903 * soft-fp/getf2.c (__getf2): Likewise.
21904 * soft-fp/ledf2.c (__ledf2): Likewise.
21905 * soft-fp/lesf2.c (__lesf2): Likewise.
21906 * soft-fp/letf2.c (__letf2): Likewise.
21907
98998e9f
JM
21908 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21909 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21910 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21911 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21912 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21913 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21914 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21915 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21916 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21917 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21918 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21919 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21920 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21921 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21922 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21923 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21924 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21925 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21926 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21927 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21928 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21929 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21930 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21931 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21932 * soft-fp/floattidf.c (__floattidf): Likewise.
21933 * soft-fp/floattisf.c (__floattisf): Likewise.
21934 * soft-fp/floattitf.c (__floattitf): Likewise.
21935 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21936 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21937 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21938 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21939 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21940 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21941 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21942 * soft-fp/gesf2.c (__gesf2): Likewise.
21943 * soft-fp/getf2.c (__getf2): Likewise.
21944 * soft-fp/ledf2.c (__ledf2): Likewise.
21945 * soft-fp/lesf2.c (__lesf2): Likewise.
21946 * soft-fp/letf2.c (__letf2): Likewise.
21947
8edc4a11
JM
21948 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21949 Undefine and redefine.
21950 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21951 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21952 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21953 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21954 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21955 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21956 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21957 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21958 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21959 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21960 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21961 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21962 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21963 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21964 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21965
8399acaf
JM
21966 [BZ #16032]
21967 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21968 without decrementing exponent if mantissa >= that for the
21969 denominator, not >.
21970 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21971 denominator, not >. Decrement exponent in < case instead of
21972 incrementing in >= case.
21973 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21974 without decrementing exponent if mantissa >= that for the
21975 denominator, not >.
21976
99fd9f47
JM
21977 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21978 computing saturated result for unsigned overflow.
21979
10e1cf6b
SP
219802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21981 Jeff Law <law@redhat.com>
21982
21983 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21984 (atan2Mp): Add systemtap probe marker.
21985 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21986 (__ieee754_log): Add systemtap probe marker.
21987 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21988 (atanMp): Add systemtap probe marker.
21989 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21990 (tanMp): Add systemtap probe marker.
21991 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21992 (__slowexp): Add systemtap probe marker.
21993 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21994 (__slowpow): Add systemtap probe marker.
21995 * manual/probes.texi: Document probes.
21996
3d110c7c
EB
219972013-10-11 Eric Biggers <ebiggers3@gmail.com>
21998
21999 [BZ #15362]
22000 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22001 written.
22002 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22003 written.
22004 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22005 written to buffer but not flushed.
22006 * libio/iofwrite_u.c: Likewise.
22007 * libio/iopadn.c: Return bytes returned even if EOF was
22008 encountered.
22009 * libio/iowpadn.c: Likewise.
22010 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22011 if _IO_padn does not write the whole buffer.
22012 [!COMPILE_WPRINTF] (PAD): Likewise.
22013
75b4202a
DM
220142013-10-10 David S. Miller <davem@davemloft.net>
22015
22016 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22017 directory block.
22018
6c6352e6
JM
220192013-10-10 Joseph Myers <joseph@codesourcery.com>
22020
33b853c3
JM
22021 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22022 instead of FSF address.
22023 * soft-fp/fixdfti.c: Likewise.
22024 * soft-fp/fixsfti.c: Likewise.
22025 * soft-fp/fixtfti.c: Likewise.
22026 * soft-fp/fixunsdfti.c: Likewise.
22027 * soft-fp/fixunssfti.c: Likewise.
22028 * soft-fp/fixunstfti.c: Likewise.
22029 * soft-fp/floattidf.c: Likewise.
22030 * soft-fp/floattisf.c: Likewise.
22031 * soft-fp/floattitf.c: Likewise.
22032 * soft-fp/floatuntidf.c: Likewise.
22033 * soft-fp/floatuntisf.c: Likewise.
22034 * soft-fp/floatuntitf.c: Likewise.
22035 * soft-fp/trunctfxf2.c: Likewise.
22036
6c6352e6
JM
22037 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22038 * soft-fp/fixdfti.c: Likewise.
22039 * soft-fp/fixsfti.c: Likewise.
22040 * soft-fp/fixtfti.c: Likewise.
22041 * soft-fp/fixunsdfti.c: Likewise.
22042 * soft-fp/fixunssfti.c: Likewise.
22043 * soft-fp/fixunstfti.c: Likewise.
22044 * soft-fp/floattidf.c: Likewise.
22045 * soft-fp/floattisf.c: Likewise.
22046 * soft-fp/floattitf.c: Likewise.
22047 * soft-fp/floatuntidf.c: Likewise.
22048 * soft-fp/floatuntisf.c: Likewise.
22049 * soft-fp/floatuntitf.c: Likewise.
22050 * soft-fp/trunctfxf2.c: Likewise.
22051
3bf78b71
DM
220522013-10-10 David S. Miller <davem@davemloft.net>
22053
22054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22055
6f10289e
JM
220562013-10-10 Joseph Myers <joseph@codsourcery.com>
22057
bd878fc0
JM
22058 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22059 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22060 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22065
6f10289e
JM
22066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22067 for NaNs before doing comparisons on argument.
22068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22069 Likewise.
22070
321e2684
WN
220712013-10-10 Will Newton <will.newton@linaro.org>
22072
22073 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22074 passed to _int_memalign does not overflow.
22075
40fefba1
TR
220762013-10-10 Torvald Riegel <triegel@redhat.com>
22077
22078 * scripts/bench.pl: Add include-sources directive.
22079 * benchtests/README: Update documentation.
22080
2ae21ed2
JM
220812013-10-10 Joseph Myers <joseph@codesourcery.com>
22082
dcc2dd3f
JM
22083 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22084 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22085 instead of FP_INIT_ROUNDMODE.
22086 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22087 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22088
2ae21ed2
JM
22089 [BZ #16034]
22090 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22091 copy class of input value.
22092 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22093 not handle exceptions.
22094 * soft-fp/negsf2.c (__negsf2): Likewise.
22095 * soft-fp/negtf2.c (__negtf2): Likewise.
22096 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22097
cb8f9562
JM
220982013-10-09 Joseph Myers <joseph@codesourcery.com>
22099
22100 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22101 semicolon. From Linux kernel.
22102
5b60c59d
AB
221032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22104
22105 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22106
b86835ca
YC
221072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22108
22109 [BZ #156]
22110 * manual/socket.texi: Added statement about buffer
22111 for gethostbyname2_r.
22112
e7044ea7
OB
221132013-10-08 Ondřej Bílka <neleai@seznam.cz>
22114
22115 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22116 Use .p2align directive instead, throughout.
22117 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22118 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22119 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22121 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22122 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22123 * sysdeps/x86_64/strchr.S: Likewise.
22124 * sysdeps/x86_64/strrchr.S: Likewise.
22125
09544cbc
SP
221262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22127
88576635
SP
22128 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22129
e7b2d1dd
SP
22130 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22131
09544cbc
SP
22132 * sysdeps/generic/math_private.h (__mpsin1): Remove
22133 declaration.
22134 (__mpcos1): Likewise.
22135 (__mpsin): New argument __range_reduce.
22136 (__mpcos): Likewise.
22137 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22138 (slow): Use __mpsin and __mpcos.
22139 (slow1): Likewise.
22140 (slow2): Likewise.
22141 (sloww): Likewise.
22142 (sloww1): Likewise.
22143 (sloww2): Likewise.
22144 (bsloww): Likewise.
22145 (bsloww1): Likewise.
22146 (bsloww2): Likewise.
22147 (cslow2): Likewise.
22148 (csloww): Likewise.
22149 (csloww1): Likewise.
22150 (csloww2): Likewise.
22151 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22152 range_reduce. Merge in __mpsin1.
22153 (__mpcos): Likewise.
22154 (__mpsin1): Remove.
22155 (__mpcos1): Likewise.
22156
7602d070
JM
221572013-10-07 Joseph Myers <joseph@codesourcery.com>
22158
22159 * locale/loadlocale.c (_nl_intern_locale_data): Use
22160 LOCFILE_ALIGNED_P.
22161 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22162 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22163 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22164 obstack data is appropriately aligned.
22165 (obstack_int32_grow_fast): Likewise.
22166 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22167 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22168 (add_locale_uint32_array): Likewise.
22169
a357259b
SP
221702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22171
22172 * benchtests/Makefile: Remove ARGLIST and RET variables.
22173 ($(objpfx)bench-%.c): Pass only function name to the script.
22174 * benchtests/README: Update documentation.
22175 * benchtests/acos-inputs: Add new directives.
22176 * benchtests/acosh-inputs: Likewise.
22177 * benchtests/asin-inputs: Likewise.
22178 * benchtests/asinh-inputs: Likewise.
22179 * benchtests/atan-inputs: Likewise.
22180 * benchtests/atanh-inputs: Likewise.
22181 * benchtests/cos-inputs: Likewise.
22182 * benchtests/cosh-inputs: Likewise.
22183 * benchtests/exp-inputs: Likewise.
22184 * benchtests/log-inputs: Likewise.
22185 * benchtests/pow-inputs: Likewise.
22186 * benchtests/rint-inputs: Likewise.
22187 * benchtests/sin-inputs: Likewise.
22188 * benchtests/sinh-inputs: Likewise.
22189 * benchtests/tan-inputs: Likewise.
22190 * benchtests/tanh-inputs: Likewise.
22191 * scripts/bench.pl: Add support for new directives.
22192
9ec1b13d
AM
221932013-10-07 Alan Modra <amodra@gmail.com>
22194
22195 * README: Fix careless merge.
22196
8b7d57cd
AM
221972013-10-05 Alan Modra <amodra@gmail.com>
22198
22199 * NEWS: Mention powerpc64le support and bugs fixed.
22200 * README: Both big-endian and little-endian powerpc64 supported.
22201
7b7bab13
ST
222022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22203
57f41c40
AS
22204 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22205 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22206 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22207 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22208
d39baad1
RA
222092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22210
22211 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22212 match prototype.
22213
cd78f7e7
JM
222142013-10-04 Joseph Myers <joseph@codesourcery.com>
22215
29d73d86
JM
22216 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22217 Move -mhard-float appending from
22218 ports/sysdeps/powerpc/powerpc32/Makefile.
22219 [$(with-fp) = yes] (ASFLAGS): Likewise.
22220 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22221 * sysdeps/powerpc/nofpu: Move directory from
22222 ports/sysdeps/powerpc/nofpu.
22223 * sysdeps/powerpc/soft-fp: Move directory from
22224 ports/sysdeps/powerpc/soft-fp.
22225 * sysdeps/powerpc/powerpc32/405: Move directory from
22226 ports/sysdeps/powerpc/powerpc32/405.
22227 * sysdeps/powerpc/powerpc32/440: Move directory from
22228 ports/sysdeps/powerpc/powerpc32/440.
22229 * sysdeps/powerpc/powerpc32/464: Move directory from
22230 ports/sysdeps/powerpc/powerpc32/464.
22231 * sysdeps/powerpc/powerpc32/476: Move directory from
22232 ports/sysdeps/powerpc/powerpc32/476.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22234 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22236 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22238 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22243 * README: Update for powerpc-*-linux-gnu software floating point
22244 support in libc.
22245
e246b347
JM
22246 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22247 case to powerpc/powerpc32*.
22248 * sysdeps/unix/sysv/linux/configure: Regenerated.
22249
89c2003e
JM
22250 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22251 (_FPU_MASK_OM): Define as 0x04.
22252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22254 0x00c10080.
22255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22256 0x0000003c.
22257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22258
cd78f7e7
JM
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22260 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22261 getcontext_e500.
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22263 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22264 setcontext_e500.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22266 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22267 and setcontext_e500.
22268
c755294d
CL
222692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22270
22271 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22272
e16d221c
SP
222732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22274
22275 * manual/threads.texi (Default Thread Attributes): Fix typo.
22276
215c7d43
WN
222772013-10-04 Will Newton <will.newton@linaro.org>
22278
22279 * malloc/Makefile: Add tst-memalign.
22280 * malloc/tst-memalign.c: New file.
22281
27d0461b
WN
22282 * malloc/tst-posix_memalign.c: Add comments.
22283 (do_test): Add comments and call free on all potentially
22284 allocated pointers. Add space after cast.
22285
1bc92709
WN
22286 * malloc/tst-pvalloc.c: Add comments.
22287 (do_test): Add comments and call free on all potentially
22288 allocated pointers. Remove duplicate check for NULL pointer.
22289 Add space after cast.
22290
66a9be9d
WN
22291 * malloc/tst-valloc.c: Add comments.
22292 (do_test): Add comments and call free on all potentially
22293 allocated pointers. Remove duplicate check for NULL pointer.
22294 Add space after cast.
22295
4cb81307
AM
222962013-10-04 Alan Modra <amodra@gmail.com>
22297
22298 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22299 Use stdint types in rather than __attribute__((mode())).
22300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22301
f8e3e9f3
AM
223022013-10-04 Alan Modra <amodra@gmail.com>
22303
22304 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22305 Correct handling of unaligned relocs for little-endian.
22306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22307
8f9ebb08
AM
223082013-10-04 Alan Modra <amodra@gmail.com>
22309
22310 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22311 * configure: Regenerate.
22312 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22313 * shlib-versions: Likewise.
22314
0edf96c2
AM
223152013-10-04 Alan Modra <amodra@gmail.com>
22316
22317 * string/tester.c (test_memrchr): Increment reported test cycle.
22318
e0f7a380
AM
223192013-10-04 Alan Modra <amodra@gmail.com>
22320
22321 * string/test-memcpy.c (do_one_test): When reporting errors, print
22322 string address and don't overrun end of string.
22323
466b0393
AM
223242013-10-04 Alan Modra <amodra@gmail.com>
22325
22326 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22327 insrdi. Make better use of reg selection to speed exit slightly.
22328 Schedule entry path a little better. Remove useless "are we done"
22329 checks on entry to main loop. Handle wrapping around zero address.
22330 Correct main loop count. Handle single left-over word from main
22331 loop inline rather than by using loop_small. Remove extra word
22332 case in loop_small caused by wrong loop count. Add little-endian
22333 support.
22334 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22335 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22336 cache hint.
22337 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22338 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22339 support. Avoid rlwimi.
22340 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22341
3be87c77
AM
223422013-10-04 Alan Modra <amodra@gmail.com>
22343
22344 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22345 insrdi. Formatting.
3be87c77
AM
22346 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22347 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22348 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22349 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22350 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22351 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22352
759cfef3
AM
223532013-10-04 Alan Modra <amodra@gmail.com>
22354
22355 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22356 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22357 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22358 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22359 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22360 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22361 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22362 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22363 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22364 use of regs. Use power7 mtocrf. Tidy function tails.
22365
fe6e95d7
AM
223662013-10-04 Alan Modra <amodra@gmail.com>
22367
22368 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22369 Formatting. Consistently use rXXX register defines or rN defines.
22370 Use early exit labels that avoid restoring unused non-volatile regs.
22371 Make cr field use more consistent with rWORDn compares. Rename
22372 regs used as shift registers for unaligned loop, using rN defines
22373 for short lifetime/multiple use regs.
22374 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22376 addi 1,1,64 to pop stack frame. Simplify return value code.
22377 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22378
664318c3
AM
223792013-10-04 Alan Modra <amodra@gmail.com>
22380
22381 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22382 support. Correct typos, formatting. Optimize tail. Use insrdi
22383 rather than rlwimi.
22384 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22385 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22386 little-endian support. Correct typos.
22387 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22388 rather than rlwimi.
22389 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22390 in loop and entry code to keep "and." results.
22391 (strchr): Add little-endian support. Comment. Move cntlzd
22392 earlier in tail.
22393 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22394
43b84013
AM
223952013-10-04 Alan Modra <amodra@gmail.com>
22396
22397 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22398 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22399 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22400 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22401
8a7413f9
AM
224022013-10-04 Alan Modra <amodra@gmail.com>
22403
22404 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22405 (rTMP): Define as r11.
22406 (strcmp): Add little-endian support. Optimise tail.
22407 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22408 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22409 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22410 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22411 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22412 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22413 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22414
33ee81de
AM
224152013-10-04 Alan Modra <amodra@gmail.com>
22416
22417 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22418 little-endian support. Remove unnecessary "are we done" tests.
22419 Handle "s" wrapping around zero and extremely large "size".
22420 Correct main loop count. Handle single left-over word from main
22421 loop inline rather than by using small_loop. Correct comments.
22422 Delete "zero" tail, use "end_max" instead.
22423 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22424
db9b4570
AM
224252013-10-04 Alan Modra <amodra@gmail.com>
22426
22427 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22428 support. Don't branch over align.
22429 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22430 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22431 support. Rearrange tmp reg use to suit. Comment.
22432 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22433
f7c399cf
AM
224342013-10-04 Alan Modra <amodra@gmail.com>
22435
22436 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22437
0b2c2ace
AM
224382013-10-04 Alan Modra <amodra@gmail.com>
22439
22440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22441 conditional form of branch and link when obtaining pc.
22442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22443
02f04a6c
AM
224442013-10-04 Alan Modra <amodra@gmail.com>
22445
22446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22447 HIWORD/LOWORD.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22450
9b874b2f
AM
224512013-10-04 Alan Modra <amodra@gmail.com>
22452
22453 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22454 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22455 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22456 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22457 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22458 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22459 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22460 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22461 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22462 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22463
be1e5d31
AB
224642013-10-04 Anton Blanchard <anton@au1.ibm.com>
22465 Alistair Popple <alistair@ozlabs.au.ibm.com>
22466 Alan Modra <amodra@gmail.com>
22467
22468 [BZ #15723]
22469 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22470 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22471 _dl_hwcap access for little-endian.
22472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22473 destroy vmx regs when saving unaligned.
22474 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22475 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22476 destroy vmx regs when saving unaligned.
22477
fef13a78
AM
224782013-10-04 Alan Modra <amodra@gmail.com>
22479
22480 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22481 Don't use a union to pack hi/low value.
22482
76a66d51
AB
224832013-10-04 Anton Blanchard <anton@au1.ibm.com>
22484
22485 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22486 for little-endian.
22487 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22489 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22490 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22492
6a31fe7f
AM
224932013-10-04 Alan Modra <amodra@gmail.com>
22494
22495 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22496 constants to usual value for .cst8 section, and remove redundant
22497 high address load.
22498 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22499 constant for 0x1p52. Load little-endian words of double from
22500 correct stack offsets.
22501
7b88401f
AM
225022013-10-04 Alan Modra <amodra@gmail.com>
22503
22504 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22505 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22506 words of double from correct stack offsets.
22507 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22508 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22509 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22511 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22513 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22514 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22515 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22518 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22519 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22520 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22521 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22522 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22523 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22524
9c008155
AM
225252013-10-04 Alan Modra <amodra@gmail.com>
22526
22527 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22528 64-bit int/double union.
22529 (_FPU_SETCW): Likewise.
22530 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22531 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22532
da13146d
AM
225332013-10-04 Alan Modra <amodra@gmail.com>
22534
22535 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22536 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22537
603e8410
AM
225382013-10-04 Alan Modra <amodra@gmail.com>
22539
22540 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22541 use vector int constants.
22542 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22543
4a28b3ca
AB
225442013-10-04 Anton Blanchard <anton@au1.ibm.com>
22545
22546 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22547 array with long long.
22548 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22549 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22550 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22551 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22552 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22553 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22554 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22555 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22556 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22557 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22558 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22559 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22560 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22561
2ca85d2b
AB
225622013-10-04 Anton Blanchard <anton@au1.ibm.com>
22563
22564 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22565 (__signbit): Likewise. Correct for little-endian.
22566 (__signbitl): Call __signbit.
22567 (lrint): Correct for little-endian.
22568 (lrintf): Call lrint.
22569
62a728ae
AM
225702013-10-04 Alan Modra <amodra@gmail.com>
22571
22572 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22573 union 32-bit int array member with 64-bit int array.
22574 (t515, tm256): Double rather than long double.
22575 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22576
32c301df
AM
225772013-10-04 Alan Modra <amodra@gmail.com>
22578
22579 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22580 Delete.
22581 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22582 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22583 version of math_ldbl.h.
22584
650ef4bd
AM
225852013-10-04 Alan Modra <amodra@gmail.com>
22586
22587 [BZ #15734], [BZ #15735]
22588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22589 all uses of ieee875 long double macros and unions. Simplify test
22590 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22591 ldbl_extract_mantissa value for ix,iy exponents. Properly
22592 normalize after ldbl_extract_mantissa, and don't add hidden bit
22593 already handled. Don't treat low word of ieee854 mantissa like
22594 low word of IBM long double and mask off bit when testing for
22595 zero.
22596 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22597 all uses of ieee875 long double macros and unions. Simplify tests
22598 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22599 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22600 two1022, instead use their values. Recognise that tests for large
22601 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22602 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22603 Rewrite all uses of ieee875 long double macros and unions. Simplify
22604 test for 0.0L and nan. Correct negation.
22605 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22606 ieee875 long double macros and unions. Correct output for large
22607 magnitude x. Correct absolute value calculation.
22608 (__erfcl): Likewise.
22609 * math/libm-test.inc: Add tests for errors discovered in IBM long
22610 double versions of fmodl, remainderl, erfl and erfcl.
22611
765714ca
AM
226122013-10-04 Alan Modra <amodra@gmail.com>
22613
22614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22615 all uses of ieee854 long double macros and unions. Simplify tests
22616 for long doubles that are fully specified by the high double.
22617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22618 Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22620 Remove dead code too.
22621 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22622 (__ieee754_ynl): Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22626 Remove dead code too.
22627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22631 Simplify.
22632 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22633 Simplify.
22634 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22637 Comment on variable precision.
22638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22640 Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22646
4ebd120c
AM
226472013-10-04 Alan Modra <amodra@gmail.com>
22648
22649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22651 all uses of ieee854 long double macros and unions.
22652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22654 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22656 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22658 Likewise.
22659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22660 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22661 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22663 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22665 Simplify sign and nan test too.
22666 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22670 Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22672 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22673 Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22675 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22680
1b6adf88
AM
226812013-10-04 Alan Modra <amodra@gmail.com>
22682
22683 * stdio-common/printf_size.c (__printf_size): Don't use
22684 union ieee854_long_double in fpnum union.
22685 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22686 signbit macro to retrieve sign from long double.
22687 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22688 retrieve sign from long double.
22689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22690 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22692 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22693 * math/test-misc.c (main): Don't use union ieee854_long_double.
22694
4cf69995
AM
226952013-10-04 Alan Modra <amodra@gmail.com>
22696
22697 [BZ #15680]
22698 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22699 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22700 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22701 calculation. Remove unnecessary test for denormal exponent.
22702 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22703 Correct handling of denormals. Avoid undefined shift behaviour.
22704 Correct normalisation of low mantissa when low double is denormal.
22705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22706 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22707 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22708 Correct normalisation of low mantissa. Test for overflow of high
22709 mantissa and normalise.
22710 (ldbl_nearbyint): Use more readable constant for two52.
22711 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22712 (__mpn_construct_long_double): Fix test for overflow of high
22713 mantissa and correct normalisation. Avoid undefined shift.
22714
9605ca6c
AM
227152013-10-04 Alan Modra <amodra@gmail.com>
22716
22717 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22718 (union ibm_extended_long_double): Define as an array of ieee754_double.
22719 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22720 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22721 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22722 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22726 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22730
975569d0
JM
227312013-10-03 Joseph Myers <joseph@codesourcery.com>
22732
d3d23756
JM
22733 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22734 page size instead of calling getpagesize.
22735
975569d0
JM
22736 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22737 (LOCFILE_ALIGN_MASK): Likewise.
22738 (LOCFILE_ALIGN_UP): Likewise.
22739 (LOCFILE_ALIGNED_P): Likewise.
22740 * locale/programs/ld-collate.c (collate_output): Use the new
22741 macros instead of __alignof__ (int32_t).
22742 * locale/weight.h (findidx): Likewise.
22743
b1fe1f2b
OB
227442013-10-03 Ondřej Bílka <neleai@seznam.cz>
22745
22746 [BZ #431]
22747 * manual/string.texi: Fix strncat and wcsncat.
22748
5f855e35
BM
227492013-10-03 Brooks Moses <bmoses@google.com>
22750
22751 [BZ #15915]
22752 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22753 * Makerules: ...here, and adjust associated comments.
22754
3cef6009
WN
227552013-10-02 Will Newton <will.newton@linaro.org>
22756
22757 * malloc/Makefile: Add tst-pvalloc.
22758 * malloc/tst-pvalloc.c: New file.
22759
7815420b
WN
227602013-10-02 Will Newton <will.newton@linaro.org>
22761
22762 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22763 improve test coverage.
22764
4868b204
WN
227652013-10-02 Will Newton <will.newton@linaro.org>
22766
22767 * malloc/Makefile: Add tst-posix_memalign.
22768 * malloc/tst-posix_memalign.c: New file.
22769
29c793b3
EB
227702013-10-01 Eric Blake <eblake@redhat.com>
22771
22772 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22773 Use __THROWNL rather than __THROW on static functions.
22774
fd967522
PM
227752013-09-30 Petr Machata <pmachata@redhat.com>
22776
22777 * elf/elf.h (R_AARCH64_ABS16): New macro.
22778 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22779 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22780 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22781 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22782 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22783 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22784 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22785 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22786 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22787 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22788 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22789 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22790 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22791 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22792 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22793 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22794 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22795 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22796 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22797 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22798 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22799 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22800 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22801 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22802 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22803 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22804 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22805 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22806 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22807 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22808 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22809 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22810 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22811 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22812 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22813 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22814 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22815 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22816 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22817 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22818 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22819 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22820 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22821 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22822 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22823 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22824 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22825 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22826 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22827 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22828 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22829 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22830 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22831 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22832 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22833 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22834 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22835 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22836 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22837 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22838 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22839 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22840 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22841 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22842 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22843 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22844 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22845 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22846 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22847 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22848 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22849 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22850 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22851 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22852 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22853 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22854 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22855 (R_AARCH64_TLSDESC_LDR): Likewise.
22856 (R_AARCH64_TLSDESC_ADD): Likewise.
22857 (R_AARCH64_TLSDESC_CALL): Likewise.
22858
b2179107
AS
228592013-09-30 Andreas Schwab <schwab@suse.de>
22860
22861 [BZ #15048]
22862 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22863 the nss database lookup.
22864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22866
47f28d0a
MF
228672013-09-28 Mike Frysinger <vapier@gentoo.org>
22868
22869 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22870
228712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22872
22873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22874 ${Bash-specific parameter/pattern/string} parameter expansion.
22875 * sysdeps/unix/make-syscalls.sh: Likewise.
22876
f4518a17
KK
228772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22878
22879 * sysdeps/sh/stackguard-macros.h: New file.
22880
dc1a95c7
OB
228812013-09-26 Ondřej Bílka <neleai@seznam.cz>
22882
22883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22885 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22886 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22887 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22888 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22889
5ebbff8f
AZ
228902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22891
22892 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22893 Fix thread ID register.
22894
4fd2cf9f
JM
228952013-09-25 Joseph Myers <joseph@codesourcery.com>
22896
22897 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22898 [POSIX || UNIX98]: Require rather than permitting all symbols from
22899 <time.h>.
22900 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22901 element of struct sched_param.
22902 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22903 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22904 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22905 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22906 constant.
22907
12c22bc4
OL
229082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22909
22910 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22911 argument calculation.
22912
a03d8ea7
JM
229132013-09-24 Joseph Myers <joseph@codesourcery.com>
22914
22915 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22916 Expect macro.
22917 [POSIX] (pthread_attr_t): Do not require type.
22918 [POSIX] (pthread_cond_t): Likewise.
22919 [POSIX] (pthread_condattr_t): Likewise.
22920 [POSIX] (pthread_key_t): Likewise.
22921 [POSIX] (pthread_mutex_t): Likewise.
22922 [POSIX] (pthread_mutexattr_t): Likewise.
22923 [POSIX] (pthread_once_t): Likewise.
22924 [POSIX] (pthread_t): Likewise.
22925 [POSIX-based standards] (pthread_atfork): Expect function.
22926
6055173a
JM
229272013-09-24 Joseph Myers <joseph@codesourcery.com>
22928 Richard Sandiford <richard@codesourcery.com>
22929
22930 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22931 (swap_endianness_p): New extern variable.
22932 (set_big_endian): New inline function.
22933 (maybe_swap_uint32): Likewise.
22934 (maybe_swap_uint32_array): Likewise.
22935 (maybe_swap_uint32_obstack): Likewise.
22936 * locale/programs/locfile.c: Include <stdbool.h>.
22937 (swap_endianness_p): New variable.
22938 (add_locale_uint32): Call maybe_swap_uint32.
22939 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22940 (write_locale_data): Call maybe_swap_uint32_array.
22941 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22942 maybe_swap_uint32.
22943 (obstack_int32_grow_fast): Likewise.
22944 (output_weightwc): Call maybe_swap_uint32_obstack.
22945 (collate_output): Likewise.
22946 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22947 (OPT_LITTLE_ENDIAN): Likewise.
22948 (options): Add --little-endian and --big-endian options.
22949 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22950 * locale/programs/locarchive.c: Include "locfile.h".
22951 (GET): New macro.
22952 (SET): Likewise.
22953 (INC): Likewise.
22954 (create_archive): Use the new macros to access fields of
22955 structures directly mapped from or written to locale archives.
22956 (oldlocrecentcmp): Likewise.
22957 (enlarge_archive): Likewise.
22958 (insert_name): Likewise.
22959 (add_alias): Likewise.
22960 (add_locale): Likewise.
22961 (delete_locales_from_archive): Likewise.
22962 (show_archive_content): Likewise.
22963 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22964 locale data.
22965
39bf0bb4
RM
229662013-09-24 Roland McGrath <roland@hack.frob.com>
22967
22968 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22969 http://www.gnu.org/doc/freemanuals.texi.
22970 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22971
f02eed10
WN
229722013-09-24 Will Newton <will.newton@linaro.org>
22973
22974 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22975 macro.
22976
a3a6c312
JM
229772013-09-23 Joseph Myers <joseph@codesourcery.com>
22978
22979 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22980 unsigned char.
22981
107375ac
MR
229822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22983
22984 * manual/threads.texi (POSIX Threads): Fix a typo.
22985
141f3a77
SP
229862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22987
303e567a
SP
22988 [BZ #14547]
22989 * string/tst-strcoll-overflow.c: New test case.
22990 * string/Makefile (xtests): Add tst-strcoll-overflow.
22991 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22992 cache if string sizes may cause integer overflow.
22993
141f3a77
SP
22994 [BZ #14547]
22995 * string/strcoll_l.c (coll_seq): New members rule, idx,
22996 save_idx and back_us.
22997 (get_next_seq_nocache): New function.
22998 (do_compare_nocache): New function.
22999 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23000 when malloc fails.
23001
c61b4d41
CD
230022013-09-23 Carlos O'Donell <carlos@redhat.com>
23003
0b1f8e35
CD
23004 [BZ #15754]
23005 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23006 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23007 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23008
c61b4d41
CD
23009 [BZ #15754]
23010 * elf/Makefile (tests): Add tst-ptrguard1.
23011 (tests-static): Add tst-ptrguard1-static.
23012 (tst-ptrguard1-ARGS): Define.
23013 (tst-ptrguard1-static-ARGS): Define.
23014 * elf/tst-ptrguard1.c: New file.
23015 * elf/tst-ptrguard1-static.c: New file.
23016 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23017 * sysdeps/i386/stackguard-macros.h: Likewise.
23018 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23019 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23020 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23021 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23022 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23023 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23024
230252013-09-23 Hector Marco <hecmargi@upv.es>
23026 Ismael Ripoll <iripoll@disca.upv.es>
23027 Carlos O'Donell <carlos@redhat.com>
23028
23029 [BZ #15754]
23030 * sysdeps/generic/stackguard-macros.h: Define
23031 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23032 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23033 Define __pointer_chk_guard_local.
23034 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23035 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23036
f5f4e7b4
VV
230372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23038
23039 [BZ #15859]
23040 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23041
5bb43a43
AS
230422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23043
23044 * include/string.h (__ffs): Declare as hidden.
23045 * string/ffs.c (__ffs): Define as hidden.
23046 * sysdeps/i386/ffs.c (__ffs): Likewise.
23047 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23048 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23049 * sysdeps/s390/ffs.c (__ffs): Likewise.
23050 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23051
3ea5be54
AO
230522013-09-20 Alexandre Oliva <aoliva@redhat.com>
23053
ffb89e53
AO
23054 * NEWS: Mention malloc probes.
23055
322dea08
AO
23056 * malloc/arena.c (new_heap): New memory_heap_new probe.
23057 (grow_heap): New memory_heap_more probe.
23058 (shrink_heap): New memory_heap_less probe.
23059 (heap_trim): New memory_heap_free probe.
23060 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23061 (systrim): New memory_sbrk_less probe.
23062 * manual/probes.texi: Document them.
23063
655673f3
AO
23064 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23065 * manual/probes.texi: Document it.
23066
35fed6f1
AO
23067 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23068 (__libc_realloc): Add memory_realloc_retry probe.
23069 (__libc_memalign): Add memory_memalign_retry probe.
23070 (__libc_valloc): Add memory_valloc_retry probe.
23071 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23072 (__libc_calloc): Add memory_calloc_retry probe.
23073 * manual/probes.texi: Document them.
23074
6999d38c
AO
23075 * malloc/arena.c (get_free_list): Add probe
23076 memory_arena_reuse_free_list.
23077 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23078 and memory_arena_reuse.
23079 (arena_get2) [!PER_THREAD]: Likewise.
23080 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23081 memory_arena_reuse_realloc.
23082 * manual/probes.texi: Document them.
23083
0653427f
AO
23084 * malloc/malloc.c (__libc_free): Add
23085 memory_mallopt_free_dyn_thresholds probe.
23086 (__libc_mallopt): Add multiple memory_mallopt probes.
23087 * manual/probes.texi: Document them.
23088
3ea5be54
AO
23089 * malloc/malloc.c: Include stap-probe.h.
23090 (__libc_mallopt): Add memory_mallopt probe.
23091 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23092 * manual/probes.texi: New.
23093 * manual/Makefile (chapters): Add probes.
23094 * manual/threads.texi: Set next node.
23095
e35696c3 230962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23097
e35696c3
CL
23098 [BZ #15963, #13985]
23099 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23100 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23101 Add `Chinese' to `nan' entry name.
23102
4aafb73c
SP
231032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23104
23105 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23106 (POLYNOMIAL): Likewise.
23107 (TAYLOR_SINCOS): Likewise.
23108 (TAYLOR_SLOW): Likewise.
23109 (__sin): Use TAYLOR_SINCOS.
23110 (__cos): Likewise.
23111 (slow): Use TAYLOR_SLOW.
23112 (sloww): Likewise.
23113 (bsloww): Likewise.
23114 (csloww): Likewise.
23115
d84f25c7
LD
231162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23117
23118 * stdlib/strtod_l.c: Fix buffer overrun.
23119
5eea0404
SP
231202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23121
7849ff93
SP
23122 * benchtests/Makefile (bench): Add sincos.
23123 * benchtests/bench-sincos.c: New file.
23124
cfa3c886
SP
23125 * math/libm-test.inc (cos_test_data): New test inputs.
23126 (sin_test_data): Likewise.
23127
b348e1e3
SP
23128 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23129 macro.
23130 (__sin): Use it.
23131 (__cos): Likewise.
23132 (slow1): Likewise.
23133 (slow2): Likewise.
23134 (sloww1): Likewise.
23135 (sloww2): Likewise.
23136 (bsloww1): Likewise.
23137 (bsloww2): Likewise.
23138 (cslow2): Likewise.
23139 (csloww1): Likewise.
23140 (csloww2): Likewise.
23141
6cce25f8
SP
23142 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23143 function.
23144 (__sin): Use it.
23145 (__cos): Likewise.
23146
5eea0404
SP
23147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23148 gotos.
23149 (__cos): Likewise.
23150
9c21573c
MR
231512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23152
23153 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23154 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23155 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23156 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23157 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23158 * elf/cache.c (print_entry): Handle the new cache flags.
23159
24d22e65
JM
231602013-09-18 Joseph Myers <joseph@codesourcery.com>
23161 Aldy Hernandez <aldyh@redhat.com>
23162
23163 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23164 Change condition to [_SOFT_FLOAT].
23165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23177 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23180 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23181 declaration.
23182
d13ef066
JM
231832013-09-18 Joseph Myers <joseph@codesourcery.com>
23184
2e071de0
JM
23185 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23186 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23187 (__longjmp): Use LOAD_GP to load saved GPRs.
23188 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23189 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23190 (__sigsetjmp): Use SAVE_GP to save GPRs.
23191
d13ef066
JM
23192 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23193 Do not append -msoft-float.
23194 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23195
97a0650b
SP
231962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23197
23198 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23199
11ca09e9
JM
232002013-09-17 Joseph Myers <joseph@codesourcery.com>
23201
23202 [BZ #15966]
23203 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23204 (_FPU_GETCW): Use initial "__" on variable and field names but not
23205 on macro parameter name.
23206 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23207 parentheses around reference to macro parameter.
23208
08ffcf34
RS
232092013-09-13 Richard Sandiford <richard@codesourcery.com>
23210
23211 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23212 prototype.
23213 (ctype_startup): Use uint32_t in cast and sizeof for
23214 ctype->charnames.
23215
ae7080d3
JL
232162013-09-11 Jia Liu <proljc@gmail.com>
23217
23218 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23219 __daddr_t_defined.
23220 [__FreeBSD__]: Likewise.
23221
5905e7b3
OB
232222013-09-11 Ondřej Bílka <neleai@seznam.cz>
23223
23224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23225 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23226 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23227 (strchr): Remove __strchr_sse42 ifunc selection.
23228 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23229 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23230
b987c776
WN
232312013-09-11 Will Newton <will.newton@linaro.org>
23232
23233 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23234 parameter to RES. Remove hardcoded 1000 value.
23235 * benchtests/bench-skeleton.c (main): Pass RES parameter
23236 to TIMING_INIT and multiply result by 1000.
23237
ddf985af
AZ
232382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23239
23240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23241
ffdd3181
AS
232422013-09-11 Andreas Schwab <schwab@suse.de>
23243
23244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23245 if not defined.
23246 (O_TMPFILE) [__USE_GNU]: Define.
23247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23248 Define.
23249
b73ed247
WN
232502013-09-11 Will Newton <will.newton@linaro.org>
23251
23252 [BZ #15857]
23253 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23254 does not overflow.
23255
55e17aad
WN
232562013-09-11 Will Newton <will.newton@linaro.org>
23257
23258 [BZ #15856]
23259 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23260 does not overflow.
23261
1159a193
WN
232622013-09-11 Will Newton <will.newton@linaro.org>
23263
23264 [BZ #15855]
23265 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23266 does not overflow.
23267
5905e7b3 232682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23269
23270 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23272 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23273 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23275
cdfc721b
AM
232762013-09-10 Allan McRae <allan@archlinux.org>
23277
aa04af00
AM
23278 [BZ #15748]
23279 * manual/arith.texi (Parsing of Floats): Clarify
23280 cross-reference.
23281
cdfc721b
AM
23282 [BZ #15849]
23283 * manual/install.texi (Running make install): Mention
23284 --enable-pt-chown.
23285 * INSTALL: Regenerated.
23286
95e7cf29
MR
232872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23288
23289 * csu/init-first.c (_init): Remove the !SHARED condition around
23290 FPU control word initialization.
23291 * elf/dl-support.c (_dl_fpu_control): New variable.
23292 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23293 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23294 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23295 * math/test-fpucw-static.c: New file.
23296 * math/test-fpucw-ieee.c: New file.
23297 * math/test-fpucw-ieee-static.c: New file.
23298 * math/Makefile (tests): Add `test-fpucw-ieee' and
23299 `$(tests-static)'.
23300 (tests-static): New variable.
23301 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23302 dependency to...
23303 [($(build-shared),yes)]
23304 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23305 ... this.
23306 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23307 New dependency.
23308
83e43bf0
AM
233092013-09-09 Allan McRae <allan@archlinux.org>
23310
a9f5ce09
AM
23311 [BZ #15939]
23312 * manual/string.texi (Collation Functions): Fix typo in
23313 strcoll example.
23314 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23315
34829bc2
AM
23316 [BZ #15893]
23317 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23318
3932737d
AM
23319 [BZ #15892]
23320 * libio/memstream.c (open_memstream): Fix memory leak.
23321 * libio/wmemstream.c (open_wmemstream): Likewise.
23322
83e43bf0
AM
23323 [BZ #15895]
23324 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23325
0c66b8e9
WN
233262013-09-09 Will Newton <will.newton@linaro.org>
23327
23328 * malloc/Makefile: Add tst-realloc to tests.
23329 * malloc/tst-realloc.c: New file.
23330
f6b00fd1
AM
233312013-09-09 Allan McRae <allan@archlinux.org>
23332
23333 [BZ #15844]
23334 * COPYING: Update from GNU website to fix FSF address.
23335 * COPYING.LIB: Likewise.
23336
eec55e16
DM
233372013-09-06 David S. Miller <davem@davemloft.net>
23338
23339 * po/zh_TW.po: Update Chinese (traditional) translation from
23340 translation project.
23341
1ecbb381
RS
233422013-09-06 Richard Sandiford <richard@codesourcery.com>
23343 Joseph Myers <joseph@codesourcery.com>
23344
23345 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23346 "localeinfo.h".
23347 (obstack_chunk_alloc): New macro.
23348 (obstack_chunk_free): Likewise.
23349 (record_offset): New function.
23350 (init_locale_data): Likewise.
23351 (align_locale_data): Likewise.
23352 (add_locale_empty): Likewise.
23353 (add_locale_raw_data): Likewise.
23354 (add_locale_raw_obstack): Likewise.
23355 (add_locale_string): Likewise.
23356 (add_locale_wstring): Likewise.
23357 (add_locale_uint32): Likewise.
23358 (add_locale_uint32_array): Likewise.
23359 (add_locale_char): Likewise.
23360 (start_locale_structure): Likewise.
23361 (end_locale_structure): Likewise.
23362 (start_locale_prelude): Likewise.
23363 (end_locale_prelude): Likewise.
23364 (write_locale_data): Take locale_file structure rather than an
23365 iovec.
23366 * locale/programs/locfile.h: Include "obstack.h".
23367 (struct locale_file): Change to store locale file contents instead
23368 of header.
23369 (init_locale_data): New prototype.
23370 (align_locale_data): Likewise.
23371 (add_locale_empty): Likewise.
23372 (add_locale_raw_data): Likewise.
23373 (add_locale_raw_obstack): Likewise.
23374 (add_locale_string): Likewise.
23375 (add_locale_wstring): Likewise.
23376 (add_locale_uint32): Likewise.
23377 (add_locale_uint32_array): Likewise.
23378 (add_locale_char): Likewise.
23379 (start_locale_structure): Likewise.
23380 (end_locale_structure): Likewise.
23381 (start_locale_prelude): Likewise.
23382 (end_locale_prelude): Likewise.
23383 (write_locale_data): Update prototype.
23384 * locale/programs/3level.h (struct TABLE): Remove result field.
23385 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23386 Use new locale_file interface.
23387 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23388 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23389 * locale/programs/ld-address.c (address_output): Use new
23390 locale_file interface.
23391 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23392 NO_ADD_LOCALE.
23393 (collate_finish): Don't call collseq_table_finalize.
23394 (collate_output): Use new locale_file interface.
23395 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23396 in file.
23397 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23398 (TABLE): Move defines earlier in file.
23399 (ELEMENT): Likewise.
23400 (DEFAULT): Likewise.
23401 (wctrans_table_add): Move macro and inline function earlier in
23402 file.
23403 (struct wctype_table): Move type earlier in file.
23404 (add_locale_wctype_table): New static prototype.
23405 (struct locale_ctype_t): Use logical types instead of struct iovec
23406 pointers for members.
23407 (ctype_output): Use new locale_file interface.
23408 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23409 new locale_file interface.
23410 (allocate_arrays): Update for use of new locale_file interface.
23411 * locale/programs/ld-identification.c (identification_output): Use
23412 new locale_file interface.
23413 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23414 * locale/programs/ld-messages.c (messages_output): Likewise.
23415 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23416 * locale/programs/ld-name.c (name_output): Likewise.
23417 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23418 * locale/programs/ld-paper.c (paper_output): Likewise.
23419 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23420 * locale/programs/ld-time.c (time_output): Likewise.
23421
e029e2e5
AZ
234222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23423
23424 * benchtests/Makefile: Add memrchr benchmark.
23425 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23426 benchmark as memrchr.
23427 * benchtests/bench-memrchr-ifunc.c: New file.
23428 * benchtests/bench-memrchr.c: New file.
23429
bbf6e8e4
WN
234302013-09-06 Will Newton <will.newton@linaro.org>
23431
23432 * benchtests/Makefile (string-bench): Add memcpy.
23433
6c82a2f8
CD
234342013-09-05 Carlos O'Donell <carlos@redhat.com>
23435 Cong Wang <amwang@redhat.com>
23436
e732c5f0 23437 [BZ #15850]
6c82a2f8
CD
23438 * sysdeps/unix/sysv/linux/bits/in.h
23439 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23440 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23441 before __USE_KERNEL_IPV6_DEFS uses.
23442 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23443 IPPROTO_BEETPH.
23444 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23445 sockaddr_in6, or ipv6_mreq.
23446
5430fc65
AZ
234472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23448
23449 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23450 memory access for final bytes in some large inputs.
23451 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23452
4660856c
AZ
234532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23454
23455 * string/test-memrchr.c: New file.
23456 * string/test-memrchr-ifunc.c: New file.
23457 * string/Makefile: Add new memrchr testcase.
23458
bb8ea713
MF
234592013-09-05 Mike Frysinger <vapier@gentoo.org>
23460
23461 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23462 fanotify_init returns EPERM.
23463
b92a20b5
JM
234642013-09-04 Joseph Myers <joseph@codesourcery.com>
23465
23466 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23467 errors.
23468 (top level): Treat second token from macro or constant entries for
23469 allowed headers as allowed.
23470 * include/complex.h: Condition internal declarations on
23471 [!_ISOMAC].
23472 * include/fenv.h: Condition include of <stdbool.h> and internal
23473 declarations on [!_ISOMAC].
7447ccd9
CL
23474
234752013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23476
3e181dda 23477 [BZ #15923]
7447ccd9
CL
23478 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23479
3f2e46a4
JM
234802013-09-04 Joseph Myers <joseph@codesourcery.com>
23481
23482 * configure.in (--enable-versioning): Remove configure option.
23483 (libc_cv_asm_symver_directive): Remove configure test.
23484 (libc_cv_ld_version_script_option): Likewise.
23485 (VERSIONING): Remove variable and AC_SUBST.
23486 (DO_VERSIONING): Remove AC_DEFINE.
23487 * configure: Regenerated.
23488 * config.h.in (DO_VERSIONING): Remove macro.
23489 * Makerules [$(versioning) = yes]: Change conditionals to
23490 [$(build-shared) = yes].
23491 * config.make.in (versioning): Remove variable.
23492 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23493 [$(build-shared) = yes].
23494 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23495 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23496 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23497 [$(build-shared) = yes].
23498 * extra-lib.mk [$(versioning) = yes]: Likewise.
23499 * hurd/Makefile [$(versioning) = yes]: Likewise.
23500 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23501 [SHARED].
23502 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23503 [SHARED].
23504 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23505 [SHARED && !NO_HIDDEN].
23506 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23507 [SHARED].
23508 [SHARED && DO_VERSIONING]: Likewise..
23509 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23510 [$(build-shared) = yes].
23511 * manual/install.texi (--disable-versioning): Remove
23512 documentation.
23513 * INSTALL: Regenerated.
23514 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23515 to [SHARED].
23516 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23517 [$(build-shared) = yes].
23518 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23519 * sysdeps/i386/i686/multiarch/strstr-c.c
23520 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23521 [SHARED && !NO_HIDDEN].
23522 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23523 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23524 * sysdeps/powerpc/powerpc32/dl-machine.c
23525 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23526 * sysdeps/powerpc/powerpc32/sysdep.h
23527 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23528 to [SHARED && PIC && !NO_HIDDEN].
23529 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23530 conditional to [SHARED].
23531
44558701
WN
235322013-09-04 Will Newton <will.newton@linaro.org>
23533
23534 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23535 * benchtests/bench-string.h: Include bench-timing.h instead
23536 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23537 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23538 call to HP_TIMING_DIFF_INIT.
23539 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23540 instead of hp-timing.h macros.
23541 * benchtests/bench-memchr.c: Likewise.
23542 * benchtests/bench-memcmp.c: Likewise.
23543 * benchtests/bench-memcpy.c: Likewise.
23544 * benchtests/bench-memmem.c: Likewise.
23545 * benchtests/bench-memmove.c: Likewise.
23546 * benchtests/bench-memset.c: Likewise.
23547 * benchtests/bench-rawmemchr.c: Likewise.
23548 * benchtests/bench-strcasecmp.c: Likewise.
23549 * benchtests/bench-strcasestr.c: Likewise.
23550 * benchtests/bench-strcat.c: Likewise.
23551 * benchtests/bench-strchr.c: Likewise.
23552 * benchtests/bench-strcmp.c: Likewise.
23553 * benchtests/bench-strcpy.c: Likewise.
23554 * benchtests/bench-strcpy_chk.c: Likewise.
23555 * benchtests/bench-strlen.c: Likewise.
23556 * benchtests/bench-strncasecmp.c: Likewise.
23557 * benchtests/bench-strncat.c: Likewise.
23558 * benchtests/bench-strncmp.c: Likewise.
23559 * benchtests/bench-strncpy.c: Likewise.
23560 * benchtests/bench-strnlen.c: Likewise.
23561 * benchtests/bench-strpbrk.c: Likewise.
23562 * benchtests/bench-strrchr.c: Likewise.
23563 * benchtests/bench-strspn.c: Likewise.
23564 * benchtests/bench-strstr.c: Likewise.
23565
cae16d66
WN
235662013-09-04 Will Newton <will.newton@linaro.org>
23567
23568 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23569
ffa3cd7f
JM
235702013-09-03 Joseph Myers <joseph@codesourcery.com>
23571
23572 [BZ #15427]
23573 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23574 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23575 * math/libm-test.inc (lgamma_test_data): Add more tests.
23576 * sysdeps/i386/fpu/libm-test-ulps: Update.
23577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578
8f02859f
OB
235792013-09-03 Ondřej Bílka <neleai@seznam.cz>
23580
23581 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23583 Add ifunc.
23584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23585 Add strcmp-sse2-unaligned
23586 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23587
18d43716
MF
235882013-09-02 Mike Frysinger <vapier@gentoo.org>
23589
23590 * Versions.def (libc): Add GLIBC_2.19.
23591
ac444012
MF
235922013-09-02 Mike Frysinger <vapier@gentoo.org>
23593
23594 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23595 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23596
b7835e32
JM
235972013-09-02 Joseph Myers <joseph@codesourcery.com>
23598
23599 [BZ #14155]
23600 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23601 intermediate calculations in recurrence.
23602 (__ieee754_ynf): Likewise.
23603 * math/libm-test.inc (jn_test_data): Do not allow spurious
23604 underflow exception. Add more tests.
23605 (yn_test_data): Add more tests.
23606 * sysdeps/i386/fpu/libm-test-ulps: Update.
23607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23608
8220f4f0
OB
236092013-09-02 Ondřej Bílka <neleai@seznam.cz>
23610
23611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23612
f24a6d08
OB
236132013-08-30 Ondřej Bílka <neleai@seznam.cz>
23614
23615 * csu/init-first.c: Fix then/than typos.
23616 * locale/programs/ld-collate.c: Likewise.
23617 * locale/programs/linereader.h: Likewise.
23618 * manual/charset.texi: Likewise.
23619 * manual/filesys.texi: Likewise.
23620 * manual/stdio.texi: Likewise.
23621 * manual/string.texi: Likewise.
23622 * stdlib/fmtmsg.c: Likewise.
23623 * sysdeps/i386/stpncpy.S: Likewise.
23624 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23625 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23626 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23627 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23628
382466e0
OB
236292013-08-30 Ondřej Bílka <neleai@seznam.cz>
23630
23631 * elf/dl-open.c: Fix typos.
23632 * iconvdata/gbbig5.c: Likewise.
23633 * iconvdata/iso-2022-jp.c: Likewise.
23634 * iconv/gconv_int.h: Likewise.
23635 * iconv/loop.c: Likewise.
23636 * nis/rpcsvc/nis.h: Likewise.
23637 * resolv/ns_name.c: Likewise.
23638 * stdio-common/vfscanf.c: Likewise.
23639 * streams/stropts.h: Likewise.
23640 * sunrpc/rpc_thread.c: Likewise.
23641 * sysdeps/i386/strpbrk.S: Likewise.
23642 * sysdeps/ieee754/k_standard.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23645 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23646 * sysdeps/mach/hurd/profil.c: Likewise.
23647 * sysdeps/s390/dl-procinfo.h: Likewise.
23648 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23649 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23650 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23651 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23653
0186c6e9
OB
236542013-08-30 Ondřej Bílka <neleai@seznam.cz>
23655
23656 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23658
d4e16af1
OB
236592013-08-29 Ondřej Bílka <neleai@seznam.cz>
23660
23661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23662 aix specific files.
23663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23665 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23666 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23667 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23668 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23669 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23670 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23671
88335980
TS
236722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23673 Roland McGrath <roland@hack.frob.com>
23674
23675 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23676 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23677
ed479b02
ST
236782013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23679
23680 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23681 __executable_start symbol instead of _start.
23682
f1cc4c86
TS
236832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23684
d821f07c
TS
23685 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23686 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23687 Move macros to...
23688 * sysdeps/gnu/ldsodefs.h: ... this new file.
23689
c54290cf
TS
23690 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23691 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23692 instead of ELFOSABI_LINUX.
23693
0007fc9b 23694 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23695 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23696 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23697 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23698 Likewise.
23699 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23700 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23701 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23702 Likewise.
23703 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23704 (ibm_extended_long_double): Add ieee_nan member.
23705 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23706 (do_test): New function.
23707
f1cc4c86
TS
23708 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23709 TEST_TRUNC.
23710 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23711 functions, renamed from truncdfsf_test, trunctfsf_test,
23712 trunctfdf_test.
23713 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23714 functions.
23715 (do_test): Run all these.
23716
6f65e668
OB
237172013-08-29 Ondřej Bílka <neleai@seznam.cz>
23718
23719 * argp/argp-help.c: Fix typos.
23720 * argp/argp-parse.c: Likewise.
23721 * debug/backtracesyms.c: Likewise.
23722 * elf/elf.h: Likewise.
23723 * malloc/malloc.c: Likewise.
23724 * nis/nis_print.c: Likewise.
23725 * resolv/res_comp.c: Likewise.
23726 * stdlib/stdlib.h: Likewise.
23727 * sunrpc/clnt_tcp.c: Likewise.
23728 * sunrpc/clnt_udp.c: Likewise.
23729 * sunrpc/clnt_unix.c: Likewise.
23730 * sysdeps/unix/bsd/ptsname.c: Likewise.
23731 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23732 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23734 Likewise.
23735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23736 Likewise.
23737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23738 Likewise.
6f65e668
OB
23739 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23740
3a309239
SP
237412013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23742
23743 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23745
3b813b29
MF
237462013-08-27 Mike Frysinger <vapier@gentoo.org>
23747
23748 [BZ #15897]
23749 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23750 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23751 ($(objpfx)bug-dl-leaf): New rule.
23752 ($(objpfx)bug-dl-leaf.so): Likewise.
23753 ($(objpfx)bug-dl-leaf.out): Likewise.
23754 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23755 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23756 * dlfcn/bug-dl-leaf.c: New test.
23757 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23758 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23759 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23760 (dlclose): Likewise.
23761 (dlmopen): Likewise.
23762
8cc3269f
RM
237632013-08-27 Roland McGrath <roland@hack.frob.com>
23764
7f9d0034
RM
23765 * include/netdb.h [!_ISOMAC]:
23766 Don't include <tls.h>.
23767 (h_errno, __libc_h_errno): Move declaration and macros out of
23768 [_LIBC_REENTRANT].
23769
fb431262
RM
23770 * include/resolv.h [_RESOLV_H_]:
23771 Don't include <tls.h>.
23772 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23773 * resolv/res_libc.c: Don't include <tls.h>.
23774 (_res): Use __attribute__ ((nocommon)) in place of
23775 __attribute__ ((section (".bss"))).
23776
bd81123a
RM
23777 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23778 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23779
c4e42566
RM
23780 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23781
f890a59b
RM
23782 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23783 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23784
23785 * resolv/res_mkquery.c: Include <sys/time.h>.
23786
5d1f0a09
RM
23787 * inet/ifreq.c: Moved to ...
23788 * sysdeps/unix/ifreq.c: ... here.
23789 * inet/ifreq.c: New file, true stub version.
23790
6fcf28b3
RM
23791 * socket/sa_len.c: New file.
23792 * socket/Makefile (aux): Add it.
23793 * sysdeps/unix/sysv/linux/Makefile
23794 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23795 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23796 and #include <socket/sa_len.c>.
23797 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23798 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23799
e041fb8b
RM
23800 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23801 * bits/socket.h: ... here.
23802
8cc3269f
RM
23803 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23804 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23805 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23806
5d228a43
AS
238072013-08-27 Andreas Schwab <schwab@suse.de>
23808
45b8accc
AS
23809 [BZ #15736]
23810 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23811 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23812 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23813 * string/test-strcasecmp.c (test_main): Run tests in several
23814 locales.
23815 * string/test-strncasecmp.c (test_main): Likewise.
23816
5d228a43
AS
23817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23818 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23819 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23821 (__strncasecmp_ssse3) [PIC]: Likewise.
23822
59d112a4
RM
238232013-08-26 Roland McGrath <roland@hack.frob.com>
23824
53234cc3
RM
23825 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23826
59d112a4
RM
23827 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23828 instead of explicitly declaring xdecrypt.
23829 * nis/nss_nis/nis-publickey.c: Likewise.
23830
595aba70
SP
238312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23832
23833 [BZ #15890]
23834 * nscd/aicache.c: Include res_hconf.h.
23835 (addhstaiX): Initialize res_hconf.
23836
ffabd393
AS
238372013-08-26 Andreas Schwab <schwab@suse.de>
23838
23839 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23840 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23841
e0a69f5c
SP
238422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23843
23844 * nscd/aicache.c (addhstaiX): Fix indentation.
23845
8c12f01d
MF
238462013-08-25 Mike Frysinger <vapier@gentoo.org>
23847
23848 * configure.ac: Quote $build_pt_chown test.
23849 * configure: Regenerated.
23850
8fe89494
JM
238512013-08-23 Joseph Myers <joseph@codesourcery.com>
23852
23853 [BZ #15532]
23854 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23855 * math/s_cexpf.c (__cexpf): Likewise.
23856 * math/s_cexpl.c (__cexpl): Likewise.
23857 * math/libm-test.inc (cexp_test_data): Correct expected return
23858 value for NaN + i0. Add another test.
23859
75b181d6
DM
238602013-08-22 David S. Miller <davem@davemloft.net>
23861
23862 * po/ca.po: Update Catalan translation from translation project.
936241e4 23863 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23864
acd06bb1
JM
238652013-08-21 Joseph Myers <joseph@codesourcery.com>
23866
23867 [BZ #15797]
23868 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23869 is infinite, not alongside NaN test.
23870 * math/s_fdimf.c (__fdimf): Likewise.
23871 * math/s_fdiml.c (__fdiml): Likewise.
23872 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23873 errno is unchanged.
23874
c0c3f78a
OB
238752013-08-21 Ondřej Bílka <neleai@seznam.cz>
23876
23877 * argp/argp-help.c: Fix typos.
23878 * crypt/speeds.c: Likewise.
23879 * csu/check_fds.c: Likewise.
23880 * elf/dl-load.c: Likewise.
23881 * elf/dl-open.c: Likewise.
23882 * elf/reldep3.c: Likewise.
23883 * elf/reldep.c: Likewise.
23884 * elf/sprof.c: Likewise.
23885 * iconv/iconv_charmap.c: Likewise.
23886 * iconv/skeleton.c: Likewise.
23887 * iconv/strtab.c: Likewise.
23888 * io/lockf64.c: Likewise.
23889 * libio/libioP.h: Likewise.
23890 * resolv/gai_notify.c: Likewise.
23891 * resolv/ns_name.c: Likewise.
23892 * resolv/ns_samedomain.c: Likewise.
23893 * resolv/res_send.c: Likewise.
23894 * stdlib/random.c: Likewise.
23895 * sunrpc/rpc/xdr.h: Likewise.
23896 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23898 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23899 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23900 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23903 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23904 * sysdeps/mach/hurd/check_fds.c: Likewise.
23905 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23906 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23909 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23910 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23911 * sysdeps/pthread/aio_notify.c: Likewise.
23912 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23913 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23914 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23915 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23916 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23917
46ed1038
LD
239182013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23919
23920 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23921 version if bit_Slow_SSE4_2 is set.
23922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23923 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23924
d400dcac
AZ
239252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23926
23927 [BZ #15867]
23928 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23929 trampoline stack frame information.
23930 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23932 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23933 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23934 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23935 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23936 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23937 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23938 sa_flags value.
23939 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23940 interrupting a syscall and set with option SA_SIGINFO.
23941
42c8fdd8
JM
239422013-08-20 Joseph Myers <joseph@codesourcery.com>
23943
c980f2f4
JM
23944 [BZ #15531]
23945 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23946 argument is infinite.
23947 * math/s_cprojf.c (__cprojf): Likewise.
23948 * math/s_cprojl.c (__cprojl): Likewise.
23949 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23950 * math/libm-test.inc (cproj_test_data): Add more tests.
23951
0716c4fc
JM
23952 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23953
42c8fdd8
JM
23954 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23955 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23956 size. Use __ffs to determine corresponding shift.
23957
b31469d0
JM
239582013-08-20 Joseph Myers <joseph@codesourcery.com>
23959 Roland McGrath <roland@hack.frob.com>
23960
23961 * Makefile (INSTALL): Remove trailing blank lines from output of
23962 makeinfo.
23963
4e39af6e
AK
239642013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23965
23966 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23967 Align 32 bit compat elf_greg to 8 bytes.
23968
f315524e
AA
239692013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23970
23971 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23972
1326ba1a
SP
239732013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23974
23975 * string/strcoll_l.c (coll_seq): New structure.
23976 (get_next_seq_cached): New function.
23977 (get_next_seq): New function.
23978 (do_compare): New function.
23979 (STRCOLL): Use GNU style definition. Simplify implementation
23980 by using get_next_seq, get_next_seq_cached and do_compare.
23981
91ce4085
FW
239822013-08-16 Florian Weimer <fweimer@redhat.com>
23983
23984 [BZ #14699]
23985 CVE-2013-4237
23986 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23987 member.
23988 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23989 member.
23990 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23991 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23992 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23993 conditional.
23994 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23995 GETDENTS_64BIT_ALIGNED.
23996 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23997 * manual/filesys.texi (Reading/Closing Directory): Document
23998 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23999 strongly.
24000 * manual/conf.texi (Limits for Files): Add portability note to
24001 NAME_MAX, PATH_MAX.
24002 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24003
ca0a6bc4
AS
240042013-08-13 Andreas Schwab <schwab@suse.de>
24005
24006 [BZ #15749]
24007 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24008 of fabs.
24009 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24010 LDBL_MAX_EXP >= 16384]: Add tests for it.
24011
6c1fd795
DM
240122013-08-12 David S. Miller <davem@davemloft.net>
24013
24014 * version.h (RELEASE): Set to "development".
24015 (VERSION): Set to "2.18.90".
24016 * NEWS: Add 2.19 section.
24017
31ad488d
DM
240182013-08-03 David S. Miller <davem@davemloft.net>
24019
24020 * po/ko.po: Update Korean translation from translation project.
24021
db24e684
DM
240222013-08-01 David S. Miller <davem@davemloft.net>
24023
24024 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24025 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24026 Bilka.
24027
f723285b
DM
240282013-07-30 David S. Miller <davem@davemloft.net>
24029
24030 * po/fr.po: Update French translation from translation project.
24031
3cbc52db
DM
240322013-07-28 David S. Miller <davem@davemloft.net>
24033
30bbc0cc
DM
24034 * po/cs.po: Update Czech translation from translation project.
24035
3cbc52db
DM
24036 * po/sv.po: Update Swedish translation from translation project.
24037
d492e6d0
DM
240382013-07-27 David S. Miller <davem@davemloft.net>
24039
f1a7f492
DM
24040 * po/eo.po: Update Esperanto translation from translation project.
24041
90e62a4a
DM
24042 * po/vi.po: Update Vietnamese translation from translation project.
24043
d492e6d0
DM
24044 * po/de.po: Update German translation from translation project.
24045
d4baa62d
DM
240462013-07-26 David S. Miller <davem@davemloft.net>
24047
641aa7b4
DM
24048 * po/bg.po: Update Bulgarian translation from translation project.
24049
d4baa62d
DM
24050 * po/nl.po: Update Dutch translation from translation project.
24051 * po/pl.po: Update Polish translation from translation project.
24052 * po/ru.po: Update Russian translation from translation project.
24053
61a9dcb9
DM
240542013-07-24 David S. Miller <davem@davemloft.net>
24055
24056 * po/libc.pot: Update.
24057
7b1f8b58
AZ
240582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24059
24060 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24061 variable page size.
24062 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24063 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24064 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24065
a8fc7a03
AK
240662013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24067
24068 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24069
e4608715
CD
240702013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24071 Andreas Schwab <schwab@suse.de>
24072 Roland McGrath <roland@hack.frob.com>
24073 Joseph Myers <joseph@codesourcery.com>
24074 Carlos O'Donell <carlos@redhat.com>
24075
24076 [BZ #15755]
24077 * config.h.in: Define HAVE_PT_CHOWN.
24078 * config.make.in (build-pt-chown): New variable.
24079 * configure.in (--enable-pt_chown): New configure option.
24080 * configure: Regenerate.
24081 * login/Makefile: Include Makeconfig. Build pt_chown only if
24082 build-pt-chown is enabled.
24083 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24084 pt_chown to fix pty ownership.
24085 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24086 CLOSE_ALL_FDS.
24087 * manual/install.texi (Configuring and compiling): Mention
24088 --enable-pt_chown. Add @findex for grantpt.
24089 * INSTALL: Regenerate.
24090
da2d62df
DM
240912013-07-20 David S. Miller <davem@davemloft.net>
24092
24093 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24094 difference between 32-bit and 64-bit.
24095
d7e06450
CD
240962013-07-15 Carlos O'Donell <carlos@redhat.com>
24097
24098 [BZ #15711]
24099 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24100 Avoid system header dependency with -ffreestanding.
24101 ($(objpfx)bits/syscall%d): Likewise.
24102
f959cfd7
DM
241032013-07-13 David S. Miller <davem@davemloft.net>
24104
24105 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24106 underflows from atanl/atan2l due to bug 15319.
24107 (casinh_test_data): Likewise.
24108
c61f8513
DM
241092013-07-07 David S. Miller <davem@davemloft.net>
24110
24111 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24112
72c90ed0
JA
241132013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24114
24115 * sysdeps/i386/fpu/libm-test-ulps: Update.
24116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24117
52dfbe13
SP
241182013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24119
24120 * configure.in (--enable-lock-elision): Fix message text.
24121 * INSTALL: Regenerate.
24122 * configure: Regenerate.
24123
3f169543
AZ
241242013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24125
24126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24127
521c6785
AJ
241282013-07-03 Andreas Jaeger <aj@suse.de>
24129
24130 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24131 define.
24132 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24133 (ptrace_peeksiginfo_args): Add.
24134 (__ptrace_peeksiginfo_flags): Add.
24135 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24138
d2cc15cb
AM
241392013-07-03 Allan McRae <allan@archlinux.org>
24140
24141 * sysdeps/i386/fpu/libm-test-ulps: Update.
24142
3aaeeca7
DM
241432013-07-02 David S. Miller <davem@davemloft.net>
24144
24145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24146
5314ed1a
MT
241472013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24148
24149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24150
67338156
JM
241512013-07-02 Joseph Myers <joseph@codesourcery.com>
24152
24153 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24155
1717da59
AK
241562013-07-02 Andi Kleen <ak@linux.intel.com>
24157
24158 * config.h.in (ENABLE_LOCK_ELISION): Add.
24159 * configure.in (--enable-lock-elision): Add option.
24160 * manual/install.texi: Document --enable lock elision.
24161 * configure: Regenerate
24162 * INSTALL: Regenerate.
24163
1c81621c
L
241642013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24167 SSE4.2 strcasecmp for libc.a.
24168 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24169
77f01ab5
JM
241702013-07-02 Joseph Myers <joseph@codesourcery.com>
24171
24172 [BZ #13304]
24173 * soft-fp/op-common.h (_FP_FMA): New macro.
24174 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24175 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24176 (_FP_MUL_MEAT_1_imm): ... here.
24177 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24178 (_FP_MUL_MEAT_1_wide): ... here.
24179 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24180 (_FP_MUL_MEAT_1_hard): ... here.
24181 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24182 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24183 (_FP_MUL_MEAT_2_wide): ... here.
24184 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24185 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24186 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24187 (_FP_MUL_MEAT_2_gmp): ... here.
24188 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24189 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24190 (_FP_MUL_MEAT_4_wide): ... here.
24191 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24192 (_FP_MUL_MEAT_4_gmp): ... here.
24193 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24194 (_FP_WFRACBITS_DW_S): Likewise.
24195 (_FP_WFRACXBITS_DW_S): Likewise.
24196 (_FP_HIGHBIT_DW_S): Likewise.
24197 (FP_FMA_S): Likewise.
24198 (_FP_FRAC_HIGH_DW_S): Likewise.
24199 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24200 (_FP_WFRACBITS_DW_D): Likewise.
24201 (_FP_WFRACXBITS_DW_D): Likewise.
24202 (_FP_HIGHBIT_DW_D): Likewise.
24203 (FP_FMA_D): Likewise.
24204 (_FP_FRAC_HIGH_DW_D): Likewise.
24205 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24206 (_FP_WFRACBITS_DW_E): Likewise.
24207 (_FP_WFRACXBITS_DW_E): Likewise.
24208 (_FP_HIGHBIT_DW_E): Likewise.
24209 (FP_FMA_E): Likewise.
24210 (_FP_FRAC_HIGH_DW_E): Likewise.
24211 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24212 (_FP_WFRACBITS_DW_Q): Likewise.
24213 (_FP_WFRACXBITS_DW_Q): Likewise.
24214 (_FP_HIGHBIT_DW_Q): Likewise.
24215 (FP_FMA_Q): Likewise.
24216 (_FP_FRAC_HIGH_DW_Q): Likewise.
24217 * soft-fp/fmasf4.c: New file.
24218 * soft-fp/fmadf4.c: Likewise.
24219 * soft-fp/fmatf4.c: Likewise.
24220
6308fd9a
LD
242212013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24222
24223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24224 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24225 Silvermont.
24226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24227 macro.
24228 (index_Slow_SSE4_2): Likewise.
24229 (index_Prefer_PMINUB_for_stringop): Likewise.
24230 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24231 bit_Slow_SSE4_2 is set.
24232 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24233 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24234
89cd9569
RA
242352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24236
24237 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24238 rtld_global._dl_hwcap2.
24239 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24240 POWER8.
24241 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24242 POWER8 feature descriptions defined in _dl_hwcap2.
24243 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24244 string handling for POWER8 feature bits.
24245 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24246 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24247 _dl_powerpc_cap_flags.
24248 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24249 * sysdeps/powerpc/rtld-global-offsets.sym
24250 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24251 _dl_hwcap2 in the rtld_global_ro structure.
24252
1ae8bfe0
RA
242532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24254
24255 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24256 hardware capabilities in support of AT_HWCAP2.
24257 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24258 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24259 GLRO(dl_hwcap2).
24260 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24261 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24262 explicitly the unknown a_type display mechanism is used.
24263 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24264 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24265 struct member.
24266 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24267 to macro prototype for AT_HWCAP2 support.
24268 * sysdeps/i386/dl-procinfo.h: Likewise.
24269 * sysdeps/s390/dl-procinfo.h: Likewise.
24270 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24271 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24272 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24273 return -1 for unknown a_type display fallback.
24274 * sysdeps/sparc/dl-procinfo.h: Likewise.
24275 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24276 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24277
8fbec010
JM
242782013-06-28 Joseph Myers <joseph@codesourcery.com>
24279
24280 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24281 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24282
0432680e
PY
242832013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24284
24285 [BZ #12492]
24286 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24287 mprotect making __stack_prot writable.
24288
ce61a2ad
NF
242892013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24290 Joseph Myers <joseph@codesourcery.com>
24291
24292 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24293 as being properly aligned.
24294
f91f1c0f
MR
242952013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24296
3d0f5d0c
MR
24297 * dlfcn/modstatic5.c: New file.
24298 * dlfcn/tststatic5.c: New file.
24299 * dlfcn/Makefile (tests): Add tststatic5.
24300 (tests-static): Likewise.
24301 (modules-names): Add modstatic5.
24302 (tststatic5-ENV): New variable.
24303 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24304
f91f1c0f
MR
24305 [BZ #15022]
24306 * elf/dl-support.c (_dl_main_map): New variable.
24307 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24308 (_dl_nns, _dl_load_adds): Set to 1.
24309 (_dl_initial_searchlist): Refer to _dl_main_map.
24310 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24311 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24312 call to _dl_get_origin.
24313 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24314 around call_map.
24315 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24316 * dlfcn/modstatic3.c: New file.
24317 * dlfcn/tststatic3.c: New file.
24318 * dlfcn/tststatic4.c: New file.
24319 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24320 (tests-static): Likewise.
24321 (modules-names): Add modstatic3.
24322 (tststatic3-ENV, tststatic4-ENV): New variables.
24323 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24324 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24325
cbe7d24b
JM
243262013-06-26 Joseph Myers <joseph@codesourcery.com>
24327
24328 * configure.in (CC): Require GCC version 4.4 or later.
24329 * configure: Regenerated.
24330 * manual/install.texi (Tools for Compilation): Update GCC version
24331 requirement.
24332 * INSTALL: Regenerated.
24333
11b8a0e1
LD
243342013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24335
24336 [BZ #15674]
bb5bb87c
L
24337 * string/test-memcmp.c (check2): New.
24338 (main): Call check2.
24339
11b8a0e1
LD
24340 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24341
b0037103
MR
243422013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24343
24344 [BZ #15022]
24345 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24346 over to...
24347 (dl_open_worker) [!SHARED]: ... here.
24348
c18c701d
RA
243492013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24350
24351 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24352
1d17fa5f
RH
243532013-06-25 Richard Henderson <rth@redhat.com>
24354
24355 * locale/programs/locarchive.c: Include <libc-internal.h>
24356
8fcb833a
JM
243572013-06-25 Joseph Myers <joseph@codesourcery.com>
24358
24359 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24360 trailing whitespace removed.
24361
17db6e8d
MF
243622013-06-24 Mike Frysinger <vapier@gentoo.org>
24363
24364 [BZ #10283]
17db6e8d
MF
24365 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24366 * locale/programs/locarchive.c: Include libc-mmap.h.
24367 (prepare_address_space): Take two new outputs (the mmap base and len).
24368 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24369 values.
24370 (create_archive): Declare new mmap base and len values for
24371 prepare_address_space, and store the result in ah.
24372 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24373 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24374 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24375 Declare new mmap base and len values for
24376 prepare_address_space, and store the result in new_ah.
24377 (open_archive): Declare new mmap base and len values for
24378 prepare_address_space, and store the result in ah.
24379 (close_archive): If ah->mmap_base is not NULL, use that and
24380 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24381 * sysdeps/generic/libc-mmap.h: New file.
24382
d605071e
MF
243832013-06-24 Mike Frysinger <vapier@gentoo.org>
24384
24385 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24386 (ALIGN_UP): Likewise.
24387 (PTR_ALIGN_DOWN): Likewise.
24388 (PTR_ALIGN_UP): Likewise.
24389
2f063a6e
RA
243902013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24391
24392 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24393 entry mapped to PPC_PLATFORM_POWER8.
24394 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24395 POWER8.
24396 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24397 (_dl_string_platform): Add case for exporting platform position for
24398 POWER8.
24399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24400 search path to sysdeps/powerpc/powerpc32/power8 directory.
24401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24402 search path to sysdeps/powerpc/powerpc64/power8 directory.
24403 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24404 power7 directories.
24405 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24406 power7 directories.
24407
a31ee4b3
SP
244082013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24409
a74ca98f
SP
24410 * INSTALL: Regenerate.
24411
a31ee4b3
SP
24412 * nscd/connections.c (nscd_init): Fix comment.
24413
695c378f
JM
244142013-06-22 Joseph Myers <joseph@codesourcery.com>
24415
d8412221
JM
24416 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24417
695c378f
JM
24418 [BZ #15667]
24419 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24420 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24421
d1d54715
MR
244222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24423
24424 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24425 DL_DST_REQ_STATIC.
24426 (DL_DST_REQ_STATIC): Remove macro.
24427
8fdda7af
JM
244282013-06-21 Joseph Myers <joseph@codesourcery.com>
24429
24430 [BZ #7006]
24431 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24432 with a shift of 0 bits.
24433
f3bc5e5a
MR
244342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24435
24436 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24437 $(tststatic-ENV).
24438
be09e8c9
KK
244392013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24440
24441 [BZ #15655]
24442 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24443
85c2e611
AZ
244442013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24445
24446 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24447 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24448 accepts -fno-tree-loop-distribute-patterns.
24449 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24450 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24451 recursive call.
24452 * string/memset.c (memset): Likewise.
24453 * string/test-memmove.c (simple_memmove): Disable loop transformation
24454 to library calls.
24455 * string/test-memset.c (simple_memset): Likewise.
24456 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24457 * benchtests/bench-memset.c (simple_memset): Likewise.
24458 * configure: Regenerated.
24459
c91e0825
JM
244602013-06-20 Joseph Myers <joseph@codesourcery.com>
24461
b8c792af
JM
24462 * math/test-misc.c (main): Ignore fesetround failure when failures
24463 of subsequent rounding tests would be ignored.
24464
c91e0825
JM
24465 [BZ #15654]
24466 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24467 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24468 * math/fegetenv.c (__fegetenv): Return 0.
24469 * math/fegetexcept.c (fegetexcept): Return 0.
24470 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24471 FE_TONEAREST.
24472 * math/feholdexcpt.c (feholdexcept): Return 0.
24473 * math/fesetenv.c (__fesetenv): Return 0.
24474 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24475 argument FE_TONEAREST.
24476 * math/feupdateenv.c (__feupdateenv): Return 0.
24477 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24478
bfcacbde
RM
244792013-06-18 Roland McGrath <roland@hack.frob.com>
24480
24481 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24482 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24483 ($(objpfx)rtld-%.os rules): Use them.
24484
e55a9b25
AZ
244852013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24486
24487 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24488 fields.
24489
346d65b3
RM
244902013-06-17 Roland McGrath <roland@hack.frob.com>
24491
12086fb4
RM
24492 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24493 length of target pattern, then descending length of dependency pattern.
24494 * configure.in (AWK): Require gawk 3.1.2 or newer.
24495 * manual/install.texi (Tools for Compilation): Say that we do.
24496 * configure: Regenerated.
24497
346d65b3
RM
24498 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24499 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24500 * scripts/sysd-rules.awk: ... this new script.
24501 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24502 than a glob-style pattern.
24503
1a846317
JM
245042013-06-17 Joseph Myers <joseph@codesourcery.com>
24505
24506 * math/test-misc.c (main): Do not treat incorrectly rounded
24507 conversions as failure unless ROUNDING_TESTS passes.
24508
8fc75e6f
JM
245092013-06-15 Joseph Myers <joseph@codesourcery.com>
24510
3711a167
JM
24511 [BZ #15631]
24512 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24513 restore exception state around main square root computation, then
24514 check for inexactness explicitly.
24515
8fc75e6f
JM
24516 * math/libm-test.inc (fma_test_data): Add another test.
24517
61dd6208
SP
245182013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24519
adf23d2c
SP
24520 * manual/threads.texi (Non-POSIX Extensions): New document
24521 node. Document pthread_getattr_default_np and
24522 pthread_setattr_default_np.
24523
61dd6208
SP
24524 * Versions.def (libpthread): Add GLIBC_2.18.
24525 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24527 Likewise.
24528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24529 Likewise.
24530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24531 Likewise.
24532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24533 Likewise.
24534 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24535 Likewise.
24536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24537 Likewise.
24538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24539 Likewise.
24540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24541 Likewise.
24542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24543 Likewise.
24544
d086fc7b
LD
245452013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24546
24547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24548 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24549
747ef469
SP
245502013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24551 H.J. Lu <hjl.tools@gmail.com>
24552
24553 [BZ #15627]
24554 * sysdeps/x86_64/rtld-memset.c: Remove file.
24555 * sysdeps/x86_64/rtld-memset.S: New file.
24556
1b2feed2
JM
245572013-06-14 Joseph Myers <joseph@codesourcery.com>
24558
24559 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24560 (test_in_one_mode): Take arguments for whether the rounding mode
24561 is supported for each floating-point type.
24562 (do_test): Pass new arguments to test_in_one_mode using
24563 ROUNDING_TESTS.
24564
a58ad3f8
RM
245652013-06-13 Roland McGrath <roland@hack.frob.com>
24566
24567 * posix/tst-waitid.c (do_test): Distinguish different instances of
24568 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24569 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24570 before entering the kernel for waitpid.
24571
c204ab28
SP
245722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24573
24574 * NEWS: Fix note on clock function precision. Text by Roland
24575 McGrath.
24576
f4a29fba
RM
245772013-06-13 Roland McGrath <roland@hack.frob.com>
24578
24579 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24580 it into place only when and if the sanity check passes.
24581
1f24b9ad
JM
245822013-06-13 Joseph Myers <joseph@codesourcery.com>
24583
24584 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24585 output for whether conversion result is exact. Take argument
24586 indicating whether type is IBM long double.
24587 (round_for_all): Change need_exact field to ibm_ld.
24588 * stdlib/tst-strtod-round.c (struct exactness): New type.
24589 (struct test): Change bool ld_ok field to struct exactness exact.
24590 (TEST): Update all definitions for change to field.
24591 (tests): Regenerate array contents.
24592 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24593 field value. Check for IBM long double here.
24594 (do_test): Update calls to test_in_one_mode.
24595
58206c68
SP
245962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24597
24598 [BZ #12515]
24599 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24600 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24601
2d6f4c5b 246022013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24603
24604 [BZ #15605]
24605 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24606 generated by the compiler on loop optimizations.
24607 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24608 general definitions.
24609
94f2c076
JM
246102013-06-12 Joseph Myers <joseph@codesourcery.com>
24611
24612 * math/bug-nextafter.c: Include <math-tests.h>.
24613 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24614 the relevant type.
24615 * math/bug-nexttoward.c: Include <math-tests.h>.
24616 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24617 the relevant type.
24618 * math/test-misc.c: Include <math-tests.h>.
24619 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24620 the relevant type.
24621
e0e50a0a
AJ
246222013-06-12 Andreas Jaeger <aj@suse.de>
24623
24624 * po/ia.po: Update Interlingua translation from translation
24625 project.
24626
25061094
SP
246272013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24628
24629 * include/fenv.h: Include stdbool.h.
24630 (struct rm_ctx): New structure.
24631 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24632 Define macro.
24633 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24634 (SET_RESTORE_ROUNDF): Likewise.
24635 (SET_RESTORE_ROUNDL): Likewise.
24636 (SET_RESTORE_ROUND_NOEX): Likewise.
24637 (SET_RESTORE_ROUND_NOEXF): Likewise.
24638 (SET_RESTORE_ROUND_NOEXL): Likewise.
24639 (SET_RESTORE_ROUND_53BIT): Likewise.
24640 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24641 (libc_feresetround_noexf_ctx): Likewise.
24642 (libc_feresetround_noexl_ctx): Likewise.
24643 (libc_feholdsetround_53bit_ctx): Likewise.
24644 (libc_feresetround_53bit_ctx): Likewise.
24645 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24646 (libc_feholdexcept_setround_sse_ctx): New function.
24647 (libc_fesetenv_sse_ctx): Likewise.
24648 (libc_feupdateenv_sse_ctx): Likewise.
24649 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24650 (libc_feholdexcept_setround_387_ctx): Likewise.
24651 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24652 (libc_feholdsetround_387_prec_ctx): Likewise.
24653 (libc_feholdsetround_387_ctx): Likewise.
24654 (libc_feholdsetround_387_53bit_ctx): Likewise.
24655 (libc_feholdsetround_sse_ctx): Likewise.
24656 (libc_feresetround_sse_ctx): Likewise.
24657 (libc_feresetround_387_ctx): Likewise.
24658 (libc_feupdateenv_387_ctx): Likewise.
24659 (libc_feholdexcept_setroundf_ctx): Define macro.
24660 (libc_fesetenvf_ctx): Likewise.
24661 (libc_feupdateenvf_ctx): Likewise.
24662 (libc_feholdsetroundf_ctx): Likewise.
24663 (libc_feresetroundf_ctx): Likewise.
24664 (libc_feholdexcept_setround_ctx): Likewise.
24665 (libc_fesetenv_ctx): Likewise.
24666 (libc_feupdateenv_ctx): Likewise.
24667 (libc_feholdsetround_ctx): Likewise.
24668 (libc_feresetround_ctx): Likewise.
24669 (libc_feholdexcept_setroundl_ctx): Likewise.
24670 (libc_feupdateenvl_ctx): Likewise.
24671 (libc_feholdsetroundl_ctx): Likewise.
24672 (libc_feresetroundl_ctx): Likewise.
24673 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24674 (libc_feresetround_53bit_ctx): Likewise.
24675
59b30555
SP
246762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24677
24678 * locale/iso-639.def: Convert to UTF-8.
24679
f1d73d30
JM
246802013-06-11 Joseph Myers <joseph@codesourcery.com>
24681
24682 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24683 (EXCEPTION_TESTS_double): Likewise.
24684 (EXCEPTION_TESTS_long_double): Likewise.
24685 (EXCEPTION_TESTS): Likewise.
24686 * math/libm-test.inc (test_exceptions): Only test exceptions if
24687 EXCEPTION_TESTS (FLOAT).
24688
94aca5e7
SP
246892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24690
24691 * benchtests/Makefile (string-bench): Add strcpy_chk and
24692 stpcpy_chk.
24693 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24694 * benchtests/bench-stpcpy_chk.c: New file.
24695 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24696 * benchtests/bench-strcpy_chk.c: New file.
24697 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24698 code.
24699 (do_test): Likewise.
24700
fac0c5f2
RA
247012013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24702
24703 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24704 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24705 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24706 with tabs where appropriate.
24707 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24708 dl-procinfo.h.
24709 [PPC_PLATFORM_PPC440]: Likewise.
24710 [PPC_PLATFORM_PPC464]: Likewise.
24711 [PPC_PLATFORM_PPC476]: Likewise.
24712 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24713 ppc464, and ppc476 platform strings merging from ports/
24714 dl-procinfo.h.
24715
f22bc486
AS
247162013-06-11 Andreas Schwab <schwab@suse.de>
24717
24718 [BZ #14991]
24719 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24720 (from_ucs4_idx): Regenerate.
24721 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24722 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24723 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24724 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24725 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24726 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24727 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24728 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24729 from FROM_LOOP and TO_LOOP specific macros.
24730 (BODY): Handle combining characters.
24731 * iconvdata/BIG5HKSCS.irreversible: Update.
24732 * iconvdata/BIG5HKSCS.precomposed: New file.
24733 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24734 characters.
24735 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24736
c1f75dc3
SP
247372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24738
4eacded2
SP
24739 * include/sys/time.h: Fix indentation and add copyright header.
24740
fec799f8
SP
24741 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24742 (do_test): Likewise.
24743 * string/test-memchr.c (do_one_test): Likewise.
24744 (do_test): Likewise.
24745 * string/test-memcmp.c (do_one_test): Likewise.
24746 (do_test): Likewise.
24747 * string/test-memcpy.c (do_one_test): Likewise.
24748 (do_test): Likewise.
24749 * string/test-memmem.c (do_one_test): Likewise.
24750 (do_test): Likewise.
24751 (do_random_tests): Likewise.
24752 * string/test-memmove.c (do_one_test): Likewise.
24753 (do_test): Likewise.
24754 * string/test-memset.c (do_one_test): Likewise.
24755 (do_test): Likewise.
24756 * string/test-rawmemchr.c (do_one_test): Likewise.
24757 (do_test): Likewise.
24758 * string/test-strcasecmp.c (do_one_test): Likewise.
24759 (do_test): Likewise.
24760 * string/test-strcasestr.c (do_one_test): Likewise.
24761 (do_test): Likewise.
24762 * string/test-strcat.c (do_one_test): Likewise.
24763 (do_test): Likewise.
24764 * string/test-strchr.c (do_one_test): Likewise.
24765 (do_test): Likewise.
24766 * string/test-strcmp.c (do_one_test): Likewise.
24767 (do_test): Likewise.
24768 * string/test-strcpy.c (do_one_test): Likewise.
24769 (do_test): Likewise.
24770 * string/test-string.h: Likewise.
24771 (test_init): Likewise.
24772 * string/test-strlen.c (do_one_test): Likewise.
24773 (do_test): Likewise.
24774 * string/test-strncasecmp.c (do_one_test): Likewise.
24775 (do_test): Likewise.
24776 * string/test-strncat.c (do_one_test): Likewise.
24777 (do_test): Likewise.
24778 * string/test-strncmp.c (do_one_test): Likewise.
24779 (do_test_limit): Likewise.
24780 (do_test): Likewise.
24781 * string/test-strncpy.c (do_one_test): Likewise.
24782 (do_test): Likewise.
24783 * string/test-strnlen.c (do_one_test): Likewise.
24784 (do_test): Likewise.
24785 * string/test-strpbrk.c (do_one_test): Likewise.
24786 (do_test): Likewise.
24787 * string/test-strrchr.c (do_one_test): Likewise.
24788 (do_test): Likewise.
24789 * string/test-strspn.c (do_one_test): Likewise.
24790 (do_test): Likewise.
24791 * string/test-strstr.c (do_one_test): Likewise.
24792 (do_test): Likewise.
24793
97020474
SP
24794 * benchtests/Makefile (string-bench): Add string benchmarks.
24795 * benchtests/bench-bcopy-ifunc.c: New file.
24796 * benchtests/bench-bcopy.c: New file.
24797 * benchtests/bench-bzero-ifunc.c: New file.
24798 * benchtests/bench-bzero.c: New file.
24799 * benchtests/bench-memccpy-ifunc.c: New file.
24800 * benchtests/bench-memccpy.c: New file.
24801 * benchtests/bench-memchr-ifunc.c: New file.
24802 * benchtests/bench-memchr.c: New file.
24803 * benchtests/bench-memcmp-ifunc.c: New file.
24804 * benchtests/bench-memcmp.c: New file.
24805 * benchtests/bench-memmem-ifunc.c: New file.
24806 * benchtests/bench-memmem.c: New file.
24807 * benchtests/bench-memmove-ifunc.c: New file.
24808 * benchtests/bench-memmove.c: New file.
24809 * benchtests/bench-mempcpy-ifunc.c: New file.
24810 * benchtests/bench-mempcpy.c: New file.
24811 * benchtests/bench-memset-ifunc.c: New file.
24812 * benchtests/bench-memset.c: New file.
24813 * benchtests/bench-rawmemchr-ifunc.c: New file.
24814 * benchtests/bench-rawmemchr.c: New file.
24815 * benchtests/bench-stpcpy-ifunc.c: New file.
24816 * benchtests/bench-stpcpy.c: New file.
24817 * benchtests/bench-stpncpy-ifunc.c: New file.
24818 * benchtests/bench-stpncpy.c: New file.
24819 * benchtests/bench-strcasecmp-ifunc.c: New file.
24820 * benchtests/bench-strcasecmp.c: New file.
24821 * benchtests/bench-strcasestr-ifunc.c: New file.
24822 * benchtests/bench-strcasestr.c: New file.
24823 * benchtests/bench-strcat-ifunc.c: New file.
24824 * benchtests/bench-strcat.c: New file.
24825 * benchtests/bench-strchr-ifunc.c: New file.
24826 * benchtests/bench-strchr.c: New file.
24827 * benchtests/bench-strchrnul-ifunc.c: New file.
24828 * benchtests/bench-strchrnul.c: New file.
24829 * benchtests/bench-strcmp-ifunc.c: New file.
24830 * benchtests/bench-strcmp.c: New file.
24831 * benchtests/bench-strcpy-ifunc.c: New file.
24832 * benchtests/bench-strcpy.c: New file.
24833 * benchtests/bench-strcspn-ifunc.c: New file.
24834 * benchtests/bench-strcspn.c: New file.
24835 * benchtests/bench-strlen-ifunc.c: New file.
24836 * benchtests/bench-strlen.c: New file.
24837 * benchtests/bench-strncasecmp-ifunc.c: New file.
24838 * benchtests/bench-strncasecmp.c: New file.
24839 * benchtests/bench-strncat-ifunc.c: New file.
24840 * benchtests/bench-strncat.c: New file.
24841 * benchtests/bench-strncmp-ifunc.c: New file.
24842 * benchtests/bench-strncmp.c: New file.
24843 * benchtests/bench-strncpy-ifunc.c: New file.
24844 * benchtests/bench-strncpy.c: New file.
24845 * benchtests/bench-strnlen-ifunc.c: New file.
24846 * benchtests/bench-strnlen.c: New file.
24847 * benchtests/bench-strpbrk-ifunc.c: New file.
24848 * benchtests/bench-strpbrk.c: New file.
24849 * benchtests/bench-strrchr-ifunc.c: New file.
24850 * benchtests/bench-strrchr.c: New file.
24851 * benchtests/bench-strspn-ifunc.c: New file.
24852 * benchtests/bench-strspn.c: New file.
24853 * benchtests/bench-strstr-ifunc.c: New file.
24854 * benchtests/bench-strstr.c: New file.
24855
c1f75dc3
SP
24856 * benchtests/Makefile: Disable parallel execution of targets.
24857 (string-bench): Add memcpy.
24858 (benchset): New variable to store a list of benchmark sets.
24859 (bench-func): Renamed from bench.
24860 (bench-set): New target.
24861 (bench): Depend on bench-func and bench-set.
24862 * benchtests/README: Add section on benchmark sets.
24863 * benchtests/bench-memcpy-ifunc.c: New file.
24864 * benchtests/bench-memcpy.c: New file.
24865 * benchtests/bench-string.h: New file.
24866
50fd745b
AS
248672013-06-11 Andreas Schwab <schwab@suse.de>
24868
24869 [BZ #15577]
24870 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24871 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24872 values in the triple.
24873 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24874 terminator in the group key.
24875
3ee7e9fe
AJ
248762013-06-11 Andreas Jaeger <aj@suse.de>
24877
24878 * po/zh_TW.po: Update Chinese (traditional) translation from
24879 translation project.
24880
89fb6835
SP
248812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24882
24883 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24884 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24885 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24886 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24887 (clock_getcpuclockid): Likewise.
24888 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24889 Add weak_alias and libc_hidden_def.
24890 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24891 * rt/clock_gettime.c (clock_gettime): Rename to
24892 __clock_gettime. Add weak_alias and libc_hidden_def.
24893 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24894 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24895 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24896 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24897 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24898 Likewise.
24899 * rt/clock_settime.c (clock_settime): Rename to
24900 __clock_settime. Add weak_alias and libc_hidden_def.
24901 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24902
0efa6f8b
JM
249032013-06-10 Joseph Myers <joseph@codesourcery.com>
24904
b8c61b4b
JM
24905 * mach/err_boot.sub: Remove trailing whitespace.
24906 * mach/err_ipc.sub: Likewise.
24907 * mach/err_mach.sub: Likewise.
24908
0efa6f8b
JM
24909 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24910 (ROUNDING_TESTS_double): Likewise.
24911 (ROUNDING_TESTS_long_double): Likewise.
24912 (ROUNDING_TESTS): Likewise.
24913 * math/libm-test.inc: Include <math-tests.h>.
24914 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24915 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24916 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24917 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24918
50b818bf
SP
249192013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24920
24921 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24922 of assigning.
24923
60d2f8f3
JM
249242013-06-08 Joseph Myers <joseph@codesourcery.com>
24925
4902d2c3
JM
24926 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24927 otherwise empty TRANS lines.
24928 * sysdeps/gnu/errlist.c: Regenerated.
24929
60d2f8f3
JM
24930 * catgets/gencat.c (error_print): Use (void) in function
24931 definition.
24932 * crypt/crypt_util.c (__init_des): Likewise.
24933 * crypt/speeds.c (Stop): Likewise.
24934 (main): Likewise.
24935 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24936 * inet/ruserpass.c (token): Likewise.
24937 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24938 * intl/localealias.c (extend_alias_table): Likewise.
24939 * intl/plural-exp.c (init_germanic_plural): Likewise.
24940 * libio/fcloseall.c (__fcloseall): Likewise.
24941 * libio/genops.c (_IO_flush_all): Likewise.
24942 (_IO_flush_all_linebuffered): Likewise.
24943 (_IO_cleanup): Likewise.
24944 (_IO_iter_begin): Likewise.
24945 (_IO_iter_end): Likewise.
24946 (_IO_list_lock): Likewise.
24947 (_IO_list_unlock): Likewise.
24948 (_IO_list_resetlock): Likewise.
24949 * libio/getchar.c (getchar): Likewise.
24950 * libio/getchar_u.c (getchar_unlocked): Likewise.
24951 * libio/getwchar.c (getwchar): Likewise.
24952 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24953 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24954 * login/getpt.c (__getpt): Likewise.
24955 * login/tst-utmp.c (main): Likewise.
24956 * malloc/hooks.c (__malloc_check_init): Likewise.
24957 * malloc/malloc.c (__malloc_stats): Likewise.
24958 * malloc/mtrace.c (tr_break): Likewise.
24959 (mtrace): Likewise.
24960 (muntrace): Likewise.
24961 * misc/fstab.c (endfsent): Likewise.
24962 * misc/getclktck.c (__getclktck): Likewise.
24963 * misc/getdtsz.c (__getdtablesize): Likewise.
24964 * misc/gethostid.c (gethostid): Likewise.
24965 * misc/getpagesize.c (__getpagesize): Likewise.
24966 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24967 (__get_nprocs): Likewise.
24968 (__get_phys_pages): Likewise.
24969 (__get_avphys_pages): Likewise.
24970 * misc/getttyent.c (getttyent): Likewise.
24971 (setttyent): Likewise.
24972 (endttyent): Likewise.
24973 * misc/getusershell.c (getusershell): Likewise.
24974 (endusershell): Likewise.
24975 (setusershell): Likewise.
24976 (initshells): Likewise.
24977 * misc/hsearch.c (__hdestroy): Likewise.
24978 * misc/sync.c (sync): Likewise.
24979 * misc/syslog.c (closelog_internal): Likewise.
24980 (closelog): Likewise.
24981 * misc/ttyslot.c (ttyslot): Likewise.
24982 * misc/vhangup.c (vhangup): Likewise.
24983 * posix/fork.c (__fork): Likewise.
24984 * posix/getegid.c (__getegid): Likewise.
24985 * posix/geteuid.c (__geteuid): Likewise.
24986 * posix/getgid.c (__getgid): Likewise.
24987 * posix/getpid.c (__getpid): Likewise.
24988 * posix/getppid.c (__getppid): Likewise.
24989 * posix/getuid.c (__getuid): Likewise.
24990 * posix/pause.c (pause): Likewise.
24991 * posix/setpgrp.c (setpgrp): Likewise.
24992 * posix/setsid.c (__setsid): Likewise.
24993 * posix/test-vfork.c (noop): Likewise.
24994 * resolv/gethnamaddr.c (_endhtent): Likewise.
24995 (_gethtent): Likewise.
24996 (ht_endhostent): Likewise.
24997 (gethostent): Likewise.
24998 (dns_service): Likewise.
24999 * stdlib/drand48.c (drand48): Likewise.
25000 * stdlib/lrand48.c (lrand48): Likewise.
25001 * stdlib/mrand48.c (mrand48): Likewise.
25002 * stdlib/rand.c (rand): Likewise.
25003 * stdlib/random.c (__random): Likewise.
25004 * stdlib/setenv.c (clearenv): Likewise.
25005 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25006 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25007 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25008 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25009 (__get_nprocs): Likewise.
25010 (__get_phys_pages): Likewise.
25011 (__get_avphys_pages): Likewise.
25012 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25013 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25014 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25015 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25016 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25017 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25018 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25019 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25020 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25021 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25022 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25023 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25024 * sysdeps/posix/clock.c (clock): Likewise.
25025 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25026 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25027 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25028 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25029 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25031 (__get_nprocs_conf): Likewise.
25032 (__get_phys_pages): Likewise.
25033 (__get_avphys_pages): Likewise.
25034 * time/clock.c (clock): Likewise.
25035 * time/tzset.c (__tzname_max): Likewise.
25036
2e09a79a
JM
250372013-06-07 Joseph Myers <joseph@codesourcery.com>
25038
25039 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25040 (__bswap_32): Do not use "register".
25041 * crypt/crypt.c (_ufc_doit_r): Likewise.
25042 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25043 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25044 * gmon/gmon.c (__monstartup): Likewise.
25045 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25046 * hurd/hurdmalloc.c (more_memory): Likewise.
25047 (malloc): Likewise.
25048 (free): Likewise.
25049 (realloc): Likewise.
25050 (malloc_fork_prepare): Likewise.
25051 (malloc_fork_parent): Likewise.
25052 (malloc_fork_child): Likewise.
25053 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25054 (_svcauth_des): Likewise.
25055 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25056 * inet/inet_net.c (inet_network): Likewise.
25057 * inet/inet_netof.c (inet_netof): Likewise.
25058 * inet/rcmd.c (__validuser2_sa): Likewise.
25059 * io/fts.c (fts_open): Likewise.
25060 (fts_load): Likewise.
25061 (fts_close): Likewise.
25062 (fts_read): Likewise.
25063 (fts_children): Likewise.
25064 (fts_build): Likewise.
25065 (fts_stat): Likewise.
25066 (fts_sort): Likewise.
25067 (fts_alloc): Likewise.
25068 (fts_lfree): Likewise.
25069 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25070 (_IO_file_xsgetn): Likewise.
25071 (_IO_file_xsgetn_mmap): Likewise.
25072 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25073 (_IO_cookie_write): Likewise.
25074 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25075 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25076 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25077 * malloc/obstack.c (_obstack_begin): Likewise.
25078 (_obstack_begin_1): Likewise.
25079 (_obstack_newchunk): Likewise.
25080 (_obstack_allocated_p): Likewise.
25081 (obstack_free): Likewise.
25082 (_obstack_memory_used): Likewise.
25083 * misc/getttyent.c (getttynam): Likewise.
25084 (getttyent): Likewise.
25085 (skip): Likewise.
25086 (value): Likewise.
25087 * misc/getusershell.c (initshells): Likewise.
25088 * misc/syslog.c (__vsyslog_chk): Likewise.
25089 * misc/ttyslot.c (ttyslot): Likewise.
25090 * nis/nis_hash.c (__nis_hash): Likewise.
25091 * posix/fnmatch_loop.c (FCT): Likewise.
25092 * posix/getconf.c (print_all): Likewise.
25093 (main): Likewise.
25094 * posix/getopt.c (exchange): Likewise.
25095 * posix/glob.c (globfree): Likewise.
25096 (prefix_array): Likewise.
25097 (__glob_pattern_type): Likewise.
25098 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25099 (NS_GET32): Likewise.
25100 (NS_PUT16): Likewise.
25101 (NS_PUT32): Likewise.
25102 * resolv/gethnamaddr.c (getanswer): Likewise.
25103 (gethostbyname2): Likewise.
25104 (gethostbyaddr): Likewise.
25105 (_gethtent): Likewise.
25106 (_gethtbyname2): Likewise.
25107 (_gethtbyaddr): Likewise.
25108 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25109 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25110 * resolv/res_init.c (__res_vinit): Likewise.
25111 (net_mask): Likewise.
25112 * resolv/res_mkquery.c (outchar): Likewise.
25113 (PRINT): Likewise.
25114 * stdio-common/printf_fp.c (outchar): Likewise.
25115 (PRINT): Likewise.
25116 * stdio-common/printf_fphex.c (outchar): Likewise.
25117 (PRINT): Likewise.
25118 * stdio-common/printf_size.c (outchar): Likewise.
25119 (PRINT): Likewise.
25120 * stdio-common/test_rdwr.c (main): Likewise.
25121 * stdio-common/tfformat.c (matches): Likewise.
25122 * stdio-common/vfprintf.c (outchar): Likewise.
25123 (printf_unknown): Likewise.
25124 (buffered_vfprintf): Likewise.
25125 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25126 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25127 (ReadFile): Likewise.
25128 * stdlib/qsort.c (SWAP): Likewise.
25129 (_quicksort): Likewise.
25130 * stdlib/setenv.c (__add_to_environ): Likewise.
25131 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25132 * stdlib/strtol_l.c (__strtol_l): Likewise.
25133 * stdlib/tst-strtod.c (main): Likewise.
25134 * stdlib/tst-strtol.c (main): Likewise.
25135 * stdlib/tst-strtoll.c (main): Likewise.
25136 * string/bits/string2.h (__strcmp_cc): Likewise.
25137 (__strcmp_cg): Likewise.
25138 (__strcspn_c1): Likewise.
25139 (__strcspn_c2): Likewise.
25140 (__strcspn_c3): Likewise.
25141 (__strspn_c1): Likewise.
25142 (__strspn_c2): Likewise.
25143 (__strspn_c3): Likewise.
25144 (__strsep_1c): Likewise.
25145 (__strsep_2c): Likewise.
25146 (__strsep_3c): Likewise.
25147 * string/memccpy.c (__memccpy): Likewise.
25148 * string/stpcpy.c (__stpcpy): Likewise.
25149 * string/strcmp.c (strcmp): Likewise.
25150 * string/strrchr.c (strrchr): Likewise.
25151 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25152 Likewise.
25153 * sysdeps/mach/hurd/getcwd.c
25154 (_hurd_canonicalize_directory_name_internal): Likewise.
25155 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25156 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25157 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25158 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25159 Likewise, in both definitions.
25160 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25161 definitions.
25162 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25163 64] (__bswap_64): Likewise.
25164 * time/test_time.c (main): Likewise.
25165 * time/tzfile.c (__tzfile_read): Likewise.
25166 (__tzfile_compute): Likewise.
25167 * time/tzset.c (__tzset_parse_tz): Likewise.
25168 (tzset_internal): Likewise.
25169 (compute_change): Likewise.
25170 * wcsmbs/wcscat.c (__wcscat): Likewise.
25171 * wcsmbs/wcschr.c (wcschr): Likewise.
25172 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25173 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25174 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25175 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25176 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25177 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25178 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25179 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25180 * wcsmbs/wmemset.c (wmemset): Likewise.
25181
9e54314b
JM
251822013-06-06 Joseph Myers <joseph@codesourcery.com>
25183
25184 * scripts/config.guess: Update to version 2013-05-16.
25185 * scripts/config.sub: Update to version 2013-04-24.
25186 * scripts/install-sh: Update to version 2011-11-20.07.
25187 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25188 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25189
350635a5
OB
251902013-06-06 Ondřej Bílka <neleai@seznam.cz>
25191
25192 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25193 * elf/sln.c: Likewise.
25194 * hurd/hurd/ioctl.h: Likewise.
25195 * hurd/hurdmalloc.c: Likewise.
25196 * hurd/xattr.c: Likewise.
25197 * include/shlib-compat.h: Likewise.
25198 * inet/ruserpass.c: Likewise.
25199 * libio/iofgets_u.c: Likewise.
25200 * libio/iofgetws_u.c: Likewise.
25201 * locale/programs/ld-identification.c: Likewise.
25202 * locale/programs/ld-time.c: Likewise.
25203 * mach/msg-destroy.c: Likewise.
25204 * nss/nss_files/files-netgrp.c: Likewise.
25205 * resolv/res_data.c: Likewise.
25206 * soft-fp/op-1.h: Likewise.
25207 * soft-fp/op-2.h: Likewise.
25208 * soft-fp/op-4.h: Likewise.
25209 * soft-fp/op-common.h: Likewise.
25210 * stdio-common/printf_fphex.c: Likewise.
25211 * stdlib/strtod_l.c: Likewise.
25212 * sunrpc/rpc/clnt.h: Likewise.
25213 * sysdeps/generic/framestate.c: Likewise.
25214 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25215 * sysdeps/i386/bsd-setjmp.S: Likewise.
25216 * sysdeps/i386/__longjmp.S: Likewise.
25217 * sysdeps/i386/setjmp.S: Likewise.
25218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25219 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25234 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25236 * sysdeps/ieee754/support.c: Likewise.
25237 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25238 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25239 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25240 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25241 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25242 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25243 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25244 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25245 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25246 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25247 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25248 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25250 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25251 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25252 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25253 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25255
44a988af
OB
252562013-06-05 Ondřej Bílka <neleai@seznam.cz>
25257
25506f09 25258 * posix/transbug.c: Remove executable mode.
44a988af 25259
9c84384c
JM
252602013-06-05 Joseph Myers <joseph@codesourcery.com>
25261
25262 * crypt/speeds.c: Remove trailing whitespace.
25263 * dlfcn/default.c: Likewise.
25264 * elf/ifuncdep2.c: Likewise.
25265 * elf/ifuncmain1.c: Likewise.
25266 * elf/ifuncmain1vis.c: Likewise.
25267 * elf/testobj.h: Likewise.
25268 * elf/tst-stackguard1.c: Likewise.
25269 * gmon/sys/gmon.h: Likewise.
25270 * hurd/hurdmsg.c: Likewise.
25271 * hurd/new-fd.c: Likewise.
25272 * hurd/ports-get.c: Likewise.
25273 * iconvdata/ibm1008_420.c: Likewise.
25274 * inet/tst-getni1.c: Likewise.
25275 * inet/tst-getni2.c: Likewise.
25276 * libio/ioungetc.c: Likewise.
25277 * libio/wfiledoalloc.c: Likewise.
25278 * manual/libm-err-tab.pl: Likewise.
25279 * math/w_dremf.c: Likewise.
25280 * misc/ftruncate.c: Likewise.
25281 * posix/bug-glob2.c: Likewise.
25282 * posix/tst-pcre.c: Likewise.
25283 * posix/wait4.c: Likewise.
25284 * resolv/README: Likewise.
25285 * resolv/res_debug.h: Likewise.
25286 * resolv/tst-inet_ntop.c: Likewise.
25287 * setjmp/bug269-setjmp.c: Likewise.
25288 * soft-fp/extended.h: Likewise.
25289 * soft-fp/op-1.h: Likewise.
25290 * soft-fp/op-2.h: Likewise.
25291 * soft-fp/op-4.h: Likewise.
25292 * soft-fp/op-8.h: Likewise.
25293 * soft-fp/testit.c: Likewise.
25294 * stdio-common/bug16.c: Likewise.
25295 * stdlib/random.c: Likewise.
25296 * sunrpc/rpcsvc/rquota.x: Likewise.
25297 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25298 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25299 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25300 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25301 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25302 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25303 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25304 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25305 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25306 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25307 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25326 * sysdeps/ieee754/s_lib_version.c: Likewise.
25327 * sysdeps/mach/hurd/check_fds.c: Likewise.
25328 * sysdeps/mach/hurd/getsockname.c: Likewise.
25329 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25330 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25331 * sysdeps/powerpc/bits/link.h: Likewise.
25332 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25333 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25334 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25335 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25336 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25337 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25338 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25339 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25340 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25341 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25342 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25343 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25344 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25345 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25346 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25347 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25350 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25351 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25352 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25353 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25354 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25355 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25356 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25357 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25358 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25362 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25363 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25364 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25365 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25366 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25367 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25368 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25369 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25371 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25374 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25375 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25376 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25377 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25378 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25379 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25384 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25385 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25387 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25388 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25389 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25390 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25392 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25393 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25394 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25395 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25396 * sysdeps/powerpc/sysdep.h: Likewise.
25397 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25398 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25399 * sysdeps/sh/dl-trampoline.S: Likewise.
25400 * sysdeps/sh/memset.S: Likewise.
25401 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25402 * sysdeps/sh/strlen.S: Likewise.
25403 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25404 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25405 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25406 * sysdeps/sparc/sparc32/rem.S: Likewise.
25407 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25408 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25409 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25410 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25411 * sysdeps/sparc/sparc32/urem.S: Likewise.
25412 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25413 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25414 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25415 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25416 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25417 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25418 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25419 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25420 * sysdeps/unix/bsd/times.c: Likewise.
25421 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25422 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25426 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25427 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25428 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25429 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25431 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25432 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25433 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25434 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25435 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25436 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25437 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25438 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25439 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25440 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25441 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25442 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25443 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25444 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25445 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25446 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25447 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25448 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25449 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25450 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25451 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25452 * sysdeps/x86_64/strcspn.S: Likewise.
25453
869378a5
RA
254542013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25455
25456 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25457 generated file. Regenerate properly from gen-translit.pl.
25458 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25459 locale/C-translit.h.
25460
840e2943
AS
254612013-06-05 Andreas Schwab <schwab@suse.de>
25462
25463 [BZ #15100]
25464 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25465 week as 6 instead of -1.
25466 * time/tst-strptime.c (day_tests): Add test case.
25467
4c60cb0c
SP
254682013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25469
25470 * sysdeps/generic/math_private.h
25471 (libc_feholdexcept_setround_53bit): Replace with
25472 libc_feholdsetround_53bit.
25473 (libc_feupdateenv_53bit): Replace with
25474 libc_feresetround_53bit.
25475 (SET_RESTORE_ROUND_53BIT): Adjust.
25476
d180203e
SP
254772013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25478
96df079a
SP
25479 * string/test-strchrnul.c: Add copyright header.
25480
d180203e
SP
25481 * posix/tst-getaddrinfo4.c: Increase test timeout.
25482
8b0ccb2d
CD
254832013-06-03 Carlos O'Donell <carlos@redhat.com>
25484
25485 [BZ #15536]
25486 * math/libm-test.inc (MAX_EXP): Remove
25487 (MIN_EXP): Define.
25488 (ulp): Use MIN_EXP - MANT_DIG.
25489 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25490
3b3c4d40
CD
254912013-05-31 Carlos O'Donell <carlos@redhat.com>
25492
25493 * po/be.po: Revert last change.
25494 * po/zh_CN.po: Likewise.
25495 * po/header.pot: Likewise.
25496
fab7ce3f
JM
254972013-05-31 Joseph Myers <joseph@codesourcery.com>
25498
25499 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25500 link-libc-deps to empty as target-specific variable.
25501 * Makerules (link-libc-args): New variable.
25502 (libc-for-link): Likewise.
25503 (link-libc-deps): Likewise.
25504 (lib%.so): Depend on $(link-libc-deps). Link with
25505 $(link-libc-args).
25506 (build-module): Link with $(link-libc-args).
25507 (build-module-asneeded): Likewise.
25508 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25509 list of objects.
25510 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25511 target-specific variable.
25512 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25513 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25514 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25515 libc.
25516 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25517 libc and ld.so.
25518 ($(objpfx)libpcprofile.so): Likewise.
25519 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25520 libc_nonshared.a.
25521 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25522 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25523 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25524 $(link-libc-deps).
25525 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25526 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25527 * login/Makefile ($(objpfx)libutil.so): Likewise.
25528 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25529 * math/Makefile ($(objpfx)libm.so): Likewise.
25530 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25531 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25532 variable instead of depending directly on libc.
25533 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25534 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25535 $(link-libc-deps).
25536 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25537 libc.
25538 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25539 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25540 ($(objpfx)libanl.so): Likewise.
25541 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25542 ld.so.
25543 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25544 $(link-libc-deps).
25545 * sysdeps/i386/fpu/Makefile: Remove file.
25546 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25547 ($(objpfx)libm.so): Remove dependency on ld.so.
25548
eca5920c
PF
255492013-05-30 Patsy Franklin <pfrankli@redhat.com>
25550
25551 [BZ # 15553]
25552 * nis/yp_xdr.c (XDRMAXNAME): Define.
25553 (XDRMAXRECORD): Define.
25554 (xdr_domainname): Use XDRMAXNAME.
25555 (xdr_mapname): Likewise.
25556 (xdr_peername): Likewise.
25557 (xdr_keydat): Use XDRMAXRECORD.
25558 (xdr_valdat): Likewise.
25559
255602013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25561
25562 [BZ #14256]
25563 * manual/errno.texi (ESTALE): Update to account for more than
25564 just NFS file systems.
25565 * sysdeps/gnu/errlist.c: Regenerated.
25566
b9375348
SP
255672013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25568
25569 [BZ #15465]
25570 * elf/Makefile (tests): Add tst-null-argv.
25571 (modules-names): Add tst-null-argv-lib.
25572 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25573 (tst-null-argv-ENV): Set environment for tst-null-argv.
25574 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25575 (RTLD_PROGNAME): New macro.
25576 * elf/tst-null-argv.c: New test case.
25577 * elf/tst-null-argv-lib.c: Library for test case.
25578 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25579 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25580 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25581 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25582 * elf/dl-init.c (call_init): Likewise.
25583 (_dl_init): Likewise.
25584 * elf/dl-load.c (print_search_path): Likewise.
25585 (_dl_map_object): Likewise.
25586 * elf/dl-lookup.c (do_lookup_x): Likewise.
25587 (add_dependency): Likewise.
25588 (_dl_lookup_symbol_x): Likewise.
25589 (_dl_debug_bindings): Likewise.
25590 * elf/dl-open.c (_dl_show_scope): Likewise.
25591 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25592 * elf/dl-version.c (match_symbol): Likewise.
25593 (_dl_check_map_versions): Likewise.
25594 * elf/rtld.c (dl_main): Likewise.
25595 (print_unresolved): Use RTLD_PROGNAME.
25596 (print_missing_version): Likewise.
25597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25598 (elf_machine_rela): Likewise.
25599 * sysdeps/powerpc/powerpc32/dl-machine.c
25600 (__process_machine_rela): Likewise.
25601 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25602 Likewise.
25603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25604 Likewise.
25605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25606 Likewise.
25607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25608 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25609 Likewise.
25610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25611 Likewise.
25612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25613
8a9f20c8
CD
256142013-05-28 Carlos O'Donell <carlos@redhat.com>
25615
25616 * po/be.po: Add descriptive title.
25617 * po/zh_CN.po: Likewise.
25618 * po/header.pot: Likewise.
25619
0e60d68e
MF
256202013-05-28 Mike Frysinger <vapier@gentoo.org>
25621
25622 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25623 error message.
25624 (enlarge_archive): Likewise.
25625
56b672e9
BN
256262013-05-28 Ben North <ben@redfrontdoor.org>
25627
25628 * manual/arith.texi (frexp): It is the magnitude of the return
25629 value which lies in [0.5, 1), not the return value itself.
25630
5e056687
AZ
256312013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25632
25633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25634
2b66ef5d
TS
256352013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25636
528c2405
TS
25637 * stdio-common/bug26.c (main): Correct fscanf template.
25638
07b4c13d
TS
25639 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25640 declare _dl_skip_args.
25641
ec9dd97c
TS
25642 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25643 Don't declare.
25644
2b66ef5d
TS
25645 * manual/platform.texi: Add missing @end deftypefun.
25646
4f8dfe27
JM
256472013-05-24 Joseph Myers <joseph@codesourcery.com>
25648
0323d086
JM
25649 [BZ #15529]
25650 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25651 bit of mantissa of 2^16382.
25652 * math/libm-test.inc (hypot_test_data): Add more tests.
25653
dd4259b9
JM
25654 * math/libm-test.inc: Add drem and pow10 to list of tested
25655 functions.
25656 (pow10_test): New function.
25657 (drem_test): Likewise.
25658 (drem_test_tonearest): Likewise.
25659 (drem_test_towardzero): Likewise.
25660 (drem_test_downward): Likewise.
25661 (drem_test_upward): Likewise.
25662 (main): Call the new functions.
25663
4f8dfe27
JM
25664 * math/libm-test.inc (finite_test_data): Remove.
25665 (finite_test): Run tests from isfinite_test_data.
25666 (gamma_test_data): Remove.
25667 (gamma_test): Run tests from lgamma_test_data.
25668 * sysdeps/i386/fpu/libm-test-ulps: Update.
25669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25670
d116b7c4
AZ
256712013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25672
25673 * manual/platform.texi: Add PowerPC PPR function set documentation.
25674 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25675 implementation.
25676
e96e3767
CD
256772013-05-24 Carlos O'Donell <carlos@redhat.com>
25678
25679 * math/libm-test.inc (MAX_EXP): Define.
25680 (ULPDIFF): Define.
25681 (ulp): New function.
25682 (check_float_internal): Use ULPDIFF.
25683 (cpow_test): Disable failing test.
25684 (check_ulp): Test ulp() implemetnation.
25685 (main): Call check_ulp before starting tests.
25686
b679a606
JM
256872013-05-24 Joseph Myers <joseph@codesourcery.com>
25688
e8bdba36
JM
25689 * math/gen-libm-test.pl (generate_testfile): Do not handle
25690 START_DATA and END_DATA.
25691 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25692 END_DATA.
25693 (acos_tonearest_test_data): Likewise.
25694 (acos_towardzero_test_data): Likewise.
25695 (acos_downward_test_data): Likewise.
25696 (acos_upward_test_data): Likewise.
25697 (acosh_test_data): Likewise.
25698 (asin_test_data): Likewise.
25699 (asin_tonearest_test_data): Likewise.
25700 (asin_towardzero_test_data): Likewise.
25701 (asin_downward_test_data): Likewise.
25702 (asin_upward_test_data): Likewise.
25703 (asinh_test_data): Likewise.
25704 (atan_test_data): Likewise.
25705 (atanh_test_data): Likewise.
25706 (atan2_test_data): Likewise.
25707 (cabs_test_data): Likewise.
25708 (cacos_test_data): Likewise.
25709 (cacosh_test_data): Likewise.
25710 (carg_test_data): Likewise.
25711 (casin_test_data): Likewise.
25712 (casinh_test_data): Likewise.
25713 (catan_test_data): Likewise.
25714 (catanh_test_data): Likewise.
25715 (cbrt_test_data): Likewise.
25716 (ccos_test_data): Likewise.
25717 (ccosh_test_data): Likewise.
25718 (ceil_test_data): Likewise.
25719 (cexp_test_data): Likewise.
25720 (cimag_test_data): Likewise.
25721 (clog_test_data): Likewise.
25722 (clog10_test_data): Likewise.
25723 (conj_test_data): Likewise.
25724 (copysign_test_data): Likewise.
25725 (cos_test_data): Likewise.
25726 (cos_tonearest_test_data): Likewise.
25727 (cos_towardzero_test_data): Likewise.
25728 (cos_downward_test_data): Likewise.
25729 (cos_upward_test_data): Likewise.
25730 (cosh_test_data): Likewise.
25731 (cosh_tonearest_test_data): Likewise.
25732 (cosh_towardzero_test_data): Likewise.
25733 (cosh_downward_test_data): Likewise.
25734 (cosh_upward_test_data): Likewise.
25735 (cpow_test_data): Likewise.
25736 (cproj_test_data): Likewise.
25737 (creal_test_data): Likewise.
25738 (csin_test_data): Likewise.
25739 (csinh_test_data): Likewise.
25740 (csqrt_test_data): Likewise.
25741 (ctan_test_data): Likewise.
25742 (ctan_tonearest_test_data): Likewise.
25743 (ctan_towardzero_test_data): Likewise.
25744 (ctan_downward_test_data): Likewise.
25745 (ctan_upward_test_data): Likewise.
25746 (ctanh_test_data): Likewise.
25747 (ctanh_tonearest_test_data): Likewise.
25748 (ctanh_towardzero_test_data): Likewise.
25749 (ctanh_downward_test_data): Likewise.
25750 (ctanh_upward_test_data): Likewise.
25751 (erf_test_data): Likewise.
25752 (erfc_test_data): Likewise.
25753 (exp_test_data): Likewise.
25754 (exp_tonearest_test_data): Likewise.
25755 (exp_towardzero_test_data): Likewise.
25756 (exp_downward_test_data): Likewise.
25757 (exp_upward_test_data): Likewise.
25758 (exp10_test_data): Likewise.
25759 (exp2_test_data): Likewise.
25760 (expm1_test_data): Likewise.
25761 (fabs_test_data): Likewise.
25762 (fdim_test_data): Likewise.
25763 (finite_test_data): Likewise.
25764 (floor_test_data): Likewise.
25765 (fma_test_data): Likewise.
25766 (fma_towardzero_test_data): Likewise.
25767 (fma_downward_test_data): Likewise.
25768 (fma_upward_test_data): Likewise.
25769 (fmax_test_data): Likewise.
25770 (fmin_test_data): Likewise.
25771 (fmod_test_data): Likewise.
25772 (fpclassify_test_data): Likewise.
25773 (frexp_test_data): Likewise.
25774 (gamma_test_data): Likewise.
25775 (hypot_test_data): Likewise.
25776 (ilogb_test_data): Likewise.
25777 (isfinite_test_data): Likewise.
25778 (isgreater_test_data): Likewise.
25779 (isgreaterequal_test_data): Likewise.
25780 (isinf_test_data): Likewise.
25781 (isless_test_data): Likewise.
25782 (islessequal_test_data): Likewise.
25783 (islessgreater_test_data): Likewise.
25784 (isnan_test_data): Likewise.
25785 (isnormal_test_data): Likewise.
25786 (issignaling_test_data): Likewise.
25787 (isunordered_test_data): Likewise.
25788 (j0_test_data): Likewise.
25789 (j1_test_data): Likewise.
25790 (jn_test_data): Likewise.
25791 (ldexp_test_data): Likewise.
25792 (lgamma_test_data): Likewise.
25793 (lrint_test_data): Likewise.
25794 (lrint_tonearest_test_data): Likewise.
25795 (lrint_towardzero_test_data): Likewise.
25796 (lrint_downward_test_data): Likewise.
25797 (lrint_upward_test_data): Likewise.
25798 (llrint_test_data): Likewise.
25799 (llrint_tonearest_test_data): Likewise.
25800 (llrint_towardzero_test_data): Likewise.
25801 (llrint_downward_test_data): Likewise.
25802 (llrint_upward_test_data): Likewise.
25803 (log_test_data): Likewise.
25804 (log10_test_data): Likewise.
25805 (log1p_test_data): Likewise.
25806 (log2_test_data): Likewise.
25807 (logb_test_data): Likewise.
25808 (logb_downward_test_data): Likewise.
25809 (lround_test_data): Likewise.
25810 (llround_test_data): Likewise.
25811 (modf_test_data): Likewise.
25812 (nearbyint_test_data): Likewise.
25813 (nextafter_test_data): Likewise.
25814 (nexttoward_test_data): Likewise.
25815 (pow_test_data): Likewise.
25816 (pow_tonearest_test_data): Likewise.
25817 (pow_towardzero_test_data): Likewise.
25818 (pow_downward_test_data): Likewise.
25819 (pow_upward_test_data): Likewise.
25820 (remainder_test_data): Likewise.
25821 (remainder_tonearest_test_data): Likewise.
25822 (remainder_towardzero_test_data): Likewise.
25823 (remainder_downward_test_data): Likewise.
25824 (remainder_upward_test_data): Likewise.
25825 (remquo_test_data): Likewise.
25826 (rint_test_data): Likewise.
25827 (rint_tonearest_test_data): Likewise.
25828 (rint_towardzero_test_data): Likewise.
25829 (rint_downward_test_data): Likewise.
25830 (rint_upward_test_data): Likewise.
25831 (round_test_data): Likewise.
25832 (scalb_test_data): Likewise.
25833 (scalbn_test_data): Likewise.
25834 (scalbln_test_data): Likewise.
25835 (signbit_test_data): Likewise.
25836 (sin_test_data): Likewise.
25837 (sin_tonearest_test_data): Likewise.
25838 (sin_towardzero_test_data): Likewise.
25839 (sin_downward_test_data): Likewise.
25840 (sin_upward_test_data): Likewise.
25841 (sincos_test_data): Likewise.
25842 (sinh_test_data): Likewise.
25843 (sinh_tonearest_test_data): Likewise.
25844 (sinh_towardzero_test_data): Likewise.
25845 (sinh_downward_test_data): Likewise.
25846 (sinh_upward_test_data): Likewise.
25847 (sqrt_test_data): Likewise.
25848 (tan_test_data): Likewise.
25849 (tan_tonearest_test_data): Likewise.
25850 (tan_towardzero_test_data): Likewise.
25851 (tan_downward_test_data): Likewise.
25852 (tan_upward_test_data): Likewise.
25853 (tanh_test_data): Likewise.
25854 (tgamma_test_data): Likewise.
25855 (trunc_test_data): Likewise.
25856 (y0_test_data): Likewise.
25857 (y1_test_data): Likewise.
25858 (yn_test_data): Likewise.
25859 (significand_test_data): Likewise.
25860
b679a606
JM
25861 * math/gen-libm-test.pl (@functions): Remove variable.
25862 (generate_testfile): Don't handle START and END lines.
25863 * math/libm-test.inc (START): New macro.
25864 (END): Likewise.
25865 (END_COMPLEX): Likewise.
25866 (acos_test): Use END macro without arguments.
25867 (acos_test_tonearest): Likewise.
25868 (acos_test_towardzero): Likewise.
25869 (acos_test_downward): Likewise.
25870 (acos_test_upward): Likewise.
25871 (acosh_test): Likewise.
25872 (asin_test): Likewise.
25873 (asin_test_tonearest): Likewise.
25874 (asin_test_towardzero): Likewise.
25875 (asin_test_downward): Likewise.
25876 (asin_test_upward): Likewise.
25877 (asinh_test): Likewise.
25878 (atan_test): Likewise.
25879 (atanh_test): Likewise.
25880 (atan2_test): Likewise.
25881 (cabs_test): Likewise.
25882 (cacos_test): Use END_COMPLEX macro without arguments.
25883 (cacosh_test): Likewise.
25884 (carg_test): Use END macro without arguments.
25885 (casin_test): Use END_COMPLEX macro without arguments.
25886 (casinh_test): Likewise.
25887 (catan_test): Likewise.
25888 (catanh_test): Likewise.
25889 (cbrt_test): Use END macro without arguments.
25890 (ccos_test): Use END_COMPLEX macro without arguments.
25891 (ccosh_test): Likewise.
25892 (ceil_test): Use END macro without arguments.
25893 (cexp_test): Use END_COMPLEX macro without arguments.
25894 (cimag_test): Use END macro without arguments.
25895 (clog_test): Use END_COMPLEX macro without arguments.
25896 (clog10_test): Likewise.
25897 (conj_test): Likewise.
25898 (copysign_test): Use END macro without arguments.
25899 (cos_test): Likewise.
25900 (cos_test_tonearest): Likewise.
25901 (cos_test_towardzero): Likewise.
25902 (cos_test_downward): Likewise.
25903 (cos_test_upward): Likewise.
25904 (cosh_test): Likewise.
25905 (cosh_test_tonearest): Likewise.
25906 (cosh_test_towardzero): Likewise.
25907 (cosh_test_downward): Likewise.
25908 (cosh_test_upward): Likewise.
25909 (cpow_test): Use END_COMPLEX macro without arguments.
25910 (cproj_test): Likewise.
25911 (creal_test): Use END macro without arguments.
25912 (csin_test): Use END_COMPLEX macro without arguments.
25913 (csinh_test): Likewise.
25914 (csqrt_test): Likewise.
25915 (ctan_test): Likewise.
25916 (ctan_test_tonearest): Likewise.
25917 (ctan_test_towardzero): Likewise.
25918 (ctan_test_downward): Likewise.
25919 (ctan_test_upward): Likewise.
25920 (ctanh_test): Likewise.
25921 (ctanh_test_tonearest): Likewise.
25922 (ctanh_test_towardzero): Likewise.
25923 (ctanh_test_downward): Likewise.
25924 (ctanh_test_upward): Likewise.
25925 (erf_test): Use END macro without arguments.
25926 (erfc_test): Likewise.
25927 (exp_test): Likewise.
25928 (exp_test_tonearest): Likewise.
25929 (exp_test_towardzero): Likewise.
25930 (exp_test_downward): Likewise.
25931 (exp_test_upward): Likewise.
25932 (exp10_test): Likewise.
25933 (exp2_test): Likewise.
25934 (expm1_test): Likewise.
25935 (fabs_test): Likewise.
25936 (fdim_test): Likewise.
25937 (finite_test): Likewise.
25938 (floor_test): Likewise.
25939 (fma_test): Likewise.
25940 (fma_test_towardzero): Likewise.
25941 (fma_test_downward): Likewise.
25942 (fma_test_upward): Likewise.
25943 (fmax_test): Likewise.
25944 (fmin_test): Likewise.
25945 (fmod_test): Likewise.
25946 (fpclassify_test): Likewise.
25947 (frexp_test): Likewise.
25948 (gamma_test): Likewise.
25949 (hypot_test): Likewise.
25950 (ilogb_test): Likewise.
25951 (isfinite_test): Likewise.
25952 (isgreater_test): Likewise.
25953 (isgreaterequal_test): Likewise.
25954 (isinf_test): Likewise.
25955 (isless_test): Likewise.
25956 (islessequal_test): Likewise.
25957 (islessgreater_test): Likewise.
25958 (isnan_test): Likewise.
25959 (isnormal_test): Likewise.
25960 (issignaling_test): Likewise.
25961 (isunordered_test): Likewise.
25962 (j0_test): Likewise.
25963 (j1_test): Likewise.
25964 (jn_test): Likewise.
25965 (ldexp_test): Likewise.
25966 (lgamma_test): Likewise.
25967 (lrint_test): Likewise.
25968 (lrint_test_tonearest): Likewise.
25969 (lrint_test_towardzero): Likewise.
25970 (lrint_test_downward): Likewise.
25971 (lrint_test_upward): Likewise.
25972 (llrint_test): Likewise.
25973 (llrint_test_tonearest): Likewise.
25974 (llrint_test_towardzero): Likewise.
25975 (llrint_test_downward): Likewise.
25976 (llrint_test_upward): Likewise.
25977 (log_test): Likewise.
25978 (log10_test): Likewise.
25979 (log1p_test): Likewise.
25980 (log2_test): Likewise.
25981 (logb_test): Likewise.
25982 (logb_test_downward): Likewise.
25983 (lround_test): Likewise.
25984 (llround_test): Likewise.
25985 (modf_test): Likewise.
25986 (nearbyint_test): Likewise.
25987 (nextafter_test): Likewise.
25988 (nexttoward_test): Likewise.
25989 (pow_test): Likewise.
25990 (pow_test_tonearest): Likewise.
25991 (pow_test_towardzero): Likewise.
25992 (pow_test_downward): Likewise.
25993 (pow_test_upward): Likewise.
25994 (remainder_test): Likewise.
25995 (remainder_test_tonearest): Likewise.
25996 (remainder_test_towardzero): Likewise.
25997 (remainder_test_downward): Likewise.
25998 (remainder_test_upward): Likewise.
25999 (remquo_test): Likewise.
26000 (rint_test): Likewise.
26001 (rint_test_tonearest): Likewise.
26002 (rint_test_towardzero): Likewise.
26003 (rint_test_downward): Likewise.
26004 (rint_test_upward): Likewise.
26005 (round_test): Likewise.
26006 (scalb_test): Likewise.
26007 (scalbn_test): Likewise.
26008 (scalbln_test): Likewise.
26009 (signbit_test): Likewise.
26010 (sin_test): Likewise.
26011 (sin_test_tonearest): Likewise.
26012 (sin_test_towardzero): Likewise.
26013 (sin_test_downward): Likewise.
26014 (sin_test_upward): Likewise.
26015 (sincos_test): Likewise.
26016 (sinh_test): Likewise.
26017 (sinh_test_tonearest): Likewise.
26018 (sinh_test_towardzero): Likewise.
26019 (sinh_test_downward): Likewise.
26020 (sinh_test_upward): Likewise.
26021 (sqrt_test): Likewise.
26022 (tan_test): Likewise.
26023 (tan_test_tonearest): Likewise.
26024 (tan_test_towardzero): Likewise.
26025 (tan_test_downward): Likewise.
26026 (tan_test_upward): Likewise.
26027 (tanh_test): Likewise.
26028 (tgamma_test): Likewise.
26029 (trunc_test): Likewise.
26030 (y0_test): Likewise.
26031 (y1_test): Likewise.
26032 (yn_test): Likewise.
26033 (significand_test): Likewise.
26034
bae143d2
OB
260352013-05-24 Ondřej Bílka <neleai@seznam.cz>
26036
26037 [BZ #15381]
26038 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26039
9323d39b
EM
260402013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26041
d4ea44a0 26042 [BZ #14894]
9323d39b
EM
26043 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26044 __ppc_mdoio and __ppc_mdoom.
26045 * manual/platform.texi: Document new functions __ppc_yield,
26046 __ppc_mdoio and __ppc_mdoom.
26047
13e23af7
CD
260482013-05-22 Carlos O'Donell <carlos@redhat.com>
26049
26050 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26051 (main): Mention "tls" pseudo-hwcap is legacy.
26052 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26053
351fe550
JM
260542013-05-22 Joseph Myers <joseph@codesourcery.com>
26055
26056 * math/gen-libm-test.pl (parse_args): Output only string of
26057 arguments as text for test name, not full call or descriptions of
26058 tests for extra outputs.
26059 (generate_testfile): Do not pass function name to parse_args.
26060 Generate this_func variable from START.
26061 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26062 field to arg_str.
26063 (struct test_ff_f_data): Likewise.
26064 (test_ff_f_data_nexttoward): Likewise.
26065 (struct test_fi_f_data): Likewise.
26066 (struct test_fl_f_data): Likewise.
26067 (struct test_if_f_data): Likewise.
26068 (struct test_fff_f_data): Likewise.
26069 (struct test_c_f_data): Likewise.
26070 (struct test_f_f1_data): Likewise. Remove field extra_name.
26071 (struct test_fF_f1_data): Likewise.
26072 (struct test_ffI_f1_data): Likewise.
26073 (struct test_c_c_data): Rename test_name field to arg_str.
26074 (struct test_cc_c_data): Likewise.
26075 (struct test_f_i_data): Likewise.
26076 (struct test_ff_i_data): Likewise.
26077 (struct test_f_l_data): Likewise.
26078 (struct test_f_L_data): Likewise.
26079 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26080 and extra2_name.
26081 (COMMON_TEST_SETUP): New macro.
26082 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26083 (COMMON_TEST_CLEANUP): Likewise.
26084 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26085 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26086 macros.
26087 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26088 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26089 macros.
26090 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26091 (RUN_TEST_fff_f): Take argument string. Call new setup and
26092 cleanup macros.
26093 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26094 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26095 macros.
26096 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26097 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26098 macros.
26099 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26100 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26101 cleanup macros.
26102 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26103 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26104 cleanup macros.
26105 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26106 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26107 cleanup macros.
26108 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26109 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26110 macros.
26111 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26112 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26113 macros.
26114 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26115 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26116 macros.
26117 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26118 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26119 cleanup macros.
26120 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26121 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26122 cleanup macros.
26123 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26124 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26125 macros.
26126 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26127 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26128 cleanup macros.
26129 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26130 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26131 macros.
26132 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26133 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26134 macros.
26135 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26136 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26137 cleanup macros.
26138 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26139
85118d4d
EBM
261402013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26141
26142 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26143 to _sifields.sigfault.
26144 (si_addr_lsb): Define new macro.
26145 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26146 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26147 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26148
7a44c18f
CD
261492013-05-03 Carlos O'Donell <carlos at redhat.com>
26150
26151 [BZ #15441]
26152 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26153 returns -1.
26154 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26155 null return -1.
26156 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26157 loading the domain.
26158
b50a7181
JM
261592013-05-22 Joseph Myers <joseph@codesourcery.com>
26160
26161 * math/gen-libm-test.pl (parse_args): Do not include expected
26162 result in test name.
26163 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26165 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26166 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26167 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26169
051063c8
SP
261702013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26171
3ce9e010
SP
26172 * benchtests/Makefile: Sort function entries.
26173
051063c8
SP
26174 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26175 tanh, asinh, acosh, atanh.
26176 * benchtests/acos-inputs: New file.
26177 * benchtests/acosh-inputs: New file.
26178 * benchtests/asin-inputs: New file.
26179 * benchtests/asinh-inputs: New file.
26180 * benchtests/atanh-inputs: New file.
26181 * benchtests/cosh-inputs: New file.
26182 * benchtests/log-inputs: New file.
26183 * benchtests/sinh-inputs: New file.
26184 * benchtests/tanh-inputs: New file.
26185
47c22455
DL
261862013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26187
26188 [BZ #15339]
26189 * posix/tst-getaddrinfo4.c: New test.
26190 * posix/Makefile (tests): Add it.
26191
3d04f5db
SP
261922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26193
26194 [BZ #15339]
26195 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26196 when no services were used.
26197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26198 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26199
d5dd6189
AS
262002013-05-21 Andreas Schwab <schwab@suse.de>
26201
26202 [BZ #15014]
26203 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26204 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26205 successful.
26206 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26207 redundant variable declarations and reallocation of buffer when
26208 parsing as IPv6 address. Always set NSS status when called from
26209 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26210 buffer too small. Correct computation of needed size.
26211 * nss/Makefile (tests): Add test-digits-dots.
26212 * nss/test-digits-dots.c: New test.
26213
fef94eab
SP
262142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26215
26216 * benchtests/Makefile: Remove instructions for adding
26217 benchmark tests.
26218 * benchtests/README: New file to explain how to execute and
26219 enhance the benchmark tests.
26220
e39adf43
AS
262212013-05-21 Andreas Schwab <schwab@suse.de>
26222
26223 [BZ #15493]
26224 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26225 * setjmp/tst-sigsetjmp.c: New test.
26226
b2b671b6
OB
262272013-05-20 Ondřej Bílka <neleai@seznam.cz>
26228
26229 * sysdeps/x86_64/memset.S (memset): New implementation.
26230 (__bzero): Likewise.
26231 (__memset_tail): New function.
26232
2d48b41c
OB
262332013-05-20 Ondřej Bílka <neleai@seznam.cz>
26234
26235 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26236 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26237 __memcpy_sse2_unaligned ifunc selection.
26238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26239 Add memcpy-sse2-unaligned.S.
26240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26241 Add: __memcpy_sse2_unaligned.
26242
f16cc3eb
JM
262432013-05-19 Joseph Myers <joseph@codesourcery.com>
26244
3e694268
JM
26245 [BZ #15490]
26246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26247 math_force_eval before restoring floating-point envrionment.
26248 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26250 Likewise.
26251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26252 <math_private.h>.
26253 (__nearbyintl): Use math_force_eval before restoring
26254 floating-point environment.
26255 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26256
db62a907
JM
26257 * math/gen-libm-test.pl (special_functions): Remove.
26258 (parse_args): Don't handle TEST_extra. Handle functions with no
26259 return value.
26260 * math/libm-test.inc (struct test_sincos_data): Replace with
26261 struct test_fFF_11_data.
26262 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26263 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26264 (sincos_test_data): Change element type to struct
26265 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26266 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26267 RUN_TEST_LOOP_sincos.
26268 * math/README.libm-test: Don't mention special handling of
26269 individual functions.
26270 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26272 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26274 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26276
f16cc3eb
JM
26277 * math/gen-libm-test.pl (get_variable): Remove function.
26278 (parse_args): Don't show pointer parameters to call in test
26279 names. Use "extra output N" in test names for extra outputs
26280 rather than naming variables.
26281
3779b5b6
JM
262822013-05-18 Joseph Myers <joseph@codesourcery.com>
26283
2ee094ff
JM
26284 [BZ #15488]
26285 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26286 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26287 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26288 double tests.
26289 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26290 disable.
26291 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26292 check_long_double.
26293
3779b5b6
JM
26294 * math/gen-libm-test.pl (@tests): Remove variable.
26295 ($count): Likewise.
26296 (new_test): Remove function.
26297 (show_exceptions): New function.
26298 (special_functions): Use show_exceptions instead of new_test.
26299 (parse_args): Likewise.
26300 (generate_testfile): Pass only function name in generated call to
26301 print_max_error or print_complex_max_error.
26302 (get_ulps): Do not handle complex tests specially.
26303 (output_test): Rename to ...
26304 (get_all_ulps_for_test): ... this. Return a string rather than
26305 printing to a file. Require ulps to be present.
26306 (output_ulps): Generate arrays rather than #defines.
26307 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26308 (struct ulp_data): New type.
26309 (BUILD_COMPLEX_ULP): Remove macro.
26310 (compare_ulp_data): New function.
26311 (find_ulps): Likewise.
26312 (find_test_ulps): Likewise.
26313 (find_function_ulps): Likewise.
26314 (find_complex_function_ulps): Likewise.
26315 (print_max_error): Determine allowed ulps using
26316 find_function_ulps.
26317 (print_complex_max_error): Determine allowed ulps using
26318 find_complex_function_ulps.
26319 (check_float_internal): Determine max ulps using find_test_ulps.
26320 (check_float): Do not take max_ulp parameter. Update call to
26321 check_float_internal.
26322 (check_complex): Likewise.
26323 (check_int): Do not take max_ulp parameter.
26324 (check_long): Likewise.
26325 (check_bool): Likewise.
26326 (check_longlong): Likewise.
26327 (struct test_f_f_data): Remove max_ulp field.
26328 (struct test_ff_f_data): Likewise.
26329 (struct test_ff_f_data_nexttoward): Likewise.
26330 (struct test_fi_f_data): Likewise.
26331 (struct test_fl_f_data): Likewise.
26332 (struct test_if_f_data): Likewise.
26333 (struct test_fff_f_data): Likewise.
26334 (struct test_c_f_data): Likewise.
26335 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26336 (struct test_fF_f1_data): Likewise.
26337 (struct test_ffI_f1_data): Likewise.
26338 (struct test_c_c_data): Remove max_ulp field.
26339 (struct test_cc_c_data): Likewise.
26340 (struct test_f_i_data): Likewise.
26341 (struct test_ff_i_data): Likewise.
26342 (struct test_f_l_data): Likewise.
26343 (struct test_f_L_data): Likewise.
26344 (struct test_sincos_data): Likewise.
26345 (RUN_TEST_f_f): Do not handle ulps.
26346 (RUN_TEST_LOOP_f_f): Likewise.
26347 (RUN_TEST_2_f): Likewise.
26348 (RUN_TEST_LOOP_2_f): Likewise.
26349 (RUN_TEST_fff_f): Likewise.
26350 (RUN_TEST_LOOP_fff_f): Likewise.
26351 (RUN_TEST_c_f): Likewise.
26352 (RUN_TEST_LOOP_c_f): Likewise.
26353 (RUN_TEST_f_f1): Likewise.
26354 (RUN_TEST_LOOP_f_f1): Likewise.
26355 (RUN_TEST_fF_f1): Likewise.
26356 (RUN_TEST_LOOP_fF_f1): Likewise.
26357 (RUN_TEST_fI_f1): Likewise.
26358 (RUN_TEST_LOOP_fI_f1): Likewise.
26359 (RUN_TEST_ffI_f1): Likewise.
26360 (RUN_TEST_LOOP_ffI_f1): Likewise.
26361 (RUN_TEST_c_c): Likewise.
26362 (RUN_TEST_LOOP_c_c): Likewise.
26363 (RUN_TEST_cc_c): Likewise.
26364 (RUN_TEST_LOOP_cc_c): Likewise.
26365 (RUN_TEST_f_i): Likewise.
26366 (RUN_TEST_LOOP_f_i): Likewise.
26367 (RUN_TEST_f_i_tg): Likewise.
26368 (RUN_TEST_LOOP_f_i_tg): Likewise.
26369 (RUN_TEST_ff_i_tg): Likewise.
26370 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26371 (RUN_TEST_f_b): Likewise.
26372 (RUN_TEST_LOOP_f_b): Likewise.
26373 (RUN_TEST_f_b_tg): Likewise.
26374 (RUN_TEST_LOOP_f_b_tg): Likewise.
26375 (RUN_TEST_f_l): Likewise.
26376 (RUN_TEST_LOOP_f_l): Likewise.
26377 (RUN_TEST_f_L): Likewise.
26378 (RUN_TEST_LOOP_f_L): Likewise.
26379 (RUN_TEST_sincos): Likewise.
26380 (RUN_TEST_LOOP_sincos): Likewise.
26381
8269107f
JM
263822013-05-17 Joseph Myers <joseph@codesourcery.com>
26383
bb38759d
JM
26384 [BZ #15480]
26385 [BZ #15485]
26386 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26387 main case of finite arguments, set rounding mode to FE_TONEAREST
26388 and discard exceptions.
26389 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26390 exceptions.
26391 (remainder_tonearest_test_data): New variable.
26392 (remainder_test_tonearest): New function.
26393 (remainder_towardzero_test_data): New variable.
26394 (remainder_test_towardzero): New function.
26395 (remainder_downward_test_data): New variable.
26396 (remainder_test_downward): New function.
26397 (remainder_upward_test_data): New variable.
26398 (remainder_test_upward): New function.
26399 (main): Call the new test functions.
26400
a00bdcf0
JM
26401 * math/libm-test.inc (struct test_f_f1_data): Remove field
26402 extra_init.
26403 (struct test_fF_f1_data): Likewise.
26404 (struct test_ffI_f1_data): Likewise.
26405 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26406 based on value of EXTRA_EXPECTED.
26407 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26408 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26409 EXTRA_VAR based on value of EXTRA_EXPECTED.
26410 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26411 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26412 EXTRA_VAR based on value of EXTRA_EXPECTED.
26413 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26414 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26415 EXTRA_VAR based on value of EXTRA_EXPECTED.
26416 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26417 * math/gen-libm-test.pl (parse_args): Don't output initializers
26418 for extra output values.
26419
de407f79
JM
26420 * math/libm-test.inc (check_int): Expect result to be exactly
26421 equal to expected value and do not handle ulps.
26422 (check_long): Likewise.
26423 (check_longlong): Likewise.
26424
8269107f
JM
26425 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26426 exceptions.
26427 (cimag_test_data): Likewise.
26428 (conj_test_data): Likewise.
26429 (copysign_test_data): Likewise.
26430 (cproj_test_data): Likewise.
26431 (creal_test_data): Likewise.
26432 (fabs_test_data): Likewise.
26433 (fdim_test_data): Likewise.
26434 (finite_test_data): Likewise.
26435 (floor_test_data): Likewise.
26436 (fmax_test_data): Likewise.
26437 (fmin_test_data): Likewise.
26438 (fmod_test_data): Likewise.
26439 (fpclassify_test_data): Likewise.
26440 (frexp_test_data): Likewise.
26441 (ilogb_test_data): Likewise.
26442 (isfinite_test_data): Likewise.
26443 (isgreater_test_data): Likewise.
26444 (isgreaterequal_test_data): Likewise.
26445 (isinf_test_data): Likewise.
26446 (isless_test_data): Likewise.
26447 (islessequal_test_data): Likewise.
26448 (islessgreater_test_data): Likewise.
26449 (isnan_test_data): Likewise.
26450 (isnormal_test_data): Likewise.
26451 (issignaling_test_data): Likewise.
26452 (isunordered_test_data): Likewise.
26453 (ldexp_test_data): Likewise.
26454 (lrint_test_data): Likewise.
26455 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26456 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26457 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26458 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26459 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26460 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26461 test input.
26462 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26463 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26464 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26465 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26466 that test input.
26467 (lrint_downward_test_data): Test for "inexact" exceptions.
26468 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26469 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26470 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26471 test input.
26472 (lrint_upward_test_data): Test for "inexact" exceptions.
26473 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26474 test input.
26475 (llrint_test_data): Test for "inexact" exceptions.
26476 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26477 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26478 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26479 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26480 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26481 (llrint_downward_test_data): Test for "inexact" exceptions.
26482 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26483 (llrint_upward_test_data): Test for "inexact" exceptions.
26484 (logb_test_data): Likewise.
26485 (logb_downward_test_data): Likewise.
26486 (nextafter_test_data): Likewise.
26487 (nexttoward_test_data): Likewise.
26488 (remainder_test_data): Likewise.
26489 (remquo_test_data): Likewise.
26490 (scalbn_test_data): Likewise.
26491 (scalbln_test_data): Likewise.
26492 (signbit_test_data): Likewise.
26493 (sqrt_test_data): Likewise.
26494 (significand_test_data): Likewise.
26495
48a18de1
SP
264962013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26497
26498 [BZ #15424]
26499 * benchtests/bench-modf.c (struct args): Mark arg0 as
26500 volatile.
26501 * scripts/bench.pl: Mark members of struct args as volatile.
26502
13d3b41a
AZ
265032013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26504
68191c1d 26505 [BZ # 15497]
13d3b41a
AZ
26506 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26507 negative infinity on POWER6 or lower.
26508 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26509
2848b105
MR
265102013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26511
26512 [BZ #15442]
26513 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26514 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26515 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26516 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26517 (_FP_SETQNAN): New macro.
26518 (_FP_SETQNAN_SEMIRAW): Likewise.
26519 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26520 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26521 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26522 (FP_EXTEND): Use _FP_FRAC_SNANP.
26523 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26524 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26525 into account.
26526 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26527 New macro.
26528 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26529 Likewise.
26530
323e5cb7
JM
265312013-05-16 Joseph Myers <joseph@codesourcery.com>
26532
c58b274f
JM
26533 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26534 with DIVIDE_BY_ZERO_EXCEPTION.
26535 (gamma_test_data): Likewise.
26536 (lgamma_test_data): Likewise.
26537 (log_test_data): Likewise.
26538 (log10_test_data): Likewise.
26539 (log2_test_data): Likewise.
26540 (tgamma_test_data): Likewise.
26541
0ab34904
JM
26542 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26543 (acos_test_tonearest): Likewise.
26544 (acos_test_towardzero): Likewise.
26545 (acos_test_downward): Likewise.
26546 (acos_test_upward): Likewise.
26547 (acosh_test): Likewise.
26548 (asin_test): Likewise.
26549 (asin_test_tonearest): Likewise.
26550 (asin_test_towardzero): Likewise.
26551 (asin_test_downward): Likewise.
26552 (asin_test_upward): Likewise.
26553 (asinh_test): Likewise.
26554 (atan_test): Likewise.
26555 (atanh_test): Likewise.
26556 (atan2_test): Likewise.
26557 (cabs_test): Likewise.
26558 (cacos_test): Likewise.
26559 (cacosh_test): Likewise.
26560 (casin_test): Likewise.
26561 (casinh_test): Likewise.
26562 (catan_test): Likewise.
26563 (catanh_test): Likewise.
26564 (cbrt_test): Likewise.
26565 (ccos_test): Likewise.
26566 (ccosh_test): Likewise.
26567 (cexp_test): Likewise.
26568 (clog_test): Likewise.
26569 (clog10_test): Likewise.
26570 (cos_test): Likewise.
26571 (cos_test_tonearest): Likewise.
26572 (cos_test_towardzero): Likewise.
26573 (cos_test_downward): Likewise.
26574 (cos_test_upward): Likewise.
26575 (cosh_test): Likewise.
26576 (cosh_test_tonearest): Likewise.
26577 (cosh_test_towardzero): Likewise.
26578 (cosh_test_downward): Likewise.
26579 (cosh_test_upward): Likewise.
26580 (cpow_test): Likewise.
26581 (csin_test): Likewise.
26582 (csinh_test): Likewise.
26583 (csqrt_test): Likewise.
26584 (ctan_test): Likewise.
26585 (ctan_test_tonearest): Likewise.
26586 (ctan_test_towardzero): Likewise.
26587 (ctan_test_downward): Likewise.
26588 (ctan_test_upward): Likewise.
26589 (ctanh_test): Likewise.
26590 (ctanh_test_tonearest): Likewise.
26591 (ctanh_test_towardzero): Likewise.
26592 (ctanh_test_downward): Likewise.
26593 (ctanh_test_upward): Likewise.
26594 (erf_test): Likewise.
26595 (erfc_test): Likewise.
26596 (exp_test): Likewise.
26597 (exp_test_tonearest): Likewise.
26598 (exp_test_towardzero): Likewise.
26599 (exp_test_downward): Likewise.
26600 (exp_test_upward): Likewise.
26601 (exp10_test): Likewise.
26602 (exp2_test): Likewise.
26603 (expm1_test): Likewise.
26604 (fmod_test): Likewise.
26605 (gamma_test): Likewise.
26606 (hypot_test): Likewise.
26607 (j0_test): Likewise.
26608 (j1_test): Likewise.
26609 (jn_test): Likewise.
26610 (lgamma_test): Likewise.
26611 (log_test): Likewise.
26612 (log10_test): Likewise.
26613 (log1p_test): Likewise.
26614 (log2_test): Likewise.
26615 (logb_test_downward): Likewise.
26616 (pow_test): Likewise.
26617 (pow_test_tonearest): Likewise.
26618 (pow_test_towardzero): Likewise.
26619 (pow_test_downward): Likewise.
26620 (pow_test_upward): Likewise.
26621 (remainder_test): Likewise.
26622 (remquo_test): Likewise.
26623 (sin_test): Likewise.
26624 (sin_test_tonearest): Likewise.
26625 (sin_test_towardzero): Likewise.
26626 (sin_test_downward): Likewise.
26627 (sin_test_upward): Likewise.
26628 (sincos_test): Likewise.
26629 (sinh_test): Likewise.
26630 (sinh_test_tonearest): Likewise.
26631 (sinh_test_towardzero): Likewise.
26632 (sinh_test_downward): Likewise.
26633 (sinh_test_upward): Likewise.
26634 (sqrt_test): Likewise.
26635 (tan_test): Likewise.
26636 (tan_test_tonearest): Likewise.
26637 (tan_test_towardzero): Likewise.
26638 (tan_test_downward): Likewise.
26639 (tan_test_upward): Likewise.
26640 (tanh_test): Likewise.
26641 (tgamma_test): Likewise.
26642 (y0_test): Likewise.
26643 (y1_test): Likewise.
26644 (yn_test): Likewise.
26645
323e5cb7
JM
26646 * math/gen-libm-test.pl (adjust_arg): Remove function.
26647 (special_function): Remove argument $in_func. Only handle
26648 generating output for tables of tests, not inside functions.
26649 (parse_args): Likewise.
26650 (generate_testfile): Remove variable $in_func. Update call to
26651 parse_args.
26652 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26653 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26654 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26655 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26656 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26657 (MAX_VALUE_INIT): Rename macro to max_value.
26658 (MIN_VALUE_INIT): Rename macro to min_value.
26659 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26660 (plus_zero): Remove variable.
26661 (minus_zero): Likewise.
26662 (plus_infty): Likewise.
26663 (minus_infty): Likewise.
26664 (qnan_value): Likewise.
26665 (max_value): Likewise.
26666 (min_value): Likewise.
26667 (min_subnorm_value): Likewise.
26668
e054f494
RA
266692013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26670
26671 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26672 uint64_t or uint32_t usage.
26673 * crypt/sha256-block.c: Likewise.
26674 * crypt/sha256-crypt.c: Likewise.
26675 * crypt/sha256.c: Likewise.
26676 * crypt/sha512-block.c: Likewise.
26677 * crypt/sha512-crypt.c: Likewise.
26678 * crypt/sha512.c: Likewise.
26679 * debug/backtrace-tst.c: Likewise.
26680 * debug/pcprofiledump.c: Likewise.
26681 * elf/cache.c: Likewise.
26682 * elf/dl-cache.c: Likewise.
26683 * elf/dl-misc.c: Likewise.
26684 * elf/dl-profile.c: Likewise.
26685 * elf/dl-support.c: Likewise.
26686 * elf/ldconfig.c: Likewise.
26687 * elf/sprof.c: Likewise.
26688 * iconv/dummy-repertoire.c: Likewise.
26689 * iconv/iconv_charmap.c: Likewise.
26690 * iconv/skeleton.c: Likewise.
26691 * iconvdata/8bit-generic.c: Likewise.
26692 * iconvdata/cp737.h: Likewise.
26693 * iconvdata/cp775.h: Likewise.
26694 * iconvdata/ibm1008.h: Likewise.
26695 * iconvdata/ibm1025.h: Likewise.
26696 * iconvdata/ibm1046.h: Likewise.
26697 * iconvdata/ibm1097.h: Likewise.
26698 * iconvdata/ibm1112.h: Likewise.
26699 * iconvdata/ibm1122.h: Likewise.
26700 * iconvdata/ibm1123.h: Likewise.
26701 * iconvdata/ibm1124.h: Likewise.
26702 * iconvdata/ibm1129.h: Likewise.
26703 * iconvdata/ibm1130.h: Likewise.
26704 * iconvdata/ibm1132.h: Likewise.
26705 * iconvdata/ibm1133.h: Likewise.
26706 * iconvdata/ibm1137.h: Likewise.
26707 * iconvdata/ibm1140.h: Likewise.
26708 * iconvdata/ibm1141.h: Likewise.
26709 * iconvdata/ibm1142.h: Likewise.
26710 * iconvdata/ibm1143.h: Likewise.
26711 * iconvdata/ibm1144.h: Likewise.
26712 * iconvdata/ibm1145.h: Likewise.
26713 * iconvdata/ibm1146.h: Likewise.
26714 * iconvdata/ibm1147.h: Likewise.
26715 * iconvdata/ibm1148.h: Likewise.
26716 * iconvdata/ibm1149.h: Likewise.
26717 * iconvdata/ibm1153.h: Likewise.
26718 * iconvdata/ibm1154.h: Likewise.
26719 * iconvdata/ibm1155.h: Likewise.
26720 * iconvdata/ibm1156.h: Likewise.
26721 * iconvdata/ibm1157.h: Likewise.
26722 * iconvdata/ibm1158.h: Likewise.
26723 * iconvdata/ibm1160.h: Likewise.
26724 * iconvdata/ibm1161.h: Likewise.
26725 * iconvdata/ibm1162.h: Likewise.
26726 * iconvdata/ibm1163.h: Likewise.
26727 * iconvdata/ibm1164.h: Likewise.
26728 * iconvdata/ibm1166.h: Likewise.
26729 * iconvdata/ibm1167.h: Likewise.
26730 * iconvdata/ibm12712.h: Likewise.
26731 * iconvdata/ibm1390.h: Likewise.
26732 * iconvdata/ibm1399.h: Likewise.
26733 * iconvdata/ibm16804.h: Likewise.
26734 * iconvdata/ibm4517.h: Likewise.
26735 * iconvdata/ibm4899.h: Likewise.
26736 * iconvdata/ibm4909.h: Likewise.
26737 * iconvdata/ibm4971.h: Likewise.
26738 * iconvdata/ibm5347.h: Likewise.
26739 * iconvdata/ibm803.h: Likewise.
26740 * iconvdata/ibm856.h: Likewise.
26741 * iconvdata/ibm901.h: Likewise.
26742 * iconvdata/ibm902.h: Likewise.
26743 * iconvdata/ibm9030.h: Likewise.
26744 * iconvdata/ibm9066.h: Likewise.
26745 * iconvdata/ibm921.h: Likewise.
26746 * iconvdata/ibm922.h: Likewise.
26747 * iconvdata/ibm9448.h: Likewise.
26748 * iconvdata/isiri-3342.h: Likewise.
26749 * iconvdata/jis0201.h: Likewise.
26750 * include/link.h: Likewise.
26751 * include/netdb.h: Likewise.
26752 * inet/check_native.c: Likewise.
26753 * inet/check_pf.c: Likewise.
26754 * inet/getipv4sourcefilter.c: Likewise.
26755 * inet/getnameinfo.c: Likewise.
26756 * inet/getsourcefilter.c: Likewise.
26757 * inet/htonl.c: Likewise.
26758 * inet/setipv4sourcefilter.c: Likewise.
26759 * inet/setsourcefilter.c: Likewise.
26760 * inet/test-inet6_opt.c: Likewise.
26761 * inet/tst-network.c: Likewise.
26762 * locale/C-collate.c: Likewise.
26763 * locale/C-ctype.c: Likewise.
26764 * locale/C-time.c: Likewise.
26765 * locale/C-translit.h: Likewise.
26766 * locale/loadarchive.c: Likewise.
26767 * locale/programs/3level.h: Likewise.
26768 * locale/programs/charmap.c: Likewise.
26769 * locale/programs/charmap.h: Likewise.
26770 * locale/programs/ld-address.c: Likewise.
26771 * locale/programs/ld-collate.c: Likewise.
26772 * locale/programs/ld-ctype.c: Likewise.
26773 * locale/programs/ld-identification.c: Likewise.
26774 * locale/programs/ld-measurement.c: Likewise.
26775 * locale/programs/ld-messages.c: Likewise.
26776 * locale/programs/ld-monetary.c: Likewise.
26777 * locale/programs/ld-name.c: Likewise.
26778 * locale/programs/ld-numeric.c: Likewise.
26779 * locale/programs/ld-paper.c: Likewise.
26780 * locale/programs/ld-telephone.c: Likewise.
26781 * locale/programs/ld-time.c: Likewise.
26782 * locale/programs/linereader.c: Likewise.
26783 * locale/programs/locale.c: Likewise.
26784 * locale/programs/locarchive.c: Likewise.
26785 * locale/programs/locfile.h: Likewise.
26786 * locale/programs/repertoire.c: Likewise.
26787 * locale/programs/simple-hash.c: Likewise.
26788 * locale/programs/simple-hash.h: Likewise.
26789 * malloc/memusage.c: Likewise.
26790 * malloc/memusagestat.c: Likewise.
26791 * nis/nis_defaults.c: Likewise.
26792 * nis/nis_hash.c: Likewise.
26793 * nis/nis_print.c: Likewise.
26794 * nis/nis_xdr.c: Likewise.
26795 * nscd/connections.c: Likewise.
26796 * nscd/hstcache.c: Likewise.
26797 * nscd/nscd_gethst_r.c: Likewise.
26798 * nscd/nscd_getserv_r.c: Likewise.
26799 * nscd/nscd_helper.c: Likewise.
26800 * nscd/servicescache.c: Likewise.
26801 * nss/makedb.c: Likewise.
26802 * nss/nss_db/db-XXX.c: Likewise.
26803 * nss/nss_db/db-initgroups.c: Likewise.
26804 * nss/nss_db/db-netgrp.c: Likewise.
26805 * nss/nss_files/files-network.c: Likewise.
26806 * nss/nss_files/files-parse.c: Likewise.
26807 * posix/bug-regex5.c: Likewise.
26808 * posix/fnmatch_loop.c: Likewise.
26809 * posix/regcomp.c: Likewise.
26810 * posix/regexec.c: Likewise.
26811 * posix/tst-rfc3484-2.c: Likewise.
26812 * posix/tst-rfc3484-3.c: Likewise.
26813 * posix/tst-rfc3484.c: Likewise.
26814 * resolv/nss_dns/dns-canon.c: Likewise.
26815 * resolv/nss_dns/dns-network.c: Likewise.
26816 * resolv/res_init.c: Likewise.
26817 * resolv/res_mkquery.c: Likewise.
26818 * resolv/tst-aton.c: Likewise.
26819 * stdlib/cxa_atexit.c: Likewise.
26820 * stdlib/cxa_finalize.c: Likewise.
26821 * stdlib/gen-fpioconst.c: Likewise.
26822 * stdlib/strtol_l.c: Likewise.
26823 * string/tst-endian.c: Likewise.
26824 * sunrpc/auth_des.c: Likewise.
26825 * sunrpc/clnt_udp.c: Likewise.
26826 * sunrpc/rtime.c: Likewise.
26827 * sunrpc/svcauth_des.c: Likewise.
26828 * sunrpc/xdr.c: Likewise.
26829 * sunrpc/xdr_intXX_t.c: Likewise.
26830 * sunrpc/xdr_rec.c: Likewise.
26831 * sysdeps/generic/ldconfig.h: Likewise.
26832 * sysdeps/generic/ldsodefs.h: Likewise.
26833 * sysdeps/generic/memusage.h: Likewise.
26834 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26836 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26837 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26838 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26840 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26844 * sysdeps/posix/getaddrinfo.c: Likewise.
26845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26847 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26848 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26849 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26850 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26851 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26852 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26853 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26854 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26855 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26856 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26857 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26858 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26859 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26860 * sysdeps/x86_64/dl-tls.h: Likewise.
26861 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26862 * time/alt_digit.c: Likewise.
26863 * time/era.c: Likewise.
26864 * wcsmbs/tst-c16c32-1.c: Likewise.
26865
8c75f674
JM
268662013-05-16 Joseph Myers <joseph@codesourcery.com>
26867
26868 * math/libm-test.inc (struct test_sincos_data): New type.
26869 (RUN_TEST_LOOP_sincos): New macro.
26870 (sincos_test_data): New variable.
26871 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26872
e6e49e59
RH
268732013-05-16 Richard Henderson <rth@redhat.com>
26874
26875 * math/atest-exp2.c (LIMB64): New macro.
26876 (CONSTSZ): New macro.
26877 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26878 (hexdig): Move ...
26879 (print_mpn_fp): ... to function scope.
26880 (read_mpn_hex): Remove.
26881 (get_log2): Remove.
26882 (exp2_mpn): Use mp_log2.
26883 (main): Use mp_exp1.
26884
15c7c18d
JM
268852013-05-16 Joseph Myers <joseph@codesourcery.com>
26886
105a07df
JM
26887 * math/libm-test.inc: Remove comment about not testing "inexact"
26888 exceptions.
26889 (INEXACT_EXCEPTION): New macro.
26890 (NO_INEXACT_EXCEPTION): Likewise.
26891 (INVALID_EXCEPTION_OK): Update value.
26892 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26893 (OVERFLOW_EXCEPTION_OK): Likewise.
26894 (UNDERFLOW_EXCEPTION_OK): Likewise.
26895 (IGNORE_ZERO_INF_SIGN): Likewise.
26896 (ERRNO_UNCHANGED): Likewise.
26897 (ERRNO_EDOM): Likewise.
26898 (ERRNO_ERANGE): Likewise.
26899 (test_exceptions): Handle testing "inexact" exceptions.
26900 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26901 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26902 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26903 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26904 INEXACT_EXCEPTION.
26905 (rint_towardzero_test_data): Likewise.
26906 (rint_downward_test_data): Likewise.
26907 (rint_upward_test_data): Likewise.
26908
e9eee333
JM
26909 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26910 with OVERFLOW_EXCEPTION.
26911 (exp10_test_data): Likewise.
26912 (exp2_test_data): Likewise.
26913 (expm1_test_data): Likewise.
26914 (lgamma_test_data): Likewise.
26915 (pow_test_data): Likewise.
26916 (tgamma_test_data): Likewise.
26917 (yn_test_data): Remove duplicate test of overflow.
26918
1c38ff73
JM
26919 * math/libm-test.inc (struct test_cc_c_data): New type.
26920 (RUN_TEST_LOOP_cc_c): New macro.
26921 (cpow_test_data): New variable.
26922 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26923
15c7c18d
JM
26924 * math/libm-test.inc (struct test_f_L_data): New type.
26925 (RUN_TEST_LOOP_f_L): New macro.
26926 (llrint_test_data): New variable.
26927 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26928 (llrint_tonearest_test_data): New variable.
26929 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26930 (llrint_towardzero_test_data): New variable.
26931 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26932 (llrint_downward_test_data): New variable.
26933 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26934 (llrint_upward_test_data): New variable.
26935 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26936 (llround_test_data): New variable.
26937 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26938
f137ff13
PC
269392013-05-13 Peter Collingbourne <pcc@google.com>
26940
26941 * math/atest-exp2.c (get_log2): Remove const attribute.
26942
3608cb24
JM
269432013-05-15 Joseph Myers <joseph@codesourcery.com>
26944
26945 * math/libm-test.inc (struct test_f_l_data): New type.
26946 (RUN_TEST_LOOP_f_l): New macro.
26947 (lrint_test_data): New variable.
26948 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26949 (lrint_tonearest_test_data): New variable.
26950 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26951 (lrint_towardzero_test_data): New variable.
26952 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26953 (lrint_downward_test_data): New variable.
26954 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26955 (lrint_upward_test_data): New variable.
26956 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26957 (lround_test_data): New variable.
26958 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26959
39b1f617
PC
269602013-05-15 Peter Collingbourne <pcc@google.com>
26961
1deff3dc
PC
26962 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26963 (EXTRACT_WORDS64) Use where appropriate.
26964 (INSERT_WORDS64) Likewise.
26965
791f3ba0
PC
26966 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26967 constraints with x constraints.
26968 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26969
39b1f617
PC
26970 * malloc/obstack.c (_obstack_compat): Add initializer.
26971
12fba011
EM
269722013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26973
26974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26975 si_trapno and add si_addr_lsb to _sifields.sigfault.
26976 (si_trapno): Remove macro.
26977 (si_addr_lsb): Define new macro.
26978 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26979
d369f531
JM
269802013-05-15 Joseph Myers <joseph@codesourcery.com>
26981
b861c6c4
JM
26982 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26983 instead of TEST_f_l.
26984 (llrint_test_tonearest): Likewise.
26985 (llrint_test_towardzero): Likewise.
26986 (llrint_test_downward): Likewise.
26987 (llrint_test_upward): Likewise.
26988 (llround_test): Likewise.
26989
7abeee12
JM
26990 * math/libm-test.inc (struct test_f_i_data): Add comment.
26991 (RUN_TEST_LOOP_f_b): New macro.
26992 (RUN_TEST_LOOP_f_b_tg): Likewise.
26993 (finite_test_data): New variable.
26994 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26995 (isfinite_test_data): New variable.
26996 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26997 (isinf_test_data): New variable.
26998 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26999 (isnan_test_data): New variable.
27000 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27001 (isnormal_test_data): New variable.
27002 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27003 (issignaling_test_data): New variable.
27004 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27005 (signbit_test_data): New variable.
27006 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27007
cbe8c4d3
JM
27008 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27009 with INVALID_EXCEPTION.
27010 (acosh_test_data): Likewise.
27011 (asin_test_data): Likewise.
27012 (atanh_test_data): Likewise.
27013 (fmod_test_data): Likewise.
27014 (log_test_data): Likewise.
27015 (log10_test_data): Likewise.
27016 (log2_test_data): Likewise.
27017 (pow_test_data): Likewise.
27018 (sqrt_test_data): Likewise.
27019 (y0_test_data): Likewise.
27020 (y1_test_data): Likewise.
27021 (yn_test_data): Likewise.
27022
5575c0e5
JM
27023 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27024 function contents.
27025
d369f531
JM
27026 * math/libm-test.inc (struct test_ff_i_data): New type.
27027 (RUN_TEST_LOOP_ff_i_tg): New macro.
27028 (isgreater_test_data): New variable.
27029 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27030 (isgreaterequal_test_data): New variable.
27031 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27032 (isless_test_data): New variable.
27033 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27034 (islessequal_test_data): New variable.
27035 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27036 (islessgreater_test_data): New variable.
27037 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27038 (isunordered_test_data): New variable.
27039 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27040
781fd748
DM
270412013-05-14 David S. Miller <davem@davemloft.net>
27042
27043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27044
87aa21df
JM
270452013-05-14 Joseph Myers <joseph@codesourcery.com>
27046
5e908270
JM
27047 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27048
f71172e5
JM
27049 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27050 extra_test to int.
27051 (struct test_f_i_data): Change type of max_ulp to int.
27052
8cfa635a
JM
27053 * math/libm-test.inc (test_ffI_f1_data): New type.
27054 (RUN_TEST_LOOP_ffI_f1): New macro.
27055 (remquo_test_data): New variable.
27056 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27057
2bcb36b2
JM
27058 * setjmp/tst-setjmp-fp.c: New file.
27059 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27060 (link-libm): New variable.
27061 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27062
acbd839a
JM
27063 * math/libm-test.inc (struct test_f_i_data): New type.
27064 (RUN_TEST_LOOP_f_i): New macro.
27065 (RUN_TEST_LOOP_f_i_tg): Likewise.
27066 (fpclassify_test_data): New variable.
27067 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27068 (ilogb_test_data): New variable.
27069 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27070
e414d745
JM
27071 * math/libm-test.inc (scalbln_test): Correct function name in END
27072 call.
27073
d9c2a0fd
JM
27074 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27075 (RUN_TEST_LOOP_fI_f1): New macro.
27076 (frexp_test_data): New variable.
27077 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27078
9dc9095d
JM
27079 * math/libm-test.inc (struct test_fF_f1_data): New type.
27080 (RUN_TEST_LOOP_fF_f1): New macro.
27081 (modf_test_data): New variable.
27082 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27083
87aa21df
JM
27084 * math/libm-test.inc (struct test_f_f1_data): New type.
27085 (RUN_TEST_LOOP_f_f1): New macro.
27086 (gamma_test_data): New variable.
27087 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27088 (lgamma_test_data): New variable.
27089 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27090
141af660
CD
270912013-05-13 Carlos O'Donell <carlos@redhat.com>
27092
27093 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27094 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27095 (main): Comment "tls" pseudo-hwcap.
27096
6d33265c
JM
270972013-05-13 Joseph Myers <joseph@codesourcery.com>
27098
68fc074c
JM
27099 * math/libm-test.inc (struct test_fl_f_data): New type.
27100 (RUN_TEST_LOOP_fl_f): New variable.
27101 (scalbln_test_data): New variable.
27102 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27103
243216e1
JM
27104 * math/libm-test.inc (struct test_fi_f_data): New type.
27105 (RUN_TEST_LOOP_fi_f): New macro.
27106 (ldexp_test_data): New variable.
27107 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27108 (scalbn_test_data): New variable.
27109 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27110
6a1992e2
JM
27111 * math/libm-test.inc (struct test_c_f_data): New type.
27112 (RUN_TEST_LOOP_c_f): New macro.
27113 (cabs_test_data): New variable.
27114 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27115 (carg_test_data): New variable.
27116 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27117 (cimag_test_data): New variable.
27118 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27119 (creal_test_data): New variable.
27120 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27121
0e400df5
JM
27122 * math/libm-test.inc (struct test_if_f_data): New type.
27123 (RUN_TEST_LOOP_if_f): New macro.
27124 (jn_test_data): New variable.
27125 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27126 (yn_test_data): New variable.
27127 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27128
6d33265c
JM
27129 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27130
f98ece5f
AZ
271312013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27132
27133 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27134 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27135
0f7d347b
SP
271362013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27137
43fe811b
SP
27138 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27139 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27140 (bench-deps): Add bench-timing.h.
27141 * benchtests-bench-skeleton.c: Include bench-timing.h.
27142 (main): Use TIMING_* macros instead of clock_gettime.
27143 * benchtests/bench-timing.h: New file.
27144
0f7d347b
SP
27145 [BZ #14582]
27146 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27147 Renamed from _LIB_VERSION.
27148 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27149
601a3a5f
JM
271502013-05-12 Joseph Myers <joseph@codesourcery.com>
27151
4f184d30
JM
27152 * math/libm-test.inc (struct test_fff_f_data): New type.
27153 (RUN_TEST_LOOP_fff_f): New macro.
27154 (fma_test_data): New variable.
27155 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27156 (fma_towardzero_test_data): New variable.
27157 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27158 (fma_downward_test_data): New variable.
27159 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27160 (fma_upward_test_data): New variable.
27161 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27162
08198877
JM
27163 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27164 (struct test_c_c_data): New type.
27165 (RUN_TEST_LOOP_c_c): New macro.
27166 (cacos_test_data): New variable.
27167 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27168 (cacosh_test_data): New variable.
27169 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27170 (casin_test_data): New variable.
27171 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27172 (casinh_test_data): New variable.
27173 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27174 (catan_test_data): New variable.
27175 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27176 (catanh_test_data): New variable.
27177 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27178 (ccos_test_data): New variable.
27179 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27180 (ccosh_test_data): New variable.
27181 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27182 (cexp_test_data): New variable.
27183 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27184 (clog_test_data): New variable.
27185 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27186 (clog10_test_data): New variable.
27187 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27188 (conj_test_data): New variable.
27189 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27190 (cproj_test_data): New variable.
27191 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27192 (csin_test_data): New variable.
27193 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27194 (csinh_test_data): New variable.
27195 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27196 (csqrt_test_data): New variable.
27197 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27198 (ctan_test_data): New variable.
27199 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27200 (ctan_tonearest_test_data): New variable.
27201 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27202 (ctan_towardzero_test_data): New variable.
27203 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27204 (ctan_downward_test_data): New variable.
27205 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27206 (ctan_upward_test_data): New variable.
27207 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27208 (ctanh_test_data): New variable.
27209 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27210 (ctanh_tonearest_test_data): New variable.
27211 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27212 (ctanh_towardzero_test_data): New variable.
27213 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27214 (ctanh_downward_test_data): New variable.
27215 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27216 (ctanh_upward_test_data): New variable.
27217 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27218 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27219 of BUILD_COMPLEX.
27220
601a3a5f
JM
27221 * math/libm-test.inc (struct test_ff_f_data): New type.
27222 (struct test_ff_f_data_nexttoward): Likewise.
27223 (RUN_TEST_LOOP_2_f): New macro.
27224 (RUN_TEST_LOOP_ff_f): Likewise.
27225 (atan2_test_data): New variable.
27226 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27227 (copysign_test_data): New variable.
27228 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27229 (fdim_test_data): New variable.
27230 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27231 (fmax_test_data): New variable.
27232 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27233 (fmin_test_data): New variable.
27234 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27235 (fmod_test_data): New variable.
27236 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27237 (hypot_test_data): New variable.
27238 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27239 (nextafter_test_data): New variable.
27240 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27241 (nexttoward_test_data): New variable.
27242 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27243 (pow_test_data): New variable.
27244 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27245 (pow_tonearest_test_data): New variable.
27246 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27247 (pow_towardzero_test_data): New variable.
27248 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27249 (pow_downward_test_data): New variable.
27250 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27251 (pow_upward_test_data): New variable.
27252 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27253 (remainder_test_data): New variable.
27254 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27255 (scalb_test_data): New variable.
27256 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27257 * sysdeps/i386/fpu/libm-test-ulps: Update.
27258
74c57478
JM
272592013-05-11 Joseph Myers <joseph@codesourcery.com>
27260
8329e4da
JM
27261 * math/libm-test.inc (fma_test): Use max_value instead of local
27262 variable fltmax.
27263 (nextafter_test): Likewise.
27264
74c57478
JM
27265 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27266 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27267 (acos_downward_test_data): New variable.
27268 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27269 (acos_upward_test_data): New variable.
27270 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27271 (acosh_test_data): New variable.
27272 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27273 (asin_test_data): New variable.
27274 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27275 (asin_tonearest_test_data): New variable.
27276 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27277 (asin_towardzero_test_data): New variable.
27278 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27279 (asin_downward_test_data): New variable.
27280 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27281 (asin_upward_test_data): New variable.
27282 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27283 (asinh_test_data): New variable.
27284 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27285 (atan_test_data): New variable.
27286 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27287 (atanh_test_data): New variable.
27288 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27289 (cbrt_test_data): New variable.
27290 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27291 (ceil_test_data): New variable.
27292 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27293 (cos_test_data): New variable.
27294 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27295 (cos_tonearest_test_data): New variable.
27296 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27297 (cos_towardzero_test_data): New variable.
27298 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27299 (cos_downward_test_data): New variable.
27300 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27301 (cos_upward_test_data): New variable.
27302 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27303 (cosh_test_data): New variable.
27304 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27305 (cosh_tonearest_test_data): New variable.
27306 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27307 (cosh_towardzero_test_data): New variable.
27308 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27309 (cosh_downward_test_data): New variable.
27310 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27311 (cosh_upward_test_data): New variable.
27312 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27313 (erf_test_data): New variable.
27314 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27315 (erfc_test_data): New variable.
27316 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27317 (exp_test_data): New variable.
27318 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27319 (exp_tonearest_test_data): New variable.
27320 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27321 (exp_towardzero_test_data): New variable.
27322 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27323 (exp_downward_test_data): New variable.
27324 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27325 (exp_upward_test_data): New variable.
27326 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27327 (exp10_test_data): New variable.
27328 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27329 (exp2_test_data): New variable.
27330 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27331 (expm1_test_data): New variable.
27332 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27333 (fabs_test_data): New variable.
27334 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27335 (floor_test_data): New variable.
27336 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27337 (j0_test_data): New variable.
27338 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27339 (j1_test_data): New variable.
27340 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27341 (log_test_data): New variable.
27342 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27343 (log10_test_data): New variable.
27344 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27345 (log1p_test_data): New variable.
27346 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27347 (log2_test_data): New variable.
27348 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27349 (logb_test_data): New variable.
27350 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27351 (logb_downward_test_data): New variable.
27352 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27353 (nearbyint_test_data): New variable.
27354 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27355 (rint_test_data): New variable.
27356 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27357 (rint_tonearest_test_data): New variable.
27358 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27359 (rint_towardzero_test_data): New variable.
27360 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27361 (rint_downward_test_data): New variable.
27362 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27363 (rint_upward_test_data): New variable.
27364 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27365 (round_test_data): New variable.
27366 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27367 (sin_test_data): New variable.
27368 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27369 (sin_tonearest_test_data): New variable.
27370 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27371 (sin_towardzero_test_data): New variable.
27372 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27373 (sin_downward_test_data): New variable.
27374 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27375 (sin_upward_test_data): New variable.
27376 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27377 (sinh_test_data): New variable.
27378 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27379 (sinh_tonearest_test_data): New variable.
27380 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27381 (sinh_towardzero_test_data): New variable.
27382 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27383 (sinh_downward_test_data): New variable.
27384 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27385 (sinh_upward_test_data): New variable.
27386 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27387 (sqrt_test_data): New variable.
27388 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27389 (tan_test_data): New variable.
27390 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27391 (tan_tonearest_test_data): New variable.
27392 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27393 (tan_towardzero_test_data): New variable.
27394 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27395 (tan_downward_test_data): New variable.
27396 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27397 (tan_upward_test_data): New variable.
27398 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27399 (tanh_test_data): New variable.
27400 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27401 (tgamma_test_data): New variable.
27402 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27403 (trunc_test_data): New variable.
27404 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27405 (y0_test_data): New variable.
27406 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27407 (y1_test_data): New variable.
27408 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27409 (significand_test_data): New variable.
27410 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27411
7187d844
CG
274122013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27413
27414 [BZ #12387]
27415 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27416
f63fae73
PT
274172013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27418
27419 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27420
8a67a4b3
AJ
274212013-05-10 Andreas Jaeger <aj@suse.de>
27422
27423 [BZ #15448]
27424 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27425 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27426
51df539d
JM
274272013-05-10 Joseph Myers <joseph@codesourcery.com>
27428
27429 * math/gen-libm-test.pl (adjust_arg): New function.
27430 (special_functions): Handle generating output in both functions
27431 and arrays.
27432 (parse_args): Likewise.
27433 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27434 $in_func argument to parse_args.
27435 * math/libm-test.inc (struct test_f_f_data): New type.
27436 (IF_ROUND_INIT_): New macro.
27437 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27438 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27439 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27440 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27441 (ROUND_RESTORE_): Likewise.
27442 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27443 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27444 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27445 (ROUND_RESTORE_FE_UPWARD): Likewise.
27446 (RUN_TEST_LOOP_f_f): New macro.
27447 (acos_test_data): New variable.
27448 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27449 (acos_tonearest_test_data): New variable.
27450 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27451
5c637fe5
SP
274522013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27453
27454 * benchtests/bench-skeleton.c (startup): Fix coding style.
27455
ab2b9461
JM
274562013-05-10 Joseph Myers <joseph@codesourcery.com>
27457
27458 [BZ #6809]
27459 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27460 negative infinity argument.
27461 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27462 negative infinity argument.
27463 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27464 negative infinity argument.
27465 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27466 domain errors.
27467
4c0fe6fe
FW
274682013-05-10 Florian Weimer <fweimer@redhat.com>
27469
27470 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27471 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27472 * iconv/iconv_prog.c (main): Likewise.
27473 * locale/programs/charmap-dir.c (charmap_readdir)
27474 (fopen_uncompressed): Likewise.
27475 * locale/programs/locfile.c (siblings_uncached)
27476 (write_locale_data): Use lstat64 instead of lstat.
27477 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27478 stat.
27479
a3375d29
AJ
274802013-05-10 Andreas Jaeger <aj@suse.de>
27481
27482 [BZ #15395]
27483 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27484 localization.
27485 Include <locale.h>.
27486
36129722
CD
274872013-05-09 Carlos O'Donell <carlos@redhat.com>
27488
27489 * elf/dl-close.c (_dl_close_worker): Add comments.
27490
faa7f811
JM
274912013-05-09 Joseph Myers <joseph@codesourcery.com>
27492
ed41ffef
JM
27493 [BZ #15359]
27494 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27495 high part of pi/2.
27496 (__ieee754_rem_pio2l): Update comments.
27497
d0213cd0
JM
27498 [BZ #15429]
27499 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27500 high part of pi/2.
27501 (__ieee754_rem_pio2l): Update comments.
27502
0d3e777a
JM
27503 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27504 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27505
24f56066
JM
27506 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27507 M_PI_4l.
27508
faa7f811
JM
27509 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27510 (M_PI_34_LOG10El): Likewise.
27511 (M_PI2_LOG10El): Likewise.
27512 (M_PI4_LOG10El): Likewise.
27513 (M_PI_LOG10El): Likewise.
27514
e9a5e0fd
AZ
275152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27516
27517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27518
d8cd06db
JM
275192013-05-08 Joseph Myers <joseph@codesourcery.com>
27520
a0d9f9d7
JM
27521 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27522 (MINUS_ZERO_INIT): Likewise.
27523 (PLUS_INFTY_INIT): Likewise.
27524 (MINUS_INFTY_INIT): Likewise.
27525 (QNAN_VALUE_INIT): Likewise.
27526 (MAX_VALUE_INIT): Likewise.
27527 (MIN_VALUE_INIT): Likewise.
27528 (MIN_SUBNORM_VALUE_INIT): Likewise.
27529 (plus_zero): Initialize with PLUS_ZERO_INIT.
27530 (minus_zero): Initialize with MINUS_ZERO_INIT.
27531 (plus_infty): Initialize with PLUS_INFTY_INIT.
27532 (minus_infty): Initialize with MINUS_INFTY_INIT.
27533 (qnan_value): Initialize with QNAN_VALUE_INIT.
27534 (max_value): Initialize with MAX_VALUE_INIT.
27535 (min_value): Initialize with MIN_VALUE_INIT.
27536 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27537
ae08db3b
JM
27538 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27539 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27540 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27541 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27542
f44bf14a
JM
27543 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27544 (RUN_TEST_2_f): Likewise.
27545 (RUN_TEST_ff_f): Likewise.
27546 (RUN_TEST_fi_f): Likewise.
27547 (RUN_TEST_fl_f): Likewise.
27548 (RUN_TEST_fff_f): Likewise.
27549 (RUN_TEST_c_f): Likewise.
27550 (RUN_TEST_f_f1): Likewise.
27551 (RUN_TEST_fF_f1): Likewise.
27552 (RUN_TEST_fI_f1): Likewise.
27553 (RUN_TEST_ffI_f1): Likewise.
27554 (RUN_TEST_c_c): Likewise.
27555 (RUN_TEST_cc_c): Likewise.
27556 (RUN_TEST_f_i): Likewise.
27557 (RUN_TEST_f_i_tg): Likewise.
27558 (RUN_TEST_ff_i_tg): Likewise.
27559 (RUN_TEST_f_b): Likewise.
27560 (RUN_TEST_f_b_tg): Likewise.
27561 (RUN_TEST_f_l): Likewise.
27562 (RUN_TEST_f_L): Likewise.
27563 (RUN_TEST_sincos): Likewise.
27564 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27565 whether to show exceptions. Do not include ");\n" in return
27566 value.
27567 (special_functions): Output call to RUN_TEST_sincos instead of
27568 check_float calls. Update calls to new_test.
27569 (parse_args): Output call to single RUN_TEST_* macro instead of
27570 check_* calls and other assignments. Update calls to new_test.
27571
d8cd06db
JM
27572 [BZ #2546]
27573 [BZ #2560]
27574 [BZ #5159]
27575 [BZ #15426]
27576 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27577 input to result for tgamma overflow.
27578 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27579 (gamma_coeff): New variable.
27580 (NCOEFF): New macro.
27581 (gamma_positive): New function.
27582 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27583 underflow here. Use gamma_positive instead of exp (lgamma) for
27584 other arguments.
27585 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27586 (gamma_coeff): New variable.
27587 (NCOEFF): New macro.
27588 (gammaf_positive): New function.
27589 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27590 underflow here. Use gamma_positive instead of exp (lgamma) for
27591 other arguments.
27592 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27593 (gamma_coeff): New variable.
27594 (NCOEFF): New macro.
27595 (gammal_positive): New function.
27596 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27597 underflow here. Use gamma_positive instead of exp (lgamma) for
27598 other arguments.
27599 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27600 (gamma_coeff): New variable.
27601 (NCOEFF): New macro.
27602 (gammal_positive): New function.
27603 (__ieee754_gammal_r): Handle positive infinity, overflow and
27604 underflow here. Handle NaN the same as positive infinity. Remove
27605 check x < 0xffffffff for negative integers. Use gamma_positive
27606 instead of exp (lgamma) for other arguments.
27607 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27608 (gamma_coeff): New variable.
27609 (NCOEFF): New macro.
27610 (gammal_positive): New function.
27611 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27612 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27616 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27617 * sysdeps/generic/math_private.h (__gamma_productf): New
27618 prototype.
27619 (__gamma_product): Likewise.
27620 (__gamma_productl): Likewise.
27621 * math/Makefile (libm-calls): Add gamma_product.
27622 * math/libm-test.inc (tgamma_test): Add more tests.
27623 * sysdeps/i386/fpu/libm-test-ulps: Update.
27624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27625
bb7cf681
OB
276262013-05-08 Ondřej Bílka <neleai@seznam.cz>
27627
27628 * benchtests/bench-skeleton.c (main): Preheat CPU.
27629
ba853947
AJ
276302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27631
27632 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27633
8347c74c
RM
276342013-05-07 Roland McGrath <roland@hack.frob.com>
27635
27636 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27637 and _dl_skip_args_internal.
27638
e8dd4791
CD
276392013-05-07 Carlos O'Donell <carlos@redhat.com>
27640
27641 * manual/message.texi (Message Translation): Talk about users.
27642 Message to key mapping impacts design.
27643
c7405830
RM
276442013-05-06 Roland McGrath <roland@hack.frob.com>
27645
a9173057
RM
27646 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27647
976e2f03
RM
27648 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27649
9723ffc5
RM
27650 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27651 * sysdeps/wordsize-64/glob64.c: ... here.
27652
962e6658
RM
27653 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27654 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27655 New macros.
27656
ee586a6d
RM
27657 * debug/getlogin_r_chk.c: Moved to ...
27658 * login/getlogin_r_chk.c: ... here.
27659 * debug/Makefile (routines): Move getlogin_r_chk to ...
27660 * login/Makefile (routines): ... here.
27661 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27662 * login/Versions (libc: GLIBC_2.4): ... here.
27663
355f9165
RM
27664 * io/poll.c (__poll): Renamed from poll.
27665 Add libc_hidden_def.
27666 (poll): Define as weak alias.
27667
bd9ffde6
RM
27668 * debug/ptsname_r_chk.c: Moved to ...
27669 * login/ptsname_r_chk.c: ... here.
27670 * debug/Makefile (routines): Move ptsname_r_chk to ...
27671 * login/Makefile (routines): ... here.
27672 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27673 * login/Versions (libc: GLIBC_2.4): ... here.
27674
8fb16a04
RM
27675 * posix/getlogin.c: Moved to ...
27676 * login/getlogin.c: ... here.
27677 * posix/getlogin_r.c: Moved to ...
27678 * login/getlogin_r.c: ... here.
27679 * posix/getlogin_r.c: Moved to ...
27680 * login/getlogin_r.c: ... here.
27681 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27682 * login/Makefile (routines): ... here.
27683 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27684 * login/Versions (libc: GLIBC_2.0): ... here.
27685
b99b892f
RM
27686 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27687 (setrlimit): Define as weak alias.
27688
c7405830
RM
27689 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27690 Call __ names for open, ftruncate, and close.
27691 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27692 (truncate): Define as weak alias.
27693
5bf96de5
JM
276942013-05-06 Joseph Myers <joseph@codesourcery.com>
27695
9ea3513c
JM
27696 * math/gen-libm-test.pl (parse_args): Initialize x before each
27697 test of frexp, modf and remquo.
27698
5bf96de5
JM
27699 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27700 test signgam value.
27701
16e616a7
AZ
277022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27703
27704 [BZ #15418]
27705 [BZ #15419]
27706 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27707 internal tests.
27708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27709
d5e82754
RM
277102013-05-06 Roland McGrath <roland@hack.frob.com>
27711
27712 * elf/dl-writev.h: New file.
27713 * elf/dl-misc.c: Include it.
27714 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27715 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27716
a7548d41
JM
277172013-05-04 Joseph Myers <joseph@codesourcery.com>
27718
b7dab1e4
JM
27719 * math/libm-test.inc (noXFails): Remove variable.
27720 (noXPasses): Likewise.
27721 (BUILD_COMPLEX_INT): Remove macro.
27722 (print_screen): Remove xfail argument.
27723 (print_screen_max_error): Likewise.
27724 (update_stats): Likewise.
27725 (print_max_error): Likewise. Update calls to other affected
27726 functions.
27727 (print_complex_max_error): Likewise.
27728 (test_single_exception): Update calls to print_screen.
27729 (test_single_errno): Likewise.
27730 (check_float_internal): Remove xfail argument. Update calls to
27731 other affected functions.
27732 (check_float): Likewise.
27733 (check_complex): Likewise.
27734 (check_int): Likewise.
27735 (check_long): Likewise.
27736 (check_bool): Likewise.
27737 (check_longlong): Likewise.
27738 (main): Don't print noXFails and noXPasses.
27739 * math/gen-libm-test.pl (top level): Don't mention expected
27740 failure handling in comment.
27741 (new_test): Don't handle expected failures.
27742 (parse_args): Don't mention expected failure handling in comment.
27743 (generate_testfile): Don't handle expected failures.
27744 (parse_ulps): Likewise.
27745 (print_ulps_file): Likewise.
27746 (get_failure): Remove function.
27747 (output_test): Don't handle expected failures.
27748 * make/README.libm-test: Don't mention expected failure handling.
27749
a7548d41
JM
27750 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27751 (minus_zero): Likewise.
27752 (plus_infty): Likewise.
27753 (minus_infty): Likewise.
27754 (qnan_value): Likewise.
27755 (max_value): Likewise.
27756 (min_value): Likewise.
27757 (min_subnorm_value): Likewise.
27758 (initialize): Do not initialize those variables dynamically.
27759
60bfd54c
RM
277602013-05-03 Roland McGrath <roland@hack.frob.com>
27761
cc0e6ed8
RM
27762 * io/open.c (__open_2): Moved to ...
27763 * io/open_2.c: ... this new file.
27764 * io/open64.c (__open64_2): Moved to ...
27765 * io/open64_2.c: ... this new file.
27766 * io/openat.c (__openat_2): Moved to ...
27767 * io/openat_2.c: ... this new file.
27768 * io/openat64.c (__openat64_2): Moved to ...
27769 * io/openat64_2.c: ... this new file.
27770 * io/Makefile (routines): Add them.
27771 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27772 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27773 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27774 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27775 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27776 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27777 (__openat64): Add hidden_ver.
27778 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27779 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27780
60bfd54c
RM
27781 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27782 Separately conditionalize setting of GLRO(dl_sysinfo) so
27783 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27784 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27785
83e7640f
AZ
277862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27787
27788 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27790 definition.
27791 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27792 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27793 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27794 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27795 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27796
d5dc2af3
JM
277972013-05-03 Joseph Myers <joseph@codesourcery.com>
27798
c31a5b1e
JM
27799 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27800 test signgam value.
27801
d5dc2af3
JM
27802 * math/libm-test.inc (hypot_test): Do not use
27803 IGNORE_ZERO_INF_SIGN.
27804
164fd39d
AJ
278052013-05-03 Andreas Jaeger <aj@suse.de>
27806
27807 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27808 Linux 3.9.
27809 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27810 (PF_MAX): Adjust for VSOCK change.
27811
8237f48c
AZ
278122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27813
27814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27815
9df02941
CD
278162013-05-02 Carlos O'Donell <carlos@redhat.com>
27817
27818 [BZ #15264]
27819 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27820 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27821 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27822
d422395e
DM
278232013-05-02 David S. Miller <davem@davemloft.net>
27824
27825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27826
a07c5731
OB
278272013-05-01 Ondřej Bílka <neleai@seznam.cz>
27828
27829 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27830
1324e37f
RM
278312013-05-01 Roland McGrath <roland@hack.frob.com>
27832
27833 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27834
0695940b
RS
278352013-05-01 Richard Smith <richard@metafoo.co.uk>
27836
bb5f27ad 27837 [BZ #14952]
0695940b
RS
27838 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27839 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27840 Use __attribute__ ((__gnu_inline__)).
27841 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27842 Don't use __attribute__ ((__gnu_inline__)).
27843
10de07f5
JM
278442013-05-01 Joseph Myers <joseph@codesourcery.com>
27845
27846 [BZ #15423]
27847 * math/s_catan.c (__catan): Handle small real or imaginary part of
27848 input specially to avoid spurious underflow.
27849 * math/s_catanf.c (__catanf): Likewise.
27850 * math/s_catanh.c (__catanh): Likewise.
27851 * math/s_catanhf.c (__catanhf): Likewise.
27852 * math/s_catanhl.c (__catanhl): Likewise.
27853 * math/s_catanl.c (__catanl): Likewise.
27854 * math/libm-test.inc (catan_test): Add more tests.
27855 (catanh_test): Likewise.
27856 * sysdeps/i386/fpu/libm-test-ulps: Update.
27857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27858
cb4d5414
AZ
278592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27860
27861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27862
caf84319
JM
278632013-04-30 Joseph Myers <joseph@codesourcery.com>
27864
27865 [BZ #15416]
27866 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27867 accurately for denominator in atan2.
27868 * math/s_catanf.c (__catanf): Likewise.
27869 * math/s_catanh.c (__catanh): Likewise.
27870 * math/s_catanhf.c (__catanhf): Likewise.
27871 * math/s_catanhl.c (__catanhl): Likewise.
27872 * math/s_catanl.c (__catanl): Likewise.
27873 * math/libm-test.inc (catan_test): Add more tests.
27874 (catanh_test): Likewise.
27875 * sysdeps/i386/fpu/libm-test-ulps: Update.
27876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27877
d569c6ee
SP
278782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27879
6dbe713d
SP
27880 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27881
f0ee064b
SP
27882 * benchtests/Makefile (bench): Remove slow benchmarks.
27883 * benchtests/atan-inputs: Add slow benchmark inputs.
27884 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27885 (BENCH_FUNC): Accept variant offset.
27886 (VARIANT): Define.
27887 * benchtests/bench-skeleton.c (main): Run benchmark for each
27888 variant.
27889 * benchtests/cos-inputs: Add slow benchmark inputs.
27890 * benchtests/exp-inputs: Likewise.
27891 * benchtests/pow-inputs: Likewise.
27892 * benchtests/sin-inputs: Likewise.
27893 * benchtests/slowatan-inputs: Remove.
27894 * benchtests/slowatan.c: Remove.
27895 * benchtests/slowcos-inputs: Remove.
27896 * benchtests/slowcos.c: Remove.
27897 * benchtests/slowexp-inputs: Remove.
27898 * benchtests/slowexp.c: Remove.
27899 * benchtests/slowpow-inputs: Remove.
27900 * benchtests/slowpow.c: Remove.
27901 * benchtests/slowsin-inputs: Remove.
27902 * benchtests/slowsin.c: Remove.
27903 * benchtests/slowtan-inputs: Remove.
27904 * benchtests/slowtan.c: Remove.
27905 * benchtests/tan-inputs: Add slow benchmark inputs.
27906 * scripts/bench.pl: Parse comments and directives.
27907
d569c6ee
SP
27908 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27909 in CPPFLAGS.
27910 ($(objpfx)bench-%.c): Remove *-ITER.
27911 * benchtests/bench-modf.c: Remove definition of ITER.
27912 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27913 (main): Loop for DURATION seconds instead of fixed number of
27914 iterations.
27915 * scripts/bench.pl: Don't expect iterations in parameters.
27916
a6a242fe
RM
279172013-04-29 Roland McGrath <roland@hack.frob.com>
27918
27919 * io/fchdir.c (__fchdir): Renamed from fchdir.
27920 (fchdir): Define as weak alias.
27921
f2da7793
JM
279222013-04-29 Joseph Myers <joseph@codesourcery.com>
27923
27924 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27925 (ERRNO_EDOM): Likewise.
27926 (ERRNO_ERANGE): Likewise.
27927 (noErrnoTests): New variable.
27928 (init_max_error): Set errno to 0.
27929 (test_single_errno): New function.
27930 (test_errno): Likewise.
27931 (check_float_internal): Call test_errno. Set errno to 0.
27932 (check_complex): Refer to errno tests in comment.
27933 (check_int): Call test_errno. Set errno to 0.
27934 (check_long): Likewise.
27935 (check_bool): Likewise.
27936 (check_longlong): Likewise.
27937 (cos_test): Use ERRNO_* flags for errno tests instead of
27938 check_int.
27939 (expm1_test): Likewise.
27940 (fmod_test): Likewise.
27941 (ilogb_test): Likewise.
27942 (lgamma_test): Likewise.
27943 (pow_test): Likewise.
27944 (remainder_test): Likewise.
27945 (sin_test): Likewise.
27946 (tan_test): Likewise.
27947 (yn_test): Likewise.
27948 (initialize): Set errno to 0.
27949 (main): Print number of errno tests.
27950 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27951
b1a36ceb
AJ
279522013-04-29 Andreas Jaeger <aj@suse.de>
27953
c3ed8088
AJ
27954 [BZ #15084]
27955 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27956 and RES_USEVC.
27957
f1a24198
AJ
27958 [BZ #15085]
27959 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27960 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27961 unimplemented.
27962
9ce3b2cb
AJ
27963 [BZ #15380]
27964 * stdlib/random.c (__initstate): Return NULL if
27965 __initstate fails.
27966
f1a24198 27967 [BZ #15086]
b1a36ceb
AJ
27968 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27969 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27970 RES_SNGLKUPREOP.
27971
7e7b6f36
AZ
279722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27973
27974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27975
4d14f449
JM
279762013-04-29 Joseph Myers <joseph@codesourcery.com>
27977
27978 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27979 of individual tests.
27980 (casin_test): Likewise.
27981 (casinh_test): Likewise.
27982
5b4217d7
JM
279832013-04-27 Joseph Myers <joseph@codesourcery.com>
27984
27985 [BZ #15409]
27986 * math/s_catan.c (__catan): Handle arguments with large real or
27987 imaginary part separately without squaring.
27988 * math/s_catanf.c (__catanf): Likewise.
27989 * math/s_catanh.c (__catanh): Likewise.
27990 * math/s_catanhf.c (__catanhf): Likewise.
27991 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27992 and redefine.
27993 (__catanhl): Handle arguments with large real or imaginary part
27994 separately without squaring.
27995 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27996 and redefine.
27997 (__catanl): Handle arguments with large real or imaginary part
27998 separately without squaring.
27999 * math/libm-test.inc (catan_test): Add more tests.
28000 (catanh_test): Likewise.
28001 * sysdeps/i386/fpu/libm-test-ulps: Update.
28002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28003
4220c3ef
AJ
280042013-04-27 Andreas Jaeger <aj@suse.de>
28005
28006 [BZ #15007]
28007 * stdlib/stdlib.h: Update guards for qecvt.
28008 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28009 <stdlib.h>.
28010
4721b2d1
AM
280112013-04-27 Allan McRae <allan@archlinux.org>
28012
28013 * sysdeps/i386/fpu/libm-test-ulps: Update.
28014
f0302940
JM
280152013-04-26 Joseph Myers <joseph@codesourcery.com>
28016
9457fd95
JM
28017 [BZ #15406]
28018 * math/s_catan.c: Include <float.h>.
28019 (__catan): Ensure underflow exception occurs for underflowed
28020 result.
28021 * math/s_catanf.c: Include <float.h>.
28022 (__catanf): Ensure underflow exception occurs for underflowed
28023 result.
28024 * math/s_catanh.c: Include <float.h>.
28025 (__catanh): Ensure underflow exception occurs for underflowed
28026 result.
28027 * math/s_catanhf.c: Include <float.h>.
28028 (__catanhf): Ensure underflow exception occurs for underflowed
28029 result.
28030 * math/s_catanhl.c: Include <float.h>.
28031 (__catanhl): Ensure underflow exception occurs for underflowed
28032 result.
28033 * math/s_catanl.c: Include <float.h>.
28034 (__catanl): Ensure underflow exception occurs for underflowed
28035 result.
28036 * math/libm-test.inc (catan_test): Add more tests.
28037 (catanh_test): Likewise.
28038
f0302940
JM
28039 [BZ #15405]
28040 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28041 underflowed result.
28042 * math/s_ccoshf.c (__ccoshf): Likewise.
28043 * math/s_ccoshl.c (__ccoshl): Likewise.
28044 * math/s_csin.c (__csin): Likewise.
28045 * math/s_csinf.c (__csinf): Likewise.
28046 * math/s_csinh.c (__csinh): Likewise.
28047 * math/s_csinhf.c (__csinhf): Likewise.
28048 * math/s_csinhl.c (__csinhl): Likewise.
28049 * math/s_csinl.c (__csinl): Likewise.
28050 * math/libm-test.inc (ccos_test): Add more tests.
28051 (ccosh_test): Likewise.
28052 (csin_test): Likewise.
28053 (csinh_test): Likewise.
28054
aa630f59
AZ
280552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28056
28057 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28058 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28059 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28060 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28061 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28062 powerpc/power5+/fpu folders.
28063 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28064
28065
1b835983
MT
280662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28067
28068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28069
73709b26
JM
280702013-04-25 Joseph Myers <joseph@codesourcery.com>
28071
28072 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28073 additions to variable.
28074 [$(config-machine) = x86_64] (modules-names): Likewise.
28075 ($(objpfx)tst-audit3): Remove dependency.
28076 ($(objpfx)tst-audit3.out): Likewise.
28077 ($(objpfx)tst-audit4): Likewise.
28078 ($(objpfx)tst-audit4.out): Likewise.
28079 ($(objpfx)tst-audit5): Likewise.
28080 ($(objpfx)tst-audit5.out): Likewise.
28081 ($(objpfx)tst-audit6): Likewise.
28082 ($(objpfx)tst-audit6.out): Likewise.
28083 ($(objpfx)tst-audit7): Likewise.
28084 ($(objpfx)tst-audit7.out): Likewise.
28085 (tst-audit3-ENV): Remove variable.
28086 (tst-audit4-ENV): Likewise.
28087 (tst-audit5-ENV): Likewise.
28088 (tst-audit6-ENV): Likewise.
28089 (tst-audit7-ENV): Likewise.
28090 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28091 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28092 addition to variable.
28093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28096 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28097 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28098 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28099 tst-audit3, tst-audit4 and tst-audit5.
28100 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28101 tst-audit6 and tst-audit7.
28102 [$(subdir) = elf] (modules-names): Add audit modules for those
28103 tests.
28104 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28105 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28106 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28107 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28108 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28109 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28110 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28111 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28112 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28113 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28114 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28115 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28116 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28117 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28118 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28119 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28120 Likewise.
28121 [$(subdir) = elf && $(config-cflags-avx) = yes]
28122 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28123 [$(subdir) = elf && $(config-cflags-avx) = yes]
28124 (CFLAGS-tst-auditmod4a.c): Likewise.
28125 [$(subdir) = elf && $(config-cflags-avx) = yes]
28126 (CFLAGS-tst-auditmod4b.c): Likewise.
28127 [$(subdir) = elf && $(config-cflags-avx) = yes]
28128 (CFLAGS-tst-auditmod6b.c): Likewise.
28129 [$(subdir) = elf && $(config-cflags-avx) = yes]
28130 (CFLAGS-tst-auditmod6c.c): Likewise.
28131 [$(subdir) = elf && $(config-cflags-avx) = yes]
28132 (CFLAGS-tst-auditmod7b.c): Likewise.
28133 * elf/tst-audit3.c: Move to ...
28134 * sysdeps/x86_64/tst-audit3.c: ... here.
28135 * elf/tst-audit4.c: Move to ...
28136 * sysdeps/x86_64/tst-audit4.c: ... here.
28137 * elf/tst-audit5.c: Move to ...
28138 * sysdeps/x86_64/tst-audit5.c: ... here.
28139 * elf/tst-audit6.c: Move to ...
28140 * sysdeps/x86_64/tst-audit6.c: ... here.
28141 * elf/tst-audit7.c: Move to ...
28142 * sysdeps/x86_64/tst-audit7.c: ... here.
28143 * elf/tst-auditmod3a.c: Move to ...
28144 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28145 * elf/tst-auditmod3b.c: Move to ...
28146 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28147 * elf/tst-auditmod4a.c: Move to ...
28148 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28149 * elf/tst-auditmod4b.c: Move to ...
28150 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28151 * elf/tst-auditmod5a.c: Move to ...
28152 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28153 * elf/tst-auditmod5b.c: Move to ...
28154 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28155 * elf/tst-auditmod6a.c: Move to ...
28156 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28157 * elf/tst-auditmod6b.c: Move to ...
28158 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28159 * elf/tst-auditmod6c.c: Move to ...
28160 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28161 * elf/tst-auditmod7a.c: Move to ...
28162 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28163 * elf/tst-auditmod7b.c: Move to ...
28164 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28165
1ef74943
PP
281662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28167
28168 [BZ #15366]
28169 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28170 define unconditionally.
28171 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28172 define unconditionally.
28173 (INT8_C, INT16_C, etc.): Likewise.
28174
93fd48c5
MR
281752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28176
ae9552cf
MR
28177 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28178 __ehdr_start with hidden visibility.
28179
93fd48c5
MR
28180 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28181
418601aa
CD
281822013-04-24 Carlos O'Donell <carlos@redhat.com>
28183
28184 * math/libm-test.inc (cos_test): Use accurate hex constants.
28185 (sincost_test): Likewise.
28186
2f38fbfe
JM
281872013-04-24 Joseph Myers <joseph@codesourcery.com>
28188
5e221800
JM
28189 * math/libm-test.inc (catan_test): Add more tests.
28190 (catanh_test): Likewise.
28191
77f143fd
JM
28192 * math/s_catanf.c (__catanf): Use suffixed floating-point
28193 constants.
28194 * math/s_catanhf.c (__catanhf): Likewise.
28195 * math/s_catanhl.c (__catanhl): Likewise.
28196 * math/s_catanl.c (__catanl): Likewise.
28197
2f38fbfe
JM
28198 [BZ #15394]
28199 * math/s_catan.c (__catan): Calculate imaginary part of result
28200 with log1p not log unless computing log of number close to 0.
28201 * math/s_catanf.c (__catanf): Likewise.
28202 * math/s_catanl.c (__catanl): Likewise.
28203 * math/s_catanh.c (__catanh): Calculate real part of result with
28204 log1p not log unless computing log of number close to 0.
28205 * math/s_catanhf.c (__catanhf): Likewise.
28206 * math/s_catanhl.c (__catanhl): Likewise.
28207 * math/libm-test.inc (catan_test): Add more tests.
28208 (catanh_test): Likewise.
28209 * sysdeps/i386/fpu/libm-test-ulps: Update.
28210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28211
45d69176
SP
282122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28213
28214 * benchtests/Makefile: Mention files in which fast and slow
28215 paths of math functions are implemented.
28216
87f51853
RM
282172013-04-23 Roland McGrath <roland@hack.frob.com>
28218
28219 * sysdeps/posix/timespec_get.c: New file.
28220
3c026539
AZ
282212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28222
28223 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28224 POWER.
28225 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28226 for POWER.
28227 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28228 powerpc/power5/fpu folders.
28229 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28230 * benchtests/Makefile: Add modf testcase.
28231 * benchtests/bench-modf.c: New file: Benchmark test for mo
28232
ff491d14
SP
282332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28234
28235 [BZ #14888]
28236 * time/Makefile (tests): Add tst-strptime-whitespace.
28237 * time/strptime_l.c (get_number): Use ISSPACE.
28238 (__strptime_internal): Likewise.
28239 * time/tst-strptime-whitespace.c: New test case.
28240
7ed3f4e8
AS
282412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28242
28243 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28244 member.
28245 (_nss_files_init): Set it here.
28246
5c95f7b6
HC
282472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28248
28249 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28250 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28251 unsigned.
28252
d34c9158
JBG
282532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28254
28255 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28256
2169712d
SP
282572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28258
28259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28260 size just once.
28261
29c5de99
DM
282622013-04-21 David S. Miller <davem@davemloft.net>
28263
28264 * po/ru.po: Update Russion translation from translation project.
28265
ccdad15d
AC
282662013-04-17 Adam Conrad <adconrad@0c3.net>
28267
28268 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28269 and setfsgid.
28270
0f122b8d
CD
282712013-04-17 Carlos O'Donell <carlos@redhat.com>
28272
5c5b07da 28273 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28274 * configure: Regenerate.
5c5b07da 28275 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28276 Add example to error message.
28277 * sysdeps/i386/configure: Regenerate.
28278
037714dd
SP
282792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28280
28281 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28282 slowtan.
28283 * benchtests/cos-inputs: New file.
28284 * benchtests/slowcos-inputs: New file.
28285 * benchtests/slowcos.c: New file.
28286 * benchtests/slowtan-inputs: New file.
28287 * benchtests/slowtan.c: New file.
28288 * benchtests/tan-inputs: New file.
28289
e913141d
RM
282902013-04-16 Roland McGrath <roland@hack.frob.com>
28291
28292 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28293 considered kosher.
28294
a2964074
SP
282952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28296
4856bcd2
SP
28297 * benchtests/Makefile: Include cppflags-iterator.mk to add
28298 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28299
a2964074
SP
28300 * Makefile.in (bench-clean): New target.
28301 * benchtests/Makefile (bench-clean): Likewise.
28302
9fbf9aca
DH
283032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28304
28305 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28306
207d1e2a
TS
283072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28308
28309 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28310
306dfba9
AS
283112013-04-15 Andreas Schwab <schwab@suse.de>
28312
28313 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28314 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28315 * nscd/pwdcache.c (cache_addpw): Likewise.
28316 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28317 more than recsize.
28318
206a6699
SP
283192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28320
28321 * benchtests/Makefile (bench): Write all output to
28322 bench-out.tmp together.
28323
0582f6b3
AS
283242013-04-15 Andreas Schwab <schwab@suse.de>
28325
28326 * nscd/nscd.c (main): Don't fork again after closing files.
28327
acb4325f
SP
283282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28329
5cb26d0a
SP
28330 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28331
acb4325f
SP
28332 * benchtests/Rules (bench-deps): Collect dependencies into a
28333 single variable. Add Makefile to dependencies.
28334 ($(objpfx)bench-%.c): Depend on bench-deps.
28335
47792506
RM
283362013-04-12 Roland McGrath <roland@hack.frob.com>
28337 Xavier Roche <roche+kml2@exalead.com>
28338
28339 [BZ #15361]
28340 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28341 just that it's a file descriptor.
28342 * manual/llio.texi (Synchronizing AIO Operations): Update description
28343 for EBADF error from aio_fsync.
28344
8fc1bee5
SP
283452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28346
28347 * Rules (bench): Move target definition...
28348 * benchtests/Makefile: ... here.
28349
aba5e333
CD
283502013-04-11 Carlos O'Donell <carlos@redhat.com>
28351
28352 * math/libm-test.inc (cos_test): Fix PI/2 test.
28353 (sincos_test): Likewise.
28354 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28355 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28356
273cdee8
AS
283572013-04-11 Andreas Schwab <schwab@suse.de>
28358
6ecec3b6
AS
28359 [BZ #13988]
28360 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28361 accept exponent character only when digits were seen.
28362 * stdio-common/Makefile (tests): Add bug26.
28363 * stdio-common/bug26.c: New file.
28364
273cdee8
AS
28365 [BZ #14293]
28366 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28367 non-freeable.
28368
8da491f5
SP
283692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28370
01dc6df9
SP
28371 * Makeconfig (rtld-prefix): Define built linker prefix.
28372 * Rules (run-bench): Use it.
28373 * math/Makefile (run-regen-ulps): Likewise.
28374
8da491f5
SP
28375 * Rules (bench): Remove eval.
28376
abe7f530
SP
283772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28378 Roland McGrath <roland@hack.frob.com>
28379 Ondrej Bilka <neleai@seznam.cz>
28380
28381 [BZ #15346]
28382 * time/getdate.c: Include ctype.h and alloca.h.
28383 (__getdate_r): Trim leading and trailing spaces of input.
28384 * time/tst-getdate.c (tests): Add tests with leading and
28385 trailing spaces.
28386
61c23e62
RM
283872013-04-08 Roland McGrath <roland@hack.frob.com>
28388
28389 [BZ #14280]
28390 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28391 when computing value.
28392
7208a313
CD
283932013-04-06 Carlos O'Donell <carlos@redhat.com>
28394
085b2d41
CD
28395 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28396 Use testrun.sh to run libm tests.
28397
7208a313
CD
28398 [BZ #15309]
28399 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28400
872c0acd
MM
284012013-04-06 Marko Myllynen <myllynen@redhat.com>
28402
28403 [BZ #15264]
28404 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28405
26510bdd
CD
284062013-04-06 Carlos O'Donell <carlos@redhat.com>
28407
28408 * Makefile.in (regen-ulps): New target.
28409 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28410 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28411 [ifneq (no,$(PERL)] (regen-ulps): New target.
28412 [ifeq (no,$(PERL)] (regen-ulps): New target.
28413 * math/libm-test.inc (ulps_file_name): Define.
28414 (output_dir): New variable.
28415 (options): Add "output-dir" option.
28416 (parse_opt): Handle 'o' case.
28417 (main): If output_dir is non-NULL use it as a prefix
28418 otherwise use "".
28419 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28420
a01f19c8
CD
284212013-04-06 Carlos O'Donell <carlos@redhat.com>
28422
28423 [BZ #10060, #10062]
28424 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28425 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28426 fail configure if __sync_val_compare_and_swap is not inlined.
28427 * sysdeps/i386/configure: Regenerate.
28428 * configure.in: Build for i686 when configured for i386.
28429 * configure: Regenerate.
28430 * README: Remove i386 reference.
28431
b7a329a5
CD
284322013-04-06 Carlos O'Donell <carlos@redhat.com>
28433
28434 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28436
bf0f50df
TS
284372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28438
ee091edf
TS
28439 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28440 (lmsnanval): New variables.
28441 (F): Add conversion tests.
28442 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28443 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28444
a8b792d6
TS
28445 * stdio-common/tstdiomisc.c (F): Properly collect individual
28446 tests' results.
28447
a1cbf437
TS
28448 [BZ #14686, #15336]
28449 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28450 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28451 Instead, use input NaN values or generate a qNaN by arithmetic
28452 operation. Also fix bugs to comply with the standard.
28453 * math/libm-test.inc (remainder_test): Add more tests.
28454
8b43a0c9
TS
28455 [BZ #15335, #15342]
28456 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28458 input NaN values or generate a qNaN by arithmetic operation.
28459
d91da4ce
TS
28460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28461 unreachable code.
28462
bf0f50df
TS
28463 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28464 definitions.
28465
05e166c8
JM
284662013-04-03 Joseph Myers <joseph@codesourcery.com>
28467
28468 [BZ #14478]
28469 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28470 underflowed result.
28471 * math/s_cexpf.c (__cexpf): Likewise.
28472 * math/s_cexpl.c (__cexpl): Likewise.
28473 * math/libm-test.inc (cexp_test): Add more tests.
28474
1cef1b19
AS
284752013-04-03 Andreas Schwab <schwab@suse.de>
28476
28477 [BZ #15330]
28478 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28479 order arrays from heap if bigger than alloca cutoff.
28480
74d87055
TS
284812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28482
28483 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28484 (SNAN_TESTS_double): Refer to GCC PR56831.
28485 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28486 GCC PR56828.
28487
d755bba4
SP
284882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28489
90d5d5bb
SP
28490 * Rules (bench): Move bench.out after the run is complete.
28491
73e0cd5d
SP
28492 * Rules (bench): Echo currently running benchmark.
28493
64aabd4b
SP
28494 * benchtests/Makefile (bench): Add atan and slowatan.
28495 * benchtests/atan-inputs: New file.
28496 * benchtests/slowatan-inputs: New file.
28497 * benchtests/slowatan.c: New file.
28498
c871eccd
SP
28499 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28501 its value.
28502
d755bba4
SP
28503 [BZ #15305]
28504 * sysdeps/unix/sysv/linux/kernel-features.h
28505 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28506 __ASSUME_XFS_RESTRICTED_CHOWN.
28507 * sysdeps/unix/sysv/linux/pathconf.c
28508 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28509 Save and restore errno.
28510
52ce4860
JM
285112013-04-02 Joseph Myers <joseph@codesourcery.com>
28512
28513 [BZ #15327]
28514 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28515 arguments using __kernel_casinh.
28516 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28517 arguments using __kernel_casinhf.
28518 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28519 arguments using __kernel_casinhl.
28520 * math/libm-test.inc (cacosh_test): Add more tests.
28521 * sysdeps/i386/fpu/libm-test-ulps: Update.
28522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28523
81f311c2
SP
285242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28525
e7906a47
SP
28526 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28528
92e3664b
SP
28529 * bench/Makefile (bench): Add sin and slowsin.
28530 * benchtests/sin-inputs: New file.
28531 * benchtests/slowsin-inputs: New file.
28532 * benchtests/slowsin.c: New file.
28533
81f311c2
SP
28534 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28535 (bench): Add slowexp and slowpow.
28536 (exp-ITER): Increase iterations.
28537 (pow-ITER): Likewise.
28538 * benchtests/exp-inputs: Change input.
28539 * benchtests/pow-inputs: Likewise.
28540 * benchtests/slowexp-inputs: New file.
28541 * benchtests/slowexp.c: New file.
28542 * benchtests/slowpow-inputs: New file.
28543 * benchtests/slowpow.c: New file.
28544
ab0f1aa9
AZ
285452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28546
28547 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28548 instructions.
28549 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28550 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28551 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28552 * benchtests/Makefile: Add rint benchtest.
28553 * benchtests/rint-inputs: Input for rint benchtest.
28554
57267616
TS
285552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28556
28557 * Versions.def (libm): Add GLIBC_2.18.
28558 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28559 hidden libm prototypes.
28560 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28561 * math/Makefile (libm-calls): Add s_issignaling.
28562 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28563 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28564 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28565 declaration.
28566 * math/math.h [__USE_GNU] (issignaling): New macro.
28567 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28568 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28570 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28573 * manual/arith.texi (issignaling): New section.
28574 * manual/libm-err-tab.pl (@all_functions): Update comment.
28575 * math/gen-libm-test.pl (parse_args): Apply special handling for
28576 issignaling.
28577 * math/libm-test.inc (print_float, issignaling_test): New
28578 functions.
28579 (check_float_internal): Add issignaling checks.
28580 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28581 default definition.
28582 * sysdeps/powerpc/math-tests.h: New file.
28583 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28584 tests.
28585 * math/test-snan.c (TEST_FUNC): Likewise.
28586
6142896d
DM
285872013-03-30 David S. Miller <davem@davemloft.net>
28588
28589 * po/de.po: Update from translation team.
28590
ccc8cadf
JM
285912013-03-30 Joseph Myers <joseph@codesourcery.com>
28592
28593 [BZ #10357]
28594 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28595 imaginary part less than 1.0 and real part less than 0.5
28596 specially.
28597 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28598 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28599 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28600 (cacos_test): Add more tests.
28601 (casin_test): Likewise.
28602 (casinh_test): Likewise.
28603 * sysdeps/i386/fpu/libm-test-ulps: Update.
28604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28605
0f6a8d4b
SP
286062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28607
0d1029de
SP
28608 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28609 ONE with its value.
28610
c2d94018
SP
28611 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28612 (__pow_mp): Replace ONE and MONE with their values.
28613 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28615 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28616 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28617 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28618 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28619
27ec37f1
SP
28620 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28621
a64d7e0e
SP
28622 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28623 (__pow_mp): Replace ZERO and MZERO with their values.
28624 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28625 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28626 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28628 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28629 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28630 (__sqr): Likewise.
28631
d26dd3eb
SP
28632 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28633
0f6a8d4b
SP
28634 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28635
e57b0c61
RM
286362013-03-28 Roland McGrath <roland@hack.frob.com>
28637
28638 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28639 Declare with __attribute__ ((weak)).
28640 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28641 Call __call_tls_dtors only if it's not NULL.
28642
356b3480
RM
286432013-03-28 Roland McGrath <roland@hack.frob.com>
28644
288f7d79
RM
28645 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28646 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28647 magic __ehdr_start linker symbol if it's defined.
28648 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28649 them up here if it was already done.
28650
dc0a0263
RM
28651 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28652 (_dl_aux_init): Use const in cast when setting it.
28653 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28654 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28655 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28656
3d3436ae
RM
28657 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28658 Declare them here.
28659 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28660 * csu/libc-tls.c: Nor here.
28661 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28662
356b3480
RM
28663 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28664 (__libc_message): Never call vsyslog.
28665
b0f1246a
AM
286662013-03-28 Alan Modra <amodra@gmail.com>
28667
28668 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28669 Define as empty.
28670 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28671 Likewise.
28672
fbbe2b9a
AZ
286732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28674
28675 [BZ #15214]
28676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28677 underflow.
28678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28679
1728ab37
SP
286802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28681
7a86be6e
SP
28682 [BZ #15304]
28683 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28684 Don't add gid passed as argument.
28685
1728ab37
SP
28686 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28687
3a7182a1
JM
286882013-03-27 Joseph Myers <joseph@codesourcery.com>
28689
28690 [BZ #15307]
28691 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28692 imaginary part between 1.0 and 1.5 and real part less than 0.5
28693 specially.
28694 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28695 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28696 * math/libm-test.inc (cacos_test): Add more tests.
28697 (casin_test): Likewise.
28698 (casinh_test): Likewise.
28699 * sysdeps/i386/fpu/libm-test-ulps: Update.
28700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28701
6f2e90e7
SP
287022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28703
5739f705
SP
28704 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28705 constants.
28706 (norm): Likewise.
28707 (denorm): Likewise.
28708 (__dbl_mp): Likewise.
28709 (add_magnitudes): Likewise.
28710 (sub_magnitudes): Likewise.
28711 (__add): Likewise.
28712 (__sub): Likewise.
28713 (__mul): Likewise.
28714 (__sqr): Likewise.
28715 (__inv): Likewise.
28716 (__dvd): Likewise.
28717
e375e83d
SP
28718 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28719 commented code.
28720 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28721 (__dubcos): Likewise.
28722 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28723 (__ieee754_acos): Likewise.
28724 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28725 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28726 (__exp1): Likewise.
28727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28729 (log1): Likewise.
28730 (my_log2): Likewise.
28731 (checkint): Likewise.
28732 * sysdeps/ieee754/dbl-64/e_remainder.c
28733 (__ieee754_remainder): Likewise.
28734 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28735 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28736 (bsloww): Likewise.
28737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28738
6f2e90e7
SP
28739 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28740 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28741 MANTISSA_STORE_T to store computations on mantissa. Use
28742 macros for rounding and division.
28743 (denorm): Likewise.
28744 (__dbl_mp): Likewise.
28745 (add_magnitudes): Likewise.
28746 (sub_magnitudes): Likewise.
28747 (__mul): Likewise.
28748 (__sqr): Likewise.
28749 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28750 powers of two in terms of TWOPOW macro.
28751 (mp_no): Make type of mantissa as MANTISSA_T.
28752 [!RADIXI]: Define RADIXI.
28753 [!TWO52]: Define TWO52.
28754 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28755
fce14d4e
AZ
287562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28757
28758 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28759 llroundl symbol when building for PPC32.
28760
9ad027fb
MW
287612013-03-24 Mark H Weaver <mhw@netris.org>
28762
28763 * manual/arith.texi (Normalization Functions): Fix prototypes for
28764 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28765
e42a38dd
AZ
287662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28767
28768 [BZ #13889]
28769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28770 high value to check if expl overflow.
28771 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28772 to check for underflow and overflow.
28773 * math/libm-test.inc: Add exp test.
28774
2e0fb521
DL
287752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28776
28777 [BZ #11120]
28778 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28779 with NOT_IN_libc.
28780
b5784d95
AZ
287812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28782
28783 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28784 symbol.
28785
5aa4a1a1
TS
287862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28787
bdef0be7
TS
28788 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28789 wrap blocks consisting of several statements.
28790
5aa4a1a1
TS
28791 * sysdeps/generic/math-tests.h: New file.
28792 * sysdeps/i386/fpu/math-tests.h: Likewise.
28793 * math/test-snan.c: Include it.
28794 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28795
98c48fe5
JM
287962013-03-21 Joseph Myers <joseph@codesourcery.com>
28797
28798 [BZ #15285]
28799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28800 (__ieee754_j0l): Do not improve calculations using cos of twice
28801 input for inputs above LDBL_MAX / 2.0L.
28802 (__ieee754_y0l): Likewise.
28803 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28804 (__ieee754_j1l): Do not improve calculations using cos of twice
28805 input for inputs above LDBL_MAX / 2.0L.
28806 (__ieee754_y1l): Likewise.
28807 * math/libm-test.inc (j0_test): Add another test.
28808 (j1_test): Likewise.
28809 (y0_test): Likewise.
28810 (y1_test): Likewise.
28811 * sysdeps/i386/fpu/libm-test-ulps: Update.
28812
3775a8bc
SP
288132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28814
28815 * Rules ($(objpfx)bench-%.c): Include code from a C source
28816 file.
28817
0a1b2ae6
JM
288182013-03-21 Joseph Myers <joseph@codesourcery.com>
28819
28820 [BZ #15287]
28821 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28822 imaginary part 1.0 and real part less than 0.5 specially.
28823 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28824 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28825 * math/libm-test.inc (cacos_test): Add more tests.
28826 (casin_test): Likewise.
28827 (casinh_test): Likewise.
28828 * sysdeps/i386/fpu/libm-test-ulps: Update.
28829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28830
b33d4ce4
SP
288312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28832
28833 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28834 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28835
bef0b507
JM
288362013-03-20 Joseph Myers <joseph@codesourcery.com>
28837
28838 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28839 * config.make.in (config-cflags-sse4): Remove variable.
28840 (config-cflags-avx): Likewise.
28841 (config-cflags-sse2avx): Likewise.
28842 (config-cflags-novzeroupper): Likewise.
28843 (config-asflags-i686): Likewise.
28844 (have-mfma4): Likewise.
28845 (have-as-vis3): Likewise.
28846 (MIG): Likewise.
28847 * configure.in (MIG): Do not AC_SUBST.
28848 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28849 (libc_cv_cc_sse4): Do not AC_SUBST.
28850 (libc_cv_cc_avx): Likewise.
28851 (libc_cv_cc_sse2avx): Likewise.
28852 (libc_cv_cc_novzeroupper): Likewise.
28853 (libc_cv_cc_fma4): Likewise.
28854 (libc_cv_as_i686): Likewise.
28855 (libc_cv_sparc_as_vis3): Likewise.
28856 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28857 LIBC_CONFIG_VAR.
28858 (config-asflags-i686): Likewise.
28859 (config-cflags-avx): Likewise.
28860 (config-cflags-sse2avx): Likewise.
28861 (have-mfma4): Likewise.
28862 (config-cflags-novzeroupper): Likewise.
28863 * sysdeps/mach/configure.in (MIG): Likewise.
28864 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28865 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28866 LIBC_CONFIG_VAR.
28867 (config-cflags-avx): Likewise.
28868 (config-cflags-sse2avx): Likewise.
28869 (have-mfma4): Likewise.
28870 (config-cflags-novzeroupper): Likewise.
28871 * configure: Regenerated.
28872 * sysdeps/i386/configure: Likewise.
28873 * sysdeps/mach/configure: Likewise.
28874 * sysdeps/sparc/configure: Likewise.
28875 * sysdeps/x86_64/configure: Likewise.
28876
912cc4b3
RM
288772013-03-20 Roland McGrath <roland@hack.frob.com>
28878
28879 [BZ #14812]
28880 * locale/programs/localedef.c (options): Put N_ translation marker
28881 on argument names, not just descriptions.
28882
04eed2b0
MS
288832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28884
28885 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28886
a065ceff
OB
288872013-03-20 Ondřej Bílka <neleai@seznam.cz>
28888
9bb2a810 28889 [BZ #14176]
a065ceff
OB
28890 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28891
a600e5ce
RM
288922013-03-19 Roland McGrath <roland@hack.frob.com>
28893
28894 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28895 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28896 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28897 [!BEFORE_ABORT] (before_abort): New function.
28898 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28899 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28900 (writev_for_fatal): New function.
28901 (WRITEV_FOR_FATAL): New macro; call that.
28902 (backtrace_and_maps): New function.
28903 (BEFORE_ABORT): New macro; call that.
28904 (struct str_list): Type removed.
28905 (__libc_message, __libc_fatal): Functions removed.
28906 Include <sysdeps/posix/libc_fatal.c> instead.
28907
6b18bea6
JM
289082013-03-19 Joseph Myers <joseph@codesourcery.com>
28909
28910 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28911 constants.
28912 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28913 double constants.
28914
aaa8cb4b
AS
289152013-03-19 Andreas Schwab <schwab@suse.de>
28916
44673770
AS
28917 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28918 * sysdeps/gnu/configure: Regenerate.
28919
aaa8cb4b
AS
28920 * configure.in: Substitute libc_cv_rtlddir.
28921 * configure: Regenerate.
28922 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28923 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28924 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28925 * elf/Makefile (install-others, CFLAGS-interp.c)
28926 (ldso_install, common-ldd-rewrite): Likewise.
28927 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28928 $(inst_slibdir)/$(rtld-installed-name).
28929 * scripts/rellns-sh: Add -p option.
28930 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28931 for source.
28932
d3cfc668
SP
289332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28934
28935 * manual/nptl.texi: Renamed to ...
28936 * manual/threads.texi: ... this.
28937 * manual/Makefile (chapters): Update.
28938
0e2b9cdd
RM
289392013-03-18 Roland McGrath <roland@hack.frob.com>
28940
28941 [BZ #14812]
28942 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28943 on argument names, not just descriptions.
0e2b9cdd
RM
28944 * malloc/memusagestat.c (options): Likewise.
28945 * nss/getent.c (options): Likewise.
63270c24
RM
28946
289472013-03-18 Benno Schulenberg <bensberg@justemail.net>
28948
28949 [BZ #14812]
28950 * iconv/iconv_prog.c (options): Put N_ translation marker
28951 on argument names, not just descriptions.
28952 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28953
b2e1393c
OB
289542013-03-18 Ondrej Bilka <neleai@seznam.cz>
28955
28956 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28957 implementation which is faster on all x86_64 architectures.
28958 Tested on AMD, Intel Nehalem, SNB, IVB.
28959 * sysdeps/x86_64/strnlen.S: Likewise.
28960
28961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28962 Remove all multiarch strlen and strnlen versions.
28963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28964 Remove strlen and strnlen related parts.
28965
28966 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28967 Inline strlen part.
28968 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28969
28970 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28971 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28972 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28973 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28974 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28975 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28976
ec4ff04d
CD
289772013-03-17 Carlos O'Donell <carlos@redhat.com>
28978
28979 * manual/memory.texi (Malloc Tunable Parameters):
28980 Sort parameters alphabetically. Add comments for missing entries.
28981
cd18e90a
DM
289822013-03-17 David S. Miller <davem@davemloft.net>
28983
28984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28985
2a185d32
JM
289862013-03-16 Joseph Myers <joseph@codesourcery.com>
28987
d2f9799e
JM
28988 [BZ #15283]
28989 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28990 for arguments at most half maximum finite value.
28991 * math/libm-test.inc (j0_test): Add more tests.
28992 (j1_test): Likewise.
28993 (y0_test): Likewise.
28994 (y1_test): Likewise.
28995 * sysdeps/i386/fpu/libm-test-ulps: Update.
28996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28997
2a185d32
JM
28998 [BZ #14155]
28999 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29000 1 / x and functions P and Q for arguments above 0x1p256L.
29001 (__ieee754_y0l): Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29003 (__ieee754_y1l): Likewise.
29004 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29005 (j1_test): Likewise.
29006 (y0_test): Likewise.
29007 (y1_test): Likewise.
29008
6cbec759
TS
290092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29010
29011 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29012 variable.
29013
bc16e260
RM
290142013-03-15 Roland McGrath <roland@hack.frob.com>
29015
aefc9b8c
RM
29016 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29017 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29018 zero since it's initialized to EXEC_PAGESIZE.
29019
bc16e260
RM
29020 * sysdeps/unix/sysv/linux/ldsodefs.h
29021 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29022 * sysdeps/generic/ldsodefs.h: ... here.
29023
a57da955
TS
290242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29025
af00a34d
TS
29026 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29027
495ded2c
TS
29028 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29029 math/test-snan.c.
29030 * math/test-snan.c: Renamed from
29031 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29032 * math/Makefile (tests): Add test-snan.
29033 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29034 test-powerpc-snan.
29035
777b0332
TS
29036 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29037 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29038 functions.
29039 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29040 __builtin_nan family of functions.
29041 * math/libm-test.inc (initialize): Initialize qnan_value with
29042 __builtin_nan family of functions.
29043 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29044 Remove variables.
29045 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29046 Remove functions.
29047 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29048 storage class. Initialize qNaN_var and sNaN_var with
29049 __builtin_nan and __builtin_nans families of functions,
29050 respectively.
29051
64d063b8
TS
29052 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29053 (sqrt_test): Remove duplicate test with qNaN input.
29054 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29055 (round_test, signbit_test, significand_test): Note missing +/-Inf
29056 as well as qNaN tests.
29057
67e971f1
TS
29058 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29059 qNaN_var. Fix a few strings, too.
29060 * math/libm-test.inc (nan_value): Rename to qnan_value.
29061 * math/gen-libm-test.pl (%beautify): Adjust to that.
29062 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29063 * math/test-misc.c (main): Likewise.
29064 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29065 to __qnan_bytes, and __qnan_union, respectively.
29066 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29067 Likewise.
29068 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29069 and lqnanval, respectively.
29070 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29071 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29072 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29073 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29074
64487e12
TS
29075 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29076 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29077 doubles.
29078
e015e27b
TS
29079 * math/test-misc.c (main): Fix copy'n'pastos.
29080 * misc/tst-efgcvt.c (special): Likewise.
29081
a57da955
TS
29082 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29083 Remove declarations.
29084
1e380345
SP
290852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29086
29087 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29088 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29089 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29090 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29091
ef26eece
AZ
290922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29093
29094 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29095 macro to return vdso values correctly in IFUNC implementations.
29096 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29097 Optimization by using IFUNC.
29098
8cfdb7e0
SP
290992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29100 Richard Henderson <rth@redhat.com>
29101 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29102
29103 * Makefile.in (bench): New target.
29104 * NEWS: Mention the benchmark framework.
29105 * Rules (bench): Likewise.
29106 (binaries-bench): Generate binaries for functions to
29107 benchmark.
29108 * benchtests/Makefile: New makefile for benchmark tests.
29109 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29110 programs.
29111 * benchtests/exp-inputs: New input file for EXP function.
29112 * benchtests/pow-inputs: New input file for POW function.
29113 * scripts/bench.pl: New script to generate source files for
29114 benchmark programs.
29115
bcda9880
SP
291162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29117
d22ca8cd
SP
29118 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29119 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29120 computations on mantissa. Use macros for rounding and
29121 division.
29122 (denorm): Likewise.
29123 (__dbl_mp): Likewise.
29124 (add_magnitudes): Likewise.
29125 (sub_magnitudes): Likewise.
29126 (__mul): Likewise.
29127 (__sqr): Likewise.
29128 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29129 powers of two in terms of TWOPOW macro.
29130 (mp_no): Make type of mantissa as MANTISSA_T.
29131 [!RADIXI]: Define RADIXI.
29132 [!TWO52]: Define TWO52.
29133 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29134
bcda9880
SP
29135 * manual/nptl.texi (cindex): Modify threads to pthreads.
29136
06d5adfb
JM
291372013-03-15 Joseph Myers <joseph@codesourcery.com>
29138
29139 * sysdeps/x86_64/preconfigure: Regenerated.
29140
41c7328e
JM
291412013-03-14 Joseph Myers <joseph@codesourcery.com>
29142
29143 [BZ #14155]
29144 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29145 0x1p28 and above.
29146 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29147 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29148 0x1p28 and above.
29149 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29150 * math/libm-test.inc (j0_test): Do not allow one spurious
29151 underflow exception.
29152 (y1_test): Likewise.
29153
e25cfa60
SP
291542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29155
0409959c
SP
29156 * manual/Makefile (chapters): Add nptl.
29157 * manual/debug.texi (Debugging Support): Add link to Threads
29158 chapter.
29159 * manual/nptl.texi: New file.
29160
e25cfa60
SP
29161 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29162
58a1335e
PB
291632013-03-14 Petr Baudis <pasky@ucw.cz>
29164
29165 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29166 for non-NULL pointer before the memory validity test. Pointed
29167 out by Holger Brunck <holger.brunck@keymile.com>.
29168
9dc7c64f
AS
291692013-03-13 Andreas Schwab <schwab@suse.de>
29170
29171 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29172 instead of .os.
29173
54206aa6
JM
291742013-03-13 Joseph Myers <joseph@codesourcery.com>
29175
29176 * timezone/zic.c: Update from tzcode 2013b.
29177
e98cdb38
CD
291782013-03-12 Carlos O'Donell <carlos@redhat.com>
29179
29180 * manual/install.texi (Configuring and compiling):
29181 Mention i686 and i586.
29182 * INSTALL: Regenerate.
29183
9967e003
RM
291842013-03-12 Roland McGrath <roland@hack.frob.com>
29185
29186 * sysdeps/init_array/elf-init.c: New file.
29187 * csu/elf-init.c
29188 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29189 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29190
29191 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29192 __gmon_start__ as global, but as static with a .preinit_array pointer.
29193 * sysdeps/init_array/gmon-start.c: New file. Use that.
29194 * sysdeps/init_array/crti.S: New file, empty except for comments.
29195 * sysdeps/init_array/crtn.S: Likewise.
29196
e6b5a293 291972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29198
29199 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29200 definining bcopy.
80f844c9
OB
29201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29202 Remove Prefer_SSE_for_memop.
29203 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29204 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29205 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29207 memset-x86-64.
80f844c9 29208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29209 Remove bzero, memset ifunc support.
80f844c9
OB
29210 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29211 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29212 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29213 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29214
fb6b0fcb
AS
292152013-03-11 Andreas Schwab <schwab@suse.de>
29216
29217 [BZ #15234]
29218 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29219 by SHLIB_COMPAT.
29220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29221 (GLIBC_2.16): Remove pthread_atfork.
29222
3e6bd4b1
PP
292232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29224
29225 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29226 (ptestcases.h): Likewise.
29227
222d7f00
RM
292282013-03-08 Roland McGrath <roland@hack.frob.com>
29229
29230 * Makeconfig ($(common-objpfx)config.status): Depend on
29231 sysdeps/*/preconfigure{,.in} too.
29232
1ba4f030
JM
292332013-03-08 Joseph Myers <joseph@codesourcery.com>
29234
a222d91a
JM
29235 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29236 (__free_hook): Use void * instead of __malloc_ptr_t.
29237 (__malloc_hook): Likewise.
29238 (__realloc_hook): Likewise.
29239 (__memalign_hook): Likewise.
29240 (__after_morecore_hook): Likewise.
29241 * malloc/arena.c (save_malloc_hook): Likewise.
29242 (save_free_hook): Likewise.
29243 * malloc/hooks.c (malloc_hook_ini): Likewise.
29244 (realloc_hook_ini): Likewise.
29245 (memalign_hook_ini): Likewise.
29246 * malloc/malloc.c (malloc_hook_ini): Likewise.
29247 (realloc_hook_ini): Likewise.
29248 (memalign_hook_ini): Likewise.
29249 (__free_hook): Likewise.
29250 (__malloc_hook): Likewise.
29251 (__realloc_hook): Likewise.
29252 (__memalign_hook): Likewise.
29253 (__libc_malloc): Likewise.
29254 (__libc_free): Likewise.
29255 (__libc_realloc): Likewise.
29256 (__libc_memalign): Likewise.
29257 (__libc_valloc): Likewise.
29258 (__libc_pvalloc): Likewise.
29259 (__libc_calloc): Likewise.
29260 (__posix_memalign): Likewise.
29261 * malloc/morecore.c (__sbrk): Likewise.
29262 (__default_morecore): Likewise.
29263
5cc45e10
JM
29264 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29265
dd54b864
JM
29266 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29267 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29268 __malloc_ptrdiff_t.
29269
1ba4f030
JM
29270 * malloc/malloc.h (__malloc_size_t): Remove macro.
29271 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29272 __malloc_size_t.
29273 (old_memalign_hook): Likewise.
29274 (old_realloc_hook): Likewise.
29275 (struct hdr): Likewise.
29276 (flood): Likewise.
29277 (mallochook): Likewise.
29278 (memalignhook): Likewise.
29279 (reallochook): Likewise.
29280 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29281 (tr_old_realloc_hook): Likewise.
29282 (tr_old_memalign_hook): Likewise.
29283 (tr_mallochook): Likewise.
29284 (tr_reallochook): Likewise.
29285 (tr_memalignhook): Likewise.
29286
edf66e57
AZ
292872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29288
29289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29290 default_ldbl_pack and using as default implementation.
29291 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29292 implementation.
29293 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29294 redundant definition.
29295 (ldbl_insert_mantissa): Likewise.
29296 (ldbl_canonicalize): Likewise.
29297 (ldbl_nearbyint): Likewise.
29298 (ldbl_pack): Rename to ldbl_pack_ppc.
29299 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29300 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29301 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29302
6d9145d8
SP
293032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29304
29305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29306 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29307 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29308 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29310 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29311 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29312 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29313
4dd4e157
AJ
293142013-03-07 Andreas Jaeger <aj@suse.de>
29315
29316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29317 bits/mman-linux.h.
29318
adbb8027
SP
293192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29320
ce544b5b
SP
29321 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29322 Include mpa.h and declare __MPEXP.
29323 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29324 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29325 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29326 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29327 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29328 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29330
4cc149fd
SP
29331 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29332 (__slowpow): Use long double EXPL and LOGL functions to
29333 compute POW.
29334 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29335 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29337 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29338 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29339 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29340
e6ebd4a7
SP
29341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29342 intermediate variable to calculate exponent.
29343 (__sqr): Likewise.
29344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29345 Likewise.
29346 (__sqr): Likewise.
29347
82a9811d
SP
29348 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29349 [!NO__SQR]: Define __sqr.
29350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29351 and NO__SQR. Remove all code except __mul and __sqr. Include
29352 sysdeps/ieee754/dbl-64/mpa.c.
29353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29354
adbb8027
SP
29355 [BZ #12723]
29356 * posix/Makefile (tests): Add tst-pathconf.
29357 * posix/tst-pathconf.c: New test case.
29358 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29359 _PC_PIPE_BUF.
29360 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29361
39120df9
PF
293622013-03-06 Patsy Franklin <pfrankli@redhat.com>
29363
29364 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29365
67525cb8
AJ
293662013-03-06 Andreas Jaeger <aj@suse.de>
29367
664a9ce4
AJ
29368 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29369 definition via __MAP_ANONYMOUS.
29370
8e39047d
AJ
29371 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29372 it's not part of Linux headers.
29373
67525cb8
AJ
29374 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29375 (MAP_HUGE_MASK): Define.
29376
29377 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29378 Define.
29379 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29381 Define.
29382 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29383 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29384 Define.
29385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29386 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29387 Define.
29388 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29389
29390 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29391 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29392 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29393 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29394 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29396
29397 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29398 Handle f2fs.
29399
29400 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29401 Handle f2fs and efivarfs.
29402
29403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29404 f2fs.
29405
29406 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29407 (EFIVARFS_MAGIC): Add.
29408 (F2FS_LINK_MAX): Add.
29409
e1b42695
PP
294102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29411
29412 * stdio-common/vfprintf.c: Replace __builtin_expect with
29413 __glibc_unlikely.
29414
2d67d91a
JM
294152013-03-06 Joseph Myers <joseph@codesourcery.com>
29416
29417 [BZ #13550]
29418 * sysdeps/generic/bp-sym.h: Remove file.
29419 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29420 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29421 <bp-sym.h> and <bp-asm.h>.
29422 (__longjmp): Don't use BP_SYM.
29423 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29424 and <bp-asm.h>.
29425 (memcpy): Don't use BP_SYM.
29426 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29427 <bp-sym.h> and <bp-asm.h>.
29428 (memcpy): Don't use BP_SYM.
29429 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29430 <bp-asm.h>.
29431 (memcpy): Don't use BP_SYM.
29432 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29433 <bp-asm.h>.
29434 (memset): Don't use BP_SYM.
29435 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29436 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29437 (__bzero): Don't use BP_SYM.
29438 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29439 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29440 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29441 <bp-sym.h> and <bp-asm.h>.
29442 (memcmp): Don't use BP_SYM. Remove comment about bounded
29443 pointers.
29444 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29445 <bp-sym.h> and <bp-asm.h>.
29446 (memcpy): Don't use BP_SYM.
29447 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29448 <bp-sym.h> and <bp-asm.h>.
29449 (memset): Don't use BP_SYM.
29450 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29451 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29452 (__bzero): Don't use BP_SYM.
29453 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29454 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29456 <bp-sym.h> and <bp-asm.h>.
29457 (strncmp): Don't use BP_SYM. Remove comment about bounded
29458 pointers.
29459 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29460 <bp-sym.h> and <bp-asm.h>.
29461 (memcpy): Don't use BP_SYM.
29462 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29463 <bp-sym.h> and <bp-asm.h>.
29464 (memset): Don't use BP_SYM.
29465 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29466 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29467 (__bzero): Don't use BP_SYM.
29468 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29469 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29470 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29471 <bp-sym.h> and <bp-asm.h>.
29472 (__memchr): Don't use BP_SYM.
29473 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29474 <bp-sym.h> and <bp-asm.h>.
29475 (memcmp): Don't use BP_SYM. Remove comment about bounded
29476 pointers.
29477 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29478 <bp-sym.h> and <bp-asm.h>.
29479 (memcpy): Don't use BP_SYM.
29480 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29481 <bp-sym.h> and <bp-asm.h>.
29482 (__mempcpy): Don't use BP_SYM.
29483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29484 <bp-sym.h> and <bp-asm.h>.
29485 (__memrchr): Don't use BP_SYM.
29486 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29487 <bp-sym.h> and <bp-asm.h>.
29488 (memset): Don't use BP_SYM.
29489 (__bzero): Likewise.
29490 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29491 <bp-sym.h> and <bp-asm.h>.
29492 (__rawmemchr): Don't use BP_SYM.
29493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29494 <bp-sym.h> and <bp-asm.h>.
29495 (__STRCMP): Don't use BP_SYM.
29496 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29497 <bp-sym.h> and <bp-asm.h>.
29498 (strchr): Don't use BP_SYM.
29499 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29500 <bp-sym.h> and <bp-asm.h>.
29501 (__strchrnul): Don't use BP_SYM.
29502 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29503 <bp-sym.h> and <bp-asm.h>.
29504 (strlen): Don't use BP_SYM.
29505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29506 <bp-sym.h> and <bp-asm.h>.
29507 (strncmp): Don't use BP_SYM. Remove comment about bounded
29508 pointers.
29509 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29510 <bp-sym.h> and <bp-asm.h>.
29511 (__strnlen): Don't use BP_SYM.
29512 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29513 <bp-sym.h> and <bp-asm.h>.
29514 (__GI__setjmp): Don't use BP_SYM.
29515 (_setjmp): Likewise.
29516 (__sigsetjmp): Likewise.
29517 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29518 (L(start_addresses)): Don't use BP_SYM.
29519 (_start): Likewise.
29520 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29521 <bp-asm.h>.
29522 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29523 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29524 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29525 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29526 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29527 <bp-asm.h>.
29528 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29529 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29530 about bounded pointers.
29531 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29532 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29533 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29534 <bp-asm.h>.
29535 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29536 about bounded pointers. Remove GKM FIXME comments.
29537 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29538 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29539 <bp-asm.h>.
29540 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29541 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29542 Remove GKM FIXME comments.
29543 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29544 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29545 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29546 <bp-asm.h>.
29547 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29548 about bounded pointers. Remove GKM FIXME comment.
29549 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29550 and <bp-asm.h>.
29551 (strncmp): Don't use BP_SYM. Remove comment about bounded
29552 pointers.
29553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29554 <bp-sym.h> and <bp-asm.h>.
29555 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29557 <bp-sym.h> and <bp-asm.h>.
29558 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29559 comment.
29560
cdcf361f
PP
295612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29562
29563 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29564 call free(NULL).
29565
3c4a2b15
DM
295662013-03-05 David S. Miller <davem@davemloft.net>
29567
29568 * po/es.po: Update from translation team.
29569
cdcf361f 295702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29571
29572 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29573 <bits/mman-linux.h>.
29574 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29575 is fine.
29576 * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
29581 <bits/mman-linux.h> to end of file.
29582 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29583 is fine.
29584 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29585 <bits/mman-linux.h> to end of file.
29586
29587 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29588 (MCL_CURRENT, MCL_FUTURE): Define here.
29589
5f67c04f
AK
295902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29591
8a4473cc 29592 [BZ #15232]
5f67c04f
AK
29593 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29594 attribute_hidden.
29595 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29596
c3e94a95
AK
295972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29598
29599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29600 fourth parameter needed for rt_sigprocmask syscall.
29601 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29602 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29603 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29604 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29605 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29606 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29607
cfb6382a
JM
296082013-03-04 Joseph Myers <joseph@codesourcery.com>
29609
29610 [BZ #13550]
29611 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29612 comment about bounded pointers.
29613 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29614 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29615
539d8e01
AJ
296162013-03-04 Andreas Jaeger <aj@suse.de>
29617
29618 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29619 common definitions.
29620
29621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29622 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29623 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29624 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29625 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29627
2e167a70 296282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29629
29630 [BZ #15055]
29631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29632 __ieee754_sqrl instead of __sqrl.
29633
68508633
JM
296342013-03-01 Joseph Myers <joseph@codesourcery.com>
29635
29636 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29637 * sysdeps/powerpc/fpu_control.h: ... here.
29638 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29639 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29640 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29641 * sysdeps/powerpc/bits/mathinline.h: ... here.
29642
7775448e
RM
296432013-03-01 Roland McGrath <roland@hack.frob.com>
29644
29645 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29646 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29647 to just [NEED_DL_SYSINFO_DSO].
29648 * elf/dl-support.c: Likewise.
29649 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29650 * elf/rtld.c (dl_main): Likewise.
29651 * elf/setup-vdso.h (setup_vdso): Likewise.
29652 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29653 * sysdeps/unix/sysv/linux/dl-sysdep.c
29654 (_dl_discover_osversion): Likewise.
29655
4e9b5995
CD
296562013-03-01 Carlos O'Donell <carlos@redhat.com>
29657
29658 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29659 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29660
e23872c8
SP
296612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29662
e5c74c63
SP
29663 * NEWS: Mention libm performance improvements and non-x86 PI
29664 futex support.
29665
e23872c8
SP
29666 * csu/libc-start.c (__pthread_initialize_minimal): Change
29667 function arguments.
29668 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29669
b5510883
JM
296702013-02-28 Joseph Myers <joseph@codesourcery.com>
29671
29672 [BZ #13550]
29673 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29674 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29675 <bp-sym.h> and <bp-asm.h>.
29676 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29678 and <bp-asm.h>.
29679 (memcpy): Don't use BP_SYM.
29680 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29681 <bp-asm.h>.
29682 (__mpn_add_n): Don't use BP_SYM.
29683 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29684 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29685 and <bp-asm.h>.
29686 (__mpn_addmul_1): Don't use BP_SYM.
29687 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29688 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29689 <bp-sym.h>.
29690 (_setjmp): Don't use BP_SYM.
29691 (__novmx_setjmp): Likewise.
29692 (__GI__setjmp): Likewise.
29693 (__vmx_setjmp): Likewise.
29694 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29695 <bp-sym.h>.
29696 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29697 (__bzero): Don't use BP_SYM.
29698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29700 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29701 <bp-sym.h> and <bp-asm.h>.
29702 (memcpy): Don't use BP_SYM.
29703 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29704 <bp-sym.h> and <bp-asm.h>.
29705 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29706 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29707 <bp-sym.h> and <bp-asm.h>.
29708 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29709 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29710 <bp-asm.h>.
29711 (__mpn_lshift): Don't use BP_SYM.
29712 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29713 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29714 <bp-asm.h>.
29715 (memset): Don't use BP_SYM.
29716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29718 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29719 <bp-asm.h>.
29720 (__mpn_mul_1): Don't use BP_SYM.
29721 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29723 <bp-sym.h> and <bp-asm.h>.
29724 (memcmp): Don't use BP_SYM.
29725 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29726 <bp-sym.h> and <bp-asm.h>.
29727 (memcpy): Don't use BP_SYM.
29728 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29729 <bp-sym.h> and <bp-asm.h>.
29730 (memset): Don't use BP_SYM.
29731 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29732 <bp-sym.h> and <bp-asm.h>.
29733 (strncmp): Don't use BP_SYM.
29734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29735 <bp-sym.h> and <bp-asm.h>.
29736 (memcpy): Don't use BP_SYM.
29737 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29738 <bp-sym.h> and <bp-asm.h>.
29739 (memset): Don't use BP_SYM.
29740 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29741 <bp-sym.h> and <bp-asm.h>.
29742 (__memchr): Don't use BP_SYM.
29743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29744 <bp-sym.h> and <bp-asm.h>.
29745 (memcmp): Don't use BP_SYM.
29746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29747 <bp-sym.h> and <bp-asm.h>.
29748 (memcpy): Don't use BP_SYM.
29749 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29750 <bp-sym.h> and <bp-asm.h>.
29751 (__mempcpy): Don't use BP_SYM.
29752 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29753 <bp-sym.h> and <bp-asm.h>.
29754 (__memrchr): Don't use BP_SYM.
29755 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29756 <bp-sym.h> and <bp-asm.h>.
29757 (memset): Don't use BP_SYM.
29758 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29759 <bp-sym.h> and <bp-asm.h>.
29760 (__rawmemchr): Don't use BP_SYM.
29761 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29762 <bp-sym.h> and <bp-asm.h>.
29763 (__STRCMP): Don't use BP_SYM.
29764 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29765 <bp-sym.h> and <bp-asm.h>.
29766 (strchr): Don't use BP_SYM.
29767 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29768 <bp-sym.h> and <bp-asm.h>.
29769 (__strchrnul): Don't use BP_SYM.
29770 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29771 <bp-sym.h> and <bp-asm.h>.
29772 (strlen): Don't use BP_SYM.
29773 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29774 <bp-sym.h> and <bp-asm.h>.
29775 (strncmp): Don't use BP_SYM.
29776 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29777 <bp-sym.h> and <bp-asm.h>.
29778 (__strnlen): Don't use BP_SYM.
29779 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29780 <bp-asm.h>.
29781 (__mpn_rshift): Don't use BP_SYM.
29782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29783 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29784 <bp-sym.h> and <bp-asm.h>.
29785 (__sigsetjmp): Don't use BP_SYM.
29786 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29787 (L(start_addresses)): Don't use BP_SYM.
29788 (_start): Likewise.
29789 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29790 <bp-asm.h>.
29791 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29792 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29793 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29794 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29795 <bp-asm.h>.
29796 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29797 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29798 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29799 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29800 <bp-asm.h>.
29801 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29802 comments.
29803 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29804 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29805 <bp-asm.h>.
29806 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29807 FIXME comments.
29808 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29809 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29810 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29811 <bp-asm.h>.
29812 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29813 comment.
29814 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29815 and <bp-asm.h>.
29816 (strncmp): Don't use BP_SYM,
29817 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29818 <bp-asm.h>.
29819 (__mpn_sub_n): Don't use BP_SYM.
29820 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29821 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29822 and <bp-asm.h>.
29823 (__mpn_submul_1): Don't use BP_SYM.
29824 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29826 <bp-sym.h> and <bp-asm.h>.
29827 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29829 <bp-sym.h> and <bp-asm.h>.
29830 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29831 comment.
29832
8d19fe64
SP
298332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29834
29835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29836 Use ZK to minimize writes to Z.
29837 (sub_magnitudes): Simplify code a bit.
29838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29839 Use ZK to minimize writes to Z.
29840 (sub_magnitudes): Simplify code a bit.
29841
85bd816a
RM
298422013-02-27 Roland McGrath <roland@hack.frob.com>
29843
29844 * csu/gmon-start.c: Add special exception to license text.
29845
b5977bf2
RH
298462013-02-27 Richard Henderson <rth@redhat.com>
29847
29848 * scripts/config.guess: Update from config.git.
29849 * scripts/config.sub: Likewise.
29850
11d6e2f2
SP
298512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29852
09c14ed2
SP
29853 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29854
a688864e
SP
29855 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29856
6295157a
SP
29857 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29858
b8de2202
SP
29859 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29860
11d6e2f2
SP
29861 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29862
7e80ddb8
RM
298632013-02-26 Roland McGrath <roland@hack.frob.com>
29864
29865 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29866 [$(build-shared = yes].
7e80ddb8 29867
7da6d9ed
SP
298682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29869
45f05884
SP
29870 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29871 (__mul): Reduce iterations for calculating mantissa.
29872
2236d359
SP
29873 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29874 MPTWO.
29875 (__mpranred): Likewise.
29876
7da6d9ed
SP
29877 [BZ #15160]
29878 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29879 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29880
b7688c42
PE
298812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29882
29883 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29884 Define __attribute__.
29885
53a5c423
SP
298862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29887
29888 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29889 unused.
29890 * posix/regex_internal.h (__attribute): Remove.
29891 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29892 (re_string_context_at): Likewise.
29893 (bitset_not): Use __attribute__ and mark function as possibly
29894 unused.
29895 (bitset_merge): Likewise.
29896 (bitset_mask): Likewise.
29897 (re_string_char_size_at): Likewise.
29898 (re_string_wchar_at): Likewise.
29899 (re_string_elem_size_at): Likewise.
29900
60f5a8b5
SP
299012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29902
2a983a2e
SP
29903 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29904 code.
29905 (cc32): Likewise.
29906
e69804d1
SP
29907 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29908 (__acr): Likewise.
29909 (__cpy): Likewise.
29910 (norm): Likewise.
29911 (denorm): Likewise.
29912 (__dbl_mp): Likewise.
29913 (add_magnitudes): Likewise.
29914 (sub_magnitudes): Likewise.
29915 (__mul): Likewise.
29916 (__inv): Likewise.
29917
2f22a1e8
SP
29918 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29919 style.
29920
8930ddc7
SP
29921 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29922 style.
29923
dc60cb11
SP
29924 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29925 code.
29926
60f5a8b5
SP
29927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29928 up changes with default code.
29929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29930 Likewise.
29931
b4d1fd33
AM
299322013-02-24 Allan McRae <allan@archlinux.org>
29933
faf6f8bc
AM
29934 * manual/socket.texi (The Internet Namespace): Order menu items
29935 to match that in the file.
29936
b4d1fd33
AM
29937 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29938 node listing of the info page menu.
29939
2366713d
JM
299402013-02-21 Joseph Myers <joseph@codesourcery.com>
29941
29942 [BZ #13550]
29943 * sysdeps/i386/bp-asm.h: Remove file.
29944 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29945 (PARMS): Do not use macros from bp-asm.h.
29946 (S1): Likewise.
29947 (S2): Likewise.
29948 (SIZE): Likewise.
29949 (__mpn_add_n): Do not use BP_SYM
29950 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29951 "bp-asm.h".
29952 (PARMS): Do not use macros from bp-asm.h.
29953 (S1): Likewise.
29954 (SIZE): Likewise.
29955 (__mpn_addmul_1): Do not use BP_SYM
29956 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29957 "bp-asm.h".
29958 (PARMS): Do not use macros from bp-asm.h.
29959 (SIGMSK): Likewise.
29960 (_setjmp): Likewise. Do not use BP_SYM.
29961 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29962 "bp-asm.h".
29963 (PARMS): Do not use macros from bp-asm.h.
29964 (SIGMSK): Likewise.
29965 (setjmp): Likewise. Do not use BP_SYM.
29966 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29967 "bp-asm.h".
29968 (PARMS): Do not use macros from bp-asm.h.
29969 (__frexp): Do not use BP_SYM.
29970 (frexp): Likewise.
29971 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29972 "bp-asm.h".
29973 (PARMS): Do not use macros from bp-asm.h.
29974 (__frexpf): Do not use BP_SYM.
29975 (frexpf): Likewise.
29976 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29977 "bp-asm.h".
29978 (PARMS): Do not use macros from bp-asm.h.
29979 (__frexpl): Do not use BP_SYM.
29980 (frexpl): Likewise.
29981 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29982 "bp-asm.h".
29983 (PARMS): Do not use macros from bp-asm.h.
29984 (__remquo): Do not use BP_SYM.
29985 (remquo): Likewise.
29986 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29987 "bp-asm.h".
29988 (PARMS): Do not use macros from bp-asm.h.
29989 (__remquof): Do not use BP_SYM.
29990 (remquof): Likewise.
29991 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29992 "bp-asm.h".
29993 (PARMS): Do not use macros from bp-asm.h.
29994 (__remquol): Do not use BP_SYM.
29995 (remquol): Likewise.
29996 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29997 "bp-asm.h".
29998 (PARMS): Do not use macros from bp-asm.h.
29999 (DEST): Likewise.
30000 (SRC): Likewise.
30001 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30002 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30003 "bp-asm.h".
30004 (PARMS): Do not use macros from bp-asm.h.
30005 (strlen): Do not use BP_SYM.
30006 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30007 "bp-asm.h".
30008 (PARMS): Do not use macros from bp-asm.h.
30009 (S1): Likewise.
30010 (S2): Likewise.
30011 (SIZE): Likewise.
30012 (__mpn_add_n): Do not use BP_SYM.
30013 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30014 "bp-asm.h".
30015 (PARMS): Do not use macros from bp-asm.h.
30016 (S1): Likewise.
30017 (SIZE): Likewise.
30018 (__mpn_addmul_1): Do not use BP_SYM.
30019 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30020 weak_alias.
30021 (bzero): Likewise.
30022 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30023 "bp-asm.h".
30024 (PARMS): Do not use macros from bp-asm.h.
30025 (S): Likewise.
30026 (SIZE): Likewise.
30027 (__mpn_lshift): Do not use BP_SYM.
30028 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30029 "bp-asm.h".
30030 (PARMS): Do not use macros from bp-asm.h.
30031 (DEST): Likewise.
30032 (SRC): Likewise.
30033 (LEN): Likewise.
30034 (memcpy): Likewise. Do not use BP_SYM.
30035 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30036 libc_hidden_def and weak_alias.
30037 (mempcpy): Do not use BP_SYM in weak_alias.
30038 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30039 "bp-asm.h".
30040 (PARMS): Do not use macros from bp-asm.h.
30041 (DEST): Likewise.
30042 (LEN): Likewise.
30043 [!BZERO_P] (CHR): Likewise.
30044 (memset): Likewise. Do not use BP_SYM.
30045 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30046 "bp-asm.h".
30047 (PARMS): Do not use macros from bp-asm.h.
30048 (S1): Likewise.
30049 (SIZE): Likewise.
30050 (__mpn_mul_1): Do not use BP_SYM.
30051 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30052 "bp-asm.h".
30053 (PARMS): Do not use macros from bp-asm.h.
30054 (S): Likewise.
30055 (SIZE): Likewise.
30056 (__mpn_rshift): Do not use BP_SYM.
30057 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30058 "bp-asm.h".
30059 (PARMS): Do not use macros from bp-asm.h.
30060 (STR): Likewise.
30061 (CHR): Likewise.
30062 (strchr): Likewise. Do not use BP_SYM.
30063 (index): Do not use BP_SYM in weak_alias.
30064 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30065 "bp-asm.h".
30066 (PARMS): Do not use macros from bp-asm.h.
30067 (DEST): Likewise.
30068 (SRC): Likewise.
30069 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30070 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30071 "bp-asm.h".
30072 (PARMS): Do not use macros from bp-asm.h.
30073 (strlen): Do not use BP_SYM.
30074 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30075 "bp-asm.h".
30076 (PARMS): Do not use macros from bp-asm.h.
30077 (S1): Likewise.
30078 (S2): Likewise.
30079 (SIZE): Likewise.
30080 (__mpn_sub_n): Do not use BP_SYM.
30081 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30082 "bp-asm.h".
30083 (PARMS): Do not use macros from bp-asm.h.
30084 (S1): Likewise.
30085 (SIZE): Likewise.
30086 (__mpn_submul_1): Do not use BP_SYM.
30087 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30088 "bp-asm.h".
30089 (PARMS): Do not use macros from bp-asm.h.
30090 (S1): Likewise.
30091 (S2): Likewise.
30092 (SIZE): Likewise.
30093 (__mpn_add_n): Do not use BP_SYM.
30094 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30095 weak_alias.
30096 (bzero): Likewise.
30097 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30098 "bp-asm.h".
30099 (PARMS): Do not use macros from bp-asm.h.
30100 (BLK2): Likewise.
30101 (LEN): Likewise.
30102 (memcmp): Do not use BP_SYM.
30103 (bcmp): Do not use BP_SYM in weak_alias.
30104 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30105 "bp-asm.h".
30106 (PARMS): Do not use macros from bp-asm.h.
30107 (DEST): Likewise.
30108 (SRC): Likewise.
30109 (LEN): Likewise.
30110 (memcpy): Likewise. Do not use BP_SYM.
30111 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30112 "bp-asm.h".
30113 (PARMS): Do not use macros from bp-asm.h.
30114 (DEST): Likewise.
30115 (SRC): Likewise.
30116 (LEN): Likewise.
30117 (memmove): Likewise. Do not use BP_SYM.
30118 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30119 "bp-asm.h".
30120 (PARMS): Do not use macros from bp-asm.h.
30121 (DEST): Likewise.
30122 (SRC): Likewise.
30123 (LEN): Likewise.
30124 (__mempcpy): Likewise. Do not use BP_SYM.
30125 (mempcpy): Do not use BP_SYM in weak_alias.
30126 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30127 "bp-asm.h".
30128 (PARMS): Do not use macros from bp-asm.h.
30129 (DEST): Likewise.
30130 (LEN): Likewise.
30131 [!BZERO_P] (CHR): Likewise.
30132 (memset): Likewise. Do not use BP_SYM.
30133 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30134 "bp-asm.h".
30135 (PARMS): Do not use macros from bp-asm.h.
30136 (STR2): Likewise.
30137 (strcmp): Do not use BP_SYM.
30138 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30139 "bp-asm.h".
30140 (PARMS): Do not use macros from bp-asm.h.
30141 (STR): Likewise.
30142 (DELIM): Likewise.
30143 [USE_AS_STRTOK_R] (SAVE): Likewise.
30144 (FUNCTION): Likewise. Do not use BP_SYM.
30145 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30146 aliases.
30147 (strtok_r): Likewise.
30148 (__GI___strtok_r): Likewise.
30149 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30150 (PARMS): Do not use macros from bp-asm.h.
30151 (S): Likewise.
30152 (SIZE): Likewise.
30153 (__mpn_lshift): Do not use BP_SYM.
30154 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30155 (PARMS): Do not use macros from bp-asm.h.
30156 (STR): Likewise.
30157 (CHR): Likewise.
30158 (__memchr): Do not use BP_SYM.
30159 (memchr): Do not use BP_SYM in weak_alias.
30160 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30161 (PARMS): Do not use macros from bp-asm.h.
30162 (BLK2): Likewise.
30163 (LEN): Likewise.
30164 (memcmp): Do not use BP_SYM.
30165 (bcmp): Do not use BP_SYM in weak_alias.
30166 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30167 (PARMS): Do not use macros from bp-asm.h.
30168 (S1): Likewise.
30169 (SIZE): Likewise.
30170 (__mpn_mul_1): Do not use BP_SYM.
30171 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30172 "bp-asm.h".
30173 (PARMS): Do not use macros from bp-asm.h.
30174 (STR): Likewise.
30175 (CHR): Likewise.
30176 (__rawmemchr): Do not use BP_SYM.
30177 (rawmemchr): Do not use BP_SYM in weak_alias.
30178 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30179 (PARMS): Do not use macros from bp-asm.h.
30180 (S): Likewise.
30181 (SIZE): Likewise.
30182 (__mpn_rshift): Do not use BP_SYM.
30183 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30184 (PARMS): Do not use macros from bp-asm.h.
30185 (SIGMSK): Likewise.
30186 (__sigsetjmp): Likewise. Do not use BP_SYM.
30187 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30188 (_start): Do not use BP_SYM.
30189 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30190 (PARMS): Do not use macros from bp-asm.h.
30191 (DEST): Likewise.
30192 (SRC): Likewise.
30193 (__stpcpy): Likewise. Do not use BP_SYM.
30194 (stpcpy): Do not use BP_SYM in weak_alias.
30195 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30196 "bp-asm.h".
30197 (PARMS): Do not use macros from bp-asm.h.
30198 (DEST): Likewise.
30199 (SRC): Likewise.
30200 (LEN): Likewise.
30201 (__stpncpy): Likewise. Do not use BP_SYM.
30202 (stpncpy): Do not use BP_SYM in weak_alias.
30203 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30204 (PARMS): Do not use macros from bp-asm.h.
30205 (STR): Likewise.
30206 (CHR): Likewise.
30207 (strchr): Likewise. Do not use BP_SYM.
30208 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30209 "bp-asm.h".
30210 (PARMS): Do not use macros from bp-asm.h.
30211 (STR): Likewise.
30212 (CHR): Likewise.
30213 (__strchrnul): Likewise. Do not use BP_SYM.
30214 (strchrnul): Do not use BP_SYM in weak_alias.
30215 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30216 "bp-asm.h".
30217 (PARMS): Do not use macros from bp-asm.h.
30218 (STOP): Likewise.
30219 (strcspn): Do not use BP_SYM.
30220 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30221 "bp-asm.h".
30222 (PARMS): Do not use macros from bp-asm.h.
30223 (STR): Likewise.
30224 (STOP): Likewise.
30225 (strpbrk): Likewise. Do not use BP_SYM.
30226 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30227 "bp-asm.h".
30228 (PARMS): Do not use macros from bp-asm.h.
30229 (STR): Likewise.
30230 (CHR): Likewise.
30231 (strrchr): Likewise. Do not use BP_SYM.
30232 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30233 (PARMS): Do not use macros from bp-asm.h.
30234 (SKIP): Likewise.
30235 (strspn): Do not use BP_SYM.
30236 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30237 (PARMS): Do not use macros from bp-asm.h.
30238 (STR): Likewise.
30239 (DELIM): Likewise.
30240 (SAVE): Likewise.
30241 (FUNCTION): Likewise. Do not use BP_SYM.
30242 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30243 aliases.
30244 (strtok_r): Likewise.
30245 (__GI___strtok_r): Likewise.
30246 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30247 (PARMS): Do not use macros from bp-asm.h.
30248 (S1): Likewise.
30249 (S2): Likewise.
30250 (SIZE): Likewise.
30251 (__mpn_sub_n): Do not use BP_SYM.
30252 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30253 "bp-asm.h".
30254 (PARMS): Do not use macros from bp-asm.h.
30255 (S1): Likewise.
30256 (SIZE): Likewise.
30257 (__mpn_submul_1): Do not use BP_SYM.
30258 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30259 <bp-sym.h>.
30260 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30261 and <bp-asm.h>.
30262 (PARMS): Do not use macros from bp-asm.h.
30263 (FLAGS): Likewise.
30264 (PTID): Likewise.
30265 (TLS): Likewise.
30266 (CTID): Likewise.
30267 (__clone): Do not use BP_SYM.
30268 (clone): Do not use BP_SYM in weak_alias.
30269 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30270 and <bp-asm.h>.
30271 (PARMS): Do not use macros from bp-asm.h.
30272 (LEN): Likewise.
30273 (__mmap64): Do not use BP_SYM.
30274 (mmap64): Do not use BP_SYM in weak_alias.
30275 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30276 <bp-sym.h> and <bp-asm.h>.
30277 (PARMS): Do not use macros from bp-asm.h.
30278 (__posix_fadvise64_l64): Do not use BP_SYM.
30279 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30280 (PARMS): Do not use macros from bp-asm.h.
30281 (NSOPS): Likewise.
30282 (semtimedop): Do not use BP_SYM.
30283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30284 and <bp-asm.h>.
30285
582a3cff
AM
302862013-02-21 Allan McRae <allan@archlinux.org>
30287
30288 * manual/message.texi (Charset conversion in gettext):
30289 Move @end statement to beginning of line.
30290
bab8a695
SP
302912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30292
80945231
SP
30293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30294 static.
30295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30296 Likewise.
30297
bab8a695
SP
30298 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30299 (denorm): Likewise.
30300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30302
e21d7aa7
AK
303032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30304
30305 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30306 tail-call to the resolved function if pltexit isn't needed.
30307
4c7a4263
SP
303082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30309
30310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30311 or Y being zero as being unlikely.
30312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30313 Likewise.
30314
41f49342
CD
303152013-02-20 Carlos O'Donell <carlos@redhat.com>
30316
30317 * manual/nss.texi (System Databases and Name Service Switch):
30318 Remove frobnicate @pxref.
30319
50022a93
TS
303202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30321
30322 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30323 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30324
08cbd996
PM
303252013-02-20 Petr Machata <pmachata@redhat.com>
30326
30327 * elf/elf.h (R_ARM_TARGET1): New macro.
30328 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30329 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30330 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30331 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30332 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30333 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30334 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30335 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30336 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30337 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30338 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30339 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30340 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30341 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30342 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30343 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30344 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30345 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30346 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30347 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30348 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30349 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30350 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30351 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30352 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30353 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30354 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30355 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30356 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30357 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30358 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30359 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30360 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30361 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30362 (R_ARM_THM_GOT_BREL12): Likewise.
30363 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30364 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30365 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30366 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30367 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30368 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30369 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30370 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30371 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30372
c7b275d6
TS
303732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30374
30375 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30376 __attribute_used__ to __attribute__ ((unused)).
30377
20cd7fb3
SP
303782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30379
30380 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30381 powerpc mpa.c.
30382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30383 comment formatting.
30384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30385
92945b52
JM
303862013-02-19 Joseph Myers <joseph@codesourcery.com>
30387
30388 [BZ #13550]
30389 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30390 Remove macro.
30391 (ENTER): Remove both macro definitions.
30392 (LEAVE): Likewise.
30393 (CHECK_BOUNDS_LOW): Likewise.
30394 (CHECK_BOUNDS_HIGH): Likewise.
30395 (CHECK_BOUNDS_BOTH): Likewise.
30396 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30397 (RETURN_BOUNDED_POINTER): Likewise.
30398 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30399 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30400 (POP_ERRNO_LOCATION_RETURN): Likewise.
30401 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30402 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30403 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30404 macros.
30405 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30406 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30407 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30408 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30409 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30410 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30411 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30412 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30413 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30414 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30415 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30416 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30417 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30418 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30419 removed macros.
30420 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30421 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30422 macros.
30423 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30424 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30425 * sysdeps/i386/i586/memset.S (memset): Likewise.
30426 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30427 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30428 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30429 macros.
30430 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30431 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30432 Change uses of L(2) to L(out).
30433 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30434 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30435 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30436 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30437 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30438 removed macros.
30439 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30440 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30441 macros.
30442 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30443 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30444 (RETURN): Do not use macro LEAVE.
30445 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30446 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30447 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30448 * sysdeps/i386/i686/memset.S (memset): Likewise.
30449 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30450 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30451 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30452 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30453 Likewise.
30454 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30455 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30456 L(1_2) and L(1_3) into L(1).
30457 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30458 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30459 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30460 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30461 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30462 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30463 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30464 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30465 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30466 macros.
30467 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30468 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30469 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30470 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30471 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30472 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30473 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30474 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30475 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30476 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30477 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30478 * sysdeps/i386/strspn.S (strspn): Likewise.
30479 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30480 conditional code.
30481 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30482 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30483 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30484 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30485 L(1_3) into L(1_1).
30486 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30487 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30488 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30489 macros.
30490 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30491
2389741a
JJ
304922013-02-19 Jakub Jelinek <jakub@redhat.com>
30493
30494 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30495 macro.
30496
2016b3cd
SP
304972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30498
e4f22324
SP
30499 * math/atest-exp.c (exp_mpn): Remove ROUND.
30500 * math/atest-exp2.c (exp_mpn): Likewise.
30501 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30502
2016b3cd
SP
30503 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30504 * stdlib/tst-tls-atexit-lib.c: Likewise.
30505 * stdlib/tst-tls-atexit.c: Likewise.
30506
4be9b544
MF
305072013-02-18 Mike Frysinger <vapier@gentoo.org>
30508
30509 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30510 and __attribute_alloc_size__.
30511
2f62b9ee
MF
305122013-02-18 Mike Frysinger <vapier@gentoo.org>
30513
30514 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30515 __attribute_alloc_size__.
30516 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30517 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30518
6ff444c4
MF
305192013-02-18 Mike Frysinger <vapier@gentoo.org>
30520
30521 * include/programs/xmalloc.h: New file.
30522 * catgets/gencat.c: Include it.
30523 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30524 * elf/pldd.c: Likewise.
30525 * iconv/iconv_charmap.c: Likewise.
30526 * iconv/iconvconfig.c: Likewise.
30527 * iconv/strtab.c: Likewise.
30528 * locale/programs/locale.c: Likewise.
30529 * locale/programs/localedef.h: Likewise.
30530 * locale/programs/simple-hash.c: Likewise.
30531 * nscd/nscd.h: Likewise.
30532 * nss/makedb.c: Likewise.
30533 * sysdeps/generic/ldconfig.h: Likewise.
30534
be179c8a
SP
305352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30536
ba384f6e
SP
30537 * Versions.def: Add GLIBC_2.18.
30538 * include/link.h (struct link_map): New member l_tls_dtor_count.
30539 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30540 (__call_tls_dtors): Likewise.
30541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30542 __cxa_thread_atexit_impl.
30543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30544 Likewise.
30545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30546 Likewise.
30547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30548 Likewise.
30549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30550 Likewise.
30551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30553 Likewise.
30554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30555 Likewise.
30556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30558 Likewise.
30559 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30560 (tests): Add test case tst-tls-atexit.
30561 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30562 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30563 (GLIBC_PRIVATE): Add __call_tls_dtors.
30564 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30565 for libstdc++.
30566 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30567 * stdlib/tst-tls-atexit.c: New test case.
30568 * stdlib/tst-tls-atexit-lib.c: New test case.
30569
ffaa74cf 30570 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30571
be179c8a
SP
30572 * elf/Versions (ld): Add _dl_find_dso_for_object.
30573 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30574 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30575 (dl_open_worker): Use _dl_find_dso_for_object.
30576 * elf/dl-sym.c (do_sym): Likewise.
30577 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30578
f78b5caa
AK
305792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30580
30581 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30582 Syntactic changes only.
30583 (_dl_runtime_profile): Do a tail-call to the resolved function.
30584
29691210
JM
305852013-02-17 Joseph Myers <joseph@codesourcery.com>
30586
30587 [BZ #13550]
30588 * sysdeps/x86_64/bp-asm.h: Remove file.
30589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30590 <bp-sym.h> and <bp-asm.h>.
30591 (__clone): Do not use BP_SYM.
30592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30593 <bp-sym.h> and <bp-asm.h>.
30594 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30595 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30596 "bp-asm.h".
30597 (_setjmp): Do not use BP_SYM.
30598 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30599 "bp-asm.h".
30600 (setjmp): Do not use BP_SYM.
30601 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30602 libc_hidden_def.
30603 (mempcpy): Do not use BP_SYM in weak_alias.
30604 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30605 "bp-asm.h".
30606 (strchr): Do not use BP_SYM.
30607 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30608 "bp-asm.h".
30609 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30610 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30611 (_start): Do not use BP_SYM.
30612 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30613 "bp-asm.h".
30614 (strcat): Do not use BP_SYM.
30615 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30616 "bp-asm.h".
30617 (STRCMP): Do not use BP_SYM.
30618 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30619 "bp-asm.h".
30620 (STRCPY): Do not use BP_SYM.
30621 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30622 "bp-asm.h".
30623 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30624 "bp-asm.h".
30625 (FUNCTION): Do not use BP_SYM.
30626 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30627 weak_alias.
30628 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30629
f238fd19
AJ
306302013-02-17 Andreas Jaeger <aj@suse.de>
30631
30632 * time/Versions: Sort entries.
30633 * string/Versions: Likewise.
30634 * resolv/Versions: Likewise.
30635 * posix/Versions: Likewise.
30636 * iconv/Versions: Likewise.
30637 * elf/Versions: Likewise.
30638 * wcsmbs/Versions: Likewise.
30639
bd07f23c 306402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30641
22af19f9
SP
30642 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30643 loop termination condition.
30644
4709fe76
SP
30645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30646 variable to calculate EZ.
30647 (__sqr): Likewise.
2d0e0f29
SP
30648
30649 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30650 the lower precision input.
30651
daaa7713
JM
306522013-02-15 Joseph Myers <joseph@codesourcery.com>
30653
30654 [BZ #13550]
30655 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30656 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30657 (run-via-rtld-prefix): Do not handle %-bp tests.
30658 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30659 (all-object-suffixes): Remove .ob.
30660 (bppfx): Remove variable.
30661 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30662 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30663 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30664 [$(build-bounded) = yes] (libtype.ob): Likewise.
30665 * Makerules (elide-routines.ob): Remove variable.
30666 (do-tests-clean): Do not handle *-bp.out.
30667 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30668 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30669 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30670 (tests): Do not include $(tests-bp.out).
30671 (xtests): Do not include $(xtests-bp.out).
30672 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30673 [$(build-bounded) = yes] ($(addprefix
30674 $(objpfx),$(binaries-bounded))): Remove rule.
30675 ($(objpfx)%-bp.out): Remove rule.
30676 * config.make.in (build-bounded): Remove variable.
30677 * crypt/Makefile [$(build-bounded) = yes]
30678 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30679 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30680 append to variable.
30681 [$(build-bounded) = yes] (install-lib): Likewise.
30682 [$(build-bounded) = yes] (generated): Likewise.
30683 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30684 Remove rule.
30685 * intl/Makefile [$(build-bounded) = yes]
30686 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30687 * math/Makefile [$(build-bounded) = yes]
30688 ($(tests:%=$(objpfx)%-bp): Likewise.
30689 * misc/Makefile [$(build-bounded) = yes]
30690 ($(objpfx)tst-tsearch-bp): Likewise.
30691 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30692 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30693 Remove dependency.
30694 * string/Makefile (o-objects.ob): Remove variable.
30695 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30696 (CFLAGS-.ob): Remove variable.
30697 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30698 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30699 both definitions of variable.
30700 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30701 (ASFLAGS-.ob): Remove variable.
30702
e97ed6dd
JM
307032013-02-14 Joseph Myers <joseph@codesourcery.com>
30704
2bdd4ca6
JM
30705 [BZ #13550]
30706 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30707 Remove __BOUNDED_POINTERS__ from condition.
30708 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30709 * string/bits/string2.h [!__NO_STRING_INLINES &&
30710 !__BOUNDED_POINTERS__]: Likewise.
30711 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30712 Likewise.
30713 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30714 Remove conditional code.
30715 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30716 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30717 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30718 condition.
30719
e97ed6dd
JM
30720 [BZ #13550]
30721 * csu/libc-start.c: Do not include <bp-sym.h>.
30722 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30723 * elf/dl-open.c: Do not include <bp-sym.h>.
30724 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30725 * math/fegetenv.c: Do not include <bp-sym.h>.
30726 (fegetenv): Do not use BP_SYM in versioned symbols.
30727 * nptl/sysdeps/pthread/bits/libc-lockP.h
30728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30729 <bp-sym.h>.
30730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30731 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30733 (__pthread_mutex_destroy): Likewise.
30734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30735 (__pthread_mutex_lock): Likewise.
30736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30737 (__pthread_mutex_trylock): Likewise.
30738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30739 (__pthread_mutex_unlock): Likewise.
30740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30741 (__pthread_mutexattr_init): Likewise.
30742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30743 (__pthread_mutexattr_destroy): Likewise.
30744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30745 (__pthread_mutexattr_settype): Likewise.
30746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30747 (__pthread_rwlock_init): Likewise.
30748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30749 (__pthread_rwlock_destroy): Likewise.
30750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30751 (__pthread_rwlock_rdlock): Likewise.
30752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30753 (__pthread_rwlock_tryrdlock): Likewise.
30754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30755 (__pthread_rwlock_wrlock): Likewise.
30756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30757 (__pthread_rwlock_trywrlock): Likewise.
30758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30759 (__pthread_rwlock_unlock): Likewise.
30760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30761 (__pthread_key_create): Likewise.
30762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30763 (__pthread_setspecific): Likewise.
30764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30765 (__pthread_getspecific): Likewise.
30766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30767 Likewise.
30768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30769 (_pthread_cleanup_push_defer): Likewise.
30770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30771 (_pthread_cleanup_pop_restore): Likewise.
30772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30773 (pthread_setcancelstate): Likewise.
30774 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30775 <bp-sym.h>.
30776 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30777 (memchr): Do not use BP_SYM in weak_alias.
30778 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30779 (fegetenv): Do not use BP_SYM in versioned symbols.
30780 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30781 (fesetenv): Do not use BP_SYM in versioned symbols.
30782 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30783 (feupdateenv): Do not use BP_SYM in versioned symbols.
30784 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30785 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30786 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30787 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30788 (open64): Do not use BP_SYM in weak_alias.
30789 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30790 (fegetenv): Do not use BP_SYM in versioned symbols.
30791 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30792 (fesetenv): Do not use BP_SYM in versioned symbols.
30793 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30794 (feupdateenv): Do not use BP_SYM in versioned symbols.
30795 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30796 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30797 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30798 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30799 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30800 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30801 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30802 <bp-sym.h>.
30803 (__libc_start_main): Do not use BP_SYM.
30804
d6752ccd
SP
308052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30806
cb57ce60
SP
30807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30808 redundant return line.
30809 (norm): Likewise.
30810 (denorm): Likewise.
30811 (dbl_mp): Likewise.
30812 (sub_magnitudes): Likewise.
30813 (__add): Likewise.
30814 (__sub): Likewise.
30815 (__mul): Likewise.
30816 (__inv): Likewise.
30817 (__dvd): Likewise.
30818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30819 (norm): Likewise.
30820 (denorm): Likewise.
30821 (dbl_mp): Likewise.
30822 (sub_magnitudes): Likewise.
30823 (__add): Likewise.
30824 (__sub): Likewise.
30825 (__mul): Likewise.
30826 (__inv): Likewise.
30827 (__dvd): Likewise.
30828
f414520d
SP
30829 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30830 instead of __mul.
30831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30832 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30833 (cc32): Likewise.
30834
d6752ccd
SP
30835 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30836 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30838 of __mul for squares.
30839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30840 function
30841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30842 Likewise.
30843 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30844 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30845
70d9946a
JM
308462013-02-13 Joseph Myers <joseph@codesourcery.com>
30847
30848 [BZ #13550]
30849 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30850 code.
30851 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30852 prototype or function definition. Rename ubp_* variables and
30853 parameters. Remove argv definitions conditional on
30854 [__BOUNDED_POINTERS__].
30855 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30856 * elf/dl-runtime.c (_dl_fixup): Likewise.
30857 * include/set-hooks.h (RUN_HOOK): Likewise.
30858 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30859 definition.
30860 * string/strcpy.c (strcpy): Do not use __unbounded.
30861 * sysdeps/generic/frame.h (struct layout): Likewise.
30862 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30863 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30864 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30865 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30866 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30867 (__backtrace): Likewise.
30868 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30869 use __ptrvalue.
30870 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30871 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30872 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30873 Likewise.
30874 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30875 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30876 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30877 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30878 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30879 Do not use __unbounded.
30880 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30881 Rename __unboundedrlimits parameter to rlimits in prototype.
30882 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30883 Do not use __unbounded.
30884 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30885 not use __ptrvalue.
30886 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30887 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30888 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30889 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30890 __ptrvalue or __unbounded.
30891 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30892 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30893 use __unbounded.
30894 (__new_msgctl): Do not use __ptrvalue.
30895 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30896 __unbounded.
30897 (__libc_msgrcv): Do not use __ptrvalue.
30898 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30899 startup_info): Do not use __unbounded.
30900 (__libc_start_main): Likewise. Rename ubp_* variables and
30901 parameters. Remove argv definitions conditional on
30902 [__BOUNDED_POINTERS__].
30903 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30904 __ptrvalue.
30905 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30906 use __unbounded.
30907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30908 or __ptrvalue.
30909 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30910 use __unbounded.
30911 (__new_shmctl): Do not use __ptrvalue.
30912 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30913 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30914 Likewise.
30915 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30917 (__libc_sigaction): Likewise.
30918 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30919 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30920 Likewise.
30921 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30922
cc7834d6
OB
309232013-02-13 Ondřej Bílka <neleai@seznam.cz>
30924
ffb1ec7b 30925 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30926
30927 * string/mempcpy.c: Implement by calling memcpy.
30928
bdf02814
SP
309292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30930
c2af38aa
SP
30931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30932
4e92d59e
SP
30933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30934 evaluation.
30935
909279a5
SP
30936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30937 values in the mantissa.
30938
bdf02814
SP
30939 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30940 minimize writes to Z.
30941 (sub_magnitudes): Simplify code a bit.
30942
cd525923
RM
309432013-02-12 Roland McGrath <roland@hack.frob.com>
30944
30945 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30946 from the message. The linker prefixes all warnings with that already.
30947
7e2f0d2d
AS
309482013-02-12 Andreas Schwab <schwab@suse.de>
30949
a445af0b
AS
30950 [BZ #15078]
30951 * posix/regexec.c (extend_buffers): Add parameter min_len.
30952 (check_matching): Pass minimum needed length.
30953 (clean_state_log_if_needed): Likewise.
30954 (get_subexp): Likewise.
30955 * posix/Makefile (tests): Add bug-regex34.
30956 (bug-regex34-ENV): Define.
30957 * posix/bug-regex34.c: New file.
30958
7e2f0d2d
AS
30959 [BZ #11561]
30960 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30961 elements compare against the byte sequence of it, not its name.
30962 * posix/Makefile (tests): Add bug-regex35.
30963 (bug-regex35-ENV): Define.
30964 * posix/bug-regex35.c: New file.
30965
a175b684
TV
309662013-02-11 Tom de Vries <tom@codesourcery.com>
30967
30968 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30969 comment.
30970 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30971 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30972 (CHECK_EOL): Add undef.
30973
310998fe 309742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30975
30976 * bits/stdlib-bsearch.h: New file.
30977 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30978 * stdlib/stdlib.h: Likewise.
41eda41d 30979
8ded91fb
RM
309802013-02-11 Roland McGrath <roland@hack.frob.com>
30981
30982 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30983 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30984 declaration.
30985 * manual/search.texi (Array Search Function): Add missing const in
30986 lfind prototype.
30987 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30988 declaration to use rlim_t.
30989 (Basic Scheduling Functions): Remove erroneous const from
30990 sched_getparam prototype. Remove erroneous * from
30991 sched_get_priority_max and sched_get_priority_min prototypes.
30992 (Resource Usage): Fix summary @comment on vtimes to refer to
30993 sys/vtimes.h rather than vtimes.h.
30994 Add missing *s in vtimes prototype.
30995 (Limits on Resources): Fix ulimit prototype to return long int.
30996 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30997 prototypes to use long int rather than double.
30998 (BSD Random): Fix initstate and setstate to use char *, not void *.
30999 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31000 prototype to make second argument 'struct aiocb64 *const[]'.
31001 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31002 (Status of AIO Operations): Remove erroneous const in aio_return and
31003 aio_return64 prototypes.
31004 (Synchronizing I/O): Fix sync prototype to return void.
31005 * manual/startup.texi (Suboptions): Remove an erroneous const in
31006 getsubopt prototype.
31007 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31008 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31009 use size_t rather than int.
31010 (Scanning All Users): Likewise for getpwent_r.
31011 (Setting Groups): Add missing const to setgroups prototype.
31012 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31013 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31014 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31015 'const void *' rather than 'const char *'.
31016 (Host Address Functions): Likewise for inet_ntop.
31017 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31018 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31019 ssize_t for return value.
31020 (Sending Data): Likewise for send, sendto, sendmsg.
31021 (Socket Option Functions): Add a missing const in setsockopt prototype.
31022 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31023 use wchar_t for the argument.
31024 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31025 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31026 take no arguments.
31027 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31028 double/float/long double for second argument.
31029 Fix return types of significand, significandf, significandl.
31030 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31031 argument in fchmod prototype.
31032 (File Owner): Use uid_t and gid_t in fchown prototype.
31033 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31034 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31035 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31036 use 'const struct dirent **' as argument types to CMP function pointer
31037 argument.
31038 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31039 (File Times): Fix summary magic @comment for struct utimbuf and utime
31040 to refer to utime.h, not time.h.
31041 * manual/string.texi (Argz Functions): Add missing const in
31042 argz_extract and argz_next prototypes.
31043 (Finding Tokens in a String): Likewise for basename.
31044 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31045 (Copying and Concatenation): Fix typo in wmemmove prototype.
31046 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31047 (Signal Stack): Remove erroneous const in sigstack prototype.
31048 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31049 prototype.
31050 (Simple Calendar Time): Likewise for stime.
31051 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31052 prototype.
31053 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31054 say sys/sysctl.h instead.
31055 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31056 and vsyslog prototypes.
31057
fe77fe6d
TV
310582013-02-11 Tom de Vries <tom@codesourcery.com>
31059
31060 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31061 Remove.
31062
3a09b620
RM
310632013-02-11 Roland McGrath <roland@hack.frob.com>
31064
31065 * misc/sys/mman.h: Fix typo in mremap comment.
31066
550a0b89
RM
310672013-02-08 Roland McGrath <roland@hack.frob.com>
31068
31069 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31070 the '\0' terminator.
31071
a2da1673
JM
310722013-02-08 Joseph Myers <joseph@codesourcery.com>
31073
31074 [BZ #13550]
31075 * debug/segfault.c: Don't include <bp-checks.h>.
31076 * sysdeps/generic/bp-checks.h: Remove file.
31077 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31078 (__GETDENTS): Don't use CHECK_N.
31079 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31080 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31081 (__getgroups): Don't use CHECK_N.
31082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31083 (setgroups): Don't use CHECK_N.
31084 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31085 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31086 (__libc_msgrcv): Don't use CHECK_N.
31087 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31088 (__libc_msgsnd): Don't use CHECK_N.
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31090 <bp-checks.h>.
31091 (__libc_pread): Don't use CHECK_N.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31093 include <bp-checks.h>.
31094 (__libc_pread64): Don't use CHECK_N.
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31096 include <bp-checks.h>.
31097 (__libc_pwrite): Don't use CHECK_N.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31099 include <bp-checks.h>.
31100 (__libc_pwrite64): Don't use CHECK_N.
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31102 <bp-checks.h>.
31103 (__libc_pread): Don't use CHECK_N.
31104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31105 include <bp-checks.h>.
31106 (__libc_pread64): Don't use CHECK_N.
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31108 include <bp-checks.h>.
31109 (__libc_pwrite): Don't use CHECK_N.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31111 include <bp-checks.h>.
31112 (__libc_pwrite64): Don't use CHECK_N.
31113 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31114 (do_pread): Don't use CHECK_N.
31115 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31116 (do_pread64): Don't use CHECK_N.
31117 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31118 (do_pwrite): Don't use CHECK_N.
31119 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31120 (do_pwrite64): Don't use CHECK_N.
31121 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31122 (__libc_readv): Don't use CHECK_N.
31123 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31124 (semop): Don't use CHECK_N.
31125 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31126 <bp-checks.h>.
31127 (semtimedop): Don't use CHECK_N.
31128 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31129 (__libc_pread): Don't use CHECK_N.
31130 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31131 <bp-checks.h>.
31132 (__libc_pread64): Don't use CHECK_N.
31133 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31134 <bp-checks.h>.
31135 (__libc_pwrite): Don't use CHECK_N.
31136 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31137 <bp-checks.h>.
31138 (__libc_pwrite64): Don't use CHECK_N.
31139 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31140 <bp-checks.h>.
31141 (__libc_msgrcv): Don't use CHECK_N.
31142 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31143 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31144 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31145 (__libc_writev): Don't use CHECK_N.
31146
b84660a8
RM
311472013-02-08 Roland McGrath <roland@hack.frob.com>
31148
7f3e75f8
RM
31149 * string/strcpy.c: Removed unused variable.
31150
b84660a8
RM
31151 * Makeconfig (+sysdep-includes): Define with := rather than =.
31152 Use an existing include/ subdir of each sysdeps dir before it.
31153
471514d3
CD
311542013-02-08 Carlos O'Donell <carlos@redhat.com>
31155
31156 * nscd/connection.c (register_traced_file): Comment function.
31157 [HAVE_INOTIFY] (union __inev): Define.
31158 [HAVE_INOTIFY] (inotify_check_files): New function.
31159 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31160 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31161 clear_db_cache.
31162 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31163
b2d3c3be
CD
311642013-02-08 Carlos O'Donell <carlos@redhat.com>
31165
31166 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31167 loaded if not already and that a failure is permanent.
31168
b39949d2
CD
311692013-02-08 Carlos O'Donell <carlos@redhat.com>
31170
ddacd1db 31171 [BZ #15006]
b39949d2
CD
31172 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31173 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31174
b2c9eff4
JM
311752013-02-08 Joseph Myers <joseph@codesourcery.com>
31176
f3aae3f3
JM
31177 [BZ #13550]
31178 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31179 (CHECK_1_NULL_OK): Likewise.
31180 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31181 (__fxstat): Do not use CHECK_1.
31182 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31183 <bp-checks.h>.
31184 (___fxstat64): Do not use CHECK_1.
31185 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31186 <bp-checks.h>.
31187 (__fxstatat): Do not use CHECK_1.
31188 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31189 <bp-checks.h>.
31190 (__fxstatat64): Do not use CHECK_1.
31191 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31192 <bp-checks.h>.
31193 (__fxstat): Do not use CHECK_1.
31194 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31195 <bp-checks.h>.
31196 (__fxstatat): Do not use CHECK_1.
31197 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31198 <bp-checks.h>.
31199 (__getresgid): Do not use CHECK_1.
31200 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31201 <bp-checks.h>.
31202 (__getresuid): Do not use CHECK_1.
31203 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31204 <bp-checks.h>.
31205 (__lxstat): Do not use CHECK_1.
31206 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31207 <bp-checks.h>.
31208 (__old_msgctl): Do not use CHECK_1.
31209 (__new_msgctl): Likewise.
31210 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31211 <bp-checks.h>.
31212 (__new_setrlimit): Do not use CHECK_1.
31213 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31214 <bp-checks.h>.
31215 (__old_shmctl): Do not use CHECK_1.
31216 (__new_shmctl): Likewise.
31217 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31218 <bp-checks.h>.
31219 (__xstat): Do not use CHECK_1.
31220 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31221 (__lxstat): Do not use CHECK_1.
31222 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31223 <bp-checks.h>.
31224 (___lxstat64): Do not use CHECK_1.
31225 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31226 (__old_msgctl): Do not use CHECK_1.
31227 (__new_msgctl): Likewise.
31228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31229 <bp-checks.h>.
31230 (__gettimeofday): Do not use CHECK_1.
31231 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31232 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31233 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31234 <bp-checks.h>.
31235 (__gettimeofday): Do not use CHECK_1.
31236 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31237 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31238 (__new_shmctl): Do not use CHECK_1.
31239 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31240 <bp-checks.h>.
31241 (do_sigtimedwait): Do not use CHECK_1.
31242 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31243 <bp-checks.h>.
31244 (do_sigwaitinfo): Do not use CHECK_1.
31245 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31246 <bp-checks.h>.
31247 (msgctl): Do not use CHECK_1.
31248 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31249 <bp-checks.h>.
31250 (shmctl): Do not use CHECK_1.
31251 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31252 (ustat): Do not use CHECK_1.
31253 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31254 <bp-checks.h>.
31255 (__fxstat): Do not use CHECK_1.
31256 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31257 <bp-checks.h>.
31258 (__fxstatat): Do not use CHECK_1.
31259 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31260 <bp-checks.h>.
31261 (__lxstat): Do not use CHECK_1.
31262 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31263 <bp-checks.h>.
31264 (__xstat): Do not use CHECK_1.
31265 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31266 (__xstat): Do not use CHECK_1.
31267 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31268 (___xstat64): Do not use CHECK_1.
31269
b2c9eff4
JM
31270 [BZ #13550]
31271 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31272 definitions.
31273 (CHECK_BOUNDS_HIGH): Likewise.
31274 * string/strcpy.c: Do not include <bp-checks.h>.
31275 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31276
f1d70dad
RM
312772013-02-07 Roland McGrath <roland@hack.frob.com>
31278
31279 * nscd/nscd-client.h (__nscd_drop_map_ref):
31280 Add __attribute__ ((unused)).
31281 * nis/nss-nisplus.h (niserr2nss): Likewise.
31282
31283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31284 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31285
31286 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31287 Remove inline keyword.
31288 * include/rounding-mode.h (round_away): Likewise.
31289 * libio/wfileops.c (adjust_wide_data): Likewise.
31290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31291 (__m128i_strloadu_tolower): Likewise.
31292 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31293 (__m128i_strloadu_tolower): Likewise.
31294 * time/mktime.c (ydhms_diff): Likewise.
31295 * locale/elem-hash.h (elem_hash): Likewise.
31296 * locale/setlocale.c (setdata): Likewise.
31297 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31298 (re_string_wchar_at): Likewise.
31299 (bitset_not, bitset_merge, bitset_mask): Likewise.
31300 [!(__GNUC__ > 3)] (inline): Remove macro.
31301 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31302 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31303 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31304 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31305 * string/memcmp.c (memcmp_bytes): Likewise.
31306 * locale/programs/locarchive.c (compute_hashval): Likewise.
31307 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31308 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31309 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31310 * nss/getent.c (print_rpc, print_protocols): Likewise.
31311 (print_passwd, print_group, print_aliases): Likewise.
31312 * nis/nss-nisplus.h (niserr2nss): Likewise.
31313 * nscd/connections.c (restart_p): Likewise.
31314 Change return type to bool.
31315
eab55bfb
RM
313162013-02-05 Roland McGrath <roland@hack.frob.com>
31317
7bd642f5
RM
31318 * Makeconfig (all-Depend-files): Add existing
31319 $(sorted-subdirs:=/Depend) files.
31320 (all-subdirs): Remove nss.
31321 * sysdeps/unix/inet/Subdirs: Add it here instead.
31322 * hesiod/Depend: New file.
31323
573c29b2
RM
31324 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31325 instead of calling alloca.
31326
b2e25af0
RM
31327 * io/lseek.c (__lseek): Rename to __libc_lseek.
31328 Define __lseek as an alias.
31329
eab55bfb
RM
31330 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31331
9a0d1941
CD
313322013-02-04 Carlos O'Donell <carlos@redhat.com>
31333
31334 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31335 else clause and remove check for non-standard endianness.
31336
b83bbec4
DM
313372013-02-04 David S. Miller <davem@davemloft.net>
31338
31339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31340
6277fdab
JM
313412013-02-04 Joseph Myers <joseph@codesourcery.com>
31342
31343 [BZ #13550]
31344 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31345 (__ubp_memchr): Remove prototype.
31346 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31347 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31348 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31349 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31350 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31351 Remove alias.
31352 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31353 (__ubp_memchr): Likewise.
31354 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31355 (__ubp_memchr): Likewise.
31356 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31357 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31358 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31359 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31360 CHECK_STRING.
31361 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31362 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31363 (__getcwd): Do not use CHECK_STRING.
31364 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31365 <bp-checks.h>.
31366 (__real_chown): Do not use CHECK_STRING.
31367 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31368 <bp-checks.h>.
31369 (fchownat): Do not use CHECK_STRING.
31370 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31371 CHECK_STRING.
31372 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31373 <bp-checks.h>.
31374 (__lchown): Do not use CHECK_STRING.
31375 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31376 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31377 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31378 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31380 include <bp-checks.h>.
31381 (truncate64): Do not use CHECK_STRING.
31382 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31383 <bp-checks.h>.
31384 (__real_chown): Do not use CHECK_STRING.
31385 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31386 <bp-checks.h>.
31387 (__lchown): Do not use CHECK_STRING.
31388 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31389 <bp-checks.h>.
31390 (__chown): Do not use CHECK_STRING.
31391 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31392 <bp-checks.h>.
31393 (truncate64): Do not use CHECK_STRING.
31394 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31395 Likewise.
31396 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31397 (__xmknod): Do not use CHECK_STRING.
31398 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31399 <bp-checks.h>.
31400 (__xmknodat): Do not use CHECK_STRING.
31401 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31402 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31403
903ae060
AS
314042013-02-04 Andreas Schwab <schwab@suse.de>
31405
31406 [BZ #14142]
31407 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31408 * include/netdb.h: Likewise for h_errno.
31409 * elf/tst-stackguard1.c: Include <tls.h>.
31410
542f9466
JK
314112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31412
31413 * elf/link.h (struct link_map): Extend the l_addr comment.
31414 * include/link.h (struct link_map): Likewise.
31415
e782a927
JM
314162013-02-01 Joseph Myers <joseph@codesourcery.com>
31417
31418 [BZ #13550]
31419 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31420 (BOUNDED_1): Remove macro.
31421 * debug/backtrace.c: Don't include <bp-checks.h>.
31422 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31423 (__backtrace): Likewise.
31424 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31425 <bp-checks.h>.
31426 (__backtrace): Don't use BOUNDED_1.
31427 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31428 <bp-checks.h>.
31429 (__backtrace): Don't use BOUNDED_1.
31430 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31431 (__backtrace): Don't use BOUNDED_1.
31432 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31433 (shmat): Don't use BOUNDED_N.
31434
8cf28c5e
JM
314352013-01-31 Joseph Myers <joseph@codesourcery.com>
31436
3a7ac8a0
JM
31437 [BZ #13550]
31438 * sysdeps/generic/bp-start.h: Remove file.
31439 * csu/libc-start.c: Don't include <bp-start.h>.
31440 (LIBC_START_MAIN): Set up __environ directly instead of using
31441 INIT_ARGV_and_ENVIRON.
31442 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31443 <bp-start.h>.
31444
f3499f95
JM
31445 [BZ #13550]
31446 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31447 definitions.
31448 (CHECK_FCNTL): Likewise.
31449 (CHECK_N_PAGES): Likewise.
31450
32a45bea
JM
31451 [BZ #13550]
31452 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31453 definitions.
31454 (CHECK_SIGSET_NULL_OK): Likewise.
31455 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31456 <bp-checks.h>.
31457 (sigpending): Don't use CHECK_SIGSET.
31458 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31459 <bp-checks.h>.
31460 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31461 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31462 <bp-checks.h>.
31463 (do_sigsuspend): Don't use CHECK_SIGSET.
31464 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31465 use CHECK_SIGSET.
31466 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31467 (do_sigwait): Don't use CHECK_SIGSET.
31468 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31469 use CHECK_SIGSET.
31470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31471 include <bp-checks.h>.
31472 (sigpending): Don't use CHECK_SIGSET.
31473 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31474 include <bp-checks.h>.
31475 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31476 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31477 <bp-checks.h>.
31478 (sigpending): Don't use CHECK_SIGSET.
31479 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31480 <bp-checks.h>.
31481 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31482
2e8a5c8c
JM
31483 [BZ #13550]
31484 * sysdeps/generic/bp-semctl.h: Remove file.
31485 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31486 <bp-checks.h> and <bp-semctl.h>.
31487 (__old_semctl): Don't use CHECK_SEMCTL.
31488 (__new_semctl): Likewise.
31489 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31490 and <bp-semctl.h>.
31491 (__old_semctl): Don't use CHECK_SEMCTL.
31492 (__new_semctl): Likewise.
31493 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31494 <bp-checks.h> and <bp-semctl.h>.
31495 (__old_semctl): Don't use CHECK_SEMCTL.
31496 (__new_semctl): Likewise.
31497 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31498 <bp-checks.h> and <bp-semctl.h>.
31499 (semctl): Don't use CHECK_SEMCTL.
31500
c2d54929
JM
31501 [BZ #13550]
31502 * Makerules (elide-bp-thunks): Remove variable.
31503 (elide-routines.oS): Don't use $(elide-bp-thunks).
31504 (elide-routines.os): Likewise.
31505 (elide-routines.o): Likewise.
31506 (elide-routines.op): Likewise.
31507 (elide-routines.og): Likewise.
31508 (objects): Don't use $(bp-thunks).
31509 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31510 include.
31511 (common-generated): Do not add s-proto-bp.d.
31512 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31513 (int): Likewise.
31514 (typ): Likewise.
31515 Do not generate makefile rules for bounded-pointer thunks.
31516 * sysdeps/generic/bp-thunks.h: Remove file.
31517 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31518 * sysdeps/unix/s-proto-bp.S: Likewise.
31519
8cf28c5e
JM
31520 [BZ #15062]
31521 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31522 parts of result separately when argument is not close to line from
31523 -i to i and one part of argument is small.
31524 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31525 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31526 * math/libm-test.inc (cacos_test): Add more tests.
31527 (casin_test): Likewise.
31528 (casinh_test): Likewise.
31529 * sysdeps/i386/fpu/libm-test-ulps: Update.
31530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31531
c4e33b8d
DM
315322013-01-31 David S. Miller <davem@davemloft.net>
31533
31534 * po/de.po: Update from translation team.
31535
3b60b421
MK
315362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31537
31538 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31539
bb931195
TS
315402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31541
b5a5da23
TS
31542 * configure.in (_AC_PROG_CC_C89): New definition.
31543 * configure: Regenerate.
31544
bb931195
TS
31545 * configure.in (AC_PROG_CPP): New definition.
31546 * configure: Regenerate.
31547
8c53a12c
JM
315482013-01-23 Joseph Myers <joseph@codesourcery.com>
31549
31550 * debug/tst-backtrace.h: New file.
31551 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31552 (ret): Remove variable.
31553 (x): Likewise.
31554 (FAIL): Remove macro.
31555 (NO_INLINE): Likewise.
31556 (fn1): Use match function instead of strstr.
31557 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31558 (ret): Remove variable.
31559 (x): Likewise.
31560 (FAIL): Remove macro.
31561 (NO_INLINE): Likewise.
31562 (fn): Use match function instead of strstr.
31563 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31564 (ret): Remove variable.
31565 (x): Likewise.
31566 (FAIL): Remove macro.
31567 (NO_INLINE): Likewise.
31568 (handle_signal): Use match function instead of strstr.
31569 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31570 (ret): Remove variable.
31571 (x): Likewise.
31572 (FAIL): Remove macro.
31573 (NO_INLINE): Likewise.
31574 (handle_signal): Use match function instead of strstr.
31575
4858fa2a
RM
315762013-01-23 Roland McGrath <roland@hack.frob.com>
31577
31578 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31579
bae8e7f5
DM
315802013-01-23 David S. Miller <davem@davemloft.net>
31581
31582 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31583 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31584 argument of CAS if possible.
31585 * sysdeps/sparc/sparc64/bits/atomic.h
31586 (__arch_compare_and_exchange_val_32_acq): Likewise.
31587 (__arch_compare_and_exchange_val_64_acq): Likewise.
31588
9cbbc4ae
PT
315892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31590
31591 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31592 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31593 Include <limits.h>.
67b3f58c 31594 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31595
5655a0b5
AC
315962013-01-23 Adam Conrad <adconrad@0c3.net>
31597
31598 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31599 (LDFLAGS-tst-array5): Likewise.
31600
052aff95
JM
316012013-01-23 Joseph Myers <joseph@codesourcery.com>
31602
31603 [BZ #15036]
31604 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31605 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31606 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31607 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31608
7c1e01aa
DM
316092013-01-21 David S. Miller <davem@davemloft.net>
31610
31611 * sysdeps/sparc/backtrace.c: New file.
31612 * sysdeps/sparc/sparc32/backtrace.h: New file.
31613 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31614 * sysdeps/sparc/sparc64/backtrace.h: New file.
31615 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31616 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31617 -funwind-tables.
31618
ab087e0a
AS
316192013-01-21 Andreas Schwab <schwab@suse.de>
31620
31621 [BZ #15020]
31622 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31623 closed its stdout.
31624
ed689c2f
AS
316252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31626
31627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31628 "mpa2.h".
31629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31630
31d470ac
JM
316312013-01-18 Joseph Myers <joseph@codesourcery.com>
31632 Mark Mitchell <mark@codesourcery.com>
31633 Tom de Vries <tom@codesourcery.com>
31634 Paul Pluzhnikov <ppluzhnikov@google.com>
31635
31636 * debug/tst-backtrace2.c: New file.
31637 * debug/tst-backtrace3.c: Likewise.
31638 * debug/tst-backtrace4.c: Likewise.
31639 * debug/tst-backtrace5.c: Likewise.
31640 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31641 (CFLAGS-tst-backtrace3.c): Likewise.
31642 (CFLAGS-tst-backtrace4.c): Likewise.
31643 (CFLAGS-tst-backtrace5.c): Likewise.
31644 (LDFLAGS-tst-backtrace2): Likewise.
31645 (LDFLAGS-tst-backtrace3): Likewise.
31646 (LDFLAGS-tst-backtrace4): Likewise.
31647 (LDFLAGS-tst-backtrace5): Likewise.
31648 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31649 tst-backtrace4 and tst-backtrace5.
31650
90567f30 316512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31652 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31653
31654 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31655 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31656 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31657 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31659 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31660 "+r" and remove output regs list as redundant. Add explicit inline
31661 asm to specify register of return val to work around compiler codegen
31662 bug. Remove (int) cast on return value. Add return type parameter to
31663 use in macro so that this macro does not truncate return value for
31664 64-bit values.
31665 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31666 pass to INTERNAL_VSYSCALL_NCS.
31667 (INLINE_VSYSCALL): Add 'long int' as return type to
31668 INTERNAL_VSYSCALL_NCS macro invocation.
31669 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31670 INTERNAL_VSYSCALL_NCS macro invocation.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31672
d3b9ea61
SP
316732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31674
0b57daeb
SP
31675 [BZ #14496]
31676 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31677 Fix application of SIMD FP exception mask.
31678
caa99d06
SP
31679 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31680 mp_no from a power of two.
31681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31682 __mpexp_twomm1. Use __pow_mp.
31683
d3b9ea61
SP
31684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31685 multiplication.
31686
1dbaee3c
DM
316872013-01-17 David S. Miller <davem@davemloft.net>
31688
31689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31690
728d7b43
JM
316912013-01-17 Joseph Myers <joseph@codesourcery.com>
31692
31693 [BZ #15023]
31694 * include/complex.h: Condition contents on [!_COMPLEX_H].
31695 (__kernel_casinhf): New prototype.
31696 (__kernel_casinh): Likewise.
31697 (__kernel_casinhl): Likewise.
31698 * math/Makefile (libm_calls): Add k_casinh.
31699 * math/k_casinh.c: New file.
31700 * math/k_casinhf.c: Likewise.
31701 * math/k_casinhl.c: Likewise.
31702 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31703 finite nonzero arguments.
31704 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31705 finite nonzero arguments.
31706 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31707 finite nonzero arguments.
31708 * math/s_casinh.c: Do not include <float.h>.
31709 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31710 * math/s_casinhf.c: Do not include <float.h>.
31711 (__casinhf): Move code for finite nonzero arguments to
31712 k_casinhf.c.
31713 * math/s_casinhl.c: Do not include <float.h>.
31714 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31715 redefine.
31716 (__casinhl): Move code for finite nonzero arguments to
31717 k_casinhl.c.
31718 * math/libm-test.inc (cacos_test): Add more tests.
31719 * sysdeps/i386/fpu/libm-test-ulps: Update.
31720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31721
2a26ef3a
PT
317222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31723
31724 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31725 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31726 [!HAVE_MREMAP]: Remove [defined linux] case.
31727 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31728
a897655d
SP
317292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31730
31731 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31732
881ebe89 317332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31734
31735 * elf/elf.h (R_386_SIZE32): New relocation.
31736 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31737 R_386_SIZE32.
31738 (elf_machine_rela): Likewise.
31739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31740 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31741
59981e9b
JM
317422013-01-17 Joseph Myers <joseph@codesourcery.com>
31743
31744 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31745 (FP_FAST_FMA): Do not define.
31746 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31747 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31748 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31749 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31750 !_SOFT_FLOAT]: Likewise.
31751 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31752 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31753 value.
31754 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31755 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31756 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31757 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31758 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31759 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31760 file.
31761
cfa8054f
AS
317622013-01-16 Andreas Schwab <schwab@suse.de>
31763
31764 [BZ #14327]
31765 * include/stdlib.h (__mktemp): Add declaration.
31766 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31767 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31768
dd930cc5
SP
317692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31770
881ebe89
SP
31771 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31772 definitions.
31773 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31774 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31775 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31776 definitions here.
31777 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31778 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31779 definitions.
31780 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31781 and ONE.
31782 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31783 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31784 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31785 definitions.
31786 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31787 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31788 definitions.
31789 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31790
dd930cc5
SP
31791 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31792
c19a9f89
DM
317932013-01-15 David S. Miller <davem@davemloft.net>
31794
1aa61767
DM
31795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31796 trunc{,f} to libm-sysdep_routes.
31797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31799 file.
31800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31802 file.
31803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31804 file.
31805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31807 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31808 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31809 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31810 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31811 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31812 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31813
c42d5e98
DM
31814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31815 nearbyint{,f} to libm-sysdep_routes.
31816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31818 New file.
31819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31820 file.
31821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31822 New file.
31823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31824 file.
31825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31827 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31828 file.
31829 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31830 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31831 file.
31832 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31833 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31834 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31835
c19a9f89
DM
31836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31837 libc_feholdexcept and libc_fesetenv.
31838
357679d2
MF
318392013-01-15 Mike Frysinger <vapier@gentoo.org>
31840
31841 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31842
65a82e3d
DM
318432013-01-14 David S. Miller <davem@davemloft.net>
31844
8b954ab9
DM
31845 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31846 (SPARC_ASM_VIS2_IFUNC): Likewise.
31847 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31849 use of 'siam' instruction.
31850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31851 Likewise.
31852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31853 Likewise.
31854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31855 Likewise.
31856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31861 file.
31862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31863 file.
31864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31865 file.
31866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31867 file.
31868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31873 new VIS2 routines.
31874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31877 Likewise.
31878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31883 routines to libm-sysdep_routines.
31884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31885
65a82e3d
DM
31886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31887 fdim/fdimf to libm-sysdep_routines.
31888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31889 file.
31890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31892 file.
31893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31896 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31897 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31898 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31899 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31900
e34ab705
SP
319012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31902
2a91b573
SP
31903 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31904 to optimize copies.
31905
1066a534
SP
31906 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31909
e34ab705
SP
31910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31911 local variable MPTWO.
31912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31913 Likewise.
31914
aba5e596
MF
319152013-01-13 Mike Frysinger <vapier@gentoo.org>
31916
31917 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31918 GLOB_NOESCAPE.
31919
e557e9e5
MF
319202013-01-13 Mike Frysinger <vapier@gentoo.org>
31921
31922 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31923
0428cec9
MF
319242013-01-13 Mike Frysinger <vapier@gentoo.org>
31925
31926 * manual/pattern.texi (glob_t): Document gl_flags.
31927 (glob64_t): Likewise.
31928
8794a964
DM
319292013-01-11 David S. Miller <davem@davemloft.net>
31930
66438c3f
RM
31931 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31932 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31933 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31934 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31935 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31936 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31937 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31938 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31939 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31940 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31941 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31942 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31943 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31944
4ae4244d
DM
31945 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31946 sparc V9 rather than using V8 code.
31947 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31948 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31949
8794a964
DM
31950 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31951 Move to...
31952 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31953 Here.
31954
6270516e
RM
319552013-01-11 Roland McGrath <roland@hack.frob.com>
31956
31957 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31958 not in the main loop.
31959 * configure: Regenerated.
31960
6a57d931
JM
319612013-01-11 Joseph Myers <joseph@codesourcery.com>
31962
31963 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31964 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31965 to just #else.
31966 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31967 [!__GLIBC_HAVE_LONG_LONG] case.
31968 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31969 condition to just #else.
31970 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31971 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31972 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31973 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31974 unconditional.
31975 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31976 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31977 #elif condition to just #else.
31978 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31979 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31980 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31981 #elif condition to just #else.
31982
0e8529e9
SE
319832013-01-11 Steve Ellcey <sellcey@mips.com>
31984
31985 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31986 (EF_MIPS_ARCH_64): Fix value.
31987 (EF_MIPS_ARCH_32R2): New.
31988 (EF_MIPS_ARCH_64R2): New.
31989
740b3dbe
L
319902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31991
31992 * Makeconfig (+link-pie-before-libc): New.
31993 (+link-pie-after-libc): Likewise.
31994 (+link-pie-tests): Likewise.
31995 (+link-pie): Rewritten.
31996 (link-before-libc): Remove $(config-LDFLAGS).
31997 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31998 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31999 (config-LDFLAGS): Renamed to ...
32000 (rtld-LDFLAGS): This.
32001 (rtld-tests-LDFLAGS): New macro.
32002 (link-libc-rpath-link): Likewise.
32003 (link-libc-tests-rpath-link): Likewise.
32004 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32005 (link-libc): Prepand $(link-libc-rpath-link).
32006 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32007 (test-program-prefix): New macro.
32008 (test-via-rtld-prefix): Likewise.
32009 (test-program-cmd): Likewise.
32010 (host-test-program-cmd): Likewise.
32011 * Makefile ($(common-objpfx)testrun.sh): Replace
32012 $(run-program-prefix) with $(test-program-prefix).
32013 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32014 $(rtld-LDFLAGS).
32015 ($(common-objpfx)shlib.lds): Likewise.
32016 (build-module-helper): Likewise.
32017 ($(common-objpfx)format.lds): Likewise.
32018 * Rules (binaries-pie-tests): New.
32019 (binaries-pie-notests): Likewise.
32020 (binaries-pie): Rewritten.
32021 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32022 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32023 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32024 (make-test-out): Replace $(host-built-program-cmd) with
32025 $(host-test-program-cmd).
32026 * config.make.in (build-hardcoded-path-in-tests): New variable.
32027 * configure.in (--enable-hardcoded-path-in-tests): New configure
32028 option.
32029 (hardcoded_path_in_tests): New AC_SUBST.
32030 * configure: Regenerated.
32031 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32032 $(built-program-cmd) with $(test-program-cmd).
32033 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32034 (test_program_cmd): This.
32035 * elf/Makefile ($(objpfx)order.out): Run test with
32036 $(test-program-prefix).
32037 ($(objpfx)order2.out): Likewise.
32038 ($(objpfx)tst-initorder.out): Likewise.
32039 ($(objpfx)tst-initorder2.out): Likewise.
32040 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32041 $(test-program-cmd).
32042 ($(objpfx)tst-array1-static.out): Likewise.
32043 ($(objpfx)tst-array2.out): Likewise.
32044 ($(objpfx)tst-array3.out): Likewise.
32045 ($(objpfx)tst-array4.out): Likewise.
32046 ($(objpfx)tst-array5.out): Likewise.
32047 ($(objpfx)tst-array5-static.out): Likewise.
32048 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32049 $(test-program-cmd).
32050 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32051 $(run-program-prefix) with $(test-program-prefix).
32052 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32053 (test_program_prefix): This.
32054 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32055 $(run-program-prefix) with $(test-program-prefix).
32056 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32057 (test_program_prefix): This.
32058 * iconvdata/tst-tables.sh: Likewise.
32059 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32060 $(run-program-prefix) with $(test-program-prefix).
32061 ($(objpfx)tst-translit.out): Likewise.
32062 ($(objpfx)tst-gettext2.out): Likewise.
32063 ($(objpfx)tst-gettext4.out): Likewise.
32064 ($(objpfx)tst-gettext6.out): Likewise.
32065 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32066 (test_program_prefix): This.
32067 * intl/tst-gettext2.sh: Likewise.
32068 * intl/tst-gettext4.sh Likewise.
32069 * intl/tst-gettext6.sh: Likewise.
32070 * intl/tst-translit.sh: Likewise.
32071 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32072 with $(test-program-cmd).
32073 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32074 $(run-program-prefix) with $(test-program-prefix).
32075 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32076 (test_program_prefix): This.
32077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32078 $(run-program-prefix) with $(test-program-prefix).
32079 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32080 (test_program_prefix): This.
32081 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32082 * posix/Makefile ($(objpfx)globtest.out): Replace
32083 $(run-via-rtld-prefix) and $(test-wrapper) with
32084 $(test-program-prefix) and $(test-via-rtld-prefix).
32085 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32086 $(test-program-prefix).
32087 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32088 $(host-test-program-cmd).
32089 (tst-spawn-ARGS): Likewise.
32090 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32091 $(test-program-prefix).
32092 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32093 (test_via_rtld_prefix): This.
32094 (test_wrapper): Renamed to ...
32095 (test_program_prefix): This.
32096 (run_program_prefix): Replaced by test_program_prefix.
32097 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32098 (test_program_prefix): This.
32099 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32100 with $(host-test-program-cmd).
32101 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32102 $(run-program-prefix) with $(test-program-prefix).
32103 ($(objpfx)tst-printf.out): Likewise.
32104 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32105 $(test-program-cmd).
32106 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32107 (test_program_prefix): This.
32108 * stdio-common/tst-unbputc.sh: Likewise.
32109 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32110 $(run-program-prefix) with $(test-program-prefix).
32111 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32112 (test_program_prefix): This.
32113 * string/Makefile ($(objpfx)tst-svc.out): Replace
32114 $(built-program-cmd) with $(test-program-cmd).
32115
c6fe55cf
AJ
321162013-01-11 Andreas Jaeger <aj@suse.de>
32117
32118 [BZ #15003]
32119 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32120 value. Sync with Linux 3.7.
32121
9e6919c8
DM
321222013-01-10 David S. Miller <davem@davemloft.net>
32123
32124 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32125 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32126 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32127
1c9f1a02
RM
321282013-01-10 Roland McGrath <roland@hack.frob.com>
32129
32130 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32131 never set.
32132 * configure: Regenerated.
32133
b9de2dde
DM
321342013-01-10 David S. Miller <davem@davemloft.net>
32135
32136 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32137 sparc V9 rather than using V8 code.
32138 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32139 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32140
e7f68ef4
RM
321412013-01-10 Roland McGrath <roland@hack.frob.com>
32142
32143 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32144 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32145 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32146 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32147 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32148 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32149 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32150 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32151 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32152 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32153 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32154 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32155 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32156 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32157 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32158 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32159 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32160 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32161 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32162 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32163 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32164 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32165 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32166 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32167 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32168 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32169 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32170
5a47cc9c
DM
321712013-01-10 David S. Miller <davem@davemloft.net>
32172
32173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32174
4cf8f209
L
321752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32176
32177 * posix/Makefile (tests-static): New variable.
32178 (tests): Add $(tests-static).
32179 (tst-exec-static-ARGS): New variable.
32180 (tst-spawn-static-ARGS): Likewise.
32181 * posix/tst-exec-static.c: New file.
32182 * posix/tst-spawn-static.c: Likewise.
32183 * posix/tst-exec.c: Support run directly.
32184 * posix/tst-spawn.c: Likewise.
32185
fed0faa1
JM
321862013-01-10 Joseph Myers <joseph@codesourcery.com>
32187
828beb13
JM
32188 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32189 long.
32190 * math/bits/mathcalls.h (llrint): Likewise.
32191 (llround): Likewise.
32192 * stdlib/stdlib.h (struct drand48_data): Likewise.
32193 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32194 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32195 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32196 Likewise.
32197 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32198 Likewise.
32199 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32200 (elf_greg_t): Likewise.
32201 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32202 (__jmp_buf): Likewise.
32203 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32204 definitions.
32205 (llrint): Likewise, for all definitions.
32206 (llrintl): Likewise.
32207
fed0faa1
JM
32208 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32209 Remove [__GNUC__] condition.
32210 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32211 condition to just [__USE_ISOC99].
32212 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32213
1a20cb20
L
322142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32215
32216 [BZ #14200]
32217 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32218 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32219 defined.
32220 (_POSIX_V6_ILP32_OFF32): Likewise.
32221 (_XBS5_ILP32_OFF32): Likewise.
32222 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32223 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32224
751b85f7
SP
322252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32226
7490eb81
SP
32227 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32228
751b85f7
SP
32229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32230 doubles __mpexp_twomm1. Adjust usage.
32231 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32232 Remove.
32233
988197f0
AS
322342013-01-10 Andreas Schwab <schwab@suse.de>
32235
32236 [BZ #14964]
32237 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32238 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32239
e83d7298
DM
322402013-01-09 David S. Miller <davem@davemloft.net>
32241
034ed64b 32242 [BZ #15003]
57f41c40
AS
32243 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32244 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32245 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32246 (TCP_FASTOPEN): Define.
e83d7298
DM
32247 (tcp_repair_opt): New structure.
32248 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32249 enum values.
57f41c40
AS
32250 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32251 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32252 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32253 (tcp_cookie_transactions): New structure.
32254
d5e0b9bd
AB
322552013-01-09 Anton Blanchard <anton@samba.org>
32256
32257 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32258 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32259 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32260 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32261
0c07e3ea
JM
322622013-01-09 Joseph Myers <joseph@codesourcery.com>
32263
32264 * include/features.h (__USE_ANSI): Remove.
32265
232f7002
RM
322662013-01-09 Roland McGrath <roland@hack.frob.com>
32267
ad98e30c
RM
32268 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32269
232f7002
RM
32270 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32271
950c99ca
SP
322722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32273
b5792741
SP
32274 * sysdeps/s390/fpu/libm-test-ulps: Update.
32275
47cf2278
SP
32276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32277
950c99ca
SP
32278 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32279 (__acr): Likewise.
32280 (__cpy): Likewise.
32281 (norm): Likewise.
32282 (denorm): Likewise.
32283 (__mp_dbl): Likewise.
32284 (__dbl_mp): Likewise.
32285 (add_magnitudes): Likewise.
32286 (sub_magnitudes): Likewise.
32287 (__add): Likewise.
32288 (__sub): Likewise.
32289 (__mul): Likewise.
32290 (__inv): Likewise.
32291 (__dvd): Likewise.
32292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32293 (__acr): Likewise.
32294 (__cpy): Likewise.
32295 (norm): Likewise.
32296 (denorm): Likewise.
32297 (__mp_dbl): Likewise.
32298 (__dbl_mp): Likewise.
32299 (add_magnitudes): Likewise.
32300 (sub_magnitudes): Likewise.
32301 (__add): Likewise.
32302 (__sub): Likewise.
32303 (__mul): Likewise.
32304 (__inv): Likewise.
32305 (__dvd): Likewise.
32306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32307 (__acr): Likewise.
32308 (__cpy): Likewise.
32309 (norm): Likewise.
32310 (denorm): Likewise.
32311 (__mp_dbl): Likewise.
32312 (__dbl_mp): Likewise.
32313 (add_magnitudes): Likewise.
32314 (sub_magnitudes): Likewise.
32315 (__add): Likewise.
32316 (__sub): Likewise.
32317 (__mul): Likewise.
32318 (__inv): Likewise.
32319 (__dvd): Likewise.
32320
eede9df9
JM
323212013-01-08 Joseph Myers <joseph@codesourcery.com>
32322
32323 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32324 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32325 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32326 2 && __USE_EXTERN_INLINES]: Likewise.
32327
c40ea3d9
AJ
323282013-01-08 Andreas Jaeger <aj@suse.de>
32329
32330 [BZ# 14985]
32331 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32332 Remove.
32333 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32334 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32335
2ccdea26
AB
323362013-01-07 Anton Blanchard <anton@samba.org>
32337
32338 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32339 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32340 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32341 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32342 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32343 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32344 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32345 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32347 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32350 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32353 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32354 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32356 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32357 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32358 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32359 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32360 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32361 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32362 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32363 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32364 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32365 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32367 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32368 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32371 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32372 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32373 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32374 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32375 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32376 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32378 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32380 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32381
a9708fed
JM
323822013-01-07 Joseph Myers <joseph@codesourcery.com>
32383
375607b9
JM
32384 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32385 (__MALLOC_PMT): Likewise.
32386 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32387 [__GNUC__], only on [_LIBC].
32388 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32389 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32390 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32391 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32392 forward declaration.
32393 (realloc_hook_ini): Likewise.
32394 (memalign_hook_ini): Likewise.
32395 (__libc_memalign): Do not use __MALLOC_PMT in variable
32396 declaration.
32397 (__libc_valloc): Likewise.
32398 (__libc_pvalloc): Likewise.
32399 (__libc_calloc): Likewise.
32400 (__posix_memalign): Likewise.
32401
a9708fed
JM
32402 [BZ #14996]
32403 * math/s_casinh.c: Include <float.h>.
32404 (__casinh): Do not do computation with squaring and square root
32405 for large arguments.
32406 * math/s_casinhf.c: Include <float.h>.
32407 (__casinhf): Do not do computation with squaring and square root
32408 for large arguments.
32409 * math/s_casinhl.c: Include <float.h>.
32410 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32411 (__casinhl): Do not do computation with squaring and square root
32412 for large arguments.
32413 * math/libm-test.inc (casin_test): Add more tests.
32414 (casinh_test): Likewise.
32415 * sysdeps/i386/fpu/libm-test-ulps: Update.
32416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32417
afec409a
L
324182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32421 (__x86_64_raw_data_cache_size): Likewise.
32422 (__x86_64_data_cache_size_half): Likewise.
32423 (__x86_64_raw_data_cache_size_half): Likewise.
32424 (__x86_64_shared_cache_size): Likewise.
32425 (__x86_64_raw_shared_cache_size): Likewise.
32426 (__x86_64_shared_cache_size_half): Likewise.
32427 (__x86_64_raw_shared_cache_size_half): Likewise.
32428 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32429 to ...
32430 (__x86_data_cache_size): This.
32431 (__x86_64_raw_data_cache_size): Renamed to ...
32432 (__x86_raw_data_cache_size): This.
32433 (__x86_64_data_cache_size_half): Renamed to ...
32434 (__x86_data_cache_size_half): This.
32435 (__x86_64_raw_data_cache_size_half): Renamed to ...
32436 (__x86_raw_data_cache_size_half): This.
32437 (__x86_64_shared_cache_size): Renamed to ...
32438 (__x86_shared_cache_size): This.
32439 (__x86_64_raw_shared_cache_size): Renamed to ...
32440 (__x86_raw_shared_cache_size): This.
32441 (__x86_64_shared_cache_size_half): Renamed to ...
32442 (__x86_shared_cache_size_half): This.
32443 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32444 (__x86_raw_shared_cache_size_half): This.
32445 * sysdeps/x86_64/memcpy.S: Updated.
32446 * sysdeps/x86_64/memset.S: Likewise.
32447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32449 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32450
0b3986d0
DM
324512013-01-04 David S. Miller <davem@davemloft.net>
32452
32453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32454
e47686e9
AS
324552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32456
d643bac1
AS
32457 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32458 1 to avoid redefinition warning.
32459 (__USE_GNU): Don't define.
32460 (init_signaling_nan): Protoize.
32461
e47686e9
AS
32462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32463
b18decba
SP
324642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32465
fffb407f
SP
32466 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32468 (__cpymn): Likewise.
32469 (norm): Remove commented code.
32470 (denorm): Likewise.
32471 (__mp_dbl): Likewise.
32472 (__inv): Likewise.
32473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32474 (__cpymn): Likewise.
32475 (norm): Remove commented code.
32476 (denorm): Likewise.
32477 (__mp_dbl): Likewise.
32478 (__inv): Likewise.
32479
b18decba
SP
32480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32481 mp_no value for 1.0 and 2.0.
32482 (norm): Use RADIXI instead of radixi.d.
32483 (denorm): Likewise.
32484 (__mul): Use 0.0 instead of zero.d.
32485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32486 mp_no value for 1.0 and 2.0.
32487 (norm): Use RADIXI instead of radixi.d.
32488 (denorm): Likewise.
32489 (__mul): Use 0.0 instead of zero.d.
32490
cdc1c96f
JM
324912013-01-04 Joseph Myers <joseph@codesourcery.com>
32492
32493 [BZ #14994]
32494 * math/s_casinh.c (__casinh): Reduce finite argument to first
32495 quadrant then set signs of results at the end.
32496 * math/s_casinhf.c (__casinhf): Likewise.
32497 * math/s_casinhl.c (__casinhl): Likewise.
32498 * math/libm-test.inc (casin_test): Add more tests.
32499 (casinh_test): Likewise.
32500 * sysdeps/i386/fpu/libm-test-ulps: Update.
32501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32502
302913e1
SP
325032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32504
6420d207
SP
32505 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32506
a9e48ab4
SP
32507 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32508
b7837264
SP
32509 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32510 declarations.
32511 (denorm): Likewise.
32512 (__mp_dbl): Likewise.
32513 (__inv): Likewise.
32514
f8af25d2
SP
32515 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32516 and adjust the header comment.
32517
302913e1
SP
32518 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32519 variable name from declaration.
32520
5d7dd1ca
L
325212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32522
32523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32524 Initialize COMMON_CPUID_INDEX_7 element.
32525 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32526 (CPUID_RTM): Likewise.
32527 (HAS_RTM): Likewise.
32528 (COMMON_CPUID_INDEX_7): New enum.
32529
2f5f40f4
AS
325302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32531
32532 [BZ #14981]
32533 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32534 size is zero, record memory as freed.
32535
4056f4a0
AJ
325362013-01-03 Andreas Jaeger <aj@suse.de>
32537
32538 * po/ia.po: Add new Interlingua translation.
32539
ab15736f 325402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32541
32542 * locale/programs/localedef.c: Fix description of '--posix' flag.
32543
568035b7
JM
325442013-01-02 Joseph Myers <joseph@codesourcery.com>
32545
e6898b8d
JM
32546 * NEWS: Update dates in second copyright notice.
32547 * README: Update copyright dates in example.
32548 * manual/libc.texinfo: Update copyright dates.
32549 * scripts/test-installation.pl: Update copyright date in --version
32550 output.
32551
0e2f9562
JM
32552 * hurd/ctty-input.c: Fix copyright notice formatting.
32553 * hurd/ctty-output.c: Likewise.
32554 * hurd/dtable.c: Likewise.
32555 * hurd/hurd-raise.c: Likewise.
32556 * hurd/hurdprio.c: Likewise.
32557 * hurd/msgportdemux.c: Likewise.
32558 * misc/sys/file.h: Likewise.
32559 * misc/sys/ioctl.h: Likewise.
32560 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32561 * sysdeps/mach/hurd/chdir.c: Likewise.
32562 * sysdeps/mach/hurd/fchdir.c: Likewise.
32563 * sysdeps/mach/hurd/rename.c: Likewise.
32564 * sysdeps/mach/hurd/rmdir.c: Likewise.
32565 * sysdeps/mach/hurd/seekdir.c: Likewise.
32566 * sysdeps/mach/hurd/setsid.c: Likewise.
32567 * sysdeps/posix/wait3.c: Likewise.
32568
568035b7
JM
32569 * All files with FSF copyright notices: Update copyright dates
32570 using scripts/update-copyrights.
32571 * intl/plural.c: Regenerated.
32572 * locale/programs/charmap-kw.h: Likewise.
32573 * locale/programs/locfile-kw.h: Likewise.
32574
da08f647
SP
325752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32576
0f5477af
SP
32577 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32578 four values.
32579
44e0d4c2
SP
32580 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32581 calculation loop and add branch prediction.
32582
4d55b4e5
SP
32583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32584 check access beyond bounds of m1np.
32585
da08f647
SP
32586 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32587 MPTWO.
32588 (__inv): Remove local variable MPTWO to use the global
32589 constant.
32590 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32591 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32592 variable MPTWO.
32593 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32594 MP3HALFS static const.
32595
8e051029
DM
325962013-01-01 David S. Miller <davem@davemloft.net>
32597
32598 * po/ca.po: Update from translation team.
32599
f4cf5f2d
JM
326002013-01-01 Joseph Myers <joseph@codesourcery.com>
32601
32602 * scripts/update-copyrights: New file.
32603 * Makeconfig: Reformat copyright notice.
32604 * ctype/ctype.h: Likewise.
32605 * debug/swprintf_chk.c: Likewise.
32606 * elf/dl-cache.c: Likewise.
32607 * elf/dl-debug.c: Likewise.
32608 * elf/dl-object.c: Likewise.
32609 * grp/initgroups.c: Likewise.
32610 * hurd/Makefile: Likewise.
32611 * hurd/hurd/signal.h: Likewise.
32612 * hurd/hurdfault.c: Likewise.
32613 * hurd/hurdioctl.c: Likewise.
32614 * hurd/hurdlookup.c: Likewise.
32615 * hurd/intr-msg.c: Likewise.
32616 * iconv/gconv_open.c: Likewise.
32617 * libio/swprintf.c: Likewise.
32618 * locale/lc-ctype.c: Likewise.
32619 * locale/nl_langinfo.c: Likewise.
32620 * mach/Machrules: Likewise.
32621 * mach/Makefile: Likewise.
32622 * malloc/obstack.h: Likewise.
32623 * manual/Makefile: Likewise.
32624 * manual/tsort.awk: Likewise.
32625 * misc/bits/stab.def: Likewise.
32626 * nis/nis_print_group_entry.c: Likewise.
32627 * nis/nis_table.c: Likewise.
32628 * nis/nss_compat/compat-pwd.c: Likewise.
32629 * nis/nss_compat/compat-spwd.c: Likewise.
32630 * po/Makefile: Likewise.
32631 * posix/fnmatch.c: Likewise.
32632 * posix/regex.h: Likewise.
32633 * resolv/Makefile: Likewise.
32634 * resolv/nss_dns/dns-network.c: Likewise.
32635 * resolv/res_hconf.c: Likewise.
32636 * scripts/gen-sorted.awk: Likewise.
32637 * soft-fp/soft-fp.h: Likewise.
32638 * stdio-common/printf.h: Likewise.
32639 * stdlib/monetary.h: Likewise.
32640 * stdlib/random.c: Likewise.
32641 * stdlib/random_r.c: Likewise.
32642 * sysdeps/generic/Makefile: Likewise.
32643 * sysdeps/gnu/Makefile: Likewise.
32644 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32648 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32651 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32652 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32654 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32656 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32658 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32660 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32668 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32670 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32671 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32672 * sysdeps/mach/hurd/errnos.awk: Likewise.
32673 * sysdeps/mach/hurd/fork.c: Likewise.
32674 * sysdeps/mach/hurd/getcwd.c: Likewise.
32675 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32676 * sysdeps/mach/hurd/mmap.c: Likewise.
32677 * sysdeps/mach/hurd/utimes.c: Likewise.
32678 * sysdeps/mach/hurd/xmknod.c: Likewise.
32679 * sysdeps/posix/profil.c: Likewise.
32680 * sysdeps/posix/readdir_r.c: Likewise.
32681 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32682 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32683 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32684 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32686 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32687 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32688 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32690 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32691 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32692 * sysdeps/pthread/lio_listio.c: Likewise.
32693 * sysdeps/sparc/dl-procinfo.h: Likewise.
32694 * sysdeps/unix/i386/sysdep.S: Likewise.
32695 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32696 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32697 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32698 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32700 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32701 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32702 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32703 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32704 * sysdeps/wordsize-32/divdi3.c: Likewise.
32705 * time/sys/time.h: Likewise.
32706 * wcsmbs/Makefile: Likewise.
32707
0549fbba
DM
327082013-01-01 David S. Miller <davem@davemloft.net>
32709
a141f1a7
DM
32710 * po/fr.po: Update from translation team.
32711
0549fbba
DM
32712 * catgets/gencat.c: Update copyright year.
32713 * csu/version.c: Likewise.
32714 * debug/catchsegv.sh: Likewise.
32715 * debug/pcprofiledump.c: Likewise.
32716 * debug/xtrace.sh: Likewise.
32717 * elf/ldconfig.c: Likewise.
32718 * elf/ldd.bash.in: Likewise.
32719 * elf/pldd.c: Likewise.
32720 * elf/sotruss.ksh: Likewise.
32721 * elf/sprof.c: Likewise.
32722 * iconv/iconv_prog.c: Likewise.
32723 * iconv/iconvconfig.c: Likewise.
32724 * locale/programs/locale.c: Likewise.
32725 * locale/programs/localedef.c: Likewise.
32726 * login/programs/pt_chown.c: Likewise.
32727 * malloc/memusage.sh: Likewise.
32728 * malloc/memusagestat.c: Likewise.
32729 * malloc/mtrace.pl: Likewise.
32730 * nscd/nscd.c: Likewise.
32731 * nss/getent.c: Likewise.
32732 * nss/makedb.c: Likewise.
32733 * posix/getconf.c: Likewise.
32734
18ea052c
SP
327352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32736
32737 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32738 numbers.
32739
9c89fca6
MF
327402012-12-30 Mike Frysinger <vapier@gentoo.org>
32741
32742 * math/bits/mathcalls.h (modf): Use __nonnull.
32743
085ec079
SP
327442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32745
32746 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32747 (split): Use macro CN instead of the bare value.
32748 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32749 could be used.
32750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32751 instead of the bare value.
32752 (power1): Likewise.
32753
6d9f97e1
SP
327542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32755
d63f73be
SP
32756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32757 __ATAN_TWOM.
32758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32759
6d9f97e1
SP
32760 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32761 their values.
32762 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32763 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32764 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32765 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32766
4c4febf5
AJ
327672012-12-28 Andreas Jaeger <aj@suse.de>
32768
af5843ef
AJ
32769 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32770 values are from Linux 3.7.
32771
4c4febf5
AJ
32772 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32773 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32774
99136f82
SP
327752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32776
2f216c3c 32777 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32778 TRUE case.
32779
99136f82
SP
32780 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32781 (norm): Likewise.
32782 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32783 variables with preprocessor constants.
32784 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32785 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32786 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32787
7fffbdff
BH
327882012-12-27 Bruno Haible <bruno@clisp.org>
32789
32790 [BZ #14317]
32791 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32792 only if needed.
32793
b76eb5f0
SP
327942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32795
31a7fe5c
SP
32796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32797 and use variable directly.
32798 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32799
b76eb5f0
SP
32800 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32801 MPONE.
32802 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32804 variable MPONE.
32805 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32807 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32808 include directive. Remove local variable MPONE.
32809 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32810 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32811 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32812
2c8bfe7d
DM
328132012-12-25 David S. Miller <davem@davemloft.net>
32814
32815 * version.h (RELEASE): Set to "development".
32816 (VERSION): Set to "2.17.90".
32817 * NEWS: Add 2.18 section.
32818
147d03b0
DM
328192012-12-21 David S. Miller <davem@davemloft.net>
32820
32821 * po/hr.po: Update from translation team.
32822
a8ebb2b9
AK
328232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32824
32825 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32826
95b4f1b6
SE
328272012-12-19 Steve Ellcey <sellcey@mips.com>
32828
b2d94007 32829 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32830
cedb2a90
MS
328312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32832
32833 * manual/contrib.texi (Contributors): Spelling correction.
32834
bbf527d6
DM
328352012-12-15 David S. Miller <davem@davemloft.net>
32836
32837 * po/ru.po: Update from translation team.
32838
bc38c906
DM
328392012-12-13 David S. Miller <davem@davemloft.net>
32840
85429b1a
DM
32841 * NEWS: Mention IFUNC testsuite enhancements.
32842
d283e353
DM
32843 * po/pl.po: Update from translation team.
32844 * po/bg.po: Likewise.
32845
bc38c906
DM
32846 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32847 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32848
a181b0d7
DM
328492012-12-11 David S. Miller <davem@davemloft.net>
32850
4641d57e
DM
32851 * po/sv.po: Update from translation team.
32852
f7bc6495
DM
32853 * po/vi.po: Update from translation team.
32854
6fc9048f
DM
32855 * po/cs.po: Update from translation team.
32856
a181b0d7
DM
32857 * po/de.po: Update from translation team.
32858 * po/eo.po: Likewise.
32859 * po/nl.po: Likewise.
32860
f70bfe80
SP
328612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32862
3c8b4190
SP
32863 [BZ #14246]
32864 * manual/argp.texi (Argp Helper Functions): Move node to follow
32865 Argp Parsing State.
32866
f70bfe80
SP
32867 [BZ #14872]
32868 * manual/conf.texi (Limits on File System Capacity): Mention if
32869 terminating null is included in the max size.
32870
188f0adf
AJ
328712012-12-10 Andreas Jaeger <aj@suse.de>
32872
32873 * po/cs.po: Update from translation team.
32874
56e7d3ad
SP
328752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32876
32877 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32878 void pointer and cast to uintptr_t.
32879 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32880 path.
32881 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32882 * sysdeps/s390/s390-64/memset.S: Likewise.
32883
76f2d2ea 328842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32885
32886 [BZ #14833]
32887 * menual/message.texi (Message Translation): Fix typos.
32888 (Helper programs for gettext): Likewise.
32889
67cbf9a2
AS
328902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32891
32892 [BZ #14898]
32893 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32894 Change to -1.
32895
682d0e9a
DM
328962012-12-07 David S. Miller <davem@davemloft.net>
32897
32898 * po/libc.pot: Update.
32899
573cd484
RH
329002012-12-07 Richard Henderson <rth@redhat.com>
32901
7e9da188 32902 [BZ #10114]
573cd484
RH
32903 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32904 normal/normal case to before the switch.
32905 (_FP_DIV): Likewise.
32906
e933a943
MF
329072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32908 Mike Frysinger <vapier@gentoo.org>
32909
32910 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32911 check for __NR_fadvise64_64.
32912
82123268
CM
329132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32914
32915 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32916 0, not just to plain "0" as a statement.
32917 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32918 with cw.
32919
d9814526
JM
329202012-12-06 Joseph Myers <joseph@codesourcery.com>
32921
32922 * NEWS: Use sourceware.org in Bugzilla URL.
32923
7728c574
SP
329242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32925
f16946dd
SP
32926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32927 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32928
5704bbcb
SP
32929 * stdio-common/tst-put-error.c (do_test): Add newline to the
32930 padded test to ensure flush.
32931
17aa0516
JL
329322012-12-05 Jeff Law <law@redhat.com>
32933
32934 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32935
363313b5
JM
329362012-12-05 Joseph Myers <joseph@codesourcery.com>
32937
effbd42a
JM
32938 * README: Don't refer to ports add-on as distributed separately.
32939 Mention AArch64 in list of systems supported in the ports add-on.
32940
87600365
JM
32941 * LICENSES: Add more non-FSF copyright and license notices.
32942
a0d7066a
JM
32943 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32944 ((unused)).
32945
66ca5a5b
JM
32946 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32947
363313b5
JM
32948 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32949 10000 as width of padded output.
32950
b37984ad
JM
329512012-12-04 Joseph Myers <joseph@codesourcery.com>
32952
9003570a
JM
32953 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32954
b37984ad
JM
32955 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32956 variable LX with __attribute__ ((unused)).
32957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32958 Likewise.
32959 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32961 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32962 with __attribute__ ((unused)).
32963
c8df52ec
DM
329642012-12-04 David S. Miller <davem@abraco.davemloft.net>
32965
32966 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32967
b3b099af
JM
329682012-12-04 Joseph Myers <joseph@codesourcery.com>
32969
c33aa6e3
JM
32970 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32971 (CFLAGS-nldbl-acos.c): New variable.
32972 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32973 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32974 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32975 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32976 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32977 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32978 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32979 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32980 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32981 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32982 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32983 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32984 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32985 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32986 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32987 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32988 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32989 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32990 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32991 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32992 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32993 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32994 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32995 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32996 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32997 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32998 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32999 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33000 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33001 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33002 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33003 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33004 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33005 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33006 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33007 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33008 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33009 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33010 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33011 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33012 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33013 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33014 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33015 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33016 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33017 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33018 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33019 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33020 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33021 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33022 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33023 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33024 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33025 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33026 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33027 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33028 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33029 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33030 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33031 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33032 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33033 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33034 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33035 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33036 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33037 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33038 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33039 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33040 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33041 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33042 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33043 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33044 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33045 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33046 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33047 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33048 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33049 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33050 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33051 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33052 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33053 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33054 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33055 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33056 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33057 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33058 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33059 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33060 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33061 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33062 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33063 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33064 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33065 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33066 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33067 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33068 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33069
20f0018d
JM
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33071 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33072
b3b099af
JM
33073 [BZ #14914]
33074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33075 whole low double instead of just low 47 bits when splitting values
33076 into two parts.
33077
029264d1
AM
330782012-12-03 Allan McRae <allan@archlinux.org>
33079
33080 * manual/stdio.texi (Predefined Printf Handlers): Remove
33081 @hsep and @vsep usage.
33082
c9d6789e
MF
330832012-12-03 Mike Frysinger <vapier@gentoo.org>
33084
33085 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33086 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33087
4b7634a5
JL
330882012-12-03 Jeff Law <law@redhat.com>
33089
33090 * time/sys/time.h (settimeofday): Do not mark TV argument
33091 as __nonnull.
33092
eb6cbd24
MF
330932012-12-01 Mike Frysinger <vapier@gentoo.org>
33094
33095 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33096 when currently writing and seek to current position when not.
33097 * libio/Makefile (tests): Remove bug-fclose1.
33098 * libio/bug-fclose1.c: Delete.
33099
f638872a
JM
331002012-12-01 Joseph Myers <joseph@codesourcery.com>
33101
33102 * manual/arith.texi (feenableexcept): Fix typo.
33103 (fedisableexcept): Likewise.
33104
48085d14
RM
331052012-11-30 Roland McGrath <roland@hack.frob.com>
33106
33107 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33108 second, differently-typed declaration, rather than a cast.
33109
1a538b9f
SP
331102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33111
33112 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33113 * include/rpc/svc.h: ... here.
33114
d07f2ff1 331152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33116
33117 [BZ #13013]
33118 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33119 depending n and resplen2 to catch cases where answer
33120 equals answerp2.
33121
c93ec1f0
CD
331222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33123
33124 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33125 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33126
37db69de
MF
331272012-11-29 Mike Frysinger <vapier@gentoo.org>
33128
33129 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33130
e10c4e4f
RM
331312012-11-29 Roland McGrath <roland@hack.frob.com>
33132
33133 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33134
2af1b328
JL
331352012-11-28 Jeff Law <law@redhat.com>
33136
33137 [BZ #13761]
33138 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33139 dataset_temporary. Track alloca usage into alloca_used.
33140 If dataset is large allocate and release it via malloc/free.
33141
111db5b1
FW
331422012-06-04 Florian Weimer <fweimer@redhat.com>
33143
f06cc227 33144 [BZ #14197]
111db5b1
FW
33145 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33146
dd694abd
DM
331472012-11-28 David S. Miller <davem@davemloft.net>
33148
33149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33150
9984dd01
JM
331512012-11-28 Joseph Myers <joseph@codesourcery.com>
33152
33153 [BZ #14803]
33154 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33155 of pi/2 rounded to nearest to 64 bits.
33156 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33157 nearest to 64 bits.
33158 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33159 bits.
33160
14bc93a9
JL
331612012-11-28 Jeff Law <law@redhat.com>
33162 Martin Osvald <mosvald@redhat.com>
33163
33164 [BZ #14889]
33165 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33166 * sunrpc/svc.c: Include time.h.
33167 (__svc_accept_failed): New function.
33168 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33169 any reason other than EINTR, call __svc_accept_failed.
33170 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33171 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33172
e3c6aa3a
AS
331732012-11-28 Andreas Schwab <schwab@suse.de>
33174
33175 * scripts/abilist.awk: Also handle indirect functions in .opd
33176 section.
33177
1bead169
JM
331782012-11-28 Joseph Myers <joseph@codesourcery.com>
33179
33180 [BZ #13881]
33181 * sysdeps/x86/fpu/powl_helper.c: New file.
33182 * sysdeps/x86/fpu/Makefile: Likewise.
33183 * sysdeps/i386/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 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33188 (p3): New object.
33189 (__ieee754_powl): Use __powl_helper for finite arguments except
33190 integer exponents below 8.
33191 * math/libm-test.inc (pow_test): Add more tests and enable some
33192 previously disabled tests.
33193 * sysdeps/i386/fpu/libm-test-ulps: Update.
33194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33195
0817d63d
SP
331962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33197 Carlos O'Donell <carlos_odonell@mentor.com>
33198
33199 * nss/makedb.c (is_prime): Assert that input is odd and greater
33200 than 4. Note that fact in a comment too.
33201 (next_prime): Add 4 to input.
33202
de2fd463
SP
332032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33204
33205 [BZ #11741]
33206 * libio/Makefile (tests): Add test case tst-fwrite-error.
33207 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33208 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33209 * libio/tst-fwrite-error.c: New test case.
33210
c515fb51
L
332112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33212
33213 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33214 before casting to void *.
33215 * include/libc-internal.h (__pointer_type): New macro.
33216 (__integer_if_pointer_type_sub): Likewise.
33217 (__integer_if_pointer_type): Likewise.
33218 (cast_to_integer): Likewise.
33219 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33220 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33221 before casting to atomic64_t.
33222 (atomic_exchange_acq): Likewise.
33223 (__arch_exchange_and_add_body): Likewise.
33224 (__arch_add_body): Likewise.
33225 (atomic_add_negative): Likewise.
33226 (atomic_add_zero): Likewise.
33227
4cf77aa9
JM
332282012-11-26 Joseph Myers <joseph@codesourcery.com>
33229
33230 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33231 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33232 (add_fdes): Likewise.
33233 (linear_search_fdes): Likewise.
33234 (binary_search_unencoded_fdes): Likewise.
33235
d260b3b4
AS
332362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33237
33238 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33239
67060746
AC
332402012-11-24 Adam Conrad <adconrad@0c3.net>
33241
33242 * configure.in: Autodetect C++ header directories.
33243 * configure: Regenerated.
33244
800938a1
MF
332452012-11-23 Mike Frysinger <vapier@gentoo.org>
33246
33247 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33248
4e6e34e6
AS
332492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33250
33251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33252
7c7feb47
JM
332532012-11-22 Joseph Myers <joseph@codesourcery.com>
33254
7184dcdf
JM
33255 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33256 LDBL_MANT_DIG == 106]: Disable some tests.
33257 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33258 Likewise.
33259 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33260 Likewise.
33261
0a42601f
JM
33262 [BZ #14871]
33263 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33264 input for small inputs. Return +/- pi/2 for large inputs.
33265 * math/libm-test.inc (atan_test): Add more tests.
33266
79c9b9fe
JM
33267 * sysdeps/generic/unwind-dw2-fde-glibc.c
33268 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33269 __attribute__ ((unused)).
33270
c60d3bf2
JM
33271 [BZ #14645]
33272 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33273 x * y if x and y are nonzero and z is zero.
33274
ef1e0867
JM
33275 [BZ #14811]
33276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33277 nonzero exponents with absolute value below 0x1p-117 to +/-
33278 0x1p-117.
33279
1468ded3
JM
33280 [BZ #14869]
33281 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33282 up arguments below 2**-450, not just those below 2**-500.
33283 * math/libm-test.inc (hypot_test): Add another test.
33284
8e27e3cc
JM
33285 [BZ #14868]
33286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33287 Return a+b for ratio over 2**120, not 2**60.
33288 * math/libm-test.inc (hypot_test): Add another test.
33289
c9c0279b
JM
33290 * math/libm-test.inc (clog_test): Use
33291 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33292 (clog10_test): Likewise.
33293
7c7feb47
JM
33294 [BZ #6778]
33295 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33296
fff1530e
AS
332972012-11-22 Andreas Schwab <schwab@suse.de>
33298
33299 * sysdeps/i386/fpu/libm-test-ulps: Update.
33300
94558d30
PT
333012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33302
33303 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33304 printf output with newline.
33305
7e1be741
L
333062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33307
6bfea974
L
33308 [BZ #14865]
33309 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33310 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33311 -z nodlopen, -z initfirst and -z execstack support.
33312 * configure: Regenerated.
33313
7e1be741
L
33314 * elf/elf.h (DF_1_NODIRECT): New macro.
33315 (DF_1_IGNMULDEF): Likewise.
33316 (DF_1_NOKSYMS): Likewise.
33317 (DF_1_NOHDR): Likewise.
33318 (DF_1_EDITED): Likewise.
33319 (DF_1_NORELOC): Likewise.
33320 (DF_1_SYMINTPOSE): Likewise.
33321 (DF_1_GLOBAUDIT): Likewise.
33322 (DF_1_SINGLETON): Likewise.
33323 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33324 DT_1_SUPPORTED_MASK bits.
33325 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33326
105ce2ce
CD
333272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33328
33329 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33330
123be9de
TS
333312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33332
d072f3f7
TS
33333 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33334 macro.
33335
123be9de
TS
33336 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33337 (sendmmsg): Move declarations...
33338 * socket/sys/socket.h: ... here.
33339 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33340 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33341 include it from...
33342 * socket/recvmmsg.c: ... this new file.
33343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33344 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33345 definition of __sendmmsg hidden.
33346 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33347 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33348 Move ENOSYS stub into and include it from...
33349 * socket/sendmmsg.c: ... this new file.
33350 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33351 (sysdep_routines): Move recvmmsg and sendmmsg...
33352 * socket/Makefile (routines): ... here.
33353 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33354 (GLIBC_PRIVATE): Add __sendmmsg.
33355 * include/sys/socket.h (__sendmmsg): Add declarations.
33356 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33357 sendmmsg.
33358
cf9a5d18
JM
333592012-11-20 Joseph Myers <joseph@codesourcery.com>
33360
33361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33362 variable I1 with __attribute__ ((unused)).
33363 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33364
ecd4caf9
JM
333652012-11-19 Joseph Myers <joseph@codesourcery.com>
33366
be14d48f
JM
33367 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33368 DUMMY variables with __attribute__ ((unused)).
33369
ecd4caf9
JM
33370 * bits/byteswap.h: Include <bits/types.h>.
33371 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33372
986cab95
PT
333732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33374
33375 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33376 string_t. Do not manually set errno.
33377 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33378 length with __strnlen. Make sure to both set errno and return it on
33379 failure.
33380
6d33cc9d
DM
333812012-11-19 David S. Miller <davem@davemloft.net>
33382
33383 With help from Joseph Myers.
33384 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33385 very large arguments properly.
33386 * math/libm-test.inc (atan_test): New tests.
33387 (atan2_test): New tests.
33388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33390
ee663277
JM
333912012-11-19 Joseph Myers <joseph@codesourcery.com>
33392
877f2d8e
JM
33393 [BZ #14856]
33394 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33395 Define to 3.
33396
116fc08a
JM
33397 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33398 [POSIX] (EADDRNOTAVAIL): Likewise.
33399 [POSIX] (EAFNOSUPPORT): Likewise.
33400 [POSIX] (EALREADY): Likewise.
33401 [POSIX] (ECONNABORTED): Likewise.
33402 [POSIX] (ECONNREFUSED): Likewise.
33403 [POSIX] (ECONNRESET): Likewise.
33404 [POSIX] (EDESTADDRREQ): Likewise.
33405 [POSIX] (EDQUOT): Likewise.
33406 [POSIX] (EHOSTUNREACH): Likewise.
33407 [POSIX] (EIDRM): Likewise.
33408 [POSIX] (EISCONN): Likewise.
33409 [POSIX] (ELOOP): Likewise.
33410 [POSIX] (EMULTIHOP): Likewise.
33411 [POSIX] (ENETDOWN): Likewise.
33412 [POSIX] (ENETUNREACH): Likewise.
33413 [POSIX] (ENOBUFS): Likewise.
33414 [POSIX] (ENODATA): Likewise.
33415 [POSIX] (ENOLINK): Likewise.
33416 [POSIX] (ENOMSG): Likewise.
33417 [POSIX] (ENOPROTOOPT): Likewise.
33418 [POSIX] (ENOSR): Likewise.
33419 [POSIX] (ENOSTR): Likewise.
33420 [POSIX] (ENOTCONN): Likewise.
33421 [POSIX] (ENOTSOCK): Likewise.
33422 [POSIX] (EOPNOTSUPP): Likewise.
33423 [POSIX] (EOVERFLOW): Likewise.
33424 [POSIX] (EPROTO): Likewise.
33425 [POSIX] (EPROTONOSUPPORT): Likewise.
33426 [POSIX] (EPROTOTYPE): Likewise.
33427 [POSIX] (ESTALE): Likewise.
33428 [POSIX] (ETIME): Likewise.
33429 [POSIX] (ETXTBSY): Likewise.
33430 [POSIX] (EWOULDBLOCK): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33432 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33433 [POSIX] (SEEK_CUR): Likewise.
33434 [POSIX] (SEEK_END): Likewise.
33435 [POSIX || UNIX98] (mode_t): Do not require.
33436 [POSIX] (off_t): Likewise.
33437 [POSIX] (pid_t): Likewise.
33438 [POSIX] (sys/stat.h): Do not allow header.
33439 [POSIX] (unistd.h): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33441 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33443 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33444 require.
33445 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33446 sigevent): Specify elements.
33447 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33448 entry.
33449 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33450 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33451
a483863f
JM
33452 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33453 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33454 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33455 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33456 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33457 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33458 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33459 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33461 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33462 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33463 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33464 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33466 Likewise.
33467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33468 Likewise.
33469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33470 Likewise.
33471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33472 Likewise.
33473 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33475 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33476 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33478 Specify lower bound on value.
33479 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33485 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33486 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33487 value.
33488 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33489 as optional.
33490 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33499 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33500 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33501 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33502 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33503 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33504 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33505 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33506 entry.
33507 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33508 optional.
33509 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33510 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33515 Likewise.
33516 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33521 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33523 as optional.
33524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33528 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33529 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33530 specify as optional.
33531 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33534 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33535 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33536 [XPG3] (NL_LANGMAX): Likewise.
33537 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33538 [POSIX || XPG3] (NL_NMAX): Likewise.
33539 [POSIX || XPG3] (NL_SETMAX): Likewise.
33540 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33541 [XPG3] (NZERO): Likewise.
33542 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33543 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33544 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33545 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33546 (REG_ERANGE): Expect.
33547 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33548 optional-constant.
33549 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33550 Use (void) in prototype.
33551 [POSIX] (*_t): Allow.
33552 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33553 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33554 (WRDE_BADVAL): Expect.
33555
5ba924e3
JM
33556 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33557 expect.
33558 [XPG3 || XPG4] (O_RSYNC): Likewise.
33559 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33560 Likewise.
33561 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33562 [XPG3 || XPG4] (sigqueue): Likewise.
33563 [XPG3 || XPG4] (sigtimedwait): Likewise.
33564 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33565 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33566 [XPG3 || XPG4] (vsnprintf): Likewise.
33567 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33568 Likewise.
33569 [XPG3 || XPG4] (blksize_t): Likewise.
33570 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33571 Likewise.
33572 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33573 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33574 [XPG3 || XPG4] (struct itimerspec): Likewise.
33575 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33576 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33577 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33578 [XPG3 || XPG4] (clockid_t): Likewise.
33579 [XPG3 || XPG4] (timer_t): Likewise.
33580 [XPG3 || XPG4] (clock_getres): Likewise.
33581 [XPG3 || XPG4] (clock_gettime): Likewise.
33582 [XPG3 || XPG4] (clock_settime): Likewise.
33583 [XPG3 || XPG4] (nanosleep): Likewise.
33584 [XPG3 || XPG4] (timer_create): Likewise.
33585 [XPG3 || XPG4] (timer_delete): Likewise.
33586 [XPG3 || XPG4] (timer_gettime): Likewise.
33587 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33588 [XPG3 || XPG4] (timer_settime): Likewise.
33589 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33590 [XPG3 || XPG4] (getlogin_r): Likewise.
33591 [XPG3 || XPG4] (pread): Likewise.
33592 [XPG3 || XPG4] (pthread_atfork): Likewise.
33593 [XPG3 || XPG4] (pwrite): Likewise.
33594
ee663277
JM
33595 [BZ #14835]
33596 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33597 <bits/siginfo.h>.
33598
942caa16
PT
335992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33600
e19af380
PT
33601 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33602 finalizing MALLSTREAM.
33603
942caa16
PT
33604 * sysdeps/mach/hurd/syncfs.c: New file.
33605
cfde9b46
SP
336062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33607
33608 [BZ #14719]
33609 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33610 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33611 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33612 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33613 (_nss_dns_gethostbyname4_r): Likewise.
33614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33615 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33616
f6da27e5
PH
336172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33618
33619 [BZ #13763]
33620 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33621
6665d4a2
SM
336222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33623
1f51ee92
SM
33624 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33625 * elf/cache.c (print_entry): Print ",AArch64" for
33626 FLAG_AARCH64_LIB64
33627
6665d4a2
SM
33628 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33629 * elf/cache.c (print_entry): Print ",hard-float" for
33630 FLAG_ARM_LIBHF.
33631
05b227bd
DM
336322012-11-18 David S. Miller <davem@davemloft.net>
33633
33634 With help from Joseph Myers.
33635 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33636 cutoff to 2**-13.
33637 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33638 cutoff to 2**-25.
33639 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33640 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33641 small.
33642 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33643 * math/libm-test.inc (y0_test): New tests.
33644 (y1_test): New tests.
33645 * sysdeps/i386/fpu/libm-test-ulps: Update.
33646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33648
786b0b67
AS
336492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33650
33651 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33652 64-bit targets.
33653 * configure: Regenerated.
33654
8e18b86d
DM
336552012-11-17 David S. Miller <davem@davemloft.net>
33656
33657 [BZ #14811]
33658 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33659 nonzero exponents with absolute value below 0x1p-128 to +/-
33660 0x1p-128.
33661
531f1ae0
JM
336622012-11-17 Joseph Myers <joseph@codesourcery.com>
33663
12df29e2
JM
33664 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33665
150dc1a0
JM
33666 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33667
531f1ae0
JM
33668 * posix/getconf-speclist.c: New file.
33669 * posix/posix-envs.def: Likewise.
33670 * posix/confstr.c (START_ENV_GROUP): New macro.
33671 (END_ENV_GROUP): Likewise.
33672 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33673 (KNOWN_PRESENT_ENV_STRING): Likewise.
33674 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33675 (UNKNOWN_ENVIRONMENT): Likewise.
33676 (confstr): Include posix-envs.def instead of handling
33677 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33678 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33679 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33680 (END_ENV_GROUP): Likewise.
33681 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33682 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33683 (UNKNOWN_ENVIRONMENT): Likewise.
33684 (__sysconf): Include posix-envs.def instead of handling associated
33685 cases directly here.
33686 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33687 preprocessing getconf-speclist.c rather than running getconf or
33688 generating empty file.
33689
a93f9cbc
PT
336902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33691
33692 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33693
d64d9f87
AL
336942012-11-16 Andrej Lajovic <natrij@gmail.com>
33695
33696 [BZ #14672]
33697 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33698
447885eb
DM
336992012-11-16 David S. Miller <davem@davemloft.net>
33700
33701 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33702 smaller than LDBL_EPSILON/2.0L, just return xm1.
33703
bcbf9830
L
337042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33705
33706 * elf/tst-array1.c (init): Set constructor priority to 1000.
33707 (fini): Set destructor priority to 1000.
33708 * elf/tst-array2dep.c: Likewise.
33709
2b766585
SP
337102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33711
33712 [BZ #11741]
33713 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33714 (_IO_new_file_xsputn): Also return EOF if none of the input
33715 data was written when overflow failed.
33716 * libio/iopadn.c (_IO_padn): Likewise.
33717 * libio/iowpadn.c (_IO_wpadn): Likewise.
33718 * stdio-common/tst-put-error.c: Add copyright notice.
33719 (do_test): Add case for printing padded string.
33720 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33721 _IO_padn returned error.
33722 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33723 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33724 return EOF.
33725
b1848fde
SP
337262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33727
33728 * libio/libioP.h: Add comment note that the references to C++
33729 bits are now obsolete.
33730
2fd89785
MS
337312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33732
33733 * math/libm-test.inc (check_complex): Use asprintf.
33734
e3ea5409
JM
337352012-11-14 Joseph Myers <joseph@codesourcery.com>
33736
33737 * debug/pcprofiledump.c (print_version): Update copyright year.
33738 * malloc/memusagestat.c (print_version): Likewise.
33739
2e64d265
L
337402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33741
33742 [BZ #14831]
33743 * elf/Makefile (tests): Add tst-audit8.
33744 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33745 ($(objpfx)tst-audit8.out): New target.
33746 (tst-audit8-ENV): New variable.
33747 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33748 audit if l_reloc_result is NULL.
33749 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33750 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33751 * elf/tst-audit8.c: New file.
33752
c485e4d2
MS
337532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33754
33755 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33756 * misc/Makefile (CFLAGS-select.c): Define.
33757 * posix/Makefile (CFLAGS-pause.c): Define.
33758
3a0d900a
DM
337592012-11-13 David S. Miller <davem@davemloft.net>
33760
33761 * crypt/Makefile: Move test targets after toplevel Rules
33762 inclusion. Grab any necessary sysdep routines when linking.
33763 * crypt/md5.c (md5_process_block): Remove define, we will always
33764 name it __md5_process_block.
33765 (md5_finish_ctx): Update md5_process_block call.
33766 (md5_stream): Likewise.
33767 (md5_process_bytes): Likewise.
33768 (md5_process_block): Rename to __md5_process_block and move to ...
33769 * crypt/md5-block.c: ... here.
33770 * crypt/sha256.c (sha256_process_block): Move to ...
33771 * crypt/sha256-block.c: ... here.
33772 * crypt/sha512.c (sha512_process_block): Move to ...
33773 * crypt/sha512-block.c: ... here.
33774 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33775 path.
33776 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33777 * sysdeps/sparc/sparc64/multiarch/Makefile
33778 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33779 crypt subdir.
33780 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33782 multiarch changes.
33783 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33784 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33785 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33786 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33787 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33788 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33789 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33790 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33791 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33792 file.
33793 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33794 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33795 file.
33796 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33797
8ca89318
JM
337982012-11-13 Joseph Myers <joseph@codesourcery.com>
33799
e27d476a
JM
33800 * timezone/tzselect.ksh: Update from tzcode git revision
33801 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33802 * timezone/zdump.c: Likewise.
33803 * timezone/zic.c: Likewise.
33804 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33805 in TZVERSION setting, not $(PKGVERSION).
33806 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33807 REPORT_BUGS_TO settings.
33808
8ca89318
JM
33809 [BZ #14838]
33810 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33811 macro.
33812
47594329
MS
338132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33814
33815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33816 detection to immediately after _FP_ROUND().
33817 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33818 bits are 0.
33819
640ac3f1
DM
338202012-11-11 David S. Miller <davem@davemloft.net>
33821
33822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33823 inttypes.h
33824 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33825 __close rather than their public counterparts.
33826
3d2577bb
JM
338272012-11-10 Joseph Myers <joseph@codesourcery.com>
33828
33829 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33830 file.
33831 [UNIX98] (sem_timedwait): Do not expect.
33832 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33833 [XPG4 || UNIX98] (sockatmark): Do not expect.
33834 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33835 (clock_getcpuclockid): Do not expect.
33836 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33837 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33838 Do not expect.
33839 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33840 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33841 [UNIX98] (vwscanf): Likewise.
33842 [UNIX98] (vswscanf): Likewise.
33843
fb1ae1ee
JM
338442012-11-09 Joseph Myers <joseph@codesourcery.com>
33845
9ec6f8bd
JM
33846 * timezone/version.h: Remove file.
33847 * timezone/README: Do not refer to version.h.
33848 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33849 $(objpfx)version.h.
33850 ($(objpfx)zdump.o): Likewise.
c3f81911 33851 ($(objpfx)version.h): New target.
9ec6f8bd 33852
0aa8f8a1
JM
33853 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33854 2012i.
33855 * timezone/README: Don't mention modification to tzselect.ksh.
33856 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33857 work on unmodified tzselect.ksh. Substitute version numbers in
33858 tzselect.ksh.
33859
4e87147f
JM
33860 * Makefile (format-me): Remove.
33861 (INSTALL): Adjust indentation. Use commands directly instead of
33862 using $(format-me).
33863
8b748aed
JM
33864 * aclocal.m4 (ACX_PKGVERSION): New macro.
33865 (ACX_BUGURL): Likewise.
33866 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33867 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33868 (REPORT_BUGS_TO): Likewise.
33869 * configure: Regenerated.
33870 * config.h.in (PKGVERSION): New macro.
33871 (REPORT_BUGS_TO): Likewise.
33872 * config.make.in (PKGVERSION): New variable.
33873 (PKGVERSION_TEXI): Likewise.
33874 (REPORT_BUGS_TO): Likewise.
33875 (REPORT_BUGS_TEXI): Likewise.
33876 * Makefile (format-me): Use -I$(common-objpfx)manual.
33877 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33878 ($(common-objpfx)manual/%): New target.
33879 (manual/%): Remove target.
33880 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33881 (print_version): Use PKGVERSION.
33882 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33883 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33884 and REPORT_BUGS_TO.
33885 ($(objpfx)xtrace): Likewise.
33886 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33887 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33888 (print_version): Use PKGVERSION.
33889 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33890 (do_version): Use PKGVERSION.
33891 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33892 REPORT_BUGS_TO.
33893 (common-ldd-rewrite): Likewise.
33894 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33895 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33896 (print_version): Use PKGVERSION.
33897 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33898 * elf/pldd.c (argp_program_bug_address): Remove variable.
33899 (more_help): New function.
33900 (argp): Use more_help.
33901 (print_version): Use PKGVERSION.
33902 * elf/sln.c (main): Use PKGVERSION.
33903 (usage): Use REPORT_BUGS_TO.
33904 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33905 (top level): Use PKGVERSION.
33906 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33907 (print_version): Use PKGVERSION.
33908 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33909 (print_version): Use PKGVERSION.
33910 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33911 (print_version): Use PKGVERSION.
33912 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33913 (print_version): Use PKGVERSION.
33914 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33915 (print_version): Use PKGVERSION.
33916 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33917 (print_version): Use PKGVERSION.
33918 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33919 and BUGURL.
33920 ($(objpfx)memusage): Likewise.
33921 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33922 (do_version): Use PKGVERSION.
33923 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33924 (print_version): Use PKGVERSION.
33925 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33926 ($PKGVERSION): New variable.
33927 ($REPORT_BUGS_TO): Likewise.
33928 (usage): Use $REPORT_BUGS_TO.
33929 (top level): Use $PKGVERSION.
33930 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33931 ($(objpfx)pkgvers.texi): New rule.
33932 ($(objpfx)stamp-pkgvers): Likewise.
33933 * manual/install.texi: Include pkgvers.texi.
33934 (--with-pkgversion): Document new configure option.
33935 (--with-bugurl): Likewise.
33936 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33937 than necessarily for this particular distribution. Use
33938 REPORT_BUGS_TO for where to report bugs.
33939 * INSTALL: Regenerated.
33940 * manual/libc.texinfo: Include pkgvers.texi.
33941 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33942 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33943 (print_version): Use PKGVERSION.
33944 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33945 (print_version): Use PKGVERSION.
33946 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33947 (print_version): Use PKGVERSION.
33948 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33949 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33950 macro.
33951 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33952 (print_version): Use PKGVERSION.
33953 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33954 (print_version): Use PKGVERSION.
33955 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33956 and PKGVERSION.
33957
92e4b6a9
JM
33958 * timezone/checktab.awk: Update from tzcode 2012i.
33959 * timezone/ialloc.c: Likewise.
33960 * timezone/private.h: Likewise.
33961 * timezone/scheck.c: Likewise.
33962 * timezone/tzfile.h: Likewise.
33963 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33964 (TZVERSION): Hardcode tzcode version number.
33965 * timezone/zdump.c: Update from tzcode 2012i.
33966 * timezone/zic.c: Likewise.
33967 * timezone/version.h: New file.
33968 * timezone/README: Describe version.h. Update upstream location.
33969
9bde902c
JM
33970 [BZ #14824]
33971 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33972 (mktemp): Enable declaration.
33973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33977 Likewise.
33978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33979 Likewise.
33980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33981 Likewise.
33982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33983 Likewise.
33984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33985 Likewise.
33986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33987 Likewise.
33988
fb1ae1ee
JM
33989 [BZ #14821]
33990 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33991 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33992 for copies of such integer values.
33993 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33994 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33995
2c1adbcb
AJ
339962012-11-09 Andreas Jaeger <aj@suse.de>
33997
33998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33999 definitions and declarations that are provided by
34000 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34001
d0f8457e
AK
340022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34003
3a235abb 34004 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34005 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34006 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34007 definition.
34008
57241e26
MS
340092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34010
34011 * elf/elf.h: Update comment before AArch64 relocations.
34012
60e8270d
DM
340132012-11-07 David S. Miller <davem@davemloft.net>
34014
34015 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34016 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34017 (__start_context): Declare.
34018 (__makecontext_ret): Delete.
34019 (__makecontext): Hook up __start_context instead of
34020 __makecontext_ret.
34021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34022 (sysdep_routines): Add __start_context when in stdlib.
34023
0fbb0fbc
JM
340242012-11-07 Joseph Myers <joseph@codesourcery.com>
34025
34026 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34027 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34028 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34029 hardcoded "nm".
34030 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34031 (READELF): New variable. Use it instead of hardcoded "readelf".
34032
eb48db7e
L
340332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34036 * sysdeps/x86/Makefile: Here.
34037 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34038 * sysdeps/x86/tst-xmmymm.sh: This.
34039
05bcf62a
JM
340402012-11-07 Joseph Myers <joseph@codesourcery.com>
34041
c4b6cf53
JM
34042 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34043 expectations.
34044 [UNIX98] (pthread_barrier_t): Do not expect.
34045 [UNIX98] (pthread_barrierattr_t): Likewise.
34046 [UNIX98] (pthread_spinlock_t): Likewise.
34047 [UNIX98] (pthread_barrier_destroy): Likewise.
34048 [UNIX98] (pthread_barrier_init): Likewise.
34049 [UNIX98] (pthread_barrier_wait): Likewise.
34050 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34051 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34052 [UNIX98] (pthread_barrierattr_init): Likewise.
34053 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34054 [UNIX98] (pthread_getcpuclockid): Likewise.
34055 [UNIX98] (pthread_mutex_timedlock): Likewise.
34056 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34057 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34058 [UNIX98] (pthread_sigmask): Likewise.
34059 [UNIX98] (pthread_spin_destroy): Likewise.
34060 [UNIX98] (pthread_spin_init): Likewise.
34061 [UNIX98] (pthread_spin_lock): Likewise.
34062 [UNIX98] (pthread_spin_trylock): Likewise.
34063 [UNIX98] (pthread_spin_unlock): Likewise.
34064 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34065 Do not expect.
34066 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34067 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34068 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34069 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34070 [XPG3 || XPG4] (pthread_key_t): Likewise.
34071 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34072 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34073 [XPG3 || XPG4] (pthread_once_t): Likewise.
34074 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34075 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34076 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34077 [XPG3 || XPG4] (pthread_t): Likewise.
34078
cbe6e120
JM
34079 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34080 not expect.
34081 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34082
1b126443
JM
34083 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34084 Change function return type to int.
34085
b961a573
JM
34086 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34087 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34088 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34089 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34090 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34091 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34092 [!POSIX] (posix_madvise): Likewise.
34093 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34094 && !UNIX98].
34095 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34096 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34097 (mode_t): Likewise.
34098 (posix_mem_offset): Likewise.
34099 (posix_typed_mem_get_info): Likewise.
34100 (posix_typed_mem_open): Likewise.
34101
9e188909
JM
34102 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34103 Change condition to [XOPEN2K8].
34104
05bcf62a
JM
34105 * conform/conformtest.pl: Preprocess allow-header data with -x c
34106 instead of from stdin.
34107 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34108 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34109 [C99-based standards] (cerfc): Likewise.
34110 [C99-based standards] (cexp2): Likewise.
34111 [C99-based standards] (cexpm1): Likewise.
34112 [C99-based standards] (clog10): Likewise.
34113 [C99-based standards] (clog1p): Likewise.
34114 [C99-based standards] (clog2): Likewise.
34115 [C99-based standards] (clgamma): Likewise.
34116 [C99-based standards] (ctgamma): Likewise.
34117 [C99-based standards] (cerff): Likewise.
34118 [C99-based standards] (cerfcf): Likewise.
34119 [C99-based standards] (cexp2f): Likewise.
34120 [C99-based standards] (cexpm1f): Likewise.
34121 [C99-based standards] (clog10f): Likewise.
34122 [C99-based standards] (clog1pf): Likewise.
34123 [C99-based standards] (clog2f): Likewise.
34124 [C99-based standards] (clgammaf): Likewise.
34125 [C99-based standards] (ctgammaf): Likewise.
34126 [C99-based standards] (cerfl): Likewise.
34127 [C99-based standards] (cerfcl): Likewise.
34128 [C99-based standards] (cexp2l): Likewise.
34129 [C99-based standards] (cexpm1l): Likewise.
34130 [C99-based standards] (clog10l): Likewise.
34131 [C99-based standards] (clog1pl): Likewise.
34132 [C99-based standards] (clog2l): Likewise.
34133 [C99-based standards] (clgammal): Likewise.
34134 [C99-based standards] (ctgammal): Likewise.
34135 * conform/data/inttypes.h-data [C99-based standards]: Include
34136 stdint.h-data. Remove all expectations for stdint.h contents.
34137 [C99-based standards] (PRI*): Do not allow.
34138 [C99-based standards] (SCN*): Likewise.
34139 [C99-based standards] (*_t): Likewise.
34140 [C99-based-standards] (PRId8): Expect macro.
34141 [C99-based-standards] (PRIi8): Likewise.
34142 [C99-based-standards] (PRIo8): Likewise.
34143 [C99-based-standards] (PRIu8): Likewise.
34144 [C99-based-standards] (PRIx8): Likewise.
34145 [C99-based-standards] (PRIX8): Likewise.
34146 [C99-based-standards] (SCNd8): Likewise.
34147 [C99-based-standards] (SCNi8): Likewise.
34148 [C99-based-standards] (SCNo8): Likewise.
34149 [C99-based-standards] (SCNu8): Likewise.
34150 [C99-based-standards] (SCNx8): Likewise.
34151 [C99-based-standards] (PRIdLEAST8): Likewise.
34152 [C99-based-standards] (PRIiLEAST8): Likewise.
34153 [C99-based-standards] (PRIoLEAST8): Likewise.
34154 [C99-based-standards] (PRIuLEAST8): Likewise.
34155 [C99-based-standards] (PRIxLEAST8): Likewise.
34156 [C99-based-standards] (PRIXLEAST8): Likewise.
34157 [C99-based-standards] (SCNdLEAST8): Likewise.
34158 [C99-based-standards] (SCNiLEAST8): Likewise.
34159 [C99-based-standards] (SCNoLEAST8): Likewise.
34160 [C99-based-standards] (SCNuLEAST8): Likewise.
34161 [C99-based-standards] (SCNxLEAST8): Likewise.
34162 [C99-based-standards] (PRIdFAST8): Likewise.
34163 [C99-based-standards] (PRIiFAST8): Likewise.
34164 [C99-based-standards] (PRIoFAST8): Likewise.
34165 [C99-based-standards] (PRIuFAST8): Likewise.
34166 [C99-based-standards] (PRIxFAST8): Likewise.
34167 [C99-based-standards] (PRIXFAST8): Likewise.
34168 [C99-based-standards] (SCNdFAST8): Likewise.
34169 [C99-based-standards] (SCNiFAST8): Likewise.
34170 [C99-based-standards] (SCNoFAST8): Likewise.
34171 [C99-based-standards] (SCNuFAST8): Likewise.
34172 [C99-based-standards] (SCNxFAST8): Likewise.
34173 [C99-based-standards] (PRId16): Likewise.
34174 [C99-based-standards] (PRIi16): Likewise.
34175 [C99-based-standards] (PRIo16): Likewise.
34176 [C99-based-standards] (PRIu16): Likewise.
34177 [C99-based-standards] (PRIx16): Likewise.
34178 [C99-based-standards] (PRIX16): Likewise.
34179 [C99-based-standards] (SCNd16): Likewise.
34180 [C99-based-standards] (SCNi16): Likewise.
34181 [C99-based-standards] (SCNo16): Likewise.
34182 [C99-based-standards] (SCNu16): Likewise.
34183 [C99-based-standards] (SCNx16): Likewise.
34184 [C99-based-standards] (PRIdLEAST16): Likewise.
34185 [C99-based-standards] (PRIiLEAST16): Likewise.
34186 [C99-based-standards] (PRIoLEAST16): Likewise.
34187 [C99-based-standards] (PRIuLEAST16): Likewise.
34188 [C99-based-standards] (PRIxLEAST16): Likewise.
34189 [C99-based-standards] (PRIXLEAST16): Likewise.
34190 [C99-based-standards] (SCNdLEAST16): Likewise.
34191 [C99-based-standards] (SCNiLEAST16): Likewise.
34192 [C99-based-standards] (SCNoLEAST16): Likewise.
34193 [C99-based-standards] (SCNuLEAST16): Likewise.
34194 [C99-based-standards] (SCNxLEAST16): Likewise.
34195 [C99-based-standards] (PRIdFAST16): Likewise.
34196 [C99-based-standards] (PRIiFAST16): Likewise.
34197 [C99-based-standards] (PRIoFAST16): Likewise.
34198 [C99-based-standards] (PRIuFAST16): Likewise.
34199 [C99-based-standards] (PRIxFAST16): Likewise.
34200 [C99-based-standards] (PRIXFAST16): Likewise.
34201 [C99-based-standards] (SCNdFAST16): Likewise.
34202 [C99-based-standards] (SCNiFAST16): Likewise.
34203 [C99-based-standards] (SCNoFAST16): Likewise.
34204 [C99-based-standards] (SCNuFAST16): Likewise.
34205 [C99-based-standards] (SCNxFAST16): Likewise.
34206 [C99-based-standards] (PRId32): Likewise.
34207 [C99-based-standards] (PRIi32): Likewise.
34208 [C99-based-standards] (PRIo32): Likewise.
34209 [C99-based-standards] (PRIu32): Likewise.
34210 [C99-based-standards] (PRIx32): Likewise.
34211 [C99-based-standards] (PRIX32): Likewise.
34212 [C99-based-standards] (SCNd32): Likewise.
34213 [C99-based-standards] (SCNi32): Likewise.
34214 [C99-based-standards] (SCNo32): Likewise.
34215 [C99-based-standards] (SCNu32): Likewise.
34216 [C99-based-standards] (SCNx32): Likewise.
34217 [C99-based-standards] (PRIdLEAST32): Likewise.
34218 [C99-based-standards] (PRIiLEAST32): Likewise.
34219 [C99-based-standards] (PRIoLEAST32): Likewise.
34220 [C99-based-standards] (PRIuLEAST32): Likewise.
34221 [C99-based-standards] (PRIxLEAST32): Likewise.
34222 [C99-based-standards] (PRIXLEAST32): Likewise.
34223 [C99-based-standards] (SCNdLEAST32): Likewise.
34224 [C99-based-standards] (SCNiLEAST32): Likewise.
34225 [C99-based-standards] (SCNoLEAST32): Likewise.
34226 [C99-based-standards] (SCNuLEAST32): Likewise.
34227 [C99-based-standards] (SCNxLEAST32): Likewise.
34228 [C99-based-standards] (PRIdFAST32): Likewise.
34229 [C99-based-standards] (PRIiFAST32): Likewise.
34230 [C99-based-standards] (PRIoFAST32): Likewise.
34231 [C99-based-standards] (PRIuFAST32): Likewise.
34232 [C99-based-standards] (PRIxFAST32): Likewise.
34233 [C99-based-standards] (PRIXFAST32): Likewise.
34234 [C99-based-standards] (SCNdFAST32): Likewise.
34235 [C99-based-standards] (SCNiFAST32): Likewise.
34236 [C99-based-standards] (SCNoFAST32): Likewise.
34237 [C99-based-standards] (SCNuFAST32): Likewise.
34238 [C99-based-standards] (SCNxFAST32): Likewise.
34239 [C99-based-standards] (PRId64): Likewise.
34240 [C99-based-standards] (PRIi64): Likewise.
34241 [C99-based-standards] (PRIo64): Likewise.
34242 [C99-based-standards] (PRIu64): Likewise.
34243 [C99-based-standards] (PRIx64): Likewise.
34244 [C99-based-standards] (PRIX64): Likewise.
34245 [C99-based-standards] (SCNd64): Likewise.
34246 [C99-based-standards] (SCNi64): Likewise.
34247 [C99-based-standards] (SCNo64): Likewise.
34248 [C99-based-standards] (SCNu64): Likewise.
34249 [C99-based-standards] (SCNx64): Likewise.
34250 [C99-based-standards] (PRIdLEAST64): Likewise.
34251 [C99-based-standards] (PRIiLEAST64): Likewise.
34252 [C99-based-standards] (PRIoLEAST64): Likewise.
34253 [C99-based-standards] (PRIuLEAST64): Likewise.
34254 [C99-based-standards] (PRIxLEAST64): Likewise.
34255 [C99-based-standards] (PRIXLEAST64): Likewise.
34256 [C99-based-standards] (SCNdLEAST64): Likewise.
34257 [C99-based-standards] (SCNiLEAST64): Likewise.
34258 [C99-based-standards] (SCNoLEAST64): Likewise.
34259 [C99-based-standards] (SCNuLEAST64): Likewise.
34260 [C99-based-standards] (SCNxLEAST64): Likewise.
34261 [C99-based-standards] (PRIdFAST64): Likewise.
34262 [C99-based-standards] (PRIiFAST64): Likewise.
34263 [C99-based-standards] (PRIoFAST64): Likewise.
34264 [C99-based-standards] (PRIuFAST64): Likewise.
34265 [C99-based-standards] (PRIxFAST64): Likewise.
34266 [C99-based-standards] (PRIXFAST64): Likewise.
34267 [C99-based-standards] (SCNdFAST64): Likewise.
34268 [C99-based-standards] (SCNiFAST64): Likewise.
34269 [C99-based-standards] (SCNoFAST64): Likewise.
34270 [C99-based-standards] (SCNuFAST64): Likewise.
34271 [C99-based-standards] (SCNxFAST64): Likewise.
34272 [C99-based-standards] (PRIdMAX): Likewise.
34273 [C99-based-standards] (PRIiMAX): Likewise.
34274 [C99-based-standards] (PRIoMAX): Likewise.
34275 [C99-based-standards] (PRIuMAX): Likewise.
34276 [C99-based-standards] (PRIxMAX): Likewise.
34277 [C99-based-standards] (PRIXMAX): Likewise.
34278 [C99-based-standards] (SCNdMAX): Likewise.
34279 [C99-based-standards] (SCNiMAX): Likewise.
34280 [C99-based-standards] (SCNoMAX): Likewise.
34281 [C99-based-standards] (SCNuMAX): Likewise.
34282 [C99-based-standards] (SCNxMAX): Likewise.
34283 [C99-based-standards] (PRIdPTR): Likewise.
34284 [C99-based-standards] (PRIiPTR): Likewise.
34285 [C99-based-standards] (PRIoPTR): Likewise.
34286 [C99-based-standards] (PRIuPTR): Likewise.
34287 [C99-based-standards] (PRIxPTR): Likewise.
34288 [C99-based-standards] (PRIXPTR): Likewise.
34289 [C99-based-standards] (SCNdPTR): Likewise.
34290 [C99-based-standards] (SCNiPTR): Likewise.
34291 [C99-based-standards] (SCNoPTR): Likewise.
34292 [C99-based-standards] (SCNuPTR): Likewise.
34293 [C99-based-standards] (SCNxPTR): Likewise.
34294 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34295 allow.
34296 * conform/data/stdint.h-data: Update comments to clarify
34297 requirements.
34298 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34299 type.
34300 [C99-based standards] (INT8_MAX): Likewise.
34301 [C99-based standards] (INT16_MIN): Likewise.
34302 [C99-based standards] (INT16_MAX): Likewise.
34303 [C99-based standards] (INT32_MIN): Likewise.
34304 [C99-based standards] (INT32_MAX): Likewise.
34305 [C99-based standards] (INT64_MIN): Likewise.
34306 [C99-based standards] (INT64_MAX): Likewise.
34307 [C99-based standards] (UINT8_MAX): Likewise.
34308 [C99-based standards] (UINT16_MAX): Likewise.
34309 [C99-based standards] (UINT32_MAX): Likewise.
34310 [C99-based standards] (UINT64_MAX): Likewise.
34311 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34312 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34313 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34314 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34315 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34316 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34317 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34318 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34319 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34320 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34321 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34322 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34323 [C99-based standards] (INT_FAST8_MIN): Likewise.
34324 [C99-based standards] (INT_FAST8_MAX): Likewise.
34325 [C99-based standards] (INT_FAST16_MIN): Likewise.
34326 [C99-based standards] (INT_FAST16_MAX): Likewise.
34327 [C99-based standards] (INT_FAST32_MIN): Likewise.
34328 [C99-based standards] (INT_FAST32_MAX): Likewise.
34329 [C99-based standards] (INT_FAST64_MIN): Likewise.
34330 [C99-based standards] (INT_FAST64_MAX): Likewise.
34331 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34332 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34333 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34334 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34335 [C99-based standards] (INTPTR_MIN): Likewise.
34336 [C99-based standards] (INTPTR_MAX): Likewise.
34337 [C99-based standards] (UINTPTR_MAX): Likewise.
34338 [C99-based standards] (INTMAX_MIN): Likewise.
34339 [C99-based standards] (INTMAX_MAX): Likewise.
34340 [C99-based standards] (UINTMAX_MAX): Likewise.
34341 [C99-based standards] (PTRDIFF_MIN): Likewise.
34342 [C99-based standards] (PTRDIFF_MAX): Likewise.
34343 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34344 [C99-based standards] (SIZE_MAX): Likewise.
34345 [C99-based standards] (WCHAR_MAX): Likewise.
34346 [C99-based standards] (WINT_MAX): Likewise.
34347 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34348 constraint on value.
34349 [C99-based standards] (WCHAR_MIN): Likewise.
34350 [C99-based standards] (WINT_MIN): Likewise.
34351 [C99-based standards] (*_t): Allow.
34352 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34353 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34354 Include math.h-data and complex.h-data. Remove all expectations
34355 of math.h and complex.h contents.
34356 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34357 at end of line.
34358 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34359 (struct tm): Expect tag.
34360 [C99-based-standards] (wcstof): Expect function.
34361 [C99-based-standards] (wcstold): Likewise.
34362 [C99-based-standards] (wcstoll): Likewise.
34363 [C99-based-standards] (wcstoull): Likewise.
34364 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34365 macro-int-constant. Specify type.
34366 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34367 constraint on value.
34368 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34369 Specify type.
34370 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34371 Specify value.
34372 [ISO C standards]: Do not allow headers.
34373 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34374 wcs[abcdefghijklmnopqrstuvwxyz]*.
34375 [ISO C standards] (*_t): Do not allow.
34376 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34377 Expect function.
34378 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34379 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34380 Specify type.
34381 [ISO C standards]: Do not allow headers.
34382 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34383 is[abcdefghijklmnopqrstuvwxyz]*.
34384 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34385 to[abcdefghijklmnopqrstuvwxyz]*.
34386 [ISO C standards] (*_t): Do not allow.
34387 * conform/data/stdalign.h-data: New file.
34388 * conform/data/stdbool.h-data: Likewise.
34389 * conform/data/stdnoreturn.h-data: Likewise.
34390
7514feb8
RM
343912012-11-07 Roland McGrath <roland@hack.frob.com>
34392
34393 [BZ #14815]
34394 * manual/filesys.texi (Directory Entries): Typo fix.
34395 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34396
19b2ecfc
MS
343972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34398
34399 * elf/elf.h (EM_AARCH64): New macro.
34400 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34401 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34402 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34403 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34404 (R_AARCH64_TLSDESC): Likewise.
34405 (NT_ARM_TLS): Likewise.
34406 (NT_ARM_HW_BREAK): Likewise.
34407 (NT_ARM_HW_WATCH): Likewise.
34408
60e235ee
JM
344092012-11-07 Joseph Myers <joseph@codesourcery.com>
34410
34411 [BZ #14811]
34412 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34413 (__ieee754_powl): Saturate nonzero exponents with absolute value
34414 below 0x1p-79 to +/- 0x1p-79.
34415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34416 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34417 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34418 nonzero exponents with absolute value below 0x1p-32 to +/-
34419 0x1p-32.
34420 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34421 (__ieee754_powl): Saturate nonzero exponents with absolute value
34422 below 0x1p-79 to +/- 0x1p-79.
34423 * math/libm-test.inc (pow_test): Add more tests.
34424
0ab234b7
AK
344252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34426
34427 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34428 _dl_s390_cap_flags with kernel. Increase string length.
34429 (_dl_s390_platforms): Add z196 and zEC12.
34430
45832f74
JM
344312012-11-07 Joseph Myers <joseph@codesourcery.com>
34432
34433 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34434 Change XOPEN21K to XOPEN2K.
34435
19218757
MK
344362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34437
34438 * string/memmove.c: Use memcpy when possible.
34439
c5f45721
AJ
344402012-11-06 Andreas Jaeger <aj@suse.de>
34441
34442 * po/eo.po: Update from translation team.
34443
82477c28
JM
344442012-11-06 Joseph Myers <joseph@codesourcery.com>
34445
34446 [BZ #14793]
34447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34448 exponent and small x and y exponents, scale x or y up. Increase
34449 by 2 the exponent used in scaling up.
34450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34452 * math/libm-test.inc (fma_test): Add more tests.
34453 (fma_test_towardzero): Likewise.
34454 (fma_test_downward): Likewise.
34455 (fma_test_upward): Likewise.
34456
99252c8c
JM
344572012-11-05 Joseph Myers <joseph@codesourcery.com>
34458
acfa885f
JM
34459 [BZ #14805]
34460 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34461 fenv_t *.
34462
99252c8c
JM
34463 [BZ #14801]
34464 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34465 namespace for names of struct fields.
34466 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34467 fenv_t fields.
34468 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34469 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34470
d6d98dea
ST
344712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34472
34473 [BZ #3665]
34474 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34475
e10bb107
TS
344762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34477
34478 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34479 PTR_DEMANGLE.
34480
34481 [BZ #5246]
34482 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34483 PTR_DEMANGLE.
34484
a0c2940d
JM
344852012-11-04 Joseph Myers <joseph@codesourcery.com>
34486
34487 [BZ #14797]
34488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34489 definitely overflow as x * y not x * y + z.
34490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34492 * math/libm-test.inc (fma_test): Add more tests.
34493 (fma_test_towardzero): Likewise.
34494 (fma_test_downward): Likewise.
34495 (fma_test_upward): Likewise.
34496
b830319d
TS
344972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34498
34499 [BZ #157]
34500
34501 * include/stub-tag.h: Remove file.
34502 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34503 '#include' of it.
34504 * manual/maint.texi (Porting): Don't reference it.
34505 * Makerules ($(objpfx)stubs): Likewise.
34506 * dirent/closedir.c: Don't include <stub-tag.h>.
34507 * dirent/dirfd.c: Likewise.
34508 * dirent/fdopendir.c: Likewise.
34509 * dirent/getdents.c: Likewise.
34510 * dirent/getdents64.c: Likewise.
34511 * dirent/opendir.c: Likewise.
34512 * dirent/readdir.c: Likewise.
34513 * dirent/readdir64.c: Likewise.
34514 * dirent/readdir64_r.c: Likewise.
34515 * dirent/readdir_r.c: Likewise.
34516 * dirent/rewinddir.c: Likewise.
34517 * dirent/seekdir.c: Likewise.
34518 * dirent/telldir.c: Likewise.
34519 * gmon/profil.c: Likewise.
34520 * grp/setgroups.c: Likewise.
34521 * inet/if_index.c: Likewise.
34522 * io/access.c: Likewise.
34523 * io/chdir.c: Likewise.
34524 * io/chmod.c: Likewise.
34525 * io/chown.c: Likewise.
34526 * io/close.c: Likewise.
34527 * io/dup.c: Likewise.
34528 * io/dup2.c: Likewise.
34529 * io/dup3.c: Likewise.
34530 * io/euidaccess.c: Likewise.
34531 * io/faccessat.c: Likewise.
34532 * io/fchdir.c: Likewise.
34533 * io/fchmod.c: Likewise.
34534 * io/fchmodat.c: Likewise.
34535 * io/fchown.c: Likewise.
34536 * io/fchownat.c: Likewise.
34537 * io/fcntl.c: Likewise.
34538 * io/flock.c: Likewise.
34539 * io/fstatfs.c: Likewise.
34540 * io/fstatfs64.c: Likewise.
34541 * io/fstatvfs.c: Likewise.
34542 * io/fstatvfs64.c: Likewise.
34543 * io/futimens.c: Likewise.
34544 * io/fxstat.c: Likewise.
34545 * io/fxstat64.c: Likewise.
34546 * io/fxstatat.c: Likewise.
34547 * io/fxstatat64.c: Likewise.
34548 * io/getcwd.c: Likewise.
34549 * io/isatty.c: Likewise.
34550 * io/lchmod.c: Likewise.
34551 * io/lchown.c: Likewise.
34552 * io/link.c: Likewise.
34553 * io/linkat.c: Likewise.
34554 * io/lseek.c: Likewise.
34555 * io/lseek64.c: Likewise.
34556 * io/lxstat64.c: Likewise.
34557 * io/mkdir.c: Likewise.
34558 * io/mkdirat.c: Likewise.
34559 * io/mkfifo.c: Likewise.
34560 * io/mkfifoat.c: Likewise.
34561 * io/open.c: Likewise.
34562 * io/open64.c: Likewise.
34563 * io/openat.c: Likewise.
34564 * io/openat64.c: Likewise.
34565 * io/pipe.c: Likewise.
34566 * io/pipe2.c: Likewise.
34567 * io/poll.c: Likewise.
34568 * io/posix_fadvise.c: Likewise.
34569 * io/posix_fadvise64.c: Likewise.
34570 * io/posix_fallocate.c: Likewise.
34571 * io/posix_fallocate64.c: Likewise.
34572 * io/read.c: Likewise.
34573 * io/readlink.c: Likewise.
34574 * io/readlinkat.c: Likewise.
34575 * io/rmdir.c: Likewise.
34576 * io/sendfile.c: Likewise.
34577 * io/sendfile64.c: Likewise.
34578 * io/statfs.c: Likewise.
34579 * io/statfs64.c: Likewise.
34580 * io/statvfs.c: Likewise.
34581 * io/statvfs64.c: Likewise.
34582 * io/symlink.c: Likewise.
34583 * io/symlinkat.c: Likewise.
34584 * io/ttyname.c: Likewise.
34585 * io/ttyname_r.c: Likewise.
34586 * io/umask.c: Likewise.
34587 * io/unlink.c: Likewise.
34588 * io/unlinkat.c: Likewise.
34589 * io/utime.c: Likewise.
34590 * io/utimensat.c: Likewise.
34591 * io/write.c: Likewise.
34592 * io/xmknod.c: Likewise.
34593 * io/xmknodat.c: Likewise.
34594 * io/xstat.c: Likewise.
34595 * io/xstat64.c: Likewise.
34596 * login/getpt.c: Likewise.
34597 * login/grantpt.c: Likewise.
34598 * login/unlockpt.c: Likewise.
34599 * math/e_acoshl.c: Likewise.
34600 * math/e_acosl.c: Likewise.
34601 * math/e_asinl.c: Likewise.
34602 * math/e_atan2l.c: Likewise.
34603 * math/e_atanhl.c: Likewise.
34604 * math/e_coshl.c: Likewise.
34605 * math/e_expl.c: Likewise.
34606 * math/e_fmodl.c: Likewise.
34607 * math/e_gammal_r.c: Likewise.
34608 * math/e_hypotl.c: Likewise.
34609 * math/e_j0l.c: Likewise.
34610 * math/e_j1l.c: Likewise.
34611 * math/e_jnl.c: Likewise.
34612 * math/e_lgammal_r.c: Likewise.
34613 * math/e_log10l.c: Likewise.
34614 * math/e_log2l.c: Likewise.
34615 * math/e_logl.c: Likewise.
34616 * math/e_powl.c: Likewise.
34617 * math/e_rem_pio2l.c: Likewise.
34618 * math/e_sinhl.c: Likewise.
34619 * math/e_sqrtl.c: Likewise.
34620 * math/fclrexcpt.c: Likewise.
34621 * math/fedisblxcpt.c: Likewise.
34622 * math/feenablxcpt.c: Likewise.
34623 * math/fegetenv.c: Likewise.
34624 * math/fegetexcept.c: Likewise.
34625 * math/fegetround.c: Likewise.
34626 * math/feholdexcpt.c: Likewise.
34627 * math/fesetenv.c: Likewise.
34628 * math/fesetround.c: Likewise.
34629 * math/feupdateenv.c: Likewise.
34630 * math/fgetexcptflg.c: Likewise.
34631 * math/fraiseexcpt.c: Likewise.
34632 * math/fsetexcptflg.c: Likewise.
34633 * math/ftestexcept.c: Likewise.
34634 * math/k_cosl.c: Likewise.
34635 * math/k_rem_pio2l.c: Likewise.
34636 * math/k_sinl.c: Likewise.
34637 * math/k_tanl.c: Likewise.
34638 * math/s_asinhl.c: Likewise.
34639 * math/s_atanl.c: Likewise.
34640 * math/s_cbrtl.c: Likewise.
34641 * math/s_erfl.c: Likewise.
34642 * math/s_expm1l.c: Likewise.
34643 * math/s_log1pl.c: Likewise.
34644 * math/s_tanhl.c: Likewise.
34645 * misc/acct.c: Likewise.
34646 * misc/brk.c: Likewise.
34647 * misc/chflags.c: Likewise.
34648 * misc/chroot.c: Likewise.
34649 * misc/fchflags.c: Likewise.
34650 * misc/fgetxattr.c: Likewise.
34651 * misc/flistxattr.c: Likewise.
34652 * misc/fremovexattr.c: Likewise.
34653 * misc/fsetxattr.c: Likewise.
34654 * misc/fsync.c: Likewise.
34655 * misc/ftruncate.c: Likewise.
34656 * misc/futimes.c: Likewise.
34657 * misc/futimesat.c: Likewise.
34658 * misc/getdomain.c: Likewise.
34659 * misc/getdtsz.c: Likewise.
34660 * misc/gethostid.c: Likewise.
34661 * misc/gethostname.c: Likewise.
34662 * misc/getloadavg.c: Likewise.
34663 * misc/getpagesize.c: Likewise.
34664 * misc/getsysstats.c: Likewise.
34665 * misc/getxattr.c: Likewise.
34666 * misc/gtty.c: Likewise.
34667 * misc/ioctl.c: Likewise.
34668 * misc/lgetxattr.c: Likewise.
34669 * misc/listxattr.c: Likewise.
34670 * misc/llistxattr.c: Likewise.
34671 * misc/lremovexattr.c: Likewise.
34672 * misc/lsetxattr.c: Likewise.
34673 * misc/lutimes.c: Likewise.
34674 * misc/madvise.c: Likewise.
34675 * misc/mincore.c: Likewise.
34676 * misc/mlock.c: Likewise.
34677 * misc/mlockall.c: Likewise.
34678 * misc/mmap.c: Likewise.
34679 * misc/mprotect.c: Likewise.
34680 * misc/msync.c: Likewise.
34681 * misc/munlock.c: Likewise.
34682 * misc/munlockall.c: Likewise.
34683 * misc/munmap.c: Likewise.
34684 * misc/preadv.c: Likewise.
34685 * misc/preadv64.c: Likewise.
34686 * misc/ptrace.c: Likewise.
34687 * misc/pwritev.c: Likewise.
34688 * misc/pwritev64.c: Likewise.
34689 * misc/readv.c: Likewise.
34690 * misc/reboot.c: Likewise.
34691 * misc/remap_file_pages.c: Likewise.
34692 * misc/removexattr.c: Likewise.
34693 * misc/revoke.c: Likewise.
34694 * misc/select.c: Likewise.
34695 * misc/setdomain.c: Likewise.
34696 * misc/setegid.c: Likewise.
34697 * misc/seteuid.c: Likewise.
34698 * misc/sethostid.c: Likewise.
34699 * misc/sethostname.c: Likewise.
34700 * misc/setregid.c: Likewise.
34701 * misc/setreuid.c: Likewise.
34702 * misc/setxattr.c: Likewise.
34703 * misc/sstk.c: Likewise.
34704 * misc/stty.c: Likewise.
34705 * misc/swapoff.c: Likewise.
34706 * misc/swapon.c: Likewise.
34707 * misc/sync.c: Likewise.
34708 * misc/syncfs.c: Likewise.
34709 * misc/syscall.c: Likewise.
34710 * misc/truncate.c: Likewise.
34711 * misc/ualarm.c: Likewise.
34712 * misc/usleep.c: Likewise.
34713 * misc/ustat.c: Likewise.
34714 * misc/utimes.c: Likewise.
34715 * misc/vhangup.c: Likewise.
34716 * misc/writev.c: Likewise.
34717 * posix/_exit.c: Likewise.
34718 * posix/alarm.c: Likewise.
34719 * posix/execve.c: Likewise.
34720 * posix/fexecve.c: Likewise.
34721 * posix/fork.c: Likewise.
34722 * posix/fpathconf.c: Likewise.
34723 * posix/getaddrinfo.c: Likewise.
34724 * posix/getegid.c: Likewise.
34725 * posix/geteuid.c: Likewise.
34726 * posix/getgid.c: Likewise.
34727 * posix/getgroups.c: Likewise.
34728 * posix/getlogin.c: Likewise.
34729 * posix/getlogin_r.c: Likewise.
34730 * posix/getpgid.c: Likewise.
34731 * posix/getpid.c: Likewise.
34732 * posix/getppid.c: Likewise.
34733 * posix/getresgid.c: Likewise.
34734 * posix/getresuid.c: Likewise.
34735 * posix/getsid.c: Likewise.
34736 * posix/getuid.c: Likewise.
34737 * posix/glob64.c: Likewise.
34738 * posix/nanosleep.c: Likewise.
34739 * posix/pathconf.c: Likewise.
34740 * posix/pause.c: Likewise.
34741 * posix/posix_madvise.c: Likewise.
34742 * posix/pread.c: Likewise.
34743 * posix/pread64.c: Likewise.
34744 * posix/pwrite.c: Likewise.
34745 * posix/pwrite64.c: Likewise.
34746 * posix/sched_getaffinity.c: Likewise.
34747 * posix/sched_getp.c: Likewise.
34748 * posix/sched_gets.c: Likewise.
34749 * posix/sched_primax.c: Likewise.
34750 * posix/sched_primin.c: Likewise.
34751 * posix/sched_rr_gi.c: Likewise.
34752 * posix/sched_setaffinity.c: Likewise.
34753 * posix/sched_setp.c: Likewise.
34754 * posix/sched_sets.c: Likewise.
34755 * posix/sched_yield.c: Likewise.
34756 * posix/setgid.c: Likewise.
34757 * posix/setlogin.c: Likewise.
34758 * posix/setpgid.c: Likewise.
34759 * posix/setresgid.c: Likewise.
34760 * posix/setresuid.c: Likewise.
34761 * posix/setsid.c: Likewise.
34762 * posix/setuid.c: Likewise.
34763 * posix/sleep.c: Likewise.
34764 * posix/spawni.c: Likewise.
34765 * posix/sysconf.c: Likewise.
34766 * posix/times.c: Likewise.
34767 * posix/wait.c: Likewise.
34768 * posix/wait3.c: Likewise.
34769 * posix/wait4.c: Likewise.
34770 * posix/waitpid.c: Likewise.
34771 * resolv/gai_sigqueue.c: Likewise.
34772 * resource/getpriority.c: Likewise.
34773 * resource/getrlimit.c: Likewise.
34774 * resource/getrusage.c: Likewise.
34775 * resource/nice.c: Likewise.
34776 * resource/setpriority.c: Likewise.
34777 * resource/setrlimit.c: Likewise.
34778 * resource/ulimit.c: Likewise.
34779 * rt/aio_cancel.c: Likewise.
34780 * rt/aio_fsync.c: Likewise.
34781 * rt/aio_read.c: Likewise.
34782 * rt/aio_sigqueue.c: Likewise.
34783 * rt/aio_suspend.c: Likewise.
34784 * rt/aio_write.c: Likewise.
34785 * rt/clock_getres.c: Likewise.
34786 * rt/clock_gettime.c: Likewise.
34787 * rt/clock_nanosleep.c: Likewise.
34788 * rt/clock_settime.c: Likewise.
34789 * rt/lio_listio.c: Likewise.
34790 * rt/mq_close.c: Likewise.
34791 * rt/mq_getattr.c: Likewise.
34792 * rt/mq_notify.c: Likewise.
34793 * rt/mq_open.c: Likewise.
34794 * rt/mq_receive.c: Likewise.
34795 * rt/mq_send.c: Likewise.
34796 * rt/mq_setattr.c: Likewise.
34797 * rt/mq_timedreceive.c: Likewise.
34798 * rt/mq_timedsend.c: Likewise.
34799 * rt/mq_unlink.c: Likewise.
34800 * rt/shm_open.c: Likewise.
34801 * rt/shm_unlink.c: Likewise.
34802 * rt/timer_create.c: Likewise.
34803 * rt/timer_delete.c: Likewise.
34804 * rt/timer_getoverr.c: Likewise.
34805 * rt/timer_gettime.c: Likewise.
34806 * rt/timer_settime.c: Likewise.
34807 * setjmp/__longjmp.c: Likewise.
34808 * setjmp/setjmp.c: Likewise.
34809 * signal/kill.c: Likewise.
34810 * signal/killpg.c: Likewise.
34811 * signal/raise.c: Likewise.
34812 * signal/sigaction.c: Likewise.
34813 * signal/sigaltstack.c: Likewise.
34814 * signal/sigblock.c: Likewise.
34815 * signal/sigignore.c: Likewise.
34816 * signal/sigintr.c: Likewise.
34817 * signal/signal.c: Likewise.
34818 * signal/sigpause.c: Likewise.
34819 * signal/sigpending.c: Likewise.
34820 * signal/sigqueue.c: Likewise.
34821 * signal/sigreturn.c: Likewise.
34822 * signal/sigset.c: Likewise.
34823 * signal/sigsetmask.c: Likewise.
34824 * signal/sigstack.c: Likewise.
34825 * signal/sigsuspend.c: Likewise.
34826 * signal/sigtimedwait.c: Likewise.
34827 * signal/sigvec.c: Likewise.
34828 * signal/sigwait.c: Likewise.
34829 * signal/sigwaitinfo.c: Likewise.
34830 * signal/sysv_signal.c: Likewise.
34831 * socket/accept.c: Likewise.
34832 * socket/accept4.c: Likewise.
34833 * socket/bind.c: Likewise.
34834 * socket/connect.c: Likewise.
34835 * socket/getpeername.c: Likewise.
34836 * socket/getsockname.c: Likewise.
34837 * socket/getsockopt.c: Likewise.
34838 * socket/isfdtype.c: Likewise.
34839 * socket/listen.c: Likewise.
34840 * socket/recv.c: Likewise.
34841 * socket/recvfrom.c: Likewise.
34842 * socket/recvmsg.c: Likewise.
34843 * socket/send.c: Likewise.
34844 * socket/sendmsg.c: Likewise.
34845 * socket/sendto.c: Likewise.
34846 * socket/setsockopt.c: Likewise.
34847 * socket/shutdown.c: Likewise.
34848 * socket/sockatmark.c: Likewise.
34849 * socket/socket.c: Likewise.
34850 * socket/socketpair.c: Likewise.
34851 * stdio-common/ctermid.c: Likewise.
34852 * stdio-common/cuserid.c: Likewise.
34853 * stdio-common/remove.c: Likewise.
34854 * stdio-common/rename.c: Likewise.
34855 * stdio-common/renameat.c: Likewise.
34856 * stdio-common/tempname.c: Likewise.
34857 * stdlib/getcontext.c: Likewise.
34858 * stdlib/makecontext.c: Likewise.
34859 * stdlib/setcontext.c: Likewise.
34860 * stdlib/swapcontext.c: Likewise.
34861 * stdlib/system.c: Likewise.
34862 * streams/fattach.c: Likewise.
34863 * streams/fdetach.c: Likewise.
34864 * streams/getmsg.c: Likewise.
34865 * streams/getpmsg.c: Likewise.
34866 * streams/putmsg.c: Likewise.
34867 * streams/putpmsg.c: Likewise.
34868 * sysdeps/unix/bsd/getpt.c: Likewise.
34869 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34870 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34871 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34873 Likewise.
34874 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34875 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34876 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34877 * sysvipc/msgctl.c: Likewise.
34878 * sysvipc/msgget.c: Likewise.
34879 * sysvipc/msgrcv.c: Likewise.
34880 * sysvipc/msgsnd.c: Likewise.
34881 * sysvipc/semctl.c: Likewise.
34882 * sysvipc/semget.c: Likewise.
34883 * sysvipc/semop.c: Likewise.
34884 * sysvipc/semtimedop.c: Likewise.
34885 * sysvipc/shmat.c: Likewise.
34886 * sysvipc/shmctl.c: Likewise.
34887 * sysvipc/shmdt.c: Likewise.
34888 * sysvipc/shmget.c: Likewise.
34889 * termios/tcdrain.c: Likewise.
34890 * termios/tcflow.c: Likewise.
34891 * termios/tcflush.c: Likewise.
34892 * termios/tcgetattr.c: Likewise.
34893 * termios/tcgetpgrp.c: Likewise.
34894 * termios/tcsendbrk.c: Likewise.
34895 * termios/tcsetattr.c: Likewise.
34896 * termios/tcsetpgrp.c: Likewise.
34897 * time/adjtime.c: Likewise.
34898 * time/clock.c: Likewise.
34899 * time/getitimer.c: Likewise.
34900 * time/gettimeofday.c: Likewise.
34901 * time/setitimer.c: Likewise.
34902 * time/settimeofday.c: Likewise.
34903 * time/stime.c: Likewise.
34904 * time/time.c: Likewise.
34905
349062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34907
a20492cf
PT
34908 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34909 /usr/old/bin.
34910
72e182e3
PT
34911 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34912 instead of spaces.
34913 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34914
fbeafede
JM
349152012-11-03 Joseph Myers <joseph@codesourcery.com>
34916
5b5b04d6
JM
34917 [BZ #14796]
34918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34919 FE_TONEAREST before applying Dekker multiplication and Knuth
34920 addition. Clear inexact exceptions and check for exact zero
34921 results afterwards.
34922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34925 * math/libm-test.inc (fma_test): Add more tests.
34926 (fma_test_towardzero): Likewise.
34927 (fma_test_downward): Likewise.
34928 (fma_test_upward): Likewise.
34929 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34930 function.
34931 (libc_fesetround): New macro.
34932 (libc_fesetroundf): Likewise.
34933 (libc_fesetroundl): Likewise.
34934 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34935 function.
34936 (libc_fesetround_387): Likewise.
34937 (libc_fesetroundf): New macro.
34938 (libc_fesetround): Likewise.
34939 (libc_fesetroundl): Likewise.
34940 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34941 function.
34942 (libc_fesetroundf): New macro.
34943 (libc_fesetround): Likewise.
34944 (libc_fesetroundl): Likewise.
34945 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34946 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34947 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34948 libm_hidden_ver.
34949 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34950 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34951 libm_hidden_def.
34952 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34953 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34954 libm_hidden_ver.
34955 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34956 libm_hidden_def.
34957
fbeafede
JM
34958 [BZ #3439]
34959 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34960 integer constant usable in #if and use that to give value to enum
34961 constant.
34962 (FE_DIVBYZERO): Likewise.
34963 (FE_UNDERFLOW): Likewise.
34964 (FE_OVERFLOW): Likewise.
34965 (FE_INVALID): Likewise.
34966 (FE_INVALID_SNAN): Likewise.
34967 (FE_INVALID_ISI): Likewise.
34968 (FE_INVALID_IDI): Likewise.
34969 (FE_INVALID_ZDZ): Likewise.
34970 (FE_INVALID_IMZ): Likewise.
34971 (FE_INVALID_COMPARE): Likewise.
34972 (FE_INVALID_SOFTWARE): Likewise.
34973 (FE_INVALID_SQRT): Likewise.
34974 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34975 (FE_TONEAREST): Likewise.
34976 (FE_TOWARDZERO): Likewise.
34977 (FE_UPWARD): Likewise.
34978 (FE_DOWNWARD): Likewise.
34979 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34980 (FE_DIVBYZERO): Likewise.
34981 (FE_OVERFLOW): Likewise.
34982 (FE_UNDERFLOW): Likewise.
34983 (FE_INEXACT): Likewise.
34984 (FE_TONEAREST): Likewise.
34985 (FE_DOWNWARD): Likewise.
34986 (FE_UPWARD): Likewise.
34987 (FE_TOWARDZERO): Likewise.
34988 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34989 (FE_UNDERFLOW): Likewise.
34990 (FE_OVERFLOW): Likewise.
34991 (FE_DIVBYZERO): Likewise.
34992 (FE_INVALID): Likewise.
34993 (FE_TONEAREST): Likewise.
34994 (FE_TOWARDZERO): Likewise.
34995 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34996 (FE_OVERFLOW): Likewise.
34997 (FE_UNDERFLOW): Likewise.
34998 (FE_DIVBYZERO): Likewise.
34999 (FE_INEXACT): Likewise.
35000 (FE_TONEAREST): Likewise.
35001 (FE_TOWARDZERO): Likewise.
35002 (FE_UPWARD): Likewise.
35003 (FE_DOWNWARD): Likewise.
35004 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35005 (FE_DIVBYZERO): Likewise.
35006 (FE_OVERFLOW): Likewise.
35007 (FE_UNDERFLOW): Likewise.
35008 (FE_INEXACT): Likewise.
35009 (FE_TONEAREST): Likewise.
35010 (FE_DOWNWARD): Likewise.
35011 (FE_UPWARD): Likewise.
35012 (FE_TOWARDZERO): Likewise.
35013
105ca950
CM
350142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35015
35016 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35017
a542b389
AS
350182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35019
35020 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35021 commands. Quote $PWD.
35022 (blacklist_exports): Don't use remove_newlines. Replace "declare
35023 -x" by "export".
35024 (remove_newlines): Remove.
35025
f62c8abc
L
350262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35027
35028 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35029 * stdlib/stdlib.h (atof): Moved to ...
35030 * include/bits/stdlib-float.h: Here. New file.
35031 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35032 * stdlib/bits/stdlib-float.h: New file.
35033 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35034 -mno-sse -mno-mmx.
35035 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35036 <xmmintrin.h>.
35037
0155d5b2
JM
350382012-11-02 Joseph Myers <joseph@codesourcery.com>
35039
a68d0680
JM
35040 * conform/conformtest.pl (@headers): Add fenv.h.
35041 * conform/data/fenv.h-data: New file.
35042 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35043 include of <math/fenv.h>.
35044
caf7f573
JM
35045 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35046 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35047 && !UNIX98]. Enables tests for XOPEN2K8.
35048 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35049 POSIX2008]: Likewise.
35050
6c073ad6
JM
35051 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35052 (struct rusage): Do not expect type or its members.
35053
0155d5b2
JM
35054 [BZ #3439]
35055 * math/math.h (FP_NAN): Define macro to integer constant usable in
35056 #if and use that to give value to enum constant.
35057 (FP_INFINITE): Likewise.
35058 (FP_ZERO): Likewise.
35059 (FP_SUBNORMAL): Likewise.
35060 (FP_NORMAL): Likewise.
35061
b5dcacb4
AS
350622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35063
35064 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35065 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35066 arguments.
35067
f7934be8
RM
350682012-11-02 Roland McGrath <roland@hack.frob.com>
35069
35070 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35071 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35072 autoconf-time if not.
35073 * configure.in: Remove AC_PREREQ.
35074
d7d08bde
TMQMF
350752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35076
35077 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35078 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35079 of the internal implementation.
35080
dcdae19a
JM
350812012-11-02 Joseph Myers <joseph@codesourcery.com>
35082
35083 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35084 except include of <misc/sys/syslog.h>.
35085
d6cffd3e
AS
350862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35087
35088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35089 function returns with a NULL context exit with zero.
35090
b3563932
TMQMF
350912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35092
35093 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35094
b288a93d
L
350952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35096
35097 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35098 (run_program_cmd): This.
35099 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35100 (tst_langinfo): New variable. Use it.
35101
a2421a68
SAS
351022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35103
35104 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35105 floating point opcodes.
35106
6f796e1b
TS
351072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35108
7402596b
TS
35109 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35110 variable.
35111
d0d4f868
TS
35112 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35113
6f796e1b
TS
35114 * sysdeps/mach/hurd/powerpc: Remove directory.
35115 * sysdeps/mach/powerpc: Likewise.
35116
4da224a2
AS
351172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35118
35119 * scripts/check-local-headers.sh: Ignore c++ headers.
35120
341dd673
TS
351212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35122
35123 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35124 __libc_cleanup_region_start argument.
35125
473611b2
JM
351262012-11-01 Joseph Myers <joseph@codesourcery.com>
35127
35128 [BZ #14784]
35129 [BZ #14785]
35130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35131 x * y using scaling, not as x * y + z.
35132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35134 * math/libm-test.inc (fma_test): Add more tests.
35135 (fma_test_towardzero): Likewise.
35136 (fma_test_downward): Likewise.
35137 (fma_test_upward): Likewise.
35138
4078da3d
TS
351392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35140
35141 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35142
903252aa
JM
351432012-10-31 Joseph Myers <joseph@codesourcery.com>
35144
35145 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35146 New variable.
35147
cbc818d0
TS
351482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35149
35150 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35151
5a03cb1e
AS
351522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35153
35154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35155 Fix sort order.
35156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35157 Likewise.
35158
90aff2ff
TMQMF
351592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35160
35161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35162 Fix the order of the list for glibc 2.17.
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35164 Likewise.
35165
1818fcb7
AS
351662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35167
35168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35169
ef82f4da
JM
351702012-10-31 Joseph Myers <joseph@codesourcery.com>
35171
16a0e2ec
JM
35172 [BZ #14610]
35173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35174 for low part of x being zero before using __atanl (y).
35175 * math/libm-test.inc (atan2_test): Add another test.
35176
0eb69512
JM
35177 * manual/install.texi (Configuring and compiling): Document
35178 general use of test-wrapper and test-wrapper-env.
35179 * INSTALL: Regenerated.
35180
ef82f4da
JM
35181 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35182 (__fma): 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-128/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 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35190 (__fmal): Do not extract and scale down low bits on after-rounding
35191 systems when result rounded to normal precision would have normal
35192 exponent.
35193 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35194 macro.
35195 (fma_test): Add more tests.
35196 (fma_test_towardzero): Likewise.
35197 (fma_test_downward): Likewise.
35198 (fma_test_upward): Likewise.
35199
954ef0d9
L
352002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35201
35202 * sysdeps/i386/tininess.h: Renamed to ...
35203 * sysdeps/x86/tininess.h: This.
35204 * sysdeps/x86_64/tininess.h: Removed.
35205
df61ffb2
JM
352062012-10-30 Joseph Myers <joseph@codesourcery.com>
35207
35208 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35209 input. Use $(build-program-cmd).
35210 ($(objpfx)tst-array1-static.out): Likewise.
35211 ($(objpfx)tst-array2.out): Likewise.
35212 ($(objpfx)tst-array3.out): Likewise.
35213 ($(objpfx)tst-array4.out): Likewise.
35214 ($(objpfx)tst-array5.out): Likewise.
35215 ($(objpfx)tst-array5-static.out): Likewise.
35216
01767843
CM
352172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35218
47cc1490
CM
35219 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35220 if defined.
35221
01767843
CM
35222 * nss/nsswitch.h (nss_interface_function): Provide new
35223 macro for use with NSS functions.
35224 * grp/initgroups.c: Use new macro.
35225 * nss/getXXbyYY.c: Likewise.
35226 * nss/getXXbyYY_r.c: Likewise.
35227 * nss/getXXent.c: Likewise.
35228 * nss/getXXent_r.c: Likewise.
35229 * sysdeps/posix/getaddrinfo.c: Likewise.
35230
8321aa97
AJ
352312012-10-30 Andreas Jaeger <aj@suse.de>
35232
35233 * po/ru.po: Update Russion translation from translation project.
35234
2a27fd6d
JM
352352012-10-30 Joseph Myers <joseph@codesourcery.com>
35236
8627a232
JM
35237 [BZ #14152]
35238 [BZ #14783]
35239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35240 result and shift together with sticky bit instead of replicating
35241 round-to-nearest rounding.
35242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35244 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35245 missing underflow exceptions.
35246 (fma_test_towardzero): Add more tests.
35247 (fma_test_downward): Likewise.
35248 (fma_test_upward): Likewise.
35249
2a27fd6d
JM
35250 [BZ #14047]
35251 * sysdeps/generic/tininess.h: New file.
35252 * sysdeps/i386/tininess.h: Likewise.
35253 * sysdeps/sh/tininess.h: Likewise.
35254 * sysdeps/x86_64/tininess.h: Likewise.
35255 * stdlib/tst-strtod-underflow.c: Likewise.
35256 * stdlib/tst-tininess.c: Likewise.
35257 * stdlib/strtod_l.c: Include <tininess.h>.
35258 (round_and_return): Do not set errno for exact underflow cases.
35259 Force an underflow exception when setting errno for underflow.
35260 Determine underflow based on rounding to normal precision if
35261 TININESS_AFTER_ROUNDING.
35262 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35263 ERANGE for exact underflow cases.
35264 * stdlib/Makefile (tests): Add tst-tininess and
35265 tst-strtod-underflow.
35266 ($(objpfx)tst-tininess): Use $(link-libm).
35267 ($(objpfx)tst-strtod-underflow): Likewise.
35268
e7170363
AJ
352692012-10-30 Andreas Jaeger <aj@suse.de>
35270
e5088dc6
AJ
35271 [BZ#14767]
35272 * elf/Makefile (tests): Remove conditional for have-initfini-array
35273 since this is now always required and the variable does not exist
35274 anymore.
35275 (tests-static): Likewise.
35276 (modules-names): Likewise.
35277
e7170363 35278 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35279
35280 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35281 merged with constructor/destructor.
35282 (init_array): Likewise.
35283 * elf/tst-array2dep.c (fini_array): Likewise.
35284 (init_array): Likewise.
35285
60457d8a
MF
352862012-10-29 Mike Frysinger <vapier@gentoo.org>
35287
35288 * manual/message.texi: Delete @cartouche tags.
35289
8bece752
PT
352902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35291
94ce799f
PT
35292 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35293 EOPNOTSUPP.
35294 * sysdeps/mach/hurd/fsync.c: Likewise.
35295
8bece752
PT
35296 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35297 [_POSIX_REALTIME_SIGNALS]: Change condition to
35298 [_POSIX_REALTIME_SIGNALS > 0].
35299
86ebe6b1
AJ
353002012-10-27 Andreas Jaeger <aj@suse.de>
35301
35302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35303 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35305 [__WORDSIZE != 64]: Likewise.
35306
54399c08
L
353072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35308
35309 * iconvdata/tst-table.sh: Remove ${SHELL}.
35310 * iconvdata/tst-tables.sh: Likewise.
35311
e2211bed
DM
353122012-10-25 David S. Miller <davem@davemloft.net>
35313
35314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35315 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35316 of strtoull.
35317
f303f97c
DM
35318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35319 ifunc-impl-list.c
35320 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35321 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35322 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35323 file.
35324
1e9d84cd
RM
353252012-10-25 Roland McGrath <roland@hack.frob.com>
35326
35327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35328 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35329 __getdirentries.
35330
df381762
JM
353312012-10-25 Joseph Myers <joseph@codesourcery.com>
35332 Jim Blandy <jimb@codesourcery.com>
35333
35334 * scripts/cross-test-ssh.sh: New file.
35335 * manual/install.texi (Configuring and compiling): Document use of
35336 cross-test-ssh.sh.
35337 * INSTALL: Regenerated.
35338
bff64913
PT
353392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35340
35341 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35342 EOPNOTSUPP.
35343
25fe8932
JM
353442012-10-25 Joseph Myers <joseph@codesourcery.com>
35345
35346 * Makeconfig (run-program-prefix): Fix comment.
35347
cc1290d0
JM
353482012-10-24 Joseph Myers <joseph@codesourcery.com>
35349 Jim Blandy <jimb@codesourcery.com>
35350
35351 * Makeconfig (test-wrapper): New variable,
35352 (test-wrapper-env): Likewise.
35353 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35354 (run-built-tests): Define to yes.
35355 (run-program-prefix): Use $(test-wrapper).
35356 (built-program-cmd): Likewise.
35357 * Rules (make-test-out): Use $(test-wrapper-env) and
35358 $(host-built-program-cmd).
35359 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35360 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35361 tst-pathopt.sh.
35362 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35363 $(test-wrapper-env) to tst-rtld-load-self.sh.
35364 ($(objpfx)order2.out): Use $(test-wrapper).
35365 ($(objpfx)tst-initorder.out): Likewise.
35366 ($(objpfx)tst-initorder2.out): Likewise.
35367 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35368 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35369 (test_wrapper_env): New variable. Use it to run ld.so.
35370 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35371 Use it to run ld.so.
35372 (test_wrapper_env): Likewise.
35373 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35374 $(test-wrapper) to run-iconv-test.sh.
35375 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35376 (ICONV): Use $test_wrapper.
35377 * posix/Makefile ($(objpfx)globtest.out): Pass
35378 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35379 globtest.sh, not $(run-program-prefix).
35380 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35381 (test_wrapper): Likewise.
35382 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35383 set together with run_via_rtld_prefix.
35384 (run_program_prefix): Define in terms of test_wrapper and
35385 run_via_rtld_prefix.
35386
6e6249d0
RM
353872012-10-24 Roland McGrath <roland@hack.frob.com>
35388
35389 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35390 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35391 Targets removed.
35392
35393 [BZ #14743]
35394 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35395 Declare __clock_getres, __clock_gettime, __clock_settime,
35396 __clock_nanosleep, and __clock_getcpuclockid.
35397 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35398 Remove librt_hidden_def (clock_gettime).
35399 * sysdeps/unix/clock_gettime.c: Likewise.
35400 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35402 * rt/clock_getres.c: Define __clock_getres as an alias.
35403 * sysdeps/posix/clock_getres.c: Likewise.
35404 * rt/clock_settime.c: Define __clock_settime as an alias.
35405 * sysdeps/unix/clock_settime.c: Likewise.
35406 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35407 * sysdeps/unix/clock_nanosleep.c: Likewise.
35408 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35409 * rt/clock-compat.c: New file.
35410 * rt/Makefile (librt-routines): Add clock-compat and move
35411 $(clock-routines) to ...
35412 (routines): ... here, new variable.
35413 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35414 Don't add get_clockfreq here.
35415 * rt/Versions (libc: GLIBC_2.17): New version set.
35416 Add clock_* symbols here.
35417 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35419 (GLIBC_2.17): Add clock_* symbols.
35420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35424 Likewise.
35425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35426 Likewise.
35427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35431 * NEWS: Mention the move.
35432
35433 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35434 Use __open, __read, __close rather than their public counterparts.
35435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35436 (__get_clockfreq_via_cpuinfo): Likewise.
35437 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35438 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35439
35440 * config.h.in (HAVE_IFUNC): New #undef.
35441 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35442 was successful.
35443 * configure: Regenerated.
35444
0cae3f4b
MF
354452012-10-24 Mike Frysinger <vapier@gentoo.org>
35446
35447 * configure.in: Move READELF check to start of file.
35448 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35449 libc_cv_asm_gnu_indirect_function in the process.
35450 * configure: Regenerated.
35451
8175a253
MF
354522012-10-24 Mike Frysinger <vapier@gentoo.org>
35453
35454 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35455 send the output to /dev/null.
35456 (libc_cv_cc_with_libunwind): Likewise.
35457 (libc_cv_as_noexecstack): Likewise.
35458 * configure: Regenerate.
35459
0708a7d1
JM
354602012-10-24 Joseph Myers <joseph@codesourcery.com>
35461
10b40d85
JM
35462 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35463
0708a7d1
JM
35464 * posix/globtest.sh (TMPDIR): Do not set.
35465 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35466 (testout): Likewise.
35467
9fddec1a
AJ
354682012-10-24 Andreas Jaeger <aj@suse.de>
35469
3a8db22f
AJ
35470 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35471 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35472 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35473 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35474 posix_fadvise64, posix_fallocate64.
35475
9fddec1a
AJ
35476 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35477 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35478 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35479 Likewise.
35480 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35481 Likewise.
35482 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35483
35484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35485 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35486 <bits/fcntl-linux.h>.
35487 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35488
35489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35490 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35491 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35492 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35493 [__WORDSIZE != 64]: Likewise.
35494
ebfd1bbd
JM
354952012-10-23 Joseph Myers <joseph@codesourcery.com>
35496
03ac099f
JM
35497 * Makeconfig (run-built-tests): New variable.
35498 * Rules [$(cross-compiling) = yes]: Change condition to
35499 [$(run-built-tests) = no].
35500 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35501 to [$(run-built-tests) = yes].
35502 * elf/Makefile [$(cross-compiling) = no]: Likewise
35503 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35504 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35505 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35506 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35507 * io/Makefile [$(cross-compiling) = no]: Likewise.
35508 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35509 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35510 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35511 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35512 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35513 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35514 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35515 * string/Makefile [$(cross-compiling) = no]: Likewise.
35516
ebfd1bbd
JM
35517 * posix/Makefile ($(objpfx)globtest.out): Pass
35518 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35519 $(rtld-installed-name).
35520 * posix/globtest.sh (elf_objpfx): Remove variable.
35521 (rtld_installed_name): Likewise.
35522 (library_path): Likewise.
35523 (run_program_prefix): New variable. Use for running globtest
35524 binary.
35525
166bca24
JB
355262012-10-23 Jim Blandy <jimb@codesourcery.com>
35527 Joseph Myers <joseph@codesourcery.com>
35528
35529 * Makeconfig (host-built-program-cmd): New variable.
35530 * elf/Makefile (tst-stackguard1-ARGS): Use
35531 $(host-built-program-cmd).
35532 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35533 (tst-spawn-ARGS): Likewise.
35534 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35535
88866099
JM
355362012-10-23 Joseph Myers <joseph@codesourcery.com>
35537 Jim Blandy <jimb@codesourcery.com>
35538
35539 * Makeconfig (run-via-rtld-prefix): New variable.
35540 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35541 (built-program-cmd): Likewise.
35542
b4b4c296
AJ
355432012-10-22 Andreas Jaeger <aj@suse.de>
35544
35545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35546 __O_RSYNC if it exists, otherwise to O_SYNC.
35547
6fb54a22
JB
355482012-10-22 Jim Blandy <jimb@codesourcery.com>
35549 Joseph Myers <joseph@codesourcery.com>
35550
35551 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35552 /dev/null.
35553 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35554 from /dev/null
35555 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35556 /dev/null.
35557
481b90b9
AJ
355582012-10-22 Andreas Jaeger <aj@suse.de>
35559
2a0e2669
AJ
35560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35561 Define always.
35562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35563
76e38f9a
AJ
35564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35565 bits/fcntl-linux.h.
35566
7cd37b43
AJ
35567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35568 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35569
481b90b9
AJ
35570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35571 to __O_LARGEFILE.
35572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35573 to __O_LARGEFILE.
35574
aba75984
JB
355752012-10-21 Jim Blandy <jimb@codesourcery.com>
35576 Joseph Myers <joseph@codesourcery.com>
35577
35578 * config.make.in (NM): New variable.
35579
88d4247f
AJ
355802012-10-21 Andreas Jaeger <aj@suse.de>
35581
35582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35583 definitions and declarations that are provided by
35584 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35585
f2eed205
L
355862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35587
35588 [BZ #14683]
35589 * elf/Makefile (tests-static): Add tst-leaks1-static.
35590 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35591 ($(objpfx)tst-leaks1-static): New rule.
35592 ($(objpfx)tst-leaks1-static-mem): Likewise.
35593 (tst-leaks1-static-ENV): New macro.
35594 * elf/dl-open.c (dl_open_worker): Check the main application
35595 only if SHARED is defined.
35596 * elf/tst-leaks1-static.c: New file.
35597
335e6931
AJ
355982012-10-20 Andreas Jaeger <aj@suse.de>
35599
35600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35601 generic values for Linux.
35602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35603 and declarations that are provided by <bits/fcntl-linux.h> and
35604 include <bits/fcntl-linux.h>.
35605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35607
ac5c94d3
RM
356082012-10-20 Roland McGrath <roland@hack.frob.com>
35609
35610 * io/fcntl.h: Move include of <bits/types.h> to the top and
35611 include it unconditionally.
35612
de54b33a
L
356132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35614
228cfb01
L
35615 * wcsmbs/Makefile (tests-ifunc): New variable.
35616 (tests): Add $(tests-ifunc).
35617 * wcsmbs/test-wcschr-ifunc.c: New file.
35618 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35619 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35620 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35621 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35622 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35623
69f07e5f
L
35624 * string/Makefile (tests-ifunc): New variable.
35625 (tests): Add $(tests-ifunc).
35626 * string/test-memccpy.c (TEST_NAME): New macro.
35627 * string/test-memchr.c (TEST_NAME): Likewise.
35628 * string/test-memcmp.c (TEST_NAME): Likewise.
35629 * string/test-memcpy.c (TEST_NAME): Likewise.
35630 * string/test-memmem.c (TEST_NAME): Likewise.
35631 * string/test-memmove.c (TEST_NAME): Likewise.
35632 * string/test-memset.c (TEST_NAME): Likewise.
35633 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35634 * string/test-stpcpy.c (TEST_NAME): Likewise.
35635 * string/test-stpncpy.c (TEST_NAME): Likewise.
35636 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35637 * string/test-strcasestr.c (TEST_NAME): Likewise.
35638 * string/test-strcat.c (TEST_NAME): Likewise.
35639 * string/test-strchr.c (TEST_NAME): Likewise.
35640 * string/test-strcmp.c(TEST_NAME): Likewise.
35641 * string/test-strcpy.c (TEST_NAME): Likewise.
35642 * string/test-strcspn.c (TEST_NAME): Likewise.
35643 * string/test-strlen.c (TEST_NAME): Likewise.
35644 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35645 * string/test-strncmp.c (TEST_NAME): Likewise.
35646 * string/test-strncpy.c (TEST_NAME): Likewise.
35647 * string/test-strnlen.c (TEST_NAME): Likewise.
35648 * string/test-strpbrk.c (TEST_NAME): Likewise.
35649 * string/test-strrchr.c (TEST_NAME): Likewise.
35650 * string/test-strspn.c (TEST_NAME): Likewise.
35651 * string/test-strstr.c (TEST_NAME): Likewise.
35652 * string/test-bcopy-ifunc.c: New file.
35653 * string/test-bzero-ifunc.c: Likewise.
35654 * string/test-memccpy-ifunc.c: Likewise.
35655 * string/test-memchr-ifunc.c: Likewise.
35656 * string/test-memcmp-ifunc.c: Likewise.
35657 * string/test-memcpy-ifunc.c: Likewise.
35658 * string/test-memmem-ifunc.c: Likewise.
35659 * string/test-memmove-ifunc.c: Likewise.
35660 * string/test-mempcpy-ifunc.c: Likewise.
35661 * string/test-memset-ifunc.c: Likewise.
35662 * string/test-rawmemchr-ifunc.c: Likewise.
35663 * string/test-stpcpy-ifunc.c: Likewise.
35664 * string/test-stpncpy-ifunc.c: Likewise.
35665 * string/test-strcasecmp-ifunc.c: Likewise.
35666 * string/test-strcasestr-ifunc.c: Likewise.
35667 * string/test-strcat-ifunc.c: Likewise.
35668 * string/test-strchr-ifunc.c: Likewise.
35669 * string/test-strchrnul-ifunc.c: Likewise.
35670 * string/test-strcmp-ifunc.c: Likewise.
35671 * string/test-strcpy-ifunc.c: Likewise.
35672 * string/test-strcspn-ifunc.c: Likewise.
35673 * string/test-strlen-ifunc.c: Likewise.
35674 * string/test-strncasecmp-ifunc.c: Likewise.
35675 * string/test-strncat-ifunc.c: Likewise.
35676 * string/test-strncmp-ifunc.c: Likewise.
35677 * string/test-strncpy-ifunc.c: Likewise.
35678 * string/test-strnlen-ifunc.c: Likewise.
35679 * string/test-strpbrk-ifunc.c: Likewise.
35680 * string/test-strrchr-ifunc.c: Likewise.
35681 * string/test-strspn-ifunc.c: Likewise.
35682 * string/test-strstr-ifunc.c: Likewise.
35683
de54b33a
L
35684 * debug/Makefile (tests-ifunc): New variable.
35685 (tests): Add $(tests-ifunc).
35686 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35687 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35688 * debug/test-stpcpy_chk-ifunc.c: New file.
35689 * debug/test-strcpy_chk-ifunc.c: Likewise.
35690
88481c16
SP
356912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35692
35693 [BZ #13601]
35694 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35695 header is not read in.
35696
135948bd
JM
356972012-10-19 Joseph Myers <joseph@codesourcery.com>
35698
89f1c388
JM
35699 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35700 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35701 directly. Pass built executable to script as
35702 $(built-program-cmd).
35703 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35704 $testprogram without using LD_LIBRARY_PATH and $ldso.
35705
e40a0d21
JM
35706 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35707 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35708 $(rtld-installed-name).
35709 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35710 (rtld_installed_name): Likewise.
35711 (library_path): Likewise.
35712 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35713 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35714 $(run-program-prefix) to tst-tables.sh.
35715 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35716 it to run tst-table-from and tst-table-to.
35717 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35718 Pass it to tst-table.sh.
35719 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35720 $(run-program-prefix) to tst-gettext.sh.
35721 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35722 tst-translit.sh.
35723 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35724 tst-gettext2.sh.
35725 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35726 to run tst-gettext.
35727 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35728 to run tst-gettext2.
35729 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35730 to run tst-translit.
35731 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35732 $(run-program-prefix) to tst-mtrace.sh.
35733 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35734 to run tst-mtrace.
35735 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35736 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35737 $(rtld-installed-name).
35738 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35739 (rtld_installed_name): Likewise.
35740 (run_program_prefix): New variable. Use it to run wordexp-test.
35741
728e272a
JM
35742 * Makeconfig (ARCH): Remove all definitions.
35743 (machine): Likewise.
35744 [ARCH]: Remove conditional code.
35745 [!objdir]: Give error.
35746 [!objdir] (objpfx): Remove.
35747 [!objdir] (common-objpfx): Likewise.
35748 [!objdir] (common-objdir): Likewise.
35749 * configure.in (config_makefile): Remove. Hardcode Makefile in
35750 AC_CONFIG_FILES call.
35751 * configure: Regenerated.
35752
d528cdcf
JM
35753 [BZ #13888]
35754 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35755 or TMPDIR.
35756 (testout): Likewise.
35757
135948bd
JM
35758 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35759 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35760 $(rtld-installed-name).
35761 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35762 (rtld_installed_name): Likwise.
35763 (runit): Remove function.
35764 (run_getconf): New variable, Use it for running getconf binary.
35765
38c78296
L
357662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35767
35768 [BZ #14716]
35769 * string/test-memmem.c (check_result): New function.
35770 (do_one_test): Use it.
35771 (check1): New function.
35772 (test_main): Use it.
35773
d077f65f
MT
357742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35775
35776 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35777
ced52c71
JM
357782012-10-18 Joseph Myers <joseph@codesourcery.com>
35779
35780 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35781 (_G_LSEEK64): Likewise.
35782 (_G_MMAP64): Likewise.
35783 (_G_FSTAT64): Likewise.
35784 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35785 (_G_LSEEK64): Likewise.
35786 (_G_MMAP64): Likewise.
35787 (_G_FSTAT64): Likewise.
35788 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35789 unconditional. Call __mmap64 directly.
35790 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35791 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35792 __lseek64 directly.
35793 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35794 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35795 __mmap64 directly.
35796 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35797 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35798 __lseek64 directly.
35799 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35800 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35801 __lseek64 directly.
35802 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35803 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35804 __lseek64 directly.
35805 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35806 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35807 __fxstat64 directly.
35808 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35809 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35810 unconditional.
35811 (freopen64) [!_G_OPEN64]: Remove conditional code.
35812 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35813 unconditional.
35814 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35815 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35816 unconditional.
35817 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35818 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35819 unconditional.
35820 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35821 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35822 unconditional.
35823 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35824 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35825 unconditional.
35826 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35827 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35828 unconditional.
35829 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35830 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35831 unconditional.
35832 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35833
b741de23
SP
358342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35835
35836 [BZ #12140]
35837 * manual/memory.texi (Malloc Tunable Parameters): Add note
35838 about free list pointers overwriting some perturb bytes.
35839 Wording suggested by Roland McGrath.
35840
f9b9d9c9
JM
358412012-10-17 Joseph Myers <joseph@codesourcery.com>
35842
35843 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35844 (lgamma_test): Likewise.
35845 (tgamma_test): Likewise.
35846
172a631a
FW
358472012-10-16 Florian Weimer <fweimer@redhat.com>
35848
35849 [BZ #14700]
35850 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35851 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35852
e9f37252
MK
358532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35854
35855 * NEWS: Mention BZ #14716.
35856 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35857 when removing AVAILABLE1_USES_J macro.
35858
d394eb74
L
358592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35860
35861 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35862 (__bswap_64): __uint64_t for unsigned 64-bit int.
35863
ca38dc17
AS
358642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35865
35866 * include/string.h (memmem): Declare libc hidden alias.
35867 * string/memmem.c (memmem): Define libc hidden alias.
35868 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35869 __read, __close instead of open, read, close.
35870
9a387d1f
L
358712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35872
ac49ecaf
L
35873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35874 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35875 global and hidden.
35876 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35877 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35878 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35879 Likewise.
35880 (__rawmemchr_sse2): Likewise.
35881 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35882 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35883 (__strchr_sse2): Likewise.
35884 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35885 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35886 (__strcasecmp_sse2): Likewise.
35887 (__strncasecmp_sse2): Likewise.
35888 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35889 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35890 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35891 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35892 (__strrchr_sse2): Likewise.
35893 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35894 ifunc-impl-list.c.
35895 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35896 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35897 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35898 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35899 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35900 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35901 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35902 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35903 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35904 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35905 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35906 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35907 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35908 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35909 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35910 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35911 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35912 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35913 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35914 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35915 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35916 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35917 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35918 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35919 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35920 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35921 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35922 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35923 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35924 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35925
b090e8ea
L
35926 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35927 global and hidden.
35928 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35929 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35930 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35931 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35932 Likewise.
35933 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35934 Likewise.
35935 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35936 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35937 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35938 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35939 ifunc-impl-list.c.
35940 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35954 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35960 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35961 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35962 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35963 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35964 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35965 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35966 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35967 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35968 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35969 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35970 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35971 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35973 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35974 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35975 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35976 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35977 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35978 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35979 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35980 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35981
11dd4af6
L
35982 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35983 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35984 * include/ifunc-impl-list.h: New file.
35985 * misc/ifunc-impl-list.c: Likewise.
35986 * misc/Makefile (routines): Add ifunc-impl-list.
35987 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35988 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35989 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35990 TEST_NAME]: New variables.
11dd4af6
L
35991 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35992 are defined.
35993 (test_init): Call __libc_ifunc_impl_list to initialize
35994 func_list if TEST_IFUNC and TEST_NAME are defined.
35995
9a387d1f
L
35996 * string/Makefile (strop-tests): Add bcopy and bzero.
35997 * string/test-bcopy.c: New file.
35998 * string/test-bzero.c: Likewise.
35999 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36000 defined.
36001 * string/test-memset.c: Support bzero test if TEST_BZERO is
36002 defined.
36003 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36004 __libc_memmove.
36005 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36006 __libc_memset.
36007 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36008 of memset.
36009
472371b9
JM
360102012-10-10 Joseph Myers <joseph@codesourcery.com>
36011
1e4a9536
JM
36012 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36013 * configure: Regenerated.
36014
d173d12e
JM
36015 * Makeconfig (+link-static-before-libc): Don't include
36016 $(link-static-libc).
36017
472371b9
JM
36018 * libio/libio.h (_IO_pos_t): Remove.
36019
89a3ad0b
AO
360202012-10-10 Alexandre Oliva <aoliva@redhat.com>
36021
36022 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36023 McGrath.
36024
e7451425
AO
360252012-10-10 Alexandre Oliva <aoliva@redhat.com>
36026
36027 * crypt/crypt-entry.c: Include fips-private.h.
36028 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36029 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36030 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36031 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36032
4ba74a35
AO
360332012-10-10 Alexandre Oliva <aoliva@redhat.com>
36034
36035 * crypt/crypt-private.h: Include stdbool.h.
36036 (_ufc_setup_salt_r): Return bool.
36037 * crypt/crypt-entry.c: Include errno.h.
36038 (__crypt_r): Return NULL with EINVAL for bad salt.
36039 * crypt/crypt_util.c (bad_for_salt): New.
36040 (_ufc_setup_salt_r): Check that salt is long enough and within
36041 the specified alphabet.
36042 * crypt/badsalttest.c: New file.
36043 * crypt/Makefile (tests): Add it.
36044 ($(objpfx)badsalttest): New.
36045
f96f1242
MK
360462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36047
36048 * NEWS: Add entry for BZ #14602.
36049
0e8e0c1c
JM
360502012-10-09 Joseph Myers <joseph@codesourcery.com>
36051
36052 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36053 type-generic.
36054 * math/libm-test.inc: Update comment listing what functions and
36055 macros are tested.
36056 (isgreater_test): New function.
36057 (isgreaterequal_test): Likewise.
36058 (isless_test): Likewise.
36059 (islessequal_test): Likewise.
36060 (islessgreater_test): Likewise.
36061 (isunordered_test): Likewise.
36062 (main): Call the new functions.
36063
273edc5e
RM
360642012-10-09 Roland McGrath <roland@hack.frob.com>
36065
b8493de0
RM
36066 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36067 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36068 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36069 * sysdeps/i386/configure: Regenerated.
36070 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36071 * sysdeps/mach/configure: Regenerated.
36072 * sysdeps/mach/hurd/configure: Regenerated.
36073 * sysdeps/powerpc/configure: Regenerated.
36074 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36075 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36076 * sysdeps/s390/s390-32/configure: Regenerated.
36077 * sysdeps/s390/s390-64/configure: Regenerated.
36078 * sysdeps/sh/configure: Regenerated.
36079 * sysdeps/sparc/configure: Regenerated.
36080 * sysdeps/unix/sysv/linux/configure: Regenerated.
36081 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36082 * sysdeps/x86_64/configure: Regenerated.
36083
273edc5e
RM
36084 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36085 defined. Don't check if MAP is NULL.
36086
c8450f70
JM
360872012-10-09 Joseph Myers <joseph@codesourcery.com>
36088
36089 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36090 (_G_stat64): Likewise.
36091 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36092 (_G_stat64): Likewise.
36093 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36094 instead of struct _G_stat64.
36095 * libio/fileops.c (mmap_remap_check): Likewise.
36096 (decide_maybe_mmap): Likewise.
36097 (_IO_new_file_seekoff): Likewise.
36098 (_IO_file_stat): Likewise.
36099 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36100 _G_off64_t.
36101 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36102 instead of struct _G_stat64.
36103 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36104
57e605ba
MK
361052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36106
36107 [BZ #14602]
36108 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36109 Replace with ...
36110 (CHECK_EOL): New macro.
36111 (two_way_short_needle): Check beginning of haystack for EOL. Use
36112 CHECK_EOL.
36113 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36114 Replace with CHECK_EOL.
36115 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36116 Replace with CHECK_EOL.
36117
ef1bb361
JM
361182012-10-08 Joseph Myers <joseph@codesourcery.com>
36119
36120 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36121 type-generic.
36122 * math/libm-test.inc: Update comment listing what functions and
36123 macros are tested.
36124 (finite_test): New function.
36125 (isinf_test): Likewise.
36126 (isnan_test): Likewise.
36127 (fpclassify_test): Test subnormal input.
36128 (isfinite_test): Likewise.
36129 (isnormal_test): Likewise.
36130 (main): Call the new functions.
36131
55f11534
JN
361322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36133
36134 [BZ #14660]
36135 * Makerules (%.dynsym): Force C locale when running
36136 $(OBJDUMP) --dynamic-syms.
36137
1ab29350
AS
361382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36139
36140 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36141 <stdint.h>.
36142
f1ecb7ef
DM
361432012-10-06 David S. Miller <davem@davemloft.net>
36144
36145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36146 upper 32-bits of the length value in %o2 since we use branch-on-register
36147 tests which consider the entire 64-bit register.
36148
5d41d91a
L
361492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36150
36151 * string/test-strstr.c (check2): Add a test for page boundary.
36152
3baddb72
DM
361532012-10-05 David S. Miller <davem@davemloft.net>
36154
36155 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36156 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36157 file.
36158 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36159 sysdep_routines.
36160 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36161 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36162 and bzero when HWCAP_SPARC_CRYPTO is present.
36163
9cee5585
L
361642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36165
d7e0dab9
L
36166 [BZ #14602]
36167 * string/test-strstr.c (check2): New function.
36168 (test_main): Call check2.
36169
03759f47
L
36170 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36171 and bug-strchr1.
36172 * string/bug-strcasestr1.c (do_test): Moved to ...
36173 * string/test-strcasestr.c (check1): Here. New function.
36174 (do_one_test): Break out result checking code into ...
36175 (check_result): This. New function.
36176 (do_one_test): Call check_result.
36177 (test_main): Call check1.
36178 * string/bug-strchr1.c (do_test): Moved to ...
36179 * string/test-strchr.c (check1): Here. New function.
36180 (do_one_test): Break out result checking code into ...
36181 (check_result): This. New function.
36182 (do_one_test): Call check_result.
36183 (test_main): Call check1.
36184 * string/bug-strstr1.c (main): Moved to ...
046f153e 36185 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36186 (do_one_test): Break out result checking code into ...
36187 (check_result): This. New function.
36188 (do_one_test): Call check_result.
36189 (test_main): Call check1.
36190 * string/bug-strcasestr1.c: Removed.
36191 * string/bug-strchr1.c: Likewise.
36192 * string/bug-strstr1.c: Likewise.
36193
53cea63e
L
36194 * elf/Makefile (dl-routines): Add hwcaps.
36195 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36196 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36197 (_dl_important_hwcaps): Moved to ...
36198 * elf/dl-hwcaps.c: Here. New file.
36199 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36200
9cee5585 36201 [BZ #14557]
bb859b06
L
36202 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36203 if IS_IN_rtld isn't defined.
36204
9cee5585
L
36205 * elf/dl-support.c (_dl_sysinfo_map): New.
36206 Include "get-dynamic-info.h" and "setup-vdso.h".
36207 (_dl_non_dynamic_init): Call setup_vdso.
36208 * elf/dynamic-link.h: Don't include <assert.h>.
36209 (elf_get_dynamic_info): Moved to ...
36210 * elf/get-dynamic-info.h: Here. New file.
36211 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36212 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36213 * elf/setup-vdso.h: Here. New file.
36214 * elf/rtld.c: Include "setup-vdso.h".
36215 (dl_main): Call setup_vdso.
36216
23c31b76
JM
362172012-10-05 Joseph Myers <joseph@codesourcery.com>
36218
28234b07
JM
36219 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36220 creal in comment listing functions tested. List finite, isinf,
36221 isnan, isless, islessequal, isgreater, isgreaterequal,
36222 islessgreater, isunordered, lgamma_r and pow10 as functions and
36223 macros not tested. Mention which functions not tested are aliases
36224 for other functions. Fix typo. Note that signs of NaNs are not
36225 tested.
36226
23c31b76
JM
36227 * scripts/config.guess: Update from config.git.
36228 * scripts/config.sub: Likewise.
36229
9043e228
RM
362302012-10-04 Roland McGrath <roland@hack.frob.com>
36231
36232 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36233 * misc/madvise.c (madvise): Renamed to __madvise.
36234 Make madvise a weak alias.
36235 * include/sys/mman.h: Declare __madvise.
36236 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36237 * sysdeps/unix/syscalls.list
36238 (madvise): Make __madvise the strong name, and madvise a weak alias.
36239 * sysdeps/unix/sysv/linux/syscalls.list
36240 (madvise, mmap): Remove redundant entries.
36241 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36242 * malloc/malloc.c (mtrim): Likewise.
36243 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36244
f57f8055
RM
362452012-10-03 Roland McGrath <roland@hack.frob.com>
36246
36247 * sysdeps/mach/hurd/dl-cache.c: File removed.
36248 * config.h.in (USE_LDCONFIG): New #undef.
36249 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36250 * configure: Regenerated.
36251 * elf/Makefile (dl-routines): Add dl-cache only under
36252 [$(use-ldconfig) = yes].
36253 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36254 cache on [USE_LDCONFIG].
36255 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36256 [USE_LDCONFIG].
36257 * elf/rtld.c (dl_main): Likewise.
36258
5bb0c10a
PT
362592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36260
36261 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36262 _SC_LEVEL4_CACHE_LINESIZE.
36263
010188c6
RM
362642012-10-03 Roland McGrath <roland@hack.frob.com>
36265
36266 * sysdeps/unix/bsd/confstr.h: File removed.
36267
b6c5ec07
AO
362682012-10-02 Alexandre Oliva <aoliva@redhat.com>
36269
36270 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36271 sys/sdt-config.h.
36272
408223d4
RM
362732012-10-02 Roland McGrath <roland@hack.frob.com>
36274
36275 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36276 Make 'mapoff' field ElfW(Off) rather than off_t.
36277
bb9510dc
DL
362782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36279
fc997c6e
DL
36280 * nscd/Makefile: Remove nscd-cflags and all its users.
36281 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36282 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36283
bb9510dc
DL
36284 [BZ #10631]
36285 * malloc.c (malloc_printerr): Clarify error message.
36286
05699367
L
362872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36288
36289 [BZ #14648]
36290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36291 Set bit_FMA_Usable if FMA is supported.
36292 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36293 macro.
36294 (bit_FMA4_Usable): Updated.
36295 (index_FMA_Usable): New macro.
36296 (CPUID_FMA): Likewise
36297 (HAS_FMA): Defined with bit_FMA_Usable.
36298
51367701
RM
362992012-10-01 Roland McGrath <roland@hack.frob.com>
36300
36301 * bits/types.h (__swblk_t): Type removed.
36302 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36303 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36305 (__SWBLK_T_TYPE): Likewise.
36306 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36307 (__SWBLK_T_TYPE): Likewise.
36308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36309 (__SWBLK_T_TYPE): Likewise.
36310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36311 (__SWBLK_T_TYPE): Likewise.
36312
4d57bf63 363132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36314 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36315
36316 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36317 (xdr_mapname): Use YPMAXMAP as maxsize.
36318 (xdr_peername): Use YPMAXPEER as maxsize.
36319 (xdr_keydat): Use YPAXRECORD as maxsize.
36320 (xdr_valdat): Use YPMAXRECORD as maxsize.
36321
93c65d43
RM
363222012-10-01 Roland McGrath <roland@hack.frob.com>
36323
497a03d6
RM
36324 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36325
93c65d43
RM
36326 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36327 * csu/init-first.c: ... here.
36328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36329 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36330 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36331 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36332 * sysdeps/i386/init-first.c: File removed.
36333 * sysdeps/sh/init-first.c: File removed.
36334
bec749fd
JM
363352012-10-01 Joseph Myers <joseph@codesourcery.com>
36336
36337 [BZ #14645]
36338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36339 if x * y might underflow to zero and z is zero.
36340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36342 * math/libm-test.inc (min_subnorm_value): New variable.
36343 (fma_test): Add more tests.
36344 (fma_test_towardzero): Likewise.
36345 (fma_test_downward): Likewise
36346 (fma_test_upward): Likewise.
36347 (initialize): Set min_subnorm_value.
36348
8ec5b013
JM
363492012-09-29 Joseph Myers <joseph@codesourcery.com>
36350
36351 [BZ #14638]
36352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36353 0 + 0.
36354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36355 mode for addition resulting in exact zero.
36356 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36358 exact 0 + 0.
36359 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36361 * math/libm-test.inc (fma_test): Add more tests.
36362 (fma_test_towardzero): New function.
36363 (fma_test_downward): Likewise.
36364 (fma_test_upward): Likewise.
36365 (main): Call the new functions.
36366
b1fa802e
DM
363672012-09-28 David S. Miller <davem@davemloft.net>
36368
36369 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36370
d3b9fd9e
RM
363712012-09-28 Roland McGrath <roland@hack.frob.com>
36372
ea4d37b3
RM
36373 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36374 instead of SIGALRM.
36375
ac51c949
RM
36376 * sysdeps/gnu/_G_config.h: Moved to ...
36377 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36378 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36379 * sysdeps/generic/_G_config.h: ... here.
36380
28c195f7
RM
36381 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36382
848917f9
RM
36383 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36384
6bacf05b
RM
36385 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36386 Conditionalize target on [libnss_test1.so-version].
36387
91363dbb
RM
36388 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36389
cc87f7d8
RM
36390 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36391 (elfobjdir): Move out of conditionals.
36392
b1c608fe
RM
36393 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36394 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36395 (__nss_lookup_function): Conditionalize label remove_from_tree on
36396 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36397
1d9a6d96
DM
363982012-09-28 David S. Miller <davem@davemloft.net>
36399
36400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36402 file.
36403 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36404 sysdep_routines.
36405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36407 when HWCAP_SPARC_CRYPTO is present.
36408
72581615
PT
364092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36410
36411 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36412
715a900c
JL
364132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36414
36415 [BZ #6530]
36416 * stdio-common/vfprintf.c (process_string_arg): Revert
36417 2000-07-22 change.
36418
364192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36420
36421 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36422 for testcase.
36423 * stdio-common/tst-sprintf.c: Include <locale.h>
36424 (main): Test sprintf's handling of incomplete multibyte
36425 characters.
36426
9bac1d86
L
364272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36428
36429 * elf/dl-runtime.c (VERSYMIDX): Removed.
36430 * elf/dl-version.c (VERSYMIDX): Likewise.
36431 * elf/do-rel.h (VERSYMIDX): Likewise.
36432 (VALIDX): Likewise.
36433 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36434 * elf/rtld.c (VALIDX): Likewise.
36435 (ADDRIDX): Likewise.
9bac1d86
L
36436 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36437 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36438 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36439 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36440 (VALIDX): Likewise.
36441 (ADDRIDX): Likewise.
9bac1d86 36442
b31606c0
PT
364432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36444
36445 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36446
11541177
JL
364472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36448
36449 [BZ #11438]
36450 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36451 to global scope.
36452 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36453 addresses are in the same scope as 192.0.2/24.
36454 * posix/gai.conf: Document new scope table defaults.
36455
adb26fae
SP
364562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36457
36458 [BZ #5298]
36459 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36460 for ftell. Compute offsets from write pointers instead.
36461 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36462
4573c6b0
SP
364632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36464
36465 [BZ #14543]
36466 * libio/Makefile (tests): New test case tst-fseek.
36467 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36468 combination works in wide mode.
36469 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36470 state when the external buffer state changes.
36471
aa9bbfe6
DM
364722012-09-27 David S. Miller <davem@davemloft.net>
36473
36474 [BZ #14376]
36475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36476 pass reloc->r_addend in as the 'high' argument to
36477 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36478
784421e7
DM
36479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36480
c39bc8b8
PT
364812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36482
36483 * rt/tst-aio2.c: Include <pthread.h>.
36484 * rt/tst-aio3.c: Likewise.
36485
1ccc2399
SE
364862012-09-27 Steve Ellcey <sellcey@mips.com>
36487
36488 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36489
31ed4153
L
364902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36491
25f5f885
L
36492 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36493 contents on [SHARED].
31ed4153 36494
b7bfe116
MP
364952012-09-26 Marek Polacek <polacek@redhat.com>
36496
36497 [BZ #14530]
36498 [BZ #13741]
36499 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36500 for C++ and GCC <4.3 as well as for non GCC compilers.
36501
43c4edba
MT
365022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36503
36504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36505
6a1bf82f
RM
365062012-09-25 Roland McGrath <roland@hack.frob.com>
36507
36508 * Makefile.in (all, install): Declare with .PHONY.
36509 Reported by Michael Hope <michael.hope@linaro.org>.
36510
8ad11b9a
TMQMF
365112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36512
36513 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36514 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36515 system header.
36516 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36517 Likewise.
36518 (sydep_routines): Add the new and the internal functions.
36519 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36520 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36522 (GLIBC_2.17): Add the new function.
36523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36524 (GLIBC_2.17): Likewise.
36525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36526 (GLIBC_2.17): Likewise.
36527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36528 (GLIBC_2.17): Likewise.
36529 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36530
7e2fca8d
AM
365312012-09-25 Alan Modra <amodra@gmail.com>
36532
36533 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36534 Add release barrier before setting once_control to say
36535 initialisation is done. Add hints on lwarx. Use macro in
36536 place of isync.
36537 (clear_once_control): Add release barrier.
36538
b87c4b24
JM
365392012-09-25 Joseph Myers <joseph@codesourcery.com>
36540
d032e0d2
JM
36541 [BZ #13629]
36542 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36543 specially.
36544 * math/s_clog10.c (__clog10): Likewise.
36545 * math/s_clog10f.c (__clog10f): Likewise.
36546 * math/s_clog10l.c (__clog10l): Likewise.
36547 * math/s_clogf.c (__clogf): Likewise.
36548 * math/s_clogl.c (__clogl): Likewise.
36549 * math/Makefile (libm-calls): Add x2y2m1.
36550 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36551 (__x2y2m1): Likewise.
36552 (__x2y2m1l): Likewise.
36553 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36554 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36555 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36556 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36557 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36558 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36559 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36560 * sysdeps/i386/fpu/libm-test-ulps: Update.
36561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36562
b87c4b24
JM
36563 [BZ #14621]
36564 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36565 int as type of variable DEPTH.
36566 (glob): Use size_t instead of int as type of variables NEWCOUNT
36567 and OLD_PATHC.
36568
6d3bf199
LD
365692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36570
22bf5c17
LD
36571 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36572 Add s_sincosf-sse2.
36573 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36574 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36575 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36576 macros for using routine as __sincosf_ia32.
36577 Use macro for function declaration and weak_alias.
36578 * sysdeps/i386/fpu/libm-test-ulps: Update.
36579
36580 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36582
36583 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36584 subnormal argument.
36585 * math/s_cexpf.c (__cexpf): Likewise.
36586 * math/s_csinf.c (__csinf): Likewise.
36587 * math/s_csinhf.c (__csinhf): Likewise.
36588 * math/s_ctanf.c (__ctanf): Likewise.
36589 * math/s_ctanhf.c (__ctanhf): Likewise.
36590 * math/s_ccosh.c (__ccoshf): Likewise.
36591 * math/s_cexp.c (__cexpl): Likewise.
36592 * math/s_csin.c (__csin): Likewise.
36593 * math/s_csinh.c (__csinh): Likewise.
36594 * math/s_ctan.c (__ctan): Likewise.
36595 * math/s_ctanh.c (ctanh): Likewise.
36596 * math/s_ccoshl.c (__ccoshl): Likewise.
36597 * math/s_cexpl.c (__cexpl): Likewise.
36598 * math/s_csinl.c (__csinl): Likewise.
36599 * math/s_csinhl.c (__csinhl): Likewise.
36600 * math/s_ctanl.c (__ctanl): Likewise.
36601 * math/s_ctanhl.c (__ctanhl): Likewise.
36602
203e5603
JM
366032012-09-25 Joseph Myers <joseph@codesourcery.com>
36604
36605 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36606 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36607 (_IO_off_t): Define to __off_t, not _G_off_t.
36608 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36609 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36610 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36611 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36612 type of __dummy and __dummy2 fields.
36613 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36614 (_G_ssize_t): Likewise.
36615 (_G_off_t): Likewise.
36616 (_G_pid_t): Likewise.
36617 (_G_uid_t): Likewise.
36618 (_G_wchar_t): Likewise.
36619 (_G_wint_t): Likewise.
36620 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36621 (_G_ssize_t): Likewise.
36622 (_G_off_t): Likewise.
36623 (_G_pid_t): Likewise.
36624 (_G_uid_t): Likewise.
36625 (_G_wchar_t): Likewise.
36626 (_G_wint_t): Likewise.
36627 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36628 (_G_ssize_t): Likewise.
36629 (_G_off_t): Likewise.
36630 (_G_pid_t): Likewise.
36631 (_G_uid_t): Likewise.
36632 (_G_wchar_t): Likewise.
36633 (_G_wint_t): Likewise.
36634
9fab36eb
SP
366352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36636
36637 * malloc/arena.c: Include malloc-sysdep.h.
36638 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36639 is sufficient to shrink the heap or an unmap is needed.
36640 * sysdeps/generic/malloc-sysdep.h: New file. Define
36641 new function check_may_shrink_heap.
36642 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36643 new function check_may_shrink_heap.
36644
2b4f00d1
SP
366452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36646
36647 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36648 comments.
36649
9a9028b1
DL
366502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36651
57c69bef
DL
36652 * catgets/test-gencat.sh: Add "set -e".
36653 * elf/tst-pathopt.sh: Likewise.
36654 * grp/tst_fgetgrent.sh: Likewise.
36655 * iconvdata/run-iconv-test.sh: Likewise.
36656 * intl/tst-gettext.sh: Likewise.
36657 * intl/tst-gettext2.sh: Likewise.
36658 * intl/tst-gettext4.sh: Likewise.
36659 * intl/tst-gettext6.sh: Likewise.
36660 * intl/tst-translit.sh: Likewise.
36661 * io/ftwtest-sh: Likewise.
36662 * libio/test-freopen.sh: Likewise.
36663 * malloc/tst-mtrace.sh: Likewise.
36664 * posix/globtest.sh: Likewise.
36665 * posix/tst-getconf.sh: Likewise.
36666 * posix/wordexp-tst.sh: Likewise.
36667 * stdio-common/tst-printf.sh: Likewise.
36668 * stdio-common/tst-unbputc.sh: Likewise.
36669 * stdlib/tst-fmtmsg.sh: Likewise.
36670 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36671 * catgets/Makefile: Do not specify -e option when running
36672 testsuite shell scripts.
36673 * elf/Makefile: Likewise.
36674 * grp/Makefile: Likewise.
36675 * iconvdata/Makefile: Likewise.
36676 * intl/Makefile: Likewise.
36677 * io/Makefile: Likewise.
36678 * libio/Makefile: Likewise.
36679 * malloc/Makefile: Likewise.
36680 * posix/Makefile: Likewise.
36681 * stdio-common/Makefile: Likewise.
36682 * stdlib/Makefile: Likewise.
36683 * sysdeps/x86_64/Makefile: Likewise.
36684
9a9028b1
DL
36685 * io/ftwtest-sh: Add copyright header.
36686 * posix/globtest.sh: Likewise.
36687 * posix/tst-getconf.sh: Likewise.
36688 * posix/wordexp-tst.sh: Likewise.
36689 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36690
ced6f16e
L
366912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36692
94b32c39
L
36693 [BZ #13679]
36694 * Makeconfig (+link): Defined as $(+link-static) if
36695 $(build-shared) isn't yes.
36696 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36697 isn't yes.
36698 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36699
189e935b
L
36700 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36701
ced6f16e
L
36702 [BZ #14562]
36703 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36704 new chunk size with MALLOC_ALIGN_MASK.
36705
a9f8e53a
JM
367062012-09-24 Joseph Myers <joseph@codesourcery.com>
36707
36708 [BZ #5044]
36709 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36710 <rounding-mode.h>.
36711 (__printf_fphex): Determine rounding using get_rounding_mode and
36712 round_away.
36713 * stdio-common/tst-printf-round.c (struct hex_test): New
36714 structure.
36715 (hex_tests): New variable.
36716 (test_hex_in_one_mode): New function.
36717 (do_test): Also run tests for hex float output.
36718
43153109
JM
367192012-09-21 Joseph Myers <joseph@codesourcery.com>
36720
36721 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36722 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36723 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36724 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36725 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36726 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36727 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36728 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36729
8a26625d
JM
367302012-09-20 Joseph Myers <joseph@codesourcery.com>
36731
36732 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36733 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36734 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36735 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36736
f3fd569c
DL
367372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36738
36739 [BZ #14579]
36740 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36741 mode only.
36742 * elf/tst-rtld-load-self.sh: New test.
36743 * elf/Makefile: Run it.
36744
63bbedd4
JM
367452012-09-18 Joseph Myers <joseph@codesourcery.com>
36746
36747 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36748 (tst-writev-ENV): Remove.
36749 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36750
626f8b6a
CM
367512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36752
36753 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36754
b7aaa4d6
JM
367552012-09-17 Joseph Myers <joseph@codesourcery.com>
36756
36757 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36758 unconditional.
36759 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36760 Likewise.
36761 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36762 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36763 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36764 Likewise.
36765
65513990
L
367662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36767
36768 [BZ #14587]
36769 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36770 * config.make.in (have-cpp-asm-debuginfo): Removed.
36771 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36772 * configure: Regenerated.
36773
784761be
JM
367742012-09-14 Joseph Myers <joseph@codesourcery.com>
36775
36776 [BZ #5044]
36777 * stdio-common/printf_fp.c: Include <stdbool.h> and
36778 <rounding-mode.h>.
36779 (___printf_fp): Determine rounding using get_rounding_mode and
36780 round_away.
36781 * stdio-common/tst-printf-round.c: New file.
36782 * stdio-common/Makefile (tests): Add tst-printf-round.
36783 (link-libm): New variable.
36784 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36785
9503345f
L
367862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36787
36788 [BZ #14576]
36789 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36790 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36791 Likewise.
36792 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36793 Likewise.
36794
ad35fc00
JM
367952012-09-13 Joseph Myers <joseph@codesourcery.com>
36796
36797 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36798 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36799 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36801
6c9b0f68
JM
368022012-09-12 Joseph Myers <joseph@codesourcery.com>
36803
36804 [BZ #14518]
36805 * include/rounding-mode.h: New file.
36806 * sysdeps/generic/get-rounding-mode.h: Likewise.
36807 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36808 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36809 (MAX_VALUE): New macro.
36810 (MIN_VALUE): Likewise.
36811 (overflow_value): New function.
36812 (underflow_value): Likewise.
36813 (round_and_return): Use overflow_value and underflow_value to
36814 determine return values in overflow and underflow cases. Use
36815 round_away to determine rounding depending on rounding mode.
36816 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36817 determine return values in overflow and underflow cases.
36818 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36819 (struct test_results): New structure.
36820 (struct test): Use struct test_results to store expected results
36821 for all rounding modes.
36822 (TEST): Include expected results for all rounding modes.
36823 (test_in_one_mode): New function.
36824 (do_test): Use test_in_one_mode to compute and check results.
36825 Check results for all rounding modes.
36826 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36827 $(link-libm).
36828
19fcedd5
AM
368292012-12-09 Allan McRae <allan@archlinux.org>
36830
1e9d84cd 36831 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36832
8bbfd2f1
JM
368332012-09-11 Joseph Myers <joseph@codesourcery.com>
36834
36835 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36836 (_G_int32_t): Likewise.
36837 (_G_uint16_t): Likewise.
36838 (_G_uint32_t): Likewise.
36839 (_G_HAVE_BOOL): Likewise.
36840 (_G_HAVE_ATEXIT): Likewise.
36841 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36842 (_G_HAVE_IO_FILE_OPEN): Likewise.
36843 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36844 (_G_int32_t): Likewise.
36845 (_G_uint16_t): Likewise.
36846 (_G_uint32_t): Likewise.
36847 (_G_HAVE_BOOL): Likewise.
36848 (_G_HAVE_ATEXIT): Likewise.
36849 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36850 (_G_HAVE_IO_FILE_OPEN): Likewise.
36851 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36852 (_G_int32_t): Likewise.
36853 (_G_uint16_t): Likewise.
36854 (_G_uint32_t): Likewise.
36855 (_G_HAVE_BOOL): Likewise.
36856 (_G_HAVE_ATEXIT): Likewise.
36857 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36858 (_G_HAVE_IO_FILE_OPEN): Likewise.
36859
b1dc5912
L
368602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36861
36862 * csu/libc-tls.c: Update copyright years.
36863
0e886ef9
JM
368642012-09-10 Joseph Myers <joseph@codesourcery.com>
36865
28361c5e
JM
36866 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36867 [!_G_USING_THUNKS]: Remove conditional code.
36868 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36869 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36870
0e886ef9
JM
36871 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36872 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36873 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36874 (_G_VTABLE_LABEL_PREFIX): Likewise.
36875 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36876 * sysdeps/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36881 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36882 (_G_VTABLE_LABEL_PREFIX): Likewise.
36883 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36884
bcba7aa2
L
368852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36886
36887 * libio/Makefile: Include ../Makeconfig before tests.
36888 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36889 only if $(build-shared) is yes.
36890
06585ee8
L
36891 * iconv/gconv_db.c: Update copyright years.
36892
80ccd52c
LD
368932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36894
36895 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36896 unwind info if defined PIC. Fix special cases description.
36897 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36898
36899 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36900 DP_HI_MASK entry.
36901 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36902
691bc9c1
L
369032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36904
3d9b46b3
L
36905 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36906
de2139a9
L
36907 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36908 is NULL.
36909
5ca78dd0
L
36910 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36911 (LDLIBS-tst-chk4): This.
36912 (LDFLAGS-tst-chk5): Renamed to ...
36913 (LDLIBS-tst-chk5): This.
36914 (LDFLAGS-tst-chk6): Renamed to ...
36915 (LDLIBS-tst-chk6): This.
36916 (LDFLAGS-tst-lfschk4): Renamed to ...
36917 (LDLIBS-tst-lfschk4): This.
36918 (LDFLAGS-tst-lfschk5): Renamed to ...
36919 (LDLIBS-tst-lfschk5): This.
36920 (LDFLAGS-tst-lfschk6): Renamed to ...
36921 (LDLIBS-tst-lfschk6): This.
36922
691bc9c1
L
36923 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36924 on $(common-objpfx)soversions.mk.
36925
65cafb1c
JM
369262012-09-07 Joseph Myers <joseph@codesourcery.com>
36927
36928 [BZ #10014]
36929 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36930 example host name.
36931
c78ab094
SP
369322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36933
36934 * malloc/arena.c (arena_get_retry): New function that gets
36935 another arena for the caller to try its request on.
36936 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36937 current arena cannot fulfill the request.
36938 (__libc_memalign): Likewise.
36939 (__libc_memalign): Likewise.
36940 (__libc_pvalloc): Likewise.
36941 (__libc_calloc): Likewise.
36942
01f49f59
JT
369432012-09-05 John Tobey <john.tobey@gmail.com>
36944
36945 [BZ #13542]
36946 * manual/arith.texi (Operations on Complex): Fix description
36947 of carg branch cut.
36948
4c23fed5
JM
369492012-09-06 Joseph Myers <joseph@codesourcery.com>
36950
1d3c8572
JM
36951 [BZ #10014]
36952 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36953 host name.
36954
4c23fed5
JM
36955 [BZ #10038]
36956 * manual/memory.texi (Memory): Make order of menu items match
36957 order of sections.
36958
04570aaa
L
369592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36960
36961 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36962 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36963 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36964
b80af2f4
L
369652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36966
36967 * csu/libc-tls.c (static_dtv): Renamed to ...
36968 (_dl_static_dtv): This. Make it global.
36969 (_dl_initial_dtv): Removed.
36970 (__libc_setup_tls): Updated.
36971 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36972 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36973 DL_INITIAL_DTV.
36974
2abe9f15
PM
369752012-09-06 Petr Machata <pmachata@redhat.com>
36976
36977 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36978 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36979 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36980 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36981
0948c3af
L
369822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36983
36984 [BZ #14545]
36985 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36986 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36987 freeing dtv[-1].
36988
a5055ad1
L
369892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36990
36991 [BZ #14544]
36992 * Makeconfig (link-static-before-libc): Replace $(+prector)
36993 with $(+prectorT).
36994 (link-static-after-libc): Replace $(+postctor) with
36995 $(+postctorT).
36996 (link-bounded): Replace $(+prector)/$(+postctor) with
36997 $(+prectorT)/$(+postctorT).
36998 (+prectorT): New macro.
36999 (+postctorT): Likewise.
37000
ed8c2ecd
JM
370012012-09-06 Joseph Myers <joseph@codesourcery.com>
37002
37003 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37004 (round_str): Handle values above the maximum for IBM long double
37005 as inexact.
37006 * stdlib/tst-strtod-round.c (tests): Regenerated.
37007
14c996c8
AK
370082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37009
37010 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37011 assembler flag.
37012 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37013 zarch_nohighgprs around the zarch optimized routines.
37014 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37015 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37017 for zarch.
37018
430d6ce6
DM
370192012-09-05 David S. Miller <davem@davemloft.net>
37020
37021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37022
57f41c40
AS
37023 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37024 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37025 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37026 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37027 entries.
37028
24d4e01b
AO
370292012-09-05 Alexandre Oliva <aoliva@redhat.com>
37030
37031 * malloc/arena.c: Fold copyright years.
37032 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37033
61d58174
AO
370342012-09-05 Alexandre Oliva <aoliva@redhat.com>
37035
37036 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37037
20196a5e
AO
370382012-09-05 Alexandre Oliva <aoliva@redhat.com>
37039
37040 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37041
5c447383
AO
370422012-09-05 Alexandre Oliva <aoliva@redhat.com>
37043
37044 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37045 change internal state upon failure.
37046
fad64255
AO
370472012-09-05 Alexandre Oliva <aoliva@redhat.com>
37048
37049 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37050 * malloc/memusage.c (mmap): Likewise.
37051 (mmap64, mremap): Likewise. Adjust name in comment.
37052
1ffb8c90
SP
370532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37054
37055 * libio/fileops.c: Fix typos in comments.
37056 * libio/oldfileops.c: Likewise.
37057 * libio/wfileops.c: Likewise.
37058
6ef9cc37
SP
370592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37060
37061 [BZ #1349]
37062 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37063 (tst-malloc-usable-ENV): Set environment for test case.
37064 * malloc/hooks.c (malloc_check_get_size): New function to get
37065 requested size.
37066 * malloc/malloc.c (musable): Use malloc_check_get_size.
37067 * malloc/tst-malloc-usable.c: New test case.
37068
4d038ae3
AS
370692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37070
37071 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37072
c4e85184
AM
370732012-09-05 Allan McRae <allan@archlinux.org>
37074
b9dafc56 37075 [BZ #13966]
c4e85184
AM
37076 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37077 determine header location.
37078 * configure: Regenerated.
37079
e1343020
AS
370802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37081
37082 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37083 float format.
37084 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37085 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37086 format.
e1343020
AS
37087 (test): Regenerate.
37088
0a9f1987
DM
370892012-09-04 David S. Miller <davem@davemloft.net>
37090
37091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37093 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37094
29237804
FW
370952012-09-04 Florian Weimer <fweimer@redhat.com>
37096
37097 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37098 failures.
37099
edb3cb88
FW
37100 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37101
60160d83
JM
371022012-09-04 Joseph Myers <joseph@codesourcery.com>
37103
37104 [BZ #9914]
37105 * libio/iogetdelim.c: Include <limits.h>.
37106 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37107 + len + 1 would overflow.
37108
bcd6c8dc
AJ
371092012-09-03 Andreas Jaeger <aj@suse.de>
37110
37111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37112 * sysdeps/i386/fpu/libm-test-ulps: Update.
37113
4ffffbd2
LD
371142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37115
37116 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37117 Add s_sinf-sse2, s_conf-sse2.
37118
37119 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37120 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37121 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37122 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37123
37124 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37125 for using routine as __sinf_ia32.
37126 Use macro for function declaration and weak_alias.
37127 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37128 for using routine as __cosf_ia32.
37129 Use macro for function declaration and weak_alias.
37130
37131 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37132 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37133
37134 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37135 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37137
37138 * math/libm-test.inc (cos_test): Add more test cases.
37139 (sin_test): Likewise.
37140 (sincos_test): Likewise.
37141
511fa286
AK
371422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37143
37144 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37145 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37146 hidden.
37147 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37148
5f30cfec
L
371492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37150
37151 [BZ #14538]
37152 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37153 first element of the GOT.
37154 (elf_machine_load_address): Return the difference between
37155 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37156
0786794f
AM
371572012-09-01 Allan McRae <allan@archlinux.org>
37158
5f30cfec
L
37159 [BZ #13412]
37160 * configure.in (AWK): Require gawk version 3.0 or later.
37161 * configure: Regenerated.
0786794f 37162
26889eac
JM
371632012-09-01 Joseph Myers <joseph@codesourcery.com>
37164
37165 * sysdeps/unix/sysv/linux/kernel-features.h
37166 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37168 [__NR_clock_getres]: Make code unconditional.
37169 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37170 (clock_getcpuclockid): Remove code left unreachable by removal of
37171 conditionals.
37172 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37173 code unconditional.
37174 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37175 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37176 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37177 Make code unconditional.
37178 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37179 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37180 * sysdeps/unix/sysv/linux/clock_settime.c
37181 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37182 conditional code.
37183 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37184 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37185
d22e28b0
L
371862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37187
37188 [BZ #14476]
37189 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37190 scripts/test-installation.pl.
37191
37192 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37193 and $ld_so_version if it is set.
37194
050af9c4
SP
371952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37196
37197 [BZ #14516]
37198 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37199 failure if reading from procfs failed.
37200 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37201
ad845c0b
JM
372022012-08-27 Joseph Myers <joseph@codesourcery.com>
37203
37204 * sysdeps/unix/sysv/linux/kernel-features.h
37205 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37206 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37207 Remove conditional code.
37208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37209 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37210 Remove conditional code.
37211 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37212 * sysdeps/unix/sysv/linux/i386/fxstat.c
37213 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37215 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37216 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37218 * sysdeps/unix/sysv/linux/i386/lxstat.c
37219 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37221 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37222 Remove conditional code.
37223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37224 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37225 Remove conditional code.
37226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37227 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37228 <kernel-features.h>.
37229 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37230 Remove.
37231 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37232 Remove conditional code.
37233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37234 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37235 Remove conditional.
37236
5dbf56af
MF
372372012-08-27 Mike Frysinger <vapier@gentoo.org>
37238
37239 [BZ #5400]
37240 * NEWS: Add fixed bug number.
37241
d6e70f43
JM
372422012-08-27 Joseph Myers <joseph@codesourcery.com>
37243
7efb4737
JM
37244 [BZ #14519]
37245 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37246 underflowing exponent in case of negative sign.
37247 * stdlib/tst-strtod-round-data: Add more tests.
37248 * stdlib/tst-strtod-round.c (tests): Regenerated.
37249
af92131a
JM
37250 [BZ #3479]
37251 * stdlib/strtod_l.c (NDIG): Remove.
37252 (HEXNDIG): Likewise.
37253 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37254 smallest representable value.
37255 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37256 lie within an exact representation of 1/2 ulp of the result.
37257 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37258 unconditionally.
37259 (TENS_P9_IDX): Define unconditionally.
37260 (TENS_P9_SIZE): Likewise.
37261 (TENS_P10_IDX): Likewise.
37262 (TENS_P10_SIZE): Likewise.
37263 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37264 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37265 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37266 entries for 10^2^13 and 10^2^14.
37267 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37268 (TENS_P13_IDX): Define.
37269 (TENS_P13_SIZE): Likewise.
37270 (TENS_P14_IDX): Likewise.
37271 (TENS_P14_SIZE): Likewise.
37272 (_fpioconst_pow10): Change array size to
37273 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37274 unconditional.
37275 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37276 1024]: Add entries for 10^2^13 and 10^2^14.
37277 [LAST_POW10 > _LAST_POW10]: Remove #error.
37278 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37279 (_fpioconst_pow10): Change array size to
37280 FPIOCONST_POW10_ARRAY_SIZE.
37281 * stdlib/gen-fpioconst.c: New file.
37282 * stdlib/gen-tst-strtod-round.c: Likewise.
37283 * stdlib/tst-strtod-round-data: Likewise.
37284 * stdlib/tst-strtod-round.c: Likewise.
37285 * stdlib/Makefile (tests): Add tst-strtod-round.
37286
d6e70f43
JM
37287 [BZ #14459]
37288 * stdlib/strtod_l.c: Include <stdint.h>.
37289 (NDEBUG): Do not define.
37290 (round_and_return): Change EXPONENT parameter to type intmax_t.
37291 Rearrange calculations to avoid internal overflow possibilities.
37292 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37293 Rearrange calculations to avoid internal overflow possibilities.
37294 Assert that number fits inside MPNSIZE limbs.
37295 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37296 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37297 calculations and add assertions to avoid internal overflow
37298 possibilities. Add casts to avoid signed/unsigned operations.
37299 * stdlib/tst-strtod-overflow.c: New file.
37300 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37301
1f529f7d
MP
373022012-08-25 Marek Polacek <polacek@redhat.com>
37303
37304 * time/time.h: Fix some typos in comments.
37305
59a629f1
RM
373062012-08-23 Roland McGrath <roland@hack.frob.com>
37307
37308 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37309 * posix/tst-rfc3484-2.c: Likewise.
37310 * posix/tst-rfc3484-3.c: Likewise.
37311
d3bafbc9
SM
373122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37313
37314 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37315 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37316
4efcc022
JM
373172012-08-23 Joseph Myers <joseph@codesourcery.com>
37318
37319 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37320 #include of fxstatat64.c.
37321
3cc3ef96
RM
373222012-08-22 Roland McGrath <roland@hack.frob.com>
37323
f04e2132
RM
37324 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37325 * shadow/getspent_r.c: Likewise.
37326 * shadow/getspnam.c: Likewise.
37327 * shadow/getspnam_r.c: Likewise.
37328 * gshadow/getsgent.c: Likewise.
37329 * gshadow/getsgent_r.c: Likewise.
37330 * gshadow/getsgnam.c: Likewise.
37331 * gshadow/getsgnam_r.c: Likewise.
37332 * inet/getnetbyad.c: Likewise.
37333 * inet/getnetbyad_r.c: Likewise.
37334 * inet/getnetbynm.c: Likewise.
37335 * inet/getnetbynm_r.c: Likewise.
37336 * inet/getnetent.c: Likewise.
37337 * inet/getnetent_r.c: Likewise.
37338 * inet/getproto.c: Likewise.
37339 * inet/getproto_r.c: Likewise.
37340 * inet/getprtent.c: Likewise.
37341 * inet/getprtent_r.c: Likewise.
37342 * inet/getprtname.c: Likewise.
37343 * inet/getprtname_r.c: Likewise.
37344 * inet/getrpcbyname.c: Likewise.
37345 * inet/getrpcbyname_r.c: Likewise.
37346 * inet/getrpcbynumber.c: Likewise.
37347 * inet/getrpcbynumber_r.c: Likewise.
37348 * inet/getrpcent.c: Likewise.
37349 * inet/getrpcent_r.c: Likewise.
37350 * inet/getaliasent.c: Likewise.
37351 * inet/getaliasent_r.c: Likewise.
37352 * inet/getaliasname.c: Likewise.
37353 * inet/getaliasname_r.c: Likewise.
37354 * nscd/getgrgid_r.c: Likewise.
37355 * nscd/getgrnam_r.c: Likewise.
37356 * nscd/gethstbyad_r.c: Likewise.
37357 * nscd/gethstbynm3_r.c: Likewise.
37358 * nscd/getpwnam_r.c: Likewise.
37359 * nscd/getpwuid_r.c: Likewise.
37360 * nscd/getsrvbynm_r.c: Likewise.
37361 * nscd/getsrvbypt_r.c: Likewise.
37362 * nscd/gai.c: Likewise.
37363
c53d909c
RM
37364 * configure.in (build_nscd): New substituted variable, set
37365 by --disable-build-nscd and defaults to $use_nscd.
37366 * configure: Regenerated.
37367 * config.make.in (build-nscd): New substituted variable.
37368 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37369 Change conditional to require [$(build-nscd) = yes] as well.
37370 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37371
3cc3ef96
RM
37372 [BZ# 13696]
37373 * configure.in (use_nscd): New substituted variable, set by
37374 --disable-nscd. If enabled, define USE_NSCD.
37375 * configure: Regenerated.
37376 * config.h.in: Add USE_NSCD.
37377 * config.make.in (use-nscd): New substituted variable.
37378 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37379 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37380 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37381 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37382 (CFLAGS-getgrnam_r.c): Likewise.
37383 (CFLAGS-initgroups.c): Likewise.
37384 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37385 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37386 Variables removed.
37387 * inet/getnetgrent_r.c
37388 (nscd_setnetgrent): New function, broken out of ...
37389 (setnetgrent): ... here. Call it.
37390 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37391 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37392 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37393 * nscd/Makefile (routines, aux): Move definitions after include of
37394 Makeconfig. Conditionalize on [$(use-nscd) != no].
37395 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37396 Conditionalize on [USE_NSCD].
37397 (is_nscd, nscd_init_cb): Likewise.
37398 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37399 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37400 * nss/nss_db/db-init.c: Likewise.
37401 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37402 [USE_NSCD].
37403 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37404 (make_request): Use it.
37405 (cache_valid_p): New function.
37406 (__check_pf): Use it.
37407 * NEWS: Add item for --disable-nscd.
37408
07e51550
DL
374092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37410
37411 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37412 to support sed >= 4.2.1-20-ga9bf076.
37413 * configure: Regenerated.
37414
35a5b08b
RM
374152012-08-22 Roland McGrath <roland@hack.frob.com>
37416
37417 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37418 Conditionalize whole body on [IREL].
37419
8479f23a
JL
374202012-08-22 Jeff Law <law@redhat.com>
37421
37422 [BZ #14505]
37423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37424 if the family is PF_UNSPEC.
37425
48da0b21
MF
374262012-08-22 Mike Frysinger <vapier@gentoo.org>
37427
37428 * Makerules (lib-version): Rename from V.
37429 (install-lib-nosubdir): Change V to lib-version.
37430
15d0da8c
WS
374312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37432
37433 [BZ #14252]
37434 * powerpc32/power6/wcschr.c: New file.
37435 * powerpc32/power6/wcscpy.c: New file.
37436 * powerpc32/power6/wcsrchr.c: New file.
37437 * powerpc64/power6/wcschr.c: New file.
37438 * powerpc64/power6/wcscpy.c: New file.
37439 * powerpc64/power6/wcsrchr.c: New file.
37440
bcca0895
MK
374412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37442
37443 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37444 (two_way_short_needle): Use it.
5a4aaa33
RM
37445 * string/strstr.c (AVAILABLE1_USES_J): Define.
37446 * string/strcasestr.c: Likewise.
99677e57
MK
37447
37448 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37449 array references.
37450 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37451
400726de
MK
37452 [BZ #11607]
37453 * NEWS: Add an entry.
37454 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37455 define their defaults.
37456 (two_way_short_needle): Detect end-of-string on-the-fly.
37457 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37458 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37459 * string/bug-strcasestr1.c: New test.
37460 * string/Makefile: Run it.
37461
20a71f2c
MK
374622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37463
37464 [BZ #11607]
37465 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37466 the first character.
37467
21ad0558
RM
374682012-08-21 Roland McGrath <roland@hack.frob.com>
37469
37470 * csu/elf-init.c (__libc_csu_irel): Function removed.
37471 * csu/libc-start.c (apply_irel): New function.
37472 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37473
0e1d9911
JM
374742012-08-21 Joseph Myers <joseph@codesourcery.com>
37475
37476 * sysdeps/unix/sysv/linux/kernel-features.h
37477 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37478 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37479 <kernel-features.h>.
37480 [__NR_fadvise64_64]: Make code unconditional.
37481 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37482 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37483 !__NR_fadvise64_64)]: Likewise.
37484 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37485 !__NR_fadvise64_64))]: Likewise.
37486 [__NR_fadvise64]: Make code unconditional.
37487 [!__NR_fadvise64]: Remove conditional code.
37488 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37489 <kernel-features.h>.
37490 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37491 unconditional.
37492 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37493 conditional code.
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37495 not include <kernel-features.h>.
37496 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37497 unconditional.
37498 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37499 conditional code.
37500 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37501 include <kernel-features.h>.
37502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37503 unconditional.
37504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37505 conditional code.
37506
14a50c9d
WS
375072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37508
37509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37510 slight instruction rearrangements per scrollpipe analysis.
37511 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37512
c0f4faf0
RM
375132012-08-20 Roland McGrath <roland@hack.frob.com>
37514
696da859
RM
37515 * manual/syslog.texi (syslog; vsyslog, closelog):
37516 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37517 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37518
c0f4faf0
RM
37519 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37520 DSOCAPS to match condition on defining it.
37521
348363b2
JM
375222012-08-20 Joseph Myers <joseph@codesourcery.com>
37523
a35cbf28
JM
37524 * sysdeps/unix/sysv/linux/kernel-features.h
37525 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37527 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37528 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37530 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37531 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37533 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37534 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37535
445f7ecd
JM
37536 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37537 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37538
348363b2
JM
37539 * sysdeps/unix/sysv/linux/kernel-features.h
37540 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37541 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37542 unconditional.
37543 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37544 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37545 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37546 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37547 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37548 Make code unconditional.
37549 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37550 (__mmap64) [!__NR_mmap2]: Likewise.
37551 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37554 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37555 [__NR_mmap2]: Make code unconditional.
37556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37557 (__mmap64) [!__NR_mmap2]: Likewise.
37558
bc5bc0e5
AK
375592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37560
37561 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37562
88d506de
AJ
375632012-08-18 Andreas Jaeger <aj@suse.de>
37564
37565 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37566
493387d2
MF
375672012-08-18 Mike Frysinger <vapier@gentoo.org>
37568
37569 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37570 * include/unistd.h (__have_sock_cloexec): Likewise.
37571 (__have_pipe2): Likewise.
37572 (__have_dup3): Likewise.
37573
a277af22
MF
375742012-08-18 Mike Frysinger <vapier@gentoo.org>
37575
37576 [BZ #9685]
37577 * include/unistd.h (__have_pipe2): Change define into an extern int.
37578 (__have_dup3): Likewise.
37579 * socket/have_sock_cloexec.c: Include fcntl.h.
37580 (__have_pipe2): New variable.
37581 (__have_dup3): Likewise.
37582
fdab8fd3
MF
375832012-08-17 Mike Frysinger <vapier@gentoo.org>
37584
37585 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37586
31035e80
MP
375872012-08-17 Marek Polacek <polacek@redhat.com>
37588
37589 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37590 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37591
3bd9e993
RM
375922012-08-17 Roland McGrath <roland@hack.frob.com>
37593
c91c505f
RM
37594 * configure.in: Add AC_SUBST for sysheaders.
37595 * configure: Regenerated.
37596 * config.make.in (sysheaders): New substituted variable.
37597
7c6f9d53
RM
37598 * sysdeps/unix/mkfifo.c: Moved ...
37599 * sysdeps/posix/mkfifo.c: ... here.
37600 * sysdeps/unix/mkfifoat.c: Moved ...
37601 * sysdeps/posix/mkfifoat.c: ... here.
37602
37603 * sysdeps/unix/utime.c: Moved ...
37604 * sysdeps/posix/utime.c: ... here.
37605
37606 * sysdeps/unix/time.c: Moved ...
37607 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37608 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37609 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37610
37611 * sysdeps/unix/nice.c: Moved ...
37612 * sysdeps/posix/nice.c: ... here.
37613
37614 * sysdeps/unix/alarm.c: Moved ...
37615 * sysdeps/posix/alarm.c: ... here.
37616
3bd9e993
RM
37617 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37618
d1f09384
JL
376192012-08-17 Jeff Law <law@redhat.com>
37620
37621 * intl/Makefile (codeset_mo): New variable.
37622 ($(codeset_mo)): New target.
37623 (tst-codeset.out): Depend on that. Remove explicit rule.
37624 (tst-gettext3.out, tst-gettext5.out): Likewise.
37625 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37626 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37627 * intl/tst-codeset.sh: Remove.
37628 * intl/tst-gettext3.sh: Likewise.
37629 * intl/tst-gettext5.sh: Likewise.
37630
2ae1ae5c
RM
376312012-08-17 Roland McGrath <roland@hack.frob.com>
37632
c31fdb83
RM
37633 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37634 * sysdeps/unix/syscalls.list: ... here.
37635
a0844057
RM
37636 * sysdeps/posix/getaddrinfo.c
37637 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37638 (gaiconf_init, gaiconf_reload): Use them.
37639 [!_STATBUF_ST_NSEC]
37640 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37641 Define using time_t rather than struct timespec.
37642
750c1f2a
RM
37643 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37644 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37645 Macros removed.
37646 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37647 [!NO_THREADS].
37648 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37649 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37650 Likewise.
37651
2ae1ae5c
RM
37652 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37653 __libc_cleanup_push argument.
37654
e66a42f5
RM
37655 * bits/param.h: New file.
37656 * misc/sys/param.h: New file.
37657 * include/sys/param.h: New file.
37658 * misc/Makefile (headers): Add bits/param.h.
37659 * sysdeps/generic/sys/param.h: File removed.
37660 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37661 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37662 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37663 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37664
b7c08a66
RM
37665 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37666 last change.
37667
b2e1c562
RM
37668 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37669 [_IO_MTSAFE_IO].
37670 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37671 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37672 New macros.
37673
c75ccd4c
RM
37674 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37675 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37676 rather than -D_IO_MTSAFE_IO conditionally.
37677 * stdio-common/Makefile (CPPFLAGS): Likewise.
37678 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37679 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37680 Use $(libio-mtsafe).
37681 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37682 of -D_IO_MTSAFE_IO.
37683 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37684 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37685 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37686 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37687 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37688 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37689 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37690 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37691 (CFLAGS-fread_u_chk.c): Likewise.
37692 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37693 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37694 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37695 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37696 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37697 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37698 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37699 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37700 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37701
37702 * libio/Makefile: Test [$(libc-reentrant) = yes]
37703 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37704
37705 * Makeconfig
37706 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37707 * sysdeps/pthread/configure: File removed.
37708 * sysdeps/pthread/Makeconfig: New file.
37709 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37710 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37711
d9195db8
GB
377122012-08-16 Gary Benson <gbenson@redhat.com>
37713
37714 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37715 unmapping the first object in a namespace.
37716
86466cd9
RM
377172012-08-16 Roland McGrath <roland@hack.frob.com>
37718
37719 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37720 (__internal_setnetgrent): ... this. Add internal_function to
37721 definition. Add libc_hidden_def.
37722 (setnetgrent): Update caller.
37723 (internal_endnetgrent): Renamed to ...
37724 (__internal_endnetgrent): ... this. Add internal_function to
37725 definition. Add libc_hidden_def.
37726 (endnetgrent): Update caller.
37727 (internal_getnetgrent_r): Renamed to ...
37728 (__internal_getnetgrent_r): ... this. Add internal_function to
37729 definition. Add libc_hidden_def.
37730 (__getnetgrent_r): Update caller.
37731 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37732
c3c8283c
JM
377332012-08-16 Joseph Myers <joseph@codesourcery.com>
37734
37735 * stdlib/longlong.h: Update from GCC.
37736
db1ee0a8
RM
377372012-08-16 Roland McGrath <roland@hack.frob.com>
37738
37739 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37740 on _QL, which is set by umul_ppmm but never used.
37741 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37742 variables, which are set by GMP macros but never used.
37743 * stdio-common/_itowa.c (_itowa): Likewise.
37744 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37745 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37746
30f69637
CD
377472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37748
37749 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37750 struct La_sh_regs is not constant.
37751 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37752 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37753 and struct La_sparc64_regs are not constant.
37754
93a78ac4
JM
377552012-08-16 Joseph Myers <joseph@codesourcery.com>
37756
37757 * sysdeps/unix/sysv/linux/kernel-features.h
37758 (__ASSUME_POSIX_TIMERS): Remove.
37759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37760 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37761 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37762 Make code unconditional.
37763 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37764 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37765 Make code unconditional.
37766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37767 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37768 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37770 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37771 Make code unconditional.
37772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37773 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37774 (__libc_missing_posix_timers): Remove.
37775
dd924cd7
RM
377762012-08-15 Roland McGrath <roland@hack.frob.com>
37777
4b4f2771
RM
37778 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37779 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37780
601c888b
RM
37781 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37782
176790a7
RM
37783 * elf/dl-sym.c: Include <stdlib.h>.
37784
329bc018
RM
37785 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37786 constants, which avoids warnings in 32-bit builds.
37787
e04e272d
RM
37788 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37789 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37790
952bf94a
RM
37791 * misc/lseek.c: File moved to ...
37792 * io/lseek.c: ... here.
37793
7c99b50a
RM
37794 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37795
dd924cd7
RM
37796 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37797 shifting LEN more than 31 bits at once.
37798
b3f479a8
LD
377992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37800
37801 [BZ #14195]
8c4ae0d4
RM
37802 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37803 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37804 * string/test-strncasecmp.c (check1): Renamed to...
37805 (bz12205): ...this.
37806 (bz14195): Add new testcase for two empty input strings and N > 0.
37807 (test_main): Call new testcase, adapt for renamed function.
37808
9c55864e
AJ
378092012-08-15 Andreas Jaeger <aj@suse.de>
37810
37811 [BZ #14090]
37812 * crypt/md5test2.c: New test, based on test supplied by Serge
37813 Belyshev <belyshev@depni.sinp.msu.ru>.
37814 * crypt/Makefile (xtests): Add md5test-giant..
37815 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37816
02dcb6c5
PE
378172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37818
37819 [BZ #14090]
37820 * crypt/md5.c (md5_process_block): Don't assume the buffer
37821 length is less than 2**32.
37822 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37823 length is less than 2**64.
37824
a3f95dcc
RM
378252012-08-15 Roland McGrath <roland@hack.frob.com>
37826
be75d758
RM
37827 * string/str-two-way.h: Include <sys/param.h>.
37828 (MAX): Macro removed.
37829
7312ca90
RM
37830 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37831 Move #define and #undef of memmove to just before and after
37832 including <string.h>.
37833
9a0a5486
RM
37834 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37835 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37836 and after including <string.h>. Move declarations of
37837 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37838 to before #include "string/memmove.c".
37839
67cc348d
RM
37840 * include/dirent.h: Declare __getdirentries.
37841
a3f95dcc
RM
37842 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37843 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37844
ca98e171
MF
378452012-08-14 Mike Frysinger <vapier@gentoo.org>
37846
37847 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37848 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37849 * sysdeps/i386/configure: Regenerated.
37850 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37851 STABS_CURRENT_FILE, and STABS_FUN.
37852 (END): Remove call to STABS_FUN_END.
37853 (STABS_CURRENT_FILE1): Delete.
37854 (STABS_CURRENT_FILE): Likewise.
37855 (STABS_FUN): Likewise.
37856 (STABS_FUN_END): Likewise.
37857 (STABS_FUN2): Likewise.
37858 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37859 * sysdeps/x86_64/configure: Regenerated.
37860
5908bf46
RM
378612012-08-14 Roland McGrath <roland@hack.frob.com>
37862
37863 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37864 * elf/dl-lookup.c: Likewise.
5908bf46 37865
f2c05b9e
JM
378662012-08-14 Joseph Myers <joseph@codesourcery.com>
37867
37868 * sysdeps/unix/sysv/linux/kernel-features.h
37869 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37870 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37871 unconditionally.
37872 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37873 unconditionally.
37874 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37875 condition on __ASSUME_CLONE_THREAD_FLAGS.
37876
e11f5155
AJ
378772012-08-14 Andreas Jaeger <aj@suse.de>
37878
37879 * sysdeps/i386/fpu/libm-test-ulps: Update.
37880
51a9ba86
MK
378812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37882
2fdd4f78
AJ
37883 * include/atomic.h (atomic_exchange_and_add): Split into ...
37884 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37885 New atomic macros.
51a9ba86 37886
ba6cba9e
MT
378872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37888
37889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37890
42443a47
JL
378912012-08-13 Jeff Law <law@redhat.com>
37892
37893 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37894 null byte in the output string.
37895
121dce05
JM
378962012-08-10 Joseph Myers <joseph@codesourcery.com>
37897
37898 * sysdeps/unix/sysv/linux/kernel-features.h
37899 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37900 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37901 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37903 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37904 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37905 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37906
bf51f568
JL
379072012-08-09 Jeff Law <law@redhat.com>
37908
37909 [BZ #13939]
37910 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37911 When avoid_arena is set, don't retry in the that arena. Pick the
37912 next one, whatever it might be.
37913 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37914 (arena_lock): Pass in new parameter to arena_get2.
37915 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37916 arena_get2.
37917 (__libc_malloc): Unify retrying after main arena failure with
37918 __libc_memalign version.
37919 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37920
f85fa270
L
379212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37922
37923 [BZ #14166]
37924 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37925 to __redirect_strstr.
37926 (__strstr_sse42): Use typeof __redirect_strstr.
37927 (__strstr_ia32): Likewise.
37928 (__libc_strstr): New prototype.
37929 (strstr): Renamed to ...
37930 (__libc_strstr): This.
37931 (strstr): New strong alias of __libc_strstr.
37932 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37933 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37934 __redirect_time.
37935 Include <time.h>.
37936 (__libc_time): New prototype.
37937 (time_ifunc): Replace time with __libc_time.
37938 (time): New strong alias and hidden definition of __libc_time.
37939 (__GI_time): Remove strong alias.
37940 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37941 Include <stddef.h>.
37942 (memmove): Redefined to __redirect_memmove.
37943 (__memmove_sse2): Use typeof __redirect_memmove.
37944 (__memmove_ssse3): Likewise.
37945 (__memmove_ssse3_back): Likewise.
37946 (__libc_memmove): New prototype.
37947 (memmove): Renamed to ...
37948 (__libc_memmove): This.
37949 (memmove): New strong alias of __libc_memmove.
37950
33b4a91e
MS
379512012-08-08 Mark Salter <msalter@redhat.com>
37952
37953 * elf/elf.h
37954 (R_MN10300_TLS_GD): Define.
37955 (R_MN10300_TLS_LD): Likewise.
37956 (R_MN10300_TLS_LDO): Likewise.
37957 (R_MN10300_TLS_GOTIE): Likewise.
37958 (R_MN10300_TLS_IE): Likewise.
37959 (R_MN10300_TLS_LE): Likewise.
37960 (R_MN10300_TLS_DTPMOD): Likewise.
37961 (R_MN10300_TLS_DTPOFF): Likewise.
37962 (R_MN10300_TLS_TPOFF): Likewise.
37963 (R_MN10300_SYM_DIFF): Likewise.
37964 (R_MN10300_ALIGN): Likewise.
37965 (R_MN10300_NUM): Update.
37966
b36137f1
JM
379672012-08-08 Joseph Myers <joseph@codesourcery.com>
37968
37969 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37970 Remove.
37971
cdd915fd
RM
379722012-08-08 Roland McGrath <roland@hack.frob.com>
37973
a2433aac
RM
37974 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37975
cdd915fd
RM
37976 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37977 sysdeps/unix -> sysdeps/posix move.
37978 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37979
bf9b740a
AM
379802012-08-07 Allan McRae <allan@archlinux.org>
37981
37982 [BZ #14303]
37983 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37984 (SUNOS_CPP): Likewise.
37985 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37986 not found.
37987 (open_input): Call CPP using execvp.
37988
93df14ee
JM
379892012-08-07 Joseph Myers <joseph@codesourcery.com>
37990
37991 * sysdeps/unix/sysv/linux/kernel-features.h
37992 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37993 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37994 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37995 (__ASSUME_WAITID_SYSCALL): Likewise.
37996 * sysdeps/unix/sysv/linux/dl-execstack.c
37997 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37998 code unconditional.
37999 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38000 conditional code.
38001 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38002 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38003 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38004 code.
38005 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38006 unconditional.
38007 [__ASSUME_WAITID_SYSCALL]: Likewise.
38008 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38009
d34689de
RM
380102012-08-07 Roland McGrath <roland@hack.frob.com>
38011
a281decc
RM
38012 * sysdeps/unix/closedir.c: Renamed to ...
38013 * sysdeps/posix/closedir.c: ... here.
38014 * sysdeps/unix/dirfd.c: Renamed to ...
38015 * sysdeps/posix/dirfd.c: ... here.
38016 * sysdeps/unix/dirstream.h: Renamed to ...
38017 * sysdeps/posix/dirstream.h: ... here.
38018 * sysdeps/unix/fdopendir.c: Renamed to ...
38019 * sysdeps/posix/fdopendir.c: ... here.
38020 * sysdeps/unix/opendir.c: Renamed to ...
38021 * sysdeps/posix/opendir.c: ... here.
38022 * sysdeps/unix/readdir.c: Renamed to ...
38023 * sysdeps/posix/readdir.c: ... here.
38024 * sysdeps/unix/readdir_r.c: Renamed to ...
38025 * sysdeps/posix/readdir_r.c: ... here.
38026 * sysdeps/unix/rewinddir.c: Renamed to ...
38027 * sysdeps/posix/rewinddir.c: ... here.
38028 * sysdeps/unix/seekdir.c: Renamed to ...
38029 * sysdeps/posix/seekdir.c: ... here.
38030 * sysdeps/unix/telldir.c: Renamed to ...
38031 * sysdeps/posix/telldir.c: ... here.
38032 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38033 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38034 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38035 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38036
22895b47
RM
38037 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38038 * bits/fcntl.h: ... here.
38039
707a53b6
RM
38040 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38041 not 0.
38042 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38043 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38044 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38045 (struct flock): Move l_start, l_len to the beginning.
38046 Use __pid_t for l_pid.
38047 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38048 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38049 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38050 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38051 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38052 [__USE_LARGEFILE64] (struct flock64): New type.
38053 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38054
f0bd3e25
RM
38055 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38056 * bits/dirent.h: ... here.
38057
d34689de
RM
38058 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38059 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38060
6dad2c06
JM
380612012-08-07 Joseph Myers <joseph@codesourcery.com>
38062
38063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38064 Change from 2.6.0 to 2.6.16.
38065 * sysdeps/unix/sysv/linux/configure: Regenerated.
38066 * sysdeps/unix/sysv/linux/kernel-features.h
38067 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38068 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38069 version.
38070 (__ASSUME_UTIMES): Likewise.
38071 (__ASSUME_CLONE_STOPPED): Remove.
38072 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38073 architectures, not kernel version.
38074 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38075 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38076 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38077 (__ASSUME_WAITID_SYSCALL): Likewise.
38078 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38079 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38080 * README: State 2.6.16 as minimum Linux kernel version. Do not
38081 refer to older versions.
38082
03af9520
RM
380832012-08-06 Roland McGrath <roland@hack.frob.com>
38084
8e49df1d
RM
38085 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38086 Define alphasort64 as an alias.
38087 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38088 Define versionsort64 as an alias.
38089 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38090 Define scandir64 as an alias.
38091 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38092 Define scandirat64 as an alias.
38093 * dirent/alphasort64.c (alphasort64):
38094 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38095 * dirent/versionsort64.c: Likewise.
38096 * dirent/scandir64.c: Likewise.
38097 * dirent/scandirat64.c: Likewise.
38098 * sysdeps/wordsize-64/alphasort.c: File removed.
38099 * sysdeps/wordsize-64/alphasort64.c: File removed.
38100 * sysdeps/wordsize-64/scandir.c: File removed.
38101 * sysdeps/wordsize-64/scandir64.c: File removed.
38102 * sysdeps/wordsize-64/scandirat.c: File removed.
38103 * sysdeps/wordsize-64/scandirat64.c: File removed.
38104 * sysdeps/wordsize-64/versionsort.c: File removed.
38105 * sysdeps/wordsize-64/versionsort64.c: File removed.
38106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38109 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38111 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38112 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38113 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38114
38115 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38117 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38119 [defined __arch64__ || defined __sparcv9]
38120 (__INO_T_MATCHES_INO64_T): New macro.
38121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38122 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38123 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38124 * sysdeps/unix/sysv/linux/bits/dirent.h
38125 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38126 (_DIRENT_MATCHES_DIRENT64): New macro.
38127
03af9520
RM
38128 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38129 Define lockf64 as an alias.
38130 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38131 Define fseeko64 as an alias.
38132 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38133 Define ftello64 as an alias.
38134 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38135 Define _IO_fgetpos64 and fgetpos64 as aliases.
38136 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38137 Define _IO_fsetpos64 and fsetpos64 as aliases.
38138 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38139 Conditionalize body on this.
38140 * libio/fseeko64.c: Likewise.
38141 * libio/ftello64.c: Likewise.
38142 * libio/iofgetpos64.c: Likewise.
38143 * libio/iofsetpos64.c: Likewise.
38144 * sysdeps/wordsize-64/lockf.c: File removed.
38145 * sysdeps/wordsize-64/lockf64.c: File removed.
38146 * sysdeps/wordsize-64/fseeko.c: File removed.
38147 * sysdeps/wordsize-64/fseeko64.c: File removed.
38148 * sysdeps/wordsize-64/ftello.c: File removed.
38149 * sysdeps/wordsize-64/ftello64.c: File removed.
38150 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38151 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38152 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38153 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38154 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38155 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38156 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38157 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38158 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38159 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38160 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38161 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38162 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38163 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38164
38165 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38167 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38169 [defined __arch64__ || defined __sparcv9]
38170 (__OFF_T_MATCHES_OFF64_T): New macro.
38171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38172 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38174 (__OFF_T_MATCHES_OFF64_T): New macro.
38175
c5757acd
L
381762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38177
38178 * stdlib/secure-getenv.c (__secure_getenv): Replace
38179 GLIBC_2_16 with GLIBC_2_17.
38180
3a31811e
L
381812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38182
38183 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38184 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38185
faa2bccb
DM
381862012-08-03 David S. Miller <davem@davemloft.net>
38187
38188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38189
85fe1997
JM
381902012-08-03 Joseph Myers <joseph@codesourcery.com>
38191
38192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38193 Remove.
38194 (__ASSUME_CORRECT_SI_PID): Likewise.
38195 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38196 (__ASSUME_TMPFS_NAME): Likewise.
38197 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38198 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38199 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38200 (HAVE_AUX_SECURE): Make definition unconditional.
38201 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38202 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38203
4f75b7a0
RM
382042012-08-03 Roland McGrath <roland@hack.frob.com>
38205
38206 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38207 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38208 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38209 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38210 __eloop_threshold instead of SYMLOOP_MAX.
38211
38212 * sysdeps/generic/eloop-threshold.h: New file.
38213 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38214 of MAXSYMLINKS.
38215 * elf/chroot_canon.c (chroot_canon): Likewise.
38216
7aab07e4
JM
382172012-08-03 Joseph Myers <joseph@codesourcery.com>
38218
38219 [BZ #13717]
38220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38221 Change to 2.6.0 everywhere.
38222 * sysdeps/unix/sysv/linux/configure: Regenerated.
38223 * sysdeps/unix/sysv/linux/kernel-features.h
38224 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38225 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38226 kernel versions.
38227 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38228 (__ASSUME_FUTEX_REQUEUE): Remove.
38229 (__ASSUME_STATFS64): Define unconditionally.
38230 (__ASSUME_AT_SECURE): Likewise.
38231 (__ASSUME_CORRECT_SI_PID): Likewise.
38232 (__ASSUME_TGKILL): Define without depending on kernel version for
38233 i386.
38234 (__ASSUME_UTIMES): Likewise.
38235 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38236 kernel version.
38237 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38238 (__ASSUME_TMPFS_NAME): Likewise.
38239 * README: Update reference to Linux kernel versions.
38240
b67e9372
MP
382412012-08-02 Marek Polacek <polacek@redhat.com>
38242
1f529f7d 38243 [BZ# 14150]
b67e9372
MP
38244 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38245 libc_cv_asm_type_prefix with %.
38246 * configure: Regenerated.
d2441631
RM
38247 * include/libc-symbols.h: Remove comment about
38248 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38249 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38250 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38251 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38252 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38253 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38254 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38255 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38256 * elf/tst-unique2mod1.c: Likewise.
38257 * elf/tst-unique1mod2.c: Likewise.
38258 * elf/tst-unique1mod1.c: Likewise.
38259 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38260 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38261 Replace ASM_TYPE_DIRECTIVE with .type.
38262 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38263 * sysdeps/i386/sysdep.h: Likewise.
38264 * sysdeps/x86_64/sysdep.h: Likewise.
38265 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38267 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38268 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38269 * sysdeps/powerpc/powerpc32/sysdep.h:
38270 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38271 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38272 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38273 * sysdeps/i386/fpu/e_powf.S: Likewise.
38274 * sysdeps/i386/fpu/e_expl.S: Likewise.
38275 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38276 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38277 * sysdeps/i386/fpu/e_pow.S: Likewise.
38278 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38279 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38280 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38281 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38282 * sysdeps/i386/fpu/e_log2.S: Likewise.
38283 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38284 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38285 * sysdeps/i386/fpu/e_powl.S: Likewise.
38286 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38287 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38288 * sysdeps/i386/fpu/e_logl.S: Likewise.
38289 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38291 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38293 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38294 * sysdeps/i386/fpu/e_log.S: Likewise.
38295 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38296 * sysdeps/i386/fpu/e_logf.S: Likewise.
38297 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38298 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38299 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38300 * sysdeps/i386/fpu/e_log10.S: Likewise.
38301 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38302 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38303 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38304 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38305 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38306 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38307 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38308 * sysdeps/i386/i686/strtok.S: Likewise.
38309 * sysdeps/i386/i386-mcount.S: Likewise.
38310 * sysdeps/i386/strtok.S: Likewise.
38311 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38315 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38316 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38317 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38318 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38319 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38320 * sysdeps/x86_64/_mcount.S: Likewise.
38321 * sysdeps/x86_64/strtok.S: Likewise.
38322 * sysdeps/sh/_mcount.S: Likewise.
38323
2747bf9a
RM
383242012-08-01 Roland McGrath <roland@hack.frob.com>
38325
38326 * libio/iofopen.c: Include <fcntl.h>.
38327 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38328 (_IO_fopen64, fopen64): Define as aliases.
38329 * libio/iofopen64.c: Include <fcntl.h>.
38330 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38331 Conditionalize body on this.
38332 * sysdeps/wordsize-64/iofopen.c: File removed.
38333 * sysdeps/wordsize-64/iofopen64.c: File removed.
38334
3fb791b8
MP
383352012-08-01 Marek Polacek <polacek@redhat.com>
38336
38337 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38338 Use dlfcn directly instead of a variable.
38339 (binfmt-subdir): Do not define.
38340 (dlfcn): Likewise.
38341
a9f1039f
JM
383422012-08-01 Joseph Myers <joseph@codesourcery.com>
38343
23bddc06
JM
38344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38345 Remove all definitions.
38346 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38347 <kernel-features.h>.
38348 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38349 (miss_F_GETOWN_EX): Remove all definitions.
38350 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38351 macro definition.
38352 [!__ASSUME_FCNTL64]: Remove conditional code.
38353 [__ASSUME_FCNTL64]: Make code unconditional.
38354 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38355 <kernel-features.h>.
38356 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38357 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38358 (lockf64) [__NR_fcntl64]: Make code unconditional.
38359 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38360
a9f1039f
JM
38361 * sysdeps/unix/sysv/linux/kernel-features.h
38362 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38363 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38364 Make code unconditional.
38365 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38366 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38368 [__NR_vfork]: Make code unconditional.
38369 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38370 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38372 [__NR_vfork]: Make code unconditional.
38373 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38374 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38375
09c0ee5f
RM
383762012-08-01 Roland McGrath <roland@hack.frob.com>
38377
48aec5b9
RM
38378 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38379 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38380
cd97c966
RM
38381 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38382 Define mkstemp64 as an alias.
3f55550c
RM
38383 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38384 Define mkstemps64 as an alias.
cd97c966
RM
38385 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38386 Define mkostemp64 as an alias.
b8625cfc
RM
38387 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38388 Define mkostemps64 as an alias.
cd97c966
RM
38389 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38390 Conditionalize body on this.
38391 * misc/mkostemp64.c: Likewise.
b8625cfc 38392 * misc/mkostemps64.c: Likewise.
3f55550c 38393 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38394 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38395 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38396 * sysdeps/wordsize-64/mkostemp.c: File removed.
38397 * sysdeps/wordsize-64/mkstemp.c: File removed.
38398 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38400 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38402
09c0ee5f
RM
38403 [BZ #14138]
38404 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38405 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38406 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38407 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38408
38409 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38410 compat_symbol macros from <shlib-compat.h> rather than the underlying
38411 default_symbol_version and symbol_version macros, so that DEFAULT
38412 lines in shlib-versions are respected.
38413 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38414
7e66ee51
FW
384152012-08-01 Florian Weimer <fweimer@redhat.com>
38416
38417 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38418 Declare with warn_unused_result.
38419 (setgid, setregid, setegid, setresgid): Likewise.
38420 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38421 Likewise.
38422 * WUR-REPORT: Remove set*id functions.
38423
d2a54255
PT
384242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38425
38426 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38427
7ecdb005
RM
384282012-07-31 Roland McGrath <roland@hack.frob.com>
38429
b4180a5e 38430 [BZ #10191]
789bd351
RM
38431 * include/sys/socket.h (__libc_accept, __libc_accept4):
38432 Add attribute_hidden.
38433 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38434
40ce302d
RM
38435 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38436 use of PTR_MANGLE.
38437 * inet/getnetgrent_r.c (setup): Likewise.
38438
7ecdb005
RM
38439 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38440
e2eabb2c
DM
384412012-07-31 David S. Miller <davem@davemloft.net>
38442
38443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38444
d0419dbf
JM
384452012-07-31 Joseph Myers <joseph@codesourcery.com>
38446
38447 [BZ #13629]
38448 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38449 value between 1.0 and 2.0 and smaller part has absolute value less
38450 than 1.0.
38451 * math/s_clog10.c (__clog10): Likewise.
38452 * math/s_clog10f.c (__clog10f): Likewise.
38453 * math/s_clog10l.c (__clog10l): Likewise.
38454 * math/s_clogf.c (__clogf): Likewise.
38455 * math/s_clogl.c (__clogl): Likewise.
38456 * math/libm-test.inc (clog_test): Add more tests.
38457 (clog10_test): Likewise.
38458 * sysdeps/i386/fpu/libm-test-ulps: Update.
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38460
2bc13872
FW
384612012-07-31 Florian Weimer <fweimer@redhat.com>
38462
38463 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38464 Exit with zero in case no suitable GID is found, and write a
38465 message to standard error.
38466
bea9b193
RM
384672012-07-30 Roland McGrath <roland@hack.frob.com>
38468
38469 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38470 rather than to 1.
38471 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38472 (MAXPATHLEN): Removed.
38473 (NOGROUP, NODEV): New macros.
38474 (setbit, clrbit, isset, isclr): New macros.
38475 (howmany, roundup, powerof2): New macros.
38476 (DEV_BSIZE): New macro.
38477
38478 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38479 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38480
38481 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38482 definition on [!__NO_LONG_DOUBLE_MATH].
38483
38484 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38485 PTR_MANGLE and PTR_DEMANGLE.
38486
38487 * socket/accept4.c (accept4): Rename to __libc_accept4.
38488 Define accept4 as a weak alias.
38489
38490 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38491 on [_DIRENT_HAVE_D_TYPE].
38492 * io/ftw.c (ftw_dir): Likewise.
38493
38494 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38495
38496 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38497
38498 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38499 Use the BSD numbers rather than the arbitrary ones we had.
38500 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38501 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38502 (SIGXCPU, SIGXFSZ): New macros.
38503 (_NSIG): Now 32.
38504
38505 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38506 initializer on [_LIBC_REENTRANT].
38507
38508 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38509 definitions inside [_POSIX_MAPPED_FILES].
38510
38511 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38512
38513 * dirent/opendir.c: Include <fcntl.h>.
38514
38515 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38516 (__libc_getspecific): Likewise.
38517 (__libc_key_create): Likewise.
38518
38519 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38520 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38521 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38522 (tmpfile64): Define as alias.
38523 * sysdeps/wordsize-64/tmpfile.c: File removed.
38524 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38526 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38527
38528 * stdio-common/vfscanf.c: Include <stdbool.h>.
38529 * nss/makedb.c: Likewise.
38530 * stdio-common/_i18n_number.h: Likewise.
38531 * argp/argp-help.c: Likewise.
38532 * posix/wordexp.c: Likewise.
38533 * sysdeps/posix/spawni.c: Likewise.
38534 * nss/nss_files/files-initgroups.c: Likewise.
38535 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38536 * nss/nss_files/files-initgroups.c: Likewise.
38537 * nss/nss_db/db-netgrp.c: Likewise.
38538 * nss/nss_db/db-initgroups.c: Likewise.
38539 * io/fchmodat.c: Include <sys/stat.h>.
38540
38541 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38542 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38543
38544 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38545 [HAVE_MMAP].
38546
38547 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38548 Add multiple inclusion protection.
38549
e5abc686
DM
385502012-07-27 David S. Miller <davem@davemloft.net>
38551
38552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38553
815e6fa3
GB
385542012-07-27 Gary Benson <gbenson@redhat.com>
38555
38556 [BZ #14298]
38557 * elf/rtld.c: Include <stap-probe.h>.
38558 (dl_main): Added static probes "init_start" and "init_complete".
38559 * elf/dl-load.c: Include <stap-probe.h>.
38560 (lose): Take new parameter "nsid".
38561 Added static probe "map_failed".
38562 (_dl_map_object_from_fd): Pass namespace id to lose.
38563 Added static probe "map_start".
38564 (open_verify): Pass namespace id to lose.
38565 * elf/dl-open.c: Include <stap-probe.h>.
38566 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38567 and "reloc_complete".
38568 * elf/dl-close.c: Include <stap-probe.h>.
38569 (_dl_close_worker): Added static probes "unmap_start" and
38570 "unmap_complete".
38571 * elf/rtld-debugger-interface.txt: New file documenting the above.
38572
9f98c16c
RM
385732012-07-26 Roland McGrath <roland@hack.frob.com>
38574
38575 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38576 rather than a string variable.
38577 * sunrpc/rpc_main.c (h_output): Likewise.
38578 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38579
f3c22df3
PT
385802012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38581
38582 * inet/check_native.c: New file.
38583
3129cfc6
JM
385842012-07-26 Joseph Myers <joseph@codesourcery.com>
38585
da865e95
JM
38586 [BZ #13629]
38587 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38588 if larger part has absolute value 1.0.
38589 * math/s_clog10.c (__clog10): Likewise.
38590 * math/s_clog10f.c (__clog10f): Likewise.
38591 * math/s_clog10l.c (__clog10l): Likewise.
38592 * math/s_clogf.c (__clogf): Likewise.
38593 * math/s_clogl.c (__clogl): Likewise.
38594 * math/libm-test.inc (clog_test): Add more tests.
38595 (clog10_test): Likewise.
38596 * sysdeps/i386/fpu/libm-test-ulps: Update.
38597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38598
3129cfc6
JM
38599 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38600 (pltexit): Likewise.
38601 (La_regs): Likewise.
38602 (La_retval): Likewise.
38603 (int_retval): Likewise.
38604 Update #error for removed macros to refer only to definitions in
38605 tst-audit.h.
38606 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38607 macro.
38608 (pltexit): Likewise.
38609 (La_regs): Likewise.
38610 (La_retval): Likewise.
38611 (int_retval): Likewise.
38612 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38613 macro.
38614 (pltexit): Likewise.
38615 (La_regs): Likewise.
38616 (La_retval): Likewise.
38617 (int_retval): Likewise.
38618 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38619 macro.
38620 (pltexit): Likewise.
38621 (La_regs): Likewise.
38622 (La_retval): Likewise.
38623 (int_retval): Likewise.
38624 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38625 macro.
38626 (pltexit): Likewise.
38627 (La_regs): Likewise.
38628 (La_retval): Likewise.
38629 (int_retval): Likewise.
38630 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38631 macro.
38632 (pltexit): Likewise.
38633 (La_regs): Likewise.
38634 (La_retval): Likewise.
38635 (int_retval): Likewise.
38636 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38637 macro.
38638 (pltexit): Likewise.
38639 (La_regs): Likewise.
38640 (La_retval): Likewise.
38641 (int_retval): Likewise.
38642 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38643 macro definitions in tst-audit.h.
38644 * sysdeps/i386/tst-audit.h: New file.
38645 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38646 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38647 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38648 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38649 * sysdeps/sh/tst-audit.h: Likewise.
38650 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38651 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38652 * sysdeps/x86_64/tst-audit.h: Likewise.
38653
bfc07087
AJ
386542012-07-26 Andreas Jaeger <aj@suse.de>
38655
b1b2aaf8
AJ
38656 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38657 ptrace.
38658
38659 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38660 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38661 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38662 PTRACE_O_MASK.
38663 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38664 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38665 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38666
bfc07087
AJ
38667 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38668 value.
38669
38670 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38671 _sigsys.
38672 (si_call_addr, si_syscall, si_arch): Define new macro.
38673 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38674 _sigsys.
38675 (si_call_addr, si_syscall, si_arch): Define new marcro.
38676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38677 _sigsys.
38678 (si_call_addr, si_syscall, si_arch): Define new macro.
38679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38680 _sigsys.
38681 (si_call_addr, si_syscall, si_arch): Define new macro.
38682
89b4b02f
JM
386832012-07-25 Joseph Myers <joseph@codesourcery.com>
38684
38685 [BZ #13717]
38686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38687 Change to 2.4.21 where previously 2.4.1.
38688 * sysdeps/unix/sysv/linux/configure: Regenerated.
38689 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38690 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38691 Linux kernel version.
38692 (__ASSUME_STD_AUXV): Remove.
38693 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38694 kernel version.
38695 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38696 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38697 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38698 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38699 (__ASSUME_NETLINK_SUPPORT): Likewise.
38700 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38701 (__no_netlink_support): Remove conditional definition.
38702 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38703 Remove.
38704 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38705 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38706 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38707 (if_nameindex_ioctl): Remove.
38708 (if_nameindex_netlink): Do not handle __no_netlink_support.
38709 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38710 code.
38711 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38712 Remove conditional code.
38713 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38714 code.
38715 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38716 unconditional.
38717 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38718 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38719 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38720 Remove.
38721 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38722 [!__ASSUME_STD_AUXV]: Remove conditional code.
38723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38724 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38725 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38727 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38728 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38729 code.
38730 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38732 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38733 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38734 conditional code.
38735 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38737 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38738 code.
38739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38741 conditional code.
38742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38743 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38744 code unconditional.
38745 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38746 conditional code.
38747 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38748 unconditional.
38749 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38750 conditional code.
38751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38752 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38753 unconditional.
38754 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38755 conditional code.
38756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38757 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38758 code unconditional.
38759 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38760 conditional code.
38761 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38762 unconditional.
38763 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38764 conditional code.
38765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38766 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38767 code unconditional.
38768 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38769 conditional code.
38770 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38771 unconditional.
38772 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38773 conditional code.
38774
842a39cd
AS
387752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38776
38777 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38779 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38780 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38781 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38782 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38783 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38784 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38785 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38786 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38787 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38788 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38789 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38790 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38791 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38792 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38793 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38795 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38797 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38798 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38799 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38800
84b3fd84
FW
388012012-07-25 Florian Weimer <fweimer@redhat.com>
38802
38803 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38804 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38805 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38806 Introduce __libc_secure_getenv.
0c7936d5
FW
38807 * stdlib/Versions (2.17): Add secure_getenv
38808 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38809 * stdlib/secure-getenv.c: Rename __secure_getenv to
38810 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38811 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38812 * stdlib/tst-secure-getenv.c: New.
38813 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38814 * manual/startup.texi (Environment Access): Document
38815 secure_getenv.
84b3fd84
FW
38816 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38817 __libc_secure_getenv.
38818 * inet/ruserpass.c (ruserpass): Likewise.
38819 * malloc/mtrace.c (mtrace): Likewise.
38820 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38821 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38822 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38823 * sysdeps/posix/tempname.c: Likewise. Evaluate
38824 HAVE_SECURE_GETENV.
38825 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38826 __secure_getenv to __libc_secure_getenv.
84b3fd84 38827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38829 Likewise.
38830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38831 Likewise.
38832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38834 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38839
56e49b71
JM
388402012-07-25 Joseph Myers <joseph@codesourcery.com>
38841
38842 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38843 (struct La_i86_retval): Likewise.
38844 (struct La_x86_64_regs): Likewise.
38845 (struct La_x86_64_retval): Likewise.
38846 (struct La_x32_regs): Likewise.
38847 (struct La_x32_retval): Likewise.
38848 (struct La_ppc32_regs): Likewise.
38849 (struct La_ppc32_retval): Likewise.
38850 (struct La_ppc64_regs): Likewise.
38851 (struct La_ppc64_retval): Likewise.
38852 (struct La_sh_regs): Likewise.
38853 (struct La_sh_retval): Likewise.
38854 (struct La_s390_32_regs): Likewise.
38855 (struct La_s390_32_retval): Likewise.
38856 (struct La_s390_64_regs): Likewise.
38857 (struct La_s390_64_retval): Likewise.
38858 (struct La_sparc32_regs): Likewise.
38859 (struct La_sparc32_retval): Likewise.
38860 (struct La_sparc64_regs): Likewise.
38861 (struct La_sparc64_retval): Likewise.
38862 (struct audit_ifaces): Remove architecture-specific pltenter and
38863 pltexit members.
38864 * sysdeps/i386/ldsodefs.h: New file.
38865 * sysdeps/powerpc/ldsodefs.h: Likewise.
38866 * sysdeps/s390/ldsodefs.h: Likewise.
38867 * sysdeps/sh/ldsodefs.h: Likewise.
38868 * sysdeps/sparc/ldsodefs.h: Likewise.
38869 * sysdeps/x86_64/ldsodefs.h: Likewise.
38870
354691b7
MP
388712012-07-25 Marek Polacek <polacek@redhat.com>
38872
38873 [BZ #6808]
38874 * math/libm-test.inc (yn_test): Add another test.
38875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38876 to ERANGE when the result is +-Inf.
38877 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38878 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38879 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38880 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38881
bf9e2071
JM
388822012-07-24 Joseph Myers <joseph@codesourcery.com>
38883
38884 * conform/data/time.h-data (NULL): Use macro-constant. Require
38885 equal to 0.
38886 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38887 clock_t.
38888 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38889
57633811
TS
388902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38891
38892 * configure.in <sysdeps resolving>: Correct printing
38893 Implies_before.
38894 * configure: Regenerate.
38895
c23c33b0
TS
388962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38897
38898 * math/w_ilogb.c: Include <limits.h>.
38899 * math/w_ilogbl.c: Likewise.
38900
b5982523
JM
389012012-07-20 Joseph Myers <joseph@codesourcery.com>
38902
38903 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38904 va_copy. Document allowing for unavailable va_copy only as
38905 pre-C99 compatibility.
38906 * manual/string.texi (Copying and Concatenation): Use va_copy
38907 instead of __va_copy in concat example.
38908
ac4ea442
PT
389092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38910
38911 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38912 (__sendto): Use create_address_port. Initialize APORT and deallocate
38913 it if not null.
38914
f98eafbd
PT
38915 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38916 with O_NOLINK passed to __file_name_lookup.
38917
898c7aab
PT
38918 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38919 with O_NOLINK passed to __file_name_lookup.
38920
0ced335a
PT
38921 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38922 negative N or less than NGIDS.
38923
b3404dbd
PT
38924 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38925 type to string_t. Set ERANGE as errno and return it if NAME is not big
38926 enough. Use memcpy instead of strncpy.
38927
0f48659e
JM
389282012-07-20 Joseph Myers <joseph@codesourcery.com>
38929
38930 * elf/Makefile (check-data): Remove.
38931 (localplt.data): New vpath directive.
38932 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38933 instead of $(check-data).
38934 * scripts/data/localplt-generic.data: Move to ...
38935 * sysdeps/generic/localplt.data: ... here.
38936 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38937 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38938 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38940 ... here.
38941 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38943 ... here.
38944 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38946 ... here.
38947 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38949 ... here.
38950 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38952 ... here.
38953 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38955 ... here.
38956
d37cbdaa
AZ
389572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38958
38959 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38960 PPC32 and PPC64 files.
38961 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38962 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38963
46f85fc2
AK
389642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38965
38966 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38967 __makecontext_ret to ...
38968 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38969 ... here and call exit if uc_link is NULL. New file.
38970 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38971 __makecontext_ret.S.
38972 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38973 __makecontext_ret to ...
38974 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38975 ... here and call exit if uc_link is NULL. New file.
38976 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38977 __makecontext_ret.S.
38978
08f43f9b
AK
389792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38980
38981 * elf/elf.h (R_390_IRELATIVE): New definition.
38982 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38983 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38984 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38985 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38986 (elf_machine_lazy_rel): Likewise.
38987 * sysdeps/s390/dl-irel.h: New file.
38988 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38989 * sysdeps/s390/s390-64/memset.S: New asm code.
38990 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38991 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38992 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38993 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38994 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38995 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38997 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38998 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38999 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39000 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39001 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39002 * sysdeps/s390/s390-32/memset.S: New asm code.
39003 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39004
3b05db33
MP
390052012-07-17 Marek Polacek <polacek@redhat.com>
39006
39007 [BZ #14349]
39008 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39009 * sysdeps/s390/s390-64/configure.in: Likewise.
39010 * sysdeps/sparc/configure.in: Likewise.
39011 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39012 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39013 * sysdeps/i386/configure.in: Likewise.
39014 * sysdeps/x86_64/configure.in: Likewise.
39015 * sysdeps/sh/configure.in: Likewise.
39016 * sysdeps/s390/s390-32/configure: Regenerated.
39017 * sysdeps/s390/s390-64/configure: Likewise.
39018 * sysdeps/x86_64/configure: Likewise.
39019 * sysdeps/sh/configure: Likewise.
39020 * sysdeps/powerpc/powerpc64/configure: Likewise.
39021 * sysdeps/powerpc/powerpc32/configure: Likewise.
39022 * sysdeps/sparc/configure: Likwise.
39023 * sysdeps/i386/configure: Likewise.
39024
a66877c6
MP
39025 * elf/dl-open.c: Comment fixes.
39026
cfc82fd8
JM
390272012-07-17 Joseph Myers <joseph@codesourcery.com>
39028
bd29910a
JM
39029 * Makefile [CXX] (check-data): Remove.
39030 [CXX] (c++-types.data): New vpath directive.
39031 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39032 vpath. Do not allow for C++ type data being missing.
39033 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39034 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39035 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39036 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39037 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39038 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39039 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39041 ... here.
39042 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39044 ... here.
39045 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39047 ... here.
39048 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39050 ... here.
39051 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39053 ... here.
39054 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39056 ... here.
39057 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39059 ... here.
39060 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39062
cfc82fd8
JM
39063 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39064 definitions to architecture-specific files.
39065 (TLS_IE): Likewise.
39066 (TLS_LD): Likewise.
39067 (TLS_GD): Likewise.
39068 * sysdeps/i386/tls-macros.h: New file.
39069 * sysdeps/powerpc/tls-macros.h: Likewise.
39070 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39071 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39072 * sysdeps/sh/tls-macros.h: Likewise.
39073 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39074 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39075 * sysdeps/x86_64/tls-macros.h: Likewise.
39076
f7db3170
TS
390772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39078
07cbfc23
TS
39079 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39080 zero value for regular exit case.
39081
f7db3170
TS
39082 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39083 (__start_context): Preserve zero value for regular exit case.
39084
dc97c227
TS
390852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39086 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39087
39088 * manual/setjmp.texi (setcontext): Clarify normal process
39089 termination when uc_link is the null pointer.
39090 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39091 exit call.
39092
d0cd7d02
AS
390932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39094
39095 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39096 preprocessor. Test for each exception mask separately.
39097
dd318934
AJ
390982012-07-16 Andreas Jaeger <aj@suse.de>
39099
39100 * po/ru.po: Update from translation team.
39101
8048311a
JM
391022012-07-15 Joseph Myers <joseph@codesourcery.com>
39103
39104 * conform/data/string.h-data (NULL): Use macro-constant. Require
39105 equal to 0.
39106 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39107 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39108 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39109 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39111
b637d46e
AJ
391122012-07-13 Andreas Jaeger <aj@suse.de>
39113
39114 * po/fr.po: Update from translation team.
39115
541428fe
MP
391162012-07-12 Marek Polacek <polacek@redhat.com>
39117
39118 [BZ #14173]
39119 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39120 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39121 loop condition.
39122
ec332e94
JM
391232012-07-12 Joseph Myers <joseph@codesourcery.com>
39124
39125 [BZ #13717]
39126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39127 Change to 2.4.1 where previously 2.4.0.
39128 * sysdeps/unix/sysv/linux/configure: Regenerated.
39129 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39130 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39131 version.
39132 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39133 (__ASSUME_AT_CLKTCK): Remove.
39134 (__ASSUME_AT_PAGESIZE): Likewise.
39135 (__ASSUME_AT_XID): Likewise.
39136 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39137 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39138 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39139 unconditionally.
39140 (HAVE_AUX_PAGESIZE): Likewise.
39141 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39142 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39143 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39144
7b6e99be
JB
391452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39146
39147 [BZ #14307]
39148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39149 the temporary buffer used to invoke __gethostbyname2_r,
39150 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39151 host_data / struct gaih_addrtuple.
39152 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39153 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39154 header file nss/nsswitch.h.
39155 * nss/nsswitch.h (global scope): Add definition of implementation
39156 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39157 resolv/nss_dns/dns-host.c).
39158
608404eb
AJ
391592012-07-11 Andreas Jaeger <aj@suse.de>
39160
39161 * po/fr.po: Update from translation team.
39162
71220aca
AJ
39163 * po/sv.po: Update from translation team
39164 * po/fr.po: Another update from translation team.
39165
28cfe843
AZ
391662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39167
39168 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39169 for subnormals or multiply small sinh result by itself.
39170 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39172
6b90f981
DM
391732012-07-11 David S. Miller <davem@davemloft.net>
39174
39175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39176
c6825772
AS
391772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39178
39179 [BZ #14347]
39180 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39181 (INTERNAL_MARK): Shift it here.
39182
7b8e0d49
MP
391832012-07-10 Marek Polacek <polacek@redhat.com>
39184
39185 [BZ #14151]
39186 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39187 libc_cv_asm_global_directive with .globl.
39188 * configure: Regenerated.
39189 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39190 with .globl.
39191 * sysdeps/i386/configure: Regenerated.
39192 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39193 with .globl.
39194 * sysdeps/x86_64/configure: Regenerated.
39195 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39196 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39197 * elf/tst-unique2mod2.c: Likewise.
39198 * elf/tst-unique2mod1.c: Likewise.
39199 * elf/tst-unique1mod2.c: Likewise.
39200 * elf/tst-unique1mod1.c: Likewise.
39201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39202 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39203 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39204 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39205 * sysdeps/mach/sysdep.h: Likewise.
39206 * sysdeps/i386/sysdep.h: Likewise.
39207 * sysdeps/i386/i386-mcount.S: Likewise.
39208 * sysdeps/x86_64/_mcount.S: Likewise.
39209 * sysdeps/x86_64/sysdep.h: Likewise.
39210 * sysdeps/sh/_mcount.S: Likewise.
39211 * sysdeps/sh/sysdep.h: Likewise.
39212 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39213 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39214 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39215 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39216 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39217 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39218 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39219 * locale/localeinfo.h: Likewise.
39220 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39221 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39222
6c55cda3
RM
392232012-07-09 Roland McGrath <roland@hack.frob.com>
39224
39225 [BZ #14336]
39226 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39227 system".
39228 * manual/message.texi (The Uniforum approach): Likewise.
39229 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39230 (glibc iconv Implementation): Likewise.
39231
638a572e
JM
392322012-07-09 Joseph Myers <joseph@codesourcery.com>
39233
39234 [BZ #14337]
39235 * math/s_clog.c (__clog): Avoid scaling a value down where that
39236 could result in underflow.
39237 * math/s_clog10.c (__clog10): Likewise.
39238 * math/s_clog10f.c (__clog10f): Likewise.
39239 * math/s_clog10l.c (__clog10l): Likewise.
39240 * math/s_clogf.c (__clogf): Likewise.
39241 * math/s_clogl.c (__clogl): Likewise.
39242 * math/libm-test.inc (clog_test): Add more tests.
39243 (clog10_test): Likewise.
39244 * sysdeps/i386/fpu/libm-test-ulps: Update.
39245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39246
261f4859
AS
392472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39248
0abaf3e4
AS
39249 [BZ #14283]
39250 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39251 by 7 not 8 to examine high bit of fractional part.
39252
261f4859
AS
39253 [BZ #14042]
39254 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39255 for call to __mcount_internal.
39256 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39257 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39258 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39259
f17ac40d
JM
392602012-07-06 Joseph Myers <joseph@codesourcery.com>
39261
9ad63c23
JM
39262 [BZ #14154]
39263 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39264 approximation for values within 0x1p-13f of an odd multiple of
39265 pi/4.
39266 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39267 exception. Add more tests.
39268 * sysdeps/i386/fpu/libm-test-ulps: Update.
39269
f17ac40d
JM
39270 [BZ #6778]
39271 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39272 inputs and return -1 for them. Do not check for +Inf in case not
39273 reachable for +Inf.
39274 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39275 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39276 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39277 and return -1 for them. Do not check for +Inf in case not
39278 reachable for +Inf.
39279 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39280 define.
39281 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39282 and return -1 for them. Do not check for +Inf in case not
39283 reachable for +Inf.
39284 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39285 spurious underflow.
39286 * sysdeps/i386/fpu/libm-test-ulps: Update.
39287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39288
fb21f89b
MF
392892012-07-06 Mike Frysinger <vapier@gentoo.org>
39290
39291 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39292
cdfe2c5e
JM
392932012-07-05 Joseph Myers <joseph@codesourcery.com>
39294
39295 [BZ #14157]
39296 [BZ #14331]
39297 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39298 could result in spurious underflow. Scale down values above
39299 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39300 * math/s_csqrtf.c (__csqrtf): Likewise.
39301 * math/s_csqrtl.c (__csqrtl): Likewise.
39302 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39303 spurious underflow.
39304 * sysdeps/i386/fpu/libm-test-ulps: Update.
39305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39306
70d35b67
AS
393072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39308
704bc459
AS
39309 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39310 xopen-msg.sed.
39311 * catgets/xopen-msg.awk: New file.
39312 * catgets/xopen-msg.sed: Removed.
39313
70d35b67
AS
39314 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39315 po2text.sed.
39316 * intl/po2test.awk: New file.
39317 * intl/po2test.sed: Removed.
39318
ca61cf32
JM
393192012-07-04 Joseph Myers <joseph@codesourcery.com>
39320
39321 [BZ #14328]
39322 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39323 or multiply small sinh result by itself.
39324 * math/s_ctanf.c (__ctanf): Likewise.
39325 * math/s_ctanh.c (__ctanh): Likewise.
39326 * math/s_ctanhf.c (__ctanhf): Likewise.
39327 * math/s_ctanhl.c (__ctanhl): Likewise.
39328 * math/s_ctanl.c (__ctanl): Likewise.
39329 * math/libm-test.inc (ctan_test_tonearest): New function.
39330 (ctan_test_towardzero): Likewise.
39331 (ctan_test_downward): Likewise.
39332 (ctan_test_upward): Likewise.
39333 (ctanh_test_tonearest): Likewise.
39334 (ctanh_test_towardzero): Likewise.
39335 (ctanh_test_downward): Likewise.
39336 (ctanh_test_upward): Likewise.
39337 (main): Call these new functions.
39338 * sysdeps/i386/fpu/libm-test-ulps: Update.
39339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39340
ca48a46a
MF
393412012-07-03 Mike Frysinger <vapier@gentoo.org>
39342
39343 * .gitignore: Delete /ports entry.
39344
9d63d37d
AJ
393452012-07-03 Andreas Jaeger <aj@suse.de>
39346
39347 * po/bg.po: Update from translation team.
39348 * po/cs.po: Likewise.
39349 * po/de.po: Likewise.
39350 * po/hr.po: Likewise.
39351 * po/nl.pl: Likewise.
39352 * po/pl.po: Likewise.
39353 * po/vi.po: Likewise.
39354
370ca3d2
JM
393552012-07-03 Joseph Myers <joseph@codesourcery.com>
39356
95f5a9a8
JM
39357 * Makeconfig [!+link] (+link-before-libc): New variable.
39358 [!+link] (+link-after-libc): Likewise.
39359 [!+link] (+link-tests): Likewise.
39360 [!+link] (+link): Define in terms of $(+link-before-libc) and
39361 $(+link-after-libc).
39362 [!+link-static] (+link-static-before-libc): New variable.
39363 [!+link-static] (+link-static-after-libc): Likewise.
39364 [!+link-static] (+link-static-tests): Likewise.
39365 [!+link-static] (+link-static): Define in terms of
39366 $(+link-static-before-libc) and $(+link-static-after-libc).
39367 [build-shared] (link-libc-before-gnulib): New variable.
39368 [build-shared] (link-libc-tests): Likewise.
39369 [build-shared] (link-libc): Define in terms of
39370 $(link-libc-before-gnulib).
39371 [!build-shared] (link-libc-tests): New variable.
39372 (link-libc-static-tests): New variable.
39373 [!gnulib] (gnulib-arch): New variable.
39374 [!gnulib] (gnulib-tests): Likewise.
39375 [!gnulib] (static-gnulib-arch): Likewise.
39376 [!gnulib] (static-gnulib-tests): Likewise.
39377 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39378 Define with "=" instead of ":=".
39379 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39380 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39381 * Rules (binaries-all-notests): New variable.
39382 (binaries-all-tests): Likewise.
39383 (binaries-static-notests): Likewise.
39384 (binaries-static-tests): Likewise.
39385 (binaries-all): Define using $(binaries-all-notests) and
39386 $(binaries-all-tests).
39387 (binaries-static): Define using $(binaries-static-notests) and
39388 $(binaries-static-tests).
39389 (binaries-shared-tests): New variable.
39390 (binaries-shared-notests): Likewise.
39391 (binaries-shared): Remove variable.
39392 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39393 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39394 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39395 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39396 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39397 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39398 * elf/Makefile (sln-modules): New variable.
39399 (extra-objs): Add $(sln-modules:=.o).
39400 (ldconfig-modules): Add static-stubs.
39401 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39402 * elf/static-stubs.c: New file.
39403
7a845b2c
JM
39404 [BZ #14283]
39405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39406 by 7 not 8 to examine high bit of fractional part. Use volatile
39407 variables when splitting into final array of floats if
39408 __FLT_EVAL_METHOD__ != 0.
39409 * math/libm-test.inc (cos_test): Add another test.
39410 (sin_test): Likewise.
39411 * sysdeps/i386/fpu/libm-test-ulps: Update.
39412
e2283f38
JM
39413 [BZ #14273]
39414 * math/libm-test.inc (cosh_test): Add more tests.
39415
370ca3d2
JM
39416 * version.h (RELEASE): Set to "development".
39417 (VERSION): Set to "2.16.90".
39418
ee9247c3
CD
394192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39420
39421 * NEWS: Update copyright. Remove last-updated date.
39422 Mention math library bug fixes and timezone data changes.
39423 * README: Mention GNU/Hurd, x32, and HPPA support status.
39424
4648c381
TS
394252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39426
39427 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39428
aac78a43
AJ
394292012-06-27 Andreas Jaeger <aj@suse.de>
39430
39431 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39432
ed3dbfad
AJ
394332012-06-25 Andreas Jaeger <aj@suse.de>
39434
39435 * sysdeps/s390/fpu/libm-test-ulps: Update.
39436
4d0ee855
AS
394372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39438 Thomas Schwinge <thomas@codesourcery.com>
39439
39440 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39441 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39442 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39443 fanotify_mark.
39444
af1bce34
TS
394452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39446
a9fa33ba
TS
39447 * sysdeps/mach/start.c: Remove file.
39448 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39449 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39450 * sysdeps/sh/init-first.c: Likewise.
39451
58f902b8
TS
39452 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39453 registers for frame unwinding purposes, add CFI directives.
39454 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39455 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39456 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39457 Likewise.
39458
1518f58b
TS
39459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39460 __fortify_fail returning.
39461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39462
db9b5059
TS
39463 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39464 sysdeps/sh/____longjmp_chk.S.
39465 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39466 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39467 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39468 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39469
967705fe
TS
39470 * sysdeps/sh/abort-instr.h: New file.
39471 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39472 process in case exit returns.
39473
a9def8c4
TS
39474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39475 initialize the GOT register before use.
39476
2a649725
TS
39477 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39478 calculation of ARGC > 4.
39479
af1bce34
TS
39480 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39481 meaningful names to some local labels.
39482
d230f50a
KK
394832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39484 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39485
39486 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39487 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39488 (__arch_compare_and_exchange_val_16_acq): Likewise.
39489 (__arch_compare_and_exchange_val_32_acq): Likewise.
39490 (atomic_exchange_and_add): Fix gUSA sequence.
39491 (atomic_add): Likewise.
39492 (atomic_add_negative): Likewise.
39493 (atomic_add_zero): Likewise.
39494 (atomic_bit_test_set): Likewise.
39495
0479b305
AS
394962012-06-22 Andreas Schwab <schwab@redhat.com>
39497
39498 [BZ #13579]
39499 * include/link.h (struct link_map): Add l_free_initfini.
39500 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39501 l_initfini.
39502 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39503 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39504 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39505 set.
39506
0e3933b9
CD
395072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39508
39509 * configure.in: Use AC_LANG_SOURCE.
39510 * configure: Regenerate.
39511
4248b1b1
RM
395122012-06-22 Roland McGrath <roland@hack.frob.com>
39513
39514 * configure.in (libc_cv_localstatedir): New substituted variable.
39515 * configure: Regenerated.
39516 * config.make.in (localstatedir): New variable, substituted from
39517 libc_cv_localstatedir.
39518 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39519 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39520 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39521 * sysdeps/gnu/configure: Regenerated.
39522
006dd861
JL
395232012-06-21 Jeff Law <law@redhat.com>
39524
39525 [BZ #14277]
39526 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39527 free. Simplify list management for _LIBC case.
39528
79662d42
JM
395292012-06-21 Joseph Myers <joseph@codesourcery.com>
39530
b7abb4bf
JM
39531 [BZ #14273]
39532 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39533 Clear sign bit of 64-bit integer value before comparing against
39534 overflow value.
39535
79662d42
JM
39536 * sysdeps/mach/configure: Regenerated.
39537
1f150908
L
395382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39539
39540 [BZ #14278]
39541 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39542
28363bbf
JL
395432012-06-21 Jeff Law <law@redhat.com>
39544
39545 [BZ #13882]
39546 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39547 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39548 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39549 * elf/dl-open.c (dl_open_worker): Likewise.
39550
09615db4
CD
395512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39552
39553 * scripts/list-sources.sh: Scan PORTS for translations.
39554 * po/libc.pot: Regenerated.
39555
2174c6dd
AJ
395562012-06-21 Andreas Jaeger <aj@suse.de>
39557
39558 [BZ #12194]
39559 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39560 warning.
39561 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39562 * bits/byteswap-16.h (__bswap_16): Likewise.
39563 * bits/byteswap.h (__bswap_constant_16): Likewise.
39564
3ee947b1
L
395652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39566
39567 [BZ #14117]
a2f34833
L
39568 * sysdeps/i386/fpu_control.h: Removed.
39569 * sysdeps/x86_64/fpu_control.h: Moved to ...
39570 * sysdeps/x86/fpu_control.h: Here.
39571
3ee947b1
L
39572 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39573 (_FPU_SETCW): Likewise.
39574
ed1825f8
L
395752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39576
25f1282a
L
39577 [BZ #14117]
39578 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39579 * sysdeps/x86/fpu/bits/mathinline.h: This.
39580 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39581
ed1825f8
L
39582 [BZ #14050]
39583 [BZ #14117]
39584 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39585 functions if __x86_64__ is defined.
39586
36d54b74
CLT
395872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39588
39589 * string/endian.h: Add !__ASSEMBLER__ condition for including
39590 conversion interfaces.
39591
10285c21
JM
395922012-06-15 Joseph Myers <joseph@codesourcery.com>
39593
39594 [BZ #14241]
39595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39596 of ABS(x) in calculating zero to negative powers other than odd
39597 integers.
39598 * math/libm-test.inc (pow_test): Add more tests.
39599
06c5abbd
AJ
396002012-06-15 Andreas Jaeger <aj@suse.de>
39601
39602 * manual/contrib.texi (Contributors): Update entry of Liubov
39603 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39604 Machado Filho.
39605
a3aeac40
CH
396062012-06-15 Cyril Hrubis <metan@ucw.cz>
39607
39608 * string/string.h: Add __wur to GNU version of strerror_r.
39609
49bdf4c1
L
396102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39611
39612 [BZ #14229]
39613 * string/Makefile (tests): Add tst-strtok_r.
39614 * string/tst-strtok_r.c: New file.
39615 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39616 RAX_LP/RDX_LP on SAVE_PTR.
39617
834f9b8d
RM
396182012-06-14 Roland McGrath <roland@hack.frob.com>
39619
39620 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39621
75fa1921
JM
396222012-06-14 Joseph Myers <joseph@codesourcery.com>
39623
39624 * libm_test.inc (csqrt_test): Allow more spurious underflow
39625 exceptions.
39626 (j0_test): Likewise.
39627 (j1_test): Likewise.
39628 (y0_test): Likewise.
39629 (y1_test): Likewise.
39630
771766df
CD
396312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39632
39633 * po/Makefile (libc.pot): Use UTF-8 charset.
39634
ceb9e56b
PP
396352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39636
39637 [BZ #14210]
39638 Suppress sign-conversion warning from FD_SET.
39639 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39640 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39641 not unsigned long int.
39642 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39643
ddb28975
L
396442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39645
39646 [BZ #14050]
39647 [BZ #14117]
39648 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39649 __extern_always_inline instead of __extern_inline.
39650 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39651 (__signbit): Likewise.
39652 (__signbitl): Support C++ namespace.
39653 (lrintf): New inline function.
39654 (lrint): Likewise.
39655 (llrintf): Likewise.
39656 (llrint): Likewise.
39657 (fmaxf): Likewise.
39658 (fmax): Likewise.
39659 (fminf): Likewise.
39660 (fmin): Likewise.
39661 (rint): Likewise.
39662 (rintf): Likewise.
39663 (ceil): Likewise.
39664 (ceilf): Likewise.
39665 (floor): Likewise.
39666 (floorf): Likewise.
39667 (nearbyint): Likewise.
39668 (nearbyintf): Likewise.
39669
d7b4fb26
TS
396702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39671
39672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39673 non-default versions.
39674
eb55f5c2
RM
396752012-06-11 Roland McGrath <roland@hack.frob.com>
39676
39677 [BZ #14218]
39678 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39679
366af02c
TS
396802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39681
99ff6e5c
TS
39682 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39683 (FE_UPWARD, FE_DOWNWARD): Don't define.
39684 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39685 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39686
366af02c
TS
39687 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39688 reading it.
39689 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39690 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39691
793ea851
KK
396922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39693
39694 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39696 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39697 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39698
a728a38f
L
396992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39700
39701 [BZ #14117]
c08010c7
L
39702 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39703 * sysdeps/i386/fpu/Implies: New file.
39704 * sysdeps/x86_64/fpu/Implies: Likewise.
39705 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39706 * sysdeps/x86/fpu/bits/fenv.h: This.
39707
a728a38f
L
39708 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39709 __SSE_MATH__.
39710
6e230d11
SP
397112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39712
39713 [BZ #14134]
39714 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39715 character 0xffff that matches the last element of the
39716 conversion table.
39717
1b671feb
AZ
397182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39719
39720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39721 fmodl commit.
39722
6043738b
AZ
397232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39724
39725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39726 values higher than 25.6283.
39727
34ae0b32
AZ
397282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39729
39730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39731 subnormal exponent extraction and add some __builtin_expect.
39732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39733 Fix for subnormal mantissa calculation.
39734
1214ec8f
MF
397352012-06-04 Mike Frysinger <vapier@gentoo.org>
39736
39737 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39738 cpu2 is -1 and errno is not ENOSYS.
39739
f3d1f93c
L
397402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39741
39742 [BZ #14117]
0e4a3cd7
L
39743 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39744 * sysdeps/x86/bits/string.h: This.
39745 * sysdeps/x86_64/bits/string.h: Removed.
39746
6704c645
L
39747 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39748 if not compiling for x86-64, but compiling for >= i486.
39749
48495318
L
39750 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39751 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39752
14adcbfc
L
39753 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39754 New macro from Linux kernel 3.4.0.
39755 (FP_XSTATE_MAGIC2): Likewise.
39756 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39757 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39758 (struct _fpx_sw_bytes): New struct.
39759 (struct _xsave_hdr): Likewise.
39760 (struct _ymmh_state): Likewise.
39761 (struct _xstate): Likewise.
39762
68e408ab
L
39763 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39764 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39765 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39766 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39767 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39768 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39769
f3d1f93c
L
39770 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39771 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39772 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39773 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39774 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39775 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39776
d9dc34cd
TMQMF
397772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39778
39779 [BZ #13743]
39780 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39781 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39782 (sysdep_headers): Include sys/platform/ppc.h.
39783 * sysdeps/powerpc/test-gettimebase.c: Test for
39784 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39785 * manual/Makefile (appendices): Include platform.texi.
39786 * manual/contrib.texi (Contributors): Update @node pointers.
39787 * manual/maint.texi (Maintenance): Likewise.
39788 (Platform): New node.
39789 * manual/platform.texi: New file. Document the new features.
39790
4af3879c
SP
397912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39792 Jakub Jelinek <jakub@redhat.com>
39793
39794 [BZ #14188]
39795 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39796 where __builtin_expect is unavailable.
39797
2fd6ff13
DM
397982012-06-03 David S. Miller <davem@davemloft.net>
39799
39800 * stdlib/longlong.h: Updated from GCC.
39801
173f7220
AS
398022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39803
39804 [BZ #14042]
39805 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39806 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39807 __mcount_internal.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39809 (GLIBC_2.16): Likewise.
39810
f34a1c6f
L
398112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39812
39813 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39814
88a4576f
JM
398152012-06-01 Joseph Myers <joseph@codesourcery.com>
39816
ea32bcdd
JM
39817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39818 (default-abi): New variable.
39819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39820 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39821 variable.
39822 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39823 Likewise.
39824 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39825 Likewise.
39826 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39827 Likewise.
39828
88a4576f
JM
39829 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39830 definition. Document in comment.
39831
402fe938
DM
398322012-06-01 David S. Miller <davem@davemloft.net>
39833
39834 * stdlib/longlong.h: Updated from GCC.
39835
3553723f
L
398362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39837
39838 [BZ #14117]
3bd872c4
L
39839 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39840 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39841 sys/debugreg.h sys/io.h here.
39842 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39843 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39844 sys/io.h.
39845 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39846 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39847 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39848 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39849 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39850 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39851
3553723f
L
39852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39853 Define only if __x86_64__ is defined.
39854
4842e4fe
JM
398552012-06-01 Joseph Myers <joseph@codesourcery.com>
39856
c5bfe3d5
JM
39857 [BZ #14048]
39858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39859 Use int64_t for variable i.
39860 * math/libm-test.inc (fmod_test): Add more tests.
39861
4842e4fe
JM
39862 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39863 z computation is not scheduled after fetestexcept.
39864 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39865 Use math_force_eval instead of asm to ensure calculation scheduled
39866 before exception test.
39867 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39868 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39869
efb73488
AJ
398702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39871
39872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39873 computation is not scheduled after fetestexcept.
39874
29bcce7c
L
398752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39876
39877 [BZ #14117]
39878 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39879 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39880
73a68f94
AZ
398812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39882
39883 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39884 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39885
67b6df78
L
398862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39887
edf2933a 39888 [BZ #14117]
ebc64a18
L
39889 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39890 <bits/wordsize.h>.
39891 (__WCHAR_MIN): Support __WORDSIZE == 64.
39892 (__WCHAR_MAX): Likewise.
39893
edf2933a
L
39894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39895 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39896
57c6cf40
L
39897 [BZ #14183]
39898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39899 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39900
67b6df78 39901 [BZ #14117]
8eb6281e
L
39902 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39903 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39904
aac639f4
L
39905 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39906 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39907
67b6df78
L
39908 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39909 Defined to 1 if __x86_64__ isn't defined.
39910 (_STAT_VER_LINUX_OLD): New.
39911 (st_atime): Remove duplicate.
39912 (st_mtime): Likewise.
39913 (st_ctime): Likewise.
39914
1c2cfe81
DM
399152012-05-31 David S. Miller <davem@davemloft.net>
39916
39917 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39918 entries.
39919
5be8418c
AS
399202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39921
e7725326
AS
39922 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39923 gen-libm-test.pl.
39924
5be8418c
AS
39925 [BZ #14132]
39926 * elf/dl-reloc.c: Include <_itoa.h>.
39927 (_dl_reloc_bad_type): Remove use of INTUSE.
39928 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39929 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39930 * stdio-common/psiginfo.c (psiginfo): Likewise.
39931 * stdio-common/psignal.c (psignal): Likewise.
39932 * string/strsignal.c (strsignal): Likewise.
39933 * include/signal.h (_sys_siglist): Declare hidden proto.
39934 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39935 INTVARDEF with libc_hidden_data_def.
39936 * stdio-common/itoa-udigits.c: Likewise.
39937 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39938 (_itoa_lower_digits_internal): Remove declaration.
39939 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39940 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39941 (_sys_sigabbrev_internal): Remove aliases.
39942 (_sys_siglist): Define hidden alias.
39943
507352f1
MT
399442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39945
39946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39947 bits/sysctl.h.
39948
42bbb1c3
L
399492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39950
39951 [BZ #14117]
6bd784b6
L
39952 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39953 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39954
8bca20f0
L
39955 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39956 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39957 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39958 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39960 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39961
f9e890a9
L
39962 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39963 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39964 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39965
471101a1
L
39966 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39967 with __addr.
39968 (insw): Likewise.
39969 (insl): Likewise.
39970 (outsb): Likewise.
39971 (outsw): Likewise.
39972 (outsl): Likewise.
39973
6451c862
L
39974 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39977
a254b8c9
L
39978 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39979 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39980 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39981 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39982 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39983 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39984
b8dfdd92
L
39985 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39986 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39987
578cd270
L
39988 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39989 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39990
de662f5f
L
39991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39993 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39994
25653439
L
39995 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39996 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39997 to ...
39998 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39999
6bad24a0
L
40000 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40001 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40002 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40003
42bbb1c3
L
40004 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40005 for x86-64.
40006 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40007
2d10d547
JM
400082012-05-31 Joseph Myers <joseph@codesourcery.com>
40009
40010 * math/math.h (M_El): Use two more decimal places.
40011 (M_LOG2El): Likewise.
40012 (M_LOG10El): Likewise.
40013 (M_LN2l): Likewise.
40014 (M_LN10l): Likewise.
40015 (M_PIl): Likewise.
40016 (M_PI_2l): Likewise.
40017 (M_PI_4l): Likewise.
40018 (M_1_PIl): Likewise.
40019 (M_2_PIl): Likewise.
40020 (M_2_SQRTPIl): Likewise.
40021 (M_SQRT2l): Likewise.
40022 (M_SQRT1_2l): Likewise.
40023
f230c29b
DM
400242012-05-31 David S. Miller <davem@davemloft.net>
40025
40026 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40027 values between float registers.
40028 * sysdeps/sparc/sparc64/memset.S: Likewise.
40029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40030
fed806c3
MF
400312012-05-31 Mike Frysinger <vapier@gentoo.org>
40032
40033 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40034 -D_FORTIFY_SOURCE=1.
40035 (CPPFLAGS-tst-longjmp_chk.c): Define.
40036 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40037 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40038 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40039 CFLAGS-tst-wchar-h.c.
40040
30917259
MP
400412012-05-31 Marek Polacek <polacek@redhat.com>
40042
40043 [BZ #14132]
40044 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40045 __endmntent_internal): Remove declaration.
40046 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40047 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40048 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40049
1c58d5dc
DM
400502012-05-30 David S. Miller <davem@davemloft.net>
40051
40052 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40053 (___Q_simulate_exceptions): Use real FP ops rather than writing
40054 into the %fsr.
40055 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40056 Likewise.
40057
7dc00e0d
L
400582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40059
40060 [BZ #14117]
0bd53985
L
40061 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40062 * sysdeps/x86/bits/xtitypes.h: This.
40063
3a257e66
L
40064 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40065 * sysdeps/x86/bits/wordsize.h: This.
40066
62f62904
L
40067 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40068 * sysdeps/x86/bits/huge_vall.h: This.
40069
404fe9d9
L
40070 * sysdeps/i386/bits/select.h: Removed.
40071 * sysdeps/x86_64/bits/select.h: Renamed to ...
40072 * sysdeps/x86/bits/select.h: This.
40073
d48d0446
L
40074 * sysdeps/i386/bits/setjmp.h: Removed.
40075 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40076 * sysdeps/x86/bits/setjmp.h: This.
40077
7dc00e0d
L
40078 * sysdeps/i386/bits/mathdef.h: Removed.
40079 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40080 * sysdeps/x86/bits/mathdef.h: This.
40081
03277f8f
AS
400822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40083
40084 [BZ #14132]
40085 * include/sys/socket.h (__connect_internal)
40086 (__libc_sa_len_internal): Remove declaration.
40087 (__connect, __libc_sa_len): Declare hidden_proto.
40088 (SA_LEN): Remove use of INTUSE.
40089 * socket/connect.c: Add libc_hidden_def.
40090 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40091 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40092 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40093 alias.
40094 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40095 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40096 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40097 of adding _internal alias.
40098
13764867
L
400992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40100
40101 [BZ #14117]
6bd97696
L
40102 * sysdeps/i386/bits/link.h: Removed.
40103 * sysdeps/i386/bits/linkmap.h: Likewise.
40104 * sysdeps/x86_64/bits/link.h: Renamed to ...
40105 * sysdeps/x86/bits/link.h: This.
40106 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40107 * sysdeps/x86/bits/linkmap.h: This.
40108
f726f0bb
L
40109 * sysdeps/i386/bits/endian.h: Removed.
40110 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40111 * sysdeps/x86/bits/endian.h: This.
40112
13764867
L
40113 * sysdeps/i386/bits/byteswap.h: Removed.
40114 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40115 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40116 * sysdeps/x86/bits/byteswap.h: This.
40117 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40118 * sysdeps/x86/bits/byteswap-16.h: This.
40119 * sysdeps/i386/Implies: Add x86.
40120 * sysdeps/x86_64/Implies: Likewise.
40121
ae251b0b
DM
401222012-05-30 David S. Miller <davem@davemloft.net>
40123
40124 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40125 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40126 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40127 (FP_TRAPPING_EXCEPTIONS): Define.
40128 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40129 (FP_TRAPPING_EXCEPTIONS): Define.
40130 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40131 subnormals only when inexact has been signalled or underflow
40132 exceptions are enabled.
40133 (_FP_PACK_CANONICAL): Likewise.
40134
d5c90867
L
401352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40136
40137 [BZ #14183]
40138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40139 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40140
63f1549e
RH
401412012-05-30 Richard Henderson <rth@twiddle.net>
40142
8d8f2279
RH
40143 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40144 with #ifndef NOT_IN_libc.
40145
63f1549e
RH
40146 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40147 marked to avoid plt entry.
40148
0ab0291b
L
401492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40150
40151 [BZ #14112]
40152 * Makeconfig (default-abi): New macro.
40153 (abi-includes): Likewise.
40154 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40155 $(abi-$(default-abi)-lib-soname) for soname if defined.
40156 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40157 abi-variants.
40158 * Makefile (installed-stubs): Likewise.
40159 * include/stubs-biarch.h: Removed.
40160 * scripts/lib-names.awk: Only handle one library at a time.
40161 * scripts/soversions.awk: Remove WORDSIZE support.
40162 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40163 entries.
40164 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40165 Removed.
40166 (syscall-list-default-condition): Likewise.
40167 (syscall-list-default-condition): Likewise.
40168 (syscall-list-includes): Likewise.
40169 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40170 syscall-list-* with abi-*. Handle undefined abi-variants.
40171 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40172 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40173 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40174 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40175 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40176 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40177 Removed.
40178 (syscall-list-32-options): Likewise.
40179 (syscall-list-32-condition): Likewise.
40180 (syscall-list-64-options): Likewise.
40181 (syscall-list-64-condition): Likewise.
40182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40183 macro.
40184 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40185 Renamed to ...
40186 (abi-*): This.
40187 (abi-64-ld-soname): New macro.
40188 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40189 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40190 Renamed to ...
40191 (abi-*): This.
40192 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40193 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40194
4da0431d
JM
401952012-05-30 Joseph Myers <joseph@codesourcery.com>
40196
3a85279c
JM
40197 * sysdeps/unix/sysv/linux/kernel-features.h
40198 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40199 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40200 include <kernel-features.h>.
40201 [!__NR_ftruncate64]: Remove conditional code.
40202 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40203 [__NR_ftruncate64]: Make code unconditional.
40204 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40205 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40206 include <kernel-features.h>.
40207 [!__NR_ftruncate64]: Remove conditional code.
40208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40209 [__NR_ftruncate64]: Make code unconditional.
40210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40212 include <kernel-features.h>.
40213 [!__NR_ftruncate64]: Remove conditional code.
40214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40215 [__NR_ftruncate64]: Make code unconditional.
40216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40218 include <kernel-features.h>.
40219 [!__NR_ftruncate64]: Remove conditional code.
40220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40221 [__NR_ftruncate64]: Make code unconditional.
40222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40223
4da0431d
JM
40224 * configure.in (libc_cv_fpie): Weaken to a compile test using
40225 LIBC_TRY_CC_OPTION.
40226 * configure: Regenerated.
40227
11ef492c
AK
402282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40229
40230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40234 Refreshed.
40235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40241 Refreshed.
40242
d66ef399
DM
402432012-05-27 David S. Miller <davem@davemloft.net>
40244
40245 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40246 (___Q_zero): New.
40247 (__Q_simulate_exceptions): Return void. Change to simulate
40248 exceptions by writing into the %fsr.
40249 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40250 (__Qp_handle_exceptions): Likewise.
40251 (numbers): Delete.
40252 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40253 __Qp_handle_exceptions.
40254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40255 __Qp_handle_exceptions.
40256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40257 as unused and give dummy FP_RND_NEAREST initializer.
40258 (FP_INHIBIT_RESULTS): Define.
40259 (___Q_simulate_exceptions): Update declaration.
40260 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40261 formatting.
40262 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40263 as unused and give dummy FP_RND_NEAREST initializer.
40264 (__Qp_handle_exceptions): Update declaration.
40265 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40266 formatting.
40267
04fb54b5
TS
402682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40269
40270 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40271 the temporary FPU control word.
40272 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40273 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40274 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40275 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40276 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40277 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40278 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40280 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40281 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40283
3f99608f
KK
402842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40285
40286 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40287 fields.
40288
65a4de4e
CLT
402892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40290
40291 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40292 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40293 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40294 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40295 Likewise.
40296 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40297 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40298 Likewise.
40299
15749d40
UD
403002012-05-27 Ulrich Drepper <drepper@gmail.com>
40301
40302 * po/h.po: Update from translation team.
40303
25dbcb27
AS
403042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40305
3d3f8e55
AS
40306 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40307
25dbcb27
AS
40308 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40309 handling of denormals.
40310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40311 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40312 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40317 Likewise.
40318
7ad47a80 403192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40320
40321 [BZ #14152]
40322 * math/libm-test.inc (fma_test): Don't always expect underflow
40323 exception.
40324
9c6ea9fa
SP
403252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40326
40327 [BZ #12416]
40328 * elf/tst-execstack.c: Include stackinfo.h.
40329 (do_test): Adjust test case to ensure that pthread_getattr_np
40330 behaviour remains the same after marking stack executable.
40331
a8239222
JM
403322012-05-25 Joseph Myers <joseph@codesourcery.com>
40333
40334 * sysdeps/unix/sysv/linux/kernel-features.h
40335 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40336 * sysdeps/unix/sysv/linux/i386/getrlimit.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 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40341 kernel-features.h.
40342 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40343 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40344
918b5606
L
403452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40346
40347 * configure.in: Define the default includes to being none.
40348 * configure: Regenerated.
40349
3a097cc7
RM
403502012-05-25 Roland McGrath <roland@hack.frob.com>
40351
8422c9a5
RM
40352 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40353 * sysdeps/x86_64/setjmp.S: Likewise.
40354 * sysdeps/i386/bsd-setjmp.S: Likewise.
40355 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40356 * sysdeps/i386/setjmp.S: Likewise.
40357 * sysdeps/i386/__longjmp.S: Likewise.
40358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40359 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40360
3a097cc7
RM
40361 * include/stap-probe.h: New file.
40362 * configure.in: Handle --enable-systemtap.
40363 * configure: Regenerated.
40364 * config.h.in (USE_STAP_PROBE): New #undef.
40365 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40366 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40367 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40368
21708942
JM
403692012-05-25 Joseph Myers <joseph@codesourcery.com>
40370
40371 [BZ #13717]
40372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40373 to 2.4.0 where earlier.
40374 * sysdeps/unix/sysv/linux/configure: Regenerated.
40375 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
40380 <kernel-features.h>.
40381 [__ASSUME_32BITUIDS]: Make code unconditional.
40382 [!__ASSUME_32BITUIDS]: Remove conditional code.
40383 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40384 [__ASSUME_32BITUIDS]: Make code unconditional.
40385 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40386 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
40423 <kernel-features.h>.
40424 [__ASSUME_32BITUIDS]: Make code unconditional.
40425 [!__ASSUME_32BITUIDS]: Remove conditional code.
40426 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40427 <kernel-features.h>.
40428 [__NR_setresgid] (__setresgid): Do not declare.
40429 [__ASSUME_32BITUIDS]: Make code unconditional.
40430 [!__ASSUME_32BITUIDS]: Remove conditional code.
40431 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40432 <kernel-features.h>.
40433 [__NR_setresuid] (__setresuid): Do not declare.
40434 [__ASSUME_32BITUIDS]: Make code unconditional.
40435 [!__ASSUME_32BITUIDS]: Remove conditional code.
40436 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
40473 <kernel-features.h>.
40474 [__ASSUME_32BITUIDS]: Make code unconditional.
40475 [!__ASSUME_32BITUIDS]: Remove conditional code.
40476 * sysdeps/unix/sysv/linux/kernel-features.h
40477 (__ASSUME_SETRESUID_SYSCALL): Remove.
40478 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40479 (__ASSUME_32BITUIDS): Likewise.
40480 (__ASSUME_LDT_WORKS): Likewise.
40481 (__ASSUME_O_DIRECTORY): Likewise.
40482 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40483 architecture but not kernel version.
40484 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40485 (__ASSUME_MMAP2_SYSCALL): Likewise.
40486 (__ASSUME_STAT64_SYSCALL): Likewise.
40487 (__ASSUME_IPC64): Likewise.
40488 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40489 <kernel-features.h>.
40490 [__ASSUME_32BITUIDS]: Make code unconditional.
40491 [!__ASSUME_32BITUIDS]: Remove conditional code.
40492 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40493 <kernel-features.h>.
40494 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40495 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40496 132096]: Remove conditional code.
40497 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40498 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
40503 <kernel-features.h>.
40504 [__ASSUME_32BITUIDS]: Make code unconditional.
40505 [!__ASSUME_32BITUIDS]: Remove conditional code.
40506 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40507 <kernel-features.h>.
40508 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40509 unconditional.
40510 (__setresgid): Do not declare.
40511 [__ASSUME_32BITUIDS]: Make code unconditional.
40512 [!__ASSUME_32BITUIDS]: Remove conditional code.
40513 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40514 <kernel-features.h>.
40515 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40516 unconditional.
40517 (__setresuid): Do not declare.
40518 [__ASSUME_32BITUIDS]: Make code unconditional.
40519 [!__ASSUME_32BITUIDS]: Remove conditional code.
40520 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40521 <kernel-features.h>.
40522 [__ASSUME_32BITUIDS]: Make code unconditional.
40523 [!__ASSUME_32BITUIDS]: Remove conditional code.
40524 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40525 <kernel-features.h>.
40526 [__ASSUME_32BITUIDS]: Make code unconditional.
40527 [!__ASSUME_32BITUIDS]: Remove conditional code.
40528
a386f1cc
RH
405292012-05-25 Richard Henderson <rth@twiddle.net>
40530
40531 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40532 dl_hwcap to ifunc resolver.
40533 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40534 elf_ifunc_invoke.
40535 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40536 dl_hwcap to ifunc resolver.
40537 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40538
b6550497
JM
405392012-05-24 Joseph Myers <joseph@codesourcery.com>
40540
40541 [BZ #14153]
40542 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40543 for |x| <= 2**-26, not 2**-57.
40544 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40545 exception.
40546
b0bc23a1
JL
405472012-05-24 Jeff Law <law@redhat.com>
40548
40549 * stdio-common/Makefile (tests): Add bug25.
40550 * stdio-common/bug25.c: New test.
40551
347c92e9
L
405522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40553
40554 [BZ #13576]
40555 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40556 multiple of MALLOC_ALIGNMENT in size.
40557 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40558
6bcc8b3f
JM
405592012-05-24 Joseph Myers <joseph@codesourcery.com>
40560
40561 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40562 Require >= 256.
40563 (FILENAME_MAX): Use macro-int-constant.
40564 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40565 (_IOFBF): Use macro-int-constant.
40566 (_IOLBF): Likewise.
40567 (_IONBF): Likewise.
40568 (SEEK_CUR): Likewise.
40569 (SEEK_END): Likewise.
40570 (SEEK_SET): Likewise.
40571 (TMP_MAX): Likewise.
40572 (EOF): Use macro-int-constant. Require < 0.
40573 (NULL): Use macro-constant. Require == 0.
40574 (stdin): Require type to be FILE *.
40575 (stdout): Likewise.
40576 (stderr): Likewise.
40577 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40578 macro-int-constant.
40579 (EXIT_SUCCESS): Likewise.
40580 (NULL): Use macro-constant. Require == 0.
40581 (RAND_MAX): Use macro-int-constant.
40582 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40583 [C99-based standards] (strtof): Require function.
40584 [C99-based standards] (strtold): Likewise.
40585 [C99-based standards] (strtoll): Likewise.
40586 [C99-based standards] (strtoull): Likewise.
40587 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40588 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40589 [ISO || ISO99 || ISO11] (math.h): Likewise.
40590 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40591 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40593
d18ea0c5
AS
405942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40595
40596 [BZ #14132]
56d25bb8
AS
40597 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40598 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40599 * intl/dgettext.c (DCGETTEXT): Likewise.
40600 * intl/gettext.c (DCGETTEXT): Likewise.
40601 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40602 * posix/regex_internal.h (gettext): Likewise.
40603 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40604 Remove declaration.
40605 * include/argz.h (__argz_count_internal)
40606 (__argz_stringify_internal): Remove declaration.
40607 (__argz_count, __argz_stringify): Declare hidden proto.
40608 * intl/dcgettext.c: Remove use of INTDEF.
40609 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40610 * string/argz-stringify.c: Likewise.
40611 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40612 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40613 Declare hidden proto.
d18ea0c5
AS
40614 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40615 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40616 Declare hidden proto.
40617 * include/stdio.h (__asprintf_internal): Don't declare.
40618 (__asprintf): Don't define as macro. Declare hidden proto.
40619 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40620 (__fsetlocking): Declare hidden proto.
40621 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40622 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40623 hidden proto.
40624 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40625 (_IO_setlinebuf): Remove use of INTUSE.
40626 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40627 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40628 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40629 Remove declaration.
40630 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40631 (_IO_do_flush): Remove use of INTUSE.
40632 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40633 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40634 (_IO_adjust_column, _IO_least_wmarker)
40635 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40636 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40637 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40638 (_IO_default_doallocate, _IO_wdefault_doallocate)
40639 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40640 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40641 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40642 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40643 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40644 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40645 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40646 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40647 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40648 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40649 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40650 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40651 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40652 proto.
40653 (_IO_flush_all_internal, _IO_adjust_column_internal)
40654 (_IO_default_uflow_internal, _IO_default_finish_internal)
40655 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40656 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40657 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40658 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40659 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40660 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40661 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40662 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40663 (_IO_file_close_internal, _IO_file_close_it_internal)
40664 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40665 (_IO_file_init_internal, _IO_file_attach_internal)
40666 (_IO_file_fopen_internal, _IO_file_read_internal)
40667 (_IO_file_sync_internal, _IO_file_seek_internal)
40668 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40669 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40670 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40671 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40672 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40673 (_IO_list_all_internal, _IO_link_in_internal)
40674 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40675 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40676 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40677 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40678 (_IO_do_write_internal, _IO_padn_internal)
40679 (_IO_getline_info_internal, _IO_getline_internal)
40680 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40681 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40682 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40683 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40684 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40685 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40686 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40687 with libc_hidden_ver, remove use of INTUSE.
40688 * libio/genops.c: Likewise.
40689 * libio/freopen.c: Likewise.
40690 * libio/freopen64.c: Likewise.
40691 * libio/iofclose.c: Likewise.
40692 * libio/iofdopen.c: Likewise.
40693 * libio/iofflush.c: Likewise.
40694 * libio/iofflush_u.c: Likewise.
40695 * libio/iofgets.c: Likewise.
40696 * libio/iofgets_u.c: Likewise.
40697 * libio/iofopen.c: Likewise.
40698 * libio/iofopncook.c: Likewise.
40699 * libio/iofread.c: Likewise.
40700 * libio/iofread_u.c: Likewise.
40701 * libio/ioftell.c: Likewise.
40702 * libio/iofwrite.c: Likewise.
40703 * libio/iogetline.c: Likewise.
40704 * libio/iogets.c: Likewise.
40705 * libio/iogetwline.c: Likewise.
40706 * libio/iopadn.c: Likewise.
40707 * libio/iopopen.c: Likewise.
40708 * libio/ioseekoff.c: Likewise.
40709 * libio/ioseekpos.c: Likewise.
40710 * libio/iosetbuffer.c: Likewise.
40711 * libio/iosetvbuf.c: Likewise.
40712 * libio/ioungetc.c: Likewise.
40713 * libio/ioungetwc.c: Likewise.
40714 * libio/iovdprintf.c: Likewise.
40715 * libio/iovsprintf.c: Likewise.
40716 * libio/iovsscanf.c: Likewise.
40717 * libio/memstream.c: Likewise.
40718 * libio/obprintf.c: Likewise.
40719 * libio/oldfileops.c: Likewise.
40720 * libio/oldiofclose.c: Likewise.
40721 * libio/oldiofdopen.c: Likewise.
40722 * libio/oldiofopen.c: Likewise.
40723 * libio/oldiopopen.c: Likewise.
40724 * libio/oldstdfiles.c: Likewise.
40725 * libio/putc.c: Likewise.
40726 * libio/setbuf.c: Likewise.
40727 * libio/setlinebuf.c: Likewise.
40728 * libio/stdfiles.c: Likewise.
40729 * libio/strops.c: Likewise.
40730 * libio/vasprintf.c: Likewise.
40731 * libio/vscanf.c: Likewise.
40732 * libio/vsnprintf.c: Likewise.
40733 * libio/vswprintf.c: Likewise.
40734 * libio/wfiledoalloc.c: Likewise.
40735 * libio/wfileops.c: Likewise.
40736 * libio/wgenops.c: Likewise.
40737 * libio/wmemstream.c: Likewise.
40738 * libio/wstrops.c: Likewise.
40739 * libio/__fpurge.c: Likewise.
40740 * libio/__fsetlocking.c: Likewise.
40741 * assert/assert.c: Likewise.
40742 * debug/fgets_chk.c: Likewise.
40743 * debug/fgets_u_chk.c: Likewise.
40744 * debug/fread_chk.c: Likewise.
40745 * debug/fread_u_chk.c: Likewise.
40746 * debug/gets_chk.c: Likewise.
40747 * debug/obprintf_chk.c: Likewise.
40748 * debug/vasprintf_chk.c: Likewise.
40749 * debug/vdprintf_chk.c: Likewise.
40750 * debug/vsnprintf_chk.c: Likewise.
40751 * debug/vsprintf_chk.c: Likewise.
40752 * malloc/mtrace.c: Likewise.
40753 * misc/error.c: Likewise.
40754 * misc/syslog.c: Likewise.
40755 * stdio-common/asprintf.c: Likewise.
40756 * stdio-common/fxprintf.c: Likewise.
40757 * stdio-common/getw.c: Likewise.
40758 * stdio-common/isoc99_fscanf.c: Likewise.
40759 * stdio-common/isoc99_scanf.c: Likewise.
40760 * stdio-common/isoc99_vfscanf.c: Likewise.
40761 * stdio-common/isoc99_vscanf.c: Likewise.
40762 * stdio-common/isoc99_vsscanf.c: Likewise.
40763 * stdio-common/printf-prs.c: Likewise.
40764 * stdio-common/printf_fp.c: Likewise.
40765 * stdio-common/printf_fphex.c: Likewise.
40766 * stdio-common/printf_size.c: Likewise.
40767 * stdio-common/putw.c: Likewise.
40768 * stdio-common/scanf.c: Likewise.
40769 * stdio-common/sprintf.c: Likewise.
40770 * stdio-common/tmpfile.c: Likewise.
40771 * stdio-common/vfprintf.c: Likewise.
40772 * stdio-common/vfscanf.c: Likewise.
40773 * stdlib/strfmon_l.c: Likewise.
40774 * sunrpc/openchild.c: Likewise.
40775 * sunrpc/xdr_stdio.c: Likewise.
40776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40777 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40778
d6c33fda
RM
407792012-05-24 Roland McGrath <roland@hack.frob.com>
40780
c1487492
RM
40781 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40782
40783 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40784 in the third column, to generate for the shared library an IFUNC
40785 that uses _dl_vdso_vsym.
40786 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40787 * Makeconfig (object-suffixes-noshared): New variable.
40788
40789 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40790 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40791 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40792 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40793
d6c33fda
RM
40794 [BZ #14132]
40795 * include/sys/time.h (__gettimeofday): Remove macro.
40796 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40797 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40798 Remove INTDEF.
40799 (__gettimeofday): Add libc_hidden_def.
40800 (gettimeofday): Add libc_hidden_weak.
40801 * sysdeps/mach/gettimeofday.c: Likewise.
40802 * sysdeps/posix/gettimeofday.c: Likewise.
40803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40804 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40806 (__gettimeofday_internal): Remove strong_alias.
40807 (__gettimeofday): Add libc_hidden_def.
40808 (gettimeofday): Add libc_hidden_weak.
40809 * sysdeps/unix/syscalls.list (gettimeofday):
40810 Remove __gettimeofday_internal alias.
40811
b5a2bbe6
L
408122012-05-24 Daniel Jacobowitz <drow@false.org>
40813 H.J. Lu <hongjiu.lu@intel.com>
40814
40815 [BZ #12495]
40816 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40817 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40818 (largebin_index_32_big): New.
40819 (largebin_index): Use it for 16-byte alignment.
40820 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40821 correction with front_misalign.
40822
cfba4fda
L
408232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40824
7f907421
L
40825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40827 Likewise.
40828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40829 Likewise.
40830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40831 Likewise.
40832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40833 Likewise.
40834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40835 Likewise.
40836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40837 Likewise.
40838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40839 Likewise.
40840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40841 Likewise.
40842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40843 Likewise.
40844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40845 Likewise.
40846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40847 Likewise.
40848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40849 Likewise.
40850
cfba4fda
L
40851 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40852 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40853
80bad0cc
JM
408542012-05-24 Joseph Myers <joseph@codesourcery.com>
40855
7a25eb06
JM
40856 [BZ #10846]
40857 [BZ #14036]
40858 * math/libm-test.inc (exp_test): Add test from bug 14036.
40859 (pow_test): Add test from bug 10846.
40860
795405f9
JM
40861 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40862 and other flags.
40863 (special_function): Do not include flags in test name.
40864 (parse_args): Likewise.
40865 * sysdeps/i386/fpu/libm-test-ulps: Update.
40866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40868 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40870
80bad0cc
JM
40871 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40872 exceptions.
40873 * math/libm-test.inc ("Philosophy"): Update comment about
40874 exception testing.
40875 (UNDERFLOW_EXCEPTION): New macro.
40876 (UNDERFLOW_EXCEPTION_OK): Likewise.
40877 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40878 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40879 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40880 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40881 (INVALID_EXCEPTION_OK): Update value.
40882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40883 (OVERFLOW_EXCEPTION_OK): Likewise.
40884 (IGNORE_ZERO_INF_SIGN): Likewise.
40885 (test_exceptions): Handle underflow exceptions.
40886 (acos_test): Update for underflow exception expectations.
40887 (cexp_test): Likewise.
40888 (clog_test): Likewise.
40889 (clog10_test): Likewise.
40890 (csqrt_test): Likewise.
40891 (ctan_test): Likewise.
40892 (ctanh_test): Likewise.
40893 (exp_test): Likewise.
40894 (exp10_test): Likewise.
40895 (exp2_test): Likewise.
40896 (expm1_test): Likewise.
40897 (fma_test): Likewise.
40898 (j0_test): Likewise.
40899 (jn_test): Likewise.
40900 (nexttoward_test): Likewise.
40901 (pow_test): Likewise.
40902 (scalbn_test): Likewise.
40903 (scalbln_test): Likewise.
40904 (tan_test): Likewise.
40905 (y1_test): Likewise.
40906 * sysdeps/i386/fpu/libm-test-ulps: Update.
40907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40908
9e0e3d0b
DM
409092012-05-23 David S. Miller <davem@davemloft.net>
40910
40911 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40912 (__libc_sigaction): Remove unused local variables.
40913
ccd0a08f
L
409142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40915
40916 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40917
62bdf9a6
PE
409182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40919
f8591f80
PE
40920 mktime: avoid signed integer overflow
40921 * time/mktime.c (__mktime_internal): Do not mishandle the case
40922 where diff == INT_MIN.
40923
94c7d826
PE
40924 mktime: simplify computation of average
40925 * time/mktime.c (ranged_convert): Use new time_t_avg function
40926 instead of rolling our own (probably-slower) code.
40927
ce73d683
PE
40928 mktime: do not assume signed right shift propagates sign bit
40929 * time/mktime.c (isdst_differ): New static function.
40930 (__mktime_internal): No need to normalize tm_isdst now.
40931 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40932 tm_isdst values.
40933
72a22e59
PE
40934 mktime: merge another wrapv change from gnulib
40935 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40936 from some compilers.
40937
68605433
PE
40938 mktime: remove incorrect attempt at unusual arithmetics
40939 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40940 The code didn't really work on such machines anyway.
40941 (TYPE_MINIMUM): Assume two's complement.
40942 (twos_complement_arithmetic): Verify that long_int and time_t
40943 are two's complement (or unsigned, in the latter case).
40944
03cf7fe3
PE
40945 mktime: check signed shifts on long_int and time_t, too
40946 * time/mktime.c (SHR): Check that shifts work as desired
40947 on the types long_int and time_t too, as SHR is used on
40948 such types.
40949
f04dfbc2
PE
40950 mktime: do not assume 'long' is wide enough
40951 * time/mktime.c (verify): Move decl up.
40952 (long_int): New type.
40953 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40954 to remove assumption in the code that 'long' is wide enough to
40955 store year values. This assumption is not true on x32 and on
40956 some non-glibc platforms.
40957
62bdf9a6
PE
40958 mktime: merge wrapv change from gnulib
40959 * time/mktime.c (WRAPV): New macro.
40960 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40961 (guess_time_tm, __mktime_internal): Do not assume that signed
40962 integer overflow wraps around; modern compilers generate code
40963 where this assumption is no longer valid.
40964
5e292e4f
L
409652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40966
40967 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40968 Replace "jmp L(pseudo_end)" with "ret".
40969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40970 Likewise.
40971
8caf8c87
AJ
409722012-05-23 Andreas Jaeger <aj@suse.de>
40973
40974 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40975 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40976
1a09dc56
AJ
409772012-05-23 Andreas Jaeger <aj@suse.de>
40978 Maximilian Attems <max@stro.at>
40979
40980 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40981 New macros.
40982
1c87aba0
L
409832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40984
40985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40986 code so that pseudo_end is just ret and the stack pointer is
40987 correct also for static library in error case.
40988
40e45bd5
JM
409892012-05-23 Joseph Myers <joseph@codesourcery.com>
40990
c2670533
JM
40991 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40992 move to syscalls.list.
40993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40997
40e45bd5
JM
40998 * manual/install.texi (Running make install): Do not mention Linux
40999 kernel version for which pt_chown is not needed.
41000 (Linux): Do not mention problems with nscd with 2.0 kernels.
41001 * INSTALL: Regenerated.
41002
be08eda5
AJ
410032012-05-23 Andreas Jaeger <aj@suse.de>
41004
41005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41006 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41007 macro.
41008 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41010 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41012 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41016 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41018 * sysdeps/unix/sysv/linux/bits/in.h
41019 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41020
a6a056bb
RM
410212012-05-22 Roland McGrath <roland@hack.frob.com>
41022
41023 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41024 (PREPARE_VERSION): Just use assert instead, it will be elided
41025 under [NDEBUG] anyway.
41026
c9009328
L
410272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41028
41029 * sysdeps/unix/sysv/linux/Makefile: Include
41030 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41031 (sysdep_routines): Remove sysctl.
c9009328
L
41032 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41033 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41034 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41035 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41036 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41037
73338355
AJ
410382012-05-22 Andreas Jaeger <aj@suse.de>
41039
41040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41041 that pseudo_end is just ret and the stack pointer is correct also
41042 for static library in error case.
41043
d44638b0
PP
410442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41045
41046 [BZ #14122]
41047 * nss/nsswitch.c (defconfig_entries): New variable.
41048 (__nss_database_lookup): Don't leak defconfig entries.
41049 (nss_parse_service_list): Don't leak on error paths.
41050 (free_database_entries): New function.
41051 (free_defconfig): New function.
41052 (free_mem): Move common code to free_database_entries.
41053
31a39bd8
L
410542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41055
da0331a8
L
41056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41057 Add arch_prctl.
41058 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41059
31a39bd8
L
41060 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41061 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41063 New macro.
41064 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41065 (INTERNAL_SYSCALL_TYPES): Likewise.
41066 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41067 (LOAD_REGS_TYPES_[1-6]): Likewise.
41068 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41069 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41070
45470df3
AZ
410712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41072
41073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41074 copysignl for GLIBC_2_0.
41075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41076 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41078 logbl for GLIBC_2_0.
41079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41080 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41081
98a61bcb
L
410822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41083
a4f6e481
L
41084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41085 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41086
f63d5db6
L
41087 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41088 Use "neg %eax".
41089
98a61bcb
L
41090 * time/mktime.c: Update copyright years.
41091
95770f14
PE
410922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41093
6226efbd
PE
41094 mktime: merge comment-quoting-style change from gnulib
41095 * time/mktime.c: Quote 'like this' in comments.
41096 The GNU coding standards suggest that we no longer quote `like this',
41097 as "`" and "'" are typically rendered asymmetrically nowadays.
41098 The typical gnulib style is to quote 'like this' when quoting
41099 code, and "like this" when quoting English.
41100
b99e4f78
PE
41101 * time/mktime.c (compile-command): Add "-I.".
41102
643e01e6
PE
41103 mktime: merge mktime-internal.h change from gnulib
41104 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41105
2554247d
PE
41106 mktime: merge time_r change from gnulib
41107 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41108
826dd0ab
PE
41109 mktime: merge DEBUG change from gnulib
41110 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41111 case system <time.h> has a #define.
41112
bd83aabe
PE
41113 mktime: merge <sys/types.h> change from gnulib
41114 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41115 since <time.t> is now guaranteed to define time_t.
41116
95770f14
PE
41117 mktime: merge HAVE_CONFIG_H change from gnulib
41118 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41119
5e1a27a9
L
411202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41121
0e44a77e
L
41122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41123 Use "neg %eax".
41124
5e1a27a9
L
41125 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41126 __rlim_t cast.
41127 (struct rusage): Use anonymous union to pad each field to
41128 __syscall_slong_t.
41129
46259bec
DM
411302012-05-21 David S. Miller <davem@davemloft.net>
41131
41132 * Makefules (o-iterator): Remove .s cases.
41133 (compile-command.s): Delete.
41134 (COMPILE.s): Delete.
41135 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41136
59f0c22e
JM
411372012-05-21 Joseph Myers <joseph@codesourcery.com>
41138
41139 * configure.in (libc_cv_predef_stack_protector): Only consider
41140 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41141 * configure: Regenerated.
41142
20c07380
L
411432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41144
bbb3154b
L
41145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41146 New macro. Use R*LP on int and pointer.
41147 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41148 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41149 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41150 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41151
20c07380
L
41152 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41153 [__WORDSIZE_TIME64_COMPAT32] instead of
41154 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41155 (struct utmp): Likewise.
41156 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41157 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41158 Renamed to ...
41159 (__WORDSIZE_TIME64_COMPAT32): This.
41160 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41161 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41162 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41163 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41164 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41165 (__WORDSIZE_TIME64_COMPAT32): New macro.
41166
d8d1017e
AJ
411672012-05-21 Andreas Jaeger <aj@suse.de>
41168
41169 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41170 only if [SHARED]. Add prototype for __wcschr_ia32.
41171
6c7fb145
RM
411722012-05-21 Roland McGrath <roland@hack.frob.com>
41173
41174 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41175 of %rbp unmolested in the jmp_buf while mangling the low bits.
41176 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41177 unmolested high bits of %rbp while demangling the low bits.
41178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41179
66274218
AJ
411802012-05-21 Andreas Jaeger <aj@suse.de>
41181
07c58f8f
AJ
41182 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41183 * sunrpc/svc_simple.c: Use it for registerrpc.
41184 * sunrpc/xcrypt.c: Use it for passwd2des.
41185
66274218
AJ
41186 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41187
61f65140
L
411882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41189
41190 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41191 Don't define if [__SYSCALL_WORDSIZE != 32].
41192 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41193 New macro.
41194
5fefb436
AJ
411952012-05-21 Bruno Haible <bruno@clisp.org>
41196 Andreas Jaeger <aj@suse.de>
41197
41198 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41199 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41200 inptr and inend for must_buffer_ch.
41201 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41202 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41203 * stdio-common/Makefile (tests): Remove bug15.
41204 (bug15-ENV): Remove macro.
41205 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41206 anymore.
41207
d8e272ab
AJ
412082012-05-19 Andreas Jaeger <aj@suse.de>
41209 Roland McGrath <roland@hack.frob.com>
41210
41211 * manual/contrib.texi: Completely rewritten. It contains now an
41212 alphabetical list of contributors and their contributions.
41213
4a56a162
RH
412142012-05-21 Richard Henderson <rth@twiddle.net>
41215
41216 * misc/getauxval.c (__getauxval): Use unsigned long int.
41217 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41218 (getauxval): Use unsigned long int.
41219
d024d23c
L
412202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41221
41222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41223
cbc00a03
RM
412242012-05-21 Roland McGrath <roland@hack.frob.com>
41225
41226 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41227 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41228 __alignof__ (long double).
41229
478143fa
AZ
412302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41231
41232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41233
c7683a6d
RH
412342012-05-20 Richard Henderson <rth@twiddle.net>
41235
41236 * misc/getauxval.c: New file.
41237 * misc/sys/auxv.h: New file.
41238 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41239 (routines): Add getauxval.
41240 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41241 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41242 * elf/dl-sysdep.c (_dl_auxv): Remove.
41243 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41244 * elf/dl-support.c (_dl_auxv): New variable.
41245 (_dl_aux_init): Initialize it.
41246 * manual/startup.texi (Auxiliary Vector): New node.
41247 * sysdeps/generic/bits/hwcap.h: New file.
41248 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41249 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41250 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41251 * sysdeps/sparc/sysdep.h: ... here. Include it.
41252 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41255 Update.
c7683a6d
RH
41256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41264
a6f1845d
AZ
412652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41266
41267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41268
cbcbe830
DM
412692012-05-19 David S. Miller <davem@davemloft.net>
41270
41271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41272
e0b16cc2
JM
412732012-05-19 Joseph Myers <joseph@codesourcery.com>
41274
41275 [BZ #14123]
41276 * math/s_ccosh.c: Include <float.h>
41277 (__ccosh): Avoid internal overflow calculating sinh and cosh
41278 values before multiplying by sin and cos values.
41279 * math/s_ccoshf.c: Likewise.
41280 * math/s_ccoshl.c: Likewise.
41281 * math/s_csin.c: Likewise.
41282 * math/s_csinf.c: Likewise.
41283 * math/s_csinl.c: Likewise.
41284 * math/s_csinh.c: Likewise.
41285 * math/s_csinhf.c: Likewise.
41286 * math/s_csinhl.c: Likewise.
41287 * math/libm-test.inc (ccos_test): Add more tests.
41288 (ccosh_test): Likewise.
41289 (csin_test): Likewise.
41290 (csinh_test): Likewise.
41291 * sysdeps/i386/fpu/libm-test-ulps: Update.
41292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41293
6ad13e08
L
412942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41295
f66f0ce8
L
41296 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41297 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41298
6ad13e08
L
41299 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41300
b1d072a7
JM
413012012-05-19 Joseph Myers <joseph@codesourcery.com>
41302
41303 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41304 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41305 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41306 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41307 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41308 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41309 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41310 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41311 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41312 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41313 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41314 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41315 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41316 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41317 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41318 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41319 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41320 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41321 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41322 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41323 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41324 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41325 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41326 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41327 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41328 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41329 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41330 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41331 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41332 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41333 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41334
9eae47cb
AJ
413352012-05-18 Andreas Jaeger <aj@suse.de>
41336
41337 * csu/.gitignore: Delete.
41338
bb07f69f
L
413392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41340
41341 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41342 (timex): Use __syscall_slong_t.
41343
e6bdb741
AJ
413442012-05-18 Andreas Jaeger <aj@suse.de>
41345 Carlos O'Donell <carlos_odonell@mentor.com>
41346
41347 * manual/install.texi (Configuring and compiling): Update
41348 description about files modified in the source directory.
d6c33fda 41349 * INSTALL: Regenerated.
e6bdb741 41350
1b74487e
L
413512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41352
41353 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41354 value. Use "or" to set return value to -1.
41355 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41356 negate return value.
41357
a88b64b9
TMQMF
413582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41359
57f41c40
AS
41360 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41361 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41362 failure if the compiler has Graphite support disabled.
41363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41364 Likewise.
57f41c40
AS
41365 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41366 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41367 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41368 Likewise.
41369
3707636e
L
413702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41371
610b8622
L
41372 * sysdeps/x86_64/x32/_itoa.h: New file.
41373
7cd195df
L
41374 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41375 getdents system call only if kernel and user dirents have the
41376 same d_ino and d_off.
41377
94b07d20
L
41378 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41379 LLONG_MAX != LONG_MAX.
41380 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41381 (_fitoa_word): Likewise.
41382
18298070
L
41383 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41384 years.
41385 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41386 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41387 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41388
553c7ea4
L
41389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41390 include <bits/wordsize.h>. Check __x86_64__ instead of
41391 __WORDSIZE.
41392 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41393 if __x86_64__ is defined. Use anonymous union on fpstate.
41394
3707636e
L
41395 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41396 anonymous union.
41397
b53ef01a
AS
413982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41399
37fb1dc0
AS
41400 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41401 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41403 Refer to _rtld_local_ro instead of _rtld_global_ro.
41404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41405 Likewise.
41406 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41407 Likewise.
41408 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41409 Likewise.
41410 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41411 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41412 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41413
b53ef01a
AS
41414 * sysdeps/powerpc/powerpc32/dl-machine.c
41415 (__elf_machine_runtime_setup) [PROF]: Don't reference
41416 _dl_prof_resolve.
41417
7a185db2
AJ
414182012-05-18 Andreas Jaeger <aj@suse.de>
41419
41420 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41421 function only available for GCCs before 3.4 since GCC 3.4
41422 introduced a builtin.
41423 (lrint): Likewise.
41424 (llrintf): Likewise.
41425 (llrint): Likewise.
41426 (fmaxf): Likewise.
41427 (fmax): Likewise.
41428 (fminf): Likewise.
41429 (fmin): Likewise.
41430 (rint): Likewise.
41431 (rintf): Likewise.
41432 (nearbyint): Likewise.
41433 (nearbyintf): Likewise.
41434 (ceil): Likewise.
41435 (ceilf): Likewise.
41436 (floor): Likewise.
41437 (floorf): Likewise.
41438
3e5aef87
L
414392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41440
428bd707
L
41441 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41442 on both fields and cast pointer to __syscall_ulong_t.
41443
3e5aef87
L
41444 * bits/types.h (__fsword_t): New type.
41445 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41446 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41448 (__FSWORD_T_TYPE): Likewise.
41449 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41450 (__FSWORD_T_TYPE): Likewise.
41451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41452 (__FSWORD_T_TYPE): Likewise.
41453 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41454 (__FSWORD_T_TYPE): Likewise.
41455 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41456 __SWORD_TYPE with __fsword_t.
41457 (statfs64): Likewise.
41458
1ba7c3dc
DM
414592012-05-17 David S. Miller <davem@davemloft.net>
41460
41461 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41462
59910343
AJ
414632012-05-17 Andreas Jaeger <aj@suse.de>
41464
41465 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41466 warning.
41467
2e4c1e9e
L
414682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41469
41470 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41471
de7f5ce7
AJ
414722012-05-17 Andreas Jaeger <aj@suse.de>
41473
41474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41475 when it is used.
41476
286abc3d
CM
414772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41478
41479 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41480
477cc68e
L
414812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41482
41483 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41484 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41485
1a0994f5
CD
414862012-05-17 Andreas Jaeger <aj@suse.de>
41487 Carlos O'Donell <carlos_odonell@mentor.com>
41488
41489 [BZ #14059]
41490 * sysdeps/x86_64/multiarch/init-arch.h
41491 (bit_YMM_Usable): Rename to...
41492 (bit_AVX_Usable): ... this.
41493 (bit_FMA4_Usable): New macro.
41494 (bit_XMM_state): New macro.
41495 (bit_YMM_state): New macro.
41496 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41497 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41498 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41499 (CPUID_OSXSAVE): New macro.
41500 (CPUID_AVX): New macro.
41501 (CPUID_FMA4): New macro.
41502 (index_YMM_Usable): Rename to...
41503 (index_AVX_Usable): ... this.
41504 (HAS_AVX): Use HAS_ARCH_FEATURE.
41505 (HAS_FMA4): Likewise.
41506 (HAS_YMM_USABLE): Remove.
41507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41508 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41509 are present.
41510 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41511 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41512 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41513 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41514 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41515
0af797de
CM
415162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41517
41518 * math/libm-test.c: Support platforms without multiple rounding modes.
41519 * math/bug-nextafter.c: Support platforms without FP exceptions.
41520 * math/bug-nexttoward.c: Likewise.
41521 * math/test-fenv.c: Likewise.
41522 * math/test-misc.c: Likewise.
41523 * stdlib/bug-getcontext.c: Likewise.
41524
e39745ff
AJ
415252012-05-17 Andreas Jaeger <aj@suse.de>
41526
41527 * manual/examples/search.c (critter_cmp): Change signature to
41528 avoid warnings.
41529 * manual/string.texi (Collation Functions): Likewise.
41530
48970aba
L
415312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41532
41533 * bits/types.h: Fold copyright years.
41534 * bits/typesizes.h: Likewise.
41535 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41539 * time/time.h: Likewise.
41540
bedee953
PP
415412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41542
41543 [BZ #208]
41544 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41545 in instead of returning them. Return void.
41546 (__libc_mallinfo): Accumulate over all arenas.
41547 (__malloc_stats): Adjust for change in int_mallinfo interface.
41548
61653dfb
RM
415492012-05-16 Roland McGrath <roland@hack.frob.com>
41550
30b99d79
RM
41551 [BZ #10375]
41552 * configure.in (NM): Add AC_CHECK_TOOL for it.
41553 (libc_extra_cflags): New substituted variable.
41554 Check for -fstack-protector being used implicitly.
41555 * configure: Regenerated.
41556 * config.make.in (config-extra-cflags): New variable,
41557 gets @libc_extra_cflags@.
41558 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41559
61653dfb
RM
41560 [BZ #10375]
41561 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41562 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41563 * configure: Regenerated.
41564 * config.make.in (CPPUNDEFS): New substituted variable.
41565 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41566 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41567 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41568
661768bb
L
415692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41570
41571 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41572 (mq_attr): Use __syscall_slong_t.
41573
d4261567
L
415742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41575
41576 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41577 Check __x86_64__ instead of __WORDSIZE.
41578 (_STAT_VER_LINUX): Likewise.
41579 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41580 __syscall_ulong_t and __syscall_slong_t.
41581 (stat64): Likewise.
41582
cf3ff365
L
415832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41584
41585 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41586
76cf3e4d
L
415872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41588
41589 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41590
a637753a
L
415912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41592
41593 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41594 __syscall_ulong_t.
41595
d5e05119
L
41596 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41597 include <bits/wordsize.h>. Check __x86_64__ instead of
41598 __WORDSIZE.
41599 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41600 defined.
41601 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41602
f62ee380
L
41603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41604 include <bits/wordsize.h>. Check __x86_64__ instead of
41605 __WORDSIZE.
41606 (user_regs_struct): Use "__extension__ unsigned long long"
41607 instead of "unsigned long" if __x86_64__ is defined.
41608 (user): Likewise. Pad after pointer field if __ILP32__ is
41609 defined.
41610
4e124ced
JM
416112012-05-16 Joseph Myers <joseph@codesourcery.com>
41612
6a3951a0
JM
41613 * configure.in (makeinfo): Require version 4.5 or later. Allow
41614 versions 5 to 9.
41615 * configure: Regenerated.
41616 * manual/install.texi (texinfo): Increase version requirement to
41617 4.5 or later.
41618 * INSTALL: Regenerated.
41619
4e124ced
JM
41620 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41621
953ca31a
L
416222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41623
41624 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41625
617aca05
L
41626 * sysdeps/x86_64/x32/ffs.c: New file.
41627
5762f7ae
L
41628 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41629 __syscall_ulong_t.
41630 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41631 defined. Use __syscall_ulong_t.
41632 (shminfo): Use __syscall_ulong_t.
41633 (shm_info): Likewise.
41634
a26b6856
L
41635 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41636 __syscall_ulong_t.
41637
cb2b9ef7
L
41638 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41639 <bits/wordsize.h>.
41640 (msgqnum_t): Use __syscall_ulong_t.
41641 (msglen_t): Likewise.
41642 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41643 __syscall_ulong_t.
41644
34683bb0
L
41645 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41646 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41647
84a68786
L
41648 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41649
48baa5f1
L
41650 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41651 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41652
180be88b
L
41653 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41654 __syscall_slong_t.
41655
5e90c8ad
L
41656 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41657 include <bits/wordsize.h>. Check __x86_64__ instead of
41658 __WORDSIZE.
41659
23dfb58b
L
41660 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41661 "unsigned long long int" if __x86_64__ is defined.
41662 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41663
ce5d54b0
L
41664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41666 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41667
13dc9eac
L
41668 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41669 <stdint.h>.
41670 (GET_PC): Cast to uintptr_t first.
41671 (GET_FRAME): Likewise.
41672 (GET_STACK): Likewise.
41673
a7895d15
L
41674 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41675 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41676 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41677 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41678 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41679 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41680 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41681 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41682 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41683 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41684 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41687 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41691 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41693 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41694 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41700 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41703
656416c9
AS
417042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41705
5bd66283
AS
41706 * Makerules (+depfiles): Also collect depfiles from .oS in
41707 $(extra-objs).
41708 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41709 .oS, $(libnldbl-routines)).
41710
656416c9
AS
41711 * Makerules (native-compile-mkdep-flags): Define.
41712 * sunrpc/Makefile (extra-objs): Add $(addprefix
41713 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41714 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41715 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41716 calling $(make-target-directory).
41717
a46f2169
L
417182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 * bits/types.h (__snseconds_t): Removed.
41721 * time/time.h (struct timespec): Replace __snseconds_t with
41722 __syscall_slong_t.
41723 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41724 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41725 Likewise.
41726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41727 (__SNSECONDS_T_TYPE): Likewise.
41728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41729 (__SNSECONDS_T_TYPE): Likewise.
41730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41731 (__SNSECONDS_T_TYPE): Likewise.
41732
6af6528b
L
417332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41734
41735 * sysdeps/mach/hurd/bits/typesizes.h
41736 (__SYSCALL_SLONG_TYPE): New macro.
41737 (__SYSCALL_ULONG_TYPE): Likewise.
41738
de986b56
L
417392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41740
41741 * bits/types.h (__syscall_slong_t): New type.
41742 (__syscall_ulong_t): Likewise.
41743
41744 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41745 (__SYSCALL_ULONG_TYPE): Likewise.
41746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41747 (__SYSCALL_SLONG_TYPE): Likewise.
41748 (__SYSCALL_ULONG_TYPE): Likewise.
41749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41750 (__SYSCALL_SLONG_TYPE): Likewise.
41751 (__SYSCALL_ULONG_TYPE): Likewise.
41752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41753 (__SYSCALL_SLONG_TYPE): Likewise.
41754 (__SYSCALL_ULONG_TYPE): Likewise.
41755
85736dc7
L
417562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41757
41758 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41759 Add sigaltstack-offsets.sym.
41760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41761 <sigaltstack-offsets.h>.
41762 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41763 longjmp_msg pointer.
41764 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41765 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41766 signal stack.
41767 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41768
cc03b296
JM
417692012-05-15 Joseph Myers <joseph@codesourcery.com>
41770
a9538892
JM
41771 * elf/stackguard-macros.h: Remove file.
41772 * sysdeps/generic/stackguard-macros.h: New file.
41773 * sysdeps/i386/stackguard-macros.h: Likewise.
41774 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41775 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41776 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41777 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41778 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41779 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41780 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41781 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41782 <elf/stackguard-macros.h>.
41783
cc03b296
JM
41784 [BZ #14109]
41785 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41786 __aligned__ in attribute.
41787 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41788 (gregset_t): Likewise.
41789
93171016
L
417902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41791
41792 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41793 * sysdeps/x86_64/64/Implies-after: Here. New file.
41794 * sysdeps/x86_64/x32/Implies-after: New file.
41795
d86813a0
L
417962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41797
41798 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41799 and access return value for _dl_profile_fixup. Use R10_LP to
41800 load frame size.
41801
2953ec75
L
418022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41803
41804 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41805
3b550e9e
L
418062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41807
41808 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41809 * sysdeps/x86_64/x32/sysdep.h: New file.
41810
eda41706
L
418112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41812
41813 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41814 * sysdeps/x86_64/setjmp.S: Likewise.
41815
9ea01d93
AZ
418162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41817
41818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41820 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41822 remove unused global constant.
41823
02a91938
CM
418242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41825
41826 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41827 include of <not-cancel.h>.
41828
6540185f
RM
418292012-05-15 Roland McGrath <roland@hack.frob.com>
41830
41831 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41832
509072a0
AJ
418332012-05-15 Jeff Law <law@redhat.com>
41834 Andreas Jaeger <aj@suse.de>
41835
41836 [BZ #13594]
41837 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41838 out from...
41839 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41840 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41841 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41842 code changing __hst_map_handle.map.
41843
ba75122d
RM
418442012-05-15 Roland McGrath <roland@hack.frob.com>
41845
41846 * configure.in (sysnames): Look for Implies-before and Implies-after
41847 files.
41848 * configure: Regenerated.
41849
890d8bd8
L
418502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41851
41852 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41853 8-byte data alignment with LP_SIZE alignment.
41854
f6ee6623
L
418552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41856
41857 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41858 into R10_LP.
41859
ea2626f6
L
418602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41861
41862 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41863
085f715e
L
418642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41865
41866 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41867 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41869 Likewise.
41870 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41871
be8498fc
L
418722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41873
41874 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41875 (stackinfo_sub_sp): Likewise.
41876
70bc83b9
L
418772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41878
41879 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41880 RAX_LP.
41881
9bc0b730
L
418822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41883
41884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41885 into R*_LP.
41886
6d2850e7
L
418872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41888
41889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41890 sizes into R*_LP.
41891
3cb84561
L
418922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41893
41894 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41895
54e2ed81
L
418962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41897
41898 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41899 into R11_LP and load __x86_64_shared_cache_size_half into
41900 R8_LP.
41901
8a17f349
L
419022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41903
41904 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41905 R8_LP.
41906
777b1eea
AZ
419072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41908
41909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41910 logb for POWER7.
41911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41912 logbf for POWER7.
41913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41914 logbl for POWER7.
41915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41916 powerpc32/power7/fpu/s_logb.c via #include.
41917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41918 powerpc32/power7/fpu/s_logbf.c via #include.
41919 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41920 powerpc32/power7/fpu/s_logbl.c via #include.
41921
d20d4ac2
JM
419222012-05-15 Joseph Myers <joseph@codesourcery.com>
41923
41924 * README.libm: Remove file.
41925
6cdef1ab
L
419262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41927
41928 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41929 count for x32. Use R*_LP and omit operand-size suffix.
41930
0b254d8f
L
419312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41932
41933 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41934 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41935 * sysdeps/x86_64/x32/shlib-versions: New file.
41936
ceb809dc
RM
419372012-05-14 Roland McGrath <roland@hack.frob.com>
41938
41939 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41940 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41941 Use _dl_fatal_printf instead.
41942
37f1abd4
JM
419432012-05-14 Joseph Myers <joseph@codesourcery.com>
41944
41945 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41946 set if not set by the user. Do not allow for being unset.
41947 * sysdeps/unix/sysv/linux/configure: Regenerated.
41948
11de3a33
L
419492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41950
41951 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41952 the `q' suffix from lea and replace .quad with ASM_ADDR.
41953
e02f153a
L
419542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41955
41956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41957 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41958 instead of $17.
41959 (PTR_DEMANGLE): Likewise.
41960
520ae0fd
L
419612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41962
41963 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41964 (LP_OP): Likewise.
41965 (ASM_ADDR): Likewise.
41966 (RAX_LP): Likewise.
41967 (RBP_LP): Likewise.
41968 (RBX_LP): Likewise.
41969 (RCX_LP): Likewise.
41970 (RDI_LP): Likewise.
41971 (RSI_LP): Likewise.
41972 (RSP_LP): Likewise.
41973 (R8_LP): Likewise.
41974 (R9_LP): Likewise.
41975 (R10_LP): Likewise.
41976 (R10_LP): Likewise.
41977 (R11_LP): Likewise.
41978 (R12_LP): Likewise.
41979 (R13_LP): Likewise.
41980 (R14_LP): Likewise.
41981 (R15_LP): Likewise.
41982
b985be81
L
419832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41984
41985 * sysdeps/x86_64/x32/dl-machine.h: New file.
41986
6a4888ff
AJ
419872012-05-14 Andreas Jaeger <aj@suse.de>
41988
41989 * manual/Makefile (subdir): Remove export of subdir.
41990 (all): Remove target.
41991 (.PHONY): Remove all from list.
41992 (mkinstalldirs): Remove.
41993 (.PHONY): Remove installdirs from list.
41994 ($(inst_infodir)/libc.info): Use make-target-directory.
41995 (installdirs): Remove.
41996 (subdir_%): Remove.
41997 (glibc-targets): Remove.
41998 (lib): Remove.
41999 (stubs): Remove.
42000 ($(objpfx)stubs ../po/manual.pot): Remove.
42001 ($(objpfx)stamp%): Remove.
42002 (make-target-directory): Remove.
42003 (subdir_install): Remove.
42004 (routines): Remove.
42005 (aux): Remove.
42006 (sources): Remove.
42007 (objects): Remove.
42008 (headers): Remove.
42009
42010 [BZ #13750]
42011 * manual/.gitignore: Remove, it's not needed anymore.
42012 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42013 all files in it.
42014 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42015 directory.
42016 (texis): Renamed to $(objpfx)texis.
42017 (texis-path): New, contains path to generated files.
42018 (chapters.%): Use texis-path for complete path, add extra argument
42019 libc-texinfo.sh.
42020 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42021 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42022 (summary,texi, stamp-summary): Use complete path of
42023 files. Generate files in build dir.
42024 (dir-add.texi): Build in build dir.
42025 (libm-err.texi,stamp-libm-err): Likewise.
42026 (version.texi, stamp-version): Likewise.
42027 (.%c.texi): Likewise.
42028 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42029 (mostlyclean): Remove target.
42030 (realclean): Remove target.
42031 (generated): Add new variable with contents from mostlyclean and
42032 realclean, remove entries duplicated in common-mostlyclean, add
42033 stamp-libm-err and stamp-version.
42034 (generated-dirs): Add libc directory.
42035 ($(inst_infodir)/libc.info): Install files from build dir.
42036
42037 * manual/install.texi (Configuring and compiling): Adjust since
42038 the info files are not part of the tar ball anymore.
42039
7ac77294
AJ
420402012-05-14 Andreas Jaeger <aj@suse.de>
42041
42042 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42043 variable.
42044
ffb7875d
JM
420452012-05-14 Joseph Myers <joseph@codesourcery.com>
42046
42047 [BZ #13717]
42048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42049 to 2.2.0 where earlier.
42050 * sysdeps/unix/sysv/linux/configure: Regenerated.
42051 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42052 Remove conditional code.
42053 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42054 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42055 Remove conditional code.
42056 [!__NR_lchown]: Likewise.
42057 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42058 [__NR_lchown]: Likewise.
42059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42060 comment referencing __ASSUME_LCHOWN_SYSCALL.
42061 * sysdeps/unix/sysv/linux/i386/sigaction.c
42062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42064 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42065 Remove conditional code.
42066 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42067 (__protocol_available): Remove #if 0 code.
42068 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42069 conditional code.
42070 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42071 * sysdeps/unix/sysv/linux/kernel-features.h
42072 (__ASSUME_GETCWD_SYSCALL): Don't define.
42073 (__ASSUME_REALTIME_SIGNALS): Likewise.
42074 (__ASSUME_PREAD_SYSCALL): Likewise.
42075 (__ASSUME_PWRITE_SYSCALL): Likewise.
42076 (__ASSUME_POLL_SYSCALL): Likewise.
42077 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42078 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42079 non-SPARC.
42080 (__ASSUME_SIOCGIFNAME): Don't define.
42081 (__ASSUME_MSG_NOSIGNAL): Likewise.
42082 (__ASSUME_SENDFILE): Define unconditionally.
42083 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42084 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42085 conditional code.
42086 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42087 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42088 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42089 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42090 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42091 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42092 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42094 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42097 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42100 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42103 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42106 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42109 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42112 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42117 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42118 Remove conditional code.
42119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42120 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42121 Remove conditional code.
42122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42123 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42124 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42125 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42126 Remove conditional code.
42127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42128 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42129 Remove conditional code.
42130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42131 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42132 Remove conditional code.
42133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42134 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42135 Remove conditional code.
42136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42137 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42138 Remove conditional code.
42139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42140 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42141 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42143 * sysdeps/unix/sysv/linux/sigaction.c
42144 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42145 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42146 * sysdeps/unix/sysv/linux/sigpending.c
42147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42149 * sysdeps/unix/sysv/linux/sigprocmask.c
42150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42152 * sysdeps/unix/sysv/linux/sigsuspend.c
42153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42155 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42156 (__libc_missing_rt_sigs): Remove.
42157 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42158 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42159 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42160 Remove conditional code.
42161 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42162 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42163 return 1.
42164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42165 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42166 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42167 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42168
1bfb7291
AJ
421692012-05-14 Andreas Jaeger <aj@suse.de>
42170
caae5a81
AJ
42171 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42172 it's not used in glibc.
42173 (__coshm1): Likewise.
42174 (__acosh1p): Likewise.
42175 (__sgn): Likewise.
42176
1bfb7291
AJ
42177 * manual/string.texi (Copying and Concatenation): Add missing
42178 variable in concat example.
42179 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42180
c044d724
L
421812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42182
144c5467 42183 [BZ #14103]
c044d724
L
42184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42185 __builtin_clzl with __builtin_clzll.
42186
2523c62b
L
421872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42188
42189 [BZ #14104]
42190 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42191 libc_freeres_ptr.
42192
d7bb4c42
LD
421932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42194
42195 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42196 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42197 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42199
9dc4e1fb
MF
422002012-05-14 Mike Frysinger <vapier@gentoo.org>
42201
42202 * NEWS: Update ia64 info.
42203
c7df0112
AS
422042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42205
42206 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42207 used as bcopy.
42208
dc70356c
TS
422092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42210
42211 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42212 * sysdeps/unix/syscalls.list (dup3): Likewise.
42213 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42214 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42215
9fb1a21f
L
422162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42217
42218 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42219 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42220
4822a2a5
L
422212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42222
42223 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42224 thread pointer.
42225 (TLS_IE): Use mov/add instead of movq/addq to load thread
42226 pointer.
42227 (TLS_GD_PREFIX): New.
42228 (TLS_GD): Use it.
42229
842b81d6
DM
422302012-05-11 David S. Miller <davem@davemloft.net>
42231
42232 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42233 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42234 (_FPU_SETCW): Likewise.
42235
1cf463cd
L
422362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42237
42238 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42239 is 32-byte aligned.
42240
60cc4a18
AS
422412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42242
42243 [BZ #11837]
42244 * iconvdata/gb18030.c: Update tables.
42245 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42246 characters specially.
42247 (BODY for TO_LOOP): Add encoding of missing ranges.
42248
febb44a4
TS
422492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42250
42251 [BZ #13673]
42252 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42253 * sysdeps/mach/hurd/dup3.c: Likewise.
42254 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42255 * sysdeps/powerpc/memmove.c:: Likewise.
42256
0a10fb9e
L
422572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42258
42259 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42260 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42261
df8a552f
L
422622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42263
42264 * elf/elf.h (R_X86_64_RELATIVE64): New.
42265 (R_X86_64_NUM): Updated.
42266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42267 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42268 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42269 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42270 tst-quad1pie tst-quad2pie
42271 (modules-names): Add tst-quadmod1 tst-quadmod2.
42272 ($(objpfx)tst-quad1): New dependency.
42273 ($(objpfx)tst-quad2): Likewise.
42274 ($(objpfx)tst-quad1pie): Likewise.
42275 ($(objpfx)tst-quad2pie): Likewise.
42276 * sysdeps/x86_64/tst-quad1.c: New file.
42277 * sysdeps/x86_64/tst-quad1pie.c: New file.
42278 * sysdeps/x86_64/tst-quad2.c: Likewise.
42279 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42280 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42281 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42282 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42283 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42284
f34d6f84
ST
422852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42286
f42d41d1
ST
42287 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42288 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42289 * streams/stropts.h (t_scalar_t): Define type.
42290
3c3571fc
ST
42291 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42292 (_PATH_PRESERVE): Set to "/var/lib".
42293 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42294
61f06bd3
ST
42295 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42296 instead of int.
42297
918d4d71
ST
42298 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42299 if __dir_mkfile succeeded.
42300
f34d6f84
ST
42301 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42302 checking for _hurd_dtablesize. Unlock it right after having
42303 finished _hurd_dtable allocation.
42304
10589b4a
TS
423052012-05-10 Thomas Schwinge <thomas@schwinge.name>
42306
674cdbc7
TS
42307 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42308 * sysdeps/mach/hurd/configure: Regenerated.
42309 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42310 special-casing to...
42311 * sysdeps/gnu/configure.in: ... this new file.
42312 * sysdeps/unix/sysv/linux/configure: Regenerated.
42313 * sysdeps/gnu/configure: New generated file.
42314
8e41b99f
TS
42315 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42316 for Linux: use nsec instead of usec, as well as:
42317 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42318 members of type struct timespec.
42319 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42320 New macros.
42321 (struct stat64): Likewise.
42322 (_STATBUF_ST_NSEC): New macro.
42323 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42324
10589b4a
TS
42325 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42326 __strtoul_internal rather than strtoul.
42327
63643c85
PT
423282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42329
42330 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42331 and reject them.
42332
3faebe6a
ST
423332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42334
42335 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42336 which preserves existing values.
42337 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42338
c6474b07
PT
423392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42340
42341 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42342 TIMEOUT values. Return EINVAL for NFDS values either negative or
42343 greater than FD_SETSIZE.
42344
1043890b
ST
423452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42346
42347 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42348 allocated, call __vm_protect to finish enabling the existing space, and
42349 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42350 allocate the remainder.
42351
37ed8b9b
PT
423522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42353
42354 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42355 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42356
db653660
ST
423572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42358
37ed8b9b
PT
42359 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42360 sysdeps/mach/hurd/readlink.c.
b29d4053 42361
db653660
ST
42362 * posix/tst-sysconf.c (posix_options): Only use
42363 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42364 _POSIX_SYNCHRONIZED_IO when they are defined
42365 * sysdeps/mach/hurd/bits/posix_opt.h:
42366 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42367 (_XOPEN_REALTIME): Undefine macro.
42368 (_XOPEN_REALTIME_THREADS): Undefine macro.
42369 (_XOPEN_SHM): Undefine macro.
42370 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42371 macro to -1.
42372 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42373 macro to -1.
42374 (_POSIX_ASYNC_IO): Undefine macro.
42375 (_POSIX_PRIORITIZED_IO): Undefine macro.
42376 (_POSIX_SPIN_LOCKS): Define macro to -1.
42377
ee16e894
ST
42378 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42379 SA_NODEFER, SA_RESETHAND.
42380 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42381 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42382 F_DUPFD_CLOEXEC.
42383
6103ae3b
TS
423842012-05-10 Thomas Schwinge <thomas@schwinge.name>
42385
42386 * elf/Makefile (pldd-modules): Define unconditionally.
42387
80b4e5f3
TS
423882012-05-10 Thomas Schwinge <thomas@schwinge.name>
42389
42390 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42391
edadcbd6
ST
423922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42393
42394 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42395 Return ENOENT when name is empty.
42396 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42397
80694780
TS
423982012-05-10 Thomas Schwinge <thomas@schwinge.name>
42399
1792c087
TS
42400 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42401
80694780
TS
42402 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42403
6b645f0d
ST
424042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42405
80694780
TS
42406 Fix mlock in all cases except non-readable pages.
42407 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42408 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42409
6b645f0d
ST
42410 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42411 (__mkdir): When path is `/', just fail with EEXIST.
42412 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42413
e468f8a3
TS
424142012-05-10 Thomas Schwinge <thomas@schwinge.name>
42415
42416 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42417 <sys/uio.h> (for writev).
42418 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42419 and <sys/param.h> (for MIN).
42420
a4186cff
PT
424212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42422
42423 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42424 REQUESTED_TIME. Properly set the remaining time and return EINTR
42425 if interrupted.
42426
510bbf14
TS
424272012-05-10 Thomas Schwinge <thomas@schwinge.name>
42428
42429 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42430 Depend on against $(link-rpcuserlibs).
42431
5d5722e8
ST
424322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42433
a4186cff
PT
42434 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42435 (__libc_stack_end): Do not use attribute_relro.
42436 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42437 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42438 to libthread-provided value.
a4186cff
PT
42439 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42440 attribute_relro.
5d5722e8 42441
37233df9
TS
424422012-05-10 Thomas Schwinge <thomas@schwinge.name>
42443
be971a2b
TS
42444 [BZ #3748]
42445 * bits/libc-lock.h (__libc_once_get): New macro.
42446 * sysdeps/mach/bits/libc-lock.h: Likewise.
42447 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42449 instead of using implementation details.
42450
37233df9
TS
42451 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42452 * libio/freopen.c: Likewise.
42453 * libio/freopen64.c: Likewise.
42454 * misc/syslog.c: Likewise.
42455 * nscd/connections.c: Likewise.
42456 * nscd/netgroupcache.c: Likewise.
42457 * sysdeps/posix/getcwd.c: Likewise.
42458
38de94a5
RM
424592012-05-10 Roland McGrath <roland@hack.frob.com>
42460
42461 * math/w_ilogbf.c: Add #include <limits.h>.
42462
67530489
ST
424632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42464
a4186cff 42465 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42466 path instead of returning without unlocking.
42467
67530489
ST
42468 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42469 immediate-write ioctls.
42470 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42471
5aa3a74a
TS
424722012-05-10 Thomas Schwinge <thomas@schwinge.name>
42473
18bad2ae
TS
42474 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42475 __builtin_frame_address instead of making assumptions about the
42476 location of the return address relative to DATA. Force early load of
42477 the return address.
42478 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42479 __builtin_frame_address.
42480
5aa3a74a
TS
42481 dup3 for GNU Hurd.
42482 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42483 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42484 implement dup3 and do some further code clean-ups.
42485 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42486 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42487
ecd0de9a
ST
424882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42489
cd9fa985
ST
42490 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42491
a4186cff
PT
42492 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42493 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42494 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42495 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42496 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42497 d->port.lock.
802ca5a5 42498
a4186cff
PT
42499 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42500 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42501 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42502
bcf55240
TS
425032012-05-10 Thomas Schwinge <thomas@schwinge.name>
42504
6960eb42
TS
42505 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42506 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42507 definitions.
42508
eb43375f
TS
42509 accept4 for GNU Hurd.
42510 * include/sys/socket.h (__libc_accept4): New prototype.
42511 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42512 to implement __libc_accept4.
42513 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42514 __libc_accept4.
42515 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42516
bcf55240
TS
42517 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42518 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42519 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42520 signal-defines.sym.
42521
6178c55b
ST
425222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42523
a4186cff 42524 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42525
6f080c2f
TS
425262012-05-10 Thomas Schwinge <thomas@schwinge.name>
42527
42528 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42529 assertion on O_CLOEXEC flag.
42530 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42531 * hurd/intern-fd.c: Likewise.
42532 * hurd/port2fd.c: Likewise.
42533
bcfe3a54
ST
425342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42535
42536 [BZ #3906]
42537 * bits/in.h (IPV6_PKTINFO): Define new macro.
42538 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42539
89c9aa49
AZ
425402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42541
42542 [BZ #13954]
42543 [BZ #13955]
42544 [BZ #13956]
42545 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42547 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42548 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42550 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42551 * math/libm-test.inc (logb_test) : Additional logb tests.
42552
021db4be
AJ
425532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42554 Andreas Jaeger <aj@suse.de>
42555
42556 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42557 * configure: Regenerated.
42558 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42559 * config.make.in (link-obsolete-rpc): New substituted variable.
42560 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42561 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42562 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42563 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42564 so that libc.a contains the symbols.
42565 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42566 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42567 * sunrpc/auth_none.c: Likewise.
42568 * sunrpc/auth_unix.c: Likewise.
42569 * sunrpc/authdes_prot.c: Likewise.
42570 * sunrpc/authuxprot.c: Likewise.
42571 * sunrpc/clnt_gen.c: Likewise.
42572 * sunrpc/clnt_perr.c: Likewise.
42573 * sunrpc/clnt_raw.c: Likewise.
42574 * sunrpc/clnt_simp.c: Likewise.
42575 * sunrpc/clnt_tcp.c: Likewise.
42576 * sunrpc/clnt_udp.c: Likewise.
42577 * sunrpc/clnt_unix.c: Likewise.
42578 * sunrpc/des_crypt.c: Likewise.
42579 * sunrpc/des_soft.c: Likewise.
42580 * sunrpc/get_myaddr.c: Likewise.
42581 * sunrpc/key_call.c: Likewise.
42582 * sunrpc/key_prot.c: Likewise.
42583 * sunrpc/netname.c: Likewise.
42584 * sunrpc/pm_getmaps.c: Likewise.
42585 * sunrpc/pm_getport.c: Likewise.
42586 * sunrpc/pmap_clnt.c: Likewise.
42587 * sunrpc/pmap_prot.c: Likewise.
42588 * sunrpc/pmap_prot2.c: Likewise.
42589 * sunrpc/pmap_rmt.c: Likewise.
42590 * sunrpc/publickey.c: Likewise.
42591 * sunrpc/rpc_cmsg.c: Likewise.
42592 * sunrpc/rpc_common.c: Likewise.
42593 * sunrpc/rpc_dtable.c: Likewise.
42594 * sunrpc/rpc_prot.c: Likewise.
42595 * sunrpc/rpc_thread.c: Likewise.
42596 * sunrpc/rtime.c: Likewise.
42597 * sunrpc/svc.c: Likewise.
42598 * sunrpc/svc_auth.c: Likewise.
42599 * sunrpc/svc_raw.c: Likewise.
42600 * sunrpc/svc_run.c: Likewise.
42601 * sunrpc/svc_tcp.c: Likewise.
42602 * sunrpc/svc_udp.c: Likewise.
42603 * sunrpc/svc_unix.c: Likewise.
42604 * sunrpc/svcauth_des.c: Likewise.
42605 * sunrpc/xcrypt.c: Likewise.
42606 * sunrpc/xdr.c: Likewise.
42607 * sunrpc/xdr_array.c: Likewise.
42608 * sunrpc/xdr_float.c: Likewise.
42609 * sunrpc/xdr_intXX_t.c: Likewise.
42610 * sunrpc/xdr_mem.c: Likewise.
42611 * sunrpc/xdr_rec.c: Likewise.
42612 * sunrpc/xdr_ref.c: Likewise.
42613 * sunrpc/xdr_sizeof.c: Likewise.
42614 * sunrpc/xdr_stdio.c: Likewise.
42615
b5c086a2
RM
426162012-05-10 Roland McGrath <roland@hack.frob.com>
42617
42618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42619 change. Update copyright years.
42620
6d74dd09
JM
426212012-05-10 Joseph Myers <joseph@codesourcery.com>
42622
42623 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42624
28e72501
MK
426252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42626 Joseph Myers <joseph@codesourcery.com>
42627 Paul Pluzhnikov <ppluzhnikov@google.com>
42628
42629 [BZ #14012]
42630 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42631 requiring rpcgen.
42632 [cross-compiling] (extra-libs): Likewise.
42633 [cross-compiling] (extra-libs-others): Likewise.
42634 [cross-compiling] (librpcsvc-routines): Likewise.
42635 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42636 [cross-compiling] (omit-deps): Likewise.
42637 (sunrpc-CPPFLAGS): New variable.
42638 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42639 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42640 (cross-rpcgen-objs): New variable.
42641 (extra-objs): Append $(cross-rpcgen-objs).
42642 ($(cross-rpcgen-objs)): New rule.
42643 ($(objpfx)cross-rpcgen): Likewise.
42644 (rpcgen-cmd): Define to use $(built-program-file). Expand
42645 comment.
42646 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42647 ($(objpfx)x%.stmp): Likewise.
42648 * sunrpc/proto.h [IS_IN_build] (_): Define.
42649 [IS_IN_build] (_libc_intl_domainname): Likewise.
42650
c8c59454
L
426512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42652
42653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42654 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42655 and R_X86_64_TPOFF64.
42656
6f27cd16
JM
426572012-05-10 Joseph Myers <joseph@codesourcery.com>
42658
42659 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42660 sysdeps/unix/sysv/syscalls.list.
42661 (stime): Likewise.
42662 (utime): Likewise.
42663 * sysdeps/unix/sysv/syscalls.list: Remove file.
42664
02467e1c
PE
426652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42666
42667 [BZ #3440]
42668 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42669 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42670 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42671 (__LC_IDENTIFICATION): Make these macros useful in #if
42672 expressions, as required by C99.
42673
da392631
AS
426742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42675
42676 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42677 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42678 after this.
42679
8115f29b
L
426802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 * stdlib/longlong.h: Updated from GCC.
42683
bdd74070
AJ
426842012-05-09 Andreas Jaeger <aj@suse.de>
42685
edfe0dbe
AJ
42686 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42687 default is first entry.
42688 (run_mode): Set type.
42689 (main): Remove informal message about syslog.
42690 (options): Fix typo.
42691
bcfe3a54
ST
42692 [BZ #14053]
42693 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42694 to asm.
bcfe3a54
ST
42695 (lrint): Likewise.
42696 (llrintf): Likewise.
42697 (llrint): Likewise.
42698 (rint): Likewise.
42699 (rintf): Likewise.
42700 (nearbyint): Likewise.
42701 (nearbyintf): Likewise.
bdd74070 42702
91d8d69e
AJ
427032012-05-09 Andreas Jaeger <aj@suse.de>
42704 Pedro Alves <palves@redhat.com>
42705
42706 * nscd/nscd.c (run_mode): Use enum.
42707 (main): Cleanup coding style issue.
42708
bb90b80b
AJ
427092012-05-09 Alexandre Oliva <aoliva@redhat.com>
42710 Andreas Jaeger <aj@suse.de>
42711
bcfe3a54
ST
42712 * nscd/nscd.c (go_background): Replaced with...
42713 (run_mode): ... this.
bb90b80b 42714 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42715 (options): Add -F --foreground.
42716 (main): Implement it.
42717 (parse_opt): Parse it.
bb90b80b 42718
1a4b75a1
AJ
427192012-05-09 Andreas Jaeger <aj@suse.de>
42720
42721 [BZ #14083]
42722 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42723 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42724 -Wconversion warning.
42725 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42726 Likewise.
42727
b1cc2472
JM
427282012-05-09 Joseph Myers <joseph@codesourcery.com>
42729
42730 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42731 == 0.
42732 (LC_ALL): Use macro-int-constant.
42733 (LC_COLLATE): Likewise.
42734 (LC_CTYPE): Likewise.
42735 (LC_MESSAGES): Likewise.
42736 (LC_MONETARY): Likewise.
42737 (LC_NUMERIC): Likewise.
42738 (LC_TIME): Likewise.
42739 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42740 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42742 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42743 Specify type.
42744 [C99-based standards] (float_t): Expect type.
42745 [C99-based standards] (double_t): Expect type.
42746 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42747 type.
42748 [C99-based standards] (HUGE_VALL): Likewise.
42749 [C99-based standards] (INFINITY): Likewise.
42750 [C99-based standards] (NAN): Likewise.
42751 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42752 [C99-based standards] (FP_NAN): Likewise.
42753 [C99-based standards] (FP_NORMAL): Likewise.
42754 [C99-based standards] (FP_SUBNORMAL): Likewise.
42755 [C99-based standards] (FP_ZERO): Likewise.
42756 [C99-based standards] (FP_FAST_FMA): Use
42757 optional-macro-int-constant. Specify type. Require == 1.
42758 [C99-based standards] (FP_FAST_FMAF): Likewise.
42759 [C99-based standards] (FP_FAST_FMAL): Likewise.
42760 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42761 [C99-based standards] (FP_ILOGBNAN): Likewise.
42762 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42763 Specify type.
42764 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42765 [C99-based standards] (math_errhandling): Specify type.
42766 [ISO99 || ISO11] (signgam): Do not allow.
42767 [non-C99-based standards] (copysignf): Do not allow.
42768 [non-C99-based standards] (exp2f): Likewise.
42769 [non-C99-based standards] (log2f): Likewise.
42770 [non-C99-based standards] (modff): Allow.
42771 [non-C99-based standards] (erff): Do not allow.
42772 [non-C99-based standards] (erfcf): Likewise.
42773 [non-C99-based standards] (gammaf): Likewise.
42774 [non-C99-based standards] (hypotf): Likewise.
42775 [non-C99-based standards] (j0f): Likewise.
42776 [non-C99-based standards] (j1f): Likewise.
42777 [non-C99-based standards] (jnf): Likewise.
42778 [non-C99-based standards] (lgammaf): Likewise.
42779 [non-C99-based standards] (tgammaf): Likewise.
42780 [non-C99-based standards] (y0f): Likewise.
42781 [non-C99-based standards] (y1f): Likewise.
42782 [non-C99-based standards] (ynf): Likewise.
42783 [non-C99-based standards] (isnanf): Likewise.
42784 [non-C99-based standards] (acoshf): Likewise.
42785 [non-C99-based standards] (asinhf): Likewise.
42786 [non-C99-based standards] (atanhf): Likewise.
42787 [non-C99-based standards] (cbrtf): Likewise.
42788 [non-C99-based standards] (expm1f): Likewise.
42789 [non-C99-based standards] (ilogbf): Likewise.
42790 [non-C99-based standards] (log1pf): Likewise.
42791 [non-C99-based standards] (logbf): Likewise.
42792 [non-C99-based standards] (nextafterf): Likewise.
42793 [non-C99-based standards] (remainderf): Likewise.
42794 [non-C99-based standards] (rintf): Likewise.
42795 [non-C99-based standards] (scalbf): Likewise.
42796 [non-C99-based standards] (copysignl): Likewise.
42797 [non-C99-based standards] (exp2l): Likewise.
42798 [non-C99-based standards] (log2l): Likewise.
42799 [non-C99-based standards] (modfl): Allow.
42800 [non-C99-based standards] (erfl): Do not allow.
42801 [non-C99-based standards] (erfcl): Likewise.
42802 [non-C99-based standards] (gammal): Likewise.
42803 [non-C99-based standards] (hypotl): Likewise.
42804 [non-C99-based standards] (j0l): Likewise.
42805 [non-C99-based standards] (j1l): Likewise.
42806 [non-C99-based standards] (jnl): Likewise.
42807 [non-C99-based standards] (lgammal): Likewise.
42808 [non-C99-based standards] (tgammal): Likewise.
42809 [non-C99-based standards] (y0l): Likewise.
42810 [non-C99-based standards] (y1l): Likewise.
42811 [non-C99-based standards] (ynl): Likewise.
42812 [non-C99-based standards] (isnanl): Likewise.
42813 [non-C99-based standards] (acoshl): Likewise.
42814 [non-C99-based standards] (asinhl): Likewise.
42815 [non-C99-based standards] (atanhl): Likewise.
42816 [non-C99-based standards] (cbrtl): Likewise.
42817 [non-C99-based standards] (expm1l): Likewise.
42818 [non-C99-based standards] (ilogbl): Likewise.
42819 [non-C99-based standards] (log1pl): Likewise.
42820 [non-C99-based standards] (logbl): Likewise.
42821 [non-C99-based standards] (nextafterl): Likewise.
42822 [non-C99-based standards] (remainderl): Likewise.
42823 [non-C99-based standards] (rintl): Likewise.
42824 [non-C99-based standards] (scalbl): Likewise.
42825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42826 [non-C99-based standards] (FP_*): Do not allow.
42827 [C99-based standards] (FP_*): Change to
42828 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42829 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42830 allow.
42831 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42832 (SIG_ERR): Likewise.
42833 [X/Open-based standards] (SIG_HOLD): Likewise.
42834 (SIG_IGN): Likewise.
42835 (SIGABRT): Use macro-int-constant. Specify type. Require
42836 positive value.
42837 (SIGFPE): Likewise.
42838 (SIGILL): Likewise.
42839 (SIGINT): Likewise.
42840 (SIGSEGV): Likewise.
42841 (SIGTER): Likewise.
42842 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42843 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42845 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42846 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42847 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42848 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42849 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42850 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42851 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42852 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42853 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42854 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42855 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42856 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42857 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42858 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42859 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42860 [X/Open-based standards] (SIGTRAP): Likewise.
42861 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42862 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42863 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42864 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42865 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42866 allow.
42867
b9f1922d
IW
428682012-05-08 Ian Wienand <ianw@vmware.com>
42869
42870 [BZ #14080]
42871 * time/tzset.c (__tzset_parse_tz): Update default rules for
42872 daylight time changes in the Energy Policy Act of 2005.
42873
1db86e88
AJ
428742012-05-09 Andreas Jaeger <aj@suse.de>
42875
42876 [BZ #13983]
42877 * elf/ldconfig.c (parse_conf): Change string to make clear that
42878 ldconfig only issued a warning if ld.so.conf does not exist.
42879
dee4a4e3
DM
428802012-05-08 David S. Miller <davem@davemloft.net>
42881
ee0db190
DM
42882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42883 movxtod instead of popping the value on the stack.
42884
dee4a4e3
DM
42885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42886
6a43ec98
CD
428872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42888
42889 * config.h.in: Add HAVE_ARM_PCS_VFP.
42890
05c2c961
RMG
428912012-05-08 Roland Mc Grath <roland@hack.frob.com>
42892
bcfe3a54
ST
42893 [BZ #13979]
42894 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42895 checking but the checks are disabled for any reason.
05c2c961 42896
4b30f61a
L
428972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42898
42899 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42900 and ELF64_R_TYPE with ELFW(R_TYPE).
42901
eee2bc67
JM
429022012-05-08 Joseph Myers <joseph@codesourcery.com>
42903
7ea5391a
JM
42904 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42905 (ulimit): Likewise.
42906
eee2bc67
JM
42907 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42908 (settimeofday): Likewise.
42909
abb66a67
MF
429102012-05-08 Mike Frysinger <vapier@gentoo.org>
42911
42912 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42913 a struct th_u2 inside the union, and move tu_block/tu_code into
42914 a new th_u3 union of tu_block/tu_code inside of that. Move
42915 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42916 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42917 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42918 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42919 (th_stuff): Change to th_u1.tu_stuff.
42920 (th_data): Define.
42921 (th_msg): Change to th_u1.th_u2.tu_data.
42922
7f18b530
DM
429232012-05-07 David S. Miller <davem@davemloft.net>
42924
05760585
DM
42925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42926
7f18b530
DM
42927 [BZ #14074]
42928 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42929 (SETUP_PIC_REG): Use it.
42930 (SETUP_PIC_REG_LEAF): Use it.
42931
495fd99f
JM
429322012-05-07 Joseph Myers <joseph@codesourcery.com>
42933
42934 [BZ #13885]
42935 [BZ #13923]
42936 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42937 USE_AS_EXPM1L.
42938 (EXPL_FINITE): Likewise.
42939 (FLDLOG): Likewise.
42940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42941 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42942 e_expl.S.
42943 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42944 USE_AS_EXPM1L.
42945 (EXPL_FINITE): Likewise.
42946 (FLDLOG): Likewise.
42947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42948 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42949 e_expl.S.
42950 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42951 test of -max_value argument for long double.
42952 * sysdeps/i386/fpu/libm-test-ulps: Update.
42953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42954
6693d694
DM
429552012-05-06 David S. Miller <davem@davemloft.net>
42956
42957 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42958 quad soft-float symbols whose references which are compiler
42959 generated.
42960 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42961
6c23e11c
JM
429622012-05-06 Joseph Myers <joseph@codesourcery.com>
42963
d8b82cad
JM
42964 [BZ #13884]
42965 [BZ #13914]
42966 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42967 USE_AS_EXP10L.
42968 (EXPL_FINITE): Likewise.
42969 (FLDLOG): Likewise.
42970 (c0): Likewise.
42971 (c1): Likewise.
42972 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42973 Adjust comments for base varying.
42974 (__expl_finite): Change alias to EXPL_FINITE.
42975 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42976 e_expl.S.
42977 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42978 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42980 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42982 USE_AS_EXP10L.
42983 (EXPL_FINITE): Likewise.
42984 (FLDLOG): Likewise.
42985 (c0): Likewise.
42986 (c1): Likewise.
42987 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42988 Adjust comments for base varying.
42989 (__expl_finite): Change alias to EXPL_FINITE.
42990 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42991 tests for bugs.
42992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42993
6c23e11c
JM
42994 [BZ #14064]
42995 * math/libm-test.inc (check_float_internal): Correct ulp
42996 calculation for subnormal expected results.
42997
29ba805c
AJ
429982012-05-06 Andreas Jaeger <aj@suse.de>
42999
43000 * Makeconfig (+math-flags): New, set to -frounding-math.
43001 (+cflags): Add +math-flags so that all of glibc gets compiled with
43002 it.
43003
43004 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43005
7b17aeda
JM
430062012-05-05 Joseph Myers <joseph@codesourcery.com>
43007
5779f134
JM
43008 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43009 Disable one test.
43010
41498f4d
JM
43011 [BZ #13787]
43012 [BZ #13922]
43013 [BZ #14036]
43014 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43015 (__ieee754_expl): Allow for and saturate large arguments.
43016 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43017 (u_threshold): Likewise.
43018 (__exp): Call __ieee754_exp before checking for overflow and
43019 underflow.
43020 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43021 (u_threshold): Likewise.
43022 (__expf): Call __ieee754_expf before checking for overflow and
43023 underflow.
43024 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43025 (u_threshold): Likewise.
43026 (__expl): Call __ieee754_expl before checking for overflow and
43027 underflow.
43028 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43029 (__ieee754_expl): Allow for and saturate large arguments.
43030 * math/libm-test.inc (exp_test): Add another test. Do not allow
43031 missing overflow exception on overflow.
43032 (expm1_test): Do not allow missing overflow exception on overflow.
43033
6698b8bf
JM
43034 * sysdeps/i386/fpu/e_expl.c: Move to ...
43035 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43036 rather than using inline asm.
43037 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43038 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43039 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43040
7b17aeda
JM
43041 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43042 (nice): Likewise.
43043 (poll): Likewise.
43044 (signal): Likewise.
43045 (time): Likewise.
43046 (times): Likewise.
43047
f7c85819
JM
430482012-05-04 Joseph Myers <joseph@codesourcery.com>
43049
43050 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43051 sysdeps/unix/common/syscalls.list.
43052 (fchmod): Likewise.
43053 (fchown): Likewise.
43054 (ftruncate): Likewise.
43055 (getrusage): Likewise.
43056 (gettimeofday): Likewise.
43057 (setpgid): Likewise.
43058 (setregid): Likewise.
43059 (setreuid): Likewise.
43060 (sigaction): Likewise.
43061 (truncate): Likewise.
43062 (vhangup): Likewise.
43063 * sysdeps/unix/common/syscalls.list: Remove file.
43064 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43065 * sysdeps/unix/sysv/linux/Implies: Likewise.
43066
336270d0
L
430672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43068
43069 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43071 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43072 Moved to ...
43073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43074 Here.
43075 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43076 to ...
43077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43078 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43079 to ...
43080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43081 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43082 to ...
43083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43084 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43085 to ...
43086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43087 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43088 to ...
43089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43090 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43091 to ...
43092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43093 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43094 to ...
43095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43096 Here.
43097 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43098 to ...
43099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43100 Here.
43101 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43102 to ...
43103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43104 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43105 Moved to ...
43106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43107 Here.
43108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43109 to ...
43110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43111
d128e450
JM
431122012-05-04 Joseph Myers <joseph@codesourcery.com>
43113
fa8ee516
JM
43114 * sysdeps/unix/common/bits/dirent.h: Remove file.
43115 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43116
d128e450
JM
43117 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43118 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43119 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43120 * sysdeps/unix/bsd/isatty.c: Likewise.
43121 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43122 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43123 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43124
ff8faaf0 431252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43126
62881be4 43127 [BZ #13563]
31dc8730
AZ
43128 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43129 long double comparison inaccuracies.
43130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43132
6fef930c
AS
431332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43134
43135 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43137
8f203e6c
JM
431382012-05-04 Joseph Myers <joseph@codesourcery.com>
43139
43140 [BZ #14049]
43141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43142 nonzero digits before rounding a hex value.
43143 * stdlib/tst-strtod.c (tests): Add another test.
43144
5197d9c2
AK
431452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43146
43147 * sysdeps/s390/fpu/libm-test-ulps: Update.
43148
f0c1dedf
AJ
431492012-05-03 Andreas Jaeger <aj@suse.de>
43150
43151 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43152 does not get optimized out.
43153 (malloc_opt_barrier): New.
43154
a65ef2ae 431552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43156 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43157
2b942cb7 43158 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43159 intermediate file deletion.
2b942cb7 43160 (generated): Add .symlist files.
a65ef2ae 43161
54b71e02
JM
431622012-05-03 Joseph Myers <joseph@codesourcery.com>
43163
43164 [BZ #13775]
43165 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43166 Redirect under this condition.
43167 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43168 [__USE_GNU] (__dprintf_chk): Not under this condition.
43169 [__USE_GNU] (__vdprintf_chk): Likewise.
43170 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43171 under this condition.
43172 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43173 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43174 [__USE_XOPEN2K8] (vdprintf): Likewise.
43175 [__USE_GNU] (__dprintf_chk): Not under this condition.
43176 [__USE_GNU] (__vdprintf_chk): Likewise.
43177 [__USE_GNU] (dprintf): Likewise.
43178 [__USE_GNU] (vdprintf): Likewise.
43179
d3dfcc41
RM
431802012-05-03 Roland McGrath <roland@hack.frob.com>
43181
43182 * elf/Makefile (common-generated): Set this instead of generated for
43183 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43184 $(all-built-dso)-derived lists.
43185
7ac30cc5
AJ
431862012-05-03 Andreas Jaeger <aj@suse.de>
43187
0c51e550
AJ
43188 * sysdeps/i386/fpu/libm-test-ulps: Update.
43189
7ac30cc5
AJ
43190 * FAQ: Removed.
43191 * FAQ.in: Likewise.
43192 * scripts/gen-FAQ.pl: Likewise.
43193 * manual/install.texi (Installation): Point to online location of
43194 FAQ.
43195 * Makefile (files-for-dist): Remove FAQ.
43196 (FAQ): Remove.
43197
d4c2917f
AM
431982012-05-02 Allan McRae <allan@archlinux.org>
43199
43200 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43201 (LDFLAGS-reldepmod5.so): Likewise.
43202 (LDFLAGS-reldep6mod1.so): Likewise.
43203 (LDFLAGS-reldep6mod4.so): Likewise.
43204 (LDFLAGS-reldep8mod3.so): Likewise.
43205 (LDFLAGS-unload4mod1.so): Likewise.
43206 (LDFLAGS-unload4mod2.so): Likewise.
43207 (LDFLAGS-tst-initorder): Likewise.
43208 (LDFLAGS-tst-initordera2.so): Likewise.
43209 (LDFLAGS-tst-initordera3.so): Likewise.
43210 (LDFLAGS-tst-initordera4.so): Likewise.
43211 (LDFLAGS-tst-initorderb2.so): Likewise.
43212 (LDFLAGS-noload): Likewise.
43213 (LDFLAGS-next): Likewise.
43214 (LDFLAGS-order2mod1.so): Likewise.
43215 (LDFLAGS-order2mod2.so): Likewise.
43216 (LDFLAGS-tst-initorder2): Likewise.
43217 (LDFLAGS-tst-initorder2a.so): Likewise.
43218 (LDFLAGS-tst-initorder2b.so): Likewise.
43219 (LDFLAGS-tst-initorder2c.so): Likewise.
43220 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43221
d77f993f
DM
432222012-05-02 David S. Miller <davem@davemloft.net>
43223
43224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43225
171a70b4
PP
432262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43227
43228 [BZ #14055]
43229 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43230
0be196ad
AJ
432312012-05-02 Andreas Jaeger <aj@suse.de>
43232
43233 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43234 since we manipulate rounding mode.
43235 (CPPFLAGS-test-idouble.c): Likewise.
43236 (CPPFLAGS-test-ifloat.c): Likewise.
43237 (CFLAGS-test-ldouble.c): Likewise.
43238 (CFLAGS-test-double.c): Likewise.
43239 (CFLAGS-test-float.c): Likewise.
43240 (CFLAGS-test-misc.c): Likewise.
43241 (CFLAGS-test-test-fenv.c): Likewise.
43242
4f9d04aa
AZ
432432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43244
2b942cb7
RM
43245 [BZ #2550]
43246 [BZ #2570]
43247 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43248 comparisons to determine direction to adjust input.
4f9d04aa 43249
82a79e7d
RM
432502012-05-01 Roland McGrath <roland@hack.frob.com>
43251
f5a01ca9
RM
43252 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43253 output to the target.
43254
90fe4186
RM
43255 * scripts/localplt.awk: New file.
43256 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43257 (check-localplt-CFLAGS): Variable removed.
43258 ($(all-built-dso:=.jmprel)): New static pattern rule.
43259 (generated): Add those targets.
43260 (localplt-built-dso): New variable.
43261 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43262
43263 * elf/check-localplt.c: File removed.
43264
82397ed6
RM
43265 * scripts/check-execstack.awk: New file.
43266 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43267 (check-execstack-CFLAGS): Variable removed.
43268 ($(objpfx)check-execstack.h): Target removed.
43269 ($(objpfx)execstack-default): New target.
43270 (generated): Add that instead of check-execstack.h.
43271 ($(all-built-dso:=.phdr)): New static pattern rule.
43272 (generated): Add those targets.
43273 * elf/check-execstack.c: File removed.
43274
82a79e7d
RM
43275 * scripts/check-textrel.awk: New file.
43276 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43277 (check-textrel-CFLAGS): Variable removed.
43278 (all-built-dso): Use := to define.o
43279 ($(all-built-dso:=.dyn)): New static pattern rule.
43280 (generated): Add those targets.
43281 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43282 * config.make.in (READELF): New substituted variable.
43283 * elf/check-textrel.c: File removed.
43284
62fde54f 432852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43286
615605c9
JM
43287 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43288 allow.
43289 * conform/data/ctype.h-data [C99-based standards] (isblank):
43290 Expect function.
43291 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43292 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43294 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43295 Specify type. Require positive value.
43296 (EILSEQ): Likewise.
43297 (ERANGE): Likewise.
43298 [ISO || POSIX] (EILSEQ): Do not expect.
43299 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43300 Specify type. Require positive value.
43301 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43302 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43303 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43304 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43305 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43306 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43307 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43308 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43309 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43310 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43311 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43312 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43313 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43314 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43315 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43316 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43317 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43318 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43319 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43320 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43321 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43322 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43323 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43324 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43325 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43326 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43327 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43328 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43329 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43330 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43331 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43332 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43333 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43334 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43335 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43336 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43337 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43338 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43339 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43340 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43341 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43342 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43343 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43344 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43345 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43346 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43347 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43348 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43349 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43350 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43351 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43352 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43353 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43354 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43355 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43356 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43357 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43358 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43359 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43360 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43361 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43362 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43363 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43364 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43365 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43366 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43367 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43368 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43369 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43370 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43371 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43372 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43373 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43374 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43375 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43376 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43377 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43378 Require >= 2.
43379 (FLT_ROUNDS): Expect as macro, not constant.
43380 (FLT_MANT_DIG): Use macro-int-constant.
43381 (DBL_MANT_DIG): Likewise.
43382 (LDBL_MANT_DIG): Likewise.
43383 (FLT_DIG): Likewise.
43384 (DBL_DIG): Likewise.
43385 (LDBL_DIG): Likewise.
43386 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43387 (DBL_MIN_EXP): Likewise.
43388 (LDBL_MIN_EXP): Likewise.
43389 (FLT_MAX_EXP): Use macro-int-constant.
43390 (DBL_MAX_EXP): Likewise.
43391 (LDBL_MAX_EXP): Likewise.
43392 (FLT_MAX_10_EXP): Likewise.
43393 (DBL_MAX_10_EXP): Likewise.
43394 (LDBL_MAX_10_EXP): Likewise.
43395 (FLT_MAX): Use macro-constant.
43396 (DBL_MAX): Likewise.
43397 (LDBL_MAX): Likewise.
43398 (FLT_EPSILON): Use macro-constant. Give upper bound.
43399 (DBL_EPSILON): Likewise.
43400 (LDBL_EPSILON): Likewise.
43401 (FLT_MIN): Likewise.
43402 (DBL_MIN): Likewise.
43403 (LDBL_MIN): Likewise.
43404 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43405 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43406 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43407 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43408 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43409 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43410 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43411 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43412 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43413 [ISO11] (FLT_TRUE_MIN): Likewise.
43414 [ISO11] (LDBL_TRUE_MIN): Likewise.
43415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43416 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43417 (SCHAR_MIN): Use macro-int-constant. Specify type.
43418 (SCHAR_MAX): Likewise.
43419 (UCHAR_MAX): Likewise.
43420 (CHAR_MIN): Likewise.
43421 (CHAR_MAX): Likewise.
43422 (MB_LEN_MAX): Use macro-int-constant.
43423 (SHRT_MIN): Use macro-int-constant. Specify type.
43424 (SHRT_MAX): Likewise.
43425 (USHRT_MAX): Likewise.
43426 (INT_MAX): Likewise.
43427 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43428 bound negative.
43429 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43430 bound with "U".
43431 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43432 bound with "L".
43433 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43434 bound negative. Suffix upper bound with "L".
43435 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43436 bound with "UL".
43437 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43438 Specify type.
43439 [C99-based standards] (LLONG_MAX): Likewise.
43440 [C99-based standards] (ULLONG_MAX): Likewise.
43441 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43442 == 0.
43443 [ISO11] (max_align_t): Require type.
43444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43445
c9140a62
JM
43446 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43447 from $CFLAGS, without defining away __attribute__ calls.
43448 (checknamespace): Use $CFLAGS_namespace.
43449
9af0bf29
JM
43450 * conform/conformtest.pl (@keywords): Only include C99 keywords
43451 for standards based on C99 or C11.
43452
343222a2
JM
43453 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43454 Disable tests.
43455 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43456 UNIX98]: Likewise.
43457
661f8cf0
JM
43458 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43459 usability of symbols in #if.
43460
ee74b9cb
JM
43461 * conform/conformtest.pl: If macro or constant types start
43462 "promoted:", expect the symbol to be of the following type
43463 promoted by the integer promotions.
62fde54f 43464
aafc49b3
JM
43465 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43466 in one place. Also handle "macro-constant".
43467
fefdf574
JM
43468 * conform/conformtest.pl: Only accept expected macro values with
43469 "==". Parse all "macro" lines in one place.
43470 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43471
f2d922fe
JM
43472 * conform/conformtest.pl: Handle braced types on "constant" lines
43473 instead of handling "typed-constant".
43474 * conform/data/signal.h-data: Use "constant" instead of
43475 "typed-constant".
43476
d22956c9
JM
43477 * conform/conformtest.pl: Handle "optional-" at start of lines in
43478 one place rather than duplicating several cases. Handle each
43479 format of "macro" line with initial "optional-".
43480
028e2e38
JM
43481 * conform/conformtest.pl: Only accept expected constant or
43482 optional-constant values with "==". Parse all "constant" lines in
43483 one place. Parse all "optional-constant" lines in one place.
43484 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43485 * conform/data/fmtmsg.h-data: Likewise.
43486 * conform/data/netinet/in.h-data: Likewise.
43487 * conform/data/tar.h-data: Likewise.
43488 * conform/data/limits.h-data: Use "==" form on "constant" and
43489 "optional-constant" lines.
43490
1b8f2850
JM
43491 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43492 Use -std=c99 for XOPEN2K.
43493 (@knownproblems): Remove.
43494 (newtoken): Don't check %isknown.
43495
a05a144b
JM
43496 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43497 Do not expect macro.
43498 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43499 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43500 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43501 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43502 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43503 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43504 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43505 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43506 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43507 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43508 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43509 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43510 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43511 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43512 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43513 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43514 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43515 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43516 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43517 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43518 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43520 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43521 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43522 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43523 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43524 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43525 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43526 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43527 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43528 [XPG3] (acosh): Likewise.
43529 [XPG3] (asinh): Likewise.
43530 [XPG3] (atanh): Likewise.
43531 [XPG3] (cbrt): Likewise.
43532 [XPG3] (expm1): Likewise.
43533 [XPG3] (ilogb): Likewise.
43534 [XPG3] (log1p): Likewise.
43535 [XPG3] (logb): Likewise.
43536 [XPG3] (nextafter): Likewise.
43537 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43538 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43539 [XPG3] (remainder): Likewise.
43540 [XPG3] (rint): Likewise.
43541 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43542 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43543 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43544 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43545 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43546 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43547 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43548 [UNIX98 || XOPEN2K] (scalb): Expect.
43549 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43550 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43551 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43552 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43553 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43554 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43555 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43556 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43557 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43558 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43559 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43560 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43561 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43562 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43563 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43564 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43565 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43566 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43567 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43568 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43569 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43570 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43571 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43572 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43573 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43574 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43575 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43576 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43577 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43578 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43579 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43580 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43581 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43582 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43583 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43584 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43585 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43586 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43587 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43588 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43589 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43590 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43591 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43592 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43593 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43594 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43595 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43596 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43597 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43598 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43599 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43600 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43601 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43602 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43603 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43604 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43605 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43606 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43607 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43608 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43609 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43610 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43611 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43612 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43613 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43614 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43615 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43616 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43617 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43618 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43619 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43620 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43621 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43622 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43623 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43624 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43625 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43626 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43627 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43628 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43629 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43630 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43631 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43632 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43633 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43634 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43635 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43636 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43637 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43638 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43639 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43640 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43641 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43642 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43643 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43644 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43645 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43646 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43647 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43648 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43649 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43650 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43651 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43652 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43653 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43654 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43655 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43656 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43657 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43658 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43659 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43660 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43661 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43662 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43663 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43664 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43665 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43666 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43667 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43668 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43669 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43670 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43671 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43672 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43673 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43674 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43675 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43676 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43677 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43678 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43679 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43680 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43681 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43682 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43683 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43684 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43685 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43686
73c5ebe3
JM
43687 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43688 _XOPEN_SOURCE_EXTENDED for XPG4.
43689
39c33b6c
JM
43690 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43691
62fde54f
JM
43692 * Makeconfig (localtime): Remove variable.
43693 (inst_localtime-file): Likewise.
43694
0741d64c
AS
436952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43696
43697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43698 Update.
43699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43700 Update.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43702 Update.
43703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43704 Update.
43705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43706 Update.
43707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43708 Update.
43709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43710 Update.
43711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43712 Update.
43713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43714 Update.
43715
7cb029ee
JM
437162012-05-01 Joseph Myers <joseph@codesourcery.com>
43717
43718 [BZ #2550]
43719 [BZ #2570]
43720 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43721 comparisons to determine direction to adjust input.
43722 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43723 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43724 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43725 Likewise.
43726 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43727 Likewise.
43728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43729 Likewise.
43730 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43731 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43732 Likewise.
43733 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43734 Likewise.
43735 * math/libm-test.inc (nexttoward_test): Add more tests.
43736
412bd966
AS
437372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43738
43739 [BZ #14040]
43740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43741 in version GLIBC_2.1, not GLIBC_2.0.
43742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43743 Likewise.
43744
9568c0c2
JM
437452012-04-30 Joseph Myers <joseph@codesourcery.com>
43746
adfbc8ac
JM
43747 [BZ #13942]
43748 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43749 (1 - x) * (1 + x).
43750 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43751 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43752 * math/libm-test.inc (acos_test): Add more tests.
43753 (asin_test): Likewise.
43754 * sysdeps/i386/fpu/libm-test-ulps: Update.
43755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43756
5ba3cc69
JM
43757 [BZ #14034]
43758 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43759 of square root.
43760 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43761 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43762 * math/libm-test.inc (acos_test_tonearest): New function.
43763 (acos_test_towardzero): Likewise.
43764 (acos_test_downward): Likewise.
43765 (acos_test_upward): Likewise.
43766 (asin_test_tonearest): Likewise.
43767 (asin_test_towardzero): Likewise.
43768 (asin_test_downward): Likewise.
43769 (asin_test_upward): Likewise.
43770 (main): Call the new functions.
43771 * sysdeps/i386/fpu/libm-test-ulps: Update.
43772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43773
9568c0c2
JM
43774 [BZ #13884]
43775 [BZ #13924]
43776 * math/e_exp10.c: Include <float.h>.
43777 (__ieee754_exp10): Handle underflow here rather than multiplying
43778 large negative argument by M_LN10.
43779 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43780 of __ieee754_expf.
43781 * math/e_exp10l.c: Include <float.h>.
43782 (__ieee754_exp10l): Handle underflow here rather than multiplying
43783 large negative argument by M_LN10l.
43784 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43785 spurious overflow exception on underflow.
43786
5ac3ea17
MP
437872012-04-29 Marek Polacek <polacek@redhat.com>
43788
43789 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43790 (__fortify_function): New macro.
43791 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43792 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43793 __extern_always_inline.
43794 * libio/bits/stdio2.h: Likewise.
43795 * libio/bits/stdio.h: Likewise.
43796 * string/string.h: Likewise.
43797 * string/bits/string3.h: Likewise.
43798 * include/stdio.h: Likewise.
43799 * stdlib/bits/stdlib.h: Likewise.
43800 * stdlib/stdlib.h: Likewise.
43801 * rt/bits/mqueue2.h: Likewise.
43802 * rt/mqueue.h: Likewise.
43803 * posix/bits/unistd.h: Likewise.
43804 * posix/unistd.h: Likewise.
43805 * io/bits/poll2.h: Likewise.
43806 * io/bits/fcntl2.h: Likewise.
43807 * io/fcntl.h: Likewise.
43808 * io/sys/poll.h: Likewise.
43809 * misc/bits/syslog.h: Likewise.
43810 * misc/bits/syslog-ldbl.h: Likewise.
43811 * misc/sys/syslog.h: Likewise.
43812 * socket/bits/socket2.h: Likewise.
43813 * socket/sys/socket.h: Likewise.
43814 * debug/tst-chk1.c: Likewise.
43815 * wcsmbs/bits/wchar2.h: Likewise.
43816 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43817 * wcsmbs/wchar.h: Likewise.
43818
ecf0ebfb
AJ
438192012-04-29 Andreas Jaeger <aj@suse.de>
43820
43821 * Makerules (tests): Remove enable-check-abi protection.
43822 (check-abi-warn): Remove.
43823 (check-abi-%): Remove check-abi-warn usage.
43824
43825 * configure.in: Remove check-abi configure option.
43826 * configure: Regenerated.
43827 * config.make.in (enable-check-abi): Remove.
43828
6d5c57fa
AS
438292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43830
24c5d07e 43831 [BZ #14033]
ded5180a
AS
43832 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43833 double functions to double *_finite functions.
43834
7e0d315d
AS
43835 [BZ #13941]
43836 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43837 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43838 LDBL_MIN_EXP.
43839 * stdio-common/Makefile (tests): Add tst-sprintf3.
43840 * stdio-common/tst-sprintf3.c: New file.
43841
6d5c57fa
AS
43842 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43843 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43844
0749ff8b
JM
438452012-04-28 Joseph Myers <joseph@codesourcery.com>
43846
43847 * conform/conformtest.pl: Remove duplicate typed-constant
43848 handling.
43849
8dbd5d7b
DM
438502012-04-28 David S. Miller <davem@davemloft.net>
43851
43852 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43853 (check-abi-%): Remove AWK script prerequisite and explicit
43854 abilist directory.
43855 (check-abi): Rewrite to just diff the symlist with the abilist.
43856 (config-tls, config-abi-config): Delete, no longer used.
43857 (update-abi-%): Remove AWK script and explicit abilist directory.
43858 (update-abi): Rewrite to simply compare and conditionally copy the
43859 symlist and the sysdep abilist file. Remove update-abi-config
43860 checks.
43861 * abilist/ld.abilist: Remove.
43862 * abilist/libBrokenLocale.abilist: Remove.
43863 * abilist/libanl.abilist: Remove.
43864 * abilist/libcrypt.abilist: Remove.
43865 * abilist/libdl.abilist: Remove.
43866 * abilist/librt.abilist: Remove.
43867 * abilist/libthread_db.abilist: Remove.
43868 * abilist/libutil.abilist: Remove.
43869 * scripts/extract-abilist.awk: Remove.
43870 * scripts/merge-abilist.awk: Remove.
43871 * sysdeps/generic/libcidn.abilist: New file.
43872 * sysdeps/generic/libnss_compat.abilist: New file.
43873 * sysdeps/generic/libnss_db.abilist: New file.
43874 * sysdeps/generic/libnss_dns.abilist: New file.
43875 * sysdeps/generic/libnss_files.abilist: New file.
43876 * sysdeps/generic/libnss_hesiod.abilist: New file.
43877 * sysdeps/generic/libnss_nis.abilist: New file.
43878 * sysdeps/generic/libnss_nisplus.abilist: New file.
43879 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43880 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43881 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43882 file.
43883 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43884 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43885 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43886 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43887 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43888 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43889 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43890 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43891 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43892 file.
43893 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43894 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43895 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43896 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43897 file.
43898 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43899 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43900 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43901 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43902 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43903 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43904 file.
43905 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43906 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43907 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43908 file.
43909 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43911 New file.
43912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43913 New file.
43914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43915 New file.
43916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43917 New file.
43918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43919 New file.
43920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43921 New file.
43922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43923 New file.
43924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43925 New file.
43926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43927 New file.
43928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43929 New file.
43930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43931 New file.
43932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43933 New file.
43934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43935 New file.
43936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43937 file.
43938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43939 New file.
43940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43941 New file.
43942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43943 file.
43944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43945 New file.
43946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43947 New file.
43948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43949 file.
43950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43951 New file.
43952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43953 New file.
43954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43955 New file.
43956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43957 New file.
43958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43959 New file.
43960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43961 New file.
43962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43964 file.
43965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43966 New file.
43967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43968 file.
43969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43970 file.
43971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43972 file.
43973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43974 file.
43975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43976 file.
43977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43978 New file.
43979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43980 file.
43981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43982 file.
43983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43984 New file.
43985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43986 file.
43987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43989 file.
43990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43991 New file.
43992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43993 file.
43994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43995 file.
43996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43997 file.
43998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43999 file.
44000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44001 file.
44002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44003 New file.
44004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44005 file.
44006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44007 file.
44008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44009 New file.
44010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44011 file.
44012 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44013 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44014 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44015 file.
44016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44017 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44018 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44019 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44020 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44021 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44022 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44023 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44024 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44025 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44028 file.
44029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44030 New file.
44031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44032 file.
44033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44034 file.
44035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44036 file.
44037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44038 file.
44039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44040 file.
44041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44042 New file.
44043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44044 New file.
44045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44046 file.
44047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44048 New file.
44049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44050 file.
44051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44053 file.
44054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44055 New file.
44056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44057 file.
44058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44059 file.
44060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44061 file.
44062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44063 file.
44064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44065 file.
44066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44067 New file.
44068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44069 New file.
44070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44071 file.
44072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44073 New file.
44074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44075 file.
44076
41d73a1b
JM
440772012-04-28 Joseph Myers <joseph@codesourcery.com>
44078
44079 * conform/conformtest.pl: Fix typo in handling typed-constant from
44080 allow-header.
44081
28aeeda4
JM
440822012-04-27 Joseph Myers <joseph@codesourcery.com>
44083
adae8f5e
JM
44084 * README: Cut down references to pre-2.6 Linux kernels and
44085 Linuxthreads. Update lists of configurations in libc and ports
44086 and sort alphabetically. Say "or newer" with Linux kernel version
44087 requirements.
44088
28aeeda4
JM
44089 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44090
a462cb63
RA
440912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44092
44093 [BZ #887]
44094 * math/libm-test.inc (logb_test_downward): New test to expose
44095 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44096 rounding mode.
44097
6ad3493e
JM
440982012-04-27 Joseph Myers <joseph@codesourcery.com>
44099
44100 [BZ #14027]
44101 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44102 to be done.
44103 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44104 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44105
2ce4f015
JM
441062012-04-26 Joseph Myers <joseph@codesourcery.com>
44107
5aeb141a
JM
44108 * sysdeps/unix/i386/brk.S: Remove file.
44109 * sysdeps/unix/i386/dl-brk.S: Likewise.
44110 * sysdeps/unix/i386/pipe.S: Likewise.
44111 * sysdeps/unix/i386/sigreturn.S: Likewise.
44112 * sysdeps/unix/i386/syscall.S: Likewise.
44113 * sysdeps/unix/i386/vfork.S: Likewise.
44114 * sysdeps/unix/i386/wait.S: Likewise.
44115
7143acae
JM
44116 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44117 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44118
2ce4f015
JM
44119 * configure.in (arm*-none*): Do not allow without
44120 --enable-hacker-mode.
44121 (netbsd*): Remove case setting base_os.
44122 (386bsd*): Likewise.
44123 (freebsd*): Likewise.
44124 (bsdi*): Likewise.
44125 (osf*): Likewise.
44126 (sunos*): Likewise.
44127 (ultrix*): Likewise.
44128 (newsos*): Likewise.
44129 (dynix*): Likewise.
44130 (*bsd*): Likewise.
44131 (sysv*): Likewise.
44132 (isc*): Likewise.
44133 (esix*): Likewise.
44134 (sco*): Likewise.
44135 (minix*): Likewise.
44136 (irix4*): Likewise.
44137 (irix6*): Likewise.
44138 (solaris[2-9]*): Likewise.
44139 (none): Likewise.
44140 * configure: Regenerated.
44141
0ac229c8
AZ
441422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44143
44144 [BZ #11521]
44145 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44146 overflow or cancellation in calculating denominator.
44147 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44148 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44149 down expression to avoid unexpected rounding in newer GCCs.
44150 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44151
33f244f4
DM
441522012-04-26 David S. Miller <davem@davemloft.net>
44153
44154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44155 long-double compat symbols.
44156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44169
cfa1f3e8
DM
441702012-04-25 David S. Miller <davem@davemloft.net>
44171
44172 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44173 HWCAP_* values only after the memory barriers have been defined.
44174 (atomic_full_barrier): Define.
44175 (atomic_read_barrier): Define.
44176 (atomic_write_barrier): Define.
44177
6e236b92
SP
441782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44179
44180 * shlib-versions: Add libgcc_s version information.
44181 * sysdeps/generic/libgcc_s.h: Remove.
44182 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44183 libgcc_s.h.
44184 * sysdeps/gnu/unwind-resume.c: Likewise.
44185 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44186
aab39a09
DM
441872012-04-25 David S. Miller <davem@davemloft.net>
44188
44189 * sysdeps/unix/sparc/brk.S: Delete.
44190 * sysdeps/unix/sparc/dl-brk.S: Delete.
44191 * sysdeps/unix/sparc/pipe.S: Delete.
44192 * sysdeps/unix/sparc/sysdep.S: Delete.
44193 * sysdeps/unix/sparc/sysdep.h: Delete.
44194 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44195 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44196 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44198 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44199 (JUMPTARGET): Remove.
44200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44201 sysdeps/unix/sparc/sysdep.h
44202 (ENTRY, END): Remove.
44203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44204
a3cc4f48
JM
442052012-04-25 Joseph Myers <joseph@codesourcery.com>
44206
2ed8cda2
JM
44207 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44208 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44209 -DIS_IN_build.
44210
35d76d59
JM
44211 * timezone/README: Update upstream location and email address for
44212 tzcode and tzdata.
44213 * timezone/zdump.c: Update from tzcode 2012b.
44214 * timezone/zic.c: Likewise.
44215
a3cc4f48
JM
44216 * configure.in (libc_cv_as_needed): Remove test.
44217 * configure: Regenerated.
44218 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44219 conditional definition.
44220 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44221 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44222 * config.make.in (have-as-needed): Remove variable.
44223
ceab42c3
SP
442242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44225 Paul Pluzhnikov <ppluzhnikov@google.com>
44226
44227 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44228 strings correctly.
44229
3ce2865f
CLT
442302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44231
44232 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44233 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44234 * sysdeps/sh/strlen.S: Likewise.
44235
f37e0d68
JM
442362012-04-24 Joseph Myers <joseph@codesourcery.com>
44237
ae186e9a
JM
44238 * sysdeps/unix/fork.S: Remove file.
44239 * sysdeps/unix/i386/fork.S: Likewise.
44240 * sysdeps/unix/sparc/fork.S: Likewise.
44241
b96914af
JM
44242 * sysdeps/unix/system.c: Remove file.
44243 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44244
f37e0d68
JM
44245 * sysdeps/unix/getegid.S: Remove file.
44246 * sysdeps/unix/geteuid.S: Likewise.
44247
87ef29ca
RM
442482012-04-24 Roland McGrath <roland@hack.frob.com>
44249
83bcd236
RM
44250 * scripts/check-localplt.awk: New file.
44251 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44252 of diff.
44253 * scripts/data/localplt-generic.data: Add a comment.
44254
87ef29ca
RM
44255 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44256 NODE when __dir_mkfile failed.
44257 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44258 Reported by Ludovic Courtès <ludo@gnu.org>.
44259
e5a6e567
AJ
442602012-04-24 Andreas Jaeger <aj@suse.de>
44261
44262 * Makerules (common-clean): Also remove gen-as-const-headers
44263 files.
44264
c1820385
JM
442652012-04-24 Joseph Myers <joseph@codesourcery.com>
44266
44267 * Makerules (native-compile): Do not change working directory for
44268 build. Use $(OUTPUT_OPTION) in command.
44269 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44270
94e02fc4
AZ
442712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44272
44273 [BZ #13886]
44274 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44275 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44276 * math/libm-test.inc (floor_test): Add more tests.
44277 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44278
3a533ca3
JM
442792012-04-24 Joseph Myers <joseph@codesourcery.com>
44280
940ab4b3
JM
44281 * sysdeps/unix/getdents.c: Remove file.
44282 * sysdeps/unix/sysv/getdents.c: Likewise.
44283 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44284
90e037bd
JM
44285 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44286 sysdeps/unix/mman/syscalls.list.
44287 (mmap): Likewise.
44288 (mprotect): Likewise.
44289 (msync): Likewise.
44290 (munmap): Likewise.
44291 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44292 * sysdeps/unix/mman/syscalls.list: Remove.
44293 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44294
3a533ca3
JM
44295 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44296 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44297 * configure: Regenerated.
44298 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44299 $(libgcc_s_suffix).
44300 * config.make.in (libgcc_s_suffix): Remove variable.
44301
1ad743de
JM
443022012-04-23 Joseph Myers <joseph@codesourcery.com>
44303
4ad451e2
JM
44304 * sysdeps/unix/sysv/gethostname.c: Move to ...
44305 * sysdeps/posix/gethostname.c: ... here.
44306
5e37ce39
JM
44307 * sysdeps/unix/execve.S: Remove file.
44308
1ad743de
JM
44309 * sysdeps/unix/_exit.S: Remove file.
44310
4e681b5b
AJ
443112012-04-23 Andreas Jaeger <aj@suse.de>
44312
44313 [BZ #13739]
44314 * manual/Makefile: Remove make dist support, there's no
44315 need for a stand-alone documentation tar ball.
44316 (TEXI2DVI): Define always, it's not in Makeconfig.
44317 (dist): Removed.
44318 (tar-it): Removed.
44319 (edition): Removed.
44320 (glibc-doc-$(edition).tar): Removed
44321 (%.Z): Removed.
44322 (%.gz): Removed.
44323 (%.uu): Removed.
44324 (ETAGS): Remove, it's in Makeconfig.
44325 (move-if-change): Remove, it's in Makeconfig.
44326
38686a03 443272012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44328
44329 [BZ #13970]
44330 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44331 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44332 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44333 (strtod_l, strtof_l, strtold_l): Remove __wur.
44334 It is not necessarily an error to ignore strtol's return value.
44335 One can reliably look at the stored endptr to decide whether
44336 the number had valid syntax.
44337
7c0616fa
AJ
443382012-04-21 Andreas Jaeger <aj@suse.de>
44339
803cb6b7 44340 [BZ #13739]
7c0616fa
AJ
44341 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44342
b0fe253f
JM
443432012-04-21 Joseph Myers <joseph@codesourcery.com>
44344
44345 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44346 * sysdeps/unix/sysv/Versions: Remove file.
44347
8280f22d
MT
443482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44349
44350 [BZ #13927]
44351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44352
75ce411f 443532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44354
44355 [BZ #7064]
44356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44357 version from __vm86.
44358
097d59fa
JM
443592012-04-20 Joseph Myers <joseph@codesourcery.com>
44360
a90f3bcb
JM
44361 * sysdeps/unix/common/lxstat.c: Remove file.
44362 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44363
edc7ea78
JM
44364 * sysdeps/unix/sysv/Makefile: Remove file.
44365
cb78c221
JM
44366 * sysdeps/unix/sysv/direct.h: Remove file.
44367
efa6a45f
JM
44368 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44369 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44370 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44371 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44372 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44373 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44374 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44375
9c9f2d0c
JM
44376 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44377
4541c83b
JM
44378 * sysdeps/unix/xmknod.c: Remove file.
44379 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44380
f5d153a0
JM
44381 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44382
aa746595
JM
44383 * sysdeps/unix/sysv/i386/time.S: Remove file.
44384
cce5905e
JM
44385 * sysdeps/unix/fxstat.c: Remove file.
44386 * sysdeps/unix/xstat.c: Likewise.
44387 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44388
37fa3841
JM
44389 * sysdeps/unix/sysv/sigaction.c: Remove file.
44390
ff1962a3
JM
44391 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44392 (sysdep_headers): Remove variable.
44393 [termio.h not in sysdep_headers] (generated): Likewise.
44394 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44395 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44396 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44397 * sysdeps/unix/sysv/tcflow.c: Likewise.
44398 * sysdeps/unix/sysv/tcflush.c: Likewise.
44399 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44400 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44401 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44402 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44403 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44404
e7740d31
JM
44405 * sysdeps/unix/siglist.c: Remove file.
44406
ee06f18b
JM
44407 * sysdeps/unix/getppid.S: Remove file.
44408
097d59fa
JM
44409 * sysdeps/unix/mkdir.c: Remove file.
44410 * sysdeps/unix/rmdir.c: Likewise.
44411
ff3d51ec
AS
444122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44413
44414 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44415 ERR_MAX value.
44416 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44417 errlist-compat value.
44418
50f81fd7
DM
444192012-04-18 David S. Miller <davem@davemloft.net>
44420
44421 * sysdeps/generic/memcopy.h (reg_char): Delete.
44422 * debug/strcat_chk.c: Use char, not reg_char.
44423 * debug/strcpy_chk.c: Likewise.
44424 * debug/strncat_chk.c: Likewise.
44425 * debug/strncpy_chk.c: Likewise.
44426 * string/memchr.c: Likewise.
44427 * string/memrchr.c: Likewise.
44428 * string/rawmemchr.c: Likewise.
44429 * string/strcat.c: Likewise.
44430 * string/strchr.c: Likewise.
44431 * string/strchrnul.c: Likewise.
44432 * string/strcmp.c: Likewise.
44433 * string/strcpy.c: Likewise.
44434 * string/strncat.c: Likewise.
44435 * string/strncmp.c: Likewise.
44436 * string/strncpy.c: Likewise.
44437
8ff41c46
WS
444382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44439
44440 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44441 __builtin_memcopy is called when src and dest ranges are known to not
44442 overlap.
44443
6b652f46
WS
444442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44445
44446 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44447 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44448 fwd_align_merge macro call.
44449 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44450 bwd_align_merge macro call.
44451 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44452
b282631e
WS
444532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44454
44455 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44456 bwd_align_merge macros.
44457 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44458 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44459 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44460
95aa737c
DM
444612012-04-18 David S. Miller <davem@davemloft.net>
44462
44463 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44464
7a99a614
AJ
444652012-04-18 Andreas Jaeger <aj@suse.de>
44466
44467 [BZ# 6794]
44468 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44469 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44470 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44471
44472 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44473 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44474 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44475
44476 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44477 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44478 Adjust for changed ldbl-128 files.
44479
44480 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44481 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44482 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44483
e5270c23
DM
444842012-04-17 David S. Miller <davem@davemloft.net>
44485
44486 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44487
fb5e92c9
AS
444882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44489
44490 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44491 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44492 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44493 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44494 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44495 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44496
76da7265
AZ
444972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44498
44499 [BZ #6794]
44500 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44501 * math/libm-test.inc: Add ilogb errno and exception tests.
44502 * math/w_ilogb.c: New file: ilogb wrapper.
44503 * math/w_ilogbf.c: New file: ilogbf wrapper.
44504 * math/w_ilogbl.c: New file: ilogbl wrapper.
44505 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44506 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44507 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44508 exception being thrown with 0.0 as argument.
44509 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44510 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44511 exception being thrown with 0.0 as argument.
44512 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44513 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44514 exception being thrown with 0.0 as argument.
44515 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44516 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44517 exception being thrown with 0.0 as argument.
44518 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44519 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44521 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44522 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44523 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44524 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44525 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44526 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44527
0396e69d
PB
445282012-04-17 Petr Baudis <pasky@ucw.cz>
44529
44530 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44531 with altivec.
44532
750b5926
MP
445332012-04-16 Marek Polacek <polacek@redhat.com>
44534
44535 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44536
751728a1
MP
445372012-04-16 Marek Polacek <polacek@redhat.com>
44538
44539 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44540 operands of fdivp instruction.
44541
34a27407
L
445422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44543
44544 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44545 * elf/tst-auditmod3b.c: Likewise.
44546 * elf/tst-auditmod4b.c: Likewise.
44547 * elf/tst-auditmod5b.c: Likewise.
44548 * elf/tst-auditmod6b.c: Likewise.
44549 * elf/tst-auditmod6c.c: Likewise.
44550 * elf/tst-auditmod7b.c: Likewise.
44551 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44552 * sysdeps/x86_64/preconfigure.in: Likewise.
44553 * sysdeps/x86_64/preconfigure: Regenerated.
44554
7e73e17d
L
445552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44556
44557 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44558 __ILP32__.
44559
c7a6ab72
AB
445602012-04-13 Antoine Balestrat <merkil33@gmail.com>
44561
44562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44563 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44564
a9e8e0e0
CL
445652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44566
44567 [BZ #13973]
44568 * locale/iso-639.def: Fix gl language name. Spotted by
44569 Yaron Shahrabani.
44570
ec98af7d
RM
445712012-04-12 Roland McGrath <roland@hack.frob.com>
44572
44573 [BZ #2074]
44574 * libio/libio.h (__io_write_fn): Update comment.
44575
247c3ede
PB
445762012-04-12 Petr Baudis <pasky@ucw.cz>
44577
44578 [BZ #2074]
44579 * stdio.texi (Hook Functions): The user provided writer function
44580 is not allowed to return -1.
44581
55939d6d
DM
445822012-04-11 David S. Miller <davem@davemloft.net>
44583
44584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44585
90020f5a
MF
445862012-04-11 Mike Frysinger <vapier@gentoo.org>
44587
44588 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44589 Add a leading slash to rtkaio.
44590
288f9098
JM
445912012-04-11 Jim Meyering <meyering@redhat.com>
44592
90020f5a
MF
44593 [BZ #11959]
44594 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44595 It is not necessarily an error to ignore fwrite's return
44596 value. One can reliably use ferror to test for errors after
44597 the fact.
288f9098 44598
4be2b570
L
445992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44600
44601 * bits/types.h (__snseconds_t): New type.
44602 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44603
44604 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44606 (__SNSECONDS_T_TYPE): Likewise.
44607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44608 (__SNSECONDS_T_TYPE): Likewise.
44609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44610 (__SNSECONDS_T_TYPE): Likewise.
44611
288f9098 446122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44613
44614 [BZ #2636]
44615 * manual/time.texi (Processor Time): Return type of times is
44616 elapsed real time since an arbitrary point in the past.
44617 (CPU Time): Move CLK_TCK from here...
44618 (Processor Time): ...to here. Correct description.
44619 * manual/conf.texi (Constants for Sysconf): Correct description of
44620 _SC_CLK_TCK.
44621
d7dd4413
DM
446222012-04-10 David S. Miller <davem@davemloft.net>
44623
44624 [BZ #13967]
44625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44626 where the is a gap between DT_REL(A) and DT_JMPREL.
44627
b46068fc
L
446282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44629
44630 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44631 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44632 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44633
73d65cc3
SP
446342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44635
44636 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44637 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44638 (dl_main): Handle --inhibit-cache.
44639 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44640 _dl_inhibit_cache.
44641 * elf/dl-load.c (_dl_map_object): Use it.
44642 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44643
bcc8d661
JM
446442012-04-09 Joseph Myers <joseph@codesourcery.com>
44645
8f9a2fae
JM
44646 [BZ #13872]
44647 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44648 (__ieee754_powl): Saturate large exponents rather than testing for
44649 overflow of y*log2(x).
44650 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44651 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44652 exceptions.
44653
bcc8d661
JM
44654 [BZ #11521]
44655 * math/s_ctan.c: Include <float.h>.
44656 (__ctan): Avoid internal overflow or cancellation in calculating
44657 denominator.
44658 * math/s_ctanf.c: Likewise.
44659 * math/s_ctanl.c: Likewise.
44660 * math/s_ctanh.c: Likewise.
44661 * math/s_ctanhf.c: Likewise.
44662 * math/s_ctanhl.c: Likewise.
44663 * math/libm-test.inc (ctan_test): Add more tests.
44664 (ctanh_test): Likewise.
44665 * sysdeps/i386/fpu/libm-test-ulps: Update.
44666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44667
823fbbb4
AJ
446682012-04-09 Andreas Jaeger <aj@suse.de>
44669
03879793
AJ
44670 [BZ #6894]
44671 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44672 is an optional BSD extension.
44673
823fbbb4
AJ
44674 [BZ #10254]
44675 * manual/stdio.texi (Opening Streams): Document additional fopen
44676 parameters.
44677
8de131cb
RM
446782012-04-09 Roland McGrath <roland@hack.frob.com>
44679
44680 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44681 %eax without telling the compiler.
44682
c0ed9d7d
CD
446832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44684
44685 [BZ # 13963]
44686 * manual/install.texi: Use sourceware.org.
44687
c483f6b4
JM
446882012-04-09 Joseph Myers <joseph@codesourcery.com>
44689
d7dd9453
JM
44690 [BZ #13873]
44691 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44692 (__ieee754_pow): Generate overflow and underflow using huge*huge
44693 and tiny*tiny rather than just returning constant infinity or zero
44694 for large exponents.
44695 * math/libm-test.inc (pow_test): Require overflow exceptions for
44696 applicable cases of large exponents.
44697
c483f6b4
JM
44698 [BZ #706]
44699 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44700 (__ieee754_pow): Use iterative multiplication algorithm only for
44701 integer exponents with absolute value below 1024. Check for odd
44702 integer exponents when using algorithm for real exponents.
44703 * math/libm-test.inc (pow_test): Add more tests.
44704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44705
d2de7579
JM
447062012-04-08 Joseph Myers <joseph@codesourcery.com>
44707
44708 [BZ #13705]
44709 * math/libm-test.inc (exp_test): Do not allow overflow exception
44710 on underflow test.
44711
f77f1232
AJ
447122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44713
44714 [BZ #13705]
44715 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44716 instead of __kernel_standard_f.
44717
3884932b
MF
447182012-04-08 Mike Frysinger <vapier@gentoo.org>
44719
44720 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44721 * sysdeps/x86_64/memset_chk.S: Likewise.
44722
54472e9c
AJ
447232012-04-08 Andreas Jaeger <aj@suse.de>
44724
6ab0fbfc
AJ
44725 [BZ #10153]
44726 * manual/startup.texi (Environment Access): Describe return value
44727 for putenv and setenv.
44728
61efba8c
AJ
44729 [BZ #6895]
44730 * manual/filesys.texi (Directory Entries): Add description for
44731 DT_LNK.
44732
95c3f29a
AJ
44733 [BZ #6890]
44734 * manual/filesys.texi (Directory Entries): Clarify that it's file
44735 system not operating system in the description of DT_UNKNOWN.
44736
54472e9c
AJ
44737 [BZ #6578]
44738 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44739
624254b1
SC
447402012-04-08 Stephen Compall <s11@member.fsf.org>
44741
44742 [BZ #6649]
44743 * manual/llio.texi (Opening and Closing Files): Add cross
44744 reference to explain mode argument.
44745
1e4920e0
MF
447462012-04-07 Mike Frysinger <vapier@gentoo.org>
44747
44748 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44749 * sysdeps/x86_64/memset_chk.S: Likewise.
44750
5ed848f3
DM
447512012-04-07 David S. Miller <davem@davemloft.net>
44752
44753 * elf/elf.h (R_SPARC_WDISP10): Define.
44754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44755 R_SPARC_SIZE32.
44756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44757 R_SPARC_SIZE64 and R_SPARC_H34.
44758
96154cd8
CD
447592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44760
44761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44762 conditions and remove no longer applicable assertion.
44763
9904dc47
L
447642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44765
44766 * bits/byteswap.h: Include <features.h>.
44767 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44768 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44769
f8887d0a
L
447702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44771
44772 * bits/byteswap.h (__bswap_16): Removed.
44773 Include <bits/byteswap-16.h> to get __bswap_16.
44774 * sysdeps/i386/bits/byteswap.h: Likewise.
44775 * sysdeps/s390/bits/byteswap.h: Likewise.
44776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44777 * bits/byteswap-16.h: New file.
44778 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44779 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44780 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44781 * string/Makefile (headers): Add bits/byteswap-16.h.
44782
62470f60
PP
447832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44784
44785 [BZ #13895]
44786 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44787 extra indirection.
44788 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44789 * nss/tst-nss-static.c: New.
44790
4dad7bab
RM
447912012-04-06 Robert Millan <rmh@gnu.org>
44792
44793 [BZ #6486]
44794 * manual/llio.texi (File Position Primitive): lseek
44795 refers to WHENCE when it really means OFFSET.
44796
e9142a17
AJ
447972012-04-06 Andreas Jaeger <aj@suse.de>
44798
2c040eff
AJ
44799 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44800 strncmp declarations.
44801
e9142a17
AJ
44802 * abilist/libc.abilist: Add __poll and __ppoll.
44803
ff9f1c5f
DM
448042012-04-05 David S. Miller <davem@davemloft.net>
44805
dcd2ae90
DM
44806 * scripts/check-local-headers.sh: Accept a host triplet in the
44807 path matched by the exclude regexp.
44808
993eb054
DM
44809 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44810 definition.
44811 * sysdeps/powerpc/powerpc32/dl-machine.h
44812 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44813 * sysdeps/s390/s390-32/dl-machine.h
44814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44815 * sysdeps/sparc/sparc32/dl-machine.h
44816 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44817 * sysdeps/sparc/sparc64/dl-machine.h
44818 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44819
ff9f1c5f
DM
44820 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44821 lazy binding.
48e2e132 44822 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44823 undefined symbol errors.
44824
48e2e132 44825 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44826 DT_NEEDED entries.
44827
e80d6f94
MM
448282012-04-05 Michael Matz <matz@suse.de>
44829
44830 [BZ #13592]
44831 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44832
349fa79f
AJ
448332012-04-05 Andreas Jaeger <aj@suse.de>
44834
44835 [BZ #13908]
44836 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44837 comment.
44838
f402708f
KK
448392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44840
44841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44842 which ROUND is no valid rounding mode.
44843
2ecccfc9
KK
448442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44845
44846 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44847 read again.
44848 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44849
8a53f50f
KK
448502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44851
44852 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44853 an exception using FPU order intentionally.
44854
448552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44856
44857 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44858 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44859 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44860 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44861
d653abb7
SJ
448622012-04-05 Simon Josefsson <simon@josefsson.org>
44863
44864 [BZ #12340]
44865 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44866 EINVAL when BUFLEN is too smal.
44867
c3b1bf7d
TS
448682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44869
44870 [BZ #13553]
44871 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44872 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44873
b1aa60f3
AJ
448742012-04-03 Andreas Jaeger <aj@suse.de>
44875
c3b1bf7d 44876 [BZ #13938]
67f60a26
AJ
44877 * manual/setjmp.texi (System V contexts): Fix sentence.
44878
b1aa60f3
AJ
44879 [BZ #13926]
44880 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44881 New macro for this case.
44882 [!__GNUC__] (__bswap_64): New inline function for this case.
44883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44884 * bits/byteswap.h: Likewise.
44885 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44886 ull, guard with __GLIBC_HAVE_LONG_LONG.
44887
44888 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44889 __GLIBC_HAVE_LONG_LONG.
44890
44891 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44892 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44893
39c59c35
TMQMF
448942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44895
44896 [BZ #13691]
44897 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44898 inptr and inend, rather than using last_ch.
44899
135ffda8
DM
449002012-04-02 David S. Miller <davem@davemloft.net>
44901
44902 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44903 * stdio-common/printf-parse.h (read_int): Change return type to
44904 'int', return -1 on INT_MAX overflow.
44905 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44906 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44907 overflows INT_MAX. Check for overflow of in-format-string precision
44908 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44909 SIZE_MAX not INT_MAX for integer overflow test.
44910 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44911 skip the construct in the format string but do not record anything.
44912 * stdio-common/bug22.c: Adjust to test both width/prevision
44913 INT_MAX overflow as well as total length INT_MAX overflow. Check
44914 explicitly for proper errno values.
44915
228c019e
TS
449162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44917
302cadd3
TS
44918 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44919 CHAR_MAX.
44920 * string/test-strcmp.c [! WIDE]: Likewise.
44921 * time/tst-mktime2.c: Likewise for INT_MAX.
44922 * string/test-string.h: #include <sys/param.h> for MIN.
44923
228c019e
TS
44924 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44925 * sysdeps/i386/init-first.c (init): Likewise.
44926 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44927 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44928 * sysdeps/sh/init-first.c (init): Likewise.
44929
cfa633f5
UD
449302012-04-01 Ulrich Drepper <drepper@gmail.com>
44931
44932 * po/ru.po: Update from translation team.
d1635ef8 44933 * po/vi.po: Likewise.
cfa633f5 44934
6cd0a5ea
SP
449352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44936
44937 * resolv/nss_dns/dns-host.c: Merge copyright years.
44938
4b43400f
LD
449392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44940
44941 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44942 Optimize memcpy with prefetch if
44943 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44944 src, dst pointers have unequal 16 byte alignments.
44945
48c41d04
SP
449462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44947
44948 [BZ #13928]
44949 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44950 from a CNAME entry and return the minimum ttl for the query.
44951 (gaih_getanswer_slice): Likewise.
44952
b8dc394d
JL
449532012-03-30 Jeff Law <law@redhat.com>
44954
44955 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44956 due to long keys.
44957 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44958 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44959
2f5a5ed0
JL
44960 * resolv/nss_dns/dns-host.c: Update copyright year.
44961
1d39e359
UD
449622012-03-30 Ulrich Drepper <drepper@gmail.com>
44963
c030f70c 44964 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44965 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44966
1d39e359
UD
44967 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44968 comments for sendmmsg.
44969
449702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44971
44972 [BZ #13691]
44973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44974 with only 1 character between 0x0041 and 0x01b0.
44975 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44976 * wcsmbs/tst-mbsnrtowcs.c: New file.
44977
20fde227
DM
449782012-03-29 David S. Miller <davem@davemloft.net>
44979
44980 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44981 small copies by hand.
44982
984a4237
JL
449832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44984
44985 [BZ #13761]
57f41c40
AS
44986 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44987 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44988 group memberships.
984a4237 44989
18c9d62b
DM
449902012-03-28 David S. Miller <davem@davemloft.net>
44991
88d85d4f
DM
44992 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44993 that branches into memcpy.
44994 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44996 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44997 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44999 bits.
45000 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45001 implementation too.
45002 * sysdeps/sparc/mempcpy.S: New file.
45003
e5aa83e1
DM
45004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45005 the IFUNC routine in the libc case.
45006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45007
88570753
DM
45008 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45009 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45010 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45011 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45012 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45013 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45014 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45015 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45016
249d7567
DM
45017 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45018 loop to 256 bytes instead of 64 bytes and fix test signedness.
45019
18c9d62b
DM
45020 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45021 * sysdeps/sparc/sparc32/Makefile: rather than here...
45022 * sysdeps/sparc/sparc64/Makefile: and here.
45023
05f3d1f6
UD
450242012-03-28 Ulrich Drepper <drepper@gmail.com>
45025
45026 * malloc/mallocbug.c: Avoid warnings about unused variables.
45027
86ae07a8
JL
450282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45029
45030 [BZ #13760]
45031 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45032 in the right place. Discard and retry query if response is
45033 larger than input buffer size.
45034
41bf21a1
JM
450352012-03-28 Joseph Myers <joseph@codesourcery.com>
45036
d6270972
JM
45037 [BZ #369]
45038 [BZ #2678]
45039 [BZ #3866]
45040 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45041 x for large integer exponent.
45042 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45043 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45044 sign of result as needed afterwards.
45045 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45046 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45047 result for underflowing pow the same as for overflow.
45048 (__kernel_standard_l): Handle powl overflow and underflow here
45049 rather than calling __kernel_standard.
45050 * math/libm-test.inc (pow_test): Add more tests.
45051
414fca03 45052 [BZ #3868]
41bf21a1
JM
45053 [BZ #13879]
45054 [BZ #13910]
45055 [BZ #13911]
45056 [BZ #13912]
45057 [BZ #13913]
45058 [BZ #13915]
45059 [BZ #13916]
45060 [BZ #13917]
45061 [BZ #13918]
45062 [BZ #13919]
45063 [BZ #13920]
45064 [BZ #13921]
45065 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45066 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45067 (__kernel_standard_l): New function.
45068 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45069 __kernel_standard.
45070 * math/w_acosl.c (__acosl): Likewise.
45071 * math/w_asinl.c (__asinl): Likewise.
45072 * math/w_atan2l.c (__atan2l): Likewise.
45073 * math/w_atanhl.c (__atanhl): Likewise.
45074 * math/w_coshl.c (__coshl): Likewise.
45075 * math/w_exp10l.c (__exp10l): Likewise.
45076 * math/w_exp2l.c (__exp2l): Likewise.
45077 * math/w_fmodl.c (__fmodl): Likewise.
45078 * math/w_hypotl.c (__hypotl): Likewise.
45079 * math/w_j0l.c (__j0l, __y0l): Likewise.
45080 * math/w_j1l.c (__j1l, __y1l): Likewise.
45081 * math/w_jnl.c (__jnl, __ynl): Likewise.
45082 * math/w_lgammal.c (__lgammal): Likewise.
45083 * math/w_log10l.c (__log10l): Likewise.
45084 * math/w_log2l.c (__log2l): Likewise.
45085 * math/w_logl.c (__logl): Likewise.
45086 * math/w_powl.c (__powl): Likewise.
45087 * math/w_remainderl.c (__remainderl): Likewise.
45088 * math/w_scalbl.c (sysv_scalbl): Likewise.
45089 * math/w_sinhl.c (__sinhl): Likewise.
45090 * math/w_sqrtl.c (__sqrtl): Likewise.
45091 * math/w_tgammal.c (__tgammal): Likewise.
45092 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45093 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45094 * math/libm-test.inc (acos_test): Add more tests.
45095 (acosh_test): Likewise.
45096 (asin_test): Likewise.
45097 (atanh_test): Likewise.
45098 (exp_test): Likewise.
45099 (exp10_test): Likewise.
45100 (exp2_test): Likewise.
45101 (expm1_test): Likewise.
45102 (lgamma_test): Likewise.
45103 (log_test): Likewise.
45104 (log10_test): Likewise.
45105 (log1p_test): Likewise.
45106 (log2_test): Likewise.
45107 (pow_test): Do not allow some spurious overflow exceptions.
45108 (sqrt_test): Add more tests.
45109 (tgamma_test): Likewise.
45110 (y0_test): Likewise.
45111 (y1_test): Likewise.
45112 (yn_test): Likewise.
45113
dd62fda6
AB
451142012-03-27 Anton Blanchard <anton@samba.org>
45115
45116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45117 MAP_HUGETLB.
45118 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45119 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45121
1e3cdfda
AJ
451222012-03-27 David S. Miller <davem@davemloft.net>
45123
b855ab85
DM
45124 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45125
1e3cdfda
AJ
45126 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45127 have-as-vis3 check.
45128
451292012-03-27 Andreas Jaeger <aj@suse.de>
45130
45131 * sysdeps/x86_64/elf/configure.in: Moved to ...
45132 * sysdeps/x86_64/configure.in: ... here.
45133 * sysdeps/x86_64/elf/start.S: Moved to ...
45134 * sysdeps/x86_64/start.S: ... here.
45135 * sysdeps/x86_64/elf/configure: Delete.
45136
45137 * sysdeps/x86_64/configure.in: Merge contents from
45138 sysdeps/i386/configure.in (without i686 check).
45139
45140 * sysdeps/i386/elf/Versions: Merge into ...
45141 * sysdeps/i386/Versions: ... this.
45142 * sysdeps/i386/elf/Versions: Delete file.
45143 * sysdeps/i386/elf/start.S: Moved to ...
45144 * sysdeps/i386/start.S: ...here.
45145 * sysdeps/i386/elf/configure.in: Merge into...
45146 * sysdeps/i386/configure.in: ...here.
45147 * sysdeps/i386/elf/configure.in: Delete file.
45148 * sysdeps/i386/elf/configure: Delete file.
45149
45150 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45151 * debug/backtracesyms.c: ... here.
45152 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45153 * debug/backtracesymsfd.c: ... here.
45154 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45155 * sysdeps/generic/ifunc-sel.h: ... here.
45156
45157 * sysdeps/unix/i386/start.c: Delete file.
45158 * sysdeps/unix/sparc/start.c: Delete file.
45159 * sysdeps/unix/start.c: Delete file.
45160
45161 * sysdeps/sh/elf/configure.in: Moved to ...
45162 * sysdeps/sh/configure.in: ... here.
45163 * sysdeps/sh/elf/start.S: Moved to ...
45164 * sysdeps/sh/start.S: ... here.
45165 * sysdeps/sh/elf/configure: Delete file.
45166
45167 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45168 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45169 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45170 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45171 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45172 * sysdeps/powerpc/powerpc64/start.S: here.
45173 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45174 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45175 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45176 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45177 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45178
45179 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45180 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45181 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45182 * sysdeps/powerpc/powerpc32/start.S: ... here.
45183 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45184 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45185 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45186
45187 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45188 * sysdeps/powerpc/ifunc-sel.h: ... here.
45189 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45190 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45191
45192 * sysdeps/sparc/elf/configure.in: Moved to ...
45193 * sysdeps/sparc/configure.in: ... here.
45194 * sysdeps/sparc/elf/configure: Delete file.
45195 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45196 * sysdeps/sparc/sparc32/start.S: ... here.
45197 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45198 * sysdeps/sparc/sparc64/start.S: ... here.
45199 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45200 * sysdeps/sparc/sparc32/Makefile: ... this.
45201 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45202 * sysdeps/sparc/sparc64/Makefile: ... this.
45203
45204 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45205 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45206 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45207 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45208 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45209 * sysdeps/s390/s390-32/setjmp.S: ... here.
45210 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45211 * sysdeps/s390/s390-32/configure.in: ... here.
45212 * sysdeps/s390/s390-32/elf/configure: Delete file.
45213 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45214 * sysdeps/s390/s390-32/start.S: ... here.
45215
45216 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45217 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45218 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45219 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45220 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45221 * sysdeps/s390/s390-64/setjmp.S: ... here.
45222 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45223 * sysdeps/s390/s390-64/configure.in: ... here
45224 * sysdeps/s390/s390-64/elf/configure: Delete file.
45225 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45226 * sysdeps/s390/s390-64/start.S: ... here.
45227 * sysdeps/s390/s390-64/elf/configure: Delete.
45228
45229 * configure.in: Remove support for elf directories in sysdeps.
45230
45231 * configure: Regenerated.
45232 * sysdeps/i386/configure: Regenerated.
45233 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45234 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45235 * sysdeps/s390/s390-32/configure: Regenerated.
45236 * sysdeps/s390/s390-64/configure: Regenerated.
45237 * sysdeps/sh/configure: Regenerated.
45238 * sysdeps/sparc/configure: Regenerated.
45239 * sysdeps/x86_64/configure: Regenerated.
45240
a3f61311
AS
452412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45242
c876e002
AS
45243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45244
a3f61311
AS
45245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45246 denormal result into account.
45247
ac4c54f0
RM
452482012-03-25 Roland McGrath <roland@hack.frob.com>
45249
45250 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45251 Reported by Allan McRae <allan@archlinux.org>.
45252
6a9b9c02
JL
452532012-03-23 Jeff Law <law@redhat.com>
45254
45255 * nss/getnssent.c (__nss_getent): Fix typo.
45256
4c42a0c1
DM
452572012-03-23 David S. Miller <davem@davemloft.net>
45258
45259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45260
1532c7ac
L
452612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45262
45263 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45264 to pad to uint64_t for each field.
45265 (dl_tls_index): Replace unsigned long with uint64_t.
45266
3ff42526
PP
452672012-03-23 Daniel Jacobowitz <dmj@google.com>
45268 Paul Pluzhnikov <ppluzhnikov@google.com>
45269
45270 [BZ #6528]
45271 * grp/Makefile (otherlibs): Don't set it.
45272 * inet/Makefile (otherlibs): Likewise.
45273 * login/Makefile (otherlibs): Likewise.
45274 * nscd/Makefile (otherlibs): Likewise.
45275 * posix/Makefile (otherlibs): Likewise.
45276 * pwd/Makefile (otherlibs): Likewise.
45277 * rt/Makefile (otherlibs): Likewise.
45278 * sunrpc/Makefile (otherlibs): Likewise.
45279 * nss/Makefile (otherlibs): Likewise.
45280 Add libnss_files to routines and static-only-routines.
45281 ($(objpfx)getent): Remove rule.
45282 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45283 static-only-routines.
45284
7c69cd14
JM
452852012-03-22 Joseph Myers <joseph@codesourcery.com>
45286
45287 [BZ #13892]
45288 * math/s_cexp.c: Include <float.h>.
45289 (__cexp): Handle exp result overflowing not necessarily
45290 overflowing both real and imaginary parts of result.
45291 * math/s_cexpf.c: Likewise.
45292 * math/s_cexpl.c: Likewise.
45293 * math/libm-test.inc (cexp_test): Add more tests.
45294 * sysdeps/i386/fpu/libm-test-ulps: Update.
45295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45296
81b035fe
L
452972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45298
45299 * include/link.h (ELFW): New macro.
45300 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45301 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45302
1da7940c
L
453032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45304
45305 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45306 with uint64_t.
45307
b749dbb9
L
453082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45309
45310 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45311 declaration.
45312 (struct La_x32_retval): Likewise.
45313
2ff87f3f
L
453142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45315
45316 * sysdeps/x86_64/preconfigure.in: New file.
45317 * sysdeps/x86_64/preconfigure: New generated file.
45318
c0df8e69
JM
453192012-03-22 Joseph Myers <joseph@codesourcery.com>
45320
48e44791
JM
45321 [BZ #13824]
45322 * math/e_exp2l.c: Include <float.h>.
45323 (__ieee754_exp2l): Handle overflow and underflow cases
45324 separately. Only pass fractional part of argument to
45325 __ieee754_expl.
45326 * math/libm-test.inc (exp2_test): Add more tests.
45327
c0df8e69
JM
45328 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45329 negating x to take absolute value.
45330 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45331 Likewise.
45332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45333 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45334 Likewise.
45335 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45336 computing low part if x was negated.
45337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45338
c8e43ba7
L
453392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45340
45341 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45342 la_x32_gnu_pltexit.
45343 (pltexit): Cast int_retval to ptrdiff_t.
45344 * elf/tst-auditmod3b.c: Likewise.
45345 * elf/tst-auditmod4b.c: Likewise.
45346 * elf/tst-auditmod5b.c: Likewise.
45347 * elf/tst-auditmod6b.c: Likewise.
45348 * elf/tst-auditmod6c.c: Likewise.
45349 * elf/tst-auditmod7b.c: Likewise.
45350
45351 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45352 and x32_gnu_pltexit.
45353
45354 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45355 __ELF_NATIVE_CLASS.
45356 (La_x32_regs): New macro.
45357 (La_x32_retval): Likewise.
45358 (la_x32_gnu_pltenter): New function prototype.
45359 (la_x32_gnu_pltexit): Likewise.
45360
7998fa78
AS
453612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45362
dcb33988
AS
45363 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45364 exponent.
45365
233fc563
AS
45366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45367
7998fa78
AS
45368 * configure.in (libc_cv_cc_nofma): Check for option to disable
45369 generation of FMA instructions.
45370 * configure: Regenerate.
45371 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45372 * sysdeps/ieee754/dbl-64/Makefile: New file.
45373 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45374 Remove brandred-fma4.
45375 (CFLAGS-brandred-fma4.c): Remove.
45376 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45377 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45378 define.
45379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45380 define.
45381
8e95c99a
L
453822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45383
45384 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45385 LLONG_MAX != LONG_MAX.
45386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45387 (_fitoa_word): Likewise.
45388 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45389 LLONG_MAX != LONG_MAX.
45390 * stdio-common/_itowa.h: Include <_itoa.h>.
45391 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45392 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45393 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45394 only if not defined.
45395 (_ITOA_WORD_TYPE): Likewise.
45396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45397 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45398
6f4db457
DM
453992012-03-21 David S. Miller <davem@davemloft.net>
45400
45401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45402
7785fe5a
L
454032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45404
45405 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45406 of x86_64 when setting libc_cv_slibdir, libdir and
45407 libc_cv_localedir.
45408 * sysdeps/unix/sysv/linux/configure: Regenerated.
45409
4535cd55
JM
454102012-03-21 Joseph Myers <joseph@codesourcery.com>
45411
45412 * manual/lang.texi (Old Varargs): Remove section.
45413 (How Variadic): Update menu.
45414 (va_start): Do not mention varargs.h.
45415
17228132
TS
454162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45417 Joseph Myers <joseph@codesourcery.com>
45418
45419 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45420 link test.
45421 * configure: Regenerated.
45422
8149f976
TS
454232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45424
05f3d1f6
UD
45425 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45426 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45427 conformtest.pl
8149f976 45428
1a4ac776
JM
454292012-03-21 Joseph Myers <joseph@codesourcery.com>
45430
be22ce65
JM
45431 * NOTES: Remove.
45432 * Makefile (files-for-dist): Remove NOTES.
45433 (NOTES): Remove rule.
45434 * README: Don't refer to NOTES.
45435 * manual/creature.texi: Don't include macros.texi.
45436 * manual/intro.texi (creature.texi): Remove comment referring to
45437 NOTES.
45438
40b601fb
JM
45439 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45440 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45441 * configure: Regenerated.
45442 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45443 LIBC_TRY_CC_OPTION.
45444 (libc_cv_as_i686): Likewise.
45445 (libc_cv_cc_avx): Likewise.
45446 (libc_cv_cc_sse2avx): Likewise.
45447 (libc_cv_cc_fma4): Likewise.
45448 (libc_cv_cc_novzeroupper): Likewise.
45449 * sysdeps/i386/configure: Regenerated.
45450
1a4ac776
JM
45451 [BZ #13883]
45452 * sysdeps/i386/fpu/s_cexp.S: Remove.
45453 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45454 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45455 * math/libm-test.inc (cexp_test): Add more tests.
45456 * sysdeps/i386/fpu/libm-test-ulps: Update.
45457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45458
a458e7fe
AM
454592012-03-21 Allan McRae <allan@archlinux.org>
45460
45461 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45462
0cb7efc5
JM
454632012-03-21 Joseph Myers <joseph@codesourcery.com>
45464
45465 [BZ #13871]
45466 * math/w_exp2.c: Do not include <float.h>.
45467 (o_threshold, u_threshold): Remove.
45468 (__exp2): Calculate result before checking finiteness and calling
45469 __kernel_standard.
45470 * math/w_exp2f.c: Likewise.
45471 * math/w_exp2l.c: Likewise.
45472 * math/libm-test.inc (exp2_test): Require overflow exception for
45473 1e6 input.
2460d3aa
JM
45474
45475 [BZ #3866]
45476 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45477 range of signed 64-bit integers before using fistpll. Remove
45478 checks for whether integers fit in mantissa bits.
45479 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45480 the range of signed 32-bit integers before using fistpl. Remove
45481 checks for whether integers fit in mantissa bits.
45482 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45483 (__ieee754_powl): Test for y outside the range of signed 64-bit
45484 integers before using fistpll. Reduce 64-bit values to 63-bit
45485 ones as needed.
45486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45487 divide-by-zero is raised for zero to large negative powers.
45488 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45489 (__ieee754_powl): Test for y outside the range of signed 64-bit
45490 integers before using fistpll. Reduce 64-bit values to 63-bit
45491 ones as needed.
45492 * math/libm-test.inc (pow_test): Add more tests.
45493
eb96ffb0
L
454942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45495
45496 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45497 <stdio-common/_itoa.h>.
45498 * debug/segfault.c: Likewise.
45499 * elf/dl-cache.c: Likewise.
45500 * elf/dl-minimal.c: Likewise.
45501 * elf/dl-misc.c: Likewise.
45502 * elf/dl-sysdep.c: Likewise.
45503 * elf/dl-version.c: Likewise.
45504 * elf/rtld.c: Likewise.
45505 * hurd/hurdsock.c: Likewise.
45506 * hurd/lookup-retry.c: Likewise.
45507 * malloc/malloc.c: Likewise.
45508 * malloc/mtrace.c: Likewise.
45509 * nscd/nscd_getgr_r.c: Likewise.
45510 * nscd/nscd_getpw_r.c: Likewise.
45511 * nscd/nscd_getserv_r.c: Likewise.
45512 * posix/getopt_init.c: Likewise.
45513 * posix/wordexp.c: Likewise.
45514 * stdio-common/_itoa.c: Likewise.
45515 * stdio-common/printf_fphex.c: Likewise.
45516 * stdio-common/vfprintf.c: Likewise.
45517 * string/_strerror.c: Likewise.
45518 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45519 * sysdeps/i386/i686/hp-timing.h: Likewise.
45520 * sysdeps/mach/_strerror.c: Likewise.
45521 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45522 * sysdeps/mach/hurd/sethostid.c: Likewise.
45523 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45524 * sysdeps/mach/xpg-strerror.c: Likewise.
45525 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45527 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45528 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45529 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45530 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45531 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45532 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45533 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45534 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45535 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45536 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45537 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45538 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45539 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45540 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45541 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45542 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45543 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45544 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45545 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45546
45547 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45548
45549 * stdio-common/_itoa.h: Moved to ...
45550 * sysdeps/generic/_itoa.h: Here.
45551
45552 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45553
45554 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45555 instead of "_itoa.h" and "_itowa.h".
45556 * stdio-common/vfprintf.: Likewise.
45557
d1af992d
L
455582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45559
45560 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45561 <bits/wordsize.h>.
45562 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45563 (__signbit): Likwise.
45564 (llrintf): Likwise.
45565 (llrint): Likwise.
45566
114883e0
L
455672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45568
45569 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45570 __WORDSIZE != 64.
45571
c135cc1b
JM
455722012-03-20 Joseph Myers <joseph@codesourcery.com>
45573
45574 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45575 OVERFLOW_EXCEPTION_OK.
45576 * math/libm-test.inc ("Philosophy"): Update comment about
45577 exception testing.
45578 (OVERFLOW_EXCEPTION): Define.
45579 (OVERFLOW_EXCEPTION_OK): Likewise.
45580 (INVALID_EXCEPTION_OK): Renumber.
45581 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45582 (IGNORE_ZERO_INF_SIGN): Likewise.
45583 (test_exceptions): Handle FE_OVERFLOW.
45584 (exp10_test): Expect overflow exceptions.
45585 (exp2_test): Likewise.
45586 (expm1_test): Likewise.
45587 (nextafter_test): Likewise.
45588 (pow_test): Likewise.
45589 (scalbn_test): Likewise.
45590 (scalbln_test): Likewise.
45591
95443d88
L
455922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45593
45594 * sysdeps/x86_64/bits/atomic.h
45595 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45596 64bit integer.
45597 (atomic_exchange_acq): Likewise.
45598 (__arch_exchange_and_add_body): Likewise.
45599 (__arch_add_body): Likewise.
45600 (atomic_add_negative): Likewise.
45601 (atomic_add_zero): Likewise.
45602
490df6c4
L
456032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45604
c2722551 45605 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45606 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45607
5e52b189
L
456082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45609
45610 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45611 Check __x86_64__ instead of __WORDSIZE.
45612
a9879d4c
L
456132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45614
45615 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45616
5df98260
DM
456172012-03-19 David S. Miller <davem@davemloft.net>
45618
e1497744
DM
45619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45620
5df98260
DM
45621 * sysdeps/sparc/fpu/fenv_private.h: New file.
45622 * sysdeps/sparc/fpu/math_private.h: Use it.
45623 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45624 Remove.
57f41c40 45625 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45626 (libc_feholdexcept_setroundl): Remove.
45627 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45628 Remove.
45629 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45630 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45631
b4c35121
L
456322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45633
45634 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45635 int64_t instead of long int.
45636 (INSERT_WORDS64): Likwise.
45637
56965fd7
L
456382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45639
45640 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45641 _Unwind_GetCFA return to _Unwind_Ptr first.
45642
83d1aec8
JM
456432012-03-19 Joseph Myers <joseph@codesourcery.com>
45644
1897ad44
JM
45645 [BZ #13629]
45646 * math/s_clog.c: Include <float.h>.
45647 (__clog): Scale large or subnormal inputs.
45648 * math/s_clogf.c: Likewise.
45649 * math/s_clogl.c: Likewise.
45650 * math/s_clog10.c: Include <float.h>.
45651 (M_LOG10_2): Define.
45652 (__clog10): Scale large or subnormal inputs.
45653 * math/s_clog10f.c: Likewise.
45654 * math/s_clog10l.c: Likewise.
45655 * math/libm-test.inc (clog_test): Add more tests.
45656 (clog10_test): Likewise.
45657 * sysdeps/i386/fpu/libm-test-ulps: Update.
45658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45659
7726d6a9
JM
45660 [BZ #11451]
45661 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45662 x and y.
45663 * math/libm-test.inc (atan2_test): Add another test.
45664
83d1aec8
JM
45665 * Makerules (common-objdir-compile): Remove.
45666 * sysdeps/unix/Makefile (config-generated): Do not add
45667 $(unix-generated) to variable.
45668 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45669 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45670 Remove rule.
45671 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45672 Likewise.
45673 [generic bits/local_lim.h] (before-compile): Do not append to
45674 variable.
45675 [generic bits/local_lim.h] (common-generated): Likewise.
45676 [generic sys/param.h] (before-compile): Do not append to variable.
45677 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45678 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45679 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45680 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45681 include.
45682 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45683 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45684 [generic sys/param.h] ($(addprefix
45685 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45686 [generic sys/param.h] (common-generated): Do not append to
45687 variable.
45688 [generic sys/param.h] (sysdep_headers): Likewise.
45689 [generic bits/errno.h] (before-compile): Do not append to
45690 variable.
45691 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45692 rule.
45693 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45694 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45695 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45696 [generic bits/errno.h] (common-generated): Do not append to
45697 variable.
45698 [generic bits/ioctls.h] (before-compile): Do not append to
45699 variable.
45700 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45701 rule.
45702 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45703 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45704 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45705 rule.
45706 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45707 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45708 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45709 [generic bits/ioctls.h] (common-generated): Do not append to
45710 variable.
45711 [generic sys/syscall.h] (syscall.h): Remove variable.
45712 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45713 rule.
45714 [generic sys/syscall.h] (before-compile): Do not append to
45715 variable.
45716 [generic sys/syscall.h] (common-generated): Likewise.
45717 * sysdeps/unix/errnos-tmpl.c: Remove file.
45718 * sysdeps/unix/errnos.awk: Likewise.
45719 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45720 * sysdeps/unix/ioctls.awk: Likewise.
45721 * sysdeps/unix/mk-local_lim.c: Likewise.
45722 * sysdeps/unix/snarf-ioctls: Likewise.
45723
4851a949
RH
457242012-03-19 Richard Henderson <rth@twiddle.net>
45725
bd37f2ee
RH
45726 * sysdeps/i386/fpu/fenv_private.h: New file.
45727 * sysdeps/i386/fpu/math_private.h: Use it.
45728 (math_opt_barrier, math_force_eval): Remove.
45729 (libc_feholdexcept_setround_53bit): Remove.
45730 (libc_feupdateenv_53bit): Remove.
45731 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45732 (math_opt_barrier, math_force_eval): Remove.
45733 (libc_feholdexcept): Remove.
45734 (libc_feholdexcept_setround): Remove.
45735 (libc_fetestexcept, libc_fesetenv): Remove.
45736 (libc_feupdateenv_test): Remove.
45737 (libc_feupdateenv, libc_feholdsetround): Remove.
45738 (libc_feresetround): Remove.
45739
d0adc922
RH
45740 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45741 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45742
0fe0f1f8
RH
45743 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45744 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45745 (libc_feupdateenv_testl): New.
45746 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45747 (libc_feupdateenv_testf): New.
45748 (libc_feupdateenv): Use libc_feupdateenv_test.
45749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45750 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45751
eb92c487
RH
45752 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45753 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45754 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45755 (libc_feresetround_noex): New.
45756 (libc_feresetround_noexf): New.
45757 (libc_feresetround_noexl): New.
45758 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45759 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45760 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45761 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45762 SET_RESTORE_ROUND.
45763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45765 (__cos): Likewise.
45766 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45768 SET_RESTORE_ROUND_NOEX.
45769 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45770 SET_RESTORE_ROUND_NOEXF.
45771 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45772 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45773 (libc_feholdsetroundf): New.
45774 (libc_feresetround, libc_feresetroundf): New.
45775
7d2e8012
RH
45776 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45777 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45778 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45779
b4dabbb4
RH
45780 * sysdeps/generic/math_private.h: Include <fenv.h>.
45781 (default_libc_feholdexcept): New.
45782 (default_libc_feholdexcept_setround): New.
45783 (default_libc_fesetenv, default_libc_feupdateenv): New.
45784 (libc_feholdexcept): Only define if undefined.
45785 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45786 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45787 (libc_feholdexcept_setroundl): Likewise.
45788 (libc_feholdexcept_setround_53bit): Likewise.
45789 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45790 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45791 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45792 (libc_feupdateenv_53bit): Likewise.
45793 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45794 (libc_feholdexcept): Convert from macro to inline function.
45795 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45796 (libc_fesetenv, libc_feupdateenv): Likewise.
45797
4851a949
RH
45798 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45799 not previously defined.
45800 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45801 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45802 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45803 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45804 * sysdeps/ieee754/flt-32/math_private.h: New file.
45805 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45806 math_private.h below SET_FLOAT_WORD.
45807 (__isnan, __isinf_ns, __finite): Remove.
45808 (__isnanf, __isinf_nsf, __finitef): Remove.
45809
e79d442e
AS
458102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45811
45812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45813
90b80344
DM
458142012-03-17 David S. Miller <davem@davemloft.net>
45815
45816 [BZ #6471]
45817 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45818 for 2.16.
45819
edc21804
DM
458202012-03-16 David S. Miller <davem@davemloft.net>
45821
77e927af
DM
45822 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45823 warnings.
45824
374976dd
DM
45825 [BZ #6471]
45826 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45827 properly.
45828 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45829 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45830 sysdep_routines when subdir is sysvipc.
45831 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45832 __getshmlba helper.
45833
edc21804
DM
45834 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45835
473c3ef3
L
458362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45837
45838 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45839 [__LP64__].
45840
eb0f39b6
L
458412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45842
45843 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45844 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45845 (__lround): Renamed to ...
45846 (__llround): This. Replace long int with long long int.
45847 Define lround functions as aliases of llround functions.
45848 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45849
6b6cd74b
L
458502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45851
45852 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45853 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45854 adresses to uintptr_t. Replace "long int" and "unsigned long
45855 int" with "greg_t" on va_arg.
45856
f1a77b01
L
458572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45858
45859 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45860 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45861
45862 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45863 Move e_machine check before EI_CLASS check. Handle x32
45864 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45865 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45866 SKIP_EM_IA_64 and include
45867 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45868
45869 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45870 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45871 (add_system_dir): New macro.
45872
45873 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45874 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45875
11b90b9f
JM
458762012-03-16 Joseph Myers <joseph@codesourcery.com>
45877
c36e1d23
JM
45878 [BZ #2551]
45879 [BZ #2552]
45880 [BZ #2553]
45881 [BZ #2554]
45882 [BZ #2562]
45883 [BZ #2563]
45884 [BZ #2565]
45885 [BZ #2566]
45886 [BZ #2576]
45887 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45888 (y0): Likewise.
45889 * math/w_j0f.c (j0f): Likewise.
45890 (y0f): Likewise.
45891 * math/w_j0l.c (__j0l): Likewise.
45892 (__y0l): Likewise.
45893 * math/w_j1.c (j1): Likewise.
45894 (y1): Likewise.
45895 * math/w_j1f.c (j1f): Likewise.
45896 (y1f): Likewise.
45897 * math/w_j1l.c (__j1l): Likewise.
45898 (__y1l): Likewise.
45899 * math/w_jn.c (jn): Likewise.
45900 (yn): Likewise.
45901 * math/w_jnf.c (jnf): Likewise.
45902 (ynf): Likewise.
45903 * math/w_jnl.c (__jnl): Likewise.
45904 (__ynl): Likewise.
45905 * math/libm-test.inc (j0_test): Add more tests.
45906 (j1_test): Likewise.
45907 (jn_test): Likewise. Add trailing semicolon to existing test.
45908 (y0_test): Likewise.
45909 (y1_test): Likewise.
45910 * sysdeps/i386/fpu/libm-test-ulps: Update.
45911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45912
11b90b9f
JM
45913 [BZ #13851]
45914 [BZ #13854]
45915 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45916 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45917 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45918 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45919 (__tanl): Set errno for infinite argument.
45920 * sysdeps/i386/fpu/mptan.c: Remove.
45921 * sysdeps/i386/fpu/s_tan.S: Likewise.
45922 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45923 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45924 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45925 * math/libm-test.inc (tan_test): Add more tests and enable more
45926 tests for double and long double.
45927 * sysdeps/i386/fpu/libm-test-ulps: Update.
45928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45929
6a1bd2a1
JK
459302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45931
45932 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45933 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45934
10a803e0
RM
459352012-03-16 Roland McGrath <roland@hack.frob.com>
45936
45937 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45938 * configure.in: Use it for both main tree and add-ons.
45939 * configure: Regenerated.
45940
f196c7f7
L
459412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45942
45943 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45944
8848d99d
JM
459452012-03-16 Joseph Myers <joseph@codesourcery.com>
45946
96cbe7f4
JM
45947 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45948 in comment.
45949
8848d99d
JM
45950 [BZ #13851]
45951 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45952 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45956 infinite argument.
45957 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45958 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45959 != 0 for prec == 2.
45960 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45961 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45962 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45963 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45964 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45965 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45966 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45967 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45968 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45969 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45970 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45971 * math/libm-test.inc (cos_test): Add more tests and enable more
45972 tests for long double.
45973 (sin_test): Likewise.
45974 (sincos_test): Likewise.
45975 * sysdeps/i386/fpu/libm-test-ulps: Update.
45976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45977
dd7f4703
DM
459782012-03-16 David S. Miller <davem@davemloft.net>
45979
45980 * sysdeps/sparc/fpu/math_private.h: New file.
45981
006f1daa
DM
459822012-03-15 David S. Miller <davem@davemloft.net>
45983
c0c83bc8
DM
45984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45985 file.
e6a62e18 45986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45988 file.
e6a62e18
DM
45989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45995 sysdep routines.
45996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45997
88cb87d9
DM
45998 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45999 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46000
006f1daa 46001 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46003 sparc-ifunc.h
006f1daa 46004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46006 Likewise.
46007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46008 Likewise.
006f1daa
DM
46009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46013 Likewise.
006f1daa
DM
46014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46019 Likewise.
46020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46021 Likewise.
006f1daa
DM
46022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46046
11e0098e
AS
460472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46048
46049 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46050 scaling.
46051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46052
e85b09d0
AJ
460532012-03-15 Andreas Jaeger <aj@suse.de>
46054
46055 [BZ #13852]
46056 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46057 ieee754/flt-32 implementation for sin, cos and sincos.
46058 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46059 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46060 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46061 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46062 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46063 ieee754/flt-32 implementation for tan.
46064
46065 * math/libm-test.inc (cos_test): Enable some large input tests for
46066 float as well
46067 (sin_test): Likewise.
46068 (sincos_test): Likewise.
46069 (tan_test): Add tests for large input.
46070
46071 * sysdeps/i386/fpu/libm-test-ulps: Update.
46072
81c64153
AJ
460732012-03-15 Andreas Jaeger <aj@suse.de>
46074
46075 [BZ #13658]
46076 * math/libm-test.inc (cos_test): Add more test cases.
46077 (sin_test): Likewise.
46078 (sincos_test): Likewise.
46079
7bbfa5c6
AJ
460802012-03-15 Andreas Jaeger <aj@suse.de>
46081
46082 [BZ #13837]
46083 * math/libm-test.inc (cos_test): Add a test case for large input
46084 value.
46085 (sin_test): Likewise.
46086 (sincos_test): Likewise.
46087
57f41c40
AS
460882012-03-15 Andreas Jaeger <aj@suse.de>
46089 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46090
46091 [BZ #13658]
0671f479 46092 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46093 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46094 * sysdeps/i386/fpu/branred.c: Likewise.
46095 * sysdeps/i386/fpu/dosincos.c: Likewise.
46096 * sysdeps/i386/fpu/mpa.c: Likewise.
46097 * sysdeps/i386/fpu/s_cos.S: Likewise.
46098 * sysdeps/i386/fpu/s_sin.S: Likewise.
46099 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46100 * sysdeps/i386/fpu/sincos32.c: Likewise.
46101
46102 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46103 Define.
46104 (libc_feupdateenv_53bit): Define.
46105 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46106 Define.
46107 (libc_feupdateenv_53bit): Define.
46108
46109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46110 53 bit (without extend i386 double precision).
46111
46112 * math/libm-test.inc (sincos_test): Add tests for large input.
46113 (sin): Likewise.
46114 (cos): Likewise.
46115
46116 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46117
9cad04ea
AS
461182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46119
46120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46121
f7062b9a
DM
461222012-03-15 David S. Miller <davem@davemloft.net>
46123
46124 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46125 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46126 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46127 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46140 file.
f7062b9a 46141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46143 file.
f7062b9a 46144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46146 file.
f7062b9a 46147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46149 file.
f7062b9a
DM
46150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46152 fmin/fmax sysdep routines.
46153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46154
7bd951ff
DM
461552012-03-14 David S. Miller <davem@davemloft.net>
46156
559398ab
DM
46157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46186 routines.
46187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46188 file.
559398ab 46189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46191 file.
559398ab 46192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46194 file.
559398ab 46195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46197 file.
559398ab 46198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46200 file.
559398ab 46201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46203 file.
46204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46205 file.
46206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46207 file.
46208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46209 file.
46210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46211 New file.
46212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46213 file.
46214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46215 file.
559398ab 46216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46218 file.
559398ab 46219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46221 file.
559398ab 46222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46224 file.
559398ab 46225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46227 VIS3 routines.
559398ab
DM
46228
46229 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46230 New file.
46231
5a1c1e32
DM
46232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46233
eae47a36
DM
46234 * sysdeps/sparc/configure.in: New file.
46235 * sysdeps/sparc/configure: Generate.
46236 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46237 * configure: Regenerate.
46238 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46239 * config.make.in (have-as-vis3): New.
46240 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46241 available use -Av9d instead of -Av9a.
46242 * sysdeps/sparc/sparc64/Makefile: Likewise.
46243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46245 New file.
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46247 file.
46248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46249 New file.
46250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46251 file.
eae47a36
DM
46252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46256 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46257
c0c83bc8
DM
46258 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46259 fzeros/fnegs to load 0x80000000 into a float register instead of
46260 using the stack.
7bd951ff
DM
46261 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46262
bd951ccb
JM
462632012-03-14 Joseph Myers <joseph@codesourcery.com>
46264
46265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46266 bits/syscall.h.
46267 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46268 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46269 ($(inst_includedir)/bits/syscall.h): Remove rule.
46270 ($(objpfx)bits/syscall.d): Include instead of
46271 $(objpfx)syscall-list.d.
46272 (generated): Change syscall-list.h and syscall-list.d to
46273 bits/syscall.h and bits/syscall.d.
46274
bb4e6db2
RM
462752012-03-14 Roland McGrath <roland@hack.frob.com>
46276
46277 [BZ #13846]
46278 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46279
aa4a2ae1
JM
462802012-03-14 Joseph Myers <joseph@codesourcery.com>
46281
e456826d
JM
46282 [BZ #13841]
46283 * math/s_csqrt.c: Include <float.h>.
46284 (__csqrt): Scale large or subnormal inputs.
46285 * math/s_csqrtf.c: Likewise.
46286 * math/s_csqrtl.c: Likewise.
46287 * math/libm-test.inc (csqrt_test): Add more tests.
46288 * sysdeps/i386/fpu/libm-test-ulps: Update.
46289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46290
aa4a2ae1
JM
46291 [BZ #13840]
46292 * math/libm-test.inc (hypot_test): Add more tests.
46293
7c10fd35
DM
462942012-03-13 David S. Miller <davem@davemloft.net>
46295
46296 [BZ #13840]
46297 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46298 double-precision for the calculation instead of scaling.
46299
f453b98b
JM
463002012-03-13 Joseph Myers <joseph@codesourcery.com>
46301
46302 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46303 manipulate bits before adding and subtracting TWO52[sx].
46304 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46306 Likewise.
46307 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46308
09a3453f
DM
463092012-03-13 David S. Miller <davem@davemloft.net>
46310
8e59da90
DM
46311 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46312 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46314 rtld-global-offsets.h
46315 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46316
2a8ab7f2
DM
46317 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46318 large parameters.
46319
10f62770
DM
46320 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46321
5f0bdb18
DM
46322 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46323 'err' in the ifdef scope in which it is actually used.
46324
09a3453f
DM
46325 * nss/nss_db/db-init.c: Include string.h
46326
b4b2eb5e
DM
463272012-03-12 David S. Miller <davem@davemloft.net>
46328
98bb2f1c
DM
46329 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46330 masking out of the most significant byte of random value used.
46331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46332 Fix coding style in previous change.
46333
b4b2eb5e
DM
46334 * sysdeps/unix/sysv/linux/kernel-features.h
46335 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46336 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46337 expression.
46338 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46339 later.
46340
6e226b09
DM
463412012-03-11 David S. Miller <davem@davemloft.net>
46342
a1bcbd40
DM
46343 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46344 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46345 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46346 for 'resultvar' otherwise things get truncated on 64-bit.
46347
cb9d6174
DM
46348 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46349 Fix masking out of the most significant byte of random value used.
46350
6e226b09
DM
46351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46352
058c132d
AS
463532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46354
46355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46356
2d2cd515
DM
463572012-03-09 David S. Miller <davem@davemloft.net>
46358
46359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46360 variables with appropriate CPP guards.
57f41c40
AS
46361 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46362 from the frame pointer, not the stack pointer. Correct layout
46363 comments. Fix test on resulting framesize and the management of
46364 the outregs buffer for pltexit. Preserve floating point return
46365 values across _dl_call_pltexit call.
2d2cd515
DM
46366 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46367 framesize and the management of the outregs buffer for pltexit.
46368 Preserve floating point return values across _dl_call_pltexit
46369 call.
57f41c40
AS
46370 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46371 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46372 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46373 (print_exit): Fix format string for return register value.
46374
9a07f9d0
JM
463752012-03-10 Joseph Myers <joseph@codesourcery.com>
46376
46377 * sunrpc/Makefile (others): Add rpcgen.
46378 ($(objpfx)rpcgen): Remove special build rule and dependency on
46379 libc.
46380 * sunrpc/rpcgen.c: New file.
46381
547b5e30
PE
463822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46383
c524201a
PE
46384 [BZ #13673]
46385 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46386 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46387 * sysdeps/i386/crti.S: Likewise.
46388 * sysdeps/i386/crtn.S: Likewise.
46389 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46390 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46391 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46392 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46393 * sysdeps/sh/crti.S: Likewise.
46394 * sysdeps/sh/crtn.S: Likewise.
46395 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46396
7b6235f2
PE
46397 [BZ #13673]
46398 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46399 with URL.
46400 * locale/programs/locfile-kw.gperf: Likewise.
46401 * locale/programs/charmap-kw.h: Regenerated.
46402 * locale/programs/locfile-kw.h: Likewise.
46403
547b5e30
PE
46404 [BZ #13673]
46405 * intl/plural.y: Replace FSF snail mail address with URL.
46406 * intl/plural.c: Regenerated.
46407
5f0a5dae
RH
464082012-03-09 Richard Henderson <rth@twiddle.net>
46409
46410 * include/math_private.h: Remove file.
46411 * math/math_private.h: Move file ...
46412 * sysdeps/generic/math_private.h: ... here.
46413
b8c03620
RH
46414 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46415 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46417
4e234f5d 46418 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46419 and <math_private.h>.
46420 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46421 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46422 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46423 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46424 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46425 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46426 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46427 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46428 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46431 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46432 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46434 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46435 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46436 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46437 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46438 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46439 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46441 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46442 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46460 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46461 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46462 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46463 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46464 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46465 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46466 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46471 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46472 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46473 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46474 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46478 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46479 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46480 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46481 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46483 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46484 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46485 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46486 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46487 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46488 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46489 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46490 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46491 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46492 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46494 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46500 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46501 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46503 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46504 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46507 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46508 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46509 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46510 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46511 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46513 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46514 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46515 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46516 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46517 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46518 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46519 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46520 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46521 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46522 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46523 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46524 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46525 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46526 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46527 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46528 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46531 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46532 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46533 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46534 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46535 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46536 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46537 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46538 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46539 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46540 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46541 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46542 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46543 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46544 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46545 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46546 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46547 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46548 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46549 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46550 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46551 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46553 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46554 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46555 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46556 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46557 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46558 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46559 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46561 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46562 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46563 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46564 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46565 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46566 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46567 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46568 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46569 * sysdeps/ieee754/k_standard.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46597 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46598 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46601 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46603 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46604 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46613 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46618 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46621 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46622 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46625 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46626 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46627 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46628 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46629 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46630 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46631 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46632 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46633 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46636 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46638 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46639 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46640 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46642 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46643 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46644 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46645 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46647 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46648 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46650 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46657 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46658 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46660 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46661 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46662 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46663 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46664 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46665 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46666 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46669 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46671 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46673 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46674 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46675 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46676 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46677 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46679 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46680 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46681 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46683 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46684 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46685 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46686 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46687 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46688 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46689 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46690 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46691 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46692 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46693 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46695 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46696 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46697 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46698 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46699 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46700 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46701 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46702 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46703 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46704 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46705 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46706 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46707 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46708 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46709 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46710 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46711 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46712 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46713 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46714 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46717 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46718 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46719 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46721 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46723 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46724 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46725 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46726 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46727 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46728 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46729 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46730 * sysdeps/ieee754/s_lib_version.c: Likewise.
46731 * sysdeps/ieee754/s_matherr.c: Likewise.
46732 * sysdeps/ieee754/s_signgam.c: Likewise.
46733 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46734 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46735 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46736 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46737 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46738 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46739 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46740 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46741 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46742 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46743 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46744 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46745 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46746 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46747 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46748 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46749 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46750 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46751 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46752 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46754
1991fa03
JM
467552012-03-09 Joseph Myers <joseph@codesourcery.com>
46756
46757 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46758 * sunrpc/rpc_main.c: Likewise.
46759 * sunrpc/rpc_svcout.c: Likewise.
46760
60d6f5a6
DM
467612012-03-09 David S. Miller <davem@davemloft.net>
46762
46763 * include/math_private.h: New file.
46764
4962050e
JM
467652012-03-09 Joseph Myers <joseph@codesourcery.com>
46766
02a6f887
JM
46767 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46768 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46769 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46770 from <bits/socket_type.h>.
46771 (enum __socket_type): Don't define here.
46772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46774 bits/socket_type.h.
46775
c6e013c1
JM
46776 [BZ #13566]
46777 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46778 checking __USE_GNU.
46779
4962050e
JM
46780 * Makerules ($(inst_includedir)/%.h): New rule.
46781 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46782 (install-others): Remove variable setting.
46783 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46784
38842f45
RH
467852012-03-08 Richard Henderson <rth@twiddle.net>
46786
67bb6da6
RH
46787 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46788 from macro to inline function; merge with the
46789 !__LIBC_INTERNAL_MATH_INLINES version.
46790 (__ieee754_sqrtf): Likewise.
46791
15194b4b
RH
46792 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46793 to inline function.
46794 (__rintf, __floor, __floorf): Likewise.
46795
64e21ede
RH
46796 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46797 macro to inline function.
46798 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46799
38842f45
RH
46800 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46801 not <math/math_private.h>.
46802
c64bf5fe
DM
468032012-03-08 David S. Miller <davem@davemloft.net>
46804
46805 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46806 copyright year.
46807 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46808
82d86f28
TS
468092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46810
46811 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46812 normalization.
46813 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46814 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46815
aea5d727
UD
468162012-03-08 Ulrich Drepper <drepper@gmail.com>
46817
46818 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46819 be defined individually, they must be defined as a block. Define
46820 S for printing a string instead of hidint the different by using a
46821 macro for adding the 'l'.
46822 * stdio-common/tst-fphex-wide.c: Adjust.
46823
70bca0a3
MP
468242012-03-07 Marek Polacek <polacek@redhat.com>
46825
46826 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46827
65b81130
MP
468282012-03-08 Marek Polacek <polacek@redhat.com>
46829
46830 [BZ #13806]
46831 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46832 * stdio-common/tst-fphex.c: Define a few macros to make the
46833 test reusable. Use them.
46834 * stdio-common/tst-fphex-wide.c: New file.
46835
07037eeb
JM
468362012-03-08 Joseph Myers <joseph@codesourcery.com>
46837
a7a93d50
JM
46838 [BZ #6911]
46839 * manual/macros.texi (gnusystems): New macro.
46840 (nongnusystems): Likewise.
46841 (gnulinuxhurdsystems): Likewise.
46842 (gnuhurdsystems): Likewise..
46843 (gnulinuxsystems): Likewise.
46844 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46845 variants of the GNU system, not "GNU system".
46846 * manual/conf.texi: Likewise.
46847 * manual/errno.texi: Likewise. Update example of errno macro
46848 expansion.
46849 * manual/filesys.texi: Likewise.
46850 (getumask): Document as specific to GNU/Hurd.
46851 * manual/install.texi: Likewise. Reword some references to
46852 GNU/Linux.
46853 * manual/intro.texi: Likewise.
46854 * manual/io.texi: Likewise.
46855 (File Name Portability): Detail which constraints are inapplicable
46856 to all GNU systems and which are only inapplicable to GNU/Hurd.
46857 * manual/job.texi: Likewise.
46858 * manual/llio.texi: Likewise.
46859 (O_NOCTTY): Document as present on GNU/Linux.
46860 * manual/maint.texi: Likewise.
46861 * manual/memory.texi: Likewise.
46862 * manual/pattern.texi: Likewise.
46863 * manual/pipe.texi: Likewise.
46864 * manual/process.texi: Likewise.
46865 * manual/resource.texi: Likewise.
46866 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46867 child on GNU/Hurd.
46868 * manual/setjmp.texi: Likewise.
46869 * manual/signal.texi: Likewise.
46870 * manual/startup.texi: Likewise.
46871 * manual/stdio.texi: Likewise.
46872 * manual/terminal.texi: Likewise.
46873 (ONLCR): Document as POSIX.
46874 (OXTABS): Document availability on GNU/Linux as XTABS.
46875 (ONOEOT): Document availability separately from other bits.
46876 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46877 * manual/time.texi: Likewise.
46878 * manual/users.texi: Likewise.
46879 * INSTALL: Regenerated.
46880 * sysdeps/gnu/errlist.c: Regenerated.
46881
07037eeb
JM
46882 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46883 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46884 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46885 puts.
46886 * configure: Regenerated.
46887
d1d3431a
JM
468882012-03-07 Joseph Myers <joseph@codesourcery.com>
46889
af6a1e37
JM
46890 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46891 default includes instead of AC_HEADER_CHECK.
46892 * sysdeps/i386/configure: Regenerated.
46893
d1d3431a
JM
46894 [BZ #10716]
46895 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46896 * math/s_cacoshf.c (__cacoshf): Likewise.
46897 * math/s_cacoshl.c (__cacoshl): Likewise.
46898 * math/s_casinh.c (__casinh): Set signs of result from argument.
46899 * math/s_casinhf.c (__casinhf): Likewise.
46900 * math/s_casinhl.c (__casinhl): Likewise.
46901 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46902 (casinh_test): Add more tests.
46903 * sysdeps/i386/fpu/libm-test-ulps: Update.
46904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46905
482ff4da
UD
469062012-03-07 Ulrich Drepper <drepper@gmail.com>
46907
872fda05
UD
46908 * po/zh_TW.po: Update from translation team.
46909
a4300c7a
UD
46910 * login/Makefile (distribute): Remove variable.
46911 * catgets/Makefile: Likewise.
46912 * mach/Makefile: Likewise.
46913 * malloc/Makefile: Likewise.
46914 * misc/Makefile: Likewise.
46915 * iconv/Makefile: Likewise.
46916 * nscd/Makefile: Likewise.
46917 * hurd/Makefile: Likewise.
46918 * manual/Makefile: Likewise.
46919 * locale/Makefile: Likewise.
46920 * intl/Makefile: Likewise.
46921 * conform/Makefile: Likewise.
46922 * nss/Makefile: Likewise.
46923 * time/Makefile: Likewise.
46924 * soft-fp/Makefile: Likewise.
46925 * dirent/Makefile: Likewise.
46926 * gmon/Makefile: Likewise.
46927 * po/Makefile: Likewise.
46928 * rt/Makefile: Likewise.
46929 * socket/Makefile: Likewise.
46930 * math/Makefile: Likewise.
46931 * signal/Makefile: Likewise.
46932 * debug/Makefile: Likewise.
46933 * elf/Makefile: Likewise.
46934 * timezone/Makefile: Likewise.
46935 * stdlib/Makefile: Likewise.
46936 * iconvdata/Makefile: Likewise.
46937 * sunrpc/Makefile: Likewise.
46938 * io/Makefile: Likewise.
46939 * argp/Makefile: Likewise.
46940 * inet/Makefile: Likewise.
46941 * hesiod/Makefile: Likewise.
46942 * grp/Makefile: Likewise.
46943 * csu/Makefile: Likewise.
46944 * wctype/Makefile: Likewise.
46945 * crypt/Makefile: Likewise.
46946 * libio/Makefile: Likewise.
46947 * string/Makefile: Likewise.
46948 * nis/Makefile: Likewise.
46949 * resolv/Makefile: Likewise.
46950 * stdio-common/Makefile: Likewise.
46951 * wcsmbs/Makefile: Likewise.
46952 * dlfcn/Makefile: Likewise.
46953 * posix/Makefile: Likewise.
46954
3b7c4e74 46955 [BZ #6959]
482ff4da
UD
46956 * timezone/Makefile: Don't install timezone files, just the programs
46957 and scripts.
46958
f72ed77d
UD
469592012-03-06 Ulrich Drepper <drepper@gmail.com>
46960
a000466f
UD
46961 * nss/databases.def: Add missing gshadow entry.
46962
f72ed77d
UD
46963 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46964
a53b7a4e
MP
469652012-03-06 Marek Polacek <polacek@redhat.com>
46966
46967 [BZ #13726]
46968 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46969 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46970 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46971 * stdio-common/tst-long-dbl-fphex.c: New file.
46972
e9258400
DM
469732012-03-06 David S. Miller <davem@davemloft.net>
46974
46975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46976 (set_obp_int): New function.
46977 (get_obp_int): New function.
46978 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46980 Avoid unused variable warnings on 'val' and use builtin_expect.
46981 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46982 __builtin_expect.
e9258400
DM
46983 (INLINE_CLONE_SYSCALL): Likewise.
46984
3bd2c723
DM
469852012-03-05 David S. Miller <davem@davemloft.net>
46986
46987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46988
bbb78d03
AS
469892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46990
884c5db4
AS
46991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46992
bbb78d03
AS
46993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46994 only for |x| >= 40.
46995 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46996
1c9f702a 469972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46998
46999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47000 Replace gettimeofday with __vdso_gettimeofday.
47001
7be16f82
RM
47002 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47003 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47004 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47005
47006 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47007 time with __vdso_time.
47008
ed58a00f
JM
470092012-03-05 Joseph Myers <joseph@codesourcery.com>
47010
47011 * manual/lang.texi (size_t): Note types to which size_t may be
47012 equivalent with the GNU C Library, but do not describe when
47013 differences between them are significant.
47014
30ee4ced
AJ
470152012-03-05 Andreas Jaeger <aj@suse.de>
47016
47017 * sysdeps/i386/fpu/libm-test-ulps: Update.
47018
b7cd39e8
JM
470192012-03-05 Joseph Myers <joseph@codesourcery.com>
47020
47021 [BZ #3976]
47022 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47023 (__ieee754_pow): Save and restore rounding mode and use
47024 round-to-nearest for main computations.
47025 * math/libm-test.inc (pow_test_tonearest): New function.
47026 (pow_test_towardzero): Likewise.
47027 (pow_test_downward): Likewise.
47028 (pow_test_upward): Likewise.
47029 (main): Call the new functions.
47030 * sysdeps/i386/fpu/libm-test-ulps: Update.
47031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47032
47033 [BZ #3976]
47034 * math/libm-test.inc (cosh_test_tonearest): New function.
47035 (cosh_test_towardzero): Likewise.
47036 (cosh_test_downward): Likewise.
47037 (cosh_test_upward): Likewise.
47038 (sinh_test_tonearest): Likewise.
47039 (sinh_test_towardzero): Likewise.
47040 (sinh_test_downward): Likewise.
47041 (sinh_test_upward): Likewise.
47042 (main): Call the new functions.
47043 * sysdeps/i386/fpu/libm-test-ulps: Update.
47044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47045
6c6a98c9
TV
470462012-03-05 Tom de Vries <tom@codesourcery.com>
47047
47048 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47049 default stack guard is set in last bytes.
47050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47051
21bb2d2e 470522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47053
21bb2d2e 47054 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47055
21bb2d2e
AJ
47056 [BZ #13656]
47057 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47058 possibly allocate from heap instead of stack.
47059 * stdio-common/bug-vfprintf-nargs.c: New file.
47060 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47061
c6922934
AS
470622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47063
47064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47065
bc957d53
MP
470662012-03-03 Marek Polacek <polacek@redhat.com>
47067
47068 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47069 * math/math_private.h: Likewise.
47070 * stdlib/tst-strtod.c: Likewise.
47071 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47072 * sysdeps/x86_64/bits/atomic.h: Likewise.
47073
6358490d
DM
470742012-03-02 David S. Miller <davem@davemloft.net>
47075
47076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47080 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47081 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47082 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47083 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47084
01ae168d
RM
470852012-03-02 Roland McGrath <roland@hack.frob.com>
47086
d9a17c07
RM
47087 [BZ #13792]
47088 * manual/examples/README: New file, says the example source files
47089 can be used under GPL>=2.
47090 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47091 line containing just "*/".
47092 * manual/examples/add.c: Add copyright header (GPL>=2).
47093 * manual/examples/argp-ex1.c: Likewise.
47094 * manual/examples/argp-ex2.c: Likewise.
47095 * manual/examples/argp-ex3.c: Likewise.
47096 * manual/examples/argp-ex4.c: Likewise.
47097 * manual/examples/atexit.c: Likewise.
47098 * manual/examples/db.c: Likewise.
47099 * manual/examples/dir.c: Likewise.
47100 * manual/examples/dir2.c: Likewise.
47101 * manual/examples/execinfo.c: Likewise.
47102 * manual/examples/filecli.c: Likewise.
47103 * manual/examples/filesrv.c: Likewise.
47104 * manual/examples/fmtmsgexpl.c: Likewise.
47105 * manual/examples/genpass.c: Likewise.
47106 * manual/examples/inetcli.c: Likewise.
47107 * manual/examples/inetsrv.c: Likewise.
47108 * manual/examples/isockad.c: Likewise.
47109 * manual/examples/longopt.c: Likewise.
47110 * manual/examples/memopen.c: Likewise.
47111 * manual/examples/memstrm.c: Likewise.
47112 * manual/examples/mkfsock.c: Likewise.
47113 * manual/examples/mkisock.c: Likewise.
47114 * manual/examples/mygetpass.c: Likewise.
47115 * manual/examples/pipe.c: Likewise.
47116 * manual/examples/popen.c: Likewise.
47117 * manual/examples/rprintf.c: Likewise.
47118 * manual/examples/search.c: Likewise.
47119 * manual/examples/select.c: Likewise.
47120 * manual/examples/setjmp.c: Likewise.
47121 * manual/examples/sigh1.c: Likewise.
47122 * manual/examples/sigusr.c: Likewise.
47123 * manual/examples/stpcpy.c: Likewise.
47124 * manual/examples/strdupa.c: Likewise.
47125 * manual/examples/strftim.c: Likewise.
47126 * manual/examples/strncat.c: Likewise.
47127 * manual/examples/subopt.c: Likewise.
47128 * manual/examples/swapcontext.c: Likewise.
47129 * manual/examples/termios.c: Likewise.
47130 * manual/examples/testopt.c: Likewise.
47131 * manual/examples/testpass.c: Likewise.
47132 * manual/examples/timeval_subtract.c: Likewise.
47133
01ae168d
RM
47134 [BZ #13792]
47135 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47136 function to ...
47137 * manual/timeval_subtract.c.texi: ... here, new file.
47138
49efa33d
DM
471392012-03-02 David S. Miller <davem@davemloft.net>
47140
47141 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47142
28afd92d
JM
471432012-03-02 Joseph Myers <joseph@codesourcery.com>
47144
804360ed
JM
47145 [BZ #3976]
47146 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47147 (__sin): Save and restore rounding mode and use round-to-nearest
47148 for all computations.
47149 (__cos): Save and restore rounding mode and use round-to-nearest
47150 for all computations.
47151 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47152 <fenv.h>.
47153 (tan): Save and restore rounding mode and use round-to-nearest for
47154 all computations.
47155 * math/libm-test.inc (cos_test_tonearest): New function.
47156 (cos_test_towardzero): Likewise.
47157 (cos_test_downward): Likewise.
47158 (cos_test_upward): Likewise.
47159 (sin_test_tonearest): Likewise.
47160 (sin_test_towardzero): Likewise.
47161 (sin_test_downward): Likewise.
47162 (sin_test_upward): Likewise.
47163 (tan_test_tonearest): Likewise.
47164 (tan_test_towardzero): Likewise.
47165 (tan_test_downward): Likewise.
47166 (tan_test_upward): Likewise.
47167 (main): Call the new functions.
47168 * sysdeps/i386/fpu/libm-test-ulps: Update.
47169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47170
a6d06d7b
JM
47171 [BZ #10135]
47172 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47173 small n, then large n, before computing and testing k+n.
47174 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47175 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47176 Likewise.
47177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47178 Likewise.
47179 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47180 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47181 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47182 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47185 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47186 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47187 * math/libm-test.inc (scalbn_test): Add more tests.
47188 (scalbln_test): Likewise.
47189
07e12bb3
JM
47190 * manual/filesys.texi (mode_t): Describe constraints on size and
47191 signedness, not exact equivalence to a particular type.
47192 (ino_t): Likewise.
47193 (ino64_t): Likewise.
47194 (dev_t): Likewise.
47195 (nlink_t): Likewise.
47196 (blkcnt_t): Likewise.
47197 (blkcnt64_t): Likewise.
47198 * manual/llio.texi (off_t): Likewise.
47199
28afd92d
JM
47200 [BZ #3976]
47201 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47202 (__ieee754_exp): Save and restore rounding mode and use
47203 round-to-nearest for all computations.
47204 * math/libm-test.inc (exp_test_tonearest): New function.
47205 (exp_test_towardzero): Likewise.
47206 (exp_test_downward): Likewise.
47207 (exp_test_upward): Likewise.
47208 (main): Call the new functions.
47209 * sysdeps/i386/fpu/libm-test-ulps: Update.
47210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47211
b1eeb65d
CD
472122012-03-01 Chris Demetriou <cgd@google.com>
47213
47214 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47215 have predictable order.
47216
53362a4b
DM
472172012-03-01 David S. Miller <davem@davemloft.net>
47218
3c969083
DM
47219 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47220
759707de
DM
47221 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47222 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47223 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47224 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47225
dfdb8ff2
DM
47226 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47227 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47228 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47230 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47231 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47232 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47233 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47234 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47235
ead89f96
DM
47236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47237
7f66bd07
DM
47238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47239 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47240 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47241
53362a4b
DM
47242 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47243 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47244 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47245 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47246 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47247 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47249 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47250 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47251 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47252 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47255 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47256 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47258 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47259 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47260 * sysdeps/sparc/elf/configure: Regenerated.
47261
7b1902cb
JM
472622012-03-01 Joseph Myers <joseph@codesourcery.com>
47263
bec039bc
JM
47264 * configure.in (AS, LD): Require binutils 2.20 or later.
47265 * configure: Regenerated.
47266 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47267 as required minimum version.
47268 * INSTALL: Regenerated.
47269
7b1902cb
JM
47270 [BZ #2541]
47271 [BZ #4108]
47272 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47273 before squaring exponent.
47274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47275 bottom long double and 27 bits of top long double before squaring
47276 exponent.
47277 * math/libm-test.inc (erfc_test): Add more tests.
47278 * sysdeps/i386/fpu/libm-test-ulps: Update.
47279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47281
f775c276
KT
472822012-03-01 Kai Tietz <ktietz@redhat.com>
47283
47284 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47285 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47286 containing bit-fields.
47287 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47288 * soft-fp/single.h (_FP_UNION_S): Likewise.
47289 * soft-fp/double.h (_FP_UNION_D): Likewise.
47290
5b8a4d4a
JM
472912012-02-29 Joseph Myers <joseph@codesourcery.com>
47292
0bab47b6
JM
47293 [BZ #13786]
47294 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47295 not include ../strcmp.S.
47296 [USE_AS_STRNCASECMP_L]: Likewise.
47297 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47298 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47299 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47300 (__strncasecmp_l_ia32): Define as alias to
47301 __strncasecmp_l_nonascii.
47302
0fcad3e2
JM
47303 [BZ #5794]
47304 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47305 * sysdeps/i386/fpu/libm-test-ulps: Update.
47306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47307
5b8a4d4a
JM
47308 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47310
8fdceb2e
JL
473112012-02-29 Jeff Law <law@redhat.com>
47312
47313 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47314 out of bounds read.
47315
1f393a11
MP
473162012-02-29 Marek Polacek <polacek@redhat.com>
47317
47318 [BZ #13706]
47319 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47320 * elf/Makefile: Add rules to run tst-unused-dep.out.
47321
8847f037
DM
473222012-02-28 David S. Miller <davem@davemloft.net>
47323
47324 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47325 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47328 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47329 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47330
169d7f11
JM
473312012-02-29 Joseph Myers <joseph@codesourcery.com>
47332
47333 * math/libm-test.inc (llround_test): Move one test from
47334 lround_test. Use TEST_f_L in moved test.
47335 (lround_test): Move misplaced test to llround_test. Add testcase
47336 from bug 2561.
47337
39adf059
UD
473382012-02-28 Ulrich Drepper <drepper@gmail.com>
47339
47340 * sysdeps/x86_64/fpu/e_expf.S: New file.
47341 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47342
71b5d1c5
SB
473432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47344
47345 [BZ #13637]
47346 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47347 of remain_len that may cause incomplete multi-byte character and
47348 false match.
47349 * posix/bug-regex33.c: New file.
47350 * posix/Makefile (tests): Add bug-regex33.
47351
1f77f049
JM
473522012-02-28 Joseph Myers <joseph@codesourcery.com>
47353
47354 * manual/macros.texi: New file.
47355 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47356 * manual/libc.texinfo: Include macros.texi.
47357 * manual/creatute.texi: Likewise.
47358 * manual/install.texi: Likewise.
47359 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47360 @glibcadj{} in references to the GNU C Library.
47361 * manual/charset.texi: Likewise.
47362 * manual/conf.texi: Likewise.
47363 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47364 when not using those macros.
47365 * manual/creature.texi: Likewise.
47366 * manual/crypt.texi: Likewise.
47367 * manual/errno.texi: Likewise.
47368 * manual/filesys.texi: Likewise.
47369 * manual/header.texi: Likewise.
47370 * manual/install.texi: Likewise.
47371 * manual/intro.texi: Likewise.
47372 * manual/io.texi: Likewise.
47373 * manual/job.texi: Likewise.
47374 * manual/lang.texi: Likewise.
47375 * manual/libc.texiinfo: Likewise.
47376 * manual/llio.texi: Likewise.
47377 * manual/locale.texi: Likewise.
47378 * manual/maint.texi: Likewise.
47379 * manual/math.texi: Likewise.
47380 * manual/memory.texi: Likewise.
47381 * manual/message.texi: Likewise.
47382 * manual/nss.texi: Likewise.
47383 * manual/pattern.texi: Likewise.
47384 * manual/process.texi: Likewise.
47385 * manual/resource.texi: Likewise.
47386 * manual/search.texi: Likewise.
47387 * manual/setjmp.texi: Likewise.
47388 * manual/signal.texi: Likewise.
47389 * manual/socket.texi: Likewise.
47390 * manual/startup.texi: Likewise.
47391 * manual/stdio.texi: Likewise.
47392 * manual/string.texi: Likewise.
47393 * manual/sysinfo.texi: Likewise.
47394 * manual/syslog.texi: Likewise.
47395 * manual/terminal.texi: Likewise.
47396 * manual/time.texi: Likewise.
47397 * manual/users.texi: Likewise.
47398 * INSTALL: Regenerated.
47399 * NOTES: Regenerated.
d40c5d54 47400 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47401
450bf206
AS
474022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47403
47404 * include/dirent.h: Include <dirstream.h> before
47405 <dirent/dirent.h>.
47406
741a235b
DM
474072012-02-28 David S. Miller <davem@davemloft.net>
47408
47409 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47410 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47411 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47412 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47413
d6b5aa58
DM
474142012-02-27 David S. Miller <davem@davemloft.net>
47415
1aff59a3
DM
47416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47418 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47419 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47420
d6b5aa58
DM
47421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47422 frame pointer instead of stack pointer relative arg slot.
47423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47424 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47425 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47426
433f48bf
CD
474272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47428
47429 [BZ #3992]
47430 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47431
d674b76d
DM
474322012-02-27 David S. Miller <davem@davemloft.net>
47433
47434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47438 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47439 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47440 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47441 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47442
0e7727f7
JM
474432012-02-27 Joseph Myers <joseph@codesourcery.com>
47444
47445 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47446 later. Allow versions 5-9.
43be4ca2 47447 * configure: Regenerated.
0e7727f7
JM
47448 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47449 required minimum version and 4.6 as recommended version. Do not
47450 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47451 * INSTALL: Regenerated.
0e7727f7 47452
a78bc654
DM
474532012-02-27 David S. Miller <davem@davemloft.net>
47454
428d5830
DM
47455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47459 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47460 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47461 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47462 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47463
a78bc654
DM
47464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47465 manipulate bits before adding and subtracting TWO112[sx].
47466 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47467
4579f81c
RM
474682012-02-27 Roland McGrath <roland@hack.frob.com>
47469
36c8acb4
RM
47470 [BZ #13775]
47471 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47472 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47473 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47474 being in POSIX, because they are in 1003.1-2008.
47475
84ad622b
RM
47476 * rt/tst-aio.c: Include <fcntl.h>.
47477 * rt/tst-aio7.c: Likewise.
47478 * rt/tst-aio64.c: Likewise.
47479
4579f81c
RM
47480 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47481
abd923db
JM
474822012-02-27 Joseph Myers <joseph@codesourcery.com>
47483
47484 * manual/install.texi (--with-headers): Describe headers as
47485 interface headers, not private headers.
47486 (Specific advice for GNU/Linux systems): Describe use of headers
47487 from "make headers_install", not private headers from older
47488 kernels.
43be4ca2 47489 * INSTALL: Regenerated.
abd923db
JM
47490 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47491 Change to 2.6.19.
47492 * sysdeps/unix/sysv/linux/configure: Regenerated.
47493
6664049b
JM
47494 * manual/llio.texi (fclean): Remove documentation.
47495
bb8b6697
JM
47496 * manual/Makefile (libc-texi-generated): New variable. Include
47497 version.texi.
47498 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47499 $(libc-texi-generated), not duplicated list of files.
47500 (version.texi, stamp-version): New rules.
47501 (realclean): Remove $(libc-texi-generated), not individual files
47502 from that list. Do not remove dir-add.texinfo.
47503 * manual/libc.texinfo: Comment out uses of edition numbers and
47504 references to printed manual. Remove last-updated dates.
47505 (EDITION): Comment out.
47506 (ISBN): Likewise.
47507 (VERSION, UPDATED): Remove.
47508 (version.texi): Include.
47509
12e5c3b9
AS
475102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47511
47512 * sysdeps/posix/spawni.c: Include <signal.h>.
47513 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47514 * sysdeps/pthread/aio_fsync.c: Likewise.
47515
4efeffc1 475162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47517
ba63ba08
UD
47518 * conform/Makefile (tests): Run only when not cross-compiling and
47519 when fast-check is not defined.
47520
d94a4670
UD
47521 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47522 * conform/data/limits.h-data: Fixes for POSIX2008.
47523 * conform/run-conformtest.sh: Run all tests.
47524 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47525 headers.
47526 * include/bits/dlfcn.h: Likewise.
47527 * include/langinfo.h: Likewise.
47528 * include/monetary.h: Likewise.
47529 * include/sys/poll.h: Likewise.
47530
47531 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47532 for __USE_GNU.
47533 * posix/spawn.h: Define __need_sigset_t.
47534 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47535 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47536 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47537 to get sigevent_t only.
47538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47539 only for __USE_GNU.
47540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47541 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47542 process_vm_writev only for __USE_GNU.
47543 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47544
47545 * conform/Makefile: For now ignore errors from run-conformtest.
47546 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47547 POSIX to avoid namespace pollution. Don't prepend headers.
47548 * conform/data/aio.h-data: Fixes for POSIX testing.
47549 * conform/data/fcntl.h-data: Likewise.
47550 * conform/data/glob.h-data: Likewise.
47551 * conform/data/grp.h-data: Likewise.
47552 * conform/data/pthread.h-data: Likewise.
47553 * conform/data/pwd.h-data: Likewise.
47554 * conform/data/signal.h-data: Likewise.
47555 * conform/data/spawn.h-data: Likewise.
47556 * conform/data/stdio.h-data: Likewise.
47557 * conform/data/stdlib.h-data: Likewise.
47558 * conform/data/stropts.h-data: Likewise.
47559 * conform/data/sys/mman.h-data: Likewise.
47560 * conform/data/sys/stat.h-data: Likewise.
47561 * conform/data/sys/types.h-data: Likewise.
47562 * conform/data/sys/wait.h-data: Likewise.
47563 * conform/data/time.h-data: Likewise.
47564 * conform/data/unistd.h-data: Likewise.
47565 * conform/data/utime.h-data: Likewise.
47566
47567 * io/sys/stat.h: fchmod was always in POSIX.
47568 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47569 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47570 * rt/aio.h: Define __need_timespec before including <time.h>.
47571 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47572 struct. Add forward declaration of pthread_attr_t and use it in
47573 sigevent.
47574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47575 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47576 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47577 always remove CLK_TCK definition.
47578
c20105c3
AS
475792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47580
47581 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47582
7a270350
UD
475832012-02-25 Ulrich Drepper <drepper@gmail.com>
47584
31341567
UD
47585 * conform/run-conformtest.sh: New file.
47586 * conform/Makefile: Run run-conformtest for tests.
47587 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47588 support.
47589
47590 * conform/data/uchar.h-data: New file.
47591 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47592 * conform/data/arpa/inet.h-data: Likewise.
47593 * conform/data/assert.h-data: Likewise.
47594 * conform/data/complex.h-data: Likewise.
47595 * conform/data/cpio.h-data: Likewise.
47596 * conform/data/ctype.h-data: Likewise.
47597 * conform/data/dirent.h-data: Likewise.
47598 * conform/data/dlfcn.h-data: Likewise.
47599 * conform/data/errno.h-data: Likewise.
47600 * conform/data/fcntl.h-data: Likewise.
47601 * conform/data/float.h-data: Likewise.
47602 * conform/data/fmtmsg.h-data: Likewise.
47603 * conform/data/fnmatch.h-data: Likewise.
47604 * conform/data/ftw.h-data: Likewise.
47605 * conform/data/glob.h-data: Likewise.
47606 * conform/data/grp.h-data: Likewise.
47607 * conform/data/iconv.h-data: Likewise.
47608 * conform/data/inttypes.h-data: Likewise.
47609 * conform/data/langinfo.h-data: Likewise.
47610 * conform/data/libgen.h-data: Likewise.
47611 * conform/data/limits.h-data: Likewise.
47612 * conform/data/locale.h-data: Likewise.
47613 * conform/data/math.h-data: Likewise.
47614 * conform/data/monetary.h-data: Likewise.
47615 * conform/data/mqueue.h-data: Likewise.
47616 * conform/data/ndbm.h-data: Likewise.
47617 * conform/data/net/if.h-data: Likewise.
47618 * conform/data/netdb.h-data: Likewise.
47619 * conform/data/netinet/in.h-data: Likewise.
47620 * conform/data/nl_types.h-data: Likewise.
47621 * conform/data/poll.h-data: Likewise.
47622 * conform/data/pthread.h-data: Likewise.
47623 * conform/data/pwd.h-data: Likewise.
47624 * conform/data/regex.h-data: Likewise.
47625 * conform/data/sched.h-data: Likewise.
47626 * conform/data/search.h-data: Likewise.
47627 * conform/data/semaphore.h-data: Likewise.
47628 * conform/data/setjmp.h-data: Likewise.
47629 * conform/data/signal.h-data: Likewise.
47630 * conform/data/spawn.h-data: Likewise.
47631 * conform/data/stdarg.h-data: Likewise.
47632 * conform/data/stdio.h-data: Likewise.
47633 * conform/data/stdlib.h-data: Likewise.
47634 * conform/data/string.h-data: Likewise.
47635 * conform/data/strings.h-data: Likewise.
47636 * conform/data/stropts.h-data: Likewise.
47637 * conform/data/sys/ipc.h-data: Likewise.
47638 * conform/data/sys/mman.h-data: Likewise.
47639 * conform/data/sys/msg.h-data: Likewise.
47640 * conform/data/sys/resource.h-data: Likewise.
47641 * conform/data/sys/select.h-data: Likewise.
47642 * conform/data/sys/sem.h-data: Likewise.
47643 * conform/data/sys/shm.h-data: Likewise.
47644 * conform/data/sys/socket.h-data: Likewise.
47645 * conform/data/sys/stat.h-data: Likewise.
47646 * conform/data/sys/statvfs.h-data: Likewise.
47647 * conform/data/sys/time.h-data: Likewise.
47648 * conform/data/sys/timeb.h-data: Likewise.
47649 * conform/data/sys/times.h-data: Likewise.
47650 * conform/data/sys/types.h-data: Likewise.
47651 * conform/data/sys/uio.h-data: Likewise.
47652 * conform/data/sys/un.h-data: Likewise.
47653 * conform/data/sys/utsname.h-data: Likewise.
47654 * conform/data/sys/wait.h-data: Likewise.
47655 * conform/data/syslog.h-data: Likewise.
47656 * conform/data/tar.h-data: Likewise.
47657 * conform/data/termios.h-data: Likewise.
47658 * conform/data/utime.h-data: Likewise.
47659 * conform/data/utmpx.h-data: Likewise.
47660 * conform/data/varargs.h-data: Likewise.
47661 * conform/data/wchar.h-data: Likewise.
47662 * conform/data/wctype.h-data: Likewise.
47663 * conform/data/wordexp.h-data: Likewise.
47664
47665 * include/stropts.h: New file.
47666 * include/uchar.h: New file.
47667 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47668 * include/assert.h: Likewise.
47669 * include/ctype.h: Likewise.
47670 * include/dirent.h: Likewise.
47671 * include/dlfcn.h: Likewise.
47672 * include/fcntl.h: Likewise.
47673 * include/fnmatch.h: Likewise.
47674 * include/glob.h: Likewise.
47675 * include/grp.h: Likewise.
47676 * include/libio.h: Likewise.
47677 * include/locale.h: Likewise.
47678 * include/math.h: Likewise.
47679 * include/net/if.h: Likewise.
47680 * include/netdb.h: Likewise.
47681 * include/netinet/in.h: Likewise.
47682 * include/pthread.h: Likewise.
47683 * include/pwd.h: Likewise.
47684 * include/regex.h: Likewise.
47685 * include/sched.h: Likewise.
47686 * include/search.h: Likewise.
47687 * include/setjmp.h: Likewise.
47688 * include/signal.h: Likewise.
47689 * include/stdio.h: Likewise.
47690 * include/stdlib.h: Likewise.
47691 * include/string.h: Likewise.
47692 * include/sys/cdefs.h: Likewise.
47693 * include/sys/mman.h: Likewise.
47694 * include/sys/msg.h: Likewise.
47695 * include/sys/resource.h: Likewise.
47696 * include/sys/select.h: Likewise.
47697 * include/sys/socket.h: Likewise.
47698 * include/sys/stat.h: Likewise.
47699 * include/sys/statvfs.h: Likewise.
47700 * include/sys/time.h: Likewise.
47701 * include/sys/times.h: Likewise.
47702 * include/sys/uio.h: Likewise.
47703 * include/sys/utsname.h: Likewise.
47704 * include/sys/wait.h: Likewise.
47705 * include/termios.h: Likewise.
47706 * include/time.h: Likewise.
47707 * include/ulimit.h: Likewise.
47708 * include/unistd.h: Likewise.
47709 * include/utime.h: Likewise.
47710 * include/wchar.h: Likewise.
47711 * include/wctype.h: Likewise.
47712 * include/wordexp.h: Likewise.
47713
47714 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47715
7a270350
UD
47716 * time/time.h: TIME_UTC must be a macro.
47717 Make timespec_get available for ISO C11 only as well.
47718
7724defc
UD
477192012-02-24 Ulrich Drepper <drepper@gmail.com>
47720
47721 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47722 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47723
6b1d1d46
JM
477242012-02-24 Joseph Myers <joseph@codesourcery.com>
47725
47726 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47727
0f8bbd69
JM
477282012-02-24 Joseph Myers <joseph@codesourcery.com>
47729
47730 * manual/texinfo.tex: Update to version 2012-01-19.16.
47731
66ab80bc
JM
477322012-02-24 Joseph Myers <joseph@codesourcery.com>
47733
47734 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47735
74981cc5
RM
477362012-02-24 Roland McGrath <roland@hack.frob.com>
47737
ee968201
RM
47738 [BZ #13738]
47739 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47740 * manual/fdl-1.3.texi: New file.
47741 * manual/fdl-1.1.texi: File removed.
47742
74981cc5
RM
47743 [BZ #13738]
47744 * manual/libc.texinfo (FDL_VERSION): New @set.
47745 Use it for mention of FDL in cover text.
47746 (Documentation License): Use it in @include file name.
47747
7bb764bc
JM
477482012-02-22 Joseph Myers <joseph@codesourcery.com>
47749 Roland McGrath <roland@hack.frob.com>
47750
47751 [BZ #5461]
57f41c40
AS
47752 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47753 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47754 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47755 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47756 name.
47757 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47758
6cbeae47
JM
477592012-02-22 Joseph Myers <joseph@codesourcery.com>
47760
47761 [BZ #2547]
47762 [BZ #11365]
47763 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47764 manipulate bits before adding and subtracting TWO23[sx].
47765 * math/libm-test.inc (nearbyint_test): Add more tests.
47766
fe45ce09
JM
477672012-02-22 Joseph Myers <joseph@codesourcery.com>
47768
47769 [BZ #2548]
47770 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47771 bits before adding and subtracting TWO23[sx].
47772 * math/libm-test.inc (rint_test): Add more tests.
47773 (rint_test_tonearest): Likewise.
47774 (rint_test_towardzero): Likewise.
47775 (rint_test_downward): Likewise.
47776 (rint_test_upward: Likewise.
47777
ff3b3d82
JM
477782012-02-22 Joseph Myers <joseph@codesourcery.com>
47779
47780 [BZ #10110]
47781 * include/stdc-predef.h: New file. Extracted from features.h.
47782 * include/features.h: Include stdc-predef.h.
47783 * Makefile (headers): Add stdc-predef.h.
47784 * CONFORMANCE (Compiler limitations): Update.
47785
ef0aab35
JM
477862012-02-22 Joseph Myers <joseph@codesourcery.com>
47787
47788 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47789
58639409
DM
477902012-02-21 David S. Miller <davem@davemloft.net>
47791
47792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47793 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47794
c0e70b25
DM
477952012-02-20 David S. Miller <davem@davemloft.net>
47796
47797 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47798 using a normal save/restore sequence, rather than allocating a
47799 dummy stack frame just to store a frame pointer and restore.
47800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47801
fb06851d
JM
478022012-02-21 Joseph Myers <joseph@codesourcery.com>
47803
47804 * manual/install.texi: Fix stray word in line-wrapped comment.
47805
7a8b71c3
DM
478062012-02-20 David S. Miller <davem@davemloft.net>
47807
d510c123
DM
47808 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47809 both binutils and gcc support GOTDATA.
47810
0722d7c2
DM
47811 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47812 "rd %pc" in the PIC register setup sequences.
47813
3d2b3019
DM
47814 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47815 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47816 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47817 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47818 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47823 (SYSCALL_ERROR_HANDLER): Likewise.
47824 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47825 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47827 (SYSCALL_ERROR_HANDLER): Likewise.
47828
c80098a9
DM
47829 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47830 (HAVE_GCC_GOTDATA): New.
47831 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47832 relocation support in both binutils and gcc.
47833 * sysdeps/sparc/elf/configure: Regenerate.
47834
3a2545a0
DM
47835 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47836 * sysdeps/sparc/sparc32/elf/configure: Delete.
47837 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47838 * sysdeps/sparc/sparc64/elf/configure: Delete.
47839 * sysdeps/sparc/elf/configure.in: New file.
47840 * sysdeps/sparc/elf/configure: Generate.
47841
7a8b71c3
DM
47842 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47843 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47844 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47845 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47846 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47847
f1e86fca
JM
478482012-02-21 Joseph Myers <joseph@codesourcery.com>
47849
47850 * manual/install.texi: Do not mention specific glibc version
47851 numbers.
47852 * manual/libc.texinfo (VERSION, UPDATED): Update.
47853 (@copying): Use @copyright{} and range of years.
47854
0e7dfaef
JM
478552012-02-21 Joseph Myers <joseph@codesourcery.com>
47856
47857 [BZ #13695]
47858 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47859 [crti.S not in sysdirs] (generated): Do not append.
47860 [crti.S not in sysdirs] (omit-deps): Likewise.
47861 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47862 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47863 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47864 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47865 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47866 Likewise.
47867 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47868 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47869 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47870 * csu/defs.awk: Remove file.
47871 * sysdeps/generic/initfini.c: Likewise.
47872 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47873 variable.
47874 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47875 Likewise.
47876
599af3ca
JM
478772012-02-20 Joseph Myers <joseph@codesourcery.com>
47878
47879 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47880 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47881 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47882 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47883 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47884 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47885 <bits/epoll.h>.
47886 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47887 (__EPOLL_PACKED): Define to empty if not defined by
47888 <bits/epoll.h>.
47889 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47891 bits/epoll.h.
47892
0e499750
JM
478932012-02-20 Joseph Myers <joseph@codesourcery.com>
47894
47895 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47896 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47897 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47898 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47899 <bits/timerfd.h>.
47900 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47902 bits/timerfd.h.
47903
5ad91f6e
JM
479042012-02-20 Joseph Myers <joseph@codesourcery.com>
47905
47906 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47907 in C locale.
47908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47909 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47910 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47912
06b99b02
AJ
479132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47914
47915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47917
7638c0fd
AS
479182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47919
47920 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47921 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47922 defined.
47923 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47924 Likewise.
47925 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47926 entry for 2.16.
47927
92221550
AJ
479282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47929
47930 * math/w_acos.c: Use non-signaling floating-point comparisons.
47931 * math/w_acosf.c: Likewise.
47932 * math/w_acosh.c: Likewise.
47933 * math/w_acoshf.c: Likewise.
47934 * math/w_acoshl.c: Likewise.
47935 * math/w_acosl.c: Likewise.
47936 * math/w_asin.c: Likewise.
47937 * math/w_asinf.c: Likewise.
47938 * math/w_asinl.c: Likewise.
47939 * math/w_atanh.c: Likewise.
47940 * math/w_atanhf.c: Likewise.
47941 * math/w_atanhl.c: Likewise.
47942 * math/w_exp2.c: Likewise.
47943 * math/w_exp2f.c: Likewise.
47944 * math/w_exp2l.c: Likewise.
47945 * math/w_j0.c: Likewise.
47946 * math/w_j0f.c: Likewise.
47947 * math/w_j0l.c: Likewise.
47948 * math/w_j1.c: Likewise.
47949 * math/w_j1f.c: Likewise.
47950 * math/w_j1l.c: Likewise.
47951 * math/w_jn.c: Likewise.
47952 * math/w_jnf.c: Likewise.
47953 * math/w_log.c: Likewise.
47954 * math/w_log10.c: Likewise.
47955 * math/w_log10f.c: Likewise.
47956 * math/w_log10l.c: Likewise.
47957 * math/w_log2.c: Likewise.
47958 * math/w_log2f.c: Likewise.
47959 * math/w_log2l.c: Likewise.
47960 * math/w_logf.c: Likewise.
47961 * math/w_logl.c: Likewise.
47962 * math/w_sqrt.c: Likewise.
47963 * math/w_sqrtf.c: Likewise.
47964 * math/w_sqrtl.c: Likewise.
47965 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47966 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47968 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47969 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47970
ebaf36eb
JM
479712012-02-19 Joseph Myers <joseph@codesourcery.com>
47972
47973 [BZ #9739]
47974 * manual/string.texi (strnlen): Use correct parameter name in
47975 equivalent expression.
47976
71c254a6
JM
479772012-02-19 Joseph Myers <joseph@codesourcery.com>
47978
47979 [BZ #11174]
47980 * manual/users.texi (seteuid): Consistently use neweuid for
47981 argument name.
47982
16d2c631
JM
479832012-02-19 Joseph Myers <joseph@codesourcery.com>
47984
47985 [BZ #13704]
47986 * manual/nss.texi (Services in the NSS configuration): Correct
47987 list of services in example configuration file.
47988
cd837b09
NB
479892012-02-19 Nick Bowler <nbowler@draconx.ca>
47990
47991 [BZ #11322]
47992 * manual/arith.texi: Remove statements about negative zero
47993 behaving identically to zero.
47994
02c4bbad
JM
479952012-02-18 Joseph Myers <joseph@codesourcery.com>
47996
47997 [BZ #5993]
47998 * manual/install.texi: Do not document upgrading from libc5.
47999
366842e7
JM
480002012-02-18 Joseph Myers <joseph@codesourcery.com>
48001
48002 [BZ #4596]
48003 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48004
dd54084d
DM
480052012-02-18 David S. Miller <davem@davemloft.net>
48006
48007 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48008 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48009 %o7 across the call.
48010 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48011 instead.
48012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48013 SETUP_PIC_REG_LEAF.
48014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48015 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48016 * sysdeps/sparc/crtn.S: Likewise.
48017
2bcc53a3
UD
480182012-02-17 Ulrich Drepper <drepper@gmail.com>
48019
48020 * aout/Makefile: Remove.
48021
09c093b5
RK
480222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48023
48024 [BZ #13058]
48025 * manual/examples/argp-ex1.c (main): Format definition in GNU
48026 style.
48027 * manual/examples/argp-ex2.c (main): Likewise.
48028 * manual/examples/argp-ex3.c (main): Likewise.
48029 * manual/examples/argp-ex4.c (main): Likewise.
48030 * manual/examples/longopt.c (main): Use new-style prototype
48031 definition.
48032 * manual/examples/strncat.c (main): Specify return type and use
48033 (void) for arguments.
48034 * manual/examples/subopt.c (main): Use char **argv argument.
48035
2ee633a2
JM
480362012-02-17 Joseph Myers <joseph@codesourcery.com>
48037
48038 [BZ #5077]
48039 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48040 rounding modes.
48041
0520adde
FB
480422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48043
48044 [BZ #6907]
48045 * manual/string.texi (strchr): Change when strchrnul is
48046 recommended.
48047
3f4081cd
DGM
480482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48049
48050 [BZ #174]
48051 * manual/locale.texi (setlocale): Document LOCPATH.
48052
d1b10e78
JM
480532012-02-17 Joseph Myers <joseph@codesourcery.com>
48054
48055 [BZ #10210]
48056 * manual/process.texi (execle): Move @dots{} before last argument.
48057
79c6869c
PB
480582012-02-17 Paul Bolle <pebolle@tiscali.nl>
48059
48060 [BZ #12047]
48061 * manual/charset.texi (Generic Charset Conversion): Fix typo
48062 (LC_TYPE -> LC_CTYPE).
48063
cc6e48bc
NB
480642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48065
48066 [BZ #5805]
48067 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48068 (scalbnf): Likewise.
48069 (scalbnl): Likewise.
48070 (scalbln): Likewise.
48071 (scalblnf): Likewise.
48072 (scalblnl): Likewise.
48073 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48074 (vwarnx): Likewise.
48075 (verr): Likewise.
48076 (verrx): Likewise.
48077 * manual/filesys.texi (telldir): Use braces around return type.
48078 * manual/llio.texi (mmap): Add space after comma.
48079 (mmap64): Likewise.
48080 * manual/math.texi (jn): Use @var{} on parameter names.
48081 (jnf): Likewise.
48082 (jnl): Likewise.
48083 (yn): Likewise.
48084 (ynf): Likewise.
48085 (ynl): Likewise.
48086 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48087 line.
48088 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48089 "...".
48090 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48091 (sched_get_priority_max): Likewise.
48092 * manual/signal.texi (sigvec): Add space after comma.
48093 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48094 names.
48095 (if_indextoname): Likewise.
48096 (if_freenameindex): Likewise.
48097 (sendto): Use ',' instead of '.' in prototype.
48098 * manual/startup.texi (syscall): Use @dots{} instead of literal
48099 "...".
48100 * manual/stdio.texi (__fpending): Separate initial words of
48101 paragraph from @deftypefun line.
48102 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48103 "...".
48104 (vsyslog): Use @var{} on parameter names.
48105 * manual/terminal.texi (stty): Use @var{} on parameter names.
48106 * manual/users.texi (getutmp): Use @var{} on parameter names.
48107 (getutmpx): Likewise.
48108
5b23062f
JM
481092012-02-17 Joseph Myers <joseph@codesourcery.com>
48110
48111 [BZ #6884]
48112 * manual/stdio.texi (fopen): Fix typos in description of
48113 ",ccs=STRING".
48114
8dee4833
AJ
481152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48116
48117 [BZ #4026]
48118 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48119 get clock_id definition.
48120
9078ce93
TS
481212012-02-17 Thomas Schwinge <thomas@schwinge.name>
48122
48123 [BZ #4822]
48124 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48125 (madvise): Cast every argument to void on its own.
48126
3835c55f
JM
481272012-02-17 Joseph Myers <joseph@codesourcery.com>
48128
48129 [BZ #9902]
48130 * manual/startup.texi (Exit Status): Fix typo.
48131
35c47e37
JM
481322012-02-17 Joseph Myers <joseph@codesourcery.com>
48133
48134 [BZ #10140]
48135 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48136 * manual/examples/argp-ex2.c: Likewise.
48137 * manual/examples/argp-ex3.c: Likewise.
48138
e3b69ca7
RH
481392012-02-16 Richard Henderson <rth@redhat.com>
48140
48141 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48142 * sysdeps/s390/s390-32/initfini.c: Remove.
48143 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48144 * sysdeps/s390/s390-64/initfini.c: Remove.
48145
df83af67
KK
481462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48147
48148 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48149 compiler output for sysdeps/generic/initfini.c.
48150 * sysdeps/sh/elf/initfini.c: Remove file.
48151
f63f3380
DM
481522012-02-16 David S. Miller <davem@davemloft.net>
48153
fb59b3a4
DM
48154 [BZ #11494]
48155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48156
f63f3380
DM
48157 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48158 * sysdeps/sparc/crti.S: New file.
48159 * sysdeps/sparc/crtn.S: New file.
48160 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48161 * sysdeps/sparc/sparc64/Makefile: Likewise.
48162
df6a4a4a
MF
481632012-02-15 Mike Frysinger <vapier@gentoo.org>
48164
6dd8f3dc 48165 [BZ #3335]
df6a4a4a
MF
48166 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48167
1cac7236
RM
481682012-02-15 Roland McGrath <roland@hack.frob.com>
48169
d2c736f8
RM
48170 [BZ #4822]
48171 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48172
1cac7236
RM
48173 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48174 (write, read, close): Likewise.
48175 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48176
8e475601
JM
481772012-02-15 Joseph Myers <joseph@codesourcery.com>
48178
48179 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48180 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48181 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48182 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48183 <bits/signalfd.h>.
48184 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48186 bits/signalfd.h.
48187
ed656b40
MP
481882012-02-14 Marek Polacek <polacek@redhat.com>
48189
48190 * sysdeps/x86_64/crti.S: New file.
48191 * sysdeps/x86_64/crtn.S: New file.
48192 * sysdeps/x86_64/elf/initfini.c: Remove file.
48193
2a979d3a
JM
481942012-02-13 Joseph Myers <joseph@codesourcery.com>
48195
48196 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48197 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48198 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48199 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48200 <bits/inotify.h>.
48201 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48203 bits/inotify.h.
48204
2a418ac3
JM
482052012-02-13 Joseph Myers <joseph@codesourcery.com>
48206
48207 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48208 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48209 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48210 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48211 <bits/eventfd.h>.
48212 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48214 bits/eventfd.h.
48215
fb779be7
TS
482162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48217
e19e83c5
RM
48218 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48219 __feraiseexcept instead of feraiseexcept.
7c35ffed 48220
fb779be7
TS
48221 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48222 nanosleep invocations.
48223 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48224 strings, and add error checking for a nanosleep invocations.
48225
59ba27a6
PE
482262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48227
48228 Replace FSF snail mail address with URLs, as per GNU coding standards.
48229 Most of the snail mail addresses were wrong anyway, and omitting
48230 them makes the source code easier to maintain. Almost all of the
48231 changes are to license notices and to locale LC_IDENTIFICATION
48232 addresses, except for this one:
48233 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48234 not its snail mail address.
48235
57b957eb
RH
482362012-02-09 Richard Henderson <rth@twiddle.net>
48237
af850b1c
RH
48238 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48239 of kernel-features.h.
48240
57b957eb
RH
48241 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48242
6b73181a
MP
482432012-02-08 Marek Polacek <polacek@redhat.com>
48244
48245 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48246 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48247 * sysdeps/gnu/_G_config.h: Likewise.
48248 * sysdeps/generic/_G_config.h: Likewise.
48249
26ecc33a
AS
482502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48251
6c6dbc63
AS
48252 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48253 tests.
48254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48255
e216c012
AS
48256 * sysdeps/powerpc/powerpc32/crti.S: New file.
48257 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48258 * sysdeps/powerpc/powerpc64/crti.S: New file.
48259 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48260
26ecc33a
AS
48261 * Makeconfig (have-initfini): Don't set.
48262 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48263 * configure.in (nopic_initfini): Don't substitute.
48264 * config.h.in (HAVE_INITFINI): Don't #undef.
48265 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48266 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48267
3add8e13
JM
482682012-02-08 Joseph Myers <joseph@codesourcery.com>
48269
48270 Support crti.S and crtn.S provided directly by architectures.
48271 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48272 [crti.S in sysdirs] (omit-deps): Likewise.
48273 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48274 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48275 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48276 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48277 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48278 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48279 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48280 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48281 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48282 compiler output for sysdeps/generic/initfini.c.
48283 * sysdeps/i386/elf/Makefile: Remove file.
48284 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48285
a22f12b4
MP
482862012-02-07 Marek Polacek <polacek@redhat.com>
48287
48288 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48289 * sysdeps/gnu/_G_config.h: Likewise.
48290 * sysdeps/mach/hurd/_G_config.h: Likewise.
48291
148cf100
MP
482922012-02-07 Marek Polacek <polacek@redhat.com>
48293
48294 * math/Makefile (tests): Add tst-CMPLX2.
48295 * math/tst-CMPLX2.c: New file.
48296
cfdc0dd7
AS
482972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48298
84ba42c4
AS
48299 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48300
cfdc0dd7
AS
48301 * math/libm-test.inc (jn_test): Add missing L suffix.
48302
622c86f4
MP
483032012-02-06 Marek Polacek <polacek@redhat.com>
48304
48305 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48306 * sysdeps/i386/fpu/e_powf.S: Likewise.
48307 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48308 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48309 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48310 * sysdeps/i386/fpu/e_pow.S: Likewise.
48311 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48312 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48313 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48314 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48315 * sysdeps/i386/fpu/e_log2.S: Likewise.
48316 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48317 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48318 * sysdeps/i386/fpu/e_powl.S: Likewise.
48319 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48320 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48321 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48322 * sysdeps/i386/fpu/e_logl.S: Likewise.
48323 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48324 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48325 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48326 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48327 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48328 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48329 * sysdeps/i386/fpu/e_log.S: Likewise.
48330 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48331 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48332 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48333 * sysdeps/i386/fpu/e_logf.S: Likewise.
48334 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48335 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48336 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48337 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48338 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48339 * sysdeps/i386/fpu/e_log10.S: Likewise.
48340 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48341 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48342 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48343 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48344 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48345 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48346 * sysdeps/i386/asm-syntax.h: Likewise.
48347 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48348 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48349 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48350 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48351 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48352 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48353 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48354 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48355 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48356 * sysdeps/powerpc/sysdep.h: Likewise.
48357 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48358 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48359
d4a54ac6
JM
483602012-02-06 Joseph Myers <joseph@codesourcery.com>
48361
48362 [BZ #411]
48363 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48364
314054ea
JM
483652012-02-06 Joseph Myers <joseph@codesourcery.com>
48366
48367 * sysdeps/i386/sysdep.h: Include <features.h>.
48368 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48369 version.
48370
d8e0ca50
JM
483712012-02-05 Joseph Myers <joseph@codesourcery.com>
48372
48373 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48374 Define.
48375 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48376 LOAD_PIC_REG_STR.
48377
b1da7dd9
JM
483782012-02-03 Joseph Myers <joseph@codesourcery.com>
48379
48380 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48381 (SETUP_PIC_REG): Use GET_PC_THUNK.
48382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48383 macro.
48384
9a1d9254
JM
483852012-02-03 Joseph Myers <joseph@codesourcery.com>
48386
48387 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48388 for non-PIC compilation.
48389 (SETUP_PIC_REG): Add .p2align directive.
48390 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48391 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48392 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48393 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48394 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48395 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48396 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48397 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48398 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48399 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48400 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48401 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48402 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48403 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48404 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48405 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48406 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48407 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48408 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48409 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48410 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48411 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48412 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48413 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48416 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48417 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48418 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48419 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48420 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48421 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48422 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48423 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48424 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48425 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48426 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48427 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48428 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48429 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48430 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48431
65dc3b75
JM
484322012-02-03 Joseph Myers <joseph@codesourcery.com>
48433
48434 * math/tst-CMPLX.c: Include <stdio.h>.
48435
d55bf177
JM
484362012-01-31 Joseph Myers <joseph@codesourcery.com>
48437
48438 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48439 float.
48440 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48441 * sysdeps/sparc/bits/mathdef.h: Likewise.
48442
69db4f8f
MP
484432012-01-31 Marek Polacek <polacek@redhat.com>
48444
48445 * libio/libio.h: Don't define _PARAMS.
48446 * locale/programs/config.h: Don't define PARAMS.
48447 * stdlib/strtol_l.c: Likewise.
48448 (__strtol_l): Remove PARAMS from the prototype.
48449
41b81892
UD
484502012-01-31 Ulrich Drepper <drepper@gmail.com>
48451
3b49edc0
UD
48452 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48453 names. Just use the correct names. Remove unnecessary wrapper
48454 functions.
48455 * malloc/arena.c: Likewise.
48456 * malloc/hooks.c: Likewise.
48457
41b81892
UD
48458 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48459 ARENA_TEST says not to. Simplify test for creation of a new arena.
48460 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48461
27a25b6e
UD
484622012-01-30 Ulrich Drepper <drepper@gmail.com>
48463
48464 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48465 into tail calls.
48466 (update_get_addr): New function.
48467 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48468 GET_ADDR_MODULE parameter.
48469
c8a89e7d
JM
484702012-01-30 Joseph Myers <joseph@codesourcery.com>
48471
48472 * crypt/cert.c: Remove __STDC__ conditionals.
48473 * crypt/crypt-entry.c: Likewise.
48474 * crypt/crypt_util.c: Likewise.
48475 * libio/filedoalloc.c: Likewise.
48476 * libio/fileops.c: Likewise.
48477 * libio/genops.c: Likewise.
48478 * libio/iofclose.c: Likewise.
48479 * libio/iofdopen.c: Likewise.
48480 * libio/iofopen.c: Likewise.
48481 * libio/iofopen64.c: Likewise.
48482 * libio/iogetdelim.c: Likewise.
48483 * libio/iopopen.c: Likewise.
48484 * libio/obprintf.c: Likewise.
48485 * libio/oldfileops.c: Likewise.
48486 * libio/oldiofclose.c: Likewise.
48487 * libio/oldiofdopen.c: Likewise.
48488 * libio/oldiofopen.c: Likewise.
48489 * libio/oldiopopen.c: Likewise.
48490 * libio/wfiledoalloc.c: Likewise.
48491 * libio/wgenops.c: Likewise.
48492 * locale/programs/xmalloc.c: Likewise.
48493 * misc/syslog.c: Likewise.
48494 * stdio-common/xbug.c: Likewise.
48495 * string/memchr.c: Likewise.
48496 * string/memcmp.c: Likewise.
48497 * string/memrchr.c: Likewise.
48498 * string/rawmemchr.c: Likewise.
48499 * sysdeps/posix/getcwd.c: Likewise.
48500 * time/strftime_l.c: Likewise.
48501
3b100462
JM
485022012-01-30 Joseph Myers <joseph@codesourcery.com>
48503
48504 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48505 * config.make.in (config-cflags-sse2avx): Define.
48506 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48507 Fix typo.
48508
607998af
CM
485092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48510
48511 * scripts/config.guess: Update from upstream config git repository.
48512 * scripts/config.sub: Likewise.
48513
3601428f
CM
485142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48515
3ac8b282
CM
48516 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48517 (EM_NUM): Update.
48518 (R_TILEPRO_*, R_TILEGX_*): New macros.
48519
e034841e
CM
48520 * scripts/firstversions.awk: Fix bug in version range handling.
48521
540d7568
CM
48522 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48523
3601428f
CM
48524 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48525
463de862
CM
48526 * include/sys/epoll.h: New file.
48527 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48528 libc_hidden_def.
48529
73139a76
UD
485302012-01-28 Ulrich Drepper <drepper@gmail.com>
48531
96bc5b45
UD
48532 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48533 Avoid unnecessary __WORDSIZE == 64 test.
48534 (fmaxf): Use VEX format if possible.
48535 (fmax): Likewise.
48536 (fminf): Likewise.
48537 (fmin): Likewise.
48538
56f6f6a2
UD
48539 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48540 * math/math_private.h: Remove libc_fegetround* and
48541 libc_fesetround*.
48542 * sysdeps/i386/configure.in: Check for -msse2avx.
48543 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48544 also if SSE2AVX is defined.
48545 Remove libc_fegetround* and libc_fesetround*.
48546 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48547 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48549 of HAS_YMM_USABLE.
48550 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48551 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48553 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48554 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48555
73139a76
UD
48556 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48557
d73f93a4
AZ
485582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48559
48560 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48561 size is not set.
48562 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48563
6ee65ed6
UD
485642012-01-27 Ulrich Drepper <drepper@gmail.com>
48565
48566 [BZ #13618]
48567 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48568 relocation.
48569 * Makeconfig (libm): Define.
48570 * elf/Makefile: Add rules to build and run tst-relsort1.
48571 * elf/tst-relsort1.c: New file.
48572 * elf/tst-relsort1mod1.c: New file.
48573 * elf/tst-relsort1mod2.c: New file.
48574
8db21882
JM
485752012-01-27 Joseph Myers <joseph@codesourcery.com>
48576
48577 * math/s_ldexp.c: Remove __STDC__ conditionals.
48578 * math/s_ldexpf.c: Likewise.
48579 * math/s_ldexpl.c: Likewise.
48580 * math/s_nextafter.c: Likewise.
48581 * math/s_nexttowardf.c: Likewise.
48582 * math/s_significand.c: Likewise.
48583 * math/s_significandf.c: Likewise.
48584 * math/s_significandl.c: Likewise.
48585 * math/w_jnl.c: Likewise.
48586 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48587 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48588 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48589 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48590 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48605 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48606 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48607 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48608 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48609 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48610 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48611 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48612 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48613 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48614 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48616 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48617 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48620 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48622 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48623 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48624 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48625 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48626 * sysdeps/ieee754/k_standard.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48671 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48675 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48676 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48679 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48682 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48684 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48685 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48687 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48688 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48692 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48693 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48695 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48697 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48698 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48701 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48702 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48703 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48705 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48706 * sysdeps/ieee754/s_matherr.c: Likewise.
48707 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48708 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48709 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48710 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48711
965a54a4
JM
487122012-01-26 Joseph Myers <joseph@codesourcery.com>
48713
48714 * crypt/md5.h: Remove __STDC__ conditionals.
48715 * libio/libioP.h: Likewise.
48716 * locale/programs/config.h: Likewise.
48717 * sysdeps/generic/sysdep.h: Likewise.
48718 * sysdeps/i386/asm-syntax.h: Likewise.
48719 * sysdeps/s390/asm-syntax.h: Likewise.
48720 * sysdeps/unix/sysdep.h: Likewise.
48721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48723
7071ad79
JM
487242012-01-26 Joseph Myers <joseph@codesourcery.com>
48725
48726 * libio/libio.h: Remove __STDC__ conditionals.
48727 * malloc/obstack.h: Likewise.
48728 * math/complex.h: Likewise.
48729 * math/math.h: Likewise.
48730 * sysdeps/generic/_G_config.h: Likewise.
48731 * sysdeps/gnu/_G_config.h: Likewise.
48732 * sysdeps/mach/hurd/_G_config.h: Likewise.
48733 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48734 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48735 * sysdeps/sparc/bits/mathdef.h: Likewise.
48736
afc5ed09
UD
487372012-01-26 Ulrich Drepper <drepper@gmail.com>
48738
48739 [BZ #13583]
48740 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48741 Clean up HAS_* macros.
afc5ed09 48742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48743 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48744 possible.
48745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48746 HAS_AVX.
48747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48748 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48749 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48752
bdb6de1d
JM
487532012-01-25 Joseph Myers <joseph@codesourcery.com>
48754
48755 * elf/tst-unique3.cc (gets): Remove declaration.
48756 * elf/tst-unique3lib.cc (gets): Likewise.
48757 * elf/tst-unique3lib2.cc (gets): Likewise.
48758 * elf/tst-unique4.cc (gets): Likewise.
48759
b15549e6
UD
487602012-01-24 Ulrich Drepper <drepper@gmail.com>
48761
48762 * include/stdio.h: Add C++ protection. Add gets declarations and
48763 definitions.
48764 * debug/tst-chk1.c: Don't declare gets here.
48765 * stdio-common/tst-gets.c: Likewise.
48766
a037381f
JM
487672012-01-24 Joseph Myers <joseph@codesourcery.com>
48768
48769 * posix/glob: Remove directory.
48770
f1d4aa75
JM
487712012-01-24 Joseph Myers <joseph@codesourcery.com>
48772
48773 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48774
81c0c964
PT
487752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48776
48777 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48778 of the non-standard EPFNOSUPPORT.
48779
0ea698ae
ST
487802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48781
48782 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48783 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48784 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48785
d220b117
UD
487862012-01-21 Ulrich Drepper <drepper@gmail.com>
48787
48788 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48789
3e1aa84e
UD
487902012-01-20 Ulrich Drepper <drepper@gmail.com>
48791
48792 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48793 transient errors.
48794 * nscd/grpcache.c (cache_addgr): Likewise.
48795 * nscd/hstcache.c (cache_addhst): Likewise.
48796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48797 * nscd/pwdcache.c (cache_addpw): Likewise.
48798 * nscd/servicescache.c (cache_addserv): Likewise.
48799
400aa020
UD
488002012-01-16 Ulrich Drepper <drepper@gmail.com>
48801
d77e7869
UD
48802 * malloc/malloc.c: Various cleanups.
48803 * malloc/hooks.c: Likewise.
48804
400aa020
UD
48805 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48806 * stdlib/bug-fmtmsg1.c: New file.
48807
48808 * stdlib/fmtmsg.c (init): Add missing unlock.
48809 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48810
e0a309cf
MP
488112012-01-12 Marek Polacek <polacek@redhat.com>
48812
48813 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48814 and _GNU_SOURCE.
48815
929d11c7
WS
488162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48817
48818 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48819 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48820 macro to ensure uniqueness of label name.
48821 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48822 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48823
41d0e869
UD
488242012-01-11 Ulrich Drepper <drepper@gmail.com>
48825
0cc5ed3b
UD
48826 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48827
41d0e869
UD
48828 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48829 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48830 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48832
a47a831a
UD
488332012-01-10 Ulrich Drepper <drepper@gmail.com>
48834
daa891c0
UD
48835 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48836
48837 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48838 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48839 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48840
e58ef0f2
UD
48841 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48842
a47a831a 48843 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48844 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48845 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48847
48848 * math/bits/math-finite.h: Add ldexp support.
48849
a0bfc9c7
MP
488502012-01-10 Marek Polacek <polacek@redhat.com>
48851
48852 * locale/programs/localedef.h (show_archive_content): Add noreturn
48853 attribute.
48854
d6e97a1d
UD
488552012-01-09 Ulrich Drepper <drepper@gmail.com>
48856
48857 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48858
d5835c26
UD
488592012-01-08 Ulrich Drepper <drepper@gmail.com>
48860
e5f484c6
UD
48861 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48862
d5835c26
UD
48863 * io/Makefile (headers): Add bits/poll2.h.
48864
d1f741e9
WS
488652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48866
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48868 typo #include statement.
48869
ec09c1c4
UD
488702012-01-08 Ulrich Drepper <drepper@gmail.com>
48871
48872 * include/sys/cdefs.h: Define __attribute_alloc_size.
48873 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48874 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48875 * elf/pldd.c: Likewise.
48876 * iconv/iconv_charmap.c: Likewise.
48877 * iconv/iconvconfig.c: Likewise.
48878 * iconv/strtab.c: Likewise.
48879 * locale/programs/locale.c: Likewise.
48880 * locale/programs/localedef.h: Likewise.
48881 * locale/programs/simple-hash.c: Likewise.
48882 * nscd/nscd.h: Likewise.
48883 * nss/makedb.c: Likewise.
48884 * sysdeps/generic/ldconfig.h: Likewise.
48885 * locale/programs/localedef.c: Remove xmalloc prototype.
48886 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48887
20b38e03
PP
488882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48889
48890 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48891 appropriate.
48892
a0da5fe1
UD
488932012-01-08 Ulrich Drepper <drepper@gmail.com>
48894
1d5a644a 48895 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48896 * math/tst-CMPLX.c: New file.
1d5a644a 48897
8784a6db
UD
48898 * math/complex.h (CMPLXL): Fix typo.
48899
d9a216c0
UD
48900 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48901 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48902 GLIBC_2.16.
48903 * debug/tst-chk1.c: Add poll and ppoll tests.
48904 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48905 * include/sys/poll.h: Add hidden proto for ppoll.
48906 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48907 * sysdeps/mach/hurd/ppoll.c: Likewise.
48908 * io/ppoll.c: Likewise.
48909 * debug/poll_chk.c: New file.
48910 * debug/ppoll_chk.c: New file.
48911 * include/bits/poll2.h: New file.
48912 * io/bits/poll2.h: New file.
48913
ac097f5c
UD
48914 [BZ #1350]
48915 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48916
2119dcfa
UD
48917 * configure.in: static is always set to yes. Remove.
48918 * config.make.in: Don't set build-static.
48919 * Makeconfig: Remove use of build-static.
48920 * dlfcn/Makefile: Likewise.
48921 * elf/Makefile: Likewise.
48922 * math/Makefile: Likewise.
48923 * misc/Makefile: Likewise.
48924 * nptl/Makefile: Likewise.
48925 * sysdeps/mach/hurd/Makefile: Likewise.
48926
121766a9
UD
48927 * configure.in: PWD_P is not used anymore.
48928 * config.make.in: Remove PWD_P entry.
48929
51a1d39c 48930 * configure.in: Remove last remnants of RANLIB.
8720d066 48931 No need to check for signed size_t anymore.
215f4bdc
UD
48932 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48933 and IA-64.
3857022a 48934 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48935 * aclocal.m4: Likewise.
48936
d3ed7225
UD
48937 * wcsmbs/mbrtoc16.c: Implement using towc function.
48938 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48939 * wcsmbs/wcsmbsload.c: Likewise.
48940 * iconv/gconv_simple.c: Likewise.
48941 * iconv/gconv_int.h: Likewise.
48942 * iconv/gconv_builtin.h: Likewise.
48943 * iconv/iconv_prog.c: Remove CHAR16 handling.
48944
48945 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48946
48947 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48948
a0da5fe1
UD
48949 * configure.in: Remove --with-elf and --enable-bounded options.
48950 Dont set base_machine for ia64. More non-ELF conditions removed.
48951 Remove testing and setting of leading underscore information.
48952 * config.make.in (build-bounded): Set to no.
48953 * config.h.in: Remove NO_UNDERSCORES entry.
48954 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48955 them.
48956 * csu/start.c: Remove !NO_UNDERSCORE code.
48957 * locale/localeinfo.h: Likewise.
48958 * sysdeps/generic/machine-gmon.h: Likewise.
48959 * sysdeps/generic/sysdep.h: Likewise.
48960 * sysdeps/i386/sysdep.h: Likewise.
48961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48962 * sysdeps/mach/sysdep.h: Likewise.
48963 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48964 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48965 * sysdeps/sh/sysdep.h: Likewise.
48966 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48967 * sysdeps/unix/i386/sysdep.S: Likewise.
48968 * sysdeps/unix/sparc/start.c: Likewise.
48969 * sysdeps/unix/sparc/sysdep.S: Likewise.
48970 * sysdeps/unix/sparc/sysdep.h: Likewise.
48971 * sysdeps/unix/start.c: Likewise.
48972 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48973 * sysdeps/x86_64/sysdep.h: Likewise.
48974
df78418a
UD
489752012-01-07 Ulrich Drepper <drepper@gmail.com>
48976
a784e502
UD
48977 [BZ #13553]
48978 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48979 for non-gcc.
48980 * argp/argp-fmtstream.h: Use const instead __const.
48981 * argp/argp.h: Likewise.
48982 * assert/assert.h: Likewise.
48983 * bits/fenv.h: Likewise.
48984 * bits/sched.h: Likewise.
48985 * bits/sigset.h: Likewise.
48986 * bits/sigthread.h: Likewise.
48987 * catgets/nl_types.h: Likewise.
48988 * conform/data/pthread.h-data: Likewise.
48989 * crypt/crypt-private.h: Likewise.
48990 * crypt/crypt.h: Likewise.
48991 * crypt/crypt_util.c: Likewise.
48992 * ctype/ctype.h: Likewise.
48993 * debug/execinfo.h: Likewise.
48994 * debug/mbsnrtowcs_chk.c: Likewise.
48995 * debug/mbsrtowcs_chk.c: Likewise.
48996 * debug/wcsnrtombs_chk.c: Likewise.
48997 * debug/wcsrtombs_chk.c: Likewise.
48998 * debug/wcstombs_chk.c: Likewise.
48999 * dirent/dirent.h: Likewise.
49000 * dlfcn/dlfcn.h: Likewise.
49001 * elf/neededtest4.c: Likewise.
49002 * grp/grp.h: Likewise.
49003 * gshadow/gshadow.h: Likewise.
49004 * iconv/gconv.h: Likewise.
49005 * iconv/gconv_int.h: Likewise.
49006 * iconv/gconv_simple.c: Likewise.
49007 * iconv/iconv.h: Likewise.
49008 * iconv/loop.c: Likewise.
49009 * iconv/skeleton.c: Likewise.
49010 * include/aio.h: Likewise.
49011 * include/aliases.h: Likewise.
49012 * include/argz.h: Likewise.
49013 * include/arpa/inet.h: Likewise.
49014 * include/assert.h: Likewise.
49015 * include/dirent.h: Likewise.
49016 * include/dlfcn.h: Likewise.
49017 * include/execinfo.h: Likewise.
49018 * include/fcntl.h: Likewise.
49019 * include/fenv.h: Likewise.
49020 * include/glob.h: Likewise.
49021 * include/grp.h: Likewise.
49022 * include/libintl.h: Likewise.
49023 * include/mntent.h: Likewise.
49024 * include/netdb.h: Likewise.
49025 * include/pwd.h: Likewise.
49026 * include/rpc/netdb.h: Likewise.
49027 * include/sched.h: Likewise.
49028 * include/search.h: Likewise.
49029 * include/shadow.h: Likewise.
49030 * include/signal.h: Likewise.
49031 * include/stdio.h: Likewise.
49032 * include/stdlib.h: Likewise.
49033 * include/string.h: Likewise.
49034 * include/sys/socket.h: Likewise.
49035 * include/sys/stat.h: Likewise.
49036 * include/sys/statfs.h: Likewise.
49037 * include/sys/statvfs.h: Likewise.
49038 * include/sys/syslog.h: Likewise.
49039 * include/sys/time.h: Likewise.
49040 * include/sys/uio.h: Likewise.
49041 * include/time.h: Likewise.
49042 * include/unistd.h: Likewise.
49043 * include/utmp.h: Likewise.
49044 * include/wchar.h: Likewise.
49045 * include/wctype.h: Likewise.
49046 * inet/aliases.h: Likewise.
49047 * inet/arpa/inet.h: Likewise.
49048 * inet/netinet/ether.h: Likewise.
49049 * inet/netinet/in.h: Likewise.
49050 * intl/libintl.h: Likewise.
49051 * io/bits/fcntl2.h: Likewise.
49052 * io/fcntl.h: Likewise.
49053 * io/ftw.h: Likewise.
49054 * io/sys/poll.h: Likewise.
49055 * io/sys/stat.h: Likewise.
49056 * io/sys/statfs.h: Likewise.
49057 * io/sys/statvfs.h: Likewise.
49058 * io/utime.h: Likewise.
49059 * libio/bits/stdio.h: Likewise.
49060 * libio/bits/stdio2.h: Likewise.
49061 * libio/libio.h: Likewise.
49062 * libio/libioP.h: Likewise.
49063 * libio/stdio.h: Likewise.
49064 * locale/lc-ctype.c: Likewise.
49065 * locale/locale.h: Likewise.
49066 * login/utmp.h: Likewise.
49067 * malloc/arena.c: Likewise.
49068 * malloc/malloc.c: Likewise.
49069 * malloc/malloc.h: Likewise.
49070 * malloc/mcheck.c: Likewise.
49071 * malloc/mtrace.c: Likewise.
49072 * math/bits/mathcalls.h: Likewise.
49073 * math/fenv.h: Likewise.
49074 * math/math_private.h: Likewise.
49075 * misc/bits/error.h: Likewise.
49076 * misc/bits/syslog.h: Likewise.
49077 * misc/err.h: Likewise.
49078 * misc/error.h: Likewise.
49079 * misc/fstab.h: Likewise.
49080 * misc/mntent.h: Likewise.
49081 * misc/regexp.h: Likewise.
49082 * misc/search.h: Likewise.
49083 * misc/sgtty.h: Likewise.
49084 * misc/sys/mman.h: Likewise.
49085 * misc/sys/syslog.h: Likewise.
49086 * misc/sys/uio.h: Likewise.
49087 * misc/sys/xattr.h: Likewise.
49088 * misc/ttyent.h: Likewise.
49089 * nis/rpcsvc/ypclnt.h: Likewise.
49090 * nss/nss.h: Likewise.
49091 * posix/bits/unistd.h: Likewise.
49092 * posix/fnmatch.h: Likewise.
49093 * posix/glob.h: Likewise.
49094 * posix/sched.h: Likewise.
49095 * posix/spawn.h: Likewise.
49096 * posix/sys/wait.h: Likewise.
49097 * posix/unistd.h: Likewise.
49098 * posix/wordexp.h: Likewise.
49099 * pwd/pwd.h: Likewise.
49100 * resolv/netdb.h: Likewise.
49101 * resource/sys/resource.h: Likewise.
49102 * rt/aio.h: Likewise.
49103 * rt/bits/mqueue2.h: Likewise.
49104 * rt/mqueue.h: Likewise.
49105 * shadow/shadow.h: Likewise.
49106 * signal/signal.h: Likewise.
49107 * socket/send.c: Likewise.
49108 * socket/sendto.c: Likewise.
49109 * socket/sys/socket.h: Likewise.
49110 * stdio-common/printf.h: Likewise.
49111 * stdlib/bits/stdlib.h: Likewise.
49112 * stdlib/fmtmsg.h: Likewise.
49113 * stdlib/monetary.h: Likewise.
49114 * stdlib/stdlib.h: Likewise.
49115 * stdlib/ucontext.h: Likewise.
49116 * streams/stropts.h: Likewise.
49117 * string/argz.h: Likewise.
49118 * string/bits/string2.h: Likewise.
49119 * string/string.h: Likewise.
49120 * string/strings.h: Likewise.
49121 * sunrpc/rpc/auth.h: Likewise.
49122 * sunrpc/rpc/auth_des.h: Likewise.
49123 * sunrpc/rpc/clnt.h: Likewise.
49124 * sunrpc/rpc/netdb.h: Likewise.
49125 * sunrpc/rpc/pmap_clnt.h: Likewise.
49126 * sunrpc/rpc/xdr.h: Likewise.
49127 * sysdeps/generic/inttypes.h: Likewise.
49128 * sysdeps/generic/net/if.h: Likewise.
49129 * sysdeps/generic/sys/swap.h: Likewise.
49130 * sysdeps/gnu/net/if.h: Likewise.
49131 * sysdeps/gnu/utmpx.h: Likewise.
49132 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49133 * sysdeps/i386/i486/bits/string.h: Likewise.
49134 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49135 * sysdeps/s390/bits/string.h: Likewise.
49136 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49137 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49138 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49139 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49140 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49141 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49142 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49143 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49144 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49145 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49146 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49147 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49148 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49149 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49150 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49151 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49152 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49154 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49156 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49157 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49158 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49159 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49160 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49161 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49162 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49163 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49164 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49165 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49166 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49167 * sysvipc/sys/ipc.h: Likewise.
49168 * sysvipc/sys/msg.h: Likewise.
49169 * sysvipc/sys/sem.h: Likewise.
49170 * sysvipc/sys/shm.h: Likewise.
49171 * termios/termios.h: Likewise.
49172 * time/sys/time.h: Likewise.
49173 * time/time.h: Likewise.
49174 * wcsmbs/bits/wchar2.h: Likewise.
49175 * wcsmbs/uchar.h: Likewise.
49176 * wcsmbs/wchar.h: Likewise.
49177 * wctype/wctype.h: Likewise.
49178
0269750c
UD
49179 [BZ #13551]
49180 * Makeconfig: Remove all but ELF support including AIX support.
49181 * Makerules: Likewise.
49182 * config.h.in: Likewise.
49183 * config.make.in: Likewise.
49184 * configure: Likewise.
49185 * configure.in: Likewise.
49186 * csu/Makefile: Likewise.
49187 * csu/version.c: Likewise.
49188 * debug/Makefile: Likewise.
49189 * dlfcn/Makefile: Likewise.
49190 * elf/Makefile: Likewise.
49191 * extra-lib.mk: Likewise.
49192 * iconv/Makefile: Likewise.
49193 * include/libc-symbols.h: Likewise.
49194 * include/shlib-compat.h: Likewise.
49195 * resolv/Makefile: Likewise.
49196 * resolv/res_libc.c: Likewise.
49197 * rt/Makefile: Likewise.
49198 * sysdeps/i386/asm-syntax.h: Likewise.
49199 * sysdeps/i386/sysdep.h: Likewise.
49200 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49201 * sysdeps/mach/sysdep.h: Likewise.
49202 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49203 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49204 * sysdeps/s390/asm-syntax.h: Likewise.
49205 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49206 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49207 * sysdeps/sh/sysdep.h: Likewise.
49208 * sysdeps/unix/sparc/sysdep.h: Likewise.
49209 * sysdeps/wordsize-32/divdi3.c: Likewise.
49210 * sysdeps/x86_64/sysdep.h: Likewise.
49211
00bbd29b
UD
49212 * argp/Versions: Remove _argp_unlock_xxx.
49213
49214 [BZ #13559]
49215 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49216 * abilist/libBrokenLocale.abilist: Likewise.
49217 * abilist/libanl.abilist: Likewise.
49218 * abilist/libc.abilist: Likewise.
49219 * abilist/libcrypt.abilist: Likewise.
49220 * abilist/libdl.abilist: Likewise.
49221 * abilist/libm.abilist: Likewise.
49222 * abilist/libnsl.abilist: Likewise.
49223 * abilist/libpthread.abilist: Likewise.
49224 * abilist/libresolv.abilist: Likewise.
49225 * abilist/librt.abilist: Likewise.
49226 * abilist/libthread_db.abilist: Likewise.
49227 * abilist/libutil.abilist: Likewise.
49228 * abilist/libnss_db.abilist: New file.
49229
49230 * scripts/abilist.awk: Add support for indirect functions.
49231
a2693a0e
UD
49232 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49233
3f05895f
UD
49234 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49235
ecb6fb48
UD
49236 * shlib-versions: Remove entries for ports architectures.
49237
664f8cb9
UD
49238 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49239 files in ports.
49240 * elf/stackguard-macros.h: Remove support for IA-64.
49241 * elf/tst-auditmod1.c: Likewise.
49242 * sysdeps/generic/ldsodefs.h: Likewise.
49243
7ae81d88
UD
49244 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49245 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49246 configure files.
49247
bdeba135
UD
49248 [BZ #13552]
49249 * configure.in: Remove --enable-omitfp support.
49250 * FAQ.in: Adjust.
49251 * config.make.in: Likewise.
49252 * Makeconfig: Likewise.
49253 * manual/install.texi: Likewise.
49254
d75a0a62
UD
49255 In case anyone cares, the IA-64 architecture could move to ports.
49256 * sysdeps/ia64/*: Removed.
49257 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49258 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49259
dcc9756b
UD
49260 [BZ #13555]
49261 * configure.in: Remove entries for unsupported architectures.
49262
d3761ebc 49263 [BZ #13533]
9954432e
UD
49264 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49265 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49266 routines.
49267 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49268 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49269 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49270 fall back to using wcrtomb.
49271 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49272 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49273 renaming.
49274 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49275 * wcsmbs/tst-c16c32-1.c: New file.
49276
49277 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49278 local variable.
49279
c3a87236
UD
49280 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49281
28926a1b
UD
49282 * elf/tst-unique3.cc: Add explicit declaration of gets.
49283 * elf/tst-unique3lib.cc: Likewise.
49284 * elf/tst-unique3lib2.cc: Likewise.
49285 * elf/tst-unique4.cc: Likewise.
49286
df78418a
UD
49287 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49288
8ecd6b2a
JM
492892012-01-06 Joseph Myers <joseph@codesourcery.com>
49290
49291 [BZ #13566]
49292 * assert/assert.h (static_assert): Don't define for C++.
49293 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49294 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49295
9f115170
UD
492962012-01-03 Ulrich Drepper <drepper@gmail.com>
49297
5e0d0300
UD
49298 * iconv/loop.c (single loop): Fix assertion in storing of
49299 remaining bytes.
49300
9f115170
UD
49301 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49302
81fb02b0
UD
493032012-01-01 Ulrich Drepper <drepper@gmail.com>
49304
49305 * posix/getconf.c: Update copyright year.
49306 * nss/getent.c: Likewise.
a316c1f6 49307 * nss/makedb.c: Likewise.
81fb02b0
UD
49308 * iconv/iconvconfig.c: Likewise.
49309 * iconv/iconv_prog.c: Likewise.
49310 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49311 * elf/pldd.c: Likewise.
49312 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49313 * catgets/gencat.c: Likewise.
49314 * csu/version.c: Likewise.
49315 * elf/ldd.bash.in: Likewise.
49316 * elf/sprof.c (print_version): Likewise.
49317 * locale/programs/locale.c: Likewise.
49318 * locale/programs/localedef.c: Likewise.
a316c1f6 49319 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49320 * nscd/nscd.c (print_version): Likewise.
49321 * debug/xtrace.sh: Likewise.
49322 * malloc/memusage.sh: Likewise.
49323 * malloc/mtrace.pl: Likewise.
49324 * debug/catchsegv.sh: Likewise.
49325
2ba92745
JJ
493262011-12-30 Jakub Jelinek <jakub@redhat.com>
49327
49328 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49329 pure attribute.
49330
dadebdae
UD
493312011-12-24 Ulrich Drepper <drepper@gmail.com>
49332
d3761ebc 49333 [BZ #13533]
db6af3eb
UD
49334 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49335 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49336 transformations.
49337 * iconv/gconv_int.h: Likewise.
49338 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49339 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49340 from libc for GLIBC_2.16.
49341 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49342 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49343 * wcsmbs/uchar.h: Really define mbstate_t.
49344 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49345 * wcsmbs/c16rtomb.c: New file.
49346 * wcsmbs/mbrtoc16.c: New file.
49347 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49348 for C/POSIX locale.
49349 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49350 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49351
dadebdae
UD
49352 * wcsmbs/wchar.h: Add missing __restrict.
49353
67371b56
UD
493542011-12-23 Ulrich Drepper <drepper@gmail.com>
49355
74033a25
UD
49356 [BZ #13532]
49357 * time/Makefile (routines): Add timespec_get.
49358 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49359 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49360 timespec for ISO C11.
49361 * time/timespec_get.c: New file.
49362 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49363 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49364
380d7e87
UD
49365 [BZ #13531]
49366 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49367 * stdlib/stdlib.h: Declare aligned_alloc.
49368 * Versions.def: Add GLIBC_2.16 for libc.
49369 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49370
4e9e7a35
UD
49371 [BZ 13527]
49372 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49373 ISO C11.
49374
380d7e87 49375 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49376 code.
49377
03a71829
UD
49378 [BZ #13528]
49379 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49380
839e283e
UD
49381 [BZ #13529]
49382 * assert/assert.h (static_assert): Define.
49383
ce5294e2 49384 * version.h: Update for 2.16 development version.
90fa7312 49385
8d44e150 49386 [BZ #13526]
d7809905
UD
49387 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49388 _ISOC11_SOURCE.
49389
c0da14cd
UD
49390 * version.h (RELEASE): Bump for 2.15 release.
49391 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49392
530a3249
MP
49393 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49394 Patch by Marek Polacek <mpolacek@redhat.com>.
49395
67371b56
UD
49396 * bits/byteswap.h: Protect long long constants with __extension__.
49397 * sysdeps/i386/bits/byteswap.h: Likewise.
49398 * sysdeps/ia64/bits/byteswap.h: Likewise.
49399 * sysdeps/s390/bits/byteswap.h: Likewise.
49400 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49401
15db4de1
LD
494022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49403
49404 [BZ #13540]
bbe315ea
LD
49405 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49406 destination buffer.
15db4de1
LD
49407 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49408
2b2596b1
MP
494092011-12-23 Marek Polacek <polacek@redhat.com>
49410
49411 * elf/dl-addr.c (determine_info): Add inline keyword.
49412 * elf/tst-auditmod4b.c (check_avx): Likewise.
49413 * elf/tst-auditmod6b.c (check_avx): Likewise.
49414 * elf/tst-auditmod6c.c (check_avx): Likewise.
49415 * elf/tst-auditmod7b.c (check_avx): Likewise.
49416
70c6c246
UD
494172011-12-23 Ulrich Drepper <drepper@gmail.com>
49418
49419 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49420 !__SSE_MATH__.
49421
c044cf14
LD
494222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49423
15db4de1 49424 [BZ #13540]
c044cf14
LD
49425 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49426 processing for last bytes.
49427
6b13d9d9
BH
494282011-08-06 Bruno Haible <bruno@clisp.org>
49429
d455f537
BH
49430 [BZ #13061]
49431 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49432 U+0385, not to U+1FEE.
49433
6b13d9d9
BH
49434 [BZ #13062]
49435 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49436 entry for U+00A5 U+0301.
49437
db910efd
UD
494382011-12-22 Ulrich Drepper <drepper@gmail.com>
49439
27deeafc
UD
49440 [BZ #13166]
49441 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49442 buffer for the output is too small.
49443
aed9d171
UD
49444 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49445 optimization.
49446
db910efd
UD
49447 [BZ #13185]
49448 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49449 SSE flags if possible.
49450
2bd779ae
LD
494512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49452
e7f9dac3 49453 [BZ #13540]
2bd779ae
LD
49454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49455 processing for last bytes.
49456
154bfc16
JM
494572011-12-22 Joseph Myers <joseph@codesourcery.com>
49458
49459 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49460 (syscall-list-default-options, syscall-list-default-condition)
49461 (syscall-list-includes): Define.
49462 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49463 list of ABIs and options and #if conditions for each ABI. Do not
49464 handle common syscalls between ABIs specially.
49465 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49466 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/s390/Makefile (64bit-predefine): Remove.
49471 (syscall-list-variants, syscall-list-32bit-options)
49472 (syscall-list-32bit-condition, syscall-list-64bit-options)
49473 (syscall-list-64bit-condition): Define.
49474 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49475 Remove.
49476 (syscall-list-variants, syscall-list-32bit-options)
49477 (syscall-list-32bit-condition, syscall-list-64bit-options)
49478 (syscall-list-64bit-condition): Define.
49479 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49480 Remove.
49481 (syscall-list-variants, syscall-list-32bit-options)
49482 (syscall-list-32bit-condition, syscall-list-64bit-options)
49483 (syscall-list-64bit-condition): Define.
49484
21eaf3a5
UD
494852011-12-22 Ulrich Drepper <drepper@gmail.com>
49486
16c6f992
UD
49487 * locale/iso-639.def: Add brx entry.
49488
41043168
UD
49489 [BZ #13328]
49490 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49491 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49492
21eaf3a5
UD
49493 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49494 __feraiseexcept_renamed.
49495
e3a851a2
UD
494962011-12-21 Ulrich Drepper <drepper@gmail.com>
49497
4920765e
UD
49498 [BZ #13538]
49499 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49500 EPOLLET with unsigned values.
49501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49503
e3a851a2
UD
49504 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49505 to large cancellation.
49506 * math/s_cacoshf.c: Likewise.
49507 * math/s_cacoshl.c: Likewise.
49508
b27e24b8
RK
495092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49510
49511 [BZ #13305]
aebefeee 49512 [BZ #12786]
b27e24b8
RK
49513 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49514 * math/s_cacoshf.c: Likewise.
49515 * math/s_cacoshl.c: Likewise.
49516
ee190f67
UD
495172011-12-21 Ulrich Drepper <drepper@gmail.com>
49518
49519 [BZ #13439]
49520 * iconv/gconv.h: Define __GCONV_SWAP.
49521 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49522 * iconvdata/utf-16.c: Likewise.
49523 * iconvdata/utf-32.c: Likewise.
49524
707f25df
AS
495252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49526
49527 [BZ #13524]
49528 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49529 numerator after shifting it by one limb.
49530
d2daaa1e
RÁE
495312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49532
49533 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49534 under [__USE_EXTERN_INLINES].
49535
a4647e72
UD
495362011-12-17 Ulrich Drepper <drepper@gmail.com>
49537
49538 [BZ #13446]
49539 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49540
f0b264f1
AZ
495412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49542
49543 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49544 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49545 optimized code.
49546 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49547 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49548 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49549 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49550 for strncasecmp/strncasecmp_l compilation.
49551 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49552 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49553
8ef4f244
MP
495542011-12-08 Marek Polacek <mpolacek@redhat.com>
49555
49556 [BZ #13484]
49557 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49558 of __asm__.
49559
97ac2654
UD
495602011-12-17 Ulrich Drepper <drepper@gmail.com>
49561
49562 [BZ #13506]
49563 * time/tzfile.c (__tzfile_read): Check values from file header.
49564
91d2a845
WS
495652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49566
49567 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49568 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49569 * powerpc/powerpc32/dl-start.S: Likewise.
49570 * powerpc/powerpc32/elf/start.S: Likewise.
49571 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49572 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49573 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49574 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49575 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49576 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49577 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49578 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49579 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49580 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49581 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49582 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49583 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49584 * powerpc/powerpc32/memset.S: Likewise.
49585 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49586 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49587 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49588 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49589 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49590 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49591 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49592 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49593 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49594 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49595 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49596 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49597 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49598
a1267ba1
AZ
495992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49600
49601 * math/libm-test.inc: Added more nearbyint tests.
49602 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49606
ad8ac1bd
RL
496072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49608
49609 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49610 FD_CLOEXEC.
49611
1d3e4b61
UD
496122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49613
49614 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49615 Add wcscpy-ssse3 wcscpy-c.
49616 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49617 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49618 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49619 * sysdeps/x86_64/wcschr.S: New file.
49620 * sysdeps/x86_64/wcsrchr.S: New file.
49621 * string/test-strcmp.c: Remove checking of wcscmp function for
49622 wrong alignments.
49623 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49624 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49625 wcsrchr-sse2 wcsrchr-c.
49626 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49627 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49628 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49629 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49630 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49631 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49632 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49633 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49634 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49635 * wcsmbc/wcschr.c (WCSCHR): New macro.
49636
5b330a2d
UD
496372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49638
49639 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49640 * wcsmbs/test-wcsrchr.c: New file.
49641 * string/test-strrchr.c: Add wcsrchr support.
49642 (WIDE): New macro.
49643 * wcsmbs/test-wcscpy.c: New file.
49644 * string/test-strcpy.c: Add wcscpy support.
49645 (WIDE): New macro.
26428b7c 49646
f039c043
UD
496472011-12-10 Ulrich Drepper <drepper@gmail.com>
49648
49649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49650 the inner loop.
49651
850fb039
AS
496522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49653
49654 [BZ #13472]
49655 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49656
4efbd5cb
UD
496572011-12-04 Ulrich Drepper <drepper@gmail.com>
49658
52ff5dd0 49659 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49660 Minor optimizations.
52ff5dd0 49661
4efbd5cb
UD
49662 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49663 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49664 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49665
8a426e12
UD
496662011-12-03 Ulrich Drepper <drepper@gmail.com>
49667
aff2453d
UD
49668 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49669 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49670 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49671 for gcc to avoid warnings.
49672 * inet/Makefile (tests): Add tst-checks.
49673 * inet/tst-checks.c: New file.
49674
49675 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49676 warning.
49677
49678 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49679 __wmemcmp_sse2.
49680
49681 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49682 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49683
8a426e12
UD
49684 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49685
9bea3473
UD
496862011-12-02 Ulrich Drepper <drepper@gmail.com>
49687
3a965496
UD
49688 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49689 problem.
49690
9bea3473
UD
49691 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49692
f101631b
UD
496932011-11-29 Joseph Myers <joseph@codesourcery.com>
49694
49695 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49696 conditional on GCC version.
49697 (__arch_compare_and_exchange_val_8_acq)
49698 (__arch_compare_and_exchange_val_16_acq)
49699 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49700 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49701 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49702
a98275aa
UD
497032011-12-02 Joseph Myers <joseph@codesourcery.com>
49704
49705 * sysdeps/sh/backtrace.c: New file.
49706
d4cc29a2
AS
497072011-12-02 Andreas Schwab <schwab@redhat.com>
49708
49709 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49710 parenthesis.
49711
6257af2d
AS
497122011-12-01 Andreas Schwab <schwab@redhat.com>
49713
49714 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49715 falling back to utime.
49716
b5f44c1a
AS
497172011-11-30 Andreas Schwab <schwab@redhat.com>
49718
49719 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49720 expectations for float.
49721
f3a6cc0a
AS
497222011-11-29 Andreas Schwab <schwab@redhat.com>
49723
49724 * locale/weight.h (findidx): Add parameter len.
49725 * locale/weightwc.h (findidx): Likewise.
49726 * posix/fnmatch_loop.c (FCT): Adjust caller.
49727 * posix/regcomp.c (build_equiv_class): Likewise.
49728 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49729 * posix/regexec.c (check_node_accept_bytes): Likewise.
49730 * string/strcoll_l.c (STRCOLL): Likewise.
49731 * string/strxfrm_l.c (STRXFRM): Likewise.
49732
9d65ea3a
UD
497332011-11-17 Ulrich Drepper <drepper@gmail.com>
49734
49735 * Makefile.in: Remove CVSOPT handling.
49736 * configure.in: Remove use of AC_REVISION.
49737 * iconvdata/Makefile (distribute): No need to filter out CVS.
49738 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49739 handling.
49740
5583a086
AS
497412011-11-16 Andreas Schwab <schwab@redhat.com>
49742
49743 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49744 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49745 [USE_AS_STRNCASECMP_L]: Likewise.
49746 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49747 NO_TLS_DIRECT_SEG_REFS.
49748 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49749 Fix argument offsets for non-PIC.
49750 [USE_AS_STRNCASECMP_L]: Likewise.
49751 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49752 NO_TLS_DIRECT_SEG_REFS.
49753
d62a8200
UD
497542011-11-15 Ulrich Drepper <drepper@gmail.com>
49755
9d65ea3a 49756 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49757 O_CLOEXEC.
49758 * locale/loadlocale.c (_nl_load_locale): Likewise.
49759
09f93bd3
AS
497602011-11-15 Andreas Schwab <schwab@redhat.com>
49761
446514f9
AS
49762 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49763 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49764 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49765 (SYSCALL_GETTIME): Set errno on error.
49766
09f93bd3
AS
49767 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49768 count references to noai6ai_cached.
49769
312be3f9
UD
497702011-11-15 Ulrich Drepper <drepper@gmail.com>
49771
49772 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49773
49774 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49775 FD_CLOEXEC for /proc/self/maps.
49776
49777 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49778 FD_CLOEXEC for /proc/meminfo.
49779
49780 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49781 gai.conf.
49782
49783 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49784 FD_CLOEXEC for given file.
49785
49786 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49787
49788 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49789 FD_CLOEXEC for /etc/hosts.
49790 (_gethtent): Likewise.
49791
49792 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49793
49794 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49795 cancellation and set FD_CLOEXEC for /etc/netgroup.
49796
49797 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49798 reading /etc/publickey.
49799
49800 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49801 allow cancellation when reading /etc/group.
49802
49803 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49804 cancellation.
49805 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49806
49807 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49808 when using data file.
49809
49810 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49811
49812 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49813 (write_nis_obj): Use "c" and "e" in fopen.
49814
49815 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49816
49817 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49818
49819 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49820
49821 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49822
49823 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49824 locale.alias.
49825
49826 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49827
49828 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49829
49830 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49831
49832 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49833 file parsing and set FD_CLOEXEC.
49834
82af0fa8
UD
498352011-11-14 Ulrich Drepper <drepper@gmail.com>
49836
49837 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49838
a5fb313c
AS
498392011-11-14 Andreas Schwab <schwab@redhat.com>
49840
49841 * malloc/arena.c (arena_get2): Don't call reused_arena when
49842 _int_new_arena failed.
49843
6abf3465
UD
498442011-11-14 Ulrich Drepper <drepper@gmail.com>
49845
49846 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49847 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49848 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49849 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49850 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49851 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49852 to compile strcasecmp and strncasecmp.
49853 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49854 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49855
49856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49857
76e3966e
UD
498582011-11-13 Ulrich Drepper <drepper@gmail.com>
49859
49860 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49861 locale-defines.sym to gen-as-const-headers.
49862 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49863 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49865 to compile strcasecmp and strncasecmp.
49866 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49867 strcasecmp_l and strncasecmp_l.
49868 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49869 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49870 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49871 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49872 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49873 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49874 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49875 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49876 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49877 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49878 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49879
ab26144e
UD
498802011-11-12 Ulrich Drepper <drepper@gmail.com>
49881
7edb22ef
UD
49882 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49883 result of SYSDEP_GETTIME_CPU to retval.
49884 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49885 parameter list to macro. Remove trailing semicolon. Adjust users.
49886
9694fc44
UD
49887 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49888 variable.
49889
8ad89ef8
UD
49890 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49891 mantissa words.
49892 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49893
0c822ef9
UD
49894 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49895 from unused variable.
49896
874e0564
UD
49897 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49898 DWARF definitions.
49899 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49900 for assembling.
49901
3a2edc79
UD
49902 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49903 over namespaces.
49904
f3c2577f
UD
49905 * sunrpc/rpc_prot.c (rejected): Fix case value.
49906
294ce126
UD
49907 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49908 unsigned long long int to avoid warnings in shift.
49909
5e2b63c6
UD
49910 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49911 of use of trans.
49912 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49913 variable tmp.
49914
e7f4b08e
UD
49915 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49916 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49917 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49918
ab26144e
UD
49919 * nis/nis_table.c (nis_list): Use variable of correct type for
49920 result of __follow_path call.
49921
8a6d5255
AZ
499222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49923
49924 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49925 of math functions ceil, trunc, floor, round, and sqrt, when
49926 avaliable on the platform.
49927 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49928 name clash.
49929 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49931 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49932
aaddc98c
MP
499332011-10-30 Marek Polacek <mpolacek@redhat.com>
49934
49935 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49936 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49937
95b7042b
RM
499382011-11-11 Roland McGrath <roland@hack.frob.com>
49939
49940 * include/unistd.h: Fix __readlink return type.
49941 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49942
57769839
UD
499432011-11-11 Ulrich Drepper <drepper@gmail.com>
49944
49945 * stdlib/ucontext.h: Undo last change for makecontext.
49946
edc5984d
AS
499472011-11-11 Andreas Schwab <schwab@redhat.com>
49948
98591e58
AS
49949 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49950
edc5984d
AS
49951 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49952 * setjmp/setjmp.h: Mark functions as non-leaf.
49953 * setjmp/bits/setjmp2.h: Likewise.
49954 * stdlib/ucontext.h: Likewise.
49955
77cdc054
AS
499562011-11-10 Andreas Schwab <schwab@redhat.com>
49957
49958 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49959 (reused_arena): Don't check arena limit.
49960 (arena_get2): Atomically check arena limit.
49961
fe72eebd
UD
499622011-11-08 Ulrich Drepper <drepper@gmail.com>
49963
5f078c32
UD
49964 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49965 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49966
fe72eebd
UD
49967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49968 instructions.
49969
ae1bc2fa
AS
499702011-11-07 Andreas Schwab <schwab@redhat.com>
49971
7583a88d
AS
49972 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49973 handler when locking.
49974
ae1bc2fa
AS
49975 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49976 Fix size of allocated buffer.
49977
10fb0bfa
AS
499782011-11-04 Andreas Schwab <schwab@redhat.com>
49979
998832a4
AS
49980 [BZ #10103]
49981 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49982 declarations for long double functions.
49983 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49984
10fb0bfa
AS
49985 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49986
3d7ba52b
AS
499872011-11-03 Andreas Schwab <schwab@redhat.com>
49988
a9ae54a1
AS
49989 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49990 installed.
49991
3d7ba52b
AS
49992 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49993 is disabled.
49994
bc8db248
ST
499952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49996
49997 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49998
45b96dd6
AS
499992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50000
647776f6
AS
50001 * include/alloca.h (stackinfo_alloca_round): Define.
50002 (extend_alloca): Use it.
50003 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50004 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50005 here.
50006
d91a8b93
AS
50007 * scripts/check-local-headers.sh: Ignore libaudit.h.
50008
45b96dd6
AS
50009 * nscd/Makefile (extra-objs): Make recursively expanded.
50010
432d41ce
UD
500112011-11-01 Ulrich Drepper <drepper@gmail.com>
50012
34372fc6
UD
50013 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50014 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50015
fadb59f8
UD
50016 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50017 * posix/tst-rfc3484-2.c: Likewise.
50018 * posix/tst-rfc3484-3.c: Likewise.
50019
78239589
UD
50020 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50021 process_vm_writev.
50022 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50023 process_vm_writev.
50024 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50025 process_vm_writev from libc using GLIBC_2.15 version.
50026
432d41ce
UD
50027 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50028
02f9c6cf
PP
500292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50030
50031 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50032 stack usage.
50033
3a2c0242
UD
500342011-10-31 Ulrich Drepper <drepper@gmail.com>
50035
f4ec4833
UD
50036 [BZ #13367]
50037 * nss/getent.c (initgroups_keys): Show error message in case no group
50038 names are given.
50039
3a2c0242
UD
50040 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50041 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50042 __bump_nl_timestamp.
50043 * nscd/connections (nscd_init): When host database is served open
50044 netlink socket and request notification about configuration changes.
50045 (main_loop_poll): Track netlink file descriptor and bump timestamp
50046 in case data becomes available.
50047 (main_loop_epoll): Likewise.
50048 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50049 (database_pers_head): Add extra_data fileds.
50050 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50051 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50052 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50053 Adjust caller.
50054 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50055 in6ai data, call __free_in6ai.
50056 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50057 Add -DHAVE_NETLINK.
50058 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50059 interface information. Reuse previous data if netlink timestamp
50060 is not changed.
50061 (__bump_nl_timestamp): New function.
50062 (__free_in6ai): New function.
50063
636064eb
UD
500642011-10-30 Ulrich Drepper <drepper@gmail.com>
50065
50066 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50067 close_not_cancel_no_status here.
50068 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50069
9beb2334
UD
500702011-10-29 Ulrich Drepper <drepper@gmail.com>
50071
6ef76f3b
UD
50072 [BZ #13276]
50073 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50074 return value.
50075
0ffc4f3e 50076 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50077 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50078 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50079
cb95113e
UD
500802011-07-03 Andreas Jaeger <aj@suse.de>
50081
50082 [BZ #10709]
50083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50084 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50085 * math/libm-test.inc (sin_test): Add test case.
50086
a1b560ff
UD
500872011-10-29 Ulrich Drepper <drepper@gmail.com>
50088
c9aaface
UD
50089 [BZ #13337]
50090 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50091 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50092
d272e7f1
UD
50093 * elf/chroot_canon.c (chroot_canon): Cleanups.
50094
1bc33071
UD
50095 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50096
1760874d
TJ
50097 [BZ #13335]
50098 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50099 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50100
51d91b18
UD
50101 * string/test-strchr.c: Make usable for strchrnul testing.
50102 * string/test-strchrnul.c: New file.
50103 * string/Makefile (strop-tests): Add strchrnul.
50104
a1b560ff 50105 * po/it.po: Update from translation team.
b611fb81 50106 * po/es.po: Likewise.
a1b560ff 50107
a5b81e1f
UD
501082011-10-28 Ulrich Drepper <drepper@gmail.com>
50109
fd52bc6d
UD
50110 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50111 the three constants needed as parameters. Drop the others.
50112 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50113 __m128i_strloadu_tolower.
52e4b9eb
UD
50114 Create and initialize variable zero and use it in all the places
50115 where _mm_setzero_si128 was used.
fd52bc6d 50116
a5b81e1f
UD
50117 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50118 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50119 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50120 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50121 anymore.
50122 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50123 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50124 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50125 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50126 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50127 __mpranred, __mptan.
50128 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50129 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50130 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50131 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50132 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50133 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50134 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50135 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50136 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50137
b4343346
AS
501382011-10-28 Andreas Schwab <schwab@redhat.com>
50139
0c92d8a8
AS
50140 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50141 redefine if SHARED.
50142 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50143
b4343346
AS
50144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50145 wide char related routines to wcsmbs subdir.
50146
3871f58f
AS
501472011-10-27 Andreas Schwab <schwab@redhat.com>
50148
50149 [BZ #13344]
50150 * misc/sys/cdefs.h (__THROWNL): Define.
50151 * posix/unistd.h: Use __THREADNL instead of __THREAD
50152 for memory synchronization functions.
50153
94d44d9f
RM
501542011-10-26 Roland McGrath <roland@hack.frob.com>
50155
21b64b15 50156 [BZ #13349]
94d44d9f
RM
50157 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50158 doesn't exist.
50159 * manual/stdio.texi (Obstack Streams): Node removed.
50160
f6ce9294
AS
501612011-10-26 Andreas Schwab <schwab@redhat.com>
50162
80479147
AS
50163 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50164 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50165 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50166
f6ce9294
AS
50167 * math/math_private.h (math_force_eval): Allow non-addressable
50168 arguments.
50169 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50170
618280a1
UD
501712011-10-25 Ulrich Drepper <drepper@gmail.com>
50172
e0016b11
UD
50173 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50174 file is not needed.
50175
50176 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50178 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50179 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50180 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50181 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50183 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50184 Add AVX variants.
50185 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50186 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50187 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50188 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50189 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50190 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50191 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50192 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50193 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50194 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50195 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50196 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50197 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50198 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50199 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50200 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50201 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50202 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50203 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50204
50205 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50206 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50207
618280a1
UD
50208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50209 place. Use VEX encoding when compiling for AVX.
50210
37822576
AS
502112011-10-25 Andreas Schwab <schwab@redhat.com>
50212
1f1e1947
AS
50213 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50214 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50215
37822576
AS
50216 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50217
31ea014d
UD
502182011-10-25 Ulrich Drepper <drepper@gmail.com>
50219
d7826aa1 50220 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50221 useless if() expression.
d7826aa1
UD
50222 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50223 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50224 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50225 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50227 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50228 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50230 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50231 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50232 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50233 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50236 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50237 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50238 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50239 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50240 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50241
31ea014d
UD
50242 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50243
16437fec
AS
502442011-10-25 Andreas Schwab <schwab@redhat.com>
50245
50246 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50247 condition.
50248 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50249
31d3cc00
UD
502502011-10-25 Ulrich Drepper <drepper@gmail.com>
50251
50252 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50253 .text section. Avoid duplicate constants.
50254 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50258 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50262 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50263 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50264 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50265 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50266 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50267 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50268 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50269 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50270 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50271 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50272 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50274 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50275 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50276 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50277 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50278 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50279 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50280 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50281 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50282 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50283 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50284 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50285 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50286 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50287 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50288 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50289 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50290 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50292 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50293 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50294 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50295 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50296 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50297 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50298 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50299
58985aa9
UD
503002011-10-24 Ulrich Drepper <drepper@gmail.com>
50301
202c9deb
UD
50302 * sysdeps/x86_64/dla.h: Move to ...
50303 * sysdeps/x86_64/fpu/dla.h: ...here.
50304 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50305 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50306
af968f62
UD
50307 * config.make.in: Add have-mfma4 entry.
50308 * configure.in: Substitute libc_cv_cc_fma4.
50309 * math/Makefile (dbl-only-routines): Add sincostab.
50310 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50311 Use __sincostab not sincos.
50312 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50313 name is a macro.
50314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50317 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50318 using __copysign.
50319 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50320 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50321 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50322 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50323 and __inv.
50324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50325 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50326 __copysign.
50327 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50328 define aliases when function name is a macro.
50329 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50330 sysdeps/ieee754/dbl-64/sincos.tbl.
50331 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50332 fma4-enabled routines.
50333 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50334 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50335 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50336 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50337 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50338 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50340 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50341 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50342 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50343 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50344 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50345 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50346 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50347 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50348 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50349 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50350 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50351 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50352 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50353 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50354 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50356 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50359 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50360 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50361 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50362 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50363
58985aa9
UD
50364 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50365 rename.
50366 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50374
a201fbcf
AS
503752011-10-24 Andreas Schwab <schwab@redhat.com>
50376
50377 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50378
fc2ee42a
LD
503792011-10-23 Ulrich Drepper <drepper@gmail.com>
50380
bb3129bd
UD
50381 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50382
0275fff8
UD
50383 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50384 prediction.
50385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50386
2fa2ae85
UD
50387 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50388 Remove unused variable magic_bits.
50389 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50390
fc2ee42a
LD
50391 * string/strnlen.c: Define and use STRNLEN macro.
50392 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50393 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50394 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50395 * wcsmbs/wcslen.c: Define and use WCSLEN.
50396 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50397 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50398 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50399 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50400 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50401 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50402 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50403
ce7dd29f
LD
504042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50405
50406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50407 strnlen-sse2-no-bsf.
50408 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50410 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50411 Add strnlen support.
50412 (USE_AS_STRNLEN): New macro.
50413 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50414 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50415 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50416 * sysdeps/x86_64/wcslen.S: New file.
50417
979c70a3
MZ
504182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50419
50420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50421 XMM-moves are used for copying on small sizes.
50422
2d09f82f
LD
504232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50424
50425 * wcsmbs/Makefile (strop-tests): Add wcschr.
50426 * wcsmbs/test-wcschr.c: New file.
50427 * string/test-strchr.c: Update.
50428 Add wcschr support.
50429 (WIDE): New macro.
50430
619fccca
LD
504312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50432
2d09f82f 50433 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50434 * wcsmbs/test-wcslen.c: New file.
50435 * string/test-strlen.c: Update.
50436 Add wcslen support.
50437 (WIDE): New macro.
50438
09f699ea
UD
504392011-10-23 Ulrich Drepper <drepper@gmail.com>
50440
50441 * po/it.po: Update from translation team.
50442
95584d3b
LD
504432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50444
50445 * sysdeps/x86_64/wcscmp.S: Update.
50446 Fix wrong comparison semantics.
50447 wcscmp shall use signed comparison not unsigned.
50448 Don't use substraction to avoid overflow bug.
50449 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50450 * wcsmbc/wcscmp.c: Likewise.
50451 * string/test-strcmp.c: Likewise.
50452 Add new tests to check cases with negative values.
50453
c8b3296b
UD
504542011-10-23 Ulrich Drepper <drepper@gmail.com>
50455
50456 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50457 * sysdeps/x86_64/dla.h: ...here. New file.
50458 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50467
246ad57a
AS
504682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50469
50470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50471 __ynl_finite aliases.
50472
a1a87169
UD
504732011-10-22 Ulrich Drepper <drepper@gmail.com>
50474
0d355eb7
UD
50475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50476
a1a87169
UD
50477 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50478 define DLA_FMA.
50479 [DLA_FMA] (EMULV): Use DLA_FMA.
50480 [DLA_FMA] (MUL12): Use EMULV.
50481 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50482 that are not needed.
50483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50490
ee2aafe0
AS
504912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50492
50493 * math/s_nan.c: Undef __nan.
50494 * math/s_nanf.c: Undef __nanf.
50495 * math/s_nanl.c: Undef __nanl.
50496 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50497 "math_private.h".
50498
bc62c2fb
UD
504992011-10-22 Ulrich Drepper <drepper@gmail.com>
50500
77425c63
UD
50501 * math/s_catan.c: Add branch predictions.
50502 * math/s_catanf.c: Likewise.
50503 * math/s_catanh.c: Likewise.
50504 * math/s_catanhf.c: Likewise.
50505 * math/s_catanhl.c: Likewise.
50506 * math/s_catanl.c: Likewise.
50507 * math/s_cexp.c: Likewise.
50508 * math/s_cexpf.c: Likewise.
50509 * math/s_cexpl.c: Likewise.
50510 * math/s_clog.c: Likewise.
50511 * math/s_clog10.c: Likewise.
50512 * math/s_clog10f.c: Likewise.
50513 * math/s_clog10l.c: Likewise.
50514 * math/s_clogf.c: Likewise.
50515 * math/s_clogl.c: Likewise.
50516 * math/s_csqrt.c: Likewise.
50517 * math/s_csqrtf.c: Likewise.
50518 * math/s_csqrtl.c: Likewise.
50519 * math/s_ctanf.c: Likewise.
50520 * math/s_ctanh.c: Likewise.
50521 * math/s_ctanhf.c: Likewise.
50522 * math/s_ctanhl.c: Likewise.
50523 * math/s_ctanl.c: Likewise.
50524
bc62c2fb
UD
50525 * math/math_private.h: Define __nan, __nanf, __nanl.
50526 * math/s_cacosh.c: Include <math_private.h>.
50527 * math/s_cacoshl.c: Likewise.
50528 * math/s_casinh.c: Likewise.
50529 * math/s_casinhf.c: Likewise.
50530 * math/s_casinhl.c: Likewise.
50531 * math/s_ccos.c: Rely entire on ccosh.
50532 * math/s_ccosf.c: Rely entire on ccoshf.
50533 * math/s_ccosl.c: Rely entirely on ccoshl.
50534 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50535 Remove tests for FE_INVALID.
50536 * math/s_ccoshf.c: Likewise.
50537 * math/s_ccoshl.c: Likewise.
50538 * math/s_csin.c: Likewise.
50539 * math/s_csinf.c: Likewise.
50540 * math/s_csinh.c Likewise.
50541 * math/s_csinhf.c: Likewise.
50542 * math/s_csinhl.c: Likewise.
50543 * math/s_csinl.c: Likewise.
50544 * math/s_ctan.c: Likewise.
50545 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50546 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50547 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50548
8ec250a4
UD
505492011-10-21 Ulrich Drepper <drepper@gmail.com>
50550
c196fed8
UD
50551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50552 compilation problems.
50553
8ec250a4
UD
50554 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50555 __builtin_expect.
50556
8d4f46c6
UD
505572011-10-20 Ulrich Drepper <drepper@gmail.com>
50558
ed72b654
UD
50559 * sysdeps/i386/configure.in: Test for -mfma4 option.
50560 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50561 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50562 COMMON_CPUID_INDEX_80000001.
50563 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50564 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50565 use it if FMA3 is not supported.
50566 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50567
8d4f46c6
UD
50568 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50569 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50570
d45c60c2
AS
505712011-10-20 Andreas Schwab <schwab@redhat.com>
50572
50573 [BZ #12892]
50574 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50575 it would create a cycle with a link time dependency.
50576
d9a4d2ab
UD
505772011-10-19 Ulrich Drepper <drepper@gmail.com>
50578
855d1560
UD
50579 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50580 instruction.
50581 * string/Makefile (strop-tests): Add rawmemchr.
50582 * string/test-rawmemchr.c: New file.
50583
d9a4d2ab
UD
50584 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50585 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50586 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50587 when compiling str{,n}casecmp and when AVX is available. Hook up
50588 new optimized code in initializers.
50589
8f3b1ffe
AS
505902011-10-19 Andreas Schwab <schwab@redhat.com>
50591
50592 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50593 __feraiseexcept instead of feraiseexcept.
50594
d38f1dba
UD
505952011-10-18 Ulrich Drepper <drepper@gmail.com>
50596
d9a8d0ab
UD
50597 * math/math_private.h: Define defaults for libc_fetestexcept and
50598 libc_feupdateenv.
50599 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50600 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50601 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50602 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50603 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50604 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50605 libc_fetestexcept and libc_feupdateenv.
50606
4855e3dd
UD
50607 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50608 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50609 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50610 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50611 libc_feholdexcept_setround.
50612
581d30e3
UD
50613 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50614 Add s_nearbyint-c and s_nearbyintf-c.
50615 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50616 nearbyintf inlines.
50617 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50618 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50619 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50620 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50621
d38f1dba
UD
50622 * math/math_private.h: Define defaults for libc_fegetround,
50623 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50624 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50625 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50626 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50627 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50628 standard functions.
50629 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50630 Remove comments and hacks for old compiler versions.
50631 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50632 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50633 libc_feholdexceptl.
50634
caa6c9d8
AS
506352011-10-18 Andreas Schwab <schwab@redhat.com>
50636
50637 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50638 (__feraiseexcept_renamed): Add __NTH.
50639 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50640 namespace violations.
50641
97c066e6
UD
506422011-10-17 Ulrich Drepper <drepper@gmail.com>
50643
99ce7b04
UD
50644 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50645
1004d182
UD
50646 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50647
228a984d
UD
50648 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50649 recently added interfaces.
50650 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50651
c8553a6a
UD
50652 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50653 about macro parameter expansion.
50654
ed22dcf6
UD
50655 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50656 __NO_MATH_INLINES is defined. Cleanups.
50657
50658 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50659 and __floorf is target has SSE4.1.
50660 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50661 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50662 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50663 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50664
b171c137
UD
50665 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50666 name.
50667 (floorf): Likewise.
50668
97c066e6
UD
50669 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50670
629f62ef
AS
506712011-10-17 Andreas Schwab <schwab@redhat.com>
50672
49a43d80
AS
50673 * misc/sys/cdefs.h: Fix last change.
50674
629f62ef
AS
50675 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50676 database lookup.
50677
e453f6cd
UD
506782011-10-16 Ulrich Drepper <drepper@gmail.com>
50679
aa78043a
UD
50680 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50681
ad0f5cad
UD
50682 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50688 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50690 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50691 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50692 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50693 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50694 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50695 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50696 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50697 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50698 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50699 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50700 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50701 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50702 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50703 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50704
50705 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50706 ceil, ceilf, floor, floorf.
50707
50708 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50709 Perform IRELATIVE relocations last.
50710
e453f6cd
UD
50711 * elf/do-rel.h: Add another parameter nrelative, replacing the
50712 local variable with the same name. Change name of the function
50713 to end in Rel or Rela (uppercase).
50714 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50715 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50716 elf_dynamic_do_##reloc function.
50717
fd5bdc09
UD
507182011-10-15 Ulrich Drepper <drepper@gmail.com>
50719
79b195b5
UD
50720 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50721 is sufficient, at least on modern CPUs.
50722
d4a28569
UD
50723 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50724
b61099b5
UD
50725 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50726 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50727
bcf01e6d
UD
50728 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50729 __expl_finite.
50730 * math/bits/math-finite.h: Add entries for exp.
50731 * math/e_expl.c: Add __*_finite alias.
50732 * sysdeps/i386/fpu/e_exp.S: Likewise.
50733 * sysdeps/i386/fpu/e_expf.S: Likewise.
50734 * sysdeps/i386/fpu/e_expl.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50736 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50740 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50741 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50742
ba1a0d59
UD
50743 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50744 is sufficient, at least on modern CPUs.
50745
fd5bdc09
UD
50746 * ctype/ctype-info.c (__ctype_init): Define.
50747 * include/ctype.h (__ctype_init): Declare.
50748 (__ctype_b_loc): The variable is always initialized.
50749 (__ctype_toupper_loc): Likewise.
50750 (__ctype_tolower_loc): Likewise.
50751 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50752 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50753
7872cfb0
AS
507542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50755
b468825a
AS
50756 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50757
7872cfb0
AS
50758 * configure.in: Also look in $cxxmachine/include for C++ system
50759 headers.
50760
be13f7bf
LD
507612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50762
50763 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50764 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50765 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50766 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50767 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50768 (USE_AS_WMEMCMP): New macro.
50769 Fixing indents.
50770 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50771 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50772 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50773 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50775 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50776 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50777 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50778 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50779 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50781 (USE_AS_WMEMCMP): New macro.
50782 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50783 * sysdeps/string/test-memcmp.c: Update.
50784 Fix simple_wmemcmp.
50785 Add new tests.
50786 * wcsmbs/wmemcmp.c: Update.
50787 (WMEMCMP): New macro.
50788 Fix overflow bug.
50789
556a2007
AJ
507902011-10-12 Andreas Jaeger <aj@suse.de>
50791
50792 [BZ #13268]
50793 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50794
538faaa7
UD
507952011-10-15 Ulrich Drepper <drepper@gmail.com>
50796
ab6737ff
UD
50797 * libio/iofwide.c (do_length): Avoid warning.
50798
538faaa7
UD
50799 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50800
396a21b1
UD
508012011-10-14 Ulrich Drepper <drepper@gmail.com>
50802
cdf2901f
UD
50803 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50804
38ad40ce
UD
50805 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50806 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50807 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50808 * sysdeps/i386/i686/fpu/e_log.S: New file.
50809 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50810 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50811
396a21b1
UD
50812 * ctype/ctype.h: Add support for inlined isXXX functions when
50813 compiling C++ code.
50814
6b1f68c9
AS
508152011-10-14 Andreas Schwab <schwab@redhat.com>
50816
349290c0
AS
50817 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50818
6b1f68c9
AS
50819 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50820
f2282d42
RM
508212011-10-13 Roland McGrath <roland@hack.frob.com>
50822
50823 [BZ #13291]
50824 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50825
5298ffa8
AS
508262011-10-13 Andreas Schwab <schwab@redhat.com>
50827
714fad23
AS
50828 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50829 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50830 feraiseexcept.
50831
81dcc7fb
AS
50832 * sysdeps/x86_64/memrchr.S: Check for zero size.
50833
5298ffa8
AS
50834 * string/stratcliff.c: Add memrchr tests.
50835
951fbcec
LD
508362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50837
50838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50839 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50840 rawmemchr-sse2 rawmemchr-sse2-bsf.
50841 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50842 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50843 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50844 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50845 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50846 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50847 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50848 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50849 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50850 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50851 * string/memrchr.c (MEMRCHR): New macro.
50852
0ac5ae23
UD
508532011-10-12 Ulrich Drepper <drepper@gmail.com>
50854
50855 Add integration with gcc's -ffinite-math-only and optimize wrapper
50856 functions in libm.
50857 * Versions.def: Define GLIBC_2.15 version for libm.
50858 * math/Makefile (headers): Add bits/math-finite.h.
50859 * math/bits/math-finite.h: New file.
50860 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50861 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50862 * math/e_acoshl.c: Add __*_finite alias.
50863 * math/e_acosl.c: Likewise.
50864 * math/e_asinl.c: Likewise.
50865 * math/e_atan2l.c: Likewise.
50866 * math/e_atanhl.c: Likewise.
50867 * math/e_coshl.c: Likewise.
50868 * math/e_exp10.c: Likewise.
50869 * math/e_exp10f.c: Likewise.
50870 * math/e_exp10l.c: Likewise.
50871 * math/e_exp2l.c: Likewise.
50872 * math/e_fmodl.c: Likewise.
50873 * math/e_gammal_r.c: Likewise.
50874 * math/e_hypotl.c: Likewise.
50875 * math/e_j0l.c: Likewise.
50876 * math/e_j1l.c: Likewise.
50877 * math/e_jnl.c: Likewise.
50878 * math/e_lgammal_r.c: Likewise.
50879 * math/e_log10l.c: Likewise.
50880 * math/e_log2l.c: Likewise.
50881 * math/e_logl.c: Likewise.
50882 * math/e_powl.c: Likewise.
50883 * math/e_sinhl.c: Likewise.
50884 * math/e_sqrtl.c: Likewise.
50885 * math/e_scalb.c: Completely rewritten and optimized.
50886 * math/e_scalbf.c: Likewise.
50887 * math/e_scalbl.c: Likewise.
50888 * math/w_acos.c: Likewise.
50889 * math/w_acosf.c: Likewise.
50890 * math/w_acosl.c: Likewise.
50891 * math/w_acosh.c: Likewise.
50892 * math/w_acoshf.c: Likewise.
50893 * math/w_acoshl.c: Likewise.
50894 * math/w_asin.c: Likewise.
50895 * math/w_asinf.c: Likewise.
50896 * math/w_asinl.c: Likewise.
50897 * math/w_atan2.c: Likewise.
50898 * math/w_atan2f.c: Likewise.
50899 * math/w_atan2l.c: Likewise.
50900 * math/w_atanh.c: Likewise.
50901 * math/w_atanhf.c: Likewise.
50902 * math/w_atanhl.c: Likewise.
50903 * math/w_exp10.c: Likewise.
50904 * math/w_exp10f.c: Likewise.
50905 * math/w_exp10l.c: Likewise.
50906 * math/w_fmod.c: Likewise.
50907 * math/w_fmodf.c: Likewise.
50908 * math/w_fmodl.c: Likewise.
50909 * math/w_j0.c: Likewise.
50910 * math/w_j0f.c: Likewise.
50911 * math/w_j0l.c: Likewise.
50912 * math/w_j1.c: Likewise.
50913 * math/w_j1f.c: Likewise.
50914 * math/w_j1l.c: Likewise.
50915 * math/w_jn.c: Likewise.
50916 * math/w_jnf.c: Likewise.
50917 * math/w_log.c: Likewise.
50918 * math/w_logf.c: Likewise.
50919 * math/w_logl.c: Likewise.
50920 * math/w_log10.c: Likewise.
50921 * math/w_log10f.c: Likewise.
50922 * math/w_log10l.c: Likewise.
50923 * math/w_log2.c: Likewise.
50924 * math/w_log2f.c: Likewise.
50925 * math/w_log2l.c: Likewise.
50926 * math/w_pow.c: Likewise.
50927 * math/w_powf.c: Likewise.
50928 * math/w_powl.c: Likewise.
50929 * math/w_remainder.c: Likewise.
50930 * math/w_remainderf.c: Likewise.
50931 * math/w_remainderl.c: Likewise.
50932 * math/w_scalb.c: Likewise.
50933 * math/w_scalbf.c: Likewise.
50934 * math/w_scalbl.c: Likewise.
50935 * math/w_sqrt.c: Likewise.
50936 * math/w_sqrtf.c: Likewise.
50937 * math/w_sqrtl.c: Likewise.
50938 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50939 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50940 used.
50941 * math/math_private.h: Declare __kernel_standard_f.
50942 * math/w_cosh.c: Remove cruft and optimize a bit.
50943 * math/w_coshf.c: Likewise.
50944 * math/w_coshl.c: Likewise.
50945 * math/w_exp2.c: Likewise.
50946 * math/w_exp2f.c: Likewise.
50947 * math/w_exp2l.c: Likewise.
50948 * math/w_hypot.c: Likewise.
50949 * math/w_hypotf.c: Likewise.
50950 * math/w_hypotl.c: Likewise.
50951 * math/w_lgamma.c: Likewise.
50952 * math/w_lgamma_r.c: Likewise.
50953 * math/w_lgammaf.c: Likewise.
50954 * math/w_lgammaf_r.c: Likewise.
50955 * math/w_lgammal.c: Likewise.
50956 * math/w_lgammal_r.c: Likewise.
50957 * math/w_sinh.c: Likewise.
50958 * math/w_sinhf.c: Likewise.
50959 * math/w_sinhl.c: Likewise.
50960 * math/w_tgamma.c: Likewise.
50961 * math/w_tgammaf.c: Likewise.
50962 * math/w_tgammal.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50964 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50965 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50966 Minor optimizations. Pretty printing. Remove cruft.
50967 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50968 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50970 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50971 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50972 * sysdeps/i386/fpu/e_asin.S: Likewise.
50973 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50974 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50975 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50976 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50978 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50979 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50980 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50981 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50982 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50983 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50984 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50985 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50986 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50987 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50988 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50989 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50990 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50991 * sysdeps/i386/fpu/e_log.S: Likewise.
50992 * sysdeps/i386/fpu/e_log10.S: Likewise.
50993 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50994 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50995 * sysdeps/i386/fpu/e_log2.S: Likewise.
50996 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50997 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50998 * sysdeps/i386/fpu/e_logf.S: Likewise.
50999 * sysdeps/i386/fpu/e_logl.S: Likewise.
51000 * sysdeps/i386/fpu/e_pow.S: Likewise.
51001 * sysdeps/i386/fpu/e_powf.S: Likewise.
51002 * sysdeps/i386/fpu/e_powl.S: Likewise.
51003 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51004 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51005 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51006 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51008 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51009 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51010 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51011 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51015 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51018 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51025 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51029 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51030 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51032 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51033 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51034 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51035 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51036 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51038 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51039 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51040 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51041 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51042 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51043 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51044 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51045 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51046 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51047 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51048 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51049 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51050 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51051 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51052 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51053 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51054 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51055 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51056 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51057 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51058 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51059 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51060 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51061 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51062 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51063 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51064 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51065 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51067 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51068 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51069 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51070 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51071 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51072 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51073 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51077 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51080 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51082 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51083 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51084 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51086 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51088 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51094 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51095 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51096 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51097 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51099 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51100 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51101 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51103 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51104 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51105 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51106 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51107 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51108 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51109 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51110 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51111 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51112 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51113 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51114 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51115 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51116 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51117 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51118 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51119 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51120 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51121 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51122 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51123 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51124 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51125 (__isnanf): Likewise.
51126 (__isinf_ns): Likewise.
51127 (__isinf_nsf): Likewise.
51128 (__finite): Likewise.
51129 (__finitef): Likewise.
51130 (__ieee754_sqrt): Define as macro.
51131 (__ieee754_sqrtf): Define as macro.
51132 (__ieee754_sqrtl): Define as macro.
51133 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51134 inlined copy.
51135 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51136 __FINITE_MATH_ONLY__ consistent.
51137 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51138
12cc2fcd
AS
511392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51140
a843a204
AS
51141 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51142 of rawmemchr.
51143
12cc2fcd
AS
51144 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51145
c853acd5
UD
511462011-10-09 Ulrich Drepper <drepper@gmail.com>
51147
51148 * po/ja.po: Update from translation team.
51149
c658d255
RM
511502011-10-08 Roland McGrath <roland@hack.frob.com>
51151
110946e4
RM
51152 * locale/programs/locarchive.c (prepare_address_space): New function.
51153 (create_archive, enlarge_archive, open_archive): Use it.
51154
50604220
RM
51155 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51156 inside [SHARED], where it is used.
51157
c658d255
RM
51158 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51159
51160 * nss/getent.c (netgroup_keys): Remove unused variable.
51161 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51162
6a621eb7
UD
511632011-10-08 Ulrich Drepper <drepper@gmail.com>
51164
7edb55ce
UD
51165 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51166 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51168 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51169 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51170 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51171 * math/Makefile (libm-calls): Add s_isinf_ns.
51172 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51173 * math/multc3.c: Likewise.
51174 * math/s_casin.c: Likewise.
51175 * math/s_casinf.c: Likewise.
51176 * math/s_casinl.c: Likewise.
51177 * math/s_ccos.c: Likewise.
51178 * math/s_ccosf.c: Likewise.
51179 * math/s_ccosl.c: Likewise.
51180 * math/s_ctan.c: Likewise.
51181 * math/s_ctanf.c: Likewise.
51182 * math/s_ctanh.c: Likewise.
51183 * math/s_ctanhf.c: Likewise.
51184 * math/s_ctanhl.c: Likewise.
51185 * math/s_ctanl.c: Likewise.
51186 * math/w_fmod.c: Likewise.
51187 * math/w_fmodf.c: Likewise.
51188 * math/w_fmodl.c: Likewise.
51189 * math/w_remainder.c: Likewise.
51190 * math/w_remainderf.c: Likewise.
51191 * math/w_remainderl.c: Likewise.
51192 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51193 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51194 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51196 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51197 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51198 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51199 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51200
187da0ae
UD
51201 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51202 of the number.
51203 * stdio-common/printf_fphex.c: Likewise.
51204 * stdio-common/printf_size.c: Likewise.
51205
9277c064
UD
51206 * math/e_exp10.c: Include math_private.h using <...> not "...".
51207 * math/e_exp10f.c: Likewise.
51208 * math/e_exp10l.c: Likewise.
51209 * math/e_exp2l.c: Likewise.
51210 * math/e_j0l.c: Likewise.
51211 * math/e_j1l.c: Likewise.
51212 * math/e_jnl.c: Likewise.
51213 * math/e_lgammal_r.c: Likewise.
51214 * math/e_rem_pio2l.c: Likewise.
51215 * math/e_scalb.c: Likewise.
51216 * math/e_scalbf.c: Likewise.
51217 * math/e_scalbl.c: Likewise.
51218 * math/k_cosl.c: Likewise.
51219 * math/k_sinl.c: Likewise.
51220 * math/k_tanl.c: Likewise.
51221 * math/s_cacoshf.c: Likewise.
51222 * math/s_catan.c: Likewise.
51223 * math/s_catanf.c: Likewise.
51224 * math/s_catanh.c: Likewise.
51225 * math/s_catanhf.c: Likewise.
51226 * math/s_catanhl.c: Likewise.
51227 * math/s_catanl.c: Likewise.
51228 * math/s_ccosh.c: Likewise.
51229 * math/s_ccoshf.c: Likewise.
51230 * math/s_ccoshl.c: Likewise.
51231 * math/s_cexp.c: Likewise.
51232 * math/s_cexpf.c: Likewise.
51233 * math/s_cexpl.c: Likewise.
51234 * math/s_clog.c: Likewise.
51235 * math/s_clog10.c: Likewise.
51236 * math/s_clog10f.c: Likewise.
51237 * math/s_clog10l.c: Likewise.
51238 * math/s_clogf.c: Likewise.
51239 * math/s_clogl.c: Likewise.
51240 * math/s_csin.c: Likewise.
51241 * math/s_csinf.c: Likewise.
51242 * math/s_csinh.c: Likewise.
51243 * math/s_csinhf.c: Likewise.
51244 * math/s_csinhl.c: Likewise.
51245 * math/s_csinl.c: Likewise.
51246 * math/s_csqrt.c: Likewise.
51247 * math/s_csqrtf.c: Likewise.
51248 * math/s_csqrtl.c: Likewise.
51249 * math/s_ctan.c: Likewise.
51250 * math/s_ctanf.c: Likewise.
51251 * math/s_ctanh.c: Likewise.
51252 * math/s_ctanhf.c: Likewise.
51253 * math/s_ctanhl.c: Likewise.
51254 * math/s_ctanl.c: Likewise.
51255 * math/s_ldexp.c: Likewise.
51256 * math/s_ldexpf.c: Likewise.
51257 * math/s_ldexpl.c: Likewise.
51258 * math/s_significand.c: Likewise.
51259 * math/s_significandf.c: Likewise.
51260 * math/s_significandl.c: Likewise.
51261 * math/w_acos.c: Likewise.
51262 * math/w_acosf.c: Likewise.
51263 * math/w_acosh.c: Likewise.
51264 * math/w_acoshf.c: Likewise.
51265 * math/w_acoshl.c: Likewise.
51266 * math/w_acosl.c: Likewise.
51267 * math/w_asin.c: Likewise.
51268 * math/w_asinf.c: Likewise.
51269 * math/w_asinl.c: Likewise.
51270 * math/w_atan2.c: Likewise.
51271 * math/w_atan2f.c: Likewise.
51272 * math/w_atan2l.c: Likewise.
51273 * math/w_atanh.c: Likewise.
51274 * math/w_atanhf.c: Likewise.
51275 * math/w_atanhl.c: Likewise.
51276 * math/w_cosh.c: Likewise.
51277 * math/w_coshf.c: Likewise.
51278 * math/w_coshl.c: Likewise.
51279 * math/w_dremf.c: Likewise.
51280 * math/w_exp10.c: Likewise.
51281 * math/w_exp10f.c: Likewise.
51282 * math/w_exp10l.c: Likewise.
51283 * math/w_exp2.c: Likewise.
51284 * math/w_exp2f.c: Likewise.
51285 * math/w_fmod.c: Likewise.
51286 * math/w_fmodf.c: Likewise.
51287 * math/w_fmodl.c: Likewise.
51288 * math/w_hypot.c: Likewise.
51289 * math/w_hypotf.c: Likewise.
51290 * math/w_hypotl.c: Likewise.
51291 * math/w_j0.c: Likewise.
51292 * math/w_j0f.c: Likewise.
51293 * math/w_j0l.c: Likewise.
51294 * math/w_j1.c: Likewise.
51295 * math/w_j1f.c: Likewise.
51296 * math/w_j1l.c: Likewise.
51297 * math/w_jn.c: Likewise.
51298 * math/w_jnf.c: Likewise.
51299 * math/w_jnl.c: Likewise.
51300 * math/w_lgamma.c: Likewise.
51301 * math/w_lgamma_r.c: Likewise.
51302 * math/w_lgammaf.c: Likewise.
51303 * math/w_lgammaf_r.c: Likewise.
51304 * math/w_lgammal.c: Likewise.
51305 * math/w_lgammal_r.c: Likewise.
51306 * math/w_log.c: Likewise.
51307 * math/w_log10.c: Likewise.
51308 * math/w_log10f.c: Likewise.
51309 * math/w_log10l.c: Likewise.
51310 * math/w_log2.c: Likewise.
51311 * math/w_log2f.c: Likewise.
51312 * math/w_log2l.c: Likewise.
51313 * math/w_logf.c: Likewise.
51314 * math/w_logl.c: Likewise.
51315 * math/w_pow.c: Likewise.
51316 * math/w_powf.c: Likewise.
51317 * math/w_powl.c: Likewise.
51318 * math/w_remainder.c: Likewise.
51319 * math/w_remainderf.c: Likewise.
51320 * math/w_remainderl.c: Likewise.
51321 * math/w_scalb.c: Likewise.
51322 * math/w_scalbf.c: Likewise.
51323 * math/w_scalbl.c: Likewise.
51324 * math/w_sinh.c: Likewise.
51325 * math/w_sinhf.c: Likewise.
51326 * math/w_sinhl.c: Likewise.
51327 * math/w_sqrt.c: Likewise.
51328 * math/w_sqrtf.c: Likewise.
51329 * math/w_sqrtl.c: Likewise.
51330 * math/w_tgamma.c: Likewise.
51331 * math/w_tgammaf.c: Likewise.
51332 * math/w_tgammal.c: Likewise.
51333
6a621eb7
UD
51334 * po/ja.po: Update from translation team.
51335
bf582445
AJ
513362011-09-29 Andreas Jaeger <aj@suse.de>
51337
f9efbf3a
AJ
51338 [BZ #13179]
51339 * sunrpc/netname.c (netname2host): Fix logic.
51340
bf582445
AJ
51341 [BZ #6779]
51342 [BZ #6783]
51343 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51344 correctly.
51345 * math/w_remainder.c (__remainder): Likewise.
51346 * math/w_remainderf.c (__remainderf): Likewise.
51347 * math/libm-test.inc (remainder_test): Add test cases.
51348
48693bea
AK
513492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51350
51351 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51352 sdiv_qrnnd.
51353
42622229
LD
513542011-10-07 Ulrich Drepper <drepper@gmail.com>
51355
51356 * string/test-memcmp.c: Avoid unncessary #defines.
51357 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51358
093ecf92
LD
513592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51360
51361 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51362 Use new sse2 version for core i3 - i7 as it's faster
51363 than sse42 version.
51364 (bit_Prefer_PMINUB_for_stringop): New.
51365 * sysdeps/x86_64/rawmemchr.S: Update.
51366 Replace with faster SSE2 version.
51367 * sysdeps/x86_64/memrchr.S: New file.
51368 * sysdeps/x86_64/memchr.S: Update.
51369 Replace with faster SSE2 version.
51370
fde56e5c
MP
513712011-09-12 Marek Polacek <mpolacek@redhat.com>
51372
51373 * elf/dl-load.c (lose): Add cast to avoid warning.
51374
21fd49a9
UD
513752011-10-07 Ulrich Drepper <drepper@gmail.com>
51376
5a06e643
UD
51377 * po/ca.po: Update from translation team.
51378
684ae515
UD
51379 * inet/getnetgrent_r.c: Hook up nscd.
51380 * nscd/Makefile (routines): Add nscd_netgroup.
51381 (nscd-modules): Add netgroupcache.
51382 (CFLAGS-netgroupcache.c): Define.
51383 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51384 (cache_search): Add const to second parameter.
51385 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51386 INNETGR.
51387 (dbs): Add netgrdb entry.
51388 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51389 (verify_persistent_db): Handle netgrdb.
51390 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51391 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51392 GETFDNETGR.
51393 (netgroup_response_header): Define.
51394 (innetgroup_response_header): Define.
51395 (datahead): Add netgroup_response_header and innetgroup_response_header
51396 elements.
51397 * nscd/nscd.conf: Add entries for netgroup cache.
51398 * nscd/nscd.h (dbtype): Add netgrdb.
51399 (_PATH_NSCD_NETGROUP_DB): Define.
51400 (netgroup_iov_disabled): Declare.
51401 (xmalloc, xcalloc, xrealloc): Move declarations here.
51402 (cache_search): Adjust prototype.
51403 Add netgroup-related prototypes.
51404 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51405 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51406 (__nscd_innetgr): Declare.
51407 * nscd/selinux.c (perms): Use access_vector_t as element type and
51408 add netgroup-related initializers.
51409 * nscd/netgroupcache.c: New file.
51410 * nscd/nscd_netgroup.c: New file.
51411 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51412 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51413 For four parameters use innetgr.
51414 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51415 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51416 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51417 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51418
21fd49a9
UD
51419 * nscd/connections.c (register_traced_file): Don't register file
51420 for disabled databases.
51421
054c0457
UD
514222011-10-06 Ulrich Drepper <drepper@gmail.com>
51423
32b63198
UD
51424 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51425
054c0457
UD
51426 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51427 from tree and freeing node.
51428
64031225
JO
514292011-09-25 Jiri Olsa <jolsa@redhat.com>
51430
51431 * nss/nsswitch.c (__nss_database_lookup): Handle
51432 nss_parse_service_list out of memory case.
51433
0490345c
JO
514342011-09-15 Jiri Olsa <jolsa@redhat.com>
51435
51436 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51437 out of memory case.
51438
3a62d00d
AS
514392011-10-04 Andreas Schwab <schwab@redhat.com>
51440
51441 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51442 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51443 pass it down.
51444 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51445 elf_machine_rela, elf_machine_lazy_rel.
51446 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51447 (ELF_DYNAMIC_DO_REL): Likewise.
51448 (ELF_DYNAMIC_DO_RELA): Likewise.
51449 (ELF_DYNAMIC_RELOCATE): Likewise.
51450 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51451 to ELF_DYNAMIC_DO_REL.
51452 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51453 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51454 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51455 elf_machine_rela.
51456 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51457 skip_ifunc, don't call ifunc function if non-zero.
51458 (elf_machine_rela): Likewise.
51459 (elf_machine_lazy_rel): Likewise.
51460 (elf_machine_lazy_rela): Likewise.
51461 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51462 (elf_machine_lazy_rel): Likewise.
51463 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51464 Likewise.
51465 (elf_machine_lazy_rel): Likewise.
51466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51467 Likewise.
51468 (elf_machine_lazy_rel): Likewise.
51469 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51470 (elf_machine_lazy_rel): Likewise.
51471 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51472 (elf_machine_lazy_rel): Likewise.
51473 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51474 (elf_machine_lazy_rel): Likewise.
51475 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51476 (elf_machine_lazy_rel): Likewise.
51477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51478 (elf_machine_lazy_rel): Likewise.
51479 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51480 (elf_machine_lazy_rel): Likewise.
51481
68577918
UD
514822011-09-28 Ulrich Drepper <drepper@gmail.com>
51483
51484 * nss/nss_files/files-init.c (_nss_files_init): Use static
51485 initialization for all the *_traced_file variables.
51486
68822d74
AS
514872011-09-28 Andreas Schwab <schwab@redhat.com>
51488
51489 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51490
2056100b
RM
514912011-09-27 Roland McGrath <roland@hack.frob.com>
51492
51493 [BZ #13226]
51494 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51495
32c76b63
AS
514962011-09-27 Andreas Schwab <schwab@redhat.com>
51497
51498 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51499 Reread the line before reparsing it.
51500
bf972c9d
AS
515012011-09-26 Andreas Schwab <schwab@redhat.com>
51502
51503 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51504
e057a1b5
JM
515052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51506 Maxim Kuvyrkov <maxim@codesourcery.com>
51507 Joseph Myers <joseph@codesourcery.com>
51508
51509 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51510 if needed for __stack_chk_guard.
51511
bc7e1c36
RM
515122011-09-19 Roland McGrath <roland@hack.frob.com>
51513
ecb1482f
RM
51514 * sysdeps/posix/spawni.c (script_execute): Always define it.
51515 It will be optimized away if unused.
51516 (maybe_script_execute): New function.
51517 (__spawni): Call it.
51518
bc7e1c36
RM
51519 * Makerules: Don't include tls.make.
51520 (config-tls): Always set to thread.
51521 * tls.make.c: File removed.
51522
1c3b002b
MF
515232011-09-19 Mike Frysinger <vapier@gentoo.org>
51524
51525 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51526 * config.make.in (CPPFLAGS-config): New substituted variable.
51527
2840865d
UD
515282011-09-15 Ulrich Drepper <drepper@gmail.com>
51529
88738eb6
UD
51530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51531
cbf645a6 51532 [BZ #13192]
2840865d
UD
51533 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51534 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51535
b402e91a
RM
515362011-09-15 Roland McGrath <roland@hack.frob.com>
51537
51538 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51539 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51541 (CALL_FAIL): Likewise.
51542 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51543 (CALL_FAIL): Macro removed.
51544 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51545
4c1a1f71
UD
515462011-09-15 Ulrich Drepper <drepper@gmail.com>
51547
51548 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51549 for __FINITE_MATH_ONLY__ == 1.
51550
edc121be
AS
515512011-09-15 Andreas Schwab <schwab@redhat.com>
51552
51553 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51554 __ieee754_sqrt instead of sqrt.
51555 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51556 __ieee754_sqrtf instead of sqrtf.
51557 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51558 __floorf instead of floorf.
51559 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51560 __floorf, __truncf instead of floorf, truncf.
51561
cd205654
UD
515622011-09-14 Ulrich Drepper <drepper@gmail.com>
51563
ee4d0315
UD
51564 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51565
cd205654
UD
51566 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51567 __extern_always_inline.
51568 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51569 32-bit.
51570
48b67d71
AS
515712011-09-14 Andreas Schwab <schwab@redhat.com>
51572
51573 * elf/rtld.c (dl_main): Also relocate in dependency order when
51574 doing symbol dependency testing.
51575
1ae12c75
AS
515762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51577
51578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51579 Always define `refsym'.
51580
995a80df
AS
515812011-09-13 Andreas Schwab <schwab@redhat.com>
51582
e529793b
AS
51583 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51584 (__FD_ELT): Renamed from __FDELT.
51585 * misc/bits/select2.h (__FD_ELT): Likewise.
51586 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51587 __FD_MASK instead of __FDELT, __FDMASK.
51588 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51589 Likewise.
51590 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51591 Likewise.
51592
52d4fef8
AS
51593 * elf/Makefile (gen-ldd): Fix pattern.
51594
995a80df
AS
51595 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51596 (init_tls): Likewise.
51597
8682f8b0
UD
515982011-09-12 Ulrich Drepper <drepper@gmail.com>
51599
51600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51601
de82006d
AS
516022011-09-12 Andreas Schwab <schwab@redhat.com>
51603
a7c8e6a1
AS
51604 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51605 `struct cmsghdr *' instead of `void *'.
51606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51607 Likewise.
51608
0f31fe77
AS
516092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51610
51611 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51612 if non-absolute.
51613 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51614 ldd_rewrite_script.
0f31fe77 51615
32b4c839
UD
516162011-09-11 Ulrich Drepper <drepper@gmail.com>
51617
83cd1420
UD
51618 * configure.in: Remove --with-tls option.
51619 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51620 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51621 out in case it is missing.
51622 * sysdeps/ia64/elf/configure.in: Likewise.
51623 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51624 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51625 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51626 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51627 * sysdeps/sh/elf/configure.in: Likewise.
51628 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51629 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51630 * sysdeps/x86_64/elf/configure.in: Likewise.
51631 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51632 * sysdeps/mach/hurd/tls.h: Likewise.
51633
633f745d
UD
51634 [BZ #13067]
51635 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51636
f318beb8
UD
51637 [BZ #13090]
51638 * configure.in: Fix use of AC_INIT.
51639
32b4c839
UD
51640 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51641
3ce1f295
UD
516422011-09-10 Ulrich Drepper <drepper@gmail.com>
51643
bb016596
UD
51644 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51645 __set_errno.
8e58439c
UD
51646 * malloc/hooks.c: Likewise.
51647
aebae053 51648 [BZ #11929]
02d46fc4
UD
51649 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51650 variables statically.
51651 (narenas): Initialize.
51652 (list_lock): Initialize.
bb016596
UD
51653 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51654 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51655 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51656 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51657 Add initializers to main_arena and mp_.
51658 (malloc_state): Remove pagesize member. Change all users to use
51659 GLRO(dl_pagesize).
51660
51661 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51662 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51663 is always initialized.
51664
22a89187
UD
51665 * malloc/malloc.c: Removed unused configurations and dead code.
51666 * malloc/arena.c: Likewise.
51667 * malloc/hooks.c: Likewise.
02d46fc4 51668 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51669
d063d164
UD
51670 * include/tls.h: Removed. USE___THREAD must always be defined.
51671 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51672 * elf/dl-libc.c: Likewise.
51673 * elf/dl-tsd.c: Likewise.
51674 * include/errno.h: Likewise.
51675 * include/netdb.h: Likewise.
51676 * include/resolv.h: Likewise.
51677 * inet/herrno-loc.c: Likewise.
51678 * inet/herrno.c: Likewise.
51679 * malloc/arena.c: Likewise.
51680 * malloc/hooks.c: Likewise.
51681 * malloc/malloc.c: Likewise.
51682 * resolv/res-state.c: Likewise.
51683 * resolv/res_libc.c: Likewise.
51684 * sysdeps/i386/dl-machine.h: Likewise.
51685 * sysdeps/ia64/dl-machine.h: Likewise.
51686 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51687 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51688 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51689 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51690 * sysdeps/sh/dl-machine.h: Likewise.
51691 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51692 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51693 * sysdeps/unix/i386/sysdep.S: Likewise.
51694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51695 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51700 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51704 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51705 * sysdeps/x86_64/dl-machine.h: Likewise.
51706 * tls.make.c: Likewise.
51707
3ce1f295
UD
51708 * configure.in: Remove --with-__thread option. Make tests for
51709 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51710 tls_model attribute fail if no support is available. Remove
51711 USE_IN_LIBIO.
51712 * Makeconfig: Adjust for dropped configure option. All features are
51713 now mandatory.
51714 * Makerules: Likewise.
51715 * Versions.def: Likewise.
51716 * argp/argp-fmtstream.c: Likewise.
51717 * argp/argp-fmtstream.h: Likewise.
51718 * argp/argp-help.c: Likewise.
51719 * assert/assert.c: Likewise.
51720 * config.h.in: Likewise.
51721 * config.make.in: Likewise.
51722 * configure: Likewise.
51723 * configure.in: Likewise.
51724 * csu/Versions: Likewise.
51725 * csu/init.c: Likewise.
51726 * elf/tst-audit2.c: Likewise.
51727 * elf/tst-tls10.c: Likewise.
51728 * elf/tst-tls10.h: Likewise.
51729 * elf/tst-tls11.c: Likewise.
51730 * elf/tst-tls12.c: Likewise.
51731 * elf/tst-tls14.c: Likewise.
51732 * elf/tst-tlsmod11.c: Likewise.
51733 * elf/tst-tlsmod12.c: Likewise.
51734 * elf/tst-tlsmod13.c: Likewise.
51735 * elf/tst-tlsmod13a.c: Likewise.
51736 * elf/tst-tlsmod14a.c: Likewise.
51737 * elf/tst-tlsmod15b.c: Likewise.
51738 * elf/tst-tlsmod16a.c: Likewise.
51739 * elf/tst-tlsmod16b.c: Likewise.
51740 * elf/tst-tlsmod7.c: Likewise.
51741 * elf/tst-tlsmod8.c: Likewise.
51742 * elf/tst-tlsmod9.c: Likewise.
51743 * gmon/gmon.c: Likewise.
51744 * grp/fgetgrent_r.c: Likewise.
51745 * grp/putgrent.c: Likewise.
51746 * hurd/fopenport.c: Likewise.
51747 * include/libc-symbols.h: Likewise.
51748 * include/tls.h: Likewise.
51749 * intl/gettextP.h: Likewise.
51750 * intl/loadinfo.h: Likewise.
51751 * locale/global-locale.c: Likewise.
51752 * locale/localeinfo.h: Likewise.
51753 * mach/devstream.c: Likewise.
51754 * malloc/arena.c: Likewise.
51755 * malloc/set-freeres.c: Likewise.
51756 * misc/err.c: Likewise.
51757 * misc/getttyent.c: Likewise.
51758 * misc/mntent_r.c: Likewise.
51759 * posix/getopt.c: Likewise.
51760 * posix/wordexp.c: Likewise.
51761 * pwd/fgetpwent_r.c: Likewise.
51762 * resolv/Versions: Likewise.
51763 * resolv/res_hconf.c: Likewise.
51764 * shadow/fgetspent_r.c: Likewise.
51765 * shadow/putspent.c: Likewise.
51766 * stdio-common/printf_fphex.c: Likewise.
51767 * stdio-common/tmpfile.c: Likewise.
51768 * stdlib/abort.c: Likewise.
51769 * stdlib/fmtmsg.c: Likewise.
51770 * sunrpc/auth_unix.c: Likewise.
51771 * sunrpc/clnt_perr.c: Likewise.
51772 * sunrpc/clnt_tcp.c: Likewise.
51773 * sunrpc/clnt_udp.c: Likewise.
51774 * sunrpc/clnt_unix.c: Likewise.
51775 * sunrpc/openchild.c: Likewise.
51776 * sunrpc/svc_simple.c: Likewise.
51777 * sunrpc/svc_tcp.c: Likewise.
51778 * sunrpc/svc_udp.c: Likewise.
51779 * sunrpc/svc_unix.c: Likewise.
51780 * sunrpc/xdr.c: Likewise.
51781 * sunrpc/xdr_array.c: Likewise.
51782 * sunrpc/xdr_rec.c: Likewise.
51783 * sunrpc/xdr_ref.c: Likewise.
51784 * sunrpc/xdr_stdio.c: Likewise.
51785
1248c1c4
PB
517862011-09-09 Ulrich Drepper <drepper@gmail.com>
51787
51788 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51789
517902011-07-03 Andreas Jaeger <aj@suse.de>
51791
51792 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51793 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51794 regenerate with gen-libm-tests.pl.
51795
517962010-05-12 Petr Baudis <pasky@suse.cz>
51797
51798 [BZ #11589]
51799 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51800 around j0() zero points by switching to j1().
51801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51804 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51805
f22e1074
UD
518062011-09-09 Ulrich Drepper <drepper@gmail.com>
51807
f19009c1
UD
51808 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51809 instead of 0.
51810 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51811 instead of 0.
f19009c1
UD
51812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51813 Patch in part by Pavel Roskin <proski@gnu.org>.
51814
3f8cc204
UD
51815 [BZ #13138]
51816 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51817 realloc.
51818 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51819 Free memory block if necessary.
51820
f22e1074
UD
51821 [BZ #12847]
51822 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51823 be NULL. Don't lock in this case.
51824
0a2349f9
RM
518252011-09-09 Roland McGrath <roland@hack.frob.com>
51826
51827 * elf/elf.h (ELFOSABI_GNU): New macro.
51828 (ELFOSABI_LINUX): Define to that.
51829
f3cdd467
DZ
518302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51831
51832 * string/strncat.c (strncat): Undef the symbol in case it has been
51833 defined in bits/string.h.
51834
74718d13
UD
518352011-09-09 Ulrich Drepper <drepper@gmail.com>
51836
633e9e0f
UD
51837 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51838
0a2349f9 51839 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51840 link map.
51841
f9924780
AJ
518422011-08-17 Andreas Jaeger <aj@suse.de>
51843
51844 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51845
7f5517aa
PP
518462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51847 Ian Lance Taylor <iant@google.com>
51848
51849 * math/libm-test.inc (lround_test): New testcase.
51850 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51851
762011fe
UD
518522011-09-08 Ulrich Drepper <drepper@gmail.com>
51853
92963737
UD
51854 * Makefile: Remove support for automatic cvs check-ins.
51855 * Makerules: Likewise.
51856 * config.make.in: Likewise.
51857 * configure.in: Likewise.
51858 * intl/Makefile: Likewise.
51859 * locale/Makefile: Likewise.
51860 * po/Makefile: Likewise.
51861 * posix/Makefile: Likewise.
51862 * sysdeps/gnu/Makefile: Likewise.
51863 * sysdeps/mach/hurd/Makefile: Likewise.
51864 * sysdeps/sparc/sparc32/Makefile: Likewise.
51865
b0727fd8
JS
51866 [BZ #13118]
51867 * posix/Makefile (bug-regex32-ENV): Define.
51868 Patch by John Stanley <jpsinthemix@verizon.net>.
51869
a0f33f99
UD
51870 * misc/Makefile (headers): Add bits/select2.h.
51871 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51872 * misc/bits/select2.h: New file.
51873 * include/bits/select2.h: New file.
51874 * debug/Makefile (routines): Add fdelt_chk.
51875 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51876 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51877 FD_ISSET.
51878 * debug/fdelt_chk.c: New file.
51879
762011fe
UD
51880 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51881 * wcsmbs/test-wmemcmp.c: Likewise.
51882 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51883 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51884
518852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51886
51887 * string/Makefile (strop-tests): Add memcmp.
51888 * string/test-wmemcmp.c: New file.
51889 * string/test-memcmp.c: Add wmemcmp support.
51890
7f513ec8
RM
518912011-09-08 Roland McGrath <roland@hack.frob.com>
51892
0442afb4
RM
51893 [BZ #13153]
51894 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51895 2011-07-19 change.
51896
7f513ec8
RM
51897 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51898 garbage value in a __mach_port_mod_refs call in the cases of the
51899 task-self and thread-self ports.
51900
a12b2239
ST
519012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51902
51903 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51904
610f9ab4
AS
519052011-09-08 Andreas Schwab <schwab@redhat.com>
51906
7f513ec8 51907 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51908
48882a1a
LD
519092011-09-07 Ulrich Drepper <drepper@gmail.com>
51910
b49865be
UD
51911 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51912
fdc86bc9
UD
51913 * elf/dl-libc.c (dlerror_run): Pass back error code from
51914 dl_catch_error.
51915
c966526a
UD
51916 [BZ #13123]
51917 * elf/dl-load.c (lose): Free l_origin if it is valid.
51918
48882a1a
LD
51919 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51920 names.
51921 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51922 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51924 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51925 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51926 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51927
77a2a8b4
AZ
519282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51929
51930 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51931 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51933 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51934 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51935 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51936 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51937 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51938 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51939 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51940
24f579d8
AM
519412011-08-15 Alan Modra <amodra@gmail.com>
51942
51943 [BZ #13092]
51944 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51945 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51946 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51947 ppc_mcount to static-only-routines.
51948 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51949 __mcount_internal.
51950 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51951 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51952
3d4837df
UD
519532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51954
51955 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51956 for finite and infinity parameters.
51957
22700377
WS
519582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51959
51960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51961 and add nop instructions for throughput optimization.
51962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51963
5025581e
WS
519642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51965
51966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51967 aligned copy for power7 with vector-scalar instructions.
51968 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51969
08a300c9
L
519702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51971
51972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51973 AVX check.
51974
59178ef9
AS
519752011-09-07 Andreas Schwab <schwab@redhat.com>
51976
51977 [BZ #13144]
51978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51979 last change.
51980
e38ba7ab
UD
519812011-09-07 Ulrich Drepper <drepper@gmail.com>
51982
51983 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51984 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51985 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51986 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51987 clock_gettime.
51988
d53a73ac
UD
519892011-09-06 Ulrich Drepper <drepper@gmail.com>
51990
fc8bffcc
UD
51991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51992 Forgot to demangle the pointer.
51993
ceaa0c5d
UD
51994 * sysdeps/i386/sysdep.h: Define atom_text_section.
51995 * sysdeps/x86_64/sysdep.h: Likewise.
51996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51997 section with atom_text_section.
51998 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52000 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52002 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52003
a77d3c17
UD
52004 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52006 already be defined. Change to take two parameters and don't assign
52007 result to variable. Adjust all users.
52008 Define INTERNAL_GETTIME if not already defined.
52009 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52010 call.
52011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52012 HAVE_CLOCK_GETTIME_VSYSCALL.
52013 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52014
d53a73ac
UD
52015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52016 gettimeofday vsyscall, just use time.
52017
a8f84144
AS
520182011-09-06 Andreas Schwab <schwab@redhat.com>
52019
52020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52021 <errno.h>.
52022
ef606249
UD
520232011-09-06 Ulrich Drepper <drepper@gmail.com>
52024
52025 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52026 syscall on x86-64.
52027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52028 syscall.
52029 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52030 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52031 syscall if possible.
52032
6585cb60
UD
520332011-09-05 Ulrich Drepper <drepper@gmail.com>
52034
52035 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52036 e_ident. Don't pass to find_mapsXX.
52037 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52038
a5f524e4
LD
520392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52040
52041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52042 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52043 * sysdeps/x86_64/multiarch/strchr.S: Update.
52044 Check bit_slow_BSF bit.
52045 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52046 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52048
554881ef
UD
520492011-09-05 Ulrich Drepper <drepper@gmail.com>
52050
d96de963
UD
52051 [BZ #13134]
52052 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52053 before glibc 2.15.
52054 (tryshell): Define.
52055 (__spawni): Change last parameter to be flag. Test
52056 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52057 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52058 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52059 * posix/spawni.c: Likewise.
52060 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52061 * posix/spawnp.c: Likewise. Change normal version to use
52062 SPAWN_XFLAGS_USE_PATH.
52063 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52064 SPAWN_XFLAGS_TRY_SHELL.
52065
d48e5868
UD
52066 [BZ #13150]
52067 * posix/glob.h: Remove gcc 1.x support.
52068
554881ef
UD
52069 [BZ #13068]
52070 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52071
693fb948
LD
520722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52073
52074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52075 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52076 strrchr-sse2-bsf
52077 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52078 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52079 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52081 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52082 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52083
1b48c537
UD
520842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52085
49d42c37
UD
52086 * sysdeps/x86_64/wcscmp.S: New file.
52087
1b48c537
UD
52088 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52089 wcscmp-c wcscmp-sse2
52090 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52091 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52092 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52093 * wcsmbs/wcscmp.c: Allow renaming.
52094
15c95c5d
DM
520952011-09-05 David S. Miller <davem@davemloft.net>
52096
52097 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52098 stack slot, rather than the struct return pointer slot.
52099 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52100 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52102 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52103
2f0ad8f3
UD
521042011-09-05 Ulrich Drepper <drepper@gmail.com>
52105
d88ae418
UD
52106 * po/ja.po: Update from translation team.
52107
2f0ad8f3
UD
52108 [BZ #13144]
52109 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52110 kernel in 64-bit binaries.
52111
5f4318d1
DM
521122011-09-01 David S. Miller <davem@davemloft.net>
52113
52114 * elf/elf.h (HWCAP_SPARC_*): Move to..
52115 * sysdeps/sparc/sysdep.h: this new file and add new values.
52116 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52117 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52118 _DL_HWCAP_COUNT to 24.
52119 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52120 entries.
52121 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52122 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52123 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52125 instead of magic constants.
52126 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52127
3ba57516
DM
521282011-08-31 David S. Miller <davem@davemloft.net>
52129
52130 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52132 Reimplement to do errno handling inline.
52133 (SYSCALL_ERROR_HANDLER): New macro.
52134 (__SYSCALL_STRING): Do not do errno handling in asm.
52135 (__CLONE_SYSCALL_STRING): Delete.
52136 (__INTERNAL_SYSCALL_STRING): Delete.
52137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52138 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52139 (PSEUDO): Reimplement to do errno handling inline.
52140 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52141 (SYSCALL_ERROR_HANDLER): New macro.
52142 (__SYSCALL_STRING): Do not do errno handling in asm.
52143 (__CLONE_SYSCALL_STRING): Delete.
52144 (__INTERNAL_SYSCALL_STRING): Delete.
52145 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52146 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52147 i386.
52148 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52149 (inline_syscall*): Add 'err' argument.
52150 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52151 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52152 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52153 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52154
52155 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52156 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52157
2bc17433
AS
521582011-08-30 Andreas Schwab <schwab@redhat.com>
52159
52160 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52161
fbeb5f4d
JO
521622011-08-29 Jiri Olsa <jolsa@redhat.com>
52163
52164 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52165 directive.
52166
ad69cc26
DM
521672011-08-24 David S. Miller <davem@davemloft.net>
52168
52169 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52170
39dd69df
AS
521712011-08-24 Andreas Schwab <schwab@redhat.com>
52172
52173 * elf/Makefile: Add rules to build and run unload8 test.
52174 * elf/unload8.c: New file.
52175 * elf/unload8mod1.c: New file.
52176 * elf/unload8mod1x.c: New file.
52177 * elf/unload8mod2.c: New file.
52178 * elf/unload8mod3.c: New file.
52179
52180 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52181 it wasn't used.
52182
2c0b250a
DM
521832011-08-23 David S. Miller <davem@davemloft.net>
52184
52185 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52186 subtract stack bias.
52187 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52188 %sp not %fp in calculations.
52189 (_JMPBUF_UNWINDS_ADJ): Likewise.
52190
22044b48
DM
52191 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52192 (aio_suspend): Call it to force an exception region around the
52193 AIO_MISC_WAIT() invocation.
52194
2cae4995
AS
521952011-08-23 Andreas Schwab <schwab@redhat.com>
52196
52197 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52198 backslash.
52199
873a772e
AJ
522002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52201
52202 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52203 protection macro.
52204 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52205 and <dl-machine.h>.
52206 (Elf64_FuncDesc): Remove.
52207
25ad0df1
DM
522082011-08-22 David S. Miller <davem@davemloft.net>
52209
52210 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52211 sigaltstack check, add missing cfi directives.
52212 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52213 missing cfi directives, and sigaltstack handling.
52214
e888bcbe
AS
522152011-08-16 Andreas Schwab <schwab@redhat.com>
52216
52217 [BZ #11724]
52218 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52219 object is seen twice.
52220 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52221
52222 * elf/Makefile (distribute): Add tst-initorder2.c.
52223 (tests): Add tst-initorder2.
52224 (modules-names): Add tst-initorder2a tst-initorder2b
52225 tst-initorder2c tst-initorder2d. Add rules to build them.
52226 ($(objpfx)tst-initorder2.out): New rule.
52227 * elf/tst-initorder2.c: New file.
52228 * elf/tst-initorder2.exp: New file.
52229
87162f46
AS
522302011-08-22 Andreas Schwab <schwab@redhat.com>
52231
70538b7f
AS
52232 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52233
f55ffe58
AS
52234 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52235 dependencies back to end of function.
52236
87162f46
AS
52237 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52238 $(elfobjdir)/ld.so.
52239
91b392a4
UD
522402011-08-21 Ulrich Drepper <drepper@gmail.com>
52241
52242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52243 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52245 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52246 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52247 of __vdso_gettimeofday.
52248 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52249 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52250 attribute_hidden.
52251 (_libc_vdso_platform_setup): Remove initialization of
52252 __vdso_gettimeofday and __vdso_time.
52253
5c43483f
UD
522542011-08-20 Ulrich Drepper <drepper@gmail.com>
52255
775a77e7
UD
52256 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52257 and fgetc_unlocked.
52258 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52259 getc_unlocked.
89f447ed 52260
49c74ba9
UD
52261 * elf/dl-open.c (add_to_global): Report additions to the global scope
52262 for LD_DEBUG=scopes.
52263 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52264 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52265
5c43483f
UD
52266 [BZ #13114]
52267 * stdio-common/Makefile (tests): Add bug24.
52268 * stdio-common/bug24.c: New file.
52269
a101b025
AJ
522702011-08-19 Andreas Jaeger <aj@suse.de>
52271
52272 [BZ #13114]
52273 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52274 non-existant file when using close-on-exec mode.
52275
c88f1766
UD
522762011-08-20 Ulrich Drepper <drepper@gmail.com>
52277
0276a718
UD
52278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52279 the very first instruction.
52280
c88f1766
UD
52281 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52282 the CFI state in the end.
52283 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52284 inclusion of dl-trampoline.h.
52285 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52286
51ccffa0
AS
522872011-08-19 Andreas Schwab <schwab@redhat.com>
52288
94d7165f
AS
52289 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52290 expectations for long double.
52291
51ccffa0
AS
52292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52293 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52294
fd708658 522952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52296
52297 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52298 artificual limit depends upon the system page size.
52299
44f0a71e
UD
523002011-08-17 Ulrich Drepper <drepper@gmail.com>
52301
52302 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52303 * resolv/Makefile: Define CFLAGS-libresolv.
52304
8de79a24
AS
523052011-08-17 Andreas Schwab <schwab@redhat.com>
52306
52307 * nss/makedb.c (compute_tables): Make variables used in nested
52308 function static.
52309
27724598
UD
523102011-08-17 Ulrich Drepper <drepper@gmail.com>
52311
c5305d88
UD
52312 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52313 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52314 if buffer was too small.
52315
27724598
UD
52316 * elf/pldd.c (main): Attach to all threads in the process.
52317 Rewrite /proc handling to use *at functions.
52318
076fe015
UD
523192011-08-16 Ulrich Drepper <drepper@gmail.com>
52320
174baab3
UD
52321 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52322 specifies first scope to show.
52323 (dl_open_worker): Update callers. Move printing scope of new
52324 object to before the relocation.
44f0a71e 52325 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52326 * sysdeps/generic/ldsodefs.h: Update declaration.
52327
076fe015
UD
52328 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52329 string for the scope number.
52330
a60df2c3
UD
523312011-08-14 Ulrich Drepper <drepper@gmail.com>
52332
52333 * nscd/servicescache.c (cache_addserv): Make sure written is always
52334 initialized.
52335
5e4287d1
RM
523362011-08-14 Roland McGrath <roland@hack.frob.com>
52337
85ae0589
RM
52338 * sysdeps/i386/i486/bits/atomic.h
52339 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52340 statement expression, so as to suppress "set but not used" warning.
52341 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52342
69f63097
RM
52343 * string/strncat.c (STRNCAT): Use prototype definition.
52344
675456ef
RM
52345 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52346 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52347 -Iprograms here.
52348 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52349 (localedef-modules): Add localedef.
52350 (locale-modules): Add locale.
52351
5e4287d1
RM
52352 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52353 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52354 to avoid a warning.
52355
9c96ff23
DM
523562011-08-14 David S. Miller <davem@davemloft.net>
52357
52358 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52359 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52360
f9ddf089
UD
523612011-08-13 Ulrich Drepper <drepper@gmail.com>
52362
44f0a71e 52363 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52364 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52365 * elf/rtld.c (dl_main): Set l_name of vDSO.
52366 Call _dl_show_scope when DL_DEBUG_SCOPES.
52367 (process_dl_debug): Recognize scopes flag and also set it for all.
52368 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52369 Declare _dl_show_scope.
52370
1dc27704
UD
52371 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52372 (do_dlopen): Pass caller_dlopen to dl_open.
52373 (__libc_dlopen_mode): Initialize caller_dlopen.
52374
f9ddf089
UD
52375 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52376 of libc. Make tolower call locale-independent. Optimize a bit by
52377 using isdigit instead of isalnum.
52378 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52379
9ac533d3
UD
523802011-08-12 Ulrich Drepper <drepper@gmail.com>
52381
52382 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52383 was a dependency or dynamically loaded.
52384
89edf2e9
UD
523852011-08-11 Ulrich Drepper <drepper@gmail.com>
52386
8e999d29
UD
52387 * intl/l10nflist.c: Allow architecture-specific pop function.
52388 * sysdeps/x86_64/l10nflist.c: New file.
52389
89edf2e9
UD
52390 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52391 classification.
52392
14d96785
AS
523932011-08-10 Andreas Schwab <schwab@redhat.com>
52394
52395 * include/dirent.h: Add libc_hidden_proto for scandirat and
52396 scandirat64. Don't declare __scandirat64.
52397 * dirent/scandirat.c: Add libc_hidden_def.
52398 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52399 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52400
6761ac04
DM
524012011-08-10 David S. Miller <davem@davemloft.net>
52402
52403 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52404 enum.
52405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52408
c55fbd1e
UD
524092011-08-09 Ulrich Drepper <drepper@gmail.com>
52410
52411 * Versions.def [libc]: Add GLIBC_2.15.
52412 * dirent/Makefile (routines): Add scandirat and scandirat64.
52413 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52414 GLIBC_2.15.
52415 * dirent/dirent.h: Declare scandirat and scandirat64.
52416 * dirent/scandirat.c: New file.
52417 * dirent/scandirat64.c: New file.
52418 * sysdeps/wordsize-64/scandirat.c: New file.
52419 * sysdeps/wordsize-64/scandirat64.c: New file.
52420 * dirent/opendir.c: Define opendirat.
52421 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52422 using scandirat.
52423 * dirent/scandir64.c: Adjust for scandir.c change.
52424 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52425 __scandirat64, and __scandir_cancel_handler.
52426 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52427 additional parameter and use openat instead of open (outside of ld.so).
52428 Add new __opendir as wrapper around __opendirat.
52429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52430 here without requiring old scandirat implementation.
52431
879165f2
UD
524322011-08-08 Ulrich Drepper <drepper@gmail.com>
52433
52434 * dirent/scandir.c (cancel_handler): Renamed to
52435 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52436 defined. Adjust users.
52437 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52438 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52439
cb7e923b
UD
524402011-08-04 Ulrich Drepper <drepper@gmail.com>
52441
16292edd
UD
52442 * string/test-string.h (IMPL): Use __STRING to expand name and then
52443 stringify it.
52444
cb7e923b
UD
52445 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52446 of cleanups.
52447
cff82933
LD
524482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52449
52450 * string/Makefile: Update.
52451 (strop-tests): Append strncat.
52452 * string/test-wcscmp.c: New file.
52453 New comprehensive test for wcscmp.
52454 * string/test-strcmp.c: Update.
52455 (WIDE): New define.
52456
9be9bfcc
AS
524572011-07-22 Andreas Schwab <schwab@redhat.com>
52458
52459 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52460 line.
52461
2e96f1c7
AS
524622011-07-26 Andreas Schwab <schwab@redhat.com>
52463
52464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52465 encoding to ACE if AI_IDN.
52466
85188888
JJ
524672011-08-01 Jakub Jelinek <jakub@redhat.com>
52468
52469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52470 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52471
5fa16e9b
LD
524722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52473
52474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52475 Fix overflow bug in strncat.
52476 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52477
52478 * string/test-strncat.c: Update.
52479 Add new tests for checking overflow bugs.
52480
524812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52482
52483 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52484 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52485 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52486 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52487 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52488 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52489 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52490 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52491 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52492
52493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52494 (USE_AS_STRCAT): Define.
52495 Add strcat and strncat support.
52496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52497
8c1a459f
AS
524982011-07-25 Andreas Schwab <schwab@redhat.com>
52499
52500 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52501 __n bigger than INT_MAX+1.
52502 (__strncmp_g): Likewise.
52503
bba33c28
UD
525042011-07-23 Ulrich Drepper <drepper@gmail.com>
52505
798be72d
UD
52506 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52507 * libio/stido.h: Likewise.
52508
8accd4dc
UD
52509 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52510 (AF_NFC): Define.
52511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52512 (AF_NFC): Define.
52513
cbff0d96
UD
52514 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52515 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52516 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52517 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52519
9191c04a
UD
52520 [BZ #13021]
52521 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52522 installed.
52523
bba33c28
UD
52524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52525 typo.
52526 (_dl_x86_64_save_sse): Likewise.
52527
90f139dd
UD
525282011-07-22 Ulrich Drepper <drepper@gmail.com>
52529
1aae088a
UD
52530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52531 OSXSAVE.
52532 (_dl_x86_64_save_sse): Likewise.
52533
8e2045f5
UD
52534 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52535
90f139dd
UD
52536 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52537
1d002f25
AS
525382011-07-21 Andreas Schwab <schwab@redhat.com>
52539
52540 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52541 change.
52542 (_dl_x86_64_save_sse): Use correct AVX check.
52543
21137f89
UD
525442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52545
52546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52547 bug in strncpy/strncat.
52548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52549
a65c0b7a
UD
525502011-07-21 Ulrich Drepper <drepper@gmail.com>
52551
52552 * string/tester.c (test_strcat): Add tests for different alignments
52553 of source and destination.
52554 (test_strncat): Likewise.
52555
6986b98a
UD
525562011-07-20 Ulrich Drepper <drepper@gmail.com>
52557
90bb2039
UD
52558 [BZ #12852]
52559 * posix/glob.c (glob): Check passed in values before using them in
52560 expressions to avoid some overflows.
52561 (glob_in_dir): Likewise.
52562
5644ef54
UD
52563 [BZ #13007]
52564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52565 check for AVX enablement so that we don't crash with old kernels and
52566 new hardware.
52567 * elf/tst-audit4.c: Add same checks here.
52568 * elf/tst-audit6.c: Likewise.
52569
52570 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52571
bfc9dc9b
AS
525722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52573
52574 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52575
702e64bb
UD
525762011-07-20 Ulrich Drepper <drepper@gmail.com>
52577
52578 * po/cs.po: Update from translation team.
52579 * po/bg.po: Likewise.
52580
295e904f
MP
525812011-07-12 Marek Polacek <mpolacek@redhat.com>
52582
52583 * misc/sys/cdefs.h: Add support for const attribute.
52584 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52585 to gnu_dev_{major,minor,makedev} functions.
52586
3ff94596
MP
525872011-07-20 Marek Polacek <mpolacek@redhat.com>
52588
52589 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52590
28b59fca
AS
525912011-07-20 Andreas Schwab <schwab@redhat.com>
52592
52593 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52594 strlen results.
52595
19df733e
AK
525962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52597
52598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52599 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52600 register in order to avoid conflicts with the soft frame pointer
52601 being held in r11 when necessary.
52602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52603 (INTERNAL_VSYSCALL_NCS): Likewise.
52604
c8835729
MP
526052011-07-14 Marek Polacek <mpolacek@redhat.com>
52606
52607 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52608 * elf/dl-fini.c (_dl_fini): Adjust caller.
52609 * elf/dl-close.c (_dl_close_worker): Likewise.
52610 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52611
b902330c
MP
526122011-07-15 Marek Polacek <mpolacek@redhat.com>
52613
8991e135
MP
52614 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52615 "aux_cache->nlibs < 0".
52616
b902330c
MP
52617 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52618 in the reload-count case.
52619
99710781
LD
526202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52621
52622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52623 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52624 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52625 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52626 * sysdeps/x86_64/multiarch/strcat.S: New file.
52627 * sysdeps/x86_64/multiarch/strncat.S: New file.
52628 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52629 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52630 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52631 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52632 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52633 (USE_AS_STRCAT): Define.
52634 Add strcat and strncat support.
52635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52636 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52637 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52638 * string/strncat.c: Update.
52639 (USE_AS_STRNCAT): Define.
52640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52641 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52642 and i7.
52643 * sysdeps/x86_64/multiarch/init-arch.h
52644 (bit_Prefer_PMINUB_for_stringop): New.
52645 (index_Prefer_PMINUB_for_stringop): Likewise.
52646 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52647 bit_Prefer_PMINUB_for_stringop.
52648
7dc6bd90
UD
526492011-07-19 Ulrich Drepper <drepper@gmail.com>
52650
52651 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52652 buffer64.
52653 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52654 of casting of buffer.
52655 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52656 buffer32 and buffer64.
52657 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52658 writes instead of casting of buffer.
52659 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52660 buffer32.
52661 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52662 casting of buffer.
52663
e0e72284
AS
526642011-07-19 Andreas Schwab <schwab@redhat.com>
52665
52666 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52667
feb1eb0b
UD
526682011-07-19 Ulrich Drepper <drepper@gmail.com>
52669
52670 * nscd/nscd.c (termination_handler): Don't do anything for a database
52671 if it has not yet been initialized.
52672
298711ff
UD
526732011-07-18 Ulrich Drepper <drepper@gmail.com>
52674
52675 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52676
526772011-07-15 Marek Polacek <mpolacek@redhat.com>
52678
52679 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52680
f9d68389
UD
526812011-07-18 Ulrich Drepper <drepper@gmail.com>
52682
52683 * po/nl.po: Update from translation team.
52684 * po/sv.po: Likewise.
52685
db290cf5
RM
526862011-07-16 Roland McGrath <roland@hack.frob.com>
52687
52688 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52689 now disallowed by GCC.
5c550700 52690
fd5e21c7
RM
52691 * configure.in (use-default-link): Default to yes if a test -shared
52692 link meets our qualifications.
52693 * configure: Regenerated.
52694
5c550700
RM
52695 * config.make.in (output-format): New variable.
52696 * configure.in: Check for ld --print-output-format support.
52697 * configure: Regenerated.
52698 * Makerules ($(common-objpfx)format.lds)
52699 [$(output-format) != unknown]: Just use $(output-format),
52700 instead of the linker-script munging.
52701
9fa2c032
RM
527022011-07-14 Roland McGrath <roland@hack.frob.com>
52703
a6928d51
RM
52704 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52705 of $(common-objpfx)shlib.lds.
52706 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52707
661607b3
RM
52708 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52709 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52710
9fa2c032
RM
52711 * configure.in (-z relro check): Adjust test code to add a large
52712 writable data section after it.
52713 * configure: Regenerated.
52714
defe9061
RM
527152011-07-11 Roland McGrath <roland@hack.frob.com>
52716
52717 * configure.in (-z relro check): Fix test code to make the variable
52718 truly const.
52719 * configure: Regenerated.
52720
319b9ad4
UD
527212011-07-11 Ulrich Drepper <drepper@gmail.com>
52722
52723 * nscd/nscd.h (struct traced_file): Define.
52724 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52725 elements. Add traced_files.
52726 (inotify_fd): Declare.
52727 (register_traced_file): Declare.
52728 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52729 (inotify_fd): Export.
52730 (resolv_conf_descr): Remove.
52731 (nscd_init): Move inotify descriptor creation to main.
52732 Don't register files for notification here.
52733 (register_traced_file): New function.
52734 (invalidate_cache): Don't use reset_res to determine whether to call
52735 res_init, go through the list of registered files.
52736 (main_loop_poll): The inotify descriptors are now stored in the
52737 structures for the traced files.
52738 (main_loop_epoll): Likewise
52739 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52740 to __nss_disable_nscd.
52741 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52742 for a database anymore. Check the records for all the registered
52743 files instead.
52744 * nss/Makefile (libnss_files-routines): Add files-init.
52745 (libnss_db-routines): Add db-init.
52746 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52747 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52748 * nss/nss_db/db-init.c: New file.
52749 * nss/nss_files/files-init.c: New file.
52750 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52751 __nss_lookup_function.
52752 (__nss_lookup_function): Call nss_load_library.
52753 (nss_load_all_libraries): New function.
52754 (__nss_disable_nscd): Take parameter with callback function for files
52755 to register. Set is_nscd. Load all the DSOs for the NSS modules
52756 used for the cached services.
52757 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52758 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52759 options for features to all the files in nscd.
52760
52761 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52762
23bee3e8
RM
527632011-07-10 Roland McGrath <roland@hack.frob.com>
52764
52765 * csu/elf-init.c (__libc_csu_init): Comment typo.
52766
46a5b7f0
UD
527672011-07-09 Ulrich Drepper <drepper@gmail.com>
52768
52769 * po/pl.po: Update from translation team.
52770 * po/ja.po: Likewise.
52771 * po/ru.po: Likewise.
52772 * po/ko.po: Likewise.
52773 * po/fr.po: Likewise.
52774
d30cf5bb
RM
527752011-07-09 Roland McGrath <roland@hack.frob.com>
52776
113ddea4
RM
52777 * configure.in (.ctors/.dtors header and trailer check):
52778 Use an empirical test on a built program.
52779 * configure: Regenerated.
52780
574920b4
RM
52781 * configure.in (-z relro check): Use an empirical test on a built DSO.
52782 Detect, but do not require, on ia64.
52783 * configure: Regenerated.
52784
d30cf5bb
RM
52785 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52786 Update tests that use readelf to use $READELF instead.
52787 * configure: Regenerated.
52788
8538fdb3
UD
527892011-07-08 Ulrich Drepper <drepper@gmail.com>
52790
52791 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52792 if the result is not used.
52793
04d08991
AJ
527942011-07-05 Andreas Jaeger <aj@suse.de>
52795
52796 [BZ#9696]
52797 * stdlib/tst-strtod.c: Add testcase.
52798
de283087
AD
527992011-07-07 Ulrich Drepper <drepper@gmail.com>
52800
4e5f31c8 52801 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52802 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52803 The latter has a higher limit. Take additional parameter to pass to
52804 the new function.
52805 (__pathconf): Pass file to __statfs_link_max.
52806 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52807 __statfs_link_max.
52808 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52809 __statfs_link_max.
52810
de283087
AD
52811 [BZ #12868]
52812 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52813 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52814 Handle Lustre.
52815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52816 (__statfs_filesize_max): Likewise.
52817 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52818
c75fa153
AJ
528192011-07-05 Andreas Jaeger <aj@suse.de>
52820
52821 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52822
1a544854
UD
528232011-07-06 Marek Polacek <mpolacek@redhat.com>
52824
52825 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52826 `status' variable.
52827 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52828 Likewise.
52829
6f0eec67
UD
528302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52831
52832 * Makefile (strop-tests): Add strncat.
52833 * string/test-strncat.c: New file.
52834
aae30307
UD
528352011-06-30 Marek Polacek <mpolacek@redhat.com>
52836
52837 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52838
c0cfb5eb
UD
528392011-06-21 Andreas Jaeger <aj@suse.de>
52840
52841 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52842 Copy rule from iconvdata/Makefile.
52843
01636b21
UD
528442011-07-06 Ulrich Drepper <drepper@gmail.com>
52845
52846 [BZ #12922]
52847 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52848 but no long options are defined, just return 'W'.
52849
9895c8bc
UD
528502011-06-22 Marek Polacek <mpolacek@redhat.com>
52851
52852 [BZ #9696]
52853 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52854
5d4cf042
UD
528552011-07-06 Ulrich Drepper <drepper@gmail.com>
52856
52857 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52858 netgroups to read.
960e5535 52859 (innetgr): Likewise.
5d4cf042 52860
751eb97e
RM
528612011-07-05 Roland McGrath <roland@hack.frob.com>
52862
52863 * config.make.in (install_root): Default to $(DESTDIR).
52864
f15f1e45
UD
528652011-07-05 Ulrich Drepper <drepper@gmail.com>
52866
52867 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52868
4e34ac6a
RM
528692011-07-02 Roland McGrath <roland@hack.frob.com>
52870
5e9b6af4
RM
52871 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52872
84f9ea0f
RM
52873 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52874 containing directory rather than embedding absolute directory names.
52875
ea5ee9f7
RM
52876 * scripts/check-local-headers.sh: Rewritten using awk.
52877 Match by word, not by line. Print error messages for matches.
52878 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52879
1b74661a
RM
52880 * Makerules [shlib-lds-flags empty]:
52881 ($(common-objpfx)libc_pic.opts): New target.
52882 ($(common-objpfx)libc_pic.os.clean): New target.
52883 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52884
52885 * config.make.in (OBJCOPY): New variable.
52886 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52887 * configure: Regenerated.
52888
f781ef40
RM
52889 * config.make.in (use-default-link): New variable.
52890 * configure.in (use_default_link): Grok --with-default-link to set it.
52891 * configure: Regenerated.
52892 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52893 (shlib-lds, shlib-lds-flags): Define to empty.
52894
2d4fa81e
RM
52895 * Makerules (shlib-lds): New variable.
52896 (shlib-lds-flags): New variable.
52897 (build-shlib, build-moduile, build-module-asneeded): Use it.
52898 ($(common-objpfx)libc.so): Use $(shlib-lds).
52899 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52900 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52901
31fffa6b
RM
52902 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52903 DT_FLAGS/DT_FLAGS_1 with zero flags.
52904
4e34ac6a
RM
52905 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52906 linker script munging.
52907
fcfc776b
UD
529082011-07-02 Ulrich Drepper <drepper@gmail.com>
52909
52910 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52911 as 128-bit value.
52912 * crypt/sha512.c (sha512_process_block): Perform total addition using
52913 128-bit if possible.
52914 (__sha512_finish_ctx): Likewise.
52915 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52916 as 64-bit value.
52917 * crypt/sha256.c (SWAP64): Define.
52918 (sha256_process_block): Perform total addition using 64-bit if
52919 possible.
52920 (__sha256_finish_ctx): Likewise.
52921
99231d9a
UD
529222011-07-01 Ulrich Drepper <drepper@gmail.com>
52923
52924 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52925 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52926 * nscd/hstcache.c (cache_addhst): Likewise.
52927 * nscd/grpcache.c (cache_addgr): Likewise.
52928 * nscd/aicache.c (addhstaiX): Likewise
52929 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52930
445b4a53
TK
529312011-07-01 Thorsten Kukuk <kukuk@suse.de>
52932
52933 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52935 * nscd/hstcache.c (cache_addhst): Likewise.
52936 * nscd/grpcache.c (cache_addgr): Likewise.
52937 * nscd/aicache.c (addhstaiX): Likewise
52938
6d4d8e8e
AS
529392011-07-01 Andreas Schwab <schwab@redhat.com>
52940
52941 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52942 domain only when needed.
52943
89f654c5
AS
529442011-06-30 Andreas Schwab <schwab@redhat.com>
52945
52946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52947 is always restored.
52948
cf3b23ff
UD
529492011-06-29 Ulrich Drepper <drepper@gmail.com>
52950
52951 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52952 are re-adding the entry.
52953 * nscd/servicescache.c (cache_addserv): Likewise.
52954
751626f9
AJ
529552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52956
52957 * sysdeps/generic/dl-irel.h: fix protection against multiple
52958 inclusions.
52959 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52960
9113ea1f
UD
529612011-06-28 Ulrich Drepper <drepper@gmail.com>
52962
5c0b8d90
UD
52963 [BZ #12935]
52964 * malloc/memusage.sh: Fix quoting in message.
52965 * debug/xtrace.sh: Likewise.
52966
9113ea1f
UD
52967 * configure.in: Remove support for --experimental-malloc option, make
52968 it the default.
52969 * config.make.in: Likewise.
52970 * malloc/Makefile: Likewise.
52971
a4172181
AS
529722011-06-27 Andreas Schwab <schwab@redhat.com>
52973
52974 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52975 two-byte characters.
52976
78a7eee7
RM
529772011-06-27 Roland McGrath <roland@hack.frob.com>
52978
62bede13
RM
52979 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52980 AC_CACHE_CHECK invocation.
52981 * configure: Regenerated.
52982
78a7eee7
RM
52983 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52984
5ce33a62
UD
529852011-06-27 Ulrich Drepper <drepper@gmail.com>
52986
034807a9
UD
52987 [BZ #12350]
52988 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52989 bit from old_res_options.
52990
4902da17
UD
52991 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52992
5ce33a62
UD
52993 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52994 value type for setfct.
52995
c2344f56
L
529962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52997
52998 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52999 __gettimeofday instead of gettimeofday.
53000
68468076
UD
530012011-06-26 Ulrich Drepper <drepper@gmail.com>
53002
53003 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53004
acb0d739
L
530052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53006
53007 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53008
53009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53010 info.
53011
8912479f
L
530122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53013
53014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53015 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53016 strcpy-sse2-unaligned strncpy-sse2-unaligned
53017 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53018 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53019 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53020 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53021 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53022 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53023 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53024 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53025 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53026 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53027 (STRCPY): Support SSE2 and SSSE3 versions.
53028
d5495a11
UD
530292011-06-24 Ulrich Drepper <drepper@gmail.com>
53030
53031 [BZ #12874]
53032 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53033 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53034 kernels which artificially limit size of requests.
53035
0b1cbaae
L
530362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53037
53038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53039 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53040 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53041 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53042 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53043 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53044 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53045 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53048 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53049 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53050 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53051 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53052 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53054 Enable unaligned load optimization for Intel Core i3, i5 and i7
53055 processors.
53056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53057 Define.
53058 (index_Fast_Unaligned_Load): Define.
53059 (HAS_FAST_UNALIGNED_LOAD): Define.
53060
07f494a0
MP
530612011-06-23 Marek Polacek <mpolacek@redhat.com>
53062
53063 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53064
fa3fc0fe
UD
530652011-06-22 Ulrich Drepper <drepper@gmail.com>
53066
53067 [BZ #12907]
53068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53069 until it is clear that the information is realy needed.
53070 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53071
e12df166
AS
530722011-06-22 Andreas Schwab <schwab@redhat.com>
53073
53074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53075
852eb34d
UD
530762011-06-22 Ulrich Drepper <drepper@gmail.com>
53077
84e2a551
UD
53078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53079 /sys/devices/system/cpu/online if it is usable.
53080
852eb34d
UD
53081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53082 reading the information from the /proc filesystem to once a second.
53083
6e502e19
UD
530842011-06-21 Andreas Jaeger <aj@suse.de>
53085
53086 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53087 NULL after inclusion of kernel headers.
53088
75d39ff2
UD
530892011-06-21 Ulrich Drepper <drepper@gmail.com>
53090
51f9aa6a
UD
53091 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53092 calls to internal_setent.
53093
c0244a9d
UD
53094 [BZ #12885]
53095 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53096 addresses using gethostbyname4_r ignore IPv4 addresses.
53097
c5e3c2ae
UD
53098 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53099 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53100
75d39ff2
UD
53101 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53102
42675c6f
DM
531032011-06-20 David S. Miller <davem@davemloft.net>
53104
53105 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53106 inclusions.
53107 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53108
53109 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53110 (elf_irel): Use it.
53111 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53112 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53113 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53114 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53115 * sysdeps/x86_64/dl-irel.h: Likewise.
53116
53117 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53118 * elf/dl-sym.c: Likewise.
53119
57912a71
UD
531202011-06-15 Ulrich Drepper <drepper@gmail.com>
53121
53122 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53123 need to dereference resplen2.
53124
ee22793d
AS
531252011-06-14 Andreas Schwab <schwab@redhat.com>
53126
53127 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53128
a9e836b0
UD
531292011-06-15 Ulrich Drepper <drepper@gmail.com>
53130
77fb9117
UD
53131 * Makeconfig: Define vardbdir and inst_vardbdir.
53132 * nss/Makefile: Add rules to install db-Makefile.
53133
40c1b22c
UD
53134 * nss/nss_db/db-XXX.c: Cleanup.
53135
9f2da732
UD
53136 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53137 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53138 GLIBC_PRIVATE.
53139 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53140 * nss/makedb.c: Implement -g option to specify that value strings
53141 are generated and should not be added to table iterated over for
53142 get*ent calls.
53143 * nss/nss_db/db-initgroups.c: New file.
53144
82e9a1f7
UD
53145 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53146 interface.
53147
c41af17e
UD
53148 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53149 (internal_getgrouplist): Adjust to name change.
53150 Update use_initgroups_entry if this is not the first call.
53151 * nss/databases.def: Add initgroups entry.
53152
a9e836b0
UD
53153 * nss/makedb.c (compute_tables): Check result of multiple hash table
53154 sizes to minimize maximum chain length.
53155
2666d441
UD
531562011-06-14 Ulrich Drepper <drepper@gmail.com>
53157
53158 * Versions.def: Add entry for libnss_db.
53159 * shlib-versions: Likewise.
53160 * nss/Makefile: Add rules to build libnss_db.
53161 * nss/Versions: Add libnss_db information. Organize libnss_files
53162 entries better.
53163 * nss/db-Makefile: Add gshadow support. Change rules for the new
53164 makedb progra. Some minor improvements to generate smaller files.
53165 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53166 here from...
53167 * nss/makedb.c: ...here.
53168 Improve database format to be smaller and require less memory at
53169 runtime.
53170 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53171 db anymore.
53172 * nss/nss_db/db-netgrp.c: Likewise.
53173 * nss/nss_db/db-open.c: Likewise.
53174 * nss/nss_files/flies-XXX.x: Adjust comments.
53175 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53176 * nss/nss_files/files-grp.c: Likewise.
53177 * nss/nss_files/files-hosts.c: Likewise.
53178 * nss/nss_files/files-network.c: Likewise.
53179 * nss/nss_files/files-proto.c: Likewise.
53180 * nss/nss_files/files-pwd.c: Likewise.
53181 * nss/nss_files/files-rpc.c: Likewise.
53182 * nss/nss_files/files-service.c: Likewise.
53183 * nss/nss_files/files-sgrp.c: Likewise.
53184 * nss/nss_files/files-spwd.c: Likewise.
53185 * nss/nss_db/db-alias.c: Removed.
53186 * nss/nss_db/dummy-db.h: Removed.
53187
9ee76b5a
UD
531882011-06-02 Ulrich Drepper <drepper@gmail.com>
53189
53190 * nss/makedb.c: Rewritten to not use database library.
53191 * nss/Makefile: Update to build new makedb program.
53192
c71ca1f8
AJ
531932011-06-14 Andreas Jaeger <aj@suse.de>
53194
53195 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53196 memset declaration.
53197
3154bfb8
UD
531982011-06-10 Andreas Schwab <schwab@redhat.com>
53199
53200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53201 tmpbuf.
53202
b350afab
RM
532032011-06-10 Roland McGrath <roland@hack.frob.com>
53204
decd4e50
RM
53205 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53206 * elf/Makefile ($(objpfx)ld.so): Likewise.
53207
5615eaf2
RM
53208 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53209 Don't list ld.so twice in dependencies.
53210
53211 * posix/bug-regex31.c: Include <stdlib.h>.
53212
53213 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53214
53215 * nis/nss_compat/compat-spwd.c
53216 (getspent_next_nss_netgr): Remove unused variable.
53217 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53218
53219 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53220 nonmembers" output to use the right array.
53221
53222 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53223
53224 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53225
53226 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53227 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53228 * catgets/gencat.c (read_input_file): Likewise.
53229 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53230
53231 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53232 variable definition inside #if's controlling its use.
53233
53234 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53235
53236 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53237
53238 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53239
53240 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53241 unreachable code.
53242
53243 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53244
b68e08db
RM
53245 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53246 * configure: Regenerated.
53247
b350afab
RM
53248 * Makerules: Revert last change.
53249 * elf/Makefile: Likewise.
53250
28368601
RM
532512011-06-09 Roland McGrath <roland@hack.frob.com>
53252
53253 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53254 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53255 (reloc-link): Likewise.
53256
11988f8f
UD
532572011-06-09 Ulrich Drepper <drepper@gmail.com>
53258
53259 * elf/Makefile: Add rules to build pldd.
53260 * elf/pldd.c: New file.
53261 * elf/pldd-xx.c: New file.
53262
e80fab37
UD
532632011-06-07 Ulrich Drepper <drepper@gmail.com>
53264
53265 * version.h: Update for 2.15 development version.
53266
9b849836
DM
532672011-06-07 David S. Miller <davem@davemloft.net>
53268
53269 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53270 ifuncs.
53271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53272 elf_machine_lazy_rel): Likewise.
53273 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53275 elf_machine_lazy_rel): Likewise.
53276 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53277 dl_hwcap via passed in argument.
53278 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53279 Likewise.
53280
5a31b283
AK
532812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53282
53283 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53284
069e52f8
RM
532852011-06-06 Roland McGrath <roland@hack.frob.com>
53286
53287 [BZ #12849]
53288 * manual/fdl-1.1.texi: New file, verbatim from:
53289 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53290 * manual/lgpl-2.1.texi: New file, verbatim from:
53291 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53292 * manual/Makefile (licenses): New variable, list those new file names.
53293 (texis): Use it.
53294 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53295
53296 * manual/fdl.texi: File removed.
53297 * manual/lesser.texi: File removed.
53298 * manual/libc.texinfo (Copying, Documentation License):
53299 Use new @include file names, put @appendix directive before @include.
53300
f16846a5
JJ
533012011-06-04 Jakub Jelinek <jakub@redhat.com>
53302
53303 [BZ #12841]
53304 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53305 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53306 (mq_open): Add __NTH.
53307
3d29045b
L
533082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53309
53310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53311 Assume Intel Core i3/i5/i7 processor if AVX is available.
53312
8c297311
UD
533132011-05-31 Ulrich Drepper <drepper@gmail.com>
53314
53315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53316 typo.
53317
c8fc0c91
UD
533182011-05-31 Andreas Schwab <schwab@redhat.com>
53319
53320 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53321 memory. Use alloca_account. Fix memory leak when retrying.
53322
5b27a807
UD
533232011-05-31 Ulrich Drepper <drepper@gmail.com>
53324
356f8bc6
UD
53325 * version.h (RELEASE): Bump for 2.14 release.
53326 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53327
5b27a807
UD
53328 * config.make.in (RANLIB): Remove entry.
53329
01f16ab0
UD
533302011-05-30 Ulrich Drepper <drepper@gmail.com>
53331
41fce8bd
UD
53332 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53333 (libc.pot): Work around missing support for .ksh extension in xgettext.
53334
4769ae77
UD
53335 [BZ #12684]
53336 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53337 if both request failed.
53338 (send_dg): In case of server errors clear resplen or *resplen2.
53339
6b1e7d19
UD
53340 [BZ #12454]
53341 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53342 when there are multiple maps.
53343 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53344 (_dl_fini): Remove test here.
53345
01f16ab0
UD
53346 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53347
b1ebd700
UD
533482011-05-29 Ulrich Drepper <drepper@gmail.com>
53349
7ae22829
UD
53350 [BZ #12350]
53351 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53352 bit from old_res_options.
53353 (gaih_inet): Likewise.
53354
553149f6 53355 [BZ #11099]
18a84741 53356 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53357 as signed.
53358
652ffab1
UD
53359 * resolv/res_init.c (res_setoptions): Make the code more compact.
53360
16985fd0
UD
53361 [BZ #11558]
53362 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53363 set RES_USEVC.
53364
0464f746
UD
53365 [BZ #11634]
53366 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53367
7d17596c
UD
53368 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53369
cf6bbbd7
UD
53370 [BZ #11781]
53371 * malloc/malloc.h: Declare malloc hook variables as volatile.
53372
13f1ab36
UD
53373 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53374 in last patch.
53375
b1ebd700
UD
53376 [BZ #11799]
53377 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53378 raise in the comment.
80e2212d
UD
53379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53380 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53381 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53382
ce67228d
UD
533832011-05-28 Ulrich Drepper <drepper@gmail.com>
53384
8887a920
UD
53385 [BZ #12811]
53386 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53387 grow the buffers more if it already has to be sufficient.
53388 (build_wcs_upper_buffer): Likewise.
53389 * posix/regexec.c (check_matching): Likewise.
53390 (clean_state_log_if_needed): Likewise.
53391 (extend_buffers): Don't enlarge buffers beyond size of the input
53392 buffer.
53393 Patches mostly by Emil Wojak <emil@wojak.eu>.
53394 * posix/bug-regex32.c: New file.
53395 * posix/Makefile (tests): Add bug-regex32.
53396
4f031072
UD
53397 * locale/findlocale.c (_nl_find_locale): Return right away if
53398 _nl_explode_name failed.
53399 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53400
d0478f0c
UD
53401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53402
de81b246
UD
53403 * debug/xtrace.sh: Unify messages.
53404 * malloc/memusage.sh: Likewise.
53405
c738465a
UD
53406 [BZ #12813]
53407 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53408 time symbol from vDSO. Substitute with vsyscall if not available.
53409 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53410 __vdso_time.
53411
f1f929d7
UD
53412 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53413 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53414 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53415 Add sendmmsg and internal_sendmmsg.
53416 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53417 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53418 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53419
ce67228d
UD
53420 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53421 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53423
e57420c6
UD
534242011-05-27 Ulrich Drepper <drepper@gmail.com>
53425
a8509ca5
UD
53426 [BZ #12813]
53427 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53428 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53429 available.
53430 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53431 __vdso_getcpu.
53432
e57420c6
UD
53433 [BZ #12814]
53434 * iconvdata/Makefile (tests): Add bug-iconv9.
53435 * iconvdata/bug-iconv9.c: New file.
53436
4d07db15
AS
534372011-05-27 Andreas Schwab <schwab@redhat.com>
53438
53439 [BZ #12814]
53440 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53441
ea486f69
JJ
534422011-05-25 Jakub Jelinek <jakub@redhat.com>
53443
53444 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53445 (struct user_regs_struct): Change intcs field back to cs.
53446
6f038433
UD
534472011-05-25 Ulrich Drepper <drepper@gmail.com>
53448
53449 * po/ja.po: Update from translation team.
53450
67f86a25
UD
534512011-05-23 Ulrich Drepper <drepper@gmail.com>
53452
53453 [BZ #12795]
53454 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53455 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53456
def7fbd6
AS
534572011-05-20 Andreas Schwab <schwab@redhat.com>
53458
53459 * stdlib/longlong.h: Update from GCC.
53460
f50ef8f1
AS
534612011-05-23 Andreas Schwab <schwab@redhat.com>
53462
53463 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53464 parameter name.
53465 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53466 Add parameter name.
53467 (__sysconf): Pass it down.
53468
de7ce8f1
UD
534692011-05-22 Ulrich Drepper <drepper@gmail.com>
53470
f2962a71
UD
53471 [BZ #12671]
53472 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53473 some situations.
53474 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53475 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53476 add in in __libc_use_alloca calls. Adjust callers.
53477 (glob): Use malloc in some situations.
53478
de7ce8f1
UD
53479 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53480 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53481 pltexit.
53482
aec84f53
UD
534832011-05-21 Ulrich Drepper <drepper@gmail.com>
53484
05bb4a68
UD
53485 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53486 and CLOCK_BOOTTIME_ALARM.
53487
7ea72f99
UD
53488 [BZ #12782]
53489 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53490 is returned.
53491
7e4afad5
UD
53492 * string/_strerror.c (__strerror_r): Print negative errors as signed
53493 numbers.
53494
8e211fec
UD
53495 [BZ #12777]
53496 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53497 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53498 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53499
f7d82dc9
UD
53500 * configure.in: Fix typo in redirection and correct removal of test
53501 files in two cases.
53502
cc9e536d
UD
53503 [BZ #12788]
53504 * locale/setlocale.c (new_composite_name): Fix test to check for
53505 identical name of all categories.
53506
aec84f53
UD
53507 [BZ #12792]
53508 * libio/filedoalloc.c (local_isatty): New function.
53509 (_IO_file_doallocate): Use local_isatty.
53510 * stdio-common/perror.c (perror): In case a new stream is used
53511 forward the stream error.
53512 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53513 error flag.
53514
78e64fdc
RT
535152011-05-20 Ulrich Drepper <drepper@gmail.com>
53516
34a9094f
UD
53517 [BZ #11869]
53518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53519 alloca.
53520 * include/alloca.h (extend_alloca_account): Define.
53521
78e64fdc
RT
53522 [BZ #11857]
53523 * posix/regex.h: Fix comments with documentation of user-accessible
53524 fields after compilation and describe correct free'ing of pattern
53525 after re_compile_pattern.
53526 Patch by Reuben Thomas <rrt@sc3d.org>.
53527
457bddfc
RA
535282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53529
53530 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53531 and -mno-altivec to prevent the compiler from using Altivec and/or
53532 VSX instructions when the corresponding registers are not available.
53533
a4527b51
AS
535342011-05-19 Andreas Schwab <schwab@redhat.com>
53535
53536 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53537
ed690b2f
UD
535382011-05-19 Ulrich Drepper <drepper@gmail.com>
53539
53540 * libio/freopen.c (freopen): Use __dup2, not dup2.
53541 * libio/freopen64.c (freopen64): Likewise.
53542
8db73634
L
535432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53544
53545 [BZ #12775]
53546 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53547 * math/Makefile (tests): Add test-powl.
53548 (CFLAGS-test-powl.c): Define.
53549 * math/test-powl.c: New file.
53550
0a197a9d
L
535512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53552
53553 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53554
ee30c380
UD
535552011-05-17 Ulrich Drepper <drepper@gmail.com>
53556
53557 [BZ #11837]
53558 * iconvdata/gb18030.c: Update to GB18020-2005.
53559
6ce75379
UD
535602011-05-16 Ulrich Drepper <drepper@gmail.com>
53561
a4b89fd8
AR
53562 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53563 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53564 Patch by Aharon Robbins <arnold@skeeve.com>.
53565
ea389b12
UD
53566 [BZ #11892]
53567 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53568 on the stack.
53569
68a3f91f
UD
53570 [BZ #11895]
53571 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53572 through underflows.
53573
15cc7dd1
UD
53574 [BZ #12766]
53575 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53576 point to strings before performing equality test for error_one_per_line
53577 mode.
53578
f3799213
UD
53579 [BZ #11697]
53580 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53581
d79a9c94
UD
53582 [BZ #11820]
53583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53584 (struct user_fpregs_struct): Avoid __uint*_t types.
53585
56e5eb46
UD
53586 [BZ #6420]
53587 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53588 symbol info. Use it instead of calling _dl_addr locally.
53589 (lock_and_info): New function.
53590 (tr_freehook): Call lock_and_info and pass symbol info as additional
53591 parameter to tr_where.
53592 (tr_mallochook): Likewise.
53593 (tr_reallochook): Likewise.
53594 (tr_memalignhook): Likewise.
53595
6ce75379
UD
53596 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53597 used and couldn't be at all thread-safe.
53598
f8a3b5bf
UD
535992011-05-15 Ulrich Drepper <drepper@gmail.com>
53600
94b7cc37
UD
53601 * libio/freopen.c (freopen): Don't close old file descriptor
53602 before the new one is opened. Instead dup the new file descriptor
53603 to the old one after the new stream is created.
53604 * libio/freopen64.c (freopen64): Likewise.
53605 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53606 * libio/fileops.c (_IO_new_file_close_it): Handle new
53607 _IO_FLAGS2_NOCLOSE flag.
53608 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53609 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53610 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53611 _IO_FLAGS2_NOCLOSE flag.
53612 * include/unistd.h: Add hidden_proto for dup3.
53613 Define __have_dup3.
53614 * io/dup3.c: Define hidden symbol.
53615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53616
bd25564e
UD
53617 [BZ #7101]
53618 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53619 when an incomplete long option is used.
53620 * posix/tst-getopt_long1.c: New file.
53621 * posix/Makefile (tests): Add tst-getopt_long1.
53622
c84cfef4
UD
53623 [BZ #10138]
53624 * scripts/config.guess: Update from autoconf-2.68.
53625 * scripts/config.sub: Likewise.
53626
3b85df27
UD
53627 [BZ #10157]
53628 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53629 tests into ...
53630 (has_cpuclock): ...this. New function.
53631 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53632 macro here based on has_cpuclock code.
53633
15a856b1
UD
53634 [BZ #10149]
53635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53636 First byte (not low byte) is now always NUL.
53637 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53638
05f399e6
UD
53639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53640 Use non-cancelable interfaces.
53641
10a52685 53642 [BZ #9809]
94ecc67d
UD
53643 * locale/iso-639.def: Add entry for Sorani.
53644
f8a3b5bf
UD
53645 [BZ #11901]
53646 * include/stdlib.h: Move include protection to the right place.
53647 Define abort_msg_s. Declare __abort_msg with it.
53648 * stdlib/abort.c (__abort_msg): Adjust type.
53649 * assert/assert.c (__assert_fail_base): New function. Majority
53650 of code from __assert_fail. Allocate memory for __abort_msg with
53651 mmap.
53652 (__assert_fail): Now call __assert_fail_base.
53653 * assert/assert-perr.c: Remove bulk of implementation. Use
53654 __assert_fail_base.
53655 * include/assert.hL Declare __assert_fail_base.
53656 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53657 mmap.
53658 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53659
1af4e298
UD
536602011-05-14 Ulrich Drepper <drepper@gmail.com>
53661
f8a3b5bf 53662 [BZ #11952]
d26dfc60
MG
53663 [BZ #12453]
53664 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53665 until all modules are registered in the DTV.
53666 * elf/Makefile: Add rules to build and run tst-tls19.
53667 * elf/tst-tls19.c: New file.
53668 * elf/tst-tls19mod1.c: New file.
53669 * elf/tst-tls19mod2.c: New file.
53670 * elf/tst-tls19mod3.c: New file.
53671 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53672
2fc54d6f
UD
53673 [BZ #12083]
53674 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53675 correctly.
53676
98d76b46
UD
53677 [BZ #12601]
53678 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53679 two-byte sequence errors.
53680 * iconvdata/Makefile (tests): Add bug-iconv8.
53681 * iconvdata/bug-iconv8.c: New file.
53682
da3c19ef
UD
53683 [BZ #12626]
53684 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53685 buf2 definition.
53686
ca408c15
UD
53687 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53688
d6f67f7d
UD
53689 [BZ #12432]
53690 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53691 (dummy_getcfa): New function.
53692 (init): Get _Unwind_GetCFA address, use dummy if not found.
53693 (backtrace_helper): In recursion check, also check whether CFA changes.
53694 (__backtrace): Completely initialize arg.
53695
1af4e298 53696 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53697 storing incomplete byte sequence in state object. Avoid testing for
53698 guaranteed too small input if we know there is enough data available.
1af4e298 53699
da62f81b
AS
537002011-05-11 Andreas Schwab <schwab@redhat.com>
53701
53702 * Makeconfig (+link-pie): Indent.
53703 * Rules (binaries-pie): Define if $(have-fpie) and
53704 $(build-shared).
53705 (binaries-shared): Also filter out $(binaries-pie).
53706 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53707 * nscd/Makefile (others-pie): Add nscd.
53708 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53709 ($(objpfx)nscd): Remove command override.
53710 * login/Makefile (others-pie): Add pt_chown.
53711 ($(objpfx)pt_chown): Remove command override.
53712 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53713 remove command overrides.
53714
fcabc0f8
UD
537152011-05-13 Ulrich Drepper <drepper@gmail.com>
53716
20030ae6
UD
53717 * libio/tst_putwc.c: Fix error messages.
53718
fcabc0f8
UD
53719 [BZ #12724]
53720 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53721 currently writing and seek to current position when not.
53722 * libio/Makefile (tests): Add bug-fclose1.
53723 * libio/bug-fclose1.c: New file.
53724
320a5dc0
PB
537252011-05-12 Ulrich Drepper <drepper@gmail.com>
53726
53727 [BZ #12511]
53728 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53729 don't set DF_1_NODELETE here.
53730 (do_lookup_x): When entering new entry test for copy relocation
53731 and if necessary set DF_1_NODELETE flag.
53732 * elf/tst-unique4.cc: New file.
53733 * elf/tst-unique4.h: New file.
53734 * elf/tst-unique4lib.cc: New file.
53735 * elf/Makefile: Add rules to build and run tst-unique4.
53736 Patch by Piotr Bury <pbury@goahead.com>.
53737
22836f52
UD
537382011-05-11 Ulrich Drepper <drepper@gmail.com>
53739
f574184a
UD
53740 [BZ #12052]
53741 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53742
e1fb097f
UD
53743 [BZ #12625]
53744 * misc/mntent_r.c (addmntent): Flush the stream after the output
53745
22836f52
UD
53746 [BZ #12393]
53747 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53748 (is_trusted_path_normalize): Skip initial colon. Append slash
53749 to empty buffer. Duplicate is_trusted_path code but allow
53750 constructed patch to be prefix.
53751 (is_dst): Allow $ORIGIN followed by /.
53752 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53753 Correct testing of result of is_trusted_path_normalize
53754 (decompose_rpath): Fix warning.
53755
7b3b0b2a
UD
537562011-05-10 Ulrich Drepper <drepper@gmail.com>
53757
53758 [BZ #11257]
53759 * grp/initgroups.c (internal_getgrouplist): When we found the service
53760 list through the initgroups entry in nsswitch.conf do not always
53761 continue on a successful lookup. Don't always use the
eac80ce2 53762 __nss_group_database value if it is set.
7b3b0b2a
UD
53763 * nss/nsswitch.conf (initgroups): Change action for successful db
53764 lookup to continue for compatibility.
53765
2a81eaa5
UD
537662011-05-09 Ulrich Drepper <drepper@gmail.com>
53767
be97a69e
UD
53768 [BZ #11532]
53769 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53770 and CP774 modules.
53771 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53772 and CP774 modules.
53773 * iconvdata/tst-tables.sh: Likewise.
53774 * iconvdata/cp770.c: New file.
53775 * iconvdata/cp771.c: New file.
53776 * iconvdata/cp772.c: New file.
53777 * iconvdata/cp773.c: New file.
53778 * iconvdata/cp774.c: New file.
53779 * iconvdata/testdata/CP770: New file.
53780 * iconvdata/testdata/CP770..UTF8: New file.
53781 * iconvdata/testdata/CP771: New file.
53782 * iconvdata/testdata/CP771..UTF8: New file.
53783 * iconvdata/testdata/CP772: New file.
53784 * iconvdata/testdata/CP772..UTF8: New file.
53785 * iconvdata/testdata/CP773: New file.
53786 * iconvdata/testdata/CP773..UTF8: New file.
53787 * iconvdata/testdata/CP774: New file.
53788 * iconvdata/testdata/CP774..UTF8: New file.
53789
53790 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53791 END CHARMAP line.
53792 * iconvdata/gen-8bit-gap.sh: Likewise.
53793 * iconvdata/gen-8bit.sh: Likewise.
53794
c1e9e399
UD
53795 * locale/iso-639.def: Add ary entry.
53796
24c55fb3 53797 [BZ #11258]
96b4b1b0
UD
53798 * locale/C-translit.h.in: Add U20A1 transliteration.
53799
bdc2f971
KB
53800 [BZ #12178]
53801 * locale/iso-639.def: Add wae entry.
53802 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53803
2952b117
UD
53804 [BZ #12545]
53805 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53806 for n.
53807
2a81eaa5
UD
53808 [BZ #12711]
53809 * locale/C-translit.h.in: Add entry for U20B9.
53810 Patch by pravin.d.s@gmail.com.
53811
28377d1b
UD
538122011-05-08 Ulrich Drepper <drepper@gmail.com>
53813
7fb90fb8
UD
53814 [BZ #12713]
53815 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53816 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53817 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53818 in rtld. Use *stat64.
7fb90fb8 53819 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53820 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53821 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53822 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53823 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53824 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53825 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53826 __fstatat64 macros.
7fb90fb8
UD
53827 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53828 * dirent/rewinddir.c: Add libc_hidden_def.
53829 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53830 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53831
28377d1b
UD
53832 * include/dirent.h (__alloc_dir): Add flags parameter.
53833 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53834 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53835 __alloc_dir.
53836 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53837 from fdopendir if O_CLOEXEC is already set.
53838
66bdbaa4
AM
538392011-03-15 Alan Modra <amodra@gmail.com>
53840
53841 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53842 l_tls_firstbyte_offset non-zero. Save padding offset in
53843 l_tls_firstbyte_offset for later use.
53844 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53845 freeing static tls block.
53846
95721191
JN
538472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53848
53849 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53850 where #ifdef was intended. The intent is to prevent ARG_MAX from
53851 being defined by the kernel headers.
53852
f87dfb1f
UD
538532011-05-07 Ulrich Drepper <drepper@gmail.com>
53854
53855 [BZ #12734]
53856 * resolv/resolv.h: Define RES_NOTLDQUERY.
53857 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53858 no-tld-query and set RES_NOTLDQUERY.
53859 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53860 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53861 modern BIND to search name as TLD unless forbidden.
53862
47c3cd7a
UD
538632011-05-07 Petr Baudis <pasky@suse.cz>
53864 Ulrich Drepper <drepper@gmail.com>
53865
53866 [BZ #12393]
53867 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53868 (is_trusted_path): ...to here.
c1e9ea35 53869 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53870 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53871 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53872
8a35c912
PP
538732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53874
53875 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53876 __BEGIN/__END_DECLS.
53877
acd41f47
UD
538782011-05-06 Ulrich Drepper <drepper@gmail.com>
53879
53880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53881 NSS_STATUS_NOTFOUND if no record was found.
53882
597df647
AS
538832011-05-05 Andreas Schwab <schwab@redhat.com>
53884
53885 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53886 (headers-not-in-tirpc): Remove rpc/netdb.h
53887 * resolv/netdb.h: Revert last change.
53888
b9af1301
PP
538892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53890
53891 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53892 circular dependency between libgcc.a and libc.a.
53893
4e34d5f5
AS
538942011-05-05 Andreas Schwab <schwab@redhat.com>
53895
53896 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53897 * nis/Makefile: Don't install rpcsvc/*.
53898 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53899 instead of <rpc/types.h>.
53900 (MAXHOSTNAMELEN): Define.
53901
00ee369c
AS
539022011-05-03 Andreas Schwab <schwab@redhat.com>
53903
53904 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53905
0b592a30
MB
539062011-04-28 Maciej Babinski <mbabinski@google.com>
53907
53908 [BZ #12714]
53909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53910 gethostbyname4_r when IPv6 results are possible.
53911
6e04cbbe
UD
539122011-05-02 Ulrich Drepper <drepper@gmail.com>
53913
53914 [BZ #12723]
53915 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53916 _PC_PIPE_BUF handling.
53917
e4ecafe0
BH
539182011-04-30 Bruno Haible <bruno@clisp.org>
53919
53920 [BZ #12717]
53921 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53922 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53923 to 'int'.
53924 * inet/getnameinfo.c (getnameinfo): Likewise.
53925
125ee683
UD
539262011-04-29 Ulrich Drepper <drepper@gmail.com>
53927
53928 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53929 to groups setting in database lookup.
53930 * nss/nsswitch.conf: Add initgroups entry.
53931
b722481a
EB
539322011-04-22 Ulrich Drepper <drepper@gmail.com>
53933
53934 [BZ #12685]
53935 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53936 mode string.
53937 Patch by Eric Blake <eblake@redhat.com>.
53938
4df46dbd
L
539392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53940
53941 * sunrpc/Makefile (need-export-routines): Add svc_run.
53942 (routines): Remove svc_run.
53943 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53944 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53945 * sunrpc/svc_run.c (svc_run): Likewise.
53946 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53947
e84142d2
UD
539482011-04-21 Ulrich Drepper <drepper@gmail.com>
53949
53950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53951 problem in reallocation in last patch.
53952
877175d8
UD
539532011-04-20 Ulrich Drepper <drepper@gmail.com>
53954
53955 * sunrpc/Makefile: Move inclusion of Rules.
53956
ab8eed78
UD
539572011-04-19 Ulrich Drepper <drepper@gmail.com>
53958
53959 * nss/nss_files/files-initgroups.c: New file.
53960 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53961 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53962 _nss_files_initgroups_dyn.
53963
e3d8f584
RS
539642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53965
53966 * elf/elf.h (R_ARM_IRELATIVE): Define.
53967
af190f45
UD
539682011-04-19 Ulrich Drepper <drepper@gmail.com>
53969
53970 * po/ru.po: Update from translation team.
53971
53cf59ef
UD
539722011-04-17 Ulrich Drepper <drepper@gmail.com>
53973
53974 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53975 dependencies.
53976
4c559bcd
MF
539772011-02-06 Mike Frysinger <vapier@gentoo.org>
53978
53979 [BZ #12653]
53980 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53981 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53982 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53985
4420675c
AS
539862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53987
53988 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53989 differing bytes.
53990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53993
75ea32ab
UD
539942011-04-17 Ulrich Drepper <drepper@gmail.com>
53995
53996 [BZ #12420]
53997 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53998 storing it.
53999 * stdlib/bug-getcontext.c: New file.
54000 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54001
27390476
AK
540022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54003
54004 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54005 instructions into .machine "z9-109".
54006 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54007 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54008
10442705
AK
540092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54010
54011 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54012 between environment variables and auxiliary vector.
54013
7b57bfe5
UD
540142011-04-16 Ulrich Drepper <drepper@gmail.com>
54015
54016 * Makefile: Add rules to build linkobj/libc.so.
54017 * include/libc-symbols.h: Define libc_hidden_nolink.
54018 * include/rpc/auth.h: Mark functions which are to be hidden.
54019 * include/rpc/auth_des.h: Likewise.
54020 * include/rpc/auth_unix.h: Likewise.
54021 * include/rpc/clnt.h: Likewise.
54022 * include/rpc/des_crypt.h: Likewise.
54023 * include/rpc/key_prot.h: Likewise.
54024 * include/rpc/pmap_clnt.h: Likewise.
54025 * include/rpc/pmap_prot.h: Likewise.
54026 * include/rpc/pmap_rmt.h: Likewise.
54027 * include/rpc/rpc_msg.h: Likewise.
54028 * include/rpc/svc.h: Likewise.
54029 * include/rpc/svc_auth.h: Likewise.
54030 * include/rpc/xdr.h: Likewise.
54031 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54032 * nss/Makefile: Likewise.
54033 * sunrpc/Makefile: Don't install headers. Build library with normal
54034 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54035 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54036 for the compat linking library. Remove use of INTDEF/INTUSE.
54037 * sunrpc/auth_none.c: Likewise.
54038 * sunrpc/auth_unix.c: Likewise.
54039 * sunrpc/authdes_prot.c: Likewise.
54040 * sunrpc/authuxprot.c: Likewise.
54041 * sunrpc/clnt_gen.c: Likewise.
54042 * sunrpc/clnt_perr.c: Likewise.
54043 * sunrpc/clnt_raw.c: Likewise.
54044 * sunrpc/clnt_simp.c: Likewise.
54045 * sunrpc/clnt_tcp.c: Likewise.
54046 * sunrpc/clnt_udp.c: Likewise.
54047 * sunrpc/clnt_unix.c: Likewise.
54048 * sunrpc/des_crypt.c: Likewise.
54049 * sunrpc/des_soft.c: Likewise.
54050 * sunrpc/get_myaddr.c: Likewise.
54051 * sunrpc/key_call.c: Likewise.
54052 * sunrpc/key_prot.c: Likewise.
54053 * sunrpc/netname.c: Likewise.
54054 * sunrpc/pm_getmaps.c: Likewise.
54055 * sunrpc/pm_getport.c: Likewise.
54056 * sunrpc/pmap_clnt.c: Likewise.
54057 * sunrpc/pmap_prot.c: Likewise.
54058 * sunrpc/pmap_prot2.c: Likewise.
54059 * sunrpc/pmap_rmt.c: Likewise.
54060 * sunrpc/publickey.c: Likewise.
54061 * sunrpc/rpc_cmsg.c: Likewise.
54062 * sunrpc/rpc_common.c: Likewise.
54063 * sunrpc/rpc_dtable.c: Likewise.
54064 * sunrpc/rpc_prot.c: Likewise.
54065 * sunrpc/rpc_thread.c: Likewise.
54066 * sunrpc/rtime.c: Likewise.
54067 * sunrpc/svc.c: Likewise.
54068 * sunrpc/svc_auth.c: Likewise.
54069 * sunrpc/svc_authux.c: Likewise.
54070 * sunrpc/svc_raw.c: Likewise.
54071 * sunrpc/svc_run.c: Likewise.
54072 * sunrpc/svc_simple.c: Likewise.
54073 * sunrpc/svc_tcp.c: Likewise.
54074 * sunrpc/svc_udp.c: Likewise.
54075 * sunrpc/svc_unix.c: Likewise.
54076 * sunrpc/svcauth_des.c: Likewise.
54077 * sunrpc/xcrypt.c: Likewise.
54078 * sunrpc/xdr.c: Likewise.
54079 * sunrpc/xdr_array.c: Likewise.
54080 * sunrpc/xdr_float.c: Likewise.
54081 * sunrpc/xdr_intXX_t.c: Likewise.
54082 * sunrpc/xdr_mem.c: Likewise.
54083 * sunrpc/xdr_rec.c: Likewise.
54084 * sunrpc/xdr_ref.c: Likewise.
54085 * sunrpc/xdr_sizeof.c: Likewise.
54086 * sunrpc/xdr_stdio.c: Likewise.
54087
e6c61494
UD
540882011-04-10 Ulrich Drepper <drepper@gmail.com>
54089
54090 [BZ #12650]
54091 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54092 * sysdeps/ia64/dl-tls.h: Likewise.
54093 * sysdeps/powerpc/dl-tls.h: Likewise.
54094 * sysdeps/s390/dl-tls.h: Likewise.
54095 * sysdeps/sh/dl-tls.h: Likewise.
54096 * sysdeps/sparc/dl-tls.h: Likewise.
54097 * sysdeps/x86_64/dl-tls.h: Likewise.
54098 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54099
34fe483e
AS
541002011-03-14 Andreas Schwab <schwab@redhat.com>
54101
54102 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54103 rpath element also skip the following colon.
54104 (expand_dynamic_string_token): Add is_path parameter and pass
54105 down to DL_DST_REQUIRED and _dl_dst_substitute.
54106 (decompose_rpath): Call expand_dynamic_string_token with
54107 non-zero is_path. Ignore empty rpaths.
54108 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54109 with zero is_path.
54110
f12a32e6
AS
541112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54112
54113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54114 Make cancelable.
54115
38a7d692
UD
541162011-04-09 Ulrich Drepper <drepper@gmail.com>
54117
54118 [BZ #12655]
54119 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54120 Patch by Filipe David Manana <fdmanana@apache.org>.
54121
e451d22b
AS
541222011-04-07 Andreas Schwab <schwab@redhat.com>
54123
54124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54125 Maintain aligned stack.
54126 (CHECK_RSP): Remove unused macro.
54127
dedc7c7b
UD
541282011-04-03 Ulrich Drepper <drepper@gmail.com>
54129
54130 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54131 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54132
94521213
UD
541332011-04-02 Ulrich Drepper <drepper@gmail.com>
54134
54135 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54136
8cb700c0 54137 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54138
0354e355
L
541392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54140
54141 [BZ #12518]
54142 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54143 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54144 * sysdeps/x86_64/memmove.c: New file.
54145 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54146 (memcpy): Renamed to ...
54147 (__new_memcpy): This.
54148 (memcpy): Provide GLIBC_2_14 memcpy.
54149 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54150 (memcpy): Provide GLIBC_2_2_5 memcpy.
54151
8593482f
UD
541522011-04-01 Ulrich Drepper <drepper@gmail.com>
54153
54154 [BZ #12631]
54155 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54156
81a5726b
AS
541572011-03-30 Andreas Schwab <schwab@redhat.com>
54158
54159 * misc/syncfs.c: New file.
54160 * misc/Makefile (routines): Add syncfs.
54161 * posix/unistd.h: Declare syncfs.
54162 * sysdeps/unix/syscalls.list: Add syncfs.
54163
00e5419f
AS
541642011-04-01 Andreas Schwab <schwab@redhat.com>
54165
54166 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54167 open_by_handle_at.
54168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54169 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54171 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54173 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54175
748876bf
UD
541762011-04-01 Ulrich Drepper <drepper@gmail.com>
54177
658e451d
UD
54178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54179 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54180 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54184 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54185
748876bf
UD
54186 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54187 sync_file_range.c with -fexceptions.
54188 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54189 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54190 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54191 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54192 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54193 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54195 sync_file_range as cancellation point
54196 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54197 now a wrapper around __call_sync_file_range with cancellation handling.
54198 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54199 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54200 function name to __call_sync_file_range.
54201 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54202 Add call_sync_file_range.
748876bf 54203
6e63d5e1
AS
542042011-04-01 Andreas Schwab <schwab@redhat.com>
54205
54206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54207 bits/timex.h.
6e63d5e1 54208
46998f74
UD
542092011-04-01 Ulrich Drepper <drepper@gmail.com>
54210
4c1423ed
UD
54211 * iconv/iconv.h: Fix typo in comment.
54212 * io/fcntl.h: Likewise.
54213 * libio/stdio.h: Likewise.
54214 * posix/spawn.h: Likewise.
54215 * posix/unistd.h: Likewise.
54216 * stdlib/stdlib.h: Likewise.
54217 * time/time.h: Likewise.
54218 * wcsmbs/wchar.h: Likewise.
54219
158648c0
UD
54220 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54221 open_by_handle): Add.
54222 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54223 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54224 Augment a few comments.
54225 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54230 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54231 open_by_handle.
54232
46998f74
UD
54233 * io/fcntl.h (AT_EMPTY_PATH): Define.
54234
83fe108b
UD
542352011-03-30 Ulrich Drepper <drepper@gmail.com>
54236
54237 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54238 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54239 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54240 to...
54241 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54242 * Versions.def: Add GLIBC_2.14.
54243 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54244 Export.
83fe108b 54245
bb242059
UD
542462011-03-22 Ulrich Drepper <drepper@gmail.com>
54247
54248 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54249 round counter.
54250 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54251
c97a1282
L
542522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54253
54254 [BZ #12597]
54255 * string/test-strncmp.c (do_page_test): New function.
54256 (check2): Likewise.
54257 (test_main): Call check2.
54258 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54259
2a115601
UD
542602011-03-20 Ulrich Drepper <drepper@gmail.com>
54261
54262 [BZ #12587]
54263 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54264 Handle cache information in CPU leaf 4.
54265 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54266
8126d904
UD
542672011-03-18 Ulrich Drepper <drepper@gmail.com>
54268
042c49c6 54269 [BZ #12583]
8126d904
UD
54270 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54271 character representation.
54272 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54273
ccfe366e
RA
542742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54275
54276 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54277 END(__isnan) to END(__isnanf) to match function entry point/label
54278 EALIGN(__isnanf,...).
54279
c6e13027
JJ
542802011-03-10 Jakub Jelinek <jakub@redhat.com>
54281
54282 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54283
33f85a3f
UD
542842011-03-10 Ulrich Drepper <drepper@gmail.com>
54285
028478fa
UD
54286 [BZ #12510]
54287 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54288 copy from the symbol referenced in the relocation to initialize the
54289 used variable.
54290 Patch by Piotr Bury <pbury@goahead.com>.
54291 * elf/Makefile: Add rules to build and tst-unique3.
54292 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54293 * elf/tst-unique3.cc: New file.
54294 * elf/tst-unique3.h: New file.
54295 * elf/tst-unique3lib.cc: New file.
54296 * elf/tst-unique3lib2.cc: New file.
54297
33f85a3f
UD
54298 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54299
03592fc7
MF
543002011-03-10 Mike Frysinger <vapier@gentoo.org>
54301
54302 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54303 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54304 to _start.
03592fc7 54305
6a5ee102
UD
543062011-03-06 Ulrich Drepper <drepper@gmail.com>
54307
54308 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54309 to-be-loaded object along a path to loader is ld.so.
54310
7e4ba49c
HJ
543112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54312 Ulrich Drepper <drepper@gmail.com>
54313
54314 * sysdeps/x86_64/memset.S: After aligning destination, code
54315 branches to different locations depending on the value of
54316 misalignment, when multiarch is enabled. Fix this.
54317
543182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54319
54320 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54321 Set _x86_64_preferred_memory_instruction for AMD processsors.
54322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54323 Set bit_Prefer_SSE_for_memop for AMD processors.
54324
13a804de
UD
543252011-03-04 Ulrich Drepper <drepper@gmail.com>
54326
54327 * libio/fmemopen.c (fmemopen): Optimize a bit.
54328
9d25c392
AS
543292011-03-03 Andreas Schwab <schwab@redhat.com>
54330
54331 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54332
a5543c6a
RM
543332011-03-03 Roland McGrath <roland@redhat.com>
54334
54335 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54336
012d35f7
DM
543372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54338
7e4ba49c 54339 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54340 __bzero_ultra1 instead of __memset_ultra1.
54341
4bff6e01
AS
543422011-02-23 Andreas Schwab <schwab@redhat.com>
54343 Ulrich Drepper <drepper@gmail.com>
54344
54345 [BZ #12509]
54346 * include/link.h (struct link_map): Add l_orig_initfini.
54347 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54348 returning unsuccessfully.
54349 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54350 close of a file loaded at startup, restore the original l_initfini
54351 list.
54352 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54353 list, store the pointer.
54354 * elf/Makefile ($(objpfx)noload-mem): New rule.
54355 (noload-ENV): Define.
54356 (tests): Add $(objpfx)noload-mem.
54357 * elf/noload.c: Include <memcheck.h>.
54358 (main): Call mtrace. Close all opened handles.
54359
f2092faf
AS
543602011-02-17 Andreas Schwab <schwab@redhat.com>
54361
54362 [BZ #12454]
54363 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54364 dependencies are missing.
54365
6c8a2e88
ST
543662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54367
f2092faf 54368 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54369 Hurd needs munmap.
54370 * sysdeps/mach/hurd/ifreq.h: New file.
54371
84a42118
PB
543722011-01-27 Petr Baudis <pasky@suse.cz>
54373 Ulrich Drepper <drepper@gmail.com>
54374
071f805e 54375 [BZ 12445]#
84a42118
PB
54376 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54377 to extend_alloca().
54378 * stdio-common/bug23.c: New file.
54379 * stdio-common/Makefile (tests): Add bug23.
54380
e23fe25b
AS
543812010-09-28 Andreas Schwab <schwab@redhat.com>
54382 Ulrich Drepper <drepper@gmail.com>
54383
54384 [BZ #12489]
54385 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54386 before performing relro protection. At old place add assertion
54387 to make sure nothing changed.
54388
d3f02e10
NS
543892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54390 Glauber de Oliveira Costa <glommer@gmail.com>
54391
54392 * elf/elf.h: Add new ARM TLS relocs.
54393
d55fd7a5
RA
543942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54395
54396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54397 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54398 cast from r3.
54399 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54400 'tests' variable.
54401 * sysdeps/wordsize-64/tst-writev.c: New file.
54402
2206397e
RA
544032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54404
54405 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54406 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54407 insns in _dl_start to prevent a TOC reference before relocs are
54408 resolved.
54409
e9433893
UD
544102011-02-15 Ulrich Drepper <drepper@gmail.com>
54411
54412 [BZ #12469]
54413 * Makeconfig: Remove RANLIB definition.
54414 * Makerules: Don't use RANLIB.
54415 * aclocal.m4: Remove ranlib test.
54416 * configure.in: No need to check for ranlib.
54417 * elf/rtld-Rules: Don't use RANLIB.
54418
f75286c6
ST
544192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54420
8e31c82d
ST
54421 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54422 protection macro.
54423 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54424 inclusion protection macro.
54425
f75286c6
ST
54426 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54427 SIGRTMIN and SIGRTMAX and print information in that case only when
54428 SIGRTMIN is defined.
54429
c1d0e639
JJ
544302011-02-11 Jakub Jelinek <jakub@redhat.com>
54431
54432 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54433 arginfo fn returning -1.
54434
54435 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54436 and thousands string is zero terminated.
54437
edf9294e
AS
544382011-02-03 Andreas Schwab <schwab@redhat.com>
54439
54440 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54441 sysdeps/unix/sysv/linux/bits/socket.h.
54442
2b7e92df
ST
544432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54444
edf9294e
AS
54445 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54446 (__CPU_COUNT): Remove old macros.
54447 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54448 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54449 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54450 (__sched_cpualloc, __sched_cpufree): Add declarations.
54451
a4c7ea7b
UD
544522011-02-05 Ulrich Drepper <drepper@gmail.com>
54453
54454 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54455 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54456 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54457 (readdhstai): Return value of addhstaiX call.
54458 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54459 (addgrbyX): Return value returned by cache_addgr.
54460 (readdgrbyname): Return value returned by addgrbyX.
54461 (readdgrbygid): Likewise.
54462 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54463 (addpwbyX): Return value returned by cache_addpw.
54464 (readdpwbyname): Return value returned by addhstbyX.
54465 (readdpwbyuid): Likewise.
54466 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54467 (addservbyX): Return value returned by cache_addserv.
54468 (readdservbyname): Return value returned by addservbyX:
54469 (readdservbyport): Likewise.
54470 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54471 (addhstbyX): Return value returned by cache_addhst.
54472 (readdhstbyname): Return value returned by addhstbyX.
54473 (readdhstbyaddr): Likewise.
54474 (readdhstbynamev6): Likewise.
54475 (readdhstbyaddrv6): Likewise.
54476 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54477 (readdinitgroups): Return value returned by addinitgroupsX.
54478 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54479 (prune_cache): Keep track of timeout value of re-added entries.
54480 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54481 * nscd/nscd.h: Adjust prototypes of readd* functions.
54482
a0bf67cc
RM
544832011-02-04 Roland McGrath <roland@redhat.com>
54484
54485 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54486 (nis_stats): Likewise.
54487 * nis/nis_modify.c (nis_modify): Likewise.
54488 * nis/nis_remove.c (nis_remove): Likewise.
54489 * nis/nis_add.c (nis_add): Likewise.
54490
54491 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54492
54493 * posix/fnmatch_loop.c: Add some consts.
54494
54495 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54496
435b95eb
L
544972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54498
54499 [BZ #12460]
54500 * config.make.in (config-cflags-novzeroupper): Define.
54501 * configure.in: Substitute libc_cv_cc_novzeroupper.
54502 * elf/Makefile (AVX-CFLAGS): Define.
54503 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54504 (CFLAGS-tst-auditmod4a.c): Likewise.
54505 (CFLAGS-tst-auditmod4b.c): Likewise.
54506 (CFLAGS-tst-auditmod6b.c): Likewise.
54507 (CFLAGS-tst-auditmod6c.c): Likewise.
54508 (CFLAGS-tst-auditmod7b.c): Likewise.
54509 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54510
8517b15e
UD
545112011-02-02 Ulrich Drepper <drepper@gmail.com>
54512
54513 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54514 function to the callback.
54515 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54516
10a656fe
AS
545172011-02-02 Andreas Schwab <schwab@redhat.com>
54518
54519 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54520 of errno.
54521
968dad0a
UD
545222011-01-19 Ulrich Drepper <drepper@gmail.com>
54523
9f94d2ea 54524 [BZ #11724]
968dad0a
UD
54525 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54526 of constructors.
54527 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54528 of destructors.
54529 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54530
54531 [BZ #11724]
54532 * elf/Makefile: Add rules to build and run new test.
54533 * elf/tst-initorder.c: New file.
54534 * elf/tst-initorder.exp: New file.
54535 * elf/tst-initordera1.c: New file.
54536 * elf/tst-initordera2.c: New file.
54537 * elf/tst-initordera3.c: New file.
54538 * elf/tst-initordera4.c: New file.
54539 * elf/tst-initorderb1.c: New file.
54540 * elf/tst-initorderb2.c: New file.
54541 * elf/tst-order-a1.c: New file.
54542 * elf/tst-order-a2.c: New file.
54543 * elf/tst-order-a3.c: New file.
54544 * elf/tst-order-a4.c: New file.
54545 * elf/tst-order-b1.c: New file.
54546 * elf/tst-order-b2.c: New file.
54547 * elf/tst-order-main.c: New file.
54548 New test case by George Gensure <werkt0@gmail.com>.
54549
86e92359
UD
545502010-10-01 Andreas Schwab <schwab@redhat.com>
54551
54552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54553 decoding ACE if AI_CANONIDN.
54554
5d5732b0
UD
545552011-01-18 Ulrich Drepper <drepper@gmail.com>
54556
54557 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54558
a77e8cbc
UD
545592011-01-17 Ulrich Drepper <drepper@gmail.com>
54560
6392473f
UD
54561 * version.h (RELEASE): Bump for 2.13 release.
54562 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54563
620a0529
UD
54564 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54565
18ba70a5
UD
54566 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54567 MADV_NOHUGEPAGE.
32465c3e
UD
54568 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54571 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54572 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54574
c0dafcf1
UD
54575 * posix/getconf.c: Update copyright year.
54576 * catgets/gencat.c: Likewise.
54577 * csu/version.c: Likewise.
54578 * debug/catchsegv.sh: Likewise.
54579 * debug/xtrace.sh: Likewise.
54580 * elf/ldconfig.c: Likewise.
54581 * elf/ldd.bash.in: Likewise.
54582 * elf/sprof.c (print_version): Likewise.
54583 * iconv/iconv_prog.c: Likewise.
54584 * iconv/iconvconfig.c: Likewise.
54585 * locale/programs/locale.c: Likewise.
54586 * locale/programs/localedef.c: Likewise.
54587 * malloc/memusage.sh: Likewise.
54588 * malloc/mtrace.pl: Likewise.
54589 * nscd/nscd.c (print_version): Likewise.
54590 * nss/getent.c: Likewise.
54591
a77e8cbc
UD
54592 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54593 PF_CAIF, and PF_ALG.
54594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54595
77e8bddf
AS
545962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54597
1f20b93a
AS
54598 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54599 (modules-names): Use them.
54600 (ifunc-test-modules, ifunc-pie-tests): Define.
54601 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54602 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54603 (test-extras): Likewise.
54604 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54605 $(compile-command.c).
54606 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54607 (all-built-dso): Define.
54608 (check-textrel.out, check-execstack.out): Depend on it.
54609
77e8bddf
AS
54610 * configure.in: Don't override --enable-multi-arch.
54611
bc425b33
UD
546122011-01-15 Ulrich Drepper <drepper@gmail.com>
54613
54614 [BZ #6812]
54615 * nscd/hstcache.c (tryagain): Define.
54616 (cache_addhst): Return tryagain not notfound for temporary errors.
54617 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54618 failed.
54619
794c3ad3
UD
546202011-01-14 Ulrich Drepper <drepper@gmail.com>
54621
70181fdd
UD
54622 [BZ #10563]
54623 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54624 to make the syscall.
54625 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54626
794c3ad3
UD
54627 [BZ #12378]
54628 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54629 and fall back to matching as normal character if the string ends before
54630 the matching ']' is found. This is what POSIX requires.
54631 * posix/testfnm.c: Adjust test result.
54632 * posix/globtest.sh: Adjust test result. Add new test.
54633 * posix/tst-fnmatch.input: Likewise.
54634 * posix/tst-fnmatch2.c: Add new test.
54635
68dc9497
AS
546362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54637
54638 * elf/Makefile (check-execstack): Revert last change. Depend on
54639 check-execstack.h.
54640 (check-execstack.h): New target.
54641 (generated): Add check-execstack.h.
54642 * elf/check-execstack.c: Include "check-execstack.h".
54643 (main): Revert last change.
54644 (handle_file): Return zero if GNU_STACK is absent and
54645 DEFAULT_STACK_PERMS doesn't include PF_X.
54646
451f001b
UD
546472011-01-13 Ulrich Drepper <drepper@gmail.com>
54648
cfa28e56
UD
54649 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54650 in child fails because the descriptor is already closed.
8cf8ce17
UD
54651 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54652 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54653 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54654
1086d70d
UD
54655 [BZ #12397]
54656 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54657 syscall.
54658
451f001b
UD
54659 [BZ #10484]
54660 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54661 temporary buffer used to handle multi lookups locally.
a85b5cb4 54662 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54663
08769175
UD
546642011-01-12 Ulrich Drepper <drepper@gmail.com>
54665
54666 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54667 loader is ld.so.
54668
5e49c52e
UD
546692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54670
54671 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54672 alignment for SSE2.
54673
60522a5f
UD
546742011-01-12 Ulrich Drepper <drepper@gmail.com>
54675
54676 [BZ #12394]
54677 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54678 characters. When rounding increased number of integer digits recompute
54679 number of groups.
54680 * stdio-common/tst-grouping.c: New file.
54681 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54682
f257bbd7
UD
546832011-01-09 Ulrich Drepper <drepper@gmail.com>
54684
54685 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54686 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54687
54688 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54689 void.
54690 * bits/select.h: Likewise.
54691
fa9c15cb
UD
546922011-01-08 Ulrich Drepper <drepper@gmail.com>
54693
54694 * po/ja.po: Update from translation team.
54695
16c2895f
DM
546962011-01-04 David S. Miller <davem@sunset.davemloft.net>
54697
54698 [BZ #11155]
54699 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54700 implementation just like for lxstat, fxstatat, et al.
54701
2543fef2
JM
547022010-12-27 Jim Meyering <meyering@redhat.com>
54703
54704 [BZ #12348]
54705 * posix/regexec.c (build_trtable): Return failure indication upon
54706 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54707
98727dbe
UD
547082010-12-25 Ulrich Drepper <drepper@gmail.com>
54709
5bd6dc5c
UD
54710 [BZ #12201]
54711 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54712 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54713 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54714 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54715
97983464
UD
54716 [BZ #12207]
54717 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54718
98727dbe
UD
54719 [BZ #12204]
54720 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54721 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54722
4a531bb0
L
547232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54724
54725 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54726 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54727 script has SORT_BY_INIT_PRIORITY.
54728 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54729 NO_CTORS_DTORS_SECTIONS is defined.
54730 * elf/soinit.c: Likewise.
54731 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54732 NO_CTORS_DTORS_SECTIONS is defined.
54733 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54734 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54735 * sysdeps/sh/init-first.c: Likewise.
54736 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54737
07eb4b71
UD
547382010-12-24 Ulrich Drepper <drepper@gmail.com>
54739
54740 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54741 always use the slow path.
54742
30950a5f
RA
547432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54744
54745 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54746 similar rule which adds the sysdep directories to the header search in
54747 order to pick up the correct platform stackinfo.h.
54748 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54749 perform test if it is, otherwise return successfully without testing.
54750 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54751 DEFAULT_STACK_PERMS define in stackinfo.h.
54752 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54753 defined in stackinfo.h.
54754 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54755 DEFAULT_STACK_PERMS defined in stackinfo.h.
54756 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54757 * sysdeps/ia64/stackinfo.h: Likewise.
54758 * sysdeps/s390/stackinfo.h: Likewise.
54759 * sysdeps/sh/stackinfo.h: Likewise.
54760 * sysdeps/sparc/stackinfo.h: Likewise.
54761 * sysdeps/x86_64/stackinfo.h: Likewise.
54762 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54763 PF_X for powerpc64. Retain PF_X for powerpc32.
54764
db753e2c
UD
547652010-12-19 Ulrich Drepper <drepper@gmail.com>
54766
14b697f7
UD
54767 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54768 accurately.
db753e2c
UD
54769 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54770 GETDENTS_64BIT_ALIGNED.
54771
28300719
UD
547722010-12-14 Ulrich Drepper <dreper@gmail.com>
54773
14b697f7 54774 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54775
4f197237
AS
547762010-12-10 Andreas Schwab <schwab@redhat.com>
54777
dbb0472f
AS
54778 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54779 _GNU_SOURCE.
54780
4f197237
AS
54781 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54782 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54783 Remove __restrict.
54784 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54785 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54786
fb88ac72
UD
547872010-12-09 Ulrich Drepper <drepper@gmail.com>
54788
54789 [BZ #11655]
54790 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54791 are initialized.
54792
42acbb92
JJ
547932010-12-09 Jakub Jelinek <jakub@redhat.com>
54794
54795 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54796
c038d98d
UD
547972010-12-03 Ulrich Drepper <drepper@gmail.com>
54798
54799 * po/it.po: Update from translation team.
54800
3a4a2499
L
548012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54802
54803 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54804 unused codes.
54805
1e24cf6e
UD
548062010-11-30 Ulrich Drepper <drepper@gmail.com>
54807
54808 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54809
a7690819
AS
548102010-11-24 Andreas Schwab <schwab@redhat.com>
54811
54812 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54813 specially.
54814 (gaih_getanswer_slice): Likewise.
54815
3bf8d1b1
JJ
548162010-10-20 Jakub Jelinek <jakub@redhat.com>
54817
54818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54819
6db52fbb
PB
548202010-05-31 Petr Baudis <pasky@suse.cz>
54821
54822 [BZ #11149]
54823 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54824 silently even in the chroot mode.
54825
eaca7569
UD
548262010-11-22 Ulrich Drepper <drepper@gmail.com>
54827
54828 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54829 last patch a bit. Pretty printing
54830
3056dcdb
UD
548312010-05-31 Petr Baudis <pasky@suse.cz>
54832
54833 [BZ #10085]
54834 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54835 initialization of skip_initgroups_dyn.
54836
cf7c9078
UD
548372010-11-19 Ulrich Drepper <drepper@gmail.com>
54838
54839 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54840 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54841
a1fb5e3e
UD
548422010-11-16 Ulrich Drepper <drepper@gmail.com>
54843
54844 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54845
3540d66b
AS
548462010-11-11 Andreas Schwab <schwab@redhat.com>
54847
54848 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54849 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54850 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54851 ($(objpfx)tst-fnmatch-mem): New rule.
54852 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54853 * posix/tst-fnmatch.c (main): Call mtrace.
54854
13b69574
L
548552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54856
54857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54858 Support Intel processor model 6 and model 0x2c.
54859
da93d214
LM
548602010-11-10 Luis Machado <luisgpm@br.ibm.com>
54861
54862 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54863 signed comparison.
54864
8ca52c6e
L
548652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54866
54867 [BZ #12205]
54868 * string/test-strncasecmp.c (check_result): New function.
54869 (do_one_test): Use it.
54870 (check1): New function.
54871 (test_main): Use it.
54872 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54873 Support strcasecmp and strncasecmp.
54874
69da074d
UD
548752010-11-08 Ulrich Drepper <drepper@gmail.com>
54876
54877 [BZ #12194]
54878 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54879 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54880
ff02d528
L
548812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54882
54883 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54884 IFUNC support.
54885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54886 memset-x86-64.
54887 * sysdeps/x86_64/multiarch/bzero.S: New file.
54888 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54889 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54890 * sysdeps/x86_64/multiarch/memset.S: New file.
54891 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54893 Set bit_Prefer_SSE_for_memop for Intel processors.
54894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54895 Define.
54896 (index_Prefer_SSE_for_memop): Define.
54897 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54898
344d0b54
LM
548992010-11-04 Luis Machado <luisgpm@br.ibm.com>
54900
54901 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54902 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54903
c0dde15b
UD
549042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54905
54906 [BZ #12191]
54907 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54908 (__x86_64_raw_data_cache_size_half): Likewise.
54909 (__x86_64_raw_shared_cache_size): Likewise.
54910 (__x86_64_raw_shared_cache_size_half): Likewise.
54911
54912 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54913 (__x86_64_raw_data_cache_size_half): Likewise.
54914 (__x86_64_raw_shared_cache_size): Likewise.
54915 (__x86_64_raw_shared_cache_size_half): Likewise.
54916 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54917 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54918 and __x86_64_raw_shared_cache_size_half. Round
54919 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54920 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54921 to multiple of 256 bytes.
54922
0e516e0e
MS
549232010-11-03 Ulrich Drepper <drepper@gmail.com>
54924
54925 [BZ #12167]
54926 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54927 of inacessible symlinks. Verify result of symlink before returning it.
54928 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54929 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54930
0e012e87
ER
549312010-10-28 Erich Ritz <erichritz@gmail.com>
54932
54933 * math/math.h (isinf): Fix typo in comment.
54934
de0ff7bc
UD
549352010-11-01 Ulrich Drepper <drepper@gmail.com>
54936
54937 * po/da.po: Update from translation team.
54938
fa41c84d
UD
549392010-10-26 Ulrich Drepper <drepper@gmail.com>
54940
54941 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54942 is added to the list.
54943
f0967738
AK
549442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54945 Ulrich Drepper <drepper@gmail.com>
54946
54947 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54948 the global list here. Move code to...
54949 (_dl_add_to_namespace_list): ...here. New function.
54950 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54951 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54952 * elf/dl-load.c (lose): Don't remove the element from the list.
54953 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54954 (_dl_map_object): Likewise.
54955
549562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54957
54958 [BZ #12159]
54959 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54960 into all bytes of SSE register.
54961 Patch by Richard Li <richardpku@gmail.com>.
54962
f0967738 549632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54964
54965 [BZ #12140]
54966 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54967 perturbing.
54968
d0b9e94f
MB
549692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54970
54971 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54972 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54973 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54974 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54976 submachine.
54977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54978
8e9f92e9
AS
549792010-10-22 Andreas Schwab <schwab@redhat.com>
54980
54981 * include/dlfcn.h (__RTLD_SECURE): Define.
54982 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54983 mode & __RTLD_SECURE instead.
54984 (open_path): Rename preloaded parameter to secure.
54985 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54986 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54987 * elf/dl-deps.c (openaux): Likewise.
54988 * elf/rtld.c (struct map_args): Remove is_preloaded.
54989 (map_doit): Don't use it.
54990 (dl_main): Likewise.
54991 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54992 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54993
bc96fbda
AS
549942010-09-09 Andreas Schwab <schwab@redhat.com>
54995
54996 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54997 (sysd-rules-targets): Remove duplicates.
54998 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54999 rtld-%.$o dependency.
55000
22cd1c9b
AS
550012010-10-18 Andreas Schwab <schwab@redhat.com>
55002
55003 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55004 _dl_map_object do it.
55005
18edac48
UD
550062010-10-19 Ulrich Drepper <drepper@gmail.com>
55007
55008 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55009 fast fma builtins, define the macros in the C99 standard.
55010 (FP_FAST_FMAF): Likewise.
55011 (FP_FAST_FMAL): Likewise.
55012 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55013
55014 * bits/mathdef.h: Update copyright year.
55015 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55016
d2050124
MM
550172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55018
55019 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55020 builtins, define the macros in the C99 standard.
55021 (FP_FAST_FMAF): Likewise.
55022 (FP_FAST_FMAL): Likewise.
55023 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55024 multiply/add.
55025 (FP_FAST_FMAF): Likewise.
55026
475facd1
JJ
550272010-10-15 Jakub Jelinek <jakub@redhat.com>
55028
55029 [BZ #3268]
55030 * math/libm-test.inc (fma_test): Some new testcases.
55031 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55032 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55033 y and infinite z. Do multiplication by C already in long double.
55034 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55036 y and infinite z. Do bitwise or of inexact bit into u.d.
55037 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55038 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55039 * sysdeps/i386/fpu/s_fma.S: Removed.
55040 * sysdeps/i386/fpu/s_fmal.S: Removed.
55041
7c08a05c
JJ
550422010-10-16 Jakub Jelinek <jakub@redhat.com>
55043
55044 [BZ #3268]
55045 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55047 computation is not scheduled after fetestexcept. Fix value
55048 of minimum denormal long double.
55049
f3f7372d
JJ
550502010-10-14 Jakub Jelinek <jakub@redhat.com>
55051
55052 [BZ #3268]
55053 * math/libm-test.inc (fma_test): Add some more tests.
55054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55055 correctly.
55056
14d43591
AS
550572010-10-15 Andreas Schwab <schwab@redhat.com>
55058
55059 * scripts/data/localplt-s390-linux-gnu.data: New file.
55060 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55061
5e908464
JJ
550622010-10-13 Jakub Jelinek <jakub@redhat.com>
55063
55064 [BZ #3268]
55065 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55066 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55067 instead of dbl-64.
55068 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55069 inlines.
55070 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55072 if one of x and y is very large and the other is subnormal.
55073 * sysdeps/s390/fpu/s_fmaf.c: New file.
55074 * sysdeps/s390/fpu/s_fma.c: New file.
55075 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55076 * sysdeps/powerpc/fpu/s_fma.S: New file.
55077 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55078 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55079 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55080
550812010-10-12 Jakub Jelinek <jakub@redhat.com>
55082
55083 [BZ #3268]
55084 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55085 fma tests.
55086 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55087 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55088 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55089 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55090 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55091 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55092 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55093
b833d51f
UD
550942010-10-12 Ulrich Drepper <drepper@redhat.com>
55095
55096 [BZ #12078]
55097 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55098 * posix/bug-regex31.input: Add test case.
55099
1751705d
UD
551002010-10-11 Ulrich Drepper <drepper@gmail.com>
55101
e9b9cbf5
UD
55102 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55103 * posix/bug-regex31.input: New file.
55104
55105 [BZ #12078]
55106 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55107 (parse_sub_exp): Fix last change, use postorder.
55108
ef06edbe
UD
55109 * posix/bug-regex31.c: New file.
55110 * posix/Makefile: Add rules to build and run bug-regex31.
55111
a129c80d
UD
55112 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55113
55114 [BZ #12078]
55115 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55116
b76b818e
UD
55117 [BZ #12108]
55118 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55119 to have entries in sys_siglist.
55120
1751705d
UD
55121 [BZ #12093]
55122 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55123 be NULL.
55124
9ff8d36f
JJ
551252010-10-07 Jakub Jelinek <jakub@redhat.com>
55126
55127 [BZ #3268]
55128 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55129 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55130 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55131 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55132 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55133 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55134 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55135 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55136 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55137 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55138 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55139 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55140 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55141 * math/ftestexcept.c (fetestexcept): Likewise.
55142 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55143 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55144 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55145 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55146 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55147 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55148 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55149
af325969
UD
551502010-10-11 Ulrich Drepper <drepper@gmail.com>
55151
c579b202 55152 [BZ #12107]
af325969
UD
55153 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55154 newline.
55155
67a67b95
UD
551562010-10-06 Ulrich Drepper <drepper@gmail.com>
55157
55158 * string/bug-strstr1.c: New file.
55159 * string/Makefile: Add rules to build and run bug-strstr1.
55160
5fb308bc
EB
551612010-10-05 Eric Blake <eblake@redhat.com>
55162
55163 [BZ #12092]
55164 * string/str-two-way.h (two_way_long_needle): Always clear memory
55165 when skipping input due to the shift table.
55166
45db99c7
UD
551672010-10-03 Ulrich Drepper <drepper@gmail.com>
55168
3b111893
UD
55169 [BZ #12005]
55170 * malloc/mcheck.c: Handle large requests.
55171
45db99c7
UD
55172 [BZ #12077]
55173 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55174 for strncmp and strncasecmp.
55175 * string/stratcliff.c: Add tests for strcmp and strncmp.
55176 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55177
cf7a1eb8
NI
551782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55179
55180 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55181 __set_fpscr.
55182
6484ba5e
AJ
551832010-09-30 Andreas Jaeger <aj@suse.de>
55184
55185 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55186 (CGROUP_SUPER_MAGIC): Define.
55187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55188 Handle btrfs and cgroup file systems.
55189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55190 Likewise.
55191
91c42559
LM
551922010-09-27 Luis Machado <luisgpm@br.ibm.com>
55193
55194 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55195 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55196
87a97932
AK
551972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55198
55199 [BZ #12067]
55200 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55201 trying to locate the ELF header.
55202
c21cc9bc
AS
552032010-09-27 Andreas Schwab <schwab@redhat.com>
55204
55205 [BZ #11611]
55206 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55207 Mask out sign-bit copies when constructing f_fsid.
55208
315970f6
PB
552092010-09-24 Petr Baudis <pasky@suse.cz>
55210
55211 * debug/stack_chk_fail_local.c: Add missing licence exception.
55212 * debug/warning-nop.c: Likewise.
55213
1ac7a2c7
JM
552142010-09-15 Joseph Myers <joseph@codesourcery.com>
55215
55216 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55217 implementing getdents64 using getdents syscall, set d_type if
55218 __ASSUME_GETDENTS32_D_TYPE.
55219
56801c50
AS
552202010-09-16 Andreas Schwab <schwab@redhat.com>
55221
55222 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55223 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55224
dda51327
UD
552252010-09-21 Ulrich Drepper <drepper@redhat.com>
55226
55227 [BZ #12037]
55228 * posix/unistd.h: Undo change of feature selection for ftruncate from
55229 2010-01-11.
55230
8ffcee4a
UD
552312010-09-20 Ulrich Drepper <drepper@redhat.com>
55232
a545ecd9 55233 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55234 detection.
55235
e24f0a8b
AS
552362010-09-20 Andreas Schwab <schwab@redhat.com>
55237
55238 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55239 fanotify_mark.
55240 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55241
7291c56f
AS
552422010-09-14 Andreas Schwab <schwab@redhat.com>
55243
55244 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55245 variables after CHECK_SP call.
55246 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55247
bc5fb037
AS
552482010-09-13 Andreas Schwab <schwab@redhat.com>
55249 Ulrich Drepper <drepper@redhat.com>
55250
55251 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55252 re-relocationg ld.so.
55253 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55254 _dl_init_paths call.
55255 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55256 here anymore.
55257
e66e7419
UD
552582010-09-14 Ulrich Drepper <drepper@redhat.com>
55259
55260 * resolv/res_init.c (__res_vinit): Count the default server we added.
55261
c044aa75
CLT
552622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55263 Ulrich Drepper <drepper@redhat.com>
55264
55265 [BZ #11968]
55266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55267 (____longjmp_chk): Use %ebx for saving value across system call.
55268 Add unwind info.
55269
32cf4069
AS
552702010-09-06 Andreas Schwab <schwab@redhat.com>
55271
55272 * manual/Makefile: Don't mix pattern rules with normal rules.
55273
817328ee
AS
552742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55275
55276 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55277 operation.
55278 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55279 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55280 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55281 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55283 Likewise.
55284
29fddf61
UD
552852010-09-04 Ulrich Drepper <drepper@redhat.com>
55286
55287 [BZ #11979]
55288 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55289 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55290
0959ffc9
UD
552912010-09-02 Ulrich Drepper <drepper@redhat.com>
55292
55293 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55294 * sysdeps/x86_64/addmul_1.S: Likewise.
55295 * sysdeps/x86_64/lshift.S: Likewise.
55296 * sysdeps/x86_64/mul_1.S: Likewise.
55297 * sysdeps/x86_64/rshift.S: Likewise.
55298 * sysdeps/x86_64/sub_n.S: Likewise.
55299 * sysdeps/x86_64/submul_1.S: Likewise.
55300
ece29840
ST
553012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55302
0959ffc9
UD
55303 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55304 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55305 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55306 * bits/sched.h [__need_schedparam]
ece29840 55307 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55308 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55309 (__defined_schedparam): Define to 1.
ece29840
ST
55310 (__sched_param): New structure, identical to sched_param.
55311 (__need_schedparam): Undefine.
55312
e53a31fe
MF
553132010-08-31 Mike Frysinger <vapier@gentoo.org>
55314
fdc0c10d
MF
55315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55316 (epoll_create1): Declare.
55317
e53a31fe
MF
55318 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55319
a726d796
AS
553202010-08-31 Andreas Schwab <schwab@redhat.com>
55321
55322 [BZ #7066]
55323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55324 shifting retval into place.
55325
2f3e3dc7
UD
553262010-09-01 Ulrich Drepper <drepper@redhat.com>
55327
f2933da9
UD
55328 * nis/rpcsvc/nis.h: Update copyright notice.
55329 * nis/rpcsvc/nis.x: Likewise.
55330 * nis/rpcsvc/nis_callback.h: Likewise.
55331 * nis/rpcsvc/nis_callback.x: Likewise.
55332 * nis/rpcsvc/nis_object.x: Likewise.
55333 * nis/rpcsvc/nis_tags.h: Likewise.
55334 * nis/rpcsvc/yp.h: Likewise.
55335 * nis/rpcsvc/yp.x: Likewise.
55336 * nis/rpcsvc/ypupd.h: Likewise.
55337 * nis/yp_xdr.c: Likewise.
55338 * nis/ypupdate_xdr.c: Likewise.
55339
2f3e3dc7
UD
55340 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55341 mainly the body of pmap_getport. Add parameters to specify timeouts.
55342 (pmap_getport): Use __libc_rpc_getport.
55343 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55344 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55345 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55346
f3dcc2f9
AS
553472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55348
55349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55350 fanotify_mark.
55351
6d34eb5b
RM
553522010-08-27 Roland McGrath <roland@redhat.com>
55353
55354 * sysdeps/i386/i686/multiarch/Makefile
55355 (CFLAGS-varshift.c): New variable.
55356
9ea3de11
UD
553572010-08-27 Ulrich Drepper <drepper@redhat.com>
55358
c96d23fc
UD
55359 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55360 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55361
9ea3de11
UD
55362 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55363
55364 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55365
623aac7f
L
553662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55367
55368 * sysdeps/x86_64/strlen.S: Unroll the loop.
55369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55370 strlen-sse2 strlen-sse2-bsf.
55371 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55372 __strlen_no_bsf if bit_Slow_BSF is set.
55373 (__strlen_sse42): Removed.
55374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55375 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55376
8b2b7715
RM
553772010-08-25 Roland McGrath <roland@redhat.com>
55378
55379 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55380 * sysdeps/x86_64/multiarch/varshift.c: New file.
55381 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55382 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55383 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55384 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55385
e73015f2
L
553862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55387
55388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55389 strlen-sse2 strlen-sse2-bsf.
55390 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55391 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55392 (__strlen_sse2): Removed.
55393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55394 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55396 bit_Slow_BSF for Atom.
55397 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55398 (index_Slow_BSF): Define.
55399 (HAS_SLOW_BSF): Define.
55400
df24a73e
UD
554012010-08-25 Ulrich Drepper <drepper@redhat.com>
55402
55403 [BZ #10851]
55404 * resolv/res_init.c (__res_vinit): When no server address at all
55405 is given default to loopback.
55406
f2ac4868
RM
554072010-08-24 Roland McGrath <roland@redhat.com>
55408
09055553
RM
55409 * configure.in: Remove config-name.h generation.
55410 * configure: Regenerated.
55411 * config-name.in: File removed.
55412 * scripts/config-uname.sh: New file.
55413 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55414 ($(objdir)config-name.h): New target.
55415
f2ac4868
RM
55416 * sunrpc/rpc_parse.h: Avoid nested comment.
55417
73f27d5e
RH
554182010-08-24 Richard Henderson <rth@redhat.com>
55419 Ulrich Drepper <drepper@redhat.com>
55420 H.J. Lu <hongjiu.lu@intel.com>
55421
55422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55424 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55425 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55426 _mm_alignr_epi8 with _mm_loadu_si128.
55427 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55428 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55429 (__m128i_shift_right): Removed.
55430 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55431 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55432 * sysdeps/x86_64/multiarch/varshift.h: New file.
55433 * sysdeps/x86_64/multiarch/varshift.S: New file.
55434
84b9230c
MF
554352010-08-21 Mike Frysinger <vapier@gentoo.org>
55436
55437 * configure.in: Move assembler checks to before sysdep dir checking.
55438
9bbd0ddc
PB
554392010-08-20 Petr Baudis <pasky@suse.cz>
55440
55441 * LICENSES: Sync the sunrpc license.
55442
9da4bb31
UD
554432010-08-19 Ulrich Drepper <drepper@redhat.com>
55444
a7ab6ec8
UD
55445 * sunrpc/auth_des.c: Update copyright notice once again.
55446 * sunrpc/auth_none.c: Likewise.
55447 * sunrpc/auth_unix.c: Likewise.
55448 * sunrpc/authdes_prot.c: Likewise.
55449 * sunrpc/authuxprot.c: Likewise.
55450 * sunrpc/bindrsvprt.c: Likewise.
55451 * sunrpc/clnt_gen.c: Likewise.
55452 * sunrpc/clnt_perr.c: Likewise.
55453 * sunrpc/clnt_raw.c: Likewise.
55454 * sunrpc/clnt_simp.c: Likewise.
55455 * sunrpc/clnt_tcp.c: Likewise.
55456 * sunrpc/clnt_udp.c: Likewise.
55457 * sunrpc/clnt_unix.c: Likewise.
55458 * sunrpc/des_crypt.c: Likewise.
55459 * sunrpc/des_soft.c: Likewise.
55460 * sunrpc/get_myaddr.c: Likewise.
55461 * sunrpc/getrpcport.c: Likewise.
55462 * sunrpc/key_call.c: Likewise.
55463 * sunrpc/key_prot.c: Likewise.
55464 * sunrpc/openchild.c: Likewise.
55465 * sunrpc/pm_getmaps.c: Likewise.
55466 * sunrpc/pm_getport.c: Likewise.
55467 * sunrpc/pmap_clnt.c: Likewise.
55468 * sunrpc/pmap_prot.c: Likewise.
55469 * sunrpc/pmap_prot2.c: Likewise.
55470 * sunrpc/pmap_rmt.c: Likewise.
55471 * sunrpc/rpc/auth.h: Likewise.
55472 * sunrpc/rpc/auth_unix.h: Likewise.
55473 * sunrpc/rpc/clnt.h: Likewise.
55474 * sunrpc/rpc/des_crypt.h: Likewise.
55475 * sunrpc/rpc/key_prot.h: Likewise.
55476 * sunrpc/rpc/netdb.h: Likewise.
55477 * sunrpc/rpc/pmap_clnt.h: Likewise.
55478 * sunrpc/rpc/pmap_prot.h: Likewise.
55479 * sunrpc/rpc/pmap_rmt.h: Likewise.
55480 * sunrpc/rpc/rpc.h: Likewise.
55481 * sunrpc/rpc/rpc_des.h: Likewise.
55482 * sunrpc/rpc/rpc_msg.h: Likewise.
55483 * sunrpc/rpc/svc.h: Likewise.
55484 * sunrpc/rpc/svc_auth.h: Likewise.
55485 * sunrpc/rpc/types.h: Likewise.
55486 * sunrpc/rpc/xdr.h: Likewise.
55487 * sunrpc/rpc_clntout.c: Likewise.
55488 * sunrpc/rpc_cmsg.c: Likewise.
55489 * sunrpc/rpc_common.c: Likewise.
55490 * sunrpc/rpc_cout.c: Likewise.
55491 * sunrpc/rpc_dtable.c: Likewise.
55492 * sunrpc/rpc_hout.c: Likewise.
55493 * sunrpc/rpc_main.c: Likewise.
55494 * sunrpc/rpc_parse.c: Likewise.
55495 * sunrpc/rpc_parse.h: Likewise.
55496 * sunrpc/rpc_prot.c: Likewise.
55497 * sunrpc/rpc_sample.c: Likewise.
55498 * sunrpc/rpc_scan.c: Likewise.
55499 * sunrpc/rpc_scan.h: Likewise.
55500 * sunrpc/rpc_svcout.c: Likewise.
55501 * sunrpc/rpc_tblout.c: Likewise.
55502 * sunrpc/rpc_util.c: Likewise.
55503 * sunrpc/rpc_util.h: Likewise.
55504 * sunrpc/rpcinfo.c: Likewise.
55505 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55506 * sunrpc/rpcsvc/key_prot.x: Likewise.
55507 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55508 * sunrpc/rpcsvc/mount.x: Likewise.
55509 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55510 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55511 * sunrpc/rpcsvc/rex.x: Likewise.
55512 * sunrpc/rpcsvc/rstat.x: Likewise.
55513 * sunrpc/rpcsvc/rusers.x: Likewise.
55514 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55515 * sunrpc/rpcsvc/spray.x: Likewise.
55516 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55517 * sunrpc/rtime.c: Likewise.
55518 * sunrpc/svc.c: Likewise.
55519 * sunrpc/svc_auth.c: Likewise.
55520 * sunrpc/svc_authux.c: Likewise.
55521 * sunrpc/svc_raw.c: Likewise.
55522 * sunrpc/svc_run.c: Likewise.
55523 * sunrpc/svc_simple.c: Likewise.
55524 * sunrpc/svc_tcp.c: Likewise.
55525 * sunrpc/svc_udp.c: Likewise.
55526 * sunrpc/svc_unix.c: Likewise.
55527 * sunrpc/svcauth_des.c: Likewise.
55528 * sunrpc/xcrypt.c: Likewise.
55529 * sunrpc/xdr.c: Likewise.
55530 * sunrpc/xdr_array.c: Likewise.
55531 * sunrpc/xdr_float.c: Likewise.
55532 * sunrpc/xdr_mem.c: Likewise.
55533 * sunrpc/xdr_rec.c: Likewise.
55534 * sunrpc/xdr_ref.c: Likewise.
55535 * sunrpc/xdr_sizeof.c: Likewise.
55536 * sunrpc/xdr_stdio.c: Likewise.
55537
9da4bb31
UD
55538 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55539 handling.
55540
bdaa77bc
AS
555412010-08-19 Andreas Schwab <schwab@redhat.com>
55542
55543 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55544
fe2f79db
LM
555452010-08-19 Luis Machado <luisgpm@br.ibm.com>
55546
55547 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55548 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55549 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55550 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55551 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55552 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55553 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55554 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55556 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55557 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55558 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55559 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55560 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55561
b9b42ee0
AB
555622010-07-26 Anton Blanchard <anton@samba.org>
55563
55564 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55565 * malloc/arena.c (heap_trim): Likewise.
55566
1c06ba31
UD
555672010-08-16 Ulrich Drepper <drepper@redhat.com>
55568
55569 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55570 here. Not...
55571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55572 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55573
f8392f40
L
555742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55575
55576 * sysdeps/i386/elf/Makefile: New file.
55577
3162f12e
AS
555782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55579
55580 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55581 from fanotify_init.
55582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55584
28c90b2c
UD
555852010-08-15 Ulrich Drepper <drepper@redhat.com>
55586
55587 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55588 of strncasecmp_l.
1feccb6c 55589 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55590
ca6bb004
UD
555912010-08-14 Ulrich Drepper <drepper@redhat.com>
55592
e9f82e0d
UD
55593 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55594 strncase_l-nonascii.
55595 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55596 Add strncase_l-ssse3.
55597 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55598 * sysdeps/x86_64/strcmp.S: Likewise.
55599 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55600 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55601 * sysdeps/x86_64/strncase.S: New file.
55602 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55603 * sysdeps/x86_64/strncase_l.S: New file.
55604 * string/Makefile (strop-tests): Add strncasecmp.
55605 * string/test-strncasecmp.c: New file.
55606
55607 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55608 warning.
55609
ca6bb004
UD
55610 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55611 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55612
052fa7b3
AS
556132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55614
55615 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55616
962dba78
UD
556172010-08-12 Ulrich Drepper <drepper@redhat.com>
55618
55619 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55620 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55621 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55622
bebff237
AM
556232010-05-01 Alan Modra <amodra@gmail.com>
55624
55625 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55626 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55627 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55628 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55629 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55630 tidying. Don't tail-call __sigjmp_save for static lib.
55631 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55632 save location.
55633 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55634 (CALL_MCOUNT): Add eh info, and nop after bl.
55635 (TAIL_CALL_SYSCALL_ERROR): New macro.
55636 (PSEUDO_RET): Use it.
55637 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55638 Correct save location of integer regs and cr.
55639 (_dl_profile_resolve): Correct cr save location. Delete nops
55640 after bl when SHARED. Reduce cfi size a little by better
55641 placement of cfi directives.
55642 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55643 make a stack frame. Instead use parm save area as a temp.
55644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55645 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55647 Don't make a stack frame for parent, use parm save area.
55648 Increase child stack frame to 112 bytes. Don't save unused reg,
55649 and adjust reg usage. Set up cfi on error recovery and
55650 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55652 (__makecontext): Add dummy nop after jump to exit.
55653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55654 Use correct parm save area and cr save, reduce stack frame.
55655 Correct cfi for possible PSEUDO_RET frame setup.
55656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55657 Branch to local label emitted by PSEUDO_RET rather than
55658 __syscall_error.
55659
02637374
AS
556602010-08-12 Andreas Schwab <schwab@redhat.com>
55661
55662 [BZ #11904]
55663 * locale/programs/locale.c (print_assignment): New function.
55664 (show_locale_vars): Use it.
55665
c3e2f19b
UD
556662010-08-11 Ulrich Drepper <drepper@redhat.com>
55667
3cdaa6ad
UD
55668 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55669 field.
55670 (struct statfs64): Likewise.
55671 (_STATFS_F_FLAGS): Define.
55672 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55673 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55674 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55675 (ST_VALID): Define locally.
55676 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55677 __statvfs_getflags, use the provided value.
55678 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55679 __ASSUME_STATFS_F_FLAGS.
55680
754f7da3
UD
55681 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55682
10b3bedc
UD
55683 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55684 Add sys/fanotify.h.
55685 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55686 fanotify_mask for GLIBC_2.13.
55687 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55688 fanotify_init and fanotify_mark.
55689 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55690 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55691
c08fb0d7
UD
55692 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55693 Add prlimit.
55694 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55695 prlimit64 for GLIBC_2.13.
55696 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55697 prlimit64.
55698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55699 syscall.
55700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55702 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55703 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55705 add prlimit alias.
55706 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55707
15bac72b
UD
55708 [BZ #11903]
55709 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55710 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55711
c3e2f19b
UD
55712 * nss/Makefile: Add rules to build and run tst-nss-test1.
55713 * shlib-versions: Add entry for libnss_test1.
55714 * nss/nss_test1.c: New file.
55715 * nss/tst-nss-test1.c: New file.
55716
55717 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55718 (__nss_configure_lookup): Set appropriate entry in
55719 __nss_configure_lookup to true.
55720 * nss/nsswitch.h: Define enum with indeces of databases in
55721 databases and __nss_database_custom arrays. Declare
55722 __nss_database_custom.
55723 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55724 to avoid using nscd when custom rules are installed.
55725 * nss/getXXbyYY_r.c: Likewise.
55726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55727
55728 * nss/nss_files/files-parse.c: Whitespace fixes.
55729
f15ce4d8
UD
557302010-08-09 Ulrich Drepper <drepper@redhat.com>
55731
55732 [BZ #11883]
55733 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55734 * posix/fnmatch_loop.c: Likewise.
55735
d22e4cc9
AK
557362010-07-17 Andi Kleen <ak@linux.intel.com>
55737
55738 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55739 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55740 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55741 * Versions.def [GLIBC_2.13]: Add.
55742
805bc17d
UD
557432010-08-06 Ulrich Drepper <drepper@redhat.com>
55744
55745 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55746 Also fail if tpwd after pwuid call is NULL.
55747
5a42321d
ST
557482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55749
55750 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55751 when converting to ms.
55752
fd3ebeda
ST
557532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55754
55755 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55756 EOPNOTSUPP errors with ENOTTY.
55757 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55758 EOPNOTSUPP errors with ENOTTY.
55759
73507d3a
UD
557602010-07-31 Ulrich Drepper <drepper@redhat.com>
55761
55762 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55763 Add strcasecmp_l-ssse3.
55764 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55765 strcasecmp.
55766 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55767 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55768 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55769
fe36dd02
UD
557702010-07-30 Ulrich Drepper <drepper@redhat.com>
55771
66f6765a
UD
55772 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55773
42e08a54
UD
55774 * string/Makefile (strop-tests): Add strcasecmp.
55775 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55776 strcasecmp_l-nonascii.
55777 (gen-as-const-headers): Add locale-defines.sym.
55778 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55779 * sysdeps/x86_64/strcasecmp.S: New file.
55780 * sysdeps/x86_64/strcasecmp_l.S: New file.
55781 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55782 * sysdeps/x86_64/locale-defines.sym: New file.
55783 * string/test-strcasecmp.c: New file.
55784
fe36dd02
UD
55785 * string/test-strcasestr.c: Test both ends of the range of characters.
55786 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55787
48cbc0d6
RM
557882010-07-29 Roland McGrath <roland@redhat.com>
55789
76e6d6bc 55790 [BZ #11856]
48cbc0d6
RM
55791 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55792
880113d9
UD
557932010-07-27 Ulrich Drepper <drepper@redhat.com>
55794
55795 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55796 for ld.so.
55797
deb9cabb
AS
557982010-07-27 Andreas Schwab <schwab@redhat.com>
55799
55800 * manual/memory.texi (Malloc Tunable Parameters): Document
55801 M_PERTURB.
55802
1c7570ff
RM
558032010-07-26 Roland McGrath <roland@redhat.com>
55804
55805 [BZ #11840]
55806 * configure.in (-fgnu89-inline check): Set and substitute
55807 gnu89_inline, not libc_cv_gnu89_inline.
55808 * configure: Regenerated.
55809 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55810
24fb0f88
UD
558112010-07-26 Ulrich Drepper <drepper@redhat.com>
55812
55813 * string/test-strnlen.c: New file.
55814 * string/Makefile (strop-tests): Add strnlen.
55815 * string/tester.c (test_strnlen): Add a few more test cases.
55816 * string/tst-strlen.c: Better error reporting.
55817
55818 * sysdeps/x86_64/strnlen.S: New file.
55819
8e96b93a
UD
558202010-07-24 Ulrich Drepper <drepper@redhat.com>
55821
55822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55823 lower-latency instructions.
55824
dbc676d4
UD
558252010-07-23 Ulrich Drepper <drepper@redhat.com>
55826
55827 * string/test-strcasestr.c: New file.
55828 * string/test-strstr.c: New file.
55829 * string/Makefile (strop-tests): Add strstr and strcasestr.
55830 * string/str-two-way.h: Don't undefine MAX.
55831 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55832
f6a31e0e
AS
558332010-07-21 Andreas Schwab <schwab@redhat.com>
55834
55835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55836 strcasestr-nonascii.
55837 (CFLAGS-strcasestr-nonascii.c): Define.
55838 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55839 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55840 Remove unused attribute.
55841
5dbc3b6c
RM
558422010-07-20 Roland McGrath <roland@redhat.com>
55843
55844 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55845 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55846 ld.so.cache was broken. With it, there is no way to disable dsocaps
55847 like LD_HWCAP_MASK can disable hwcaps.
55848
23d101d8
EPM
558492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55850
55851 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55852
cc9f2e47
UD
558532010-07-16 Ulrich Drepper <drepper@redhat.com>
55854
55855 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55856 call in strcasestr.
55857 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55858 __strcasestr_sse42_nonascii.
55859 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55860 strcasestr-nonascii.c.
55861 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55862
77c1b069
LM
558632010-06-15 Luis Machado <luisgpm@br.ibm.com>
55864
55865 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55866 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55867 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55868 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55869
440566c3
UD
558702010-07-09 Ulrich Drepper <drepper@redhat.com>
55871
55872 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55873 fcntl.
55874
5be9d05d
AS
558752010-07-06 Andreas Schwab <schwab@redhat.com>
55876
c30b7ee2 55877 [BZ #11577]
5be9d05d
AS
55878 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55879 dl_signal_cerror.
55880
8a492a67
UD
558812010-07-06 Ulrich Drepper <drepper@redhat.com>
55882
55883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55884 _PC_PIPE_BUF using F_GETPIPE_SZ.
55885
713df3d5
RM
558862010-07-05 Roland McGrath <roland@redhat.com>
55887
55888 * manual/arith.texi (Rounding Functions): Fix rint description
55889 implicit in round description.
55890
702e8f14
UD
558912010-07-02 Ulrich Drepper <drepper@redhat.com>
55892
55893 * elf/Makefile: Fix linking for a few tests to make recent linker
55894 happy.
55895
52ed8be9
AS
558962010-06-30 Andreas Schwab <schwab@redhat.com>
55897
55898 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55899 $(common-objpfx)libc_nonshared.a.
55900
f47c9a11
LM
559012010-06-21 Luis Machado <luisgpm@br.ibm.com>
55902
55903 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55904 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55905 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55906 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55907 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55908 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55909 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55910 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55925 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55926 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55927 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55928 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55929 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55930 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55931 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55932 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55933 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55934 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55935 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55936 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55951
6fb8cbcb
L
559522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55953
55954 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55955 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55956 * string/memmove.c (memmove): Renamed to ...
55957 (MEMMOVE): ...this. Default to memmove.
55958 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55959 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55960 (END_CHK): Define.
55961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55962 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55963 mempcpy-ssse3-back memmove-ssse3-back.
55964 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55966 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55967 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55968 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55969 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55970 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55971 * sysdeps/x86_64/multiarch/memmove.c: New file.
55972 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55973 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55974 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55975 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55978 Define.
55979 (index_Fast_Copy_Backward): Define.
55980 (HAS_ARCH_FEATURE): Define.
55981 (HAS_FAST_REP_STRING): Define.
55982 (HAS_FAST_COPY_BACKWARD): Define.
55983
4e733bac 559842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55985
55986 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55987 Restore proper fallback handling.
55988
63c4ed22
UD
559892010-06-19 Ulrich Drepper <drepper@redhat.com>
55990
ac2b484c
UD
55991 [BZ #11701]
55992 * posix/group_member.c (__group_member): Correct checking loop.
55993
63c4ed22
UD
55994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55995 OOM in getpwuid_r correctly. Return error number when the caller
55996 should return, otherwise -1.
55997 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55998 call returning > 0 value.
55999 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56000
765ade4b
AS
560012010-06-07 Andreas Schwab <schwab@redhat.com>
56002
56003 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56004 libc_nonshared.a from targets in modules-names.
56005
80da2e09
KS
560062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56007
56008 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56009 requires it.
56010
158db122
LM
560112010-06-10 Luis Machado <luisgpm@br.ibm.com>
56012
56013 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56014 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56016 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56017
caa78cf8
AS
560182010-06-02 Andreas Schwab <schwab@redhat.com>
56019
56020 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56021
b2ef2c01
UD
560222010-06-14 Ulrich Drepper <drepper@redhat.com>
56023
56024 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56025 and F_GETPIPE_SZ.
56026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56027 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56030 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56031 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56032
fbd643b6
RM
560332010-06-14 Roland McGrath <roland@redhat.com>
56034
56035 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56036
f32f2869
JJ
560372010-06-07 Jakub Jelinek <jakub@redhat.com>
56038
56039 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56040 __REDIRECT followed by __THROW.
56041 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56042 * posix/getopt.h (getopt): Likewise.
56043
2a50c078
EPM
560442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56045
56046 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56047 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56048 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56049 in AT_FLAGS.
56050 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56051 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56052
eb5ad2eb
LM
560532010-05-28 Luis Machado <luisgpm@br.ibm.com>
56054
56055 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56056
3c88fe1e
L
560572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56058
56059 [BZ #11640]
56060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56061 Properly check family and model.
56062
d2f73151
TY
560632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56064
56065 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56066
ebd2e13d
LM
560672010-05-24 Luis Machado <luisgpm@br.ibm.com>
56068
56069 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56070
b32b8b45
UD
560712010-05-21 Ulrich Drepper <drepper@redhat.com>
56072
56073 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56074 symbol reference.
56075
9acbe24d
AS
560762010-05-19 Andreas Schwab <schwab@redhat.com>
56077
56078 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56079 symbol reference.
56080
f0ccf6ea
AS
560812010-05-21 Andreas Schwab <schwab@redhat.com>
56082
3d04ff3a
AS
56083 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56084 and internal_recvmmsg.
56085 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56086 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56087 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56088 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56089
f0ccf6ea
AS
56090 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56091 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56092 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56093
5b08ac57
AS
560942010-05-20 Andreas Schwab <schwab@redhat.com>
56095
56096 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56097
4828935d
LM
560982010-05-17 Luis Machado <luisgpm@br.ibm.com>
56099
56100 POWER7 optimizations.
56101 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56102 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56103
373d545e
UD
561042010-05-19 Ulrich Drepper <drepper@redhat.com>
56105
56106 * version.h: Update for 2.13 development version.
56107
21a2b1ae
AS
561082010-05-12 Andrew Stubbs <ams@codesourcery.com>
56109
56110 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56111 exceptions. Return 0.
56112
3f7dcb2b
RM
561132010-05-07 Roland McGrath <roland@redhat.com>
56114
56115 * elf/ldconfig.c (main): Add a const.
56116
5f24d53a 561172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56118
a160f8d8
UD
56119 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56120 (args_options): Add no-idn option.
56121 (ahosts_keys_int): Add idn_flags to ai_flags.
56122 (parse_option): Handle 'i' option to clear idn_flags.
56123
5f24d53a
UD
56124 * malloc/malloc.c (_int_free): Possible race in the most recently
56125 added check. Only act on the data if no current modification
56126 happened.
265bb1ce
UD
56127
56128See ChangeLog.17 for earlier changes.