]> sourceware.org Git - glibc.git/blame - ChangeLog
Add missing #include for MIN use in dl-sysdep.c.
[glibc.git] / ChangeLog
CommitLineData
fe5f34e4
RM
12014-07-02 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4
256aa665
SP
52014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6
d4eb8195
SP
7 * intl/loadmsgcat.c: Remove declaration of
8 get_sysdep_segment_value.
9 (get_sysdep_segment_value): Use ISO C style.
10 (_nl_load_domain): Use ISO C style. Get rid of redundant
11 semicolon. Fix typo and formatting in comment.
12 (_nl_unload_domain): Use ISO C style.
13
256aa665
SP
14 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15
b100f9aa
WN
162014-07-02 Will Newton <will.newton@linaro.org>
17
18 * malloc/obstack.c: Merge from gnulib master.
19 [HAVE_CONFIG_H]: Remove conditional code.
20 [!_LIBC]: Include config.h.
21 [!ELIDE_CODE]: Don't include inttypes.h, include
22 stdint.h unconditionally.
23 (print_and_abort): Mark as _Noreturn.
24 (_obstack_allocated_p): Mark as __attribute_pure__.
25 (obstack_free): Rename to __obstack_free.
26 [!__attribute__]: Remove conditional code.
27 * malloc/obstack.h: Merge from gnulib master.
28 [__cplusplus]: Move conditional down.
29 [!__attribute_pure__]: Define __attribute_pure__ here
30 if it is not already defined.
31 (_obstack_memory_used): Mark as __attribute_pure__.
32 [!__obstack_free]: Define as obstack_free.
33 [__GNUC__]: Remove check for ancient NeXT gcc.
34
c4c41244
PE
352014-07-02 Will Newton <will.newton@linaro.org>
36 Paul Eggert <eggert@cs.ucla.edu>
37
38 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39
e1e041c4
SP
402014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41
42 * resolv/gethnamaddr.c: Add comment warning that the file is
43 not maintained.
44
ccf431ff
CD
452014-07-01 Carlos O'Donell <carlos@redhat.com>
46
d34570a6
CD
47 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48 entries.
49
ccf431ff
CD
50 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
51 entry for aio_cancel and aio_cancel64.
52 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
53 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
54 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
55 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
56 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
57 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
58 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
59 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
60 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
61 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
62 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
63 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
64 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
65
ca06321d
RM
662014-07-01 Roland McGrath <roland@hack.frob.com>
67
68 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
69 * nptl/pthread_mutex_lock.c: Likewise.
70 * nptl/pthread_mutex_timedlock.c: Likewise.
71 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
72
a1ac3184
RH
732014-07-01 Richard henderson <rth@redhat.com>
74
631021e0
RH
75 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
76 (__isnan, __isnanl): Remove.
77 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
78
a1ac3184
RH
79 * sysdeps/alpha/fpu/libm-test-ulps: Update.
80
0c1d731f
SL
812014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
82
83 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
84
76985d3e
SP
852014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
86
87 * resolv/nss_dns/dns-host.c (getanswer_r)
88 [MULTI_PTRS_ARE_ALIASES]: Remove code.
89
b0cb3096
JM
902014-07-01 Joseph Myers <joseph@codesourcery.com>
91
92 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
93 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
94 undefine.
95 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
96 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
97
4d76cb39
RM
982014-07-01 Roland McGrath <roland@hack.frob.com>
99
100 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
101 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
102
103 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
104 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
105
106 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
107 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
108 ... here.
109 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
110 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
111
112 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
113 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
114 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
115 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
116
117 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
118 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
119 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
121 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
122 Moved ...
123 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
124 ... here.
125 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
127 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
129 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
131 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
133 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
135 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
137 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
139 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
141 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
144 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
145 ... here.
146 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
148 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
149 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
150 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
151 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
152 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
153 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
154
0cdcad17
DH
1552014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
156
157 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
158 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
159 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
160 Add sysdep.
161
9b71d0e3
AZ
1622014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163
164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
165
665390c2
JM
1662014-06-30 Joseph Myers <joseph@codesourcery.com>
167
ae05a9d7
JM
168 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
169 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
170
a7672a2f
JM
171 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
172
665390c2
JM
173 * sysdeps/arm/libm-test-ulps: Regenerated.
174
d7a05d07
MR
1752014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
176 Roland McGrath <roland@hack.frob.com>
177
178 * test-skeleton.c (signal_handler): Kill the whole process group
179 before killing the child individually.
180 (main): Report any failure on `setpgid'.
181
46f1d8a6
RM
1822014-06-30 Roland McGrath <roland@hack.frob.com>
183
184 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
185 from _TLS_H to _ARM_NPTL_TLS_H.
186 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
187 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
188
9c37ec0b
JM
1892014-06-30 Joseph Myers <joseph@codesourcery.com>
190
ce9c5b3e
JM
191 [BZ #16539]
192 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
193 (__expm1l): Return argument unchanged when small but not
194 subnormal.
195
3a6e9887
JM
196 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
197 include macro name.
198 (_FP_UNPACK_RAW_1_P): Likewise.
199 (_FP_PACK_RAW_1): Likewise.
200 (_FP_PACK_RAW_1_P): Likewise.
201 (_FP_MUL_MEAT_1_wide): Likewise.
202 (_FP_MUL_MEAT_DW_1_hard): Likewise.
203 (_FP_MUL_MEAT_1_hard): Likewise.
204 (_FP_DIV_MEAT_1_imm): Likewise.
205 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
206 (_FP_DIV_MEAT_1_udiv): Likewise.
207 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
208 (_FP_UNPACK_RAW_2): Likewise.
209 (_FP_UNPACK_RAW_2_P): Likewise.
210 (_FP_PACK_RAW_2): Likewise.
211 (_FP_PACK_RAW_2_P): Likewise.
212 (_FP_MUL_MEAT_DW_2_wide): Likewise.
213 (_FP_MUL_MEAT_2_wide): Likewise.
214 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
215 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
216 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
217 (_FP_MUL_MEAT_2_gmp): Likewise.
218 (_FP_DIV_MEAT_2_udiv): Likewise.
219 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
220 (_FP_FRAC_SRL_4): Likewise.
221 (_FP_FRAC_SRST_4): Likewise.
222 (_FP_FRAC_SRS_4): Likewise.
223 (_FP_UNPACK_RAW_4): Likewise.
224 (_FP_UNPACK_RAW_4_P): Likewise.
225 (_FP_PACK_RAW_4): Likewise.
226 (_FP_PACK_RAW_4_P): Likewise.
227 (_FP_MUL_MEAT_DW_4_wide): Likewise.
228 (_FP_MUL_MEAT_4_wide): Likewise.
229 (_FP_MUL_MEAT_4_gmp): Likewise.
230 (umul_ppppmnnn): Likewise.
231 (_FP_DIV_MEAT_4_udiv): Likewise.
232 (__FP_FRAC_ADD_4): Likewise.
233 (__FP_FRAC_SUB_3): Likewise.
234 (__FP_FRAC_SUB_4): Likewise.
235 (__FP_FRAC_DEC_3): Likewise.
236 (__FP_FRAC_DEC_4): Likewise.
237 (__FP_FRAC_ADDI_4): Likewise.
238 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
239 (_FP_FRAC_SRL_8): Likewise.
240 (_FP_FRAC_SRS_8): Likewise.
241
9c37ec0b
JM
242 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
243 include macro name.
244 (FP_UNPACK_RAW_EP): Likewise.
245 (FP_PACK_RAW_E): Likewise.
246 (FP_PACK_RAW_EP): Likewise.
247 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
248 (_FP_ISSIGNAN): Likewise.
249 (_FP_ADD_INTERNAL): Likewise.
250 (_FP_FMA): Likewise.
251 (_FP_CMP): Likewise.
252 (_FP_SQRT): Likewise.
253 (_FP_TO_INT): Likewise.
254 (_FP_FROM_INT): Likewise.
255 (FP_EXTEND): Likewise.
256 (_FP_DIV_MEAT_N_loop): Likewise.
257
2125f674
MR
2582014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
259
260 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
261 throughout.
262
edea4028
JM
2632014-06-29 Joseph Myers <joseph@codesourcery.com>
264
265 [BZ #17097]
266 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
267 result with correct sign in case of exponents that produce
268 overflow except for X very close to 1.
269
dd0ba018
PE
2702014-06-28 Paul Eggert <eggert@cs.ucla.edu>
271
272 mktime: merge #if/#ifdef usage from glibc
273 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
274 as that works with both Glibc's and Gnulib's style.
275 See thread starting at Siddhesh Poyarekar's bug report at:
276 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
277
64df73c2
SP
2782014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
279
280 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
281 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
282 * sysdeps/tile/tilegx/memmove.c: Remove file.
283
f1eafb41
JM
2842014-06-27 Joseph Myers <joseph@codesourcery.com>
285
286 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
287 abi-name definition.
288 * scripts/soversions.awk: Do not handle or generate ABI lines.
289 * shlib-versions: Remove ABI entries.
290 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
291 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
292
58eb0862
RM
2932014-06-27 Roland McGrath <roland@hack.frob.com>
294
37caf178
RM
295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
296 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
302 Moved ...
303 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
304 ... here.
305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
309 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
312 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
315 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
316 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
317 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
318 Moved ...
319 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
321 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
325 Moved ...
326 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
327 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
328 Moved ...
329 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
333 Moved ...
334 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
336 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
338 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
340 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
342 Moved ...
343 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
346 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
347 Moved ...
348 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
350 Moved ...
351 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
353 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
355 Moved ...
356 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
357 ... here.
358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
359 Identical file removed.
360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
361 Moved ...
362 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
364 Identical file removed.
365 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
366 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
367 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
368 Moved ...
369 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
370 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
371 Identical file removed.
372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
373 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
374 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
375 Identical file removed.
376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
377 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
379 Identical file removed.
380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
381 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
383 Identical file removed.
384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
385 Moved ...
386 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
388 Identical file removed.
389 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
390 Moved ...
391 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
392 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
393 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
395 Identical file removed.
396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
397 Moved ...
398 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
399 ... here.
400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
401 Identical file removed.
402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
403 Moved ...
404 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
406 Identical file removed.
407 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
408 Moved ...
409 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
410 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
412 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
414 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
415 Moved ...
416 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
417 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
418 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
419
58eb0862
RM
420 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
421 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
422 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
423 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
424 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
425
6f12d062
AS
4262014-06-27 Arjun Shankar <arjun.is@lostca.se>
427
428 [BZ #17092]
429 * nscd/nscd.c (monitor_child): Return exit status of child
430 instead of return value from wait syscall.
431
be254932
JM
4322014-06-27 Joseph Myers <joseph@codesourcery.com>
433
cb403c34
JM
434 * configure.ac (libc_commonpagesize): Remove variable.
435 (libc_relro_required): Likewise.
436 (libc_cv_z_relro): Remove configure test.
437 * configure: Regenerated.
438 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
439 variable.
440 (libc_relro_required): Likewise.
441 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
442 (libc_relro_required): Likewise.
443 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
444 (libc_relro_required): Likewise.
445 * sysdeps/arm/preconfigure: Regenerated.
446 * sysdeps/ia64/preconfigure: Remove file.
447 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
448 variable.
449 (libc_relro_required): Likewise.
450
be254932
JM
451 [BZ #16561]
452 [BZ #16562]
453 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
454 (__ieee754_yn): Set FE_TONEAREST mode internally and then
455 recompute overflowing results in original rounding mode.
456 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
457 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
458 recompute overflowing results in original rounding mode.
459 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
460 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
461 recompute overflowing results in original rounding mode.
462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
463 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
464 recompute overflowing results in original rounding mode.
465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
466 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
467 recompute overflowing results in original rounding mode.
468 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
469 (libc_feholdsetround_ctx): New macro.
470 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
471 * sysdeps/i386/fpu/libm-test-ulps: Update.
472 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
473
b351d85a
JM
4742014-06-26 Joseph Myers <joseph@codesourcery.com>
475
476 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
477 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
478 corresponding .cpsetup call.
479
3cb4de47
RM
4802014-06-26 Roland McGrath <roland@hack.frob.com>
481
482 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
483 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
484 * sysdeps/arm/Makefile [$(subdir) = csu]
485 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
486 (static-only-routines): Add aeabi_read_tp here.
487 (shared-only-routines): Add libc-aeabi_read_tp here.
488 (CFLAGS-libc-start.c): Add -fexceptions here.
489 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
490 (sysdep_routines, static-only-routines, shared-only-routines):
491 Don't add to these here.
492 (CFLAGS-libc-start.c): Likewise.
493
494 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
495 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
496 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
497 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
498 * sysdeps/arm/Makefile [$(subdir) = rt]
499 (librt-sysdep_routines, librt-shared-only-routines):
500 Append rt-aeabi_unwind_cpp_pr1 here.
501 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
502 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
503 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
504 (libpthread-sysdep_routines, libpthread-shared-only-routines):
505 Append nptl-aeabi_unwind_cpp_pr1 here.
506 (tests): Filter out tst-cleanupx4 here.
507 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
508 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
509 Don't do those here.
510
354426bb
JM
5112014-06-26 Joseph Myers <joseph@codesourcery.com>
512
513 * scripts/list-sources.sh: Do not handle ports specially.
514
28b0a8c9
RM
5152014-06-26 Roland McGrath <roland@hack.frob.com>
516
a3dd035d
RM
517 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
518 * sysdeps/arm/feupdateenv.c: Likewise.
519
28b0a8c9
RM
520 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
521
e66a8203
JM
5222014-06-26 Joseph Myers <joseph@codesourcery.com>
523
524 * manual/texinfo.tex: Update to version 2014-05-05.10 with
525 trailing whitespace removed.
526 * scripts/config.guess: Update to version 2014-03-23.
527 * scripts/config.sub: Update to version 2014-05-01
528 * scripts/install-sh: Update to version 2013-12-25.23.
529 * scripts/move-if-change: Update from gnulib.
530
74171115
SP
5312014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
532
b97c9ce5
SP
533 * debug/memmove_chk.c: Remove pagecopy.h include.
534
4000f892
SP
5352014-06-26 Paul Eggert <eggert@cs.ucla.edu>
536
74171115
SP
537 * time/mktime.c (leapyear): Remove inline keyword. The code is now
538 identical to gnulib mktime.
539
a8779c28
JM
5402014-06-26 Joseph Myers <joseph@codesourcery.com>
541
e64708de
JM
542 * configure.ac: Do not test for machine being rs6000. Do not test
543 for powerpc*-*soft.
544 * configure: Regenerated.
545
a8779c28
JM
546 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
547 test.
548 * configure: Regenerated.
549 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
550 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
551 Remove configure test.
552 * sysdeps/arm/configure: Regenerated.
553 * sysdeps/nptl/configure.ac: Do not check
554 libc_cv_asm_cfi_directives.
555 * sysdeps/nptl/configure: Regenerated.
556 * sysdeps/x86_64/nptl/configure.ac: Remove file.
557 * sysdeps/x86_64/nptl/configure: Remove generated file.
558 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
559 unconditional.
560 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
561
2aac0a86
SP
5622014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
563
059bf913
SP
564 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
565 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
566 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
567 it is defined.
568
4cf5b6d0
SP
569 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
570 instead of whether it is defined.
571 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
572 * sysdeps/hppa/dl-machine.h: Likewise.
573 * sysdeps/ia64/dl-machine.h: Likewise.
574 * sysdeps/m68k/dl-machine.h: Likewise.
575 * sysdeps/microblaze/dl-machine.h: Likewise.
576 * sysdeps/mips/dl-machine.: Likewise.
577 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
578 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
579 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
580 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
581 * sysdeps/sh/dl-machine.h: Likewise.
582 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
583 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
584 * sysdeps/tile/dl-machine.h: Likewise.
585 * sysdeps/x86_64/dl-machine.h: Likewise.
586
2aac0a86
SP
587 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
588 code.
589 (verify_persistent_db): Likewise.
590
6ad2df0b
RM
5912014-06-26 Roland McGrath <roland@hack.frob.com>
592
d8a483f3
RM
593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
594 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
598 Moved ...
599 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
600 ... here.
601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
604 Identical file removed.
605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
610 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
614 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
616 Moved ...
617 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
619 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
621 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
623 Moved ...
624 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
626 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
628 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
630 Identical file removed.
631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
632 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
636 Moved ...
637 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
638 ... here.
639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
640 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
642 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
644 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
646 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
648 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
650 Moved ...
651 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
653 Moved ...
654 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
658 Moved ...
659 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
661 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
662
52ae23b4
RM
663 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
664 folded into ...
665 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
666 * sysdeps/unix/sysv/linux/s390/Versions
667 (libpthread: GLIBC_2.19): New version set.
668 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
669 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
670 (librt: GLIBC_2.3.3): New version set.
671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
672 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
673 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
674 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
675 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
676 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
677 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
678 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
679 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
680 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
681 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
682 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
683 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
684 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
685 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
686 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
687 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
688 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
689 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
690 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
691 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
692 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
693 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
695 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
697 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
698 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
699 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
700 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
701 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
702 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
707 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
708 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
709 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
711 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
713 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
715 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
716
39507e4a
RM
717 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
718 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
719 (__libc_vfork): Define the function under this name.
720 [!NOT_IN_libc] (__vfork): Make this an alias.
721 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
723 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
724 (__libc_vfork): Define the function under this name.
725 [!NOT_IN_libc] (__vfork): Make this an alias.
726 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
727 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
728 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
730 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
731 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
732
e549ee56
RM
733 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
734 code that was previously under [RESET_PID].
735 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
736 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
738
6ad2df0b
RM
739 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
740 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
741 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
742 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
743 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
744 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
745 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
746 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
747 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
749 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
750 Moved ...
751 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
752 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
756 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
758 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
760 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
762 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
764 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
766 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
768 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
770 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
772 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
774 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
775 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
776 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
777 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
778 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
779 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
780
7c1c1d8e
RM
7812014-06-25 Roland McGrath <roland@hack.frob.com>
782
783 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
784 that was previously under [RESET_PID].
785 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
786
3e239be6
JM
7872014-06-25 Joseph Myers <joseph@codesourcery.com>
788
74385da5
JM
789 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
790 not undefine and redefine.
791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
792 [O_CLOEXEC]: Make code unconditional.
793 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
794 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
795 <kernel-features.h>.
796 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
797 conditional variable definition.
798 (shm_open) [O_CLOEXEC]: Make code unconditional.
799 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
800 code.
801
c2570a0b
JM
802 * configure.ac (USE_REGPARMS): Don't define here.
803 * configure: Regenerated.
804 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
805 * sysdeps/i386/configure: Regenerated.
806
11b076bb
JM
807 * nptl/createthread.c: Don't include kernel-features.h.
808 * nptl/pthread_cancel.c: Likewise.
809 * nptl/pthread_condattr_setclock.c: Likewise.
810 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
811 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
812 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
813 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
814 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
815 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
816 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
819 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
820 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
821 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
822 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
823 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
824 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
825 * nscd/gai.c: Likewise.
826 * nss/nss_db/db-open.c: Likewise.
827 * sysdeps/generic/ldsodefs.h: Likewise.
828 * sysdeps/sh/nptl/tls.h: Likewise.
829 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
830 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
831 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
832 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
833 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
834 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
835 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
836 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
838 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
839 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
840 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
841 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
842 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
843 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
844 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
845 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
846 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
847 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
848 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
849 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
851 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
852 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
853 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
854 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
856 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
857 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
858 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
859 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
860 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
861 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
862 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
863 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
864 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
865 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
866 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
867 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
868 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
869 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
870 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
871 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
872 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
873 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
874 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
875 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
876 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
877 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
878 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
879 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
880 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
881 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
882 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
883 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
884 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
885 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
909 * sysdeps/unix/sysv/linux/pread.c: Likewise.
910 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
911 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
912 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
913 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
914 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
916 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
917 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
918 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
919 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
920 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
921 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
922 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
923 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
924 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
925 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
926 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
927 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
928 * sysdeps/unix/sysv/linux/system.c: Likewise.
929 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
930 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
931 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
932 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
933 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
934 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
935 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
936
92072d57
JM
937 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
938 * configure: Regenerated.
939 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
940
3e239be6
JM
941 * configure.ac (base_machine): Do not set specially for particular
942 machines here.
943 * configure: Regenerated.
944 * sysdeps/powerpc/preconfigure: Move machine and base_machine
945 settings from configure.ac.
946 * sysdeps/i386/preconfigure: New file.
947 * sysdeps/s390/preconfigure: Likewise.
948 * sysdeps/sh/preconfigure: Likewise.
949 * sysdeps/sparc/preconfigure: Likewise.
950
06d50baa
RM
9512014-06-25 Roland McGrath <roland@hack.frob.com>
952
74836003
RM
953 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
954 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
955 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
956 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
957 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
958 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
959 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
960 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
961 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
962 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
963 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
964 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
965 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
966 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
967 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
968 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
970 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
971 * sysdeps/sparc/sparc64/Makefile: ... appended here.
972
973 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
974 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
975 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
976 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
977 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
978 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
979 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
980 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
981 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
982 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
983 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
984 * sysdeps/sparc/sparc32/sem_post.c: ... here.
985 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
986 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
987 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
988 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
989 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
990 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
991 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
992 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
993 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
994 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
995 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
996 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
997 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
998 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
999 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1000 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1001 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1002 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1003 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1004 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1005 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1006 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1007 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1008 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1009 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1010 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1011
06d50baa
RM
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1013 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1015 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1017 Moved ...
1018 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1019 ... here.
1020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1021 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1025 Moved ...
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1032 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1034 Moved ...
1035 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1037 Moved ...
1038 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1042 Moved ...
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1047 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1049 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1051 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1053 Moved ...
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1055 ... here.
1056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1059 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1061 Moved ...
1062 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1070 Moved ...
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1073 Moved ...
1074 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1076 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1078 Moved ...
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1083 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1084
a4ccbc9b
JM
10852014-06-25 Joseph Myers <joseph@codesourcery.com>
1086
0828edbf
JM
1087 * timezone/checktab.awk: Update from tzcode 2014e.
1088 * timezone/private.h: Likewise.
1089 * timezone/tzfile.h: Likewise.
1090 * timezone/zdump.c: Likewise.
1091 * timezone/zic.c: Likewise.
1092
a4ccbc9b
JM
1093 * sysdeps/unix/sysv/linux/kernel-features.h
1094 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1096 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1097 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1098 Remove conditional code.
1099
9aea0cb8
WN
11002014-06-25 Will Newton <will.newton@linaro.org>
1101
1102 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1103 (_dl_arm_cap_flags): Add HWCAP2 values.
1104 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1105 (_DL_HWCAP_COUNT): Increase to 37.
1106 (_DL_HWCAP_LAST): New define.
1107 (_DL_HWCAP2_LAST): New define.
1108 (_dl_procinfo): Add support for printing
1109 AT_HWCAP2 entries.
1110 (_dl_string_hwcap): Use _dl_hwcap_string.
1111
6eaa65ce
AZ
11122014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113
1114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1115
0f5b7185
JM
11162014-06-25 Joseph Myers <joseph@codesourcery.com>
1117
cfd2ea50
JM
1118 * README: Do not mention ports directory.
1119
cecf2ed4
JM
1120 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1121 Remove macro.
1122 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1123 <kernel-features.h>.
1124 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1125 conditional variable definition.
1126 (__futimes): Update comment.
1127 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1128 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1129
a638de82
JM
1130 [BZ #16560]
1131 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1132 arguments close to 0.
1133 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1134 Likewise.
1135 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1136 Likewise.
1137 * math/auto-libm-test-in: Add more tests of exp10.
1138 * math/auto-libm-test-out: Regenerated.
1139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1140
0f5b7185
JM
1141 * sysdeps/unix/sysv/linux/kernel-features.h
1142 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1143 * sysdeps/unix/sysv/linux/readv.c: Do not include
1144 <kernel-features.h>.
1145 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1146 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1147 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1148 unconditional.
1149 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1150 conditional code.
1151 * sysdeps/unix/sysv/linux/writev.c: Do not include
1152 <kernel-features.h>.
1153 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1154 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1155 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1156 unconditional.
1157 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1158 conditional code.
1159
c7aec4be
WN
11602014-06-25 Will Newton <will.newton@linaro.org>
1161
1162 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1163 comment changes throughout the file. Remove checks
1164 for HAVE_*_H definitions that are not required.
1165 (__gen_tempname): Call abort if an unknown kind value is
1166 passed.
1167
c5241f95
AS
11682014-06-25 Andreas Schwab <schwab@suse.de>
1169
1170 [BZ #17086]
1171 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1172 scalbln, scalblnf, scalblnl in libc.
1173
911422da
SP
11742014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1175
1176 [BZ #17086]
1177 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1178 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1179 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1180
0d749bbe
RM
11812014-06-24 Roland McGrath <roland@hack.frob.com>
1182
1183 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1184 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1185 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1186 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1187 Update #include.
1188 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1189 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1190 Update #include.
1191 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1192 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1193 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1194 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1195 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1196 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1197 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1198 * sysdeps/x86/bits/semaphore.h: ... here.
1199 * sysdeps/x86/nptl/elide.h: Moved ...
1200 * sysdeps/x86/elide.h: ... here.
1201 * sysdeps/x86_64/nptl/Implies: File removed.
1202 * sysdeps/i386/nptl/Implies: File removed.
1203
0ea5d373
JM
12042014-06-24 Joseph Myers <joseph@codesourcery.com>
1205
4060283d
JM
1206 [BZ #16539]
1207 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1208 return the argument for normal arguments with exponent below -64.
1209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1210 Likewise.
1211 * math/auto-libm-test-in: Add another test of expm1.
1212 * math/auto-libm-test-out: Regenerated.
1213
e7dd3c8c
JM
1214 [BZ #16287]
1215 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1216 calling __erfcl for arguments at least 16.
1217 * math/auto-libm-test-in: Add more tests of erf.
1218 * math/auto-libm-test-out: Regenerated.
1219
0ea5d373
JM
1220 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1221 individual architectures.
1222 * sysdeps/unix/sysv/linux/configure: Regenerated.
1223 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1224 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1225 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1226 (ldd_rewrite_script): Define variable.
1227 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1229 file.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1231 generated file.
1232 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1233 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1234 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1235 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1236 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1237 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1238 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1239 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1240
2307e126
SP
12412014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1242
1243 [BZ #17084]
1244 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1245 Rename member __data.d to __data.__elision_data.
1246
c0a4ed77
W
12472014-06-24 Wilco <wdijkstr@arm.com>
1248
1249 * NEWS: Add 16918 to fixed bug list.
1250
b8c00573
W
12512014-06-24 Wilco <wdijkstr@arm.com>
1252
1253 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1254
b5570d92
W
12552014-06-24 Wilco <wdijkstr@arm.com>
1256
1257 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1258 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1259 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1260 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1261 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1262 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1263 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1264 Use _FPU_MASK_RM.
1265
947bdca2
W
12662014-06-24 Wilco <wdijkstr@arm.com>
1267
1268 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1269
00f669ed
W
12702014-06-24 Wilco <wdijkstr@arm.com>
1271
1272 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1273 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1274 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1275 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1276
db59bad3
W
12772014-06-24 Wilco <wdijkstr@arm.com>
1278
1279 [BZ #16918]
1280 * sysdeps/arm/feupdateenv.c (feupdateenv):
1281 Rewrite to reduce FPSCR accesses and fix return value.
1282
001f7b77
W
12832014-06-24 Wilco <wdijkstr@arm.com>
1284
1285 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1286 Optimize to avoid unnecessary FPSCR writes.
1287 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1288 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1289 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1290 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1291
4841e6a6
W
12922014-06-24 Wilco <wdijkstr@arm.com>
1293
1294 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1295 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1296 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1297 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1298 Call libc_fetestexcept_vfp.
1299 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1300 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1301 __SOFTFP__ ifdef so that they can be built for softfp.
1302
0813022c
SP
13032014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1304
08e5862f
SP
1305 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1306 argument type signed char.
1307
0813022c
SP
1308 * Makerules (check-abi): Dump diff of symlist if the test
1309 fails.
1310
3fc7236a
RM
13112014-06-23 Roland McGrath <roland@hack.frob.com>
1312
aba8ef95
RM
1313 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1314 using abort.
1315
3fc7236a
RM
1316 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1317 Remove unused variable ST.
1318
4da6db51
JM
13192014-06-23 Joseph Myers <joseph@codesourcery.com>
1320
4648909d
JM
1321 [BZ #16354]
1322 [BZ #17061]
1323 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1324 small arguments before calling __expm1.
1325 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1326 small arguments before calling __expm1f.
1327 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1328 small arguments before calling __expm1l.
1329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1330 Likewise.
1331 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1332 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1333 spurious underflow for some cosh tests.
1334 * math/auto-libm-test-out: Regenerated.
1335 * sysdeps/i386/fpu/libm-test-ulps: Update.
1336
46a3d3c7
JM
1337 [BZ #17050]
1338 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1339 (__ieee754_y1): Set errno if return value overflows.
1340 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1341 (__ieee754_y1f): Set errno if return value overflows.
1342 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1343 (__ieee754_y1l): Set errno if return value overflows.
1344 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1345 (__ieee754_y1l): Set errno if return value overflows.
1346 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1347 * math/auto-libm-test-out: Regenerated.
1348
863893ec
JM
1349 * math/gen-auto-libm-tests.c: Document use of
1350 ignore-zero-inf-sign.
1351 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1352 (input_flags): Add ignore-zero-inf-sign.
1353 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1354 * math/gen-libm-test.pl (generate_testfile): Handle
1355 ignore-zero-inf-sign.
1356 * math/auto-libm-test-in: Mark some cpow tests with
1357 ignore-zero-inf-sign and some with xfail-rounding.
1358 * math/auto-libm-test-out: Regenerated.
1359 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1360 * sysdeps/i386/fpu/libm-test-ulps: Update.
1361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1362
4da6db51
JM
1363 [BZ #16315]
1364 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1365 overflowing or underflowing operations take place with sign of
1366 result.
1367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1368 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1369 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1370 (__ieee754_pow): Recompute overflowing and underflowing results in
1371 original rounding mode.
1372 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1373 (__powl_helper): Allow negative argument X and scale negated value
1374 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1375 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1376 overflowing or underflowing operations take place with sign of
1377 result.
1378 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1379 Include <math.h>.
1380 * math/auto-libm-test-in: Add more tests of pow.
1381 * math/auto-libm-test-out: Regenerated.
1382 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1383 (pow_tonearest_test_data): Remove.
1384 (pow_test_tonearest): Likewise.
1385 (pow_towardzero_test_data): Likewise.
1386 (pow_test_towardzero): Likewise.
1387 (pow_downward_test_data): Likewise.
1388 (pow_test_downward): Likewise.
1389 (pow_upward_test_data): Likewise.
1390 (pow_test_upward): Likewise.
1391 (main): Don't call removed functions.
1392 * sysdeps/i386/fpu/libm-test-ulps: Update.
1393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1394
5686b236
RM
13952014-06-23 Roland McGrath <roland@hack.frob.com>
1396
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1398 Moved ...
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1401 Moved ...
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1404 Moved ...
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1407 Moved ...
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1410 File removed.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1412 File removed.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1414 File removed.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1416 File removed.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1418 File removed.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1420 File removed.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1422 File removed.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1424 File removed.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1426 File removed.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1428 File removed.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1430 File removed.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1432 File removed.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1434 Moved ...
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1437 Moved ...
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1439 ... here.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1441 Moved ...
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1444 Moved ...
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1447 Moved ...
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1450 Moved ...
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1453 Moved ...
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1456 Moved ...
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1459 Moved ...
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1463 ... here.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1465 Moved ...
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1468 Moved ...
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1470 ... here.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1472 Moved ...
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1474 ... here.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1476 Moved ...
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1478 ... here.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1480 Moved ...
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1483 Moved ...
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1488 Moved ...
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1490 ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1492 Moved ...
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1494 ... here.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1496 Moved ...
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1499 Moved ...
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1502 Moved ...
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1505 Moved ...
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1508 Moved ...
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1510 ... here.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1512 Moved ...
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1515 Moved ...
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1518 Moved ...
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1521 Moved ...
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1526 Moved ...
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1529 Moved ...
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1532 Moved ...
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1534 ... here.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1536 Moved ...
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1538 ... here.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1542 ... here.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1544 Moved ...
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1547 Moved ...
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1550 Moved ...
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1553 Moved ...
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1555 ... here.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1557 Moved ...
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1559 ... here.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1561 Moved ...
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1563 ... here.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1565 Moved ...
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1568 Moved ...
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1570
e6d90d67
WD
15712014-06-23 Will Newton <will.newton@linaro.org>
1572 Wilco <wdijkstr@arm.com>
1573
1574 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1575 implementation. Include get-rounding-mode.h.
1576 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1577 [!libc_feholdsetround_noex_ctx]: Define
1578 libc_feholdsetround_noex_ctx.
1579 [!libc_feholdsetround_noexf_ctx]: Define
1580 libc_feholdsetround_noexf_ctx.
1581 [!libc_feholdsetround_noexl_ctx]: Define
1582 libc_feholdsetround_noexl_ctx.
1583 (libc_feholdsetround_ctx): New function.
1584 (libc_feresetround_ctx): New function.
1585 (libc_feholdsetround_noex_ctx): New function.
1586 (libc_feresetround_noex_ctx): New function.
1587
d42df555
RM
15882014-06-23 Roland McGrath <roland@hack.frob.com>
1589
88a46474
RM
1590 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1591 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1592 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1593 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1594 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1595 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1596
15bed472
RM
1597 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1598 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1599 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1600 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1601 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1602 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1603 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1604 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1606 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1608 Moved ...
1609 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1610 ... here.
1611 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1616 Moved ...
1617 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1625 Moved ...
1626 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1628 Moved ...
1629 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1631 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1633 Moved ...
1634 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1638 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1639 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1640 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1641 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1644 Moved ...
1645 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1646 ... here.
1647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1660 Moved ...
1661 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1667 Moved ...
1668 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1670 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1672 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1673
d42df555
RM
1674 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1675 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1676 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1681 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1689 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1690 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1691 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1693 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1695 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1699 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1700 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1701 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1702
76e5216e
JM
17032014-06-23 Joseph Myers <joseph@codesourcery.com>
1704
1705 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1706 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1707 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1708 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1709 (IPV6_PMTUDISC_INTERFACE): Likewise.
1710 (IPV6_PMTUDISC_OMIT): Likewise.
1711
7a81cbcc
AS
17122014-06-23 Andreas Schwab <schwab@suse.de>
1713
1714 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1715 Remove unused errout label.
1716
db224009
AZ
17172014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1718
1719 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1720 macro: hardware supports Vector Crypto instructions.
1721
f393b4aa
WN
17222014-06-23 Will Newton <will.newton@linaro.org>
1723
cc7d0447
WN
1724 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1725 rather than __builtin_expect.
1726
d6d06225
WN
1727 * elf/dl-lookup.c (undefined_msg): Remove variable.
1728 (_dl_lookup_symbol_x): Replace undefined_msg with string
1729 literal.
1730
f393b4aa
WN
1731 * elf/dl-lookup.c (do_lookup_unique): New function.
1732 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1733 to a separate function.
1734
ac60763e
AS
17352014-06-23 Andreas Schwab <schwab@suse.de>
1736
1737 [BZ #17079]
1738 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1739 before reading the next line.
1740
c5c13355
WN
17412014-06-23 Will Newton <will.newton@linaro.org>
1742
1743 * test-skeleton.c (signal_handler): Use printf and %m
1744 rather than perror. Use printf rather than fprintf to
1745 stderr. Use puts rather than fputs to stderr.
1746 (main): Likewise.
1747
bd3675f9
LC
17482014-06-22 Ludovic Courtès <ludo@gnu.org>
1749
1750 * nscd/nscd.c (thread_info_t): Remove typedef.
1751 (thread_info): Remove variable.
1752
d03efb2f
AM
17532014-06-21 Allan McRae <allan@archlinux.org>
1754
1755 * NEWS: Mention CVE-2014-4043.
1756
bc4a86fa
RM
17572014-06-20 Roland McGrath <roland@hack.frob.com>
1758
dc9a54f8
RM
1759 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1760 * nptl/smp.h: ... here.
1761
bd7022c4
RM
1762 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1763
26ffd5e6
RM
1764 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1765 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1766 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1767 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1768
93a6d082
RM
1769 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1770 * nptl/stack-aliasing.h: New file.
1771 * sysdeps/i386/i686/stack-aliasing.h: New file.
1772 * sysdeps/i386/i686/nptl/Makefile: File removed.
1773 * sysdeps/x86_64/stack-aliasing.h: New file.
1774 * sysdeps/x86_64/nptl/Makefile
1775 (CFLAGS-pthread_create.c): Variable removed.
1776
bc4a86fa
RM
1777 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1778 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1779 old file.
1780 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1781 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1782 old file.
1783
2272ffc1
JM
17842014-06-21 Joseph Myers <joseph@codesourcery.com>
1785
1786 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1787 (__ASSUME_SIGFRAME_V2): Remove macro.
1788 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1789 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1790 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1791 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1792 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1793 Declare as function. Remove conditional macro definitions.
1794 (__default_rt_sa_restorer): Likewise.
1795 (__default_sa_restorer_v1): Remove declaration.
1796 (__default_sa_restorer_v2): Likewise.
1797 (__default_rt_sa_restorer_v1): Likewise.
1798 (__default_rt_sa_restorer_v2): Likewise.
1799 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1800 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1801 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1802
4b88139b
RM
18032014-06-20 Roland McGrath <roland@hack.frob.com>
1804
1805 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1806 (libpthread-routines): Add sysdep.
1807 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1808 * sysdeps/unix/sysv/linux/sparc/Versions
1809 (libpthread: GLIBC_2.3.3): New version set.
1810 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1811 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1812 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1813 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1814 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1815 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1816 Moved ...
1817 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1819 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1821 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1823 * sysdeps/sparc/nptl/sem_init.c: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1825 * sysdeps/sparc/nptl/sem_post.c: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1827 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1829 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1830 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1831 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1832 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1833 (libpthread-routines): Add cpu_relax.
1834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1835 File removed.
1836 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1837 (librt: GLIBC_2.3.3): New version set.
1838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1839 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1841 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1844 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1846 Moved ...
1847 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1849 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1851 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1853 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1855 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1857 Moved ...
1858 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1859 Update #include.
1860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1861 Moved ...
1862 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1863 Update #include.
1864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1865 Moved ...
1866 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1867 Update #include.
1868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1869 Moved ...
1870 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1871 Update #include.
1872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1873 Moved ...
1874 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1875 Update #include.
1876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1877 Moved ...
1878 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1879 Update #include.
1880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1881 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1887 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1891 Moved ...
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1896 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1897
d7109027
JM
18982014-06-20 Joseph Myers <joseph@codesourcery.com>
1899
9bc6103d
JM
1900 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1901 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1902 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1903 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1904 * nscd/nscd.c: Likewise.
1905 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1906 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1907 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1908 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1909
d7109027
JM
1910 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1911 <kernel-features.h>.
1912 (init_mq_netlink): Remove conditional have_sock_cloexec
1913 definitions. Remove code conditional on have_sock_cloexec < 0.
1914 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1915 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1916 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1917 <kernel-features.h>.
1918 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1919 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1920
d92d8f8a
L
19212014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1924 Add tests for memset_chk and memset.
1925
1926 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1927 with AVX2_Usable.
1928
4e6d2347
MR
19292014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1930
257ce712
MR
1931 [BZ #16046]
1932 * elf/tst-dl-iter-static.c: New file.
1933 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1934
4e6d2347
MR
1935 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1936 error.
1937
a2a76afe
JM
19382014-06-20 Joseph Myers <joseph@codesourcery.com>
1939
7fd00f99
JM
1940 * sysdeps/unix/sysv/linux/kernel-features.h
1941 (__ASSUME_F_GETOWN_EX): Remove macro.
1942 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1943 <kernel-features.h>.
1944 (miss_F_GETOWN_EX): Remove variable or macro.
1945 (do_fcntl): Do not check miss_F_GETOWN_EX.
1946 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1947
4a103975
JM
1948 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1949 Remove macro.
1950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1951 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1952 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1953
a2a76afe
JM
1954 * sysdeps/unix/sysv/linux/kernel-features.h
1955 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1956 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1957 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1958 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1959
90e5dd48
MR
19602014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1961
1962 [BZ #17075]
1963 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1964 Fix calculation of the symbol's value.
1965 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1966 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1967 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1968 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1969 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1970 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1971 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1972 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1973 (modules-names): Add `tst-armtlsdescmod',
1974 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1975 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1976 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1977 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1978 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1979 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1980 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1981 ($(objpfx)tst-armtlsdescloc): New dependency.
1982 ($(objpfx)tst-armtlsdescextnow): Likewise.
1983 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1984 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1985 TLS scheme support.
1986 * sysdeps/arm/configure: Regenerate.
1987
809fdf0d
JM
19882014-06-20 Joseph Myers <joseph@codesourcery.com>
1989
1990 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1991 (__atfct_seterrno_2): Likewise.
1992 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1993 <kernel-features.h>.
1994 (__ASSUME_ATFCTS): Do not undefine and redefine.
1995 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1996 (__have_atfcts): Remove conditional definition.
1997 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1998 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1999 unreachable if [__ASSUME_ATFCTS].
2000 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2001 not undefine and redefine.
2002 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2003 <kernel-features.h>.
2004 (faccessat) [__NR_faccessat]: Make code unconditional.
2005 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2006 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2007 <kernel-features.h>.
2008 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2009 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2010 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2011 <kernel-features.h>.
2012 (fchownat) [__NR_fchownat]: Make code unconditional.
2013 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2014 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2015 <kernel-features.h>.
2016 (futimesat) [__NR_futimesat]: Make code unconditional.
2017 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2018 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2019 <kernel-features.h>.
2020 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2021 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2022 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2023 <kernel-features.h>.
2024 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2025 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2026 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2027 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2028 <kernel-features.h>.
2029 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2030 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2031 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2032 <kernel-features.h>.
2033 (linkat) [__NR_linkat]: Make code unconditional.
2034 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2035 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2036 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2037 <kernel-features.h>.
2038 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2039 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2041 <kernel-features.h>.
2042 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2043 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/openat.c: Do not include
2045 <kernel-features.h>.
2046 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2047 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2048 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2049 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2050 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2051 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2052 <kernel-features.h>.
2053 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2054 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2055 result of INLINE_SYSCALL directly, not via int variable.
2056 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2057 <kernel-features.h>.
2058 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2059 (renameat) [__NR_renameat]: Make code unconditional.
2060 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2061 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2062 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2065 (__ASSUME_ATFCTS): Do not undefine and redefine.
2066 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2067 <kernel-features.h>.
2068 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2069 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2071 <kernel-features.h>.
2072 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2073 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2075 (__ASSUME_ATFCTS): Do not undefine and redefine.
2076 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2077 <kernel-features.h>.
2078 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2079 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2080 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2081 <kernel-features.h>.
2082 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2083 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2084
224c6c51
L
20852014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2086
2087 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2088
aa6ec754
AS
20892014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2090
2091 [BZ #17069]
2092 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2093 constructed tree before returning error.
2094 * posix/bug-regexp36.c: Expand test case.
2095
d8c2869d
SL
20962014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2097
3ef6b850
SL
2098 [BZ #6803]
2099 * math/libm-test.inc (scalbln_test_date):
2100 Add errno expectations.
2101 * math/w_scalblnf.c: New File.
2102 Add wrapper which checks for setting errno to ERANGE.
2103 Add weak_alias for corresponding scalbln function.
2104 * math/w_scalbln.c: Likewise.
2105 * math/w_scalblnl.c: Likewise.
2106 * math/Makefile (libm-calls): Add w_scalbln.
2107 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2108 Remove weak_alias for corresponding scalbln function.
2109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2113 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2114 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2115 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2116 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2117 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2118 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2119 Remove long_double_symbol for scalblnl function in libm, libc.
2120 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2121 Add wrapper which checks for setting errno to ERANGE.
2122 Add long_double_symbol for scalblnl function in libm, libc.
2123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2124 Remove long_double_symbol for scalblnl in libm.
2125 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2126 Add wrapper which checks for setting errno to ERANGE.
2127 Add long_double_symbol for scalblnl function in libm.
2128 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2129 Do not use wrapper because of own implementation.
2130
c8daec5c
L
21312014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2134 3 bytes for __pad1 for x32.
2135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2136
5c74e47c
LM
21372014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2138 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2141 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2142 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2143 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2144 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2145
4d43ef1e
AS
21462014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2147
2148 [BZ #17069]
2149 * posix/regcomp.c (parse_expression): Deallocate partially
2150 constructed tree before returning error.
2151 * posix/Makefile.c (tests): Add bug-regex36.
2152 (generated): Add bug-regex36.mtrace.
2153 (tests-special): Add $(objpfx)bug-regex36-mem.out
2154 (bug-regex36-ENV): New variable.
2155 ($(objpfx)bug-regex36-mem.out): New rule.
2156 * posix/bug-regex36.c: New file.
2157
51a7380b
WN
21582014-06-19 Will Newton <will.newton@linaro.org>
2159
2160 * malloc/malloc.c (systrim): If extra is zero then return
2161 early.
2162
91b84fe5
SP
21632014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2164
2165 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2166
f940b965
RE
21672014-06-19 Richard Earnshaw <rearnsha@arm.com>
2168
2169 * sysdeps/aarch64/strchr.S: New file.
2170
4ba7a00f
JM
21712014-06-18 Joseph Myers <joseph@codesourcery.com>
2172
2173 [BZ #17022]
2174 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2175 from arguments -2 or below.
2176 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2177 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2178
b3a9f56b
AS
21792014-06-18 Andreas Schwab <schwab@suse.de>
2180
2181 [BZ #17062]
2182 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2183 of a bracket expr not to run off the end of the string.
2184 * posix/Makefile (tests): Add tst-fnmatch3.
2185 * posix/tst-fnmatch3.c: New file.
2186
85d89278
JM
21872014-06-18 Joseph Myers <joseph@codesourcery.com>
2188
2189 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2190 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2191 [$(cross-compiling) = no]: Likewise.
2192 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2193 [$(cross-compiling) = no]: Likewise.
2194
754c5a08
RS
21952014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2196
2197 [BZ #17031]
2198 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2199 double, adjusted for any remainder from the high double.
2200 * math/libm-test.inc (nearbyint): Add tests.
2201 (rint): Likewise.
2202
556f529d
AZ
22032014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2204
2205 * nptl/sysdeps/powerpc/Makefile: Moved ...
2206 * sysdeps/powerpc/nptl/Makefile: ... here.
2207 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2208 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2209 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2210 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2211 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2212 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2213 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2214 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2215 * nptl/sysdeps/powerpc/tls.h: Moved ...
2216 * sysdeps/powerpc/nptl/tls.h: ... here.
2217
91c03c53
JM
22182014-06-16 Joseph Myers <joseph@codesourcery.com>
2219
2220 [BZ #16681]
2221 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2222 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2223 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2224 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2225 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2226 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2227 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2228 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2229 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2230
a76e63c5
AS
22312014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2232
2233 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2234
f2f6d82f
AS
22352014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2236
ea8a15f6
AS
2237 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2238 defined operator.
2239
f2f6d82f
AS
2240 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2241 $TIMEOUTFACTOR.
2242
a7291117
FW
22432014-06-16 Florian Weimer <fweimer@redhat.com>
2244
2245 [BZ #17058]
2246 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2247 non-executed part of the test.
2248
3d7c00e3
AS
22492014-06-16 Andreas Schwab <schwab@suse.de>
2250
2251 * string/bits/string2.h (strdup, strndup): Update feature guard.
2252
6957fb31
DM
22532014-06-14 David S. Miller <davem@davemloft.net>
2254
2255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2256
11b9e55b
AS
22572014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2258
1d2a0492
AS
2259 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2260 that was previously under [RESET_PID].
2261 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2262
11b9e55b
AS
2263 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2264 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2265 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2266 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2267 (__libc_vfork): New strong alias.
2268 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2269
0f6901d0
AK
22702014-06-14 Andi Kleen <ak@linux.intel.com>
2271
2272 * sysdeps/generic/elide.h: New file.
2273
38bbbb9f
SL
22742014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2275
2276 * Makefile (installed-headers): Adjust path of pthread.h header.
2277
45193bb8
RM
22782014-06-13 Roland McGrath <roland@hack.frob.com>
2279
9a25fd1e
RM
2280 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2281 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2282 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2283 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2284
4004f7e4
RM
2285 * nptl/sysdeps/s390/Makefile: Moved ...
2286 * sysdeps/s390/nptl/Makefile: ... here.
2287 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2288 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2289 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2290 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2291 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2292 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2293 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2294 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2295 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2296 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2297 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2298 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2299 * nptl/sysdeps/s390/tls.h: Moved ...
2300 * sysdeps/s390/nptl/tls.h: ... here.
2301
45193bb8
RM
2302 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2303 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2304
f6fdf533
DM
23052014-06-13 David S. Miller <davem@davemloft.net>
2306
2307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2310 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2312 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2315 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2316 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2318 Remove RESET_PID cpp guards.
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2320 Remove RESET_PID cpp guards.
2321 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2322
f5d71e14
AS
23232014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2324
2325 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2326 __sp to uintptr_t.
2327
b7aa8caa
AK
23282014-06-13 Andi Kleen <ak@linux.intel.com>
2329
4b266200
AZ
2330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2332 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2333 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2334 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2337 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2338 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2339 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2340 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2344 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2345 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2347 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2349 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2350
2351 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2352 (pthread_rwlock_rdlock): Add elision.
2353 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2354 (pthread_rwlock_wrlock): Add elision.
2355 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2356 (pthread_rwlock_trywrlock): Add elision.
2357 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2358 (pthread_rwlock_tryrdlock): Add elision.
2359 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2360 (pthread_rwlock_tryrdlock): Add elision unlock.
2361 * nptl/sysdeps/pthread/pthread.h:
2362 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2363 (PTHREAD_RWLOCK_INITIALIZER,
2364 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2365 Handle new elision field.
2366 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2367 * sysdeps/arm/nptl/bits/pthreadtypes.h
2368 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2369 * sysdeps/sh/nptl/bits/pthreadtypes.h
2370 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2371 * sysdeps/tile/nptl/bits/pthreadtypes.h
2372 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2373 * sysdeps/a/nptl/bits/pthreadtypes.h
2374 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2375 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2377 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2378 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2379 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2380 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2381 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2382 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2383 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2384 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2385 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2386 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2387 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2388 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2389 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2390 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2391 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2392 (elision_init): Set try_xbegin to zero when no RTM.
2393 * sysdeps/x86/nptl/bits/pthreadtypes.h
2394 (pthread_rwlock_t): Change __pad1 to __rwelision.
2395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2396
a832bdd3
AK
23972014-06-13 Andi Kleen <ak@linux.intel.com>
2398
2399 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2400 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2401 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2402 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2403
995a46bb
MI
24042014-06-13 Meador Inge <meadori@codesourcery.com>
2405
2406 [BZ #16996]
03ed7738 2407 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2408 that the cached result has been set before returning it.
2409
45262aee
RM
24102014-06-12 Roland McGrath <roland@hack.frob.com>
2411
febf6cc5
RM
2412 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2413 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2415 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2417 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2418
e2682246
RM
2419 * nptl/sysdeps/sparc/Makefile: Moved ...
2420 * sysdeps/sparc/nptl/Makefile: ... here.
2421 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2422 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2423 * nptl/sysdeps/sparc/tls.h: Moved ...
2424 * sysdeps/sparc/nptl/tls.h: ... here.
2425 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2426 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2427 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2428 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2429 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2430 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2431 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2432 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2433 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2434 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2435 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2436 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2437 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2438 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2439 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2440 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2441 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2442 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2443 Update #include.
2444 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2445 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2446 Update #include.
2447 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2448 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2449 Update #include.
2450 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2451 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2452 Update #include.
2453
b0725f43
RM
2454 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2455
b14368b8
RM
2456 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2457 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2458
c5620eb3
RM
2459 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2460 (struct list_links): Type removed.
2461 (struct thread_node, struct timer_node): Replace struct list_links
2462 with struct list_head.
2463 (list_unlink_ip): Likewise.
2464 * sysdeps/pthread/timer_routines.c
2465 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2466 (list_append, list_insbefore): Likewise.
2467 (list_init): Function removed.
2468 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2469 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2470 * sysdeps/pthread/Makefile: ... here, new file.
2471
2472 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2473 * sysdeps/nptl/Implies: ... here.
2474 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2475 * nptl/sysdeps/pthread/list.h: Moved ...
2476 * include/list.h: ... here.
2477 * nptl/sysdeps/pthread/createthread.c: Moved ...
2478 * nptl/createthread.c: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2480 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2481 * nptl/pt-longjmp.c: ... here.
2482 * nptl/sysdeps/pthread/Makefile: Moved ...
2483 * sysdeps/nptl/Makefile: ... here.
2484 * nptl/sysdeps/pthread/Subdirs: Moved ...
2485 * sysdeps/nptl/Subdirs: ... here.
2486 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2487 * sysdeps/nptl/aio_misc.h: ... here.
2488 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2489 * sysdeps/nptl/bits/libc-lock.h: ... here.
2490 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2491 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2492 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2493 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2494 * nptl/sysdeps/pthread/configure: Moved ...
2495 * sysdeps/nptl/configure: ... here.
2496 * nptl/sysdeps/pthread/configure.ac: Moved ...
2497 * sysdeps/nptl/configure.ac: ... here.
2498 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2499 * sysdeps/nptl/gai_misc.h: ... here.
2500 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2501 * sysdeps/nptl/librt-cancellation.c: ... here.
2502 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2503 * sysdeps/nptl/malloc-machine.h: ... here.
2504 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2505 * sysdeps/nptl/pthread-functions.h: ... here.
2506 * nptl/sysdeps/pthread/pthread.h: Moved ...
2507 * sysdeps/nptl/pthread.h: ... here.
2508 * nptl/sysdeps/pthread/setxid.h: Moved ...
2509 * sysdeps/nptl/setxid.h: ... here.
2510 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2511 * sysdeps/nptl/sigfillset.c: ... here.
2512 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2513 * sysdeps/nptl/tcb-offsets.h: ... here.
2514 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2515 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2516 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2517 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2518 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2519 * sysdeps/pthread/allocalim.h: ... here.
2520 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2521 * sysdeps/pthread/bits/sigthread.h: ... here.
2522 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2523 * sysdeps/pthread/flockfile.c: ... here.
2524 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2525 * sysdeps/pthread/ftrylockfile.c: ... here.
2526 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2527 * sysdeps/pthread/funlockfile.c: ... here.
2528 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2529 * sysdeps/pthread/posix-timer.h: ... here.
2530 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2531 * sysdeps/pthread/timer_create.c: ... here.
2532 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2533 * sysdeps/pthread/timer_delete.c: ... here.
2534 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2535 * sysdeps/pthread/timer_getoverr.c: ... here.
2536 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2537 * sysdeps/pthread/timer_gettime.c: ... here.
2538 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2539 * sysdeps/pthread/timer_routines.c: ... here.
2540 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2541 * sysdeps/pthread/timer_settime.c: ... here.
2542 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2543 * sysdeps/pthread/tst-timer.c: ... here.
2544 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2545 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2546
e876b090
RM
2547 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2548 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2549
f6b07b3d
RM
2550 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2551 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2552 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2553 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2554 Update #include target.
2555 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2556 * sysdeps/i386/i686/nptl/Makefile: ... here.
2557 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2558 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2559 Update #include target.
2560 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2561 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2562 * nptl/sysdeps/i386/Makefile: Moved ...
2563 * sysdeps/i386/nptl/Makefile: ... here.
2564 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2565 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2566 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2567 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2568 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2569 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2570 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2571 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2572 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2573 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2574 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2575 * nptl/sysdeps/i386/tls.h: Moved ...
2576 * sysdeps/i386/nptl/tls.h: ... here.
2577
45262aee
RM
2578 * sysdeps/sh/Makefile [$(subdir) = csu]
2579 (gen-as-const-headers): Add tcb-offsets.sym.
2580 * nptl/sysdeps/sh/Makefile: File removed.
2581 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2582 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2583 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2584 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2585 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2586 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2587 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2588 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2589 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2590 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2591 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2592 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2593 * nptl/sysdeps/sh/tls.h: Moved ...
2594 * sysdeps/sh/nptl/tls.h: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2596 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2598 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2600 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2604 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2606 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2608 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2610 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2612 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2614 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2616 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2618 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2620 Moved ...
2621 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2623 Moved ...
2624 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2626 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2628 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2630 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2632 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2634 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2636 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2638 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2640 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2642 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2643
35a5e3e3
SL
26442014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2645
2646 * posix/spawn_faction_addopen.c: Include string.h.
2647
14642b85
RM
26482014-06-11 Roland McGrath <roland@hack.frob.com>
2649
2650 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2651 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2652 * nptl/sysdeps/x86_64/Makefile: Moved ...
2653 * sysdeps/x86_64/nptl/Makefile: ... here.
2654 * nptl/sysdeps/x86_64/configure: Moved ...
2655 * sysdeps/x86_64/nptl/configure: ... here.
2656 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2657 * sysdeps/x86_64/nptl/configure.ac: ... here.
2658 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2659 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2660 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2661 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2662 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2663 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2664 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2665 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2666 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2667 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2668 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2669 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2670 * nptl/sysdeps/x86_64/tls.h: Moved ...
2671 * sysdeps/x86_64/nptl/tls.h: ... here.
2672 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2673 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2674 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2675 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2676
2677 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2678
31c44fea
AZ
26792014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680
2681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2682
e81a4f9a
JM
26832014-06-11 Joseph Myers <joseph@codesourcery.com>
2684
2685 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2686 type.
2687 [POSIX] (off_t): Likewise.
2688 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2689 [POSIX] (S_ISBLK): Require macro.
2690 [POSIX] (S_ISCHR): Likewise.
2691 [POSIX] (S_ISDIR): Likewise.
2692 [POSIX] (S_ISFIFO): Likewise.
2693 [POSIX] (S_ISREG): Likewise.
2694 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2695 optional-macro.
2696 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2697 type.
2698 [POSIX] (time_t): Likewise.
2699 [POSIX] (timer_t): Likewise.
2700
89e435f3
FW
27012014-06-11 Florian Weimer <fweimer@redhat.com>
2702
2703 [BZ #17048]
2704 * posix/spawn_int.h (struct __spawn_action): Make the path string
2705 non-const to support deallocation.
2706 * posix/spawn_faction_addopen.c
2707 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2708 * posix/spawn_faction_destroy.c
2709 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2710 path in all spawn_do_open actions.
2711 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2712 posix_spawn_file_actions_addopen.
2713
c3a2ebe1
CM
27142014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2715
2716 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2717 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2718 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2719 conditional code always true.
2720 (__libc_vfork): New alias.
2721
9503784a
RM
27222014-06-11 Roland McGrath <roland@hack.frob.com>
2723
c9cab3d2
RM
2724 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2725 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2726
d3996c79
RM
2727 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2728
ba5ec611
RM
2729 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2730 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2731
f12b4814
RM
2732 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2733 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2734
9503784a
RM
2735 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2736 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2737
e23d3d26
VR
27382014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2739
2740 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2741 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2742 multiarch strcmp for PPC64.
2743 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2744 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2746 multiarch optimizations.
2747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2748 (__libc_ifunc_impl_list): Likewise.
2749
42b1161e
SP
27502014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2751
2752 * benchtests/scripts/validate_benchout.py: New script.
2753 * benchtests/Makefile (bench-func): Call it.
2754 * benchtests/scripts/benchout.schema.json: New file.
2755
2d0fc4dc
CM
27562014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2757
4a594c34
AZ
2758 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2759 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2760 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2761 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2762 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2763 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2764 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2765 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2766 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2767 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2768 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2769 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2770 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2771 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2772 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2773 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2775 Moved ...
4a594c34 2776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2777 ... here.
4a594c34 2778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2779 Moved ...
4a594c34
AZ
2780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2782 Moved ...
4a594c34 2783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2784 ... here.
4a594c34 2785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2786 Moved ...
4a594c34 2787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2788 ... here.
4a594c34 2789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2790 Moved ...
4a594c34
AZ
2791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2793 Moved ...
4a594c34 2794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2795 ... here.
4a594c34 2796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2797 Moved ...
4a594c34 2798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2799 ... here.
4a594c34 2800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2801 Moved ...
4a594c34
AZ
2802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2804 Moved ...
4a594c34 2805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2806 ... here.
4a594c34 2807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2808 Moved ...
4a594c34 2809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2810 ... here.
4a594c34 2811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2812 Moved ...
4a594c34 2813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2814 ... here.
4a594c34 2815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2816 Moved ...
4a594c34
AZ
2817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2819 Moved ...
4a594c34 2820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2821 ... here.
4a594c34 2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2823 Moved ...
4a594c34 2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2825 ... here.
4a594c34 2826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2827 Moved ...
4a594c34 2828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2829 ... here.
4a594c34 2830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2831 Moved ...
4a594c34
AZ
2832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2834 Moved ...
4a594c34 2835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2836 ... here.
4a594c34 2837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2838 Moved ...
4a594c34 2839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2840 ... here.
4a594c34 2841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2842 Moved ...
4a594c34
AZ
2843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2845 Moved ...
4a594c34 2846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2847 ... here.
4a594c34 2848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2849 Moved ...
4a594c34
AZ
2850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2852 Moved ...
4a594c34
AZ
2853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2855 Moved ...
4a594c34 2856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2857 ... here.
4a594c34 2858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2859 Moved ...
4a594c34 2860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2861 ... here.
4a594c34 2862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2863 Moved ...
4a594c34 2864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2865 ... here.
4a594c34 2866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2867 Moved ...
4a594c34
AZ
2868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2870 Moved ...
4a594c34 2871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2872 ... here.
4a594c34 2873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2874 Moved ...
4a594c34 2875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2876 ... here.
4a594c34
AZ
2877 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2878 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2879 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2880 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2882 Moved ...
4a594c34 2883 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2884 ... here.
4a594c34
AZ
2885 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2886 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2889 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2898 Moved ...
4a594c34
AZ
2899 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2901 Moved ...
4a594c34
AZ
2902 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2906 Moved ...
4a594c34
AZ
2907 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2909 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2910 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2911 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2912 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2913 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2914
0570cfed
W
29152014-06-10 Wilco <wdijkstr@arm.com>
2916
2917 * math/test-fenv-return.c: New file.
2918 * math/Makefile: Add new test test-fenv-return.
2919
f8ba1b56
JM
29202014-06-10 Joseph Myers <joseph@codesourcery.com>
2921
2922 [BZ #17042]
2923 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2924 when x - 1 is zero.
2925 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2926 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2927 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2928 0.0L for an argument of 1.0L.
2929 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2930 Likewise.
2931 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2932 value when x - 1 is zero.
2933 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2934 * sysdeps/i386/fpu/libm-test-ulps: Update.
2935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2936
2c3520d9
BO
29372014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2938
2939 [BZ #15119]
2940 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2941
acaa4d24
RM
29422014-06-09 Roland McGrath <roland@hack.frob.com>
2943
2944 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2945 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2946
962b744d
RM
29472014-06-09 Roland McGrath <roland@hack.frob.com>
2948
d752f0cc
RM
2949 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2950 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2951
34eda6d1
RM
2952 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2953 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2954
50f0a637
RM
2955 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2956 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2957
08f41f04
RM
2958 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2959 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2960
962b744d
RM
2961 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2962 if not already defined.
2963 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2964 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2965 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2966 (TLS_INIT_TP): Use it.
2967 (TLS_DEFINE_INIT_TP): New macro.
2968 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2969
09f19b05
JM
29702014-06-09 Joseph Myers <joseph@codesourcery.com>
2971
2972 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2973 constant.
2974 [POSIX] (IXANY): Likewise.
2975 [POSIX] (OLCUC): Likewise.
2976 [POSIX || POSIX2008] (CBAUD): Do not allow.
2977 [POSIX || POSIX2008] (DEFECHO): Likewise.
2978 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2979 [POSIX || POSIX2008] (ECHOKE): Likewise.
2980 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2981 [POSIX || POSIX2008] (EXTA): Likewise.
2982 [POSIX || POSIX2008] (EXTB): Likewise.
2983 [POSIX || POSIX2008] (FLUSHO): Likewise.
2984 [POSIX || POSIX2008] (LOBLK): Likewise.
2985 [POSIX || POSIX2008] (PENDIN): Likewise.
2986 [POSIX || POSIX2008] (SWTCH): Likewise.
2987 [POSIX || POSIX2008] (VDISCARD): Likewise.
2988 [POSIX || POSIX2008] (VDSUSP): Likewise.
2989 [POSIX || POSIX2008] (VLNEXT): Likewise.
2990 [POSIX || POSIX2008] (VREPRINT): Likewise.
2991 [POSIX || POSIX2008] (VSTATUS): Likewise.
2992 [POSIX || POSIX2008] (VWERASE): Likewise.
2993 (B*): Change to B[0123456789]*.
2994 * conform/data/time.h-data [POSIX || UNIX98]
2995 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2996 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2997 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2998 [POSIX] (tm_*): Do not allow.
2999
686554bf
JM
30002014-06-07 Joseph Myers <joseph@codesourcery.com>
3001
3002 * Makefile (install): Don't set LANGUAGE.
3003 * Makefile.in (install): Likewise.
3004 * assert/Makefile (test-assert-ENV): Remove variable.
3005 (test-assert-perr-ENV): Likewise.
3006 * elf/Makefile (neededtest4-ENV): Likewise.
3007 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3008 [$(cross-compiling) = no]: Don't set LANGUAGE.
3009 * io/ftwtest-sh (LANG): Remove variable.
3010 * libio/Makefile (tst-widetext-ENV): Likewise.
3011 * manual/install.texi (Running make install): Don't refer to
3012 environment settings for make install.
3013 * INSTALL: Regenerated.
3014 * nptl/tst-tls6.sh: Don't set LANG.
3015 * posix/globtest.sh (LANG): Remove variable.
3016 * string/Makefile (tester-ENV): Likewise.
3017 (inl-tester-ENV): Likewise.
3018 (noinl-tester-ENV): Likewise.
3019 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3020 [$(cross-compiling) = no]: Don't set LANGUAGE.
3021 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3022 without explicit environment settings.
3023
68e6b6b1
RM
30242014-06-06 Roland McGrath <roland@hack.frob.com>
3025
3026 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3027 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3029 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3030
4d3ae034
CM
30312014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3032
3033 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3034 other files in the crypt directory.
3035 * crypt/crypt.c: Remove duplicate includes.
3036 * crypt/crypt-entry.c: Likewise.
3037 * crypt/crypt_util.c: Likewise.
3038
8540f6d2
JM
30392014-06-06 Joseph Myers <joseph@codesourcery.com>
3040
3041 * Makeconfig (run-program-env): New variable.
3042 (run-program-prefix-before-env): Likewise.
3043 (run-program-prefix-after-env): Likewise.
3044 (run-program-prefix): Define in terms of new variables.
3045 (built-program-cmd-before-env): New variable.
3046 (built-program-cmd-after-env): Likewise.
3047 (built-program-cmd): Define in terms of new variables.
3048 (test-program-prefix-before-env): New variable.
3049 (test-program-prefix-after-env): Likewise.
3050 (test-program-prefix): Define in terms of new variables.
3051 (test-program-cmd-before-env): New variable.
3052 (test-program-cmd-after-env): Likewise.
3053 (test-program-cmd): Define in terms of new variables.
3054 * Rules (make-test-out): Use $(run-program-env).
3055 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3056 (help): Do not mention environment variables. Mention
3057 --timeoutfactor option.
3058 (timeoutfactor): New variable.
3059 (blacklist_exports): Remove function.
3060 (exports): Remove variable.
3061 (command): Do not include ${exports}.
3062 * manual/install.texi (Configuring and compiling): Do not mention
3063 test wrappers preserving environment variables. Mention that last
3064 assignment to a variable must take precedence.
3065 * INSTALL: Regenerated.
3066 * benchtests/Makefile (run-bench): Use $(run-program-env).
3067 * catgets/Makefile ($(objpfx)test1.cat): Use
3068 $(built-program-cmd-before-env), $(run-program-env) and
3069 $(built-program-cmd-after-env).
3070 ($(objpfx)test2.cat): Do not specify environment variables
3071 explicitly.
3072 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3073 $(run-program-env) and $(built-program-cmd-after-env).
3074 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3075 $(run-program-env) and $(test-program-cmd-after-env).
3076 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3077 explicitly.
3078 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3079 run_program_env and test_program_cmd_after_env arguments.
3080 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3081 * elf/tst-pathopt.sh: Use run_program_env argument.
3082 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3083 $(test-wrapper-env) and $(run-program-env).
3084 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3085 run_program_env arguments.
3086 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3087 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3088 $(test-program-prefix-before-env), $(run-program-env) and
3089 $(test-program-prefix-after-env).
3090 ($(objpfx)tst-gettext2.out): Likewise.
3091 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3092 run_program_env and test_program_prefix_after_env arguments.
3093 * intl/tst-gettext2.sh: Likewise.
3094 * intl/tst-gettext4.sh: Do not set environment variables
3095 explicitly.
3096 * intl/tst-gettext6.sh: Likewise.
3097 * intl/tst-translit.sh: Likewise.
3098 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3099 $(test-program-prefix-before-env), $(run-program-env) and
3100 $(test-program-prefix-after-env).
3101 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3102 run_program_env and test_program_prefix_after_env arguments.
3103 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3104 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3105 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3106 explicitly with each use of ${test_wrapper_env}.
3107 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3108 $(test-program-prefix-before-env), $(run-program-env) and
3109 $(test-program-prefix-after-env).
3110 * posix/tst-getconf.sh: Do not set environment variables
3111 explicitly.
3112 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3113 run_program_env and test_program_prefix_after_env arguments.
3114 * stdio-common/tst-printf.sh: Do not set environment variables
3115 explicitly.
3116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3117 $(test-program-prefix-before-env), $(run-program-env) and
3118 $(test-program-prefix-after-env).
3119 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3120 run_program_env and test_program_prefix_after_env arguments.
3121 Split $test calls into $test_pre and $test.
3122 * timezone/Makefile (build-testdata): Use
3123 $(built-program-cmd-before-env), $(run-program-env) and
3124 $(built-program-cmd-after-env).
3125
ed36bfa1
AZ
31262014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3129 strlen for non SHARED builds.
3130
fc75bf46
SP
31312014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3132
3133 * nptl/allocatestack.c (check_list): Inlined function...
3134 (__reclaim_stacks): ... here.
3135
d89b3d80
OB
31362014-06-05 Ondřej Bílka <neleai@seznam.cz>
3137
3138 [BZ #15698]
3139 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3140 memory overrun.
3141
2bf18041
JM
31422014-06-05 Joseph Myers <joseph@codesourcery.com>
3143
3144 * Rules (make-test-out): Include
3145 LOCPATH=$(common-objpfx)localedata in default environment.
3146 * debug/Makefile (tst-chk1-ENV): Remove variable.
3147 (tst-chk2-ENV): Likewise.
3148 (tst-chk3-ENV): Likewise.
3149 (tst-chk4-ENV): Likewise.
3150 (tst-chk5-ENV): Likewise.
3151 (tst-chk6-ENV): Likewise.
3152 (tst-lfschk1-ENV): Likewise.
3153 (tst-lfschk2-ENV): Likewise.
3154 (tst-lfschk3-ENV): Likewise.
3155 (tst-lfschk4-ENV): Likewise.
3156 (tst-lfschk5-ENV): Likewise.
3157 (tst-lfschk6-ENV): Likewise.
3158 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3159 (tst-iconv7-ENV): Likewise.
3160 * intl/Makefile (LOCPATH-ENV): Likewise.
3161 (tst-codeset-ENV): Likewise.
3162 (tst-gettext3-ENV): Likewise.
3163 (tst-gettext5-ENV): Likewise.
3164 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3165 (tst-fopenloc-ENV): Likewise.
3166 (tst-fgetws-ENV): Remove variable.
3167 (tst-ungetwc1-ENV): Likewise.
3168 (tst-ungetwc2-ENV): Likewise.
3169 (bug-ungetwc2-ENV): Likewise.
3170 (tst-swscanf-ENV): Likewise.
3171 (bug-ftell-ENV): Likewise.
3172 (tst-fgetwc-ENV): Likewise.
3173 (tst-fseek-ENV): Likewise.
3174 (tst-ftell-partial-wide-ENV): Likewise.
3175 (tst-ftell-active-handler-ENV): Likewise.
3176 (tst-ftell-append-ENV): Likewise.
3177 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3178 (tst-regexloc-ENV): Likewise.
3179 (bug-regex1-ENV): Likewise.
3180 (tst-regex-ENV): Likewise.
3181 (tst-regex2-ENV): Likewise.
3182 (bug-regex5-ENV): Likewise.
3183 (bug-regex6-ENV): Likewise.
3184 (bug-regex17-ENV): Likewise.
3185 (bug-regex18-ENV): Likewise.
3186 (bug-regex19-ENV): Likewise.
3187 (bug-regex20-ENV): Likewise.
3188 (bug-regex22-ENV): Likewise.
3189 (bug-regex23-ENV): Likewise.
3190 (bug-regex25-ENV): Likewise.
3191 (bug-regex26-ENV): Likewise.
3192 (bug-regex30-ENV): Likewise.
3193 (bug-regex32-ENV): Likewise.
3194 (bug-regex33-ENV): Likewise.
3195 (bug-regex34-ENV): Likewise.
3196 (bug-regex35-ENV): Likewise.
3197 (tst-rxspencer-ENV): Likewise.
3198 (tst-rxspencer-no-utf8-ENV): Likewise.
3199 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3200 (tst-sscanf-ENV): Likewise.
3201 (tst-swprintf-ENV): Likewise.
3202 (tst-swscanf-ENV): Likewise.
3203 (test-vfprintf-ENV): Likewise.
3204 (scanf13-ENV): Likewise.
3205 (bug14-ENV): Likewise.
3206 (tst-grouping-ENV): Likewise.
3207 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3208 (tst-strtod3-ENV): Likewise.
3209 (tst-strtod4-ENV): Likewise.
3210 (tst-strtod5-ENV): Likewise.
3211 (testmb2-ENV): Likewise./
3212 * string/Makefile (tst-strxfrm-ENV): Likewise.
3213 (tst-strxfrm2-ENV): Likewise.
3214 (bug-strcoll1-ENV): Likewise.
3215 (test-strcasecmp-ENV): Likewise.
3216 (test-strncasecmp-ENV): Likewise.
3217 * time/Makefile (tst-strptime-ENV): Likewise.
3218 (tst-ftime_l-ENV): Likewise.
3219 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3220 (tst-mbrtowc-ENV): Likewise.
3221 (tst-wcrtomb-ENV): Likewise.
3222 (tst-mbrtowc2-ENV): Likewise.
3223 (tst-c16c32-1-ENV): Likewise.
3224 (tst-mbsnrtowcs-ENV): Likewise.
3225
cd1fb604
OB
32262014-06-05 Ondřej Bílka <neleai@seznam.cz>
3227
3228 * manual/resource.texi (How to get information about the memory
3229 subsystem?): Fix typo.
3230 Reported by Peon de la Parra Ivan <peon@keba.com>
3231
b42eca7d
GY
32322014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3233
3234 [BZ #16882]
3235 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3236 (pthread_spin_lock): Branch out of spin loop to proper location.
3237 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3238 (pthread_spin_lock): Likewise.
3239
902b71f9
DM
3240 * nptl/tst-spin4.c: New test.
3241 * nptl/Makefile (tests): Add tst-spin4.
3242
f9d2d032
AS
32432014-06-03 Andreas Schwab <schwab@suse.de>
3244
3245 [BZ #15946]
3246 * resolv/res_send.c (send_dg): Reload file descriptor after
3247 calling reopen.
3248
cf7bfd28
SL
32492014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3250
3251 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3252
111cc714
RH
32532014-06-03 Richard Henderson <rth@redhat.com>
3254
89b4bd6b
RH
3255 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3256 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3257 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3258 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3259 in the SAVE_PID block.
3260 (__libc_vfork): New alias.
71840409 3261 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3262
111cc714
RH
3263 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3264 child in registers, not on the stack. Remove RESET_PID conditionals.
3265 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3266
ccc39911
MS
32672014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3268
3269 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3270
693096cc
W
32712014-06-03 Wilco <wdijkstr@arm.com>
3272
3273 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3274 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3275 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3276 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3277 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3278 Likewise.
3279
0b4366bc
W
32802014-06-03 Wilco <wdijkstr@arm.com>
3281
3282 * sysdeps/aarch64/fpu/math_private.h
3283 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3284 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3285 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3286 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3287 Fix declarations.
3288
8747cd03
KS
32892014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3290
3291 * crypt/crypt-private.h: Include ufc-crypt.h.
3292 (__b64_from_24bit): Declare extern.
3293 * crypt/crypt_util.c(__b64_from_24bit): New function.
3294 (b64t): New static const variable.
3295 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3296 (b64t): Remove variable.
3297 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3298 * crypt/sha256-crypt.c: Include crypt-private.h.
3299 (b64t): Remove variable.
3300 (__sha256_crypt_r): Remove b64_from_24bit and replace
3301 with __b64_from_24bit.
3302 * crypt/sha512-crypt.c: Likewise.
3303
d936d379
RM
33042014-06-02 Roland McGrath <roland@hack.frob.com>
3305
3306 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3307 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3308 Label the code __libc_vfork rather than __vfork.
3309 [!NOT_IN_libc] (vfork): Define as weak alias.
3310 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3311 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3312 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3313
9fa76613
SP
33142014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3315
3316 * malloc/malloc.c (malloc_info): Fix format specifier for
3317 n_mmaps.
3318
a88dadbe
W
33192014-06-02 Wilco <wdijkstr@arm.com>
3320
3321 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3322 FPCR write.
3323
c95b3011
W
33242014-06-02 Wilco <wdijkstr@arm.com>
3325
3326 [BZ #17009]
3327 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3328 Rewrite to reduce FPCR/FPSR accesses.
3329
6b4d7a90
DM
33302014-06-01 David S. Miller <davem@davemloft.net>
3331
3332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3333
30f3d07c
DM
33342014-05-31 David S. Miller <davem@davemloft.net>
3335
3336 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3337 to occur in round to nearest mode when |x| >= 2.0
3338
74f31c18
RH
33392014-05-30 Richard Henderson <rth@twiddle.net>
3340
f0712b54
RH
3341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3342 (PSEUDO_RET_NOERRNO): Remove.
3343 (ret): Don't redefine.
3344 (ret_NOERRNO): Define in terms of ret.
3345 (ret_ERRVAL): Likewise.
3346
74f31c18
RH
3347 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3348 use of PSEUDO_RET; perform the error check directly.
3349
30477995
MM
33502014-05-30 Marko Myllynen <myllynen@redhat.com>
3351
3352 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3353 with __int128_t.
3354
62a58816
SP
33552014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3356
3357 * malloc/malloc (malloc_info): Fix formatting.
3358
4d653a59
SP
33592014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3360 Roland McGrath <roland@hack.frob.com>
3361
3362 * malloc/malloc (malloc_info): Also print mmapped statistics.
3363
5190c17f
RM
33642014-05-30 Roland McGrath <roland@hack.frob.com>
3365
3366 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3367 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3368
987c0269
OB
33692014-05-30 Ondřej Bílka <neleai@seznam.cz>
3370
3371 * malloc/malloc.c (malloc_info): Inline mi_arena.
3372
af4e8ef9
RH
33732014-05-29 Richard Henderson <rth@twiddle.net>
3374
1670e207
RH
3375 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3376 Remove comma before expanding ASM_ARGS_##nr.
3377 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3378 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3379 of ASM_ARGS_##nr.
3380 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3381 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3382 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3383 (ASM_ARGS_1): Add leading comma.
3384
11a28aee
RH
3385 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3386 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3387 to __errno_location.
3388 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3389 Remove the expected plt for __errno_location.
3390
a17e5ffb 3391 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3392 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3393 call to __read_tp.
3394
b5be4597
RH
3395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3396 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3397 it and break it down.
3398 (DOCARGS_0, DOCARGS_1): Do nothing.
3399 (DOCARGS_2): Update to store into the new stack frame.
3400 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3401 (UNDOCARGS_1): Update to restore from the new stack frame.
3402 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3403 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3404
645d44ab
RH
3405 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3406 (SINGLE_THREAD_P): New parameter for result regno.
3407 (PSEUDO): Update to match; use cbz instead of beq.
3408
a8b4f04a
RH
3409 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3410 Use ENTRY to define the _nocancel entry point. Share the syscall
3411 and syscall error check paths with the cancel path.
3412 (PSEUDO_END): New.
3413
af4e8ef9
RH
3414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3415 whitespace; tabs before and after asm mnemonics.
3416
26b0d2e1
EW
34172014-05-29 Eric Wong <normalperson@yhbt.net>
3418
3419 [BZ #15132]
3420 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3421 Call fstat64 or stat64 internally, depending on arguments passed.
3422 Replace stat buffer argument with file descriptor argument.
3423 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3424 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3425 Pass fd to __internal_statvfs instead of calling fstat64.
3426 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3427 Pass fd to __internal_statvfs64 instead of calling fstat64.
3428 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3429 Pass -1 to __internal_statvfs instead of calling stat64.
3430 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3431 Pass -1 to __internal_statvfs64 instead of calling stat64.
3432
1efe2bd9
RM
34332014-05-28 Roland McGrath <roland@hack.frob.com>
3434
0d3b7a19
RM
3435 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3436 that was previously under [RESET_PID].
3437 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3438
1efe2bd9
RM
3439 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3440 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3441
a6bea3ca
RM
34422014-05-27 Roland McGrath <roland@hack.frob.com>
3443
30b6629e
RM
3444 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3445
a6bea3ca
RM
3446 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3447 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3448
3dfb9a5c
OB
34492014-05-27 Ondřej Bílka <neleai@seznam.cz>
3450
3451 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3452
774f9285
AS
34532014-05-27 Andreas Schwab <schwab@suse.de>
3454
3455 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3456 TLS_INIT_TP macro.
3457 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3458 * elf/rtld.c (init_tls, dl_main): Likewise.
3459 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3460 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3461 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3462 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3463 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3464 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3465 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3466 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3467 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3468 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3469 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3470 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3471 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3472 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3473 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3474 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3475 * sysdeps/generic/tls.h: Update description.
3476
36ffe739
WN
34772014-05-27 Will Newton <will.newton@linaro.org>
3478
3479 [BZ #16990]
3480 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3481 and restore r2 rather than just restoring.
3482
2482ae43
SP
34832014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3484
3485 [BZ #16724]
3486 * libio/tst-ftell-append.c: New test case.
3487 * libio/Makefile (tests): Add test case.
3488 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3489 append mode.
3490 * libio/wfileops.c (do_ftell_wide): Likewise.
3491
3d1024e8
AZ
34922014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493
bab90016
AZ
3494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3495
c7a8d667
AZ
3496 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3497 ...
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3500 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3501 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3502 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3503 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3504 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3507 Moved ...
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3510 Moved ...
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3512 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3513 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3514 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3515 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3517 ...
3518 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3519 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3520 Moved ...
3521 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3522 here.
3523 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3524 ...
3525 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3527 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3528
daee7851
AZ
3529 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3530 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3531 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3532 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3533
50a40819
AZ
3534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3535 merge into ...
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3538 ...
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3541 ...
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3544 Moved ...
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3546 here.
3547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3548 Moved ...
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3551 Moved ...
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3553
8464c2a1
AZ
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3555 conditional [RESET_PID].
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3558 removed.
3559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3560 removed.
3561
3d1024e8
AZ
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3563 <tcb-offsets.h>.
3564 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3565 (__libc_vfork): New strong alias.
3566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3567 removed.
3568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3569 Removed.
3570
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3572 <tcb-offsets.h>.
3573 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3574 (__libc_vfork): New strong alias.
3575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3576 removed.
3577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3578 removed.
3579
fdfd175d
CD
35802014-05-26 Carlos O'Donell <carlos@redhat.com>
3581
3582 * malloc/malloc.c (mi_arena): New function.
3583 (malloc_info): Remove nested function mi_arena. Call non-nosted
3584 function mi_arena.
3585
d298c416
AZ
35862014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3587
3588 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3589 by insrwi.
3590 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3591 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3592 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3593 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3595 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3597
b60ea6ff
AS
35982014-05-26 Andreas Schwab <schwab@suse.de>
3599
3600 [BZ #16984]
3601 * locale/programs/repertoire.c (repertoire_read): Add slash
3602 between I18NPATH element and file name.
3603 * locale/programs/locfile.c (locfile_read): Likewise.
3604
67365926
SL
36052014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3606
3607 * nptl/pthread_mutexattr_settype.c
3608 (__pthread_mutexattr_settype):
3609 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3610
f8bdf1f0
SL
36112014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3612
3613 * nptl/tst-mutex5 (do_test):
3614 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3615
15eaf6ff
SP
36162014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3617
3618 * benchtests/README: Document 'init' directive.
3619 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3620 BENCH_INIT.
3621 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3622 (parse_file): Recognize 'init' directive.
3623
75f11331
KM
36242014-05-26 Kyle McMartin <kyle@redhat.com>
3625
3626 [BZ #16796]
3627 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3628 alignment of struct pthread.
3629
c3ec475c
SP
36302014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3631
3632 [BZ #16878]
3633 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3634 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3635 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3636 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3637
82aab97c
RH
36382014-05-25 Richard Henderson <rth@twiddle.net>
3639
aa2f176d
RH
3640 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3641 (SINGLE_THREAD_P_PIC): Remove.
3642 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3643 (SINGLE_THREAD_P_PIC): Remove.
3644
ca3cfa40
RH
3645 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3646 branch to syscall error ...
3647 (PSEUDO): ... here.
3648 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3649 from __local_syscall_error to .Lsyscall_error.
3650 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3651 (SYSCALL_ERROR): Update label name.
3652
6e6c2d01
RH
3653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3654 Do not use DOARGS/UNDOARGS.
3655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3656 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3657 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3658 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3659 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3660
c69abcee
RH
3661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3662 block comment.
3663
82aab97c
RH
3664 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3665 define if !NOT_IN_libc.
3666 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3667 define with non-default symbol versions.
3668
8820e3ac
RH
36692014-05-23 Richard Henderson <rth@twiddle.net>
3670
900e445f
RH
3671 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3672 (vfork, __vfork): Define via compat_symbol.
3673
8820e3ac
RH
3674 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3675 [!HAVE_IFUNC] (vfork_compat): Remove.
3676 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3677
e59252a5
JM
36782014-05-23 Joseph Myers <joseph@codesourcery.com>
3679
3680 [BZ #16978]
3681 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3682 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3683 variable.
3684
132c7f5f
RH
36852014-05-23 Richard Henderson <rth@twiddle.net>
3686
bc89e962
RH
3687 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3688 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3689 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3690 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3691
3692 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3693 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3694 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3695 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3696 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3697 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3698 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3699 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3700 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3701 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3702 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3703 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3704 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3705 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3707 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3709 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3711 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3713 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3714 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3715 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3716 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3717 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3719 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3729 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3731 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3732 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3733 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3734 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3735 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3736 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3737 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3738 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3739 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3741 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3742 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3743 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3744 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3745 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3746 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3747 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3748
e2fa4bc2
RH
3749 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3750 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3751 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3752 before exiting on error.
3753 (__libc_vfork): New strong alias.
3754 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3755 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3756
279b24e2
RH
3757 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3758 that was previously under [RESET_PID].
3759 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3760
132c7f5f
RH
3761 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3762
b72592e7
JM
37632014-05-23 Joseph Myers <joseph@codesourcery.com>
3764
3765 [BZ #16977]
3766 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3767 value when x - 1 is zero.
3768 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3769 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3770 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3771 0.0L for an argument of 1.0L.
3772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3773 Likewise.
3774 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3775 value when x - 1 is zero.
3776 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3777 * sysdeps/i386/fpu/libm-test-ulps: Update.
3778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3779
2302d679
RV
37802014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3781
3782 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3783 alphasort and versionsort.
3784
32999d63
AZ
37852014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786
3787 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3788 macro.
3789 [copysignf]: Likewise.
3790
019324d0
SP
37912014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3792
3793 * crypt/md5-crypt.c: Fix formatting.
3794
34fff5c2
KS
37952014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3796
3797 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3798 (b64_from_24bit): New function.
3799
3d2badac
AZ
38002014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3801
3802 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3803 libc_hidden_builtin_def to ifunc.
3804 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3805 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3806
f7bb179f 38072014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3808
3809 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3810 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3811
4134b50d
JM
38122014-05-21 Joseph Myers <joseph@codesourcery.com>
3813
bb7d0337
JM
3814 * nscd/Depend (linuxthreads): Remove.
3815 (nptl): Add.
3816 * resolv/Depend (linuxthreads): Remove.
3817 * rt/Depend (linuxthreads): Remove.
3818
4134b50d
JM
3819 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3820 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3821 $(common-objpfx)elf/.
3822 (link-libc-before-gnulib): Likewise.
3823 (elfobjdir): Remove variable.
3824 * Makefile (install): Use $(elf-objpfx) instead of
3825 $(common-objpfx)elf/.
3826 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3827 $(elfobjdir)/.
3828 (link-libc-deps): Likewise.
3829 ($(common-objpfx)libc.so): Likewise.
3830 ($(common-objpfx)linkobj/libc.so): Likewise.
3831 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3832 instead of $(common-objpfx)elf/.
3833 (symbolic-link-list): Likewise.
3834 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3835 [$(cross-compiling) = no]: Likewise.
3836 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3837 $(elfobjdir)/.
3838 (static-gnulib-arch): Likewise.
3839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3840 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3841 $(common-objpfx)elf/.
3842
3612eb8f
RH
38432014-05-21 Richard Henderson <rth@redhat.com>
3844
a6b3657b
RH
3845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3846 (SINGLE_THREAD_P): Use the correct width load. Fold
3847 into the ldr offset.
3848
3612eb8f
RH
3849 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3850 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3851
175cef41
JM
38522014-05-20 Joseph Myers <joseph@codesourcery.com>
3853
3854 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3855 (libgcc_s_resume): Use __attribute_used__.
3856 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3857 Likewise.
3858
e13bccd3
AZ
38592014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3860
3861 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3862 optimization when used with float constants.
3863
7c112a38
AZ
3864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3865
ae75a883
AJ
38662014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3867
3868 [BZ #16915]
3869 * locale/nl_langinfo_l.c: Make direct reference to every
3870 _nl_current_CATEGORY symbol.
3871 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3872 (tests-static): Add tst-langinfo-static.
3873 (tests-special): Add tst-langinfo-static.out.
3874 ($(objpfx)tst-langinfo.out): Redirect output.
3875 ($(objpfx)tst-langinfo-static.out): New.
3876 * localedata/tst-langinfo.sh: Send output to stdout.
3877 * localedata/tst-langinfo-static.c: New file.
3878
4406c41c
AJ
3879 [BZ #16965]
3880 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3881 when the shift amount is modulo the limb size.
3882
4c0a1e63
RH
38832014-05-20 Richard Henderson <rth@redhat.com>
3884
de9d8f20
RH
3885 [BZ #16967]
3886 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3887 Change type of sa_flags from unsigned int to int.
3888
4c0a1e63
RH
3889 [BZ #16966]
3890 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3891
3892 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3893
a60339aa
WN
38942014-05-20 Will Newton <will.newton@linaro.org>
3895
3896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3897 Test the return value of the system call in the nocancel case.
3898
7d05a816
YR
38992014-05-20 Will Newton <will.newton@linaro.org>
3900 Yvan Roux <yvan.roux@linaro.org>
3901
3902 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3903 #include of asm/ptrace.h.
3904 (PTRACE_GET_THREAD_AREA): Remove #undef.
3905 (PTRACE_GETHBPREGS): Likewise.
3906 (PTRACE_SETHBPREGS): Likewise.
3907 (struct user_regs_struct): New structure.
3908 (struct user_fpsimd_struct): New structure.
3909 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3910 #include of asm/ptrace.h and second #include of sys/user.h.
3911 (PTRACE_GET_THREAD_AREA): Remove #undef.
3912 (PTRACE_GETHBPREGS): Likewise.
3913 (PTRACE_SETHBPREGS): Likewise.
3914 (ELF_NGREG): Use new struct user_regs_struct.
3915 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3916
af121e37
AZ
39172014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918
3919 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3921
834caf06
JM
39222014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3923
3924 [BZ #16958]
3925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3926 membar to avoid block loads/stores to overlap previous stores.
3927
e184a918
RH
39282014-05-17 Richard Henderson <rth@redhat.com>
3929
3930 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3931 Create the __##syscall_name##_nocancel entry point.
3932 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3933 Remove; let the sysdep-cancel.h code create it.
3934
f56c7a6a
DM
39352014-05-17 David S. Miller <davem@davemloft.net>
3936
3937 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3938 Protect with __USE_GNU.
3939 (TIOCSET_TEMPT): Likewise.
3940 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3941 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3942 these are already provided in bits/ioctl-types.h
3943
f75616b2
RM
39442014-05-16 Roland McGrath <roland@hack.frob.com>
3945
3edeca86
RM
3946 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3947 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3948
f75616b2
RM
3949 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3950 Use wait4 regardless of [__NR_waitpid].
3951
deb0f7f6
MR
39522014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3953
3954 PR libgcc/60166
3955 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3956 (_FP_NANSIGN_Q): Set the quiet bit.
3957
79520f4b
JM
39582014-05-16 Joseph Myers <joseph@codesourcery.com>
3959
3960 * benchtests/Makefile
3961 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3962 not $(common-objpfx)math/libm.so.
3963 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3964 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3965 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3966 $(common-objpfx)dlfcn/libdl.so.
3967 ($(objpfx)tst-audit8): Depend on $(libm), not
3968 $(common-objpfx)math/libm.so.
3969 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3970 not $(common-objpfx)dlfcn/libdl.so.
3971 * math/Makefile
3972 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3973 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3974 [$(build-shared) = yes].
3975 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3976 $(common-objpfx)nptl/libpthread.so.
3977 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3978 $(common-objpfx)math/libm.so$(libm.so-version) or
3979 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3980 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3981 $(common-objpfx)dlfcn/libdl.so.
3982 * setjmp/Makefile (link-libm): Remove variable.
3983 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3984 * stdio-common/Makefile (link-libm): Remove variable.
3985 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3986 * stdlib/Makefile (link-libm): Remove variable.
3987 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3988 ($(objpfx)tst-strtod-round): Likewise.
3989 ($(objpfx)tst-tininess): Likewise.
3990 ($(objpfx)tst-strtod-underflow): Likewise.
3991 ($(objpfx)tst-strtod6): Likewise.
3992 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3993 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3994 $(common-objpfx)dlfcn/libdl.so.
3995
026b0fe4
AZ
39962014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3997
3998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3999 BSD terminal modes definitions.
4000
def4bcb2
RM
40012014-05-16 Roland McGrath <roland@hack.frob.com>
4002
fe39b021
RM
4003 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4004 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4005
1d1fc46e 4006 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4007 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4008 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4009 Don't do #include_next.
4010 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4011 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4012 Don't do #include_next.
4013 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4014 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4015 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4016 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4017
c72399fb
AM
40182014-05-16 Allan McRae <allan@archlinux.org>
4019
d51d659d
AM
4020 * po/sv.po: Update Swedish translation from translation project.
4021
c72399fb
AM
4022 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4023 in sed expression.
4024
d0583c40
AJ
40252014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4026
4027 [BZ #16917]
4028 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4029 errno if the TIOCGPTN ioctl fails with an error different than
4030 EINVAL.
4031 * login/tst-ptsname.c: New file.
4032 * login/Makefile (tests): Add tst-ptsname.
4033
d16e6ec7
AJ
4034 [BZ #16943]
4035 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4036 and prlimit64.
4037
cf26a0cb
SP
40382014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4039
4040 [BZ #16849]
4041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4042 herrno to return EAI_AGAIN.
4043
5675da1e
RM
40442014-05-14 Roland McGrath <roland@hack.frob.com>
4045
a5d87b3d
RM
4046 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4047 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4048 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4049 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4050 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4051 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4055 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4056 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4057 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4059 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4063 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4065 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4066 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4067 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4071 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4072 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4075 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4077 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4081 Moved ...
4082 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4084 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4096 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4104 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4106 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4110 Moved ...
4111 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4125 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4131 Moved ...
4132 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4135
039890a6
RM
4136 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4137 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4138 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4139 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4140 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4142 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4143 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4144 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4146 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4148 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4150 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4152 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4154 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4155 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4156 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4158 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4161 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4162 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4163 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4164 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4165 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4166 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4167
65c89320
RM
4168 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4169 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4170
348f8e8c
RM
4171 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4172 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4173 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4175 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4177 Moved ...
4178 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4180 Moved ...
4181 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4182 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4183 Moved ...
4184 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4186 Moved ...
4187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4188 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4189 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4191 Moved ...
4192 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4194 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4196 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4198 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4200 Moved ...
4201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4203 Moved ...
4204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4205 ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4211 Moved ...
4212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4213 ... here.
4214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4215 Moved ...
4216 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4218 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4220 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4222 Moved ...
4223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4225 Moved ...
4226 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4227 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4228 Moved ...
4229 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4231 Moved ...
4232 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4233 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4234 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4235 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4236 Moved ...
4237 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4239 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4241 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4242 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4243 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4245 Moved ...
4246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4248 Moved ...
4249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4250 ... here.
4251 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4252 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4253 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4254 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4255 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4256 Moved ...
4257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4258 ... here.
4259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4260 Moved ...
4261 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4262 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4263 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4264 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4265 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4266 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4267 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4268 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4269 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4271 Moved ...
4272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4274 Moved ...
4275 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4277 Moved ...
4278 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4280 Moved ...
4281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4282 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4283 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4284 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4285 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4287 Moved ...
4288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4289 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4290 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4292 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4294 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4296 Moved ...
4297 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4298 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4299 Moved ...
4300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4301 ... here.
4302 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4303 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4304 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4305 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4307 Moved ...
4308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4309 ... here.
4310 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4311 Moved ...
4312 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4314 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4316 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4318 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4320 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4322 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4323
5085af05
RM
4324 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4325 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4326
708f0813
RM
4327 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4328 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4329
c96067bc
RM
4330 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4331 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4332 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4334 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4336 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4338 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4342 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4344 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4346 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4348 Moved ...
4349 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4353 Moved ...
4354 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4356 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4358 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4362 Moved ...
4363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4365 Moved ...
4366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4368 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4372 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4373 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4374 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4376 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4378 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4379 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4380 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4381 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4382 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4383
ec136444
RM
4384 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4385 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4386 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4387 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4388 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4389
2fbdf533
RM
4390 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4391 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4393 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4394 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4395 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4396 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4397 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4398 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4399 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4400
4c68138b
RM
4401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4403
4eaae765
RM
4404 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4405 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4406 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4407 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4409 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4410 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4411 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4412 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4413 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4414 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4415 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4416 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4417 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4419 Update #include.
4420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4421 Likewise.
4422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4423 Likewise.
4424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4425 Likewise.
4426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4427 Likewise.
4428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4429 Likewise.
4430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4431 Likewise.
4432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4433 Likewise.
4434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4435 Likewise.
4436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4437 Likewise.
4ef6befa
RM
4438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4445 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4446 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4447 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4450 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4451 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4452 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4453
941d7dfd
RM
4454 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4455 that was previously under [RESET_PID].
4456 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4457 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4458 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4459
1b731c35
RM
4460 * sysdeps/i386/nptl/Implies: New file.
4461 * sysdeps/x86_64/nptl/Implies: New file.
4462 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4463 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4464 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4465 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4466
e2787137
RM
4467 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4468 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4469 (__libc_vfork): New strong alias.
4470 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4471 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4472
4473 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4474 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4475 (__libc_vfork): New strong alias.
4476 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4477 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4478
5675da1e
RM
4479 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4480 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4481 (__libc_vfork): New strong alias.
4482 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4483 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4484 * nptl/pt-vfork.c: New file.
4485 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4486 (libpthread: GLIBC_2.20): New version set (empty).
4487
4f02e2b8
WN
44882014-05-14 Will Newton <will.newton@linaro.org>
4489
4490 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4491 rather than #if.
4492
0bf061d3
JM
44932014-05-14 Joseph Myers <joseph@codesourcery.com>
4494
1a84c3d6
JM
4495 [BZ #16564]
4496 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4497 arguments with exponent 65 or above.
4498 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4499 arguments 0x1p113L or above.
4500 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4501 to arguments 0x1p107L or above.
4502 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4503 positive arguments with exponent 65 or above.
4504 * math/auto-libm-test-in: Add more tests of log1p.
4505 * math/auto-libm-test-out: Regenerated.
4506
01dbacd2
JM
4507 [BZ #16928]
4508 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4509 non-finite arguments is +0.
4510 * math/s_cacosf.c (__cacosf): Likewise.
4511 * math/s_cacosl.c (__cacosl): Likewise.
4512 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4513 * sysdeps/i386/fpu/libm-test-ulps: Update.
4514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4515
913d03c8
JM
4516 [BZ #16927]
4517 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4518 value.
4519 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4520 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4521 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4522 for explicit high bit of mantissa when testing for argument equal
4523 to 1.
4524 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4527
0bf061d3
JM
4528 [BZ #16516]
4529 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4530 (__erf): Scale by 16 instead of 8 in potentially underflowing
4531 case. Ensure exception if result actually underflows.
4532 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4533 (__erff): Scale by 16 instead of 8 in potentially underflowing
4534 case. Ensure exception if result actually underflows.
4535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4536 (efx8): Remove variable.
4537 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4538 case. Ensure exception if result actually underflows.
4539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4540 (efx8): Remove variable.
4541 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4542 case. Ensure exception if result actually underflows.
4543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4544 (efx8): Remove variable.
4545 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4546 case. Ensure exception if result actually underflows.
4547 * math/auto-libm-test-in: Add more tests of erf.
4548 * math/auto-libm-test-out: Regenerated.
4549
73ba67cb
AS
45502014-05-14 Andreas Schwab <schwab@suse.de>
4551
3d8c8bff
AS
4552 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4553 Remove code conditionalized on USE___THREAD.
4554
73ba67cb
AS
4555 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4556 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4557 not definedness.
4558
5c521ecd
JM
45592014-05-14 Joseph Myers <joseph@codesourcery.com>
4560
5e7698c6
JM
4561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4562 Define unconditionally.
4563 (__ASSUME_O_CLOEXEC): Likewise.
4564 (__ASSUME_SOCK_CLOEXEC): Likewise.
4565 (__ASSUME_IN_NONBLOCK): Likewise.
4566 (__ASSUME_PIPE2): Likewise.
4567 (__ASSUME_EVENTFD2): Likewise.
4568 (__ASSUME_SIGNALFD4): Likewise.
4569 (__ASSUME_DUP3): Likewise.
4570 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4571 (__ASSUME_DUP3): Do not define.
4572 (__ASSUME_EVENTFD2): Likewise.
4573 (__ASSUME_IN_NONBLOCK): Likewise.
4574 (__ASSUME_O_CLOEXEC): Likewise.
4575 (__ASSUME_PIPE2): Likewise.
4576 (__ASSUME_SIGNALFD4): Likewise.
4577 (__ASSUME_SOCK_CLOEXEC): Likewise.
4578 (__ASSUME_UTIMES): Undefine.
4579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4580 (__ASSUME_UTIMES): Do not define.
4581 (__ASSUME_O_CLOEXEC): Likewise.
4582 (__ASSUME_SOCK_CLOEXEC): Likewise.
4583 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4584 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4585 0x020621].
4586 (__ASSUME_PIPE2): Likewise.
4587 (__ASSUME_EVENTFD2): Likewise.
4588 (__ASSUME_SIGNALFD4): Likewise.
4589 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4590 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4591 Do not define.
4592 (__ASSUME_EVENTFD2): Likewise.
4593 (__ASSUME_SIGNALFD4): Likewise.
4594 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4595 (__ASSUME_32BITUIDS): Likewise.
4596 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4597 (__ASSUME_IPC64): Likewise.
4598 (__ASSUME_ST_INO_64_BIT): Likewise.
4599 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4600 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4601 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4602 (__ASSUME_UTIMES): Do not define.
4603 (__ASSUME_PSELECT): Likewise.
4604 (__ASSUME_PPOLL): Likewise.
4605 (__ASSUME_O_CLOEXEC): Likewise.
4606 (__ASSUME_SOCK_CLOEXEC): Likewise.
4607 (__ASSUME_IN_NONBLOCK): Likewise.
4608 (__ASSUME_PIPE2): Likewise.
4609 (__ASSUME_EVENTFD2): Likewise.
4610 (__ASSUME_SIGNALFD4): Likewise.
4611 (__ASSUME_DUP3): Likewise.
4612 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4613 (__ASSUME_UTIMES): Likewise.
4614 (__ASSUME_O_CLOEXEC): Likewise.
4615 (__ASSUME_SOCK_CLOEXEC): Likewise.
4616 (__ASSUME_IN_NONBLOCK): Likewise.
4617 (__ASSUME_PIPE2): Likewise.
4618 (__ASSUME_EVENTFD2): Likewise.
4619 (__ASSUME_SIGNALFD4): Likewise.
4620 (__ASSUME_DUP3): Likewise.
4621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4622 (__ASSUME_UTIMES): Likewise.
4623 (__ASSUME_O_CLOEXEC): Likewise.
4624 (__ASSUME_SOCK_CLOEXEC): Likewise.
4625 (__ASSUME_IN_NONBLOCK): Likewise.
4626 (__ASSUME_PIPE2): Likewise.
4627 (__ASSUME_EVENTFD2): Likewise.
4628 (__ASSUME_SIGNALFD4): Likewise.
4629 (__ASSUME_DUP3): Likewise.
4630 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4631 Likewise.
4632 (__ASSUME_UTIMES): Likewise.
4633 (__ASSUME_EVENTFD2): Likewise.
4634 (__ASSUME_SIGNALFD4): Likewise.
4635 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4636 (__ASSUME_O_CLOEXEC): Likewise.
4637 (__ASSUME_SOCK_CLOEXEC): Likewise.
4638 (__ASSUME_IN_NONBLOCK): Likewise.
4639 (__ASSUME_PIPE2): Likewise.
4640 (__ASSUME_EVENTFD2): Likewise.
4641 (__ASSUME_SIGNALFD4): Likewise.
4642 (__ASSUME_DUP3): Likewise.
4643 (__ASSUME_UTIMES): Undefine.
4644
5c521ecd
JM
4645 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4646 feclearexcept. Remove symbol versioning code.
4647 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4648 symbol versioning code.
4649 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4650 symbol versioning code.
4651 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4652 feupdateenv. Remove symbol versioning code.
4653 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4654 fegetexceptflag. Remove symbol versioning code.
4655 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4656 fesetexceptflag. Remove symbol versioning code.
4657 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4658 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4659 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4660 (__posix_fadvise64_l32): Remove prototype.
4661 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4662 code.
4663
5da9dfad
RM
46642014-05-13 Roland McGrath <roland@hack.frob.com>
4665
4666 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4667 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4668 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4669 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4670
893b4f37
SK
46712014-05-13 Sami Kerola <kerolasa@iki.fi>
4672
4673 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4674 current working directory
4675
e0db6517
RM
46762014-05-13 Roland McGrath <roland@hack.frob.com>
4677
58aa195d
RM
4678 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4679 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4680 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4681 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4682 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4683 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4684 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4693 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4694 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4701 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4702 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4703 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4707 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4711 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4712 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4713 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4714 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4715 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4716 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4717 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4718 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4719 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4720
8c6d01f0
RM
4721 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4722 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4723
4724 * sysdeps/unix/sysv/linux/arm/Makefile
4725 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4726 Add rt-aeabi_unwind_cpp_pr1.
4727 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4728 Add nptl-aeabi_unwind_cpp_pr1.
4729 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4730 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4731 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4732 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4733 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4734 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4735
4736 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4737 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4738 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4739 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4740
bba6da4e
RM
4741 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4742 Deconditionalize the code that was previously under [RESET_PID].
4743 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4744
e0db6517
RM
4745 * sysdeps/generic/exit-thread.h: New file.
4746 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4747 * include/unistd.h (__exit_thread): Remove declaration.
4748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4749 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4750 * csu/libc-start.c: Include <exit-thread.h>.
4751 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4752 * nptl/pthread_create.c: Include <exit-thread.h>.
4753 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4754 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4755 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4756 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4757 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4758 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4759 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4760 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4761 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4762 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4763 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4764 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4765 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4766 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4767 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4768 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4769 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4770
01eb16fd
AS
47712014-05-13 Andreas Schwab <schwab@suse.de>
4772
4773 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4774
637461d9
JM
47752014-05-12 Joseph Myers <joseph@codesourcery.com>
4776
4777 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4778 (__ASSUME_UTIMES): Do not condition on kernel version.
4779 (__ASSUME_PSELECT): Define unconditionally.
4780 (__ASSUME_PPOLL): Likewise.
4781 (__ASSUME_ATFCTS): Likewise.
4782 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4783 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4784 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4785 (__ASSUME_UTIMENSAT): Define unconditionally.
4786 (__ASSUME_PRIVATE_FUTEX): Likewise.
4787 (__ASSUME_FALLOCATE): Likewise.
4788 (__ASSUME_O_CLOEXEC): Likewise.
4789 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4790 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4791 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4792 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4793 (__ASSUME_IN_NONBLOCK): Likewise.
4794 (__ASSUME_PIPE2): Likewise.
4795 (__ASSUME_EVENTFD2): Likewise.
4796 (__ASSUME_SIGNALFD4): Likewise.
4797 (__ASSUME_DUP3): Likewise.
4798 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4799 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4800 (__ASSUME_AT_RANDOM): Likewise.
4801 (__ASSUME_PREADV): Likewise.
4802 (__ASSUME_PWRITEV): Likewise.
4803 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4804 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4805 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4807 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4809 (__ASSUME_O_CLOEXEC): Define unconditionally.
4810 (__ASSUME_PSELECT): Do not undefine conditionally.
4811 (__ASSUME_PPOLL): Likewise.
4812 (__ASSUME_ATFCTS): Likewise.
4813 (__ASSUME_SET_ROBUST_LIST): Likewise.
4814 (__ASSUME_UTIMENSAT): Likewise.
4815 (__ASSUME_FDATASYNC): Define unconditionally.
4816 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4817 (__ASSUME_SIGFRAME_V2): Likewise.
4818 )__ASSUME_EVENTFD2): Likewise.
4819 (__ASSUME_SIGNALFD4): Likewise.
4820 (__ASSUME_PSELECT): Do not undefine conditionally.
4821 (__ASSUME_PPOLL): Likewise.
4822 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4823 (__ASSUME_PSELECT): Define unconditionally.
4824 (__ASSUME_PPOLL): Likewise.
4825 (__ASSUME_O_CLOEXEC): Likewise.
4826 (__ASSUME_SOCK_CLOEXEC): Likewise.
4827 (__ASSUME_IN_NONBLOCK): Likewise.
4828 (__ASSUME_PIPE2): Likewise.
4829 (__ASSUME_EVENTFD2): Likewise.
4830 (__ASSUME_SIGNALFD4): Likewise.
4831 (__ASSUME_DUP3): Likewise.
4832 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4833 (__ASSUME_O_CLOEXEC): Likewise.
4834 (__ASSUME_SOCK_CLOEXEC): Likewise.
4835 (__ASSUME_IN_NONBLOCK): Likewise.
4836 (__ASSUME_PIPE2): Likewise.
4837 (__ASSUME_EVENTFD2): Likewise.
4838 (__ASSUME_SIGNALFD4): Likewise.
4839 (__ASSUME_DUP3): Likewise.
4840 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4841 (__ASSUME_EVENTFD2): Likewise.
4842 (__ASSUME_SIGNALFD4): Likewise.
4843 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4844
315eb1d8
AS
48452014-05-12 Andreas Schwab <schwab@suse.de>
4846
4847 [BZ #16932]
4848 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4849 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4850 than maximum RPC packet size.
4851 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4852 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4853 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4854 (_nss_nis_getservbyport_r): Likewise.
4855
91df99f7
WN
48562014-05-12 Will Newton <will.newton@linaro.org>
4857
4858 * malloc/Makefile (tests): Add tst-mallopt.
4859 * malloc/tst-mallopt.c: New file.
4860
0a982a29
RM
48612014-05-09 Roland McGrath <roland@hack.frob.com>
4862
4863 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4864 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4865
0ded08a5
AZ
48662014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867
4868 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4869 (tst-tlsmod6.so): Likewise.
4870
55d4d550
RM
48712014-05-09 Roland McGrath <roland@hack.frob.com>
4872
4873 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4874
77d08aca
JM
48752014-05-09 Joseph Myers <joseph@codesourcery.com>
4876
4877 [BZ #16064]
4878 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4879 and <dl-procinfo.h>.
4880 (__fegetenv): Save SSE state in envp->__eip if supported.
4881 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4882 envp->__eip if supported.
4883 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4884 and <dl-procinfo.h>.
4885 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4886 __data_offset and __data_selector in environment to 0. Set SSE
4887 state if supported.
4888 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4889 test-fenv-sse.
4890 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4891 -mfpmath=sse.
4892 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4893
28162f4d
WN
48942014-05-09 Will Newton <will.newton@linaro.org>
4895
4896 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4897 and libc_relro_required for ARM.
4898 * sysdeps/arm/preconfigure: Regenerate.
4899
5a414ff7
DV
49002014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4901 Stefan Liebler <stli@linux.vnet.ibm.com>
4902
4903 * config.make.in (enable-lock-elision): New Makefile variable.
4904 * configure.ac: Likewise.
4905 * configure: Regenerate.
4906 * sysdeps/s390/configure.ac:
4907 Add check for gcc transactions support.
4908 * sysdeps/s390/configure: Regenerate.
4909 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4910 Build elision files if enabled.
4911 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4912 Add lock elision support for s390.
4913 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4914 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4915 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4916 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4917 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4918 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4920 Likewise.
4921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4922 Likewise.
4923 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4924 Likewise.
4925 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4926 Likewise.
4927 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4928 (__lll_timedlock_elision, __lll_lock_elision)
4929 (__lll_unlock_elision, __lll_trylock_elision)
4930 (lll_timedlock_elision, lll_lock_elision)
4931 (lll_unlock_elision, lll_trylock_elision): Add.
4932 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4933 (pthread_mutex_t): Add lock elision support for s390.
4934
1a2f40e5
W
49352014-05-14 Wilco <wdijkstr@arm.com>
4936
4937 * sysdeps/arm/fclrexcpt.c: Cleanup.
4938 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4939 * sysdeps/arm/feenablxcpt.c: Cleanup.
4940 * sysdeps/arm/fegetenv.c: Cleanup.
4941 * sysdeps/arm/fegetexcept.c: Cleanup.
4942 * sysdeps/arm/fegetround.c: Cleanup.
4943 * sysdeps/arm/feholdexcpt.c: Cleanup.
4944 * sysdeps/arm/fesetenv.c: Cleanup.
4945 * sysdeps/arm/fesetround.c: Cleanup.
4946 * sysdeps/arm/feupdateenv.c: Cleanup.
4947 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4948 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4949 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4950 * sysdeps/arm/ftestexcept.c: Cleanup.
4951 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4952 * sysdeps/arm/setfpucw.c: Cleanup.
4953
f63c86fe
WN
49542014-05-09 Will Newton <will.newton@linaro.org>
4955
4956 * sysdeps/arm/armv7/strcmp.S: New file.
4957 * NEWS: Mention addition of ARMv7 optimized strcmp.
4958
7a1a51b5
RM
49592014-05-08 Roland McGrath <roland@hack.frob.com>
4960
95afbbe5
RM
4961 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4962 look for %.ac rather than %.in.
4963
4964 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4965 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4966 * sysdeps/mach/hurd/configure: Regenerated.
4967 * sysdeps/unix/sysv/linux/configure: Regenerated.
4968
7a1a51b5
RM
4969 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4970
5057ad3b
SE
49712014-05-07 Steve Ellcey <sellcey@mips.com>
4972
4973 [BZ# 16922]
4974 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4975 (LONG_SUB): Ditto.
4976 (PTR_SUB): Ditto.
4977
8dc97517
AS
49782014-05-07 Andreas Schwab <schwab@suse.de>
4979
4980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4981 when skipping over non-matching result from nscd.
4982
ce0c5b8f
OB
49832014-05-07 Ondřej Bílka <neleai@seznam.cz>
4984
4985 [BZ #16876]
4986 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4987
a1189263
OB
4988 [BZ #16877]
4989 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4990 nscd security class.
ce0c5b8f 4991
0f58d252
RM
49922014-05-06 Roland McGrath <roland@hack.frob.com>
4993
4994 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4995 * sysdeps/arm/unwind.h: ... here.
4996
83df9ad0
AJ
49972014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4998
ce0c5b8f
OB
4999 [BZ# 16916]
5000 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5001 Define.
83df9ad0 5002
f360f94a
VR
50032014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5004
5005 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5006 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5007 multiarch strncpy for PPC64.
5008 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5009 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5011 multiarch optimizations.
5012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5013 (__libc_ifunc_impl_list): Likewise.
5014 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5015 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5016 multiarch stpncpy for PPC64.
5017 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5018 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5019
978a41c3
AS
50202014-05-06 Andreas Schwab <schwab@suse.de>
5021
5022 [BZ #16912]
5023 * gmon/mcount.c (_MCOUNT_DECL): Use
5024 atomic_compare_and_exchange_bool_acq instead of
5025 catomic_compare_and_exchange_bool_acq.
5026
eb1ed03d
RM
50272014-05-05 Roland McGrath <roland@hack.frob.com>
5028
fe658845
RM
5029 * elf/Makefile (others, install-bin): Remove pldd.
5030 (pldd-modules): Variable removed.
5031 ($(objpfx)pldd): Target removed.
5032 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5033 (others, install-bin): Append pldd here.
5034 ($(objpfx)pldd): New target.
5035
eb1ed03d
RM
5036 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5037 to 0, so the first #if test emitted later doesn't see it undefined.
5038 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5039 * sysdeps/gnu/errlist.c: Regenerated.
5040
19c4bec0
AZ
50412014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5042
5043 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5044 [libc_hidden_builtin_def]: Define to empty value.
5045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5046 [libc_hidden_builtin_def]: Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5048 [libc_hidden_builtin_def]: Likewise.
5049 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5050 [libc_hidden_builtin_def]: Likewise.
5051 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5052 __redirect_memcpy and define ifunc as default hidden symbol.
5053 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5054 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5055
7776e669
AC
50562014-05-04 Adam Conrad <adconrad@0c3.net>
5057
5058 * locale/iso-4217.def: Reintroduce XDR currency.
5059
d69aeb12
AM
50602014-05-04 Allan McRae <allan@archlinux.org>
5061
5062 * po/eo.po: Update Esperanto translation from translation project.
5063
8f1df5cf
CD
50642014-05-02 Carlos O'Donell <carlos@redhat.com>
5065
5066 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5067 and FEATURE_INDEX_MAX to 1.
5068 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5069
13e402e7
SE
50702014-05-01 Steve Ellcey <sellcey@mips.com>
5071
5072 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5073 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5074 * iconvdata/big5.c (ONE_DIRECTION): Define.
5075 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5076 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5077 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5078 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5079 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5080 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5081 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5082 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5083 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5084 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5085 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5086 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5087 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5088 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5089 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5090 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5091 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5092 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5093 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5094 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5095 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5096 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5097 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5098 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5099 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5100 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5101 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5102 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5103 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5104 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5105 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5106 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5107 * iconvdata/johab.c (ONE_DIRECTION): Define.
5108 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5109 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5110 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5111 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5112 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5113 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5114 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5115 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5116 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5117 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5118
c727f032
RM
51192014-05-01 Roland McGrath <roland@hack.frob.com>
5120
8f2f08d0
RM
5121 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5122 (_IO_JUMPS_OFFSET): Define to 0.
5123
c727f032
RM
5124 * nptl/sysdeps/pthread/bits/libc-lock.h
5125 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5126 (__libc_lock_define_initialized_recursive): Always define using
5127 initializer. Modern compilers treat uninitialized (implicit zero) and
5128 explicit zero initializers the same (i.e. put the datum in bss).
5129
a849e800
AS
51302014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5131
5132 * nscd/nscd-client.h: Include <string.h>.
5133
5331255b
DM
51342014-05-01 David S. Miller <davem@davemloft.net>
5135
5136 [BZ #16885]
5137 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5138 multiple zero bytes exist at the end of a string.
5139 Reported by Aurelien Jarno <aurelien@aurel32.net>
5140
5141 * string/test-strcmp.c (check): Add explicit test for situations where
5142 there are multiple zero bytes after the first.
5143
4fdfe821
AS
51442014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 [BZ #16890]
5147 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5148 when compiling wprintf.
5149 * stdio-common/tstdiomisc.c (t3): New function.
5150 (main): Call it.
5151
0cdddc25
SE
51522014-05-01 Steve Ellcey <sellcey@mips.com>
5153
5154 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5155 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5156 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5157 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5158
6426d77e
SE
51592014-05-01 Steve Ellcey <sellcey@mips.com>
5160
5161 * stdlib/longlong.h: Updated from GCC.
5162
6d96f5e4
WN
51632014-05-01 Will Newton <will.newton@linaro.org>
5164 Bernard Ogden <bernie.ogden@linaro.org>
5165
7470db0c
WN
5166 * NEWS: Update fixed bug list.
5167
6d96f5e4
WN
5168 [BZ #15119]
5169 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5170
211d653c
DM
51712014-04-30 David S. Miller <davem@davemloft.net>
5172
4fa262fa
DM
5173 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5174 (libc_feholdexcept_setround_sparc_ctx): New function.
5175 (libc_fesetenv_sparc_ctx): Likewise.
5176 (libc_feupdateenv_sparc_ctx): Likewise.
5177 (libc_feholdsetround_sparc_ctx): Likewise.
5178 (libc_feholdexcept_setround_ctx): Define.
5179 (libc_feholdexcept_setroundf_ctx): Likewise.
5180 (libc_feholdexcept_setroundl_ctx): Likewise.
5181 (libc_fesetenv_ctx): Likewise.
5182 (libc_fesetenvf_ctx): Likewise.
5183 (libc_fesetenvl_ctx): Likewise.
5184 (libc_feupdateenv_ctx): Likewise.
5185 (libc_feupdateenvf_ctx): Likewise.
5186 (libc_feupdateenvl_ctx): Likewise.
5187 (libc_feresetround_ctx): Likewise.
5188 (libc_feresetroundf_ctx): Likewise.
5189 (libc_feresetroundl_ctx): Likewise.
5190 (libc_feholdsetround_ctx): Likewise.
5191 (libc_feholdsetroundf_ctx): Likewise.
5192 (libc_feholdsetroundl_ctx): Likewise.
5193
1d3d93ef
DM
5194 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5195 with __USE_GNU instead of XOPEN cpp guards.
5196
8aa583c3
DM
5197 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5198 0.
5199
211d653c
DM
5200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5201 with XOPEN cpp guards.
5202
60c8f1f6
JB
52032014-04-30 Julian Brown <julian@codesourcery.com>
5204
5205 [BZ #16888]
5206 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5207 handling.
5208
9a461d46
JM
52092014-04-30 Joseph Myers <joseph@codesourcery.com>
5210
d0f5b3f8
JM
5211 [BZ #9894]
5212 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5213 Change to 2.6.32.
5214 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5215 * sysdeps/unix/sysv/linux/configure: Regenerated.
5216 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5217 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5218 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5219 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5220 * README: Update reference to required Linux kernel version.
5221 * manual/install.texi (Linux): Update reference to required Linux
5222 kernel headers version.
5223 * INSTALL: Regenerated.
5224
9a461d46
JM
5225 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5226 header inclusion.
5227 [POSIX] (limits.h): Likewise.
5228 [POSIX] (math.h): Likewise.
5229 [POSIX] (sys/wait.h): Likewise.
5230 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5231 function.
5232 [POSIX] (stddef.h): Do not allow header inclusion.
5233
1775babf
AZ
52342014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5235
57f41c40 5236 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5237
8f630cca
YY
52382014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5239
5240 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5241 Return immediately after lll_futex_wake.
5242
1cdeb237
SP
52432014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5244
bc8f194c
SP
5245 [BZ #16791]
5246 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5247 structure.
5248 (datahead_init_pos): Call datahead_init_common early.
5249 (datahead_init_neg): Likewise.
5250
1cdeb237
SP
5251 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5252 datahead_init_neg): New functions.
5253 * nscd/aicache.c (addhstaiX): Use them.
5254 * nscd/grpcache.c (cache_addgr): Likewise.
5255 * nscd/hstcache.c (cache_addhst): Likewise.
5256 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5257 * nscd/netgroupcache.c (do_notfound): Likewise.
5258 (addgetnetgrentX): Likewise.
5259 (addinnetgrX): Likewise.
5260 * nscd/pwdcache.c (cache_addpw): Likewise.
5261 * nscd/servicescache.c (cache_addserv): Likewise.
5262
16b293a7
SP
52632014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5264 Atsushi Onoe <atsushi@onoe.org>
5265
5266 [BZ #14308]
5267 [BZ #12994]
5268 [BZ #13651]
5269 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5270 one response is valid.
5271 * resolv/res_send.c (send_dg): Check for validity of other
5272 response if the current response is a referral.
5273
a28a9b94
SE
52742014-04-29 Steve Ellcey <sellcey@mips.com>
5275
5276 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5277
2ca180e9
SL
52782014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5279
5280 [BZ #16823]
5281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5282 Always divide by positive zero when computing -Inf result.
5283 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5284 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5285
18f2945a
AZ
52862014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287
5288 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5289 FPSCR if value do not change.
5290 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5291 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5292 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5293 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5294 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5295 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5296 function.
5297
5abebba4
CD
52982014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5299
5300 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5301 * sysdeps/unix/sysv/linux/hppa: Move directory from
5302 ports/systeps/unix/sysv/linux/hppa.
5303 * README: Update listing for hppa-*-linux-gnu.
5304
f7ed60c2
OB
53052014-04-28 Ondřej Bílka <neleai@seznam.cz>
5306
fff763a5
OB
5307 [BZ #16754]
5308 * manual/stdio.texi (Hook functions): Fix types of stream hook
5309 functions.
f7ed60c2
OB
5310 [BZ #16854]
5311 * socket/sys/socket.h: Fix typo in comment.
5312
df639d73
WD
53132014-04-28 Wilco <wdijkstr@arm.com>
5314
f7ed60c2 5315 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5316 * sysdeps/arm/math_private.h: New file.
5317 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5318
48332d82
L
53192014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5320
5321 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5322 with __int128_t.
5323 (La_x86_64_retval): Likewise.
5324
e5e0d9a4
IB
53252014-04-24 Ian Bolton <ian.bolton@arm.com>
5326
5327 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5328 fpsr if value didn't change.
5329 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5330 to fpcr if value didn't change.
5331 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5332 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5333 fpsr or fpcr if value didn't change.
5334 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5335 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5336 fpcr if value didn't change.
5337 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5338 to fpsr if value didn't change.
5339
bacc75f7
SP
53402014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
5342 * nptl/tst-sem3.c: Use test-skeleton.c
5343 (main): Rename to do_test. Use return instead of
5344 exit.
5345 * nptl/tst-sem4.c: Use test-skeleton.c
5346 (main): Rename to do_test.
5347
a059d359
DM
53482014-04-22 David S. Miller <davem@davemloft.net>
5349
5350 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5351 (struct sigaction): New struct member __glibc_reserved0, change
5352 type of sa_flags to int.
5353
ea6c92f3
YZ
53542014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5355
5356 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5357 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5358
766c4a36
SP
53592014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5360
5361 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5362 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5363
140cc7ab
VK
53642014-04-22 Will Newton <will.newton@linaro.org>
5365 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5366
5367 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5368 (__longjmp): Add longjmp and longjmp_target SystemTap
5369 probes.
5370 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5371 (__sigsetjmp): Add setjmp SystemTap probe.
5372
c54e5cf7
CD
53732014-04-17 Carlos O'Donell <carlos@redhat.com>
5374
5375 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5376 match manual order.
5377
75ffb047
AZ
53782014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379
5380 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5381
2cd925f7
AZ
5382 * sysdeps/powerpc/fpu/fenv_private.h
5383 (libc_feholdexcept_setroundl_ctx): Define to
5384 libc_feholdexcept_setround_ppc_ctx.
5385 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5386 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5387 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5388 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5389
39e6cd8d
IB
53902014-04-17 Ian Bolton <ian.bolton@arm.com>
5391
5392 * sysdeps/aarch64/math-tests.h: New file.
5393
f9281df9
SY
53942014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5395
5396 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5397 New.
5398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5399 Check and set bit_AVX2_Usable.
5400 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5401 macro.
5402 (bit_AVX2): Likewise.
5403 (index_AVX2_Usable): Likewise.
5404 (CPUID_AVX2): Likewise.
5405 (HAS_AVX2): Likewise.
5406
37d35007
WN
54072014-04-17 Will Newton <will.newton@linaro.org>
5408
7c677662
WN
5409 * manual/setjmp.texi (System V contexts): Add note that
5410 calling setcontext on a context created by a call to a
5411 signal handler is undefined. Update text to note that
5412 setcontext from a signal handler is possible but not
5413 recommended.
5414
37d35007 5415 [BZ #16629]
e04a4e9d
WN
5416 * stdlib/tst-setcontext.c: Include signal.h.
5417 (main): Check that the signal stack before and
5418 after swapcontext is the same.
5419
37d35007
WN
5420 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5421 Re-implement to restore registers in user code and avoid
5422 rt_sigreturn system call.
5423
423a7160
W
54242014-04-17 Wilco <wdijkstr@arm.com>
5425
5426 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5427 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5428 * math/test-fenv.c: Skip exception trap tests on targets which only
5429 support non-stop mode.
5430
bc93ab29
IB
54312014-04-17 Ian Bolton <ian.bolton@arm.com>
5432 Wilco Dijkstra <wilco.dijkstra@arm.com>
5433
5434 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5435 (libc_feholdsetround_aarch64_ctx)
5436 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5437 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5438 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5439 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5440 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5441 (libc_feresetround_noexl_ctx): Define.
5442
95fc5fa3
RH
54432014-04-16 Richard Henderson <rth@redhat.com>
5444
ddb04724
RH
5445 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5446
d77c0899
RH
5447 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5448 unwind tables.
5449
a3df56fc
RH
5450 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5451 const from the non-libc, non-ldso copy.
5452
95fc5fa3
RH
5453 * sysdeps/alpha/libm-test-ulps: Regenerate.
5454
7e0b6763
IB
54552014-04-16 Ian Bolton <ian.bolton@arm.com>
5456 Wilco Dijkstra <wilco.dijkstra@arm.com>
5457
5458 * sysdeps/aarch64/fpu/math_private.h: New file.
5459
a9ea2e0c
MS
54602014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5461
5462 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5463
ea8ba7cd
IZ
54642014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5465
5466 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5467 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5469 Intel MPX bound registers before _dl_profile_fixup.
5470 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5471 registers after _dl_profile_fixup. Save and restore bound
5472 registers bnd0/bnd1 when calling _dl_call_pltexit.
5473 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5474 (LR_BND_OFFSET): Likewise.
5475 (LRV_BND0_OFFSET): Likewise.
5476 (LRV_BND1_OFFSET): Likewise.
5477
9f2a4fbc
ST
54782014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5479
5480 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5481 to...
5482 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5483 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5484 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5485 fields.
9f2a4fbc 5486
fd15a59b
ST
54872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5488
5489 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5490
f19dfa0a
SL
54912014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5492
5493 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5494
4fa8bc3b
SL
54952014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5496
5497 [BZ #14770]
5498 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5499 * sysdeps/s390/configure: Regenerate.
5500
8ea587db
SL
5501 [BZ #16824]
5502 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5503 Set round-to-nearest internally to reduce error accumulation.
5504
aa5f0ff1
AM
55052014-04-16 Alan Modra <amodra@gmail.com>
5506
5507 [BZ #16740]
5508 [BZ #16619]
5509 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5510 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5511 * NEWS: Update fixed bug list.
aa5f0ff1 5512
bb9c256f
SP
55132014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5514
5515 * benchtests/Makefile: Depend on libraries in build directory.
5516 (bench-math): Separate out math tests.
5517 (bench-pthread): Separate out pthread tests.
5518 (bench): Include math and pthread tests.
5519
f737dfd0
CD
55202014-04-14 Carlos O'Donell <carlos@redhat.com>
5521
5522 [BZ #16831]
5523 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5524 _dl_debug_initialize.
5525
0699f766
CD
5526 * configure.ac: Remove SELinux header check.
5527 * configure: Regenerate.
5528 * nscd/selinux.c (perms): Array of const char* to permission names.
5529 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5530 default policy. Call string_to_security_class and string_to_av_perm to
5531 translate strings. Enforce default policy and call avs_has_perm with
5532 results of translated strings.
5533
809bd45f
DM
55342014-04-13 David S. Miller <davem@davemloft.net>
5535
5536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5537
89e691f2
AM
55382014-04-12 Allan McRae <allan@archlinux.org>
5539
5540 [BZ #16838]
5541 * manual/string.texi (Collation Functions): Fix qsort argument
5542 order in example.
5543 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5544
9c9daaeb
CM
55452014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5546
5547 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5548 Make the test a no-op if there are no exceptions defined.
5549
95561fb9
PP
55502014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5551
fe8d072c 5552 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5553 enable-hardcoded-path-in-tests
5554
970c602a
WN
55552014-04-11 Will Newton <will.newton@linaro.org>
5556
5557 * benchtests/Makefile (extra-objs): Add json-lib.o.
5558 (bench-func): Tidy up JSON output.
5559 * benchtests/bench-skeleton.c: Include json-lib.h.
5560 (main): Use JSON library functions to do output of
5561 benchmark results.
5562 * benchtests/bench-timing-type.c (main): Output the
5563 timing type simply, leaving formatting to the user.
5564 * benchtests/json-lib.c: New file.
5565 * benchtests/json-lib.h: Likewise.
5566
36875b06
TR
55672014-04-11 Torvald Riegel <triegel@redhat.com>
5568
5569 [BZ #15215]
5570 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5571 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5572 memory barriers. Add comments.
5573 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5574 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5575 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5576 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5577 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5578 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5579
579db35a
SL
55802014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5581
5582 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5583 * sysdeps/s390/s390-64/configure.ac: ... this ...
5584 * sysdeps/s390/configure.ac: ... to here.
5585 * sysdeps/s390/s390-32/configure: Delete file.
5586 * sysdeps/s390/s390-64/configure: Delete file.
5587 * sysdeps/s390/configure: Regenerate.
5588
c12e9f37
JAPH
55892014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5590
5591 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5592
439bda32
WN
55932014-04-11 Will Newton <will.newton@linaro.org>
5594
5595 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5596 to zero if it is not defined elsewhere. (mtrim): Test
5597 the value of MALLOC_DEBUG with #if rather than #ifdef.
5598
6a5d6ea1
TR
55992014-04-10 Torvald Riegel <triegel@redhat.com>
5600
5601 * benchtests/pthread_once-inputs: New file.
5602 * benchtests/pthread_once-source.c: New file.
5603 * benchtests/README: Update documentation.
5604
a4c75cfd
IZ
56052014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5606 H.J. Lu <hongjiu.lu@intel.com>
5607
5608 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5609 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5610 * sysdeps/x86_64/configure: Regenerated.
5611 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5612 macro.
5613 (REGISTER_SAVE_RAX): Likewise.
5614 (REGISTER_SAVE_RCX): Likewise.
5615 (REGISTER_SAVE_RDX): Likewise.
5616 (REGISTER_SAVE_RSI): Likewise.
5617 (REGISTER_SAVE_RDI): Likewise.
5618 (REGISTER_SAVE_R8): Likewise.
5619 (REGISTER_SAVE_R9): Likewise.
5620 (REGISTER_SAVE_BND0): Likewise.
5621 (REGISTER_SAVE_BND1): Likewise.
5622 (REGISTER_SAVE_BND2): Likewise.
5623 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5624 bound registers when calling _dl_fixup.
5625
27822ce6
AZ
56262014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5627
5628 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5629 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5630 of its definition.
27822ce6
AZ
5631 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5632 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5633 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5634 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5635 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5636 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5637 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5638
a88ddc90
PTB
56392014-04-09 Peter Brett <peter@peter-b.co.uk>
5640
5641 [BZ #15514]
5642 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5643 pathconf(_PC_NAME_MAX).
5644
01f8eac2
AZ
56452014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5646
5647 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5648 Remove macro usage.
5649 (__PTHREAD_SPINS): Move definition to ...
5650 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5651 (__PTHREAD_SPINS): ... here.
5652 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5653 (__PTHREAD_SPIN): Likewise.
5654 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5655 (__PTHREAD_SPIN): Likewise.
5656 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5657 (__PTHREAD_SPIN): Likewise.
5658 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5659 (__PTHREAD_SPIN): Likewise.
5660 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5661 (__PTHREAD_SPIN): Likewise.
5662 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5663 (__PTHREAD_SPIN): Likewise.
5664 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5665 (__PTHREAD_SPIN): Likewise.
5666 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5667 (__PTHREAD_SPIN): Likewise.
5668 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5669 (__PTHREAD_SPIN): Likewise.
5670 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5671 (__PTHREAD_SPIN): Likewise.
5672 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5673 (__PTHREAD_SPIN): Likewise.
5674 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5675 (__PTHREAD_SPIN): Likewise.
5676
de21c33c
AZ
5677 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5678 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5679 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5680 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5681 imply folder.
5682 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5683 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5684 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5685 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5686 correct imply path.
5687 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5688 strlen symbol for non multi-arch builds.
5689 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5690 missing hidden_def and weak_alias.
5691
862c472e
CD
56922014-04-08 Carlos O'Donell <carlos@redhat.com>
5693
5694 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5695
8667f90e
WN
56962014-04-07 Will Newton <will.newton@linaro.org>
5697
5698 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5699 and contents. [!_LIBC] Remove #ifndef and contents.
5700 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5701 * string/memccpy.c (__memccpy): Use ANSI prototype.
5702 * string/memfrob.c (memfrob): Likewise.
5703 * string/strcoll.c (STRCOLL): Likewise.
5704 * string/strlen.c (strlen): Likewise.
5705 * string/strtok.c (STRTOK): Likewise.
5706 * string/strcat.c: Remove unused #include of memcopy.h.
5707 (strcat): Use ANSI prototype.
5708 * string/strchr.c: Remove unused #include of memcopy.h.
5709 (strchr): Use ANSI prototype.
5710 * string/strcmp.c: Remove unused #include of memcopy.h.
5711 (strcmp): Use ANSI prototype.
5712 * string/strcpy.c: Remove unused #include of memcopy.h.
5713 (strcpy): Use ANSI prototype.
5714
7ffa9423
AZ
57152014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716
5717 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5718 * config.make.in (config-extra-cppflags): Set it from
5719 libc_extra_cppflags.
5720 * configure.ac (libc_extra_cflags): Make it accumulate over
5721 configure fragments.
5722 (libc_extra_cppflags): New flag.
5723 * configure. Regenerate.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5725 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5726 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5728
8bd70862
AZ
5729 [BZ #16815]
5730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5731 result for FE_DOWNWARD rounding mode.
5732 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5733 Likewise.
5734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5735
d42f3448
CM
57362014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5737
5738 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5739 in function argument name.
5740
1c21d115
DS
57412014-04-03 David Svoboda <svoboda@cert.org>
5742
5743 [BZ #5666]
5744 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5745 explicitly.
5746
fcccd512
RM
57472014-04-03 Roland McGrath <roland@hack.frob.com>
5748
5749 * elf/dl-unmap-segments.h: New file.
5750 * sysdeps/generic/ldsodefs.h
5751 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5752 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5753 * elf/dl-fptr.c: Likewise.
5754 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5755 * sysdeps/aarch64/tlsdesc.c: Likewise.
5756 * sysdeps/arm/tlsdesc.c: Likewise.
5757 * sysdeps/i386/tlsdesc.c: Likewise.
5758 * sysdeps/tile/dl-runtime.c: Likewise.
5759 * sysdeps/x86_64/tlsdesc.c: Likewise.
5760 * elf/dl-load.h: New file.
5761 * elf/dl-load.c: Include it.
5762 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5763 Macros moved to dl-load.h.
5764 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5765 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5766 Use _dl_unmap_segments in place of __munmap.
5767 Break out segment-mapping loop into ...
5768 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5769
f6488e2b
WN
57702014-04-03 Will Newton <will.newton@linaro.org>
5771
5772 * elf/dl-lookup.c (do_lookup_x): Remove comment
5773 referring to nested function and move variable
5774 declarations down to before first use.
5775
6f05bafe
JM
57762014-04-02 Joseph Myers <joseph@codesourcery.com>
5777
a84e78c8
JM
5778 [BZ #16799]
5779 [BZ #16800]
5780 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5781 with 0 numerator.
5782 * math/s_catanf.c (__catanf): Likewise.
5783 * math/s_catanh.c (__catanh): Likewise.
5784 * math/s_catanhf.c (__catanhf): Likewise.
5785 * math/s_catanhl.c (__catanhl): Likewise.
5786 * math/s_catanl.c (__catanl): Likewise.
5787 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5788 by positive zero when computing -Inf result.
5789 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5790 (catanh_test): Likewise.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793
6f05bafe
JM
5794 [BZ #16789]
5795 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5796 instead of using underflowing value in computing result.
5797 * math/s_clog10.c (__clog10): Likewise.
5798 * math/s_clog10f.c (__clog10f): Likewise.
5799 * math/s_clog10l.c (__clog10l): Likewise.
5800 * math/s_clogf.c (__clogf): Likewise.
5801 * math/s_clogl.c (__clogl): Likewise.
5802 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5803 (clog10_test): Likewise.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5806
b0abbc21
AM
58072014-04-02 Alan Modra <amodra@gmail.com>
5808
5809 [BZ #16739]
5810 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5811 output when value is near a power of two. Use int64_t for lx and
5812 remove casts. Use decimal rather than hex exponent constants.
5813 Don't use long double multiplication when double will suffice.
5814 * math/libm-test.inc (nextafter_test_data): Add tests.
5815 * NEWS: Add 16739 and 16786 to bug list.
5816
af6b1797
AM
5817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5818
483818d7
AM
5819 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5820
f6c55796
WN
58212014-04-01 Will Newton <will.newton@linaro.org>
5822
5823 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5824 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5825
13f7fe35
FW
58262014-04-01 Florian Weimer <fweimer@redhat.com>
5827
5828 [BZ #13347]
5829 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5830 * nptl/tst-setuid2.c: New file.
5831 * nptl/Makefile (xtests): Add tst-setuid2.
5832
c859b32e
AM
58332014-04-01 Alan Modra <amodra@gmail.com>
5834
5835 [BZ #16786]
5836 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5837
54fa2475
JM
58382014-03-31 Joseph Myers <joseph@codesourcery.com>
5839
8795b4a4
JM
5840 [BZ #6803]
5841 [BZ #6804]
5842 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5843 set errno as appropriate.
5844 * math/w_scalbf.c (__scalbf): Likewise.
5845 * math/w_scalbl.c (__scalbl): Likewise.
5846 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5847 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5848 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5849 Add more NaN tests.
5850
54fa2475
JM
5851 [BZ #16349]
5852 * math/w_atan2.c: Include <errno.h>.
5853 (__atan2): Set errno for result underflowing to zero.
5854 * math/w_atan2f.c: Include <errno.h>.
5855 (__atan2f): Set errno for result underflowing to zero.
5856 * math/w_atan2l.c: Include <errno.h>.
5857 (__atan2l): Set errno for result underflowing to zero.
5858 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5859 tests.
5860 * math/auto-libm-test-out: Regenerated.
5861
757d9dd5
AZ
58622014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5863
5864 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5865 Encode instruction correctly in little endian.
5866 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5867 Likewise.
5868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5869 Likewise.
5870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5871 Likewise.
5872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5873 Likewise.
5874
d7a68734
JM
58752014-03-31 Joseph Myers <joseph@codesourcery.com>
5876
47c5adeb
JM
5877 [BZ #9894]
5878 * sysdeps/unix/sysv/linux/kernel-features.h
5879 [__sparc__ && !__arch64__ && !__sparc_v9__]
5880 (__ASSUME_SET_ROBUST_LIST): Do not define.
5881 [__sparc__ && !__arch64__ && !__sparc_v9__]
5882 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5883 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5884 Likewise.
5885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5886 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5887 (__ASSUME_REQUEUE_PI): Likewise.
5888 (__ASSUME_SET_ROBUST_LIST): Likewise.
5889 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5890 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5891 Undefine.
5892 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5893 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5894 Likewise.
5895 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5896 Likewise.
5897 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5898 Likewise.
5899 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5900 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5901 Undefine.
5902 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5903 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5904 Likewise.
5905
d7a68734
JM
5906 [BZ #16648]
5907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5908 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5909 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5910
c760f5c2
WN
59112014-03-31 Will Newton <will.newton@linaro.org>
5912
5913 * benchtests/Makefile (bench): Add ffs and ffsll to list
5914 of tests.
5915 * benchtests/ffs-inputs: New file.
5916 * benchtests/ffsll-inputs: Likewise.
5917
ea6029b1
JM
59182014-03-29 Joseph Myers <joseph@codesourcery.com>
5919
5920 [BZ #16770]
5921 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5922 too large before casting to int.
5923 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5924 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5925 * math/libm-test.inc (scalb_test_data): Add more tests.
5926
cf806aff
SP
59272014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5928
56737508
SP
5929 * benchtests/Makefile (DETAILED_OPT): New make option.
5930 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5931 set.
5932 * benchtests/bench-skeleton.c: Include stdbool.h.
5933 (main): Store and print timings per input.
5934 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5935 member to each argument value.
5936 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5937 (_print_arg_data): Initialize per-input timing to 0.
5938
cb5e4aad
SP
5939 * benchtests/Makefile (timing-type): New binary.
5940 (bench-clean): Also remove bench-timing-type.
5941 (bench): New target for timing-type.
5942 (bench-func): Print output in JSON format.
5943 * benchtests/bench-skeleton.c (main): Print output in JSON
5944 format.
5945 * benchtests/bench-timing-type.c: New file.
5946 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5947 (TIMING_PRINT_STATS): Remove.
5948 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5949 name separately.
5950
cf806aff
SP
5951 * benchtests/bench-modf.c: Remove.
5952 * benchtests/modf-inputs: New inputs file.
5953
289e0779
JM
59542014-03-28 Joseph Myers <joseph@codesourcery.com>
5955
5956 [BZ #16362]
5957 * math/s_clog10.c (M_PI_LOG10E): New macro.
5958 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5959 imaginary parts are 0.
5960 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5961 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5962 imaginary parts are 0.
5963 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5964 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5965 imaginary parts are 0.
5966 * math/libm-test.inc (clog10_test_data): Update expected results
5967 for when real and imaginary parts are 0.
5968
277ae3f1
PP
59692014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5970
5971 * elf/dl-load.c: Finish conversion of __builtin_expect into
5972 __glibc_{un}likely.
5973
03a7091f
JM
59742014-03-27 Joseph Myers <joseph@codesourcery.com>
5975
5976 [BZ #16348]
5977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5978 1+x for argument with exponent below -67.
5979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5980 Likewise.
5981 * math/auto-libm-test-in: Add more tests of exp.
5982 * math/auto-libm-test-out: Regenerated.
5983
ea7d8b95
SP
59842014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5985
dd3022d7
SP
5986 [BZ #16759]
5987 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5988 (nscd_getnetgrent): Use it.
5989
ea7d8b95
SP
5990 [BZ #16760]
5991 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5992 of stpcpy.
5993
df5b85da
AK
59942014-03-27 Andi Kleen <ak@linux.intel.com>
5995
57f41c40
AS
5996 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5997 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5998 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5999 (lll_robust_unlock): Remove out of line section. Use cfi
6000 intrinsics.
df5b85da 6001 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6002 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6003 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6004 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6005 (lll_robust_unlock): Remove out of line section. Use cfi
6006 intrinsics.
df5b85da
AK
6007 (LLL_STUB_UNWIND_INFO*): Remove.
6008
fbd6b5a4
SP
60092014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6010
6011 [BZ #16758]
6012 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6013 blank values.
6014
1b26b855
PP
60152014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6016
6017 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6018
9be36fb8
JM
60192014-03-26 Joseph Myers <joseph@codesourcery.com>
6020
6021 [BZ #16198]
6022 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6023 fnstenv.
6024 * math/test-fenv-preserve.c: New file.
6025 * math/Makefile (tests): Add test-fenv-preserve.
6026
60a2f3c1
WN
60272014-03-26 Will Newton <will.newton@linaro.org>
6028
6029 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6030
a5e5f1e2
RM
60312014-03-25 Roland McGrath <roland@hack.frob.com>
6032
6033 * scripts/versionlist.awk: Partition the version sets and emit all
6034 GLIBC_* (sorted) before all others (sorted).
6035
00f4012a
JM
60362014-03-25 Joseph Myers <joseph@codesourcery.com>
6037
6038 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6039 GLIBC_2.2.5 version.
6040
7bc5a741
AZ
60412014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6044 calls.
6045
7578473b
AZ
6046 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6047 previous change.
6048
f3f1dab3
AZ
6049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6050
6da36183
AS
60512014-03-25 Andreas Schwab <schwab@suse.de>
6052
6053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6054 label to be used after in6ailist is initialized.
6055
f3f1dab3 60562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6057
7578473b 6058 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6059 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6060
046651c1
JM
60612014-03-25 Joseph Myers <joseph@codesourcery.com>
6062
6063 [BZ #16357]
6064 [BZ #16599]
6065 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6066 min_plus_half.
6067 (fp_formats): Update initializers.
6068 (init_fp_formats): Initialize new field.
6069 (output_for_one_input_case): Allow underflow for results up to
6070 min_plus_half.
6071 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6072 * math/auto-libm-test-in: Don't mark some underflows from asin and
6073 atanh as spurious.
6074 * math/auto-libm-test-out: Regenerated.
6075 * sysdeps/i386/fpu/libm-test-ulps: Update.
6076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6077
003e49ed
AS
60782014-03-25 Andreas Schwab <schwab@suse.de>
6079
6080 * libio/Makefile (tst-ftell-partial-wide-ENV)
6081 (tst-ftell-active-handler-ENV): Define.
6082
de031874
SL
60832014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6084
6085 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6086
55a81e3b
PP
60872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6088
6089 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6090
f3426898
JM
60912014-03-24 Joseph Myers <joseph@codesourcery.com>
6092
6093 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6094 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6095 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6096
a42faf59
PP
60972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6098
6099 [BZ #16634]
a42faf59 6100 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6101 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6102 (open_path): Change from boolean 'secure' to complete flag 'mode'
6103 (_dl_map_object): Adjust.
a42faf59
PP
6104 * elf/Makefile (tests): Add tst-dlopen-aout.
6105 * elf/tst-dlopen-aout.c: New test.
6106
50936127
SL
61072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6108
6109 [BZ #16714]
6110 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6111 (struct stat): Rename member pad0 to __glibc_reserved0.
6112
26011b5c
SL
6113 [BZ #16712]
6114 * sysdeps/s390/s390-32/bits/wordsize.h
6115 (__WORDSIZE32_SIZE_ULONG): New define.
6116 * sysdeps/s390/s390-64/bits/wordsize.h
6117 (__WORDSIZE32_SIZE_ULONG): Likewise.
6118 * sysdeps/generic/stdint.h (SIZE_MAX):
6119 Define as UL if __WORDSIZE32_SIZE_ULONG.
6120
a2d86bf1
SL
6121 [BZ #16713]
6122 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6123 (__glibc_reserved0): New variable.
6124 (sa_flags): Change type to int.
6125
78b6eebc
SL
6126 * posix/Makefile (before-compile): Use += before-compile instead
6127 of a :=.
6128
f1399b5a
SL
6129 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6130 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6131
a071766e
AS
61322014-03-20 Andreas Schwab <schwab@suse.de>
6133
6134 [BZ #16743]
6135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6136 non-matching result from nscd.
6137
27c673b8
SP
61382014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6139
6140 * scripts/bench.py: Moved to ...
6141 * benchtests/scripts/bench.py: ... here.
6142 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6143
44152e4b
AS
61442014-03-24 Andreas Schwab <schwab@suse.de>
6145
6146 [BZ #16002]
6147 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6148 alloca_account and account alloca use for struct in6ailist.
6149
b376a11a
JM
61502014-03-24 Joseph Myers <joseph@codesourcery.com>
6151
6152 [BZ #16284]
6153 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6154 rounding mode to recompute results that overflow to infinity or
6155 underflow to zero.
6156 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6157 bug 16284.
6158 * math/auto-libm-test-out: Regenerated.
6159 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6160 (ccosh_test): Likewise.
6161 (csin_test_data): Use plus_oflow.
6162 (csin_test): Use ALL_RM_TEST.
6163 (csinh_test_data): Use plus_oflow.
6164 (csinh_test): Use ALL_RM_TEST.
6165 * sysdeps/i386/fpu/libm-test-ulps: Update.
6166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6167
f7be7376
JM
61682014-03-21 Joseph Myers <joseph@codesourcery.com>
6169
1ca2d03e
JM
6170 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6171 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6172 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6173
f7be7376
JM
6174 [BZ #16731]
6175 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6176 when x - 1 is zero.
6177 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6178 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6179 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6181 argument is 1.
6182 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6183 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6184 zero.
6185 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6186 * sysdeps/i386/fpu/libm-test-ulps: Update.
6187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6188
fdf4534d
SP
61892014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6190
df26ea53
SP
6191 * scripts/bench.pl: Remove file.
6192 * scripts/bench.py: New benchmark script.
6193 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6194 * benchtests/README: Mention python dependency.
6195 * scripts/pylintrc: New file.
6196 * scripts/pylint: New file.
6197
fdf4534d
SP
6198 * bits/mathdef.h: Use #ifdef instead of #if.
6199 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6200 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6201 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6202 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6203 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6204 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6205
6f23d093
AZ
62062014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6208
6209 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6211 and strpbrk-ppc64 objects.
6212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6214 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6215 multiarch strpbrk for POWER7.
6216 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6217 multiarch strpbrk for PPC64.
6218 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6219 ifunc selector.
6220 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6221 strpbrk for POWER7.
6222
8c92dfff
JM
62232014-03-20 Joseph Myers <joseph@codesourcery.com>
6224
6225 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6226 (atan_test): Likewise.
6227 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6228 (atanh_test): Use ALL_RM_TEST.
6229 (atan2_test_data): Likewise.
6230 (cabs_test): Likewise.
6231 (cacosh_test): Likewise.
6232 (carg_test): Likewise.
6233 (casin_test): Likewise.
6234 (casinh_test): Likewise.
6235 (cbrt_test): Likewise.
6236 (csqrt_test): Likewise.
6237 (erf_test): Likewise.
6238 (erfc_test): Likewise.
6239 (pow10_test): Likewise.
6240 (exp2_test): Likewise.
6241 (hypot_test): Likewise.
6242 (j0_test): Likewise.
6243 (j1_test): Likewise.
6244 (lgamma_test): Likewise.
6245 (gamma_test): Likewise.
6246 (sincos_test): Likewise.
6247 (tanh_test): Likewise.
6248 (y0_test): Likewise.
6249 (y1_test): Likewise.
6250 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6252
6eaf95cb
AZ
62532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6254
a387428c
SP
6255 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6257 and strcspn-ppc64 objects.
6258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6259 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6260 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6261 multiarch strcspn for POWER7.
6262 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6263 multiarch strcspn for PPC64.
6264 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6265 ifunc selector.
6266 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6267 strcspn for POWER7.
6268
ae3a5dff
JM
62692014-03-20 Joseph Myers <joseph@codesourcery.com>
6270
6271 * math/gen-libm-test.pl (generate_testfile): Expect only function
6272 name as argument to AUTO_TESTS_* and pass results for all rounding
6273 modes to parse_args.
6274 (parse_auto_input): Separate inputs of automatic tests from
6275 outputs before storing in %auto_tests.
6276 * math/libm-test.inc (acos_test_data): Update call to
6277 AUTO_TESTS_f_f.
6278 (acos_test): Use ALL_RM_TEST.
6279 (acos_tonearest_test_data): Remove.
6280 (acos_test_tonearest): Likewise.
6281 (acos_towardzero_test_data): Likewise.
6282 (acos_test_towardzero): Likewise.
6283 (acos_downward_test_data): Likewise.
6284 (acos_test_downward): Likewise.
6285 (acos_upward_test_data): Likewise.
6286 (acos_test_upward): Likewise.
6287 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6288 (asin_test_data): Likewise.
6289 (asin_test): Use ALL_RM_TEST.
6290 (asin_tonearest_test_data): Remove.
6291 (asin_test_tonearest): Likewise.
6292 (asin_towardzero_test_data): Likewise.
6293 (asin_test_towardzero): Likewise.
6294 (asin_downward_test_data): Likewise.
6295 (asin_test_downward): Likewise.
6296 (asin_upward_test_data): Likewise.
6297 (asin_test_upward): Likewise.
6298 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6299 (atan_test_data): Likewise.
6300 (atanh_test_data): Likewise.
6301 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6302 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6303 (carg_test_data): Likewise.
6304 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6305 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6306 (ccosh_test_data): Likewise.
6307 (cexp_test_data): Likewise.
6308 (clog_test_data): Likewise.
6309 (clog10_test_data): Likewise.
6310 (cos_test_data): Update call to AUTO_TESTS_f_f.
6311 (cos_test): Use ALL_RM_TEST.
6312 (cos_tonearest_test_data): Remove.
6313 (cos_test_tonearest): Likewise.
6314 (cos_towardzero_test_data): Likewise.
6315 (cos_test_towardzero): Likewise.
6316 (cos_downward_test_data): Likewise.
6317 (cos_test_downward): Likewise.
6318 (cos_upward_test_data): Likewise.
6319 (cos_test_upward): Likewise.
6320 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6321 (cosh_test): Use ALL_RM_TEST.
6322 (cosh_tonearest_test_data): Remove.
6323 (cosh_test_tonearest): Likewise.
6324 (cosh_towardzero_test_data): Likewise.
6325 (cosh_test_towardzero): Likewise.
6326 (cosh_downward_test_data): Likewise.
6327 (cosh_test_downward): Likewise.
6328 (cosh_upward_test_data): Likewise.
6329 (cosh_test_upward): Likewise.
6330 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6331 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6332 (ctan_test_data): Likewise.
6333 (ctan_test): Use ALL_RM_TEST.
6334 (ctan_tonearest_test_data): Remove.
6335 (ctan_test_tonearest): Likewise.
6336 (ctan_towardzero_test_data): Likewise.
6337 (ctan_test_towardzero): Likewise.
6338 (ctan_downward_test_data): Likewise.
6339 (ctan_test_downward): Likewise.
6340 (ctan_upward_test_data): Likewise.
6341 (ctan_test_upward): Likewise.
6342 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6343 (ctanh_test): Use ALL_RM_TEST.
6344 (ctanh_tonearest_test_data): Remove.
6345 (ctanh_test_tonearest): Likewise.
6346 (ctanh_towardzero_test_data): Likewise.
6347 (ctanh_test_towardzero): Likewise.
6348 (ctanh_downward_test_data): Likewise.
6349 (ctanh_test_downward): Likewise.
6350 (ctanh_upward_test_data): Likewise.
6351 (ctanh_test_upward): Likewise.
6352 (erf_test_data): Update call to AUTO_TESTS_f_f.
6353 (erfc_test_data): Likewise.
6354 (exp_test_data): Likewise.
6355 (exp_test): Use ALL_RM_TEST.
6356 (exp_tonearest_test_data): Remove.
6357 (exp_test_tonearest): Likewise.
6358 (exp_towardzero_test_data): Likewise.
6359 (exp_test_towardzero): Likewise.
6360 (exp_downward_test_data): Likewise.
6361 (exp_test_downward): Likewise.
6362 (exp_upward_test_data): Likewise.
6363 (exp_test_upward): Likewise.
6364 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6365 (exp10_test): Use ALL_RM_TEST.
6366 (exp10_tonearest_test_data): Remove.
6367 (exp10_test_tonearest): Likewise.
6368 (exp10_towardzero_test_data): Likewise.
6369 (exp10_test_towardzero): Likewise.
6370 (exp10_downward_test_data): Likewise.
6371 (exp10_test_downward): Likewise.
6372 (exp10_upward_test_data): Likewise.
6373 (exp10_test_upward): Likewise.
6374 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6375 (expm1_test_data): Likewise.
6376 (expm1_test): Use ALL_RM_TEST.
6377 (expm1_tonearest_test_data): Remove.
6378 (expm1_test_tonearest): Likewise.
6379 (expm1_towardzero_test_data): Likewise.
6380 (expm1_test_towardzero): Likewise.
6381 (expm1_downward_test_data): Likewise.
6382 (expm1_test_downward): Likewise.
6383 (expm1_upward_test_data): Likewise.
6384 (expm1_test_upward): Likewise.
6385 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6386 (fma_test): Use ALL_RM_TEST.
6387 (fma_towardzero_test_data): Remove.
6388 (fma_test_towardzero): Likewise.
6389 (fma_downward_test_data): Likewise.
6390 (fma_test_downward): Likewise.
6391 (fma_upward_test_data): Likewise.
6392 (fma_test_upward): Likewise.
6393 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6394 (j0_test_data): Update call to AUTO_TESTS_f_f.
6395 (j1_test_data): Likewise.
6396 (jn_test_data): Update call to AUTO_TESTS_if_f.
6397 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6398 (log_test_data): Update call to AUTO_TESTS_f_f.
6399 (log10_test_data): Likewise.
6400 (log1p_test_data): Likewise.
6401 (log2_test_data): Likewise.
6402 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6403 (pow_tonearest_test_data): Likewise.
6404 (sin_test_data): Update call to AUTO_TESTS_f_f.
6405 (sin_test): Use ALL_RM_TEST.
6406 (sin_tonearest_test_data): Remove.
6407 (sin_test_tonearest): Likewise.
6408 (sin_towardzero_test_data): Likewise.
6409 (sin_test_towardzero): Likewise.
6410 (sin_downward_test_data): Likewise.
6411 (sin_test_downward): Likewise.
6412 (sin_upward_test_data): Likewise.
6413 (sin_test_upward): Likewise.
6414 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6415 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6416 (sinh_test): Use ALL_RM_TEST.
6417 (sinh_tonearest_test_data): Remove.
6418 (sinh_test_tonearest): Likewise.
6419 (sinh_towardzero_test_data): Likewise.
6420 (sinh_test_towardzero): Likewise.
6421 (sinh_downward_test_data): Likewise.
6422 (sinh_test_downward): Likewise.
6423 (sinh_upward_test_data): Likewise.
6424 (sinh_test_upward): Likewise.
6425 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6426 (sqrt_test): Use ALL_RM_TEST.
6427 (sqrt_tonearest_test_data): Remove.
6428 (sqrt_test_tonearest): Likewise.
6429 (sqrt_towardzero_test_data): Likewise.
6430 (sqrt_test_towardzero): Likewise.
6431 (sqrt_downward_test_data): Likewise.
6432 (sqrt_test_downward): Likewise.
6433 (sqrt_upward_test_data): Likewise.
6434 (sqrt_test_upward): Likewise.
6435 (tan_test_data): Update call to AUTO_TESTS_f_f.
6436 (tan_test): Use ALL_RM_TEST.
6437 (tan_tonearest_test_data): Remove.
6438 (tan_test_tonearest): Likewise.
6439 (tan_towardzero_test_data): Likewise.
6440 (tan_test_towardzero): Likewise.
6441 (tan_downward_test_data): Likewise.
6442 (tan_test_downward): Likewise.
6443 (tan_upward_test_data): Likewise.
6444 (tan_test_upward): Likewise.
6445 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6446 (tgamma_test_data): Likewise.
6447 (y0_test_data): Likewise.
6448 (y1_test_data): Likewise.
6449 (yn_test_data): Update call to AUTO_TESTS_if_f.
6450 (main): Do not call removed functions.
6451
d71aeee8
JM
64522014-03-19 Joseph Myers <joseph@codesourcery.com>
6453
6454 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6455 (ldexp_test_data): Remove.
6456 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6457 scalbn_test_data.
6458 (scalb_test): Use ALL_RM_TEST.
6459
baaf1ded
AS
64602014-03-19 Andreas Schwab <schwab@suse.de>
6461
6462 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6463
b1115e91
JM
64642014-03-19 Joseph Myers <joseph@codesourcery.com>
6465
6466 [BZ #16649]
6467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6468 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6469 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6470 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6471 (__ASSUME_PREADV): Undefine.
6472 (__ASSUME_PWRITEV): Likewise.
6473
0283ecca
RM
64742014-03-18 Roland McGrath <roland@hack.frob.com>
6475
7d375303
RM
6476 * bits/mman-linux.h: Add comment about non-Linux use.
6477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6478 bits/mman-linux.h resting place.
6479
0283ecca
RM
6480 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6481 * bits/mman-linux.h: ... here.
6482
aebe1003
AZ
64832014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484
6485 * conform/conformtest.pl: Add standard definition when calling C
6486 preprocessor on data files.
6487 (checknamespace): Remove unused variable.
6488
b29b6bb8
JM
64892014-03-18 Joseph Myers <joseph@codesourcery.com>
6490
6491 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6492 minus_oflow, plus_uflow and minus_uflow in expected results.
6493 * math/libm-test.inc (scalbn_test_data): Add more tests of
6494 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6495 minus_uflow.
6496 (scalbn_test): Use ALL_RM_TEST.
6497 (scalbln_test_data): Add more tests of negative arguments. Use
6498 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6499 (scalbln_test): Use ALL_RM_TEST.
6500
c8f8fa15
RM
65012014-03-18 Roland McGrath <roland@hack.frob.com>
6502
6503 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6504
fede7a5f
WN
65052014-03-18 Will Newton <will.newton@linaro.org>
6506
6507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6508 inaccurate comment.
6509
80cf0a58
JM
65102014-03-18 Joseph Myers <joseph@codesourcery.com>
6511
6512 * Makerules [!subdir] (check-abi): Exit with error status if a
6513 test failed.
6514
b3620862
JM
65152014-03-17 Joseph Myers <joseph@codesourcery.com>
6516
6517 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6518 for rint. Include results for all rounding modes.
6519 (nearbyint_test): Use ALL_RM_TEST.
6520 (rint_test_data): Include all tests used for nearbyint.
6521
788bba36
WN
65222014-03-17 Will Newton <will.newton@linaro.org>
6523
04ec140a
WN
6524 * nptl/sysdeps/pthread/pthread.h: Revert previous
6525 change.
6526
7579d8d5
WN
6527 * sysdeps/generic/ldsodefs.h: Revert previous
6528 change.
6529
c15cf13a
WN
6530 * libio/genops.c: Revert previous change.
6531 * libio/libioP.h: Likewise.
6532 * stdio-common/vfprintf.c: Likewise.
6533
d0ac1324
WN
6534 * sysdeps/generic/math_private.h: Revert previous
6535 change.
6536
9290130a
WN
6537 * sysdeps/generic/math_private.h: Check whether
6538 HAVE_RM_CTX is defined with #ifdef rather
6539 than #if.
6540
afb466fc
WN
6541 * argp/argp-fmtstream.h: Check whether
6542 __STRICT_ANSI__ is defined with #ifdef rather
6543 than #if.
6544 * argp/argp.h: Likewise.
6545
f7efd7c3
WN
6546 * libio/genops.c: Check whether
6547 _IO_JUMPS_OFFSET is defined with #ifdef rather
6548 than #if.
6549 * libio/libioP.h: Likewise.
6550 * stdio-common/vfprintf.c: Likewise.
6551
53f1bed3
WN
6552 * sysdeps/generic/ldsodefs.h: Check whether
6553 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6554 than #if.
6555
788bba36
WN
6556 * nptl/sysdeps/pthread/pthread.h: Check
6557 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6558 its value.
6559
fcd89ebe
SP
65602014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6561
ae42bbc5
SP
6562 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6563 setting O_APPEND.
6564 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6565 test case.
6566
ea33158c
SP
6567 [BZ #16680]
6568 * libio/fileops.c (_IO_file_open): Seek to end of file but
6569 don't cache the offset.
6570 (get_file_offset): Remove function.
6571 (do_ftell): Use cached offset when available.
6572 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6573 don't cache the offset.
6574 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6575 case.
6576 (do_one_test): Call it.
6577 (do_ftell_test): Fix up expected old offset for a+ mode.
6578 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6579 available.
6580
b1dbb426
SP
6581 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6582 up test status with function return status.
6583 (do_write_test): Likewise.
6584 (do_append_test): Likewise.
6585
fcd89ebe
SP
6586 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6587 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6588 Remove.
6589
9962a2d3
JM
65902014-03-17 Joseph Myers <joseph@codesourcery.com>
6591
6592 * math/gen-libm-test.pl (parse_args): Handle results specified for
6593 each rounding mode separately.
6594 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6595 tests and results from lrint_tonearest_test_data,
6596 lrint_towardzero_test_data, lrint_downward_test_data and
6597 lrint_upward_test_data.
6598 (lrint_test): Use ALL_RM_TEST.
6599 (lrint_tonearest_test_data): Remove.
6600 (lrint_test_tonearest): Likewise.
6601 (lrint_towardzero_test_data): Likewise.
6602 (lrint_test_towardzero): Likewise.
6603 (lrint_downward_test_data): Likewise.
6604 (lrint_test_downward): Likewise.
6605 (lrint_upward_test_data): Likewise.
6606 (lrint_test_upward): Likewise.
6607 (llrint_test_data): Merge in per-rounding-mode tests and results
6608 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6609 llrint_downward_test_data and llrint_upward_test_data.
6610 (llrint_test): Use ALL_RM_TEST.
6611 (llrint_tonearest_test_data): Remove.
6612 (llrint_test_tonearest): Likewise.
6613 (llrint_towardzero_test_data): Likewise.
6614 (llrint_test_towardzero): Likewise.
6615 (llrint_downward_test_data): Likewise.
6616 (llrint_test_downward): Likewise.
6617 (llrint_upward_test_data): Likewise.
6618 (llrint_test_upward): Likewise.
6619 (rint_test_data): Merge in per-rounding-mode tests and results
6620 from rint_tonearest_test_data, rint_towardzero_test_data,
6621 rint_downward_test_data and rint_upward_test_data. Add
6622 per-rounding-mode results for tests not in those arrays.
6623 (rint_test): Use ALL_RM_TEST.
6624 (rint_tonearest_test_data): Remove.
6625 (rint_test_tonearest): Likewise.
6626 (rint_towardzero_test_data): Likewise.
6627 (rint_test_towardzero): Likewise.
6628 (rint_downward_test_data): Likewise.
6629 (rint_test_downward): Likewise.
6630 (rint_upward_test_data): Likewise.
6631 (rint_test_upward): Likewise.
6632 (main): Don't call removed functions.
6633
5006148e
RM
66342014-03-14 Roland McGrath <roland@hack.frob.com>
6635
6636 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6637 "Compiled on ..." crapola. It is anti-useful.
6638
d6fe5e58
JM
66392014-03-14 Joseph Myers <joseph@codesourcery.com>
6640
6641 * scripts/evaluate-test.sh: Handle fourth argument to determine
6642 whether test run should stop on failure.
6643 * Makeconfig (stop-on-test-failure): New variable.
6644 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6645 $(stop-on-test-failure).
6646 * Makefile (tests): Give a summary of results from testing and
6647 exit with failure status if they include an ERROR or FAIL.
6648 (xtests): Likewise.
6649 * manual/install.texi (Configuring and compiling): Mention
6650 stop-on-test-failure=y.
6651 * INSTALL: Regenerated.
6652
498a2233
RM
66532014-03-14 Roland McGrath <roland@hack.frob.com>
6654
22dbc19d
RM
6655 * scripts/versionlist.awk: New file.
6656 * Makerules [$(build-shared) = yes]
6657 (postclean-generated): Add Versions.def, not Versions.def.v and
6658 Versions.def.v.i.
6659 ($(common-objpfx)Versions.def.v.i): Target removed.
6660 ($(common-objpfx)Versions.def): New target.
6661 ($(common-objpfx)Versions.all): Depend on that rather that
6662 $(common-objpfx)Versions.def.v.
6663 * Versions.def: File removed.
6664
498a2233
RM
6665 * Makeconfig (+gccwarn): Add -Wundef.
6666 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6667 a dl-sysdep.h breaking its contract.
6668 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6669 * include/stackinfo.h: New file.
6670 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6671 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6672 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6673 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6674 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6675 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6676 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6677 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6678 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6679 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6680 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6681 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6682 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6683 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6684 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6685
c7de5025
AZ
66862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687
6688 [BZ #16707]
6689 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6690 implementation.
6691 * math/libm-test.inc (round_test_data): Add more tests.
6692
98fb27a3
AZ
6693 [BZ #16706]
6694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6695 implementation.
6696 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6697
374f7f61
AZ
6698 [BZ #16701]
6699 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6700 implementation.
6701 * math/libm-test.inc (ceil_test_data): Add more tests.
6702
4655c291
AZ
6703 * math/libm-test.inc (trunc_test_data): Add more tests related to
6704 BZ#16414.
6705
d7329d4b
RM
67062014-03-14 Roland McGrath <roland@hack.frob.com>
6707
6708 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6709 with #if rather than #ifdef.
6710 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6711
aa4de9ce
L
67122014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6715 first. Disable AVX-512 GCC support if assembler doesn't support
6716 it.
6717 * sysdeps/x86_64/configure: Regenerated.
6718
2e03fae7
CD
67192014-03-13 Carlos O'Donell <carlos@redhat.com>
6720
6721 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6722 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6723 (__old_pthread_attr_setstack): Likewise.
6724 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6725 [!_STACK_GROWS_DOWN]: Likewise.
6726
43ca83ec
MF
67272014-03-13 Mike Frysinger <vapier@gentoo.org>
6728
6729 * config.make.in (have-bash2): Delete.
6730 * configure.ac (libc_cv_have_bash2): Delete.
6731 * configure: Regenerate.
6732 * elf/Makefile (common-ldd-rewrite): Rename to ...
6733 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6734 (sh-ldd-rewrite): Delete.
6735 (bash-ldd-rewrite): Delete.
6736 (have-bash2): Delete checks.
57f41c40
AS
6737 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6738 ldd-rewrite.
c66e48b4
MF
6739
6740 * config.make.in (have-ksh): Delete.
6741 (KSH): Delete.
6742 * configure.ac (libc_cv_have_ksh): Delete.
6743 * configure: Regenerate.
6744
b93834ef
MF
6745 * elf/Makefile: Delete $(have-ksh) check.
6746 ($(objpfx)sotruss): Change KSH to BASH.
6747 * elf/sotruss.ksh: Rename to ...
6748 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6749 function style to match POSIX. Drop ksh vim mode setting.
6750
f3a4632a
MF
6751 * manual/time.texi (Specifying the Time Zone with TZ): Change
6752 Tuesday to Thursday.
6753
5896c8bd
MF
6754 * debug/tst-longjmp_chk2.c: Update header comment.
6755 (stackoverflow_handler): Add comment. Call assert on pass value.
6756
2d63a517
IZ
67572014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6758
6759 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6760 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6761 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6762 (La_x86_64_vector): Add zmm.
6763 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6764 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6765 ($(objpfx)tst-audit10): New target.
6766 ($(objpfx)tst-audit10.out): Likewise.
6767 (tst-audit10-ENV): New.
6768 (AVX512-CFLAGS): Likewise.
6769 (CFLAGS-tst-audit10.c): Likewise.
6770 (CFLAGS-tst-auditmod10a.c): Likewise.
6771 (CFLAGS-tst-auditmod10b.c): Likewise.
6772 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6773 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6774 * sysdeps/x86_64/configure: Regenerated.
6775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6776 AVX-512 zmm register support.
6777 (_dl_x86_64_save_sse): Likewise.
6778 (_dl_x86_64_restore_sse): Likewise.
6779 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6780 size vector registers.
6781 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6782 (ZMM_SIZE): Likewise.
6783 * sysdeps/x86_64/tst-audit10.c: New file.
6784 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6785 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6786
44c4e5d5
RM
67872014-03-13 Roland McGrath <roland@hack.frob.com>
6788
6789 * configure.ac (HAVE_EHDR_START): New check.
6790 * configure: Regenerated.
6791 * config.h.in (HAVE_EHDR_START): New #undef.
6792 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6793 assuming the lowest-addressed segment maps the start of the file.
6794
acd6e389
JM
67952014-03-13 Joseph Myers <joseph@codesourcery.com>
6796
6797 * INSTALL: Regenerated.
6798
6f918f36
WN
67992014-03-13 Will Newton <will.newton@linaro.org>
6800
6801 * manual/setjmp.texi (System V contexts): Improve
6802 clarity and grammar of documentation.
6803
798212a0
PP
68042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6805
6806 [BZ #16381]
798212a0 6807 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6808 (tests-pie): Add tst-pie2.
798212a0
PP
6809 * elf/tst-pie2.c: New file.
6810 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6811 for ET_EXEC.
6812 * elf/rtld.c (map_doit): Load executable as lt_executable.
6813 (dl_main): Likewise.
6814
abe6d90c
JM
68152014-03-12 Joseph Myers <joseph@codesourcery.com>
6816
6817 [BZ #16642]
6818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6819 (__ASSUME_PSELECT): Undefine.
6820
dd3946c6
AZ
68212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822
6823 [BZ #16689]
6824 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6825 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6826 static build.
6827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6828 selector for static builds.
6829
c44496df
SP
68302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
6832 [BZ #16695]
6833 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6834 key in the buffer.
6835
27c7220a
AZ
68362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837
57f41c40
AS
6838 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6839 IFUNC selector for static builds.
27c7220a 6840
600fa361
JM
68412014-03-11 Joseph Myers <joseph@codesourcery.com>
6842
76c96cf7
JM
6843 * sysdeps/mips/math_private.h [__mips_hard_float]
6844 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6845 libc_feresetround_mips_ctx.
6846 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6847 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6848 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6849
600fa361
JM
6850 [BZ #16677]
6851 * math/s_nextafter.c (__nextafter): Do not return value from
6852 overflowing computation.
6853 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6854 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6856 Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6858 Likewise.
6859 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6860 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6861
d7706c32
RM
68622014-03-11 Roland McGrath <roland@hack.frob.com>
6863
6864 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6865 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6866 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6867 the new mov targetting sp.
6868
4facea47
AZ
68692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6870
6871 [BZ #16683]
6872 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6873 Define it for static builds as well.
6874 (NO_BZERO_IMPL): Likewise.
6875
e65caf1f
VR
68762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6877
6878 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6879 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6880 multiarch strspn for PPC64.
6881 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6882 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6884 (__libc_ifunc_impl_list): Likewise.
6885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6886 multiarch optimizations
6887 * string/strspn.c (strspn): Using macro to redefine symbol name.
6888
ba9cc071
AZ
68892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6890 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6891
6892 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6893 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6894 multiarch strncat for PPC64.
6895 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6896 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6898 (__libc_ifunc_impl_list): Likewise.
6899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6900 multiarch optimizations
6901
8b4ff974
SP
69022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6903
6904 [BZ #16639]
6905 * nscd/nscd.service: Make service type forking.
6906
54b46a4b
AZ
69072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908
6909 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6910 sign in non default rounding modes.
6911 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6912
e9996ef7
JM
69132014-03-08 Joseph Myers <joseph@codesourcery.com>
6914
6915 * math/libm-test.inc (ALL_RM_TEST): New macro.
6916 (ceil_test): Use ALL_RM_TEST.
6917 (cimag_test): Likewise.
6918 (conj_test): Likewise.
6919 (copysign_test): Likewise.
6920 (cproj_test): Likewise.
6921 (creal_test): Likewise.
6922 (fabs_test): Likewise.
6923 (floor_test): Likewise.
6924 (fmax_test): Likewise.
6925 (fmin_test): Likewise.
6926 (fmod_test): Likewise.
6927 (fpclassify_test): Likewise.
6928 (frexp_test): Likewise.
6929 (ilogb_test): Likewise.
6930 (isfinite_test): Likewise.
6931 (finite_test): Likewise.
6932 (isgreater_test): Likewise.
6933 (isgreaterequal_test): Likewise.
6934 (isinf_test): Likewise.
6935 (isless_test): Likewise.
6936 (islessequal_test): Likewise.
6937 (islessgreater_test): Likewise.
6938 (isnan_test): Likewise.
6939 (isnormal_test): Likewise.
6940 (issignaling_test): Likewise.
6941 (isunordered_test): Likewise.
6942 (logb_test): Likewise.
6943 (logb_downward_test_data): Remove.
6944 (logb_test_downward): Likewise.
6945 (lround_test): Use ALL_RM_TEST.
6946 (llround_test): Likewise.
6947 (modf_test): Likewise.
6948 (nexttoward_test): Likewise.
6949 (remainder_test): Likewise.
6950 (drem_test): Likewise.
6951 (remainder_tonearest_test_data): Likewise.
6952 (remainder_test_tonearest): Likewise.
6953 (drem_test_tonearest): Likewise.
6954 (remainder_towardzero_test_data): Likewise.
6955 (remainder_test_towardzero): Likewise.
6956 (drem_test_towardzero): Likewise.
6957 (remainder_downward_test_data): Likewise.
6958 (remainder_test_downward): Likewise.
6959 (drem_test_downward): Likewise.
6960 (remainder_upward_test_data): Likewise.
6961 (remainder_test_upward): Likewise.
6962 (drem_test_upward): Likewise.
6963 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6964 (round_test): Use ALL_RM_TEST.
6965 (signbit_test): Likewise.
6966 (trunc_test): Likewise.
6967 (significand_test): Likewise.
6968 (main): Don't call removed functions.
6969
bc61d27c
JM
69702014-03-07 Joseph Myers <joseph@codesourcery.com>
6971
5c780849
JM
6972 [BZ #16674]
6973 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6974 || __USE_XOPEN2K8].
6975 (ILL_ILLOPN): Likewise.
6976 (ILL_ILLADR): Likewise.
6977 (ILL_ILLTRP): Likewise.
6978 (ILL_PRVOPC): Likewise.
6979 (ILL_PRVREG): Likewise.
6980 (ILL_COPROC): Likewise.
6981 (ILL_BADSTK): Likewise.
6982 (FPE_INTDIV): Likewise.
6983 (FPE_INTOVF): Likewise.
6984 (FPE_FLTDIV): Likewise.
6985 (FPE_FLTOVF): Likewise.
6986 (FPE_FLTUND): Likewise.
6987 (FPE_FLTRES): Likewise.
6988 (FPE_FLTINV): Likewise.
6989 (FPE_FLTSUB): Likewise.
6990 (SEGV_MAPERR): Likewise.
6991 (SEGV_ACCERR): Likewise.
6992 (BUS_ADRALN): Likewise.
6993 (BUS_ADRERR): Likewise.
6994 (BUS_OBJERR): Likewise.
6995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6996 (TRAP_TRACE): Likewise.
6997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6998 __USE_XOPEN2K8].
6999 (CLD_KILLED): Likewise.
7000 (CLD_DUMPED): Likewise.
7001 (CLD_TRAPPED): Likewise.
7002 (CLD_STOPPED): Likewise.
7003 (CLD_CONTINUED): Likewise.
7004 (POLL_IN): Likewise.
7005 (POLL_OUT): Likewise.
7006 (POLL_MSG): Likewise.
7007 (POLL_ERR): Likewise.
7008 (POLL_PRI): Likewise.
7009 (POLL_HUP): Likewise.
7010 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7011 Likewise.
7012 (ILL_ILLOPN): Likewise.
7013 (ILL_ILLADR): Likewise.
7014 (ILL_ILLTRP): Likewise.
7015 (ILL_PRVOPC): Likewise.
7016 (ILL_PRVREG): Likewise.
7017 (ILL_COPROC): Likewise.
7018 (ILL_BADSTK): Likewise.
7019 (FPE_INTDIV): Likewise.
7020 (FPE_INTOVF): Likewise.
7021 (FPE_FLTDIV): Likewise.
7022 (FPE_FLTOVF): Likewise.
7023 (FPE_FLTUND): Likewise.
7024 (FPE_FLTRES): Likewise.
7025 (FPE_FLTINV): Likewise.
7026 (FPE_FLTSUB): Likewise.
7027 (SEGV_MAPERR): Likewise.
7028 (SEGV_ACCERR): Likewise.
7029 (BUS_ADRALN): Likewise.
7030 (BUS_ADRERR): Likewise.
7031 (BUS_OBJERR): Likewise.
7032 (BUS_MCEERR_AR): Likewise.
7033 (BUS_MCEERR_AO): Likewise.
7034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7035 (TRAP_TRACE): Likewise.
7036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7037 __USE_XOPEN2K8].
7038 (CLD_KILLED): Likewise.
7039 (CLD_DUMPED): Likewise.
7040 (CLD_TRAPPED): Likewise.
7041 (CLD_STOPPED): Likewise.
7042 (CLD_CONTINUED): Likewise.
7043 (POLL_IN): Likewise.
7044 (POLL_OUT): Likewise.
7045 (POLL_MSG): Likewise.
7046 (POLL_ERR): Likewise.
7047 (POLL_PRI): Likewise.
7048 (POLL_HUP): Likewise.
7049 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7050 (ILL_ILLOPN): Likewise.
7051 (ILL_ILLADR): Likewise.
7052 (ILL_ILLTRP): Likewise.
7053 (ILL_PRVOPC): Likewise.
7054 (ILL_PRVREG): Likewise.
7055 (ILL_COPROC): Likewise.
7056 (ILL_BADSTK): Likewise.
7057 (FPE_INTDIV): Likewise.
7058 (FPE_INTOVF): Likewise.
7059 (FPE_FLTDIV): Likewise.
7060 (FPE_FLTOVF): Likewise.
7061 (FPE_FLTUND): Likewise.
7062 (FPE_FLTRES): Likewise.
7063 (FPE_FLTINV): Likewise.
7064 (FPE_FLTSUB): Likewise.
7065 (SEGV_MAPERR): Likewise.
7066 (SEGV_ACCERR): Likewise.
7067 (BUS_ADRALN): Likewise.
7068 (BUS_ADRERR): Likewise.
7069 (BUS_OBJERR): Likewise.
7070 (BUS_MCEERR_AR): Likewise.
7071 (BUS_MCEERR_AO): Likewise.
7072 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7073 (TRAP_TRACE): Likewise.
7074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7075 __USE_XOPEN2K8].
7076 (CLD_KILLED): Likewise.
7077 (CLD_DUMPED): Likewise.
7078 (CLD_TRAPPED): Likewise.
7079 (CLD_STOPPED): Likewise.
7080 (CLD_CONTINUED): Likewise.
7081 (POLL_IN): Likewise.
7082 (POLL_OUT): Likewise.
7083 (POLL_MSG): Likewise.
7084 (POLL_ERR): Likewise.
7085 (POLL_PRI): Likewise.
7086 (POLL_HUP): Likewise.
7087 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7088 Likewise.
7089 (ILL_ILLOPN): Likewise.
7090 (ILL_ILLADR): Likewise.
7091 (ILL_ILLTRP): Likewise.
7092 (ILL_PRVOPC): Likewise.
7093 (ILL_PRVREG): Likewise.
7094 (ILL_COPROC): Likewise.
7095 (ILL_BADSTK): Likewise.
7096 (ILL_BADIADDR): Likewise.
7097 (ILL_BREAK): Likewise.
7098 (FPE_INTDIV): Likewise.
7099 (FPE_INTOVF): Likewise.
7100 (FPE_FLTDIV): Likewise.
7101 (FPE_FLTOVF): Likewise.
7102 (FPE_FLTUND): Likewise.
7103 (FPE_FLTRES): Likewise.
7104 (FPE_FLTINV): Likewise.
7105 (FPE_FLTSUB): Likewise.
7106 (FPE_DECOVF): Likewise.
7107 (FPE_DECDIV): Likewise.
7108 (FPE_DECERR): Likewise.
7109 (FPE_INVASC): Likewise.
7110 (FPE_INVDEC): Likewise.
7111 (SEGV_MAPERR): Likewise.
7112 (SEGV_ACCERR): Likewise.
7113 (SEGV_PSTKOVF): Likewise.
7114 (BUS_ADRALN): Likewise.
7115 (BUS_ADRERR): Likewise.
7116 (BUS_OBJERR): Likewise.
7117 (BUS_MCEERR_AR): Likewise.
7118 (BUS_MCEERR_AO): Likewise.
7119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7120 (TRAP_TRACE): Likewise.
7121 (TRAP_BRANCH): Likewise.
7122 (TRAP_HWBKPT): Likewise.
7123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7124 __USE_XOPEN2K8].
7125 (CLD_KILLED): Likewise.
7126 (CLD_DUMPED): Likewise.
7127 (CLD_TRAPPED): Likewise.
7128 (CLD_STOPPED): Likewise.
7129 (CLD_CONTINUED): Likewise.
7130 (POLL_IN): Likewise.
7131 (POLL_OUT): Likewise.
7132 (POLL_MSG): Likewise.
7133 (POLL_ERR): Likewise.
7134 (POLL_PRI): Likewise.
7135 (POLL_HUP): Likewise.
7136 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7137 (ILL_ILLOPN): Likewise.
7138 (ILL_ILLADR): Likewise.
7139 (ILL_ILLTRP): Likewise.
7140 (ILL_PRVOPC): Likewise.
7141 (ILL_PRVREG): Likewise.
7142 (ILL_COPROC): Likewise.
7143 (ILL_BADSTK): Likewise.
7144 (FPE_INTDIV): Likewise.
7145 (FPE_INTOVF): Likewise.
7146 (FPE_FLTDIV): Likewise.
7147 (FPE_FLTOVF): Likewise.
7148 (FPE_FLTUND): Likewise.
7149 (FPE_FLTRES): Likewise.
7150 (FPE_FLTINV): Likewise.
7151 (FPE_FLTSUB): Likewise.
7152 (SEGV_MAPERR): Likewise.
7153 (SEGV_ACCERR): Likewise.
7154 (BUS_ADRALN): Likewise.
7155 (BUS_ADRERR): Likewise.
7156 (BUS_OBJERR): Likewise.
7157 (BUS_MCEERR_AR): Likewise.
7158 (BUS_MCEERR_AO): Likewise.
7159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7160 (TRAP_TRACE): Likewise.
7161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7162 __USE_XOPEN2K8].
7163 (CLD_KILLED): Likewise.
7164 (CLD_DUMPED): Likewise.
7165 (CLD_TRAPPED): Likewise.
7166 (CLD_STOPPED): Likewise.
7167 (CLD_CONTINUED): Likewise.
7168 (POLL_IN): Likewise.
7169 (POLL_OUT): Likewise.
7170 (POLL_MSG): Likewise.
7171 (POLL_ERR): Likewise.
7172 (POLL_PRI): Likewise.
7173 (POLL_HUP): Likewise.
7174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7175 (ILL_ILLOPN): Likewise.
7176 (ILL_ILLADR): Likewise.
7177 (ILL_ILLTRP): Likewise.
7178 (ILL_PRVOPC): Likewise.
7179 (ILL_PRVREG): Likewise.
7180 (ILL_COPROC): Likewise.
7181 (ILL_BADSTK): Likewise.
7182 (FPE_INTDIV): Likewise.
7183 (FPE_INTOVF): Likewise.
7184 (FPE_FLTDIV): Likewise.
7185 (FPE_FLTOVF): Likewise.
7186 (FPE_FLTUND): Likewise.
7187 (FPE_FLTRES): Likewise.
7188 (FPE_FLTINV): Likewise.
7189 (FPE_FLTSUB): Likewise.
7190 (SEGV_MAPERR): Likewise.
7191 (SEGV_ACCERR): Likewise.
7192 (BUS_ADRALN): Likewise.
7193 (BUS_ADRERR): Likewise.
7194 (BUS_OBJERR): Likewise.
7195 (BUS_MCEERR_AR): Likewise.
7196 (BUS_MCEERR_AO): Likewise.
7197 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7198 (TRAP_TRACE): Likewise.
7199 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7200 __USE_XOPEN2K8].
7201 (CLD_KILLED): Likewise.
7202 (CLD_DUMPED): Likewise.
7203 (CLD_TRAPPED): Likewise.
7204 (CLD_STOPPED): Likewise.
7205 (CLD_CONTINUED): Likewise.
7206 (POLL_IN): Likewise.
7207 (POLL_OUT): Likewise.
7208 (POLL_MSG): Likewise.
7209 (POLL_ERR): Likewise.
7210 (POLL_PRI): Likewise.
7211 (POLL_HUP): Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7213 (ILL_ILLOPN): Likewise.
7214 (ILL_ILLADR): Likewise.
7215 (ILL_ILLTRP): Likewise.
7216 (ILL_PRVOPC): Likewise.
7217 (ILL_PRVREG): Likewise.
7218 (ILL_COPROC): Likewise.
7219 (ILL_BADSTK): Likewise.
7220 (FPE_INTDIV): Likewise.
7221 (FPE_INTOVF): Likewise.
7222 (FPE_FLTDIV): Likewise.
7223 (FPE_FLTOVF): Likewise.
7224 (FPE_FLTUND): Likewise.
7225 (FPE_FLTRES): Likewise.
7226 (FPE_FLTINV): Likewise.
7227 (FPE_FLTSUB): Likewise.
7228 (SEGV_MAPERR): Likewise.
7229 (SEGV_ACCERR): Likewise.
7230 (BUS_ADRALN): Likewise.
7231 (BUS_ADRERR): Likewise.
7232 (BUS_OBJERR): Likewise.
7233 (BUS_MCEERR_AR): Likewise.
7234 (BUS_MCEERR_AO): Likewise.
7235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7236 (TRAP_TRACE): Likewise.
7237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7238 __USE_XOPEN2K8].
7239 (CLD_KILLED): Likewise.
7240 (CLD_DUMPED): Likewise.
7241 (CLD_TRAPPED): Likewise.
7242 (CLD_STOPPED): Likewise.
7243 (CLD_CONTINUED): Likewise.
7244 (POLL_IN): Likewise.
7245 (POLL_OUT): Likewise.
7246 (POLL_MSG): Likewise.
7247 (POLL_ERR): Likewise.
7248 (POLL_PRI): Likewise.
7249 (POLL_HUP): Likewise.
7250 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7251 (ILL_ILLOPN): Likewise.
7252 (ILL_ILLADR): Likewise.
7253 (ILL_ILLTRP): Likewise.
7254 (ILL_PRVOPC): Likewise.
7255 (ILL_PRVREG): Likewise.
7256 (ILL_COPROC): Likewise.
7257 (ILL_BADSTK): Likewise.
7258 (ILL_DBLFLT): Likewise.
7259 (ILL_HARDWALL): Likewise.
7260 (FPE_INTDIV): Likewise.
7261 (FPE_INTOVF): Likewise.
7262 (FPE_FLTDIV): Likewise.
7263 (FPE_FLTOVF): Likewise.
7264 (FPE_FLTUND): Likewise.
7265 (FPE_FLTRES): Likewise.
7266 (FPE_FLTINV): Likewise.
7267 (FPE_FLTSUB): Likewise.
7268 (SEGV_MAPERR): Likewise.
7269 (SEGV_ACCERR): Likewise.
7270 (BUS_ADRALN): Likewise.
7271 (BUS_ADRERR): Likewise.
7272 (BUS_OBJERR): Likewise.
7273 (BUS_MCEERR_AR): Likewise.
7274 (BUS_MCEERR_AO): Likewise.
7275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7276 (TRAP_TRACE): Likewise.
7277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7278 __USE_XOPEN2K8].
7279 (CLD_KILLED): Likewise.
7280 (CLD_DUMPED): Likewise.
7281 (CLD_TRAPPED): Likewise.
7282 (CLD_STOPPED): Likewise.
7283 (CLD_CONTINUED): Likewise.
7284 (POLL_IN): Likewise.
7285 (POLL_OUT): Likewise.
7286 (POLL_MSG): Likewise.
7287 (POLL_ERR): Likewise.
7288 (POLL_PRI): Likewise.
7289 (POLL_HUP): Likewise.
7290 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7291 (ILL_ILLOPN): Likewise.
7292 (ILL_ILLADR): Likewise.
7293 (ILL_ILLTRP): Likewise.
7294 (ILL_PRVOPC): Likewise.
7295 (ILL_PRVREG): Likewise.
7296 (ILL_COPROC): Likewise.
7297 (ILL_BADSTK): Likewise.
7298 (FPE_INTDIV): Likewise.
7299 (FPE_INTOVF): Likewise.
7300 (FPE_FLTDIV): Likewise.
7301 (FPE_FLTOVF): Likewise.
7302 (FPE_FLTUND): Likewise.
7303 (FPE_FLTRES): Likewise.
7304 (FPE_FLTINV): Likewise.
7305 (FPE_FLTSUB): Likewise.
7306 (SEGV_MAPERR): Likewise.
7307 (SEGV_ACCERR): Likewise.
7308 (BUS_ADRALN): Likewise.
7309 (BUS_ADRERR): Likewise.
7310 (BUS_OBJERR): Likewise.
7311 (BUS_MCEERR_AR): Likewise.
7312 (BUS_MCEERR_AO): Likewise.
7313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7314 (TRAP_TRACE): Likewise.
7315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7316 __USE_XOPEN2K8].
7317 (CLD_KILLED): Likewise.
7318 (CLD_DUMPED): Likewise.
7319 (CLD_TRAPPED): Likewise.
7320 (CLD_STOPPED): Likewise.
7321 (CLD_CONTINUED): Likewise.
7322 (POLL_IN): Likewise.
7323 (POLL_OUT): Likewise.
7324 (POLL_MSG): Likewise.
7325 (POLL_ERR): Likewise.
7326 (POLL_PRI): Likewise.
7327 (POLL_HUP): Likewise.
7328 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7329 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7330
bc61d27c
JM
7331 [BZ #16670]
7332 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7333 before #include of <time.h>.
7334 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7335 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7336 (test-xfail-UNIX98/sched.h/conform): Likewise.
7337
302949e2
MS
73382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7339
7340 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7341 error absence of trapping exception support.
7342 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7343
a00f522a
JM
73442014-03-07 Joseph Myers <joseph@codesourcery.com>
7345
6f99f280
JM
7346 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7347 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7348 * timezone/Makefile (testdata): Move definition above include of
7349 Rules.
7350 (test-zones): New variable.
7351 (tests-special): Add zone files.
7352 (build-testdata): Use $(evaluate-test).
7353
0b20a9e8
JM
7354 * elf/Makefile (tests-special): Rename tests to end with .out.
7355 ($(objpfx)noload-mem): Likewise.
7356 ($(objpfx)tst-leaks1-mem): Likewise.
7357 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7358 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7359 $(objpfx)test-iconvconfig.out.
7360 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7361 set -e inside subshell and redirect output to file.
7362 * iconvdata/Makefile (generated): Rename tests to end with .out.
7363 Correct type.
7364 (tests-special): Rename tests to end with .out.
7365 ($(objpfx)mtrace-tst-loading): Likewise.
7366 * intl/Makefile (generated): Likewise.
7367 (tests-special): Likewise.
7368 ($(objpfx)mtrace-tst-gettext): Likewise.
7369 * misc/Makefile (generated): Likewise.
7370 (tests-special): Likewise.
7371 ($(objpfx)tst-error1-mem): Likewise.
7372 * nptl/Makefile (tests-special): Likewise.
7373 ($(objpfx)tst-stack3-mem): Likewise.
7374 (generated): Likewise.
7375 * posix/Makefile (generated): Likewise.
7376 (tests-special): Likewise.
7377 (xtests-special): Likewise.
7378 ($(objpfx)tst-fnmatch-mem): Likewise.
7379 ($(objpfx)bug-regex2-mem): Likewise.
7380 ($(objpfx)bug-regex14-mem): Likewise.
7381 ($(objpfx)bug-regex21-mem): Likewise.
7382 ($(objpfx)bug-regex31-mem): Likewise.
7383 ($(objpfx)tst-vfork3-mem): Likewise.
7384 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7385 ($(objpfx)tst-pcre-mem): Likewise.
7386 ($(objpfx)tst-boost-mem): Likewise.
7387 ($(objpfx)bug-ga2-mem): Likewise.
7388 ($(objpfx)bug-glob2-mem): Likewise.
7389 * resolv/Makefile (generate): Likewise.
7390 (tests-special): Likewise.
7391 (xtests-special): Likewise.
7392 (generated): Likewise.
7393 ($(objpfx)mtrace-tst-leaks): Likewise.
7394 ($(objpfx)mtrace-tst-leaks2): Likewise.
7395
265d52ab
JM
7396 * scripts/merge-test-results.sh: New file.
7397 * Makefile (tests-special-notdir): New variable.
7398 (tests): Run merge-test-results.sh.
7399 (xtests): Likewise.
7400 * Rules (tests-special-notdir): New variable.
7401 (xtests-special-notdir): Likewise.
7402 (tests): Run merge-test-results.sh
7403 (xtests): Likewise.
7404
54ee292d
JM
7405 * Makeconfig (test-xfail-name): New variable.
7406 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7407 compute variable name for expected failures.
7408 * conform/Makefile (conformtest-headers-data): New variable.
7409 (conformtest-standards): Likewise.
7410 (conformtest-headers-ISO): Likewise.
7411 (conformtest-headers-ISO99): Likewise.
7412 (conformtest-headers-ISO11): Likewise.
7413 (conformtest-headers-POSIX): Likewise.
7414 (conformtest-headers-XPG3): Likewise.
7415 (conformtest-headers-XPG4): Likewise.
7416 (conformtest-headers-UNIX98): Likewise.
7417 (conformtest-headers-XOPEN2K): Likewise.
7418 (conformtest-headers-POSIX2008): Likewise.
7419 (conformtest-headers-XOPEN2K8): Likewise.
7420 (conformtest-header-list-base): Likewise.
7421 (conformtest-header-list-tests): Likewise.
7422 (conformtest-header-base): Likewise.
7423 (conformtest-header-tests): Likewise.
7424 (tests-special): Add $(conformtest-header-list-tests). If
7425 [$(fast-check) && !$(cross-compiling)], add
7426 $(conformtest-header-tests) instead of
7427 $(objpfx)run-conformtest.out.
7428 (generated): Add $(conformtest-header-list-base). If
7429 [$(fast-check) && !$(cross-compiling)], add
7430 $(conformtest-header-base). Remove previous setting.
7431 ($(conformtest-header-list-tests)): New target.
7432 (test-xfail-run-conformtest): Remove variable.
7433 ($(objpfx)run-conformtest.out): Remove target.
7434 (test-xfail-ISO11/complex.h/conform): New variable.
7435 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7436 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7437 (test-xfail-XPG3/varargs.h/conform): Likewise.
7438 (test-xfail-XPG4/varargs.h/conform): Likewise.
7439 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7440 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7441 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7442 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7443 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7444 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7445 (test-xfail-XPG3/ftw.h/conform): Likewise.
7446 (test-xfail-XPG3/grp.h/conform): Likewise.
7447 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7448 (test-xfail-XPG3/limits.h/conform): Likewise.
7449 (test-xfail-XPG3/pwd.h/conform): Likewise.
7450 (test-xfail-XPG3/search.h/conform): Likewise.
7451 (test-xfail-XPG3/signal.h/conform): Likewise.
7452 (test-xfail-XPG3/stdio.h/conform): Likewise.
7453 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7454 (test-xfail-XPG3/string.h/conform): Likewise.
7455 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7456 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7457 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7458 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7459 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7460 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7461 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7462 (test-xfail-XPG3/termios.h/conform): Likewise.
7463 (test-xfail-XPG3/time.h/conform): Likewise.
7464 (test-xfail-XPG3/unistd.h/conform): Likewise.
7465 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7466 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7467 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7468 (test-xfail-XPG4/netdb.h/conform): Likewise.
7469 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7470 (test-xfail-XPG4/signal.h/conform): Likewise.
7471 (test-xfail-XPG4/stdio.h/conform): Likewise.
7472 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7473 (test-xfail-XPG4/stropts.h/conform): Likewise.
7474 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7475 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7476 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7477 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7478 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7479 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7480 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7481 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7482 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7483 (test-xfail-XPG4/termios.h/conform): Likewise.
7484 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7485 (test-xfail-XPG4/unistd.h/conform): Likewise.
7486 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7487 (test-xfail-POSIX/sched.h/conform): Likewise.
7488 (test-xfail-POSIX/signal.h/conform): Likewise.
7489 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7490 (test-xfail-POSIX/tar.h/conform): Likewise.
7491 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7492 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7493 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7494 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7495 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7496 (test-xfail-UNIX98/sched.h/conform): Likewise.
7497 (test-xfail-UNIX98/signal.h/conform): Likewise.
7498 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7499 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7500 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7501 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7502 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7503 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7504 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7505 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7506 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7507 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7508 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7509 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7510 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7511 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7512 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7513 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7514 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7515 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7516 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7517 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7518 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7519 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7520 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7521 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7522 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7523 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7524 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7525 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7526 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7527 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7528 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7529 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7530 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7531 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7532 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7533 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7534 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7535 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7536 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7537 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7538 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7539 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7540 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7541 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7542 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7543 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7544 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7545 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7546 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7547 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7548 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7549 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7550 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7551 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7552 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7553 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7554 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7555 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7556 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7557 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7558 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7559 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7560 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7561 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7562 (conformtest-cc-flags): Likewise.
7563 ($(conformtest-header-tests): New target.
7564 * conform/check-header-lists.sh: New file.
7565 * conform/run-conformtest.sh: Remove.
7566
a00f522a
JM
7567 * conform/conformtest.pl: Allow ' and \ in values given for
7568 constants.
7569 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7570 inclusion.
7571 [POSIX] (sys/types.h): Likewise.
7572 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7573 inclusion.
7574 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7575 inclusion.
7576 * conform/data/signal.h-data (SIGIO): Remove expectation.
7577 [XPG3] (SIGBUS): Do not expect.
7578 [POSIX || XPG3] (SIGPOLL): Likewise.
7579 [POSIX || XPG3] (SIGPROF): Likewise.
7580 [POSIX || XPG3] (SIGSYS): Likewise.
7581 [XPG3] (SIGTRAP): Likewise.
7582 [POSIX || XPG3] (SIGURG): Likewise.
7583 [POSIX || XPG3] (SIGVTALRM): Likewise.
7584 [POSIX || XPG3] (SIGXCPU): Likewise.
7585 [POSIX || XPG3] (SIGXFSZ): Likewise.
7586 [POSIX] (SA_SIGINFO): Expect.
7587 [XPG3] (siginfo_t): Do not expect type or contents.
7588 [POSIX] (si_pid): Do not expect element.
7589 [POSIX] (si_uid): Likewise.
7590 [POSIX] (si_addr): Likewise.
7591 [POSIX] (si_status): Likewise.
7592 [POSIX] (si_band): Likewise.
7593 [XPG4] (si_value): Likewise.
7594 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7595 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7596 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7597 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7598 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7599 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7600 [POSIX || XPG3] (ILL_COPROC): Likewise.
7601 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7602 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7603 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7604 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7605 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7606 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7607 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7608 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7609 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7610 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7611 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7612 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7613 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7614 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7615 [POSIX || XPG3] (CLD_EXITED): Likewise.
7616 [POSIX || XPG3] (CLD_KILLED): Likewise.
7617 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7618 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7619 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7620 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7621 [POSIX || XPG3] (POLL_IN): Likewise.
7622 [POSIX || XPG3] (POLL_OUT): Likewise.
7623 [POSIX || XPG3] (POLL_MSG): Likewise.
7624 [POSIX || XPG3] (POLL_ERR): Likewise.
7625 [POSIX || XPG3] (POLL_PRI): Likewise.
7626 [POSIX || XPG3] (POLL_HUP): Likewise.
7627 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7628 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7629 (SIG*): Do not allow.
7630 [XPG3] (si_*): Likewise.
7631 [XPG3] (SI_*): Likewise.
7632 [XPG3 || XPG4] (sigev_*): Likewise.
7633 [XPG3 || XPG4] (SIGEV_*): Likewise.
7634 [XPG3 || XPG4] (sival_*): Likewise.
7635 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7636 [POSIX || XPG3] (BUS_*): Likewise.
7637 [POSIX || XPG3] (CLD_*): Likewise.
7638 [POSIX || XPG3] (FPE_*): Likewise.
7639 [POSIX || XPG3] (ILL_*): Likewise.
7640 [POSIX || XPG3] (POLL_*): Likewise.
7641 [POSIX || XPG3] (SEGV_*): Likewise.
7642 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7643 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7644 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7645 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7646 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7647 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7648 Specify type and value.
7649 (TVERSLEN): Likewise.
7650 (REGTYPE): Likewise.
7651 (AREGTYPE): Likewise.
7652 (LNKTYPE): Likewise.
7653 (SYMTYPE): Likewise.
7654 (CHRTYPE): Likewise.
7655 (BLKTYPE): Likewise.
7656 (DIRTYPE): Likewise.
7657 (FIFOTYPE): Likewise.
7658 (CONTTYPE): Likewise.
7659 (TSUID): Likewise.
7660 (TSGID): Likewise.
7661 (TSVTX): Likewise.
7662 (TUREAD): Likewise.
7663 (TUWRITE): Likewise.
7664 (TUEXEC): Likewise.
7665 (TGREAD): Likewise.
7666 (TGWRITE): Likewise.
7667 (TGEXEC): Likewise.
7668 (TOREAD): Likewise.
7669 (TOWRITE): Likewise.
7670 (TOEXEC): Likewise.
7671 [POSIX] (TSVTX): Expect constant.
7672
aa97dee1
JM
76732014-03-06 Joseph Myers <joseph@codesourcery.com>
7674
f214606a
JM
7675 * Makefile (tests): Change dependencies to ....
7676 (tests-special): ... additions to this variable.
7677 (tests): Depend on $(tests-special).
7678 * Makerules (check-abi-list): New variable.
7679 (check-abi): Depend on $(check-abi-list).
7680 [$(subdir) = elf] (tests-special): Add
7681 $(objpfx)check-abi-libc.out.
7682 [$(build-shared) = yes && subdir] (tests-special): Add
7683 $(check-abi-list).
7684 [$(build-shared) = yes && subdir] (tests): Do not depend on
7685 check-abi.
7686 * Rules (tests): Depend on $(tests-special).
7687 (xtests): Depend on $(xtests-special).
7688 * catgets/Makefile (tests): Change dependencies to ....
7689 (tests-special): ... additions to this variable.
7690 * conform/Makefile (tests): Change dependencies to ....
7691 (tests-special): ... additions to this variable.
7692 * elf/Makefile (tests): Change dependencies to ....
7693 (tests-special): ... additions to this variable.
7694 * grp/Makefile (tests): Change dependencies to ....
7695 (tests-special): ... additions to this variable.
7696 * iconv/Makefile (xtests): Change dependencies to ....
7697 (xtests-special): ... additions to this variable.
7698 * iconvdata/Makefile (tests): Change dependencies to ....
7699 (tests-special): ... additions to this variable.
7700 * intl/Makefile (tests): Change dependencies to ....
7701 (tests-special): ... additions to this variable. Also add
7702 $(objpfx)tst-gettext.out.
7703 * io/Makefile (tests): Change dependencies to ....
7704 (tests-special): ... additions to this variable.
7705 * libio/Makefile (tests): Change dependencies to ....
7706 (tests-special): ... additions to this variable.
7707 * malloc/Makefile (tests): Change dependencies to ....
7708 (tests-special): ... additions to this variable.
7709 * misc/Makefile (tests): Change dependencies to ....
7710 (tests-special): ... additions to this variable.
7711 * nptl/Makefile (tests): Change dependencies to ....
7712 (tests-special): ... additions to this variable.
7713 * nptl_db/Makefile (tests): Change dependencies to ....
7714 (tests-special): ... additions to this variable.
7715 * posix/Makefile (tests): Change dependencies to ....
7716 (tests-special): ... additions to this variable.
7717 (xtests): Change dependencies to ....
7718 (xtests-special): ... additions to this variable.
7719 * resolv/Makefile (tests): Change dependencies to ....
7720 (tests-special): ... additions to this variable.
7721 (xtests): Change dependencies to ....
7722 (xtests-special): ... additions to this variable.
7723 * stdio-common/Makefile (tests): Change dependencies to ....
7724 (tests-special): ... additions to this variable.
7725 (do-tst-unbputc): Remove target.
7726 (do-tst-printf): Likewise.
7727 * stdlib/Makefile (tests): Change dependencies to ....
7728 (tests-special): ... additions to this variable.
7729 * string/Makefile (tests): Change dependencies to ....
7730 (tests-special): ... additions to this variable.
7731 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7732 (tests-special): ... additions to this variable.
7733
81700b53
JM
7734 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7735 whole file.
7736 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7737 whole file.
7738 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7739 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7740
2ea18461
JM
7741 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7742 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7743 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7744 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7745 * conform/data/libgen.h-data [XPG3]: Likewise.
7746 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7747 * conform/data/ndbm.h-data [XPG3]: Likewise.
7748 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7749 * conform/data/netdb.h-data [XPG3]: Likewise.
7750 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7751 * conform/data/poll.h-data [XPG3]: Likewise.
7752 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7753 * conform/data/strings.h-data [XPG3]: Likewise.
7754 * conform/data/stropts.h-data [XPG3]: Likewise.
7755 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7756 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7757 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7758 Likewise.
7759 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7760 * conform/data/sys/time.h-data [XPG3]: Likewise.
7761 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7762 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7763 * conform/data/sys/un.h-data [XPG3]: Likewise.
7764 * conform/data/syslog.h-data [XPG3]: Likewise.
7765 * conform/data/ucontext.h-data [XPG3]: Likewise.
7766 * conform/data/utmpx.h-data [XPG3]: Likewise.
7767 * conform/data/varargs.h-data [UNIX98]: Enable file.
7768
355bc986
JM
7769 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7770
215db402
JM
7771 * math/libm-test.inc (struct test_f_f_data): Move expected results
7772 into structure for each rounding mode.
7773 (struct test_ff_f_data): Likewise.
7774 (struct test_ff_f_data_nexttoward): Likewise.
7775 (struct test_fi_f_data): Likewise.
7776 (struct test_fl_f_data): Likewise.
7777 (struct test_if_f_data): Likewise.
7778 (struct test_fff_f_data): Likewise.
7779 (struct test_c_f_data): Likewise.
7780 (struct test_f_f1_data): Likewise.
7781 (struct test_fF_f1_data): Likewise.
7782 (struct test_ffI_f1_data): Likewise.
7783 (struct test_c_c_data): Likewise.
7784 (struct test_cc_c_data): Likewise.
7785 (struct test_f_i_data): Likewise.
7786 (struct test_ff_i_data): Likewise.
7787 (struct test_f_l_data): Likewise.
7788 (struct test_f_L_data): Likewise.
7789 (struct test_fFF_11_data): Likewise.
7790 (RM_): New macro.
7791 (RM_FE_DOWNWARD): Likewise.
7792 (RM_FE_TONEAREST): Likewise.
7793 (RM_FE_TOWARDZERO): Likewise.
7794 (RM_FE_UPWARD): Likewise.
7795 (RUN_TEST_LOOP_f_f): Update references to expected results.
7796 (RUN_TEST_LOOP_2_f): Likewise.
7797 (RUN_TEST_LOOP_fff_f): Likewise.
7798 (RUN_TEST_LOOP_c_f): Likewise.
7799 (RUN_TEST_LOOP_f_f1): Likewise.
7800 (RUN_TEST_LOOP_fF_f1): Likewise.
7801 (RUN_TEST_LOOP_fI_f1): Likewise.
7802 (RUN_TEST_LOOP_ffI_f1): Likewise.
7803 (RUN_TEST_LOOP_c_c): Likewise.
7804 (RUN_TEST_LOOP_cc_c): Likewise.
7805 (RUN_TEST_LOOP_f_i): Likewise.
7806 (RUN_TEST_LOOP_f_i_tg): Likewise.
7807 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7808 (RUN_TEST_LOOP_f_b): Likewise.
7809 (RUN_TEST_LOOP_f_b_tg): Likewise.
7810 (RUN_TEST_LOOP_f_l): Likewise.
7811 (RUN_TEST_LOOP_f_L): Likewise.
7812 (RUN_TEST_LOOP_fFF_11): Likewise.
7813 * math/gen-libm-test.pl (parse_args): Output four copies of
7814 expected results for each test.
7815
67737b8f
JM
7816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7817 (__ASSUME_UTIMES): Remove.
7818 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7819 (__ASSUME_UTIMES): Likewise.
7820
aa97dee1
JM
7821 * math/gen-auto-libm-tests.c: Update comment on output format.
7822 (output_for_one_input_case): Generate before-rounding and
7823 after-rounding information as conditions on output flags not
7824 floating-point format.
7825 * math/auto-libm-test-out: Regenerated.
7826 * math/gen-libm-test.pl (cond_value): New function.
7827 (or_cond_value): Use cond_value.
7828 (generate_testfile): Handle conditional exceptions.
7829
e6b6a857
JM
78302014-03-05 Joseph Myers <joseph@codesourcery.com>
7831
2f0a0f44
JM
7832 * math/libm-test.inc (max_valid_error): New variable.
7833 (init_max_error): Take new argument specifying whether function
7834 results are exactly determined. Set max_valid_error and bound
7835 other variables for errors based on this argument.
7836 (set_max_error): Do not record results above max_valid_error.
7837 (check_float_internal): Only accept errors of up to 0.5ulps if
7838 also at most max_valid_error.
7839 (START): Take new argument EXACT and pass it to init_max_error.
7840 (acos_test): Update call to START.
7841 (acos_test_tonearest): Likewise.
7842 (acos_test_towardzero): Likewise.
7843 (acos_test_downward): Likewise.
7844 (acos_test_upward): Likewise.
7845 (acosh_test): Likewise.
7846 (asin_test): Likewise.
7847 (asin_test_tonearest): Likewise.
7848 (asin_test_towardzero): Likewise.
7849 (asin_test_downward): Likewise.
7850 (asin_test_upward): Likewise.
7851 (asinh_test): Likewise.
7852 (atan_test): Likewise.
7853 (atanh_test): Likewise.
7854 (atan2_test): Likewise.
7855 (cabs_test): Likewise.
7856 (cacos_test): Likewise.
7857 (cacosh_test): Likewise.
7858 (carg_test): Likewise.
7859 (casin_test): Likewise.
7860 (casinh_test): Likewise.
7861 (catan_test): Likewise.
7862 (catanh_test): Likewise.
7863 (cbrt_test): Likewise.
7864 (ccos_test): Likewise.
7865 (ccosh_test): Likewise.
7866 (ceil_test): Likewise.
7867 (cexp_test): Likewise.
7868 (cimag_test): Likewise.
7869 (clog_test): Likewise.
7870 (clog10_test): Likewise.
7871 (conj_test): Likewise.
7872 (copysign_test): Likewise.
7873 (cos_test): Likewise.
7874 (cos_test_tonearest): Likewise.
7875 (cos_test_towardzero): Likewise.
7876 (cos_test_downward): Likewise.
7877 (cos_test_upward): Likewise.
7878 (cosh_test): Likewise.
7879 (cosh_test_tonearest): Likewise.
7880 (cosh_test_towardzero): Likewise.
7881 (cosh_test_downward): Likewise.
7882 (cosh_test_upward): Likewise.
7883 (cpow_test): Likewise.
7884 (cproj_test): Likewise.
7885 (creal_test): Likewise.
7886 (csin_test): Likewise.
7887 (csinh_test): Likewise.
7888 (csqrt_test): Likewise.
7889 (ctan_test): Likewise.
7890 (ctan_test_tonearest): Likewise.
7891 (ctan_test_towardzero): Likewise.
7892 (ctan_test_downward): Likewise.
7893 (ctan_test_upward): Likewise.
7894 (ctanh_test): Likewise.
7895 (ctanh_test_tonearest): Likewise.
7896 (ctanh_test_towardzero): Likewise.
7897 (ctanh_test_downward): Likewise.
7898 (ctanh_test_upward): Likewise.
7899 (erf_test): Likewise.
7900 (erfc_test): Likewise.
7901 (exp_test): Likewise.
7902 (exp_test_tonearest): Likewise.
7903 (exp_test_towardzero): Likewise.
7904 (exp_test_downward): Likewise.
7905 (exp_test_upward): Likewise.
7906 (exp10_test): Likewise.
7907 (exp10_test_tonearest): Likewise.
7908 (exp10_test_towardzero): Likewise.
7909 (exp10_test_downward): Likewise.
7910 (exp10_test_upward): Likewise.
7911 (pow10_test): Likewise.
7912 (exp2_test): Likewise.
7913 (expm1_test): Likewise.
7914 (expm1_test_tonearest): Likewise.
7915 (expm1_test_towardzero): Likewise.
7916 (expm1_test_downward): Likewise.
7917 (expm1_test_upward): Likewise.
7918 (fabs_test): Likewise.
7919 (fdim_test): Likewise.
7920 (floor_test): Likewise.
7921 (fma_test): Likewise.
7922 (fma_test_towardzero): Likewise.
7923 (fma_test_downward): Likewise.
7924 (fma_test_upward): Likewise.
7925 (fmax_test): Likewise.
7926 (fmin_test): Likewise.
7927 (fmod_test): Likewise.
7928 (fpclassify_test): Likewise.
7929 (frexp_test): Likewise.
7930 (hypot_test): Likewise.
7931 (ilogb_test): Likewise.
7932 (isfinite_test): Likewise.
7933 (finite_test): Likewise.
7934 (isgreater_test): Likewise.
7935 (isgreaterequal_test): Likewise.
7936 (isinf_test): Likewise.
7937 (isless_test): Likewise.
7938 (islessequal_test): Likewise.
7939 (islessgreater_test): Likewise.
7940 (isnan_test): Likewise.
7941 (isnormal_test): Likewise.
7942 (issignaling_test): Likewise.
7943 (isunordered_test): Likewise.
7944 (j0_test): Likewise.
7945 (j1_test): Likewise.
7946 (jn_test): Likewise.
7947 (ldexp_test): Likewise.
7948 (lgamma_test): Likewise.
7949 (gamma_test): Likewise.
7950 (lrint_test): Likewise.
7951 (lrint_test_tonearest): Likewise.
7952 (lrint_test_towardzero): Likewise.
7953 (lrint_test_downward): Likewise.
7954 (lrint_test_upward): Likewise.
7955 (llrint_test): Likewise.
7956 (llrint_test_tonearest): Likewise.
7957 (llrint_test_towardzero): Likewise.
7958 (llrint_test_downward): Likewise.
7959 (llrint_test_upward): Likewise.
7960 (log_test): Likewise.
7961 (log10_test): Likewise.
7962 (log1p_test): Likewise.
7963 (log2_test): Likewise.
7964 (logb_test): Likewise.
7965 (logb_test_downward): Likewise.
7966 (lround_test): Likewise.
7967 (llround_test): Likewise.
7968 (modf_test): Likewise.
7969 (nearbyint_test): Likewise.
7970 (nextafter_test): Likewise.
7971 (nexttoward_test): Likewise.
7972 (pow_test): Likewise.
7973 (pow_test_tonearest): Likewise.
7974 (pow_test_towardzero): Likewise.
7975 (pow_test_downward): Likewise.
7976 (pow_test_upward): Likewise.
7977 (remainder_test): Likewise.
7978 (drem_test): Likewise.
7979 (remainder_test_tonearest): Likewise.
7980 (drem_test_tonearest): Likewise.
7981 (remainder_test_towardzero): Likewise.
7982 (drem_test_towardzero): Likewise.
7983 (remainder_test_downward): Likewise.
7984 (drem_test_downward): Likewise.
7985 (remainder_test_upward): Likewise.
7986 (drem_test_upward): Likewise.
7987 (remquo_test): Likewise.
7988 (rint_test): Likewise.
7989 (rint_test_tonearest): Likewise.
7990 (rint_test_towardzero): Likewise.
7991 (rint_test_downward): Likewise.
7992 (rint_test_upward): Likewise.
7993 (round_test): Likewise.
7994 (scalb_test): Likewise.
7995 (scalbn_test): Likewise.
7996 (scalbln_test): Likewise.
7997 (signbit_test): Likewise.
7998 (sin_test): Likewise.
7999 (sin_test_tonearest): Likewise.
8000 (sin_test_towardzero): Likewise.
8001 (sin_test_downward): Likewise.
8002 (sin_test_upward): Likewise.
8003 (sincos_test): Likewise.
8004 (sinh_test): Likewise.
8005 (sinh_test_tonearest): Likewise.
8006 (sinh_test_towardzero): Likewise.
8007 (sinh_test_downward): Likewise.
8008 (sinh_test_upward): Likewise.
8009 (sqrt_test): Likewise.
8010 (sqrt_test_tonearest): Likewise.
8011 (sqrt_test_towardzero): Likewise.
8012 (sqrt_test_downward): Likewise.
8013 (sqrt_test_upward): Likewise.
8014 (tan_test): Likewise.
8015 (tan_test_tonearest): Likewise.
8016 (tan_test_towardzero): Likewise.
8017 (tan_test_downward): Likewise.
8018 (tan_test_upward): Likewise.
8019 (tanh_test): Likewise.
8020 (tgamma_test): Likewise.
8021 (trunc_test): Likewise.
8022 (y0_test): Likewise.
8023 (y1_test): Likewise.
8024 (yn_test): Likewise.
8025 (significand_test): Likewise.
8026
e6b6a857
JM
8027 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8028 individual tests in comment.
8029 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8030 (prev_max_error): New variable.
8031 (prev_real_max_error): Likewise.
8032 (prev_imag_max_error): Likewise.
8033 (compare_ulp_data): Don't refer to test names in comment.
8034 (find_test_ulps): Remove function.
8035 (find_function_ulps): Likewise.
8036 (find_complex_function_ulps): Likewise.
8037 (init_max_error): Take function name as argument. Look up ulps
8038 for that function.
8039 (print_ulps): Remove function.
8040 (print_max_error): Use prev_max_error instead of calling
8041 find_function_ulps.
8042 (print_complex_max_error): Use prev_real_max_error and
8043 prev_imag_max_error instead of calling find_complex_function_ulps.
8044 (check_float_internal): Take max_ulp parameter instead of calling
8045 find_test_ulps. Don't call print_ulps.
8046 (check_float): Update call to check_float_internal.
8047 (check_complex): Update calls to check_float_internal.
8048 (START): Pass argument to init_max_error.
8049 * math/gen-libm-test.pl (%results): Don't include "kind"
8050 information.
8051 (parse_ulps): Don't handle ulps of individual tests.
8052 (print_ulps_file): Likewise.
8053 (output_ulps): Likewise.
8054 * math/README.libm-test: Update.
8055 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8056 individual tests.
8057 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8058 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8059 * sysdeps/arm/libm-test-ulps: Likewise.
8060 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8061 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8062 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8063 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8064 * sysdeps/microblaze/libm-test-ulps: Likewise.
8065 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8066 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8068 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8069 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8070 * sysdeps/sh/libm-test-ulps: Likewise.
8071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8072 * sysdeps/tile/libm-test-ulps: Likewise.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074
45adef3c
JM
80752014-03-04 Joseph Myers <joseph@codesourcery.com>
8076
8077 * math/libm-test.inc (print_complex_max_error): Check separately
8078 whether real and imaginary errors are within allowed range and
8079 pass 0 to print_complex_function_ulps instead of value within
8080 allowed range.
8081
000232b9
SP
80822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8083
d4b17258
SP
8084 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8085 formatting.
8086 (get_handles_fopen): Likewise.
8087 (do_write_test): Likewise.
8088
091eff71
SP
8089 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8090
fa3cd248
SP
8091 * libio/fileops.c (do_ftell): Use cached offset when
8092 available.
8093 * libio/iofwide.c (do_ftell_wide): Likewise.
8094 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8095 _IO_file_attach.
8096 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8097
000232b9
SP
8098 [BZ #16532]
8099 * libio/libioP.h (get_file_offset): New function.
8100 * libio/fileops.c (get_file_offset): Likewise.
8101 (do_ftell): Likewise.
8102 (_IO_new_file_seekoff): Split out ftell logic.
8103 * libio/wfileops.c (do_ftell_wide): Likewise.
8104 (_IO_wfile_seekoff): Split out ftell logic.
8105 * libio/tst-ftell-active-handler.c: New test case.
8106 * libio/Makefile (tests): Add it.
8107
116f4d1a
RM
81082014-03-03 Roland McGrath <roland@hack.frob.com>
8109
8110 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8111 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8112
532a6035
SP
81132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8114
8115 [BZ #16639]
8116 * nscd/connections.c (nscd_init): Call do_exit.
8117 (start_threads): Call do_exit and notify_parent.
8118 (begin_drop_privileges): Call do_exit.
8119 (finish_drop_privileges): Likewise.
8120 * nscd/selinux.c (preserve_capabilities): Likewise.
8121 (install_real_capabilities): Likewise.
8122 (nscd_selinux_enabled): Likewise.
8123 (avc_create_thread): Likewise.
8124 (avc_alloc_lock): Likewise.
8125 (nscd_avc_init): Likewise.
8126 * nscd/nscd.c (parent_fd): New static variable.
8127 (main): Create a pipe between parent and child processes.
8128 Skip closing parent_fd.
8129 (monitor_child): New function.
8130 (do_exit): Likewise.
8131 (notify_parent): Likewise.
8132 * nscd/nscd.h (notify_parent): Likewise.
8133 (do_exit): Likewise.
8134
d6285c9f
CD
81352014-03-03 Carlos O'Donell <carlos@redhat.com>
8136
8137 * malloc/malloc.c (__libc_calloc): Revert last change.
8138
2b85d2a0
AZ
81392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8142
c7debbdf
RS
81432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8144
8145 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8147 implementation.
8148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8149 (__libc_ifunc_impl_list): Likewise.
8150 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8151 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8152 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8153 * string/strrchr.c: Define STRRCHR.
8154
235eed86
OB
81552014-02-28 Ondřej Bílka <neleai@seznam.cz>
8156
8157 * benchtest/bench-strtok.c (simple_strtok): Delete.
8158 (strtok_string): Use as benchmark.
8159 * string/strtok (STRTOK): New macro.
8160
8e25d1e7
CD
81612014-02-28 Carlos O'Donell <carlos@redhat.com>
8162
ef563f92
CD
8163 * manual/threads.texi: Add header and standard comments to all
8164 functions.
8165
8e25d1e7
CD
8166 * elf/dl-lookup.c (check_match): New function.
8167 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8168 (do_lookup_x): Remove nested function check_match. Use non-nested
8169 function check_match.
8170
ff71cc37
RM
81712014-02-28 Roland McGrath <roland@hack.frob.com>
8172
f08e9a26
RM
8173 * csu/Makefile (generated, before-compile): Use += rather than =.
8174 * catgets/Makefile (generated, generated-dirs): Likewise.
8175 * debug/Makefile (generated): Likewise.
8176 * dlfcn/Makefile (generated): Likewise.
8177 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8178 * iconvdata/Makefile (before-compile, generated): Likewise.
8179 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8180 * libio/Makefile (generated): Likewise.
8181 * malloc/Makefile (generated): Likewise.
8182 * manual/Makefile (generated, generated-dirs): Likewise.
8183 * misc/Makefile (generated): Likewise.
8184 * posix/Makefile (generated): Likewise.
8185 * resolv/Makefile (generated): Likewise.
8186 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8187 * timezone/Makefile (generated, generated-dirs): Likewise.
8188
ff71cc37
RM
8189 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8190
fe13a20c
AZ
81912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8192
57f41c40
AS
8193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8194 power8 implementation.
8195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8196 file: POWER8 llround ifunc implementation.
8197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8198 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8199 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8200 POWER8 llround implementation.
8201
57f41c40
AS
8202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8203 power8 implementation.
8204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8205 file: POWER8 llrint ifunc implementation.
8206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8207 Add POWER8 implementation.
1ad8950a
AZ
8208 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8209 POWER8 llrint implementation.
8210
57f41c40
AS
8211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8212 power8 implementation.
8213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8214 file: POWER8 finite ifunc implementation.
8215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8216 Add POWER8 implementation.
cac626d6
AZ
8217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8218 Likewise.
8219 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8220 POWER8 finite implementation.
8221 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8222
57f41c40
AS
8223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8224 power8 implementation.
8225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8226 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8228 POWER8 implementation.
8229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8230 Likewise.
57f41c40
AS
8231 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8232 isinf implementation.
4393fc11
AZ
8233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8234
57f41c40
AS
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8236 (INIT_ARCH): Add hwcap2 initialization.
8237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8238 power8 implementation.
8239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8240 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8242 POWER8 implementation.
8243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8244 Likewise.
57f41c40
AS
8245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8246 isnan implementation.
487972ae
AZ
8247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8248
7d92b787
JY
82492014-02-27 Joey Ye <joey.ye@arm.com>
8250
8251 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8252 (_FP_NANFRAC_Q): Set to zero.
8253
1cadc858
SP
82542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8255
8256 [BZ #16623]
8257 * math/auto-libm-test-in: New test inputs.
8258 * math/auto-libm-test-out: Regenerate.
8259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8260 and DA.
8261 (__cos): Likewise.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8263
f8c17e79
JM
82642014-02-27 Joseph Myers <joseph@codesourcery.com>
8265
8266 * scripts/evaluate-test.sh: Take new argument indicating whether
8267 failure is expected.
8268 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8269 indicating whether failure is expected.
8270 * conform/Makefile (test-xfail-run-conformtest): New variable.
8271 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8272 level.
8273 * posix/Makefile (test-xfail-annexc): New variable.
8274 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8275
a5f891ac
JM
82762014-02-26 Joseph Myers <joseph@codesourcery.com>
8277
8278 * argp/Makefile: Include Makeconfig immediately after defining
8279 subdir.
8280 * assert/Makefile: Likewise.
8281 * benchtests/Makefile: Likewise.
8282 * catgets/Makefile: Likewise.
8283 * conform/Makefile: Likewise.
8284 * crypt/Makefile: Likewise.
8285 * csu/Makefile: Likewise.
8286 (all): Remove target.
8287 * ctype/Makefile: Include Makeconfig immediately after defining
8288 subdir.
8289 * debug/Makefile: Likewise.
8290 * dirent/Makefile: Likewise.
8291 * dlfcn/Makefile: Likewise.
8292 * gmon/Makefile: Likewise.
8293 * gnulib/Makefile: Likewise.
8294 * grp/Makefile: Likewise.
8295 * gshadow/Makefile: Likewise.
8296 * hesiod/Makefile: Likewise.
8297 * hurd/Makefile: Likewise.
8298 (all): Remove target.
8299 * iconvdata/Makefile: Include Makeconfig immediately after
8300 defining subdir.
8301 * inet/Makefile: Likewise.
8302 * intl/Makefile: Likewise.
8303 * io/Makefile: Likewise.
8304 * libio/Makefile: Likewise.
8305 (all): Remove target.
8306 * locale/Makefile: Include Makeconfig immediately after defining
8307 subdir.
8308 * login/Makefile: Likewise.
8309 * mach/Makefile: Likewise.
8310 (all): Remove target.
8311 * malloc/Makefile: Include Makeconfig immediately after defining
8312 subdir.
8313 (all): Remove target.
8314 * manual/Makefile: Include Makeconfig immediately after defining
8315 subdir.
8316 * math/Makefile: Likewise.
8317 * misc/Makefile: Likewise.
8318 * nis/Makefile: Likewise.
8319 * nss/Makefile: Likewise.
8320 * po/Makefile: Likewise.
8321 (all): Remove target.
8322 * posix/Makefile: Include Makeconfig immediately after defining
8323 subdir.
8324 * pwd/Makefile: Likewise.
8325 * resolv/Makefile: Likewise.
8326 * resource/Makefile: Likewise.
8327 * rt/Makefile: Likewise.
8328 * setjmp/Makefile: Likewise.
8329 * shadow/Makefile: Likewise.
8330 * signal/Makefile: Likewise.
8331 * socket/Makefile: Likewise.
8332 * soft-fp/Makefile: Likewise.
8333 * stdio-common/Makefile: Likewise.
8334 * stdlib/Makefile: Likewise.
8335 * streams/Makefile: Likewise.
8336 * string/Makefile: Likewise.
8337 * sunrpc/Makefile: Likewise.
8338 (all): Remove target.
8339 * sysvipc/Makefile: Include Makeconfig immediately after defining
8340 subdir.
8341 * termios/Makefile: Likewise.
8342 * time/Makefile: Likewise.
8343 * timezone/Makefile: Likewise.
8344 (all): Remove target.
8345 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8346 subdir.
8347 * wctype/Makefile: Likewise.
8348
5b456e9d
SE
83492014-02-26 Steve Ellcey <sellcey@mips.com>
8350
8351 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8352 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8353 (libc_feholdexcept_setround_mips): Ditto.
8354 (libc_feholdsetround): New.
8355 (libc_feholdsetroundf): New.
8356 (libc_feholdsetroundl): New.
8357 (libc_feupdateenv_test_mips): New.
8358 (libc_feupdateenv_test): New.
8359 (libc_feupdateenv_testf): New.
8360 (libc_feupdateenv_testl): New.
8361 (libc_feresetround): New.
8362 (libc_feresetroundf): New.
8363 (libc_feresetroundl): New.
8364 (libc_fetestexcept_mips): New.
8365 (libc_fetestexcept): New.
8366 (libc_fetestexceptf): New.
8367 (libc_fetestexceptl): New.
8368 (HAVE_RM_CTX): New.
8369 (libc_feholdexcept_setround_mips_ctx): New.
8370 (libc_feholdexcept_setround_ctx): New.
8371 (libc_feholdexcept_setroundf_ctx): New.
8372 (libc_feholdexcept_setroundl_ctx): New.
8373 (libc_fesetenv_mips_ctx): New.
8374 (libc_fesetenv_ctx): New.
8375 (libc_fesetenv_ctxf): New.
8376 (libc_fesetenv_ctxl): New.
8377 (libc_feupdateenv_mips_ctx): New.
8378 (libc_feupdateenv_ctx): New.
8379 (libc_feupdateenvf_ctx): New.
8380 (libc_feupdateenvl_ctx): New.
8381 (libc_feholdsetround_mips_ctx): New.
8382 (libc_feholdsetround_ctx): New.
8383 (libc_feholdsetroundf_ctx): New.
8384 (libc_feholdsetroundl_ctx): New.
8385 (libc_feresetround_mips_ctx): New.
8386 (libc_feresetround_ctx): New.
8387 (libc_feresetroundf_ctx): New.
8388 (libc_feresetroundl_ctx): New.
8389
085d0e35
CD
83902014-02-26 Carlos O'Donell <carlos@redhat.com>
8391
f067bf1f
CD
8392 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8393
085d0e35
CD
8394 * manual/ipc.texi: New file.
8395 * manual/Makefile (chapters): Add ipc.
8396 * manual/job.texi: Add "Inter-Process Communication" to next.
8397 * manual/process.texi: Add "Inter-Process Communication" to prev.
8398
86e58c08
AZ
83992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8400
8401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8402
4248f0da
OB
84032014-02-26 Ondřej Bílka <neleai@seznam.cz>
8404
8405 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8406
cf822e3c
OB
8407 * manual/arith.texi: Fix spaces after sentences.
8408 * manual/charset.texi: Likewise.
8409 * manual/errno.texi: Likewise.
8410 * manual/install.texi: Likewise.
8411 * manual/llio.texi: Likewise.
8412 * manual/locale.texi: Likewise.
8413 * manual/maint.texi: Likewise.
8414 * manual/math.texi: Likewise.
8415 * manual/memory.texi: Likewise.
8416 * manual/message.texi: Likewise.
8417 * manual/probes.texi: Likewise.
8418 * manual/resource.texi: Likewise.
8419 * manual/signal.texi: Likewise.
8420 * manual/socket.texi: Likewise.
8421 * manual/stdio.texi: Likewise.
8422 * manual/string.texi: Likewise.
8423 * manual/time.texi: Likewise.
8424 * manual/users.texi: Likewise.
8425
ade40b10
CD
84262014-02-25 Carlos O'Donell <carlos@redhat.com>
8427
8428 [BZ #16632]
8429 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8430 _DEFAULT_SOURCE is defined.
8431
d0503676
CD
84322014-02-25 Ulrich Drepper <drepper@gmail.com>
8433 Carlos O'Donell <carlos@redhat.com>
8434
8435 [BZ #16613]
8436 * elf/dl-tls.c (_dl_count_modids): New function.
8437 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8438 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8439 audit library and increment generation counter.
8440 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8441 * elf/tst-audit9.c: New file.
8442 * elf/tst-auditmod9a.c: New file.
8443 * elf/tst-auditmod9b.c: New file.
8444 * elf/Makefile: Add rules to build and run tst-audit9.
8445
4cbf380c
FW
84462014-02-25 Florian Weimer <fweimer@redhat.com>
8447
8448 [BZ #15347]
8449 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8450
80a56cc3
WN
84512014-02-25 Will Newton <will.newton@linaro.org>
8452
8453 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8454 (__longjmp): Restore sp and lr before restoring callee
8455 saved registers. Add longjmp and longjmp_target
8456 SystemTap probe point.
8457 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8458 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8459 Define to zero to match jmpbuf layout.
8460 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8461 (__sigsetjmp): Save sp and lr before saving callee
8462 saved registers. Add setjmp SystemTap probe point.
8463
3ea0f74e
SL
84642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8465
8466 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8467
b04acb26
AS
84682014-02-24 Andreas Schwab <schwab@suse.de>
8469
8470 [BZ #15804]
8471 * elf/pldd.c (wait_for_ptrace_stop): New function.
8472 (main): Call it after attaching.
8473
098ad55c
RM
84742014-02-22 Roland McGrath <roland@hack.frob.com>
8475
d4ec6ae1
RM
8476 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8477 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8478 Versions files is now verboten.
8479 * hurd/Versions (libc: GLIBC_2.0):
8480 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8481 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8482 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8483 * mach/Versions: Likewise.
8484
098ad55c
RM
8485 * csu/Versions: Remove unused %include.
8486 * resolv/Versions: Likewise.
8487
acd7f096
JM
84882014-02-21 Joseph Myers <joseph@codesourcery.com>
8489
f0881698
JM
8490 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8491 ($(objpfx)check-local-headers.out): Likewise.
8492 ($(objpfx)begin-end-check.out): Likewise.
8493 * Makerules (check-abi-%.out): Likewise.
8494 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8495 ($(objpfx)test2.cat): Likewise.
8496 ($(objpfx)de/libc.cat): Likewise.
8497 ($(objpfx)test-gencat.out): Likewise.
8498 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8499 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8500 ($(objpfx)noload-mem): Likewise.
8501 ($(objpfx)tst-pathopt.out): Likewise.
8502 ($(objpfx)tst-rtld-load-self.out): Likewise.
8503 ($(objpfx)tst-array1-cmp.out): Likewise.
8504 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8505 ($(objpfx)tst-array2-cmp.out): Likewise.
8506 ($(objpfx)tst-array3-cmp.out): Likewise.
8507 ($(objpfx)tst-array4-cmp.out): Likewise.
8508 ($(objpfx)tst-array5-cmp.out): Likewise.
8509 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8510 ($(objpfx)check-textrel.out): Likewise.
8511 ($(objpfx)check-execstack.out): Likewise.
8512 ($(objpfx)check-localplt.out): Likewise.
8513 ($(objpfx)order2-cmp.out): Likewise.
8514 ($(objpfx)tst-leaks1-mem): Likewise.
8515 ($(objpfx)tst-leaks1-static-mem): Likewise.
8516 ($(objpfx)tst-initorder-cmp.out): Likewise.
8517 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8518 ($(objpfx)tst-unused-dep.out): Likewise.
8519 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8520 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8521 * iconv/Makefile (test-iconvconfig): Likewise.
8522 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8523 ($(objpfx)iconv-test.out): Likewise.
8524 ($(objpfx)tst-tables.out): Likewise.
8525 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8526 ($(objpfx)tst-gettext.out): Likewise.
8527 ($(objpfx)tst-translit.out): Likewise.
8528 ($(objpfx)tst-gettext2.out): Likewise.
8529 ($(objpfx)tst-gettext4.out): Likewise.
8530 ($(objpfx)tst-gettext6.out): Likewise.
8531 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8532 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8533 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8534 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8535 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8536 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8537 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8538 ($(objpfx)wordexp-tst.out): Likewise.
8539 ($(objpfx)annexc.out): Likewise.
8540 ($(objpfx)tst-fnmatch-mem): Likewise.
8541 ($(objpfx)bug-regex2-mem): Likewise.
8542 ($(objpfx)bug-regex14-mem): Likewise.
8543 ($(objpfx)bug-regex21-mem): Likewise.
8544 ($(objpfx)bug-regex31-mem): Likewise.
8545 ($(objpfx)tst-vfork3-mem): Likewise.
8546 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8547 ($(objpfx)tst-pcre-mem): Likewise.
8548 ($(objpfx)tst-boost-mem): Likewise.
8549 ($(objpfx)tst-getconf.out): Likewise.
8550 ($(objpfx)bug-ga2-mem): Likewise.
8551 ($(objpfx)bug-glob2-mem): Likewise.
8552 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8553 ($(objpfx)mtrace-tst-leaks2): Likewise.
8554 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8555 ($(objpfx)tst-printf.out): Likewise.
8556 ($(objpfx)tst-setvbuf1.out): Likewise.
8557 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8558 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8559 ($(objpfx)tst-fmtmsg.out): Likewise.
8560 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8561 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8562
acd7f096
JM
8563 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8564 * bits/sigaction.h [__USE_MISC]: Likewise.
8565 * bits/waitstatus.h: Update #endif comments.
8566 * ctype/ctype.h: Likewise.
8567 * dirent/dirent.h: Likewise.
8568 [__USE_MISC]: Remove redundant conditionals.
8569 * grp/grp.h: Update #endif comments.
8570 [__USE_GNU]: Remove redundant conditionals.
8571 [__USE_MISC]: Likewise.
8572 * inet/netinet/in.h [__USE_GNU]: Likewise.
8573 * io/sys/stat.h [__USE_MISC]: Likewise.
8574 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8575 * libio/bits/stdio.h: Update #endif comments.
8576 [__USE_MISC]: Remove redundant conditionals.
8577 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8578 * libio/stdio.h: Update #endif comments.
8579 [__USE_MISC]: Remove redundant conditionals.
8580 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8581 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8582 * math/math.h: Update #else and #endif comments.
8583 [__USE_MISC]: Remove redundant conditionals.
8584 * misc/sys/uio.h: Update #endif comments.
8585 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8586 * posix/glob.h [__USE_MISC]: Likewise.
8587 * posix/sys/types.h: Update #endif comments.
8588 [__USE_MISC]: Remove redundant conditionals.
8589 * posix/sys/wait.h: Update #endif comments.
8590 [__USE_MISC]: Remove redundant conditionals.
8591 * posix/unistd.h: Update #endif comments.
8592 [__USE_MISC]: Remove redundant conditionals.
8593 * pwd/pwd.h [__USE_GNU]: Likewise.
8594 [__USE_MISC]: Likewise.
8595 * resolv/netdb.h [__USE_GNU]: Likewise.
8596 * signal/signal.h: Update #endif comments.
8597 [__USE_MISC]: Remove redundant conditionals.
8598 * stdlib/stdlib.h: Update #else and #endif comments.
8599 [__USE_MISC]: Remove redundant conditionals.
8600 [__USE_GNU]: Likewise.
8601 * string/bits/string2.h [__USE_MISC]: Likewise.
8602 * string/string.h: Update #endif comments.
8603 [__USE_MISC]: Remove redundant conditionals.
8604 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8605 Likewise.
8606 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8607 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8608 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8609 Likewise.
8610 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8611 Likewise.
8612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8613 comments.
8614 [__USE_MISC]: Remove redundant conditionals.
8615 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8616 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8617 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8618 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8619 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8620 Likewise.
8621 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8622 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8623 Likewise.
8624 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8625 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8626 Likewise.
8627 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8628 Likewise.
8629 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8630 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8631 Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8633 Likewise.
8634 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8635 * sysdeps/x86/bits/string.h: Update #endif comments.
8636 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8637 conditionals.
8638 * time/sys/time.h: Update #endif comments.
8639 * time/time.h: Likewise.
8640 [__USE_MISC]: Remove redundant conditionals.
8641
a5d82e4e
YG
86422014-02-21 Yury Gribov <y.gribov@samsung.com>
8643
8644 [BZ #16600]
8645 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8646
9a80491d
AS
86472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8648
8649 * Versions.def (librt): Add GLIBC_2.17.
8650
105fa381
AC
86512014-02-21 Adam Conrad <adconrad@0c3.net>
8652
8653 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8654 synonym for _SYS_AUXV_H to allow direct inclusion.
8655 * sysdeps/sparc/bits/hwcap.h: Likewise.
8656 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8657 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8658 * sysdeps/sparc/sysdep.h: Likewise.
8659
b8cd1c4e
SP
86602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8661
8662 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8663
bd939d23
RS
86642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8665
8666 * benchtests/bench-strrchr.c: Print length instead of position.
8667
5d7b57ca
JM
86682014-02-20 Joseph Myers <joseph@codesourcery.com>
8669
bc688c10
JM
8670 [BZ #16611]
8671 * sysdeps/unix/sysv/linux/kernel-features.h
8672 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8673 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8674 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8675 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8676 Likewise.
8677 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8678 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8679 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8680 (__ASSUME_SENDMMSG): Define instead of using previous
8681 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8682 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8683 (__ASSUME_SENDMMSG_SYSCALL): Define.
8684 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8685 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8686 Likewise.
8687 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8688 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8689 Likewise.
8690 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8692 Likewise.
8693 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8694 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8695 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8696 [__ASSUME_SENDMMSG]: Change conditionals to
8697 [__ASSUME_SENDMMSG_SOCKETCALL].
8698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8699 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8700 Define.
8701 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8702 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8703 Likewise.
8704 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8705 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8706 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8707 [!__ASSUME_SENDMMSG]: Change conditional to
8708 [!__ASSUME_SENDMMSG_SOCKETCALL].
8709 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8710 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8711 Define.
8712
0e31b18c
JM
8713 [BZ #16610]
8714 * sysdeps/unix/sysv/linux/kernel-features.h
8715 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8716 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8717 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8718 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8719 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8720 [__i386__ || __sparc__]
8721 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8722 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8723 (__ASSUME_RECVMMSG): Define instead of using previous
8724 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8725 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8726 (__ASSUME_RECVMMSG_SYSCALL): Define.
8727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8728 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8729 Likewise.
8730 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8731 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8732 Likewise.
8733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8735 Likewise.
8736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8737 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8738 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8739 [__ASSUME_RECVMMSG]: Change condition to
8740 [__ASSUME_RECVMMSG_SOCKETCALL].
8741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8743 Define.
8744 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8747 Likewise.
8748 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8749 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8750 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8751 [!__ASSUME_RECVMMSG]: Change condition to
8752 [!__ASSUME_RECVMMSG_SOCKETCALL].
8753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8754 (__ASSUME_RECVMMSG_SYSCALL): Define.
8755
dd481ccf
JM
8756 [BZ #16609]
8757 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8758 __powerpc__ || __s390__ || __sh__ || __sparc__]
8759 (__ASSUME_SOCKETCALL): Define.
8760 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8761 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8762 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8763 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8764 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8765 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8766 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8767 (__ASSUME_ACCEPT4): Define instead of using previous
8768 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8769 __powerpc__ || __sparc__ || __s390__)] condition.
8770 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8772 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8773 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8774 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8775 [!__ASSUME_ACCEPT4]: Change condition to
8776 [!__ASSUME_ACCEPT4_SOCKETCALL].
8777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8778 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8779 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8781 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8782 __ASSUME_ACCEPT4_SYSCALL.
8783 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8784 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8785 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8786 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8787 __ASSUME_ACCEPT4_SYSCALL.
8788 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8789 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8790 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8791 [__ASSUME_ACCEPT4]: Change condition to
8792 [__ASSUME_ACCEPT4_SOCKETCALL].
8793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8794 (__ASSUME_SOCKETCALL): Define.
8795 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8796 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8797 (__ASSUME_SOCKETCALL): Define.
8798 (__ASSUME_ACCEPT4): Remove.
8799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8800 Define.
8801 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8802 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8803 Likewise.
8804 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8805 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8806
5d7b57ca
JM
8807 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8808 macro.
8809 (HWCAP_ARM_LPAE): Likewise.
8810 (HWCAP_ARM_EVTSTRM): Likewise.
8811 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8812 Add vpfd32, lpae and evtstrm.
8813 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8814 Increase to 22.
8815
63689d61
JM
88162014-02-19 Joseph Myers <joseph@codesourcery.com>
8817
8818 * math/auto-libm-test-in: Add tests of clog10.
8819 * math/auto-libm-test-out: Regenerated.
8820 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8821 * sysdeps/i386/fpu/libm-test-ulps: Update.
8822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8823
ab09bf61
AS
88242014-02-18 Andreas Schwab <schwab@suse.de>
8825
8826 [BZ #16574]
8827 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8828 Store non-zero if the second buffer was newly allocated.
8829 (send_dg): Likewise.
8830 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8831 to send_vc and send_dg.
8832 (res_nsend): Pass NULL for ansp2_malloced.
8833 * resolv/res_query.c (__libc_res_nquery): Add parameter
8834 answerp2_malloced and pass it down to __libc_res_nsend.
8835 (res_nquery): Pass additional NULL to __libc_res_nquery.
8836 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8837 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8838 second answer buffer if answerp2_malloced was set.
8839 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8840 (__libc_res_nquerydomain): Add parameter
8841 answerp2_malloced and pass it down to __libc_res_nquery.
8842 (res_nquerydomain): Pass additional NULL to
8843 __libc_res_nquerydomain.
8844 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8845 additional NULL to __libc_res_nsend and __libc_res_nquery.
8846 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8847 additional NULL to __libc_res_nsearch.
8848 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8849 parameter of __libc_res_nsearch to check for separately allocated
8850 second buffer.
8851 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8852 __libc_res_nquery.
8853 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8854 additional NULL to __libc_res_nquery.
8855 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8856 __libc_res_nsearch.
8857 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8858 * include/resolv.h: Update prototypes of __libc_res_nquery,
8859 __libc_res_nsearch, __libc_res_nsend.
8860
a4fb7861
JM
88612014-02-18 Joseph Myers <joseph@codesourcery.com>
8862
c6af2d89
JM
8863 * math/auto-libm-test-in: Add tests of fma.
8864 * math/auto-libm-test-out: Regenerated.
8865 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8866 (fma_towardzero_test_data): Likewise.
8867 (fma_downward_test_data): Likewise.
8868 (fma_upward_test_data): Likewise.
8869 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8870 mpc_mode.
8871 (rounding_modes): Add values for new field.
8872 (func_calc_method): Add value mpfr_fff_f.
8873 (func_calc_desc): Add mpfr_fff_f union field.
8874 (test_function): Add field exact_args.
8875 (FUNC): Add macro argument EXACT_ARGS.
8876 (FUNC_mpfr_f_f): Update call to FUNC.
8877 (FUNC_mpfr_f_f): Likewise.
8878 (FUNC_mpfr_ff_f): Likewise.
8879 (FUNC_mpfr_if_f): Likewise.
8880 (FUNC_mpc_c_f): Likewise.
8881 (FUNC_mpc_c_c): Likewise.
8882 (test_functions): Add fma. Update calls to FUNC.
8883 (handle_input_arg): Add argument exact_args.
8884 (add_test): Update call to handle_input_arg.
8885 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8886 (output_for_one_input_case): Update call to calc_generic_results.
8887 Recalculate exact zero results in each rounding mode.
8888
a4fb7861
JM
8889 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8890 non-negative before setting low bit.
8891 * math/auto-libm-test-in: Mark one asin test possibly having
8892 spurious underflow.
8893 * math/auto-libm-test-out: Regenerated.
8894 * sysdeps/i386/fpu/libm-test-ulps: Update.
8895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8896
ef114eaf
DH
88972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8898
2b7f4f2c
SP
8899 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8900 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8901 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8902 * README: Add missing listing for microblaze*-*-linux-gnu.
8903
c70a4b1d
MF
89042014-02-16 Mike Frysinger <vapier@gentoo.org>
8905
8906 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8907 * sysdeps/unix/sysv/linux/ia64: Move directory from
8908 ports/sysdeps/unix/sysv/linux/ia64.
8909 * README: Update listing for ia64-*-linux-gnu.
8910
591aeaf7
TD
89112014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8912 Joseph Myers <joseph@codesourcery.com>
8913
8914 * Makeconfig (test-name): New variable.
8915 (evaluate-test): Likewise.
8916 * Makerules (do-test-clean): Remove .test-result files.
8917 (common-mostlyclean): Likewise.
8918 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8919 * scripts/evaluate-test.sh: New file.
8920
6e89caf1
JM
89212014-02-14 Joseph Myers <joseph@codesourcery.com>
8922
7f98f180
JM
8923 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8924 separate $(objpfx)tst-fopenloc-cmp.out and
8925 $(objpfx)tst-fopenloc-mem.out targets.
8926 (tests): Update dependencies.
8927 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8928 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8929 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8930 (tst-rxspencer-no-utf8-ARGS): New variable.
8931 (tst-rxspencer-no-utf8-ENV): Likewise.
8932 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8933 instead of $(objpfx)tst-rxspencer-mem.
8934 ($(objpfx)tst-rxspencer-mem): Change target to
8935 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8936 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8937 * posix/tst-rxspencer-no-utf8.c: New file.
8938
6e89caf1
JM
8939 * elf/Makefile ($(objpfx)order.out): Remove rule.
8940 [$(run-built-tests) = yes] (tests): Depend on
8941 $(objpfx)order-cmp.out.
8942 ($(objpfx)order-cmp.out): New rule.
8943 [$(run-built-tests) = yes] (tests): Depend on
8944 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8945 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8946 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8947 $(objpfx)tst-array5-static-cmp.out.
8948 ($(objpfx)tst-array1.out): Remove rule.
8949 ($(objpfx)tst-array1-cmp.out): New rule.
8950 ($(objpfx)tst-array1-static.out): Remove rule.
8951 ($(objpfx)tst-array1-static-cmp.out): New rule.
8952 ($(objpfx)tst-array2.out): Remove rule.
8953 ($(objpfx)tst-array2-cmp.out): New rule.
8954 ($(objpfx)tst-array3.out): Remove rule.
8955 ($(objpfx)tst-array3-cmp.out): New rule.
8956 ($(objpfx)tst-array4.out): Remove rule.
8957 ($(objpfx)tst-array4-cmp.out): New rule.
8958 ($(objpfx)tst-array5.out): Remove rule.
8959 ($(objpfx)tst-array5-cmp.out): New rule.
8960 ($(objpfx)tst-array5-static.out): Remove rule.
8961 ($(objpfx)tst-array5-static-cmp.out): New rule.
8962 [$(run-built-tests) = yes] (tests): Depend on
8963 $(objpfx)order2-cmp.out.
8964 ($(objpfx)order2.out): Remove rule.
8965 ($(objpfx)order2-cmp.out): New rule.
8966 ($(objpfx)tst-initorder.out): Remove rule.
8967 [$(run-built-tests) = yes] (tests): Depend on
8968 $(objpfx)tst-initorder-cmp.out.
8969 ($(objpfx)tst-initorder-cmp.out): New rule.
8970 ($(objpfx)tst-initorder2.out): Remove rule.
8971 [$(run-built-tests) = yes] (tests): Depend on
8972 $(objpfx)tst-initorder2-cmp.out.
8973 ($(objpfx)tst-initorder2-cmp.out): New rule.
8974 [$(run-built-tests) = yes] (tests): Depend on
8975 $(objpfx)tst-unused-dep-cmp.out.
8976 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8977 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8978 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8979 on $(objpfx)tst-setvbuf1-cmp.out.
8980 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8981 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8982 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8983 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8984 ($(objpfx)tst-svc.out): Remove rule.
8985 ($(objpfx)tst-svc-cmp.out): New rule.
8986
ed9a38e2
JM
89872014-02-13 Joseph Myers <joseph@codesourcery.com>
8988
8989 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8990 * ctype/ctype.h [__USE_MISC]: Likewise.
8991 * dirent/dirent.h [__USE_MISC]: Likewise.
8992 * grp/grp.h [__USE_MISC]: Likewise.
8993 * io/fcntl.h [__USE_MISC]: Likewise.
8994 * io/sys/stat.h [__USE_MISC]: Likewise.
8995 * libio/stdio.h [__USE_MISC]: Likewise.
8996 * posix/unistd.h [__USE_MISC]: Likewise.
8997 * pwd/pwd.h [__USE_MISC]: Likewise.
8998 * stdlib.h [__USE_MISC]: Likewise.
8999 * string/bits/string2.h [__USE_MISC]: Likewise.
9000 * string/string.h [__USE_MISC]: Likewise.
9001 * time/time.h [__USE_MISC]: Likewise.
9002
d6680619
AS
90032014-02-13 Andreas Schwab <schwab@suse.de>
9004
9005 [BZ #16574]
9006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9007 second answer buffer if it was separately allocated.
9008
ace614b8
JM
90092014-02-12 Joseph Myers <joseph@codesourcery.com>
9010
743151ae
JM
9011 * sysdeps/mips/math-tests.h: Include <features.h>.
9012 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9013 (ROUNDING_TESTS_long_double): Do not define.
9014 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9015 (EXCEPTION_TESTS_long_double): Likewise.
9016 * sysdeps/mips/mips64/libm-test-ulps: Update.
9017
498afc54
JM
9018 * include/features.h (__USE_BSD): Remove macro definitions.
9019 (__USE_SVID): Likewise.
9020 (_BSD_SOURCE): Likewise.
9021 (_SVID_SOURCE): Likewise.
9022 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9023 from definition of _DEFAULT_SOURCE.
9024 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9025 [_DEFAULT_SOURCE].
9026 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9027 * bits/mman.h [__USE_BSD]: Likewise.
9028 * bits/termios.h [__USE_BSD]: Likewise.
9029 * bits/waitstatus.h [__USE_BSD]: Likewise.
9030 * ctype/ctype.h [__USE_SVID]: Likewise.
9031 * dirent/dirent.h [__USE_BSD]: Likewise.
9032 * grp/grp.h [__USE_SVID]: Likewise.
9033 [__USE_BSD]: Likewise.
9034 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9035 * io/fcntl.h [__USE_BSD]: Likewise.
9036 * io/ftw.h [__USE_BSD]: Likewise.
9037 * io/sys/stat.h [__USE_BSD]: Likewise.
9038 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9039 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9040 * libio/stdio.h [__USE_SVID]: Likewise.
9041 [__USE_BSD]: Likewise.
9042 * math/math.h [__USE_SVID]: Likewise.
9043 [__USE_BSD]: Likewise.
9044 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9045 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9046 * misc/search.h [__USE_SVID]: Likewise.
9047 * misc/sys/mman.h [__USE_BSD]: Likewise.
9048 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9049 * misc/sys/uio.h [__USE_BSD]: Likewise.
9050 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9051 * posix/glob.h [__USE_BSD]: Likewise.
9052 * posix/regex.h [__USE_BSD]: Likewise.
9053 * posix/sys/types.h [__USE_BSD]: Likewise.
9054 [__USE_SVID]: Likewise.
9055 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9056 * posix/sys/wait.h [__USE_BSD]: Likewise.
9057 [__USE_SVID]: Likewise.
9058 * posix/unistd.h [__USE_BSD]: Likewise.
9059 [__USE_SVID]: Likewise.
9060 * pwd/pwd.h [__USE_SVID]: Likewise.
9061 * resolv/netdb.h [__USE_BSD]: Likewise.
9062 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9063 * signal/signal.h [__USE_BSD]: Likewise.
9064 [__USE_SVID]: Likewise.
9065 * socket/sys/socket.h [__USE_BSD]: Likewise.
9066 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9067 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9068 [__USE_SVID]: Likewise.
9069 * string/bits/string2.h [__USE_BSD]: Likewise.
9070 [__USE_SVID]: Likewise.
9071 * string/bits/string3.h [__USE_BSD]: Likewise.
9072 * string/endian.h [__USE_BSD]: Likewise.
9073 * string/string.h [__USE_SVID]: Likewise.
9074 [__USE_BSD]: Likewise.
9075 * string/strings.h [__USE_BSD]: Likewise.
9076 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9077 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9078 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9079 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9080 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9081 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9082 Likewise.
9083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9084 Likewise.
9085 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9086 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9087 Likewise.
9088 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9089 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9090 Likewise.
9091 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9092 Likewise.
9093 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9094 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9095 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9096 Likewise.
9097 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9098 Likewise.
9099 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9100 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9101 * termios/termios.h [__USE_BSD]: Likewise.
9102 * time/sys/time.h [__USE_BSD]: Likewise.
9103 * time/time.h [__USE_BSD]: Likewise.
9104 [__USE_SVID]: Likewise.
9105
dd7b064c
JM
9106 * Makefile (subdir_targets): Remove subdir_lint.out.
9107
a2c4c199
JM
9108 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9109 (do-tst-printf): Likewise.
9110 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9111 $(objpfx)tst-printf.out.
9112
8756f740
JM
9113 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9114
1b6dd3f1
JM
9115 * Makerules (check-abi-%): Change target to
9116 $(objpfx)check-abi-%.out.
9117 (check-abi target): Update dependencies.
9118 (check-abi-pattern variable): Redirect output of diff to $@.
9119 (check-abi variable): Likewise.
9120 * elf/Makefile (check-abi): Update dependencies.
9121
ace614b8
JM
9122 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9123 unused.
9124 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9125 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9126 subnormal range.
9127 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9128 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9129 value has largest subnormal exponent.
9130 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9131 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9132 * sysdeps/aarch64/soft-fp/sfp-machine.h
9133 (_FP_TININESS_AFTER_ROUNDING): New macro.
9134 * sysdeps/alpha/soft-fp/sfp-machine.h
9135 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9136 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9137 Likewise.
9138 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9139 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9140 * sysdeps/mips/soft-fp/sfp-machine.h
9141 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9142 * sysdeps/powerpc/soft-fp/sfp-machine.h
9143 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9144 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9145 Likewise.
9146 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9147 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9149 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9150 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9151 Likewise.
9152
fbfdf9cb
DAS
91532014-02-12 Dylan Alex Simon <dylan@dylex.net>
9154
9155 [BZ #16545]
9156 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9157 model 1.
9158
68b7efaa
RH
91592014-02-12 Richard Henderson <rth@redhat.com>
9160
c70a4b1d 9161 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9162 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9163 * sysdeps/unix/sysv/linux/alpha: Move directory from
9164 ports/sysdeps/unix/sysv/linux/alpha.
9165 * README: Update listing for alpha-*-linux-gnu.
9166
cb4a2928
JM
91672014-02-11 Joseph Myers <joseph@codesourcery.com>
9168
c941736c
JM
9169 * include/features.h: Update comment documenting feature test
9170 macros.
9171 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9172 _DEFAULT_SOURCE.
9173 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9174 (_SVID_SOURCE): Likewise.
9175 (_DEFAULT_SOURCE): Update description of default features.
9176 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9177 with _GNU_SOURCE.
9178 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9179 (S_ISVTX): Likewise.
9180 * manual/math.texi (Mathematical Constants): Likewise.
9181 * manual/signal.texi (Interrupted Primitives): Likewise.
9182 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9183 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9184 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9185 Don't refer to _SVID_SOURCE in warning text.
9186
e8d8d7ec
JM
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9188
cb4a2928
JM
9189 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9190 already defined.
9191 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9192 * sysdeps/mips/dl-lookup.c: Remove.
9193 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9194
7e6424e3
AK
91952014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9196
9197 [BZ #16447]
9198 * math/auto-libm-test-in: Add testcase for expl.
9199 * math/auto-libm-test-out: Regenerate.
9200 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9201 calculation of unsafe.
9202 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9203
75eff3fe
MS
92042014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9205
9206 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9207 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9208 ports/sysdeps/unix/sysv/linux/aarch64.
9209 * README: Update listing for aarch64*-*-linux-gnu.
9210
d35f1e80
WN
92112014-02-11 Will Newton <will.newton@linaro.org>
9212
9213 * manual/probes.texi (Mathematical Function Probes): Use
9214 "triggered" instead of "hit".
9215
7b3436d4
WN
9216 * manual/probes.texi (Internal Probes): Add documentation
9217 of setjmp, longjmp and longjmp_target probes.
9218
b4f12ca3
WN
9219 * include/stap-probe.h: Add comment about probe argument
9220 format.
9221
c13a72b7
WN
9222 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9223 definition. (tr_where, tr_freehook, tr_mallochook,
9224 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9225
195b8165
DM
92262014-02-11 David S. Miller <davem@davemloft.net>
9227
9228 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9229 processing int_tests.
9230
2ad7600b
JM
92312014-02-10 Joseph Myers <joseph@codesourcery.com>
9232
9233 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9234 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9235 * sysdeps/unix/sysv/linux/mips: Move directory from
9236 ports/sysdeps/unix/sysv/linux/mips.
9237 * README: Update listing for mips-*-linux-gnu and
9238 mips64-*-linux-gnu.
9239
73588a72
AS
92402014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9241
9242 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9243 * sysdeps/unix/sysv/linux/m68k: Move directory from
9244 ports/sysdeps/unix/sysv/linux/m68k.
9245 * README: Update listing for m68k-*-linux-gnu.
9246
4372980f
CM
92472014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9248
9249 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9250 * sysdeps/unix/sysv/linux/generic: Move directory from
9251 ports/sysdeps/unix/sysv/linux/generic.
9252 * sysdeps/unix/sysv/linux/tile: Move directory from
9253 ports/sysdeps/unix/sysv/linux/tile.
9254 * README: Update listing for tile*-*-linux-gnu.
9255
a1ffb40e
OB
92562014-02-10 Ondřej Bílka <neleai@seznam.cz>
9257
57f41c40
AS
9258 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9259 __builtin_expect.
a1ffb40e
OB
9260 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9261 * catgets/open_catalog.c (__open_catalog): Likewise.
9262 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9263 * debug/confstr_chk.c: Likewise.
9264 * debug/fread_chk.c (__fread_chk): Likewise.
9265 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9266 * debug/getgroups_chk.c: Likewise.
9267 * debug/mbsnrtowcs_chk.c: Likewise.
9268 * debug/mbsrtowcs_chk.c: Likewise.
9269 * debug/mbstowcs_chk.c: Likewise.
9270 * debug/memcpy_chk.c: Likewise.
9271 * debug/memmove_chk.c: Likewise.
9272 * debug/mempcpy_chk.c: Likewise.
9273 * debug/memset_chk.c: Likewise.
9274 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9275 * debug/strcat_chk.c (__strcat_chk): Likewise.
9276 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9277 * debug/strncat_chk.c (__strncat_chk): Likewise.
9278 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9279 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9280 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9281 * debug/wcpncpy_chk.c: Likewise.
9282 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9283 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9284 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9285 * debug/wcsncpy_chk.c: Likewise.
9286 * debug/wcsnrtombs_chk.c: Likewise.
9287 * debug/wcsrtombs_chk.c: Likewise.
9288 * debug/wcstombs_chk.c: Likewise.
9289 * debug/wmemcpy_chk.c: Likewise.
9290 * debug/wmemmove_chk.c: Likewise.
9291 * debug/wmempcpy_chk.c: Likewise.
9292 * debug/wmemset_chk.c: Likewise.
9293 * dirent/scandirat.c (SCANDIRAT): Likewise.
9294 * dlfcn/dladdr1.c (dladdr1): Likewise.
9295 * dlfcn/dladdr.c (dladdr): Likewise.
9296 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9297 * dlfcn/dlerror.c (__dlerror): Likewise.
9298 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9299 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9300 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9301 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9302 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9303 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9304 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9305 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9306 Likewise.
9307 * elf/dl-conflict.c: Likewise.
9308 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9309 * elf/dl-dst.h: Likewise.
9310 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9311 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9312 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9313 * elf/dl-init.c (call_init, _dl_init): Likewise.
9314 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9315 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9316 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9317 Likewise.
a1ffb40e
OB
9318 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9319 Likewise.
9320 * elf/dl-minimal.c (__libc_memalign): Likewise.
9321 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9322 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9323 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9324 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9325 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9326 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9327 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9328 * elf/dl-writev.h (_dl_writev): Likewise.
9329 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9330 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9331 (dl_main): Likewise.
a1ffb40e
OB
9332 * elf/setup-vdso.h (setup_vdso): Likewise.
9333 * grp/compat-initgroups.c (compat_call): Likewise.
9334 * grp/fgetgrent.c (fgetgrent): Likewise.
9335 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9336 * grp/putgrent.c (putgrent): Likewise.
9337 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9338 Likewise.
9339 * hurd/hurdinit.c: Likewise.
9340 * iconvdata/8bit-gap.c (struct): Likewise.
9341 * iconvdata/ansi_x3.110.c : Likewise.
9342 * iconvdata/big5.c : Likewise.
9343 * iconvdata/big5hkscs.c : Likewise.
9344 * iconvdata/cp1255.c: Likewise.
9345 * iconvdata/cp1258.c : Likewise.
9346 * iconvdata/cp932.c : Likewise.
9347 * iconvdata/euc-cn.c: Likewise.
9348 * iconvdata/euc-jisx0213.c : Likewise.
9349 * iconvdata/euc-jp.c: Likewise.
9350 * iconvdata/euc-jp-ms.c : Likewise.
9351 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9352 * iconvdata/gb18030.c : Likewise.
9353 * iconvdata/gbbig5.c (const): Likewise.
9354 * iconvdata/gbgbk.c: Likewise.
9355 * iconvdata/gbk.c : Likewise.
9356 * iconvdata/ibm1364.c : Likewise.
9357 * iconvdata/ibm930.c : Likewise.
9358 * iconvdata/ibm932.c: Likewise.
9359 * iconvdata/ibm933.c : Likewise.
9360 * iconvdata/ibm935.c : Likewise.
9361 * iconvdata/ibm937.c : Likewise.
9362 * iconvdata/ibm939.c : Likewise.
9363 * iconvdata/ibm943.c: Likewise.
9364 * iconvdata/iso_11548-1.c: Likewise.
9365 * iconvdata/iso-2022-cn.c : Likewise.
9366 * iconvdata/iso-2022-cn-ext.c : Likewise.
9367 * iconvdata/iso-2022-jp-3.c: Likewise.
9368 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9369 * iconvdata/iso-2022-kr.c : Likewise.
9370 * iconvdata/iso646.c (gconv_end): Likewise.
9371 * iconvdata/iso_6937-2.c : Likewise.
9372 * iconvdata/iso_6937.c : Likewise.
9373 * iconvdata/iso8859-1.c: Likewise.
9374 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9375 * iconvdata/shift_jisx0213.c : Likewise.
9376 * iconvdata/sjis.c : Likewise.
9377 * iconvdata/t.61.c : Likewise.
9378 * iconvdata/tcvn5712-1.c : Likewise.
9379 * iconvdata/tscii.c: Likewise.
9380 * iconvdata/uhc.c : Likewise.
9381 * iconvdata/unicode.c (gconv_end): Likewise.
9382 * iconvdata/utf-16.c (gconv_end): Likewise.
9383 * iconvdata/utf-32.c (gconv_end): Likewise.
9384 * iconvdata/utf-7.c (base64): Likewise.
9385 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9386 * iconv/gconv_close.c (__gconv_close): Likewise.
9387 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9388 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9389 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9390 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9391 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9392 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9393 * iconv/iconv.c (iconv): Likewise.
9394 * iconv/iconv_close.c: Likewise.
9395 * iconv/loop.c (SINGLE): Likewise.
9396 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9397 * include/atomic.h: Likewise.
9398 * inet/inet6_option.c (option_alloc): Likewise.
9399 * intl/bindtextdom.c (set_binding_values): Likewise.
9400 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9401 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9402 * intl/localealias.c (read_alias_file): Likewise.
9403 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9404 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9405 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9406 * libio/fmemopen.c (fmemopen): Likewise.
9407 * libio/iofgets.c (_IO_fgets): Likewise.
9408 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9409 * libio/iofgetws.c (fgetws): Likewise.
9410 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9411 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9412 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9413 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9414 * locale/findlocale.c (_nl_find_locale): Likewise.
9415 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9416 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9417 Likewise.
9418 * locale/setlocale.c (setlocale): Likewise.
9419 * login/programs/pt_chown.c (main): Likewise.
9420 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9421 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9422 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9423 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9424 * math/e_exp2l.c: Likewise.
9425 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9426 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9427 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9428 * math/s_catan.c (__catan): Likewise.
9429 * math/s_catanf.c (__catanf): Likewise.
9430 * math/s_catanh.c (__catanh): Likewise.
9431 * math/s_catanhf.c (__catanhf): Likewise.
9432 * math/s_catanhl.c (__catanhl): Likewise.
9433 * math/s_catanl.c (__catanl): Likewise.
9434 * math/s_ccosh.c (__ccosh): Likewise.
9435 * math/s_ccoshf.c (__ccoshf): Likewise.
9436 * math/s_ccoshl.c (__ccoshl): Likewise.
9437 * math/s_cexp.c (__cexp): Likewise.
9438 * math/s_cexpf.c (__cexpf): Likewise.
9439 * math/s_cexpl.c (__cexpl): Likewise.
9440 * math/s_clog10.c (__clog10): Likewise.
9441 * math/s_clog10f.c (__clog10f): Likewise.
9442 * math/s_clog10l.c (__clog10l): Likewise.
9443 * math/s_clog.c (__clog): Likewise.
9444 * math/s_clogf.c (__clogf): Likewise.
9445 * math/s_clogl.c (__clogl): Likewise.
9446 * math/s_csin.c (__csin): Likewise.
9447 * math/s_csinf.c (__csinf): Likewise.
9448 * math/s_csinh.c (__csinh): Likewise.
9449 * math/s_csinhf.c (__csinhf): Likewise.
9450 * math/s_csinhl.c (__csinhl): Likewise.
9451 * math/s_csinl.c (__csinl): Likewise.
9452 * math/s_csqrt.c (__csqrt): Likewise.
9453 * math/s_csqrtf.c (__csqrtf): Likewise.
9454 * math/s_csqrtl.c (__csqrtl): Likewise.
9455 * math/s_ctan.c (__ctan): Likewise.
9456 * math/s_ctanf.c (__ctanf): Likewise.
9457 * math/s_ctanh.c (__ctanh): Likewise.
9458 * math/s_ctanhf.c (__ctanhf): Likewise.
9459 * math/s_ctanhl.c (__ctanhl): Likewise.
9460 * math/s_ctanl.c (__ctanl): Likewise.
9461 * math/w_pow.c: Likewise.
9462 * math/w_powf.c: Likewise.
9463 * math/w_powl.c: Likewise.
9464 * math/w_scalb.c (sysv_scalb): Likewise.
9465 * math/w_scalbf.c (sysv_scalbf): Likewise.
9466 * math/w_scalbl.c (sysv_scalbl): Likewise.
9467 * misc/error.c (error_tail): Likewise.
9468 * misc/pselect.c (__pselect): Likewise.
9469 * nis/nis_callback.c (__nis_create_callback): Likewise.
9470 * nis/nis_call.c (__nisfind_server): Likewise.
9471 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9472 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9473 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9474 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9475 * nis/nis_lookup.c (nis_lookup): Likewise.
9476 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9477 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9478 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9479 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9480 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9481 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9482 * nis/nss_compat/compat-initgroups.c (add_group)
9483 (internal_getgrent_r): Likewise.
9484 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9485 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9486 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9487 (internal_getspnam_r): Likewise.
9488 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9489 (_nss_nis_getaliasbyname_r): Likewise.
9490 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9491 (_nss_nis_getntohost_r): Likewise.
9492 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9493 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9494 (_nss_nis_getgrgid_r): Likewise.
9495 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9496 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9497 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9498 (_nss_nis_gethostbyname4_r): Likewise.
9499 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9500 (initgroups_netid): Likewise.
a1ffb40e 9501 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9502 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9503 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9504 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9505 (_nss_nis_getprotobynumber_r): Likewise.
9506 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9507 (_nss_nis_getsecretkey): Likewise.
9508 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9509 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9510 (_nss_nis_getpwuid_r): Likewise.
9511 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9512 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9513 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9514 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9515 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9516 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9517 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9518 Likewise.
57f41c40
AS
9519 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9520 (_nss_nisplus_getntohost_r): Likewise.
9521 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9522 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9523 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9524 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9525 Likewise.
57f41c40
AS
9526 * nis/nss_nisplus/nisplus-initgroups.c
9527 (_nss_nisplus_initgroups_dyn): Likewise.
9528 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9529 (_nss_nisplus_getnetbyaddr_r): Likewise.
9530 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9531 (_nss_nisplus_getprotobynumber_r): Likewise.
9532 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9533 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9534 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9535 Likewise.
57f41c40
AS
9536 * nis/nss_nisplus/nisplus-service.c
9537 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9538 (_nss_nisplus_getservbyport_r): Likewise.
9539 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9540 (_nss_nisplus_getspnam_r): Likewise.
9541 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9542 Likewise.
a1ffb40e
OB
9543 * nscd/aicache.c (addhstaiX): Likewise.
9544 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9545 * nscd/connections.c (register_traced_file, send_ro_fd)
9546 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9547 (main_loop_epoll): Likewise.
a1ffb40e
OB
9548 * nscd/grpcache.c (addgrbyX): Likewise.
9549 * nscd/hstcache.c (addhstbyX): Likewise.
9550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9551 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9552 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9553 (addinnetgrX): Likewise.
9554 * nscd/nscd-client.h (__nscd_acquire_maplock)
9555 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9556 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9557 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9558 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9559 Likewise.
9560 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9561 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9562 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9563 (__nscd_get_map_ref): Likewise.
a1ffb40e 9564 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9565 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9566 Likewise.
a1ffb40e
OB
9567 * nscd/pwdcache.c (addpwbyX): Likewise.
9568 * nscd/selinux.c (preserve_capabilities): Likewise.
9569 * nscd/servicescache.c (addservbyX): Likewise.
9570 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9571 * posix/fnmatch.c (fnmatch): Likewise.
9572 * posix/getopt.c (_getopt_internal_r): Likewise.
9573 * posix/glob.c (glob, glob_in_dir): Likewise.
9574 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9576 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9577 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9578 * resolv/res_init.c: Likewise.
9579 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9580 * resolv/res_query.c (__libc_res_nquery): Likewise.
9581 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9582 Likewise.
9583 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9584 * stdio-common/perror.c (perror): Likewise.
9585 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9586 * stdio-common/tmpnam.c (tmpnam): Likewise.
9587 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9588 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9589 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9590 Likewise.
a1ffb40e
OB
9591 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9592 * stdlib/putenv.c (putenv): Likewise.
9593 * stdlib/setenv.c (__add_to_environ): Likewise.
9594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9595 * stdlib/strtol_l.c (INTERNAL): Likewise.
9596 * string/memmem.c (memmem): Likewise.
9597 * string/strerror.c (strerror): Likewise.
9598 * string/strnlen.c (__strnlen): Likewise.
9599 * string/test-memmem.c (simple_memmem): Likewise.
9600 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9601 * sunrpc/pm_getport.c (__get_socket): Likewise.
9602 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9603 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9604 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9605 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9606 Likewise.
9607 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9608 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9609 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9610 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9611 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9612 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9613 Likewise.
9614 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9615 Likewise.
a1ffb40e
OB
9616 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9617 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9618 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9619 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9620 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9622 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9623 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9624 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9625 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9626 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9627 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9628 Likewise.
9629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9630 Likewise.
9631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9632 Likewise.
9633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9637 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9638 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9639 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9648 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9649 Likewise.
a1ffb40e
OB
9650 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9651 Likewise.
9652 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9653 Likewise.
9654 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9655 Likewise.
9656 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9658 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9659 Likewise.
9660 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9661 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9662 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9663 * sysdeps/posix/sleep.c: Likewise.
9664 * sysdeps/posix/tempname.c: Likewise.
9665 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9666 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9667 Likewise.
57f41c40
AS
9668 * sysdeps/powerpc/powerpc32/dl-machine.h
9669 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9672 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9673 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9674 Likewise.
9675 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9676 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9677 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9678 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9679 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9680 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9681 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9682 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9684 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9686 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9687 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9689 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9690 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9691 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9692 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9693 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9694 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9695 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9696 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9698 Likewise.
9699 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9700 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9701 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9702 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9703 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9704 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9705 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9706 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9707 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9708 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9709 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9710 Likewise.
9711 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9712 (__posix_fallocate64_l64): Likewise.
9713 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9714 (posix_fallocate): Likewise.
57f41c40
AS
9715 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9716 Likewise.
a1ffb40e 9717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9718 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9719 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9720 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9721 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9722 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9723 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9724 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9725 (__posix_fallocate64_l64): Likewise.
9726 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9727 Likewise.
9728 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9729 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9730 (__get_clockfreq): Likewise.
a1ffb40e
OB
9731 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9732 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9733 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9736 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9737 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9738 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9739 Likewise.
9740 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9741 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9742 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9744 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9745 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9746 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9747 Likewise.
9748 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9749 (posix_fallocate): Likewise.
9750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9751 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9752 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9753 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9754 (elf_machine_rela, elf_machine_rela_relative)
9755 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9756 * time/asctime.c (asctime_internal): Likewise.
9757 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9758 * time/tzset.c (__tzset_parse_tz): Likewise.
9759 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9760 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9761 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9762 * wcsmbs/wcsmbsload.h: Likewise.
9763
f3d338c9
OB
9764 [BZ #15894]
9765 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9766
57f41c40
AS
9767 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9768 (arena_get2): Remove THREAD_STATS conditionals.
9769 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9770 (__malloc_stats, int): Likewise.
bdfe308a 9771
d674667c
MF
97722014-02-08 Mike Frysinger <vapier@gentoo.org>
9773
9774 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9775 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9776
6349768c
MF
9777 * manual/setjmp.texi: Fix typos/grammar errors.
9778
0b7c7473
MF
9779 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9780 Only return early when n is <= 0. Delete unused return statement.
9781
ac8cc9e3
MF
9782 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9783 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9784 * debug/tst-longjmp_chk3.c: New file.
9785
c5bb8e23
MF
9786 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9787 (test_main): Replace code with set_fortify_handler call.
9788 * debug/test-strcpy_chk.c: Likewise.
9789 * debug/tst-chk1.c: Likewise.
9790 * debug/tst-longjmp_chk.c: Likewise.
9791 * test-skeleton.c: Include fcntl.h & paths.h
9792 (set_fortify_handler): Define.
9793
10444e42
MF
9794 * debug/tst-longjmp_chk.c: Add header comment and include
9795 ../test-skeleton.c.
9796 (do_test): Mark static.
9797 (TEST_FUNCTION): Define.
9798
1e805e8d
MF
9799 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9800 (IP_PMTUDISC_INTERFACE): Likewise.
9801 (IP_MULTICAST_IF): Likewise.
9802 (IP_MULTICAST_TTL): Likewise.
9803 (IP_MULTICAST_LOOP): Likewise.
9804 (IP_ADD_MEMBERSHIP): Likewise.
9805 (IP_DROP_MEMBERSHIP): Likewise.
9806 (IP_UNBLOCK_SOURCE): Likewise.
9807 (IP_BLOCK_SOURCE): Likewise.
9808 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9809 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9810 (IP_MSFILTER): Likewise.
9811 (MCAST_JOIN_GROUP): Likewise.
9812 (MCAST_BLOCK_SOURCE): Likewise.
9813 (MCAST_UNBLOCK_SOURCE): Likewise.
9814 (MCAST_LEAVE_GROUP): Likewise.
9815 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9816 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9817 (MCAST_MSFILTER): Likewise.
9818 (IP_MULTICAST_ALL): Likewise.
9819 (IP_UNICAST_IF): Likewise.
9820
73f79bb7
MF
9821 * timezone/Makefile: Delete $(have-ksh) check.
9822 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9823 * timezone/tzselect.ksh: Add +x mode bits.
9824
8da79b60
MF
9825 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9826 (ANON_INODE_FS_MAGIC): Likewise.
9827 (BDEVFS_MAGIC): Likewise.
9828 (BINFMTFS_MAGIC): Likewise.
9829 (BTRFS_TEST_MAGIC): Likewise.
9830 (CRAMFS_MAGIC_WEND): Likewise.
9831 (DEBUGFS_MAGIC): Likewise.
9832 (ECRYPTFS_SUPER_MAGIC): Likewise.
9833 (EXT3_SUPER_MAGIC): Likewise.
9834 (EXT4_SUPER_MAGIC): Likewise.
9835 (FUTEXFS_SUPER_MAGIC): Likewise.
9836 (HOSTFS_SUPER_MAGIC): Likewise.
9837 (HUGETLBFS_MAGIC): Likewise.
9838 (MINIX3_SUPER_MAGIC): Likewise.
9839 (MTD_INODE_FS_MAGIC): Likewise.
9840 (NILFS_SUPER_MAGIC): Likewise.
9841 (OPENPROM_SUPER_MAGIC): Likewise.
9842 (PIPEFS_MAGIC): Likewise.
9843 (PSTOREFS_MAGIC): Likewise.
9844 (QNX6_SUPER_MAGIC): Likewise.
9845 (RAMFS_MAGIC): Likewise.
9846 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9847 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9848 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9849 (SECURITYFS_MAGIC): Likewise.
9850 (SELINUX_MAGIC): Likewise.
9851 (SMACK_MAGIC): Likewise.
9852 (SOCKFS_MAGIC): Likewise.
9853 (SQUASHFS_MAGIC): Likewise.
9854 (STACK_END_MAGIC): Likewise.
9855 (TMPFS_MAGIC): Likewise.
9856 (USBDEVICE_SUPER_MAGIC): Likewise.
9857 (V9FS_MAGIC): Likewise.
9858 (XENFS_SUPER_MAGIC): Likewise.
9859 (CRAMFS_MAGIC): Fix typo in comment.
9860 (EXT2_SUPER_MAGIC): Update comment.
9861 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9862
464263cc
JM
98632014-02-08 Joseph Myers <joseph@codesourcery.com>
9864
c6bfe5c4
JM
9865 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9866 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9867 * sysdeps/unix/sysv/linux/arm: Move directory from
9868 ports/sysdeps/unix/sysv/linux/arm.
9869 * README: Update listing for arm-*-linux-gnueabi.
9870
464263cc
JM
9871 * README: Remove mention of am33.
9872
32749f6c
RM
98732014-02-07 Roland McGrath <roland@hack.frob.com>
9874
9875 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9876 than the comma operator, to avoid "rhs of comma has no effect"
9877 compiler warnings.
9878 (__sigfillset, __sigandset, __sigorset): Likewise.
9879 * include/signal.h (__sigemptyset): Likewise.
9880 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9881
d5b396c1
AM
98822014-02-07 Allan McRae <allan@archlinux.org>
9883
9884 * version.h (RELEASE): Set to "development".
9885 (VERSION): Set to "2.19.90"
9886 * NEWS: Add 2.20 section.
9887
3bfff2ed
CD
98882014-02-06 Carlos O'Donell <carlos@redhat.com>
9889
9890 [BZ #16529]
9891 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9892
ee7cc385
SP
98932014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9894
9895 * manual/contrib.texi: Update entry for Carlos O'Donell,
9896 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9897
f877c4f2
CD
98982014-02-05 Carlos O'Donell <carlos@rehdat.com>
9899
27e839f6
CD
9900 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9901
f877c4f2
CD
9902 * sysdeps/unix/sysv/linux/kernel-features.h
9903 [__LINUX_KERNEL_VERSION >= 0x020621]
9904 (__ASSUME_PROC_PID_TASK_COMM): Define.
9905
68159946
SP
99062014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9907
ba17cdbd
SP
9908 [BZ #16398]
9909 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9910 conversion when destination buffer does not have enough space.
9911 * libio/tst-ftell-partial-wide.c: New test case.
9912 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9913
68159946
SP
9914 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9915 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9916 Leonard and Allan McRae.
9917
2b528732
DM
99182014-02-04 David S. Miller <davem@davemloft.net>
9919
9920 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9921 32-bit.
9922
0ff82463
AZ
99232014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9924
57f41c40
AS
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9926 New file
c01603f7
AZ
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9928 New file
57f41c40
AS
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9930 New file.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9932 New file.
c01603f7
AZ
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9934 New file.
57f41c40
AS
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9936 New file.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9938 New file.
c01603f7
AZ
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9940 New file.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9942 New file.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9944 New file.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9946 New file.
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9948 New file.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9950 New file.
9951
99522014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9953
0ff82463
AZ
9954 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9955 * shlib-versions: Likewise.
9956
1695c773
AZ
99572014-02-04 Roland McGrath <roland@hack.frob.com>
9958 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9959
9960 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9961 (abilist-pattern): New variable, set to %-le.abilist.
9962
9963 * Makerules (abilist-pattern): New variable.
9964 (vpath): Use $(abilist-pattern) in place of %.abilist.
9965 (check-abi-% pattern rule): Likewise.
9966 (check-abi, update-abi): Likewise.
9967
6c0ce4b4
EW
99682014-02-04 Eric Wong <normalperson@yhbt.net>
9969
9970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9971
481e3524
CD
99722014-02-03 Carlos O'Donell <carlos@redhat.com>
9973
9974 * manual/startup.texi: Add next, previous, and top entries for
9975 the `Program Arguments' and `Environment Variables' nodes.
9976
375592d3
AO
99772014-02-03 Alexandre Oliva <aoliva@redhat.com>
9978
9979 * manual/macros.texi: Add comments before MTASC-safety macros.
9980
f54838ba
AO
9981 * manual/users.texi: Document MTASC-safety properties.
9982
57f41c40
AS
9983 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9984 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9985 @deftypefun, and add @safety note.
9986 * manual/signal.texi: Move comments that analyze the above
9987 functions to their home place.
9988
fd3daba4
AM
99892014-02-03 Allan McRae <allan@archlinux.org>
9990
9991 * po/sl.po: Update Slovenian translation from translation project.
9992
597636d7
AO
99932014-02-02 Alexandre Oliva <aoliva@redhat.com>
9994
9995 * manual/time.texi (timegm): Add missing blank after @c.
9996 Reported by Joseph Myers <joseph@codesourcery.com>.
9997
ee196e3c
AO
99982014-02-01 Alexandre Oliva <aoliva@redhat.com>
9999
10000 * manual/check-safety.sh: New.
10001 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10002
f8d529d5
AO
10003 * manual/terminal.texi: Document MTASC-safety properties.
10004
de55fdf4
AO
10005 * manual/filesys.texi: Document MTASC-safety properties.
10006
c3299c08
AO
10007 * manual/errno.texi: Document MTASC-safety properties.
10008
06e90b14
AO
10009 * manual/intro.texi: Document safety identifiers and
10010 conditionals.
10011
1acd4371
AO
10012 * manual/string.texi (wcstok): Fix prototype.
10013 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10014
23e5b8cb
AO
10015 * manual/time.texi: Document MTASC-safety properties.
10016
11087373
AO
10017 * manual/string.texi: Document MTASC-safety properties.
10018
5da2c93d
AO
10019 * manual/threads.texi: Document MTASC-safety properties.
10020
171e9210
AO
10021 * manual/stdio.texi: Document MTASC-safety properties.
10022
d9e02532
AO
10023 * manual/syslog.texi: Document MTASC-safety properties.
10024
6af8bab7
AO
10025 * manual/sysinfo.texi: Document MTASC-safety properties.
10026
663b02d7
AO
10027 * manual/startup.texi: Document MTASC-safety properties.
10028
973f180b
AO
10029 * manual/socket.texi: Document MTASC-safety properties.
10030
8f3c25c8
AO
10031 * manual/signal.texi: Document MTASC-safety properties.
10032
542210fb
AO
100332014-01-31 Alexandre Oliva <aoliva@redhat.com>
10034
10035 * manual/setjmp.texi: Document MTASC-safety properties.
10036
433c45a2
AO
10037 * manual/search.texi: Document MTASC-safety properties.
10038
c8ce789c
AO
10039 * manual/resource.texi: Document MTASC-safety properties.
10040
19f5d29c
AO
10041 * manual/process.texi: Document MTASC-safety properties.
10042
e2dfb7f4
AO
10043 * manual/platform.texi: Document MTASC-safety properties.
10044
8c1413f5
AO
10045 * manual/pipe.texi: Document MTASC-safety properties.
10046
03483ada
AO
10047 * manual/pattern.texi: Document MTASC-safety properties.
10048
29e7e2df
AO
10049 * manual/message.texi: Document MTASC-safety properties.
10050
9f529d7c
AO
10051 [BZ #12751]
10052 * manual/memory.texi: Document MTASC-safety properties.
10053
27aaa791
AO
10054 * manual/math.texi: Document MTASC-safety properties.
10055
f2d58726
AO
10056 * manual/locale.texi: Document MTASC-safety properties.
10057
2cc3615c
AO
10058 * manual/llio.texi: Document MTASC-safety properties.
10059
d9f0ec97
AO
10060 * manual/libdl.texi: New.
10061
e7c4409a
AO
10062 * manual/lang.texi: Document MTASC-safety properties.
10063
27bdc63c
AO
10064 * manual/job.texi: Document MTASC-safety properties.
10065
a7b90ea9
AO
10066 * manual/getopt.texi: Document MTASC-safety properties.
10067
c49130e3
AO
10068 * manual/ctype.texi: Document MTASC-safety properties.
10069
0d23a5c1
MR
100702014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10071
10072 [BZ #16046]
10073 * csu/libc-tls.c (static_map): Remove variable.
10074 (__libc_setup_tls): Use main executable's link map for TLS data.
10075 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10076 casing for LM_ID_BASE and GL(dl_nns).
10077 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10078 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10079 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10080 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10081 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10082 member.
10083 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10084 l_phnum members.
10085
0037bb60
AO
100862014-01-30 Alexandre Oliva <aoliva@redhat.com>
10087
10088 * manual/debug.texi: Document MTASC-safety properties.
10089
409e00bd
L
100902014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10091
10092 [BZ #16510]
10093 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10094 of __x86_64__ when disabling x87 inline functions.
10095
86e60666
AO
100962014-01-29 Alexandre Oliva <aoliva@redhat.com>
10097
10098 * manual/charset.texi: Document MTASC-safety properties.
10099
76167637
AO
10100 * manual/crypt.texi: Document MTASC-safety properties.
10101
e567f2a0
AO
10102 * manual/conf.texi: Document MTASC-safety properties.
10103
b719dafd
AO
10104 * manual/arith.texi: Document MTASC-safety properties.
10105
4a16c662
AO
10106 * manual/argp.texi: Document MTASC-safety properties.
10107
0a57b83e
AO
10108 * manual/macros.texi: Introduce macros to document multi
10109 thread, asynchronous signal and asynchronous cancellation
10110 safety properties.
10111 * manual/intro.texi: Introduce the properties themselves.
10112
feab2397
KK
101132014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10114
10115 * sysdeps/sh/sh4/Makefile: New file.
10116
1c0d11bc
AS
101172014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10118
10119 * math/gen-libm-test.pl ($srcdir): New variable.
10120 ($auto_input): Use it.
10121
af37a8a3
SP
101222014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10123
d7b00f98
SP
10124 [BZ #16506]
10125 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10126 access beyond array bounds when parsing netgroups file.
10127
af37a8a3
SP
10128 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10129 the old buffer before realloc.
10130
0c00f062
AM
101312014-01-27 Allan McRae <allan@archlinux.org>
10132
10133 * po/fr.po: Update French translation from translation project.
10134
7d69a1b0
KK
101352014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10136
10137 * sysdeps/sh/libm-test-ulps: Regenerate.
10138
6e697ff7
DM
101392014-01-24 David S. Miller <davem@davemloft.net>
10140
10141 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10142
9cadb35c
KK
101432014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10144
10145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10146 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10147
5d41dadf
SP
101482013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10149
10150 [BZ #16474]
10151 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10152 string pointers after reallocation.
10153
0bad441c
KK
101542014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10155
10156 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10157 __SH4A__ instead of __SH_FPU_ANY__.
10158
7007c661
KK
101592014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10160
10161 * sysdeps/sh/fpu_control.h: New file.
10162 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10163 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10164 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10165 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10166 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10167 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10168 * sysdeps/sh/sys/ucontext.h: Remove.
10169 * sysdeps/sh/sys: Remove directory.
10170
0f0c35e4
AK
101712014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10172
10173 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10174 s390/sys/ucontext.h.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10176 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10177
4959e284
L
101782014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 [BZ #15605]
10181 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10182
d98720e0
AZ
101832014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10184
10185 [BZ#16431]
10186 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10187 Adjust the vDSO correctly for internal calls.
10188 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10189
91cbd0bc
AM
101902014-01-20 Allan McRae <allan@archlinux.org>
10191
10192 * po/ca.po: Update Catalan translation from translation project.
10193
7a02cfad
MF
101942014-01-16 Mike Frysinger <vapier@gentoo.org>
10195
10196 * sysdeps/s390/sotruss-lib.c: New file.
10197
736c304a
AZ
101982014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199
10200 [BZ#16430]
6e077ee5 10201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10202 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10203 local calls issues by not having a PLT stub required for IFUNC calls.
10204 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10205
94d0cea0
JM
102062014-01-16 Joseph Myers <joseph@codesourcery.com>
10207
10208 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10209 * math/test-fpucw-static.c: Likewise.
10210
980cb518
SP
102112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10212
10213 [BZ #16453]
10214 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10215
2393fc01
AZ
102162014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217
10218 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10219 implementation for powerpc.
10220
d359bcc2
OB
102212014-01-15 Ondřej Bílka <neleai@seznam.cz>
10222
10223 [BZ #14782]
10224 * sysdeps/posix/system.c (__libc_system): Do not enable
10225 asynchronous cancellation.
10226
7beb48cb
AK
102272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10228
10229 [BZ #16427]
10230 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10231 handling only for numbers special also in the IEEE case.
10232
c20d5bf5
AK
102332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10234
10235 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10236
e83bd4ee
AM
102372014-01-11 Allan McRae <allan@archlinux.org>
10238
76d0ea69
AM
10239 * po/bg.po: Update Bulgarian translation from translation project.
10240
e83bd4ee
AM
10241 * po/de.po: Update German translation from translation project.
10242
bc2ba20a
RM
102432014-01-10 Roland McGrath <roland@hack.frob.com>
10244
10245 * sysdeps/generic/gcc-compat.h: New file.
10246
649ecea2
SP
102472014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10248
10249 * benchtests/asin-inputs: Correct slow inputs.
10250 * benchtests/acos-inputs: Likewise.
10251
1b19c006
AM
102522014-01-10 Allan McRae <allan@archlinux.org>
10253
a46dab08
AM
10254 * po:sv.po: Update Swedish translation from translation project.
10255
421df74a
AM
10256 * po/vi.po: Update Vietnamese translation from translation project.
10257
d61c51a7
AM
10258 * po/eo.po: Update Esperanto translation from translation project.
10259
0339a319
AM
10260 * po/cs.po: Update Czech translation from translation project.
10261
94ad3e99
AM
10262 * po/nl.po: Update Dutch translation from translation project.
10263
e349ca71
AM
10264 * po/pl.po: Update Polish translation from translation project.
10265
ddf930c1
AM
10266 * po/ru.po: Update Russian translation from translation project.
10267
1b19c006
AM
10268 * po/uk.po: Update Ukrainian translation from translation project.
10269
9f236c49
BM
102702014-01-08 Brooks Moses <bmoses@google.com>
10271
10272 * elf/dl-load.c: Fix comment typo.
10273
cd6701cf
CD
102742014-01-08 Carlos O'Donell <carlos@redhat.com>
10275
10276 * po/header.pot: Rename to...
10277 * po/pot.header: ... this.
10278 * po/Makefile: Use pot.header.
10279
66671c84
YK
102802014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10281 Maxim Kuvyrkov <maxim@kugelworks.com>
10282
10283 [BZ #16394]
cd6701cf
CD
10284 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10285 SRC and DEST against LEN.
66671c84 10286
38f34581
AZ
102872014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10288
10289 [BZ #16414]
10290 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10291 implementation.
10292 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10293
102942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10295
10296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10297
4c327f2a
JM
102982014-01-08 Joseph Myers <joseph@codesourcery.com>
10299
10300 [BZ #16408]
10301 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10302 for large positive arguments.
10303
b821f414
JM
103042014-01-07 Joseph Myers <joseph@codesourcery.com>
10305
1f0f2067
JM
10306 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10307
a5a326f6
JM
10308 * math/auto-libm-test-in: Mark various tests with
10309 xfail-rounding:ldbl-128ibm.
10310 * math/auto-libm-test-out: Regenerated.
10311
b821f414
JM
10312 [BZ #16407]
10313 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10314 Increase overflow threshold.
10315
94c8a4bc
OB
103162014-01-07 Ondřej Bílka <neleai@seznam.cz>
10317
10318 [BZ #14286]
10319 * stdio-common/vfprintf.c: Check for integer overflow.
10320
87ded0c3
AK
103212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10322
10323 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10324 the first argument and return value of __tls_get_addr_internal.
10325
c5eebdd0
AK
103262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10327
10328 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10329 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10330
05d138ef
AK
103312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10332
10333 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10334 * sysdeps/s390/rtld-global-offsets.sym: New file.
10335 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10336 GLIBC_2.19 symbol.
10337 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10338 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10339 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10340 ... this.
10341 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10342 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10343 ... this.
10344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10345 Regenerate.
10346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10347 Regenerate.
10348 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10349 halfs of GPRs for high_gprs contexts.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10351 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10352 field.
10353 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10354 uc_flags field.
10355 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10356 64 bit versions:
10357 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10358 for high GPRs (uc_high_gprs) and for future extensions
10359 (__reserved).
10360 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10361 for future extensions (__reserved).
10362 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10363 64 bit versions:
10364 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10365 SC_HIGHGPRS offset definition.
10366 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10367 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10368
93a45ff1
AK
10369 * Versions.def: Add GLIBC_2.19 for libpthread.
10370 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10371 siglongjmp for libpthread with GLIBC_2.19 symver.
10372 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10373 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10374 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10375 * sysdeps/s390/__longjmp.c: New file.
10376 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10377 * sysdeps/s390/longjmp.c: New file.
10378 * sysdeps/s390/setjmp.S: New file.
10379 * sysdeps/s390/sigjmp.S: New file.
10380 * sysdeps/s390/v1-longjmp.c: New file.
10381 * sysdeps/s390/v1-setjmp.h: New file.
10382 * sysdeps/s390/v1-sigjmp.c: New file.
10383 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10384 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10385 GLIBC_2.19 version.
10386 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10387 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10388 versioned symbols for ____longjmp_chk.
10389 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10390 Likewise.
10391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10392 Regenerate.
10393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10394 Regenerate.
10395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10396 Regenerate.
10397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10398 Regenerate.
10399 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10400 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10401 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10402 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10403 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10404 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10405 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10406 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10407 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10408 * sysdeps/s390/rtld-__longjmp.c: New file.
10409 * sysdeps/s390/rtld-setjmp.S: New file.
10410
eb3fc44b
JM
104112014-01-06 Joseph Myers <joseph@codesourcery.com>
10412
10413 [BZ #16400]
10414 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10415 Return -__logl (x) for small positive arguments without evaluating
10416 a polynomial.
10417
9341dde4
MF
104182014-01-06 Mike Frysinger <vapier@gentoo.org>
10419
10420 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10421 Rename to ...
10422 (__ptrace_peeksiginfo_args): ... this.
10423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10426
4cff0293
AM
104272014-01-06 Allan McRae <allan@archlinux.org>
10428
10429 * inet/netinet/in.h: Fix typo in comment.
10430
75595dcf
AJ
104312014-01-05 Andreas Jaeger <aj@suse.de>
10432
10433 * sysdeps/i386/fpu/libm-test-ulps: Update.
10434
79c1e109
AM
104352014-01-05 Allan McRae <allan@archlinux.org>
10436
dd804818
AM
10437 * po/libc.pot: Regenerated.
10438
79c1e109
AM
10439 * malloc/memusagestat.c: Fix gettext call formatting.
10440
0c813d1f
SK
104412014-01-04 Sami Kerola <kerolasa@iki.fi>
10442
10443 * nscd/nscd.c: Improve usage() output.
10444
20f4a8d9
MF
104452014-01-04 Mike Frysinger <vapier@gentoo.org>
10446
10447 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10448 * sysdeps/unix/sysv/linux/configure: Regenerated.
10449 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10450 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10451
22562bb2
JM
104522014-01-03 Joseph Myers <joseph@codesourcery.com>
10453
10454 [BZ #16390]
10455 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10456 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10457
d7ad2d9b
AZ
104582014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10459
10460 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10461 extra tokens at end of #undef directive.
10462 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10463 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10464 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10465
7dd009d8
JM
104662014-01-03 Joseph Myers <joseph@codesourcery.com>
10467
24db925a
JM
10468 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10469
7dd009d8
JM
10470 * math/auto-libm-test-in: Mark various tests with
10471 xfail-rounding:ldbl-128ibm.
10472 * math/auto-libm-test-out: Regenerated.
10473
396e3ecf
JM
104742014-01-02 Joseph Myers <joseph@codesourcery.com>
10475
819e5d50
JM
10476 [BZ #16386]
10477 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10478 numbers with subnormal high part when calculating exponent.
10479
90b6a1e5
JM
10480 [BZ #16385]
10481 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10482 fabs.
10483
396e3ecf
JM
10484 [BZ #16384]
10485 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10486 M_LN2l.
10487 (__ieee754_acoshl): Use __log1pl not __log1p.
10488
6c8dbf00
OB
104892013-01-02 Ondřej Bílka <neleai@seznam.cz>
10490
57f41c40
AS
10491 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10492 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10493 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10494 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10495 (reused_arena, arena_get2): Convert to GNU style.
10496 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10497 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10498 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10499 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10500 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10501 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10502 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10503 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10504 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10505 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10506 * malloc/malloc.h: Likewise.
57f41c40
AS
10507 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10508 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10509 * malloc/mcheck.h: Likewise.
57f41c40
AS
10510 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10511 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10512 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10513 * malloc/morecore.c (__default_morecore): Likewise.
10514 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10515 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10516 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10517 (print_and_abort): Likewise.
6c8dbf00
OB
10518 * malloc/obstack.h: Likewise.
10519 * malloc/set-freeres.c (__libc_freeres): Likewise.
10520 * malloc/tst-mallocstate.c (main): Likewise.
10521 * malloc/tst-mtrace.c (main): Likewise.
10522 * malloc/tst-realloc.c (do_test): Likewise.
10523
d4124212
SP
105242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10525
9a3c6a6f
SP
10526 [BZ #16366]
10527 * nscd/netgroupcache.c (do_notfound): New function.
10528 (addgetnetgrentX): Use it.
10529
d4124212
SP
10530 [BZ # 16365]
10531 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10532 NSS_STATUS_NOTFOUND.
10533
97b9a009
JM
105342014-01-01 Joseph Myers <joseph@codesourcery.com>
10535
10536 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10538
d4697bc9
AM
105392014-01-01 Allan McRae <allan@archlinux.org>
10540
ddb3687f
AM
10541 * scripts/update-copyrights: Update configure input file suffix.
10542
88726d48
AM
10543 * NEWS: Update copyright year.
10544 * catgets/gencat.c: Likewise.
10545 * csu/version.c: Likewise.
10546 * debug/catchsegv.sh: Likewise.
10547 * debug/pcprofiledump.c: Likewise.
10548 * debug/xtrace.sh: Likewise.
10549 * elf/ldconfig.c: Likewise.
10550 * elf/ldd.bash.in: Likewise.
10551 * elf/pldd.c: Likewise.
10552 * elf/sotruss.ksh: Likewise.
10553 * elf/sprof.c: Likewise.
10554 * iconv/iconv_prog.c: Likewise.
10555 * iconv/iconvconfig.c: Likewise.
10556 * locale/programs/locale.c: Likewise.
10557 * locale/programs/localedef.c: Likewise.
10558 * login/programs/pt_chown.c: Likewise.
10559 * malloc/memusage.sh: Likewise.
10560 * malloc/memusagestat.c: Likewise.
10561 * malloc/mtrace.pl: Likewise.
10562 * manual/libc.texinfo: Likewise.
10563 * nscd/nscd.c: Likewise.
10564 * nss/getent.c: Likewise.
10565 * nss/makedb.c: Likewise.
10566 * posix/getconf.c: Likewise.
10567 * scripts/test-installation.pl: Likewise.
10568
d4697bc9
AM
10569 * All files with FSF copyright notices: Update copyright dates
10570 using scripts/update-copyrights.
10571 * intl/plural.c: Regenerated.
10572 * locale/programs/charmap-kw.h: Likewise.
10573 * locale/programs/locfile-kw.h: Likewise.
10574
c8590f9d
MF
105752013-12-31 Mike Frysinger <vapier@gentoo.org>
10576
10577 * sysdeps/unix/sysv/linux/configure: Regenerated.
10578 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10579 the linux/fanotify.h header.
10580 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10581 HAVE_LINUX_FANOTIFY_H is defined.
10582
b19221b9
SP
105832013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10584
dd1d85e5
SP
10585 * benchtests/cos-inputs: New inputs.
10586 * benchtests/sin-inputs: Likewise.
10587
1acbb90f
SP
10588 * benchtests/atan-inputs: New inputs. Fix name of multiple
10589 precision fallback inputs.
10590
4c012ed3
SP
10591 * benchtests/atanh-inputs: New inputs.
10592 * benchtests/tanh-inputs: Likewise.
10593
eff98324
SP
10594 * benchtests/acosh-inputs: New inputs.
10595 * benchtests/asinh-inputs: Likewise.
10596
ce641152
SP
10597 * benchtests/cosh-inputs: New inputs.
10598 * benchtests/sinh-inputs: Likewise.
10599
b19221b9
SP
10600 * benchtests/acos-inputs: Add more inputs.
10601 * benchtests/asin-inputs: Likewise.
10602
030a4976 106032013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10604
030a4976 10605 [BZ #16375]
9dcc8f11
VS
10606 * manual/arith.texi: Fix spelling.
10607 * manual/charset.texi: Likewise.
10608 * manual/errno.texi: Likewise.
10609 * manual/filesys.texi: Likewise.
10610 * manual/lang.texi: Likewise.
10611 * manual/llio.texi: Likewise.
10612 * manual/locale.texi: Likewise.
10613 * manual/message.texi: Likewise.
10614 * manual/resource.texi: Likewise.
10615 * manual/search.texi: Likewise.
10616 * manual/setjmp.texi: Likewise.
10617 * manual/stdio.texi: Likewise.
10618 * manual/string.texi: Likewise.
10619 * manual/sysinfo.texi: Likewise.
10620 * manual/time.texi: Likewise.
10621
11520a57
CD
106222013-12-27 Carlos O'Donell <carlos@redhat.com>
10623
10624 * po/sl.po: New file.
10625
471103ae
MF
106262013-12-27 Mike Frysinger <vapier@gentoo.org>
10627
10628 * .gitignore: Add core/.gdbinit/.gdb_history.
10629
6c9642ed
AM
106302013-12-27 Allan McRae <allan@archlinux.org>
10631
10632 [BZ #16369]
10633 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10634 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10635
3f637079
BM
106362013-12-24 Brooks Moses <bmoses@google.com>
10637
10638 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10639 all compilers that claim C++98 compliance, not just GCC.
10640 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10641 Likewise.
10642
abc26e99
MK
106432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10644
10645 * NEWS: Restore accidentally deleted bug-fix entries.
10646
362b47fe
MK
106472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10648 Ondřej Bílka <neleai@seznam.cz>
10649
10650 [BZ #15073]
10651 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10652 have_lock.
362b47fe 10653
b9bcbbcb
OB
106542013-12-23 Ondřej Bílka <neleai@seznam.cz>
10655
10656 [BZ #12986]
10657 * manual/stdio.texi (String Input Conversions): Clarify that character
10658 classes are not supported.
10659
fb55fcd2
AZ
106602013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10661
10662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10663
ef7344f0
JM
106642013-12-22 Joseph Myers <joseph@codesourcery.com>
10665
4f40e4b3
JM
10666 [BZ #16337]
10667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10668 Calculate results for small negative arguments directly rather
10669 than using reflection formula with special underflow handling.
10670
ef7344f0
JM
10671 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10672 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10673 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10674 (fchflags): Likewise.
10675 (revoke): Likewise.
10676 (setlogin): Likewise.
10677 (sigaltstack): Likewise.
10678 (wait4): Likewise.
10679 (sigblock): Remove.
10680 (sigsetmask): Likewise.
10681 (wait3): Likewise.
10682 (waitpid): Likewise.
10683 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10684 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10685 file.
10686 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10687 * sysdeps/unix/bsd/Makefile: ... here.
10688 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10689 * sysdeps/unix/bsd/Versions: ... here.
10690 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10691 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10692 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10693 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10694 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10695 * sysdeps/unix/bsd/sigblock.c: ... here.
10696 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10697 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10698 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10699 * sysdeps/unix/bsd/sigvec.c: ... here.
10700 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10701 * sysdeps/unix/bsd/tcdrain.c: ... here.
10702 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10703 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10704 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10705 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10706 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10707 * sysdeps/unix/bsd/wait.c: ... here.
10708 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10709 * sysdeps/unix/bsd/wait3.c: ... here.
10710 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10711 * sysdeps/unix/bsd/waitpid.c: ... here.
10712
5b0626b9
JM
107132013-12-21 Joseph Myers <joseph@codesourcery.com>
10714
10715 [BZ #16356]
10716 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10717 round-to-nearest for [!USE_AS_EXPM1L].
10718 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10719 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10720 more tests of exp and exp10. Expect some exp10 tests to miss
10721 exceptions or fail in directed rounding modes.
10722 * math/auto-libm-test-out: Regenerated.
10723 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10724 (exp10_test_tonearest): New function.
10725 (exp10_towardzero_test_data): New array.
10726 (exp10_test_towardzero): New function.
10727 (exp10_downward_test_data): New array.
10728 (exp10_test_downward): New function.
10729 (exp10_upward_test_data): New array.
10730 (exp10_test_upward): New function.
10731 (main): Call the new functions.
10732 * sysdeps/i386/fpu/libm-test-ulps: Update.
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10734
7fda5682
JM
107352013-12-20 Joseph Myers <joseph@codesourcery.com>
10736
31e3a405
JM
10737 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10738 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10739 * math/auto-libm-test-out: Regenerated.
10740 * math/libm-test.inc (acosh_test_data): Add more tests.
10741 (atanh_test_data): Likewise.
10742 (ceil_test_data): Likewise.
10743 (copysign_test_data): Likewise.
10744 * sysdeps/i386/fpu/libm-test-ulps: Update.
10745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10746
85bff96a
JM
10747 * timezone/checktab.awk: Update from tzcode 2013i.
10748 * timezone/private.h: Likewise.
10749 * timezone/scheck.c: Likewise.
10750 * timezone/tzfile.h: Likewise.
10751 * timezone/tzselect.ksh: Likewise.
10752 * timezone/zdump.c: Likewise.
10753 * timezone/zic.c: Likewise.
10754
b7867a3b
JM
10755 * math/auto-libm-test-in: Add tests of cpow.
10756 * math/auto-libm-test-out: Regenerated.
10757 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10758 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10759 mpc_cc_c.
10760 (func_calc_desc): Add mpc_cc_c union field.
10761 (test_functions): Add cpow.
10762 (special_fill_2pi): New function.
10763 (special_real_inputs): Add 2pi.
10764 (calc_generic_results): Handle mpc_cc_c.
10765 * sysdeps/i386/fpu/libm-test-ulps: Update.
10766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10767
7fda5682
JM
10768 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10769 csqrt, ctan and ctanh.
10770 * math/auto-libm-test-out: Regenerated.
10771 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10772 (TEST_COND_x86): Likewise.
10773 (ccos_test_data): Use AUTO_TESTS_c_c.
10774 (ccosh_test_data): Likewise.
10775 (cexp_test_data): Likewise.
10776 (clog_test_data): Likewise.
10777 (csqrt_test_data): Likewise.
10778 (ctan_test_data): Likewise.
10779 (ctan_tonearest_test_data): Likewise.
10780 (ctan_towardzero_test_data): Likewise.
10781 (ctan_downward_test_data): Likewise.
10782 (ctan_upward_test_data): Likewise.
10783 (ctanh_test_data): Likewise.
10784 (ctanh_tonearest_test_data): Likewise.
10785 (ctanh_towardzero_test_data): Likewise.
10786 (ctanh_downward_test_data): Likewise.
10787 (ctanh_upward_test_data): Likewise.
10788 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10789 mpc_c_c.
10790 (func_calc_desc): Add mpc_c_c union field.
10791 (FUNC_mpc_c_c): New macro.
10792 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10793 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10794 ctanh.
10795 (special_fill_min_subnorm_p120): New function.
10796 (special_real_inputs): Add min_subnorm_p120.
10797 (calc_generic_results): Handle mpc_c_c.
10798 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10800
5ff8d60e
SP
108012013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10802
57f41c40
AS
10803 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10804 (do_sin_slow): New functions.
10805 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10806 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10807
84ba214c
SP
10808 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10809 Use M to change sign of result instead of X. Assume X is
10810 positive.
10811 (csloww1): Likewise.
10812 (__sin): Adjust.
10813 (__cos): Adjust.
10814
975195e4
SP
10815 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10816 arguments A and DA.
10817 (__sin): Adjust.
10818 (__cos): Likewise.
10819
5ff8d60e
SP
10820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10821 (__cos): Likewise.
10822 (sloww1): Don't adjust sign of DX.
10823 (csloww1): Likewise.
10824 (sloww2): Use X directly and don't adjust sign of DX.
10825 (csloww2): Likewise.
10826
eb983568
JM
108272013-12-19 Joseph Myers <joseph@codesourcery.com>
10828
64a17f1a
JM
10829 * math/auto-libm-test-in: Add tests of cabs and carg.
10830 * math/auto-libm-test-out: Regenerated.
10831 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10832 (carg_test_data): Likewise.
10833 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10834 mpc_c_f.
10835 (func_calc_desc): Add mpc_c_f union field.
10836 (test_functions): Add cabs and carg.
10837 (calc_generic_results): Handle mpc_c_f.
10838
eb983568
JM
10839 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10840 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10841 as a macro and a compat symbol.
10842 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10843 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10844 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10845 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10846 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10847 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10848 not use .hidden.
10849 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10850 Likewise.
10851 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10852 Likewise.
10853 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10854 Likewise.
10855 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10856 Likewise.
10857 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10858 Likewise.
10859 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10860 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10861 from GLIBC_2.3.2.
10862
6eeb678a
AZ
108632013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10864
10865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10866
6f6fc482
JM
108672013-12-19 Joseph Myers <joseph@codesourcery.com>
10868
21fea2e2
JM
10869 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10870 trailing whitespace removed.
10871 * scripts/config.guess: Update to version 2013-11-29.
10872 * scripts/config.sub: Update to version 2013-10-01.
10873
6f6fc482
JM
10874 * math/auto-libm-test-in: Add tests of sincos.
10875 * math/auto-libm-test-out: Regenerated.
10876 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10877 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10878 mpfr_f_11.
10879 (func_calc_desc): Add mpfr_f_11 union field.
10880 (test_functions): Add sincos.
10881 (calc_generic_results): Handle mpfr_f_11.
10882 * sysdeps/i386/fpu/libm-test-ulps: Update.
10883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10884
83f5c32d
AS
108852013-12-19 Andreas Schwab <schwab@suse.de>
10886
10887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10888 CALL_MCOUNT.
10889 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10890 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10891 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10892
c688b419
JM
108932013-12-19 Joseph Myers <joseph@codesourcery.com>
10894
335ee092
JM
10895 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10896 * sysdeps/i386/fpu/libm-test-ulps: Update.
10897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10898
f88acd39
JM
10899 [BZ #16293]
10900 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10901 round-to-nearest mode when using frndint.
10902 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10903 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10904 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10905 Likewise.
10906 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10907 sinh test to fail.
10908 * math/auto-libm-test-out: Regenerated.
10909 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10910 (TEST_COND_x86): Likewise.
10911 (expm1_tonearest_test_data): New array.
10912 (expm1_test_tonearest): New function.
10913 (expm1_towardzero_test_data): New array.
10914 (expm1_test_towardzero): New function.
10915 (expm1_downward_test_data): New array.
10916 (expm1_test_downward): New function.
10917 (expm1_upward_test_data): New array.
10918 (expm1_test_upward): New function.
10919 (main): Run the new test functions.
10920 * sysdeps/i386/fpu/libm-test-ulps: Update.
10921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10922
c688b419
JM
10923 * include/features.h: Update comment documenting feature test
10924 macros. Mention _DEFAULT_SOURCE in comment.
10925 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10926 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10927 _BSD_SOURCE and _SVID_SOURCE.
10928 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10929 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10930 !_SVID_SOURCE]: Likewise.
10931 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10932 (__USE_POSIX_IMPLICITLY): Define.
10933 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10934 (_POSIX_SOURCE): Undefine and redefine.
10935 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10936 (_POSIX_C_SOURCE): Likewise.
10937 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10938 (Feature Test Macros): Update documentation of default features.
10939
9f6e964c
RS
109402013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10941
10942 * benchtests/Makefile: Add bench-strtok.
10943 * benchtests/bench-strtok.c: New file: strtok benchtest.
10944
ee0a148a
AM
109452013-12-19 Allan McRae <allan@archlinux.org>
10946
10947 * manual/install.texi: Suppress menu for plain text output.
10948 * INSTALL: Regenerated.
10949
b9ab448f
BM
109502013-12-18 Brooks Moses <bmoses@google.com>
10951
10952 [BZ #15846]
10953 * misc/getauxval.c: Include errno.h.
10954 (__getauxval): Set errno to ENOENT if the requested type is not
10955 found.
10956 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10957 don't declare with __attribute_const__.
10958 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10959 * manual/startup.texi: Document that getauxval sets errno.
10960
23776487
JM
109612013-12-18 Joseph Myers <joseph@codesourcery.com>
10962
f889953b
JM
10963 * math/auto-libm-test-in: Add tests of jn and yn.
10964 * math/auto-libm-test-out: Regenerated.
10965 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10966 (yn_test_data): Likewise.
10967 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10968 mpfr_if_f.
10969 (func_calc_desc): Add mpfr_if_f union field.
10970 (FUNC_mpfr_if_f): New macro.
10971 (test_functions): Add jn and yn.
10972 (calc_generic_results): Assert type of second input for
10973 mpfr_ff_f. Handle mpfr_if_f.
10974 (output_for_one_input_case): Disable all checking for arguments
10975 fitting floating-point types in case of an integer argument.
10976 * sysdeps/i386/fpu/libm-test-ulps: Update.
10977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10978
23776487
JM
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10980 Don't expect fegetround reference in libm.so.
10981
cb756c6d
MS
109822013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10983
10984 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10985 $(config-cflags-nofma).
10986
2dec468f
JM
109872013-12-18 Joseph Myers <joseph@codesourcery.com>
10988
5953eb3a
JM
10989 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10990 * math/auto-libm-test-out: Regenerated.
10991
2dec468f
JM
10992 [BZ #16338]
10993 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10994 to determine exponent and adjust argument to have exponent of -1.
10995 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10996 log2.
10997 * math/auto-libm-test-out: Regenerated.
10998 * sysdeps/i386/fpu/libm-test-ulps: Update.
10999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11000
4d84e6ad
OB
110012013-12-18 Ondřej Bílka <neleai@seznam.cz>
11002
11003 * manual/probes.texi: Remove cases when per-thread arenas are
11004 disabled.
11005
1818483b
AS
110062013-12-18 Andreas Schwab <schwab@suse.de>
11007
11008 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11009 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11010 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11011 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11012 * sysdeps/i386/i686/multiarch/Makefile: Update.
11013 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11014
25de95bf
JM
110152013-12-17 Joseph Myers <joseph@codesourcery.com>
11016
11017 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11018 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11019
674762d9
PE
110202013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11021
ed27ed83 11022 [BZ #15968]
0748546f
PE
11023 Support TZ transition times < 00:00:00.
11024 This is needed for version-3 tz-format files; it supports time
11025 stamps past 2037 for America/Godthab (the only entry in the tz
11026 database for which this change is relevant).
11027 * manual/time.texi (TZ Variable): Document transition times
11028 from -167:59:59 through -00:00:01.
11029 * time/tzset.c (tz_rule): Time of day is now signed.
11030 (__tzset_parse_tz): Parse negative time of day.
11031
4480e934
PE
11032 Document TZ transition times >= 25:00:00.
11033 * manual/time.texi (TZ Variable): Document transition times from
11034 25:00:00 through 167:59:59. These are already supported, and this
11035 support will help with version-3 tz-format files.
11036
69947401
PE
11037 * manual/time.texi (TZ Variable): Modernize North America example
11038 to reflect current (i.e., 2007-and-later) daylight saving rules.
11039
674762d9
PE
11040 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11041
7011c262
JM
110422013-12-17 Joseph Myers <joseph@codesourcery.com>
11043
2fc6557e
JM
11044 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11045 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11048 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11049 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11050 * sysdeps/unix/bsd/clock.c: Likewise.
11051 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11052 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11053 * sysdeps/unix/bsd/init-posix.c: Likewise.
11054 * sysdeps/unix/bsd/poll.c: Likewise.
11055 * sysdeps/unix/bsd/ptsname.c: Likewise.
11056 * sysdeps/unix/bsd/seekdir.c: Likewise.
11057 * sysdeps/unix/bsd/setegid.c: Likewise.
11058 * sysdeps/unix/bsd/seteuid.c: Likewise.
11059 * sysdeps/unix/bsd/setgid.c: Likewise.
11060 * sysdeps/unix/bsd/setrgid.c: Likewise.
11061 * sysdeps/unix/bsd/setruid.c: Likewise.
11062 * sysdeps/unix/bsd/setsid.c: Likewise.
11063 * sysdeps/unix/bsd/setuid.c: Likewise.
11064 * sysdeps/unix/bsd/sigaction.c: Likewise.
11065 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11066 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11067 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11068 * sysdeps/unix/bsd/telldir.c: Likewise.
11069 * sysdeps/unix/bsd/times.c: Likewise.
11070 * sysdeps/unix/bsd/usleep.c: Likewise.
11071
029c7b25
JM
11072 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11073 ($(objpfx)libbsd-compat.a): Remove rule.
11074
7011c262
JM
11075 * include/features.h (__FAVOR_BSD): Do not define.
11076 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11077 features conflicting with POSIX.
11078 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11079 (_BSD_SOURCE): Remove description of not being a subset of other
11080 feature test macros.
11081 * manual/job.texi (getpgrp): Do not document BSD version.
11082 (getpgid): Do not document by reference to BSD getpgrp.
11083 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11084 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11085 * signal/signal.h [__FAVOR_BSD]: Likewise.
11086 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11087 instead of making contents conditional on [__FAVOR_BSD].
11088 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11089
affb6f78
AZ
110902013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11091
11092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11093
c88769dd
JM
110942013-12-17 Joseph Myers <joseph@codesourcery.com>
11095
6432a540
JM
11096 [BZ #16314]
11097 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11098 values below 2**-450, not 2**-500.
11099 * math/auto-libm-test-in: Don't allow spurious underflow from
11100 hypot.
11101 * math/auto-libm-test-out: Regenerated.
11102
c88769dd
JM
11103 [BZ #16316]
11104 [BZ #16330]
11105 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11106 values of ha and hb and sort them after adjusting subnormal
11107 arguments.
11108 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11109 Likewise.
11110 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11111 values of ea and eb and sort them after adjusting subnormal
11112 arguments.
11113 * math/auto-libm-test-in: Do not expect some hypot tests of
11114 subnormals to fail. Add more hypot tests.
11115 * math/auto-libm-test-out: Regenerated.
11116
29618f6b
KK
111172013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11118
11119 [BZ #13304]
11120 * sysdeps/sh/s_fma.c: New file.
11121 * sysdeps/sh/s_fmaf.c: New file.
11122 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11123 version.
11124 * sysdeps/sh/Implies: Add sh/soft-fp.
11125
eacfdfbf
RM
111262013-12-16 Roland McGrath <roland@hack.frob.com>
11127
11128 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11129 level of indirection to members `objname', `errstring', `malloced'.
11130 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11131 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11132 it as the __longjmp argument (just pass 1 instead).
11133 (_dl_catch_error): Initialize C with argument pointers and address of
11134 volatile local ERRCODE rather than copying values out of C at return.
11135
ff362e5b
JM
111362013-12-16 Joseph Myers <joseph@codesourcery.com>
11137
11138 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11139 * math/auto-libm-test-out: Regenerated.
11140 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11141 (hypot_test_data): Likewise.
11142 (pow_test_data): Likewise.
11143 (pow_tonearest_test_data): Likewise.
11144 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11145 mpfr_ff_f.
11146 (func_calc_desc): Add mpfr_ff_f union field.
11147 (FUNC_mpfr_ff_f): New macro.
11148 (test_functions): Add atan2, hypot and pow.
11149 (special_fill_min): New function.
11150 (special_fill_minus_min): Likewise.
11151 (special_fill_min_subnorm): Likewise.
11152 (special_fill_minus_min_subnorm): Likewise.
11153 (special_real_inputs): Add min, -min, min_subnorm and
11154 -min_subnorm.
11155 (calc_generic_results): Handle mpfr_ff_f.
11156 * sysdeps/i386/fpu/libm-test-ulps: Update.
11157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11158
5764c27f
WN
111592013-12-16 Will Newton <will.newton@linaro.org>
11160
11161 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11162 (Aligned Memory Blocks): Add documentation for aligned_alloc
11163 and suggest it as an alternative to posix_memalign.
11164 (Hooks for Malloc): Document __memalign_hook is also called
11165 for aligned_alloc. (Summary of Malloc): Add summary for
11166 aligned alloc. Document __memalign_hook is also called
11167 for aligned_alloc.
11168
0a096e44
WN
111692013-12-16 Will Newton <will.newton@linaro.org>
11170
11171 * manual/memory.texi (Malloc Examples): Clarify default
11172 alignment documentation. Suggest posix_memalign rather
11173 than memalign or valloc.
11174 (Aligned Memory Blocks): Remove suggestion to use memalign
11175 or valloc. Remove obsolete comment about BSD.
11176 Document memalign errno values and mark the function obsolete.
11177 Document posix_memalign returned error codes. Mark valloc
11178 as obsolete. (Hooks for Malloc): __memalign_hook is also
11179 called for posix_memalign and valloc.
11180 (Summary of Malloc): Add posix_memalign to function summary.
11181 __memalign_hook is also called for posix_memalign and valloc.
11182
8d561986
SP
111832013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11184
11185 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11186 TAYLOR_SIN.
11187 (__sin): Adjust.
11188 (__cos): Likewise.
11189 (sloww): Use mynumber union. Expand ternary operator into
11190 if-else statements.
11191 (cslow): use mynumber union.
11192
73616a74
AM
111932013-12-16 Allan McRae <allan@archlinux.org>
11194
9e8ac24b
AM
11195 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11196 * configure: Regenerated.
11197
6f8e37eb
AM
11198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11199
8894bad3
AM
11200 [BZ #14120]
11201 * configure.ac: Added --enable-maintainer-mode. Check for
11202 autoconf when enabled.
11203 * configure: Regenerated.
11204
73616a74
AM
11205 * nscd/nscd.service: New file.
11206 * nscd/nscd.tmpfiles: New file.
11207
584b18eb
OB
112082013-12-14 Ondřej Bílka <neleai@seznam.cz>
11209
11210 [BZ #12100]
11211 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11212 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11213 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11214 (strstr): Add __strstr_sse2_unaligned ifunc.
11215 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11216 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11217 (strcasestr): Remove __strcasestr_sse42 ifunc.
11218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11221
8a5c7897
KK
112222013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11223
11224 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11225 * sysdeps/sh/bits/fenv.h: ... here.
11226 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11227
fd712ef3
AZ
112282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11229
11230 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11231
42fcb46c
AZ
11232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11233 hypotf multiarch implementations.
11234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11237 multiarch hypot for PPC64.
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11241 multiarch hypotf for PPC64.
11242
83efded4
AZ
11243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11244 modff multiarch implementations.
11245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11248 multiarch modf for PPC64.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11252 multiarch modff for PPC64.
11253
43e246d2
AZ
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11255 and logl multiarch implementations.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11259 multiarch logb for PPC64.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11263 multiarch logb for PPC64.
11264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11267 multiarch logb for PPC64.
11268
8fdad123
AZ
11269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11270 isinff multiarch implementation.
11271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11272 file.
11273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11275 multiarch isinf for PPC64.
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11277 file.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11279 multiarch isinff for PPC64.
11280
1481d706
AZ
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11282 finitef multiarch implementation.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11284 file.
11285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11287 multiarch finite for PPC64.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11289 file.
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11291 multiarch finitef for PPC64.
11292
5ccd5fc8
AZ
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11294 lrint multiarch implementation.
11295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11296 file.
11297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11299 multiarch llrint for PPC64.
11300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11301 multiarch lrint for PPC64.
11302
2568f3fa
AZ
11303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11304 copysignf multiarch implementation.
11305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11306 file.
11307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11308 file.
11309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11310 multiarch copysign for PPC64.
11311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11312 multiarch copysignf for PPC64.
11313
1cb341fd
AZ
11314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11315 multiarch implementation.
11316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11317 file.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11319 file.
11320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11321 file.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11323 file.
11324 multiarch llround for PPC64.
11325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11326 multiarch trunc for PPC64.
11327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11328 multiarch truncf for PPC64.
11329
59a3e194
AZ
11330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11331 multiarch implementation.
11332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11333 file.
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11335 file.
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11337 file.
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11339 file.
11340 multiarch llround for PPC64.
11341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11342 multiarch round for PPC64.
11343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11344 multiarch roundf for PPC64.
11345
357fd3b4
AZ
11346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11347 multiarch implementation.
11348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11349 file.
11350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11351 file.
11352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11353 file.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11355 file.
11356 multiarch llround for PPC64.
11357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11358 multiarch floor for PPC64.
11359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11360 multiarch floorf for PPC64.
11361
96770f12
AZ
11362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11363 multiarch implementation.
11364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11365 file.
11366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11367 file.
11368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11369 file.
11370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11371 file.
11372 multiarch llround for PPC64.
11373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11374 multiarch ceil for PPC64.
11375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11376 multiarch ceilf for PPC64.
11377
c3627f6e
AZ
11378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11379 multiarch implementation.
11380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11381 file.
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11383 file.
11384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11385 file.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11387 multiarch llround for PPC64.
11388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11389 multiarch lround for PPC64.
11390
b2284ad7
AZ
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11392 multiarch implementation.
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11396 file.
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11400 multiarch isnan for PPC64.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11402 multiarch isnanf for PPC64.
11403
69bbc63d
AZ
11404 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11405 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11406 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11407 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11408 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11410
c24517c9
AZ
11411 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11412 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11413 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11415
a52374e8
AZ
11416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11417 multiarch implementations.
11418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11419 (__libc_ifunc_impl_list): Likewise.
11420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11421 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11422 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11423 multiarch stpcpy for PPC64.
11424
7f5ec113
AZ
11425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11426 multiarch implementations.
11427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11428 (__libc_ifunc_impl_list): Likewise.
11429 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11430 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11431 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11432 multiarch strcpy for PPC64.
11433
e28bcd42
AZ
11434 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11435 redefine function name.
11436 (_wordcopy_fwd_dest_aligned): Likewise.
11437 (_wordcopy_bwd_aligned): Likewise.
11438 (_wordcopy_bwd_dest_aligned): Likewise.
11439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11440 multiarch implementations.
11441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11442 (__libc_ifunc_impl_list): Likewise.
11443 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11444 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11445 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11446 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11447 multiarch wcscpy for PPC64.
11448
92cacfce
AZ
11449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11450 multiarch implementations.
11451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11452 (__libc_ifunc_impl_list): Likewise.
11453 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11454 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11455 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11456 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11457 multiarch wcscpy for PPC64.
11458
7b714620
AZ
11459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11460 multiarch implementations.
11461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11462 (__libc_ifunc_impl_list): Likewise.
11463 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11464 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11465 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11466 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11467 multiarch wcsrchr for PPC64.
11468
16fd2ae3
AZ
11469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11470 multiarch implementations.
11471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11472 (__libc_ifunc_impl_list): Likewise.
11473 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11474 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11475 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11476 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11477 multiarch wcschr for PPC64.
11478
9ee2969b
AZ
11479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11480 multiarch implementations.
11481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11482 (__libc_ifunc_impl_list): Likewise.
11483 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11484 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11485 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11486 multiarch strchrnul for PPC64.
11487
372dc060
AZ
11488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11489 implementations.
11490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11491 (__libc_ifunc_impl_list): Likewise.
11492 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11493 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11494 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11495 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11496 strchr for PPC64.
11497
24c2c3b9
AZ
11498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11499 implementations.
11500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11501 (__libc_ifunc_impl_list): Likewise.
11502 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11503 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11504 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11505 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11506 strncmp for PPC64.
11507
1c92d9a0
AZ
11508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11509 multiarch implementations.
11510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11511 (__libc_ifunc_impl_list): Likewise.
11512 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11513 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11514 strncasecmp for PPC64.
11515 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11516 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11517 multiarch strncasecmp_l for PPC64.
11518
17de3ee3
AZ
11519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11520 multiarch implementations.
11521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11522 (__libc_ifunc_impl_list): Likewise.
11523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11525 multiarch strcasecmp for PPC64.
11526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11527 file.
11528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11529 multiarch strcasecmp_l for PPC64.
11530
62982bf9
AZ
11531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11532 implementations.
11533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11534 (__libc_ifunc_impl_list): Likewise.
11535 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11536 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11537 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11538 strnlen for PPC64.
11539
a65f4904
AZ
11540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11541 implementations.
11542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11543 (__libc_ifunc_impl_list): Likewise.
11544 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11545 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11546 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11547 strlen for PPC64.
11548
1fd005ad
AZ
11549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11550 implementations.
11551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11552 (__libc_ifunc_impl_list): Likewise.
11553 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11554 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11555 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11556 rawmemrchr for PPC64.
11557
cd05ba91
AZ
11558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11559 implementation.
11560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11561 (__libc_ifunc_impl_list): Likewise.
11562 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11563 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11564 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11565 memrchr for PPC64.
11566
870f8676
AZ
11567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11568 implementation.
11569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11570 (__libc_ifunc_impl_list): Likewise.
11571 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11572 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11573 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11574 memchr for PPC64.
11575
f00be62b
AZ
11576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11577 implementation.
11578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11579 (__libc_ifunc_impl_list): Likewise.
11580 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11581 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11582 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11583 mempcpy for PPC64.
11584
8a29a3d0
AZ
11585 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11586 avoid cretion of __bzero symbol.
11587 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11588 Likewise.
11589 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11590 Likewise.
11591 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11592 Likewise.
11593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11594 multiarch implementations.
11595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11596 (__libc_ifunc_impl_list): Likewise.
11597 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11598 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11599 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11600 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11601 bzero for PPC32.
11602 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11603 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11604 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11605 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11606 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11607 memset for PPC64.
11608 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11609
07253fcf
AZ
11610 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11612 implementations.
11613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11614 (__libc_ifunc_impl_list): Likewise.
11615 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11616 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11617 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11618 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11619 memcmp for PPC64.
11620
b5beafbc
AZ
11621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11622 multiarch for POWER/PPC64.
11623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11624 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11627 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11630 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11631 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11632 memcpy for PPC64.
11633
5e6a4d4b
AZ
11634 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11635 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11636 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11637 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11638 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11639 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11640 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11641 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11642 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11643 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11644 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11645 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11646 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11647 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11648 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11656
ddfab6dc
KK
116572013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11658
11659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11660
19b5525e
SP
116612013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11662
11663 * benchtests/Makefile (bench): Add exp2 and log2.
11664 (LDLIBS-bench-exp2): Add -lm.
11665 (LDLIBS-bench-log2): Likewise.
11666 * benchtests/exp2-inputs: New inputs file.
11667 * benchtests/log2-inputs: New inputs file.
11668 * benchtests/log-inputs: Add new inputs.
11669 * benchtests/tan-inputs: Likewise.
11670
196f7f5d
SP
116712013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11672
7a74607f
SP
11673 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11674 definition...
57f41c40
AS
11675 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11676 (csloww2): ... from here.
7a74607f 11677
196f7f5d
SP
11678 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11679 instead of structures.
11680 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11681 (POLYNOMIAL): Likewise.
11682 (TAYLOR_SLOW): Likewise.
11683 (__sin): Likewise.
11684 (__cos): Likewise.
11685 (slow1): Likewise.
11686 (slow2): Likewise.
11687 (sloww): Likewise.
11688 (sloww1); Likewise.
11689 (sloww2): Likewise.
11690 (bsloww1): Likewise.
11691 (bsloww2): Likewise.
11692 (cslow2): Likewise.
11693 (csloww): Likewise.
11694 (csloww1): Likewise.
11695 (csloww2): Likewise.
11696
0dfa665c
OB
116972013-12-10 Ondřej Bílka <neleai@seznam.cz>
11698
11699 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11700 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11701 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11702 * malloc/hooks.c (realloc_check): Likewise.
11703
5782a80f
OB
11704 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11705 * malloc/arena.c: Remove PER_THREAD conditional.
11706 [!PER_THREAD]: Remove code.
11707 (ptmalloc_unlock_all2): Likewise.
11708 (ptmalloc_init): Likewise.
11709 (_int_new_arena): Likewise.
11710 (arena_get2): Likewise.
11711 * malloc/hooks.c (__malloc_get_state): Likewise.
11712 (__malloc_set_state): Likewise.
11713 * malloc/malloc.c: Likewise.
11714 (struct malloc_state): Likewise.
11715 (struct malloc_par): Likewise.
11716 (__libc_realloc): Likewise.
11717 (__libc_mallopt): Likewise.
11718
aeb95445
AZ
117192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11720
11721 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11722
e8349efd
OB
117232013-12-09 Ondřej Bílka <neleai@seznam.cz>
11724
11725 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11726 macro to a function. Check for zero perturb_byte.
11727 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11728
f3eeb3fc 11729 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11730 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11731 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11732 force_reg by atomic_forced_read.
11733 * malloc/arena.c (ptmalloc_init): Likewise.
11734 * malloc/hooks.c (top_check): Likewise.
11735
be2f9009
AZ
117362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11737
11738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11739
e7b914bd
MT
117402013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11741
11742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11743
9f0be4f8
JM
117442013-12-08 Joseph Myers <joseph@codesourcery.com>
11745
11746 * math/auto-libm-test-in: Add tests of lgamma.
11747 * math/auto-libm-test-out: Regenerated.
11748 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11749 (M_LOG_2_SQRT_PIl): Likewise.
11750 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11751 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11752 mpfr_f_f1.
11753 (func_calc_desc): Add mpfr_f_f1 union field.
11754 (ARGS1): New macro.
11755 (ARGS2): Likewise.
11756 (ARGS3): Likewise.
11757 (ARGS4): Likewise.
11758 (RET1): Likewise.
11759 (RET2): Likewise.
11760 (CALC): Likewise.
11761 (FUNC): Likewise.
11762 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11763 (test_functions): Add lgamma.
11764 (calc_generic_results): Handle mpfr_f_f1.
11765 * sysdeps/i386/fpu/libm-test-ulps: Update.
11766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11767
24eeafdb
AZ
117682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
11770 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11771 __mpn_add_n for PowerPC64/POWER7.
11772 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11773 __mpn_sub_n for PowerPC64/POWER7.
11774
4a2c0fd4
AZ
11775 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11776 __mpn_addmul_1 for PowerPC64.
11777 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11778 __mpn_submul_1 for PowerPC64.
11779 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11780 for PowerPC64.
11781 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11782 for PowerPC64.
11783
4b5b548c
FS
117842013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11785
11786 [BZ #15089]
11787 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11788
0a3ac0aa
AZ
117892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11790
11791 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11792
ccdc8438
AZ
11793 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11794 add multiarch folders.
11795 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11796 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11797 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11798 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11799 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11800 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11801 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11802 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11803 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11804 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11805 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11812
2e973d99
AZ
11813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11814 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11816 New file.
11817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11818 New file.
11819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11820 multiarch __ieee754_hypot for PowerPC32.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11822 New file.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11824 New file.
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11826 multiarch __ieee754_hypotf for PowerPC32.
11827
2d9470b2
AZ
11828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11829 long_double_symbol only if __logbl is defined.
11830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11831 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11833 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11835 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11837 path for implementation.
11838 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11839 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11841 logb, and logbl multiarch implementations for PowerPC32.
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11843 file.
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11845 file.
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11847 multiarch logb for PowerPC32.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11849 file.
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11851 file.
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11853 multiarch logbf for PowerPC32.
11854 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11856 file.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11858 multiarch logbl implementation for PowerPC32.
11859
5212ffce
AZ
11860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11861 and modff multiarch implementations.
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11863 New file.
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11865 New file.
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11867 multiarch modf for PowerPC32.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11869 New file.
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11871 New file.
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11873 multiarch modff for PowerPC32.
11874
79dccf31
AZ
11875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11876 and lrintf multiarch implementations.
11877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11878 New file.
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11880 New file.
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11882 multiarch lrint for PowerPC32.
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11884 file: multiarch lrintf for PowerPC32.
11885
deb66480
AZ
11886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11887 and lroundf multiarch implementations.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11889 New file.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11891 New file.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11893 New file.
11894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11895 multiarch lround for PowerPC32.
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11897 file: multiarch lroundf for PowerPC32.
11898
264b036b
AZ
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11900 copysign and copysignf multiarch implementations.
11901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11902 New file.
11903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11904 New file.
11905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11906 file: multiarch copysign for PowerPC32.
11907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11908 file: multiarch copysignf for PowerPC32.
11909
d47db6c9
AZ
11910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11911 and truncf multiarch implementations.
11912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11913 New file.
11914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11915 file.
11916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11917 multiarch trunc for PowerPC32.
11918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11919 New file.
11920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11921 New file.
11922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11923 multiarch truncf for PowerPC32.
11924
ddb60b5a
AZ
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11926 and roundf multiarch implementations.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11928 New file.
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11930 file.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11932 multiarch round for PowerPC32.
11933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11934 New file.
11935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11936 New file.
11937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11938 multiarch roundf for PowerPC32.
11939
bedcf49b
AZ
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11941 and floorf multiarch implementations.
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11943 New file.
11944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11945 file.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11947 multiarch floor for PowerPC32.
11948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11949 New file.
11950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11951 New file.
11952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11953 multiarch floorf for PowerPC32.
11954
35ae5b40
AZ
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11956 and ceilf multiarch implementations.
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11958 New file.
11959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11960 file.
11961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11962 multiarch ceil for PowerPC32.
11963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11964 New file.
11965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11966 file.
11967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11968 multiarch ceilf for PowerPC32.
11969
ae1a4cd9
AZ
11970 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11971 is defined.
11972 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11973 FINITEF is defined.
11974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11975 and finitef multiarch implementations.
11976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11977 New file.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11979 file.
11980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11981 multiarch finite for PowerPC32.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11983 New file.
11984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11985 file: multiarch finitef for PowerPC32.
11986
64fffd65
AZ
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11988 and isinff multiarch implementations.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11990 file.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11992 file.
11993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11994 multiarch isinf for PowerPC32.
11995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11996 New file.
11997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11998 multiarch isinff for PowerPC32.
11999
8e4e7ba2
AZ
12000 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12001 alias when __isnan is defined.
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12003 and isnanf multiarch implementations.
12004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12005 file.
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12007 file.
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12009 file.
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12011 file.
12012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12013 multiarch isnan for PowerPC32.
12014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12015 New file.
12016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12017 New file.
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12019 multiarch isnanf for PowerPC32.
12020
ddba588e
AZ
12021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12022 and sqrtf multiarch implementations.
12023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12024 file.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12026 file.
12027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12028 multiarch sqrt for PowerPC32.
12029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12030 file.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12032 file.
12033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12034 multiarch sqrtf for PowerPC32.
12035
0f96a2f0
AZ
12036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12037 and llroundf multiarch implementations.
12038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12039 New file.
12040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12041 New file.
12042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12043 New file.
12044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12045 file: multiarch llround for PowerPC32.
12046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12047 file: multiarch llroundf for PowerPC32.
12048
c9b5d79e
AZ
12049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12050 multiarch PowerPC32 fpu implementations.
12051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12052 New file.
12053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12054 New file.
12055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12056 multiarch llrint for PowerPC32.
12057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12058 New file.
12059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12060 New file.
12061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12062 file.
12063
9cbb3aab
AZ
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12065
ea5a72f8
AZ
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12067 file.
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12069 file.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12071 file.
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12073 multiarch wordcopy for PPC32.
12074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12075 wordcopy objects.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12077 (__libc_ifunc_impl_list): Likewise.
12078 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12079 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12080 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12081 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12083 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12084
93be09e7
AZ
12085 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12087 file.
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12089 file.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12091 file.
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12093 multiarch wcscpy for PPC32.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12095 multiarch objects.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12097 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12099 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12100 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12101 sysdeps/powerpc/power6/wcscpy.c.
12102
bb04e529
AZ
12103 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12105 file.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12107 file.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12109 file.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12111 multiarch wcsrchr for PPC32.
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12113 multiarch objects.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12115 (__libc_ifunc_impl_list): Likewise.
12116 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12117 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12118 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12119 sysdeps/powerpc/power6/wcsrchr.c.
12120
05b5cd1c
AZ
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12122 file.
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12124 file.
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12127 multiarch wcschr for PPc32.
12128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12129 multiarch objects.
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12131 (__libc_ifunc_impl_list): Likewise.
12132 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12133 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12134 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12135 sysdeps/powerpc/power6/wcschr.c.
12136
ba964147
AZ
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12139 file.
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12141 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12142 file: multiarch strchr for PPC32.
12143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12144 multiarch objects.
12145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12146 (__libc_ifunc_impl_list): Likewise.
12147
31c81aaa
AZ
12148 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12149 name.
12150 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12151 file.
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12153 file.
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12155 multiarch strchrnul for PPC32.
12156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12157 multiarch objects.
12158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12159 (__libc_ifunc_impl_list): Likewise.
12160
0d0607d9
AZ
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12162 file.
12163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12164 multiarch strncasecmp for PPC32.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12166 file.
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12168 multiarch strncasecmp_l for PPC32.
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12170 strncasecmp multiarch objects.
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12172 (__libc_ifunc_impl_list): Likewise.
12173
4dfd5c86
AZ
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12175 file.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12177 multiarch strncasecmp for PPC32.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12179 New file.
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12181 multiarch strcasecmp_l for PPC32.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12183 multiarch objects.
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12185 (__libc_ifunc_impl_list): Likewise.
12186
a19e01a3
AZ
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12188 file.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12190 file.
12191 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12192 multiarch strncmp for PPC32.
12193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12194 multiarch objects.
12195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12196 (__libc_ifunc_impl_list): Likewise.
12197
ae9cf7a2
AZ
12198 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12199 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12200 file.
12201 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12204 multiarch objects.
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12206 (__libc_ifunc_impl_list): Likewise.
12207
3148bb7d
AZ
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12209 file.
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12211 file.
12212 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12214 multiarch objects.
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12216 (__libc_ifunc_impl_list): Likewise.
12217
7af8b946
AZ
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12219 file.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12221 file.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12223 multiarch rawmemchr for PPC32.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12225 multiarch objects.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12227 (__libc_ifunc_impl_list): Likewise.
12228
03a6aa6a
AZ
12229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12230 file.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12232 file.
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12234 file: memrchr multiarch for PPC32.
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12236 multiarch objects.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12238 (__libc_ifunc_impl_list): Likewise.
12239
1c62e6d9
AZ
12240 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12242 file.
12243 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12245 multiarch memchr for PPC32.
12246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12247 multiarch objects.
12248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12249 (__libc_ifunc_impl_list): Likewise.
12250
87da8bdb
AZ
12251 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12253 file.
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12255 file.
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12257 file: multiarch mempcpy for PPC32.
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12259 multiarch objects.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12261 (__libc_ifunc_impl_list): Likewise.
12262
20ed4714
AZ
12263 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12265 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12267 multiarch bzero for PPC32.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12269 file.
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12271 file.
12272 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12273 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12274 file: multiarch memset for PPC32.
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12277 memset multiarch objects.
12278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12279 (__libc_ifunc_impl_list): Likewise.
12280
ab3e3a46
AZ
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12282 file.
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12284 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12285 memcmp for PPC32.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12288 multiarch objects.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12290 (__libc_ifunc_impl_list): Likewise.
12291
930de6f0
AZ
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12295 file.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12297 file.
12298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12299 file.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12301 multiarch memcpy for PPC32.
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12303 multiarch objects.
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12305 (__libc_ifunc_impl_list): Likewise.
12306
4c628e00
AZ
12307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12308 support multiarch for POWER/PPC32.
12309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12310 Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12313 Implies file to make multiarch folder appers before the fpu and
12314 default folder for power4 configuration.
12315
f4479220
SP
123162013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12317
12318 * scripts/bench.pl: Append volatile keyword to type.
12319
8517800f
KK
123202013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12321
12322 * sysdeps/sh/sotruss-lib.c: New file.
12323 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12324
180138f1
AZ
123252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12326
12327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12328
bbf37bdc
JM
123292013-12-05 Joseph Myers <joseph@codesourcery.com>
12330
e47cc4e0
JM
12331 [BZ #6810]
12332 * math/w_tgamma.c: Include <errno.h>.
12333 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12334 * math/w_tgammaf.c: Include <errno.h>.
12335 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12336 * math/w_tgammal.c: Include <errno.h>.
12337 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12338 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12339 underflow. Add more tgamma tests.
12340 * math/auto-libm-test-out: Regenerated.
12341 * sysdeps/i386/fpu/libm-test-ulps: Update.
12342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343
bbf37bdc
JM
12344 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12345 sin, sinh, tan, tanh, tgamma, y0 and y1.
12346 * math/auto-libm-test-out: Regenerated.
12347 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12348 (TEST_COND_x86): Likewise.
12349 (M_E2l): Remove macro.
12350 (M_E3l): Likewise.
12351 (M_2_SQRT_PIl): Likewise.
12352 (M_SQRT_PIl): Likewise.
12353 (M_1_DIV_El): Likewise.
12354 (log_test_data): Use AUTO_TESTS_f_f.
12355 (log10_test_data): Likewise.
12356 (log1p_test_data): Likewise.
12357 (log2_test_data): Likewise.
12358 (sin_test_data): Likewise.
12359 (sin_tonearest_test_data): Likewise.
12360 (sin_towardzero_test_data): Likewise.
12361 (sin_downward_test_data): Likewise.
12362 (sin_upward_test_data): Likewise.
12363 (sinh_test_data): Likewise.
12364 (sinh_tonearest_test_data): Likewise.
12365 (sinh_towardzero_test_data): Likewise.
12366 (sinh_downward_test_data): Likewise.
12367 (sinh_upward_test_data): Likewise.
12368 (tan_test_data): Likewise.
12369 (tan_tonearest_test_data): Likewise.
12370 (tan_towardzero_test_data): Likewise.
12371 (tan_downward_test_data): Likewise.
12372 (tan_upward_test_data): Likewise.
12373 (tanh_test_data): Likewise.
12374 (tgamma_test_data): Likewise.
12375 (y0_test_data): Likewise.
12376 (y1_test_data): Likewise.
12377 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12378 (special_real_inputs): Add pi/4.
12379 * sysdeps/i386/fpu/libm-test-ulps: Update.
12380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12381
eb5ad6b9
AZ
123822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12383
12384 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12385 "longjmp_target" static probes.
12386 (__longjmp): Rename to __longjmp_symbol.
12387 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12388 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12389 on which longjmp to generate.
12390 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12392 probe.
12393 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12394 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12395 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12396 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12397 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12398 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12400 __longjmp_symbol based on which __longjmp to generate.
12401 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12402 probe.
12403 (setjmp): Rename to setjmp_symbol.
12404 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12405 (_setjmp): Rename to _setjmp_symbol.
12406 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12407 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12408 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12409 which setjmp to generate.
12410 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12411 "longjmp_target" static probes.
12412
d136c6dc
SP
124132013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12414
9298ecba
SP
12415 * benchtests/README: Add note about output arguments.
12416 * benchtests/bench-sincos.c: Remove file.
12417 * benchtests/sincos-inputs: New file.
12418 * scripts/bench.pl: Identify output arguments and define
12419 static variables for them.
12420
232983e9
SP
12421 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12422
d136c6dc
SP
12423 [BZ #15941]
12424 * Makefile (INSTALL): Add install-plain.texi as the primary
12425 dependency.
12426 * manual/install-plain.texi: New file.
12427 * manual/install.texi: Include node directive only for
12428 non-plaintext output.
12429
699ff837
JM
124302013-12-04 Joseph Myers <joseph@codesourcery.com>
12431
ab07cea8
JM
12432 * stdlib/longlong.h: Update from GCC.
12433
699ff837
JM
12434 [BZ #6807]
12435 [BZ #15901]
12436 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12437 * math/w_j0f.c (y0f): Likewise.
12438 * math/w_j0l.c (__y0l): Likewise.
12439 * math/w_j1.c (y1): Likewise.
12440 * math/w_j1f.c (y1f): Likewise.
12441 * math/w_j1l.c (__y1l): Likewise
12442 * math/w_jn.c (yn): Likewise.
12443 * math/w_jnf.c (ynf): Likewise.
12444 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12445 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12446 value for Bessel function domain errors outside _SVID_ mode.
12447 Adjust sign of return value for yn (negative integer, 0).
12448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12449 by zero in return for negative x and set sign appropriately for
12450 negative n.
12451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12452 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12453 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12454 expectations in error cases.
12455 (y1_test_data): Likewise.
12456 (yn_test_data): Likewise.
12457 * sysdeps/i386/fpu/libm-test-ulps: Update.
12458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12459
5b118558
UW
124602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12461
12462 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12463 "64" to "64-v1". Add "64-v2".
12464 (abi-64-options): Rename to ...
12465 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12466 (abi-64-condition): Rename to ...
12467 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12468 (abi-64-ld-soname): Rename to ...
12469 (abi-64-v1-ld-soname): ... this.
12470 (abi-64-v2-options): Define.
12471 (abi-64-v2-condition): Likewise.
12472 (abi-64-v2-ld-soname): Likewise.
12473 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12474 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12478
61cd8fe4
UW
124792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12480 Alan Modra <amodra@gmail.com>
12481
12482 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12483 New versions for use with the ELFv2 ABI.
12484 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12485 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12486 declaration.
12487 (struct La_ppc64v2_retval): Likewise.
12488 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12489 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12490 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12491 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12492 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12494 Do not save or restore CR.
12495 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12496 (_dl_profile_resolve): Do no save or restore CR. Support extended
12497 return values for ELFv2 ABI. Fix location of FPR return registers.
12498 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12499 updated values for _CALL_ELF == 2.
12500 (La_regs, La_retval, int_retval): Likewise.
12501
8b8a692c
UW
125022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12503
12504 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12505 (FRAME_MIN_SIZE_PARM): Likewise.
12506 (FRAME_BACKCHAIN): Likewise.
12507 (FRAME_CR_SAVE): Likewise.
12508 (FRAME_LR_SAVE): Likewise.
12509 (FRAME_TOC_SAVE): Likewise.
12510 (FRAME_PARM_SAVE): Likewise.
12511 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12512 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12513 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12514 (call_mcount_parm_offset): New macro.
12515 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12516 (PROF): Use symbolic stack frame offsets.
12517 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12518 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12519 Redefine in terms of FRAME_MIN_SIZE.
12520 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12521 (_dl_profile_resolve): Likewise. Update comment.
12522 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12523 symbols stack frame offsets.
12524 (__sigsetjmp): Likewise.
12525 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12526 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12527 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12528 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12529
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12531 (FRAME_BACKCHAIN): Remove.
12532 (FRAME_CR_SAVE): Likewise.
12533 (FRAME_LR_SAVE): Likewise.
12534 (FRAME_COMPILER_DW): Likewise.
12535 (FRAME_LINKER_DW): Likewise.
12536 (FRAME_TOC_SAVE): Likewise.
12537 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12538 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12539 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12540 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12542 (CHECK_SP): Use symbolic stack frame offsets.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12544 zone" instead of caller's parameter save area for temp storage.
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12546 Likewise. Also, use symbolic stack frame offsets.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12548 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12549 our own stack frame instead of the caller's.
12550 (__socket): Use symbolic stack frame offsets.
12551
122b66de
UW
125522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12553 Alan Modra <amodra@gmail.com>
12554
12555 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12556 Define.
57f41c40
AS
12557 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12558 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12559 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12560 New function.
12561 (elf_machine_fixup_plt): Call it.
12562 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12563 reloc arguments.
12564 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12565 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12566 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12567 r2 before calling target.
12568
696caf1d
UW
125692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12570 Alan Modra <amodra@gmail.com>
12571
12572 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12573 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12574 versions of macros to support ELFv2 ABI.
12575 (LOCALENTRY): New macro.
12576 (ENTRY, EALIGN): Use it.
12577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12578 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12579 fall through into ENTRY entry point.
12580 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12581 Only define if _CALL_ELF != 2.
12582
12583 (elf_machine_matches_host): Verify ABI version matches.
12584 (RTLD_START): Use LOCALENTRY.
12585 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12586 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12587 (PLT_ENTRY_WORDS): New macro.
12588 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12589 (elf_machine_runtime_setup): Support ELFv2 ABI.
12590 (elf_machine_fixup_plt): Likewise.
12591 (elf_machine_plt_conflict): Likewise.
12592 (resolve_ifunc): Likewise.
12593 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12595 Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12597 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12599 (makecontext): Support ELFv2 ABI.
12600 * elf/elf.h (EF_PPC64_ABI): Define.
12601
d31beafa
UW
126022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12603
57f41c40
AS
12604 * sysdeps/powerpc/powerpc64/sysdep.h
12605 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12606 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12607 (ENTRY) [ASSEMBLER]: ... but instead here ...
12608 (EALIGN) [ASSEMBLER]: ... and here.
12609 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12610 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12611 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12612 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12613 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12615 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12616 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12618 Use PPC64_LOAD_FUNCPTR.
12619
b525166b
UW
12620 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12621
7ec07d9a
AM
126222013-12-04 Alan Modra <amodra@gmail.com>
12623
12624 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12625 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12626 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12627 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12628
12629 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12630 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12631 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12632 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12633 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12634 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12635
5162e7dd
UW
126362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12637
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12639 (__makecontext): Fix incorrect CFI when backtracing out of
12640 context created via makecontext.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12642 (__setcontext): Fix incorrect CFI during switch to new context.
12643 (__novec_setcontext): Likewise.
12644
19e3372b
OB
126452013-12-04 Ondřej Bílka <neleai@seznam.cz>
12646
12647 [BZ #4772]
12648 * time/strptime_l.c (__strptime_internal): Allow modifiers
12649 in strptime.
12650 * time/tst-strptime.c (day_tests): Add testcase.
12651
ecaf142d
SP
126522013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12653
12654 * scripts/bench.pl: Skip over blank lines.
12655
fbf964ae
PE
126562013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12657
12658 [BZ #926]
12659 * manual/time.texi (Calendar Time): Clarify what timezone functions
12660 use.
12661
fa60a674
AZ
126622013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12663
12664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12665
d674f0ef
OB
126662013-12-04 Ondřej Bílka <neleai@seznam.cz>
12667
12668 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12669 implementation.
12670 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12671 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12672 * debug/memset_chk.c (__memset_chk): Likewise.
12673 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12674 * debug/strncpy_chk.c: Likewise.
12675
17dea188
JM
126762013-12-03 Joseph Myers <joseph@codesourcery.com>
12677
749008ff
JM
12678 [BZ #15268]
12679 [BZ #15425]
12680 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12681 (__ieee754_exp): For possibly underflowing results, check size of
12682 result and force underflow exception if required.
12683 * math/auto-libm-test-in: Add more tests of exp.
12684 * math/auto-libm-test-out: Regenerated.
12685 * sysdeps/i386/fpu/libm-test-ulps: Update.
12686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687
17dea188
JM
12688 [BZ #16283]
12689 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12690 * math/w_exp2f.c (__exp2f): Likewise.
12691 * math/w_exp2l.c (__exp2l): Likewise.
12692 * math/auto-libm-test-in: Do not allow missing errno on exp2
12693 underflow.
12694 * math/auto-libm-test-out: Regenerated.
12695
b20de2c3
OB
126962013-12-03 Ondřej Bílka <neleai@seznam.cz>
12697
12698 [BZ #16274]
12699 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12700 handle filename validation.
12701 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12702 (do_open): Delete.
12703
d8e2dbe3
JM
127042013-12-03 Joseph Myers <joseph@codesourcery.com>
12705
34e16df5
JM
12706 [BZ #6786]
12707 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12708 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12709 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12710 <float.h>.
12711 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12713 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12715 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12716 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12717 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12718 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12719 Add more erfc tests.
12720 * math/auto-libm-test-out: Regenerated.
12721 * sysdeps/i386/fpu/libm-test-ulps: Update.
12722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12723
d8e2dbe3
JM
12724 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12725 exp2, expm1, j0 and j1.
12726 * math/auto-libm-test-out: Regenerated.
12727 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12728 (erfc_test_data): Likewise.
12729 (exp_test_data): Likewise.
12730 (exp_tonearest_test_data): Likewise.
12731 (exp_towardzero_test_data): Likewise.
12732 (exp_downward_test_data): Likewise.
12733 (exp_upward_test_data): Likewise.
12734 (exp10_test_data): Likewise.
12735 (exp2_test_data): Likewise.
12736 (expm1_test_data): Likewise.
12737 (j0_test_data): Likewise.
12738 (j1_test_data): Likewise.
12739 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12740 (input_flag_type): Add flag_xfail_rounding.
12741 (input_flags): Add xfail-rounding.
12742 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12743 (output_for_one_input_case): Handle flag_xfail_rounding.
12744 * sysdeps/i386/fpu/libm-test-ulps: Update.
12745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12746
18d14251
AJ
127472013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12748
3d2e6075 12749 [BZ #16289]
18d14251
AJ
12750 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12751 division by 0.
12752
520d437b
SP
127532013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12754
12755 [BZ #16195]
12756 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12757 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12758 (STAP_PROBE0): New macro.
12759 (STAP_PROBE1): Likewise.
12760 (STAP_PROBE2): Likewise.
12761 (STAP_PROBE3): Likewise.
12762 (STAP_PROBE4): Likewise.
12763
416e0145
OB
127642013-12-02 Ondřej Bílka <neleai@seznam.cz>
12765
12766 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12767
9d17796a
SE
127682013-12-02 Steve Ellcey <sellcey@mips.com>
12769
12770 * benchtests/Makefile (bench): Add sqrt.
12771 (LDLIBS-bench-sqrt): New.
12772 * benchtests/sqrt-input: New.
12773
f524d6a8
PS
127742013-12-02 Pavel Simerda <psimerda@redhat.com>
12775
639a0ef8
PS
12776 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12777 (GAIH_EAI): Likewise.
12778 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12779 (gaih_inet): Likewise.
12780 (getaddrinfo): Don't use GAIH_EAI.
12781
f524d6a8
PS
12782 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12783 (struct gaih): Remove definition.
12784
df3aedaf
SP
127852013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12786
12787 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12788 Use HERRNOP directly.
12789
1ab19dec
AZ
127902013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12791
b42ad38d 12792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12793
176b0c79
JM
127942013-11-30 Joseph Myers <joseph@codesourcery.com>
12795
12796 * math/gen-auto-libm-tests.c (test_functions): Add more
12797 single-argument functions.
12798 (special_fill_pi_2): New function.
12799 (special_fill_minus_pi_2): Likewise.
12800 (special_fill_pi_6): Likewise.
12801 (special_fill_minus_pi_6): Likewise.
12802 (special_fill_pi_3): Likewise.
12803 (special_fill_2pi_3): Likewise.
12804 (special_fill_e): Likewise.
12805 (special_fill_1_e): Likewise.
12806 (special_fill_e_minus_1): Likewise.
12807 (special_real_inputs): Add more special inputs.
12808 (output_for_one_input_case): Do not require ERANGE on underflow to
12809 zero if round-to-nearest result does not underflow to zero, unless
12810 exact results required.
12811 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12812 atan, atanh, cbrt, cos and cosh.
12813 * math/auto-libm-test-out: Regenerated.
12814 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12815 (acos_tonearest_test_data): Likewise.
12816 (acos_towardzero_test_data): Likewise.
12817 (acos_downward_test_data): Likewise.
12818 (acos_upward_test_data): Likewise.
12819 (acosh_test_data): Likewise.
12820 (asin_test_data): Likewise.
12821 (asin_tonearest_test_data): Likewise.
12822 (asin_towardzero_test_data): Likewise.
12823 (asin_upward_test_data): Likewise.
12824 (asinh_test_data): Likewise.
12825 (atan_test_data): Likewise.
12826 (atanh_test_data): Likewise.
12827 (cbrt_test_data): Likewise.
12828 (cos_test_data): Likewise.
12829 (cos_tonearest_test_data): Likewise.
12830 (cos_towardzero_test_data): Likewise.
12831 (cos_downward_test_data): Likewise.
12832 (cos_upward_test_data): Likewise.
12833 (cosh_test_data): Likewise.
12834 (cosh_tonearest_test_data): Likewise.
12835 (cosh_towardzero_test_data): Likewise.
12836 (cosh_downward_test_data): Likewise.
12837 (cosh_upward_test_data): Likewise.
12838 * sysdeps/i386/fpu/libm-test-ulps: Update.
12839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12840
ffb536d0
JM
128412013-11-29 Joseph Myers <joseph@codesourcery.com>
12842
2a77a467
JM
12843 [BZ #6787]
12844 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12845 * math/w_exp10f.c (__exp10f): Likewise.
12846 * math/w_exp10l.c (__exp10l): Likewise.
12847 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12848 errno settings in existing tests.
12849
ea3bc4e8
JM
12850 [BZ #14032]
12851 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12852 precision control set to double precision.
12853 * sysdeps/i386/fpu/w_sqrt.c: New file.
12854 * math/auto-libm-test-in: Add more tests.
12855 * math/auto-libm-test-out: Update.
12856
0712c9d8
JM
12857 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12858 (sqrt_test_tonearest): New function.
12859 (sqrt_towardzero_test_data): New variable.
12860 (sqrt_test_towardzero): New function.
12861 (sqrt_downward_test_data): New variable.
12862 (sqrt_test_downward): New function.
12863 (sqrt_upward_test_data): New variable.
12864 (sqrt_test_upward): New function.
12865 (main): Call the new functions.
12866
ffb536d0
JM
12867 * math/gen-auto-libm-tests.c: New file.
12868 * math/auto-libm-test-in: Likewise.
12869 * math/auto-libm-test-out: New generated file.
12870 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12871 variables.
12872 (%beautify): Add generated representations of zero.
12873 (top level): Set $auto_input and call parse_auto_input.
12874 (beautify): Remove trailing "f" from hex float constants.
12875 (parse_args): Handle XFAIL_TEST.
12876 (convert_condition): New function.
12877 (or_value): Likewise.
12878 (or_cond_value): Likewise.
12879 (generate_testfile): Handle AUTO_TESTS_* lines.
12880 (parse_auto_input): New function.
12881 * math/libm-test.inc (XFAIL_TEST): New macro.
12882 (ERRNO_UNCHANGED): Update value.
12883 (ERRNO_EDOM): Likewise.
12884 (ERRNO_ERANGE): Likewise.
12885 (IGNORE_RESULT): Likewise.
12886 (TEST_COND_flt_32): New macro.
12887 (TEST_COND_dbl_64): Likewise.
12888 (TEST_COND_ldbl_96_intel): Likewise.
12889 (TEST_COND_ldbl_96_m68k): Likewise.
12890 (TEST_COND_ldbl_128): Likewise.
12891 (TEST_COND_ldbl_128ibm): Likewise.
12892 (TEST_COND_long32): Likewise.
12893 (TEST_COND_long64): Likewise.
12894 (TEST_COND_before_rounding): Likewise.
12895 (TEST_COND_after_rounding): Likewise.
12896 (enable_test): Handle XFAIL_TEST flag.
12897 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12898 with finite results.
12899 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12900 auto-libm-test-out.
12901
acd98a8e
AK
129022013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12903 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12904
12905 [BZ #16214]
12906 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12907 __tls_get_addr_internal instead of __tls_get_offset in order to
12908 avoid GOT pointer dependency. Make rtld export
12909 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12910 __tls_get_addr since we are a __tls_get_offset platform.
12911 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12912 GOT pointer being set up before.
12913 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12914
3c1c46a6
JM
129152013-11-28 Joseph Myers <joseph@codesourcery.com>
12916
7475aef5
JM
12917 * manual/math.texi (Errors in Math Functions): Document accuracy
12918 goals.
12919
8bca7cd8
JM
12920 [BZ #15004]
12921 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12922 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12925 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12927 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12937
91a1f3fe
JM
12938 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12939 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12940 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12941 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12942 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12943 Likewise.
12944 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12945 Likewise.
12946 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12947 Likewise.
12948 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12949 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12950 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12951 atomic-feupdateenv and flt-rounds.
12952 * sysdeps/powerpc/nofpu/Versions (libc): Add
12953 __atomic_feholdexcept, __atomic_feclearexcept,
12954 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12956 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12957 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12958 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12959 here.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12961 Update.
12962
c5df7609
JM
12963 * manual/arith.texi (FP Exceptions): Document that exceptions may
12964 not be raised when matherr is used.
12965 (Math Error Reporting): Document overflow in directed rounding
12966 modes. Document that errno may not be set when finite values are
12967 returned on overflow. Document intent to set errno on underflow
12968 only for underflow to zero.
12969
3c1c46a6
JM
12970 [BZ #16271]
12971 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12972 round-to-nearest then adjust result for other rounding modes.
12973 * include/fenv.h (fegetround): Use libm_hidden_proto.
12974 * math/fegetround.c (fegetround): Use libm_hidden_def.
12975 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12976 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12977 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12978 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12979 Likewise.
12980 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12981 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12982 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12983 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12984
5a4c6d53
SP
129852013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12986
12987 [BZ #16077]
12988 * nss/Versions (libnss_files): Add
12989 _nss_files_gethostbyname3_r.
12990 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12991 New function.
12992 (HOST_DB_LOOKUP): Remove macro.
12993 (_nss_files_gethostbyname_r): Implement function without the
12994 HOST_DB_LOOKUP macro.
12995 (_nss_files_gethostbyname2_r): Likewise.
12996
897b98ba
OB
129972013-11-28 Ondřej Bílka <neleai@seznam.cz>
12998
12999 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13000
6f476861
UB
130012013-11-26 Uros Bizjak <ubizjak@gmail.com>
13002
13003 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13004 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13005 warning.
13006
bd12ab55
AZ
130072013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13008
13009 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13010 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13011 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13012 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13013 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13014 __fe_nomask_env_priv and attribute_hidden.
13015 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13016 (libc_feupdateenv_test_ppc): Likewise.
13017 (libc_feresetround_ppc): Likewise.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13019 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13020 compat_symbol macro.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13022 (__fe_nomask_env): Likewise.
13023 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13024
52bb6543
OB
130252013-11-26 Ondřej Bílka <neleai@seznam.cz>
13026
13027 * string/Makefile: Remove ifunc tests.
13028 * string/test-string.h: Define TEST_IFUNC.
13029 * string/test-bcopy-ifunc.c: Remove.
13030 * string/test-bzero-ifunc.c: Likewise.
13031 * string/test-memccpy-ifunc.c: Likewise.
13032 * string/test-memchr-ifunc.c: Likewise.
13033 * string/test-memcmp-ifunc.c: Likewise.
13034 * string/test-memcpy-ifunc.c: Likewise.
13035 * string/test-memmem-ifunc.c: Likewise.
13036 * string/test-memmove-ifunc.c: Likewise.
13037 * string/test-mempcpy-ifunc.c: Likewise.
13038 * string/test-memrchr-ifunc.c: Likewise.
13039 * string/test-memset-ifunc.c: Likewise.
13040 * string/test-rawmemchr-ifunc.c: Likewise.
13041 * string/test-stpcpy-ifunc.c: Likewise.
13042 * string/test-stpncpy-ifunc.c: Likewise.
13043 * string/test-strcasecmp-ifunc.c: Likewise.
13044 * string/test-strcasestr-ifunc.c: Likewise.
13045 * string/test-strcat-ifunc.c: Likewise.
13046 * string/test-strchr-ifunc.c: Likewise.
13047 * string/test-strchrnul-ifunc.c: Likewise.
13048 * string/test-strcmp-ifunc.c: Likewise.
13049 * string/test-strcpy-ifunc.c: Likewise.
13050 * string/test-strcspn-ifunc.c: Likewise.
13051 * string/test-strlen-ifunc.c: Likewise.
13052 * string/test-strncasecmp-ifunc.c: Likewise.
13053 * string/test-strncat-ifunc.c: Likewise.
13054 * string/test-strncmp-ifunc.c: Likewise.
13055 * string/test-strncpy-ifunc.c: Likewise.
13056 * string/test-strnlen-ifunc.c: Likewise.
13057 * string/test-strpbrk-ifunc.c: Likewise.
13058 * string/test-strrchr-ifunc.c: Likewise.
13059 * string/test-strspn-ifunc.c: Likewise.
13060 * string/test-strstr-ifunc.c: Likewise.
13061
ab260039 130622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13063
13064 * benchtests/Makefile: Remove ifunc tests.
13065 * benchtests/bench-string.h: Define TEST_IFUNC.
13066 * benchtests/bench-bcopy-ifunc.c: Remove.
13067 * benchtests/bench-bzero-ifunc.c: Likewise.
13068 * benchtests/bench-memccpy-ifunc.c: Likewise.
13069 * benchtests/bench-memchr-ifunc.c: Likewise.
13070 * benchtests/bench-memcmp-ifunc.c: Likewise.
13071 * benchtests/bench-memcpy-ifunc.c: Likewise.
13072 * benchtests/bench-memmem-ifunc.c: Likewise.
13073 * benchtests/bench-memmove-ifunc.c: Likewise.
13074 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13075 * benchtests/bench-memrchr-ifunc.c: Likewise.
13076 * benchtests/bench-memset-ifunc.c: Likewise.
13077 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13078 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13079 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13080 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13081 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13082 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13083 * benchtests/bench-strcat-ifunc.c: Likewise.
13084 * benchtests/bench-strchr-ifunc.c: Likewise.
13085 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13086 * benchtests/bench-strcmp-ifunc.c: Likewise.
13087 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13088 * benchtests/bench-strcpy-ifunc.c: Likewise.
13089 * benchtests/bench-strcspn-ifunc.c: Likewise.
13090 * benchtests/bench-strlen-ifunc.c: Likewise.
13091 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13092 * benchtests/bench-strncat-ifunc.c: Likewise.
13093 * benchtests/bench-strncmp-ifunc.c: Likewise.
13094 * benchtests/bench-strncpy-ifunc.c: Likewise.
13095 * benchtests/bench-strnlen-ifunc.c: Likewise.
13096 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13097 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13098 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13099 * benchtests/bench-strspn-ifunc.c: Likewise.
13100 * benchtests/bench-strstr-ifunc.c: Likewise.
13101
131022013-11-26 Ondřej Bílka <neleai@seznam.cz>
13103
ab260039
OB
13104 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13105
d1d9eaf4 131062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13107
d1d9eaf4
OB
13108 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13109 * rt/aio.h: Likewise.
13110 * sysdeps/gnu/bits/utmp.h: Likewise.
13111 * sysdeps/gnu/bits/utmpx.h: Likewise.
13112 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13113 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13114 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13115 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13116 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13117 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13118 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13119 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13120 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13122 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13123 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13124 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13126 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13127 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13128 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13129 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13130 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13131 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13132 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13133 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13134 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13135 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13136 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13140 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13142 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13143 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13144 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13146 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13147 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13148 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13149 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13150 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13151 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13152 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13153 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13154
a7624ed9
CD
131552013-11-25 Carlos O'Donell <carlos@redhat.com>
13156
13157 [BZ #16245]
13158 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13159 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13160
63cfe52b
JM
131612013-11-25 Joseph Myers <joseph@codesourcery.com>
13162
13163 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13164 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13165 Likewise.
13166
41e8926a
AZ
131672013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13168
13169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13170 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13171 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13172 (__fesetround): Remove define.
13173 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13174 rounding and exceptions handling.
13175 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13176 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13177 (__fe_nomask_env): Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13179 __fegetround instead of fegetround.
13180 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13182
6851bd4d
RM
131832013-11-21 Roland McGrath <roland@hack.frob.com>
13184
070906ff
RM
13185 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13186 it's there.
13187
6851bd4d
RM
13188 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13189
84ae135d
MI
131902013-11-21 Meador Inge <meadori@codesourcery.com>
13191
13192 [BZ #11157]
13193 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13194 (encrypt_r): Likewise.
13195 * malloc/obstack.h (obstack_free): Likewise.
13196 * posix/unistd.h (encrypt): Likewise.
13197
daf75146
GM
131982013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13199
13200 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13201 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13202 DL_CALL_DT_FINI() that call the functions directly.
13203 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13204 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13205 * elf/dl-fini.c: Likewise.
13206
10ad46bc
OB
132072013-11-20 Ondřej Bílka <neleai@seznam.cz>
13208
13209 * malloc/hooks.c (memalign_check): Add alignment rounding.
13210 * malloc/malloc.c (_mid_memalign): New function.
13211 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13212 Implement by calling _mid_memalign.
13213 * manual/probes.texi (Memory Allocation Probes): Remove
13214 memory_valloc_retry and memory_pvalloc_retry.
13215
f3fd2628
SP
132162013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13217
4712799f
SP
13218 * locale/programs/locarchive.c (open_archive): Add const
13219 qualifier to ARCHIVEFNAME and copy default fname to
13220 DEFAULT_FNAME.
13221
0417b20f
SP
13222 [BZ #15601]
13223 * libio/tst-widetext.input: Rename Oriya to Odia.
13224 * locale/iso-639.def: Likewise.
13225
f3fd2628
SP
13226 * manual/probes.texi (Mathematical Function Probes): Add
13227 documentation for sin, cos, asin and acos probes.
13228 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13229 (__sin32): Add slowasin probe.
13230 (__cos32): Add slowacos probe.
13231 (__mpsin): Add slowsin probe.
13232 (__mpcos): Add slowcos probe.
13233
73c1ce4f
JM
132342013-11-19 Joseph Myers <joseph@codesourcery.com>
13235
13236 [BZ #15483]
13237 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13238 thread-local __sim_exceptions_thread and global
13239 __sim_exceptions_global.
13240 (__sim_disabled_exceptions): Change to thread-local
13241 __sim_disabled_exceptions_thread and global
13242 __sim_disabled_exceptions_global.
13243 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13244 and global __sim_round_mode_global.
13245 (__simulate_exceptions): Use thread-local floating-point state and
13246 set global state from it as needed.
13247 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13248 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13249 __sim_round_mode_thread.
13250 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13251 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13252 and global __sim_exceptions_global.
13253 (__sim_disabled_exceptions): Change to thread-local
13254 __sim_disabled_exceptions_thread and global
13255 __sim_disabled_exceptions_global.
13256 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13257 and global __sim_round_mode_global.
13258 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13259 (SIM_SET_GLOBAL): Likewise.
13260 * sysdeps/powerpc/soft-fp/sfp-machine.h
13261 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13262 __sim_round_mode_thread.
13263 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13264 __sim_disabled_exceptions_thread.
13265 (__sim_exceptions): Change to __sim_exceptions_thread.
13266 (__sim_disabled_exceptions): Change to
13267 __sim_disabled_exceptions_thread.
13268 (__sim_round_mode): Change to __sim_round_mode_thread.
13269 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13270 thread-local floating-point state and set global state from it as
13271 needed.
13272 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13273 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13274 (__sim_disabled_exceptions): Remove extern declaration.
13275 (feenableexcept): Use thread-local floating-point state and set
13276 global state from it as needed.
13277 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13278 extern declaration.
13279 (__sim_disabled_exceptions): Likewise.
13280 (__sim_round_mode): Likewise.
13281 (__fegetenv): Use thread-local floating-point state.
13282 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13283 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13284 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13285 floating-point state and set global state from it as needed.
13286 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13287 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13288 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13289 Likewise.
13290 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13291 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13292 Likewise.
13293 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13294 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13295 Use __sim_round_mode_thread.
13296 * math/test-fenv-tls.c: New file.
13297 * math/Makefile (tests): Add test-fenv-tls.
13298 ($(objpfx)test-fenv-tls): Depend on
13299 $(common-objpfx)nptl/libpthread.so.
13300
b5449b12
AS
133012013-11-19 Andreas Schwab <schwab@suse.de>
13302
13303 * locale/programs/locale.c (show_info): Decode wordarray elements.
13304 * locale/categories.def (LC_MONETARY): Add element for
13305 _NL_MONETARY_CRNCYSTR.
13306 * locale/C-monetary.c (conversion_rate): New variable.
13307 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13308 element.
13309
e186536b
CM
133102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13311
13312 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13313 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13314
5c349950
PP
133152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13316
13317 * elf/Makefile (tst-auxv): New test.
13318 * elf/tst-auxv.c: New
13319 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13320
699df45b
JM
133212013-11-18 Joseph Myers <joseph@codesourcery.com>
13322
13323 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13324 (hidden_proto): Caller changed.
13325 (hidden_tls_proto): New macro.
13326 (libc_hidden_tls_proto): Likewise.
13327 (rtld_hidden_tls_proto): Likewise.
13328 (libm_hidden_tls_proto): Likewise.
13329 (libresolv_hidden_tls_proto): Likewise.
13330 (librt_hidden_tls_proto): Likewise.
13331 (libdl_hidden_tls_proto): Likewise.
13332 (libnss_files_hidden_tls_proto): Likewise.
13333 (libnsl_hidden_tls_proto): Likewise.
13334 (libnss_nisplus_hidden_tls_proto): Likewise.
13335 (libutil_hidden_tls_proto): Likewise.
13336
b7589107
OB
133372013-11-18 Ondřej Bílka <neleai@seznam.cz>
13338
13339 [BZ #10253]
13340 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13341 (decompose_rpath): Defer expansion to fillin_rpath.
13342 (_dl_init_paths): Pass linkmap to fillin_rpath.
13343
250c23bd
RS
133442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13345
13346 * benchtests/Makefile: Add strsep.
13347 * benchtests/bench-strsep.c: New file: strsep benchtest.
13348 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13349
a7931fcf
AS
133502013-11-18 Andreas Schwab <schwab@suse.de>
13351
13352 * locale/programs/locale.c (show_info) [case byte]: Check for
13353 '\377' instead of '\177'.
13354 * locale/C-monetary.c (not_available): Always use "\377".
13355 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13356 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13357 detect unavailable sign_posn locale elements.
13358 * locale/localeconv.c (__localeconv): For grouping and
13359 mon_grouping handle "\177" and "\377" like no grouping.
13360 (INT_ELEM): New macro. Use it to set all numeric members.
13361 * locale/programs/ld-monetary.c (monetary_read)
13362 <tok_mon_grouping>: Normalize single -1 to the empty string.
13363 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13364 Likewise.
13365
728dab0e
OB
133662013-11-07 Ondřej Bílka <neleai@seznam.cz>
13367
13368 [BZ #16055]
13369 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13370 when we match (nil).
13371 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13372
66294491
JM
133732013-11-16 Joseph Myers <joseph@codesourcery.com>
13374
ce665817
JM
13375 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13376 (NO_TEST_INLINE): Update value.
13377 (ERRNO_UNCHANGED): Likewise.
13378 (ERRNO_EDOM): Likewise.
13379 (ERRNO_ERANGE): Likewise.
13380 (IGNORE_RESULT): Likewise.
13381 (check_float_internal): Check signs of NaN results if
13382 TEST_NAN_SIGN used.
13383 (check_complex): Pass TEST_NAN_SIGN flag through to second
13384 check_float_internal call.
13385 (copysign_test_data): Add tests with quiet NaNs as second
13386 argument. Use TEST_NAN_SIGN.
13387 (fabs_test_data): Add test of negative quiet NaN argument. Use
13388 TEST_NAN_SIGN.
13389 (signbit_test_data): Add tests of quiet NaN argument.
13390 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13391
ee1466a9
JM
13392 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13393 $ignore_result.
13394 (parse_args): Handle function results specified as IGNORE.
13395 * math/libm-test.inc (IGNORE_RESULT): New macro.
13396 (check_float_internal): Do not check numerical result if flag
13397 IGNORE_RESULT set.
13398 (check_complex): Pass through IGNORE_RESULT to second
13399 check_float_internal call.
13400 (check_int): Do not check numerical result if flag IGNORE_RESULT
13401 set.
13402 (check_long): Likewise.
13403 (check_bool): Likewise.
13404 (check_longlong): Likewise.
13405 (lrint_test_data): Add tests of infinite and NaN arguments.
13406 (lrint_tonearest_test_data): Likewise.
13407 (lrint_towardzero_test_data): Likewise.
13408 (lrint_downward_test_data): Likewise.
13409 (lrint_upward_test_data): Likewise.
13410 (llrint_test_data): Likewise.
13411 (llrint_tonearest_test_data): Likewise.
13412 (llrint_towardzero_test_data): Likewise.
13413 (llrint_downward_test_data): Likewise.
13414 (llrint_upward_test_data): Likewise.
13415 (lround_test_data): Likewise.
13416 (llround_test_data): Likewise.
13417
14407b7e
JM
13418 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13419 (ERRNO_UNCHANGED): Update value.
13420 (ERRNO_EDOM): Likewise.
13421 (ERRNO_ERANGE): Likewise.
13422 (NO_TEST_INLINE_FLOAT): New macro.
13423 (NO_TEST_INLINE_DOUBLE): Likewise.
13424 (enable_test): New function.
13425 (RUN_TEST_f_f): Check enable_test before running test.
13426 (RUN_TEST_2_f): Likewise.
13427 (RUN_TEST_fff_f): Likewise.
13428 (RUN_TEST_c_f): Likewise.
13429 (RUN_TEST_f_f1): Likewise.
13430 (RUN_TEST_fF_f1): Likewise.
13431 (RUN_TEST_fI_f1): Likewise.
13432 (RUN_TEST_ffI_f1): Likewise.
13433 (RUN_TEST_c_c): Likewise.
13434 (RUN_TEST_cc_c): Likewise.
13435 (RUN_TEST_f_i): Likewise.
13436 (RUN_TEST_f_i_tg): Likewise.
13437 (RUN_TEST_ff_i_tg): Likewise.
13438 (RUN_TEST_f_b): Likewise.
13439 (RUN_TEST_f_b_tg): Likewise.
13440 (RUN_TEST_f_l): Likewise.
13441 (RUN_TEST_f_L): Likewise.
13442 (RUN_TEST_fFF_11): Likewise.
13443 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13444 conditionals.
13445 (cosh_test_data): Likewise.
13446 (exp_test_data): Likewise.
13447 (expm1_test_data): Likewise.
13448 (hypot_test_data): Likewise.
13449 (pow_test_data): Likewise.
13450 (sinh_test_data): Likewise.
13451 (tanh_test_data): Likewise.
13452 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13453 flags argument.
13454
ca07f197
JM
13455 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13456 tests with quiet NaN input and output.
13457 (acosh_test_data): Likewise.
13458 (asin_test_data): Likewise.
13459 (asinh_test_data): Likewise.
13460 (atan_test_data): Likewise.
13461 (atanh_test_data): Likewise.
13462 (atan2_test_data): Likewise.
13463 (cbrt_test_data): Likewise.
13464 (cos_test_data): Likewise.
13465 (cosh_test_data): Likewise.
13466 (erf_test_data): Likewise.
13467 (erfc_test_data): Likewise.
13468 (exp_test_data): Likewise.
13469 (exp10_test_data): Likewise.
13470 (exp2_test_data): Likewise.
13471 (expm1_test_data): Likewise.
13472 (hypot_test_data): Likewise.
13473 (j0_test_data): Likewise.
13474 (j1_test_data): Likewise.
13475 (jn_test_data): Likewise.
13476 (lgamma_test_data): Likewise.
13477 (log_test_data): Likewise.
13478 (log10_test_data): Likewise.
13479 (log1p_test_data): Likewise.
13480 (log2_test_data): Likewise.
13481 (pow_test_data): Likewise.
13482 (scalb_test_data): Likewise.
13483 (sin_test_data): Likewise.
13484 (sincos_test_data): Likewise.
13485 (sinh_test_data): Likewise.
13486 (tan_test_data): Likewise.
13487 (tanh_test_data): Likewise.
13488 (tgamma_test_data): Likewise.
13489 (y0_test_data): Likewise.
13490 (y1_test_data): Likewise.
13491 (yn_test_data): Likewise.
13492
66294491
JM
13493 [BZ #16167]
13494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13495 argument being NaN and avoid computations with second argument in
13496 that case.
13497 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13498 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13499 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13500
1820b143
CL
135012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13502
13503 * locale/iso-639.def: Add Chitwani Tharu (the).
13504
714bd261
AS
135052013-11-14 Andreas Schwab <schwab@suse.de>
13506
13507 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13508 word instead of empty string.
13509
7ab44563
AZ
135102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13511
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13513 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13515 (__fe_nomask_env): Likewise.
13516
e8470ea2
SE
135172013-11-13 Steve Ellcey <sellcey@mips.com>
13518
13519 * benchtests/bench-timing.h: Include time.h.
13520
17c1d9f0
L
135212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13522
13523 [BZ #15997]
13524 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13525 to 3.4.0 for x32.
13526 * sysdeps/unix/sysv/linux/configure: Regenerated.
13527
9310c284
JM
135282013-11-13 Joseph Myers <joseph@codesourcery.com>
13529
13530 [BZ #16151]
13531 * stdlib/strtod_l.c (round_and_return): Do not consider
13532 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13533 exponent one less than half the least subnormal exponent.
13534 * stdlib/test-strtod-round-data: Add more tests.
13535 * stdlib/tst-strtod-round.c (tests): Regenerated.
13536
7a2ad8cf
AZ
135372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13538
13539 [BZ #14143]
13540 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13541 (__fe_mask_env): Likewise.
13542 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13543 libm_hidden_proto and add function prototype.
13544 (__fe_mask_env): Add function prototype.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13546 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13548 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13550 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13551
50727aa7
MS
135522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13553
b2f386c1 13554 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13555 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13556
a615be46
MS
135572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13558
13559 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13560 of htab_find_slot().
13561
7ddace62
DM
135622013-11-11 David S. Miller <davem@davemloft.net>
13563
13564 [BZ #16150]
13565 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13566 symbol in the non-vis3 case in static builds.
13567 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13568 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13569 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13570 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13571
9182aa67
JK
135722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13573
13574 [BZ #387]
13575 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13576 it is empty.
13577
450a2e2d
AZ
135782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579
b2f386c1
SP
13580 * benchtests/Makefile: Add bench-strtod.
13581 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13582
8ec3f656
AS
135832013-11-11 Andreas Schwab <schwab@suse.de>
13584
13585 [BZ #16153]
13586 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13587 terminating NUL in key length.
13588
76a9b998
AZ
135892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13590
13591 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13592 Add artificial ODP entry for vDSO symbol for PPC64.
13593 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13594 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13595
e4368156
OB
135962013-11-07 Ondřej Bílka <neleai@seznam.cz>
13597
13598 [BZ #15374]
13599 * nss/getent.c (services_keys): Recognize services starting with digit.
13600
8d6bb57c
DM
136012013-11-06 David S. Miller <davem@davemloft.net>
13602
13603 [BZ #15985]
13604 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13605 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13606
e256c421
WN
136072013-11-06 Will Newton <will.newton@linaro.org>
13608
13609 * manual/memory.texi (Malloc Examples): Remove register
13610 keyword from examples.
13611
f6e12daa 136122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13613
f6e12daa 13614 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13615
9d880655
AS
136162013-11-04 Joseph Myers <joseph@codesourcery.com>
13617
fd2f9486 13618 [BZ #6981]
9d880655
AS
13619 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13620 depending on [__GCC_IEC_559 > 0].
13621 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13622 depending on [__GCC_IEC_559_COMPLEX > 0].
13623
ae129d3c
CL
136242013-11-03 Chris Leonard <cjl@sugarlabs.org>
13625
13626 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13627 to iso-639.def.
13628
4a15c2a4 136292013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13630
13631 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13632
8b35e35d
OB
136332013-11-01 Ondřej Bílka <neleai@seznam.cz>
13634
13635 [BZ #16112]
13636 * malloc/malloc (malloc_info): Do not handle first bin as
13637 special case.
13638
1d70fd6c
CL
136392013-11-01 Chris Leonard <cjl@sugarlabs.org>
13640
13641 * locale/iso-639.def: Add Central Nahuatl (nhn).
13642
8c5c2600
BH
136432013-11-01 Bruno Haible <bruno@clisp.org>
13644
13645 [BZ #7003]
13646 * manual/math.texi (BSD Random): Specify range upper bound as
13647 in POSIX.
13648
da5579c2
CL
136492013-10-31 Chris Leonard <cjl@sugarlabs.org>
13650
13651 * locale/iso-639.def: Add Meadow Mari (mhr).
13652
5d30d853
OB
136532013-10-31 Ondřej Bílka <neleai@seznam.cz>
13654
13655 [BZ #14752], [BZ #15763]
13656 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13657 Validate name.
13658 * rt/tst_shm.c: Add test for escaping directory.
13659
a4966c61
AS
136602013-10-31 Andreas Schwab <schwab@suse.de>
13661
8a43e768 13662 [BZ #15917]
a4966c61
AS
13663 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13664 followed by 'x' as part of digit sequence.
13665 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13666
28d708c4
MAP
136672013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13668
13669 [BZ #16037]
13670 * configure.ac: allow GNU Make 4.0 and greater.
13671 * configure: Regenerated.
13672
a56ee40b
WN
136732013-10-30 Will Newton <will.newton@linaro.org>
13674
13675 [BZ #16038]
13676 * malloc/hooks.c (memalign_check): Limit alignment to the
13677 maximum representable power of two.
13678 * malloc/malloc.c (__libc_memalign): Likewise.
13679 * malloc/tst-memalign.c (do_test): Add test for very
13680 large alignment values.
13681 * malloc/tst-posix_memalign.c (do_test): Likewise.
13682
c6e4925d
OB
136832013-10-30 Ondřej Bílka <neleai@seznam.cz>
13684
13685 [BZ #11087]
13686 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13687 (munmap_chunk): Likewise.
13688 (mremap_chunk): Likewise.
13689
136902013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13691
8a43e768 13692 [BZ #15799]
bbea82f7
OB
13693 * stdlib/div.c (div): Remove obsolete code.
13694 * stdlib/ldiv.c (ldiv): Likewise.
13695 * stdlib/lldiv.c (lldiv): Likewise.
13696
977f4b31
SP
136972013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 [BZ #16071]
13700 * nss/nss_files/files-XXX.c (get_contents_ret): New
13701 enumerator.
13702 (get_contents): New function.
13703 (internal_getent): Use it. Expand size of LINEBUFLEN.
13704
cb8a6dbd
MF
137052013-10-30 Mike Frysinger <vapier@gentoo.org>
13706
13707 * configure.in: Moved to ...
13708 * configure.ac: ... here. Change reference to configure.in
13709 to configure.ac.
13710 * sysdeps/arm/preconfigure.ac: ... here.
13711 configure.in to configure.ac.
13712 * sysdeps/gnu/configure.in: Moved to ...
13713 * sysdeps/gnu/configure.ac: ... here.
13714 * sysdeps/i386/configure.in: Moved to ...
13715 * sysdeps/i386/configure.ac: ... here.
13716 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13717 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13718 * sysdeps/mach/configure.in: Moved to ...
13719 * sysdeps/mach/configure.ac: ... here.
13720 * sysdeps/mach/hurd/configure.in: Moved to ...
13721 * sysdeps/mach/hurd/configure.ac: ... here.
13722 * sysdeps/powerpc/configure.in: Moved to ...
13723 * sysdeps/powerpc/configure.ac: ... here.
13724 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13725 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13726 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13727 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13728 * sysdeps/s390/s390-32/configure.in: Moved to ...
13729 * sysdeps/s390/s390-32/configure.ac: ... here.
13730 * sysdeps/s390/s390-64/configure.in: Moved to ...
13731 * sysdeps/s390/s390-64/configure.ac: ... here.
13732 * sysdeps/sh/configure.in: Moved to ...
13733 * sysdeps/sh/configure.ac: ... here.
13734 * sysdeps/sparc/configure.in: Moved to ...
13735 * sysdeps/sparc/configure.ac: ... here.
13736 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13737 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13738 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13739 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13740 * sysdeps/x86_64/configure.in: Moved to ...
13741 * sysdeps/x86_64/configure.ac: ... here.
13742 * sysdeps/x86_64/preconfigure.in: Moved to ...
13743 * sysdeps/x86_64/preconfigure.ac: ... here.
13744 * aclocal.m4: Change reference to configure.in to configure.ac.
13745 * config.h.in: Likewise.
13746 * manual/install.texi: Likewise.
13747 * manual/maint.texi: Likewise.
13748 * Makefile: Likewise.
13749 * malloc/Makefile: Likewise.
13750 * nscd/Makefile: Likewise.
13751 * Makeconfig: Change reference to configure.in and
13752 preconfigure.in to configure.ac and preconfigure.ac
13753 respectively.
13754 * INSTALL: Regenerated.
13755 * configure: Likewise.
13756 * sysdeps/gnu/configure: Likewise.
13757 * sysdeps/i386/configure: Likewise.
13758 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13759 * sysdeps/mach/configure: Likewise.
13760 * sysdeps/mach/hurd/configure: Likewise.
13761 * sysdeps/powerpc/configure: Likewise.
13762 * sysdeps/powerpc/powerpc32/configure: Likewise.
13763 * sysdeps/powerpc/powerpc64/configure: Likewise.
13764 * sysdeps/s390/s390-32/configure: Likewise.
13765 * sysdeps/s390/s390-64/configure: Likewise.
13766 * sysdeps/sh/configure: Likewise.
13767 * sysdeps/sparc/configure: Likewise.
13768 * sysdeps/unix/sysv/linux/configure: Likewise.
13769 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13770 * sysdeps/x86_64/configure: Likewise.
13771 * sysdeps/x86_64/preconfigure: Likewise.
13772
36a4953a
AS
137732013-10-29 Andreas Schwab <schwab@suse.de>
13774
13775 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13776
c79a1204
SP
137772013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13778
dfa1b402
SP
13779 * benchtests/pow-inputs: Add new inputs.
13780
54f73d9c
SP
13781 * benchtests/exp-inputs: Add new inputs.
13782
c79a1204
SP
13783 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13784 conditional check for return value.
13785 (__cos32): Likewise.
13786
67beb545 137872013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13788
13789 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13790 to provide a boost for large inputs with word alignment.
13791 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13792 implementation based on optimized PPC64 strcpy.
13793 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13794 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13795 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13796 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13797
151659f6
OB
137982013-10-25 Ondřej Bílka <neleai@seznam.cz>
13799
482a077e 13800 [BZ #2801]
151659f6
OB
13801 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13802
10b0f26b
OB
138032013-10-25 Ondřej Bílka <neleai@seznam.cz>
13804
13805 [BZ #14876]
13806 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13807 * time/tst-strptime.c (day_tests): Add testcase.
13808
ca42d35e
OB
138092013-10-25 Ondřej Bílka <neleai@seznam.cz>
13810
482a077e 13811 [BZ #14029]
ca42d35e
OB
13812 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13813
52e6d801
FB
138142013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13815
13816 [BZ #16074]
13817 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13818 MAP_FAILED on error.
13819
7cbcdb36
SP
138202013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13821
13822 [BZ #16072]
13823 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13824 heap for large requests.
13825
894f3f10
AM
138262013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13827
13828 [BZ #9954]
13829 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13830 result if the result has no associated interface.
13831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13832 interface for all 127.X.Y.Z addresses.
13833
b85545a6
CL
138342013-10-24 Chris Leonard <cjl@sugarlabs.org>
13835
13836 * locale/iso-639.def: Add Ligurian (lij)
13837
d1f23d46
OB
138382013-10-21 Ondřej Bílka <neleai@seznam.cz>
13839
13840 [BZ #15825]
13841 * sunrpc/rpc_main.c: Document rpcgen -5.
13842
4db5b08f
MS
138432013-10-19 Michael Stahl <mstahl@redhat.com>
13844
13845 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13846
a471e96a
OB
138472013-10-19 Ondřej Bílka <neleai@seznam.cz>
13848
d1f23d46 13849 [BZ #10278]
a471e96a
OB
13850 * posix/glob.c: Match only directories when trailing slash is present.
13851 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13852 (main): Add testcase.
13853
45c30c61
OB
138542013-10-19 Ondřej Bílka <neleai@seznam.cz>
13855
13856 [BZ #15670]
13857 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13858
484c12fb
CD
138592013-10-18 Carlos O'Donell <carlos@redhat.com>
13860
3d7dc513
CD
13861 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13862 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13863 AUTH_DES and cindex for FIPS 140-2.
13864 (DES Encryption): Add cindex FIPS 46-3.
13865
484c12fb
CD
13866 * locale/locarchive.h (struct locarhandle): Add fname.
13867 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13868 if an optional argument was specified to --list-archive,
13869 otherwise NULL.
13870 * locale/programs/locarchive.c (show_archive_content): Take new
13871 argument fname and pass it via ah.fname to open_archive.
13872 * locale/programs/localedef.h: Update decl.
13873 (open_archive): If AH->fname is non-null, open that file
13874 rather than the default file name, and don't ignore ENOENT.
13875 (create_archive): Set AH.fname to NULL.
13876 (delete_locales_from_archive): Likewise.
13877 (add_locales_to_archive): Likewise.
13878 * locale/programs/locfile.c (write_all_categories): Likewise.
13879
3c8325fb
JM
138802013-10-18 Joseph Myers <joseph@codesourcery.com>
13881 Aldy Hernandez <aldyh@redhat.com>
13882
13883 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13884 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13885 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13886 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13887 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13888 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13889 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13890 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13891 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13892 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13893 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13894 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13895 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13896 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13897 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13898 Likewise.
13899 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13900 Likewise.
13901 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13902 Likewise.
13903 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13904 Likewise.
13905 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13906 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13907 Likewise.
13908 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13909 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13910 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13911 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13912 Likewise.
13913 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13914 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13915 * sysdeps/powerpc/preconfigure: Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13917 Likewise.
13918 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13919 Replace contents of file by #include of <fenv_libc.h>.
13920 * sysdeps/powerpc/soft-fp/sfp-machine.h
13921 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13922 and <sys/prctl.h>.
13923 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13925 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13926 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13928 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13931 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13932 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13933 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13934 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13936 Allow copysignl PLT reference to be missing.
13937
5abe0682
RS
139382013-10-18 Richard Sandiford <richard@codesourcery.com>
13939 Joseph Myers <joseph@codesourcery.com
13940
13941 [BZ #15948]
13942 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13943 single character.
13944 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13945
c7738d08
SP
139462013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13947
13948 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13949 * elf/tst-tls1.c: Likewise.
13950 * elf/tst-tls10.h: Likewise.
13951 * elf/tst-tls14.c: Likewise.
13952 * elf/tst-tls2.c: Likewise.
13953 * elf/tst-tls3.c: Likewise.
13954 * elf/tst-tls4.c: Likewise.
13955 * elf/tst-tls5.c: Likewise.
13956 * elf/tst-tls6.c: Likewise.
13957 * elf/tst-tls7.c: Likewise.
13958 * elf/tst-tls8.c: Likewise.
13959 * elf/tst-tls9.c: Likewise.
13960 * elf/tst-tlsmod1.c: Likewise.
13961 * elf/tst-tlsmod13.c: Likewise.
13962 * elf/tst-tlsmod13a.c: Likewise.
13963 * elf/tst-tlsmod14a.c: Likewise.
13964 * elf/tst-tlsmod16a.c: Likewise.
13965 * elf/tst-tlsmod16b.c: Likewise.
13966 * elf/tst-tlsmod2.c: Likewise.
13967 * elf/tst-tlsmod3.c: Likewise.
13968 * elf/tst-tlsmod4.c: Likewise.
13969 * elf/tst-tlsmod5.c: Likewise.
13970 * elf/tst-tlsmod6.c: Likewise.
13971
0bfcf2c7
OB
139722013-10-18 Ondřej Bílka <neleai@seznam.cz>
13973
13974 [BZ #12486]
13975 * malloc/malloc.c: remove checks for statistics.
13976
264aad1e
OB
139772013-10-17 Ondřej Bílka <neleai@seznam.cz>
13978
13979 [BZ #15277]
13980 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13981 * inet/tst-network.c: Add testcase.
13982
b957ced8
AS
139832013-10-17 Andreas Schwab <schwab@suse.de>
13984
13985 [BZ #15218]
13986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13987 to determine canonical name.
13988
c5d5d574
OB
139892013-10-17 Ondřej Bílka <neleai@seznam.cz>
13990
13991 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13992 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14015 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14016 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14021 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14049
e5c2c2d0
JM
140502013-10-17 Joseph Myers <joseph@codesourcery.com>
14051
14052 [BZ #16041]
14053 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14054 make result into a quiet NaN.
14055
51ca9e29
JM
140562013-10-16 Joseph Myers <joseph@codesourcery.com>
14057
14058 * soft-fp/adddf3.c: Fix horizontal whitespace.
14059 * soft-fp/addsf3.c: Likewise.
14060 * soft-fp/addtf3.c: Likewise.
14061 * soft-fp/divdf3.c: Likewise.
14062 * soft-fp/divsf3.c: Likewise.
14063 * soft-fp/divtf3.c: Likewise.
14064 * soft-fp/double.h: Likewise.
14065 * soft-fp/eqdf2.c: Likewise.
14066 * soft-fp/eqsf2.c: Likewise.
14067 * soft-fp/eqtf2.c: Likewise.
14068 * soft-fp/extenddftf2.c: Likewise.
14069 * soft-fp/extended.h: Likewise.
14070 * soft-fp/extendsfdf2.c: Likewise.
14071 * soft-fp/extendsftf2.c: Likewise.
14072 * soft-fp/extendxftf2.c: Likewise.
14073 * soft-fp/fixdfdi.c: Likewise.
14074 * soft-fp/fixdfsi.c: Likewise.
14075 * soft-fp/fixdfti.c: Likewise.
14076 * soft-fp/fixsfdi.c: Likewise.
14077 * soft-fp/fixsfsi.c: Likewise.
14078 * soft-fp/fixsfti.c: Likewise.
14079 * soft-fp/fixtfdi.c: Likewise.
14080 * soft-fp/fixtfsi.c: Likewise.
14081 * soft-fp/fixtfti.c: Likewise.
14082 * soft-fp/fixunsdfdi.c: Likewise.
14083 * soft-fp/fixunsdfsi.c: Likewise.
14084 * soft-fp/fixunsdfti.c: Likewise.
14085 * soft-fp/fixunssfdi.c: Likewise.
14086 * soft-fp/fixunssfsi.c: Likewise.
14087 * soft-fp/fixunssfti.c: Likewise.
14088 * soft-fp/fixunstfdi.c: Likewise.
14089 * soft-fp/fixunstfsi.c: Likewise.
14090 * soft-fp/fixunstfti.c: Likewise.
14091 * soft-fp/floatdidf.c: Likewise.
14092 * soft-fp/floatdisf.c: Likewise.
14093 * soft-fp/floatditf.c: Likewise.
14094 * soft-fp/floatsidf.c: Likewise.
14095 * soft-fp/floatsisf.c: Likewise.
14096 * soft-fp/floatsitf.c: Likewise.
14097 * soft-fp/floattidf.c: Likewise.
14098 * soft-fp/floattisf.c: Likewise.
14099 * soft-fp/floattitf.c: Likewise.
14100 * soft-fp/floatundidf.c: Likewise.
14101 * soft-fp/floatundisf.c: Likewise.
14102 * soft-fp/floatunditf.c: Likewise.
14103 * soft-fp/floatunsidf.c: Likewise.
14104 * soft-fp/floatunsisf.c: Likewise.
14105 * soft-fp/floatunsitf.c: Likewise.
14106 * soft-fp/floatuntidf.c: Likewise.
14107 * soft-fp/floatuntisf.c: Likewise.
14108 * soft-fp/floatuntitf.c: Likewise.
14109 * soft-fp/fmadf4.c: Likewise.
14110 * soft-fp/fmasf4.c: Likewise.
14111 * soft-fp/fmatf4.c: Likewise.
14112 * soft-fp/gedf2.c: Likewise.
14113 * soft-fp/gesf2.c: Likewise.
14114 * soft-fp/getf2.c: Likewise.
14115 * soft-fp/ledf2.c: Likewise.
14116 * soft-fp/lesf2.c: Likewise.
14117 * soft-fp/letf2.c: Likewise.
14118 * soft-fp/muldf3.c: Likewise.
14119 * soft-fp/mulsf3.c: Likewise.
14120 * soft-fp/multf3.c: Likewise.
14121 * soft-fp/negdf2.c: Likewise.
14122 * soft-fp/negsf2.c: Likewise.
14123 * soft-fp/negtf2.c: Likewise.
14124 * soft-fp/op-1.h: Likewise.
14125 * soft-fp/op-2.h: Likewise.
14126 * soft-fp/op-4.h: Likewise.
14127 * soft-fp/op-8.h: Likewise.
14128 * soft-fp/op-common.h: Likewise.
14129 * soft-fp/quad.h: Likewise.
14130 * soft-fp/single.h: Likewise.
14131 * soft-fp/soft-fp.h: Likewise.
14132 * soft-fp/sqrtdf2.c: Likewise.
14133 * soft-fp/sqrtsf2.c: Likewise.
14134 * soft-fp/sqrttf2.c: Likewise.
14135 * soft-fp/subdf3.c: Likewise.
14136 * soft-fp/subsf3.c: Likewise.
14137 * soft-fp/subtf3.c: Likewise.
14138 * soft-fp/truncdfsf2.c: Likewise.
14139 * soft-fp/trunctfdf2.c: Likewise.
14140 * soft-fp/trunctfsf2.c: Likewise.
14141 * soft-fp/trunctfxf2.c: Likewise.
14142 * soft-fp/unorddf2.c: Likewise.
14143 * soft-fp/unordsf2.c: Likewise.
14144 * soft-fp/unordtf2.c: Likewise.
14145
9ebb0332
JM
141462013-10-15 Joseph Myers <joseph@codesourcery.com>
14147
14148 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14149 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14150
4b1a6d8b
OB
141512013-10-15 Ondřej Bílka <neleai@seznam.cz>
14152
14153 * elf/dl-libc.c: Clear initfini list after freeing.
14154
1e145589
JM
141552013-10-14 Joseph Myers <joseph@codesourcery.com>
14156
14157 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14158 * soft-fp/addsf3.c: Likewise.
14159 * soft-fp/addtf3.c: Likewise.
14160 * soft-fp/divdf3.c: Likewise.
14161 * soft-fp/divsf3.c: Likewise.
14162 * soft-fp/divtf3.c: Likewise.
14163 * soft-fp/double.h: Likewise.
14164 * soft-fp/eqdf2.c: Likewise.
14165 * soft-fp/eqsf2.c: Likewise.
14166 * soft-fp/eqtf2.c: Likewise.
14167 * soft-fp/extenddftf2.c: Likewise.
14168 * soft-fp/extended.h: Likewise.
14169 * soft-fp/extendsfdf2.c: Likewise.
14170 * soft-fp/extendsftf2.c: Likewise.
14171 * soft-fp/extendxftf2.c: Likewise.
14172 * soft-fp/fixdfdi.c: Likewise.
14173 * soft-fp/fixdfsi.c: Likewise.
14174 * soft-fp/fixdfti.c: Likewise.
14175 * soft-fp/fixsfdi.c: Likewise.
14176 * soft-fp/fixsfsi.c: Likewise.
14177 * soft-fp/fixsfti.c: Likewise.
14178 * soft-fp/fixtfdi.c: Likewise.
14179 * soft-fp/fixtfsi.c: Likewise.
14180 * soft-fp/fixtfti.c: Likewise.
14181 * soft-fp/fixunsdfdi.c: Likewise.
14182 * soft-fp/fixunsdfsi.c: Likewise.
14183 * soft-fp/fixunsdfti.c: Likewise.
14184 * soft-fp/fixunssfdi.c: Likewise.
14185 * soft-fp/fixunssfsi.c: Likewise.
14186 * soft-fp/fixunssfti.c: Likewise.
14187 * soft-fp/fixunstfdi.c: Likewise.
14188 * soft-fp/fixunstfsi.c: Likewise.
14189 * soft-fp/fixunstfti.c: Likewise.
14190 * soft-fp/floatdidf.c: Likewise.
14191 * soft-fp/floatdisf.c: Likewise.
14192 * soft-fp/floatditf.c: Likewise.
14193 * soft-fp/floatsidf.c: Likewise.
14194 * soft-fp/floatsisf.c: Likewise.
14195 * soft-fp/floatsitf.c: Likewise.
14196 * soft-fp/floattidf.c: Likewise.
14197 * soft-fp/floattisf.c: Likewise.
14198 * soft-fp/floattitf.c: Likewise.
14199 * soft-fp/floatundidf.c: Likewise.
14200 * soft-fp/floatundisf.c: Likewise.
14201 * soft-fp/floatunsidf.c: Likewise.
14202 * soft-fp/floatunsisf.c: Likewise.
14203 * soft-fp/floatuntidf.c: Likewise.
14204 * soft-fp/floatuntisf.c: Likewise.
14205 * soft-fp/floatuntitf.c: Likewise.
14206 * soft-fp/fmadf4.c: Likewise.
14207 * soft-fp/fmasf4.c: Likewise.
14208 * soft-fp/fmatf4.c: Likewise.
14209 * soft-fp/gedf2.c: Likewise.
14210 * soft-fp/gesf2.c: Likewise.
14211 * soft-fp/getf2.c: Likewise.
14212 * soft-fp/ledf2.c: Likewise.
14213 * soft-fp/lesf2.c: Likewise.
14214 * soft-fp/letf2.c: Likewise.
14215 * soft-fp/muldf3.c: Likewise.
14216 * soft-fp/mulsf3.c: Likewise.
14217 * soft-fp/multf3.c: Likewise.
14218 * soft-fp/negdf2.c: Likewise.
14219 * soft-fp/negsf2.c: Likewise.
14220 * soft-fp/negtf2.c: Likewise.
14221 * soft-fp/op-1.h: Likewise.
14222 * soft-fp/op-2.h: Likewise.
14223 * soft-fp/op-4.h: Likewise.
14224 * soft-fp/op-8.h: Likewise.
14225 * soft-fp/op-common.h: Likewise.
14226 * soft-fp/quad.h: Likewise.
14227 * soft-fp/single.h: Likewise.
14228 * soft-fp/soft-fp.h: Likewise.
14229 * soft-fp/sqrtdf2.c: Likewise.
14230 * soft-fp/sqrtsf2.c: Likewise.
14231 * soft-fp/sqrttf2.c: Likewise.
14232 * soft-fp/subdf3.c: Likewise.
14233 * soft-fp/subsf3.c: Likewise.
14234 * soft-fp/subtf3.c: Likewise.
14235 * soft-fp/truncdfsf2.c: Likewise.
14236 * soft-fp/trunctfdf2.c: Likewise.
14237 * soft-fp/trunctfsf2.c: Likewise.
14238 * soft-fp/trunctfxf2.c: Likewise.
14239 * soft-fp/unorddf2.c: Likewise.
14240 * soft-fp/unordsf2.c: Likewise.
14241 * soft-fp/unordtf2.c: Likewise.
14242
17c48a60
OB
142432013-10-14 Ondřej Bílka <neleai@seznam.cz>
14244
14245 [BZ #15672]
14246 * misc/error.c (error_tail): Fix possible buffer overflow.
14247
cabba934
OB
142482013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14249
14250 [BZ #13028]
14251 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14252 address.
14253
94bf958a
PM
142542013-10-14 P. J. McDermott <pj@pehjota.net>
14255
14256 [BZ #832]
14257 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14258 testing pipefail option.
14259
71b4dea7
JM
142602013-10-12 Joseph Myers <joseph@codesourcery.com>
14261
14262 * soft-fp/double.h: Indent preprocessor directives inside #if.
14263 * soft-fp/extended.h: Likewise.
14264 * soft-fp/op-2.h: Likewise.
14265 * soft-fp/op-4.h: Likewise.
14266 * soft-fp/op-common.h: Likewise.
14267 * soft-fp/quad.h: Likewise.
14268 * soft-fp/single.h: Likewise.
14269 * soft-fp/soft-fp.h: Likewise.
14270
55602758
YC
142712013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14272
14273 * iconv/iconv_prog.c: Fix typos.
14274 * stdio-common/psiginfo-data.h: Likewise.
14275
9cd83302
RT
142762013-10-12 Reuben Thomas <rrt@sc3d.org>
14277
14278 [BZ #15764]
14279 * locale/setlocale.c: Fix typo.
14280
99fd9f47
JM
142812013-10-12 Joseph Myers <joseph@codesourcery.com>
14282
b7ea74f0
JM
14283 [BZ #16036]
14284 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14285 signaling NaN arguments.
14286 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14287 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14288
8a509447
JM
14289 [BZ #14910]
14290 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14291 unordered operands.
14292 * soft-fp/gesf2.c (__gesf2): Likewise.
14293 * soft-fp/getf2.c (__getf2): Likewise.
14294 * soft-fp/ledf2.c (__ledf2): Likewise.
14295 * soft-fp/lesf2.c (__lesf2): Likewise.
14296 * soft-fp/letf2.c (__letf2): Likewise.
14297
98998e9f
JM
14298 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14299 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14300 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14301 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14302 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14303 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14304 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14305 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14306 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14307 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14308 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14309 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14310 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14311 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14312 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14313 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14314 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14315 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14316 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14317 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14318 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14319 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14320 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14321 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14322 * soft-fp/floattidf.c (__floattidf): Likewise.
14323 * soft-fp/floattisf.c (__floattisf): Likewise.
14324 * soft-fp/floattitf.c (__floattitf): Likewise.
14325 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14326 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14327 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14328 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14329 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14330 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14331 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14332 * soft-fp/gesf2.c (__gesf2): Likewise.
14333 * soft-fp/getf2.c (__getf2): Likewise.
14334 * soft-fp/ledf2.c (__ledf2): Likewise.
14335 * soft-fp/lesf2.c (__lesf2): Likewise.
14336 * soft-fp/letf2.c (__letf2): Likewise.
14337
8edc4a11
JM
14338 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14339 Undefine and redefine.
14340 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14341 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14342 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14343 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14344 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14345 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14346 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14347 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14348 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14349 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14350 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14351 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14352 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14353 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14354 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14355
8399acaf
JM
14356 [BZ #16032]
14357 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14358 without decrementing exponent if mantissa >= that for the
14359 denominator, not >.
14360 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14361 denominator, not >. Decrement exponent in < case instead of
14362 incrementing in >= case.
14363 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14364 without decrementing exponent if mantissa >= that for the
14365 denominator, not >.
14366
99fd9f47
JM
14367 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14368 computing saturated result for unsigned overflow.
14369
10e1cf6b
SP
143702013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14371 Jeff Law <law@redhat.com>
14372
14373 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14374 (atan2Mp): Add systemtap probe marker.
14375 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14376 (__ieee754_log): Add systemtap probe marker.
14377 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14378 (atanMp): Add systemtap probe marker.
14379 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14380 (tanMp): Add systemtap probe marker.
14381 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14382 (__slowexp): Add systemtap probe marker.
14383 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14384 (__slowpow): Add systemtap probe marker.
14385 * manual/probes.texi: Document probes.
14386
3d110c7c
EB
143872013-10-11 Eric Biggers <ebiggers3@gmail.com>
14388
14389 [BZ #15362]
14390 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14391 written.
14392 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14393 written.
14394 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14395 written to buffer but not flushed.
14396 * libio/iofwrite_u.c: Likewise.
14397 * libio/iopadn.c: Return bytes returned even if EOF was
14398 encountered.
14399 * libio/iowpadn.c: Likewise.
14400 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14401 if _IO_padn does not write the whole buffer.
14402 [!COMPILE_WPRINTF] (PAD): Likewise.
14403
75b4202a
DM
144042013-10-10 David S. Miller <davem@davemloft.net>
14405
14406 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14407 directory block.
14408
6c6352e6
JM
144092013-10-10 Joseph Myers <joseph@codesourcery.com>
14410
33b853c3
JM
14411 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14412 instead of FSF address.
14413 * soft-fp/fixdfti.c: Likewise.
14414 * soft-fp/fixsfti.c: Likewise.
14415 * soft-fp/fixtfti.c: Likewise.
14416 * soft-fp/fixunsdfti.c: Likewise.
14417 * soft-fp/fixunssfti.c: Likewise.
14418 * soft-fp/fixunstfti.c: Likewise.
14419 * soft-fp/floattidf.c: Likewise.
14420 * soft-fp/floattisf.c: Likewise.
14421 * soft-fp/floattitf.c: Likewise.
14422 * soft-fp/floatuntidf.c: Likewise.
14423 * soft-fp/floatuntisf.c: Likewise.
14424 * soft-fp/floatuntitf.c: Likewise.
14425 * soft-fp/trunctfxf2.c: Likewise.
14426
6c6352e6
JM
14427 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14428 * soft-fp/fixdfti.c: Likewise.
14429 * soft-fp/fixsfti.c: Likewise.
14430 * soft-fp/fixtfti.c: Likewise.
14431 * soft-fp/fixunsdfti.c: Likewise.
14432 * soft-fp/fixunssfti.c: Likewise.
14433 * soft-fp/fixunstfti.c: Likewise.
14434 * soft-fp/floattidf.c: Likewise.
14435 * soft-fp/floattisf.c: Likewise.
14436 * soft-fp/floattitf.c: Likewise.
14437 * soft-fp/floatuntidf.c: Likewise.
14438 * soft-fp/floatuntisf.c: Likewise.
14439 * soft-fp/floatuntitf.c: Likewise.
14440 * soft-fp/trunctfxf2.c: Likewise.
14441
3bf78b71
DM
144422013-10-10 David S. Miller <davem@davemloft.net>
14443
14444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445
6f10289e
JM
144462013-10-10 Joseph Myers <joseph@codsourcery.com>
14447
bd878fc0
JM
14448 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14449 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14450 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14451 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14452 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14453 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14454 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14455
6f10289e
JM
14456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14457 for NaNs before doing comparisons on argument.
14458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14459 Likewise.
14460
321e2684
WN
144612013-10-10 Will Newton <will.newton@linaro.org>
14462
14463 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14464 passed to _int_memalign does not overflow.
14465
40fefba1
TR
144662013-10-10 Torvald Riegel <triegel@redhat.com>
14467
14468 * scripts/bench.pl: Add include-sources directive.
14469 * benchtests/README: Update documentation.
14470
2ae21ed2
JM
144712013-10-10 Joseph Myers <joseph@codesourcery.com>
14472
dcc2dd3f
JM
14473 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14474 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14475 instead of FP_INIT_ROUNDMODE.
14476 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14477 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14478
2ae21ed2
JM
14479 [BZ #16034]
14480 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14481 copy class of input value.
14482 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14483 not handle exceptions.
14484 * soft-fp/negsf2.c (__negsf2): Likewise.
14485 * soft-fp/negtf2.c (__negtf2): Likewise.
14486 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14487
cb8f9562
JM
144882013-10-09 Joseph Myers <joseph@codesourcery.com>
14489
14490 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14491 semicolon. From Linux kernel.
14492
5b60c59d
AB
144932013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14494
14495 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14496
b86835ca
YC
144972013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14498
14499 [BZ #156]
14500 * manual/socket.texi: Added statement about buffer
14501 for gethostbyname2_r.
14502
e7044ea7
OB
145032013-10-08 Ondřej Bílka <neleai@seznam.cz>
14504
14505 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14506 Use .p2align directive instead, throughout.
14507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14508 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14509 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14512 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14513 * sysdeps/x86_64/strchr.S: Likewise.
14514 * sysdeps/x86_64/strrchr.S: Likewise.
14515
09544cbc
SP
145162013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14517
88576635
SP
14518 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14519
e7b2d1dd
SP
14520 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14521
09544cbc
SP
14522 * sysdeps/generic/math_private.h (__mpsin1): Remove
14523 declaration.
14524 (__mpcos1): Likewise.
14525 (__mpsin): New argument __range_reduce.
14526 (__mpcos): Likewise.
14527 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14528 (slow): Use __mpsin and __mpcos.
14529 (slow1): Likewise.
14530 (slow2): Likewise.
14531 (sloww): Likewise.
14532 (sloww1): Likewise.
14533 (sloww2): Likewise.
14534 (bsloww): Likewise.
14535 (bsloww1): Likewise.
14536 (bsloww2): Likewise.
14537 (cslow2): Likewise.
14538 (csloww): Likewise.
14539 (csloww1): Likewise.
14540 (csloww2): Likewise.
14541 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14542 range_reduce. Merge in __mpsin1.
14543 (__mpcos): Likewise.
14544 (__mpsin1): Remove.
14545 (__mpcos1): Likewise.
14546
7602d070
JM
145472013-10-07 Joseph Myers <joseph@codesourcery.com>
14548
14549 * locale/loadlocale.c (_nl_intern_locale_data): Use
14550 LOCFILE_ALIGNED_P.
14551 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14552 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14553 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14554 obstack data is appropriately aligned.
14555 (obstack_int32_grow_fast): Likewise.
14556 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14557 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14558 (add_locale_uint32_array): Likewise.
14559
a357259b
SP
145602013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14561
14562 * benchtests/Makefile: Remove ARGLIST and RET variables.
14563 ($(objpfx)bench-%.c): Pass only function name to the script.
14564 * benchtests/README: Update documentation.
14565 * benchtests/acos-inputs: Add new directives.
14566 * benchtests/acosh-inputs: Likewise.
14567 * benchtests/asin-inputs: Likewise.
14568 * benchtests/asinh-inputs: Likewise.
14569 * benchtests/atan-inputs: Likewise.
14570 * benchtests/atanh-inputs: Likewise.
14571 * benchtests/cos-inputs: Likewise.
14572 * benchtests/cosh-inputs: Likewise.
14573 * benchtests/exp-inputs: Likewise.
14574 * benchtests/log-inputs: Likewise.
14575 * benchtests/pow-inputs: Likewise.
14576 * benchtests/rint-inputs: Likewise.
14577 * benchtests/sin-inputs: Likewise.
14578 * benchtests/sinh-inputs: Likewise.
14579 * benchtests/tan-inputs: Likewise.
14580 * benchtests/tanh-inputs: Likewise.
14581 * scripts/bench.pl: Add support for new directives.
14582
9ec1b13d
AM
145832013-10-07 Alan Modra <amodra@gmail.com>
14584
14585 * README: Fix careless merge.
14586
8b7d57cd
AM
145872013-10-05 Alan Modra <amodra@gmail.com>
14588
14589 * NEWS: Mention powerpc64le support and bugs fixed.
14590 * README: Both big-endian and little-endian powerpc64 supported.
14591
7b7bab13
ST
145922013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14593
57f41c40
AS
14594 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14595 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14596 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14597 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14598
d39baad1
RA
145992013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14600
14601 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14602 match prototype.
14603
cd78f7e7
JM
146042013-10-04 Joseph Myers <joseph@codesourcery.com>
14605
29d73d86
JM
14606 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14607 Move -mhard-float appending from
14608 ports/sysdeps/powerpc/powerpc32/Makefile.
14609 [$(with-fp) = yes] (ASFLAGS): Likewise.
14610 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14611 * sysdeps/powerpc/nofpu: Move directory from
14612 ports/sysdeps/powerpc/nofpu.
14613 * sysdeps/powerpc/soft-fp: Move directory from
14614 ports/sysdeps/powerpc/soft-fp.
14615 * sysdeps/powerpc/powerpc32/405: Move directory from
14616 ports/sysdeps/powerpc/powerpc32/405.
14617 * sysdeps/powerpc/powerpc32/440: Move directory from
14618 ports/sysdeps/powerpc/powerpc32/440.
14619 * sysdeps/powerpc/powerpc32/464: Move directory from
14620 ports/sysdeps/powerpc/powerpc32/464.
14621 * sysdeps/powerpc/powerpc32/476: Move directory from
14622 ports/sysdeps/powerpc/powerpc32/476.
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14624 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14626 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14628 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14630 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14632 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14633 * README: Update for powerpc-*-linux-gnu software floating point
14634 support in libc.
14635
e246b347
JM
14636 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14637 case to powerpc/powerpc32*.
14638 * sysdeps/unix/sysv/linux/configure: Regenerated.
14639
89c2003e
JM
14640 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14641 (_FPU_MASK_OM): Define as 0x04.
14642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14644 0x00c10080.
14645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14646 0x0000003c.
14647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14648
cd78f7e7
JM
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14650 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14651 getcontext_e500.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14653 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14654 setcontext_e500.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14656 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14657 and setcontext_e500.
14658
c755294d
CL
146592013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14660
14661 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14662
e16d221c
SP
146632013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14664
14665 * manual/threads.texi (Default Thread Attributes): Fix typo.
14666
215c7d43
WN
146672013-10-04 Will Newton <will.newton@linaro.org>
14668
14669 * malloc/Makefile: Add tst-memalign.
14670 * malloc/tst-memalign.c: New file.
14671
27d0461b
WN
14672 * malloc/tst-posix_memalign.c: Add comments.
14673 (do_test): Add comments and call free on all potentially
14674 allocated pointers. Add space after cast.
14675
1bc92709
WN
14676 * malloc/tst-pvalloc.c: Add comments.
14677 (do_test): Add comments and call free on all potentially
14678 allocated pointers. Remove duplicate check for NULL pointer.
14679 Add space after cast.
14680
66a9be9d
WN
14681 * malloc/tst-valloc.c: Add comments.
14682 (do_test): Add comments and call free on all potentially
14683 allocated pointers. Remove duplicate check for NULL pointer.
14684 Add space after cast.
14685
4cb81307
AM
146862013-10-04 Alan Modra <amodra@gmail.com>
14687
14688 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14689 Use stdint types in rather than __attribute__((mode())).
14690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14691
f8e3e9f3
AM
146922013-10-04 Alan Modra <amodra@gmail.com>
14693
14694 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14695 Correct handling of unaligned relocs for little-endian.
14696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14697
8f9ebb08
AM
146982013-10-04 Alan Modra <amodra@gmail.com>
14699
14700 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14701 * configure: Regenerate.
14702 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14703 * shlib-versions: Likewise.
14704
0edf96c2
AM
147052013-10-04 Alan Modra <amodra@gmail.com>
14706
14707 * string/tester.c (test_memrchr): Increment reported test cycle.
14708
e0f7a380
AM
147092013-10-04 Alan Modra <amodra@gmail.com>
14710
14711 * string/test-memcpy.c (do_one_test): When reporting errors, print
14712 string address and don't overrun end of string.
14713
466b0393
AM
147142013-10-04 Alan Modra <amodra@gmail.com>
14715
14716 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14717 insrdi. Make better use of reg selection to speed exit slightly.
14718 Schedule entry path a little better. Remove useless "are we done"
14719 checks on entry to main loop. Handle wrapping around zero address.
14720 Correct main loop count. Handle single left-over word from main
14721 loop inline rather than by using loop_small. Remove extra word
14722 case in loop_small caused by wrong loop count. Add little-endian
14723 support.
14724 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14725 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14726 cache hint.
14727 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14728 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14729 support. Avoid rlwimi.
14730 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14731
3be87c77
AM
147322013-10-04 Alan Modra <amodra@gmail.com>
14733
14734 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14735 insrdi. Formatting.
3be87c77
AM
14736 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14737 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14738 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14739 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14740 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14741 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14742
759cfef3
AM
147432013-10-04 Alan Modra <amodra@gmail.com>
14744
14745 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14746 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14747 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14748 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14749 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14750 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14752 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14753 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14754 use of regs. Use power7 mtocrf. Tidy function tails.
14755
fe6e95d7
AM
147562013-10-04 Alan Modra <amodra@gmail.com>
14757
14758 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14759 Formatting. Consistently use rXXX register defines or rN defines.
14760 Use early exit labels that avoid restoring unused non-volatile regs.
14761 Make cr field use more consistent with rWORDn compares. Rename
14762 regs used as shift registers for unaligned loop, using rN defines
14763 for short lifetime/multiple use regs.
14764 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14765 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14766 addi 1,1,64 to pop stack frame. Simplify return value code.
14767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14768
664318c3
AM
147692013-10-04 Alan Modra <amodra@gmail.com>
14770
14771 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14772 support. Correct typos, formatting. Optimize tail. Use insrdi
14773 rather than rlwimi.
14774 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14775 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14776 little-endian support. Correct typos.
14777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14778 rather than rlwimi.
14779 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14780 in loop and entry code to keep "and." results.
14781 (strchr): Add little-endian support. Comment. Move cntlzd
14782 earlier in tail.
14783 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14784
43b84013
AM
147852013-10-04 Alan Modra <amodra@gmail.com>
14786
14787 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14788 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14789 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14790 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14791
8a7413f9
AM
147922013-10-04 Alan Modra <amodra@gmail.com>
14793
14794 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14795 (rTMP): Define as r11.
14796 (strcmp): Add little-endian support. Optimise tail.
14797 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14798 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14800 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14801 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14804
33ee81de
AM
148052013-10-04 Alan Modra <amodra@gmail.com>
14806
14807 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14808 little-endian support. Remove unnecessary "are we done" tests.
14809 Handle "s" wrapping around zero and extremely large "size".
14810 Correct main loop count. Handle single left-over word from main
14811 loop inline rather than by using small_loop. Correct comments.
14812 Delete "zero" tail, use "end_max" instead.
14813 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14814
db9b4570
AM
148152013-10-04 Alan Modra <amodra@gmail.com>
14816
14817 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14818 support. Don't branch over align.
14819 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14820 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14821 support. Rearrange tmp reg use to suit. Comment.
14822 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14823
f7c399cf
AM
148242013-10-04 Alan Modra <amodra@gmail.com>
14825
14826 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14827
0b2c2ace
AM
148282013-10-04 Alan Modra <amodra@gmail.com>
14829
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14831 conditional form of branch and link when obtaining pc.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14833
02f04a6c
AM
148342013-10-04 Alan Modra <amodra@gmail.com>
14835
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14837 HIWORD/LOWORD.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14840
9b874b2f
AM
148412013-10-04 Alan Modra <amodra@gmail.com>
14842
14843 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14844 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14845 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14846 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14847 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14848 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14849 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14850 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14851 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14852 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14853
be1e5d31
AB
148542013-10-04 Anton Blanchard <anton@au1.ibm.com>
14855 Alistair Popple <alistair@ozlabs.au.ibm.com>
14856 Alan Modra <amodra@gmail.com>
14857
14858 [BZ #15723]
14859 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14860 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14861 _dl_hwcap access for little-endian.
14862 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14863 destroy vmx regs when saving unaligned.
14864 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14865 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14866 destroy vmx regs when saving unaligned.
14867
fef13a78
AM
148682013-10-04 Alan Modra <amodra@gmail.com>
14869
14870 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14871 Don't use a union to pack hi/low value.
14872
76a66d51
AB
148732013-10-04 Anton Blanchard <anton@au1.ibm.com>
14874
14875 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14876 for little-endian.
14877 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14879 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14880 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14881 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14882
6a31fe7f
AM
148832013-10-04 Alan Modra <amodra@gmail.com>
14884
14885 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14886 constants to usual value for .cst8 section, and remove redundant
14887 high address load.
14888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14889 constant for 0x1p52. Load little-endian words of double from
14890 correct stack offsets.
14891
7b88401f
AM
148922013-10-04 Alan Modra <amodra@gmail.com>
14893
14894 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14895 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14896 words of double from correct stack offsets.
14897 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14898 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14901 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14902 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14903 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14907 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14908 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14909 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14910 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14911 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14912 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14913 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14914
9c008155
AM
149152013-10-04 Alan Modra <amodra@gmail.com>
14916
14917 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14918 64-bit int/double union.
14919 (_FPU_SETCW): Likewise.
14920 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14921 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14922
da13146d
AM
149232013-10-04 Alan Modra <amodra@gmail.com>
14924
14925 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14926 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14927
603e8410
AM
149282013-10-04 Alan Modra <amodra@gmail.com>
14929
14930 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14931 use vector int constants.
14932 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14933
4a28b3ca
AB
149342013-10-04 Anton Blanchard <anton@au1.ibm.com>
14935
14936 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14937 array with long long.
14938 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14939 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14940 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14941 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14942 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14943 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14944 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14945 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14946 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14947 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14948 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14949 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14950 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14951
2ca85d2b
AB
149522013-10-04 Anton Blanchard <anton@au1.ibm.com>
14953
14954 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14955 (__signbit): Likewise. Correct for little-endian.
14956 (__signbitl): Call __signbit.
14957 (lrint): Correct for little-endian.
14958 (lrintf): Call lrint.
14959
62a728ae
AM
149602013-10-04 Alan Modra <amodra@gmail.com>
14961
14962 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14963 union 32-bit int array member with 64-bit int array.
14964 (t515, tm256): Double rather than long double.
14965 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14966
32c301df
AM
149672013-10-04 Alan Modra <amodra@gmail.com>
14968
14969 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14970 Delete.
14971 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14973 version of math_ldbl.h.
14974
650ef4bd
AM
149752013-10-04 Alan Modra <amodra@gmail.com>
14976
14977 [BZ #15734], [BZ #15735]
14978 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14979 all uses of ieee875 long double macros and unions. Simplify test
14980 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14981 ldbl_extract_mantissa value for ix,iy exponents. Properly
14982 normalize after ldbl_extract_mantissa, and don't add hidden bit
14983 already handled. Don't treat low word of ieee854 mantissa like
14984 low word of IBM long double and mask off bit when testing for
14985 zero.
14986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14987 all uses of ieee875 long double macros and unions. Simplify tests
14988 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14989 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14990 two1022, instead use their values. Recognise that tests for large
14991 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14992 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14993 Rewrite all uses of ieee875 long double macros and unions. Simplify
14994 test for 0.0L and nan. Correct negation.
14995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14996 ieee875 long double macros and unions. Correct output for large
14997 magnitude x. Correct absolute value calculation.
14998 (__erfcl): Likewise.
14999 * math/libm-test.inc: Add tests for errors discovered in IBM long
15000 double versions of fmodl, remainderl, erfl and erfcl.
15001
765714ca
AM
150022013-10-04 Alan Modra <amodra@gmail.com>
15003
15004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15005 all uses of ieee854 long double macros and unions. Simplify tests
15006 for long doubles that are fully specified by the high double.
15007 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15008 Likewise.
15009 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15010 Remove dead code too.
15011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15012 (__ieee754_ynl): Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15016 Remove dead code too.
15017 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15021 Simplify.
15022 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15023 Simplify.
15024 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15027 Comment on variable precision.
15028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15030 Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15036
4ebd120c
AM
150372013-10-04 Alan Modra <amodra@gmail.com>
15038
15039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15041 all uses of ieee854 long double macros and unions.
15042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15048 Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15055 Simplify sign and nan test too.
15056 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15060 Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15063 Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15070
1b6adf88
AM
150712013-10-04 Alan Modra <amodra@gmail.com>
15072
15073 * stdio-common/printf_size.c (__printf_size): Don't use
15074 union ieee854_long_double in fpnum union.
15075 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15076 signbit macro to retrieve sign from long double.
15077 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15078 retrieve sign from long double.
15079 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15080 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15081 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15082 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15083 * math/test-misc.c (main): Don't use union ieee854_long_double.
15084
4cf69995
AM
150852013-10-04 Alan Modra <amodra@gmail.com>
15086
15087 [BZ #15680]
15088 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15089 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15090 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15091 calculation. Remove unnecessary test for denormal exponent.
15092 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15093 Correct handling of denormals. Avoid undefined shift behaviour.
15094 Correct normalisation of low mantissa when low double is denormal.
15095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15096 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15097 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15098 Correct normalisation of low mantissa. Test for overflow of high
15099 mantissa and normalise.
15100 (ldbl_nearbyint): Use more readable constant for two52.
15101 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15102 (__mpn_construct_long_double): Fix test for overflow of high
15103 mantissa and correct normalisation. Avoid undefined shift.
15104
9605ca6c
AM
151052013-10-04 Alan Modra <amodra@gmail.com>
15106
15107 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15108 (union ibm_extended_long_double): Define as an array of ieee754_double.
15109 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15110 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15111 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15112 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15113 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15114 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15116 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15120
975569d0
JM
151212013-10-03 Joseph Myers <joseph@codesourcery.com>
15122
d3d23756
JM
15123 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15124 page size instead of calling getpagesize.
15125
975569d0
JM
15126 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15127 (LOCFILE_ALIGN_MASK): Likewise.
15128 (LOCFILE_ALIGN_UP): Likewise.
15129 (LOCFILE_ALIGNED_P): Likewise.
15130 * locale/programs/ld-collate.c (collate_output): Use the new
15131 macros instead of __alignof__ (int32_t).
15132 * locale/weight.h (findidx): Likewise.
15133
b1fe1f2b
OB
151342013-10-03 Ondřej Bílka <neleai@seznam.cz>
15135
15136 [BZ #431]
15137 * manual/string.texi: Fix strncat and wcsncat.
15138
5f855e35
BM
151392013-10-03 Brooks Moses <bmoses@google.com>
15140
15141 [BZ #15915]
15142 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15143 * Makerules: ...here, and adjust associated comments.
15144
3cef6009
WN
151452013-10-02 Will Newton <will.newton@linaro.org>
15146
15147 * malloc/Makefile: Add tst-pvalloc.
15148 * malloc/tst-pvalloc.c: New file.
15149
7815420b
WN
151502013-10-02 Will Newton <will.newton@linaro.org>
15151
15152 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15153 improve test coverage.
15154
4868b204
WN
151552013-10-02 Will Newton <will.newton@linaro.org>
15156
15157 * malloc/Makefile: Add tst-posix_memalign.
15158 * malloc/tst-posix_memalign.c: New file.
15159
29c793b3
EB
151602013-10-01 Eric Blake <eblake@redhat.com>
15161
15162 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15163 Use __THROWNL rather than __THROW on static functions.
15164
fd967522
PM
151652013-09-30 Petr Machata <pmachata@redhat.com>
15166
15167 * elf/elf.h (R_AARCH64_ABS16): New macro.
15168 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15169 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15170 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15171 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15172 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15173 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15174 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15175 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15176 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15177 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15178 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15179 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15180 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15181 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15182 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15183 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15184 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15185 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15186 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15187 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15188 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15189 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15190 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15191 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15192 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15193 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15194 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15195 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15196 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15197 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15198 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15199 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15200 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15201 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15202 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15203 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15204 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15205 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15206 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15207 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15208 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15209 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15210 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15211 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15212 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15213 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15214 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15215 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15216 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15217 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15218 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15219 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15220 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15221 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15222 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15223 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15224 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15225 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15226 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15227 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15228 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15229 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15230 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15231 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15232 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15233 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15234 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15235 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15236 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15237 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15238 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15239 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15240 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15241 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15242 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15243 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15244 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15245 (R_AARCH64_TLSDESC_LDR): Likewise.
15246 (R_AARCH64_TLSDESC_ADD): Likewise.
15247 (R_AARCH64_TLSDESC_CALL): Likewise.
15248
b2179107
AS
152492013-09-30 Andreas Schwab <schwab@suse.de>
15250
15251 [BZ #15048]
15252 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15253 the nss database lookup.
15254 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15256
47f28d0a
MF
152572013-09-28 Mike Frysinger <vapier@gentoo.org>
15258
15259 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15260
152612013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15262
15263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15264 ${Bash-specific parameter/pattern/string} parameter expansion.
15265 * sysdeps/unix/make-syscalls.sh: Likewise.
15266
f4518a17
KK
152672013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15268
15269 * sysdeps/sh/stackguard-macros.h: New file.
15270
dc1a95c7
OB
152712013-09-26 Ondřej Bílka <neleai@seznam.cz>
15272
15273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15275 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15276 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15277 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15278 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15279
5ebbff8f
AZ
152802013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15281
15282 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15283 Fix thread ID register.
15284
4fd2cf9f
JM
152852013-09-25 Joseph Myers <joseph@codesourcery.com>
15286
15287 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15288 [POSIX || UNIX98]: Require rather than permitting all symbols from
15289 <time.h>.
15290 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15291 element of struct sched_param.
15292 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15293 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15294 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15295 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15296 constant.
15297
12c22bc4
OL
152982013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15299
15300 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15301 argument calculation.
15302
a03d8ea7
JM
153032013-09-24 Joseph Myers <joseph@codesourcery.com>
15304
15305 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15306 Expect macro.
15307 [POSIX] (pthread_attr_t): Do not require type.
15308 [POSIX] (pthread_cond_t): Likewise.
15309 [POSIX] (pthread_condattr_t): Likewise.
15310 [POSIX] (pthread_key_t): Likewise.
15311 [POSIX] (pthread_mutex_t): Likewise.
15312 [POSIX] (pthread_mutexattr_t): Likewise.
15313 [POSIX] (pthread_once_t): Likewise.
15314 [POSIX] (pthread_t): Likewise.
15315 [POSIX-based standards] (pthread_atfork): Expect function.
15316
6055173a
JM
153172013-09-24 Joseph Myers <joseph@codesourcery.com>
15318 Richard Sandiford <richard@codesourcery.com>
15319
15320 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15321 (swap_endianness_p): New extern variable.
15322 (set_big_endian): New inline function.
15323 (maybe_swap_uint32): Likewise.
15324 (maybe_swap_uint32_array): Likewise.
15325 (maybe_swap_uint32_obstack): Likewise.
15326 * locale/programs/locfile.c: Include <stdbool.h>.
15327 (swap_endianness_p): New variable.
15328 (add_locale_uint32): Call maybe_swap_uint32.
15329 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15330 (write_locale_data): Call maybe_swap_uint32_array.
15331 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15332 maybe_swap_uint32.
15333 (obstack_int32_grow_fast): Likewise.
15334 (output_weightwc): Call maybe_swap_uint32_obstack.
15335 (collate_output): Likewise.
15336 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15337 (OPT_LITTLE_ENDIAN): Likewise.
15338 (options): Add --little-endian and --big-endian options.
15339 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15340 * locale/programs/locarchive.c: Include "locfile.h".
15341 (GET): New macro.
15342 (SET): Likewise.
15343 (INC): Likewise.
15344 (create_archive): Use the new macros to access fields of
15345 structures directly mapped from or written to locale archives.
15346 (oldlocrecentcmp): Likewise.
15347 (enlarge_archive): Likewise.
15348 (insert_name): Likewise.
15349 (add_alias): Likewise.
15350 (add_locale): Likewise.
15351 (delete_locales_from_archive): Likewise.
15352 (show_archive_content): Likewise.
15353 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15354 locale data.
15355
39bf0bb4
RM
153562013-09-24 Roland McGrath <roland@hack.frob.com>
15357
15358 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15359 http://www.gnu.org/doc/freemanuals.texi.
15360 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15361
f02eed10
WN
153622013-09-24 Will Newton <will.newton@linaro.org>
15363
15364 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15365 macro.
15366
a3a6c312
JM
153672013-09-23 Joseph Myers <joseph@codesourcery.com>
15368
15369 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15370 unsigned char.
15371
107375ac
MR
153722013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15373
15374 * manual/threads.texi (POSIX Threads): Fix a typo.
15375
141f3a77
SP
153762013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15377
303e567a
SP
15378 [BZ #14547]
15379 * string/tst-strcoll-overflow.c: New test case.
15380 * string/Makefile (xtests): Add tst-strcoll-overflow.
15381 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15382 cache if string sizes may cause integer overflow.
15383
141f3a77
SP
15384 [BZ #14547]
15385 * string/strcoll_l.c (coll_seq): New members rule, idx,
15386 save_idx and back_us.
15387 (get_next_seq_nocache): New function.
15388 (do_compare_nocache): New function.
15389 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15390 when malloc fails.
15391
c61b4d41
CD
153922013-09-23 Carlos O'Donell <carlos@redhat.com>
15393
0b1f8e35
CD
15394 [BZ #15754]
15395 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15396 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15397 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15398
c61b4d41
CD
15399 [BZ #15754]
15400 * elf/Makefile (tests): Add tst-ptrguard1.
15401 (tests-static): Add tst-ptrguard1-static.
15402 (tst-ptrguard1-ARGS): Define.
15403 (tst-ptrguard1-static-ARGS): Define.
15404 * elf/tst-ptrguard1.c: New file.
15405 * elf/tst-ptrguard1-static.c: New file.
15406 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15407 * sysdeps/i386/stackguard-macros.h: Likewise.
15408 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15409 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15410 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15411 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15412 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15413 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15414
154152013-09-23 Hector Marco <hecmargi@upv.es>
15416 Ismael Ripoll <iripoll@disca.upv.es>
15417 Carlos O'Donell <carlos@redhat.com>
15418
15419 [BZ #15754]
15420 * sysdeps/generic/stackguard-macros.h: Define
15421 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15422 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15423 Define __pointer_chk_guard_local.
15424 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15425 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15426
f5f4e7b4
VV
154272013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15428
15429 [BZ #15859]
15430 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15431
5bb43a43
AS
154322013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15433
15434 * include/string.h (__ffs): Declare as hidden.
15435 * string/ffs.c (__ffs): Define as hidden.
15436 * sysdeps/i386/ffs.c (__ffs): Likewise.
15437 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15438 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15439 * sysdeps/s390/ffs.c (__ffs): Likewise.
15440 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15441
3ea5be54
AO
154422013-09-20 Alexandre Oliva <aoliva@redhat.com>
15443
ffb89e53
AO
15444 * NEWS: Mention malloc probes.
15445
322dea08
AO
15446 * malloc/arena.c (new_heap): New memory_heap_new probe.
15447 (grow_heap): New memory_heap_more probe.
15448 (shrink_heap): New memory_heap_less probe.
15449 (heap_trim): New memory_heap_free probe.
15450 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15451 (systrim): New memory_sbrk_less probe.
15452 * manual/probes.texi: Document them.
15453
655673f3
AO
15454 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15455 * manual/probes.texi: Document it.
15456
35fed6f1
AO
15457 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15458 (__libc_realloc): Add memory_realloc_retry probe.
15459 (__libc_memalign): Add memory_memalign_retry probe.
15460 (__libc_valloc): Add memory_valloc_retry probe.
15461 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15462 (__libc_calloc): Add memory_calloc_retry probe.
15463 * manual/probes.texi: Document them.
15464
6999d38c
AO
15465 * malloc/arena.c (get_free_list): Add probe
15466 memory_arena_reuse_free_list.
15467 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15468 and memory_arena_reuse.
15469 (arena_get2) [!PER_THREAD]: Likewise.
15470 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15471 memory_arena_reuse_realloc.
15472 * manual/probes.texi: Document them.
15473
0653427f
AO
15474 * malloc/malloc.c (__libc_free): Add
15475 memory_mallopt_free_dyn_thresholds probe.
15476 (__libc_mallopt): Add multiple memory_mallopt probes.
15477 * manual/probes.texi: Document them.
15478
3ea5be54
AO
15479 * malloc/malloc.c: Include stap-probe.h.
15480 (__libc_mallopt): Add memory_mallopt probe.
15481 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15482 * manual/probes.texi: New.
15483 * manual/Makefile (chapters): Add probes.
15484 * manual/threads.texi: Set next node.
15485
e35696c3 154862013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15487
e35696c3
CL
15488 [BZ #15963, #13985]
15489 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15490 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15491 Add `Chinese' to `nan' entry name.
15492
4aafb73c
SP
154932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15494
15495 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15496 (POLYNOMIAL): Likewise.
15497 (TAYLOR_SINCOS): Likewise.
15498 (TAYLOR_SLOW): Likewise.
15499 (__sin): Use TAYLOR_SINCOS.
15500 (__cos): Likewise.
15501 (slow): Use TAYLOR_SLOW.
15502 (sloww): Likewise.
15503 (bsloww): Likewise.
15504 (csloww): Likewise.
15505
d84f25c7
LD
155062013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15507
15508 * stdlib/strtod_l.c: Fix buffer overrun.
15509
5eea0404
SP
155102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15511
7849ff93
SP
15512 * benchtests/Makefile (bench): Add sincos.
15513 * benchtests/bench-sincos.c: New file.
15514
cfa3c886
SP
15515 * math/libm-test.inc (cos_test_data): New test inputs.
15516 (sin_test_data): Likewise.
15517
b348e1e3
SP
15518 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15519 macro.
15520 (__sin): Use it.
15521 (__cos): Likewise.
15522 (slow1): Likewise.
15523 (slow2): Likewise.
15524 (sloww1): Likewise.
15525 (sloww2): Likewise.
15526 (bsloww1): Likewise.
15527 (bsloww2): Likewise.
15528 (cslow2): Likewise.
15529 (csloww1): Likewise.
15530 (csloww2): Likewise.
15531
6cce25f8
SP
15532 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15533 function.
15534 (__sin): Use it.
15535 (__cos): Likewise.
15536
5eea0404
SP
15537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15538 gotos.
15539 (__cos): Likewise.
15540
9c21573c
MR
155412013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15542
15543 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15544 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15545 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15546 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15547 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15548 * elf/cache.c (print_entry): Handle the new cache flags.
15549
24d22e65
JM
155502013-09-18 Joseph Myers <joseph@codesourcery.com>
15551 Aldy Hernandez <aldyh@redhat.com>
15552
15553 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15554 Change condition to [_SOFT_FLOAT].
15555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15567 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15570 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15571 declaration.
15572
d13ef066
JM
155732013-09-18 Joseph Myers <joseph@codesourcery.com>
15574
2e071de0
JM
15575 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15576 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15577 (__longjmp): Use LOAD_GP to load saved GPRs.
15578 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15579 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15580 (__sigsetjmp): Use SAVE_GP to save GPRs.
15581
d13ef066
JM
15582 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15583 Do not append -msoft-float.
15584 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15585
97a0650b
SP
155862013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15587
15588 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15589
11ca09e9
JM
155902013-09-17 Joseph Myers <joseph@codesourcery.com>
15591
15592 [BZ #15966]
15593 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15594 (_FPU_GETCW): Use initial "__" on variable and field names but not
15595 on macro parameter name.
15596 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15597 parentheses around reference to macro parameter.
15598
08ffcf34
RS
155992013-09-13 Richard Sandiford <richard@codesourcery.com>
15600
15601 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15602 prototype.
15603 (ctype_startup): Use uint32_t in cast and sizeof for
15604 ctype->charnames.
15605
ae7080d3
JL
156062013-09-11 Jia Liu <proljc@gmail.com>
15607
15608 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15609 __daddr_t_defined.
15610 [__FreeBSD__]: Likewise.
15611
5905e7b3
OB
156122013-09-11 Ondřej Bílka <neleai@seznam.cz>
15613
15614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15615 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15616 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15617 (strchr): Remove __strchr_sse42 ifunc selection.
15618 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15619 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15620
b987c776
WN
156212013-09-11 Will Newton <will.newton@linaro.org>
15622
15623 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15624 parameter to RES. Remove hardcoded 1000 value.
15625 * benchtests/bench-skeleton.c (main): Pass RES parameter
15626 to TIMING_INIT and multiply result by 1000.
15627
ddf985af
AZ
156282013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15629
15630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15631
ffdd3181
AS
156322013-09-11 Andreas Schwab <schwab@suse.de>
15633
15634 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15635 if not defined.
15636 (O_TMPFILE) [__USE_GNU]: Define.
15637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15638 Define.
15639
b73ed247
WN
156402013-09-11 Will Newton <will.newton@linaro.org>
15641
15642 [BZ #15857]
15643 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15644 does not overflow.
15645
55e17aad
WN
156462013-09-11 Will Newton <will.newton@linaro.org>
15647
15648 [BZ #15856]
15649 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15650 does not overflow.
15651
1159a193
WN
156522013-09-11 Will Newton <will.newton@linaro.org>
15653
15654 [BZ #15855]
15655 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15656 does not overflow.
15657
5905e7b3 156582013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15659
15660 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15665
cdfc721b
AM
156662013-09-10 Allan McRae <allan@archlinux.org>
15667
aa04af00
AM
15668 [BZ #15748]
15669 * manual/arith.texi (Parsing of Floats): Clarify
15670 cross-reference.
15671
cdfc721b
AM
15672 [BZ #15849]
15673 * manual/install.texi (Running make install): Mention
15674 --enable-pt-chown.
15675 * INSTALL: Regenerated.
15676
95e7cf29
MR
156772013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15678
15679 * csu/init-first.c (_init): Remove the !SHARED condition around
15680 FPU control word initialization.
15681 * elf/dl-support.c (_dl_fpu_control): New variable.
15682 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15683 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15684 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15685 * math/test-fpucw-static.c: New file.
15686 * math/test-fpucw-ieee.c: New file.
15687 * math/test-fpucw-ieee-static.c: New file.
15688 * math/Makefile (tests): Add `test-fpucw-ieee' and
15689 `$(tests-static)'.
15690 (tests-static): New variable.
15691 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15692 dependency to...
15693 [($(build-shared),yes)]
15694 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15695 ... this.
15696 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15697 New dependency.
15698
83e43bf0
AM
156992013-09-09 Allan McRae <allan@archlinux.org>
15700
a9f5ce09
AM
15701 [BZ #15939]
15702 * manual/string.texi (Collation Functions): Fix typo in
15703 strcoll example.
15704 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15705
34829bc2
AM
15706 [BZ #15893]
15707 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15708
3932737d
AM
15709 [BZ #15892]
15710 * libio/memstream.c (open_memstream): Fix memory leak.
15711 * libio/wmemstream.c (open_wmemstream): Likewise.
15712
83e43bf0
AM
15713 [BZ #15895]
15714 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15715
0c66b8e9
WN
157162013-09-09 Will Newton <will.newton@linaro.org>
15717
15718 * malloc/Makefile: Add tst-realloc to tests.
15719 * malloc/tst-realloc.c: New file.
15720
f6b00fd1
AM
157212013-09-09 Allan McRae <allan@archlinux.org>
15722
15723 [BZ #15844]
15724 * COPYING: Update from GNU website to fix FSF address.
15725 * COPYING.LIB: Likewise.
15726
eec55e16
DM
157272013-09-06 David S. Miller <davem@davemloft.net>
15728
15729 * po/zh_TW.po: Update Chinese (traditional) translation from
15730 translation project.
15731
1ecbb381
RS
157322013-09-06 Richard Sandiford <richard@codesourcery.com>
15733 Joseph Myers <joseph@codesourcery.com>
15734
15735 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15736 "localeinfo.h".
15737 (obstack_chunk_alloc): New macro.
15738 (obstack_chunk_free): Likewise.
15739 (record_offset): New function.
15740 (init_locale_data): Likewise.
15741 (align_locale_data): Likewise.
15742 (add_locale_empty): Likewise.
15743 (add_locale_raw_data): Likewise.
15744 (add_locale_raw_obstack): Likewise.
15745 (add_locale_string): Likewise.
15746 (add_locale_wstring): Likewise.
15747 (add_locale_uint32): Likewise.
15748 (add_locale_uint32_array): Likewise.
15749 (add_locale_char): Likewise.
15750 (start_locale_structure): Likewise.
15751 (end_locale_structure): Likewise.
15752 (start_locale_prelude): Likewise.
15753 (end_locale_prelude): Likewise.
15754 (write_locale_data): Take locale_file structure rather than an
15755 iovec.
15756 * locale/programs/locfile.h: Include "obstack.h".
15757 (struct locale_file): Change to store locale file contents instead
15758 of header.
15759 (init_locale_data): New prototype.
15760 (align_locale_data): Likewise.
15761 (add_locale_empty): Likewise.
15762 (add_locale_raw_data): Likewise.
15763 (add_locale_raw_obstack): Likewise.
15764 (add_locale_string): Likewise.
15765 (add_locale_wstring): Likewise.
15766 (add_locale_uint32): Likewise.
15767 (add_locale_uint32_array): Likewise.
15768 (add_locale_char): Likewise.
15769 (start_locale_structure): Likewise.
15770 (end_locale_structure): Likewise.
15771 (start_locale_prelude): Likewise.
15772 (end_locale_prelude): Likewise.
15773 (write_locale_data): Update prototype.
15774 * locale/programs/3level.h (struct TABLE): Remove result field.
15775 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15776 Use new locale_file interface.
15777 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15778 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15779 * locale/programs/ld-address.c (address_output): Use new
15780 locale_file interface.
15781 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15782 NO_ADD_LOCALE.
15783 (collate_finish): Don't call collseq_table_finalize.
15784 (collate_output): Use new locale_file interface.
15785 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15786 in file.
15787 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15788 (TABLE): Move defines earlier in file.
15789 (ELEMENT): Likewise.
15790 (DEFAULT): Likewise.
15791 (wctrans_table_add): Move macro and inline function earlier in
15792 file.
15793 (struct wctype_table): Move type earlier in file.
15794 (add_locale_wctype_table): New static prototype.
15795 (struct locale_ctype_t): Use logical types instead of struct iovec
15796 pointers for members.
15797 (ctype_output): Use new locale_file interface.
15798 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15799 new locale_file interface.
15800 (allocate_arrays): Update for use of new locale_file interface.
15801 * locale/programs/ld-identification.c (identification_output): Use
15802 new locale_file interface.
15803 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15804 * locale/programs/ld-messages.c (messages_output): Likewise.
15805 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15806 * locale/programs/ld-name.c (name_output): Likewise.
15807 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15808 * locale/programs/ld-paper.c (paper_output): Likewise.
15809 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15810 * locale/programs/ld-time.c (time_output): Likewise.
15811
e029e2e5
AZ
158122013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15813
15814 * benchtests/Makefile: Add memrchr benchmark.
15815 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15816 benchmark as memrchr.
15817 * benchtests/bench-memrchr-ifunc.c: New file.
15818 * benchtests/bench-memrchr.c: New file.
15819
bbf6e8e4
WN
158202013-09-06 Will Newton <will.newton@linaro.org>
15821
15822 * benchtests/Makefile (string-bench): Add memcpy.
15823
6c82a2f8
CD
158242013-09-05 Carlos O'Donell <carlos@redhat.com>
15825 Cong Wang <amwang@redhat.com>
15826
e732c5f0 15827 [BZ #15850]
6c82a2f8
CD
15828 * sysdeps/unix/sysv/linux/bits/in.h
15829 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15830 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15831 before __USE_KERNEL_IPV6_DEFS uses.
15832 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15833 IPPROTO_BEETPH.
15834 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15835 sockaddr_in6, or ipv6_mreq.
15836
5430fc65
AZ
158372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15838
15839 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15840 memory access for final bytes in some large inputs.
15841 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15842
4660856c
AZ
158432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15844
15845 * string/test-memrchr.c: New file.
15846 * string/test-memrchr-ifunc.c: New file.
15847 * string/Makefile: Add new memrchr testcase.
15848
bb8ea713
MF
158492013-09-05 Mike Frysinger <vapier@gentoo.org>
15850
15851 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15852 fanotify_init returns EPERM.
15853
b92a20b5
JM
158542013-09-04 Joseph Myers <joseph@codesourcery.com>
15855
15856 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15857 errors.
15858 (top level): Treat second token from macro or constant entries for
15859 allowed headers as allowed.
15860 * include/complex.h: Condition internal declarations on
15861 [!_ISOMAC].
15862 * include/fenv.h: Condition include of <stdbool.h> and internal
15863 declarations on [!_ISOMAC].
7447ccd9
CL
15864
158652013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15866
3e181dda 15867 [BZ #15923]
7447ccd9
CL
15868 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15869
3f2e46a4
JM
158702013-09-04 Joseph Myers <joseph@codesourcery.com>
15871
15872 * configure.in (--enable-versioning): Remove configure option.
15873 (libc_cv_asm_symver_directive): Remove configure test.
15874 (libc_cv_ld_version_script_option): Likewise.
15875 (VERSIONING): Remove variable and AC_SUBST.
15876 (DO_VERSIONING): Remove AC_DEFINE.
15877 * configure: Regenerated.
15878 * config.h.in (DO_VERSIONING): Remove macro.
15879 * Makerules [$(versioning) = yes]: Change conditionals to
15880 [$(build-shared) = yes].
15881 * config.make.in (versioning): Remove variable.
15882 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15883 [$(build-shared) = yes].
15884 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15885 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15886 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15887 [$(build-shared) = yes].
15888 * extra-lib.mk [$(versioning) = yes]: Likewise.
15889 * hurd/Makefile [$(versioning) = yes]: Likewise.
15890 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15891 [SHARED].
15892 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15893 [SHARED].
15894 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15895 [SHARED && !NO_HIDDEN].
15896 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15897 [SHARED].
15898 [SHARED && DO_VERSIONING]: Likewise..
15899 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15900 [$(build-shared) = yes].
15901 * manual/install.texi (--disable-versioning): Remove
15902 documentation.
15903 * INSTALL: Regenerated.
15904 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15905 to [SHARED].
15906 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15907 [$(build-shared) = yes].
15908 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15909 * sysdeps/i386/i686/multiarch/strstr-c.c
15910 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15911 [SHARED && !NO_HIDDEN].
15912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15913 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15914 * sysdeps/powerpc/powerpc32/dl-machine.c
15915 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15916 * sysdeps/powerpc/powerpc32/sysdep.h
15917 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15918 to [SHARED && PIC && !NO_HIDDEN].
15919 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15920 conditional to [SHARED].
15921
44558701
WN
159222013-09-04 Will Newton <will.newton@linaro.org>
15923
15924 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15925 * benchtests/bench-string.h: Include bench-timing.h instead
15926 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15927 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15928 call to HP_TIMING_DIFF_INIT.
15929 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15930 instead of hp-timing.h macros.
15931 * benchtests/bench-memchr.c: Likewise.
15932 * benchtests/bench-memcmp.c: Likewise.
15933 * benchtests/bench-memcpy.c: Likewise.
15934 * benchtests/bench-memmem.c: Likewise.
15935 * benchtests/bench-memmove.c: Likewise.
15936 * benchtests/bench-memset.c: Likewise.
15937 * benchtests/bench-rawmemchr.c: Likewise.
15938 * benchtests/bench-strcasecmp.c: Likewise.
15939 * benchtests/bench-strcasestr.c: Likewise.
15940 * benchtests/bench-strcat.c: Likewise.
15941 * benchtests/bench-strchr.c: Likewise.
15942 * benchtests/bench-strcmp.c: Likewise.
15943 * benchtests/bench-strcpy.c: Likewise.
15944 * benchtests/bench-strcpy_chk.c: Likewise.
15945 * benchtests/bench-strlen.c: Likewise.
15946 * benchtests/bench-strncasecmp.c: Likewise.
15947 * benchtests/bench-strncat.c: Likewise.
15948 * benchtests/bench-strncmp.c: Likewise.
15949 * benchtests/bench-strncpy.c: Likewise.
15950 * benchtests/bench-strnlen.c: Likewise.
15951 * benchtests/bench-strpbrk.c: Likewise.
15952 * benchtests/bench-strrchr.c: Likewise.
15953 * benchtests/bench-strspn.c: Likewise.
15954 * benchtests/bench-strstr.c: Likewise.
15955
cae16d66
WN
159562013-09-04 Will Newton <will.newton@linaro.org>
15957
15958 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15959
ffa3cd7f
JM
159602013-09-03 Joseph Myers <joseph@codesourcery.com>
15961
15962 [BZ #15427]
15963 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15964 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15965 * math/libm-test.inc (lgamma_test_data): Add more tests.
15966 * sysdeps/i386/fpu/libm-test-ulps: Update.
15967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15968
8f02859f
OB
159692013-09-03 Ondřej Bílka <neleai@seznam.cz>
15970
15971 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15973 Add ifunc.
15974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15975 Add strcmp-sse2-unaligned
15976 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15977
18d43716
MF
159782013-09-02 Mike Frysinger <vapier@gentoo.org>
15979
15980 * Versions.def (libc): Add GLIBC_2.19.
15981
ac444012
MF
159822013-09-02 Mike Frysinger <vapier@gentoo.org>
15983
15984 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15985 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15986
b7835e32
JM
159872013-09-02 Joseph Myers <joseph@codesourcery.com>
15988
15989 [BZ #14155]
15990 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15991 intermediate calculations in recurrence.
15992 (__ieee754_ynf): Likewise.
15993 * math/libm-test.inc (jn_test_data): Do not allow spurious
15994 underflow exception. Add more tests.
15995 (yn_test_data): Add more tests.
15996 * sysdeps/i386/fpu/libm-test-ulps: Update.
15997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15998
8220f4f0
OB
159992013-09-02 Ondřej Bílka <neleai@seznam.cz>
16000
16001 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16002
f24a6d08
OB
160032013-08-30 Ondřej Bílka <neleai@seznam.cz>
16004
16005 * csu/init-first.c: Fix then/than typos.
16006 * locale/programs/ld-collate.c: Likewise.
16007 * locale/programs/linereader.h: Likewise.
16008 * manual/charset.texi: Likewise.
16009 * manual/filesys.texi: Likewise.
16010 * manual/stdio.texi: Likewise.
16011 * manual/string.texi: Likewise.
16012 * stdlib/fmtmsg.c: Likewise.
16013 * sysdeps/i386/stpncpy.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16016 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16017 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16018
382466e0
OB
160192013-08-30 Ondřej Bílka <neleai@seznam.cz>
16020
16021 * elf/dl-open.c: Fix typos.
16022 * iconvdata/gbbig5.c: Likewise.
16023 * iconvdata/iso-2022-jp.c: Likewise.
16024 * iconv/gconv_int.h: Likewise.
16025 * iconv/loop.c: Likewise.
16026 * nis/rpcsvc/nis.h: Likewise.
16027 * resolv/ns_name.c: Likewise.
16028 * stdio-common/vfscanf.c: Likewise.
16029 * streams/stropts.h: Likewise.
16030 * sunrpc/rpc_thread.c: Likewise.
16031 * sysdeps/i386/strpbrk.S: Likewise.
16032 * sysdeps/ieee754/k_standard.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16035 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16036 * sysdeps/mach/hurd/profil.c: Likewise.
16037 * sysdeps/s390/dl-procinfo.h: Likewise.
16038 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16039 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16040 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16041 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16043
0186c6e9
OB
160442013-08-30 Ondřej Bílka <neleai@seznam.cz>
16045
16046 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16048
d4e16af1
OB
160492013-08-29 Ondřej Bílka <neleai@seznam.cz>
16050
16051 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16052 aix specific files.
16053 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16059 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16061
88335980
TS
160622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16063 Roland McGrath <roland@hack.frob.com>
16064
16065 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16066 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16067
ed479b02
ST
160682013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16069
16070 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16071 __executable_start symbol instead of _start.
16072
f1cc4c86
TS
160732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16074
d821f07c
TS
16075 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16076 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16077 Move macros to...
16078 * sysdeps/gnu/ldsodefs.h: ... this new file.
16079
c54290cf
TS
16080 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16081 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16082 instead of ELFOSABI_LINUX.
16083
0007fc9b 16084 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16085 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16086 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16087 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16088 Likewise.
16089 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16090 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16091 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16092 Likewise.
16093 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16094 (ibm_extended_long_double): Add ieee_nan member.
16095 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16096 (do_test): New function.
16097
f1cc4c86
TS
16098 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16099 TEST_TRUNC.
16100 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16101 functions, renamed from truncdfsf_test, trunctfsf_test,
16102 trunctfdf_test.
16103 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16104 functions.
16105 (do_test): Run all these.
16106
6f65e668
OB
161072013-08-29 Ondřej Bílka <neleai@seznam.cz>
16108
16109 * argp/argp-help.c: Fix typos.
16110 * argp/argp-parse.c: Likewise.
16111 * debug/backtracesyms.c: Likewise.
16112 * elf/elf.h: Likewise.
16113 * malloc/malloc.c: Likewise.
16114 * nis/nis_print.c: Likewise.
16115 * resolv/res_comp.c: Likewise.
16116 * stdlib/stdlib.h: Likewise.
16117 * sunrpc/clnt_tcp.c: Likewise.
16118 * sunrpc/clnt_udp.c: Likewise.
16119 * sunrpc/clnt_unix.c: Likewise.
16120 * sysdeps/unix/bsd/ptsname.c: Likewise.
16121 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16122 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16124 Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16126 Likewise.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16128 Likewise.
6f65e668
OB
16129 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16130
3a309239
SP
161312013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16132
16133 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16135
3b813b29
MF
161362013-08-27 Mike Frysinger <vapier@gentoo.org>
16137
16138 [BZ #15897]
16139 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16140 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16141 ($(objpfx)bug-dl-leaf): New rule.
16142 ($(objpfx)bug-dl-leaf.so): Likewise.
16143 ($(objpfx)bug-dl-leaf.out): Likewise.
16144 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16145 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16146 * dlfcn/bug-dl-leaf.c: New test.
16147 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16148 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16149 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16150 (dlclose): Likewise.
16151 (dlmopen): Likewise.
16152
8cc3269f
RM
161532013-08-27 Roland McGrath <roland@hack.frob.com>
16154
7f9d0034
RM
16155 * include/netdb.h [!_ISOMAC]:
16156 Don't include <tls.h>.
16157 (h_errno, __libc_h_errno): Move declaration and macros out of
16158 [_LIBC_REENTRANT].
16159
fb431262
RM
16160 * include/resolv.h [_RESOLV_H_]:
16161 Don't include <tls.h>.
16162 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16163 * resolv/res_libc.c: Don't include <tls.h>.
16164 (_res): Use __attribute__ ((nocommon)) in place of
16165 __attribute__ ((section (".bss"))).
16166
bd81123a
RM
16167 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16168 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16169
c4e42566
RM
16170 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16171
f890a59b
RM
16172 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16173 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16174
16175 * resolv/res_mkquery.c: Include <sys/time.h>.
16176
5d1f0a09
RM
16177 * inet/ifreq.c: Moved to ...
16178 * sysdeps/unix/ifreq.c: ... here.
16179 * inet/ifreq.c: New file, true stub version.
16180
6fcf28b3
RM
16181 * socket/sa_len.c: New file.
16182 * socket/Makefile (aux): Add it.
16183 * sysdeps/unix/sysv/linux/Makefile
16184 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16185 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16186 and #include <socket/sa_len.c>.
16187 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16188 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16189
e041fb8b
RM
16190 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16191 * bits/socket.h: ... here.
16192
8cc3269f
RM
16193 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16194 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16195 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16196
5d228a43
AS
161972013-08-27 Andreas Schwab <schwab@suse.de>
16198
45b8accc
AS
16199 [BZ #15736]
16200 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16201 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16202 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16203 * string/test-strcasecmp.c (test_main): Run tests in several
16204 locales.
16205 * string/test-strncasecmp.c (test_main): Likewise.
16206
5d228a43
AS
16207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16208 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16209 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16211 (__strncasecmp_ssse3) [PIC]: Likewise.
16212
59d112a4
RM
162132013-08-26 Roland McGrath <roland@hack.frob.com>
16214
53234cc3
RM
16215 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16216
59d112a4
RM
16217 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16218 instead of explicitly declaring xdecrypt.
16219 * nis/nss_nis/nis-publickey.c: Likewise.
16220
595aba70
SP
162212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16222
16223 [BZ #15890]
16224 * nscd/aicache.c: Include res_hconf.h.
16225 (addhstaiX): Initialize res_hconf.
16226
ffabd393
AS
162272013-08-26 Andreas Schwab <schwab@suse.de>
16228
16229 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16230 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16231
e0a69f5c
SP
162322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16233
16234 * nscd/aicache.c (addhstaiX): Fix indentation.
16235
8c12f01d
MF
162362013-08-25 Mike Frysinger <vapier@gentoo.org>
16237
16238 * configure.ac: Quote $build_pt_chown test.
16239 * configure: Regenerated.
16240
8fe89494
JM
162412013-08-23 Joseph Myers <joseph@codesourcery.com>
16242
16243 [BZ #15532]
16244 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16245 * math/s_cexpf.c (__cexpf): Likewise.
16246 * math/s_cexpl.c (__cexpl): Likewise.
16247 * math/libm-test.inc (cexp_test_data): Correct expected return
16248 value for NaN + i0. Add another test.
16249
75b181d6
DM
162502013-08-22 David S. Miller <davem@davemloft.net>
16251
16252 * po/ca.po: Update Catalan translation from translation project.
936241e4 16253 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16254
acd06bb1
JM
162552013-08-21 Joseph Myers <joseph@codesourcery.com>
16256
16257 [BZ #15797]
16258 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16259 is infinite, not alongside NaN test.
16260 * math/s_fdimf.c (__fdimf): Likewise.
16261 * math/s_fdiml.c (__fdiml): Likewise.
16262 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16263 errno is unchanged.
16264
c0c3f78a
OB
162652013-08-21 Ondřej Bílka <neleai@seznam.cz>
16266
16267 * argp/argp-help.c: Fix typos.
16268 * crypt/speeds.c: Likewise.
16269 * csu/check_fds.c: Likewise.
16270 * elf/dl-load.c: Likewise.
16271 * elf/dl-open.c: Likewise.
16272 * elf/reldep3.c: Likewise.
16273 * elf/reldep.c: Likewise.
16274 * elf/sprof.c: Likewise.
16275 * iconv/iconv_charmap.c: Likewise.
16276 * iconv/skeleton.c: Likewise.
16277 * iconv/strtab.c: Likewise.
16278 * io/lockf64.c: Likewise.
16279 * libio/libioP.h: Likewise.
16280 * resolv/gai_notify.c: Likewise.
16281 * resolv/ns_name.c: Likewise.
16282 * resolv/ns_samedomain.c: Likewise.
16283 * resolv/res_send.c: Likewise.
16284 * stdlib/random.c: Likewise.
16285 * sunrpc/rpc/xdr.h: Likewise.
16286 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16287 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16288 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16289 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16290 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16294 * sysdeps/mach/hurd/check_fds.c: Likewise.
16295 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16296 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16297 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16298 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16299 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16300 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16301 * sysdeps/pthread/aio_notify.c: Likewise.
16302 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16303 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16306 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16307
46ed1038
LD
163082013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16309
16310 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16311 version if bit_Slow_SSE4_2 is set.
16312 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16314
d400dcac
AZ
163152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16316
16317 [BZ #15867]
16318 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16319 trampoline stack frame information.
16320 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16321 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16322 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16323 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16324 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16325 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16326 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16327 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16328 sa_flags value.
16329 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16330 interrupting a syscall and set with option SA_SIGINFO.
16331
42c8fdd8
JM
163322013-08-20 Joseph Myers <joseph@codesourcery.com>
16333
c980f2f4
JM
16334 [BZ #15531]
16335 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16336 argument is infinite.
16337 * math/s_cprojf.c (__cprojf): Likewise.
16338 * math/s_cprojl.c (__cprojl): Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16340 * math/libm-test.inc (cproj_test_data): Add more tests.
16341
0716c4fc
JM
16342 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16343
42c8fdd8
JM
16344 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16345 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16346 size. Use __ffs to determine corresponding shift.
16347
b31469d0
JM
163482013-08-20 Joseph Myers <joseph@codesourcery.com>
16349 Roland McGrath <roland@hack.frob.com>
16350
16351 * Makefile (INSTALL): Remove trailing blank lines from output of
16352 makeinfo.
16353
4e39af6e
AK
163542013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16355
16356 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16357 Align 32 bit compat elf_greg to 8 bytes.
16358
f315524e
AA
163592013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16360
16361 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16362
1326ba1a
SP
163632013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16364
16365 * string/strcoll_l.c (coll_seq): New structure.
16366 (get_next_seq_cached): New function.
16367 (get_next_seq): New function.
16368 (do_compare): New function.
16369 (STRCOLL): Use GNU style definition. Simplify implementation
16370 by using get_next_seq, get_next_seq_cached and do_compare.
16371
91ce4085
FW
163722013-08-16 Florian Weimer <fweimer@redhat.com>
16373
16374 [BZ #14699]
16375 CVE-2013-4237
16376 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16377 member.
16378 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16379 member.
16380 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16381 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16382 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16383 conditional.
16384 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16385 GETDENTS_64BIT_ALIGNED.
16386 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16387 * manual/filesys.texi (Reading/Closing Directory): Document
16388 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16389 strongly.
16390 * manual/conf.texi (Limits for Files): Add portability note to
16391 NAME_MAX, PATH_MAX.
16392 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16393
ca0a6bc4
AS
163942013-08-13 Andreas Schwab <schwab@suse.de>
16395
16396 [BZ #15749]
16397 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16398 of fabs.
16399 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16400 LDBL_MAX_EXP >= 16384]: Add tests for it.
16401
6c1fd795
DM
164022013-08-12 David S. Miller <davem@davemloft.net>
16403
16404 * version.h (RELEASE): Set to "development".
16405 (VERSION): Set to "2.18.90".
16406 * NEWS: Add 2.19 section.
16407
31ad488d
DM
164082013-08-03 David S. Miller <davem@davemloft.net>
16409
16410 * po/ko.po: Update Korean translation from translation project.
16411
db24e684
DM
164122013-08-01 David S. Miller <davem@davemloft.net>
16413
16414 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16415 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16416 Bilka.
16417
f723285b
DM
164182013-07-30 David S. Miller <davem@davemloft.net>
16419
16420 * po/fr.po: Update French translation from translation project.
16421
3cbc52db
DM
164222013-07-28 David S. Miller <davem@davemloft.net>
16423
30bbc0cc
DM
16424 * po/cs.po: Update Czech translation from translation project.
16425
3cbc52db
DM
16426 * po/sv.po: Update Swedish translation from translation project.
16427
d492e6d0
DM
164282013-07-27 David S. Miller <davem@davemloft.net>
16429
f1a7f492
DM
16430 * po/eo.po: Update Esperanto translation from translation project.
16431
90e62a4a
DM
16432 * po/vi.po: Update Vietnamese translation from translation project.
16433
d492e6d0
DM
16434 * po/de.po: Update German translation from translation project.
16435
d4baa62d
DM
164362013-07-26 David S. Miller <davem@davemloft.net>
16437
641aa7b4
DM
16438 * po/bg.po: Update Bulgarian translation from translation project.
16439
d4baa62d
DM
16440 * po/nl.po: Update Dutch translation from translation project.
16441 * po/pl.po: Update Polish translation from translation project.
16442 * po/ru.po: Update Russian translation from translation project.
16443
61a9dcb9
DM
164442013-07-24 David S. Miller <davem@davemloft.net>
16445
16446 * po/libc.pot: Update.
16447
7b1f8b58
AZ
164482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16449
16450 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16451 variable page size.
16452 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16453 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16454 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16455
a8fc7a03
AK
164562013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16457
16458 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16459
e4608715
CD
164602013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16461 Andreas Schwab <schwab@suse.de>
16462 Roland McGrath <roland@hack.frob.com>
16463 Joseph Myers <joseph@codesourcery.com>
16464 Carlos O'Donell <carlos@redhat.com>
16465
16466 [BZ #15755]
16467 * config.h.in: Define HAVE_PT_CHOWN.
16468 * config.make.in (build-pt-chown): New variable.
16469 * configure.in (--enable-pt_chown): New configure option.
16470 * configure: Regenerate.
16471 * login/Makefile: Include Makeconfig. Build pt_chown only if
16472 build-pt-chown is enabled.
16473 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16474 pt_chown to fix pty ownership.
16475 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16476 CLOSE_ALL_FDS.
16477 * manual/install.texi (Configuring and compiling): Mention
16478 --enable-pt_chown. Add @findex for grantpt.
16479 * INSTALL: Regenerate.
16480
da2d62df
DM
164812013-07-20 David S. Miller <davem@davemloft.net>
16482
16483 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16484 difference between 32-bit and 64-bit.
16485
d7e06450
CD
164862013-07-15 Carlos O'Donell <carlos@redhat.com>
16487
16488 [BZ #15711]
16489 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16490 Avoid system header dependency with -ffreestanding.
16491 ($(objpfx)bits/syscall%d): Likewise.
16492
f959cfd7
DM
164932013-07-13 David S. Miller <davem@davemloft.net>
16494
16495 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16496 underflows from atanl/atan2l due to bug 15319.
16497 (casinh_test_data): Likewise.
16498
c61f8513
DM
164992013-07-07 David S. Miller <davem@davemloft.net>
16500
16501 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16502
72c90ed0
JA
165032013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16504
16505 * sysdeps/i386/fpu/libm-test-ulps: Update.
16506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16507
52dfbe13
SP
165082013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16509
16510 * configure.in (--enable-lock-elision): Fix message text.
16511 * INSTALL: Regenerate.
16512 * configure: Regenerate.
16513
3f169543
AZ
165142013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16515
16516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16517
521c6785
AJ
165182013-07-03 Andreas Jaeger <aj@suse.de>
16519
16520 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16521 define.
16522 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16523 (ptrace_peeksiginfo_args): Add.
16524 (__ptrace_peeksiginfo_flags): Add.
16525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16528
d2cc15cb
AM
165292013-07-03 Allan McRae <allan@archlinux.org>
16530
16531 * sysdeps/i386/fpu/libm-test-ulps: Update.
16532
3aaeeca7
DM
165332013-07-02 David S. Miller <davem@davemloft.net>
16534
16535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16536
5314ed1a
MT
165372013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16538
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16540
67338156
JM
165412013-07-02 Joseph Myers <joseph@codesourcery.com>
16542
16543 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16545
1717da59
AK
165462013-07-02 Andi Kleen <ak@linux.intel.com>
16547
16548 * config.h.in (ENABLE_LOCK_ELISION): Add.
16549 * configure.in (--enable-lock-elision): Add option.
16550 * manual/install.texi: Document --enable lock elision.
16551 * configure: Regenerate
16552 * INSTALL: Regenerate.
16553
1c81621c
L
165542013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16555
16556 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16557 SSE4.2 strcasecmp for libc.a.
16558 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16559
77f01ab5
JM
165602013-07-02 Joseph Myers <joseph@codesourcery.com>
16561
16562 [BZ #13304]
16563 * soft-fp/op-common.h (_FP_FMA): New macro.
16564 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16565 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16566 (_FP_MUL_MEAT_1_imm): ... here.
16567 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16568 (_FP_MUL_MEAT_1_wide): ... here.
16569 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16570 (_FP_MUL_MEAT_1_hard): ... here.
16571 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16572 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16573 (_FP_MUL_MEAT_2_wide): ... here.
16574 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16575 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16576 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16577 (_FP_MUL_MEAT_2_gmp): ... here.
16578 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16579 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16580 (_FP_MUL_MEAT_4_wide): ... here.
16581 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16582 (_FP_MUL_MEAT_4_gmp): ... here.
16583 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16584 (_FP_WFRACBITS_DW_S): Likewise.
16585 (_FP_WFRACXBITS_DW_S): Likewise.
16586 (_FP_HIGHBIT_DW_S): Likewise.
16587 (FP_FMA_S): Likewise.
16588 (_FP_FRAC_HIGH_DW_S): Likewise.
16589 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16590 (_FP_WFRACBITS_DW_D): Likewise.
16591 (_FP_WFRACXBITS_DW_D): Likewise.
16592 (_FP_HIGHBIT_DW_D): Likewise.
16593 (FP_FMA_D): Likewise.
16594 (_FP_FRAC_HIGH_DW_D): Likewise.
16595 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16596 (_FP_WFRACBITS_DW_E): Likewise.
16597 (_FP_WFRACXBITS_DW_E): Likewise.
16598 (_FP_HIGHBIT_DW_E): Likewise.
16599 (FP_FMA_E): Likewise.
16600 (_FP_FRAC_HIGH_DW_E): Likewise.
16601 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16602 (_FP_WFRACBITS_DW_Q): Likewise.
16603 (_FP_WFRACXBITS_DW_Q): Likewise.
16604 (_FP_HIGHBIT_DW_Q): Likewise.
16605 (FP_FMA_Q): Likewise.
16606 (_FP_FRAC_HIGH_DW_Q): Likewise.
16607 * soft-fp/fmasf4.c: New file.
16608 * soft-fp/fmadf4.c: Likewise.
16609 * soft-fp/fmatf4.c: Likewise.
16610
6308fd9a
LD
166112013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16612
16613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16614 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16615 Silvermont.
16616 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16617 macro.
16618 (index_Slow_SSE4_2): Likewise.
16619 (index_Prefer_PMINUB_for_stringop): Likewise.
16620 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16621 bit_Slow_SSE4_2 is set.
16622 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16623 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16624
89cd9569
RA
166252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16626
16627 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16628 rtld_global._dl_hwcap2.
16629 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16630 POWER8.
16631 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16632 POWER8 feature descriptions defined in _dl_hwcap2.
16633 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16634 string handling for POWER8 feature bits.
16635 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16636 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16637 _dl_powerpc_cap_flags.
16638 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16639 * sysdeps/powerpc/rtld-global-offsets.sym
16640 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16641 _dl_hwcap2 in the rtld_global_ro structure.
16642
1ae8bfe0
RA
166432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16644
16645 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16646 hardware capabilities in support of AT_HWCAP2.
16647 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16648 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16649 GLRO(dl_hwcap2).
16650 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16651 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16652 explicitly the unknown a_type display mechanism is used.
16653 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16654 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16655 struct member.
16656 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16657 to macro prototype for AT_HWCAP2 support.
16658 * sysdeps/i386/dl-procinfo.h: Likewise.
16659 * sysdeps/s390/dl-procinfo.h: Likewise.
16660 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16661 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16662 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16663 return -1 for unknown a_type display fallback.
16664 * sysdeps/sparc/dl-procinfo.h: Likewise.
16665 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16666 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16667
8fbec010
JM
166682013-06-28 Joseph Myers <joseph@codesourcery.com>
16669
16670 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16671 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16672
0432680e
PY
166732013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16674
16675 [BZ #12492]
16676 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16677 mprotect making __stack_prot writable.
16678
ce61a2ad
NF
166792013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16680 Joseph Myers <joseph@codesourcery.com>
16681
16682 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16683 as being properly aligned.
16684
f91f1c0f
MR
166852013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16686
3d0f5d0c
MR
16687 * dlfcn/modstatic5.c: New file.
16688 * dlfcn/tststatic5.c: New file.
16689 * dlfcn/Makefile (tests): Add tststatic5.
16690 (tests-static): Likewise.
16691 (modules-names): Add modstatic5.
16692 (tststatic5-ENV): New variable.
16693 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16694
f91f1c0f
MR
16695 [BZ #15022]
16696 * elf/dl-support.c (_dl_main_map): New variable.
16697 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16698 (_dl_nns, _dl_load_adds): Set to 1.
16699 (_dl_initial_searchlist): Refer to _dl_main_map.
16700 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16701 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16702 call to _dl_get_origin.
16703 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16704 around call_map.
16705 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16706 * dlfcn/modstatic3.c: New file.
16707 * dlfcn/tststatic3.c: New file.
16708 * dlfcn/tststatic4.c: New file.
16709 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16710 (tests-static): Likewise.
16711 (modules-names): Add modstatic3.
16712 (tststatic3-ENV, tststatic4-ENV): New variables.
16713 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16714 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16715
cbe7d24b
JM
167162013-06-26 Joseph Myers <joseph@codesourcery.com>
16717
16718 * configure.in (CC): Require GCC version 4.4 or later.
16719 * configure: Regenerated.
16720 * manual/install.texi (Tools for Compilation): Update GCC version
16721 requirement.
16722 * INSTALL: Regenerated.
16723
11b8a0e1
LD
167242013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16725
16726 [BZ #15674]
bb5bb87c
L
16727 * string/test-memcmp.c (check2): New.
16728 (main): Call check2.
16729
11b8a0e1
LD
16730 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16731
b0037103
MR
167322013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16733
16734 [BZ #15022]
16735 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16736 over to...
16737 (dl_open_worker) [!SHARED]: ... here.
16738
c18c701d
RA
167392013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16740
16741 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16742
1d17fa5f
RH
167432013-06-25 Richard Henderson <rth@redhat.com>
16744
16745 * locale/programs/locarchive.c: Include <libc-internal.h>
16746
8fcb833a
JM
167472013-06-25 Joseph Myers <joseph@codesourcery.com>
16748
16749 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16750 trailing whitespace removed.
16751
17db6e8d
MF
167522013-06-24 Mike Frysinger <vapier@gentoo.org>
16753
16754 [BZ #10283]
17db6e8d
MF
16755 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16756 * locale/programs/locarchive.c: Include libc-mmap.h.
16757 (prepare_address_space): Take two new outputs (the mmap base and len).
16758 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16759 values.
16760 (create_archive): Declare new mmap base and len values for
16761 prepare_address_space, and store the result in ah.
16762 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16763 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16764 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16765 Declare new mmap base and len values for
16766 prepare_address_space, and store the result in new_ah.
16767 (open_archive): Declare new mmap base and len values for
16768 prepare_address_space, and store the result in ah.
16769 (close_archive): If ah->mmap_base is not NULL, use that and
16770 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16771 * sysdeps/generic/libc-mmap.h: New file.
16772
d605071e
MF
167732013-06-24 Mike Frysinger <vapier@gentoo.org>
16774
16775 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16776 (ALIGN_UP): Likewise.
16777 (PTR_ALIGN_DOWN): Likewise.
16778 (PTR_ALIGN_UP): Likewise.
16779
2f063a6e
RA
167802013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16781
16782 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16783 entry mapped to PPC_PLATFORM_POWER8.
16784 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16785 POWER8.
16786 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16787 (_dl_string_platform): Add case for exporting platform position for
16788 POWER8.
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16790 search path to sysdeps/powerpc/powerpc32/power8 directory.
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16792 search path to sysdeps/powerpc/powerpc64/power8 directory.
16793 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16794 power7 directories.
16795 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16796 power7 directories.
16797
a31ee4b3
SP
167982013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16799
a74ca98f
SP
16800 * INSTALL: Regenerate.
16801
a31ee4b3
SP
16802 * nscd/connections.c (nscd_init): Fix comment.
16803
695c378f
JM
168042013-06-22 Joseph Myers <joseph@codesourcery.com>
16805
d8412221
JM
16806 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16807
695c378f
JM
16808 [BZ #15667]
16809 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16810 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16811
d1d54715
MR
168122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16813
16814 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16815 DL_DST_REQ_STATIC.
16816 (DL_DST_REQ_STATIC): Remove macro.
16817
8fdda7af
JM
168182013-06-21 Joseph Myers <joseph@codesourcery.com>
16819
16820 [BZ #7006]
16821 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16822 with a shift of 0 bits.
16823
f3bc5e5a
MR
168242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16825
16826 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16827 $(tststatic-ENV).
16828
be09e8c9
KK
168292013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16830
16831 [BZ #15655]
16832 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16833
85c2e611
AZ
168342013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16835
16836 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16837 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16838 accepts -fno-tree-loop-distribute-patterns.
16839 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16840 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16841 recursive call.
16842 * string/memset.c (memset): Likewise.
16843 * string/test-memmove.c (simple_memmove): Disable loop transformation
16844 to library calls.
16845 * string/test-memset.c (simple_memset): Likewise.
16846 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16847 * benchtests/bench-memset.c (simple_memset): Likewise.
16848 * configure: Regenerated.
16849
c91e0825
JM
168502013-06-20 Joseph Myers <joseph@codesourcery.com>
16851
b8c792af
JM
16852 * math/test-misc.c (main): Ignore fesetround failure when failures
16853 of subsequent rounding tests would be ignored.
16854
c91e0825
JM
16855 [BZ #15654]
16856 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16857 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16858 * math/fegetenv.c (__fegetenv): Return 0.
16859 * math/fegetexcept.c (fegetexcept): Return 0.
16860 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16861 FE_TONEAREST.
16862 * math/feholdexcpt.c (feholdexcept): Return 0.
16863 * math/fesetenv.c (__fesetenv): Return 0.
16864 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16865 argument FE_TONEAREST.
16866 * math/feupdateenv.c (__feupdateenv): Return 0.
16867 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16868
bfcacbde
RM
168692013-06-18 Roland McGrath <roland@hack.frob.com>
16870
16871 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16872 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16873 ($(objpfx)rtld-%.os rules): Use them.
16874
e55a9b25
AZ
168752013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16876
16877 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16878 fields.
16879
346d65b3
RM
168802013-06-17 Roland McGrath <roland@hack.frob.com>
16881
12086fb4
RM
16882 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16883 length of target pattern, then descending length of dependency pattern.
16884 * configure.in (AWK): Require gawk 3.1.2 or newer.
16885 * manual/install.texi (Tools for Compilation): Say that we do.
16886 * configure: Regenerated.
16887
346d65b3
RM
16888 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16889 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16890 * scripts/sysd-rules.awk: ... this new script.
16891 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16892 than a glob-style pattern.
16893
1a846317
JM
168942013-06-17 Joseph Myers <joseph@codesourcery.com>
16895
16896 * math/test-misc.c (main): Do not treat incorrectly rounded
16897 conversions as failure unless ROUNDING_TESTS passes.
16898
8fc75e6f
JM
168992013-06-15 Joseph Myers <joseph@codesourcery.com>
16900
3711a167
JM
16901 [BZ #15631]
16902 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16903 restore exception state around main square root computation, then
16904 check for inexactness explicitly.
16905
8fc75e6f
JM
16906 * math/libm-test.inc (fma_test_data): Add another test.
16907
61dd6208
SP
169082013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16909
adf23d2c
SP
16910 * manual/threads.texi (Non-POSIX Extensions): New document
16911 node. Document pthread_getattr_default_np and
16912 pthread_setattr_default_np.
16913
61dd6208
SP
16914 * Versions.def (libpthread): Add GLIBC_2.18.
16915 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16917 Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16919 Likewise.
16920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16921 Likewise.
16922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16923 Likewise.
16924 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16925 Likewise.
16926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16927 Likewise.
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16929 Likewise.
16930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16931 Likewise.
16932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16933 Likewise.
16934
d086fc7b
LD
169352013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16936
16937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16938 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16939
747ef469
SP
169402013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16941 H.J. Lu <hjl.tools@gmail.com>
16942
16943 [BZ #15627]
16944 * sysdeps/x86_64/rtld-memset.c: Remove file.
16945 * sysdeps/x86_64/rtld-memset.S: New file.
16946
1b2feed2
JM
169472013-06-14 Joseph Myers <joseph@codesourcery.com>
16948
16949 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16950 (test_in_one_mode): Take arguments for whether the rounding mode
16951 is supported for each floating-point type.
16952 (do_test): Pass new arguments to test_in_one_mode using
16953 ROUNDING_TESTS.
16954
a58ad3f8
RM
169552013-06-13 Roland McGrath <roland@hack.frob.com>
16956
16957 * posix/tst-waitid.c (do_test): Distinguish different instances of
16958 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16959 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16960 before entering the kernel for waitpid.
16961
c204ab28
SP
169622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
16964 * NEWS: Fix note on clock function precision. Text by Roland
16965 McGrath.
16966
f4a29fba
RM
169672013-06-13 Roland McGrath <roland@hack.frob.com>
16968
16969 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16970 it into place only when and if the sanity check passes.
16971
1f24b9ad
JM
169722013-06-13 Joseph Myers <joseph@codesourcery.com>
16973
16974 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16975 output for whether conversion result is exact. Take argument
16976 indicating whether type is IBM long double.
16977 (round_for_all): Change need_exact field to ibm_ld.
16978 * stdlib/tst-strtod-round.c (struct exactness): New type.
16979 (struct test): Change bool ld_ok field to struct exactness exact.
16980 (TEST): Update all definitions for change to field.
16981 (tests): Regenerate array contents.
16982 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16983 field value. Check for IBM long double here.
16984 (do_test): Update calls to test_in_one_mode.
16985
58206c68
SP
169862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16987
16988 [BZ #12515]
16989 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16990 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16991
2d6f4c5b 169922013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16993
16994 [BZ #15605]
16995 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16996 generated by the compiler on loop optimizations.
16997 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16998 general definitions.
16999
94f2c076
JM
170002013-06-12 Joseph Myers <joseph@codesourcery.com>
17001
17002 * math/bug-nextafter.c: Include <math-tests.h>.
17003 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17004 the relevant type.
17005 * math/bug-nexttoward.c: Include <math-tests.h>.
17006 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17007 the relevant type.
17008 * math/test-misc.c: Include <math-tests.h>.
17009 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17010 the relevant type.
17011
e0e50a0a
AJ
170122013-06-12 Andreas Jaeger <aj@suse.de>
17013
17014 * po/ia.po: Update Interlingua translation from translation
17015 project.
17016
25061094
SP
170172013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17018
17019 * include/fenv.h: Include stdbool.h.
17020 (struct rm_ctx): New structure.
17021 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17022 Define macro.
17023 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17024 (SET_RESTORE_ROUNDF): Likewise.
17025 (SET_RESTORE_ROUNDL): Likewise.
17026 (SET_RESTORE_ROUND_NOEX): Likewise.
17027 (SET_RESTORE_ROUND_NOEXF): Likewise.
17028 (SET_RESTORE_ROUND_NOEXL): Likewise.
17029 (SET_RESTORE_ROUND_53BIT): Likewise.
17030 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17031 (libc_feresetround_noexf_ctx): Likewise.
17032 (libc_feresetround_noexl_ctx): Likewise.
17033 (libc_feholdsetround_53bit_ctx): Likewise.
17034 (libc_feresetround_53bit_ctx): Likewise.
17035 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17036 (libc_feholdexcept_setround_sse_ctx): New function.
17037 (libc_fesetenv_sse_ctx): Likewise.
17038 (libc_feupdateenv_sse_ctx): Likewise.
17039 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17040 (libc_feholdexcept_setround_387_ctx): Likewise.
17041 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17042 (libc_feholdsetround_387_prec_ctx): Likewise.
17043 (libc_feholdsetround_387_ctx): Likewise.
17044 (libc_feholdsetround_387_53bit_ctx): Likewise.
17045 (libc_feholdsetround_sse_ctx): Likewise.
17046 (libc_feresetround_sse_ctx): Likewise.
17047 (libc_feresetround_387_ctx): Likewise.
17048 (libc_feupdateenv_387_ctx): Likewise.
17049 (libc_feholdexcept_setroundf_ctx): Define macro.
17050 (libc_fesetenvf_ctx): Likewise.
17051 (libc_feupdateenvf_ctx): Likewise.
17052 (libc_feholdsetroundf_ctx): Likewise.
17053 (libc_feresetroundf_ctx): Likewise.
17054 (libc_feholdexcept_setround_ctx): Likewise.
17055 (libc_fesetenv_ctx): Likewise.
17056 (libc_feupdateenv_ctx): Likewise.
17057 (libc_feholdsetround_ctx): Likewise.
17058 (libc_feresetround_ctx): Likewise.
17059 (libc_feholdexcept_setroundl_ctx): Likewise.
17060 (libc_feupdateenvl_ctx): Likewise.
17061 (libc_feholdsetroundl_ctx): Likewise.
17062 (libc_feresetroundl_ctx): Likewise.
17063 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17064 (libc_feresetround_53bit_ctx): Likewise.
17065
59b30555
SP
170662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17067
17068 * locale/iso-639.def: Convert to UTF-8.
17069
f1d73d30
JM
170702013-06-11 Joseph Myers <joseph@codesourcery.com>
17071
17072 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17073 (EXCEPTION_TESTS_double): Likewise.
17074 (EXCEPTION_TESTS_long_double): Likewise.
17075 (EXCEPTION_TESTS): Likewise.
17076 * math/libm-test.inc (test_exceptions): Only test exceptions if
17077 EXCEPTION_TESTS (FLOAT).
17078
94aca5e7
SP
170792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17080
17081 * benchtests/Makefile (string-bench): Add strcpy_chk and
17082 stpcpy_chk.
17083 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17084 * benchtests/bench-stpcpy_chk.c: New file.
17085 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17086 * benchtests/bench-strcpy_chk.c: New file.
17087 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17088 code.
17089 (do_test): Likewise.
17090
fac0c5f2
RA
170912013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17092
17093 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17094 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17095 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17096 with tabs where appropriate.
17097 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17098 dl-procinfo.h.
17099 [PPC_PLATFORM_PPC440]: Likewise.
17100 [PPC_PLATFORM_PPC464]: Likewise.
17101 [PPC_PLATFORM_PPC476]: Likewise.
17102 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17103 ppc464, and ppc476 platform strings merging from ports/
17104 dl-procinfo.h.
17105
f22bc486
AS
171062013-06-11 Andreas Schwab <schwab@suse.de>
17107
17108 [BZ #14991]
17109 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17110 (from_ucs4_idx): Regenerate.
17111 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17112 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17113 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17114 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17115 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17116 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17117 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17118 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17119 from FROM_LOOP and TO_LOOP specific macros.
17120 (BODY): Handle combining characters.
17121 * iconvdata/BIG5HKSCS.irreversible: Update.
17122 * iconvdata/BIG5HKSCS.precomposed: New file.
17123 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17124 characters.
17125 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17126
c1f75dc3
SP
171272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17128
4eacded2
SP
17129 * include/sys/time.h: Fix indentation and add copyright header.
17130
fec799f8
SP
17131 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17132 (do_test): Likewise.
17133 * string/test-memchr.c (do_one_test): Likewise.
17134 (do_test): Likewise.
17135 * string/test-memcmp.c (do_one_test): Likewise.
17136 (do_test): Likewise.
17137 * string/test-memcpy.c (do_one_test): Likewise.
17138 (do_test): Likewise.
17139 * string/test-memmem.c (do_one_test): Likewise.
17140 (do_test): Likewise.
17141 (do_random_tests): Likewise.
17142 * string/test-memmove.c (do_one_test): Likewise.
17143 (do_test): Likewise.
17144 * string/test-memset.c (do_one_test): Likewise.
17145 (do_test): Likewise.
17146 * string/test-rawmemchr.c (do_one_test): Likewise.
17147 (do_test): Likewise.
17148 * string/test-strcasecmp.c (do_one_test): Likewise.
17149 (do_test): Likewise.
17150 * string/test-strcasestr.c (do_one_test): Likewise.
17151 (do_test): Likewise.
17152 * string/test-strcat.c (do_one_test): Likewise.
17153 (do_test): Likewise.
17154 * string/test-strchr.c (do_one_test): Likewise.
17155 (do_test): Likewise.
17156 * string/test-strcmp.c (do_one_test): Likewise.
17157 (do_test): Likewise.
17158 * string/test-strcpy.c (do_one_test): Likewise.
17159 (do_test): Likewise.
17160 * string/test-string.h: Likewise.
17161 (test_init): Likewise.
17162 * string/test-strlen.c (do_one_test): Likewise.
17163 (do_test): Likewise.
17164 * string/test-strncasecmp.c (do_one_test): Likewise.
17165 (do_test): Likewise.
17166 * string/test-strncat.c (do_one_test): Likewise.
17167 (do_test): Likewise.
17168 * string/test-strncmp.c (do_one_test): Likewise.
17169 (do_test_limit): Likewise.
17170 (do_test): Likewise.
17171 * string/test-strncpy.c (do_one_test): Likewise.
17172 (do_test): Likewise.
17173 * string/test-strnlen.c (do_one_test): Likewise.
17174 (do_test): Likewise.
17175 * string/test-strpbrk.c (do_one_test): Likewise.
17176 (do_test): Likewise.
17177 * string/test-strrchr.c (do_one_test): Likewise.
17178 (do_test): Likewise.
17179 * string/test-strspn.c (do_one_test): Likewise.
17180 (do_test): Likewise.
17181 * string/test-strstr.c (do_one_test): Likewise.
17182 (do_test): Likewise.
17183
97020474
SP
17184 * benchtests/Makefile (string-bench): Add string benchmarks.
17185 * benchtests/bench-bcopy-ifunc.c: New file.
17186 * benchtests/bench-bcopy.c: New file.
17187 * benchtests/bench-bzero-ifunc.c: New file.
17188 * benchtests/bench-bzero.c: New file.
17189 * benchtests/bench-memccpy-ifunc.c: New file.
17190 * benchtests/bench-memccpy.c: New file.
17191 * benchtests/bench-memchr-ifunc.c: New file.
17192 * benchtests/bench-memchr.c: New file.
17193 * benchtests/bench-memcmp-ifunc.c: New file.
17194 * benchtests/bench-memcmp.c: New file.
17195 * benchtests/bench-memmem-ifunc.c: New file.
17196 * benchtests/bench-memmem.c: New file.
17197 * benchtests/bench-memmove-ifunc.c: New file.
17198 * benchtests/bench-memmove.c: New file.
17199 * benchtests/bench-mempcpy-ifunc.c: New file.
17200 * benchtests/bench-mempcpy.c: New file.
17201 * benchtests/bench-memset-ifunc.c: New file.
17202 * benchtests/bench-memset.c: New file.
17203 * benchtests/bench-rawmemchr-ifunc.c: New file.
17204 * benchtests/bench-rawmemchr.c: New file.
17205 * benchtests/bench-stpcpy-ifunc.c: New file.
17206 * benchtests/bench-stpcpy.c: New file.
17207 * benchtests/bench-stpncpy-ifunc.c: New file.
17208 * benchtests/bench-stpncpy.c: New file.
17209 * benchtests/bench-strcasecmp-ifunc.c: New file.
17210 * benchtests/bench-strcasecmp.c: New file.
17211 * benchtests/bench-strcasestr-ifunc.c: New file.
17212 * benchtests/bench-strcasestr.c: New file.
17213 * benchtests/bench-strcat-ifunc.c: New file.
17214 * benchtests/bench-strcat.c: New file.
17215 * benchtests/bench-strchr-ifunc.c: New file.
17216 * benchtests/bench-strchr.c: New file.
17217 * benchtests/bench-strchrnul-ifunc.c: New file.
17218 * benchtests/bench-strchrnul.c: New file.
17219 * benchtests/bench-strcmp-ifunc.c: New file.
17220 * benchtests/bench-strcmp.c: New file.
17221 * benchtests/bench-strcpy-ifunc.c: New file.
17222 * benchtests/bench-strcpy.c: New file.
17223 * benchtests/bench-strcspn-ifunc.c: New file.
17224 * benchtests/bench-strcspn.c: New file.
17225 * benchtests/bench-strlen-ifunc.c: New file.
17226 * benchtests/bench-strlen.c: New file.
17227 * benchtests/bench-strncasecmp-ifunc.c: New file.
17228 * benchtests/bench-strncasecmp.c: New file.
17229 * benchtests/bench-strncat-ifunc.c: New file.
17230 * benchtests/bench-strncat.c: New file.
17231 * benchtests/bench-strncmp-ifunc.c: New file.
17232 * benchtests/bench-strncmp.c: New file.
17233 * benchtests/bench-strncpy-ifunc.c: New file.
17234 * benchtests/bench-strncpy.c: New file.
17235 * benchtests/bench-strnlen-ifunc.c: New file.
17236 * benchtests/bench-strnlen.c: New file.
17237 * benchtests/bench-strpbrk-ifunc.c: New file.
17238 * benchtests/bench-strpbrk.c: New file.
17239 * benchtests/bench-strrchr-ifunc.c: New file.
17240 * benchtests/bench-strrchr.c: New file.
17241 * benchtests/bench-strspn-ifunc.c: New file.
17242 * benchtests/bench-strspn.c: New file.
17243 * benchtests/bench-strstr-ifunc.c: New file.
17244 * benchtests/bench-strstr.c: New file.
17245
c1f75dc3
SP
17246 * benchtests/Makefile: Disable parallel execution of targets.
17247 (string-bench): Add memcpy.
17248 (benchset): New variable to store a list of benchmark sets.
17249 (bench-func): Renamed from bench.
17250 (bench-set): New target.
17251 (bench): Depend on bench-func and bench-set.
17252 * benchtests/README: Add section on benchmark sets.
17253 * benchtests/bench-memcpy-ifunc.c: New file.
17254 * benchtests/bench-memcpy.c: New file.
17255 * benchtests/bench-string.h: New file.
17256
50fd745b
AS
172572013-06-11 Andreas Schwab <schwab@suse.de>
17258
17259 [BZ #15577]
17260 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17261 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17262 values in the triple.
17263 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17264 terminator in the group key.
17265
3ee7e9fe
AJ
172662013-06-11 Andreas Jaeger <aj@suse.de>
17267
17268 * po/zh_TW.po: Update Chinese (traditional) translation from
17269 translation project.
17270
89fb6835
SP
172712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17272
17273 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17274 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17275 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17276 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17277 (clock_getcpuclockid): Likewise.
17278 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17279 Add weak_alias and libc_hidden_def.
17280 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17281 * rt/clock_gettime.c (clock_gettime): Rename to
17282 __clock_gettime. Add weak_alias and libc_hidden_def.
17283 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17284 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17285 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17286 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17287 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17288 Likewise.
17289 * rt/clock_settime.c (clock_settime): Rename to
17290 __clock_settime. Add weak_alias and libc_hidden_def.
17291 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17292
0efa6f8b
JM
172932013-06-10 Joseph Myers <joseph@codesourcery.com>
17294
b8c61b4b
JM
17295 * mach/err_boot.sub: Remove trailing whitespace.
17296 * mach/err_ipc.sub: Likewise.
17297 * mach/err_mach.sub: Likewise.
17298
0efa6f8b
JM
17299 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17300 (ROUNDING_TESTS_double): Likewise.
17301 (ROUNDING_TESTS_long_double): Likewise.
17302 (ROUNDING_TESTS): Likewise.
17303 * math/libm-test.inc: Include <math-tests.h>.
17304 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17305 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17306 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17307 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17308
50b818bf
SP
173092013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17310
17311 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17312 of assigning.
17313
60d2f8f3
JM
173142013-06-08 Joseph Myers <joseph@codesourcery.com>
17315
4902d2c3
JM
17316 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17317 otherwise empty TRANS lines.
17318 * sysdeps/gnu/errlist.c: Regenerated.
17319
60d2f8f3
JM
17320 * catgets/gencat.c (error_print): Use (void) in function
17321 definition.
17322 * crypt/crypt_util.c (__init_des): Likewise.
17323 * crypt/speeds.c (Stop): Likewise.
17324 (main): Likewise.
17325 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17326 * inet/ruserpass.c (token): Likewise.
17327 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17328 * intl/localealias.c (extend_alias_table): Likewise.
17329 * intl/plural-exp.c (init_germanic_plural): Likewise.
17330 * libio/fcloseall.c (__fcloseall): Likewise.
17331 * libio/genops.c (_IO_flush_all): Likewise.
17332 (_IO_flush_all_linebuffered): Likewise.
17333 (_IO_cleanup): Likewise.
17334 (_IO_iter_begin): Likewise.
17335 (_IO_iter_end): Likewise.
17336 (_IO_list_lock): Likewise.
17337 (_IO_list_unlock): Likewise.
17338 (_IO_list_resetlock): Likewise.
17339 * libio/getchar.c (getchar): Likewise.
17340 * libio/getchar_u.c (getchar_unlocked): Likewise.
17341 * libio/getwchar.c (getwchar): Likewise.
17342 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17343 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17344 * login/getpt.c (__getpt): Likewise.
17345 * login/tst-utmp.c (main): Likewise.
17346 * malloc/hooks.c (__malloc_check_init): Likewise.
17347 * malloc/malloc.c (__malloc_stats): Likewise.
17348 * malloc/mtrace.c (tr_break): Likewise.
17349 (mtrace): Likewise.
17350 (muntrace): Likewise.
17351 * misc/fstab.c (endfsent): Likewise.
17352 * misc/getclktck.c (__getclktck): Likewise.
17353 * misc/getdtsz.c (__getdtablesize): Likewise.
17354 * misc/gethostid.c (gethostid): Likewise.
17355 * misc/getpagesize.c (__getpagesize): Likewise.
17356 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17357 (__get_nprocs): Likewise.
17358 (__get_phys_pages): Likewise.
17359 (__get_avphys_pages): Likewise.
17360 * misc/getttyent.c (getttyent): Likewise.
17361 (setttyent): Likewise.
17362 (endttyent): Likewise.
17363 * misc/getusershell.c (getusershell): Likewise.
17364 (endusershell): Likewise.
17365 (setusershell): Likewise.
17366 (initshells): Likewise.
17367 * misc/hsearch.c (__hdestroy): Likewise.
17368 * misc/sync.c (sync): Likewise.
17369 * misc/syslog.c (closelog_internal): Likewise.
17370 (closelog): Likewise.
17371 * misc/ttyslot.c (ttyslot): Likewise.
17372 * misc/vhangup.c (vhangup): Likewise.
17373 * posix/fork.c (__fork): Likewise.
17374 * posix/getegid.c (__getegid): Likewise.
17375 * posix/geteuid.c (__geteuid): Likewise.
17376 * posix/getgid.c (__getgid): Likewise.
17377 * posix/getpid.c (__getpid): Likewise.
17378 * posix/getppid.c (__getppid): Likewise.
17379 * posix/getuid.c (__getuid): Likewise.
17380 * posix/pause.c (pause): Likewise.
17381 * posix/setpgrp.c (setpgrp): Likewise.
17382 * posix/setsid.c (__setsid): Likewise.
17383 * posix/test-vfork.c (noop): Likewise.
17384 * resolv/gethnamaddr.c (_endhtent): Likewise.
17385 (_gethtent): Likewise.
17386 (ht_endhostent): Likewise.
17387 (gethostent): Likewise.
17388 (dns_service): Likewise.
17389 * stdlib/drand48.c (drand48): Likewise.
17390 * stdlib/lrand48.c (lrand48): Likewise.
17391 * stdlib/mrand48.c (mrand48): Likewise.
17392 * stdlib/rand.c (rand): Likewise.
17393 * stdlib/random.c (__random): Likewise.
17394 * stdlib/setenv.c (clearenv): Likewise.
17395 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17396 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17397 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17398 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17399 (__get_nprocs): Likewise.
17400 (__get_phys_pages): Likewise.
17401 (__get_avphys_pages): Likewise.
17402 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17403 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17404 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17405 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17406 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17407 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17408 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17409 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17410 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17411 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17412 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17413 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17414 * sysdeps/posix/clock.c (clock): Likewise.
17415 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17416 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17417 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17418 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17419 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17421 (__get_nprocs_conf): Likewise.
17422 (__get_phys_pages): Likewise.
17423 (__get_avphys_pages): Likewise.
17424 * time/clock.c (clock): Likewise.
17425 * time/tzset.c (__tzname_max): Likewise.
17426
2e09a79a
JM
174272013-06-07 Joseph Myers <joseph@codesourcery.com>
17428
17429 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17430 (__bswap_32): Do not use "register".
17431 * crypt/crypt.c (_ufc_doit_r): Likewise.
17432 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17433 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17434 * gmon/gmon.c (__monstartup): Likewise.
17435 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17436 * hurd/hurdmalloc.c (more_memory): Likewise.
17437 (malloc): Likewise.
17438 (free): Likewise.
17439 (realloc): Likewise.
17440 (malloc_fork_prepare): Likewise.
17441 (malloc_fork_parent): Likewise.
17442 (malloc_fork_child): Likewise.
17443 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17444 (_svcauth_des): Likewise.
17445 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17446 * inet/inet_net.c (inet_network): Likewise.
17447 * inet/inet_netof.c (inet_netof): Likewise.
17448 * inet/rcmd.c (__validuser2_sa): Likewise.
17449 * io/fts.c (fts_open): Likewise.
17450 (fts_load): Likewise.
17451 (fts_close): Likewise.
17452 (fts_read): Likewise.
17453 (fts_children): Likewise.
17454 (fts_build): Likewise.
17455 (fts_stat): Likewise.
17456 (fts_sort): Likewise.
17457 (fts_alloc): Likewise.
17458 (fts_lfree): Likewise.
17459 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17460 (_IO_file_xsgetn): Likewise.
17461 (_IO_file_xsgetn_mmap): Likewise.
17462 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17463 (_IO_cookie_write): Likewise.
17464 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17465 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17466 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17467 * malloc/obstack.c (_obstack_begin): Likewise.
17468 (_obstack_begin_1): Likewise.
17469 (_obstack_newchunk): Likewise.
17470 (_obstack_allocated_p): Likewise.
17471 (obstack_free): Likewise.
17472 (_obstack_memory_used): Likewise.
17473 * misc/getttyent.c (getttynam): Likewise.
17474 (getttyent): Likewise.
17475 (skip): Likewise.
17476 (value): Likewise.
17477 * misc/getusershell.c (initshells): Likewise.
17478 * misc/syslog.c (__vsyslog_chk): Likewise.
17479 * misc/ttyslot.c (ttyslot): Likewise.
17480 * nis/nis_hash.c (__nis_hash): Likewise.
17481 * posix/fnmatch_loop.c (FCT): Likewise.
17482 * posix/getconf.c (print_all): Likewise.
17483 (main): Likewise.
17484 * posix/getopt.c (exchange): Likewise.
17485 * posix/glob.c (globfree): Likewise.
17486 (prefix_array): Likewise.
17487 (__glob_pattern_type): Likewise.
17488 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17489 (NS_GET32): Likewise.
17490 (NS_PUT16): Likewise.
17491 (NS_PUT32): Likewise.
17492 * resolv/gethnamaddr.c (getanswer): Likewise.
17493 (gethostbyname2): Likewise.
17494 (gethostbyaddr): Likewise.
17495 (_gethtent): Likewise.
17496 (_gethtbyname2): Likewise.
17497 (_gethtbyaddr): Likewise.
17498 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17499 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17500 * resolv/res_init.c (__res_vinit): Likewise.
17501 (net_mask): Likewise.
17502 * resolv/res_mkquery.c (outchar): Likewise.
17503 (PRINT): Likewise.
17504 * stdio-common/printf_fp.c (outchar): Likewise.
17505 (PRINT): Likewise.
17506 * stdio-common/printf_fphex.c (outchar): Likewise.
17507 (PRINT): Likewise.
17508 * stdio-common/printf_size.c (outchar): Likewise.
17509 (PRINT): Likewise.
17510 * stdio-common/test_rdwr.c (main): Likewise.
17511 * stdio-common/tfformat.c (matches): Likewise.
17512 * stdio-common/vfprintf.c (outchar): Likewise.
17513 (printf_unknown): Likewise.
17514 (buffered_vfprintf): Likewise.
17515 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17516 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17517 (ReadFile): Likewise.
17518 * stdlib/qsort.c (SWAP): Likewise.
17519 (_quicksort): Likewise.
17520 * stdlib/setenv.c (__add_to_environ): Likewise.
17521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17522 * stdlib/strtol_l.c (__strtol_l): Likewise.
17523 * stdlib/tst-strtod.c (main): Likewise.
17524 * stdlib/tst-strtol.c (main): Likewise.
17525 * stdlib/tst-strtoll.c (main): Likewise.
17526 * string/bits/string2.h (__strcmp_cc): Likewise.
17527 (__strcmp_cg): Likewise.
17528 (__strcspn_c1): Likewise.
17529 (__strcspn_c2): Likewise.
17530 (__strcspn_c3): Likewise.
17531 (__strspn_c1): Likewise.
17532 (__strspn_c2): Likewise.
17533 (__strspn_c3): Likewise.
17534 (__strsep_1c): Likewise.
17535 (__strsep_2c): Likewise.
17536 (__strsep_3c): Likewise.
17537 * string/memccpy.c (__memccpy): Likewise.
17538 * string/stpcpy.c (__stpcpy): Likewise.
17539 * string/strcmp.c (strcmp): Likewise.
17540 * string/strrchr.c (strrchr): Likewise.
17541 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17542 Likewise.
17543 * sysdeps/mach/hurd/getcwd.c
17544 (_hurd_canonicalize_directory_name_internal): Likewise.
17545 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17546 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17547 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17548 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17549 Likewise, in both definitions.
17550 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17551 definitions.
17552 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17553 64] (__bswap_64): Likewise.
17554 * time/test_time.c (main): Likewise.
17555 * time/tzfile.c (__tzfile_read): Likewise.
17556 (__tzfile_compute): Likewise.
17557 * time/tzset.c (__tzset_parse_tz): Likewise.
17558 (tzset_internal): Likewise.
17559 (compute_change): Likewise.
17560 * wcsmbs/wcscat.c (__wcscat): Likewise.
17561 * wcsmbs/wcschr.c (wcschr): Likewise.
17562 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17563 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17564 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17565 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17566 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17567 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17568 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17569 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17570 * wcsmbs/wmemset.c (wmemset): Likewise.
17571
9e54314b
JM
175722013-06-06 Joseph Myers <joseph@codesourcery.com>
17573
17574 * scripts/config.guess: Update to version 2013-05-16.
17575 * scripts/config.sub: Update to version 2013-04-24.
17576 * scripts/install-sh: Update to version 2011-11-20.07.
17577 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17578 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17579
350635a5
OB
175802013-06-06 Ondřej Bílka <neleai@seznam.cz>
17581
17582 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17583 * elf/sln.c: Likewise.
17584 * hurd/hurd/ioctl.h: Likewise.
17585 * hurd/hurdmalloc.c: Likewise.
17586 * hurd/xattr.c: Likewise.
17587 * include/shlib-compat.h: Likewise.
17588 * inet/ruserpass.c: Likewise.
17589 * libio/iofgets_u.c: Likewise.
17590 * libio/iofgetws_u.c: Likewise.
17591 * locale/programs/ld-identification.c: Likewise.
17592 * locale/programs/ld-time.c: Likewise.
17593 * mach/msg-destroy.c: Likewise.
17594 * nss/nss_files/files-netgrp.c: Likewise.
17595 * resolv/res_data.c: Likewise.
17596 * soft-fp/op-1.h: Likewise.
17597 * soft-fp/op-2.h: Likewise.
17598 * soft-fp/op-4.h: Likewise.
17599 * soft-fp/op-common.h: Likewise.
17600 * stdio-common/printf_fphex.c: Likewise.
17601 * stdlib/strtod_l.c: Likewise.
17602 * sunrpc/rpc/clnt.h: Likewise.
17603 * sysdeps/generic/framestate.c: Likewise.
17604 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17605 * sysdeps/i386/bsd-setjmp.S: Likewise.
17606 * sysdeps/i386/__longjmp.S: Likewise.
17607 * sysdeps/i386/setjmp.S: Likewise.
17608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17609 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17615 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17618 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17626 * sysdeps/ieee754/support.c: Likewise.
17627 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17628 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17629 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17630 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17631 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17632 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17633 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17634 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17635 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17636 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17637 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17638 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17639 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17640 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17641 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17642 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17643 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17645
44a988af
OB
176462013-06-05 Ondřej Bílka <neleai@seznam.cz>
17647
25506f09 17648 * posix/transbug.c: Remove executable mode.
44a988af 17649
9c84384c
JM
176502013-06-05 Joseph Myers <joseph@codesourcery.com>
17651
17652 * crypt/speeds.c: Remove trailing whitespace.
17653 * dlfcn/default.c: Likewise.
17654 * elf/ifuncdep2.c: Likewise.
17655 * elf/ifuncmain1.c: Likewise.
17656 * elf/ifuncmain1vis.c: Likewise.
17657 * elf/testobj.h: Likewise.
17658 * elf/tst-stackguard1.c: Likewise.
17659 * gmon/sys/gmon.h: Likewise.
17660 * hurd/hurdmsg.c: Likewise.
17661 * hurd/new-fd.c: Likewise.
17662 * hurd/ports-get.c: Likewise.
17663 * iconvdata/ibm1008_420.c: Likewise.
17664 * inet/tst-getni1.c: Likewise.
17665 * inet/tst-getni2.c: Likewise.
17666 * libio/ioungetc.c: Likewise.
17667 * libio/wfiledoalloc.c: Likewise.
17668 * manual/libm-err-tab.pl: Likewise.
17669 * math/w_dremf.c: Likewise.
17670 * misc/ftruncate.c: Likewise.
17671 * posix/bug-glob2.c: Likewise.
17672 * posix/tst-pcre.c: Likewise.
17673 * posix/wait4.c: Likewise.
17674 * resolv/README: Likewise.
17675 * resolv/res_debug.h: Likewise.
17676 * resolv/tst-inet_ntop.c: Likewise.
17677 * setjmp/bug269-setjmp.c: Likewise.
17678 * soft-fp/extended.h: Likewise.
17679 * soft-fp/op-1.h: Likewise.
17680 * soft-fp/op-2.h: Likewise.
17681 * soft-fp/op-4.h: Likewise.
17682 * soft-fp/op-8.h: Likewise.
17683 * soft-fp/testit.c: Likewise.
17684 * stdio-common/bug16.c: Likewise.
17685 * stdlib/random.c: Likewise.
17686 * sunrpc/rpcsvc/rquota.x: Likewise.
17687 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17692 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17693 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17696 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17716 * sysdeps/ieee754/s_lib_version.c: Likewise.
17717 * sysdeps/mach/hurd/check_fds.c: Likewise.
17718 * sysdeps/mach/hurd/getsockname.c: Likewise.
17719 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17720 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17721 * sysdeps/powerpc/bits/link.h: Likewise.
17722 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17723 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17724 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17725 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17726 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17727 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17728 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17729 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17730 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17731 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17732 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17733 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17734 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17735 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17736 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17737 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17738 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17739 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17740 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17741 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17742 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17743 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17745 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17746 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17747 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17748 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17750 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17751 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17752 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17753 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17754 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17755 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17756 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17757 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17758 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17759 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17760 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17761 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17762 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17763 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17764 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17765 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17766 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17767 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17768 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17769 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17770 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17771 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17774 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17775 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17776 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17777 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17778 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17780 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17781 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17782 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17783 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17784 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17785 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17786 * sysdeps/powerpc/sysdep.h: Likewise.
17787 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17788 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17789 * sysdeps/sh/dl-trampoline.S: Likewise.
17790 * sysdeps/sh/memset.S: Likewise.
17791 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17792 * sysdeps/sh/strlen.S: Likewise.
17793 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17794 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17795 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17796 * sysdeps/sparc/sparc32/rem.S: Likewise.
17797 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17798 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17799 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17800 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17801 * sysdeps/sparc/sparc32/urem.S: Likewise.
17802 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17803 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17804 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17805 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17806 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17807 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17808 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17809 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17810 * sysdeps/unix/bsd/times.c: Likewise.
17811 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17812 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17817 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17819 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17820 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17821 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17823 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17824 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17825 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17826 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17827 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17828 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17829 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17830 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17831 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17832 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17833 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17834 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17835 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17836 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17837 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17838 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17839 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17840 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17841 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17842 * sysdeps/x86_64/strcspn.S: Likewise.
17843
869378a5
RA
178442013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17845
17846 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17847 generated file. Regenerate properly from gen-translit.pl.
17848 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17849 locale/C-translit.h.
17850
840e2943
AS
178512013-06-05 Andreas Schwab <schwab@suse.de>
17852
17853 [BZ #15100]
17854 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17855 week as 6 instead of -1.
17856 * time/tst-strptime.c (day_tests): Add test case.
17857
4c60cb0c
SP
178582013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17859
17860 * sysdeps/generic/math_private.h
17861 (libc_feholdexcept_setround_53bit): Replace with
17862 libc_feholdsetround_53bit.
17863 (libc_feupdateenv_53bit): Replace with
17864 libc_feresetround_53bit.
17865 (SET_RESTORE_ROUND_53BIT): Adjust.
17866
d180203e
SP
178672013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17868
96df079a
SP
17869 * string/test-strchrnul.c: Add copyright header.
17870
d180203e
SP
17871 * posix/tst-getaddrinfo4.c: Increase test timeout.
17872
8b0ccb2d
CD
178732013-06-03 Carlos O'Donell <carlos@redhat.com>
17874
17875 [BZ #15536]
17876 * math/libm-test.inc (MAX_EXP): Remove
17877 (MIN_EXP): Define.
17878 (ulp): Use MIN_EXP - MANT_DIG.
17879 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17880
3b3c4d40
CD
178812013-05-31 Carlos O'Donell <carlos@redhat.com>
17882
17883 * po/be.po: Revert last change.
17884 * po/zh_CN.po: Likewise.
17885 * po/header.pot: Likewise.
17886
fab7ce3f
JM
178872013-05-31 Joseph Myers <joseph@codesourcery.com>
17888
17889 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17890 link-libc-deps to empty as target-specific variable.
17891 * Makerules (link-libc-args): New variable.
17892 (libc-for-link): Likewise.
17893 (link-libc-deps): Likewise.
17894 (lib%.so): Depend on $(link-libc-deps). Link with
17895 $(link-libc-args).
17896 (build-module): Link with $(link-libc-args).
17897 (build-module-asneeded): Likewise.
17898 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17899 list of objects.
17900 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17901 target-specific variable.
17902 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17903 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17904 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17905 libc.
17906 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17907 libc and ld.so.
17908 ($(objpfx)libpcprofile.so): Likewise.
17909 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17910 libc_nonshared.a.
17911 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17912 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17913 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17914 $(link-libc-deps).
17915 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17916 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17917 * login/Makefile ($(objpfx)libutil.so): Likewise.
17918 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17919 * math/Makefile ($(objpfx)libm.so): Likewise.
17920 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17921 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17922 variable instead of depending directly on libc.
17923 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17924 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17925 $(link-libc-deps).
17926 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17927 libc.
17928 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17929 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17930 ($(objpfx)libanl.so): Likewise.
17931 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17932 ld.so.
17933 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17934 $(link-libc-deps).
17935 * sysdeps/i386/fpu/Makefile: Remove file.
17936 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17937 ($(objpfx)libm.so): Remove dependency on ld.so.
17938
eca5920c
PF
179392013-05-30 Patsy Franklin <pfrankli@redhat.com>
17940
17941 [BZ # 15553]
17942 * nis/yp_xdr.c (XDRMAXNAME): Define.
17943 (XDRMAXRECORD): Define.
17944 (xdr_domainname): Use XDRMAXNAME.
17945 (xdr_mapname): Likewise.
17946 (xdr_peername): Likewise.
17947 (xdr_keydat): Use XDRMAXRECORD.
17948 (xdr_valdat): Likewise.
17949
179502013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17951
17952 [BZ #14256]
17953 * manual/errno.texi (ESTALE): Update to account for more than
17954 just NFS file systems.
17955 * sysdeps/gnu/errlist.c: Regenerated.
17956
b9375348
SP
179572013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17958
17959 [BZ #15465]
17960 * elf/Makefile (tests): Add tst-null-argv.
17961 (modules-names): Add tst-null-argv-lib.
17962 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17963 (tst-null-argv-ENV): Set environment for tst-null-argv.
17964 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17965 (RTLD_PROGNAME): New macro.
17966 * elf/tst-null-argv.c: New test case.
17967 * elf/tst-null-argv-lib.c: Library for test case.
17968 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17969 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17970 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17971 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17972 * elf/dl-init.c (call_init): Likewise.
17973 (_dl_init): Likewise.
17974 * elf/dl-load.c (print_search_path): Likewise.
17975 (_dl_map_object): Likewise.
17976 * elf/dl-lookup.c (do_lookup_x): Likewise.
17977 (add_dependency): Likewise.
17978 (_dl_lookup_symbol_x): Likewise.
17979 (_dl_debug_bindings): Likewise.
17980 * elf/dl-open.c (_dl_show_scope): Likewise.
17981 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17982 * elf/dl-version.c (match_symbol): Likewise.
17983 (_dl_check_map_versions): Likewise.
17984 * elf/rtld.c (dl_main): Likewise.
17985 (print_unresolved): Use RTLD_PROGNAME.
17986 (print_missing_version): Likewise.
17987 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17988 (elf_machine_rela): Likewise.
17989 * sysdeps/powerpc/powerpc32/dl-machine.c
17990 (__process_machine_rela): Likewise.
17991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17992 Likewise.
17993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17994 Likewise.
17995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17996 Likewise.
17997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17999 Likewise.
18000 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18001 Likewise.
18002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18003
8a9f20c8
CD
180042013-05-28 Carlos O'Donell <carlos@redhat.com>
18005
18006 * po/be.po: Add descriptive title.
18007 * po/zh_CN.po: Likewise.
18008 * po/header.pot: Likewise.
18009
0e60d68e
MF
180102013-05-28 Mike Frysinger <vapier@gentoo.org>
18011
18012 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18013 error message.
18014 (enlarge_archive): Likewise.
18015
56b672e9
BN
180162013-05-28 Ben North <ben@redfrontdoor.org>
18017
18018 * manual/arith.texi (frexp): It is the magnitude of the return
18019 value which lies in [0.5, 1), not the return value itself.
18020
5e056687
AZ
180212013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18022
18023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18024
2b66ef5d
TS
180252013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18026
528c2405
TS
18027 * stdio-common/bug26.c (main): Correct fscanf template.
18028
07b4c13d
TS
18029 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18030 declare _dl_skip_args.
18031
ec9dd97c
TS
18032 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18033 Don't declare.
18034
2b66ef5d
TS
18035 * manual/platform.texi: Add missing @end deftypefun.
18036
4f8dfe27
JM
180372013-05-24 Joseph Myers <joseph@codesourcery.com>
18038
0323d086
JM
18039 [BZ #15529]
18040 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18041 bit of mantissa of 2^16382.
18042 * math/libm-test.inc (hypot_test_data): Add more tests.
18043
dd4259b9
JM
18044 * math/libm-test.inc: Add drem and pow10 to list of tested
18045 functions.
18046 (pow10_test): New function.
18047 (drem_test): Likewise.
18048 (drem_test_tonearest): Likewise.
18049 (drem_test_towardzero): Likewise.
18050 (drem_test_downward): Likewise.
18051 (drem_test_upward): Likewise.
18052 (main): Call the new functions.
18053
4f8dfe27
JM
18054 * math/libm-test.inc (finite_test_data): Remove.
18055 (finite_test): Run tests from isfinite_test_data.
18056 (gamma_test_data): Remove.
18057 (gamma_test): Run tests from lgamma_test_data.
18058 * sysdeps/i386/fpu/libm-test-ulps: Update.
18059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18060
d116b7c4
AZ
180612013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18062
18063 * manual/platform.texi: Add PowerPC PPR function set documentation.
18064 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18065 implementation.
18066
e96e3767
CD
180672013-05-24 Carlos O'Donell <carlos@redhat.com>
18068
18069 * math/libm-test.inc (MAX_EXP): Define.
18070 (ULPDIFF): Define.
18071 (ulp): New function.
18072 (check_float_internal): Use ULPDIFF.
18073 (cpow_test): Disable failing test.
18074 (check_ulp): Test ulp() implemetnation.
18075 (main): Call check_ulp before starting tests.
18076
b679a606
JM
180772013-05-24 Joseph Myers <joseph@codesourcery.com>
18078
e8bdba36
JM
18079 * math/gen-libm-test.pl (generate_testfile): Do not handle
18080 START_DATA and END_DATA.
18081 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18082 END_DATA.
18083 (acos_tonearest_test_data): Likewise.
18084 (acos_towardzero_test_data): Likewise.
18085 (acos_downward_test_data): Likewise.
18086 (acos_upward_test_data): Likewise.
18087 (acosh_test_data): Likewise.
18088 (asin_test_data): Likewise.
18089 (asin_tonearest_test_data): Likewise.
18090 (asin_towardzero_test_data): Likewise.
18091 (asin_downward_test_data): Likewise.
18092 (asin_upward_test_data): Likewise.
18093 (asinh_test_data): Likewise.
18094 (atan_test_data): Likewise.
18095 (atanh_test_data): Likewise.
18096 (atan2_test_data): Likewise.
18097 (cabs_test_data): Likewise.
18098 (cacos_test_data): Likewise.
18099 (cacosh_test_data): Likewise.
18100 (carg_test_data): Likewise.
18101 (casin_test_data): Likewise.
18102 (casinh_test_data): Likewise.
18103 (catan_test_data): Likewise.
18104 (catanh_test_data): Likewise.
18105 (cbrt_test_data): Likewise.
18106 (ccos_test_data): Likewise.
18107 (ccosh_test_data): Likewise.
18108 (ceil_test_data): Likewise.
18109 (cexp_test_data): Likewise.
18110 (cimag_test_data): Likewise.
18111 (clog_test_data): Likewise.
18112 (clog10_test_data): Likewise.
18113 (conj_test_data): Likewise.
18114 (copysign_test_data): Likewise.
18115 (cos_test_data): Likewise.
18116 (cos_tonearest_test_data): Likewise.
18117 (cos_towardzero_test_data): Likewise.
18118 (cos_downward_test_data): Likewise.
18119 (cos_upward_test_data): Likewise.
18120 (cosh_test_data): Likewise.
18121 (cosh_tonearest_test_data): Likewise.
18122 (cosh_towardzero_test_data): Likewise.
18123 (cosh_downward_test_data): Likewise.
18124 (cosh_upward_test_data): Likewise.
18125 (cpow_test_data): Likewise.
18126 (cproj_test_data): Likewise.
18127 (creal_test_data): Likewise.
18128 (csin_test_data): Likewise.
18129 (csinh_test_data): Likewise.
18130 (csqrt_test_data): Likewise.
18131 (ctan_test_data): Likewise.
18132 (ctan_tonearest_test_data): Likewise.
18133 (ctan_towardzero_test_data): Likewise.
18134 (ctan_downward_test_data): Likewise.
18135 (ctan_upward_test_data): Likewise.
18136 (ctanh_test_data): Likewise.
18137 (ctanh_tonearest_test_data): Likewise.
18138 (ctanh_towardzero_test_data): Likewise.
18139 (ctanh_downward_test_data): Likewise.
18140 (ctanh_upward_test_data): Likewise.
18141 (erf_test_data): Likewise.
18142 (erfc_test_data): Likewise.
18143 (exp_test_data): Likewise.
18144 (exp_tonearest_test_data): Likewise.
18145 (exp_towardzero_test_data): Likewise.
18146 (exp_downward_test_data): Likewise.
18147 (exp_upward_test_data): Likewise.
18148 (exp10_test_data): Likewise.
18149 (exp2_test_data): Likewise.
18150 (expm1_test_data): Likewise.
18151 (fabs_test_data): Likewise.
18152 (fdim_test_data): Likewise.
18153 (finite_test_data): Likewise.
18154 (floor_test_data): Likewise.
18155 (fma_test_data): Likewise.
18156 (fma_towardzero_test_data): Likewise.
18157 (fma_downward_test_data): Likewise.
18158 (fma_upward_test_data): Likewise.
18159 (fmax_test_data): Likewise.
18160 (fmin_test_data): Likewise.
18161 (fmod_test_data): Likewise.
18162 (fpclassify_test_data): Likewise.
18163 (frexp_test_data): Likewise.
18164 (gamma_test_data): Likewise.
18165 (hypot_test_data): Likewise.
18166 (ilogb_test_data): Likewise.
18167 (isfinite_test_data): Likewise.
18168 (isgreater_test_data): Likewise.
18169 (isgreaterequal_test_data): Likewise.
18170 (isinf_test_data): Likewise.
18171 (isless_test_data): Likewise.
18172 (islessequal_test_data): Likewise.
18173 (islessgreater_test_data): Likewise.
18174 (isnan_test_data): Likewise.
18175 (isnormal_test_data): Likewise.
18176 (issignaling_test_data): Likewise.
18177 (isunordered_test_data): Likewise.
18178 (j0_test_data): Likewise.
18179 (j1_test_data): Likewise.
18180 (jn_test_data): Likewise.
18181 (ldexp_test_data): Likewise.
18182 (lgamma_test_data): Likewise.
18183 (lrint_test_data): Likewise.
18184 (lrint_tonearest_test_data): Likewise.
18185 (lrint_towardzero_test_data): Likewise.
18186 (lrint_downward_test_data): Likewise.
18187 (lrint_upward_test_data): Likewise.
18188 (llrint_test_data): Likewise.
18189 (llrint_tonearest_test_data): Likewise.
18190 (llrint_towardzero_test_data): Likewise.
18191 (llrint_downward_test_data): Likewise.
18192 (llrint_upward_test_data): Likewise.
18193 (log_test_data): Likewise.
18194 (log10_test_data): Likewise.
18195 (log1p_test_data): Likewise.
18196 (log2_test_data): Likewise.
18197 (logb_test_data): Likewise.
18198 (logb_downward_test_data): Likewise.
18199 (lround_test_data): Likewise.
18200 (llround_test_data): Likewise.
18201 (modf_test_data): Likewise.
18202 (nearbyint_test_data): Likewise.
18203 (nextafter_test_data): Likewise.
18204 (nexttoward_test_data): Likewise.
18205 (pow_test_data): Likewise.
18206 (pow_tonearest_test_data): Likewise.
18207 (pow_towardzero_test_data): Likewise.
18208 (pow_downward_test_data): Likewise.
18209 (pow_upward_test_data): Likewise.
18210 (remainder_test_data): Likewise.
18211 (remainder_tonearest_test_data): Likewise.
18212 (remainder_towardzero_test_data): Likewise.
18213 (remainder_downward_test_data): Likewise.
18214 (remainder_upward_test_data): Likewise.
18215 (remquo_test_data): Likewise.
18216 (rint_test_data): Likewise.
18217 (rint_tonearest_test_data): Likewise.
18218 (rint_towardzero_test_data): Likewise.
18219 (rint_downward_test_data): Likewise.
18220 (rint_upward_test_data): Likewise.
18221 (round_test_data): Likewise.
18222 (scalb_test_data): Likewise.
18223 (scalbn_test_data): Likewise.
18224 (scalbln_test_data): Likewise.
18225 (signbit_test_data): Likewise.
18226 (sin_test_data): Likewise.
18227 (sin_tonearest_test_data): Likewise.
18228 (sin_towardzero_test_data): Likewise.
18229 (sin_downward_test_data): Likewise.
18230 (sin_upward_test_data): Likewise.
18231 (sincos_test_data): Likewise.
18232 (sinh_test_data): Likewise.
18233 (sinh_tonearest_test_data): Likewise.
18234 (sinh_towardzero_test_data): Likewise.
18235 (sinh_downward_test_data): Likewise.
18236 (sinh_upward_test_data): Likewise.
18237 (sqrt_test_data): Likewise.
18238 (tan_test_data): Likewise.
18239 (tan_tonearest_test_data): Likewise.
18240 (tan_towardzero_test_data): Likewise.
18241 (tan_downward_test_data): Likewise.
18242 (tan_upward_test_data): Likewise.
18243 (tanh_test_data): Likewise.
18244 (tgamma_test_data): Likewise.
18245 (trunc_test_data): Likewise.
18246 (y0_test_data): Likewise.
18247 (y1_test_data): Likewise.
18248 (yn_test_data): Likewise.
18249 (significand_test_data): Likewise.
18250
b679a606
JM
18251 * math/gen-libm-test.pl (@functions): Remove variable.
18252 (generate_testfile): Don't handle START and END lines.
18253 * math/libm-test.inc (START): New macro.
18254 (END): Likewise.
18255 (END_COMPLEX): Likewise.
18256 (acos_test): Use END macro without arguments.
18257 (acos_test_tonearest): Likewise.
18258 (acos_test_towardzero): Likewise.
18259 (acos_test_downward): Likewise.
18260 (acos_test_upward): Likewise.
18261 (acosh_test): Likewise.
18262 (asin_test): Likewise.
18263 (asin_test_tonearest): Likewise.
18264 (asin_test_towardzero): Likewise.
18265 (asin_test_downward): Likewise.
18266 (asin_test_upward): Likewise.
18267 (asinh_test): Likewise.
18268 (atan_test): Likewise.
18269 (atanh_test): Likewise.
18270 (atan2_test): Likewise.
18271 (cabs_test): Likewise.
18272 (cacos_test): Use END_COMPLEX macro without arguments.
18273 (cacosh_test): Likewise.
18274 (carg_test): Use END macro without arguments.
18275 (casin_test): Use END_COMPLEX macro without arguments.
18276 (casinh_test): Likewise.
18277 (catan_test): Likewise.
18278 (catanh_test): Likewise.
18279 (cbrt_test): Use END macro without arguments.
18280 (ccos_test): Use END_COMPLEX macro without arguments.
18281 (ccosh_test): Likewise.
18282 (ceil_test): Use END macro without arguments.
18283 (cexp_test): Use END_COMPLEX macro without arguments.
18284 (cimag_test): Use END macro without arguments.
18285 (clog_test): Use END_COMPLEX macro without arguments.
18286 (clog10_test): Likewise.
18287 (conj_test): Likewise.
18288 (copysign_test): Use END macro without arguments.
18289 (cos_test): Likewise.
18290 (cos_test_tonearest): Likewise.
18291 (cos_test_towardzero): Likewise.
18292 (cos_test_downward): Likewise.
18293 (cos_test_upward): Likewise.
18294 (cosh_test): Likewise.
18295 (cosh_test_tonearest): Likewise.
18296 (cosh_test_towardzero): Likewise.
18297 (cosh_test_downward): Likewise.
18298 (cosh_test_upward): Likewise.
18299 (cpow_test): Use END_COMPLEX macro without arguments.
18300 (cproj_test): Likewise.
18301 (creal_test): Use END macro without arguments.
18302 (csin_test): Use END_COMPLEX macro without arguments.
18303 (csinh_test): Likewise.
18304 (csqrt_test): Likewise.
18305 (ctan_test): Likewise.
18306 (ctan_test_tonearest): Likewise.
18307 (ctan_test_towardzero): Likewise.
18308 (ctan_test_downward): Likewise.
18309 (ctan_test_upward): Likewise.
18310 (ctanh_test): Likewise.
18311 (ctanh_test_tonearest): Likewise.
18312 (ctanh_test_towardzero): Likewise.
18313 (ctanh_test_downward): Likewise.
18314 (ctanh_test_upward): Likewise.
18315 (erf_test): Use END macro without arguments.
18316 (erfc_test): Likewise.
18317 (exp_test): Likewise.
18318 (exp_test_tonearest): Likewise.
18319 (exp_test_towardzero): Likewise.
18320 (exp_test_downward): Likewise.
18321 (exp_test_upward): Likewise.
18322 (exp10_test): Likewise.
18323 (exp2_test): Likewise.
18324 (expm1_test): Likewise.
18325 (fabs_test): Likewise.
18326 (fdim_test): Likewise.
18327 (finite_test): Likewise.
18328 (floor_test): Likewise.
18329 (fma_test): Likewise.
18330 (fma_test_towardzero): Likewise.
18331 (fma_test_downward): Likewise.
18332 (fma_test_upward): Likewise.
18333 (fmax_test): Likewise.
18334 (fmin_test): Likewise.
18335 (fmod_test): Likewise.
18336 (fpclassify_test): Likewise.
18337 (frexp_test): Likewise.
18338 (gamma_test): Likewise.
18339 (hypot_test): Likewise.
18340 (ilogb_test): Likewise.
18341 (isfinite_test): Likewise.
18342 (isgreater_test): Likewise.
18343 (isgreaterequal_test): Likewise.
18344 (isinf_test): Likewise.
18345 (isless_test): Likewise.
18346 (islessequal_test): Likewise.
18347 (islessgreater_test): Likewise.
18348 (isnan_test): Likewise.
18349 (isnormal_test): Likewise.
18350 (issignaling_test): Likewise.
18351 (isunordered_test): Likewise.
18352 (j0_test): Likewise.
18353 (j1_test): Likewise.
18354 (jn_test): Likewise.
18355 (ldexp_test): Likewise.
18356 (lgamma_test): Likewise.
18357 (lrint_test): Likewise.
18358 (lrint_test_tonearest): Likewise.
18359 (lrint_test_towardzero): Likewise.
18360 (lrint_test_downward): Likewise.
18361 (lrint_test_upward): Likewise.
18362 (llrint_test): Likewise.
18363 (llrint_test_tonearest): Likewise.
18364 (llrint_test_towardzero): Likewise.
18365 (llrint_test_downward): Likewise.
18366 (llrint_test_upward): Likewise.
18367 (log_test): Likewise.
18368 (log10_test): Likewise.
18369 (log1p_test): Likewise.
18370 (log2_test): Likewise.
18371 (logb_test): Likewise.
18372 (logb_test_downward): Likewise.
18373 (lround_test): Likewise.
18374 (llround_test): Likewise.
18375 (modf_test): Likewise.
18376 (nearbyint_test): Likewise.
18377 (nextafter_test): Likewise.
18378 (nexttoward_test): Likewise.
18379 (pow_test): Likewise.
18380 (pow_test_tonearest): Likewise.
18381 (pow_test_towardzero): Likewise.
18382 (pow_test_downward): Likewise.
18383 (pow_test_upward): Likewise.
18384 (remainder_test): Likewise.
18385 (remainder_test_tonearest): Likewise.
18386 (remainder_test_towardzero): Likewise.
18387 (remainder_test_downward): Likewise.
18388 (remainder_test_upward): Likewise.
18389 (remquo_test): Likewise.
18390 (rint_test): Likewise.
18391 (rint_test_tonearest): Likewise.
18392 (rint_test_towardzero): Likewise.
18393 (rint_test_downward): Likewise.
18394 (rint_test_upward): Likewise.
18395 (round_test): Likewise.
18396 (scalb_test): Likewise.
18397 (scalbn_test): Likewise.
18398 (scalbln_test): Likewise.
18399 (signbit_test): Likewise.
18400 (sin_test): Likewise.
18401 (sin_test_tonearest): Likewise.
18402 (sin_test_towardzero): Likewise.
18403 (sin_test_downward): Likewise.
18404 (sin_test_upward): Likewise.
18405 (sincos_test): Likewise.
18406 (sinh_test): Likewise.
18407 (sinh_test_tonearest): Likewise.
18408 (sinh_test_towardzero): Likewise.
18409 (sinh_test_downward): Likewise.
18410 (sinh_test_upward): Likewise.
18411 (sqrt_test): Likewise.
18412 (tan_test): Likewise.
18413 (tan_test_tonearest): Likewise.
18414 (tan_test_towardzero): Likewise.
18415 (tan_test_downward): Likewise.
18416 (tan_test_upward): Likewise.
18417 (tanh_test): Likewise.
18418 (tgamma_test): Likewise.
18419 (trunc_test): Likewise.
18420 (y0_test): Likewise.
18421 (y1_test): Likewise.
18422 (yn_test): Likewise.
18423 (significand_test): Likewise.
18424
bae143d2
OB
184252013-05-24 Ondřej Bílka <neleai@seznam.cz>
18426
18427 [BZ #15381]
18428 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18429
9323d39b
EM
184302013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18431
d4ea44a0 18432 [BZ #14894]
9323d39b
EM
18433 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18434 __ppc_mdoio and __ppc_mdoom.
18435 * manual/platform.texi: Document new functions __ppc_yield,
18436 __ppc_mdoio and __ppc_mdoom.
18437
13e23af7
CD
184382013-05-22 Carlos O'Donell <carlos@redhat.com>
18439
18440 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18441 (main): Mention "tls" pseudo-hwcap is legacy.
18442 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18443
351fe550
JM
184442013-05-22 Joseph Myers <joseph@codesourcery.com>
18445
18446 * math/gen-libm-test.pl (parse_args): Output only string of
18447 arguments as text for test name, not full call or descriptions of
18448 tests for extra outputs.
18449 (generate_testfile): Do not pass function name to parse_args.
18450 Generate this_func variable from START.
18451 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18452 field to arg_str.
18453 (struct test_ff_f_data): Likewise.
18454 (test_ff_f_data_nexttoward): Likewise.
18455 (struct test_fi_f_data): Likewise.
18456 (struct test_fl_f_data): Likewise.
18457 (struct test_if_f_data): Likewise.
18458 (struct test_fff_f_data): Likewise.
18459 (struct test_c_f_data): Likewise.
18460 (struct test_f_f1_data): Likewise. Remove field extra_name.
18461 (struct test_fF_f1_data): Likewise.
18462 (struct test_ffI_f1_data): Likewise.
18463 (struct test_c_c_data): Rename test_name field to arg_str.
18464 (struct test_cc_c_data): Likewise.
18465 (struct test_f_i_data): Likewise.
18466 (struct test_ff_i_data): Likewise.
18467 (struct test_f_l_data): Likewise.
18468 (struct test_f_L_data): Likewise.
18469 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18470 and extra2_name.
18471 (COMMON_TEST_SETUP): New macro.
18472 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18473 (COMMON_TEST_CLEANUP): Likewise.
18474 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18475 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18476 macros.
18477 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18478 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18479 macros.
18480 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18481 (RUN_TEST_fff_f): Take argument string. Call new setup and
18482 cleanup macros.
18483 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18484 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18485 macros.
18486 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18487 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18488 macros.
18489 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18490 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18491 cleanup macros.
18492 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18493 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18494 cleanup macros.
18495 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18496 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18497 cleanup macros.
18498 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18499 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18500 macros.
18501 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18502 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18503 macros.
18504 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18505 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18506 macros.
18507 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18508 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18509 cleanup macros.
18510 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18511 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18512 cleanup macros.
18513 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18514 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18515 macros.
18516 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18517 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18518 cleanup macros.
18519 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18520 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18521 macros.
18522 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18523 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18524 macros.
18525 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18526 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18527 cleanup macros.
18528 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18529
85118d4d
EBM
185302013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18531
18532 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18533 to _sifields.sigfault.
18534 (si_addr_lsb): Define new macro.
18535 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18536 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18538
7a44c18f
CD
185392013-05-03 Carlos O'Donell <carlos at redhat.com>
18540
18541 [BZ #15441]
18542 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18543 returns -1.
18544 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18545 null return -1.
18546 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18547 loading the domain.
18548
b50a7181
JM
185492013-05-22 Joseph Myers <joseph@codesourcery.com>
18550
18551 * math/gen-libm-test.pl (parse_args): Do not include expected
18552 result in test name.
18553 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18554 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18555 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18556 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18557 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18559
051063c8
SP
185602013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18561
3ce9e010
SP
18562 * benchtests/Makefile: Sort function entries.
18563
051063c8
SP
18564 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18565 tanh, asinh, acosh, atanh.
18566 * benchtests/acos-inputs: New file.
18567 * benchtests/acosh-inputs: New file.
18568 * benchtests/asin-inputs: New file.
18569 * benchtests/asinh-inputs: New file.
18570 * benchtests/atanh-inputs: New file.
18571 * benchtests/cosh-inputs: New file.
18572 * benchtests/log-inputs: New file.
18573 * benchtests/sinh-inputs: New file.
18574 * benchtests/tanh-inputs: New file.
18575
47c22455
DL
185762013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18577
18578 [BZ #15339]
18579 * posix/tst-getaddrinfo4.c: New test.
18580 * posix/Makefile (tests): Add it.
18581
3d04f5db
SP
185822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18583
18584 [BZ #15339]
18585 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18586 when no services were used.
18587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18588 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18589
d5dd6189
AS
185902013-05-21 Andreas Schwab <schwab@suse.de>
18591
18592 [BZ #15014]
18593 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18594 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18595 successful.
18596 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18597 redundant variable declarations and reallocation of buffer when
18598 parsing as IPv6 address. Always set NSS status when called from
18599 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18600 buffer too small. Correct computation of needed size.
18601 * nss/Makefile (tests): Add test-digits-dots.
18602 * nss/test-digits-dots.c: New test.
18603
fef94eab
SP
186042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18605
18606 * benchtests/Makefile: Remove instructions for adding
18607 benchmark tests.
18608 * benchtests/README: New file to explain how to execute and
18609 enhance the benchmark tests.
18610
e39adf43
AS
186112013-05-21 Andreas Schwab <schwab@suse.de>
18612
18613 [BZ #15493]
18614 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18615 * setjmp/tst-sigsetjmp.c: New test.
18616
b2b671b6
OB
186172013-05-20 Ondřej Bílka <neleai@seznam.cz>
18618
18619 * sysdeps/x86_64/memset.S (memset): New implementation.
18620 (__bzero): Likewise.
18621 (__memset_tail): New function.
18622
2d48b41c
OB
186232013-05-20 Ondřej Bílka <neleai@seznam.cz>
18624
18625 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18626 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18627 __memcpy_sse2_unaligned ifunc selection.
18628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18629 Add memcpy-sse2-unaligned.S.
18630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18631 Add: __memcpy_sse2_unaligned.
18632
f16cc3eb
JM
186332013-05-19 Joseph Myers <joseph@codesourcery.com>
18634
3e694268
JM
18635 [BZ #15490]
18636 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18637 math_force_eval before restoring floating-point envrionment.
18638 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18640 Likewise.
18641 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18642 <math_private.h>.
18643 (__nearbyintl): Use math_force_eval before restoring
18644 floating-point environment.
18645 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18646
db62a907
JM
18647 * math/gen-libm-test.pl (special_functions): Remove.
18648 (parse_args): Don't handle TEST_extra. Handle functions with no
18649 return value.
18650 * math/libm-test.inc (struct test_sincos_data): Replace with
18651 struct test_fFF_11_data.
18652 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18653 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18654 (sincos_test_data): Change element type to struct
18655 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18656 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18657 RUN_TEST_LOOP_sincos.
18658 * math/README.libm-test: Don't mention special handling of
18659 individual functions.
18660 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18662 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18663 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18664 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18666
f16cc3eb
JM
18667 * math/gen-libm-test.pl (get_variable): Remove function.
18668 (parse_args): Don't show pointer parameters to call in test
18669 names. Use "extra output N" in test names for extra outputs
18670 rather than naming variables.
18671
3779b5b6
JM
186722013-05-18 Joseph Myers <joseph@codesourcery.com>
18673
2ee094ff
JM
18674 [BZ #15488]
18675 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18676 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18677 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18678 double tests.
18679 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18680 disable.
18681 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18682 check_long_double.
18683
3779b5b6
JM
18684 * math/gen-libm-test.pl (@tests): Remove variable.
18685 ($count): Likewise.
18686 (new_test): Remove function.
18687 (show_exceptions): New function.
18688 (special_functions): Use show_exceptions instead of new_test.
18689 (parse_args): Likewise.
18690 (generate_testfile): Pass only function name in generated call to
18691 print_max_error or print_complex_max_error.
18692 (get_ulps): Do not handle complex tests specially.
18693 (output_test): Rename to ...
18694 (get_all_ulps_for_test): ... this. Return a string rather than
18695 printing to a file. Require ulps to be present.
18696 (output_ulps): Generate arrays rather than #defines.
18697 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18698 (struct ulp_data): New type.
18699 (BUILD_COMPLEX_ULP): Remove macro.
18700 (compare_ulp_data): New function.
18701 (find_ulps): Likewise.
18702 (find_test_ulps): Likewise.
18703 (find_function_ulps): Likewise.
18704 (find_complex_function_ulps): Likewise.
18705 (print_max_error): Determine allowed ulps using
18706 find_function_ulps.
18707 (print_complex_max_error): Determine allowed ulps using
18708 find_complex_function_ulps.
18709 (check_float_internal): Determine max ulps using find_test_ulps.
18710 (check_float): Do not take max_ulp parameter. Update call to
18711 check_float_internal.
18712 (check_complex): Likewise.
18713 (check_int): Do not take max_ulp parameter.
18714 (check_long): Likewise.
18715 (check_bool): Likewise.
18716 (check_longlong): Likewise.
18717 (struct test_f_f_data): Remove max_ulp field.
18718 (struct test_ff_f_data): Likewise.
18719 (struct test_ff_f_data_nexttoward): Likewise.
18720 (struct test_fi_f_data): Likewise.
18721 (struct test_fl_f_data): Likewise.
18722 (struct test_if_f_data): Likewise.
18723 (struct test_fff_f_data): Likewise.
18724 (struct test_c_f_data): Likewise.
18725 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18726 (struct test_fF_f1_data): Likewise.
18727 (struct test_ffI_f1_data): Likewise.
18728 (struct test_c_c_data): Remove max_ulp field.
18729 (struct test_cc_c_data): Likewise.
18730 (struct test_f_i_data): Likewise.
18731 (struct test_ff_i_data): Likewise.
18732 (struct test_f_l_data): Likewise.
18733 (struct test_f_L_data): Likewise.
18734 (struct test_sincos_data): Likewise.
18735 (RUN_TEST_f_f): Do not handle ulps.
18736 (RUN_TEST_LOOP_f_f): Likewise.
18737 (RUN_TEST_2_f): Likewise.
18738 (RUN_TEST_LOOP_2_f): Likewise.
18739 (RUN_TEST_fff_f): Likewise.
18740 (RUN_TEST_LOOP_fff_f): Likewise.
18741 (RUN_TEST_c_f): Likewise.
18742 (RUN_TEST_LOOP_c_f): Likewise.
18743 (RUN_TEST_f_f1): Likewise.
18744 (RUN_TEST_LOOP_f_f1): Likewise.
18745 (RUN_TEST_fF_f1): Likewise.
18746 (RUN_TEST_LOOP_fF_f1): Likewise.
18747 (RUN_TEST_fI_f1): Likewise.
18748 (RUN_TEST_LOOP_fI_f1): Likewise.
18749 (RUN_TEST_ffI_f1): Likewise.
18750 (RUN_TEST_LOOP_ffI_f1): Likewise.
18751 (RUN_TEST_c_c): Likewise.
18752 (RUN_TEST_LOOP_c_c): Likewise.
18753 (RUN_TEST_cc_c): Likewise.
18754 (RUN_TEST_LOOP_cc_c): Likewise.
18755 (RUN_TEST_f_i): Likewise.
18756 (RUN_TEST_LOOP_f_i): Likewise.
18757 (RUN_TEST_f_i_tg): Likewise.
18758 (RUN_TEST_LOOP_f_i_tg): Likewise.
18759 (RUN_TEST_ff_i_tg): Likewise.
18760 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18761 (RUN_TEST_f_b): Likewise.
18762 (RUN_TEST_LOOP_f_b): Likewise.
18763 (RUN_TEST_f_b_tg): Likewise.
18764 (RUN_TEST_LOOP_f_b_tg): Likewise.
18765 (RUN_TEST_f_l): Likewise.
18766 (RUN_TEST_LOOP_f_l): Likewise.
18767 (RUN_TEST_f_L): Likewise.
18768 (RUN_TEST_LOOP_f_L): Likewise.
18769 (RUN_TEST_sincos): Likewise.
18770 (RUN_TEST_LOOP_sincos): Likewise.
18771
8269107f
JM
187722013-05-17 Joseph Myers <joseph@codesourcery.com>
18773
bb38759d
JM
18774 [BZ #15480]
18775 [BZ #15485]
18776 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18777 main case of finite arguments, set rounding mode to FE_TONEAREST
18778 and discard exceptions.
18779 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18780 exceptions.
18781 (remainder_tonearest_test_data): New variable.
18782 (remainder_test_tonearest): New function.
18783 (remainder_towardzero_test_data): New variable.
18784 (remainder_test_towardzero): New function.
18785 (remainder_downward_test_data): New variable.
18786 (remainder_test_downward): New function.
18787 (remainder_upward_test_data): New variable.
18788 (remainder_test_upward): New function.
18789 (main): Call the new test functions.
18790
a00bdcf0
JM
18791 * math/libm-test.inc (struct test_f_f1_data): Remove field
18792 extra_init.
18793 (struct test_fF_f1_data): Likewise.
18794 (struct test_ffI_f1_data): Likewise.
18795 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18796 based on value of EXTRA_EXPECTED.
18797 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18798 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18799 EXTRA_VAR based on value of EXTRA_EXPECTED.
18800 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18801 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18802 EXTRA_VAR based on value of EXTRA_EXPECTED.
18803 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18804 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18805 EXTRA_VAR based on value of EXTRA_EXPECTED.
18806 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18807 * math/gen-libm-test.pl (parse_args): Don't output initializers
18808 for extra output values.
18809
de407f79
JM
18810 * math/libm-test.inc (check_int): Expect result to be exactly
18811 equal to expected value and do not handle ulps.
18812 (check_long): Likewise.
18813 (check_longlong): Likewise.
18814
8269107f
JM
18815 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18816 exceptions.
18817 (cimag_test_data): Likewise.
18818 (conj_test_data): Likewise.
18819 (copysign_test_data): Likewise.
18820 (cproj_test_data): Likewise.
18821 (creal_test_data): Likewise.
18822 (fabs_test_data): Likewise.
18823 (fdim_test_data): Likewise.
18824 (finite_test_data): Likewise.
18825 (floor_test_data): Likewise.
18826 (fmax_test_data): Likewise.
18827 (fmin_test_data): Likewise.
18828 (fmod_test_data): Likewise.
18829 (fpclassify_test_data): Likewise.
18830 (frexp_test_data): Likewise.
18831 (ilogb_test_data): Likewise.
18832 (isfinite_test_data): Likewise.
18833 (isgreater_test_data): Likewise.
18834 (isgreaterequal_test_data): Likewise.
18835 (isinf_test_data): Likewise.
18836 (isless_test_data): Likewise.
18837 (islessequal_test_data): Likewise.
18838 (islessgreater_test_data): Likewise.
18839 (isnan_test_data): Likewise.
18840 (isnormal_test_data): Likewise.
18841 (issignaling_test_data): Likewise.
18842 (isunordered_test_data): Likewise.
18843 (ldexp_test_data): Likewise.
18844 (lrint_test_data): Likewise.
18845 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18846 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18847 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18848 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18849 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18850 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18851 test input.
18852 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18853 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18854 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18855 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18856 that test input.
18857 (lrint_downward_test_data): Test for "inexact" exceptions.
18858 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18859 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18860 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18861 test input.
18862 (lrint_upward_test_data): Test for "inexact" exceptions.
18863 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18864 test input.
18865 (llrint_test_data): Test for "inexact" exceptions.
18866 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18867 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18868 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18869 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18870 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18871 (llrint_downward_test_data): Test for "inexact" exceptions.
18872 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18873 (llrint_upward_test_data): Test for "inexact" exceptions.
18874 (logb_test_data): Likewise.
18875 (logb_downward_test_data): Likewise.
18876 (nextafter_test_data): Likewise.
18877 (nexttoward_test_data): Likewise.
18878 (remainder_test_data): Likewise.
18879 (remquo_test_data): Likewise.
18880 (scalbn_test_data): Likewise.
18881 (scalbln_test_data): Likewise.
18882 (signbit_test_data): Likewise.
18883 (sqrt_test_data): Likewise.
18884 (significand_test_data): Likewise.
18885
48a18de1
SP
188862013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18887
18888 [BZ #15424]
18889 * benchtests/bench-modf.c (struct args): Mark arg0 as
18890 volatile.
18891 * scripts/bench.pl: Mark members of struct args as volatile.
18892
13d3b41a
AZ
188932013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18894
68191c1d 18895 [BZ # 15497]
13d3b41a
AZ
18896 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18897 negative infinity on POWER6 or lower.
18898 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18899
2848b105
MR
189002013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18901
18902 [BZ #15442]
18903 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18904 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18905 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18906 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18907 (_FP_SETQNAN): New macro.
18908 (_FP_SETQNAN_SEMIRAW): Likewise.
18909 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18910 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18911 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18912 (FP_EXTEND): Use _FP_FRAC_SNANP.
18913 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18914 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18915 into account.
18916 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18917 New macro.
18918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18919 Likewise.
18920
323e5cb7
JM
189212013-05-16 Joseph Myers <joseph@codesourcery.com>
18922
c58b274f
JM
18923 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18924 with DIVIDE_BY_ZERO_EXCEPTION.
18925 (gamma_test_data): Likewise.
18926 (lgamma_test_data): Likewise.
18927 (log_test_data): Likewise.
18928 (log10_test_data): Likewise.
18929 (log2_test_data): Likewise.
18930 (tgamma_test_data): Likewise.
18931
0ab34904
JM
18932 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18933 (acos_test_tonearest): Likewise.
18934 (acos_test_towardzero): Likewise.
18935 (acos_test_downward): Likewise.
18936 (acos_test_upward): Likewise.
18937 (acosh_test): Likewise.
18938 (asin_test): Likewise.
18939 (asin_test_tonearest): Likewise.
18940 (asin_test_towardzero): Likewise.
18941 (asin_test_downward): Likewise.
18942 (asin_test_upward): Likewise.
18943 (asinh_test): Likewise.
18944 (atan_test): Likewise.
18945 (atanh_test): Likewise.
18946 (atan2_test): Likewise.
18947 (cabs_test): Likewise.
18948 (cacos_test): Likewise.
18949 (cacosh_test): Likewise.
18950 (casin_test): Likewise.
18951 (casinh_test): Likewise.
18952 (catan_test): Likewise.
18953 (catanh_test): Likewise.
18954 (cbrt_test): Likewise.
18955 (ccos_test): Likewise.
18956 (ccosh_test): Likewise.
18957 (cexp_test): Likewise.
18958 (clog_test): Likewise.
18959 (clog10_test): Likewise.
18960 (cos_test): Likewise.
18961 (cos_test_tonearest): Likewise.
18962 (cos_test_towardzero): Likewise.
18963 (cos_test_downward): Likewise.
18964 (cos_test_upward): Likewise.
18965 (cosh_test): Likewise.
18966 (cosh_test_tonearest): Likewise.
18967 (cosh_test_towardzero): Likewise.
18968 (cosh_test_downward): Likewise.
18969 (cosh_test_upward): Likewise.
18970 (cpow_test): Likewise.
18971 (csin_test): Likewise.
18972 (csinh_test): Likewise.
18973 (csqrt_test): Likewise.
18974 (ctan_test): Likewise.
18975 (ctan_test_tonearest): Likewise.
18976 (ctan_test_towardzero): Likewise.
18977 (ctan_test_downward): Likewise.
18978 (ctan_test_upward): Likewise.
18979 (ctanh_test): Likewise.
18980 (ctanh_test_tonearest): Likewise.
18981 (ctanh_test_towardzero): Likewise.
18982 (ctanh_test_downward): Likewise.
18983 (ctanh_test_upward): Likewise.
18984 (erf_test): Likewise.
18985 (erfc_test): Likewise.
18986 (exp_test): Likewise.
18987 (exp_test_tonearest): Likewise.
18988 (exp_test_towardzero): Likewise.
18989 (exp_test_downward): Likewise.
18990 (exp_test_upward): Likewise.
18991 (exp10_test): Likewise.
18992 (exp2_test): Likewise.
18993 (expm1_test): Likewise.
18994 (fmod_test): Likewise.
18995 (gamma_test): Likewise.
18996 (hypot_test): Likewise.
18997 (j0_test): Likewise.
18998 (j1_test): Likewise.
18999 (jn_test): Likewise.
19000 (lgamma_test): Likewise.
19001 (log_test): Likewise.
19002 (log10_test): Likewise.
19003 (log1p_test): Likewise.
19004 (log2_test): Likewise.
19005 (logb_test_downward): Likewise.
19006 (pow_test): Likewise.
19007 (pow_test_tonearest): Likewise.
19008 (pow_test_towardzero): Likewise.
19009 (pow_test_downward): Likewise.
19010 (pow_test_upward): Likewise.
19011 (remainder_test): Likewise.
19012 (remquo_test): Likewise.
19013 (sin_test): Likewise.
19014 (sin_test_tonearest): Likewise.
19015 (sin_test_towardzero): Likewise.
19016 (sin_test_downward): Likewise.
19017 (sin_test_upward): Likewise.
19018 (sincos_test): Likewise.
19019 (sinh_test): Likewise.
19020 (sinh_test_tonearest): Likewise.
19021 (sinh_test_towardzero): Likewise.
19022 (sinh_test_downward): Likewise.
19023 (sinh_test_upward): Likewise.
19024 (sqrt_test): Likewise.
19025 (tan_test): Likewise.
19026 (tan_test_tonearest): Likewise.
19027 (tan_test_towardzero): Likewise.
19028 (tan_test_downward): Likewise.
19029 (tan_test_upward): Likewise.
19030 (tanh_test): Likewise.
19031 (tgamma_test): Likewise.
19032 (y0_test): Likewise.
19033 (y1_test): Likewise.
19034 (yn_test): Likewise.
19035
323e5cb7
JM
19036 * math/gen-libm-test.pl (adjust_arg): Remove function.
19037 (special_function): Remove argument $in_func. Only handle
19038 generating output for tables of tests, not inside functions.
19039 (parse_args): Likewise.
19040 (generate_testfile): Remove variable $in_func. Update call to
19041 parse_args.
19042 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19043 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19044 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19045 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19046 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19047 (MAX_VALUE_INIT): Rename macro to max_value.
19048 (MIN_VALUE_INIT): Rename macro to min_value.
19049 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19050 (plus_zero): Remove variable.
19051 (minus_zero): Likewise.
19052 (plus_infty): Likewise.
19053 (minus_infty): Likewise.
19054 (qnan_value): Likewise.
19055 (max_value): Likewise.
19056 (min_value): Likewise.
19057 (min_subnorm_value): Likewise.
19058
e054f494
RA
190592013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19060
19061 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19062 uint64_t or uint32_t usage.
19063 * crypt/sha256-block.c: Likewise.
19064 * crypt/sha256-crypt.c: Likewise.
19065 * crypt/sha256.c: Likewise.
19066 * crypt/sha512-block.c: Likewise.
19067 * crypt/sha512-crypt.c: Likewise.
19068 * crypt/sha512.c: Likewise.
19069 * debug/backtrace-tst.c: Likewise.
19070 * debug/pcprofiledump.c: Likewise.
19071 * elf/cache.c: Likewise.
19072 * elf/dl-cache.c: Likewise.
19073 * elf/dl-misc.c: Likewise.
19074 * elf/dl-profile.c: Likewise.
19075 * elf/dl-support.c: Likewise.
19076 * elf/ldconfig.c: Likewise.
19077 * elf/sprof.c: Likewise.
19078 * iconv/dummy-repertoire.c: Likewise.
19079 * iconv/iconv_charmap.c: Likewise.
19080 * iconv/skeleton.c: Likewise.
19081 * iconvdata/8bit-generic.c: Likewise.
19082 * iconvdata/cp737.h: Likewise.
19083 * iconvdata/cp775.h: Likewise.
19084 * iconvdata/ibm1008.h: Likewise.
19085 * iconvdata/ibm1025.h: Likewise.
19086 * iconvdata/ibm1046.h: Likewise.
19087 * iconvdata/ibm1097.h: Likewise.
19088 * iconvdata/ibm1112.h: Likewise.
19089 * iconvdata/ibm1122.h: Likewise.
19090 * iconvdata/ibm1123.h: Likewise.
19091 * iconvdata/ibm1124.h: Likewise.
19092 * iconvdata/ibm1129.h: Likewise.
19093 * iconvdata/ibm1130.h: Likewise.
19094 * iconvdata/ibm1132.h: Likewise.
19095 * iconvdata/ibm1133.h: Likewise.
19096 * iconvdata/ibm1137.h: Likewise.
19097 * iconvdata/ibm1140.h: Likewise.
19098 * iconvdata/ibm1141.h: Likewise.
19099 * iconvdata/ibm1142.h: Likewise.
19100 * iconvdata/ibm1143.h: Likewise.
19101 * iconvdata/ibm1144.h: Likewise.
19102 * iconvdata/ibm1145.h: Likewise.
19103 * iconvdata/ibm1146.h: Likewise.
19104 * iconvdata/ibm1147.h: Likewise.
19105 * iconvdata/ibm1148.h: Likewise.
19106 * iconvdata/ibm1149.h: Likewise.
19107 * iconvdata/ibm1153.h: Likewise.
19108 * iconvdata/ibm1154.h: Likewise.
19109 * iconvdata/ibm1155.h: Likewise.
19110 * iconvdata/ibm1156.h: Likewise.
19111 * iconvdata/ibm1157.h: Likewise.
19112 * iconvdata/ibm1158.h: Likewise.
19113 * iconvdata/ibm1160.h: Likewise.
19114 * iconvdata/ibm1161.h: Likewise.
19115 * iconvdata/ibm1162.h: Likewise.
19116 * iconvdata/ibm1163.h: Likewise.
19117 * iconvdata/ibm1164.h: Likewise.
19118 * iconvdata/ibm1166.h: Likewise.
19119 * iconvdata/ibm1167.h: Likewise.
19120 * iconvdata/ibm12712.h: Likewise.
19121 * iconvdata/ibm1390.h: Likewise.
19122 * iconvdata/ibm1399.h: Likewise.
19123 * iconvdata/ibm16804.h: Likewise.
19124 * iconvdata/ibm4517.h: Likewise.
19125 * iconvdata/ibm4899.h: Likewise.
19126 * iconvdata/ibm4909.h: Likewise.
19127 * iconvdata/ibm4971.h: Likewise.
19128 * iconvdata/ibm5347.h: Likewise.
19129 * iconvdata/ibm803.h: Likewise.
19130 * iconvdata/ibm856.h: Likewise.
19131 * iconvdata/ibm901.h: Likewise.
19132 * iconvdata/ibm902.h: Likewise.
19133 * iconvdata/ibm9030.h: Likewise.
19134 * iconvdata/ibm9066.h: Likewise.
19135 * iconvdata/ibm921.h: Likewise.
19136 * iconvdata/ibm922.h: Likewise.
19137 * iconvdata/ibm9448.h: Likewise.
19138 * iconvdata/isiri-3342.h: Likewise.
19139 * iconvdata/jis0201.h: Likewise.
19140 * include/link.h: Likewise.
19141 * include/netdb.h: Likewise.
19142 * inet/check_native.c: Likewise.
19143 * inet/check_pf.c: Likewise.
19144 * inet/getipv4sourcefilter.c: Likewise.
19145 * inet/getnameinfo.c: Likewise.
19146 * inet/getsourcefilter.c: Likewise.
19147 * inet/htonl.c: Likewise.
19148 * inet/setipv4sourcefilter.c: Likewise.
19149 * inet/setsourcefilter.c: Likewise.
19150 * inet/test-inet6_opt.c: Likewise.
19151 * inet/tst-network.c: Likewise.
19152 * locale/C-collate.c: Likewise.
19153 * locale/C-ctype.c: Likewise.
19154 * locale/C-time.c: Likewise.
19155 * locale/C-translit.h: Likewise.
19156 * locale/loadarchive.c: Likewise.
19157 * locale/programs/3level.h: Likewise.
19158 * locale/programs/charmap.c: Likewise.
19159 * locale/programs/charmap.h: Likewise.
19160 * locale/programs/ld-address.c: Likewise.
19161 * locale/programs/ld-collate.c: Likewise.
19162 * locale/programs/ld-ctype.c: Likewise.
19163 * locale/programs/ld-identification.c: Likewise.
19164 * locale/programs/ld-measurement.c: Likewise.
19165 * locale/programs/ld-messages.c: Likewise.
19166 * locale/programs/ld-monetary.c: Likewise.
19167 * locale/programs/ld-name.c: Likewise.
19168 * locale/programs/ld-numeric.c: Likewise.
19169 * locale/programs/ld-paper.c: Likewise.
19170 * locale/programs/ld-telephone.c: Likewise.
19171 * locale/programs/ld-time.c: Likewise.
19172 * locale/programs/linereader.c: Likewise.
19173 * locale/programs/locale.c: Likewise.
19174 * locale/programs/locarchive.c: Likewise.
19175 * locale/programs/locfile.h: Likewise.
19176 * locale/programs/repertoire.c: Likewise.
19177 * locale/programs/simple-hash.c: Likewise.
19178 * locale/programs/simple-hash.h: Likewise.
19179 * malloc/memusage.c: Likewise.
19180 * malloc/memusagestat.c: Likewise.
19181 * nis/nis_defaults.c: Likewise.
19182 * nis/nis_hash.c: Likewise.
19183 * nis/nis_print.c: Likewise.
19184 * nis/nis_xdr.c: Likewise.
19185 * nscd/connections.c: Likewise.
19186 * nscd/hstcache.c: Likewise.
19187 * nscd/nscd_gethst_r.c: Likewise.
19188 * nscd/nscd_getserv_r.c: Likewise.
19189 * nscd/nscd_helper.c: Likewise.
19190 * nscd/servicescache.c: Likewise.
19191 * nss/makedb.c: Likewise.
19192 * nss/nss_db/db-XXX.c: Likewise.
19193 * nss/nss_db/db-initgroups.c: Likewise.
19194 * nss/nss_db/db-netgrp.c: Likewise.
19195 * nss/nss_files/files-network.c: Likewise.
19196 * nss/nss_files/files-parse.c: Likewise.
19197 * posix/bug-regex5.c: Likewise.
19198 * posix/fnmatch_loop.c: Likewise.
19199 * posix/regcomp.c: Likewise.
19200 * posix/regexec.c: Likewise.
19201 * posix/tst-rfc3484-2.c: Likewise.
19202 * posix/tst-rfc3484-3.c: Likewise.
19203 * posix/tst-rfc3484.c: Likewise.
19204 * resolv/nss_dns/dns-canon.c: Likewise.
19205 * resolv/nss_dns/dns-network.c: Likewise.
19206 * resolv/res_init.c: Likewise.
19207 * resolv/res_mkquery.c: Likewise.
19208 * resolv/tst-aton.c: Likewise.
19209 * stdlib/cxa_atexit.c: Likewise.
19210 * stdlib/cxa_finalize.c: Likewise.
19211 * stdlib/gen-fpioconst.c: Likewise.
19212 * stdlib/strtol_l.c: Likewise.
19213 * string/tst-endian.c: Likewise.
19214 * sunrpc/auth_des.c: Likewise.
19215 * sunrpc/clnt_udp.c: Likewise.
19216 * sunrpc/rtime.c: Likewise.
19217 * sunrpc/svcauth_des.c: Likewise.
19218 * sunrpc/xdr.c: Likewise.
19219 * sunrpc/xdr_intXX_t.c: Likewise.
19220 * sunrpc/xdr_rec.c: Likewise.
19221 * sysdeps/generic/ldconfig.h: Likewise.
19222 * sysdeps/generic/ldsodefs.h: Likewise.
19223 * sysdeps/generic/memusage.h: Likewise.
19224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19227 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19234 * sysdeps/posix/getaddrinfo.c: Likewise.
19235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19237 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19238 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19239 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19240 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19241 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19242 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19243 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19244 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19245 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19246 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19247 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19248 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19249 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19250 * sysdeps/x86_64/dl-tls.h: Likewise.
19251 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19252 * time/alt_digit.c: Likewise.
19253 * time/era.c: Likewise.
19254 * wcsmbs/tst-c16c32-1.c: Likewise.
19255
8c75f674
JM
192562013-05-16 Joseph Myers <joseph@codesourcery.com>
19257
19258 * math/libm-test.inc (struct test_sincos_data): New type.
19259 (RUN_TEST_LOOP_sincos): New macro.
19260 (sincos_test_data): New variable.
19261 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19262
e6e49e59
RH
192632013-05-16 Richard Henderson <rth@redhat.com>
19264
19265 * math/atest-exp2.c (LIMB64): New macro.
19266 (CONSTSZ): New macro.
19267 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19268 (hexdig): Move ...
19269 (print_mpn_fp): ... to function scope.
19270 (read_mpn_hex): Remove.
19271 (get_log2): Remove.
19272 (exp2_mpn): Use mp_log2.
19273 (main): Use mp_exp1.
19274
15c7c18d
JM
192752013-05-16 Joseph Myers <joseph@codesourcery.com>
19276
105a07df
JM
19277 * math/libm-test.inc: Remove comment about not testing "inexact"
19278 exceptions.
19279 (INEXACT_EXCEPTION): New macro.
19280 (NO_INEXACT_EXCEPTION): Likewise.
19281 (INVALID_EXCEPTION_OK): Update value.
19282 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19283 (OVERFLOW_EXCEPTION_OK): Likewise.
19284 (UNDERFLOW_EXCEPTION_OK): Likewise.
19285 (IGNORE_ZERO_INF_SIGN): Likewise.
19286 (ERRNO_UNCHANGED): Likewise.
19287 (ERRNO_EDOM): Likewise.
19288 (ERRNO_ERANGE): Likewise.
19289 (test_exceptions): Handle testing "inexact" exceptions.
19290 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19291 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19292 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19293 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19294 INEXACT_EXCEPTION.
19295 (rint_towardzero_test_data): Likewise.
19296 (rint_downward_test_data): Likewise.
19297 (rint_upward_test_data): Likewise.
19298
e9eee333
JM
19299 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19300 with OVERFLOW_EXCEPTION.
19301 (exp10_test_data): Likewise.
19302 (exp2_test_data): Likewise.
19303 (expm1_test_data): Likewise.
19304 (lgamma_test_data): Likewise.
19305 (pow_test_data): Likewise.
19306 (tgamma_test_data): Likewise.
19307 (yn_test_data): Remove duplicate test of overflow.
19308
1c38ff73
JM
19309 * math/libm-test.inc (struct test_cc_c_data): New type.
19310 (RUN_TEST_LOOP_cc_c): New macro.
19311 (cpow_test_data): New variable.
19312 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19313
15c7c18d
JM
19314 * math/libm-test.inc (struct test_f_L_data): New type.
19315 (RUN_TEST_LOOP_f_L): New macro.
19316 (llrint_test_data): New variable.
19317 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19318 (llrint_tonearest_test_data): New variable.
19319 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19320 (llrint_towardzero_test_data): New variable.
19321 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19322 (llrint_downward_test_data): New variable.
19323 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19324 (llrint_upward_test_data): New variable.
19325 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19326 (llround_test_data): New variable.
19327 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19328
f137ff13
PC
193292013-05-13 Peter Collingbourne <pcc@google.com>
19330
19331 * math/atest-exp2.c (get_log2): Remove const attribute.
19332
3608cb24
JM
193332013-05-15 Joseph Myers <joseph@codesourcery.com>
19334
19335 * math/libm-test.inc (struct test_f_l_data): New type.
19336 (RUN_TEST_LOOP_f_l): New macro.
19337 (lrint_test_data): New variable.
19338 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19339 (lrint_tonearest_test_data): New variable.
19340 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19341 (lrint_towardzero_test_data): New variable.
19342 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19343 (lrint_downward_test_data): New variable.
19344 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19345 (lrint_upward_test_data): New variable.
19346 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19347 (lround_test_data): New variable.
19348 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19349
39b1f617
PC
193502013-05-15 Peter Collingbourne <pcc@google.com>
19351
1deff3dc
PC
19352 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19353 (EXTRACT_WORDS64) Use where appropriate.
19354 (INSERT_WORDS64) Likewise.
19355
791f3ba0
PC
19356 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19357 constraints with x constraints.
19358 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19359
39b1f617
PC
19360 * malloc/obstack.c (_obstack_compat): Add initializer.
19361
12fba011
EM
193622013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19363
19364 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19365 si_trapno and add si_addr_lsb to _sifields.sigfault.
19366 (si_trapno): Remove macro.
19367 (si_addr_lsb): Define new macro.
19368 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19369
d369f531
JM
193702013-05-15 Joseph Myers <joseph@codesourcery.com>
19371
b861c6c4
JM
19372 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19373 instead of TEST_f_l.
19374 (llrint_test_tonearest): Likewise.
19375 (llrint_test_towardzero): Likewise.
19376 (llrint_test_downward): Likewise.
19377 (llrint_test_upward): Likewise.
19378 (llround_test): Likewise.
19379
7abeee12
JM
19380 * math/libm-test.inc (struct test_f_i_data): Add comment.
19381 (RUN_TEST_LOOP_f_b): New macro.
19382 (RUN_TEST_LOOP_f_b_tg): Likewise.
19383 (finite_test_data): New variable.
19384 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19385 (isfinite_test_data): New variable.
19386 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19387 (isinf_test_data): New variable.
19388 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19389 (isnan_test_data): New variable.
19390 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19391 (isnormal_test_data): New variable.
19392 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19393 (issignaling_test_data): New variable.
19394 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19395 (signbit_test_data): New variable.
19396 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19397
cbe8c4d3
JM
19398 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19399 with INVALID_EXCEPTION.
19400 (acosh_test_data): Likewise.
19401 (asin_test_data): Likewise.
19402 (atanh_test_data): Likewise.
19403 (fmod_test_data): Likewise.
19404 (log_test_data): Likewise.
19405 (log10_test_data): Likewise.
19406 (log2_test_data): Likewise.
19407 (pow_test_data): Likewise.
19408 (sqrt_test_data): Likewise.
19409 (y0_test_data): Likewise.
19410 (y1_test_data): Likewise.
19411 (yn_test_data): Likewise.
19412
5575c0e5
JM
19413 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19414 function contents.
19415
d369f531
JM
19416 * math/libm-test.inc (struct test_ff_i_data): New type.
19417 (RUN_TEST_LOOP_ff_i_tg): New macro.
19418 (isgreater_test_data): New variable.
19419 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19420 (isgreaterequal_test_data): New variable.
19421 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19422 (isless_test_data): New variable.
19423 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19424 (islessequal_test_data): New variable.
19425 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19426 (islessgreater_test_data): New variable.
19427 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19428 (isunordered_test_data): New variable.
19429 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19430
781fd748
DM
194312013-05-14 David S. Miller <davem@davemloft.net>
19432
19433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19434
87aa21df
JM
194352013-05-14 Joseph Myers <joseph@codesourcery.com>
19436
5e908270
JM
19437 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19438
f71172e5
JM
19439 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19440 extra_test to int.
19441 (struct test_f_i_data): Change type of max_ulp to int.
19442
8cfa635a
JM
19443 * math/libm-test.inc (test_ffI_f1_data): New type.
19444 (RUN_TEST_LOOP_ffI_f1): New macro.
19445 (remquo_test_data): New variable.
19446 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19447
2bcb36b2
JM
19448 * setjmp/tst-setjmp-fp.c: New file.
19449 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19450 (link-libm): New variable.
19451 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19452
acbd839a
JM
19453 * math/libm-test.inc (struct test_f_i_data): New type.
19454 (RUN_TEST_LOOP_f_i): New macro.
19455 (RUN_TEST_LOOP_f_i_tg): Likewise.
19456 (fpclassify_test_data): New variable.
19457 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19458 (ilogb_test_data): New variable.
19459 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19460
e414d745
JM
19461 * math/libm-test.inc (scalbln_test): Correct function name in END
19462 call.
19463
d9c2a0fd
JM
19464 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19465 (RUN_TEST_LOOP_fI_f1): New macro.
19466 (frexp_test_data): New variable.
19467 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19468
9dc9095d
JM
19469 * math/libm-test.inc (struct test_fF_f1_data): New type.
19470 (RUN_TEST_LOOP_fF_f1): New macro.
19471 (modf_test_data): New variable.
19472 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19473
87aa21df
JM
19474 * math/libm-test.inc (struct test_f_f1_data): New type.
19475 (RUN_TEST_LOOP_f_f1): New macro.
19476 (gamma_test_data): New variable.
19477 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19478 (lgamma_test_data): New variable.
19479 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19480
141af660
CD
194812013-05-13 Carlos O'Donell <carlos@redhat.com>
19482
19483 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19484 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19485 (main): Comment "tls" pseudo-hwcap.
19486
6d33265c
JM
194872013-05-13 Joseph Myers <joseph@codesourcery.com>
19488
68fc074c
JM
19489 * math/libm-test.inc (struct test_fl_f_data): New type.
19490 (RUN_TEST_LOOP_fl_f): New variable.
19491 (scalbln_test_data): New variable.
19492 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19493
243216e1
JM
19494 * math/libm-test.inc (struct test_fi_f_data): New type.
19495 (RUN_TEST_LOOP_fi_f): New macro.
19496 (ldexp_test_data): New variable.
19497 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19498 (scalbn_test_data): New variable.
19499 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19500
6a1992e2
JM
19501 * math/libm-test.inc (struct test_c_f_data): New type.
19502 (RUN_TEST_LOOP_c_f): New macro.
19503 (cabs_test_data): New variable.
19504 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19505 (carg_test_data): New variable.
19506 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19507 (cimag_test_data): New variable.
19508 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19509 (creal_test_data): New variable.
19510 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19511
0e400df5
JM
19512 * math/libm-test.inc (struct test_if_f_data): New type.
19513 (RUN_TEST_LOOP_if_f): New macro.
19514 (jn_test_data): New variable.
19515 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19516 (yn_test_data): New variable.
19517 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19518
6d33265c
JM
19519 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19520
f98ece5f
AZ
195212013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19522
19523 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19524 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19525
0f7d347b
SP
195262013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19527
43fe811b
SP
19528 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19529 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19530 (bench-deps): Add bench-timing.h.
19531 * benchtests-bench-skeleton.c: Include bench-timing.h.
19532 (main): Use TIMING_* macros instead of clock_gettime.
19533 * benchtests/bench-timing.h: New file.
19534
0f7d347b
SP
19535 [BZ #14582]
19536 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19537 Renamed from _LIB_VERSION.
19538 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19539
601a3a5f
JM
195402013-05-12 Joseph Myers <joseph@codesourcery.com>
19541
4f184d30
JM
19542 * math/libm-test.inc (struct test_fff_f_data): New type.
19543 (RUN_TEST_LOOP_fff_f): New macro.
19544 (fma_test_data): New variable.
19545 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19546 (fma_towardzero_test_data): New variable.
19547 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19548 (fma_downward_test_data): New variable.
19549 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19550 (fma_upward_test_data): New variable.
19551 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19552
08198877
JM
19553 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19554 (struct test_c_c_data): New type.
19555 (RUN_TEST_LOOP_c_c): New macro.
19556 (cacos_test_data): New variable.
19557 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19558 (cacosh_test_data): New variable.
19559 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19560 (casin_test_data): New variable.
19561 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19562 (casinh_test_data): New variable.
19563 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19564 (catan_test_data): New variable.
19565 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19566 (catanh_test_data): New variable.
19567 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19568 (ccos_test_data): New variable.
19569 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19570 (ccosh_test_data): New variable.
19571 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19572 (cexp_test_data): New variable.
19573 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19574 (clog_test_data): New variable.
19575 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19576 (clog10_test_data): New variable.
19577 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19578 (conj_test_data): New variable.
19579 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19580 (cproj_test_data): New variable.
19581 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19582 (csin_test_data): New variable.
19583 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19584 (csinh_test_data): New variable.
19585 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19586 (csqrt_test_data): New variable.
19587 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19588 (ctan_test_data): New variable.
19589 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19590 (ctan_tonearest_test_data): New variable.
19591 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19592 (ctan_towardzero_test_data): New variable.
19593 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19594 (ctan_downward_test_data): New variable.
19595 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19596 (ctan_upward_test_data): New variable.
19597 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19598 (ctanh_test_data): New variable.
19599 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19600 (ctanh_tonearest_test_data): New variable.
19601 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19602 (ctanh_towardzero_test_data): New variable.
19603 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19604 (ctanh_downward_test_data): New variable.
19605 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19606 (ctanh_upward_test_data): New variable.
19607 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19608 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19609 of BUILD_COMPLEX.
19610
601a3a5f
JM
19611 * math/libm-test.inc (struct test_ff_f_data): New type.
19612 (struct test_ff_f_data_nexttoward): Likewise.
19613 (RUN_TEST_LOOP_2_f): New macro.
19614 (RUN_TEST_LOOP_ff_f): Likewise.
19615 (atan2_test_data): New variable.
19616 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19617 (copysign_test_data): New variable.
19618 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19619 (fdim_test_data): New variable.
19620 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19621 (fmax_test_data): New variable.
19622 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19623 (fmin_test_data): New variable.
19624 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19625 (fmod_test_data): New variable.
19626 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19627 (hypot_test_data): New variable.
19628 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19629 (nextafter_test_data): New variable.
19630 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19631 (nexttoward_test_data): New variable.
19632 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19633 (pow_test_data): New variable.
19634 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19635 (pow_tonearest_test_data): New variable.
19636 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19637 (pow_towardzero_test_data): New variable.
19638 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19639 (pow_downward_test_data): New variable.
19640 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19641 (pow_upward_test_data): New variable.
19642 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19643 (remainder_test_data): New variable.
19644 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19645 (scalb_test_data): New variable.
19646 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19647 * sysdeps/i386/fpu/libm-test-ulps: Update.
19648
74c57478
JM
196492013-05-11 Joseph Myers <joseph@codesourcery.com>
19650
8329e4da
JM
19651 * math/libm-test.inc (fma_test): Use max_value instead of local
19652 variable fltmax.
19653 (nextafter_test): Likewise.
19654
74c57478
JM
19655 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19656 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19657 (acos_downward_test_data): New variable.
19658 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19659 (acos_upward_test_data): New variable.
19660 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19661 (acosh_test_data): New variable.
19662 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19663 (asin_test_data): New variable.
19664 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19665 (asin_tonearest_test_data): New variable.
19666 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19667 (asin_towardzero_test_data): New variable.
19668 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19669 (asin_downward_test_data): New variable.
19670 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19671 (asin_upward_test_data): New variable.
19672 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19673 (asinh_test_data): New variable.
19674 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19675 (atan_test_data): New variable.
19676 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19677 (atanh_test_data): New variable.
19678 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19679 (cbrt_test_data): New variable.
19680 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19681 (ceil_test_data): New variable.
19682 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19683 (cos_test_data): New variable.
19684 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19685 (cos_tonearest_test_data): New variable.
19686 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19687 (cos_towardzero_test_data): New variable.
19688 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19689 (cos_downward_test_data): New variable.
19690 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19691 (cos_upward_test_data): New variable.
19692 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19693 (cosh_test_data): New variable.
19694 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19695 (cosh_tonearest_test_data): New variable.
19696 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19697 (cosh_towardzero_test_data): New variable.
19698 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19699 (cosh_downward_test_data): New variable.
19700 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19701 (cosh_upward_test_data): New variable.
19702 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19703 (erf_test_data): New variable.
19704 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19705 (erfc_test_data): New variable.
19706 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19707 (exp_test_data): New variable.
19708 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19709 (exp_tonearest_test_data): New variable.
19710 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19711 (exp_towardzero_test_data): New variable.
19712 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19713 (exp_downward_test_data): New variable.
19714 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19715 (exp_upward_test_data): New variable.
19716 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19717 (exp10_test_data): New variable.
19718 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19719 (exp2_test_data): New variable.
19720 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19721 (expm1_test_data): New variable.
19722 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (fabs_test_data): New variable.
19724 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19725 (floor_test_data): New variable.
19726 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19727 (j0_test_data): New variable.
19728 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19729 (j1_test_data): New variable.
19730 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19731 (log_test_data): New variable.
19732 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19733 (log10_test_data): New variable.
19734 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19735 (log1p_test_data): New variable.
19736 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19737 (log2_test_data): New variable.
19738 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19739 (logb_test_data): New variable.
19740 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19741 (logb_downward_test_data): New variable.
19742 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19743 (nearbyint_test_data): New variable.
19744 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19745 (rint_test_data): New variable.
19746 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19747 (rint_tonearest_test_data): New variable.
19748 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19749 (rint_towardzero_test_data): New variable.
19750 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19751 (rint_downward_test_data): New variable.
19752 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19753 (rint_upward_test_data): New variable.
19754 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19755 (round_test_data): New variable.
19756 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19757 (sin_test_data): New variable.
19758 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19759 (sin_tonearest_test_data): New variable.
19760 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19761 (sin_towardzero_test_data): New variable.
19762 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19763 (sin_downward_test_data): New variable.
19764 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19765 (sin_upward_test_data): New variable.
19766 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19767 (sinh_test_data): New variable.
19768 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19769 (sinh_tonearest_test_data): New variable.
19770 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19771 (sinh_towardzero_test_data): New variable.
19772 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19773 (sinh_downward_test_data): New variable.
19774 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19775 (sinh_upward_test_data): New variable.
19776 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19777 (sqrt_test_data): New variable.
19778 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19779 (tan_test_data): New variable.
19780 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19781 (tan_tonearest_test_data): New variable.
19782 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19783 (tan_towardzero_test_data): New variable.
19784 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19785 (tan_downward_test_data): New variable.
19786 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19787 (tan_upward_test_data): New variable.
19788 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19789 (tanh_test_data): New variable.
19790 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19791 (tgamma_test_data): New variable.
19792 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19793 (trunc_test_data): New variable.
19794 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19795 (y0_test_data): New variable.
19796 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19797 (y1_test_data): New variable.
19798 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19799 (significand_test_data): New variable.
19800 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19801
7187d844
CG
198022013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19803
19804 [BZ #12387]
19805 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19806
f63fae73
PT
198072013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19808
19809 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19810
8a67a4b3
AJ
198112013-05-10 Andreas Jaeger <aj@suse.de>
19812
19813 [BZ #15448]
19814 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19815 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19816
51df539d
JM
198172013-05-10 Joseph Myers <joseph@codesourcery.com>
19818
19819 * math/gen-libm-test.pl (adjust_arg): New function.
19820 (special_functions): Handle generating output in both functions
19821 and arrays.
19822 (parse_args): Likewise.
19823 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19824 $in_func argument to parse_args.
19825 * math/libm-test.inc (struct test_f_f_data): New type.
19826 (IF_ROUND_INIT_): New macro.
19827 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19828 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19829 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19830 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19831 (ROUND_RESTORE_): Likewise.
19832 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19833 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19834 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19835 (ROUND_RESTORE_FE_UPWARD): Likewise.
19836 (RUN_TEST_LOOP_f_f): New macro.
19837 (acos_test_data): New variable.
19838 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19839 (acos_tonearest_test_data): New variable.
19840 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19841
5c637fe5
SP
198422013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19843
19844 * benchtests/bench-skeleton.c (startup): Fix coding style.
19845
ab2b9461
JM
198462013-05-10 Joseph Myers <joseph@codesourcery.com>
19847
19848 [BZ #6809]
19849 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19850 negative infinity argument.
19851 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19852 negative infinity argument.
19853 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19854 negative infinity argument.
19855 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19856 domain errors.
19857
4c0fe6fe
FW
198582013-05-10 Florian Weimer <fweimer@redhat.com>
19859
19860 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19861 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19862 * iconv/iconv_prog.c (main): Likewise.
19863 * locale/programs/charmap-dir.c (charmap_readdir)
19864 (fopen_uncompressed): Likewise.
19865 * locale/programs/locfile.c (siblings_uncached)
19866 (write_locale_data): Use lstat64 instead of lstat.
19867 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19868 stat.
19869
a3375d29
AJ
198702013-05-10 Andreas Jaeger <aj@suse.de>
19871
19872 [BZ #15395]
19873 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19874 localization.
19875 Include <locale.h>.
19876
36129722
CD
198772013-05-09 Carlos O'Donell <carlos@redhat.com>
19878
19879 * elf/dl-close.c (_dl_close_worker): Add comments.
19880
faa7f811
JM
198812013-05-09 Joseph Myers <joseph@codesourcery.com>
19882
ed41ffef
JM
19883 [BZ #15359]
19884 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19885 high part of pi/2.
19886 (__ieee754_rem_pio2l): Update comments.
19887
d0213cd0
JM
19888 [BZ #15429]
19889 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19890 high part of pi/2.
19891 (__ieee754_rem_pio2l): Update comments.
19892
0d3e777a
JM
19893 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19894 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19895
24f56066
JM
19896 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19897 M_PI_4l.
19898
faa7f811
JM
19899 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19900 (M_PI_34_LOG10El): Likewise.
19901 (M_PI2_LOG10El): Likewise.
19902 (M_PI4_LOG10El): Likewise.
19903 (M_PI_LOG10El): Likewise.
19904
e9a5e0fd
AZ
199052013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19906
19907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19908
d8cd06db
JM
199092013-05-08 Joseph Myers <joseph@codesourcery.com>
19910
a0d9f9d7
JM
19911 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19912 (MINUS_ZERO_INIT): Likewise.
19913 (PLUS_INFTY_INIT): Likewise.
19914 (MINUS_INFTY_INIT): Likewise.
19915 (QNAN_VALUE_INIT): Likewise.
19916 (MAX_VALUE_INIT): Likewise.
19917 (MIN_VALUE_INIT): Likewise.
19918 (MIN_SUBNORM_VALUE_INIT): Likewise.
19919 (plus_zero): Initialize with PLUS_ZERO_INIT.
19920 (minus_zero): Initialize with MINUS_ZERO_INIT.
19921 (plus_infty): Initialize with PLUS_INFTY_INIT.
19922 (minus_infty): Initialize with MINUS_INFTY_INIT.
19923 (qnan_value): Initialize with QNAN_VALUE_INIT.
19924 (max_value): Initialize with MAX_VALUE_INIT.
19925 (min_value): Initialize with MIN_VALUE_INIT.
19926 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19927
ae08db3b
JM
19928 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19929 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19930 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19931 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19932
f44bf14a
JM
19933 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19934 (RUN_TEST_2_f): Likewise.
19935 (RUN_TEST_ff_f): Likewise.
19936 (RUN_TEST_fi_f): Likewise.
19937 (RUN_TEST_fl_f): Likewise.
19938 (RUN_TEST_fff_f): Likewise.
19939 (RUN_TEST_c_f): Likewise.
19940 (RUN_TEST_f_f1): Likewise.
19941 (RUN_TEST_fF_f1): Likewise.
19942 (RUN_TEST_fI_f1): Likewise.
19943 (RUN_TEST_ffI_f1): Likewise.
19944 (RUN_TEST_c_c): Likewise.
19945 (RUN_TEST_cc_c): Likewise.
19946 (RUN_TEST_f_i): Likewise.
19947 (RUN_TEST_f_i_tg): Likewise.
19948 (RUN_TEST_ff_i_tg): Likewise.
19949 (RUN_TEST_f_b): Likewise.
19950 (RUN_TEST_f_b_tg): Likewise.
19951 (RUN_TEST_f_l): Likewise.
19952 (RUN_TEST_f_L): Likewise.
19953 (RUN_TEST_sincos): Likewise.
19954 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19955 whether to show exceptions. Do not include ");\n" in return
19956 value.
19957 (special_functions): Output call to RUN_TEST_sincos instead of
19958 check_float calls. Update calls to new_test.
19959 (parse_args): Output call to single RUN_TEST_* macro instead of
19960 check_* calls and other assignments. Update calls to new_test.
19961
d8cd06db
JM
19962 [BZ #2546]
19963 [BZ #2560]
19964 [BZ #5159]
19965 [BZ #15426]
19966 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19967 input to result for tgamma overflow.
19968 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19969 (gamma_coeff): New variable.
19970 (NCOEFF): New macro.
19971 (gamma_positive): New function.
19972 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19973 underflow here. Use gamma_positive instead of exp (lgamma) for
19974 other arguments.
19975 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19976 (gamma_coeff): New variable.
19977 (NCOEFF): New macro.
19978 (gammaf_positive): New function.
19979 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19980 underflow here. Use gamma_positive instead of exp (lgamma) for
19981 other arguments.
19982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19983 (gamma_coeff): New variable.
19984 (NCOEFF): New macro.
19985 (gammal_positive): New function.
19986 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19987 underflow here. Use gamma_positive instead of exp (lgamma) for
19988 other arguments.
19989 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19990 (gamma_coeff): New variable.
19991 (NCOEFF): New macro.
19992 (gammal_positive): New function.
19993 (__ieee754_gammal_r): Handle positive infinity, overflow and
19994 underflow here. Handle NaN the same as positive infinity. Remove
19995 check x < 0xffffffff for negative integers. Use gamma_positive
19996 instead of exp (lgamma) for other arguments.
19997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19998 (gamma_coeff): New variable.
19999 (NCOEFF): New macro.
20000 (gammal_positive): New function.
20001 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20002 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20006 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20007 * sysdeps/generic/math_private.h (__gamma_productf): New
20008 prototype.
20009 (__gamma_product): Likewise.
20010 (__gamma_productl): Likewise.
20011 * math/Makefile (libm-calls): Add gamma_product.
20012 * math/libm-test.inc (tgamma_test): Add more tests.
20013 * sysdeps/i386/fpu/libm-test-ulps: Update.
20014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20015
bb7cf681
OB
200162013-05-08 Ondřej Bílka <neleai@seznam.cz>
20017
20018 * benchtests/bench-skeleton.c (main): Preheat CPU.
20019
ba853947
AJ
200202013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20021
20022 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20023
8347c74c
RM
200242013-05-07 Roland McGrath <roland@hack.frob.com>
20025
20026 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20027 and _dl_skip_args_internal.
20028
e8dd4791
CD
200292013-05-07 Carlos O'Donell <carlos@redhat.com>
20030
20031 * manual/message.texi (Message Translation): Talk about users.
20032 Message to key mapping impacts design.
20033
c7405830
RM
200342013-05-06 Roland McGrath <roland@hack.frob.com>
20035
a9173057
RM
20036 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20037
976e2f03
RM
20038 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20039
9723ffc5
RM
20040 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20041 * sysdeps/wordsize-64/glob64.c: ... here.
20042
962e6658
RM
20043 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20044 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20045 New macros.
20046
ee586a6d
RM
20047 * debug/getlogin_r_chk.c: Moved to ...
20048 * login/getlogin_r_chk.c: ... here.
20049 * debug/Makefile (routines): Move getlogin_r_chk to ...
20050 * login/Makefile (routines): ... here.
20051 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20052 * login/Versions (libc: GLIBC_2.4): ... here.
20053
355f9165
RM
20054 * io/poll.c (__poll): Renamed from poll.
20055 Add libc_hidden_def.
20056 (poll): Define as weak alias.
20057
bd9ffde6
RM
20058 * debug/ptsname_r_chk.c: Moved to ...
20059 * login/ptsname_r_chk.c: ... here.
20060 * debug/Makefile (routines): Move ptsname_r_chk to ...
20061 * login/Makefile (routines): ... here.
20062 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20063 * login/Versions (libc: GLIBC_2.4): ... here.
20064
8fb16a04
RM
20065 * posix/getlogin.c: Moved to ...
20066 * login/getlogin.c: ... here.
20067 * posix/getlogin_r.c: Moved to ...
20068 * login/getlogin_r.c: ... here.
20069 * posix/getlogin_r.c: Moved to ...
20070 * login/getlogin_r.c: ... here.
20071 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20072 * login/Makefile (routines): ... here.
20073 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20074 * login/Versions (libc: GLIBC_2.0): ... here.
20075
b99b892f
RM
20076 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20077 (setrlimit): Define as weak alias.
20078
c7405830
RM
20079 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20080 Call __ names for open, ftruncate, and close.
20081 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20082 (truncate): Define as weak alias.
20083
5bf96de5
JM
200842013-05-06 Joseph Myers <joseph@codesourcery.com>
20085
9ea3513c
JM
20086 * math/gen-libm-test.pl (parse_args): Initialize x before each
20087 test of frexp, modf and remquo.
20088
5bf96de5
JM
20089 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20090 test signgam value.
20091
16e616a7
AZ
200922013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20093
20094 [BZ #15418]
20095 [BZ #15419]
20096 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20097 internal tests.
20098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20099
d5e82754
RM
201002013-05-06 Roland McGrath <roland@hack.frob.com>
20101
20102 * elf/dl-writev.h: New file.
20103 * elf/dl-misc.c: Include it.
20104 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20105 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20106
a7548d41
JM
201072013-05-04 Joseph Myers <joseph@codesourcery.com>
20108
b7dab1e4
JM
20109 * math/libm-test.inc (noXFails): Remove variable.
20110 (noXPasses): Likewise.
20111 (BUILD_COMPLEX_INT): Remove macro.
20112 (print_screen): Remove xfail argument.
20113 (print_screen_max_error): Likewise.
20114 (update_stats): Likewise.
20115 (print_max_error): Likewise. Update calls to other affected
20116 functions.
20117 (print_complex_max_error): Likewise.
20118 (test_single_exception): Update calls to print_screen.
20119 (test_single_errno): Likewise.
20120 (check_float_internal): Remove xfail argument. Update calls to
20121 other affected functions.
20122 (check_float): Likewise.
20123 (check_complex): Likewise.
20124 (check_int): Likewise.
20125 (check_long): Likewise.
20126 (check_bool): Likewise.
20127 (check_longlong): Likewise.
20128 (main): Don't print noXFails and noXPasses.
20129 * math/gen-libm-test.pl (top level): Don't mention expected
20130 failure handling in comment.
20131 (new_test): Don't handle expected failures.
20132 (parse_args): Don't mention expected failure handling in comment.
20133 (generate_testfile): Don't handle expected failures.
20134 (parse_ulps): Likewise.
20135 (print_ulps_file): Likewise.
20136 (get_failure): Remove function.
20137 (output_test): Don't handle expected failures.
20138 * make/README.libm-test: Don't mention expected failure handling.
20139
a7548d41
JM
20140 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20141 (minus_zero): Likewise.
20142 (plus_infty): Likewise.
20143 (minus_infty): Likewise.
20144 (qnan_value): Likewise.
20145 (max_value): Likewise.
20146 (min_value): Likewise.
20147 (min_subnorm_value): Likewise.
20148 (initialize): Do not initialize those variables dynamically.
20149
60bfd54c
RM
201502013-05-03 Roland McGrath <roland@hack.frob.com>
20151
cc0e6ed8
RM
20152 * io/open.c (__open_2): Moved to ...
20153 * io/open_2.c: ... this new file.
20154 * io/open64.c (__open64_2): Moved to ...
20155 * io/open64_2.c: ... this new file.
20156 * io/openat.c (__openat_2): Moved to ...
20157 * io/openat_2.c: ... this new file.
20158 * io/openat64.c (__openat64_2): Moved to ...
20159 * io/openat64_2.c: ... this new file.
20160 * io/Makefile (routines): Add them.
20161 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20162 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20163 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20164 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20165 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20166 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20167 (__openat64): Add hidden_ver.
20168 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20169 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20170
60bfd54c
RM
20171 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20172 Separately conditionalize setting of GLRO(dl_sysinfo) so
20173 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20174 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20175
83e7640f
AZ
201762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20177
20178 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20179 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20180 definition.
20181 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20182 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20183 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20184 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20185 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20186
d5dc2af3
JM
201872013-05-03 Joseph Myers <joseph@codesourcery.com>
20188
c31a5b1e
JM
20189 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20190 test signgam value.
20191
d5dc2af3
JM
20192 * math/libm-test.inc (hypot_test): Do not use
20193 IGNORE_ZERO_INF_SIGN.
20194
164fd39d
AJ
201952013-05-03 Andreas Jaeger <aj@suse.de>
20196
20197 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20198 Linux 3.9.
20199 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20200 (PF_MAX): Adjust for VSOCK change.
20201
8237f48c
AZ
202022013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20203
20204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20205
9df02941
CD
202062013-05-02 Carlos O'Donell <carlos@redhat.com>
20207
20208 [BZ #15264]
20209 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20210 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20211 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20212
d422395e
DM
202132013-05-02 David S. Miller <davem@davemloft.net>
20214
20215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20216
a07c5731
OB
202172013-05-01 Ondřej Bílka <neleai@seznam.cz>
20218
20219 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20220
1324e37f
RM
202212013-05-01 Roland McGrath <roland@hack.frob.com>
20222
20223 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20224
0695940b
RS
202252013-05-01 Richard Smith <richard@metafoo.co.uk>
20226
bb5f27ad 20227 [BZ #14952]
0695940b
RS
20228 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20229 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20230 Use __attribute__ ((__gnu_inline__)).
20231 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20232 Don't use __attribute__ ((__gnu_inline__)).
20233
10de07f5
JM
202342013-05-01 Joseph Myers <joseph@codesourcery.com>
20235
20236 [BZ #15423]
20237 * math/s_catan.c (__catan): Handle small real or imaginary part of
20238 input specially to avoid spurious underflow.
20239 * math/s_catanf.c (__catanf): Likewise.
20240 * math/s_catanh.c (__catanh): Likewise.
20241 * math/s_catanhf.c (__catanhf): Likewise.
20242 * math/s_catanhl.c (__catanhl): Likewise.
20243 * math/s_catanl.c (__catanl): Likewise.
20244 * math/libm-test.inc (catan_test): Add more tests.
20245 (catanh_test): Likewise.
20246 * sysdeps/i386/fpu/libm-test-ulps: Update.
20247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20248
cb4d5414
AZ
202492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20250
20251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20252
caf84319
JM
202532013-04-30 Joseph Myers <joseph@codesourcery.com>
20254
20255 [BZ #15416]
20256 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20257 accurately for denominator in atan2.
20258 * math/s_catanf.c (__catanf): Likewise.
20259 * math/s_catanh.c (__catanh): Likewise.
20260 * math/s_catanhf.c (__catanhf): Likewise.
20261 * math/s_catanhl.c (__catanhl): Likewise.
20262 * math/s_catanl.c (__catanl): Likewise.
20263 * math/libm-test.inc (catan_test): Add more tests.
20264 (catanh_test): Likewise.
20265 * sysdeps/i386/fpu/libm-test-ulps: Update.
20266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20267
d569c6ee
SP
202682013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20269
6dbe713d
SP
20270 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20271
f0ee064b
SP
20272 * benchtests/Makefile (bench): Remove slow benchmarks.
20273 * benchtests/atan-inputs: Add slow benchmark inputs.
20274 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20275 (BENCH_FUNC): Accept variant offset.
20276 (VARIANT): Define.
20277 * benchtests/bench-skeleton.c (main): Run benchmark for each
20278 variant.
20279 * benchtests/cos-inputs: Add slow benchmark inputs.
20280 * benchtests/exp-inputs: Likewise.
20281 * benchtests/pow-inputs: Likewise.
20282 * benchtests/sin-inputs: Likewise.
20283 * benchtests/slowatan-inputs: Remove.
20284 * benchtests/slowatan.c: Remove.
20285 * benchtests/slowcos-inputs: Remove.
20286 * benchtests/slowcos.c: Remove.
20287 * benchtests/slowexp-inputs: Remove.
20288 * benchtests/slowexp.c: Remove.
20289 * benchtests/slowpow-inputs: Remove.
20290 * benchtests/slowpow.c: Remove.
20291 * benchtests/slowsin-inputs: Remove.
20292 * benchtests/slowsin.c: Remove.
20293 * benchtests/slowtan-inputs: Remove.
20294 * benchtests/slowtan.c: Remove.
20295 * benchtests/tan-inputs: Add slow benchmark inputs.
20296 * scripts/bench.pl: Parse comments and directives.
20297
d569c6ee
SP
20298 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20299 in CPPFLAGS.
20300 ($(objpfx)bench-%.c): Remove *-ITER.
20301 * benchtests/bench-modf.c: Remove definition of ITER.
20302 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20303 (main): Loop for DURATION seconds instead of fixed number of
20304 iterations.
20305 * scripts/bench.pl: Don't expect iterations in parameters.
20306
a6a242fe
RM
203072013-04-29 Roland McGrath <roland@hack.frob.com>
20308
20309 * io/fchdir.c (__fchdir): Renamed from fchdir.
20310 (fchdir): Define as weak alias.
20311
f2da7793
JM
203122013-04-29 Joseph Myers <joseph@codesourcery.com>
20313
20314 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20315 (ERRNO_EDOM): Likewise.
20316 (ERRNO_ERANGE): Likewise.
20317 (noErrnoTests): New variable.
20318 (init_max_error): Set errno to 0.
20319 (test_single_errno): New function.
20320 (test_errno): Likewise.
20321 (check_float_internal): Call test_errno. Set errno to 0.
20322 (check_complex): Refer to errno tests in comment.
20323 (check_int): Call test_errno. Set errno to 0.
20324 (check_long): Likewise.
20325 (check_bool): Likewise.
20326 (check_longlong): Likewise.
20327 (cos_test): Use ERRNO_* flags for errno tests instead of
20328 check_int.
20329 (expm1_test): Likewise.
20330 (fmod_test): Likewise.
20331 (ilogb_test): Likewise.
20332 (lgamma_test): Likewise.
20333 (pow_test): Likewise.
20334 (remainder_test): Likewise.
20335 (sin_test): Likewise.
20336 (tan_test): Likewise.
20337 (yn_test): Likewise.
20338 (initialize): Set errno to 0.
20339 (main): Print number of errno tests.
20340 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20341
b1a36ceb
AJ
203422013-04-29 Andreas Jaeger <aj@suse.de>
20343
c3ed8088
AJ
20344 [BZ #15084]
20345 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20346 and RES_USEVC.
20347
f1a24198
AJ
20348 [BZ #15085]
20349 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20350 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20351 unimplemented.
20352
9ce3b2cb
AJ
20353 [BZ #15380]
20354 * stdlib/random.c (__initstate): Return NULL if
20355 __initstate fails.
20356
f1a24198 20357 [BZ #15086]
b1a36ceb
AJ
20358 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20359 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20360 RES_SNGLKUPREOP.
20361
7e7b6f36
AZ
203622013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20363
20364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20365
4d14f449
JM
203662013-04-29 Joseph Myers <joseph@codesourcery.com>
20367
20368 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20369 of individual tests.
20370 (casin_test): Likewise.
20371 (casinh_test): Likewise.
20372
5b4217d7
JM
203732013-04-27 Joseph Myers <joseph@codesourcery.com>
20374
20375 [BZ #15409]
20376 * math/s_catan.c (__catan): Handle arguments with large real or
20377 imaginary part separately without squaring.
20378 * math/s_catanf.c (__catanf): Likewise.
20379 * math/s_catanh.c (__catanh): Likewise.
20380 * math/s_catanhf.c (__catanhf): Likewise.
20381 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20382 and redefine.
20383 (__catanhl): Handle arguments with large real or imaginary part
20384 separately without squaring.
20385 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20386 and redefine.
20387 (__catanl): Handle arguments with large real or imaginary part
20388 separately without squaring.
20389 * math/libm-test.inc (catan_test): Add more tests.
20390 (catanh_test): Likewise.
20391 * sysdeps/i386/fpu/libm-test-ulps: Update.
20392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20393
4220c3ef
AJ
203942013-04-27 Andreas Jaeger <aj@suse.de>
20395
20396 [BZ #15007]
20397 * stdlib/stdlib.h: Update guards for qecvt.
20398 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20399 <stdlib.h>.
20400
4721b2d1
AM
204012013-04-27 Allan McRae <allan@archlinux.org>
20402
20403 * sysdeps/i386/fpu/libm-test-ulps: Update.
20404
f0302940
JM
204052013-04-26 Joseph Myers <joseph@codesourcery.com>
20406
9457fd95
JM
20407 [BZ #15406]
20408 * math/s_catan.c: Include <float.h>.
20409 (__catan): Ensure underflow exception occurs for underflowed
20410 result.
20411 * math/s_catanf.c: Include <float.h>.
20412 (__catanf): Ensure underflow exception occurs for underflowed
20413 result.
20414 * math/s_catanh.c: Include <float.h>.
20415 (__catanh): Ensure underflow exception occurs for underflowed
20416 result.
20417 * math/s_catanhf.c: Include <float.h>.
20418 (__catanhf): Ensure underflow exception occurs for underflowed
20419 result.
20420 * math/s_catanhl.c: Include <float.h>.
20421 (__catanhl): Ensure underflow exception occurs for underflowed
20422 result.
20423 * math/s_catanl.c: Include <float.h>.
20424 (__catanl): Ensure underflow exception occurs for underflowed
20425 result.
20426 * math/libm-test.inc (catan_test): Add more tests.
20427 (catanh_test): Likewise.
20428
f0302940
JM
20429 [BZ #15405]
20430 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20431 underflowed result.
20432 * math/s_ccoshf.c (__ccoshf): Likewise.
20433 * math/s_ccoshl.c (__ccoshl): Likewise.
20434 * math/s_csin.c (__csin): Likewise.
20435 * math/s_csinf.c (__csinf): Likewise.
20436 * math/s_csinh.c (__csinh): Likewise.
20437 * math/s_csinhf.c (__csinhf): Likewise.
20438 * math/s_csinhl.c (__csinhl): Likewise.
20439 * math/s_csinl.c (__csinl): Likewise.
20440 * math/libm-test.inc (ccos_test): Add more tests.
20441 (ccosh_test): Likewise.
20442 (csin_test): Likewise.
20443 (csinh_test): Likewise.
20444
aa630f59
AZ
204452013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20446
20447 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20448 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20449 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20450 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20451 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20452 powerpc/power5+/fpu folders.
20453 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20454
20455
1b835983
MT
204562013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20457
20458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20459
73709b26
JM
204602013-04-25 Joseph Myers <joseph@codesourcery.com>
20461
20462 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20463 additions to variable.
20464 [$(config-machine) = x86_64] (modules-names): Likewise.
20465 ($(objpfx)tst-audit3): Remove dependency.
20466 ($(objpfx)tst-audit3.out): Likewise.
20467 ($(objpfx)tst-audit4): Likewise.
20468 ($(objpfx)tst-audit4.out): Likewise.
20469 ($(objpfx)tst-audit5): Likewise.
20470 ($(objpfx)tst-audit5.out): Likewise.
20471 ($(objpfx)tst-audit6): Likewise.
20472 ($(objpfx)tst-audit6.out): Likewise.
20473 ($(objpfx)tst-audit7): Likewise.
20474 ($(objpfx)tst-audit7.out): Likewise.
20475 (tst-audit3-ENV): Remove variable.
20476 (tst-audit4-ENV): Likewise.
20477 (tst-audit5-ENV): Likewise.
20478 (tst-audit6-ENV): Likewise.
20479 (tst-audit7-ENV): Likewise.
20480 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20481 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20482 addition to variable.
20483 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20484 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20485 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20486 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20487 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20488 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20489 tst-audit3, tst-audit4 and tst-audit5.
20490 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20491 tst-audit6 and tst-audit7.
20492 [$(subdir) = elf] (modules-names): Add audit modules for those
20493 tests.
20494 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20495 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20496 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20497 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20498 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20499 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20500 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20501 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20502 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20503 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20504 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20505 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20506 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20507 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20508 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20509 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20510 Likewise.
20511 [$(subdir) = elf && $(config-cflags-avx) = yes]
20512 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20513 [$(subdir) = elf && $(config-cflags-avx) = yes]
20514 (CFLAGS-tst-auditmod4a.c): Likewise.
20515 [$(subdir) = elf && $(config-cflags-avx) = yes]
20516 (CFLAGS-tst-auditmod4b.c): Likewise.
20517 [$(subdir) = elf && $(config-cflags-avx) = yes]
20518 (CFLAGS-tst-auditmod6b.c): Likewise.
20519 [$(subdir) = elf && $(config-cflags-avx) = yes]
20520 (CFLAGS-tst-auditmod6c.c): Likewise.
20521 [$(subdir) = elf && $(config-cflags-avx) = yes]
20522 (CFLAGS-tst-auditmod7b.c): Likewise.
20523 * elf/tst-audit3.c: Move to ...
20524 * sysdeps/x86_64/tst-audit3.c: ... here.
20525 * elf/tst-audit4.c: Move to ...
20526 * sysdeps/x86_64/tst-audit4.c: ... here.
20527 * elf/tst-audit5.c: Move to ...
20528 * sysdeps/x86_64/tst-audit5.c: ... here.
20529 * elf/tst-audit6.c: Move to ...
20530 * sysdeps/x86_64/tst-audit6.c: ... here.
20531 * elf/tst-audit7.c: Move to ...
20532 * sysdeps/x86_64/tst-audit7.c: ... here.
20533 * elf/tst-auditmod3a.c: Move to ...
20534 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20535 * elf/tst-auditmod3b.c: Move to ...
20536 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20537 * elf/tst-auditmod4a.c: Move to ...
20538 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20539 * elf/tst-auditmod4b.c: Move to ...
20540 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20541 * elf/tst-auditmod5a.c: Move to ...
20542 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20543 * elf/tst-auditmod5b.c: Move to ...
20544 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20545 * elf/tst-auditmod6a.c: Move to ...
20546 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20547 * elf/tst-auditmod6b.c: Move to ...
20548 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20549 * elf/tst-auditmod6c.c: Move to ...
20550 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20551 * elf/tst-auditmod7a.c: Move to ...
20552 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20553 * elf/tst-auditmod7b.c: Move to ...
20554 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20555
1ef74943
PP
205562013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20557
20558 [BZ #15366]
20559 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20560 define unconditionally.
20561 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20562 define unconditionally.
20563 (INT8_C, INT16_C, etc.): Likewise.
20564
93fd48c5
MR
205652013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20566
ae9552cf
MR
20567 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20568 __ehdr_start with hidden visibility.
20569
93fd48c5
MR
20570 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20571
418601aa
CD
205722013-04-24 Carlos O'Donell <carlos@redhat.com>
20573
20574 * math/libm-test.inc (cos_test): Use accurate hex constants.
20575 (sincost_test): Likewise.
20576
2f38fbfe
JM
205772013-04-24 Joseph Myers <joseph@codesourcery.com>
20578
5e221800
JM
20579 * math/libm-test.inc (catan_test): Add more tests.
20580 (catanh_test): Likewise.
20581
77f143fd
JM
20582 * math/s_catanf.c (__catanf): Use suffixed floating-point
20583 constants.
20584 * math/s_catanhf.c (__catanhf): Likewise.
20585 * math/s_catanhl.c (__catanhl): Likewise.
20586 * math/s_catanl.c (__catanl): Likewise.
20587
2f38fbfe
JM
20588 [BZ #15394]
20589 * math/s_catan.c (__catan): Calculate imaginary part of result
20590 with log1p not log unless computing log of number close to 0.
20591 * math/s_catanf.c (__catanf): Likewise.
20592 * math/s_catanl.c (__catanl): Likewise.
20593 * math/s_catanh.c (__catanh): Calculate real part of result with
20594 log1p not log unless computing log of number close to 0.
20595 * math/s_catanhf.c (__catanhf): Likewise.
20596 * math/s_catanhl.c (__catanhl): Likewise.
20597 * math/libm-test.inc (catan_test): Add more tests.
20598 (catanh_test): Likewise.
20599 * sysdeps/i386/fpu/libm-test-ulps: Update.
20600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20601
45d69176
SP
206022013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20603
20604 * benchtests/Makefile: Mention files in which fast and slow
20605 paths of math functions are implemented.
20606
87f51853
RM
206072013-04-23 Roland McGrath <roland@hack.frob.com>
20608
20609 * sysdeps/posix/timespec_get.c: New file.
20610
3c026539
AZ
206112013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20612
20613 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20614 POWER.
20615 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20616 for POWER.
20617 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20618 powerpc/power5/fpu folders.
20619 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20620 * benchtests/Makefile: Add modf testcase.
20621 * benchtests/bench-modf.c: New file: Benchmark test for mo
20622
ff491d14
SP
206232013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20624
20625 [BZ #14888]
20626 * time/Makefile (tests): Add tst-strptime-whitespace.
20627 * time/strptime_l.c (get_number): Use ISSPACE.
20628 (__strptime_internal): Likewise.
20629 * time/tst-strptime-whitespace.c: New test case.
20630
7ed3f4e8
AS
206312013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20632
20633 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20634 member.
20635 (_nss_files_init): Set it here.
20636
5c95f7b6
HC
206372013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20638
20639 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20640 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20641 unsigned.
20642
d34c9158
JBG
206432013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20644
20645 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20646
2169712d
SP
206472013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20648
20649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20650 size just once.
20651
29c5de99
DM
206522013-04-21 David S. Miller <davem@davemloft.net>
20653
20654 * po/ru.po: Update Russion translation from translation project.
20655
ccdad15d
AC
206562013-04-17 Adam Conrad <adconrad@0c3.net>
20657
20658 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20659 and setfsgid.
20660
0f122b8d
CD
206612013-04-17 Carlos O'Donell <carlos@redhat.com>
20662
5c5b07da 20663 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20664 * configure: Regenerate.
5c5b07da 20665 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20666 Add example to error message.
20667 * sysdeps/i386/configure: Regenerate.
20668
037714dd
SP
206692013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20670
20671 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20672 slowtan.
20673 * benchtests/cos-inputs: New file.
20674 * benchtests/slowcos-inputs: New file.
20675 * benchtests/slowcos.c: New file.
20676 * benchtests/slowtan-inputs: New file.
20677 * benchtests/slowtan.c: New file.
20678 * benchtests/tan-inputs: New file.
20679
e913141d
RM
206802013-04-16 Roland McGrath <roland@hack.frob.com>
20681
20682 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20683 considered kosher.
20684
a2964074
SP
206852013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20686
4856bcd2
SP
20687 * benchtests/Makefile: Include cppflags-iterator.mk to add
20688 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20689
a2964074
SP
20690 * Makefile.in (bench-clean): New target.
20691 * benchtests/Makefile (bench-clean): Likewise.
20692
9fbf9aca
DH
206932013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20694
20695 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20696
207d1e2a
TS
206972013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20698
20699 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20700
306dfba9
AS
207012013-04-15 Andreas Schwab <schwab@suse.de>
20702
20703 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20704 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20705 * nscd/pwdcache.c (cache_addpw): Likewise.
20706 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20707 more than recsize.
20708
206a6699
SP
207092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20710
20711 * benchtests/Makefile (bench): Write all output to
20712 bench-out.tmp together.
20713
0582f6b3
AS
207142013-04-15 Andreas Schwab <schwab@suse.de>
20715
20716 * nscd/nscd.c (main): Don't fork again after closing files.
20717
acb4325f
SP
207182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20719
5cb26d0a
SP
20720 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20721
acb4325f
SP
20722 * benchtests/Rules (bench-deps): Collect dependencies into a
20723 single variable. Add Makefile to dependencies.
20724 ($(objpfx)bench-%.c): Depend on bench-deps.
20725
47792506
RM
207262013-04-12 Roland McGrath <roland@hack.frob.com>
20727 Xavier Roche <roche+kml2@exalead.com>
20728
20729 [BZ #15361]
20730 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20731 just that it's a file descriptor.
20732 * manual/llio.texi (Synchronizing AIO Operations): Update description
20733 for EBADF error from aio_fsync.
20734
8fc1bee5
SP
207352013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20736
20737 * Rules (bench): Move target definition...
20738 * benchtests/Makefile: ... here.
20739
aba5e333
CD
207402013-04-11 Carlos O'Donell <carlos@redhat.com>
20741
20742 * math/libm-test.inc (cos_test): Fix PI/2 test.
20743 (sincos_test): Likewise.
20744 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20745 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20746
273cdee8
AS
207472013-04-11 Andreas Schwab <schwab@suse.de>
20748
6ecec3b6
AS
20749 [BZ #13988]
20750 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20751 accept exponent character only when digits were seen.
20752 * stdio-common/Makefile (tests): Add bug26.
20753 * stdio-common/bug26.c: New file.
20754
273cdee8
AS
20755 [BZ #14293]
20756 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20757 non-freeable.
20758
8da491f5
SP
207592013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20760
01dc6df9
SP
20761 * Makeconfig (rtld-prefix): Define built linker prefix.
20762 * Rules (run-bench): Use it.
20763 * math/Makefile (run-regen-ulps): Likewise.
20764
8da491f5
SP
20765 * Rules (bench): Remove eval.
20766
abe7f530
SP
207672013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20768 Roland McGrath <roland@hack.frob.com>
20769 Ondrej Bilka <neleai@seznam.cz>
20770
20771 [BZ #15346]
20772 * time/getdate.c: Include ctype.h and alloca.h.
20773 (__getdate_r): Trim leading and trailing spaces of input.
20774 * time/tst-getdate.c (tests): Add tests with leading and
20775 trailing spaces.
20776
61c23e62
RM
207772013-04-08 Roland McGrath <roland@hack.frob.com>
20778
20779 [BZ #14280]
20780 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20781 when computing value.
20782
7208a313
CD
207832013-04-06 Carlos O'Donell <carlos@redhat.com>
20784
085b2d41
CD
20785 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20786 Use testrun.sh to run libm tests.
20787
7208a313
CD
20788 [BZ #15309]
20789 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20790
872c0acd
MM
207912013-04-06 Marko Myllynen <myllynen@redhat.com>
20792
20793 [BZ #15264]
20794 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20795
26510bdd
CD
207962013-04-06 Carlos O'Donell <carlos@redhat.com>
20797
20798 * Makefile.in (regen-ulps): New target.
20799 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20800 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20801 [ifneq (no,$(PERL)] (regen-ulps): New target.
20802 [ifeq (no,$(PERL)] (regen-ulps): New target.
20803 * math/libm-test.inc (ulps_file_name): Define.
20804 (output_dir): New variable.
20805 (options): Add "output-dir" option.
20806 (parse_opt): Handle 'o' case.
20807 (main): If output_dir is non-NULL use it as a prefix
20808 otherwise use "".
20809 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20810
a01f19c8
CD
208112013-04-06 Carlos O'Donell <carlos@redhat.com>
20812
20813 [BZ #10060, #10062]
20814 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20815 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20816 fail configure if __sync_val_compare_and_swap is not inlined.
20817 * sysdeps/i386/configure: Regenerate.
20818 * configure.in: Build for i686 when configured for i386.
20819 * configure: Regenerate.
20820 * README: Remove i386 reference.
20821
b7a329a5
CD
208222013-04-06 Carlos O'Donell <carlos@redhat.com>
20823
20824 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20825 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20826
bf0f50df
TS
208272013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20828
ee091edf
TS
20829 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20830 (lmsnanval): New variables.
20831 (F): Add conversion tests.
20832 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20833 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20834
a8b792d6
TS
20835 * stdio-common/tstdiomisc.c (F): Properly collect individual
20836 tests' results.
20837
a1cbf437
TS
20838 [BZ #14686, #15336]
20839 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20840 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20841 Instead, use input NaN values or generate a qNaN by arithmetic
20842 operation. Also fix bugs to comply with the standard.
20843 * math/libm-test.inc (remainder_test): Add more tests.
20844
8b43a0c9
TS
20845 [BZ #15335, #15342]
20846 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20848 input NaN values or generate a qNaN by arithmetic operation.
20849
d91da4ce
TS
20850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20851 unreachable code.
20852
bf0f50df
TS
20853 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20854 definitions.
20855
05e166c8
JM
208562013-04-03 Joseph Myers <joseph@codesourcery.com>
20857
20858 [BZ #14478]
20859 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20860 underflowed result.
20861 * math/s_cexpf.c (__cexpf): Likewise.
20862 * math/s_cexpl.c (__cexpl): Likewise.
20863 * math/libm-test.inc (cexp_test): Add more tests.
20864
1cef1b19
AS
208652013-04-03 Andreas Schwab <schwab@suse.de>
20866
20867 [BZ #15330]
20868 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20869 order arrays from heap if bigger than alloca cutoff.
20870
74d87055
TS
208712013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20872
20873 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20874 (SNAN_TESTS_double): Refer to GCC PR56831.
20875 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20876 GCC PR56828.
20877
d755bba4
SP
208782013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20879
90d5d5bb
SP
20880 * Rules (bench): Move bench.out after the run is complete.
20881
73e0cd5d
SP
20882 * Rules (bench): Echo currently running benchmark.
20883
64aabd4b
SP
20884 * benchtests/Makefile (bench): Add atan and slowatan.
20885 * benchtests/atan-inputs: New file.
20886 * benchtests/slowatan-inputs: New file.
20887 * benchtests/slowatan.c: New file.
20888
c871eccd
SP
20889 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20890 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20891 its value.
20892
d755bba4
SP
20893 [BZ #15305]
20894 * sysdeps/unix/sysv/linux/kernel-features.h
20895 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20896 __ASSUME_XFS_RESTRICTED_CHOWN.
20897 * sysdeps/unix/sysv/linux/pathconf.c
20898 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20899 Save and restore errno.
20900
52ce4860
JM
209012013-04-02 Joseph Myers <joseph@codesourcery.com>
20902
20903 [BZ #15327]
20904 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20905 arguments using __kernel_casinh.
20906 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20907 arguments using __kernel_casinhf.
20908 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20909 arguments using __kernel_casinhl.
20910 * math/libm-test.inc (cacosh_test): Add more tests.
20911 * sysdeps/i386/fpu/libm-test-ulps: Update.
20912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20913
81f311c2
SP
209142013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20915
e7906a47
SP
20916 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20918
92e3664b
SP
20919 * bench/Makefile (bench): Add sin and slowsin.
20920 * benchtests/sin-inputs: New file.
20921 * benchtests/slowsin-inputs: New file.
20922 * benchtests/slowsin.c: New file.
20923
81f311c2
SP
20924 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20925 (bench): Add slowexp and slowpow.
20926 (exp-ITER): Increase iterations.
20927 (pow-ITER): Likewise.
20928 * benchtests/exp-inputs: Change input.
20929 * benchtests/pow-inputs: Likewise.
20930 * benchtests/slowexp-inputs: New file.
20931 * benchtests/slowexp.c: New file.
20932 * benchtests/slowpow-inputs: New file.
20933 * benchtests/slowpow.c: New file.
20934
ab0f1aa9
AZ
209352013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20936
20937 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20938 instructions.
20939 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20940 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20941 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20942 * benchtests/Makefile: Add rint benchtest.
20943 * benchtests/rint-inputs: Input for rint benchtest.
20944
57267616
TS
209452013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20946
20947 * Versions.def (libm): Add GLIBC_2.18.
20948 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20949 hidden libm prototypes.
20950 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20951 * math/Makefile (libm-calls): Add s_issignaling.
20952 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20953 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20954 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20955 declaration.
20956 * math/math.h [__USE_GNU] (issignaling): New macro.
20957 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20958 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20960 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20963 * manual/arith.texi (issignaling): New section.
20964 * manual/libm-err-tab.pl (@all_functions): Update comment.
20965 * math/gen-libm-test.pl (parse_args): Apply special handling for
20966 issignaling.
20967 * math/libm-test.inc (print_float, issignaling_test): New
20968 functions.
20969 (check_float_internal): Add issignaling checks.
20970 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20971 default definition.
20972 * sysdeps/powerpc/math-tests.h: New file.
20973 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20974 tests.
20975 * math/test-snan.c (TEST_FUNC): Likewise.
20976
6142896d
DM
209772013-03-30 David S. Miller <davem@davemloft.net>
20978
20979 * po/de.po: Update from translation team.
20980
ccc8cadf
JM
209812013-03-30 Joseph Myers <joseph@codesourcery.com>
20982
20983 [BZ #10357]
20984 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20985 imaginary part less than 1.0 and real part less than 0.5
20986 specially.
20987 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20988 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20989 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20990 (cacos_test): Add more tests.
20991 (casin_test): Likewise.
20992 (casinh_test): Likewise.
20993 * sysdeps/i386/fpu/libm-test-ulps: Update.
20994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20995
0f6a8d4b
SP
209962013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20997
0d1029de
SP
20998 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20999 ONE with its value.
21000
c2d94018
SP
21001 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21002 (__pow_mp): Replace ONE and MONE with their values.
21003 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21004 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21005 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21006 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21007 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21008 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21009
27ec37f1
SP
21010 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21011
a64d7e0e
SP
21012 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21013 (__pow_mp): Replace ZERO and MZERO with their values.
21014 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21016 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21018 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21019 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21020 (__sqr): Likewise.
21021
d26dd3eb
SP
21022 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21023
0f6a8d4b
SP
21024 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21025
e57b0c61
RM
210262013-03-28 Roland McGrath <roland@hack.frob.com>
21027
21028 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21029 Declare with __attribute__ ((weak)).
21030 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21031 Call __call_tls_dtors only if it's not NULL.
21032
356b3480
RM
210332013-03-28 Roland McGrath <roland@hack.frob.com>
21034
288f7d79
RM
21035 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21036 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21037 magic __ehdr_start linker symbol if it's defined.
21038 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21039 them up here if it was already done.
21040
dc0a0263
RM
21041 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21042 (_dl_aux_init): Use const in cast when setting it.
21043 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21044 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21045 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21046
3d3436ae
RM
21047 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21048 Declare them here.
21049 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21050 * csu/libc-tls.c: Nor here.
21051 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21052
356b3480
RM
21053 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21054 (__libc_message): Never call vsyslog.
21055
b0f1246a
AM
210562013-03-28 Alan Modra <amodra@gmail.com>
21057
21058 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21059 Define as empty.
21060 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21061 Likewise.
21062
fbbe2b9a
AZ
210632013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21064
21065 [BZ #15214]
21066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21067 underflow.
21068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21069
1728ab37
SP
210702013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21071
7a86be6e
SP
21072 [BZ #15304]
21073 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21074 Don't add gid passed as argument.
21075
1728ab37
SP
21076 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21077
3a7182a1
JM
210782013-03-27 Joseph Myers <joseph@codesourcery.com>
21079
21080 [BZ #15307]
21081 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21082 imaginary part between 1.0 and 1.5 and real part less than 0.5
21083 specially.
21084 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21085 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21086 * math/libm-test.inc (cacos_test): Add more tests.
21087 (casin_test): Likewise.
21088 (casinh_test): Likewise.
21089 * sysdeps/i386/fpu/libm-test-ulps: Update.
21090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21091
6f2e90e7
SP
210922013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21093
5739f705
SP
21094 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21095 constants.
21096 (norm): Likewise.
21097 (denorm): Likewise.
21098 (__dbl_mp): Likewise.
21099 (add_magnitudes): Likewise.
21100 (sub_magnitudes): Likewise.
21101 (__add): Likewise.
21102 (__sub): Likewise.
21103 (__mul): Likewise.
21104 (__sqr): Likewise.
21105 (__inv): Likewise.
21106 (__dvd): Likewise.
21107
e375e83d
SP
21108 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21109 commented code.
21110 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21111 (__dubcos): Likewise.
21112 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21113 (__ieee754_acos): Likewise.
21114 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21115 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21116 (__exp1): Likewise.
21117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21119 (log1): Likewise.
21120 (my_log2): Likewise.
21121 (checkint): Likewise.
21122 * sysdeps/ieee754/dbl-64/e_remainder.c
21123 (__ieee754_remainder): Likewise.
21124 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21126 (bsloww): Likewise.
21127 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21128
6f2e90e7
SP
21129 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21130 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21131 MANTISSA_STORE_T to store computations on mantissa. Use
21132 macros for rounding and division.
21133 (denorm): Likewise.
21134 (__dbl_mp): Likewise.
21135 (add_magnitudes): Likewise.
21136 (sub_magnitudes): Likewise.
21137 (__mul): Likewise.
21138 (__sqr): Likewise.
21139 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21140 powers of two in terms of TWOPOW macro.
21141 (mp_no): Make type of mantissa as MANTISSA_T.
21142 [!RADIXI]: Define RADIXI.
21143 [!TWO52]: Define TWO52.
21144 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21145
fce14d4e
AZ
211462013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21147
21148 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21149 llroundl symbol when building for PPC32.
21150
9ad027fb
MW
211512013-03-24 Mark H Weaver <mhw@netris.org>
21152
21153 * manual/arith.texi (Normalization Functions): Fix prototypes for
21154 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21155
e42a38dd
AZ
211562013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21157
21158 [BZ #13889]
21159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21160 high value to check if expl overflow.
21161 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21162 to check for underflow and overflow.
21163 * math/libm-test.inc: Add exp test.
21164
2e0fb521
DL
211652013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21166
21167 [BZ #11120]
21168 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21169 with NOT_IN_libc.
21170
b5784d95
AZ
211712013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21172
21173 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21174 symbol.
21175
5aa4a1a1
TS
211762013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21177
bdef0be7
TS
21178 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21179 wrap blocks consisting of several statements.
21180
5aa4a1a1
TS
21181 * sysdeps/generic/math-tests.h: New file.
21182 * sysdeps/i386/fpu/math-tests.h: Likewise.
21183 * math/test-snan.c: Include it.
21184 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21185
98c48fe5
JM
211862013-03-21 Joseph Myers <joseph@codesourcery.com>
21187
21188 [BZ #15285]
21189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21190 (__ieee754_j0l): Do not improve calculations using cos of twice
21191 input for inputs above LDBL_MAX / 2.0L.
21192 (__ieee754_y0l): Likewise.
21193 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21194 (__ieee754_j1l): Do not improve calculations using cos of twice
21195 input for inputs above LDBL_MAX / 2.0L.
21196 (__ieee754_y1l): Likewise.
21197 * math/libm-test.inc (j0_test): Add another test.
21198 (j1_test): Likewise.
21199 (y0_test): Likewise.
21200 (y1_test): Likewise.
21201 * sysdeps/i386/fpu/libm-test-ulps: Update.
21202
3775a8bc
SP
212032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21204
21205 * Rules ($(objpfx)bench-%.c): Include code from a C source
21206 file.
21207
0a1b2ae6
JM
212082013-03-21 Joseph Myers <joseph@codesourcery.com>
21209
21210 [BZ #15287]
21211 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21212 imaginary part 1.0 and real part less than 0.5 specially.
21213 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21214 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21215 * math/libm-test.inc (cacos_test): Add more tests.
21216 (casin_test): Likewise.
21217 (casinh_test): Likewise.
21218 * sysdeps/i386/fpu/libm-test-ulps: Update.
21219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21220
b33d4ce4
SP
212212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21222
21223 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21224 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21225
bef0b507
JM
212262013-03-20 Joseph Myers <joseph@codesourcery.com>
21227
21228 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21229 * config.make.in (config-cflags-sse4): Remove variable.
21230 (config-cflags-avx): Likewise.
21231 (config-cflags-sse2avx): Likewise.
21232 (config-cflags-novzeroupper): Likewise.
21233 (config-asflags-i686): Likewise.
21234 (have-mfma4): Likewise.
21235 (have-as-vis3): Likewise.
21236 (MIG): Likewise.
21237 * configure.in (MIG): Do not AC_SUBST.
21238 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21239 (libc_cv_cc_sse4): Do not AC_SUBST.
21240 (libc_cv_cc_avx): Likewise.
21241 (libc_cv_cc_sse2avx): Likewise.
21242 (libc_cv_cc_novzeroupper): Likewise.
21243 (libc_cv_cc_fma4): Likewise.
21244 (libc_cv_as_i686): Likewise.
21245 (libc_cv_sparc_as_vis3): Likewise.
21246 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21247 LIBC_CONFIG_VAR.
21248 (config-asflags-i686): Likewise.
21249 (config-cflags-avx): Likewise.
21250 (config-cflags-sse2avx): Likewise.
21251 (have-mfma4): Likewise.
21252 (config-cflags-novzeroupper): Likewise.
21253 * sysdeps/mach/configure.in (MIG): Likewise.
21254 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21255 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21256 LIBC_CONFIG_VAR.
21257 (config-cflags-avx): Likewise.
21258 (config-cflags-sse2avx): Likewise.
21259 (have-mfma4): Likewise.
21260 (config-cflags-novzeroupper): Likewise.
21261 * configure: Regenerated.
21262 * sysdeps/i386/configure: Likewise.
21263 * sysdeps/mach/configure: Likewise.
21264 * sysdeps/sparc/configure: Likewise.
21265 * sysdeps/x86_64/configure: Likewise.
21266
912cc4b3
RM
212672013-03-20 Roland McGrath <roland@hack.frob.com>
21268
21269 [BZ #14812]
21270 * locale/programs/localedef.c (options): Put N_ translation marker
21271 on argument names, not just descriptions.
21272
04eed2b0
MS
212732013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21274
21275 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21276
a065ceff
OB
212772013-03-20 Ondřej Bílka <neleai@seznam.cz>
21278
9bb2a810 21279 [BZ #14176]
a065ceff
OB
21280 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21281
a600e5ce
RM
212822013-03-19 Roland McGrath <roland@hack.frob.com>
21283
21284 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21285 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21286 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21287 [!BEFORE_ABORT] (before_abort): New function.
21288 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21289 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21290 (writev_for_fatal): New function.
21291 (WRITEV_FOR_FATAL): New macro; call that.
21292 (backtrace_and_maps): New function.
21293 (BEFORE_ABORT): New macro; call that.
21294 (struct str_list): Type removed.
21295 (__libc_message, __libc_fatal): Functions removed.
21296 Include <sysdeps/posix/libc_fatal.c> instead.
21297
6b18bea6
JM
212982013-03-19 Joseph Myers <joseph@codesourcery.com>
21299
21300 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21301 constants.
21302 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21303 double constants.
21304
aaa8cb4b
AS
213052013-03-19 Andreas Schwab <schwab@suse.de>
21306
44673770
AS
21307 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21308 * sysdeps/gnu/configure: Regenerate.
21309
aaa8cb4b
AS
21310 * configure.in: Substitute libc_cv_rtlddir.
21311 * configure: Regenerate.
21312 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21313 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21314 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21315 * elf/Makefile (install-others, CFLAGS-interp.c)
21316 (ldso_install, common-ldd-rewrite): Likewise.
21317 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21318 $(inst_slibdir)/$(rtld-installed-name).
21319 * scripts/rellns-sh: Add -p option.
21320 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21321 for source.
21322
d3cfc668
SP
213232013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21324
21325 * manual/nptl.texi: Renamed to ...
21326 * manual/threads.texi: ... this.
21327 * manual/Makefile (chapters): Update.
21328
0e2b9cdd
RM
213292013-03-18 Roland McGrath <roland@hack.frob.com>
21330
21331 [BZ #14812]
21332 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21333 on argument names, not just descriptions.
0e2b9cdd
RM
21334 * malloc/memusagestat.c (options): Likewise.
21335 * nss/getent.c (options): Likewise.
63270c24
RM
21336
213372013-03-18 Benno Schulenberg <bensberg@justemail.net>
21338
21339 [BZ #14812]
21340 * iconv/iconv_prog.c (options): Put N_ translation marker
21341 on argument names, not just descriptions.
21342 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21343
b2e1393c
OB
213442013-03-18 Ondrej Bilka <neleai@seznam.cz>
21345
21346 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21347 implementation which is faster on all x86_64 architectures.
21348 Tested on AMD, Intel Nehalem, SNB, IVB.
21349 * sysdeps/x86_64/strnlen.S: Likewise.
21350
21351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21352 Remove all multiarch strlen and strnlen versions.
21353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21354 Remove strlen and strnlen related parts.
21355
21356 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21357 Inline strlen part.
21358 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21359
21360 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21361 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21362 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21363 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21364 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21365 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21366
ec4ff04d
CD
213672013-03-17 Carlos O'Donell <carlos@redhat.com>
21368
21369 * manual/memory.texi (Malloc Tunable Parameters):
21370 Sort parameters alphabetically. Add comments for missing entries.
21371
cd18e90a
DM
213722013-03-17 David S. Miller <davem@davemloft.net>
21373
21374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21375
2a185d32
JM
213762013-03-16 Joseph Myers <joseph@codesourcery.com>
21377
d2f9799e
JM
21378 [BZ #15283]
21379 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21380 for arguments at most half maximum finite value.
21381 * math/libm-test.inc (j0_test): Add more tests.
21382 (j1_test): Likewise.
21383 (y0_test): Likewise.
21384 (y1_test): Likewise.
21385 * sysdeps/i386/fpu/libm-test-ulps: Update.
21386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21387
2a185d32
JM
21388 [BZ #14155]
21389 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21390 1 / x and functions P and Q for arguments above 0x1p256L.
21391 (__ieee754_y0l): Likewise.
21392 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21393 (__ieee754_y1l): Likewise.
21394 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21395 (j1_test): Likewise.
21396 (y0_test): Likewise.
21397 (y1_test): Likewise.
21398
6cbec759
TS
213992013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21400
21401 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21402 variable.
21403
bc16e260
RM
214042013-03-15 Roland McGrath <roland@hack.frob.com>
21405
aefc9b8c
RM
21406 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21407 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21408 zero since it's initialized to EXEC_PAGESIZE.
21409
bc16e260
RM
21410 * sysdeps/unix/sysv/linux/ldsodefs.h
21411 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21412 * sysdeps/generic/ldsodefs.h: ... here.
21413
a57da955
TS
214142013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21415
af00a34d
TS
21416 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21417
495ded2c
TS
21418 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21419 math/test-snan.c.
21420 * math/test-snan.c: Renamed from
21421 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21422 * math/Makefile (tests): Add test-snan.
21423 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21424 test-powerpc-snan.
21425
777b0332
TS
21426 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21427 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21428 functions.
21429 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21430 __builtin_nan family of functions.
21431 * math/libm-test.inc (initialize): Initialize qnan_value with
21432 __builtin_nan family of functions.
21433 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21434 Remove variables.
21435 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21436 Remove functions.
21437 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21438 storage class. Initialize qNaN_var and sNaN_var with
21439 __builtin_nan and __builtin_nans families of functions,
21440 respectively.
21441
64d063b8
TS
21442 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21443 (sqrt_test): Remove duplicate test with qNaN input.
21444 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21445 (round_test, signbit_test, significand_test): Note missing +/-Inf
21446 as well as qNaN tests.
21447
67e971f1
TS
21448 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21449 qNaN_var. Fix a few strings, too.
21450 * math/libm-test.inc (nan_value): Rename to qnan_value.
21451 * math/gen-libm-test.pl (%beautify): Adjust to that.
21452 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21453 * math/test-misc.c (main): Likewise.
21454 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21455 to __qnan_bytes, and __qnan_union, respectively.
21456 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21457 Likewise.
21458 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21459 and lqnanval, respectively.
21460 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21461 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21462 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21463 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21464
64487e12
TS
21465 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21466 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21467 doubles.
21468
e015e27b
TS
21469 * math/test-misc.c (main): Fix copy'n'pastos.
21470 * misc/tst-efgcvt.c (special): Likewise.
21471
a57da955
TS
21472 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21473 Remove declarations.
21474
1e380345
SP
214752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21476
21477 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21478 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21479 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21480 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21481
ef26eece
AZ
214822013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21483
21484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21485 macro to return vdso values correctly in IFUNC implementations.
21486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21487 Optimization by using IFUNC.
21488
8cfdb7e0
SP
214892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21490 Richard Henderson <rth@redhat.com>
21491 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21492
21493 * Makefile.in (bench): New target.
21494 * NEWS: Mention the benchmark framework.
21495 * Rules (bench): Likewise.
21496 (binaries-bench): Generate binaries for functions to
21497 benchmark.
21498 * benchtests/Makefile: New makefile for benchmark tests.
21499 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21500 programs.
21501 * benchtests/exp-inputs: New input file for EXP function.
21502 * benchtests/pow-inputs: New input file for POW function.
21503 * scripts/bench.pl: New script to generate source files for
21504 benchmark programs.
21505
bcda9880
SP
215062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21507
d22ca8cd
SP
21508 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21509 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21510 computations on mantissa. Use macros for rounding and
21511 division.
21512 (denorm): Likewise.
21513 (__dbl_mp): Likewise.
21514 (add_magnitudes): Likewise.
21515 (sub_magnitudes): Likewise.
21516 (__mul): Likewise.
21517 (__sqr): Likewise.
21518 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21519 powers of two in terms of TWOPOW macro.
21520 (mp_no): Make type of mantissa as MANTISSA_T.
21521 [!RADIXI]: Define RADIXI.
21522 [!TWO52]: Define TWO52.
21523 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21524
bcda9880
SP
21525 * manual/nptl.texi (cindex): Modify threads to pthreads.
21526
06d5adfb
JM
215272013-03-15 Joseph Myers <joseph@codesourcery.com>
21528
21529 * sysdeps/x86_64/preconfigure: Regenerated.
21530
41c7328e
JM
215312013-03-14 Joseph Myers <joseph@codesourcery.com>
21532
21533 [BZ #14155]
21534 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21535 0x1p28 and above.
21536 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21537 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21538 0x1p28 and above.
21539 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21540 * math/libm-test.inc (j0_test): Do not allow one spurious
21541 underflow exception.
21542 (y1_test): Likewise.
21543
e25cfa60
SP
215442013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21545
0409959c
SP
21546 * manual/Makefile (chapters): Add nptl.
21547 * manual/debug.texi (Debugging Support): Add link to Threads
21548 chapter.
21549 * manual/nptl.texi: New file.
21550
e25cfa60
SP
21551 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21552
58a1335e
PB
215532013-03-14 Petr Baudis <pasky@ucw.cz>
21554
21555 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21556 for non-NULL pointer before the memory validity test. Pointed
21557 out by Holger Brunck <holger.brunck@keymile.com>.
21558
9dc7c64f
AS
215592013-03-13 Andreas Schwab <schwab@suse.de>
21560
21561 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21562 instead of .os.
21563
54206aa6
JM
215642013-03-13 Joseph Myers <joseph@codesourcery.com>
21565
21566 * timezone/zic.c: Update from tzcode 2013b.
21567
e98cdb38
CD
215682013-03-12 Carlos O'Donell <carlos@redhat.com>
21569
21570 * manual/install.texi (Configuring and compiling):
21571 Mention i686 and i586.
21572 * INSTALL: Regenerate.
21573
9967e003
RM
215742013-03-12 Roland McGrath <roland@hack.frob.com>
21575
21576 * sysdeps/init_array/elf-init.c: New file.
21577 * csu/elf-init.c
21578 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21579 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21580
21581 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21582 __gmon_start__ as global, but as static with a .preinit_array pointer.
21583 * sysdeps/init_array/gmon-start.c: New file. Use that.
21584 * sysdeps/init_array/crti.S: New file, empty except for comments.
21585 * sysdeps/init_array/crtn.S: Likewise.
21586
e6b5a293 215872013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21588
21589 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21590 definining bcopy.
80f844c9
OB
21591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21592 Remove Prefer_SSE_for_memop.
21593 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21594 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21595 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21597 memset-x86-64.
80f844c9 21598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21599 Remove bzero, memset ifunc support.
80f844c9
OB
21600 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21601 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21602 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21603 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21604
fb6b0fcb
AS
216052013-03-11 Andreas Schwab <schwab@suse.de>
21606
21607 [BZ #15234]
21608 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21609 by SHLIB_COMPAT.
21610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21611 (GLIBC_2.16): Remove pthread_atfork.
21612
3e6bd4b1
PP
216132013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21614
21615 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21616 (ptestcases.h): Likewise.
21617
222d7f00
RM
216182013-03-08 Roland McGrath <roland@hack.frob.com>
21619
21620 * Makeconfig ($(common-objpfx)config.status): Depend on
21621 sysdeps/*/preconfigure{,.in} too.
21622
1ba4f030
JM
216232013-03-08 Joseph Myers <joseph@codesourcery.com>
21624
a222d91a
JM
21625 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21626 (__free_hook): Use void * instead of __malloc_ptr_t.
21627 (__malloc_hook): Likewise.
21628 (__realloc_hook): Likewise.
21629 (__memalign_hook): Likewise.
21630 (__after_morecore_hook): Likewise.
21631 * malloc/arena.c (save_malloc_hook): Likewise.
21632 (save_free_hook): Likewise.
21633 * malloc/hooks.c (malloc_hook_ini): Likewise.
21634 (realloc_hook_ini): Likewise.
21635 (memalign_hook_ini): Likewise.
21636 * malloc/malloc.c (malloc_hook_ini): Likewise.
21637 (realloc_hook_ini): Likewise.
21638 (memalign_hook_ini): Likewise.
21639 (__free_hook): Likewise.
21640 (__malloc_hook): Likewise.
21641 (__realloc_hook): Likewise.
21642 (__memalign_hook): Likewise.
21643 (__libc_malloc): Likewise.
21644 (__libc_free): Likewise.
21645 (__libc_realloc): Likewise.
21646 (__libc_memalign): Likewise.
21647 (__libc_valloc): Likewise.
21648 (__libc_pvalloc): Likewise.
21649 (__libc_calloc): Likewise.
21650 (__posix_memalign): Likewise.
21651 * malloc/morecore.c (__sbrk): Likewise.
21652 (__default_morecore): Likewise.
21653
5cc45e10
JM
21654 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21655
dd54b864
JM
21656 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21657 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21658 __malloc_ptrdiff_t.
21659
1ba4f030
JM
21660 * malloc/malloc.h (__malloc_size_t): Remove macro.
21661 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21662 __malloc_size_t.
21663 (old_memalign_hook): Likewise.
21664 (old_realloc_hook): Likewise.
21665 (struct hdr): Likewise.
21666 (flood): Likewise.
21667 (mallochook): Likewise.
21668 (memalignhook): Likewise.
21669 (reallochook): Likewise.
21670 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21671 (tr_old_realloc_hook): Likewise.
21672 (tr_old_memalign_hook): Likewise.
21673 (tr_mallochook): Likewise.
21674 (tr_reallochook): Likewise.
21675 (tr_memalignhook): Likewise.
21676
edf66e57
AZ
216772013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21678
21679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21680 default_ldbl_pack and using as default implementation.
21681 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21682 implementation.
21683 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21684 redundant definition.
21685 (ldbl_insert_mantissa): Likewise.
21686 (ldbl_canonicalize): Likewise.
21687 (ldbl_nearbyint): Likewise.
21688 (ldbl_pack): Rename to ldbl_pack_ppc.
21689 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21690 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21691 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21692
6d9145d8
SP
216932013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21694
21695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21696 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21697 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21698 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21700 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21701 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21702 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21703
4dd4e157
AJ
217042013-03-07 Andreas Jaeger <aj@suse.de>
21705
21706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21707 bits/mman-linux.h.
21708
adbb8027
SP
217092013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21710
ce544b5b
SP
21711 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21712 Include mpa.h and declare __MPEXP.
21713 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21714 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21715 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21716 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21717 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21718 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21719 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21720
4cc149fd
SP
21721 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21722 (__slowpow): Use long double EXPL and LOGL functions to
21723 compute POW.
21724 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21725 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21726 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21727 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21728 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21729 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21730
e6ebd4a7
SP
21731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21732 intermediate variable to calculate exponent.
21733 (__sqr): Likewise.
21734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21735 Likewise.
21736 (__sqr): Likewise.
21737
82a9811d
SP
21738 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21739 [!NO__SQR]: Define __sqr.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21741 and NO__SQR. Remove all code except __mul and __sqr. Include
21742 sysdeps/ieee754/dbl-64/mpa.c.
21743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21744
adbb8027
SP
21745 [BZ #12723]
21746 * posix/Makefile (tests): Add tst-pathconf.
21747 * posix/tst-pathconf.c: New test case.
21748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21749 _PC_PIPE_BUF.
21750 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21751
39120df9
PF
217522013-03-06 Patsy Franklin <pfrankli@redhat.com>
21753
21754 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21755
67525cb8
AJ
217562013-03-06 Andreas Jaeger <aj@suse.de>
21757
664a9ce4
AJ
21758 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21759 definition via __MAP_ANONYMOUS.
21760
8e39047d
AJ
21761 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21762 it's not part of Linux headers.
21763
67525cb8
AJ
21764 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21765 (MAP_HUGE_MASK): Define.
21766
21767 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21768 Define.
21769 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21771 Define.
21772 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21773 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21774 Define.
21775 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21777 Define.
21778 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21779
21780 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21781 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21782 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21783 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21784 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21785 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21786
21787 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21788 Handle f2fs.
21789
21790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21791 Handle f2fs and efivarfs.
21792
21793 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21794 f2fs.
21795
21796 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21797 (EFIVARFS_MAGIC): Add.
21798 (F2FS_LINK_MAX): Add.
21799
e1b42695
PP
218002013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21801
21802 * stdio-common/vfprintf.c: Replace __builtin_expect with
21803 __glibc_unlikely.
21804
2d67d91a
JM
218052013-03-06 Joseph Myers <joseph@codesourcery.com>
21806
21807 [BZ #13550]
21808 * sysdeps/generic/bp-sym.h: Remove file.
21809 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21810 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21811 <bp-sym.h> and <bp-asm.h>.
21812 (__longjmp): Don't use BP_SYM.
21813 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21814 and <bp-asm.h>.
21815 (memcpy): Don't use BP_SYM.
21816 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21817 <bp-sym.h> and <bp-asm.h>.
21818 (memcpy): Don't use BP_SYM.
21819 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21820 <bp-asm.h>.
21821 (memcpy): Don't use BP_SYM.
21822 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21823 <bp-asm.h>.
21824 (memset): Don't use BP_SYM.
21825 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21826 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21827 (__bzero): Don't use BP_SYM.
21828 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21829 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21830 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21831 <bp-sym.h> and <bp-asm.h>.
21832 (memcmp): Don't use BP_SYM. Remove comment about bounded
21833 pointers.
21834 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21835 <bp-sym.h> and <bp-asm.h>.
21836 (memcpy): Don't use BP_SYM.
21837 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21838 <bp-sym.h> and <bp-asm.h>.
21839 (memset): Don't use BP_SYM.
21840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21842 (__bzero): Don't use BP_SYM.
21843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21846 <bp-sym.h> and <bp-asm.h>.
21847 (strncmp): Don't use BP_SYM. Remove comment about bounded
21848 pointers.
21849 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21850 <bp-sym.h> and <bp-asm.h>.
21851 (memcpy): Don't use BP_SYM.
21852 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21853 <bp-sym.h> and <bp-asm.h>.
21854 (memset): Don't use BP_SYM.
21855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21857 (__bzero): Don't use BP_SYM.
21858 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21859 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21861 <bp-sym.h> and <bp-asm.h>.
21862 (__memchr): Don't use BP_SYM.
21863 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21864 <bp-sym.h> and <bp-asm.h>.
21865 (memcmp): Don't use BP_SYM. Remove comment about bounded
21866 pointers.
21867 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21868 <bp-sym.h> and <bp-asm.h>.
21869 (memcpy): Don't use BP_SYM.
21870 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21871 <bp-sym.h> and <bp-asm.h>.
21872 (__mempcpy): Don't use BP_SYM.
21873 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21874 <bp-sym.h> and <bp-asm.h>.
21875 (__memrchr): Don't use BP_SYM.
21876 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (memset): Don't use BP_SYM.
21879 (__bzero): Likewise.
21880 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21881 <bp-sym.h> and <bp-asm.h>.
21882 (__rawmemchr): Don't use BP_SYM.
21883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21884 <bp-sym.h> and <bp-asm.h>.
21885 (__STRCMP): Don't use BP_SYM.
21886 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21887 <bp-sym.h> and <bp-asm.h>.
21888 (strchr): Don't use BP_SYM.
21889 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21890 <bp-sym.h> and <bp-asm.h>.
21891 (__strchrnul): Don't use BP_SYM.
21892 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21893 <bp-sym.h> and <bp-asm.h>.
21894 (strlen): Don't use BP_SYM.
21895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21896 <bp-sym.h> and <bp-asm.h>.
21897 (strncmp): Don't use BP_SYM. Remove comment about bounded
21898 pointers.
21899 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21900 <bp-sym.h> and <bp-asm.h>.
21901 (__strnlen): Don't use BP_SYM.
21902 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21903 <bp-sym.h> and <bp-asm.h>.
21904 (__GI__setjmp): Don't use BP_SYM.
21905 (_setjmp): Likewise.
21906 (__sigsetjmp): Likewise.
21907 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21908 (L(start_addresses)): Don't use BP_SYM.
21909 (_start): Likewise.
21910 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21911 <bp-asm.h>.
21912 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21913 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21914 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21915 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21916 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21917 <bp-asm.h>.
21918 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21919 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21920 about bounded pointers.
21921 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21922 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21923 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21924 <bp-asm.h>.
21925 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21926 about bounded pointers. Remove GKM FIXME comments.
21927 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21928 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21929 <bp-asm.h>.
21930 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21931 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21932 Remove GKM FIXME comments.
21933 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21934 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21935 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21936 <bp-asm.h>.
21937 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21938 about bounded pointers. Remove GKM FIXME comment.
21939 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21940 and <bp-asm.h>.
21941 (strncmp): Don't use BP_SYM. Remove comment about bounded
21942 pointers.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21944 <bp-sym.h> and <bp-asm.h>.
21945 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21947 <bp-sym.h> and <bp-asm.h>.
21948 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21949 comment.
21950
cdcf361f
PP
219512013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21952
21953 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21954 call free(NULL).
21955
3c4a2b15
DM
219562013-03-05 David S. Miller <davem@davemloft.net>
21957
21958 * po/es.po: Update from translation team.
21959
cdcf361f 219602013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21961
21962 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21963 <bits/mman-linux.h>.
21964 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21965 is fine.
21966 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21967 <bits/mman-linux.h> to end of file.
21968 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21969 is fine.
21970 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21971 <bits/mman-linux.h> to end of file.
21972 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21973 is fine.
21974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21975 <bits/mman-linux.h> to end of file.
21976
21977 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21978 (MCL_CURRENT, MCL_FUTURE): Define here.
21979
5f67c04f
AK
219802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21981
8a4473cc 21982 [BZ #15232]
5f67c04f
AK
21983 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21984 attribute_hidden.
21985 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21986
c3e94a95
AK
219872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21988
21989 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21990 fourth parameter needed for rt_sigprocmask syscall.
21991 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21992 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21993 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21994 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21995 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21996 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21997
cfb6382a
JM
219982013-03-04 Joseph Myers <joseph@codesourcery.com>
21999
22000 [BZ #13550]
22001 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22002 comment about bounded pointers.
22003 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22004 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22005
539d8e01
AJ
220062013-03-04 Andreas Jaeger <aj@suse.de>
22007
22008 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22009 common definitions.
22010
22011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22012 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22013 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22014 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22017
2e167a70 220182013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22019
22020 [BZ #15055]
22021 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22022 __ieee754_sqrl instead of __sqrl.
22023
68508633
JM
220242013-03-01 Joseph Myers <joseph@codesourcery.com>
22025
22026 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22027 * sysdeps/powerpc/fpu_control.h: ... here.
22028 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22029 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22030 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22031 * sysdeps/powerpc/bits/mathinline.h: ... here.
22032
7775448e
RM
220332013-03-01 Roland McGrath <roland@hack.frob.com>
22034
22035 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22036 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22037 to just [NEED_DL_SYSINFO_DSO].
22038 * elf/dl-support.c: Likewise.
22039 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22040 * elf/rtld.c (dl_main): Likewise.
22041 * elf/setup-vdso.h (setup_vdso): Likewise.
22042 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22043 * sysdeps/unix/sysv/linux/dl-sysdep.c
22044 (_dl_discover_osversion): Likewise.
22045
4e9b5995
CD
220462013-03-01 Carlos O'Donell <carlos@redhat.com>
22047
22048 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22049 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22050
e23872c8
SP
220512013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22052
e5c74c63
SP
22053 * NEWS: Mention libm performance improvements and non-x86 PI
22054 futex support.
22055
e23872c8
SP
22056 * csu/libc-start.c (__pthread_initialize_minimal): Change
22057 function arguments.
22058 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22059
b5510883
JM
220602013-02-28 Joseph Myers <joseph@codesourcery.com>
22061
22062 [BZ #13550]
22063 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22064 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22065 <bp-sym.h> and <bp-asm.h>.
22066 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22067 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22068 and <bp-asm.h>.
22069 (memcpy): Don't use BP_SYM.
22070 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22071 <bp-asm.h>.
22072 (__mpn_add_n): Don't use BP_SYM.
22073 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22074 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22075 and <bp-asm.h>.
22076 (__mpn_addmul_1): Don't use BP_SYM.
22077 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22078 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22079 <bp-sym.h>.
22080 (_setjmp): Don't use BP_SYM.
22081 (__novmx_setjmp): Likewise.
22082 (__GI__setjmp): Likewise.
22083 (__vmx_setjmp): Likewise.
22084 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22085 <bp-sym.h>.
22086 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22087 (__bzero): Don't use BP_SYM.
22088 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22089 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22090 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22091 <bp-sym.h> and <bp-asm.h>.
22092 (memcpy): Don't use BP_SYM.
22093 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22094 <bp-sym.h> and <bp-asm.h>.
22095 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22096 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22097 <bp-sym.h> and <bp-asm.h>.
22098 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22099 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22100 <bp-asm.h>.
22101 (__mpn_lshift): Don't use BP_SYM.
22102 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22103 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22104 <bp-asm.h>.
22105 (memset): Don't use BP_SYM.
22106 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22107 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22108 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22109 <bp-asm.h>.
22110 (__mpn_mul_1): Don't use BP_SYM.
22111 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22112 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22113 <bp-sym.h> and <bp-asm.h>.
22114 (memcmp): Don't use BP_SYM.
22115 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22116 <bp-sym.h> and <bp-asm.h>.
22117 (memcpy): Don't use BP_SYM.
22118 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22119 <bp-sym.h> and <bp-asm.h>.
22120 (memset): Don't use BP_SYM.
22121 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22122 <bp-sym.h> and <bp-asm.h>.
22123 (strncmp): Don't use BP_SYM.
22124 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22125 <bp-sym.h> and <bp-asm.h>.
22126 (memcpy): Don't use BP_SYM.
22127 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22128 <bp-sym.h> and <bp-asm.h>.
22129 (memset): Don't use BP_SYM.
22130 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22131 <bp-sym.h> and <bp-asm.h>.
22132 (__memchr): Don't use BP_SYM.
22133 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22134 <bp-sym.h> and <bp-asm.h>.
22135 (memcmp): Don't use BP_SYM.
22136 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22137 <bp-sym.h> and <bp-asm.h>.
22138 (memcpy): Don't use BP_SYM.
22139 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22140 <bp-sym.h> and <bp-asm.h>.
22141 (__mempcpy): Don't use BP_SYM.
22142 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22143 <bp-sym.h> and <bp-asm.h>.
22144 (__memrchr): Don't use BP_SYM.
22145 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22146 <bp-sym.h> and <bp-asm.h>.
22147 (memset): Don't use BP_SYM.
22148 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22149 <bp-sym.h> and <bp-asm.h>.
22150 (__rawmemchr): Don't use BP_SYM.
22151 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22152 <bp-sym.h> and <bp-asm.h>.
22153 (__STRCMP): Don't use BP_SYM.
22154 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22155 <bp-sym.h> and <bp-asm.h>.
22156 (strchr): Don't use BP_SYM.
22157 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22158 <bp-sym.h> and <bp-asm.h>.
22159 (__strchrnul): Don't use BP_SYM.
22160 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22161 <bp-sym.h> and <bp-asm.h>.
22162 (strlen): Don't use BP_SYM.
22163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22164 <bp-sym.h> and <bp-asm.h>.
22165 (strncmp): Don't use BP_SYM.
22166 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22167 <bp-sym.h> and <bp-asm.h>.
22168 (__strnlen): Don't use BP_SYM.
22169 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22170 <bp-asm.h>.
22171 (__mpn_rshift): Don't use BP_SYM.
22172 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22173 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22174 <bp-sym.h> and <bp-asm.h>.
22175 (__sigsetjmp): Don't use BP_SYM.
22176 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22177 (L(start_addresses)): Don't use BP_SYM.
22178 (_start): Likewise.
22179 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22180 <bp-asm.h>.
22181 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22182 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22183 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22184 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22185 <bp-asm.h>.
22186 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22187 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22188 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22189 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22190 <bp-asm.h>.
22191 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22192 comments.
22193 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22194 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22195 <bp-asm.h>.
22196 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22197 FIXME comments.
22198 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22199 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22200 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22201 <bp-asm.h>.
22202 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22203 comment.
22204 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22205 and <bp-asm.h>.
22206 (strncmp): Don't use BP_SYM,
22207 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22208 <bp-asm.h>.
22209 (__mpn_sub_n): Don't use BP_SYM.
22210 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22211 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22212 and <bp-asm.h>.
22213 (__mpn_submul_1): Don't use BP_SYM.
22214 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22216 <bp-sym.h> and <bp-asm.h>.
22217 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22219 <bp-sym.h> and <bp-asm.h>.
22220 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22221 comment.
22222
8d19fe64
SP
222232013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22224
22225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22226 Use ZK to minimize writes to Z.
22227 (sub_magnitudes): Simplify code a bit.
22228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22229 Use ZK to minimize writes to Z.
22230 (sub_magnitudes): Simplify code a bit.
22231
85bd816a
RM
222322013-02-27 Roland McGrath <roland@hack.frob.com>
22233
22234 * csu/gmon-start.c: Add special exception to license text.
22235
b5977bf2
RH
222362013-02-27 Richard Henderson <rth@redhat.com>
22237
22238 * scripts/config.guess: Update from config.git.
22239 * scripts/config.sub: Likewise.
22240
11d6e2f2
SP
222412013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22242
09c14ed2
SP
22243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22244
a688864e
SP
22245 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22246
6295157a
SP
22247 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22248
b8de2202
SP
22249 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22250
11d6e2f2
SP
22251 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22252
7e80ddb8
RM
222532013-02-26 Roland McGrath <roland@hack.frob.com>
22254
22255 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22256 [$(build-shared = yes].
7e80ddb8 22257
7da6d9ed
SP
222582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22259
45f05884
SP
22260 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22261 (__mul): Reduce iterations for calculating mantissa.
22262
2236d359
SP
22263 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22264 MPTWO.
22265 (__mpranred): Likewise.
22266
7da6d9ed
SP
22267 [BZ #15160]
22268 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22269 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22270
b7688c42
PE
222712013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22272
22273 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22274 Define __attribute__.
22275
53a5c423
SP
222762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22277
22278 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22279 unused.
22280 * posix/regex_internal.h (__attribute): Remove.
22281 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22282 (re_string_context_at): Likewise.
22283 (bitset_not): Use __attribute__ and mark function as possibly
22284 unused.
22285 (bitset_merge): Likewise.
22286 (bitset_mask): Likewise.
22287 (re_string_char_size_at): Likewise.
22288 (re_string_wchar_at): Likewise.
22289 (re_string_elem_size_at): Likewise.
22290
60f5a8b5
SP
222912013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22292
2a983a2e
SP
22293 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22294 code.
22295 (cc32): Likewise.
22296
e69804d1
SP
22297 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22298 (__acr): Likewise.
22299 (__cpy): Likewise.
22300 (norm): Likewise.
22301 (denorm): Likewise.
22302 (__dbl_mp): Likewise.
22303 (add_magnitudes): Likewise.
22304 (sub_magnitudes): Likewise.
22305 (__mul): Likewise.
22306 (__inv): Likewise.
22307
2f22a1e8
SP
22308 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22309 style.
22310
8930ddc7
SP
22311 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22312 style.
22313
dc60cb11
SP
22314 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22315 code.
22316
60f5a8b5
SP
22317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22318 up changes with default code.
22319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22320 Likewise.
22321
b4d1fd33
AM
223222013-02-24 Allan McRae <allan@archlinux.org>
22323
faf6f8bc
AM
22324 * manual/socket.texi (The Internet Namespace): Order menu items
22325 to match that in the file.
22326
b4d1fd33
AM
22327 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22328 node listing of the info page menu.
22329
2366713d
JM
223302013-02-21 Joseph Myers <joseph@codesourcery.com>
22331
22332 [BZ #13550]
22333 * sysdeps/i386/bp-asm.h: Remove file.
22334 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22335 (PARMS): Do not use macros from bp-asm.h.
22336 (S1): Likewise.
22337 (S2): Likewise.
22338 (SIZE): Likewise.
22339 (__mpn_add_n): Do not use BP_SYM
22340 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22341 "bp-asm.h".
22342 (PARMS): Do not use macros from bp-asm.h.
22343 (S1): Likewise.
22344 (SIZE): Likewise.
22345 (__mpn_addmul_1): Do not use BP_SYM
22346 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22347 "bp-asm.h".
22348 (PARMS): Do not use macros from bp-asm.h.
22349 (SIGMSK): Likewise.
22350 (_setjmp): Likewise. Do not use BP_SYM.
22351 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22352 "bp-asm.h".
22353 (PARMS): Do not use macros from bp-asm.h.
22354 (SIGMSK): Likewise.
22355 (setjmp): Likewise. Do not use BP_SYM.
22356 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22357 "bp-asm.h".
22358 (PARMS): Do not use macros from bp-asm.h.
22359 (__frexp): Do not use BP_SYM.
22360 (frexp): Likewise.
22361 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22362 "bp-asm.h".
22363 (PARMS): Do not use macros from bp-asm.h.
22364 (__frexpf): Do not use BP_SYM.
22365 (frexpf): Likewise.
22366 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22367 "bp-asm.h".
22368 (PARMS): Do not use macros from bp-asm.h.
22369 (__frexpl): Do not use BP_SYM.
22370 (frexpl): Likewise.
22371 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22372 "bp-asm.h".
22373 (PARMS): Do not use macros from bp-asm.h.
22374 (__remquo): Do not use BP_SYM.
22375 (remquo): Likewise.
22376 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22377 "bp-asm.h".
22378 (PARMS): Do not use macros from bp-asm.h.
22379 (__remquof): Do not use BP_SYM.
22380 (remquof): Likewise.
22381 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22382 "bp-asm.h".
22383 (PARMS): Do not use macros from bp-asm.h.
22384 (__remquol): Do not use BP_SYM.
22385 (remquol): Likewise.
22386 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22387 "bp-asm.h".
22388 (PARMS): Do not use macros from bp-asm.h.
22389 (DEST): Likewise.
22390 (SRC): Likewise.
22391 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22392 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22393 "bp-asm.h".
22394 (PARMS): Do not use macros from bp-asm.h.
22395 (strlen): Do not use BP_SYM.
22396 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22397 "bp-asm.h".
22398 (PARMS): Do not use macros from bp-asm.h.
22399 (S1): Likewise.
22400 (S2): Likewise.
22401 (SIZE): Likewise.
22402 (__mpn_add_n): Do not use BP_SYM.
22403 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22404 "bp-asm.h".
22405 (PARMS): Do not use macros from bp-asm.h.
22406 (S1): Likewise.
22407 (SIZE): Likewise.
22408 (__mpn_addmul_1): Do not use BP_SYM.
22409 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22410 weak_alias.
22411 (bzero): Likewise.
22412 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22413 "bp-asm.h".
22414 (PARMS): Do not use macros from bp-asm.h.
22415 (S): Likewise.
22416 (SIZE): Likewise.
22417 (__mpn_lshift): Do not use BP_SYM.
22418 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22419 "bp-asm.h".
22420 (PARMS): Do not use macros from bp-asm.h.
22421 (DEST): Likewise.
22422 (SRC): Likewise.
22423 (LEN): Likewise.
22424 (memcpy): Likewise. Do not use BP_SYM.
22425 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22426 libc_hidden_def and weak_alias.
22427 (mempcpy): Do not use BP_SYM in weak_alias.
22428 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22429 "bp-asm.h".
22430 (PARMS): Do not use macros from bp-asm.h.
22431 (DEST): Likewise.
22432 (LEN): Likewise.
22433 [!BZERO_P] (CHR): Likewise.
22434 (memset): Likewise. Do not use BP_SYM.
22435 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22436 "bp-asm.h".
22437 (PARMS): Do not use macros from bp-asm.h.
22438 (S1): Likewise.
22439 (SIZE): Likewise.
22440 (__mpn_mul_1): Do not use BP_SYM.
22441 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22442 "bp-asm.h".
22443 (PARMS): Do not use macros from bp-asm.h.
22444 (S): Likewise.
22445 (SIZE): Likewise.
22446 (__mpn_rshift): Do not use BP_SYM.
22447 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22448 "bp-asm.h".
22449 (PARMS): Do not use macros from bp-asm.h.
22450 (STR): Likewise.
22451 (CHR): Likewise.
22452 (strchr): Likewise. Do not use BP_SYM.
22453 (index): Do not use BP_SYM in weak_alias.
22454 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22455 "bp-asm.h".
22456 (PARMS): Do not use macros from bp-asm.h.
22457 (DEST): Likewise.
22458 (SRC): Likewise.
22459 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22460 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22461 "bp-asm.h".
22462 (PARMS): Do not use macros from bp-asm.h.
22463 (strlen): Do not use BP_SYM.
22464 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22465 "bp-asm.h".
22466 (PARMS): Do not use macros from bp-asm.h.
22467 (S1): Likewise.
22468 (S2): Likewise.
22469 (SIZE): Likewise.
22470 (__mpn_sub_n): Do not use BP_SYM.
22471 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22472 "bp-asm.h".
22473 (PARMS): Do not use macros from bp-asm.h.
22474 (S1): Likewise.
22475 (SIZE): Likewise.
22476 (__mpn_submul_1): Do not use BP_SYM.
22477 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22478 "bp-asm.h".
22479 (PARMS): Do not use macros from bp-asm.h.
22480 (S1): Likewise.
22481 (S2): Likewise.
22482 (SIZE): Likewise.
22483 (__mpn_add_n): Do not use BP_SYM.
22484 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22485 weak_alias.
22486 (bzero): Likewise.
22487 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22488 "bp-asm.h".
22489 (PARMS): Do not use macros from bp-asm.h.
22490 (BLK2): Likewise.
22491 (LEN): Likewise.
22492 (memcmp): Do not use BP_SYM.
22493 (bcmp): Do not use BP_SYM in weak_alias.
22494 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22495 "bp-asm.h".
22496 (PARMS): Do not use macros from bp-asm.h.
22497 (DEST): Likewise.
22498 (SRC): Likewise.
22499 (LEN): Likewise.
22500 (memcpy): Likewise. Do not use BP_SYM.
22501 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22502 "bp-asm.h".
22503 (PARMS): Do not use macros from bp-asm.h.
22504 (DEST): Likewise.
22505 (SRC): Likewise.
22506 (LEN): Likewise.
22507 (memmove): Likewise. Do not use BP_SYM.
22508 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22509 "bp-asm.h".
22510 (PARMS): Do not use macros from bp-asm.h.
22511 (DEST): Likewise.
22512 (SRC): Likewise.
22513 (LEN): Likewise.
22514 (__mempcpy): Likewise. Do not use BP_SYM.
22515 (mempcpy): Do not use BP_SYM in weak_alias.
22516 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22517 "bp-asm.h".
22518 (PARMS): Do not use macros from bp-asm.h.
22519 (DEST): Likewise.
22520 (LEN): Likewise.
22521 [!BZERO_P] (CHR): Likewise.
22522 (memset): Likewise. Do not use BP_SYM.
22523 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22524 "bp-asm.h".
22525 (PARMS): Do not use macros from bp-asm.h.
22526 (STR2): Likewise.
22527 (strcmp): Do not use BP_SYM.
22528 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22529 "bp-asm.h".
22530 (PARMS): Do not use macros from bp-asm.h.
22531 (STR): Likewise.
22532 (DELIM): Likewise.
22533 [USE_AS_STRTOK_R] (SAVE): Likewise.
22534 (FUNCTION): Likewise. Do not use BP_SYM.
22535 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22536 aliases.
22537 (strtok_r): Likewise.
22538 (__GI___strtok_r): Likewise.
22539 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22540 (PARMS): Do not use macros from bp-asm.h.
22541 (S): Likewise.
22542 (SIZE): Likewise.
22543 (__mpn_lshift): Do not use BP_SYM.
22544 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22545 (PARMS): Do not use macros from bp-asm.h.
22546 (STR): Likewise.
22547 (CHR): Likewise.
22548 (__memchr): Do not use BP_SYM.
22549 (memchr): Do not use BP_SYM in weak_alias.
22550 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22551 (PARMS): Do not use macros from bp-asm.h.
22552 (BLK2): Likewise.
22553 (LEN): Likewise.
22554 (memcmp): Do not use BP_SYM.
22555 (bcmp): Do not use BP_SYM in weak_alias.
22556 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22557 (PARMS): Do not use macros from bp-asm.h.
22558 (S1): Likewise.
22559 (SIZE): Likewise.
22560 (__mpn_mul_1): Do not use BP_SYM.
22561 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22562 "bp-asm.h".
22563 (PARMS): Do not use macros from bp-asm.h.
22564 (STR): Likewise.
22565 (CHR): Likewise.
22566 (__rawmemchr): Do not use BP_SYM.
22567 (rawmemchr): Do not use BP_SYM in weak_alias.
22568 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22569 (PARMS): Do not use macros from bp-asm.h.
22570 (S): Likewise.
22571 (SIZE): Likewise.
22572 (__mpn_rshift): Do not use BP_SYM.
22573 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22574 (PARMS): Do not use macros from bp-asm.h.
22575 (SIGMSK): Likewise.
22576 (__sigsetjmp): Likewise. Do not use BP_SYM.
22577 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22578 (_start): Do not use BP_SYM.
22579 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22580 (PARMS): Do not use macros from bp-asm.h.
22581 (DEST): Likewise.
22582 (SRC): Likewise.
22583 (__stpcpy): Likewise. Do not use BP_SYM.
22584 (stpcpy): Do not use BP_SYM in weak_alias.
22585 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22586 "bp-asm.h".
22587 (PARMS): Do not use macros from bp-asm.h.
22588 (DEST): Likewise.
22589 (SRC): Likewise.
22590 (LEN): Likewise.
22591 (__stpncpy): Likewise. Do not use BP_SYM.
22592 (stpncpy): Do not use BP_SYM in weak_alias.
22593 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22594 (PARMS): Do not use macros from bp-asm.h.
22595 (STR): Likewise.
22596 (CHR): Likewise.
22597 (strchr): Likewise. Do not use BP_SYM.
22598 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22599 "bp-asm.h".
22600 (PARMS): Do not use macros from bp-asm.h.
22601 (STR): Likewise.
22602 (CHR): Likewise.
22603 (__strchrnul): Likewise. Do not use BP_SYM.
22604 (strchrnul): Do not use BP_SYM in weak_alias.
22605 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22606 "bp-asm.h".
22607 (PARMS): Do not use macros from bp-asm.h.
22608 (STOP): Likewise.
22609 (strcspn): Do not use BP_SYM.
22610 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22611 "bp-asm.h".
22612 (PARMS): Do not use macros from bp-asm.h.
22613 (STR): Likewise.
22614 (STOP): Likewise.
22615 (strpbrk): Likewise. Do not use BP_SYM.
22616 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22617 "bp-asm.h".
22618 (PARMS): Do not use macros from bp-asm.h.
22619 (STR): Likewise.
22620 (CHR): Likewise.
22621 (strrchr): Likewise. Do not use BP_SYM.
22622 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22623 (PARMS): Do not use macros from bp-asm.h.
22624 (SKIP): Likewise.
22625 (strspn): Do not use BP_SYM.
22626 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22627 (PARMS): Do not use macros from bp-asm.h.
22628 (STR): Likewise.
22629 (DELIM): Likewise.
22630 (SAVE): Likewise.
22631 (FUNCTION): Likewise. Do not use BP_SYM.
22632 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22633 aliases.
22634 (strtok_r): Likewise.
22635 (__GI___strtok_r): Likewise.
22636 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22637 (PARMS): Do not use macros from bp-asm.h.
22638 (S1): Likewise.
22639 (S2): Likewise.
22640 (SIZE): Likewise.
22641 (__mpn_sub_n): Do not use BP_SYM.
22642 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22643 "bp-asm.h".
22644 (PARMS): Do not use macros from bp-asm.h.
22645 (S1): Likewise.
22646 (SIZE): Likewise.
22647 (__mpn_submul_1): Do not use BP_SYM.
22648 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22649 <bp-sym.h>.
22650 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22651 and <bp-asm.h>.
22652 (PARMS): Do not use macros from bp-asm.h.
22653 (FLAGS): Likewise.
22654 (PTID): Likewise.
22655 (TLS): Likewise.
22656 (CTID): Likewise.
22657 (__clone): Do not use BP_SYM.
22658 (clone): Do not use BP_SYM in weak_alias.
22659 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22660 and <bp-asm.h>.
22661 (PARMS): Do not use macros from bp-asm.h.
22662 (LEN): Likewise.
22663 (__mmap64): Do not use BP_SYM.
22664 (mmap64): Do not use BP_SYM in weak_alias.
22665 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22666 <bp-sym.h> and <bp-asm.h>.
22667 (PARMS): Do not use macros from bp-asm.h.
22668 (__posix_fadvise64_l64): Do not use BP_SYM.
22669 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22670 (PARMS): Do not use macros from bp-asm.h.
22671 (NSOPS): Likewise.
22672 (semtimedop): Do not use BP_SYM.
22673 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22674 and <bp-asm.h>.
22675
582a3cff
AM
226762013-02-21 Allan McRae <allan@archlinux.org>
22677
22678 * manual/message.texi (Charset conversion in gettext):
22679 Move @end statement to beginning of line.
22680
bab8a695
SP
226812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22682
80945231
SP
22683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22684 static.
22685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22686 Likewise.
22687
bab8a695
SP
22688 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22689 (denorm): Likewise.
22690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22692
e21d7aa7
AK
226932013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22694
22695 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22696 tail-call to the resolved function if pltexit isn't needed.
22697
4c7a4263
SP
226982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22699
22700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22701 or Y being zero as being unlikely.
22702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22703 Likewise.
22704
41f49342
CD
227052013-02-20 Carlos O'Donell <carlos@redhat.com>
22706
22707 * manual/nss.texi (System Databases and Name Service Switch):
22708 Remove frobnicate @pxref.
22709
50022a93
TS
227102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22711
22712 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22713 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22714
08cbd996
PM
227152013-02-20 Petr Machata <pmachata@redhat.com>
22716
22717 * elf/elf.h (R_ARM_TARGET1): New macro.
22718 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22719 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22720 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22721 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22722 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22723 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22724 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22725 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22726 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22727 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22728 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22729 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22730 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22731 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22732 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22733 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22734 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22735 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22736 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22737 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22738 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22739 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22740 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22741 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22742 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22743 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22744 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22745 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22746 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22747 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22748 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22749 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22750 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22751 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22752 (R_ARM_THM_GOT_BREL12): Likewise.
22753 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22754 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22755 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22756 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22757 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22758 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22759 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22760 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22761 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22762
c7b275d6
TS
227632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22764
22765 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22766 __attribute_used__ to __attribute__ ((unused)).
22767
20cd7fb3
SP
227682013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22769
22770 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22771 powerpc mpa.c.
22772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22773 comment formatting.
22774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22775
92945b52
JM
227762013-02-19 Joseph Myers <joseph@codesourcery.com>
22777
22778 [BZ #13550]
22779 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22780 Remove macro.
22781 (ENTER): Remove both macro definitions.
22782 (LEAVE): Likewise.
22783 (CHECK_BOUNDS_LOW): Likewise.
22784 (CHECK_BOUNDS_HIGH): Likewise.
22785 (CHECK_BOUNDS_BOTH): Likewise.
22786 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22787 (RETURN_BOUNDED_POINTER): Likewise.
22788 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22789 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22790 (POP_ERRNO_LOCATION_RETURN): Likewise.
22791 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22792 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22793 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22794 macros.
22795 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22796 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22797 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22798 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22799 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22800 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22801 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22802 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22803 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22804 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22805 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22806 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22807 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22808 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22809 removed macros.
22810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22811 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22812 macros.
22813 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22814 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22815 * sysdeps/i386/i586/memset.S (memset): Likewise.
22816 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22817 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22818 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22819 macros.
22820 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22821 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22822 Change uses of L(2) to L(out).
22823 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22824 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22825 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22827 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22828 removed macros.
22829 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22830 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22831 macros.
22832 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22833 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22834 (RETURN): Do not use macro LEAVE.
22835 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22836 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22837 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22838 * sysdeps/i386/i686/memset.S (memset): Likewise.
22839 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22840 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22841 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22842 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22843 Likewise.
22844 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22845 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22846 L(1_2) and L(1_3) into L(1).
22847 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22848 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22849 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22850 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22851 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22852 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22853 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22854 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22855 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22856 macros.
22857 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22859 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22860 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22861 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22862 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22863 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22864 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22865 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22866 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22867 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22868 * sysdeps/i386/strspn.S (strspn): Likewise.
22869 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22870 conditional code.
22871 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22872 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22873 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22874 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22875 L(1_3) into L(1_1).
22876 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22877 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22878 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22879 macros.
22880 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22881
2389741a
JJ
228822013-02-19 Jakub Jelinek <jakub@redhat.com>
22883
22884 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22885 macro.
22886
2016b3cd
SP
228872013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22888
e4f22324
SP
22889 * math/atest-exp.c (exp_mpn): Remove ROUND.
22890 * math/atest-exp2.c (exp_mpn): Likewise.
22891 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22892
2016b3cd
SP
22893 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22894 * stdlib/tst-tls-atexit-lib.c: Likewise.
22895 * stdlib/tst-tls-atexit.c: Likewise.
22896
4be9b544
MF
228972013-02-18 Mike Frysinger <vapier@gentoo.org>
22898
22899 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22900 and __attribute_alloc_size__.
22901
2f62b9ee
MF
229022013-02-18 Mike Frysinger <vapier@gentoo.org>
22903
22904 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22905 __attribute_alloc_size__.
22906 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22907 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22908
6ff444c4
MF
229092013-02-18 Mike Frysinger <vapier@gentoo.org>
22910
22911 * include/programs/xmalloc.h: New file.
22912 * catgets/gencat.c: Include it.
22913 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22914 * elf/pldd.c: Likewise.
22915 * iconv/iconv_charmap.c: Likewise.
22916 * iconv/iconvconfig.c: Likewise.
22917 * iconv/strtab.c: Likewise.
22918 * locale/programs/locale.c: Likewise.
22919 * locale/programs/localedef.h: Likewise.
22920 * locale/programs/simple-hash.c: Likewise.
22921 * nscd/nscd.h: Likewise.
22922 * nss/makedb.c: Likewise.
22923 * sysdeps/generic/ldconfig.h: Likewise.
22924
be179c8a
SP
229252013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22926
ba384f6e
SP
22927 * Versions.def: Add GLIBC_2.18.
22928 * include/link.h (struct link_map): New member l_tls_dtor_count.
22929 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22930 (__call_tls_dtors): Likewise.
22931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22932 __cxa_thread_atexit_impl.
22933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22934 Likewise.
22935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22936 Likewise.
22937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22938 Likewise.
22939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22940 Likewise.
22941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22943 Likewise.
22944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22945 Likewise.
22946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22948 Likewise.
22949 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22950 (tests): Add test case tst-tls-atexit.
22951 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22952 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22953 (GLIBC_PRIVATE): Add __call_tls_dtors.
22954 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22955 for libstdc++.
22956 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22957 * stdlib/tst-tls-atexit.c: New test case.
22958 * stdlib/tst-tls-atexit-lib.c: New test case.
22959
ffaa74cf 22960 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22961
be179c8a
SP
22962 * elf/Versions (ld): Add _dl_find_dso_for_object.
22963 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22964 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22965 (dl_open_worker): Use _dl_find_dso_for_object.
22966 * elf/dl-sym.c (do_sym): Likewise.
22967 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22968
f78b5caa
AK
229692013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22970
22971 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22972 Syntactic changes only.
22973 (_dl_runtime_profile): Do a tail-call to the resolved function.
22974
29691210
JM
229752013-02-17 Joseph Myers <joseph@codesourcery.com>
22976
22977 [BZ #13550]
22978 * sysdeps/x86_64/bp-asm.h: Remove file.
22979 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22980 <bp-sym.h> and <bp-asm.h>.
22981 (__clone): Do not use BP_SYM.
22982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22983 <bp-sym.h> and <bp-asm.h>.
22984 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22985 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22986 "bp-asm.h".
22987 (_setjmp): Do not use BP_SYM.
22988 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22989 "bp-asm.h".
22990 (setjmp): Do not use BP_SYM.
22991 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22992 libc_hidden_def.
22993 (mempcpy): Do not use BP_SYM in weak_alias.
22994 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22995 "bp-asm.h".
22996 (strchr): Do not use BP_SYM.
22997 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22998 "bp-asm.h".
22999 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23000 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23001 (_start): Do not use BP_SYM.
23002 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23003 "bp-asm.h".
23004 (strcat): Do not use BP_SYM.
23005 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23006 "bp-asm.h".
23007 (STRCMP): Do not use BP_SYM.
23008 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23009 "bp-asm.h".
23010 (STRCPY): Do not use BP_SYM.
23011 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23012 "bp-asm.h".
23013 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23014 "bp-asm.h".
23015 (FUNCTION): Do not use BP_SYM.
23016 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23017 weak_alias.
23018 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23019
f238fd19
AJ
230202013-02-17 Andreas Jaeger <aj@suse.de>
23021
23022 * time/Versions: Sort entries.
23023 * string/Versions: Likewise.
23024 * resolv/Versions: Likewise.
23025 * posix/Versions: Likewise.
23026 * iconv/Versions: Likewise.
23027 * elf/Versions: Likewise.
23028 * wcsmbs/Versions: Likewise.
23029
bd07f23c 230302013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23031
22af19f9
SP
23032 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23033 loop termination condition.
23034
4709fe76
SP
23035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23036 variable to calculate EZ.
23037 (__sqr): Likewise.
2d0e0f29
SP
23038
23039 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23040 the lower precision input.
23041
daaa7713
JM
230422013-02-15 Joseph Myers <joseph@codesourcery.com>
23043
23044 [BZ #13550]
23045 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23046 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23047 (run-via-rtld-prefix): Do not handle %-bp tests.
23048 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23049 (all-object-suffixes): Remove .ob.
23050 (bppfx): Remove variable.
23051 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23052 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23053 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23054 [$(build-bounded) = yes] (libtype.ob): Likewise.
23055 * Makerules (elide-routines.ob): Remove variable.
23056 (do-tests-clean): Do not handle *-bp.out.
23057 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23058 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23059 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23060 (tests): Do not include $(tests-bp.out).
23061 (xtests): Do not include $(xtests-bp.out).
23062 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23063 [$(build-bounded) = yes] ($(addprefix
23064 $(objpfx),$(binaries-bounded))): Remove rule.
23065 ($(objpfx)%-bp.out): Remove rule.
23066 * config.make.in (build-bounded): Remove variable.
23067 * crypt/Makefile [$(build-bounded) = yes]
23068 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23069 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23070 append to variable.
23071 [$(build-bounded) = yes] (install-lib): Likewise.
23072 [$(build-bounded) = yes] (generated): Likewise.
23073 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23074 Remove rule.
23075 * intl/Makefile [$(build-bounded) = yes]
23076 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23077 * math/Makefile [$(build-bounded) = yes]
23078 ($(tests:%=$(objpfx)%-bp): Likewise.
23079 * misc/Makefile [$(build-bounded) = yes]
23080 ($(objpfx)tst-tsearch-bp): Likewise.
23081 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23082 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23083 Remove dependency.
23084 * string/Makefile (o-objects.ob): Remove variable.
23085 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23086 (CFLAGS-.ob): Remove variable.
23087 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23088 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23089 both definitions of variable.
23090 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23091 (ASFLAGS-.ob): Remove variable.
23092
e97ed6dd
JM
230932013-02-14 Joseph Myers <joseph@codesourcery.com>
23094
2bdd4ca6
JM
23095 [BZ #13550]
23096 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23097 Remove __BOUNDED_POINTERS__ from condition.
23098 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23099 * string/bits/string2.h [!__NO_STRING_INLINES &&
23100 !__BOUNDED_POINTERS__]: Likewise.
23101 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23102 Likewise.
23103 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23104 Remove conditional code.
23105 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23106 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23107 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23108 condition.
23109
e97ed6dd
JM
23110 [BZ #13550]
23111 * csu/libc-start.c: Do not include <bp-sym.h>.
23112 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23113 * elf/dl-open.c: Do not include <bp-sym.h>.
23114 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23115 * math/fegetenv.c: Do not include <bp-sym.h>.
23116 (fegetenv): Do not use BP_SYM in versioned symbols.
23117 * nptl/sysdeps/pthread/bits/libc-lockP.h
23118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23119 <bp-sym.h>.
23120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23121 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23123 (__pthread_mutex_destroy): Likewise.
23124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23125 (__pthread_mutex_lock): Likewise.
23126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23127 (__pthread_mutex_trylock): Likewise.
23128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23129 (__pthread_mutex_unlock): Likewise.
23130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23131 (__pthread_mutexattr_init): Likewise.
23132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23133 (__pthread_mutexattr_destroy): Likewise.
23134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23135 (__pthread_mutexattr_settype): Likewise.
23136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23137 (__pthread_rwlock_init): Likewise.
23138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23139 (__pthread_rwlock_destroy): Likewise.
23140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23141 (__pthread_rwlock_rdlock): Likewise.
23142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23143 (__pthread_rwlock_tryrdlock): Likewise.
23144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23145 (__pthread_rwlock_wrlock): Likewise.
23146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23147 (__pthread_rwlock_trywrlock): Likewise.
23148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23149 (__pthread_rwlock_unlock): Likewise.
23150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23151 (__pthread_key_create): Likewise.
23152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23153 (__pthread_setspecific): Likewise.
23154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23155 (__pthread_getspecific): Likewise.
23156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23157 Likewise.
23158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23159 (_pthread_cleanup_push_defer): Likewise.
23160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23161 (_pthread_cleanup_pop_restore): Likewise.
23162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23163 (pthread_setcancelstate): Likewise.
23164 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23165 <bp-sym.h>.
23166 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23167 (memchr): Do not use BP_SYM in weak_alias.
23168 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23169 (fegetenv): Do not use BP_SYM in versioned symbols.
23170 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23171 (fesetenv): Do not use BP_SYM in versioned symbols.
23172 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23173 (feupdateenv): Do not use BP_SYM in versioned symbols.
23174 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23175 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23176 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23177 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23178 (open64): Do not use BP_SYM in weak_alias.
23179 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23180 (fegetenv): Do not use BP_SYM in versioned symbols.
23181 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23182 (fesetenv): Do not use BP_SYM in versioned symbols.
23183 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23184 (feupdateenv): Do not use BP_SYM in versioned symbols.
23185 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23186 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23187 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23188 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23189 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23190 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23191 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23192 <bp-sym.h>.
23193 (__libc_start_main): Do not use BP_SYM.
23194
d6752ccd
SP
231952013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23196
cb57ce60
SP
23197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23198 redundant return line.
23199 (norm): Likewise.
23200 (denorm): Likewise.
23201 (dbl_mp): Likewise.
23202 (sub_magnitudes): Likewise.
23203 (__add): Likewise.
23204 (__sub): Likewise.
23205 (__mul): Likewise.
23206 (__inv): Likewise.
23207 (__dvd): Likewise.
23208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23209 (norm): Likewise.
23210 (denorm): Likewise.
23211 (dbl_mp): Likewise.
23212 (sub_magnitudes): Likewise.
23213 (__add): Likewise.
23214 (__sub): Likewise.
23215 (__mul): Likewise.
23216 (__inv): Likewise.
23217 (__dvd): Likewise.
23218
f414520d
SP
23219 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23220 instead of __mul.
23221 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23222 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23223 (cc32): Likewise.
23224
d6752ccd
SP
23225 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23226 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23228 of __mul for squares.
23229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23230 function
23231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23232 Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23234 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23235
70d9946a
JM
232362013-02-13 Joseph Myers <joseph@codesourcery.com>
23237
23238 [BZ #13550]
23239 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23240 code.
23241 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23242 prototype or function definition. Rename ubp_* variables and
23243 parameters. Remove argv definitions conditional on
23244 [__BOUNDED_POINTERS__].
23245 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23246 * elf/dl-runtime.c (_dl_fixup): Likewise.
23247 * include/set-hooks.h (RUN_HOOK): Likewise.
23248 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23249 definition.
23250 * string/strcpy.c (strcpy): Do not use __unbounded.
23251 * sysdeps/generic/frame.h (struct layout): Likewise.
23252 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23253 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23254 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23255 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23256 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23257 (__backtrace): Likewise.
23258 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23259 use __ptrvalue.
23260 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23261 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23262 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23263 Likewise.
23264 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23265 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23266 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23267 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23268 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23269 Do not use __unbounded.
23270 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23271 Rename __unboundedrlimits parameter to rlimits in prototype.
23272 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23273 Do not use __unbounded.
23274 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23275 not use __ptrvalue.
23276 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23277 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23278 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23279 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23280 __ptrvalue or __unbounded.
23281 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23282 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23283 use __unbounded.
23284 (__new_msgctl): Do not use __ptrvalue.
23285 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23286 __unbounded.
23287 (__libc_msgrcv): Do not use __ptrvalue.
23288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23289 startup_info): Do not use __unbounded.
23290 (__libc_start_main): Likewise. Rename ubp_* variables and
23291 parameters. Remove argv definitions conditional on
23292 [__BOUNDED_POINTERS__].
23293 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23294 __ptrvalue.
23295 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23296 use __unbounded.
23297 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23298 or __ptrvalue.
23299 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23300 use __unbounded.
23301 (__new_shmctl): Do not use __ptrvalue.
23302 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23303 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23304 Likewise.
23305 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23306 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23307 (__libc_sigaction): Likewise.
23308 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23310 Likewise.
23311 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23312
cc7834d6
OB
233132013-02-13 Ondřej Bílka <neleai@seznam.cz>
23314
ffb1ec7b 23315 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23316
23317 * string/mempcpy.c: Implement by calling memcpy.
23318
bdf02814
SP
233192013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23320
c2af38aa
SP
23321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23322
4e92d59e
SP
23323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23324 evaluation.
23325
909279a5
SP
23326 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23327 values in the mantissa.
23328
bdf02814
SP
23329 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23330 minimize writes to Z.
23331 (sub_magnitudes): Simplify code a bit.
23332
cd525923
RM
233332013-02-12 Roland McGrath <roland@hack.frob.com>
23334
23335 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23336 from the message. The linker prefixes all warnings with that already.
23337
7e2f0d2d
AS
233382013-02-12 Andreas Schwab <schwab@suse.de>
23339
a445af0b
AS
23340 [BZ #15078]
23341 * posix/regexec.c (extend_buffers): Add parameter min_len.
23342 (check_matching): Pass minimum needed length.
23343 (clean_state_log_if_needed): Likewise.
23344 (get_subexp): Likewise.
23345 * posix/Makefile (tests): Add bug-regex34.
23346 (bug-regex34-ENV): Define.
23347 * posix/bug-regex34.c: New file.
23348
7e2f0d2d
AS
23349 [BZ #11561]
23350 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23351 elements compare against the byte sequence of it, not its name.
23352 * posix/Makefile (tests): Add bug-regex35.
23353 (bug-regex35-ENV): Define.
23354 * posix/bug-regex35.c: New file.
23355
a175b684
TV
233562013-02-11 Tom de Vries <tom@codesourcery.com>
23357
23358 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23359 comment.
23360 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23361 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23362 (CHECK_EOL): Add undef.
23363
310998fe 233642013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23365
23366 * bits/stdlib-bsearch.h: New file.
23367 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23368 * stdlib/stdlib.h: Likewise.
41eda41d 23369
8ded91fb
RM
233702013-02-11 Roland McGrath <roland@hack.frob.com>
23371
23372 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23373 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23374 declaration.
23375 * manual/search.texi (Array Search Function): Add missing const in
23376 lfind prototype.
23377 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23378 declaration to use rlim_t.
23379 (Basic Scheduling Functions): Remove erroneous const from
23380 sched_getparam prototype. Remove erroneous * from
23381 sched_get_priority_max and sched_get_priority_min prototypes.
23382 (Resource Usage): Fix summary @comment on vtimes to refer to
23383 sys/vtimes.h rather than vtimes.h.
23384 Add missing *s in vtimes prototype.
23385 (Limits on Resources): Fix ulimit prototype to return long int.
23386 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23387 prototypes to use long int rather than double.
23388 (BSD Random): Fix initstate and setstate to use char *, not void *.
23389 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23390 prototype to make second argument 'struct aiocb64 *const[]'.
23391 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23392 (Status of AIO Operations): Remove erroneous const in aio_return and
23393 aio_return64 prototypes.
23394 (Synchronizing I/O): Fix sync prototype to return void.
23395 * manual/startup.texi (Suboptions): Remove an erroneous const in
23396 getsubopt prototype.
23397 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23398 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23399 use size_t rather than int.
23400 (Scanning All Users): Likewise for getpwent_r.
23401 (Setting Groups): Add missing const to setgroups prototype.
23402 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23403 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23404 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23405 'const void *' rather than 'const char *'.
23406 (Host Address Functions): Likewise for inet_ntop.
23407 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23408 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23409 ssize_t for return value.
23410 (Sending Data): Likewise for send, sendto, sendmsg.
23411 (Socket Option Functions): Add a missing const in setsockopt prototype.
23412 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23413 use wchar_t for the argument.
23414 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23415 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23416 take no arguments.
23417 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23418 double/float/long double for second argument.
23419 Fix return types of significand, significandf, significandl.
23420 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23421 argument in fchmod prototype.
23422 (File Owner): Use uid_t and gid_t in fchown prototype.
23423 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23424 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23425 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23426 use 'const struct dirent **' as argument types to CMP function pointer
23427 argument.
23428 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23429 (File Times): Fix summary magic @comment for struct utimbuf and utime
23430 to refer to utime.h, not time.h.
23431 * manual/string.texi (Argz Functions): Add missing const in
23432 argz_extract and argz_next prototypes.
23433 (Finding Tokens in a String): Likewise for basename.
23434 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23435 (Copying and Concatenation): Fix typo in wmemmove prototype.
23436 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23437 (Signal Stack): Remove erroneous const in sigstack prototype.
23438 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23439 prototype.
23440 (Simple Calendar Time): Likewise for stime.
23441 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23442 prototype.
23443 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23444 say sys/sysctl.h instead.
23445 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23446 and vsyslog prototypes.
23447
fe77fe6d
TV
234482013-02-11 Tom de Vries <tom@codesourcery.com>
23449
23450 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23451 Remove.
23452
3a09b620
RM
234532013-02-11 Roland McGrath <roland@hack.frob.com>
23454
23455 * misc/sys/mman.h: Fix typo in mremap comment.
23456
550a0b89
RM
234572013-02-08 Roland McGrath <roland@hack.frob.com>
23458
23459 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23460 the '\0' terminator.
23461
a2da1673
JM
234622013-02-08 Joseph Myers <joseph@codesourcery.com>
23463
23464 [BZ #13550]
23465 * debug/segfault.c: Don't include <bp-checks.h>.
23466 * sysdeps/generic/bp-checks.h: Remove file.
23467 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23468 (__GETDENTS): Don't use CHECK_N.
23469 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23470 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23471 (__getgroups): Don't use CHECK_N.
23472 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23473 (setgroups): Don't use CHECK_N.
23474 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23475 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23476 (__libc_msgrcv): Don't use CHECK_N.
23477 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23478 (__libc_msgsnd): Don't use CHECK_N.
23479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23480 <bp-checks.h>.
23481 (__libc_pread): Don't use CHECK_N.
23482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23483 include <bp-checks.h>.
23484 (__libc_pread64): Don't use CHECK_N.
23485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23486 include <bp-checks.h>.
23487 (__libc_pwrite): Don't use CHECK_N.
23488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23489 include <bp-checks.h>.
23490 (__libc_pwrite64): Don't use CHECK_N.
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23492 <bp-checks.h>.
23493 (__libc_pread): Don't use CHECK_N.
23494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23495 include <bp-checks.h>.
23496 (__libc_pread64): Don't use CHECK_N.
23497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23498 include <bp-checks.h>.
23499 (__libc_pwrite): Don't use CHECK_N.
23500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23501 include <bp-checks.h>.
23502 (__libc_pwrite64): Don't use CHECK_N.
23503 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23504 (do_pread): Don't use CHECK_N.
23505 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23506 (do_pread64): Don't use CHECK_N.
23507 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23508 (do_pwrite): Don't use CHECK_N.
23509 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23510 (do_pwrite64): Don't use CHECK_N.
23511 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23512 (__libc_readv): Don't use CHECK_N.
23513 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23514 (semop): Don't use CHECK_N.
23515 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23516 <bp-checks.h>.
23517 (semtimedop): Don't use CHECK_N.
23518 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23519 (__libc_pread): Don't use CHECK_N.
23520 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23521 <bp-checks.h>.
23522 (__libc_pread64): Don't use CHECK_N.
23523 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23524 <bp-checks.h>.
23525 (__libc_pwrite): Don't use CHECK_N.
23526 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23527 <bp-checks.h>.
23528 (__libc_pwrite64): Don't use CHECK_N.
23529 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23530 <bp-checks.h>.
23531 (__libc_msgrcv): Don't use CHECK_N.
23532 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23533 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23534 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23535 (__libc_writev): Don't use CHECK_N.
23536
b84660a8
RM
235372013-02-08 Roland McGrath <roland@hack.frob.com>
23538
7f3e75f8
RM
23539 * string/strcpy.c: Removed unused variable.
23540
b84660a8
RM
23541 * Makeconfig (+sysdep-includes): Define with := rather than =.
23542 Use an existing include/ subdir of each sysdeps dir before it.
23543
471514d3
CD
235442013-02-08 Carlos O'Donell <carlos@redhat.com>
23545
23546 * nscd/connection.c (register_traced_file): Comment function.
23547 [HAVE_INOTIFY] (union __inev): Define.
23548 [HAVE_INOTIFY] (inotify_check_files): New function.
23549 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23550 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23551 clear_db_cache.
23552 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23553
b2d3c3be
CD
235542013-02-08 Carlos O'Donell <carlos@redhat.com>
23555
23556 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23557 loaded if not already and that a failure is permanent.
23558
b39949d2
CD
235592013-02-08 Carlos O'Donell <carlos@redhat.com>
23560
ddacd1db 23561 [BZ #15006]
b39949d2
CD
23562 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23563 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23564
b2c9eff4
JM
235652013-02-08 Joseph Myers <joseph@codesourcery.com>
23566
f3aae3f3
JM
23567 [BZ #13550]
23568 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23569 (CHECK_1_NULL_OK): Likewise.
23570 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23571 (__fxstat): Do not use CHECK_1.
23572 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23573 <bp-checks.h>.
23574 (___fxstat64): Do not use CHECK_1.
23575 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23576 <bp-checks.h>.
23577 (__fxstatat): Do not use CHECK_1.
23578 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23579 <bp-checks.h>.
23580 (__fxstatat64): Do not use CHECK_1.
23581 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23582 <bp-checks.h>.
23583 (__fxstat): Do not use CHECK_1.
23584 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23585 <bp-checks.h>.
23586 (__fxstatat): Do not use CHECK_1.
23587 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23588 <bp-checks.h>.
23589 (__getresgid): Do not use CHECK_1.
23590 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23591 <bp-checks.h>.
23592 (__getresuid): Do not use CHECK_1.
23593 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23594 <bp-checks.h>.
23595 (__lxstat): Do not use CHECK_1.
23596 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23597 <bp-checks.h>.
23598 (__old_msgctl): Do not use CHECK_1.
23599 (__new_msgctl): Likewise.
23600 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23601 <bp-checks.h>.
23602 (__new_setrlimit): Do not use CHECK_1.
23603 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23604 <bp-checks.h>.
23605 (__old_shmctl): Do not use CHECK_1.
23606 (__new_shmctl): Likewise.
23607 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23608 <bp-checks.h>.
23609 (__xstat): Do not use CHECK_1.
23610 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23611 (__lxstat): Do not use CHECK_1.
23612 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23613 <bp-checks.h>.
23614 (___lxstat64): Do not use CHECK_1.
23615 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23616 (__old_msgctl): Do not use CHECK_1.
23617 (__new_msgctl): Likewise.
23618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23619 <bp-checks.h>.
23620 (__gettimeofday): Do not use CHECK_1.
23621 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23622 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23623 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23624 <bp-checks.h>.
23625 (__gettimeofday): Do not use CHECK_1.
23626 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23627 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23628 (__new_shmctl): Do not use CHECK_1.
23629 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23630 <bp-checks.h>.
23631 (do_sigtimedwait): Do not use CHECK_1.
23632 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23633 <bp-checks.h>.
23634 (do_sigwaitinfo): Do not use CHECK_1.
23635 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23636 <bp-checks.h>.
23637 (msgctl): Do not use CHECK_1.
23638 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23639 <bp-checks.h>.
23640 (shmctl): Do not use CHECK_1.
23641 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23642 (ustat): Do not use CHECK_1.
23643 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23644 <bp-checks.h>.
23645 (__fxstat): Do not use CHECK_1.
23646 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23647 <bp-checks.h>.
23648 (__fxstatat): Do not use CHECK_1.
23649 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23650 <bp-checks.h>.
23651 (__lxstat): Do not use CHECK_1.
23652 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23653 <bp-checks.h>.
23654 (__xstat): Do not use CHECK_1.
23655 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23656 (__xstat): Do not use CHECK_1.
23657 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23658 (___xstat64): Do not use CHECK_1.
23659
b2c9eff4
JM
23660 [BZ #13550]
23661 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23662 definitions.
23663 (CHECK_BOUNDS_HIGH): Likewise.
23664 * string/strcpy.c: Do not include <bp-checks.h>.
23665 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23666
f1d70dad
RM
236672013-02-07 Roland McGrath <roland@hack.frob.com>
23668
23669 * nscd/nscd-client.h (__nscd_drop_map_ref):
23670 Add __attribute__ ((unused)).
23671 * nis/nss-nisplus.h (niserr2nss): Likewise.
23672
23673 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23674 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23675
23676 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23677 Remove inline keyword.
23678 * include/rounding-mode.h (round_away): Likewise.
23679 * libio/wfileops.c (adjust_wide_data): Likewise.
23680 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23681 (__m128i_strloadu_tolower): Likewise.
23682 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23683 (__m128i_strloadu_tolower): Likewise.
23684 * time/mktime.c (ydhms_diff): Likewise.
23685 * locale/elem-hash.h (elem_hash): Likewise.
23686 * locale/setlocale.c (setdata): Likewise.
23687 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23688 (re_string_wchar_at): Likewise.
23689 (bitset_not, bitset_merge, bitset_mask): Likewise.
23690 [!(__GNUC__ > 3)] (inline): Remove macro.
23691 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23692 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23693 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23694 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23695 * string/memcmp.c (memcmp_bytes): Likewise.
23696 * locale/programs/locarchive.c (compute_hashval): Likewise.
23697 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23698 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23699 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23700 * nss/getent.c (print_rpc, print_protocols): Likewise.
23701 (print_passwd, print_group, print_aliases): Likewise.
23702 * nis/nss-nisplus.h (niserr2nss): Likewise.
23703 * nscd/connections.c (restart_p): Likewise.
23704 Change return type to bool.
23705
eab55bfb
RM
237062013-02-05 Roland McGrath <roland@hack.frob.com>
23707
7bd642f5
RM
23708 * Makeconfig (all-Depend-files): Add existing
23709 $(sorted-subdirs:=/Depend) files.
23710 (all-subdirs): Remove nss.
23711 * sysdeps/unix/inet/Subdirs: Add it here instead.
23712 * hesiod/Depend: New file.
23713
573c29b2
RM
23714 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23715 instead of calling alloca.
23716
b2e25af0
RM
23717 * io/lseek.c (__lseek): Rename to __libc_lseek.
23718 Define __lseek as an alias.
23719
eab55bfb
RM
23720 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23721
9a0d1941
CD
237222013-02-04 Carlos O'Donell <carlos@redhat.com>
23723
23724 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23725 else clause and remove check for non-standard endianness.
23726
b83bbec4
DM
237272013-02-04 David S. Miller <davem@davemloft.net>
23728
23729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23730
6277fdab
JM
237312013-02-04 Joseph Myers <joseph@codesourcery.com>
23732
23733 [BZ #13550]
23734 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23735 (__ubp_memchr): Remove prototype.
23736 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23737 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23738 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23739 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23740 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23741 Remove alias.
23742 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23743 (__ubp_memchr): Likewise.
23744 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23745 (__ubp_memchr): Likewise.
23746 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23747 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23748 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23749 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23750 CHECK_STRING.
23751 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23752 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23753 (__getcwd): Do not use CHECK_STRING.
23754 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23755 <bp-checks.h>.
23756 (__real_chown): Do not use CHECK_STRING.
23757 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23758 <bp-checks.h>.
23759 (fchownat): Do not use CHECK_STRING.
23760 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23761 CHECK_STRING.
23762 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23763 <bp-checks.h>.
23764 (__lchown): Do not use CHECK_STRING.
23765 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23766 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23767 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23768 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23770 include <bp-checks.h>.
23771 (truncate64): Do not use CHECK_STRING.
23772 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23773 <bp-checks.h>.
23774 (__real_chown): Do not use CHECK_STRING.
23775 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23776 <bp-checks.h>.
23777 (__lchown): Do not use CHECK_STRING.
23778 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23779 <bp-checks.h>.
23780 (__chown): Do not use CHECK_STRING.
23781 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23782 <bp-checks.h>.
23783 (truncate64): Do not use CHECK_STRING.
23784 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23785 Likewise.
23786 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23787 (__xmknod): Do not use CHECK_STRING.
23788 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23789 <bp-checks.h>.
23790 (__xmknodat): Do not use CHECK_STRING.
23791 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23792 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23793
903ae060
AS
237942013-02-04 Andreas Schwab <schwab@suse.de>
23795
23796 [BZ #14142]
23797 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23798 * include/netdb.h: Likewise for h_errno.
23799 * elf/tst-stackguard1.c: Include <tls.h>.
23800
542f9466
JK
238012013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23802
23803 * elf/link.h (struct link_map): Extend the l_addr comment.
23804 * include/link.h (struct link_map): Likewise.
23805
e782a927
JM
238062013-02-01 Joseph Myers <joseph@codesourcery.com>
23807
23808 [BZ #13550]
23809 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23810 (BOUNDED_1): Remove macro.
23811 * debug/backtrace.c: Don't include <bp-checks.h>.
23812 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23813 (__backtrace): Likewise.
23814 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23815 <bp-checks.h>.
23816 (__backtrace): Don't use BOUNDED_1.
23817 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23818 <bp-checks.h>.
23819 (__backtrace): Don't use BOUNDED_1.
23820 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23821 (__backtrace): Don't use BOUNDED_1.
23822 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23823 (shmat): Don't use BOUNDED_N.
23824
8cf28c5e
JM
238252013-01-31 Joseph Myers <joseph@codesourcery.com>
23826
3a7ac8a0
JM
23827 [BZ #13550]
23828 * sysdeps/generic/bp-start.h: Remove file.
23829 * csu/libc-start.c: Don't include <bp-start.h>.
23830 (LIBC_START_MAIN): Set up __environ directly instead of using
23831 INIT_ARGV_and_ENVIRON.
23832 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23833 <bp-start.h>.
23834
f3499f95
JM
23835 [BZ #13550]
23836 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23837 definitions.
23838 (CHECK_FCNTL): Likewise.
23839 (CHECK_N_PAGES): Likewise.
23840
32a45bea
JM
23841 [BZ #13550]
23842 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23843 definitions.
23844 (CHECK_SIGSET_NULL_OK): Likewise.
23845 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23846 <bp-checks.h>.
23847 (sigpending): Don't use CHECK_SIGSET.
23848 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23849 <bp-checks.h>.
23850 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23851 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23852 <bp-checks.h>.
23853 (do_sigsuspend): Don't use CHECK_SIGSET.
23854 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23855 use CHECK_SIGSET.
23856 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23857 (do_sigwait): Don't use CHECK_SIGSET.
23858 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23859 use CHECK_SIGSET.
23860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23861 include <bp-checks.h>.
23862 (sigpending): Don't use CHECK_SIGSET.
23863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23864 include <bp-checks.h>.
23865 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23866 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23867 <bp-checks.h>.
23868 (sigpending): Don't use CHECK_SIGSET.
23869 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23870 <bp-checks.h>.
23871 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23872
2e8a5c8c
JM
23873 [BZ #13550]
23874 * sysdeps/generic/bp-semctl.h: Remove file.
23875 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23876 <bp-checks.h> and <bp-semctl.h>.
23877 (__old_semctl): Don't use CHECK_SEMCTL.
23878 (__new_semctl): Likewise.
23879 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23880 and <bp-semctl.h>.
23881 (__old_semctl): Don't use CHECK_SEMCTL.
23882 (__new_semctl): Likewise.
23883 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23884 <bp-checks.h> and <bp-semctl.h>.
23885 (__old_semctl): Don't use CHECK_SEMCTL.
23886 (__new_semctl): Likewise.
23887 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23888 <bp-checks.h> and <bp-semctl.h>.
23889 (semctl): Don't use CHECK_SEMCTL.
23890
c2d54929
JM
23891 [BZ #13550]
23892 * Makerules (elide-bp-thunks): Remove variable.
23893 (elide-routines.oS): Don't use $(elide-bp-thunks).
23894 (elide-routines.os): Likewise.
23895 (elide-routines.o): Likewise.
23896 (elide-routines.op): Likewise.
23897 (elide-routines.og): Likewise.
23898 (objects): Don't use $(bp-thunks).
23899 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23900 include.
23901 (common-generated): Do not add s-proto-bp.d.
23902 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23903 (int): Likewise.
23904 (typ): Likewise.
23905 Do not generate makefile rules for bounded-pointer thunks.
23906 * sysdeps/generic/bp-thunks.h: Remove file.
23907 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23908 * sysdeps/unix/s-proto-bp.S: Likewise.
23909
8cf28c5e
JM
23910 [BZ #15062]
23911 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23912 parts of result separately when argument is not close to line from
23913 -i to i and one part of argument is small.
23914 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23915 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23916 * math/libm-test.inc (cacos_test): Add more tests.
23917 (casin_test): Likewise.
23918 (casinh_test): Likewise.
23919 * sysdeps/i386/fpu/libm-test-ulps: Update.
23920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921
c4e33b8d
DM
239222013-01-31 David S. Miller <davem@davemloft.net>
23923
23924 * po/de.po: Update from translation team.
23925
3b60b421
MK
239262013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23927
23928 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23929
bb931195
TS
239302013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23931
b5a5da23
TS
23932 * configure.in (_AC_PROG_CC_C89): New definition.
23933 * configure: Regenerate.
23934
bb931195
TS
23935 * configure.in (AC_PROG_CPP): New definition.
23936 * configure: Regenerate.
23937
8c53a12c
JM
239382013-01-23 Joseph Myers <joseph@codesourcery.com>
23939
23940 * debug/tst-backtrace.h: New file.
23941 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23942 (ret): Remove variable.
23943 (x): Likewise.
23944 (FAIL): Remove macro.
23945 (NO_INLINE): Likewise.
23946 (fn1): Use match function instead of strstr.
23947 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23948 (ret): Remove variable.
23949 (x): Likewise.
23950 (FAIL): Remove macro.
23951 (NO_INLINE): Likewise.
23952 (fn): Use match function instead of strstr.
23953 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23954 (ret): Remove variable.
23955 (x): Likewise.
23956 (FAIL): Remove macro.
23957 (NO_INLINE): Likewise.
23958 (handle_signal): Use match function instead of strstr.
23959 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23960 (ret): Remove variable.
23961 (x): Likewise.
23962 (FAIL): Remove macro.
23963 (NO_INLINE): Likewise.
23964 (handle_signal): Use match function instead of strstr.
23965
4858fa2a
RM
239662013-01-23 Roland McGrath <roland@hack.frob.com>
23967
23968 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23969
bae8e7f5
DM
239702013-01-23 David S. Miller <davem@davemloft.net>
23971
23972 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23973 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23974 argument of CAS if possible.
23975 * sysdeps/sparc/sparc64/bits/atomic.h
23976 (__arch_compare_and_exchange_val_32_acq): Likewise.
23977 (__arch_compare_and_exchange_val_64_acq): Likewise.
23978
9cbbc4ae
PT
239792013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23980
23981 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23982 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23983 Include <limits.h>.
67b3f58c 23984 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23985
5655a0b5
AC
239862013-01-23 Adam Conrad <adconrad@0c3.net>
23987
23988 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23989 (LDFLAGS-tst-array5): Likewise.
23990
052aff95
JM
239912013-01-23 Joseph Myers <joseph@codesourcery.com>
23992
23993 [BZ #15036]
23994 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23995 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23996 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23997 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23998
7c1e01aa
DM
239992013-01-21 David S. Miller <davem@davemloft.net>
24000
24001 * sysdeps/sparc/backtrace.c: New file.
24002 * sysdeps/sparc/sparc32/backtrace.h: New file.
24003 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24004 * sysdeps/sparc/sparc64/backtrace.h: New file.
24005 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24006 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24007 -funwind-tables.
24008
ab087e0a
AS
240092013-01-21 Andreas Schwab <schwab@suse.de>
24010
24011 [BZ #15020]
24012 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24013 closed its stdout.
24014
ed689c2f
AS
240152013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24016
24017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24018 "mpa2.h".
24019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24020
31d470ac
JM
240212013-01-18 Joseph Myers <joseph@codesourcery.com>
24022 Mark Mitchell <mark@codesourcery.com>
24023 Tom de Vries <tom@codesourcery.com>
24024 Paul Pluzhnikov <ppluzhnikov@google.com>
24025
24026 * debug/tst-backtrace2.c: New file.
24027 * debug/tst-backtrace3.c: Likewise.
24028 * debug/tst-backtrace4.c: Likewise.
24029 * debug/tst-backtrace5.c: Likewise.
24030 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24031 (CFLAGS-tst-backtrace3.c): Likewise.
24032 (CFLAGS-tst-backtrace4.c): Likewise.
24033 (CFLAGS-tst-backtrace5.c): Likewise.
24034 (LDFLAGS-tst-backtrace2): Likewise.
24035 (LDFLAGS-tst-backtrace3): Likewise.
24036 (LDFLAGS-tst-backtrace4): Likewise.
24037 (LDFLAGS-tst-backtrace5): Likewise.
24038 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24039 tst-backtrace4 and tst-backtrace5.
24040
90567f30 240412013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24042 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24043
24044 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24045 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24047 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24049 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24050 "+r" and remove output regs list as redundant. Add explicit inline
24051 asm to specify register of return val to work around compiler codegen
24052 bug. Remove (int) cast on return value. Add return type parameter to
24053 use in macro so that this macro does not truncate return value for
24054 64-bit values.
24055 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24056 pass to INTERNAL_VSYSCALL_NCS.
24057 (INLINE_VSYSCALL): Add 'long int' as return type to
24058 INTERNAL_VSYSCALL_NCS macro invocation.
24059 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24060 INTERNAL_VSYSCALL_NCS macro invocation.
24061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24062
d3b9ea61
SP
240632013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24064
0b57daeb
SP
24065 [BZ #14496]
24066 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24067 Fix application of SIMD FP exception mask.
24068
caa99d06
SP
24069 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24070 mp_no from a power of two.
24071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24072 __mpexp_twomm1. Use __pow_mp.
24073
d3b9ea61
SP
24074 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24075 multiplication.
24076
1dbaee3c
DM
240772013-01-17 David S. Miller <davem@davemloft.net>
24078
24079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24080
728d7b43
JM
240812013-01-17 Joseph Myers <joseph@codesourcery.com>
24082
24083 [BZ #15023]
24084 * include/complex.h: Condition contents on [!_COMPLEX_H].
24085 (__kernel_casinhf): New prototype.
24086 (__kernel_casinh): Likewise.
24087 (__kernel_casinhl): Likewise.
24088 * math/Makefile (libm_calls): Add k_casinh.
24089 * math/k_casinh.c: New file.
24090 * math/k_casinhf.c: Likewise.
24091 * math/k_casinhl.c: Likewise.
24092 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24093 finite nonzero arguments.
24094 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24095 finite nonzero arguments.
24096 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24097 finite nonzero arguments.
24098 * math/s_casinh.c: Do not include <float.h>.
24099 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24100 * math/s_casinhf.c: Do not include <float.h>.
24101 (__casinhf): Move code for finite nonzero arguments to
24102 k_casinhf.c.
24103 * math/s_casinhl.c: Do not include <float.h>.
24104 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24105 redefine.
24106 (__casinhl): Move code for finite nonzero arguments to
24107 k_casinhl.c.
24108 * math/libm-test.inc (cacos_test): Add more tests.
24109 * sysdeps/i386/fpu/libm-test-ulps: Update.
24110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24111
2a26ef3a
PT
241122013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24113
24114 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24115 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24116 [!HAVE_MREMAP]: Remove [defined linux] case.
24117 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24118
a897655d
SP
241192013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24120
24121 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24122
881ebe89 241232013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24124
24125 * elf/elf.h (R_386_SIZE32): New relocation.
24126 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24127 R_386_SIZE32.
24128 (elf_machine_rela): Likewise.
24129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24130 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24131
59981e9b
JM
241322013-01-17 Joseph Myers <joseph@codesourcery.com>
24133
24134 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24135 (FP_FAST_FMA): Do not define.
24136 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24137 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24138 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24139 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24140 !_SOFT_FLOAT]: Likewise.
24141 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24143 value.
24144 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24145 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24146 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24147 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24148 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24149 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24150 file.
24151
cfa8054f
AS
241522013-01-16 Andreas Schwab <schwab@suse.de>
24153
24154 [BZ #14327]
24155 * include/stdlib.h (__mktemp): Add declaration.
24156 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24157 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24158
dd930cc5
SP
241592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24160
881ebe89
SP
24161 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24162 definitions.
24163 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24164 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24165 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24166 definitions here.
24167 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24168 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24169 definitions.
24170 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24171 and ONE.
24172 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24173 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24174 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24175 definitions.
24176 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24177 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24178 definitions.
24179 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24180
dd930cc5
SP
24181 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24182
c19a9f89
DM
241832013-01-15 David S. Miller <davem@davemloft.net>
24184
1aa61767
DM
24185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24186 trunc{,f} to libm-sysdep_routes.
24187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24189 file.
24190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24192 file.
24193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24194 file.
24195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24197 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24199 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24201 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24202 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24203
c42d5e98
DM
24204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24205 nearbyint{,f} to libm-sysdep_routes.
24206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24208 New file.
24209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24210 file.
24211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24212 New file.
24213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24214 file.
24215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24217 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24218 file.
24219 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24220 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24221 file.
24222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24223 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24224 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24225
c19a9f89
DM
24226 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24227 libc_feholdexcept and libc_fesetenv.
24228
357679d2
MF
242292013-01-15 Mike Frysinger <vapier@gentoo.org>
24230
24231 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24232
65a82e3d
DM
242332013-01-14 David S. Miller <davem@davemloft.net>
24234
8b954ab9
DM
24235 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24236 (SPARC_ASM_VIS2_IFUNC): Likewise.
24237 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24239 use of 'siam' instruction.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24241 Likewise.
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24243 Likewise.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24245 Likewise.
24246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24251 file.
24252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24253 file.
24254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24255 file.
24256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24257 file.
24258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24263 new VIS2 routines.
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24267 Likewise.
24268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24273 routines to libm-sysdep_routines.
24274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24275
65a82e3d
DM
24276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24277 fdim/fdimf to libm-sysdep_routines.
24278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24279 file.
24280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24282 file.
24283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24286 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24287 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24288 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24289 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24290
e34ab705
SP
242912013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24292
2a91b573
SP
24293 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24294 to optimize copies.
24295
1066a534
SP
24296 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24299
e34ab705
SP
24300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24301 local variable MPTWO.
24302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24303 Likewise.
24304
aba5e596
MF
243052013-01-13 Mike Frysinger <vapier@gentoo.org>
24306
24307 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24308 GLOB_NOESCAPE.
24309
e557e9e5
MF
243102013-01-13 Mike Frysinger <vapier@gentoo.org>
24311
24312 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24313
0428cec9
MF
243142013-01-13 Mike Frysinger <vapier@gentoo.org>
24315
24316 * manual/pattern.texi (glob_t): Document gl_flags.
24317 (glob64_t): Likewise.
24318
8794a964
DM
243192013-01-11 David S. Miller <davem@davemloft.net>
24320
66438c3f
RM
24321 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24322 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24323 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24324 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24325 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24326 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24327 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24328 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24329 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24330 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24331 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24332 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24333 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24334
4ae4244d
DM
24335 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24336 sparc V9 rather than using V8 code.
24337 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24338 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24339
8794a964
DM
24340 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24341 Move to...
24342 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24343 Here.
24344
6270516e
RM
243452013-01-11 Roland McGrath <roland@hack.frob.com>
24346
24347 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24348 not in the main loop.
24349 * configure: Regenerated.
24350
6a57d931
JM
243512013-01-11 Joseph Myers <joseph@codesourcery.com>
24352
24353 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24354 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24355 to just #else.
24356 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24357 [!__GLIBC_HAVE_LONG_LONG] case.
24358 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24359 condition to just #else.
24360 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24361 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24362 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24363 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24364 unconditional.
24365 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24366 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24367 #elif condition to just #else.
24368 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24369 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24370 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24371 #elif condition to just #else.
24372
0e8529e9
SE
243732013-01-11 Steve Ellcey <sellcey@mips.com>
24374
24375 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24376 (EF_MIPS_ARCH_64): Fix value.
24377 (EF_MIPS_ARCH_32R2): New.
24378 (EF_MIPS_ARCH_64R2): New.
24379
740b3dbe
L
243802013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24381
24382 * Makeconfig (+link-pie-before-libc): New.
24383 (+link-pie-after-libc): Likewise.
24384 (+link-pie-tests): Likewise.
24385 (+link-pie): Rewritten.
24386 (link-before-libc): Remove $(config-LDFLAGS).
24387 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24388 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24389 (config-LDFLAGS): Renamed to ...
24390 (rtld-LDFLAGS): This.
24391 (rtld-tests-LDFLAGS): New macro.
24392 (link-libc-rpath-link): Likewise.
24393 (link-libc-tests-rpath-link): Likewise.
24394 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24395 (link-libc): Prepand $(link-libc-rpath-link).
24396 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24397 (test-program-prefix): New macro.
24398 (test-via-rtld-prefix): Likewise.
24399 (test-program-cmd): Likewise.
24400 (host-test-program-cmd): Likewise.
24401 * Makefile ($(common-objpfx)testrun.sh): Replace
24402 $(run-program-prefix) with $(test-program-prefix).
24403 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24404 $(rtld-LDFLAGS).
24405 ($(common-objpfx)shlib.lds): Likewise.
24406 (build-module-helper): Likewise.
24407 ($(common-objpfx)format.lds): Likewise.
24408 * Rules (binaries-pie-tests): New.
24409 (binaries-pie-notests): Likewise.
24410 (binaries-pie): Rewritten.
24411 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24412 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24413 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24414 (make-test-out): Replace $(host-built-program-cmd) with
24415 $(host-test-program-cmd).
24416 * config.make.in (build-hardcoded-path-in-tests): New variable.
24417 * configure.in (--enable-hardcoded-path-in-tests): New configure
24418 option.
24419 (hardcoded_path_in_tests): New AC_SUBST.
24420 * configure: Regenerated.
24421 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24422 $(built-program-cmd) with $(test-program-cmd).
24423 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24424 (test_program_cmd): This.
24425 * elf/Makefile ($(objpfx)order.out): Run test with
24426 $(test-program-prefix).
24427 ($(objpfx)order2.out): Likewise.
24428 ($(objpfx)tst-initorder.out): Likewise.
24429 ($(objpfx)tst-initorder2.out): Likewise.
24430 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24431 $(test-program-cmd).
24432 ($(objpfx)tst-array1-static.out): Likewise.
24433 ($(objpfx)tst-array2.out): Likewise.
24434 ($(objpfx)tst-array3.out): Likewise.
24435 ($(objpfx)tst-array4.out): Likewise.
24436 ($(objpfx)tst-array5.out): Likewise.
24437 ($(objpfx)tst-array5-static.out): Likewise.
24438 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24439 $(test-program-cmd).
24440 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24441 $(run-program-prefix) with $(test-program-prefix).
24442 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24443 (test_program_prefix): This.
24444 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24445 $(run-program-prefix) with $(test-program-prefix).
24446 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24447 (test_program_prefix): This.
24448 * iconvdata/tst-tables.sh: Likewise.
24449 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24450 $(run-program-prefix) with $(test-program-prefix).
24451 ($(objpfx)tst-translit.out): Likewise.
24452 ($(objpfx)tst-gettext2.out): Likewise.
24453 ($(objpfx)tst-gettext4.out): Likewise.
24454 ($(objpfx)tst-gettext6.out): Likewise.
24455 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24456 (test_program_prefix): This.
24457 * intl/tst-gettext2.sh: Likewise.
24458 * intl/tst-gettext4.sh Likewise.
24459 * intl/tst-gettext6.sh: Likewise.
24460 * intl/tst-translit.sh: Likewise.
24461 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24462 with $(test-program-cmd).
24463 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24464 $(run-program-prefix) with $(test-program-prefix).
24465 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24466 (test_program_prefix): This.
24467 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24468 $(run-program-prefix) with $(test-program-prefix).
24469 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24470 (test_program_prefix): This.
24471 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24472 * posix/Makefile ($(objpfx)globtest.out): Replace
24473 $(run-via-rtld-prefix) and $(test-wrapper) with
24474 $(test-program-prefix) and $(test-via-rtld-prefix).
24475 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24476 $(test-program-prefix).
24477 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24478 $(host-test-program-cmd).
24479 (tst-spawn-ARGS): Likewise.
24480 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24481 $(test-program-prefix).
24482 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24483 (test_via_rtld_prefix): This.
24484 (test_wrapper): Renamed to ...
24485 (test_program_prefix): This.
24486 (run_program_prefix): Replaced by test_program_prefix.
24487 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24488 (test_program_prefix): This.
24489 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24490 with $(host-test-program-cmd).
24491 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24492 $(run-program-prefix) with $(test-program-prefix).
24493 ($(objpfx)tst-printf.out): Likewise.
24494 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24495 $(test-program-cmd).
24496 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24497 (test_program_prefix): This.
24498 * stdio-common/tst-unbputc.sh: Likewise.
24499 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24500 $(run-program-prefix) with $(test-program-prefix).
24501 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24502 (test_program_prefix): This.
24503 * string/Makefile ($(objpfx)tst-svc.out): Replace
24504 $(built-program-cmd) with $(test-program-cmd).
24505
c6fe55cf
AJ
245062013-01-11 Andreas Jaeger <aj@suse.de>
24507
24508 [BZ #15003]
24509 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24510 value. Sync with Linux 3.7.
24511
9e6919c8
DM
245122013-01-10 David S. Miller <davem@davemloft.net>
24513
24514 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24515 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24516 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24517
1c9f1a02
RM
245182013-01-10 Roland McGrath <roland@hack.frob.com>
24519
24520 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24521 never set.
24522 * configure: Regenerated.
24523
b9de2dde
DM
245242013-01-10 David S. Miller <davem@davemloft.net>
24525
24526 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24527 sparc V9 rather than using V8 code.
24528 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24529 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24530
e7f68ef4
RM
245312013-01-10 Roland McGrath <roland@hack.frob.com>
24532
24533 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24534 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24535 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24536 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24537 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24538 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24539 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24540 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24541 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24542 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24543 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24544 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24545 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24546 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24547 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24548 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24549 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24550 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24551 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24552 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24553 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24554 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24555 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24556 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24557 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24558 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24559 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24560
5a47cc9c
DM
245612013-01-10 David S. Miller <davem@davemloft.net>
24562
24563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24564
4cf8f209
L
245652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 * posix/Makefile (tests-static): New variable.
24568 (tests): Add $(tests-static).
24569 (tst-exec-static-ARGS): New variable.
24570 (tst-spawn-static-ARGS): Likewise.
24571 * posix/tst-exec-static.c: New file.
24572 * posix/tst-spawn-static.c: Likewise.
24573 * posix/tst-exec.c: Support run directly.
24574 * posix/tst-spawn.c: Likewise.
24575
fed0faa1
JM
245762013-01-10 Joseph Myers <joseph@codesourcery.com>
24577
828beb13
JM
24578 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24579 long.
24580 * math/bits/mathcalls.h (llrint): Likewise.
24581 (llround): Likewise.
24582 * stdlib/stdlib.h (struct drand48_data): Likewise.
24583 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24584 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24585 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24586 Likewise.
24587 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24588 Likewise.
24589 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24590 (elf_greg_t): Likewise.
24591 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24592 (__jmp_buf): Likewise.
24593 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24594 definitions.
24595 (llrint): Likewise, for all definitions.
24596 (llrintl): Likewise.
24597
fed0faa1
JM
24598 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24599 Remove [__GNUC__] condition.
24600 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24601 condition to just [__USE_ISOC99].
24602 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24603
1a20cb20
L
246042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24605
24606 [BZ #14200]
24607 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24608 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24609 defined.
24610 (_POSIX_V6_ILP32_OFF32): Likewise.
24611 (_XBS5_ILP32_OFF32): Likewise.
24612 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24613 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24614
751b85f7
SP
246152013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24616
7490eb81
SP
24617 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24618
751b85f7
SP
24619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24620 doubles __mpexp_twomm1. Adjust usage.
24621 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24622 Remove.
24623
988197f0
AS
246242013-01-10 Andreas Schwab <schwab@suse.de>
24625
24626 [BZ #14964]
24627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24628 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24629
e83d7298
DM
246302013-01-09 David S. Miller <davem@davemloft.net>
24631
034ed64b 24632 [BZ #15003]
57f41c40
AS
24633 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24634 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24635 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24636 (TCP_FASTOPEN): Define.
e83d7298
DM
24637 (tcp_repair_opt): New structure.
24638 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24639 enum values.
57f41c40
AS
24640 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24641 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24642 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24643 (tcp_cookie_transactions): New structure.
24644
d5e0b9bd
AB
246452013-01-09 Anton Blanchard <anton@samba.org>
24646
24647 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24648 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24649 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24650 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24651
0c07e3ea
JM
246522013-01-09 Joseph Myers <joseph@codesourcery.com>
24653
24654 * include/features.h (__USE_ANSI): Remove.
24655
232f7002
RM
246562013-01-09 Roland McGrath <roland@hack.frob.com>
24657
ad98e30c
RM
24658 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24659
232f7002
RM
24660 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24661
950c99ca
SP
246622013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24663
b5792741
SP
24664 * sysdeps/s390/fpu/libm-test-ulps: Update.
24665
47cf2278
SP
24666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24667
950c99ca
SP
24668 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24669 (__acr): Likewise.
24670 (__cpy): Likewise.
24671 (norm): Likewise.
24672 (denorm): Likewise.
24673 (__mp_dbl): Likewise.
24674 (__dbl_mp): Likewise.
24675 (add_magnitudes): Likewise.
24676 (sub_magnitudes): Likewise.
24677 (__add): Likewise.
24678 (__sub): Likewise.
24679 (__mul): Likewise.
24680 (__inv): Likewise.
24681 (__dvd): Likewise.
24682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24683 (__acr): Likewise.
24684 (__cpy): Likewise.
24685 (norm): Likewise.
24686 (denorm): Likewise.
24687 (__mp_dbl): Likewise.
24688 (__dbl_mp): Likewise.
24689 (add_magnitudes): Likewise.
24690 (sub_magnitudes): Likewise.
24691 (__add): Likewise.
24692 (__sub): Likewise.
24693 (__mul): Likewise.
24694 (__inv): Likewise.
24695 (__dvd): Likewise.
24696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24697 (__acr): Likewise.
24698 (__cpy): Likewise.
24699 (norm): Likewise.
24700 (denorm): Likewise.
24701 (__mp_dbl): Likewise.
24702 (__dbl_mp): Likewise.
24703 (add_magnitudes): Likewise.
24704 (sub_magnitudes): Likewise.
24705 (__add): Likewise.
24706 (__sub): Likewise.
24707 (__mul): Likewise.
24708 (__inv): Likewise.
24709 (__dvd): Likewise.
24710
eede9df9
JM
247112013-01-08 Joseph Myers <joseph@codesourcery.com>
24712
24713 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24714 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24715 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24716 2 && __USE_EXTERN_INLINES]: Likewise.
24717
c40ea3d9
AJ
247182013-01-08 Andreas Jaeger <aj@suse.de>
24719
24720 [BZ# 14985]
24721 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24722 Remove.
24723 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24724 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24725
2ccdea26
AB
247262013-01-07 Anton Blanchard <anton@samba.org>
24727
24728 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24729 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24730 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24731 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24732 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24733 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24734 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24735 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24741 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24742 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24743 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24744 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24745 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24746 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24747 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24748 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24749 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24750 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24751 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24752 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24753 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24754 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24755 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24757 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24758 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24760 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24761 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24763 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24764 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24768 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24771
a9708fed
JM
247722013-01-07 Joseph Myers <joseph@codesourcery.com>
24773
375607b9
JM
24774 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24775 (__MALLOC_PMT): Likewise.
24776 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24777 [__GNUC__], only on [_LIBC].
24778 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24779 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24780 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24781 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24782 forward declaration.
24783 (realloc_hook_ini): Likewise.
24784 (memalign_hook_ini): Likewise.
24785 (__libc_memalign): Do not use __MALLOC_PMT in variable
24786 declaration.
24787 (__libc_valloc): Likewise.
24788 (__libc_pvalloc): Likewise.
24789 (__libc_calloc): Likewise.
24790 (__posix_memalign): Likewise.
24791
a9708fed
JM
24792 [BZ #14996]
24793 * math/s_casinh.c: Include <float.h>.
24794 (__casinh): Do not do computation with squaring and square root
24795 for large arguments.
24796 * math/s_casinhf.c: Include <float.h>.
24797 (__casinhf): Do not do computation with squaring and square root
24798 for large arguments.
24799 * math/s_casinhl.c: Include <float.h>.
24800 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24801 (__casinhl): Do not do computation with squaring and square root
24802 for large arguments.
24803 * math/libm-test.inc (casin_test): Add more tests.
24804 (casinh_test): Likewise.
24805 * sysdeps/i386/fpu/libm-test-ulps: Update.
24806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24807
afec409a
L
248082013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24809
24810 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24811 (__x86_64_raw_data_cache_size): Likewise.
24812 (__x86_64_data_cache_size_half): Likewise.
24813 (__x86_64_raw_data_cache_size_half): Likewise.
24814 (__x86_64_shared_cache_size): Likewise.
24815 (__x86_64_raw_shared_cache_size): Likewise.
24816 (__x86_64_shared_cache_size_half): Likewise.
24817 (__x86_64_raw_shared_cache_size_half): Likewise.
24818 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24819 to ...
24820 (__x86_data_cache_size): This.
24821 (__x86_64_raw_data_cache_size): Renamed to ...
24822 (__x86_raw_data_cache_size): This.
24823 (__x86_64_data_cache_size_half): Renamed to ...
24824 (__x86_data_cache_size_half): This.
24825 (__x86_64_raw_data_cache_size_half): Renamed to ...
24826 (__x86_raw_data_cache_size_half): This.
24827 (__x86_64_shared_cache_size): Renamed to ...
24828 (__x86_shared_cache_size): This.
24829 (__x86_64_raw_shared_cache_size): Renamed to ...
24830 (__x86_raw_shared_cache_size): This.
24831 (__x86_64_shared_cache_size_half): Renamed to ...
24832 (__x86_shared_cache_size_half): This.
24833 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24834 (__x86_raw_shared_cache_size_half): This.
24835 * sysdeps/x86_64/memcpy.S: Updated.
24836 * sysdeps/x86_64/memset.S: Likewise.
24837 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24838 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24839 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24840
0b3986d0
DM
248412013-01-04 David S. Miller <davem@davemloft.net>
24842
24843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24844
e47686e9
AS
248452013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24846
d643bac1
AS
24847 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24848 1 to avoid redefinition warning.
24849 (__USE_GNU): Don't define.
24850 (init_signaling_nan): Protoize.
24851
e47686e9
AS
24852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24853
b18decba
SP
248542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24855
fffb407f
SP
24856 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24858 (__cpymn): Likewise.
24859 (norm): Remove commented code.
24860 (denorm): Likewise.
24861 (__mp_dbl): Likewise.
24862 (__inv): Likewise.
24863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24864 (__cpymn): Likewise.
24865 (norm): Remove commented code.
24866 (denorm): Likewise.
24867 (__mp_dbl): Likewise.
24868 (__inv): Likewise.
24869
b18decba
SP
24870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24871 mp_no value for 1.0 and 2.0.
24872 (norm): Use RADIXI instead of radixi.d.
24873 (denorm): Likewise.
24874 (__mul): Use 0.0 instead of zero.d.
24875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24876 mp_no value for 1.0 and 2.0.
24877 (norm): Use RADIXI instead of radixi.d.
24878 (denorm): Likewise.
24879 (__mul): Use 0.0 instead of zero.d.
24880
cdc1c96f
JM
248812013-01-04 Joseph Myers <joseph@codesourcery.com>
24882
24883 [BZ #14994]
24884 * math/s_casinh.c (__casinh): Reduce finite argument to first
24885 quadrant then set signs of results at the end.
24886 * math/s_casinhf.c (__casinhf): Likewise.
24887 * math/s_casinhl.c (__casinhl): Likewise.
24888 * math/libm-test.inc (casin_test): Add more tests.
24889 (casinh_test): Likewise.
24890 * sysdeps/i386/fpu/libm-test-ulps: Update.
24891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24892
302913e1
SP
248932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24894
6420d207
SP
24895 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24896
a9e48ab4
SP
24897 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24898
b7837264
SP
24899 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24900 declarations.
24901 (denorm): Likewise.
24902 (__mp_dbl): Likewise.
24903 (__inv): Likewise.
24904
f8af25d2
SP
24905 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24906 and adjust the header comment.
24907
302913e1
SP
24908 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24909 variable name from declaration.
24910
5d7dd1ca
L
249112013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24912
24913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24914 Initialize COMMON_CPUID_INDEX_7 element.
24915 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24916 (CPUID_RTM): Likewise.
24917 (HAS_RTM): Likewise.
24918 (COMMON_CPUID_INDEX_7): New enum.
24919
2f5f40f4
AS
249202013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24921
24922 [BZ #14981]
24923 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24924 size is zero, record memory as freed.
24925
4056f4a0
AJ
249262013-01-03 Andreas Jaeger <aj@suse.de>
24927
24928 * po/ia.po: Add new Interlingua translation.
24929
ab15736f 249302012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24931
24932 * locale/programs/localedef.c: Fix description of '--posix' flag.
24933
568035b7
JM
249342013-01-02 Joseph Myers <joseph@codesourcery.com>
24935
e6898b8d
JM
24936 * NEWS: Update dates in second copyright notice.
24937 * README: Update copyright dates in example.
24938 * manual/libc.texinfo: Update copyright dates.
24939 * scripts/test-installation.pl: Update copyright date in --version
24940 output.
24941
0e2f9562
JM
24942 * hurd/ctty-input.c: Fix copyright notice formatting.
24943 * hurd/ctty-output.c: Likewise.
24944 * hurd/dtable.c: Likewise.
24945 * hurd/hurd-raise.c: Likewise.
24946 * hurd/hurdprio.c: Likewise.
24947 * hurd/msgportdemux.c: Likewise.
24948 * misc/sys/file.h: Likewise.
24949 * misc/sys/ioctl.h: Likewise.
24950 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24951 * sysdeps/mach/hurd/chdir.c: Likewise.
24952 * sysdeps/mach/hurd/fchdir.c: Likewise.
24953 * sysdeps/mach/hurd/rename.c: Likewise.
24954 * sysdeps/mach/hurd/rmdir.c: Likewise.
24955 * sysdeps/mach/hurd/seekdir.c: Likewise.
24956 * sysdeps/mach/hurd/setsid.c: Likewise.
24957 * sysdeps/posix/wait3.c: Likewise.
24958
568035b7
JM
24959 * All files with FSF copyright notices: Update copyright dates
24960 using scripts/update-copyrights.
24961 * intl/plural.c: Regenerated.
24962 * locale/programs/charmap-kw.h: Likewise.
24963 * locale/programs/locfile-kw.h: Likewise.
24964
da08f647
SP
249652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24966
0f5477af
SP
24967 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24968 four values.
24969
44e0d4c2
SP
24970 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24971 calculation loop and add branch prediction.
24972
4d55b4e5
SP
24973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24974 check access beyond bounds of m1np.
24975
da08f647
SP
24976 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24977 MPTWO.
24978 (__inv): Remove local variable MPTWO to use the global
24979 constant.
24980 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24982 variable MPTWO.
24983 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24984 MP3HALFS static const.
24985
8e051029
DM
249862013-01-01 David S. Miller <davem@davemloft.net>
24987
24988 * po/ca.po: Update from translation team.
24989
f4cf5f2d
JM
249902013-01-01 Joseph Myers <joseph@codesourcery.com>
24991
24992 * scripts/update-copyrights: New file.
24993 * Makeconfig: Reformat copyright notice.
24994 * ctype/ctype.h: Likewise.
24995 * debug/swprintf_chk.c: Likewise.
24996 * elf/dl-cache.c: Likewise.
24997 * elf/dl-debug.c: Likewise.
24998 * elf/dl-object.c: Likewise.
24999 * grp/initgroups.c: Likewise.
25000 * hurd/Makefile: Likewise.
25001 * hurd/hurd/signal.h: Likewise.
25002 * hurd/hurdfault.c: Likewise.
25003 * hurd/hurdioctl.c: Likewise.
25004 * hurd/hurdlookup.c: Likewise.
25005 * hurd/intr-msg.c: Likewise.
25006 * iconv/gconv_open.c: Likewise.
25007 * libio/swprintf.c: Likewise.
25008 * locale/lc-ctype.c: Likewise.
25009 * locale/nl_langinfo.c: Likewise.
25010 * mach/Machrules: Likewise.
25011 * mach/Makefile: Likewise.
25012 * malloc/obstack.h: Likewise.
25013 * manual/Makefile: Likewise.
25014 * manual/tsort.awk: Likewise.
25015 * misc/bits/stab.def: Likewise.
25016 * nis/nis_print_group_entry.c: Likewise.
25017 * nis/nis_table.c: Likewise.
25018 * nis/nss_compat/compat-pwd.c: Likewise.
25019 * nis/nss_compat/compat-spwd.c: Likewise.
25020 * po/Makefile: Likewise.
25021 * posix/fnmatch.c: Likewise.
25022 * posix/regex.h: Likewise.
25023 * resolv/Makefile: Likewise.
25024 * resolv/nss_dns/dns-network.c: Likewise.
25025 * resolv/res_hconf.c: Likewise.
25026 * scripts/gen-sorted.awk: Likewise.
25027 * soft-fp/soft-fp.h: Likewise.
25028 * stdio-common/printf.h: Likewise.
25029 * stdlib/monetary.h: Likewise.
25030 * stdlib/random.c: Likewise.
25031 * stdlib/random_r.c: Likewise.
25032 * sysdeps/generic/Makefile: Likewise.
25033 * sysdeps/gnu/Makefile: Likewise.
25034 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25058 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25062 * sysdeps/mach/hurd/errnos.awk: Likewise.
25063 * sysdeps/mach/hurd/fork.c: Likewise.
25064 * sysdeps/mach/hurd/getcwd.c: Likewise.
25065 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25066 * sysdeps/mach/hurd/mmap.c: Likewise.
25067 * sysdeps/mach/hurd/utimes.c: Likewise.
25068 * sysdeps/mach/hurd/xmknod.c: Likewise.
25069 * sysdeps/posix/profil.c: Likewise.
25070 * sysdeps/posix/readdir_r.c: Likewise.
25071 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25072 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25073 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25074 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25076 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25077 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25078 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25080 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25082 * sysdeps/pthread/lio_listio.c: Likewise.
25083 * sysdeps/sparc/dl-procinfo.h: Likewise.
25084 * sysdeps/unix/i386/sysdep.S: Likewise.
25085 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25086 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25087 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25088 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25090 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25091 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25092 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25093 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25094 * sysdeps/wordsize-32/divdi3.c: Likewise.
25095 * time/sys/time.h: Likewise.
25096 * wcsmbs/Makefile: Likewise.
25097
0549fbba
DM
250982013-01-01 David S. Miller <davem@davemloft.net>
25099
a141f1a7
DM
25100 * po/fr.po: Update from translation team.
25101
0549fbba
DM
25102 * catgets/gencat.c: Update copyright year.
25103 * csu/version.c: Likewise.
25104 * debug/catchsegv.sh: Likewise.
25105 * debug/pcprofiledump.c: Likewise.
25106 * debug/xtrace.sh: Likewise.
25107 * elf/ldconfig.c: Likewise.
25108 * elf/ldd.bash.in: Likewise.
25109 * elf/pldd.c: Likewise.
25110 * elf/sotruss.ksh: Likewise.
25111 * elf/sprof.c: Likewise.
25112 * iconv/iconv_prog.c: Likewise.
25113 * iconv/iconvconfig.c: Likewise.
25114 * locale/programs/locale.c: Likewise.
25115 * locale/programs/localedef.c: Likewise.
25116 * login/programs/pt_chown.c: Likewise.
25117 * malloc/memusage.sh: Likewise.
25118 * malloc/memusagestat.c: Likewise.
25119 * malloc/mtrace.pl: Likewise.
25120 * nscd/nscd.c: Likewise.
25121 * nss/getent.c: Likewise.
25122 * nss/makedb.c: Likewise.
25123 * posix/getconf.c: Likewise.
25124
18ea052c
SP
251252012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25126
25127 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25128 numbers.
25129
9c89fca6
MF
251302012-12-30 Mike Frysinger <vapier@gentoo.org>
25131
25132 * math/bits/mathcalls.h (modf): Use __nonnull.
25133
085ec079
SP
251342012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25135
25136 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25137 (split): Use macro CN instead of the bare value.
25138 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25139 could be used.
25140 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25141 instead of the bare value.
25142 (power1): Likewise.
25143
6d9f97e1
SP
251442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25145
d63f73be
SP
25146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25147 __ATAN_TWOM.
25148 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25149
6d9f97e1
SP
25150 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25151 their values.
25152 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25153 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25154 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25155 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25156
4c4febf5
AJ
251572012-12-28 Andreas Jaeger <aj@suse.de>
25158
af5843ef
AJ
25159 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25160 values are from Linux 3.7.
25161
4c4febf5
AJ
25162 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25163 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25164
99136f82
SP
251652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25166
2f216c3c 25167 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25168 TRUE case.
25169
99136f82
SP
25170 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25171 (norm): Likewise.
25172 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25173 variables with preprocessor constants.
25174 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25175 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25176 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25177
7fffbdff
BH
251782012-12-27 Bruno Haible <bruno@clisp.org>
25179
25180 [BZ #14317]
25181 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25182 only if needed.
25183
b76eb5f0
SP
251842012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25185
31a7fe5c
SP
25186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25187 and use variable directly.
25188 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25189
b76eb5f0
SP
25190 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25191 MPONE.
25192 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25194 variable MPONE.
25195 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25197 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25198 include directive. Remove local variable MPONE.
25199 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25200 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25201 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25202
2c8bfe7d
DM
252032012-12-25 David S. Miller <davem@davemloft.net>
25204
25205 * version.h (RELEASE): Set to "development".
25206 (VERSION): Set to "2.17.90".
25207 * NEWS: Add 2.18 section.
25208
147d03b0
DM
252092012-12-21 David S. Miller <davem@davemloft.net>
25210
25211 * po/hr.po: Update from translation team.
25212
a8ebb2b9
AK
252132012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25214
25215 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25216
95b4f1b6
SE
252172012-12-19 Steve Ellcey <sellcey@mips.com>
25218
b2d94007 25219 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25220
cedb2a90
MS
252212012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25222
25223 * manual/contrib.texi (Contributors): Spelling correction.
25224
bbf527d6
DM
252252012-12-15 David S. Miller <davem@davemloft.net>
25226
25227 * po/ru.po: Update from translation team.
25228
bc38c906
DM
252292012-12-13 David S. Miller <davem@davemloft.net>
25230
85429b1a
DM
25231 * NEWS: Mention IFUNC testsuite enhancements.
25232
d283e353
DM
25233 * po/pl.po: Update from translation team.
25234 * po/bg.po: Likewise.
25235
bc38c906
DM
25236 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25237 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25238
a181b0d7
DM
252392012-12-11 David S. Miller <davem@davemloft.net>
25240
4641d57e
DM
25241 * po/sv.po: Update from translation team.
25242
f7bc6495
DM
25243 * po/vi.po: Update from translation team.
25244
6fc9048f
DM
25245 * po/cs.po: Update from translation team.
25246
a181b0d7
DM
25247 * po/de.po: Update from translation team.
25248 * po/eo.po: Likewise.
25249 * po/nl.po: Likewise.
25250
f70bfe80
SP
252512012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25252
3c8b4190
SP
25253 [BZ #14246]
25254 * manual/argp.texi (Argp Helper Functions): Move node to follow
25255 Argp Parsing State.
25256
f70bfe80
SP
25257 [BZ #14872]
25258 * manual/conf.texi (Limits on File System Capacity): Mention if
25259 terminating null is included in the max size.
25260
188f0adf
AJ
252612012-12-10 Andreas Jaeger <aj@suse.de>
25262
25263 * po/cs.po: Update from translation team.
25264
56e7d3ad
SP
252652012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25266
25267 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25268 void pointer and cast to uintptr_t.
25269 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25270 path.
25271 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25272 * sysdeps/s390/s390-64/memset.S: Likewise.
25273
76f2d2ea 252742012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25275
25276 [BZ #14833]
25277 * menual/message.texi (Message Translation): Fix typos.
25278 (Helper programs for gettext): Likewise.
25279
67cbf9a2
AS
252802012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25281
25282 [BZ #14898]
25283 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25284 Change to -1.
25285
682d0e9a
DM
252862012-12-07 David S. Miller <davem@davemloft.net>
25287
25288 * po/libc.pot: Update.
25289
573cd484
RH
252902012-12-07 Richard Henderson <rth@redhat.com>
25291
7e9da188 25292 [BZ #10114]
573cd484
RH
25293 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25294 normal/normal case to before the switch.
25295 (_FP_DIV): Likewise.
25296
e933a943
MF
252972012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25298 Mike Frysinger <vapier@gentoo.org>
25299
25300 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25301 check for __NR_fadvise64_64.
25302
82123268
CM
253032012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25304
25305 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25306 0, not just to plain "0" as a statement.
25307 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25308 with cw.
25309
d9814526
JM
253102012-12-06 Joseph Myers <joseph@codesourcery.com>
25311
25312 * NEWS: Use sourceware.org in Bugzilla URL.
25313
7728c574
SP
253142012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25315
f16946dd
SP
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25317 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25318
5704bbcb
SP
25319 * stdio-common/tst-put-error.c (do_test): Add newline to the
25320 padded test to ensure flush.
25321
17aa0516
JL
253222012-12-05 Jeff Law <law@redhat.com>
25323
25324 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25325
363313b5
JM
253262012-12-05 Joseph Myers <joseph@codesourcery.com>
25327
effbd42a
JM
25328 * README: Don't refer to ports add-on as distributed separately.
25329 Mention AArch64 in list of systems supported in the ports add-on.
25330
87600365
JM
25331 * LICENSES: Add more non-FSF copyright and license notices.
25332
a0d7066a
JM
25333 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25334 ((unused)).
25335
66ca5a5b
JM
25336 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25337
363313b5
JM
25338 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25339 10000 as width of padded output.
25340
b37984ad
JM
253412012-12-04 Joseph Myers <joseph@codesourcery.com>
25342
9003570a
JM
25343 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25344
b37984ad
JM
25345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25346 variable LX with __attribute__ ((unused)).
25347 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25348 Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25352 with __attribute__ ((unused)).
25353
c8df52ec
DM
253542012-12-04 David S. Miller <davem@abraco.davemloft.net>
25355
25356 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25357
b3b099af
JM
253582012-12-04 Joseph Myers <joseph@codesourcery.com>
25359
c33aa6e3
JM
25360 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25361 (CFLAGS-nldbl-acos.c): New variable.
25362 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25370 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25371 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25372 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25373 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25374 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25375 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25383 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25384 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25385 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25386 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25387 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25388 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25389 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25390 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25391 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25392 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25393 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25394 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25395 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25396 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25397 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25398 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25399 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25400 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25401 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25402 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25403 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25404 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25405 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25406 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25425 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25426 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25427 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25428 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25429 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25430 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25431 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25432 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25433 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25434 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25435 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25436 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25437 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25438 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25439 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25440 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25441 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25442 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25443 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25444 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25445 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25446 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25447 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25448 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25449 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25450 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25451 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25452 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25453 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25454 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25455 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25456 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25457 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25458 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25459
20f0018d
JM
25460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25461 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25462
b3b099af
JM
25463 [BZ #14914]
25464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25465 whole low double instead of just low 47 bits when splitting values
25466 into two parts.
25467
029264d1
AM
254682012-12-03 Allan McRae <allan@archlinux.org>
25469
25470 * manual/stdio.texi (Predefined Printf Handlers): Remove
25471 @hsep and @vsep usage.
25472
c9d6789e
MF
254732012-12-03 Mike Frysinger <vapier@gentoo.org>
25474
25475 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25476 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25477
4b7634a5
JL
254782012-12-03 Jeff Law <law@redhat.com>
25479
25480 * time/sys/time.h (settimeofday): Do not mark TV argument
25481 as __nonnull.
25482
eb6cbd24
MF
254832012-12-01 Mike Frysinger <vapier@gentoo.org>
25484
25485 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25486 when currently writing and seek to current position when not.
25487 * libio/Makefile (tests): Remove bug-fclose1.
25488 * libio/bug-fclose1.c: Delete.
25489
f638872a
JM
254902012-12-01 Joseph Myers <joseph@codesourcery.com>
25491
25492 * manual/arith.texi (feenableexcept): Fix typo.
25493 (fedisableexcept): Likewise.
25494
48085d14
RM
254952012-11-30 Roland McGrath <roland@hack.frob.com>
25496
25497 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25498 second, differently-typed declaration, rather than a cast.
25499
1a538b9f
SP
255002012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25501
25502 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25503 * include/rpc/svc.h: ... here.
25504
d07f2ff1 255052012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25506
25507 [BZ #13013]
25508 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25509 depending n and resplen2 to catch cases where answer
25510 equals answerp2.
25511
c93ec1f0
CD
255122012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25513
25514 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25515 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25516
37db69de
MF
255172012-11-29 Mike Frysinger <vapier@gentoo.org>
25518
25519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25520
e10c4e4f
RM
255212012-11-29 Roland McGrath <roland@hack.frob.com>
25522
25523 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25524
2af1b328
JL
255252012-11-28 Jeff Law <law@redhat.com>
25526
25527 [BZ #13761]
25528 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25529 dataset_temporary. Track alloca usage into alloca_used.
25530 If dataset is large allocate and release it via malloc/free.
25531
111db5b1
FW
255322012-06-04 Florian Weimer <fweimer@redhat.com>
25533
f06cc227 25534 [BZ #14197]
111db5b1
FW
25535 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25536
dd694abd
DM
255372012-11-28 David S. Miller <davem@davemloft.net>
25538
25539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25540
9984dd01
JM
255412012-11-28 Joseph Myers <joseph@codesourcery.com>
25542
25543 [BZ #14803]
25544 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25545 of pi/2 rounded to nearest to 64 bits.
25546 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25547 nearest to 64 bits.
25548 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25549 bits.
25550
14bc93a9
JL
255512012-11-28 Jeff Law <law@redhat.com>
25552 Martin Osvald <mosvald@redhat.com>
25553
25554 [BZ #14889]
25555 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25556 * sunrpc/svc.c: Include time.h.
25557 (__svc_accept_failed): New function.
25558 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25559 any reason other than EINTR, call __svc_accept_failed.
25560 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25561 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25562
e3c6aa3a
AS
255632012-11-28 Andreas Schwab <schwab@suse.de>
25564
25565 * scripts/abilist.awk: Also handle indirect functions in .opd
25566 section.
25567
1bead169
JM
255682012-11-28 Joseph Myers <joseph@codesourcery.com>
25569
25570 [BZ #13881]
25571 * sysdeps/x86/fpu/powl_helper.c: New file.
25572 * sysdeps/x86/fpu/Makefile: Likewise.
25573 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25574 (p3): New object.
25575 (__ieee754_powl): Use __powl_helper for finite arguments except
25576 integer exponents below 8.
25577 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25578 (p3): New object.
25579 (__ieee754_powl): Use __powl_helper for finite arguments except
25580 integer exponents below 8.
25581 * math/libm-test.inc (pow_test): Add more tests and enable some
25582 previously disabled tests.
25583 * sysdeps/i386/fpu/libm-test-ulps: Update.
25584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25585
0817d63d
SP
255862012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25587 Carlos O'Donell <carlos_odonell@mentor.com>
25588
25589 * nss/makedb.c (is_prime): Assert that input is odd and greater
25590 than 4. Note that fact in a comment too.
25591 (next_prime): Add 4 to input.
25592
de2fd463
SP
255932012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
25595 [BZ #11741]
25596 * libio/Makefile (tests): Add test case tst-fwrite-error.
25597 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25598 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25599 * libio/tst-fwrite-error.c: New test case.
25600
c515fb51
L
256012012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25602
25603 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25604 before casting to void *.
25605 * include/libc-internal.h (__pointer_type): New macro.
25606 (__integer_if_pointer_type_sub): Likewise.
25607 (__integer_if_pointer_type): Likewise.
25608 (cast_to_integer): Likewise.
25609 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25610 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25611 before casting to atomic64_t.
25612 (atomic_exchange_acq): Likewise.
25613 (__arch_exchange_and_add_body): Likewise.
25614 (__arch_add_body): Likewise.
25615 (atomic_add_negative): Likewise.
25616 (atomic_add_zero): Likewise.
25617
4cf77aa9
JM
256182012-11-26 Joseph Myers <joseph@codesourcery.com>
25619
25620 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25621 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25622 (add_fdes): Likewise.
25623 (linear_search_fdes): Likewise.
25624 (binary_search_unencoded_fdes): Likewise.
25625
d260b3b4
AS
256262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25627
25628 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25629
67060746
AC
256302012-11-24 Adam Conrad <adconrad@0c3.net>
25631
25632 * configure.in: Autodetect C++ header directories.
25633 * configure: Regenerated.
25634
800938a1
MF
256352012-11-23 Mike Frysinger <vapier@gentoo.org>
25636
25637 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25638
4e6e34e6
AS
256392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25640
25641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25642
7c7feb47
JM
256432012-11-22 Joseph Myers <joseph@codesourcery.com>
25644
7184dcdf
JM
25645 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25646 LDBL_MANT_DIG == 106]: Disable some tests.
25647 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25648 Likewise.
25649 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25650 Likewise.
25651
0a42601f
JM
25652 [BZ #14871]
25653 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25654 input for small inputs. Return +/- pi/2 for large inputs.
25655 * math/libm-test.inc (atan_test): Add more tests.
25656
79c9b9fe
JM
25657 * sysdeps/generic/unwind-dw2-fde-glibc.c
25658 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25659 __attribute__ ((unused)).
25660
c60d3bf2
JM
25661 [BZ #14645]
25662 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25663 x * y if x and y are nonzero and z is zero.
25664
ef1e0867
JM
25665 [BZ #14811]
25666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25667 nonzero exponents with absolute value below 0x1p-117 to +/-
25668 0x1p-117.
25669
1468ded3
JM
25670 [BZ #14869]
25671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25672 up arguments below 2**-450, not just those below 2**-500.
25673 * math/libm-test.inc (hypot_test): Add another test.
25674
8e27e3cc
JM
25675 [BZ #14868]
25676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25677 Return a+b for ratio over 2**120, not 2**60.
25678 * math/libm-test.inc (hypot_test): Add another test.
25679
c9c0279b
JM
25680 * math/libm-test.inc (clog_test): Use
25681 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25682 (clog10_test): Likewise.
25683
7c7feb47
JM
25684 [BZ #6778]
25685 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25686
fff1530e
AS
256872012-11-22 Andreas Schwab <schwab@suse.de>
25688
25689 * sysdeps/i386/fpu/libm-test-ulps: Update.
25690
94558d30
PT
256912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25692
25693 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25694 printf output with newline.
25695
7e1be741
L
256962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25697
6bfea974
L
25698 [BZ #14865]
25699 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25700 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25701 -z nodlopen, -z initfirst and -z execstack support.
25702 * configure: Regenerated.
25703
7e1be741
L
25704 * elf/elf.h (DF_1_NODIRECT): New macro.
25705 (DF_1_IGNMULDEF): Likewise.
25706 (DF_1_NOKSYMS): Likewise.
25707 (DF_1_NOHDR): Likewise.
25708 (DF_1_EDITED): Likewise.
25709 (DF_1_NORELOC): Likewise.
25710 (DF_1_SYMINTPOSE): Likewise.
25711 (DF_1_GLOBAUDIT): Likewise.
25712 (DF_1_SINGLETON): Likewise.
25713 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25714 DT_1_SUPPORTED_MASK bits.
25715 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25716
105ce2ce
CD
257172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25718
25719 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25720
123be9de
TS
257212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25722
d072f3f7
TS
25723 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25724 macro.
25725
123be9de
TS
25726 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25727 (sendmmsg): Move declarations...
25728 * socket/sys/socket.h: ... here.
25729 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25730 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25731 include it from...
25732 * socket/recvmmsg.c: ... this new file.
25733 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25734 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25735 definition of __sendmmsg hidden.
25736 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25737 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25738 Move ENOSYS stub into and include it from...
25739 * socket/sendmmsg.c: ... this new file.
25740 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25741 (sysdep_routines): Move recvmmsg and sendmmsg...
25742 * socket/Makefile (routines): ... here.
25743 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25744 (GLIBC_PRIVATE): Add __sendmmsg.
25745 * include/sys/socket.h (__sendmmsg): Add declarations.
25746 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25747 sendmmsg.
25748
cf9a5d18
JM
257492012-11-20 Joseph Myers <joseph@codesourcery.com>
25750
25751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25752 variable I1 with __attribute__ ((unused)).
25753 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25754
ecd4caf9
JM
257552012-11-19 Joseph Myers <joseph@codesourcery.com>
25756
be14d48f
JM
25757 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25758 DUMMY variables with __attribute__ ((unused)).
25759
ecd4caf9
JM
25760 * bits/byteswap.h: Include <bits/types.h>.
25761 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25762
986cab95
PT
257632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25764
25765 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25766 string_t. Do not manually set errno.
25767 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25768 length with __strnlen. Make sure to both set errno and return it on
25769 failure.
25770
6d33cc9d
DM
257712012-11-19 David S. Miller <davem@davemloft.net>
25772
25773 With help from Joseph Myers.
25774 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25775 very large arguments properly.
25776 * math/libm-test.inc (atan_test): New tests.
25777 (atan2_test): New tests.
25778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25780
ee663277
JM
257812012-11-19 Joseph Myers <joseph@codesourcery.com>
25782
877f2d8e
JM
25783 [BZ #14856]
25784 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25785 Define to 3.
25786
116fc08a
JM
25787 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25788 [POSIX] (EADDRNOTAVAIL): Likewise.
25789 [POSIX] (EAFNOSUPPORT): Likewise.
25790 [POSIX] (EALREADY): Likewise.
25791 [POSIX] (ECONNABORTED): Likewise.
25792 [POSIX] (ECONNREFUSED): Likewise.
25793 [POSIX] (ECONNRESET): Likewise.
25794 [POSIX] (EDESTADDRREQ): Likewise.
25795 [POSIX] (EDQUOT): Likewise.
25796 [POSIX] (EHOSTUNREACH): Likewise.
25797 [POSIX] (EIDRM): Likewise.
25798 [POSIX] (EISCONN): Likewise.
25799 [POSIX] (ELOOP): Likewise.
25800 [POSIX] (EMULTIHOP): Likewise.
25801 [POSIX] (ENETDOWN): Likewise.
25802 [POSIX] (ENETUNREACH): Likewise.
25803 [POSIX] (ENOBUFS): Likewise.
25804 [POSIX] (ENODATA): Likewise.
25805 [POSIX] (ENOLINK): Likewise.
25806 [POSIX] (ENOMSG): Likewise.
25807 [POSIX] (ENOPROTOOPT): Likewise.
25808 [POSIX] (ENOSR): Likewise.
25809 [POSIX] (ENOSTR): Likewise.
25810 [POSIX] (ENOTCONN): Likewise.
25811 [POSIX] (ENOTSOCK): Likewise.
25812 [POSIX] (EOPNOTSUPP): Likewise.
25813 [POSIX] (EOVERFLOW): Likewise.
25814 [POSIX] (EPROTO): Likewise.
25815 [POSIX] (EPROTONOSUPPORT): Likewise.
25816 [POSIX] (EPROTOTYPE): Likewise.
25817 [POSIX] (ESTALE): Likewise.
25818 [POSIX] (ETIME): Likewise.
25819 [POSIX] (ETXTBSY): Likewise.
25820 [POSIX] (EWOULDBLOCK): Likewise.
25821 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25822 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25823 [POSIX] (SEEK_CUR): Likewise.
25824 [POSIX] (SEEK_END): Likewise.
25825 [POSIX || UNIX98] (mode_t): Do not require.
25826 [POSIX] (off_t): Likewise.
25827 [POSIX] (pid_t): Likewise.
25828 [POSIX] (sys/stat.h): Do not allow header.
25829 [POSIX] (unistd.h): Likewise.
25830 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25831 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25832 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25833 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25834 require.
25835 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25836 sigevent): Specify elements.
25837 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25838 entry.
25839 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25840 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25841
a483863f
JM
25842 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25843 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25844 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25845 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25846 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25847 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25848 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25849 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25850 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25851 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25852 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25853 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25854 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25855 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25856 Likewise.
25857 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25858 Likewise.
25859 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25860 Likewise.
25861 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25862 Likewise.
25863 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25864 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25865 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25866 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25868 Specify lower bound on value.
25869 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25871 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25872 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25875 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25876 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25877 value.
25878 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25879 as optional.
25880 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25890 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25892 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25893 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25896 entry.
25897 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25898 optional.
25899 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25905 Likewise.
25906 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25911 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25912 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25913 as optional.
25914 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25918 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25919 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25920 specify as optional.
25921 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25924 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25925 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25926 [XPG3] (NL_LANGMAX): Likewise.
25927 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25928 [POSIX || XPG3] (NL_NMAX): Likewise.
25929 [POSIX || XPG3] (NL_SETMAX): Likewise.
25930 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25931 [XPG3] (NZERO): Likewise.
25932 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25933 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25934 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25935 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25936 (REG_ERANGE): Expect.
25937 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25938 optional-constant.
25939 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25940 Use (void) in prototype.
25941 [POSIX] (*_t): Allow.
25942 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25943 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25944 (WRDE_BADVAL): Expect.
25945
5ba924e3
JM
25946 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25947 expect.
25948 [XPG3 || XPG4] (O_RSYNC): Likewise.
25949 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25950 Likewise.
25951 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25952 [XPG3 || XPG4] (sigqueue): Likewise.
25953 [XPG3 || XPG4] (sigtimedwait): Likewise.
25954 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25955 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25956 [XPG3 || XPG4] (vsnprintf): Likewise.
25957 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25958 Likewise.
25959 [XPG3 || XPG4] (blksize_t): Likewise.
25960 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25961 Likewise.
25962 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25963 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25964 [XPG3 || XPG4] (struct itimerspec): Likewise.
25965 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25966 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25967 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25968 [XPG3 || XPG4] (clockid_t): Likewise.
25969 [XPG3 || XPG4] (timer_t): Likewise.
25970 [XPG3 || XPG4] (clock_getres): Likewise.
25971 [XPG3 || XPG4] (clock_gettime): Likewise.
25972 [XPG3 || XPG4] (clock_settime): Likewise.
25973 [XPG3 || XPG4] (nanosleep): Likewise.
25974 [XPG3 || XPG4] (timer_create): Likewise.
25975 [XPG3 || XPG4] (timer_delete): Likewise.
25976 [XPG3 || XPG4] (timer_gettime): Likewise.
25977 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25978 [XPG3 || XPG4] (timer_settime): Likewise.
25979 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25980 [XPG3 || XPG4] (getlogin_r): Likewise.
25981 [XPG3 || XPG4] (pread): Likewise.
25982 [XPG3 || XPG4] (pthread_atfork): Likewise.
25983 [XPG3 || XPG4] (pwrite): Likewise.
25984
ee663277
JM
25985 [BZ #14835]
25986 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25987 <bits/siginfo.h>.
25988
942caa16
PT
259892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25990
e19af380
PT
25991 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25992 finalizing MALLSTREAM.
25993
942caa16
PT
25994 * sysdeps/mach/hurd/syncfs.c: New file.
25995
cfde9b46
SP
259962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25997
25998 [BZ #14719]
25999 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26000 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26001 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26002 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26003 (_nss_dns_gethostbyname4_r): Likewise.
26004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26005 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26006
f6da27e5
PH
260072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26008
26009 [BZ #13763]
26010 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26011
6665d4a2
SM
260122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26013
1f51ee92
SM
26014 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26015 * elf/cache.c (print_entry): Print ",AArch64" for
26016 FLAG_AARCH64_LIB64
26017
6665d4a2
SM
26018 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26019 * elf/cache.c (print_entry): Print ",hard-float" for
26020 FLAG_ARM_LIBHF.
26021
05b227bd
DM
260222012-11-18 David S. Miller <davem@davemloft.net>
26023
26024 With help from Joseph Myers.
26025 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26026 cutoff to 2**-13.
26027 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26028 cutoff to 2**-25.
26029 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26030 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26031 small.
26032 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26033 * math/libm-test.inc (y0_test): New tests.
26034 (y1_test): New tests.
26035 * sysdeps/i386/fpu/libm-test-ulps: Update.
26036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26038
786b0b67
AS
260392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26040
26041 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26042 64-bit targets.
26043 * configure: Regenerated.
26044
8e18b86d
DM
260452012-11-17 David S. Miller <davem@davemloft.net>
26046
26047 [BZ #14811]
26048 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26049 nonzero exponents with absolute value below 0x1p-128 to +/-
26050 0x1p-128.
26051
531f1ae0
JM
260522012-11-17 Joseph Myers <joseph@codesourcery.com>
26053
12df29e2
JM
26054 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26055
150dc1a0
JM
26056 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26057
531f1ae0
JM
26058 * posix/getconf-speclist.c: New file.
26059 * posix/posix-envs.def: Likewise.
26060 * posix/confstr.c (START_ENV_GROUP): New macro.
26061 (END_ENV_GROUP): Likewise.
26062 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26063 (KNOWN_PRESENT_ENV_STRING): Likewise.
26064 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26065 (UNKNOWN_ENVIRONMENT): Likewise.
26066 (confstr): Include posix-envs.def instead of handling
26067 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26068 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26069 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26070 (END_ENV_GROUP): Likewise.
26071 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26072 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26073 (UNKNOWN_ENVIRONMENT): Likewise.
26074 (__sysconf): Include posix-envs.def instead of handling associated
26075 cases directly here.
26076 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26077 preprocessing getconf-speclist.c rather than running getconf or
26078 generating empty file.
26079
a93f9cbc
PT
260802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26081
26082 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26083
d64d9f87
AL
260842012-11-16 Andrej Lajovic <natrij@gmail.com>
26085
26086 [BZ #14672]
26087 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26088
447885eb
DM
260892012-11-16 David S. Miller <davem@davemloft.net>
26090
26091 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26092 smaller than LDBL_EPSILON/2.0L, just return xm1.
26093
bcbf9830
L
260942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26095
26096 * elf/tst-array1.c (init): Set constructor priority to 1000.
26097 (fini): Set destructor priority to 1000.
26098 * elf/tst-array2dep.c: Likewise.
26099
2b766585
SP
261002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26101
26102 [BZ #11741]
26103 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26104 (_IO_new_file_xsputn): Also return EOF if none of the input
26105 data was written when overflow failed.
26106 * libio/iopadn.c (_IO_padn): Likewise.
26107 * libio/iowpadn.c (_IO_wpadn): Likewise.
26108 * stdio-common/tst-put-error.c: Add copyright notice.
26109 (do_test): Add case for printing padded string.
26110 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26111 _IO_padn returned error.
26112 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26113 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26114 return EOF.
26115
b1848fde
SP
261162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
26118 * libio/libioP.h: Add comment note that the references to C++
26119 bits are now obsolete.
26120
2fd89785
MS
261212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26122
26123 * math/libm-test.inc (check_complex): Use asprintf.
26124
e3ea5409
JM
261252012-11-14 Joseph Myers <joseph@codesourcery.com>
26126
26127 * debug/pcprofiledump.c (print_version): Update copyright year.
26128 * malloc/memusagestat.c (print_version): Likewise.
26129
2e64d265
L
261302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26131
26132 [BZ #14831]
26133 * elf/Makefile (tests): Add tst-audit8.
26134 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26135 ($(objpfx)tst-audit8.out): New target.
26136 (tst-audit8-ENV): New variable.
26137 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26138 audit if l_reloc_result is NULL.
26139 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26140 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26141 * elf/tst-audit8.c: New file.
26142
c485e4d2
MS
261432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26144
26145 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26146 * misc/Makefile (CFLAGS-select.c): Define.
26147 * posix/Makefile (CFLAGS-pause.c): Define.
26148
3a0d900a
DM
261492012-11-13 David S. Miller <davem@davemloft.net>
26150
26151 * crypt/Makefile: Move test targets after toplevel Rules
26152 inclusion. Grab any necessary sysdep routines when linking.
26153 * crypt/md5.c (md5_process_block): Remove define, we will always
26154 name it __md5_process_block.
26155 (md5_finish_ctx): Update md5_process_block call.
26156 (md5_stream): Likewise.
26157 (md5_process_bytes): Likewise.
26158 (md5_process_block): Rename to __md5_process_block and move to ...
26159 * crypt/md5-block.c: ... here.
26160 * crypt/sha256.c (sha256_process_block): Move to ...
26161 * crypt/sha256-block.c: ... here.
26162 * crypt/sha512.c (sha512_process_block): Move to ...
26163 * crypt/sha512-block.c: ... here.
26164 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26165 path.
26166 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26167 * sysdeps/sparc/sparc64/multiarch/Makefile
26168 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26169 crypt subdir.
26170 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26172 multiarch changes.
26173 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26174 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26175 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26176 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26177 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26178 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26179 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26180 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26181 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26182 file.
26183 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26184 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26185 file.
26186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26187
8ca89318
JM
261882012-11-13 Joseph Myers <joseph@codesourcery.com>
26189
e27d476a
JM
26190 * timezone/tzselect.ksh: Update from tzcode git revision
26191 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26192 * timezone/zdump.c: Likewise.
26193 * timezone/zic.c: Likewise.
26194 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26195 in TZVERSION setting, not $(PKGVERSION).
26196 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26197 REPORT_BUGS_TO settings.
26198
8ca89318
JM
26199 [BZ #14838]
26200 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26201 macro.
26202
47594329
MS
262032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26204
26205 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26206 detection to immediately after _FP_ROUND().
26207 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26208 bits are 0.
26209
640ac3f1
DM
262102012-11-11 David S. Miller <davem@davemloft.net>
26211
26212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26213 inttypes.h
26214 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26215 __close rather than their public counterparts.
26216
3d2577bb
JM
262172012-11-10 Joseph Myers <joseph@codesourcery.com>
26218
26219 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26220 file.
26221 [UNIX98] (sem_timedwait): Do not expect.
26222 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26223 [XPG4 || UNIX98] (sockatmark): Do not expect.
26224 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26225 (clock_getcpuclockid): Do not expect.
26226 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26227 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26228 Do not expect.
26229 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26230 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26231 [UNIX98] (vwscanf): Likewise.
26232 [UNIX98] (vswscanf): Likewise.
26233
fb1ae1ee
JM
262342012-11-09 Joseph Myers <joseph@codesourcery.com>
26235
9ec6f8bd
JM
26236 * timezone/version.h: Remove file.
26237 * timezone/README: Do not refer to version.h.
26238 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26239 $(objpfx)version.h.
26240 ($(objpfx)zdump.o): Likewise.
c3f81911 26241 ($(objpfx)version.h): New target.
9ec6f8bd 26242
0aa8f8a1
JM
26243 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26244 2012i.
26245 * timezone/README: Don't mention modification to tzselect.ksh.
26246 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26247 work on unmodified tzselect.ksh. Substitute version numbers in
26248 tzselect.ksh.
26249
4e87147f
JM
26250 * Makefile (format-me): Remove.
26251 (INSTALL): Adjust indentation. Use commands directly instead of
26252 using $(format-me).
26253
8b748aed
JM
26254 * aclocal.m4 (ACX_PKGVERSION): New macro.
26255 (ACX_BUGURL): Likewise.
26256 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26257 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26258 (REPORT_BUGS_TO): Likewise.
26259 * configure: Regenerated.
26260 * config.h.in (PKGVERSION): New macro.
26261 (REPORT_BUGS_TO): Likewise.
26262 * config.make.in (PKGVERSION): New variable.
26263 (PKGVERSION_TEXI): Likewise.
26264 (REPORT_BUGS_TO): Likewise.
26265 (REPORT_BUGS_TEXI): Likewise.
26266 * Makefile (format-me): Use -I$(common-objpfx)manual.
26267 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26268 ($(common-objpfx)manual/%): New target.
26269 (manual/%): Remove target.
26270 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26271 (print_version): Use PKGVERSION.
26272 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26273 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26274 and REPORT_BUGS_TO.
26275 ($(objpfx)xtrace): Likewise.
26276 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26277 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26278 (print_version): Use PKGVERSION.
26279 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26280 (do_version): Use PKGVERSION.
26281 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26282 REPORT_BUGS_TO.
26283 (common-ldd-rewrite): Likewise.
26284 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26285 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26286 (print_version): Use PKGVERSION.
26287 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26288 * elf/pldd.c (argp_program_bug_address): Remove variable.
26289 (more_help): New function.
26290 (argp): Use more_help.
26291 (print_version): Use PKGVERSION.
26292 * elf/sln.c (main): Use PKGVERSION.
26293 (usage): Use REPORT_BUGS_TO.
26294 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26295 (top level): Use PKGVERSION.
26296 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26297 (print_version): Use PKGVERSION.
26298 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26299 (print_version): Use PKGVERSION.
26300 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26301 (print_version): Use PKGVERSION.
26302 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26303 (print_version): Use PKGVERSION.
26304 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26305 (print_version): Use PKGVERSION.
26306 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26307 (print_version): Use PKGVERSION.
26308 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26309 and BUGURL.
26310 ($(objpfx)memusage): Likewise.
26311 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26312 (do_version): Use PKGVERSION.
26313 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26314 (print_version): Use PKGVERSION.
26315 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26316 ($PKGVERSION): New variable.
26317 ($REPORT_BUGS_TO): Likewise.
26318 (usage): Use $REPORT_BUGS_TO.
26319 (top level): Use $PKGVERSION.
26320 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26321 ($(objpfx)pkgvers.texi): New rule.
26322 ($(objpfx)stamp-pkgvers): Likewise.
26323 * manual/install.texi: Include pkgvers.texi.
26324 (--with-pkgversion): Document new configure option.
26325 (--with-bugurl): Likewise.
26326 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26327 than necessarily for this particular distribution. Use
26328 REPORT_BUGS_TO for where to report bugs.
26329 * INSTALL: Regenerated.
26330 * manual/libc.texinfo: Include pkgvers.texi.
26331 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26332 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26333 (print_version): Use PKGVERSION.
26334 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26335 (print_version): Use PKGVERSION.
26336 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26337 (print_version): Use PKGVERSION.
26338 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26339 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26340 macro.
26341 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26342 (print_version): Use PKGVERSION.
26343 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26344 (print_version): Use PKGVERSION.
26345 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26346 and PKGVERSION.
26347
92e4b6a9
JM
26348 * timezone/checktab.awk: Update from tzcode 2012i.
26349 * timezone/ialloc.c: Likewise.
26350 * timezone/private.h: Likewise.
26351 * timezone/scheck.c: Likewise.
26352 * timezone/tzfile.h: Likewise.
26353 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26354 (TZVERSION): Hardcode tzcode version number.
26355 * timezone/zdump.c: Update from tzcode 2012i.
26356 * timezone/zic.c: Likewise.
26357 * timezone/version.h: New file.
26358 * timezone/README: Describe version.h. Update upstream location.
26359
9bde902c
JM
26360 [BZ #14824]
26361 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26362 (mktemp): Enable declaration.
26363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26367 Likewise.
26368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26369 Likewise.
26370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26371 Likewise.
26372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26373 Likewise.
26374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26375 Likewise.
26376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26377 Likewise.
26378
fb1ae1ee
JM
26379 [BZ #14821]
26380 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26381 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26382 for copies of such integer values.
26383 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26384 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26385
2c1adbcb
AJ
263862012-11-09 Andreas Jaeger <aj@suse.de>
26387
26388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26389 definitions and declarations that are provided by
26390 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26391
d0f8457e
AK
263922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26393
3a235abb 26394 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26395 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26396 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26397 definition.
26398
57241e26
MS
263992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26400
26401 * elf/elf.h: Update comment before AArch64 relocations.
26402
60e8270d
DM
264032012-11-07 David S. Miller <davem@davemloft.net>
26404
26405 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26406 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26407 (__start_context): Declare.
26408 (__makecontext_ret): Delete.
26409 (__makecontext): Hook up __start_context instead of
26410 __makecontext_ret.
26411 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26412 (sysdep_routines): Add __start_context when in stdlib.
26413
0fbb0fbc
JM
264142012-11-07 Joseph Myers <joseph@codesourcery.com>
26415
26416 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26417 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26418 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26419 hardcoded "nm".
26420 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26421 (READELF): New variable. Use it instead of hardcoded "readelf".
26422
eb48db7e
L
264232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26424
26425 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26426 * sysdeps/x86/Makefile: Here.
26427 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26428 * sysdeps/x86/tst-xmmymm.sh: This.
26429
05bcf62a
JM
264302012-11-07 Joseph Myers <joseph@codesourcery.com>
26431
c4b6cf53
JM
26432 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26433 expectations.
26434 [UNIX98] (pthread_barrier_t): Do not expect.
26435 [UNIX98] (pthread_barrierattr_t): Likewise.
26436 [UNIX98] (pthread_spinlock_t): Likewise.
26437 [UNIX98] (pthread_barrier_destroy): Likewise.
26438 [UNIX98] (pthread_barrier_init): Likewise.
26439 [UNIX98] (pthread_barrier_wait): Likewise.
26440 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26441 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26442 [UNIX98] (pthread_barrierattr_init): Likewise.
26443 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26444 [UNIX98] (pthread_getcpuclockid): Likewise.
26445 [UNIX98] (pthread_mutex_timedlock): Likewise.
26446 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26447 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26448 [UNIX98] (pthread_sigmask): Likewise.
26449 [UNIX98] (pthread_spin_destroy): Likewise.
26450 [UNIX98] (pthread_spin_init): Likewise.
26451 [UNIX98] (pthread_spin_lock): Likewise.
26452 [UNIX98] (pthread_spin_trylock): Likewise.
26453 [UNIX98] (pthread_spin_unlock): Likewise.
26454 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26455 Do not expect.
26456 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26457 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26458 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26459 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26460 [XPG3 || XPG4] (pthread_key_t): Likewise.
26461 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26462 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26463 [XPG3 || XPG4] (pthread_once_t): Likewise.
26464 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26465 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26466 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26467 [XPG3 || XPG4] (pthread_t): Likewise.
26468
cbe6e120
JM
26469 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26470 not expect.
26471 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26472
1b126443
JM
26473 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26474 Change function return type to int.
26475
b961a573
JM
26476 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26477 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26478 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26479 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26480 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26481 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26482 [!POSIX] (posix_madvise): Likewise.
26483 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26484 && !UNIX98].
26485 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26486 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26487 (mode_t): Likewise.
26488 (posix_mem_offset): Likewise.
26489 (posix_typed_mem_get_info): Likewise.
26490 (posix_typed_mem_open): Likewise.
26491
9e188909
JM
26492 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26493 Change condition to [XOPEN2K8].
26494
05bcf62a
JM
26495 * conform/conformtest.pl: Preprocess allow-header data with -x c
26496 instead of from stdin.
26497 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26498 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26499 [C99-based standards] (cerfc): Likewise.
26500 [C99-based standards] (cexp2): Likewise.
26501 [C99-based standards] (cexpm1): Likewise.
26502 [C99-based standards] (clog10): Likewise.
26503 [C99-based standards] (clog1p): Likewise.
26504 [C99-based standards] (clog2): Likewise.
26505 [C99-based standards] (clgamma): Likewise.
26506 [C99-based standards] (ctgamma): Likewise.
26507 [C99-based standards] (cerff): Likewise.
26508 [C99-based standards] (cerfcf): Likewise.
26509 [C99-based standards] (cexp2f): Likewise.
26510 [C99-based standards] (cexpm1f): Likewise.
26511 [C99-based standards] (clog10f): Likewise.
26512 [C99-based standards] (clog1pf): Likewise.
26513 [C99-based standards] (clog2f): Likewise.
26514 [C99-based standards] (clgammaf): Likewise.
26515 [C99-based standards] (ctgammaf): Likewise.
26516 [C99-based standards] (cerfl): Likewise.
26517 [C99-based standards] (cerfcl): Likewise.
26518 [C99-based standards] (cexp2l): Likewise.
26519 [C99-based standards] (cexpm1l): Likewise.
26520 [C99-based standards] (clog10l): Likewise.
26521 [C99-based standards] (clog1pl): Likewise.
26522 [C99-based standards] (clog2l): Likewise.
26523 [C99-based standards] (clgammal): Likewise.
26524 [C99-based standards] (ctgammal): Likewise.
26525 * conform/data/inttypes.h-data [C99-based standards]: Include
26526 stdint.h-data. Remove all expectations for stdint.h contents.
26527 [C99-based standards] (PRI*): Do not allow.
26528 [C99-based standards] (SCN*): Likewise.
26529 [C99-based standards] (*_t): Likewise.
26530 [C99-based-standards] (PRId8): Expect macro.
26531 [C99-based-standards] (PRIi8): Likewise.
26532 [C99-based-standards] (PRIo8): Likewise.
26533 [C99-based-standards] (PRIu8): Likewise.
26534 [C99-based-standards] (PRIx8): Likewise.
26535 [C99-based-standards] (PRIX8): Likewise.
26536 [C99-based-standards] (SCNd8): Likewise.
26537 [C99-based-standards] (SCNi8): Likewise.
26538 [C99-based-standards] (SCNo8): Likewise.
26539 [C99-based-standards] (SCNu8): Likewise.
26540 [C99-based-standards] (SCNx8): Likewise.
26541 [C99-based-standards] (PRIdLEAST8): Likewise.
26542 [C99-based-standards] (PRIiLEAST8): Likewise.
26543 [C99-based-standards] (PRIoLEAST8): Likewise.
26544 [C99-based-standards] (PRIuLEAST8): Likewise.
26545 [C99-based-standards] (PRIxLEAST8): Likewise.
26546 [C99-based-standards] (PRIXLEAST8): Likewise.
26547 [C99-based-standards] (SCNdLEAST8): Likewise.
26548 [C99-based-standards] (SCNiLEAST8): Likewise.
26549 [C99-based-standards] (SCNoLEAST8): Likewise.
26550 [C99-based-standards] (SCNuLEAST8): Likewise.
26551 [C99-based-standards] (SCNxLEAST8): Likewise.
26552 [C99-based-standards] (PRIdFAST8): Likewise.
26553 [C99-based-standards] (PRIiFAST8): Likewise.
26554 [C99-based-standards] (PRIoFAST8): Likewise.
26555 [C99-based-standards] (PRIuFAST8): Likewise.
26556 [C99-based-standards] (PRIxFAST8): Likewise.
26557 [C99-based-standards] (PRIXFAST8): Likewise.
26558 [C99-based-standards] (SCNdFAST8): Likewise.
26559 [C99-based-standards] (SCNiFAST8): Likewise.
26560 [C99-based-standards] (SCNoFAST8): Likewise.
26561 [C99-based-standards] (SCNuFAST8): Likewise.
26562 [C99-based-standards] (SCNxFAST8): Likewise.
26563 [C99-based-standards] (PRId16): Likewise.
26564 [C99-based-standards] (PRIi16): Likewise.
26565 [C99-based-standards] (PRIo16): Likewise.
26566 [C99-based-standards] (PRIu16): Likewise.
26567 [C99-based-standards] (PRIx16): Likewise.
26568 [C99-based-standards] (PRIX16): Likewise.
26569 [C99-based-standards] (SCNd16): Likewise.
26570 [C99-based-standards] (SCNi16): Likewise.
26571 [C99-based-standards] (SCNo16): Likewise.
26572 [C99-based-standards] (SCNu16): Likewise.
26573 [C99-based-standards] (SCNx16): Likewise.
26574 [C99-based-standards] (PRIdLEAST16): Likewise.
26575 [C99-based-standards] (PRIiLEAST16): Likewise.
26576 [C99-based-standards] (PRIoLEAST16): Likewise.
26577 [C99-based-standards] (PRIuLEAST16): Likewise.
26578 [C99-based-standards] (PRIxLEAST16): Likewise.
26579 [C99-based-standards] (PRIXLEAST16): Likewise.
26580 [C99-based-standards] (SCNdLEAST16): Likewise.
26581 [C99-based-standards] (SCNiLEAST16): Likewise.
26582 [C99-based-standards] (SCNoLEAST16): Likewise.
26583 [C99-based-standards] (SCNuLEAST16): Likewise.
26584 [C99-based-standards] (SCNxLEAST16): Likewise.
26585 [C99-based-standards] (PRIdFAST16): Likewise.
26586 [C99-based-standards] (PRIiFAST16): Likewise.
26587 [C99-based-standards] (PRIoFAST16): Likewise.
26588 [C99-based-standards] (PRIuFAST16): Likewise.
26589 [C99-based-standards] (PRIxFAST16): Likewise.
26590 [C99-based-standards] (PRIXFAST16): Likewise.
26591 [C99-based-standards] (SCNdFAST16): Likewise.
26592 [C99-based-standards] (SCNiFAST16): Likewise.
26593 [C99-based-standards] (SCNoFAST16): Likewise.
26594 [C99-based-standards] (SCNuFAST16): Likewise.
26595 [C99-based-standards] (SCNxFAST16): Likewise.
26596 [C99-based-standards] (PRId32): Likewise.
26597 [C99-based-standards] (PRIi32): Likewise.
26598 [C99-based-standards] (PRIo32): Likewise.
26599 [C99-based-standards] (PRIu32): Likewise.
26600 [C99-based-standards] (PRIx32): Likewise.
26601 [C99-based-standards] (PRIX32): Likewise.
26602 [C99-based-standards] (SCNd32): Likewise.
26603 [C99-based-standards] (SCNi32): Likewise.
26604 [C99-based-standards] (SCNo32): Likewise.
26605 [C99-based-standards] (SCNu32): Likewise.
26606 [C99-based-standards] (SCNx32): Likewise.
26607 [C99-based-standards] (PRIdLEAST32): Likewise.
26608 [C99-based-standards] (PRIiLEAST32): Likewise.
26609 [C99-based-standards] (PRIoLEAST32): Likewise.
26610 [C99-based-standards] (PRIuLEAST32): Likewise.
26611 [C99-based-standards] (PRIxLEAST32): Likewise.
26612 [C99-based-standards] (PRIXLEAST32): Likewise.
26613 [C99-based-standards] (SCNdLEAST32): Likewise.
26614 [C99-based-standards] (SCNiLEAST32): Likewise.
26615 [C99-based-standards] (SCNoLEAST32): Likewise.
26616 [C99-based-standards] (SCNuLEAST32): Likewise.
26617 [C99-based-standards] (SCNxLEAST32): Likewise.
26618 [C99-based-standards] (PRIdFAST32): Likewise.
26619 [C99-based-standards] (PRIiFAST32): Likewise.
26620 [C99-based-standards] (PRIoFAST32): Likewise.
26621 [C99-based-standards] (PRIuFAST32): Likewise.
26622 [C99-based-standards] (PRIxFAST32): Likewise.
26623 [C99-based-standards] (PRIXFAST32): Likewise.
26624 [C99-based-standards] (SCNdFAST32): Likewise.
26625 [C99-based-standards] (SCNiFAST32): Likewise.
26626 [C99-based-standards] (SCNoFAST32): Likewise.
26627 [C99-based-standards] (SCNuFAST32): Likewise.
26628 [C99-based-standards] (SCNxFAST32): Likewise.
26629 [C99-based-standards] (PRId64): Likewise.
26630 [C99-based-standards] (PRIi64): Likewise.
26631 [C99-based-standards] (PRIo64): Likewise.
26632 [C99-based-standards] (PRIu64): Likewise.
26633 [C99-based-standards] (PRIx64): Likewise.
26634 [C99-based-standards] (PRIX64): Likewise.
26635 [C99-based-standards] (SCNd64): Likewise.
26636 [C99-based-standards] (SCNi64): Likewise.
26637 [C99-based-standards] (SCNo64): Likewise.
26638 [C99-based-standards] (SCNu64): Likewise.
26639 [C99-based-standards] (SCNx64): Likewise.
26640 [C99-based-standards] (PRIdLEAST64): Likewise.
26641 [C99-based-standards] (PRIiLEAST64): Likewise.
26642 [C99-based-standards] (PRIoLEAST64): Likewise.
26643 [C99-based-standards] (PRIuLEAST64): Likewise.
26644 [C99-based-standards] (PRIxLEAST64): Likewise.
26645 [C99-based-standards] (PRIXLEAST64): Likewise.
26646 [C99-based-standards] (SCNdLEAST64): Likewise.
26647 [C99-based-standards] (SCNiLEAST64): Likewise.
26648 [C99-based-standards] (SCNoLEAST64): Likewise.
26649 [C99-based-standards] (SCNuLEAST64): Likewise.
26650 [C99-based-standards] (SCNxLEAST64): Likewise.
26651 [C99-based-standards] (PRIdFAST64): Likewise.
26652 [C99-based-standards] (PRIiFAST64): Likewise.
26653 [C99-based-standards] (PRIoFAST64): Likewise.
26654 [C99-based-standards] (PRIuFAST64): Likewise.
26655 [C99-based-standards] (PRIxFAST64): Likewise.
26656 [C99-based-standards] (PRIXFAST64): Likewise.
26657 [C99-based-standards] (SCNdFAST64): Likewise.
26658 [C99-based-standards] (SCNiFAST64): Likewise.
26659 [C99-based-standards] (SCNoFAST64): Likewise.
26660 [C99-based-standards] (SCNuFAST64): Likewise.
26661 [C99-based-standards] (SCNxFAST64): Likewise.
26662 [C99-based-standards] (PRIdMAX): Likewise.
26663 [C99-based-standards] (PRIiMAX): Likewise.
26664 [C99-based-standards] (PRIoMAX): Likewise.
26665 [C99-based-standards] (PRIuMAX): Likewise.
26666 [C99-based-standards] (PRIxMAX): Likewise.
26667 [C99-based-standards] (PRIXMAX): Likewise.
26668 [C99-based-standards] (SCNdMAX): Likewise.
26669 [C99-based-standards] (SCNiMAX): Likewise.
26670 [C99-based-standards] (SCNoMAX): Likewise.
26671 [C99-based-standards] (SCNuMAX): Likewise.
26672 [C99-based-standards] (SCNxMAX): Likewise.
26673 [C99-based-standards] (PRIdPTR): Likewise.
26674 [C99-based-standards] (PRIiPTR): Likewise.
26675 [C99-based-standards] (PRIoPTR): Likewise.
26676 [C99-based-standards] (PRIuPTR): Likewise.
26677 [C99-based-standards] (PRIxPTR): Likewise.
26678 [C99-based-standards] (PRIXPTR): Likewise.
26679 [C99-based-standards] (SCNdPTR): Likewise.
26680 [C99-based-standards] (SCNiPTR): Likewise.
26681 [C99-based-standards] (SCNoPTR): Likewise.
26682 [C99-based-standards] (SCNuPTR): Likewise.
26683 [C99-based-standards] (SCNxPTR): Likewise.
26684 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26685 allow.
26686 * conform/data/stdint.h-data: Update comments to clarify
26687 requirements.
26688 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26689 type.
26690 [C99-based standards] (INT8_MAX): Likewise.
26691 [C99-based standards] (INT16_MIN): Likewise.
26692 [C99-based standards] (INT16_MAX): Likewise.
26693 [C99-based standards] (INT32_MIN): Likewise.
26694 [C99-based standards] (INT32_MAX): Likewise.
26695 [C99-based standards] (INT64_MIN): Likewise.
26696 [C99-based standards] (INT64_MAX): Likewise.
26697 [C99-based standards] (UINT8_MAX): Likewise.
26698 [C99-based standards] (UINT16_MAX): Likewise.
26699 [C99-based standards] (UINT32_MAX): Likewise.
26700 [C99-based standards] (UINT64_MAX): Likewise.
26701 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26702 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26703 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26704 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26705 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26706 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26707 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26708 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26709 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26710 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26711 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26712 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26713 [C99-based standards] (INT_FAST8_MIN): Likewise.
26714 [C99-based standards] (INT_FAST8_MAX): Likewise.
26715 [C99-based standards] (INT_FAST16_MIN): Likewise.
26716 [C99-based standards] (INT_FAST16_MAX): Likewise.
26717 [C99-based standards] (INT_FAST32_MIN): Likewise.
26718 [C99-based standards] (INT_FAST32_MAX): Likewise.
26719 [C99-based standards] (INT_FAST64_MIN): Likewise.
26720 [C99-based standards] (INT_FAST64_MAX): Likewise.
26721 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26722 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26723 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26724 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26725 [C99-based standards] (INTPTR_MIN): Likewise.
26726 [C99-based standards] (INTPTR_MAX): Likewise.
26727 [C99-based standards] (UINTPTR_MAX): Likewise.
26728 [C99-based standards] (INTMAX_MIN): Likewise.
26729 [C99-based standards] (INTMAX_MAX): Likewise.
26730 [C99-based standards] (UINTMAX_MAX): Likewise.
26731 [C99-based standards] (PTRDIFF_MIN): Likewise.
26732 [C99-based standards] (PTRDIFF_MAX): Likewise.
26733 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26734 [C99-based standards] (SIZE_MAX): Likewise.
26735 [C99-based standards] (WCHAR_MAX): Likewise.
26736 [C99-based standards] (WINT_MAX): Likewise.
26737 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26738 constraint on value.
26739 [C99-based standards] (WCHAR_MIN): Likewise.
26740 [C99-based standards] (WINT_MIN): Likewise.
26741 [C99-based standards] (*_t): Allow.
26742 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26743 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26744 Include math.h-data and complex.h-data. Remove all expectations
26745 of math.h and complex.h contents.
26746 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26747 at end of line.
26748 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26749 (struct tm): Expect tag.
26750 [C99-based-standards] (wcstof): Expect function.
26751 [C99-based-standards] (wcstold): Likewise.
26752 [C99-based-standards] (wcstoll): Likewise.
26753 [C99-based-standards] (wcstoull): Likewise.
26754 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26755 macro-int-constant. Specify type.
26756 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26757 constraint on value.
26758 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26759 Specify type.
26760 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26761 Specify value.
26762 [ISO C standards]: Do not allow headers.
26763 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26764 wcs[abcdefghijklmnopqrstuvwxyz]*.
26765 [ISO C standards] (*_t): Do not allow.
26766 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26767 Expect function.
26768 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26769 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26770 Specify type.
26771 [ISO C standards]: Do not allow headers.
26772 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26773 is[abcdefghijklmnopqrstuvwxyz]*.
26774 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26775 to[abcdefghijklmnopqrstuvwxyz]*.
26776 [ISO C standards] (*_t): Do not allow.
26777 * conform/data/stdalign.h-data: New file.
26778 * conform/data/stdbool.h-data: Likewise.
26779 * conform/data/stdnoreturn.h-data: Likewise.
26780
7514feb8
RM
267812012-11-07 Roland McGrath <roland@hack.frob.com>
26782
26783 [BZ #14815]
26784 * manual/filesys.texi (Directory Entries): Typo fix.
26785 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26786
19b2ecfc
MS
267872012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26788
26789 * elf/elf.h (EM_AARCH64): New macro.
26790 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26791 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26792 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26793 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26794 (R_AARCH64_TLSDESC): Likewise.
26795 (NT_ARM_TLS): Likewise.
26796 (NT_ARM_HW_BREAK): Likewise.
26797 (NT_ARM_HW_WATCH): Likewise.
26798
60e235ee
JM
267992012-11-07 Joseph Myers <joseph@codesourcery.com>
26800
26801 [BZ #14811]
26802 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26803 (__ieee754_powl): Saturate nonzero exponents with absolute value
26804 below 0x1p-79 to +/- 0x1p-79.
26805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26806 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26807 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26808 nonzero exponents with absolute value below 0x1p-32 to +/-
26809 0x1p-32.
26810 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26811 (__ieee754_powl): Saturate nonzero exponents with absolute value
26812 below 0x1p-79 to +/- 0x1p-79.
26813 * math/libm-test.inc (pow_test): Add more tests.
26814
0ab234b7
AK
268152012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26816
26817 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26818 _dl_s390_cap_flags with kernel. Increase string length.
26819 (_dl_s390_platforms): Add z196 and zEC12.
26820
45832f74
JM
268212012-11-07 Joseph Myers <joseph@codesourcery.com>
26822
26823 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26824 Change XOPEN21K to XOPEN2K.
26825
19218757
MK
268262012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26827
26828 * string/memmove.c: Use memcpy when possible.
26829
c5f45721
AJ
268302012-11-06 Andreas Jaeger <aj@suse.de>
26831
26832 * po/eo.po: Update from translation team.
26833
82477c28
JM
268342012-11-06 Joseph Myers <joseph@codesourcery.com>
26835
26836 [BZ #14793]
26837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26838 exponent and small x and y exponents, scale x or y up. Increase
26839 by 2 the exponent used in scaling up.
26840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26842 * math/libm-test.inc (fma_test): Add more tests.
26843 (fma_test_towardzero): Likewise.
26844 (fma_test_downward): Likewise.
26845 (fma_test_upward): Likewise.
26846
99252c8c
JM
268472012-11-05 Joseph Myers <joseph@codesourcery.com>
26848
acfa885f
JM
26849 [BZ #14805]
26850 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26851 fenv_t *.
26852
99252c8c
JM
26853 [BZ #14801]
26854 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26855 namespace for names of struct fields.
26856 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26857 fenv_t fields.
26858 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26859 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26860
d6d98dea
ST
268612012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26862
26863 [BZ #3665]
26864 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26865
e10bb107
TS
268662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26867
26868 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26869 PTR_DEMANGLE.
26870
26871 [BZ #5246]
26872 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26873 PTR_DEMANGLE.
26874
a0c2940d
JM
268752012-11-04 Joseph Myers <joseph@codesourcery.com>
26876
26877 [BZ #14797]
26878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26879 definitely overflow as x * y not x * y + z.
26880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26882 * math/libm-test.inc (fma_test): Add more tests.
26883 (fma_test_towardzero): Likewise.
26884 (fma_test_downward): Likewise.
26885 (fma_test_upward): Likewise.
26886
b830319d
TS
268872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26888
26889 [BZ #157]
26890
26891 * include/stub-tag.h: Remove file.
26892 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26893 '#include' of it.
26894 * manual/maint.texi (Porting): Don't reference it.
26895 * Makerules ($(objpfx)stubs): Likewise.
26896 * dirent/closedir.c: Don't include <stub-tag.h>.
26897 * dirent/dirfd.c: Likewise.
26898 * dirent/fdopendir.c: Likewise.
26899 * dirent/getdents.c: Likewise.
26900 * dirent/getdents64.c: Likewise.
26901 * dirent/opendir.c: Likewise.
26902 * dirent/readdir.c: Likewise.
26903 * dirent/readdir64.c: Likewise.
26904 * dirent/readdir64_r.c: Likewise.
26905 * dirent/readdir_r.c: Likewise.
26906 * dirent/rewinddir.c: Likewise.
26907 * dirent/seekdir.c: Likewise.
26908 * dirent/telldir.c: Likewise.
26909 * gmon/profil.c: Likewise.
26910 * grp/setgroups.c: Likewise.
26911 * inet/if_index.c: Likewise.
26912 * io/access.c: Likewise.
26913 * io/chdir.c: Likewise.
26914 * io/chmod.c: Likewise.
26915 * io/chown.c: Likewise.
26916 * io/close.c: Likewise.
26917 * io/dup.c: Likewise.
26918 * io/dup2.c: Likewise.
26919 * io/dup3.c: Likewise.
26920 * io/euidaccess.c: Likewise.
26921 * io/faccessat.c: Likewise.
26922 * io/fchdir.c: Likewise.
26923 * io/fchmod.c: Likewise.
26924 * io/fchmodat.c: Likewise.
26925 * io/fchown.c: Likewise.
26926 * io/fchownat.c: Likewise.
26927 * io/fcntl.c: Likewise.
26928 * io/flock.c: Likewise.
26929 * io/fstatfs.c: Likewise.
26930 * io/fstatfs64.c: Likewise.
26931 * io/fstatvfs.c: Likewise.
26932 * io/fstatvfs64.c: Likewise.
26933 * io/futimens.c: Likewise.
26934 * io/fxstat.c: Likewise.
26935 * io/fxstat64.c: Likewise.
26936 * io/fxstatat.c: Likewise.
26937 * io/fxstatat64.c: Likewise.
26938 * io/getcwd.c: Likewise.
26939 * io/isatty.c: Likewise.
26940 * io/lchmod.c: Likewise.
26941 * io/lchown.c: Likewise.
26942 * io/link.c: Likewise.
26943 * io/linkat.c: Likewise.
26944 * io/lseek.c: Likewise.
26945 * io/lseek64.c: Likewise.
26946 * io/lxstat64.c: Likewise.
26947 * io/mkdir.c: Likewise.
26948 * io/mkdirat.c: Likewise.
26949 * io/mkfifo.c: Likewise.
26950 * io/mkfifoat.c: Likewise.
26951 * io/open.c: Likewise.
26952 * io/open64.c: Likewise.
26953 * io/openat.c: Likewise.
26954 * io/openat64.c: Likewise.
26955 * io/pipe.c: Likewise.
26956 * io/pipe2.c: Likewise.
26957 * io/poll.c: Likewise.
26958 * io/posix_fadvise.c: Likewise.
26959 * io/posix_fadvise64.c: Likewise.
26960 * io/posix_fallocate.c: Likewise.
26961 * io/posix_fallocate64.c: Likewise.
26962 * io/read.c: Likewise.
26963 * io/readlink.c: Likewise.
26964 * io/readlinkat.c: Likewise.
26965 * io/rmdir.c: Likewise.
26966 * io/sendfile.c: Likewise.
26967 * io/sendfile64.c: Likewise.
26968 * io/statfs.c: Likewise.
26969 * io/statfs64.c: Likewise.
26970 * io/statvfs.c: Likewise.
26971 * io/statvfs64.c: Likewise.
26972 * io/symlink.c: Likewise.
26973 * io/symlinkat.c: Likewise.
26974 * io/ttyname.c: Likewise.
26975 * io/ttyname_r.c: Likewise.
26976 * io/umask.c: Likewise.
26977 * io/unlink.c: Likewise.
26978 * io/unlinkat.c: Likewise.
26979 * io/utime.c: Likewise.
26980 * io/utimensat.c: Likewise.
26981 * io/write.c: Likewise.
26982 * io/xmknod.c: Likewise.
26983 * io/xmknodat.c: Likewise.
26984 * io/xstat.c: Likewise.
26985 * io/xstat64.c: Likewise.
26986 * login/getpt.c: Likewise.
26987 * login/grantpt.c: Likewise.
26988 * login/unlockpt.c: Likewise.
26989 * math/e_acoshl.c: Likewise.
26990 * math/e_acosl.c: Likewise.
26991 * math/e_asinl.c: Likewise.
26992 * math/e_atan2l.c: Likewise.
26993 * math/e_atanhl.c: Likewise.
26994 * math/e_coshl.c: Likewise.
26995 * math/e_expl.c: Likewise.
26996 * math/e_fmodl.c: Likewise.
26997 * math/e_gammal_r.c: Likewise.
26998 * math/e_hypotl.c: Likewise.
26999 * math/e_j0l.c: Likewise.
27000 * math/e_j1l.c: Likewise.
27001 * math/e_jnl.c: Likewise.
27002 * math/e_lgammal_r.c: Likewise.
27003 * math/e_log10l.c: Likewise.
27004 * math/e_log2l.c: Likewise.
27005 * math/e_logl.c: Likewise.
27006 * math/e_powl.c: Likewise.
27007 * math/e_rem_pio2l.c: Likewise.
27008 * math/e_sinhl.c: Likewise.
27009 * math/e_sqrtl.c: Likewise.
27010 * math/fclrexcpt.c: Likewise.
27011 * math/fedisblxcpt.c: Likewise.
27012 * math/feenablxcpt.c: Likewise.
27013 * math/fegetenv.c: Likewise.
27014 * math/fegetexcept.c: Likewise.
27015 * math/fegetround.c: Likewise.
27016 * math/feholdexcpt.c: Likewise.
27017 * math/fesetenv.c: Likewise.
27018 * math/fesetround.c: Likewise.
27019 * math/feupdateenv.c: Likewise.
27020 * math/fgetexcptflg.c: Likewise.
27021 * math/fraiseexcpt.c: Likewise.
27022 * math/fsetexcptflg.c: Likewise.
27023 * math/ftestexcept.c: Likewise.
27024 * math/k_cosl.c: Likewise.
27025 * math/k_rem_pio2l.c: Likewise.
27026 * math/k_sinl.c: Likewise.
27027 * math/k_tanl.c: Likewise.
27028 * math/s_asinhl.c: Likewise.
27029 * math/s_atanl.c: Likewise.
27030 * math/s_cbrtl.c: Likewise.
27031 * math/s_erfl.c: Likewise.
27032 * math/s_expm1l.c: Likewise.
27033 * math/s_log1pl.c: Likewise.
27034 * math/s_tanhl.c: Likewise.
27035 * misc/acct.c: Likewise.
27036 * misc/brk.c: Likewise.
27037 * misc/chflags.c: Likewise.
27038 * misc/chroot.c: Likewise.
27039 * misc/fchflags.c: Likewise.
27040 * misc/fgetxattr.c: Likewise.
27041 * misc/flistxattr.c: Likewise.
27042 * misc/fremovexattr.c: Likewise.
27043 * misc/fsetxattr.c: Likewise.
27044 * misc/fsync.c: Likewise.
27045 * misc/ftruncate.c: Likewise.
27046 * misc/futimes.c: Likewise.
27047 * misc/futimesat.c: Likewise.
27048 * misc/getdomain.c: Likewise.
27049 * misc/getdtsz.c: Likewise.
27050 * misc/gethostid.c: Likewise.
27051 * misc/gethostname.c: Likewise.
27052 * misc/getloadavg.c: Likewise.
27053 * misc/getpagesize.c: Likewise.
27054 * misc/getsysstats.c: Likewise.
27055 * misc/getxattr.c: Likewise.
27056 * misc/gtty.c: Likewise.
27057 * misc/ioctl.c: Likewise.
27058 * misc/lgetxattr.c: Likewise.
27059 * misc/listxattr.c: Likewise.
27060 * misc/llistxattr.c: Likewise.
27061 * misc/lremovexattr.c: Likewise.
27062 * misc/lsetxattr.c: Likewise.
27063 * misc/lutimes.c: Likewise.
27064 * misc/madvise.c: Likewise.
27065 * misc/mincore.c: Likewise.
27066 * misc/mlock.c: Likewise.
27067 * misc/mlockall.c: Likewise.
27068 * misc/mmap.c: Likewise.
27069 * misc/mprotect.c: Likewise.
27070 * misc/msync.c: Likewise.
27071 * misc/munlock.c: Likewise.
27072 * misc/munlockall.c: Likewise.
27073 * misc/munmap.c: Likewise.
27074 * misc/preadv.c: Likewise.
27075 * misc/preadv64.c: Likewise.
27076 * misc/ptrace.c: Likewise.
27077 * misc/pwritev.c: Likewise.
27078 * misc/pwritev64.c: Likewise.
27079 * misc/readv.c: Likewise.
27080 * misc/reboot.c: Likewise.
27081 * misc/remap_file_pages.c: Likewise.
27082 * misc/removexattr.c: Likewise.
27083 * misc/revoke.c: Likewise.
27084 * misc/select.c: Likewise.
27085 * misc/setdomain.c: Likewise.
27086 * misc/setegid.c: Likewise.
27087 * misc/seteuid.c: Likewise.
27088 * misc/sethostid.c: Likewise.
27089 * misc/sethostname.c: Likewise.
27090 * misc/setregid.c: Likewise.
27091 * misc/setreuid.c: Likewise.
27092 * misc/setxattr.c: Likewise.
27093 * misc/sstk.c: Likewise.
27094 * misc/stty.c: Likewise.
27095 * misc/swapoff.c: Likewise.
27096 * misc/swapon.c: Likewise.
27097 * misc/sync.c: Likewise.
27098 * misc/syncfs.c: Likewise.
27099 * misc/syscall.c: Likewise.
27100 * misc/truncate.c: Likewise.
27101 * misc/ualarm.c: Likewise.
27102 * misc/usleep.c: Likewise.
27103 * misc/ustat.c: Likewise.
27104 * misc/utimes.c: Likewise.
27105 * misc/vhangup.c: Likewise.
27106 * misc/writev.c: Likewise.
27107 * posix/_exit.c: Likewise.
27108 * posix/alarm.c: Likewise.
27109 * posix/execve.c: Likewise.
27110 * posix/fexecve.c: Likewise.
27111 * posix/fork.c: Likewise.
27112 * posix/fpathconf.c: Likewise.
27113 * posix/getaddrinfo.c: Likewise.
27114 * posix/getegid.c: Likewise.
27115 * posix/geteuid.c: Likewise.
27116 * posix/getgid.c: Likewise.
27117 * posix/getgroups.c: Likewise.
27118 * posix/getlogin.c: Likewise.
27119 * posix/getlogin_r.c: Likewise.
27120 * posix/getpgid.c: Likewise.
27121 * posix/getpid.c: Likewise.
27122 * posix/getppid.c: Likewise.
27123 * posix/getresgid.c: Likewise.
27124 * posix/getresuid.c: Likewise.
27125 * posix/getsid.c: Likewise.
27126 * posix/getuid.c: Likewise.
27127 * posix/glob64.c: Likewise.
27128 * posix/nanosleep.c: Likewise.
27129 * posix/pathconf.c: Likewise.
27130 * posix/pause.c: Likewise.
27131 * posix/posix_madvise.c: Likewise.
27132 * posix/pread.c: Likewise.
27133 * posix/pread64.c: Likewise.
27134 * posix/pwrite.c: Likewise.
27135 * posix/pwrite64.c: Likewise.
27136 * posix/sched_getaffinity.c: Likewise.
27137 * posix/sched_getp.c: Likewise.
27138 * posix/sched_gets.c: Likewise.
27139 * posix/sched_primax.c: Likewise.
27140 * posix/sched_primin.c: Likewise.
27141 * posix/sched_rr_gi.c: Likewise.
27142 * posix/sched_setaffinity.c: Likewise.
27143 * posix/sched_setp.c: Likewise.
27144 * posix/sched_sets.c: Likewise.
27145 * posix/sched_yield.c: Likewise.
27146 * posix/setgid.c: Likewise.
27147 * posix/setlogin.c: Likewise.
27148 * posix/setpgid.c: Likewise.
27149 * posix/setresgid.c: Likewise.
27150 * posix/setresuid.c: Likewise.
27151 * posix/setsid.c: Likewise.
27152 * posix/setuid.c: Likewise.
27153 * posix/sleep.c: Likewise.
27154 * posix/spawni.c: Likewise.
27155 * posix/sysconf.c: Likewise.
27156 * posix/times.c: Likewise.
27157 * posix/wait.c: Likewise.
27158 * posix/wait3.c: Likewise.
27159 * posix/wait4.c: Likewise.
27160 * posix/waitpid.c: Likewise.
27161 * resolv/gai_sigqueue.c: Likewise.
27162 * resource/getpriority.c: Likewise.
27163 * resource/getrlimit.c: Likewise.
27164 * resource/getrusage.c: Likewise.
27165 * resource/nice.c: Likewise.
27166 * resource/setpriority.c: Likewise.
27167 * resource/setrlimit.c: Likewise.
27168 * resource/ulimit.c: Likewise.
27169 * rt/aio_cancel.c: Likewise.
27170 * rt/aio_fsync.c: Likewise.
27171 * rt/aio_read.c: Likewise.
27172 * rt/aio_sigqueue.c: Likewise.
27173 * rt/aio_suspend.c: Likewise.
27174 * rt/aio_write.c: Likewise.
27175 * rt/clock_getres.c: Likewise.
27176 * rt/clock_gettime.c: Likewise.
27177 * rt/clock_nanosleep.c: Likewise.
27178 * rt/clock_settime.c: Likewise.
27179 * rt/lio_listio.c: Likewise.
27180 * rt/mq_close.c: Likewise.
27181 * rt/mq_getattr.c: Likewise.
27182 * rt/mq_notify.c: Likewise.
27183 * rt/mq_open.c: Likewise.
27184 * rt/mq_receive.c: Likewise.
27185 * rt/mq_send.c: Likewise.
27186 * rt/mq_setattr.c: Likewise.
27187 * rt/mq_timedreceive.c: Likewise.
27188 * rt/mq_timedsend.c: Likewise.
27189 * rt/mq_unlink.c: Likewise.
27190 * rt/shm_open.c: Likewise.
27191 * rt/shm_unlink.c: Likewise.
27192 * rt/timer_create.c: Likewise.
27193 * rt/timer_delete.c: Likewise.
27194 * rt/timer_getoverr.c: Likewise.
27195 * rt/timer_gettime.c: Likewise.
27196 * rt/timer_settime.c: Likewise.
27197 * setjmp/__longjmp.c: Likewise.
27198 * setjmp/setjmp.c: Likewise.
27199 * signal/kill.c: Likewise.
27200 * signal/killpg.c: Likewise.
27201 * signal/raise.c: Likewise.
27202 * signal/sigaction.c: Likewise.
27203 * signal/sigaltstack.c: Likewise.
27204 * signal/sigblock.c: Likewise.
27205 * signal/sigignore.c: Likewise.
27206 * signal/sigintr.c: Likewise.
27207 * signal/signal.c: Likewise.
27208 * signal/sigpause.c: Likewise.
27209 * signal/sigpending.c: Likewise.
27210 * signal/sigqueue.c: Likewise.
27211 * signal/sigreturn.c: Likewise.
27212 * signal/sigset.c: Likewise.
27213 * signal/sigsetmask.c: Likewise.
27214 * signal/sigstack.c: Likewise.
27215 * signal/sigsuspend.c: Likewise.
27216 * signal/sigtimedwait.c: Likewise.
27217 * signal/sigvec.c: Likewise.
27218 * signal/sigwait.c: Likewise.
27219 * signal/sigwaitinfo.c: Likewise.
27220 * signal/sysv_signal.c: Likewise.
27221 * socket/accept.c: Likewise.
27222 * socket/accept4.c: Likewise.
27223 * socket/bind.c: Likewise.
27224 * socket/connect.c: Likewise.
27225 * socket/getpeername.c: Likewise.
27226 * socket/getsockname.c: Likewise.
27227 * socket/getsockopt.c: Likewise.
27228 * socket/isfdtype.c: Likewise.
27229 * socket/listen.c: Likewise.
27230 * socket/recv.c: Likewise.
27231 * socket/recvfrom.c: Likewise.
27232 * socket/recvmsg.c: Likewise.
27233 * socket/send.c: Likewise.
27234 * socket/sendmsg.c: Likewise.
27235 * socket/sendto.c: Likewise.
27236 * socket/setsockopt.c: Likewise.
27237 * socket/shutdown.c: Likewise.
27238 * socket/sockatmark.c: Likewise.
27239 * socket/socket.c: Likewise.
27240 * socket/socketpair.c: Likewise.
27241 * stdio-common/ctermid.c: Likewise.
27242 * stdio-common/cuserid.c: Likewise.
27243 * stdio-common/remove.c: Likewise.
27244 * stdio-common/rename.c: Likewise.
27245 * stdio-common/renameat.c: Likewise.
27246 * stdio-common/tempname.c: Likewise.
27247 * stdlib/getcontext.c: Likewise.
27248 * stdlib/makecontext.c: Likewise.
27249 * stdlib/setcontext.c: Likewise.
27250 * stdlib/swapcontext.c: Likewise.
27251 * stdlib/system.c: Likewise.
27252 * streams/fattach.c: Likewise.
27253 * streams/fdetach.c: Likewise.
27254 * streams/getmsg.c: Likewise.
27255 * streams/getpmsg.c: Likewise.
27256 * streams/putmsg.c: Likewise.
27257 * streams/putpmsg.c: Likewise.
27258 * sysdeps/unix/bsd/getpt.c: Likewise.
27259 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27260 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27261 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27263 Likewise.
27264 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27265 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27266 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27267 * sysvipc/msgctl.c: Likewise.
27268 * sysvipc/msgget.c: Likewise.
27269 * sysvipc/msgrcv.c: Likewise.
27270 * sysvipc/msgsnd.c: Likewise.
27271 * sysvipc/semctl.c: Likewise.
27272 * sysvipc/semget.c: Likewise.
27273 * sysvipc/semop.c: Likewise.
27274 * sysvipc/semtimedop.c: Likewise.
27275 * sysvipc/shmat.c: Likewise.
27276 * sysvipc/shmctl.c: Likewise.
27277 * sysvipc/shmdt.c: Likewise.
27278 * sysvipc/shmget.c: Likewise.
27279 * termios/tcdrain.c: Likewise.
27280 * termios/tcflow.c: Likewise.
27281 * termios/tcflush.c: Likewise.
27282 * termios/tcgetattr.c: Likewise.
27283 * termios/tcgetpgrp.c: Likewise.
27284 * termios/tcsendbrk.c: Likewise.
27285 * termios/tcsetattr.c: Likewise.
27286 * termios/tcsetpgrp.c: Likewise.
27287 * time/adjtime.c: Likewise.
27288 * time/clock.c: Likewise.
27289 * time/getitimer.c: Likewise.
27290 * time/gettimeofday.c: Likewise.
27291 * time/setitimer.c: Likewise.
27292 * time/settimeofday.c: Likewise.
27293 * time/stime.c: Likewise.
27294 * time/time.c: Likewise.
27295
272962012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27297
a20492cf
PT
27298 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27299 /usr/old/bin.
27300
72e182e3
PT
27301 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27302 instead of spaces.
27303 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27304
fbeafede
JM
273052012-11-03 Joseph Myers <joseph@codesourcery.com>
27306
5b5b04d6
JM
27307 [BZ #14796]
27308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27309 FE_TONEAREST before applying Dekker multiplication and Knuth
27310 addition. Clear inexact exceptions and check for exact zero
27311 results afterwards.
27312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27313 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27315 * math/libm-test.inc (fma_test): Add more tests.
27316 (fma_test_towardzero): Likewise.
27317 (fma_test_downward): Likewise.
27318 (fma_test_upward): Likewise.
27319 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27320 function.
27321 (libc_fesetround): New macro.
27322 (libc_fesetroundf): Likewise.
27323 (libc_fesetroundl): Likewise.
27324 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27325 function.
27326 (libc_fesetround_387): Likewise.
27327 (libc_fesetroundf): New macro.
27328 (libc_fesetround): Likewise.
27329 (libc_fesetroundl): Likewise.
27330 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27331 function.
27332 (libc_fesetroundf): New macro.
27333 (libc_fesetround): Likewise.
27334 (libc_fesetroundl): Likewise.
27335 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27336 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27337 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27338 libm_hidden_ver.
27339 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27340 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27341 libm_hidden_def.
27342 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27343 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27344 libm_hidden_ver.
27345 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27346 libm_hidden_def.
27347
fbeafede
JM
27348 [BZ #3439]
27349 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27350 integer constant usable in #if and use that to give value to enum
27351 constant.
27352 (FE_DIVBYZERO): Likewise.
27353 (FE_UNDERFLOW): Likewise.
27354 (FE_OVERFLOW): Likewise.
27355 (FE_INVALID): Likewise.
27356 (FE_INVALID_SNAN): Likewise.
27357 (FE_INVALID_ISI): Likewise.
27358 (FE_INVALID_IDI): Likewise.
27359 (FE_INVALID_ZDZ): Likewise.
27360 (FE_INVALID_IMZ): Likewise.
27361 (FE_INVALID_COMPARE): Likewise.
27362 (FE_INVALID_SOFTWARE): Likewise.
27363 (FE_INVALID_SQRT): Likewise.
27364 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27365 (FE_TONEAREST): Likewise.
27366 (FE_TOWARDZERO): Likewise.
27367 (FE_UPWARD): Likewise.
27368 (FE_DOWNWARD): Likewise.
27369 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27370 (FE_DIVBYZERO): Likewise.
27371 (FE_OVERFLOW): Likewise.
27372 (FE_UNDERFLOW): Likewise.
27373 (FE_INEXACT): Likewise.
27374 (FE_TONEAREST): Likewise.
27375 (FE_DOWNWARD): Likewise.
27376 (FE_UPWARD): Likewise.
27377 (FE_TOWARDZERO): Likewise.
27378 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27379 (FE_UNDERFLOW): Likewise.
27380 (FE_OVERFLOW): Likewise.
27381 (FE_DIVBYZERO): Likewise.
27382 (FE_INVALID): Likewise.
27383 (FE_TONEAREST): Likewise.
27384 (FE_TOWARDZERO): Likewise.
27385 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27386 (FE_OVERFLOW): Likewise.
27387 (FE_UNDERFLOW): Likewise.
27388 (FE_DIVBYZERO): Likewise.
27389 (FE_INEXACT): Likewise.
27390 (FE_TONEAREST): Likewise.
27391 (FE_TOWARDZERO): Likewise.
27392 (FE_UPWARD): Likewise.
27393 (FE_DOWNWARD): Likewise.
27394 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27395 (FE_DIVBYZERO): Likewise.
27396 (FE_OVERFLOW): Likewise.
27397 (FE_UNDERFLOW): Likewise.
27398 (FE_INEXACT): Likewise.
27399 (FE_TONEAREST): Likewise.
27400 (FE_DOWNWARD): Likewise.
27401 (FE_UPWARD): Likewise.
27402 (FE_TOWARDZERO): Likewise.
27403
105ca950
CM
274042012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27405
27406 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27407
a542b389
AS
274082012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27409
27410 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27411 commands. Quote $PWD.
27412 (blacklist_exports): Don't use remove_newlines. Replace "declare
27413 -x" by "export".
27414 (remove_newlines): Remove.
27415
f62c8abc
L
274162012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27417
27418 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27419 * stdlib/stdlib.h (atof): Moved to ...
27420 * include/bits/stdlib-float.h: Here. New file.
27421 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27422 * stdlib/bits/stdlib-float.h: New file.
27423 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27424 -mno-sse -mno-mmx.
27425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27426 <xmmintrin.h>.
27427
0155d5b2
JM
274282012-11-02 Joseph Myers <joseph@codesourcery.com>
27429
a68d0680
JM
27430 * conform/conformtest.pl (@headers): Add fenv.h.
27431 * conform/data/fenv.h-data: New file.
27432 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27433 include of <math/fenv.h>.
27434
caf7f573
JM
27435 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27436 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27437 && !UNIX98]. Enables tests for XOPEN2K8.
27438 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27439 POSIX2008]: Likewise.
27440
6c073ad6
JM
27441 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27442 (struct rusage): Do not expect type or its members.
27443
0155d5b2
JM
27444 [BZ #3439]
27445 * math/math.h (FP_NAN): Define macro to integer constant usable in
27446 #if and use that to give value to enum constant.
27447 (FP_INFINITE): Likewise.
27448 (FP_ZERO): Likewise.
27449 (FP_SUBNORMAL): Likewise.
27450 (FP_NORMAL): Likewise.
27451
b5dcacb4
AS
274522012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27453
27454 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27455 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27456 arguments.
27457
f7934be8
RM
274582012-11-02 Roland McGrath <roland@hack.frob.com>
27459
27460 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27461 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27462 autoconf-time if not.
27463 * configure.in: Remove AC_PREREQ.
27464
d7d08bde
TMQMF
274652012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27466
27467 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27468 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27469 of the internal implementation.
27470
dcdae19a
JM
274712012-11-02 Joseph Myers <joseph@codesourcery.com>
27472
27473 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27474 except include of <misc/sys/syslog.h>.
27475
d6cffd3e
AS
274762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27477
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27479 function returns with a NULL context exit with zero.
27480
b3563932
TMQMF
274812012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27482
27483 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27484
b288a93d
L
274852012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27486
27487 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27488 (run_program_cmd): This.
27489 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27490 (tst_langinfo): New variable. Use it.
27491
a2421a68
SAS
274922012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27493
27494 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27495 floating point opcodes.
27496
6f796e1b
TS
274972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27498
7402596b
TS
27499 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27500 variable.
27501
d0d4f868
TS
27502 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27503
6f796e1b
TS
27504 * sysdeps/mach/hurd/powerpc: Remove directory.
27505 * sysdeps/mach/powerpc: Likewise.
27506
4da224a2
AS
275072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27508
27509 * scripts/check-local-headers.sh: Ignore c++ headers.
27510
341dd673
TS
275112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27512
27513 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27514 __libc_cleanup_region_start argument.
27515
473611b2
JM
275162012-11-01 Joseph Myers <joseph@codesourcery.com>
27517
27518 [BZ #14784]
27519 [BZ #14785]
27520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27521 x * y using scaling, not as x * y + z.
27522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27524 * math/libm-test.inc (fma_test): Add more tests.
27525 (fma_test_towardzero): Likewise.
27526 (fma_test_downward): Likewise.
27527 (fma_test_upward): Likewise.
27528
4078da3d
TS
275292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27530
27531 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27532
903252aa
JM
275332012-10-31 Joseph Myers <joseph@codesourcery.com>
27534
27535 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27536 New variable.
27537
cbc818d0
TS
275382012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27539
27540 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27541
5a03cb1e
AS
275422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27543
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27545 Fix sort order.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27547 Likewise.
27548
90aff2ff
TMQMF
275492012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27550
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27552 Fix the order of the list for glibc 2.17.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27554 Likewise.
27555
1818fcb7
AS
275562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27557
27558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27559
ef82f4da
JM
275602012-10-31 Joseph Myers <joseph@codesourcery.com>
27561
16a0e2ec
JM
27562 [BZ #14610]
27563 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27564 for low part of x being zero before using __atanl (y).
27565 * math/libm-test.inc (atan2_test): Add another test.
27566
0eb69512
JM
27567 * manual/install.texi (Configuring and compiling): Document
27568 general use of test-wrapper and test-wrapper-env.
27569 * INSTALL: Regenerated.
27570
ef82f4da
JM
27571 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27572 (__fma): Do not extract and scale down low bits on after-rounding
27573 systems when result rounded to normal precision would have normal
27574 exponent.
27575 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27576 (__fmal): Do not extract and scale down low bits on after-rounding
27577 systems when result rounded to normal precision would have normal
27578 exponent.
27579 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27580 (__fmal): Do not extract and scale down low bits on after-rounding
27581 systems when result rounded to normal precision would have normal
27582 exponent.
27583 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27584 macro.
27585 (fma_test): Add more tests.
27586 (fma_test_towardzero): Likewise.
27587 (fma_test_downward): Likewise.
27588 (fma_test_upward): Likewise.
27589
954ef0d9
L
275902012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 * sysdeps/i386/tininess.h: Renamed to ...
27593 * sysdeps/x86/tininess.h: This.
27594 * sysdeps/x86_64/tininess.h: Removed.
27595
df61ffb2
JM
275962012-10-30 Joseph Myers <joseph@codesourcery.com>
27597
27598 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27599 input. Use $(build-program-cmd).
27600 ($(objpfx)tst-array1-static.out): Likewise.
27601 ($(objpfx)tst-array2.out): Likewise.
27602 ($(objpfx)tst-array3.out): Likewise.
27603 ($(objpfx)tst-array4.out): Likewise.
27604 ($(objpfx)tst-array5.out): Likewise.
27605 ($(objpfx)tst-array5-static.out): Likewise.
27606
01767843
CM
276072012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27608
47cc1490
CM
27609 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27610 if defined.
27611
01767843
CM
27612 * nss/nsswitch.h (nss_interface_function): Provide new
27613 macro for use with NSS functions.
27614 * grp/initgroups.c: Use new macro.
27615 * nss/getXXbyYY.c: Likewise.
27616 * nss/getXXbyYY_r.c: Likewise.
27617 * nss/getXXent.c: Likewise.
27618 * nss/getXXent_r.c: Likewise.
27619 * sysdeps/posix/getaddrinfo.c: Likewise.
27620
8321aa97
AJ
276212012-10-30 Andreas Jaeger <aj@suse.de>
27622
27623 * po/ru.po: Update Russion translation from translation project.
27624
2a27fd6d
JM
276252012-10-30 Joseph Myers <joseph@codesourcery.com>
27626
8627a232
JM
27627 [BZ #14152]
27628 [BZ #14783]
27629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27630 result and shift together with sticky bit instead of replicating
27631 round-to-nearest rounding.
27632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27634 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27635 missing underflow exceptions.
27636 (fma_test_towardzero): Add more tests.
27637 (fma_test_downward): Likewise.
27638 (fma_test_upward): Likewise.
27639
2a27fd6d
JM
27640 [BZ #14047]
27641 * sysdeps/generic/tininess.h: New file.
27642 * sysdeps/i386/tininess.h: Likewise.
27643 * sysdeps/sh/tininess.h: Likewise.
27644 * sysdeps/x86_64/tininess.h: Likewise.
27645 * stdlib/tst-strtod-underflow.c: Likewise.
27646 * stdlib/tst-tininess.c: Likewise.
27647 * stdlib/strtod_l.c: Include <tininess.h>.
27648 (round_and_return): Do not set errno for exact underflow cases.
27649 Force an underflow exception when setting errno for underflow.
27650 Determine underflow based on rounding to normal precision if
27651 TININESS_AFTER_ROUNDING.
27652 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27653 ERANGE for exact underflow cases.
27654 * stdlib/Makefile (tests): Add tst-tininess and
27655 tst-strtod-underflow.
27656 ($(objpfx)tst-tininess): Use $(link-libm).
27657 ($(objpfx)tst-strtod-underflow): Likewise.
27658
e7170363
AJ
276592012-10-30 Andreas Jaeger <aj@suse.de>
27660
e5088dc6
AJ
27661 [BZ#14767]
27662 * elf/Makefile (tests): Remove conditional for have-initfini-array
27663 since this is now always required and the variable does not exist
27664 anymore.
27665 (tests-static): Likewise.
27666 (modules-names): Likewise.
27667
e7170363 27668 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27669
27670 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27671 merged with constructor/destructor.
27672 (init_array): Likewise.
27673 * elf/tst-array2dep.c (fini_array): Likewise.
27674 (init_array): Likewise.
27675
60457d8a
MF
276762012-10-29 Mike Frysinger <vapier@gentoo.org>
27677
27678 * manual/message.texi: Delete @cartouche tags.
27679
8bece752
PT
276802012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27681
94ce799f
PT
27682 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27683 EOPNOTSUPP.
27684 * sysdeps/mach/hurd/fsync.c: Likewise.
27685
8bece752
PT
27686 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27687 [_POSIX_REALTIME_SIGNALS]: Change condition to
27688 [_POSIX_REALTIME_SIGNALS > 0].
27689
86ebe6b1
AJ
276902012-10-27 Andreas Jaeger <aj@suse.de>
27691
27692 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27693 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27695 [__WORDSIZE != 64]: Likewise.
27696
54399c08
L
276972012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 * iconvdata/tst-table.sh: Remove ${SHELL}.
27700 * iconvdata/tst-tables.sh: Likewise.
27701
e2211bed
DM
277022012-10-25 David S. Miller <davem@davemloft.net>
27703
27704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27705 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27706 of strtoull.
27707
f303f97c
DM
27708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27709 ifunc-impl-list.c
27710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27711 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27712 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27713 file.
27714
1e9d84cd
RM
277152012-10-25 Roland McGrath <roland@hack.frob.com>
27716
27717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27718 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27719 __getdirentries.
27720
df381762
JM
277212012-10-25 Joseph Myers <joseph@codesourcery.com>
27722 Jim Blandy <jimb@codesourcery.com>
27723
27724 * scripts/cross-test-ssh.sh: New file.
27725 * manual/install.texi (Configuring and compiling): Document use of
27726 cross-test-ssh.sh.
27727 * INSTALL: Regenerated.
27728
bff64913
PT
277292012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27730
27731 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27732 EOPNOTSUPP.
27733
25fe8932
JM
277342012-10-25 Joseph Myers <joseph@codesourcery.com>
27735
27736 * Makeconfig (run-program-prefix): Fix comment.
27737
cc1290d0
JM
277382012-10-24 Joseph Myers <joseph@codesourcery.com>
27739 Jim Blandy <jimb@codesourcery.com>
27740
27741 * Makeconfig (test-wrapper): New variable,
27742 (test-wrapper-env): Likewise.
27743 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27744 (run-built-tests): Define to yes.
27745 (run-program-prefix): Use $(test-wrapper).
27746 (built-program-cmd): Likewise.
27747 * Rules (make-test-out): Use $(test-wrapper-env) and
27748 $(host-built-program-cmd).
27749 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27750 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27751 tst-pathopt.sh.
27752 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27753 $(test-wrapper-env) to tst-rtld-load-self.sh.
27754 ($(objpfx)order2.out): Use $(test-wrapper).
27755 ($(objpfx)tst-initorder.out): Likewise.
27756 ($(objpfx)tst-initorder2.out): Likewise.
27757 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27758 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27759 (test_wrapper_env): New variable. Use it to run ld.so.
27760 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27761 Use it to run ld.so.
27762 (test_wrapper_env): Likewise.
27763 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27764 $(test-wrapper) to run-iconv-test.sh.
27765 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27766 (ICONV): Use $test_wrapper.
27767 * posix/Makefile ($(objpfx)globtest.out): Pass
27768 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27769 globtest.sh, not $(run-program-prefix).
27770 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27771 (test_wrapper): Likewise.
27772 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27773 set together with run_via_rtld_prefix.
27774 (run_program_prefix): Define in terms of test_wrapper and
27775 run_via_rtld_prefix.
27776
6e6249d0
RM
277772012-10-24 Roland McGrath <roland@hack.frob.com>
27778
27779 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27780 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27781 Targets removed.
27782
27783 [BZ #14743]
27784 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27785 Declare __clock_getres, __clock_gettime, __clock_settime,
27786 __clock_nanosleep, and __clock_getcpuclockid.
27787 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27788 Remove librt_hidden_def (clock_gettime).
27789 * sysdeps/unix/clock_gettime.c: Likewise.
27790 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27791 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27792 * rt/clock_getres.c: Define __clock_getres as an alias.
27793 * sysdeps/posix/clock_getres.c: Likewise.
27794 * rt/clock_settime.c: Define __clock_settime as an alias.
27795 * sysdeps/unix/clock_settime.c: Likewise.
27796 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27797 * sysdeps/unix/clock_nanosleep.c: Likewise.
27798 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27799 * rt/clock-compat.c: New file.
27800 * rt/Makefile (librt-routines): Add clock-compat and move
27801 $(clock-routines) to ...
27802 (routines): ... here, new variable.
27803 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27804 Don't add get_clockfreq here.
27805 * rt/Versions (libc: GLIBC_2.17): New version set.
27806 Add clock_* symbols here.
27807 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27808 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27809 (GLIBC_2.17): Add clock_* symbols.
27810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27814 Likewise.
27815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27816 Likewise.
27817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27821 * NEWS: Mention the move.
27822
27823 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27824 Use __open, __read, __close rather than their public counterparts.
27825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27826 (__get_clockfreq_via_cpuinfo): Likewise.
27827 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27828 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27829
27830 * config.h.in (HAVE_IFUNC): New #undef.
27831 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27832 was successful.
27833 * configure: Regenerated.
27834
0cae3f4b
MF
278352012-10-24 Mike Frysinger <vapier@gentoo.org>
27836
27837 * configure.in: Move READELF check to start of file.
27838 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27839 libc_cv_asm_gnu_indirect_function in the process.
27840 * configure: Regenerated.
27841
8175a253
MF
278422012-10-24 Mike Frysinger <vapier@gentoo.org>
27843
27844 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27845 send the output to /dev/null.
27846 (libc_cv_cc_with_libunwind): Likewise.
27847 (libc_cv_as_noexecstack): Likewise.
27848 * configure: Regenerate.
27849
0708a7d1
JM
278502012-10-24 Joseph Myers <joseph@codesourcery.com>
27851
10b40d85
JM
27852 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27853
0708a7d1
JM
27854 * posix/globtest.sh (TMPDIR): Do not set.
27855 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27856 (testout): Likewise.
27857
9fddec1a
AJ
278582012-10-24 Andreas Jaeger <aj@suse.de>
27859
3a8db22f
AJ
27860 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27861 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27862 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27863 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27864 posix_fadvise64, posix_fallocate64.
27865
9fddec1a
AJ
27866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27867 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27868 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27869 Likewise.
27870 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27871 Likewise.
27872 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27873
27874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27875 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27876 <bits/fcntl-linux.h>.
27877 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27878
27879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27880 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27881 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27882 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27883 [__WORDSIZE != 64]: Likewise.
27884
ebfd1bbd
JM
278852012-10-23 Joseph Myers <joseph@codesourcery.com>
27886
03ac099f
JM
27887 * Makeconfig (run-built-tests): New variable.
27888 * Rules [$(cross-compiling) = yes]: Change condition to
27889 [$(run-built-tests) = no].
27890 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27891 to [$(run-built-tests) = yes].
27892 * elf/Makefile [$(cross-compiling) = no]: Likewise
27893 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27894 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27895 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27896 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27897 * io/Makefile [$(cross-compiling) = no]: Likewise.
27898 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27899 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27900 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27901 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27902 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27903 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27904 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27905 * string/Makefile [$(cross-compiling) = no]: Likewise.
27906
ebfd1bbd
JM
27907 * posix/Makefile ($(objpfx)globtest.out): Pass
27908 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27909 $(rtld-installed-name).
27910 * posix/globtest.sh (elf_objpfx): Remove variable.
27911 (rtld_installed_name): Likewise.
27912 (library_path): Likewise.
27913 (run_program_prefix): New variable. Use for running globtest
27914 binary.
27915
166bca24
JB
279162012-10-23 Jim Blandy <jimb@codesourcery.com>
27917 Joseph Myers <joseph@codesourcery.com>
27918
27919 * Makeconfig (host-built-program-cmd): New variable.
27920 * elf/Makefile (tst-stackguard1-ARGS): Use
27921 $(host-built-program-cmd).
27922 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27923 (tst-spawn-ARGS): Likewise.
27924 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27925
88866099
JM
279262012-10-23 Joseph Myers <joseph@codesourcery.com>
27927 Jim Blandy <jimb@codesourcery.com>
27928
27929 * Makeconfig (run-via-rtld-prefix): New variable.
27930 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27931 (built-program-cmd): Likewise.
27932
b4b4c296
AJ
279332012-10-22 Andreas Jaeger <aj@suse.de>
27934
27935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27936 __O_RSYNC if it exists, otherwise to O_SYNC.
27937
6fb54a22
JB
279382012-10-22 Jim Blandy <jimb@codesourcery.com>
27939 Joseph Myers <joseph@codesourcery.com>
27940
27941 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27942 /dev/null.
27943 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27944 from /dev/null
27945 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27946 /dev/null.
27947
481b90b9
AJ
279482012-10-22 Andreas Jaeger <aj@suse.de>
27949
2a0e2669
AJ
27950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27951 Define always.
27952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27953
76e38f9a
AJ
27954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27955 bits/fcntl-linux.h.
27956
7cd37b43
AJ
27957 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27958 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27959
481b90b9
AJ
27960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27961 to __O_LARGEFILE.
27962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27963 to __O_LARGEFILE.
27964
aba75984
JB
279652012-10-21 Jim Blandy <jimb@codesourcery.com>
27966 Joseph Myers <joseph@codesourcery.com>
27967
27968 * config.make.in (NM): New variable.
27969
88d4247f
AJ
279702012-10-21 Andreas Jaeger <aj@suse.de>
27971
27972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27973 definitions and declarations that are provided by
27974 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27975
f2eed205
L
279762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27977
27978 [BZ #14683]
27979 * elf/Makefile (tests-static): Add tst-leaks1-static.
27980 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27981 ($(objpfx)tst-leaks1-static): New rule.
27982 ($(objpfx)tst-leaks1-static-mem): Likewise.
27983 (tst-leaks1-static-ENV): New macro.
27984 * elf/dl-open.c (dl_open_worker): Check the main application
27985 only if SHARED is defined.
27986 * elf/tst-leaks1-static.c: New file.
27987
335e6931
AJ
279882012-10-20 Andreas Jaeger <aj@suse.de>
27989
27990 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27991 generic values for Linux.
27992 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27993 and declarations that are provided by <bits/fcntl-linux.h> and
27994 include <bits/fcntl-linux.h>.
27995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27997
ac5c94d3
RM
279982012-10-20 Roland McGrath <roland@hack.frob.com>
27999
28000 * io/fcntl.h: Move include of <bits/types.h> to the top and
28001 include it unconditionally.
28002
de54b33a
L
280032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28004
228cfb01
L
28005 * wcsmbs/Makefile (tests-ifunc): New variable.
28006 (tests): Add $(tests-ifunc).
28007 * wcsmbs/test-wcschr-ifunc.c: New file.
28008 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28009 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28010 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28011 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28012 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28013
69f07e5f
L
28014 * string/Makefile (tests-ifunc): New variable.
28015 (tests): Add $(tests-ifunc).
28016 * string/test-memccpy.c (TEST_NAME): New macro.
28017 * string/test-memchr.c (TEST_NAME): Likewise.
28018 * string/test-memcmp.c (TEST_NAME): Likewise.
28019 * string/test-memcpy.c (TEST_NAME): Likewise.
28020 * string/test-memmem.c (TEST_NAME): Likewise.
28021 * string/test-memmove.c (TEST_NAME): Likewise.
28022 * string/test-memset.c (TEST_NAME): Likewise.
28023 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28024 * string/test-stpcpy.c (TEST_NAME): Likewise.
28025 * string/test-stpncpy.c (TEST_NAME): Likewise.
28026 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28027 * string/test-strcasestr.c (TEST_NAME): Likewise.
28028 * string/test-strcat.c (TEST_NAME): Likewise.
28029 * string/test-strchr.c (TEST_NAME): Likewise.
28030 * string/test-strcmp.c(TEST_NAME): Likewise.
28031 * string/test-strcpy.c (TEST_NAME): Likewise.
28032 * string/test-strcspn.c (TEST_NAME): Likewise.
28033 * string/test-strlen.c (TEST_NAME): Likewise.
28034 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28035 * string/test-strncmp.c (TEST_NAME): Likewise.
28036 * string/test-strncpy.c (TEST_NAME): Likewise.
28037 * string/test-strnlen.c (TEST_NAME): Likewise.
28038 * string/test-strpbrk.c (TEST_NAME): Likewise.
28039 * string/test-strrchr.c (TEST_NAME): Likewise.
28040 * string/test-strspn.c (TEST_NAME): Likewise.
28041 * string/test-strstr.c (TEST_NAME): Likewise.
28042 * string/test-bcopy-ifunc.c: New file.
28043 * string/test-bzero-ifunc.c: Likewise.
28044 * string/test-memccpy-ifunc.c: Likewise.
28045 * string/test-memchr-ifunc.c: Likewise.
28046 * string/test-memcmp-ifunc.c: Likewise.
28047 * string/test-memcpy-ifunc.c: Likewise.
28048 * string/test-memmem-ifunc.c: Likewise.
28049 * string/test-memmove-ifunc.c: Likewise.
28050 * string/test-mempcpy-ifunc.c: Likewise.
28051 * string/test-memset-ifunc.c: Likewise.
28052 * string/test-rawmemchr-ifunc.c: Likewise.
28053 * string/test-stpcpy-ifunc.c: Likewise.
28054 * string/test-stpncpy-ifunc.c: Likewise.
28055 * string/test-strcasecmp-ifunc.c: Likewise.
28056 * string/test-strcasestr-ifunc.c: Likewise.
28057 * string/test-strcat-ifunc.c: Likewise.
28058 * string/test-strchr-ifunc.c: Likewise.
28059 * string/test-strchrnul-ifunc.c: Likewise.
28060 * string/test-strcmp-ifunc.c: Likewise.
28061 * string/test-strcpy-ifunc.c: Likewise.
28062 * string/test-strcspn-ifunc.c: Likewise.
28063 * string/test-strlen-ifunc.c: Likewise.
28064 * string/test-strncasecmp-ifunc.c: Likewise.
28065 * string/test-strncat-ifunc.c: Likewise.
28066 * string/test-strncmp-ifunc.c: Likewise.
28067 * string/test-strncpy-ifunc.c: Likewise.
28068 * string/test-strnlen-ifunc.c: Likewise.
28069 * string/test-strpbrk-ifunc.c: Likewise.
28070 * string/test-strrchr-ifunc.c: Likewise.
28071 * string/test-strspn-ifunc.c: Likewise.
28072 * string/test-strstr-ifunc.c: Likewise.
28073
de54b33a
L
28074 * debug/Makefile (tests-ifunc): New variable.
28075 (tests): Add $(tests-ifunc).
28076 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28077 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28078 * debug/test-stpcpy_chk-ifunc.c: New file.
28079 * debug/test-strcpy_chk-ifunc.c: Likewise.
28080
88481c16
SP
280812012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28082
28083 [BZ #13601]
28084 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28085 header is not read in.
28086
135948bd
JM
280872012-10-19 Joseph Myers <joseph@codesourcery.com>
28088
89f1c388
JM
28089 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28090 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28091 directly. Pass built executable to script as
28092 $(built-program-cmd).
28093 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28094 $testprogram without using LD_LIBRARY_PATH and $ldso.
28095
e40a0d21
JM
28096 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28097 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28098 $(rtld-installed-name).
28099 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28100 (rtld_installed_name): Likewise.
28101 (library_path): Likewise.
28102 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28103 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28104 $(run-program-prefix) to tst-tables.sh.
28105 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28106 it to run tst-table-from and tst-table-to.
28107 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28108 Pass it to tst-table.sh.
28109 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28110 $(run-program-prefix) to tst-gettext.sh.
28111 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28112 tst-translit.sh.
28113 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28114 tst-gettext2.sh.
28115 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28116 to run tst-gettext.
28117 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28118 to run tst-gettext2.
28119 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28120 to run tst-translit.
28121 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28122 $(run-program-prefix) to tst-mtrace.sh.
28123 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28124 to run tst-mtrace.
28125 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28126 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28127 $(rtld-installed-name).
28128 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28129 (rtld_installed_name): Likewise.
28130 (run_program_prefix): New variable. Use it to run wordexp-test.
28131
728e272a
JM
28132 * Makeconfig (ARCH): Remove all definitions.
28133 (machine): Likewise.
28134 [ARCH]: Remove conditional code.
28135 [!objdir]: Give error.
28136 [!objdir] (objpfx): Remove.
28137 [!objdir] (common-objpfx): Likewise.
28138 [!objdir] (common-objdir): Likewise.
28139 * configure.in (config_makefile): Remove. Hardcode Makefile in
28140 AC_CONFIG_FILES call.
28141 * configure: Regenerated.
28142
d528cdcf
JM
28143 [BZ #13888]
28144 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28145 or TMPDIR.
28146 (testout): Likewise.
28147
135948bd
JM
28148 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28149 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28150 $(rtld-installed-name).
28151 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28152 (rtld_installed_name): Likwise.
28153 (runit): Remove function.
28154 (run_getconf): New variable, Use it for running getconf binary.
28155
38c78296
L
281562012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28157
28158 [BZ #14716]
28159 * string/test-memmem.c (check_result): New function.
28160 (do_one_test): Use it.
28161 (check1): New function.
28162 (test_main): Use it.
28163
d077f65f
MT
281642012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28165
28166 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28167
ced52c71
JM
281682012-10-18 Joseph Myers <joseph@codesourcery.com>
28169
28170 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28171 (_G_LSEEK64): Likewise.
28172 (_G_MMAP64): Likewise.
28173 (_G_FSTAT64): Likewise.
28174 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28175 (_G_LSEEK64): Likewise.
28176 (_G_MMAP64): Likewise.
28177 (_G_FSTAT64): Likewise.
28178 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28179 unconditional. Call __mmap64 directly.
28180 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28181 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28182 __lseek64 directly.
28183 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28184 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28185 __mmap64 directly.
28186 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28187 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28188 __lseek64 directly.
28189 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28190 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28191 __lseek64 directly.
28192 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28193 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28194 __lseek64 directly.
28195 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28196 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28197 __fxstat64 directly.
28198 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28199 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28200 unconditional.
28201 (freopen64) [!_G_OPEN64]: Remove conditional code.
28202 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28203 unconditional.
28204 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28205 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28206 unconditional.
28207 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28208 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28209 unconditional.
28210 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28211 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28212 unconditional.
28213 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28214 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28215 unconditional.
28216 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28217 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28218 unconditional.
28219 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28220 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28221 unconditional.
28222 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28223
b741de23
SP
282242012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28225
28226 [BZ #12140]
28227 * manual/memory.texi (Malloc Tunable Parameters): Add note
28228 about free list pointers overwriting some perturb bytes.
28229 Wording suggested by Roland McGrath.
28230
f9b9d9c9
JM
282312012-10-17 Joseph Myers <joseph@codesourcery.com>
28232
28233 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28234 (lgamma_test): Likewise.
28235 (tgamma_test): Likewise.
28236
172a631a
FW
282372012-10-16 Florian Weimer <fweimer@redhat.com>
28238
28239 [BZ #14700]
28240 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28241 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28242
e9f37252
MK
282432012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28244
28245 * NEWS: Mention BZ #14716.
28246 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28247 when removing AVAILABLE1_USES_J macro.
28248
d394eb74
L
282492012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28252 (__bswap_64): __uint64_t for unsigned 64-bit int.
28253
ca38dc17
AS
282542012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28255
28256 * include/string.h (memmem): Declare libc hidden alias.
28257 * string/memmem.c (memmem): Define libc hidden alias.
28258 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28259 __read, __close instead of open, read, close.
28260
9a387d1f
L
282612012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28262
ac49ecaf
L
28263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28264 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28265 global and hidden.
28266 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28267 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28268 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28269 Likewise.
28270 (__rawmemchr_sse2): Likewise.
28271 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28272 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28273 (__strchr_sse2): Likewise.
28274 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28275 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28276 (__strcasecmp_sse2): Likewise.
28277 (__strncasecmp_sse2): Likewise.
28278 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28279 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28280 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28281 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28282 (__strrchr_sse2): Likewise.
28283 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28284 ifunc-impl-list.c.
28285 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28286 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28287 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28288 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28289 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28291 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28292 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28293 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28294 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28295 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28296 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28297 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28298 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28299 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28300 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28301 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28302 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28303 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28304 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28305 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28306 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28307 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28308 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28309 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28311 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28312 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28313 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28314 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28315
b090e8ea
L
28316 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28317 global and hidden.
28318 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28319 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28320 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28321 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28322 Likewise.
28323 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28324 Likewise.
28325 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28326 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28327 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28328 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28329 ifunc-impl-list.c.
28330 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28331 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28332 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28333 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28334 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28335 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28336 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28337 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28338 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28339 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28340 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28341 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28342 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28343 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28344 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28346 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28347 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28348 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28349 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28351 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28352 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28354 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28356 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28360 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28364 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28371
11dd4af6
L
28372 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28373 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28374 * include/ifunc-impl-list.h: New file.
28375 * misc/ifunc-impl-list.c: Likewise.
28376 * misc/Makefile (routines): Add ifunc-impl-list.
28377 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28378 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28379 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28380 TEST_NAME]: New variables.
11dd4af6
L
28381 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28382 are defined.
28383 (test_init): Call __libc_ifunc_impl_list to initialize
28384 func_list if TEST_IFUNC and TEST_NAME are defined.
28385
9a387d1f
L
28386 * string/Makefile (strop-tests): Add bcopy and bzero.
28387 * string/test-bcopy.c: New file.
28388 * string/test-bzero.c: Likewise.
28389 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28390 defined.
28391 * string/test-memset.c: Support bzero test if TEST_BZERO is
28392 defined.
28393 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28394 __libc_memmove.
28395 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28396 __libc_memset.
28397 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28398 of memset.
28399
472371b9
JM
284002012-10-10 Joseph Myers <joseph@codesourcery.com>
28401
1e4a9536
JM
28402 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28403 * configure: Regenerated.
28404
d173d12e
JM
28405 * Makeconfig (+link-static-before-libc): Don't include
28406 $(link-static-libc).
28407
472371b9
JM
28408 * libio/libio.h (_IO_pos_t): Remove.
28409
89a3ad0b
AO
284102012-10-10 Alexandre Oliva <aoliva@redhat.com>
28411
28412 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28413 McGrath.
28414
e7451425
AO
284152012-10-10 Alexandre Oliva <aoliva@redhat.com>
28416
28417 * crypt/crypt-entry.c: Include fips-private.h.
28418 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28419 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28420 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28421 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28422
4ba74a35
AO
284232012-10-10 Alexandre Oliva <aoliva@redhat.com>
28424
28425 * crypt/crypt-private.h: Include stdbool.h.
28426 (_ufc_setup_salt_r): Return bool.
28427 * crypt/crypt-entry.c: Include errno.h.
28428 (__crypt_r): Return NULL with EINVAL for bad salt.
28429 * crypt/crypt_util.c (bad_for_salt): New.
28430 (_ufc_setup_salt_r): Check that salt is long enough and within
28431 the specified alphabet.
28432 * crypt/badsalttest.c: New file.
28433 * crypt/Makefile (tests): Add it.
28434 ($(objpfx)badsalttest): New.
28435
f96f1242
MK
284362012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28437
28438 * NEWS: Add entry for BZ #14602.
28439
0e8e0c1c
JM
284402012-10-09 Joseph Myers <joseph@codesourcery.com>
28441
28442 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28443 type-generic.
28444 * math/libm-test.inc: Update comment listing what functions and
28445 macros are tested.
28446 (isgreater_test): New function.
28447 (isgreaterequal_test): Likewise.
28448 (isless_test): Likewise.
28449 (islessequal_test): Likewise.
28450 (islessgreater_test): Likewise.
28451 (isunordered_test): Likewise.
28452 (main): Call the new functions.
28453
273edc5e
RM
284542012-10-09 Roland McGrath <roland@hack.frob.com>
28455
b8493de0
RM
28456 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28457 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28458 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28459 * sysdeps/i386/configure: Regenerated.
28460 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28461 * sysdeps/mach/configure: Regenerated.
28462 * sysdeps/mach/hurd/configure: Regenerated.
28463 * sysdeps/powerpc/configure: Regenerated.
28464 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28465 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28466 * sysdeps/s390/s390-32/configure: Regenerated.
28467 * sysdeps/s390/s390-64/configure: Regenerated.
28468 * sysdeps/sh/configure: Regenerated.
28469 * sysdeps/sparc/configure: Regenerated.
28470 * sysdeps/unix/sysv/linux/configure: Regenerated.
28471 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28472 * sysdeps/x86_64/configure: Regenerated.
28473
273edc5e
RM
28474 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28475 defined. Don't check if MAP is NULL.
28476
c8450f70
JM
284772012-10-09 Joseph Myers <joseph@codesourcery.com>
28478
28479 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28480 (_G_stat64): Likewise.
28481 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28482 (_G_stat64): Likewise.
28483 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28484 instead of struct _G_stat64.
28485 * libio/fileops.c (mmap_remap_check): Likewise.
28486 (decide_maybe_mmap): Likewise.
28487 (_IO_new_file_seekoff): Likewise.
28488 (_IO_file_stat): Likewise.
28489 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28490 _G_off64_t.
28491 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28492 instead of struct _G_stat64.
28493 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28494
57e605ba
MK
284952012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28496
28497 [BZ #14602]
28498 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28499 Replace with ...
28500 (CHECK_EOL): New macro.
28501 (two_way_short_needle): Check beginning of haystack for EOL. Use
28502 CHECK_EOL.
28503 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28504 Replace with CHECK_EOL.
28505 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28506 Replace with CHECK_EOL.
28507
ef1bb361
JM
285082012-10-08 Joseph Myers <joseph@codesourcery.com>
28509
28510 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28511 type-generic.
28512 * math/libm-test.inc: Update comment listing what functions and
28513 macros are tested.
28514 (finite_test): New function.
28515 (isinf_test): Likewise.
28516 (isnan_test): Likewise.
28517 (fpclassify_test): Test subnormal input.
28518 (isfinite_test): Likewise.
28519 (isnormal_test): Likewise.
28520 (main): Call the new functions.
28521
55f11534
JN
285222012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28523
28524 [BZ #14660]
28525 * Makerules (%.dynsym): Force C locale when running
28526 $(OBJDUMP) --dynamic-syms.
28527
1ab29350
AS
285282012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28529
28530 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28531 <stdint.h>.
28532
f1ecb7ef
DM
285332012-10-06 David S. Miller <davem@davemloft.net>
28534
28535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28536 upper 32-bits of the length value in %o2 since we use branch-on-register
28537 tests which consider the entire 64-bit register.
28538
5d41d91a
L
285392012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28540
28541 * string/test-strstr.c (check2): Add a test for page boundary.
28542
3baddb72
DM
285432012-10-05 David S. Miller <davem@davemloft.net>
28544
28545 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28546 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28547 file.
28548 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28549 sysdep_routines.
28550 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28551 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28552 and bzero when HWCAP_SPARC_CRYPTO is present.
28553
9cee5585
L
285542012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28555
d7e0dab9
L
28556 [BZ #14602]
28557 * string/test-strstr.c (check2): New function.
28558 (test_main): Call check2.
28559
03759f47
L
28560 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28561 and bug-strchr1.
28562 * string/bug-strcasestr1.c (do_test): Moved to ...
28563 * string/test-strcasestr.c (check1): Here. New function.
28564 (do_one_test): Break out result checking code into ...
28565 (check_result): This. New function.
28566 (do_one_test): Call check_result.
28567 (test_main): Call check1.
28568 * string/bug-strchr1.c (do_test): Moved to ...
28569 * string/test-strchr.c (check1): Here. New function.
28570 (do_one_test): Break out result checking code into ...
28571 (check_result): This. New function.
28572 (do_one_test): Call check_result.
28573 (test_main): Call check1.
28574 * string/bug-strstr1.c (main): Moved to ...
046f153e 28575 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28576 (do_one_test): Break out result checking code into ...
28577 (check_result): This. New function.
28578 (do_one_test): Call check_result.
28579 (test_main): Call check1.
28580 * string/bug-strcasestr1.c: Removed.
28581 * string/bug-strchr1.c: Likewise.
28582 * string/bug-strstr1.c: Likewise.
28583
53cea63e
L
28584 * elf/Makefile (dl-routines): Add hwcaps.
28585 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28586 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28587 (_dl_important_hwcaps): Moved to ...
28588 * elf/dl-hwcaps.c: Here. New file.
28589 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28590
9cee5585 28591 [BZ #14557]
bb859b06
L
28592 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28593 if IS_IN_rtld isn't defined.
28594
9cee5585
L
28595 * elf/dl-support.c (_dl_sysinfo_map): New.
28596 Include "get-dynamic-info.h" and "setup-vdso.h".
28597 (_dl_non_dynamic_init): Call setup_vdso.
28598 * elf/dynamic-link.h: Don't include <assert.h>.
28599 (elf_get_dynamic_info): Moved to ...
28600 * elf/get-dynamic-info.h: Here. New file.
28601 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28602 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28603 * elf/setup-vdso.h: Here. New file.
28604 * elf/rtld.c: Include "setup-vdso.h".
28605 (dl_main): Call setup_vdso.
28606
23c31b76
JM
286072012-10-05 Joseph Myers <joseph@codesourcery.com>
28608
28234b07
JM
28609 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28610 creal in comment listing functions tested. List finite, isinf,
28611 isnan, isless, islessequal, isgreater, isgreaterequal,
28612 islessgreater, isunordered, lgamma_r and pow10 as functions and
28613 macros not tested. Mention which functions not tested are aliases
28614 for other functions. Fix typo. Note that signs of NaNs are not
28615 tested.
28616
23c31b76
JM
28617 * scripts/config.guess: Update from config.git.
28618 * scripts/config.sub: Likewise.
28619
9043e228
RM
286202012-10-04 Roland McGrath <roland@hack.frob.com>
28621
28622 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28623 * misc/madvise.c (madvise): Renamed to __madvise.
28624 Make madvise a weak alias.
28625 * include/sys/mman.h: Declare __madvise.
28626 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28627 * sysdeps/unix/syscalls.list
28628 (madvise): Make __madvise the strong name, and madvise a weak alias.
28629 * sysdeps/unix/sysv/linux/syscalls.list
28630 (madvise, mmap): Remove redundant entries.
28631 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28632 * malloc/malloc.c (mtrim): Likewise.
28633 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28634
f57f8055
RM
286352012-10-03 Roland McGrath <roland@hack.frob.com>
28636
28637 * sysdeps/mach/hurd/dl-cache.c: File removed.
28638 * config.h.in (USE_LDCONFIG): New #undef.
28639 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28640 * configure: Regenerated.
28641 * elf/Makefile (dl-routines): Add dl-cache only under
28642 [$(use-ldconfig) = yes].
28643 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28644 cache on [USE_LDCONFIG].
28645 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28646 [USE_LDCONFIG].
28647 * elf/rtld.c (dl_main): Likewise.
28648
5bb0c10a
PT
286492012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28650
28651 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28652 _SC_LEVEL4_CACHE_LINESIZE.
28653
010188c6
RM
286542012-10-03 Roland McGrath <roland@hack.frob.com>
28655
28656 * sysdeps/unix/bsd/confstr.h: File removed.
28657
b6c5ec07
AO
286582012-10-02 Alexandre Oliva <aoliva@redhat.com>
28659
28660 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28661 sys/sdt-config.h.
28662
408223d4
RM
286632012-10-02 Roland McGrath <roland@hack.frob.com>
28664
28665 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28666 Make 'mapoff' field ElfW(Off) rather than off_t.
28667
bb9510dc
DL
286682012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28669
fc997c6e
DL
28670 * nscd/Makefile: Remove nscd-cflags and all its users.
28671 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28672 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28673
bb9510dc
DL
28674 [BZ #10631]
28675 * malloc.c (malloc_printerr): Clarify error message.
28676
05699367
L
286772012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28678
28679 [BZ #14648]
28680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28681 Set bit_FMA_Usable if FMA is supported.
28682 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28683 macro.
28684 (bit_FMA4_Usable): Updated.
28685 (index_FMA_Usable): New macro.
28686 (CPUID_FMA): Likewise
28687 (HAS_FMA): Defined with bit_FMA_Usable.
28688
51367701
RM
286892012-10-01 Roland McGrath <roland@hack.frob.com>
28690
28691 * bits/types.h (__swblk_t): Type removed.
28692 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28693 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28695 (__SWBLK_T_TYPE): Likewise.
28696 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28697 (__SWBLK_T_TYPE): Likewise.
28698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28699 (__SWBLK_T_TYPE): Likewise.
28700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28701 (__SWBLK_T_TYPE): Likewise.
28702
4d57bf63 287032012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28704 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28705
28706 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28707 (xdr_mapname): Use YPMAXMAP as maxsize.
28708 (xdr_peername): Use YPMAXPEER as maxsize.
28709 (xdr_keydat): Use YPAXRECORD as maxsize.
28710 (xdr_valdat): Use YPMAXRECORD as maxsize.
28711
93c65d43
RM
287122012-10-01 Roland McGrath <roland@hack.frob.com>
28713
497a03d6
RM
28714 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28715
93c65d43
RM
28716 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28717 * csu/init-first.c: ... here.
28718 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28719 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28720 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28721 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28722 * sysdeps/i386/init-first.c: File removed.
28723 * sysdeps/sh/init-first.c: File removed.
28724
bec749fd
JM
287252012-10-01 Joseph Myers <joseph@codesourcery.com>
28726
28727 [BZ #14645]
28728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28729 if x * y might underflow to zero and z is zero.
28730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28732 * math/libm-test.inc (min_subnorm_value): New variable.
28733 (fma_test): Add more tests.
28734 (fma_test_towardzero): Likewise.
28735 (fma_test_downward): Likewise
28736 (fma_test_upward): Likewise.
28737 (initialize): Set min_subnorm_value.
28738
8ec5b013
JM
287392012-09-29 Joseph Myers <joseph@codesourcery.com>
28740
28741 [BZ #14638]
28742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28743 0 + 0.
28744 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28745 mode for addition resulting in exact zero.
28746 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28748 exact 0 + 0.
28749 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28751 * math/libm-test.inc (fma_test): Add more tests.
28752 (fma_test_towardzero): New function.
28753 (fma_test_downward): Likewise.
28754 (fma_test_upward): Likewise.
28755 (main): Call the new functions.
28756
b1fa802e
DM
287572012-09-28 David S. Miller <davem@davemloft.net>
28758
28759 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28760
d3b9fd9e
RM
287612012-09-28 Roland McGrath <roland@hack.frob.com>
28762
ea4d37b3
RM
28763 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28764 instead of SIGALRM.
28765
ac51c949
RM
28766 * sysdeps/gnu/_G_config.h: Moved to ...
28767 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28768 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28769 * sysdeps/generic/_G_config.h: ... here.
28770
28c195f7
RM
28771 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28772
848917f9
RM
28773 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28774
6bacf05b
RM
28775 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28776 Conditionalize target on [libnss_test1.so-version].
28777
91363dbb
RM
28778 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28779
cc87f7d8
RM
28780 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28781 (elfobjdir): Move out of conditionals.
28782
b1c608fe
RM
28783 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28784 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28785 (__nss_lookup_function): Conditionalize label remove_from_tree on
28786 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28787
1d9a6d96
DM
287882012-09-28 David S. Miller <davem@davemloft.net>
28789
28790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28791 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28792 file.
28793 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28794 sysdep_routines.
28795 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28797 when HWCAP_SPARC_CRYPTO is present.
28798
72581615
PT
287992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28800
28801 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28802
715a900c
JL
288032012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28804
28805 [BZ #6530]
28806 * stdio-common/vfprintf.c (process_string_arg): Revert
28807 2000-07-22 change.
28808
288092011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28810
28811 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28812 for testcase.
28813 * stdio-common/tst-sprintf.c: Include <locale.h>
28814 (main): Test sprintf's handling of incomplete multibyte
28815 characters.
28816
9bac1d86
L
288172012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28818
28819 * elf/dl-runtime.c (VERSYMIDX): Removed.
28820 * elf/dl-version.c (VERSYMIDX): Likewise.
28821 * elf/do-rel.h (VERSYMIDX): Likewise.
28822 (VALIDX): Likewise.
28823 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28824 * elf/rtld.c (VALIDX): Likewise.
28825 (ADDRIDX): Likewise.
9bac1d86
L
28826 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28827 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28828 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28829 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28830 (VALIDX): Likewise.
28831 (ADDRIDX): Likewise.
9bac1d86 28832
b31606c0
PT
288332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28834
28835 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28836
11541177
JL
288372012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28838
28839 [BZ #11438]
28840 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28841 to global scope.
28842 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28843 addresses are in the same scope as 192.0.2/24.
28844 * posix/gai.conf: Document new scope table defaults.
28845
adb26fae
SP
288462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28847
28848 [BZ #5298]
28849 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28850 for ftell. Compute offsets from write pointers instead.
28851 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28852
4573c6b0
SP
288532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28854
28855 [BZ #14543]
28856 * libio/Makefile (tests): New test case tst-fseek.
28857 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28858 combination works in wide mode.
28859 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28860 state when the external buffer state changes.
28861
aa9bbfe6
DM
288622012-09-27 David S. Miller <davem@davemloft.net>
28863
28864 [BZ #14376]
28865 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28866 pass reloc->r_addend in as the 'high' argument to
28867 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28868
784421e7
DM
28869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28870
c39bc8b8
PT
288712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28872
28873 * rt/tst-aio2.c: Include <pthread.h>.
28874 * rt/tst-aio3.c: Likewise.
28875
1ccc2399
SE
288762012-09-27 Steve Ellcey <sellcey@mips.com>
28877
28878 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28879
31ed4153
L
288802012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28881
25f5f885
L
28882 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28883 contents on [SHARED].
31ed4153 28884
b7bfe116
MP
288852012-09-26 Marek Polacek <polacek@redhat.com>
28886
28887 [BZ #14530]
28888 [BZ #13741]
28889 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28890 for C++ and GCC <4.3 as well as for non GCC compilers.
28891
43c4edba
MT
288922012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28893
28894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28895
6a1bf82f
RM
288962012-09-25 Roland McGrath <roland@hack.frob.com>
28897
28898 * Makefile.in (all, install): Declare with .PHONY.
28899 Reported by Michael Hope <michael.hope@linaro.org>.
28900
8ad11b9a
TMQMF
289012012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28902
28903 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28904 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28905 system header.
28906 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28907 Likewise.
28908 (sydep_routines): Add the new and the internal functions.
28909 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28910 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28912 (GLIBC_2.17): Add the new function.
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28914 (GLIBC_2.17): Likewise.
28915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28916 (GLIBC_2.17): Likewise.
28917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28918 (GLIBC_2.17): Likewise.
28919 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28920
7e2fca8d
AM
289212012-09-25 Alan Modra <amodra@gmail.com>
28922
28923 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28924 Add release barrier before setting once_control to say
28925 initialisation is done. Add hints on lwarx. Use macro in
28926 place of isync.
28927 (clear_once_control): Add release barrier.
28928
b87c4b24
JM
289292012-09-25 Joseph Myers <joseph@codesourcery.com>
28930
d032e0d2
JM
28931 [BZ #13629]
28932 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28933 specially.
28934 * math/s_clog10.c (__clog10): Likewise.
28935 * math/s_clog10f.c (__clog10f): Likewise.
28936 * math/s_clog10l.c (__clog10l): Likewise.
28937 * math/s_clogf.c (__clogf): Likewise.
28938 * math/s_clogl.c (__clogl): Likewise.
28939 * math/Makefile (libm-calls): Add x2y2m1.
28940 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28941 (__x2y2m1): Likewise.
28942 (__x2y2m1l): Likewise.
28943 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28944 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28947 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28948 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28949 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28950 * sysdeps/i386/fpu/libm-test-ulps: Update.
28951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28952
b87c4b24
JM
28953 [BZ #14621]
28954 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28955 int as type of variable DEPTH.
28956 (glob): Use size_t instead of int as type of variables NEWCOUNT
28957 and OLD_PATHC.
28958
6d3bf199
LD
289592012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28960
22bf5c17
LD
28961 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28962 Add s_sincosf-sse2.
28963 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28964 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28965 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28966 macros for using routine as __sincosf_ia32.
28967 Use macro for function declaration and weak_alias.
28968 * sysdeps/i386/fpu/libm-test-ulps: Update.
28969
28970 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28972
28973 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28974 subnormal argument.
28975 * math/s_cexpf.c (__cexpf): Likewise.
28976 * math/s_csinf.c (__csinf): Likewise.
28977 * math/s_csinhf.c (__csinhf): Likewise.
28978 * math/s_ctanf.c (__ctanf): Likewise.
28979 * math/s_ctanhf.c (__ctanhf): Likewise.
28980 * math/s_ccosh.c (__ccoshf): Likewise.
28981 * math/s_cexp.c (__cexpl): Likewise.
28982 * math/s_csin.c (__csin): Likewise.
28983 * math/s_csinh.c (__csinh): Likewise.
28984 * math/s_ctan.c (__ctan): Likewise.
28985 * math/s_ctanh.c (ctanh): Likewise.
28986 * math/s_ccoshl.c (__ccoshl): Likewise.
28987 * math/s_cexpl.c (__cexpl): Likewise.
28988 * math/s_csinl.c (__csinl): Likewise.
28989 * math/s_csinhl.c (__csinhl): Likewise.
28990 * math/s_ctanl.c (__ctanl): Likewise.
28991 * math/s_ctanhl.c (__ctanhl): Likewise.
28992
203e5603
JM
289932012-09-25 Joseph Myers <joseph@codesourcery.com>
28994
28995 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28996 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28997 (_IO_off_t): Define to __off_t, not _G_off_t.
28998 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28999 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29000 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29001 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29002 type of __dummy and __dummy2 fields.
29003 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29004 (_G_ssize_t): Likewise.
29005 (_G_off_t): Likewise.
29006 (_G_pid_t): Likewise.
29007 (_G_uid_t): Likewise.
29008 (_G_wchar_t): Likewise.
29009 (_G_wint_t): Likewise.
29010 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29011 (_G_ssize_t): Likewise.
29012 (_G_off_t): Likewise.
29013 (_G_pid_t): Likewise.
29014 (_G_uid_t): Likewise.
29015 (_G_wchar_t): Likewise.
29016 (_G_wint_t): Likewise.
29017 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29018 (_G_ssize_t): Likewise.
29019 (_G_off_t): Likewise.
29020 (_G_pid_t): Likewise.
29021 (_G_uid_t): Likewise.
29022 (_G_wchar_t): Likewise.
29023 (_G_wint_t): Likewise.
29024
9fab36eb
SP
290252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29026
29027 * malloc/arena.c: Include malloc-sysdep.h.
29028 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29029 is sufficient to shrink the heap or an unmap is needed.
29030 * sysdeps/generic/malloc-sysdep.h: New file. Define
29031 new function check_may_shrink_heap.
29032 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29033 new function check_may_shrink_heap.
29034
2b4f00d1
SP
290352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29036
29037 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29038 comments.
29039
9a9028b1
DL
290402012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29041
57c69bef
DL
29042 * catgets/test-gencat.sh: Add "set -e".
29043 * elf/tst-pathopt.sh: Likewise.
29044 * grp/tst_fgetgrent.sh: Likewise.
29045 * iconvdata/run-iconv-test.sh: Likewise.
29046 * intl/tst-gettext.sh: Likewise.
29047 * intl/tst-gettext2.sh: Likewise.
29048 * intl/tst-gettext4.sh: Likewise.
29049 * intl/tst-gettext6.sh: Likewise.
29050 * intl/tst-translit.sh: Likewise.
29051 * io/ftwtest-sh: Likewise.
29052 * libio/test-freopen.sh: Likewise.
29053 * malloc/tst-mtrace.sh: Likewise.
29054 * posix/globtest.sh: Likewise.
29055 * posix/tst-getconf.sh: Likewise.
29056 * posix/wordexp-tst.sh: Likewise.
29057 * stdio-common/tst-printf.sh: Likewise.
29058 * stdio-common/tst-unbputc.sh: Likewise.
29059 * stdlib/tst-fmtmsg.sh: Likewise.
29060 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29061 * catgets/Makefile: Do not specify -e option when running
29062 testsuite shell scripts.
29063 * elf/Makefile: Likewise.
29064 * grp/Makefile: Likewise.
29065 * iconvdata/Makefile: Likewise.
29066 * intl/Makefile: Likewise.
29067 * io/Makefile: Likewise.
29068 * libio/Makefile: Likewise.
29069 * malloc/Makefile: Likewise.
29070 * posix/Makefile: Likewise.
29071 * stdio-common/Makefile: Likewise.
29072 * stdlib/Makefile: Likewise.
29073 * sysdeps/x86_64/Makefile: Likewise.
29074
9a9028b1
DL
29075 * io/ftwtest-sh: Add copyright header.
29076 * posix/globtest.sh: Likewise.
29077 * posix/tst-getconf.sh: Likewise.
29078 * posix/wordexp-tst.sh: Likewise.
29079 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29080
ced6f16e
L
290812012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29082
94b32c39
L
29083 [BZ #13679]
29084 * Makeconfig (+link): Defined as $(+link-static) if
29085 $(build-shared) isn't yes.
29086 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29087 isn't yes.
29088 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29089
189e935b
L
29090 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29091
ced6f16e
L
29092 [BZ #14562]
29093 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29094 new chunk size with MALLOC_ALIGN_MASK.
29095
a9f8e53a
JM
290962012-09-24 Joseph Myers <joseph@codesourcery.com>
29097
29098 [BZ #5044]
29099 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29100 <rounding-mode.h>.
29101 (__printf_fphex): Determine rounding using get_rounding_mode and
29102 round_away.
29103 * stdio-common/tst-printf-round.c (struct hex_test): New
29104 structure.
29105 (hex_tests): New variable.
29106 (test_hex_in_one_mode): New function.
29107 (do_test): Also run tests for hex float output.
29108
43153109
JM
291092012-09-21 Joseph Myers <joseph@codesourcery.com>
29110
29111 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29112 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29113 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29114 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29115 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29116 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29117 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29118 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29119
8a26625d
JM
291202012-09-20 Joseph Myers <joseph@codesourcery.com>
29121
29122 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29123 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29124 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29125 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29126
f3fd569c
DL
291272012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29128
29129 [BZ #14579]
29130 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29131 mode only.
29132 * elf/tst-rtld-load-self.sh: New test.
29133 * elf/Makefile: Run it.
29134
63bbedd4
JM
291352012-09-18 Joseph Myers <joseph@codesourcery.com>
29136
29137 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29138 (tst-writev-ENV): Remove.
29139 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29140
626f8b6a
CM
291412012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29142
29143 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29144
b7aaa4d6
JM
291452012-09-17 Joseph Myers <joseph@codesourcery.com>
29146
29147 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29148 unconditional.
29149 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29150 Likewise.
29151 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29152 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29153 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29154 Likewise.
29155
65513990
L
291562012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29157
29158 [BZ #14587]
29159 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29160 * config.make.in (have-cpp-asm-debuginfo): Removed.
29161 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29162 * configure: Regenerated.
29163
784761be
JM
291642012-09-14 Joseph Myers <joseph@codesourcery.com>
29165
29166 [BZ #5044]
29167 * stdio-common/printf_fp.c: Include <stdbool.h> and
29168 <rounding-mode.h>.
29169 (___printf_fp): Determine rounding using get_rounding_mode and
29170 round_away.
29171 * stdio-common/tst-printf-round.c: New file.
29172 * stdio-common/Makefile (tests): Add tst-printf-round.
29173 (link-libm): New variable.
29174 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29175
9503345f
L
291762012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29177
29178 [BZ #14576]
29179 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29180 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29181 Likewise.
29182 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29183 Likewise.
29184
ad35fc00
JM
291852012-09-13 Joseph Myers <joseph@codesourcery.com>
29186
29187 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29188 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29189 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29190 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29191
6c9b0f68
JM
291922012-09-12 Joseph Myers <joseph@codesourcery.com>
29193
29194 [BZ #14518]
29195 * include/rounding-mode.h: New file.
29196 * sysdeps/generic/get-rounding-mode.h: Likewise.
29197 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29198 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29199 (MAX_VALUE): New macro.
29200 (MIN_VALUE): Likewise.
29201 (overflow_value): New function.
29202 (underflow_value): Likewise.
29203 (round_and_return): Use overflow_value and underflow_value to
29204 determine return values in overflow and underflow cases. Use
29205 round_away to determine rounding depending on rounding mode.
29206 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29207 determine return values in overflow and underflow cases.
29208 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29209 (struct test_results): New structure.
29210 (struct test): Use struct test_results to store expected results
29211 for all rounding modes.
29212 (TEST): Include expected results for all rounding modes.
29213 (test_in_one_mode): New function.
29214 (do_test): Use test_in_one_mode to compute and check results.
29215 Check results for all rounding modes.
29216 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29217 $(link-libm).
29218
19fcedd5
AM
292192012-12-09 Allan McRae <allan@archlinux.org>
29220
1e9d84cd 29221 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29222
8bbfd2f1
JM
292232012-09-11 Joseph Myers <joseph@codesourcery.com>
29224
29225 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29226 (_G_int32_t): Likewise.
29227 (_G_uint16_t): Likewise.
29228 (_G_uint32_t): Likewise.
29229 (_G_HAVE_BOOL): Likewise.
29230 (_G_HAVE_ATEXIT): Likewise.
29231 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29232 (_G_HAVE_IO_FILE_OPEN): Likewise.
29233 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29234 (_G_int32_t): Likewise.
29235 (_G_uint16_t): Likewise.
29236 (_G_uint32_t): Likewise.
29237 (_G_HAVE_BOOL): Likewise.
29238 (_G_HAVE_ATEXIT): Likewise.
29239 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29240 (_G_HAVE_IO_FILE_OPEN): Likewise.
29241 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29242 (_G_int32_t): Likewise.
29243 (_G_uint16_t): Likewise.
29244 (_G_uint32_t): Likewise.
29245 (_G_HAVE_BOOL): Likewise.
29246 (_G_HAVE_ATEXIT): Likewise.
29247 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29248 (_G_HAVE_IO_FILE_OPEN): Likewise.
29249
b1dc5912
L
292502012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29251
29252 * csu/libc-tls.c: Update copyright years.
29253
0e886ef9
JM
292542012-09-10 Joseph Myers <joseph@codesourcery.com>
29255
28361c5e
JM
29256 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29257 [!_G_USING_THUNKS]: Remove conditional code.
29258 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29259 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29260
0e886ef9
JM
29261 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29262 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29263 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29264 (_G_VTABLE_LABEL_PREFIX): Likewise.
29265 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29266 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29267 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29268 (_G_VTABLE_LABEL_PREFIX): Likewise.
29269 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29270 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29271 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29272 (_G_VTABLE_LABEL_PREFIX): Likewise.
29273 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29274
bcba7aa2
L
292752012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29276
29277 * libio/Makefile: Include ../Makeconfig before tests.
29278 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29279 only if $(build-shared) is yes.
29280
06585ee8
L
29281 * iconv/gconv_db.c: Update copyright years.
29282
80ccd52c
LD
292832012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29284
29285 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29286 unwind info if defined PIC. Fix special cases description.
29287 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29288
29289 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29290 DP_HI_MASK entry.
29291 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29292
691bc9c1
L
292932012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29294
3d9b46b3
L
29295 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29296
de2139a9
L
29297 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29298 is NULL.
29299
5ca78dd0
L
29300 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29301 (LDLIBS-tst-chk4): This.
29302 (LDFLAGS-tst-chk5): Renamed to ...
29303 (LDLIBS-tst-chk5): This.
29304 (LDFLAGS-tst-chk6): Renamed to ...
29305 (LDLIBS-tst-chk6): This.
29306 (LDFLAGS-tst-lfschk4): Renamed to ...
29307 (LDLIBS-tst-lfschk4): This.
29308 (LDFLAGS-tst-lfschk5): Renamed to ...
29309 (LDLIBS-tst-lfschk5): This.
29310 (LDFLAGS-tst-lfschk6): Renamed to ...
29311 (LDLIBS-tst-lfschk6): This.
29312
691bc9c1
L
29313 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29314 on $(common-objpfx)soversions.mk.
29315
65cafb1c
JM
293162012-09-07 Joseph Myers <joseph@codesourcery.com>
29317
29318 [BZ #10014]
29319 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29320 example host name.
29321
c78ab094
SP
293222012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29323
29324 * malloc/arena.c (arena_get_retry): New function that gets
29325 another arena for the caller to try its request on.
29326 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29327 current arena cannot fulfill the request.
29328 (__libc_memalign): Likewise.
29329 (__libc_memalign): Likewise.
29330 (__libc_pvalloc): Likewise.
29331 (__libc_calloc): Likewise.
29332
01f49f59
JT
293332012-09-05 John Tobey <john.tobey@gmail.com>
29334
29335 [BZ #13542]
29336 * manual/arith.texi (Operations on Complex): Fix description
29337 of carg branch cut.
29338
4c23fed5
JM
293392012-09-06 Joseph Myers <joseph@codesourcery.com>
29340
1d3c8572
JM
29341 [BZ #10014]
29342 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29343 host name.
29344
4c23fed5
JM
29345 [BZ #10038]
29346 * manual/memory.texi (Memory): Make order of menu items match
29347 order of sections.
29348
04570aaa
L
293492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29350
29351 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29352 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29353 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29354
b80af2f4
L
293552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29356
29357 * csu/libc-tls.c (static_dtv): Renamed to ...
29358 (_dl_static_dtv): This. Make it global.
29359 (_dl_initial_dtv): Removed.
29360 (__libc_setup_tls): Updated.
29361 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29362 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29363 DL_INITIAL_DTV.
29364
2abe9f15
PM
293652012-09-06 Petr Machata <pmachata@redhat.com>
29366
29367 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29368 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29369 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29370 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29371
0948c3af
L
293722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29373
29374 [BZ #14545]
29375 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29376 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29377 freeing dtv[-1].
29378
a5055ad1
L
293792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29380
29381 [BZ #14544]
29382 * Makeconfig (link-static-before-libc): Replace $(+prector)
29383 with $(+prectorT).
29384 (link-static-after-libc): Replace $(+postctor) with
29385 $(+postctorT).
29386 (link-bounded): Replace $(+prector)/$(+postctor) with
29387 $(+prectorT)/$(+postctorT).
29388 (+prectorT): New macro.
29389 (+postctorT): Likewise.
29390
ed8c2ecd
JM
293912012-09-06 Joseph Myers <joseph@codesourcery.com>
29392
29393 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29394 (round_str): Handle values above the maximum for IBM long double
29395 as inexact.
29396 * stdlib/tst-strtod-round.c (tests): Regenerated.
29397
14c996c8
AK
293982012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29399
29400 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29401 assembler flag.
29402 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29403 zarch_nohighgprs around the zarch optimized routines.
29404 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29405 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29406 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29407 for zarch.
29408
430d6ce6
DM
294092012-09-05 David S. Miller <davem@davemloft.net>
29410
29411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29412
57f41c40
AS
29413 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29414 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29415 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29416 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29417 entries.
29418
24d4e01b
AO
294192012-09-05 Alexandre Oliva <aoliva@redhat.com>
29420
29421 * malloc/arena.c: Fold copyright years.
29422 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29423
61d58174
AO
294242012-09-05 Alexandre Oliva <aoliva@redhat.com>
29425
29426 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29427
20196a5e
AO
294282012-09-05 Alexandre Oliva <aoliva@redhat.com>
29429
29430 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29431
5c447383
AO
294322012-09-05 Alexandre Oliva <aoliva@redhat.com>
29433
29434 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29435 change internal state upon failure.
29436
fad64255
AO
294372012-09-05 Alexandre Oliva <aoliva@redhat.com>
29438
29439 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29440 * malloc/memusage.c (mmap): Likewise.
29441 (mmap64, mremap): Likewise. Adjust name in comment.
29442
1ffb8c90
SP
294432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29444
29445 * libio/fileops.c: Fix typos in comments.
29446 * libio/oldfileops.c: Likewise.
29447 * libio/wfileops.c: Likewise.
29448
6ef9cc37
SP
294492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29450
29451 [BZ #1349]
29452 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29453 (tst-malloc-usable-ENV): Set environment for test case.
29454 * malloc/hooks.c (malloc_check_get_size): New function to get
29455 requested size.
29456 * malloc/malloc.c (musable): Use malloc_check_get_size.
29457 * malloc/tst-malloc-usable.c: New test case.
29458
4d038ae3
AS
294592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29460
29461 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29462
c4e85184
AM
294632012-09-05 Allan McRae <allan@archlinux.org>
29464
b9dafc56 29465 [BZ #13966]
c4e85184
AM
29466 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29467 determine header location.
29468 * configure: Regenerated.
29469
e1343020
AS
294702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29471
29472 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29473 float format.
29474 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29475 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29476 format.
e1343020
AS
29477 (test): Regenerate.
29478
0a9f1987
DM
294792012-09-04 David S. Miller <davem@davemloft.net>
29480
29481 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29482 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29483 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29484
29237804
FW
294852012-09-04 Florian Weimer <fweimer@redhat.com>
29486
29487 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29488 failures.
29489
edb3cb88
FW
29490 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29491
60160d83
JM
294922012-09-04 Joseph Myers <joseph@codesourcery.com>
29493
29494 [BZ #9914]
29495 * libio/iogetdelim.c: Include <limits.h>.
29496 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29497 + len + 1 would overflow.
29498
bcd6c8dc
AJ
294992012-09-03 Andreas Jaeger <aj@suse.de>
29500
29501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29502 * sysdeps/i386/fpu/libm-test-ulps: Update.
29503
4ffffbd2
LD
295042012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29505
29506 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29507 Add s_sinf-sse2, s_conf-sse2.
29508
29509 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29510 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29511 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29512 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29513
29514 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29515 for using routine as __sinf_ia32.
29516 Use macro for function declaration and weak_alias.
29517 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29518 for using routine as __cosf_ia32.
29519 Use macro for function declaration and weak_alias.
29520
29521 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29522 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29523
29524 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29525 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29527
29528 * math/libm-test.inc (cos_test): Add more test cases.
29529 (sin_test): Likewise.
29530 (sincos_test): Likewise.
29531
511fa286
AK
295322012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29533
29534 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29535 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29536 hidden.
29537 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29538
5f30cfec
L
295392012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29540
29541 [BZ #14538]
29542 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29543 first element of the GOT.
29544 (elf_machine_load_address): Return the difference between
29545 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29546
0786794f
AM
295472012-09-01 Allan McRae <allan@archlinux.org>
29548
5f30cfec
L
29549 [BZ #13412]
29550 * configure.in (AWK): Require gawk version 3.0 or later.
29551 * configure: Regenerated.
0786794f 29552
26889eac
JM
295532012-09-01 Joseph Myers <joseph@codesourcery.com>
29554
29555 * sysdeps/unix/sysv/linux/kernel-features.h
29556 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29557 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29558 [__NR_clock_getres]: Make code unconditional.
29559 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29560 (clock_getcpuclockid): Remove code left unreachable by removal of
29561 conditionals.
29562 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29563 code unconditional.
29564 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29565 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29566 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29567 Make code unconditional.
29568 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29569 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29570 * sysdeps/unix/sysv/linux/clock_settime.c
29571 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29572 conditional code.
29573 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29574 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29575
d22e28b0
L
295762012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29577
29578 [BZ #14476]
29579 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29580 scripts/test-installation.pl.
29581
29582 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29583 and $ld_so_version if it is set.
29584
050af9c4
SP
295852012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29586
29587 [BZ #14516]
29588 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29589 failure if reading from procfs failed.
29590 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29591
ad845c0b
JM
295922012-08-27 Joseph Myers <joseph@codesourcery.com>
29593
29594 * sysdeps/unix/sysv/linux/kernel-features.h
29595 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29596 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29597 Remove conditional code.
29598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29599 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29600 Remove conditional code.
29601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29602 * sysdeps/unix/sysv/linux/i386/fxstat.c
29603 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29605 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29606 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29608 * sysdeps/unix/sysv/linux/i386/lxstat.c
29609 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29611 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29612 Remove conditional code.
29613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29614 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29615 Remove conditional code.
29616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29617 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29618 <kernel-features.h>.
29619 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29620 Remove.
29621 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29622 Remove conditional code.
29623 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29624 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29625 Remove conditional.
29626
5dbf56af
MF
296272012-08-27 Mike Frysinger <vapier@gentoo.org>
29628
29629 [BZ #5400]
29630 * NEWS: Add fixed bug number.
29631
d6e70f43
JM
296322012-08-27 Joseph Myers <joseph@codesourcery.com>
29633
7efb4737
JM
29634 [BZ #14519]
29635 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29636 underflowing exponent in case of negative sign.
29637 * stdlib/tst-strtod-round-data: Add more tests.
29638 * stdlib/tst-strtod-round.c (tests): Regenerated.
29639
af92131a
JM
29640 [BZ #3479]
29641 * stdlib/strtod_l.c (NDIG): Remove.
29642 (HEXNDIG): Likewise.
29643 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29644 smallest representable value.
29645 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29646 lie within an exact representation of 1/2 ulp of the result.
29647 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29648 unconditionally.
29649 (TENS_P9_IDX): Define unconditionally.
29650 (TENS_P9_SIZE): Likewise.
29651 (TENS_P10_IDX): Likewise.
29652 (TENS_P10_SIZE): Likewise.
29653 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29654 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29655 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29656 entries for 10^2^13 and 10^2^14.
29657 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29658 (TENS_P13_IDX): Define.
29659 (TENS_P13_SIZE): Likewise.
29660 (TENS_P14_IDX): Likewise.
29661 (TENS_P14_SIZE): Likewise.
29662 (_fpioconst_pow10): Change array size to
29663 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29664 unconditional.
29665 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29666 1024]: Add entries for 10^2^13 and 10^2^14.
29667 [LAST_POW10 > _LAST_POW10]: Remove #error.
29668 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29669 (_fpioconst_pow10): Change array size to
29670 FPIOCONST_POW10_ARRAY_SIZE.
29671 * stdlib/gen-fpioconst.c: New file.
29672 * stdlib/gen-tst-strtod-round.c: Likewise.
29673 * stdlib/tst-strtod-round-data: Likewise.
29674 * stdlib/tst-strtod-round.c: Likewise.
29675 * stdlib/Makefile (tests): Add tst-strtod-round.
29676
d6e70f43
JM
29677 [BZ #14459]
29678 * stdlib/strtod_l.c: Include <stdint.h>.
29679 (NDEBUG): Do not define.
29680 (round_and_return): Change EXPONENT parameter to type intmax_t.
29681 Rearrange calculations to avoid internal overflow possibilities.
29682 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29683 Rearrange calculations to avoid internal overflow possibilities.
29684 Assert that number fits inside MPNSIZE limbs.
29685 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29686 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29687 calculations and add assertions to avoid internal overflow
29688 possibilities. Add casts to avoid signed/unsigned operations.
29689 * stdlib/tst-strtod-overflow.c: New file.
29690 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29691
1f529f7d
MP
296922012-08-25 Marek Polacek <polacek@redhat.com>
29693
29694 * time/time.h: Fix some typos in comments.
29695
59a629f1
RM
296962012-08-23 Roland McGrath <roland@hack.frob.com>
29697
29698 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29699 * posix/tst-rfc3484-2.c: Likewise.
29700 * posix/tst-rfc3484-3.c: Likewise.
29701
d3bafbc9
SM
297022012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29703
29704 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29705 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29706
4efcc022
JM
297072012-08-23 Joseph Myers <joseph@codesourcery.com>
29708
29709 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29710 #include of fxstatat64.c.
29711
3cc3ef96
RM
297122012-08-22 Roland McGrath <roland@hack.frob.com>
29713
f04e2132
RM
29714 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29715 * shadow/getspent_r.c: Likewise.
29716 * shadow/getspnam.c: Likewise.
29717 * shadow/getspnam_r.c: Likewise.
29718 * gshadow/getsgent.c: Likewise.
29719 * gshadow/getsgent_r.c: Likewise.
29720 * gshadow/getsgnam.c: Likewise.
29721 * gshadow/getsgnam_r.c: Likewise.
29722 * inet/getnetbyad.c: Likewise.
29723 * inet/getnetbyad_r.c: Likewise.
29724 * inet/getnetbynm.c: Likewise.
29725 * inet/getnetbynm_r.c: Likewise.
29726 * inet/getnetent.c: Likewise.
29727 * inet/getnetent_r.c: Likewise.
29728 * inet/getproto.c: Likewise.
29729 * inet/getproto_r.c: Likewise.
29730 * inet/getprtent.c: Likewise.
29731 * inet/getprtent_r.c: Likewise.
29732 * inet/getprtname.c: Likewise.
29733 * inet/getprtname_r.c: Likewise.
29734 * inet/getrpcbyname.c: Likewise.
29735 * inet/getrpcbyname_r.c: Likewise.
29736 * inet/getrpcbynumber.c: Likewise.
29737 * inet/getrpcbynumber_r.c: Likewise.
29738 * inet/getrpcent.c: Likewise.
29739 * inet/getrpcent_r.c: Likewise.
29740 * inet/getaliasent.c: Likewise.
29741 * inet/getaliasent_r.c: Likewise.
29742 * inet/getaliasname.c: Likewise.
29743 * inet/getaliasname_r.c: Likewise.
29744 * nscd/getgrgid_r.c: Likewise.
29745 * nscd/getgrnam_r.c: Likewise.
29746 * nscd/gethstbyad_r.c: Likewise.
29747 * nscd/gethstbynm3_r.c: Likewise.
29748 * nscd/getpwnam_r.c: Likewise.
29749 * nscd/getpwuid_r.c: Likewise.
29750 * nscd/getsrvbynm_r.c: Likewise.
29751 * nscd/getsrvbypt_r.c: Likewise.
29752 * nscd/gai.c: Likewise.
29753
c53d909c
RM
29754 * configure.in (build_nscd): New substituted variable, set
29755 by --disable-build-nscd and defaults to $use_nscd.
29756 * configure: Regenerated.
29757 * config.make.in (build-nscd): New substituted variable.
29758 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29759 Change conditional to require [$(build-nscd) = yes] as well.
29760 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29761
3cc3ef96
RM
29762 [BZ# 13696]
29763 * configure.in (use_nscd): New substituted variable, set by
29764 --disable-nscd. If enabled, define USE_NSCD.
29765 * configure: Regenerated.
29766 * config.h.in: Add USE_NSCD.
29767 * config.make.in (use-nscd): New substituted variable.
29768 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29769 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29770 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29771 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29772 (CFLAGS-getgrnam_r.c): Likewise.
29773 (CFLAGS-initgroups.c): Likewise.
29774 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29775 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29776 Variables removed.
29777 * inet/getnetgrent_r.c
29778 (nscd_setnetgrent): New function, broken out of ...
29779 (setnetgrent): ... here. Call it.
29780 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29781 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29782 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29783 * nscd/Makefile (routines, aux): Move definitions after include of
29784 Makeconfig. Conditionalize on [$(use-nscd) != no].
29785 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29786 Conditionalize on [USE_NSCD].
29787 (is_nscd, nscd_init_cb): Likewise.
29788 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29789 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29790 * nss/nss_db/db-init.c: Likewise.
29791 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29792 [USE_NSCD].
29793 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29794 (make_request): Use it.
29795 (cache_valid_p): New function.
29796 (__check_pf): Use it.
29797 * NEWS: Add item for --disable-nscd.
29798
07e51550
DL
297992012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29800
29801 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29802 to support sed >= 4.2.1-20-ga9bf076.
29803 * configure: Regenerated.
29804
35a5b08b
RM
298052012-08-22 Roland McGrath <roland@hack.frob.com>
29806
29807 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29808 Conditionalize whole body on [IREL].
29809
8479f23a
JL
298102012-08-22 Jeff Law <law@redhat.com>
29811
29812 [BZ #14505]
29813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29814 if the family is PF_UNSPEC.
29815
48da0b21
MF
298162012-08-22 Mike Frysinger <vapier@gentoo.org>
29817
29818 * Makerules (lib-version): Rename from V.
29819 (install-lib-nosubdir): Change V to lib-version.
29820
15d0da8c
WS
298212012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29822
29823 [BZ #14252]
29824 * powerpc32/power6/wcschr.c: New file.
29825 * powerpc32/power6/wcscpy.c: New file.
29826 * powerpc32/power6/wcsrchr.c: New file.
29827 * powerpc64/power6/wcschr.c: New file.
29828 * powerpc64/power6/wcscpy.c: New file.
29829 * powerpc64/power6/wcsrchr.c: New file.
29830
bcca0895
MK
298312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29832
29833 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29834 (two_way_short_needle): Use it.
5a4aaa33
RM
29835 * string/strstr.c (AVAILABLE1_USES_J): Define.
29836 * string/strcasestr.c: Likewise.
99677e57
MK
29837
29838 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29839 array references.
29840 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29841
400726de
MK
29842 [BZ #11607]
29843 * NEWS: Add an entry.
29844 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29845 define their defaults.
29846 (two_way_short_needle): Detect end-of-string on-the-fly.
29847 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29848 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29849 * string/bug-strcasestr1.c: New test.
29850 * string/Makefile: Run it.
29851
20a71f2c
MK
298522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29853
29854 [BZ #11607]
29855 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29856 the first character.
29857
21ad0558
RM
298582012-08-21 Roland McGrath <roland@hack.frob.com>
29859
29860 * csu/elf-init.c (__libc_csu_irel): Function removed.
29861 * csu/libc-start.c (apply_irel): New function.
29862 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29863
0e1d9911
JM
298642012-08-21 Joseph Myers <joseph@codesourcery.com>
29865
29866 * sysdeps/unix/sysv/linux/kernel-features.h
29867 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29868 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29869 <kernel-features.h>.
29870 [__NR_fadvise64_64]: Make code unconditional.
29871 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29872 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29873 !__NR_fadvise64_64)]: Likewise.
29874 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29875 !__NR_fadvise64_64))]: Likewise.
29876 [__NR_fadvise64]: Make code unconditional.
29877 [!__NR_fadvise64]: Remove conditional code.
29878 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29879 <kernel-features.h>.
29880 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29881 unconditional.
29882 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29883 conditional code.
29884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29885 not include <kernel-features.h>.
29886 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29887 unconditional.
29888 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29889 conditional code.
29890 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29891 include <kernel-features.h>.
29892 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29893 unconditional.
29894 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29895 conditional code.
29896
14a50c9d
WS
298972012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29898
29899 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29900 slight instruction rearrangements per scrollpipe analysis.
29901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29902
c0f4faf0
RM
299032012-08-20 Roland McGrath <roland@hack.frob.com>
29904
696da859
RM
29905 * manual/syslog.texi (syslog; vsyslog, closelog):
29906 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29907 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29908
c0f4faf0
RM
29909 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29910 DSOCAPS to match condition on defining it.
29911
348363b2
JM
299122012-08-20 Joseph Myers <joseph@codesourcery.com>
29913
a35cbf28
JM
29914 * sysdeps/unix/sysv/linux/kernel-features.h
29915 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29917 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29918 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29920 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29921 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29923 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29924 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29925
445f7ecd
JM
29926 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29927 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29928
348363b2
JM
29929 * sysdeps/unix/sysv/linux/kernel-features.h
29930 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29931 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29932 unconditional.
29933 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29934 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29935 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29936 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29937 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29938 Make code unconditional.
29939 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29940 (__mmap64) [!__NR_mmap2]: Likewise.
29941 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29942 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29943 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29944 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29945 [__NR_mmap2]: Make code unconditional.
29946 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29947 (__mmap64) [!__NR_mmap2]: Likewise.
29948
bc5bc0e5
AK
299492012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29950
29951 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29952
88d506de
AJ
299532012-08-18 Andreas Jaeger <aj@suse.de>
29954
29955 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29956
493387d2
MF
299572012-08-18 Mike Frysinger <vapier@gentoo.org>
29958
29959 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29960 * include/unistd.h (__have_sock_cloexec): Likewise.
29961 (__have_pipe2): Likewise.
29962 (__have_dup3): Likewise.
29963
a277af22
MF
299642012-08-18 Mike Frysinger <vapier@gentoo.org>
29965
29966 [BZ #9685]
29967 * include/unistd.h (__have_pipe2): Change define into an extern int.
29968 (__have_dup3): Likewise.
29969 * socket/have_sock_cloexec.c: Include fcntl.h.
29970 (__have_pipe2): New variable.
29971 (__have_dup3): Likewise.
29972
fdab8fd3
MF
299732012-08-17 Mike Frysinger <vapier@gentoo.org>
29974
29975 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29976
31035e80
MP
299772012-08-17 Marek Polacek <polacek@redhat.com>
29978
29979 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29980 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29981
3bd9e993
RM
299822012-08-17 Roland McGrath <roland@hack.frob.com>
29983
c91c505f
RM
29984 * configure.in: Add AC_SUBST for sysheaders.
29985 * configure: Regenerated.
29986 * config.make.in (sysheaders): New substituted variable.
29987
7c6f9d53
RM
29988 * sysdeps/unix/mkfifo.c: Moved ...
29989 * sysdeps/posix/mkfifo.c: ... here.
29990 * sysdeps/unix/mkfifoat.c: Moved ...
29991 * sysdeps/posix/mkfifoat.c: ... here.
29992
29993 * sysdeps/unix/utime.c: Moved ...
29994 * sysdeps/posix/utime.c: ... here.
29995
29996 * sysdeps/unix/time.c: Moved ...
29997 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29998 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29999 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30000
30001 * sysdeps/unix/nice.c: Moved ...
30002 * sysdeps/posix/nice.c: ... here.
30003
30004 * sysdeps/unix/alarm.c: Moved ...
30005 * sysdeps/posix/alarm.c: ... here.
30006
3bd9e993
RM
30007 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30008
d1f09384
JL
300092012-08-17 Jeff Law <law@redhat.com>
30010
30011 * intl/Makefile (codeset_mo): New variable.
30012 ($(codeset_mo)): New target.
30013 (tst-codeset.out): Depend on that. Remove explicit rule.
30014 (tst-gettext3.out, tst-gettext5.out): Likewise.
30015 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30016 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30017 * intl/tst-codeset.sh: Remove.
30018 * intl/tst-gettext3.sh: Likewise.
30019 * intl/tst-gettext5.sh: Likewise.
30020
2ae1ae5c
RM
300212012-08-17 Roland McGrath <roland@hack.frob.com>
30022
c31fdb83
RM
30023 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30024 * sysdeps/unix/syscalls.list: ... here.
30025
a0844057
RM
30026 * sysdeps/posix/getaddrinfo.c
30027 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30028 (gaiconf_init, gaiconf_reload): Use them.
30029 [!_STATBUF_ST_NSEC]
30030 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30031 Define using time_t rather than struct timespec.
30032
750c1f2a
RM
30033 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30034 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30035 Macros removed.
30036 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30037 [!NO_THREADS].
30038 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30039 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30040 Likewise.
30041
2ae1ae5c
RM
30042 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30043 __libc_cleanup_push argument.
30044
e66a42f5
RM
30045 * bits/param.h: New file.
30046 * misc/sys/param.h: New file.
30047 * include/sys/param.h: New file.
30048 * misc/Makefile (headers): Add bits/param.h.
30049 * sysdeps/generic/sys/param.h: File removed.
30050 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30051 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30052 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30053 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30054
b7c08a66
RM
30055 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30056 last change.
30057
b2e1c562
RM
30058 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30059 [_IO_MTSAFE_IO].
30060 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30061 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30062 New macros.
30063
c75ccd4c
RM
30064 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30065 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30066 rather than -D_IO_MTSAFE_IO conditionally.
30067 * stdio-common/Makefile (CPPFLAGS): Likewise.
30068 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30069 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30070 Use $(libio-mtsafe).
30071 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30072 of -D_IO_MTSAFE_IO.
30073 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30074 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30075 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30076 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30077 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30078 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30079 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30080 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30081 (CFLAGS-fread_u_chk.c): Likewise.
30082 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30083 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30084 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30085 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30086 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30087 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30088 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30089 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30090 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30091
30092 * libio/Makefile: Test [$(libc-reentrant) = yes]
30093 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30094
30095 * Makeconfig
30096 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30097 * sysdeps/pthread/configure: File removed.
30098 * sysdeps/pthread/Makeconfig: New file.
30099 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30100 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30101
d9195db8
GB
301022012-08-16 Gary Benson <gbenson@redhat.com>
30103
30104 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30105 unmapping the first object in a namespace.
30106
86466cd9
RM
301072012-08-16 Roland McGrath <roland@hack.frob.com>
30108
30109 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30110 (__internal_setnetgrent): ... this. Add internal_function to
30111 definition. Add libc_hidden_def.
30112 (setnetgrent): Update caller.
30113 (internal_endnetgrent): Renamed to ...
30114 (__internal_endnetgrent): ... this. Add internal_function to
30115 definition. Add libc_hidden_def.
30116 (endnetgrent): Update caller.
30117 (internal_getnetgrent_r): Renamed to ...
30118 (__internal_getnetgrent_r): ... this. Add internal_function to
30119 definition. Add libc_hidden_def.
30120 (__getnetgrent_r): Update caller.
30121 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30122
c3c8283c
JM
301232012-08-16 Joseph Myers <joseph@codesourcery.com>
30124
30125 * stdlib/longlong.h: Update from GCC.
30126
db1ee0a8
RM
301272012-08-16 Roland McGrath <roland@hack.frob.com>
30128
30129 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30130 on _QL, which is set by umul_ppmm but never used.
30131 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30132 variables, which are set by GMP macros but never used.
30133 * stdio-common/_itowa.c (_itowa): Likewise.
30134 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30135 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30136
30f69637
CD
301372012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30138
30139 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30140 struct La_sh_regs is not constant.
30141 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30142 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30143 and struct La_sparc64_regs are not constant.
30144
93a78ac4
JM
301452012-08-16 Joseph Myers <joseph@codesourcery.com>
30146
30147 * sysdeps/unix/sysv/linux/kernel-features.h
30148 (__ASSUME_POSIX_TIMERS): Remove.
30149 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30150 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30151 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30152 Make code unconditional.
30153 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30154 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30155 Make code unconditional.
30156 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30157 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30158 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30159 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30160 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30161 Make code unconditional.
30162 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30163 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30164 (__libc_missing_posix_timers): Remove.
30165
dd924cd7
RM
301662012-08-15 Roland McGrath <roland@hack.frob.com>
30167
4b4f2771
RM
30168 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30169 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30170
601c888b
RM
30171 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30172
176790a7
RM
30173 * elf/dl-sym.c: Include <stdlib.h>.
30174
329bc018
RM
30175 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30176 constants, which avoids warnings in 32-bit builds.
30177
e04e272d
RM
30178 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30179 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30180
952bf94a
RM
30181 * misc/lseek.c: File moved to ...
30182 * io/lseek.c: ... here.
30183
7c99b50a
RM
30184 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30185
dd924cd7
RM
30186 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30187 shifting LEN more than 31 bits at once.
30188
b3f479a8
LD
301892012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30190
30191 [BZ #14195]
8c4ae0d4
RM
30192 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30193 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30194 * string/test-strncasecmp.c (check1): Renamed to...
30195 (bz12205): ...this.
30196 (bz14195): Add new testcase for two empty input strings and N > 0.
30197 (test_main): Call new testcase, adapt for renamed function.
30198
9c55864e
AJ
301992012-08-15 Andreas Jaeger <aj@suse.de>
30200
30201 [BZ #14090]
30202 * crypt/md5test2.c: New test, based on test supplied by Serge
30203 Belyshev <belyshev@depni.sinp.msu.ru>.
30204 * crypt/Makefile (xtests): Add md5test-giant..
30205 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30206
02dcb6c5
PE
302072012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30208
30209 [BZ #14090]
30210 * crypt/md5.c (md5_process_block): Don't assume the buffer
30211 length is less than 2**32.
30212 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30213 length is less than 2**64.
30214
a3f95dcc
RM
302152012-08-15 Roland McGrath <roland@hack.frob.com>
30216
be75d758
RM
30217 * string/str-two-way.h: Include <sys/param.h>.
30218 (MAX): Macro removed.
30219
7312ca90
RM
30220 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30221 Move #define and #undef of memmove to just before and after
30222 including <string.h>.
30223
9a0a5486
RM
30224 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30225 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30226 and after including <string.h>. Move declarations of
30227 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30228 to before #include "string/memmove.c".
30229
67cc348d
RM
30230 * include/dirent.h: Declare __getdirentries.
30231
a3f95dcc
RM
30232 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30233 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30234
ca98e171
MF
302352012-08-14 Mike Frysinger <vapier@gentoo.org>
30236
30237 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30238 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30239 * sysdeps/i386/configure: Regenerated.
30240 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30241 STABS_CURRENT_FILE, and STABS_FUN.
30242 (END): Remove call to STABS_FUN_END.
30243 (STABS_CURRENT_FILE1): Delete.
30244 (STABS_CURRENT_FILE): Likewise.
30245 (STABS_FUN): Likewise.
30246 (STABS_FUN_END): Likewise.
30247 (STABS_FUN2): Likewise.
30248 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30249 * sysdeps/x86_64/configure: Regenerated.
30250
5908bf46
RM
302512012-08-14 Roland McGrath <roland@hack.frob.com>
30252
30253 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30254 * elf/dl-lookup.c: Likewise.
5908bf46 30255
f2c05b9e
JM
302562012-08-14 Joseph Myers <joseph@codesourcery.com>
30257
30258 * sysdeps/unix/sysv/linux/kernel-features.h
30259 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30260 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30261 unconditionally.
30262 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30263 unconditionally.
30264 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30265 condition on __ASSUME_CLONE_THREAD_FLAGS.
30266
e11f5155
AJ
302672012-08-14 Andreas Jaeger <aj@suse.de>
30268
30269 * sysdeps/i386/fpu/libm-test-ulps: Update.
30270
51a9ba86
MK
302712012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30272
2fdd4f78
AJ
30273 * include/atomic.h (atomic_exchange_and_add): Split into ...
30274 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30275 New atomic macros.
51a9ba86 30276
ba6cba9e
MT
302772012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30278
30279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30280
42443a47
JL
302812012-08-13 Jeff Law <law@redhat.com>
30282
30283 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30284 null byte in the output string.
30285
121dce05
JM
302862012-08-10 Joseph Myers <joseph@codesourcery.com>
30287
30288 * sysdeps/unix/sysv/linux/kernel-features.h
30289 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30290 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30291 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30292 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30293 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30294 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30295 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30296
bf51f568
JL
302972012-08-09 Jeff Law <law@redhat.com>
30298
30299 [BZ #13939]
30300 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30301 When avoid_arena is set, don't retry in the that arena. Pick the
30302 next one, whatever it might be.
30303 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30304 (arena_lock): Pass in new parameter to arena_get2.
30305 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30306 arena_get2.
30307 (__libc_malloc): Unify retrying after main arena failure with
30308 __libc_memalign version.
30309 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30310
f85fa270
L
303112012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30312
30313 [BZ #14166]
30314 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30315 to __redirect_strstr.
30316 (__strstr_sse42): Use typeof __redirect_strstr.
30317 (__strstr_ia32): Likewise.
30318 (__libc_strstr): New prototype.
30319 (strstr): Renamed to ...
30320 (__libc_strstr): This.
30321 (strstr): New strong alias of __libc_strstr.
30322 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30323 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30324 __redirect_time.
30325 Include <time.h>.
30326 (__libc_time): New prototype.
30327 (time_ifunc): Replace time with __libc_time.
30328 (time): New strong alias and hidden definition of __libc_time.
30329 (__GI_time): Remove strong alias.
30330 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30331 Include <stddef.h>.
30332 (memmove): Redefined to __redirect_memmove.
30333 (__memmove_sse2): Use typeof __redirect_memmove.
30334 (__memmove_ssse3): Likewise.
30335 (__memmove_ssse3_back): Likewise.
30336 (__libc_memmove): New prototype.
30337 (memmove): Renamed to ...
30338 (__libc_memmove): This.
30339 (memmove): New strong alias of __libc_memmove.
30340
33b4a91e
MS
303412012-08-08 Mark Salter <msalter@redhat.com>
30342
30343 * elf/elf.h
30344 (R_MN10300_TLS_GD): Define.
30345 (R_MN10300_TLS_LD): Likewise.
30346 (R_MN10300_TLS_LDO): Likewise.
30347 (R_MN10300_TLS_GOTIE): Likewise.
30348 (R_MN10300_TLS_IE): Likewise.
30349 (R_MN10300_TLS_LE): Likewise.
30350 (R_MN10300_TLS_DTPMOD): Likewise.
30351 (R_MN10300_TLS_DTPOFF): Likewise.
30352 (R_MN10300_TLS_TPOFF): Likewise.
30353 (R_MN10300_SYM_DIFF): Likewise.
30354 (R_MN10300_ALIGN): Likewise.
30355 (R_MN10300_NUM): Update.
30356
b36137f1
JM
303572012-08-08 Joseph Myers <joseph@codesourcery.com>
30358
30359 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30360 Remove.
30361
cdd915fd
RM
303622012-08-08 Roland McGrath <roland@hack.frob.com>
30363
a2433aac
RM
30364 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30365
cdd915fd
RM
30366 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30367 sysdeps/unix -> sysdeps/posix move.
30368 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30369
bf9b740a
AM
303702012-08-07 Allan McRae <allan@archlinux.org>
30371
30372 [BZ #14303]
30373 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30374 (SUNOS_CPP): Likewise.
30375 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30376 not found.
30377 (open_input): Call CPP using execvp.
30378
93df14ee
JM
303792012-08-07 Joseph Myers <joseph@codesourcery.com>
30380
30381 * sysdeps/unix/sysv/linux/kernel-features.h
30382 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30383 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30384 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30385 (__ASSUME_WAITID_SYSCALL): Likewise.
30386 * sysdeps/unix/sysv/linux/dl-execstack.c
30387 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30388 code unconditional.
30389 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30390 conditional code.
30391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30392 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30393 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30394 code.
30395 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30396 unconditional.
30397 [__ASSUME_WAITID_SYSCALL]: Likewise.
30398 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30399
d34689de
RM
304002012-08-07 Roland McGrath <roland@hack.frob.com>
30401
a281decc
RM
30402 * sysdeps/unix/closedir.c: Renamed to ...
30403 * sysdeps/posix/closedir.c: ... here.
30404 * sysdeps/unix/dirfd.c: Renamed to ...
30405 * sysdeps/posix/dirfd.c: ... here.
30406 * sysdeps/unix/dirstream.h: Renamed to ...
30407 * sysdeps/posix/dirstream.h: ... here.
30408 * sysdeps/unix/fdopendir.c: Renamed to ...
30409 * sysdeps/posix/fdopendir.c: ... here.
30410 * sysdeps/unix/opendir.c: Renamed to ...
30411 * sysdeps/posix/opendir.c: ... here.
30412 * sysdeps/unix/readdir.c: Renamed to ...
30413 * sysdeps/posix/readdir.c: ... here.
30414 * sysdeps/unix/readdir_r.c: Renamed to ...
30415 * sysdeps/posix/readdir_r.c: ... here.
30416 * sysdeps/unix/rewinddir.c: Renamed to ...
30417 * sysdeps/posix/rewinddir.c: ... here.
30418 * sysdeps/unix/seekdir.c: Renamed to ...
30419 * sysdeps/posix/seekdir.c: ... here.
30420 * sysdeps/unix/telldir.c: Renamed to ...
30421 * sysdeps/posix/telldir.c: ... here.
30422 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30423 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30424 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30425 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30426
22895b47
RM
30427 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30428 * bits/fcntl.h: ... here.
30429
707a53b6
RM
30430 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30431 not 0.
30432 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30433 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30434 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30435 (struct flock): Move l_start, l_len to the beginning.
30436 Use __pid_t for l_pid.
30437 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30438 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30439 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30440 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30441 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30442 [__USE_LARGEFILE64] (struct flock64): New type.
30443 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30444
f0bd3e25
RM
30445 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30446 * bits/dirent.h: ... here.
30447
d34689de
RM
30448 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30449 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30450
6dad2c06
JM
304512012-08-07 Joseph Myers <joseph@codesourcery.com>
30452
30453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30454 Change from 2.6.0 to 2.6.16.
30455 * sysdeps/unix/sysv/linux/configure: Regenerated.
30456 * sysdeps/unix/sysv/linux/kernel-features.h
30457 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30458 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30459 version.
30460 (__ASSUME_UTIMES): Likewise.
30461 (__ASSUME_CLONE_STOPPED): Remove.
30462 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30463 architectures, not kernel version.
30464 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30465 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30466 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30467 (__ASSUME_WAITID_SYSCALL): Likewise.
30468 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30469 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30470 * README: State 2.6.16 as minimum Linux kernel version. Do not
30471 refer to older versions.
30472
03af9520
RM
304732012-08-06 Roland McGrath <roland@hack.frob.com>
30474
8e49df1d
RM
30475 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30476 Define alphasort64 as an alias.
30477 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30478 Define versionsort64 as an alias.
30479 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30480 Define scandir64 as an alias.
30481 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30482 Define scandirat64 as an alias.
30483 * dirent/alphasort64.c (alphasort64):
30484 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30485 * dirent/versionsort64.c: Likewise.
30486 * dirent/scandir64.c: Likewise.
30487 * dirent/scandirat64.c: Likewise.
30488 * sysdeps/wordsize-64/alphasort.c: File removed.
30489 * sysdeps/wordsize-64/alphasort64.c: File removed.
30490 * sysdeps/wordsize-64/scandir.c: File removed.
30491 * sysdeps/wordsize-64/scandir64.c: File removed.
30492 * sysdeps/wordsize-64/scandirat.c: File removed.
30493 * sysdeps/wordsize-64/scandirat64.c: File removed.
30494 * sysdeps/wordsize-64/versionsort.c: File removed.
30495 * sysdeps/wordsize-64/versionsort64.c: File removed.
30496 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30497 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30498 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30499 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30500 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30501 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30502 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30503 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30504
30505 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30507 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30509 [defined __arch64__ || defined __sparcv9]
30510 (__INO_T_MATCHES_INO64_T): New macro.
30511 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30512 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30513 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30514 * sysdeps/unix/sysv/linux/bits/dirent.h
30515 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30516 (_DIRENT_MATCHES_DIRENT64): New macro.
30517
03af9520
RM
30518 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30519 Define lockf64 as an alias.
30520 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30521 Define fseeko64 as an alias.
30522 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30523 Define ftello64 as an alias.
30524 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30525 Define _IO_fgetpos64 and fgetpos64 as aliases.
30526 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30527 Define _IO_fsetpos64 and fsetpos64 as aliases.
30528 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30529 Conditionalize body on this.
30530 * libio/fseeko64.c: Likewise.
30531 * libio/ftello64.c: Likewise.
30532 * libio/iofgetpos64.c: Likewise.
30533 * libio/iofsetpos64.c: Likewise.
30534 * sysdeps/wordsize-64/lockf.c: File removed.
30535 * sysdeps/wordsize-64/lockf64.c: File removed.
30536 * sysdeps/wordsize-64/fseeko.c: File removed.
30537 * sysdeps/wordsize-64/fseeko64.c: File removed.
30538 * sysdeps/wordsize-64/ftello.c: File removed.
30539 * sysdeps/wordsize-64/ftello64.c: File removed.
30540 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30541 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30542 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30543 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30544 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30545 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30546 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30547 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30548 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30549 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30550 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30551 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30552 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30553 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30554
30555 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30557 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30559 [defined __arch64__ || defined __sparcv9]
30560 (__OFF_T_MATCHES_OFF64_T): New macro.
30561 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30562 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30564 (__OFF_T_MATCHES_OFF64_T): New macro.
30565
c5757acd
L
305662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30567
30568 * stdlib/secure-getenv.c (__secure_getenv): Replace
30569 GLIBC_2_16 with GLIBC_2_17.
30570
3a31811e
L
305712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30572
30573 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30574 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30575
faa2bccb
DM
305762012-08-03 David S. Miller <davem@davemloft.net>
30577
30578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30579
85fe1997
JM
305802012-08-03 Joseph Myers <joseph@codesourcery.com>
30581
30582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30583 Remove.
30584 (__ASSUME_CORRECT_SI_PID): Likewise.
30585 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30586 (__ASSUME_TMPFS_NAME): Likewise.
30587 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30588 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30589 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30590 (HAVE_AUX_SECURE): Make definition unconditional.
30591 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30592 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30593
4f75b7a0
RM
305942012-08-03 Roland McGrath <roland@hack.frob.com>
30595
30596 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30597 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30598 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30599 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30600 __eloop_threshold instead of SYMLOOP_MAX.
30601
30602 * sysdeps/generic/eloop-threshold.h: New file.
30603 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30604 of MAXSYMLINKS.
30605 * elf/chroot_canon.c (chroot_canon): Likewise.
30606
7aab07e4
JM
306072012-08-03 Joseph Myers <joseph@codesourcery.com>
30608
30609 [BZ #13717]
30610 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30611 Change to 2.6.0 everywhere.
30612 * sysdeps/unix/sysv/linux/configure: Regenerated.
30613 * sysdeps/unix/sysv/linux/kernel-features.h
30614 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30615 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30616 kernel versions.
30617 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30618 (__ASSUME_FUTEX_REQUEUE): Remove.
30619 (__ASSUME_STATFS64): Define unconditionally.
30620 (__ASSUME_AT_SECURE): Likewise.
30621 (__ASSUME_CORRECT_SI_PID): Likewise.
30622 (__ASSUME_TGKILL): Define without depending on kernel version for
30623 i386.
30624 (__ASSUME_UTIMES): Likewise.
30625 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30626 kernel version.
30627 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30628 (__ASSUME_TMPFS_NAME): Likewise.
30629 * README: Update reference to Linux kernel versions.
30630
b67e9372
MP
306312012-08-02 Marek Polacek <polacek@redhat.com>
30632
1f529f7d 30633 [BZ# 14150]
b67e9372
MP
30634 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30635 libc_cv_asm_type_prefix with %.
30636 * configure: Regenerated.
d2441631
RM
30637 * include/libc-symbols.h: Remove comment about
30638 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30639 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30640 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30641 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30642 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30643 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30644 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30645 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30646 * elf/tst-unique2mod1.c: Likewise.
30647 * elf/tst-unique1mod2.c: Likewise.
30648 * elf/tst-unique1mod1.c: Likewise.
30649 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30650 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30651 Replace ASM_TYPE_DIRECTIVE with .type.
30652 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30653 * sysdeps/i386/sysdep.h: Likewise.
30654 * sysdeps/x86_64/sysdep.h: Likewise.
30655 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30657 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30658 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30659 * sysdeps/powerpc/powerpc32/sysdep.h:
30660 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30661 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30662 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30663 * sysdeps/i386/fpu/e_powf.S: Likewise.
30664 * sysdeps/i386/fpu/e_expl.S: Likewise.
30665 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30666 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30667 * sysdeps/i386/fpu/e_pow.S: Likewise.
30668 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30669 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30670 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30671 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30672 * sysdeps/i386/fpu/e_log2.S: Likewise.
30673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30674 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30675 * sysdeps/i386/fpu/e_powl.S: Likewise.
30676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30677 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30678 * sysdeps/i386/fpu/e_logl.S: Likewise.
30679 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30680 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30681 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30682 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30683 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30684 * sysdeps/i386/fpu/e_log.S: Likewise.
30685 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30686 * sysdeps/i386/fpu/e_logf.S: Likewise.
30687 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30688 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30689 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30690 * sysdeps/i386/fpu/e_log10.S: Likewise.
30691 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30692 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30693 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30694 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30695 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30696 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30697 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30698 * sysdeps/i386/i686/strtok.S: Likewise.
30699 * sysdeps/i386/i386-mcount.S: Likewise.
30700 * sysdeps/i386/strtok.S: Likewise.
30701 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30702 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30703 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30704 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30705 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30706 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30707 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30708 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30709 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30710 * sysdeps/x86_64/_mcount.S: Likewise.
30711 * sysdeps/x86_64/strtok.S: Likewise.
30712 * sysdeps/sh/_mcount.S: Likewise.
30713
2747bf9a
RM
307142012-08-01 Roland McGrath <roland@hack.frob.com>
30715
30716 * libio/iofopen.c: Include <fcntl.h>.
30717 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30718 (_IO_fopen64, fopen64): Define as aliases.
30719 * libio/iofopen64.c: Include <fcntl.h>.
30720 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30721 Conditionalize body on this.
30722 * sysdeps/wordsize-64/iofopen.c: File removed.
30723 * sysdeps/wordsize-64/iofopen64.c: File removed.
30724
3fb791b8
MP
307252012-08-01 Marek Polacek <polacek@redhat.com>
30726
30727 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30728 Use dlfcn directly instead of a variable.
30729 (binfmt-subdir): Do not define.
30730 (dlfcn): Likewise.
30731
a9f1039f
JM
307322012-08-01 Joseph Myers <joseph@codesourcery.com>
30733
23bddc06
JM
30734 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30735 Remove all definitions.
30736 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30737 <kernel-features.h>.
30738 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30739 (miss_F_GETOWN_EX): Remove all definitions.
30740 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30741 macro definition.
30742 [!__ASSUME_FCNTL64]: Remove conditional code.
30743 [__ASSUME_FCNTL64]: Make code unconditional.
30744 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30745 <kernel-features.h>.
30746 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30747 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30748 (lockf64) [__NR_fcntl64]: Make code unconditional.
30749 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30750
a9f1039f
JM
30751 * sysdeps/unix/sysv/linux/kernel-features.h
30752 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30753 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30754 Make code unconditional.
30755 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30756 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30758 [__NR_vfork]: Make code unconditional.
30759 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30760 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30762 [__NR_vfork]: Make code unconditional.
30763 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30764 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30765
09c0ee5f
RM
307662012-08-01 Roland McGrath <roland@hack.frob.com>
30767
48aec5b9
RM
30768 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30769 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30770
cd97c966
RM
30771 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30772 Define mkstemp64 as an alias.
3f55550c
RM
30773 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30774 Define mkstemps64 as an alias.
cd97c966
RM
30775 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30776 Define mkostemp64 as an alias.
b8625cfc
RM
30777 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30778 Define mkostemps64 as an alias.
cd97c966
RM
30779 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30780 Conditionalize body on this.
30781 * misc/mkostemp64.c: Likewise.
b8625cfc 30782 * misc/mkostemps64.c: Likewise.
3f55550c 30783 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30784 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30785 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30786 * sysdeps/wordsize-64/mkostemp.c: File removed.
30787 * sysdeps/wordsize-64/mkstemp.c: File removed.
30788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30789 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30790 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30791 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30792
09c0ee5f
RM
30793 [BZ #14138]
30794 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30795 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30796 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30797 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30798
30799 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30800 compat_symbol macros from <shlib-compat.h> rather than the underlying
30801 default_symbol_version and symbol_version macros, so that DEFAULT
30802 lines in shlib-versions are respected.
30803 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30804
7e66ee51
FW
308052012-08-01 Florian Weimer <fweimer@redhat.com>
30806
30807 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30808 Declare with warn_unused_result.
30809 (setgid, setregid, setegid, setresgid): Likewise.
30810 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30811 Likewise.
30812 * WUR-REPORT: Remove set*id functions.
30813
d2a54255
PT
308142012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30815
30816 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30817
7ecdb005
RM
308182012-07-31 Roland McGrath <roland@hack.frob.com>
30819
b4180a5e 30820 [BZ #10191]
789bd351
RM
30821 * include/sys/socket.h (__libc_accept, __libc_accept4):
30822 Add attribute_hidden.
30823 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30824
40ce302d
RM
30825 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30826 use of PTR_MANGLE.
30827 * inet/getnetgrent_r.c (setup): Likewise.
30828
7ecdb005
RM
30829 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30830
e2eabb2c
DM
308312012-07-31 David S. Miller <davem@davemloft.net>
30832
30833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30834
d0419dbf
JM
308352012-07-31 Joseph Myers <joseph@codesourcery.com>
30836
30837 [BZ #13629]
30838 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30839 value between 1.0 and 2.0 and smaller part has absolute value less
30840 than 1.0.
30841 * math/s_clog10.c (__clog10): Likewise.
30842 * math/s_clog10f.c (__clog10f): Likewise.
30843 * math/s_clog10l.c (__clog10l): Likewise.
30844 * math/s_clogf.c (__clogf): Likewise.
30845 * math/s_clogl.c (__clogl): Likewise.
30846 * math/libm-test.inc (clog_test): Add more tests.
30847 (clog10_test): Likewise.
30848 * sysdeps/i386/fpu/libm-test-ulps: Update.
30849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30850
2bc13872
FW
308512012-07-31 Florian Weimer <fweimer@redhat.com>
30852
30853 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30854 Exit with zero in case no suitable GID is found, and write a
30855 message to standard error.
30856
bea9b193
RM
308572012-07-30 Roland McGrath <roland@hack.frob.com>
30858
30859 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30860 rather than to 1.
30861 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30862 (MAXPATHLEN): Removed.
30863 (NOGROUP, NODEV): New macros.
30864 (setbit, clrbit, isset, isclr): New macros.
30865 (howmany, roundup, powerof2): New macros.
30866 (DEV_BSIZE): New macro.
30867
30868 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30869 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30870
30871 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30872 definition on [!__NO_LONG_DOUBLE_MATH].
30873
30874 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30875 PTR_MANGLE and PTR_DEMANGLE.
30876
30877 * socket/accept4.c (accept4): Rename to __libc_accept4.
30878 Define accept4 as a weak alias.
30879
30880 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30881 on [_DIRENT_HAVE_D_TYPE].
30882 * io/ftw.c (ftw_dir): Likewise.
30883
30884 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30885
30886 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30887
30888 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30889 Use the BSD numbers rather than the arbitrary ones we had.
30890 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30891 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30892 (SIGXCPU, SIGXFSZ): New macros.
30893 (_NSIG): Now 32.
30894
30895 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30896 initializer on [_LIBC_REENTRANT].
30897
30898 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30899 definitions inside [_POSIX_MAPPED_FILES].
30900
30901 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30902
30903 * dirent/opendir.c: Include <fcntl.h>.
30904
30905 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30906 (__libc_getspecific): Likewise.
30907 (__libc_key_create): Likewise.
30908
30909 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30910 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30911 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30912 (tmpfile64): Define as alias.
30913 * sysdeps/wordsize-64/tmpfile.c: File removed.
30914 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30915 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30916 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30917
30918 * stdio-common/vfscanf.c: Include <stdbool.h>.
30919 * nss/makedb.c: Likewise.
30920 * stdio-common/_i18n_number.h: Likewise.
30921 * argp/argp-help.c: Likewise.
30922 * posix/wordexp.c: Likewise.
30923 * sysdeps/posix/spawni.c: Likewise.
30924 * nss/nss_files/files-initgroups.c: Likewise.
30925 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30926 * nss/nss_files/files-initgroups.c: Likewise.
30927 * nss/nss_db/db-netgrp.c: Likewise.
30928 * nss/nss_db/db-initgroups.c: Likewise.
30929 * io/fchmodat.c: Include <sys/stat.h>.
30930
30931 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30932 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30933
30934 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30935 [HAVE_MMAP].
30936
30937 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30938 Add multiple inclusion protection.
30939
e5abc686
DM
309402012-07-27 David S. Miller <davem@davemloft.net>
30941
30942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30943
815e6fa3
GB
309442012-07-27 Gary Benson <gbenson@redhat.com>
30945
30946 [BZ #14298]
30947 * elf/rtld.c: Include <stap-probe.h>.
30948 (dl_main): Added static probes "init_start" and "init_complete".
30949 * elf/dl-load.c: Include <stap-probe.h>.
30950 (lose): Take new parameter "nsid".
30951 Added static probe "map_failed".
30952 (_dl_map_object_from_fd): Pass namespace id to lose.
30953 Added static probe "map_start".
30954 (open_verify): Pass namespace id to lose.
30955 * elf/dl-open.c: Include <stap-probe.h>.
30956 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30957 and "reloc_complete".
30958 * elf/dl-close.c: Include <stap-probe.h>.
30959 (_dl_close_worker): Added static probes "unmap_start" and
30960 "unmap_complete".
30961 * elf/rtld-debugger-interface.txt: New file documenting the above.
30962
9f98c16c
RM
309632012-07-26 Roland McGrath <roland@hack.frob.com>
30964
30965 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30966 rather than a string variable.
30967 * sunrpc/rpc_main.c (h_output): Likewise.
30968 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30969
f3c22df3
PT
309702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30971
30972 * inet/check_native.c: New file.
30973
3129cfc6
JM
309742012-07-26 Joseph Myers <joseph@codesourcery.com>
30975
da865e95
JM
30976 [BZ #13629]
30977 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30978 if larger part has absolute value 1.0.
30979 * math/s_clog10.c (__clog10): Likewise.
30980 * math/s_clog10f.c (__clog10f): Likewise.
30981 * math/s_clog10l.c (__clog10l): Likewise.
30982 * math/s_clogf.c (__clogf): Likewise.
30983 * math/s_clogl.c (__clogl): Likewise.
30984 * math/libm-test.inc (clog_test): Add more tests.
30985 (clog10_test): Likewise.
30986 * sysdeps/i386/fpu/libm-test-ulps: Update.
30987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30988
3129cfc6
JM
30989 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30990 (pltexit): Likewise.
30991 (La_regs): Likewise.
30992 (La_retval): Likewise.
30993 (int_retval): Likewise.
30994 Update #error for removed macros to refer only to definitions in
30995 tst-audit.h.
30996 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30997 macro.
30998 (pltexit): Likewise.
30999 (La_regs): Likewise.
31000 (La_retval): Likewise.
31001 (int_retval): Likewise.
31002 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31003 macro.
31004 (pltexit): Likewise.
31005 (La_regs): Likewise.
31006 (La_retval): Likewise.
31007 (int_retval): Likewise.
31008 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31009 macro.
31010 (pltexit): Likewise.
31011 (La_regs): Likewise.
31012 (La_retval): Likewise.
31013 (int_retval): Likewise.
31014 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31015 macro.
31016 (pltexit): Likewise.
31017 (La_regs): Likewise.
31018 (La_retval): Likewise.
31019 (int_retval): Likewise.
31020 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31021 macro.
31022 (pltexit): Likewise.
31023 (La_regs): Likewise.
31024 (La_retval): Likewise.
31025 (int_retval): Likewise.
31026 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31027 macro.
31028 (pltexit): Likewise.
31029 (La_regs): Likewise.
31030 (La_retval): Likewise.
31031 (int_retval): Likewise.
31032 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31033 macro definitions in tst-audit.h.
31034 * sysdeps/i386/tst-audit.h: New file.
31035 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31036 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31037 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31038 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31039 * sysdeps/sh/tst-audit.h: Likewise.
31040 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31041 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31042 * sysdeps/x86_64/tst-audit.h: Likewise.
31043
bfc07087
AJ
310442012-07-26 Andreas Jaeger <aj@suse.de>
31045
b1b2aaf8
AJ
31046 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31047 ptrace.
31048
31049 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31050 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31051 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31052 PTRACE_O_MASK.
31053 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31054 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31055 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31056
bfc07087
AJ
31057 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31058 value.
31059
31060 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31061 _sigsys.
31062 (si_call_addr, si_syscall, si_arch): Define new macro.
31063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31064 _sigsys.
31065 (si_call_addr, si_syscall, si_arch): Define new marcro.
31066 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31067 _sigsys.
31068 (si_call_addr, si_syscall, si_arch): Define new macro.
31069 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31070 _sigsys.
31071 (si_call_addr, si_syscall, si_arch): Define new macro.
31072
89b4b02f
JM
310732012-07-25 Joseph Myers <joseph@codesourcery.com>
31074
31075 [BZ #13717]
31076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31077 Change to 2.4.21 where previously 2.4.1.
31078 * sysdeps/unix/sysv/linux/configure: Regenerated.
31079 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31080 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31081 Linux kernel version.
31082 (__ASSUME_STD_AUXV): Remove.
31083 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31084 kernel version.
31085 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31086 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31087 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31088 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31089 (__ASSUME_NETLINK_SUPPORT): Likewise.
31090 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31091 (__no_netlink_support): Remove conditional definition.
31092 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31093 Remove.
31094 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31095 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31096 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31097 (if_nameindex_ioctl): Remove.
31098 (if_nameindex_netlink): Do not handle __no_netlink_support.
31099 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31100 code.
31101 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31102 Remove conditional code.
31103 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31104 code.
31105 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31106 unconditional.
31107 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31108 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31109 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31110 Remove.
31111 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31112 [!__ASSUME_STD_AUXV]: Remove conditional code.
31113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31114 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31115 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31117 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31118 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31119 code.
31120 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31122 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31123 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31124 conditional code.
31125 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31127 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31128 code.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31130 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31131 conditional code.
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31133 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31134 code unconditional.
31135 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31136 conditional code.
31137 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31138 unconditional.
31139 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31140 conditional code.
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31142 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31143 unconditional.
31144 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31145 conditional code.
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31147 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31148 code unconditional.
31149 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31150 conditional code.
31151 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31152 unconditional.
31153 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31154 conditional code.
31155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31156 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31157 code unconditional.
31158 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31159 conditional code.
31160 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31161 unconditional.
31162 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31163 conditional code.
31164
842a39cd
AS
311652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31166
31167 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31168 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31169 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31170 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31171 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31172 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31173 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31174 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31175 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31176 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31177 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31178 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31179 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31180 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31181 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31182 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31183 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31185 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31187 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31188 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31189 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31190
84b3fd84
FW
311912012-07-25 Florian Weimer <fweimer@redhat.com>
31192
31193 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31194 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31195 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31196 Introduce __libc_secure_getenv.
0c7936d5
FW
31197 * stdlib/Versions (2.17): Add secure_getenv
31198 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31199 * stdlib/secure-getenv.c: Rename __secure_getenv to
31200 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31201 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31202 * stdlib/tst-secure-getenv.c: New.
31203 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31204 * manual/startup.texi (Environment Access): Document
31205 secure_getenv.
84b3fd84
FW
31206 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31207 __libc_secure_getenv.
31208 * inet/ruserpass.c (ruserpass): Likewise.
31209 * malloc/mtrace.c (mtrace): Likewise.
31210 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31211 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31212 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31213 * sysdeps/posix/tempname.c: Likewise. Evaluate
31214 HAVE_SECURE_GETENV.
31215 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31216 __secure_getenv to __libc_secure_getenv.
84b3fd84 31217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31219 Likewise.
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31221 Likewise.
31222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31229
56e49b71
JM
312302012-07-25 Joseph Myers <joseph@codesourcery.com>
31231
31232 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31233 (struct La_i86_retval): Likewise.
31234 (struct La_x86_64_regs): Likewise.
31235 (struct La_x86_64_retval): Likewise.
31236 (struct La_x32_regs): Likewise.
31237 (struct La_x32_retval): Likewise.
31238 (struct La_ppc32_regs): Likewise.
31239 (struct La_ppc32_retval): Likewise.
31240 (struct La_ppc64_regs): Likewise.
31241 (struct La_ppc64_retval): Likewise.
31242 (struct La_sh_regs): Likewise.
31243 (struct La_sh_retval): Likewise.
31244 (struct La_s390_32_regs): Likewise.
31245 (struct La_s390_32_retval): Likewise.
31246 (struct La_s390_64_regs): Likewise.
31247 (struct La_s390_64_retval): Likewise.
31248 (struct La_sparc32_regs): Likewise.
31249 (struct La_sparc32_retval): Likewise.
31250 (struct La_sparc64_regs): Likewise.
31251 (struct La_sparc64_retval): Likewise.
31252 (struct audit_ifaces): Remove architecture-specific pltenter and
31253 pltexit members.
31254 * sysdeps/i386/ldsodefs.h: New file.
31255 * sysdeps/powerpc/ldsodefs.h: Likewise.
31256 * sysdeps/s390/ldsodefs.h: Likewise.
31257 * sysdeps/sh/ldsodefs.h: Likewise.
31258 * sysdeps/sparc/ldsodefs.h: Likewise.
31259 * sysdeps/x86_64/ldsodefs.h: Likewise.
31260
354691b7
MP
312612012-07-25 Marek Polacek <polacek@redhat.com>
31262
31263 [BZ #6808]
31264 * math/libm-test.inc (yn_test): Add another test.
31265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31266 to ERANGE when the result is +-Inf.
31267 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31268 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31269 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31270 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31271
bf9e2071
JM
312722012-07-24 Joseph Myers <joseph@codesourcery.com>
31273
31274 * conform/data/time.h-data (NULL): Use macro-constant. Require
31275 equal to 0.
31276 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31277 clock_t.
31278 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31279
57633811
TS
312802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31281
31282 * configure.in <sysdeps resolving>: Correct printing
31283 Implies_before.
31284 * configure: Regenerate.
31285
c23c33b0
TS
312862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31287
31288 * math/w_ilogb.c: Include <limits.h>.
31289 * math/w_ilogbl.c: Likewise.
31290
b5982523
JM
312912012-07-20 Joseph Myers <joseph@codesourcery.com>
31292
31293 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31294 va_copy. Document allowing for unavailable va_copy only as
31295 pre-C99 compatibility.
31296 * manual/string.texi (Copying and Concatenation): Use va_copy
31297 instead of __va_copy in concat example.
31298
ac4ea442
PT
312992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31300
31301 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31302 (__sendto): Use create_address_port. Initialize APORT and deallocate
31303 it if not null.
31304
f98eafbd
PT
31305 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31306 with O_NOLINK passed to __file_name_lookup.
31307
898c7aab
PT
31308 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31309 with O_NOLINK passed to __file_name_lookup.
31310
0ced335a
PT
31311 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31312 negative N or less than NGIDS.
31313
b3404dbd
PT
31314 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31315 type to string_t. Set ERANGE as errno and return it if NAME is not big
31316 enough. Use memcpy instead of strncpy.
31317
0f48659e
JM
313182012-07-20 Joseph Myers <joseph@codesourcery.com>
31319
31320 * elf/Makefile (check-data): Remove.
31321 (localplt.data): New vpath directive.
31322 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31323 instead of $(check-data).
31324 * scripts/data/localplt-generic.data: Move to ...
31325 * sysdeps/generic/localplt.data: ... here.
31326 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31327 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31328 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31330 ... here.
31331 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31333 ... here.
31334 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31336 ... here.
31337 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31339 ... here.
31340 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31342 ... here.
31343 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31345 ... here.
31346
d37cbdaa
AZ
313472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31348
31349 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31350 PPC32 and PPC64 files.
31351 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31352 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31353
46f85fc2
AK
313542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31355
31356 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31357 __makecontext_ret to ...
31358 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31359 ... here and call exit if uc_link is NULL. New file.
31360 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31361 __makecontext_ret.S.
31362 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31363 __makecontext_ret to ...
31364 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31365 ... here and call exit if uc_link is NULL. New file.
31366 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31367 __makecontext_ret.S.
31368
08f43f9b
AK
313692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31370
31371 * elf/elf.h (R_390_IRELATIVE): New definition.
31372 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31373 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31374 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31375 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31376 (elf_machine_lazy_rel): Likewise.
31377 * sysdeps/s390/dl-irel.h: New file.
31378 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31379 * sysdeps/s390/s390-64/memset.S: New asm code.
31380 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31381 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31382 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31383 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31384 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31385 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31386 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31387 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31388 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31389 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31390 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31391 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31392 * sysdeps/s390/s390-32/memset.S: New asm code.
31393 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31394
3b05db33
MP
313952012-07-17 Marek Polacek <polacek@redhat.com>
31396
31397 [BZ #14349]
31398 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31399 * sysdeps/s390/s390-64/configure.in: Likewise.
31400 * sysdeps/sparc/configure.in: Likewise.
31401 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31402 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31403 * sysdeps/i386/configure.in: Likewise.
31404 * sysdeps/x86_64/configure.in: Likewise.
31405 * sysdeps/sh/configure.in: Likewise.
31406 * sysdeps/s390/s390-32/configure: Regenerated.
31407 * sysdeps/s390/s390-64/configure: Likewise.
31408 * sysdeps/x86_64/configure: Likewise.
31409 * sysdeps/sh/configure: Likewise.
31410 * sysdeps/powerpc/powerpc64/configure: Likewise.
31411 * sysdeps/powerpc/powerpc32/configure: Likewise.
31412 * sysdeps/sparc/configure: Likwise.
31413 * sysdeps/i386/configure: Likewise.
31414
a66877c6
MP
31415 * elf/dl-open.c: Comment fixes.
31416
cfc82fd8
JM
314172012-07-17 Joseph Myers <joseph@codesourcery.com>
31418
bd29910a
JM
31419 * Makefile [CXX] (check-data): Remove.
31420 [CXX] (c++-types.data): New vpath directive.
31421 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31422 vpath. Do not allow for C++ type data being missing.
31423 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31424 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31425 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31426 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31427 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31428 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31429 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31431 ... here.
31432 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31434 ... here.
31435 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31437 ... here.
31438 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31440 ... here.
31441 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31443 ... here.
31444 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31446 ... here.
31447 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31449 ... here.
31450 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31452
cfc82fd8
JM
31453 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31454 definitions to architecture-specific files.
31455 (TLS_IE): Likewise.
31456 (TLS_LD): Likewise.
31457 (TLS_GD): Likewise.
31458 * sysdeps/i386/tls-macros.h: New file.
31459 * sysdeps/powerpc/tls-macros.h: Likewise.
31460 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31461 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31462 * sysdeps/sh/tls-macros.h: Likewise.
31463 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31464 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31465 * sysdeps/x86_64/tls-macros.h: Likewise.
31466
f7db3170
TS
314672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31468
07cbfc23
TS
31469 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31470 zero value for regular exit case.
31471
f7db3170
TS
31472 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31473 (__start_context): Preserve zero value for regular exit case.
31474
dc97c227
TS
314752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31476 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31477
31478 * manual/setjmp.texi (setcontext): Clarify normal process
31479 termination when uc_link is the null pointer.
31480 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31481 exit call.
31482
d0cd7d02
AS
314832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31484
31485 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31486 preprocessor. Test for each exception mask separately.
31487
dd318934
AJ
314882012-07-16 Andreas Jaeger <aj@suse.de>
31489
31490 * po/ru.po: Update from translation team.
31491
8048311a
JM
314922012-07-15 Joseph Myers <joseph@codesourcery.com>
31493
31494 * conform/data/string.h-data (NULL): Use macro-constant. Require
31495 equal to 0.
31496 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31497 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31498 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31499 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31501
b637d46e
AJ
315022012-07-13 Andreas Jaeger <aj@suse.de>
31503
31504 * po/fr.po: Update from translation team.
31505
541428fe
MP
315062012-07-12 Marek Polacek <polacek@redhat.com>
31507
31508 [BZ #14173]
31509 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31511 loop condition.
31512
ec332e94
JM
315132012-07-12 Joseph Myers <joseph@codesourcery.com>
31514
31515 [BZ #13717]
31516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31517 Change to 2.4.1 where previously 2.4.0.
31518 * sysdeps/unix/sysv/linux/configure: Regenerated.
31519 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31520 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31521 version.
31522 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31523 (__ASSUME_AT_CLKTCK): Remove.
31524 (__ASSUME_AT_PAGESIZE): Likewise.
31525 (__ASSUME_AT_XID): Likewise.
31526 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31527 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31528 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31529 unconditionally.
31530 (HAVE_AUX_PAGESIZE): Likewise.
31531 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31532 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31533 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31534
7b6e99be
JB
315352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31536
31537 [BZ #14307]
31538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31539 the temporary buffer used to invoke __gethostbyname2_r,
31540 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31541 host_data / struct gaih_addrtuple.
31542 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31543 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31544 header file nss/nsswitch.h.
31545 * nss/nsswitch.h (global scope): Add definition of implementation
31546 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31547 resolv/nss_dns/dns-host.c).
31548
608404eb
AJ
315492012-07-11 Andreas Jaeger <aj@suse.de>
31550
31551 * po/fr.po: Update from translation team.
31552
71220aca
AJ
31553 * po/sv.po: Update from translation team
31554 * po/fr.po: Another update from translation team.
31555
28cfe843
AZ
315562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31557
31558 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31559 for subnormals or multiply small sinh result by itself.
31560 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31562
6b90f981
DM
315632012-07-11 David S. Miller <davem@davemloft.net>
31564
31565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31566
c6825772
AS
315672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31568
31569 [BZ #14347]
31570 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31571 (INTERNAL_MARK): Shift it here.
31572
7b8e0d49
MP
315732012-07-10 Marek Polacek <polacek@redhat.com>
31574
31575 [BZ #14151]
31576 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31577 libc_cv_asm_global_directive with .globl.
31578 * configure: Regenerated.
31579 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31580 with .globl.
31581 * sysdeps/i386/configure: Regenerated.
31582 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31583 with .globl.
31584 * sysdeps/x86_64/configure: Regenerated.
31585 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31586 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31587 * elf/tst-unique2mod2.c: Likewise.
31588 * elf/tst-unique2mod1.c: Likewise.
31589 * elf/tst-unique1mod2.c: Likewise.
31590 * elf/tst-unique1mod1.c: Likewise.
31591 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31592 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31594 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31595 * sysdeps/mach/sysdep.h: Likewise.
31596 * sysdeps/i386/sysdep.h: Likewise.
31597 * sysdeps/i386/i386-mcount.S: Likewise.
31598 * sysdeps/x86_64/_mcount.S: Likewise.
31599 * sysdeps/x86_64/sysdep.h: Likewise.
31600 * sysdeps/sh/_mcount.S: Likewise.
31601 * sysdeps/sh/sysdep.h: Likewise.
31602 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31603 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31604 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31605 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31606 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31607 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31608 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31609 * locale/localeinfo.h: Likewise.
31610 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31611 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31612
6c55cda3
RM
316132012-07-09 Roland McGrath <roland@hack.frob.com>
31614
31615 [BZ #14336]
31616 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31617 system".
31618 * manual/message.texi (The Uniforum approach): Likewise.
31619 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31620 (glibc iconv Implementation): Likewise.
31621
638a572e
JM
316222012-07-09 Joseph Myers <joseph@codesourcery.com>
31623
31624 [BZ #14337]
31625 * math/s_clog.c (__clog): Avoid scaling a value down where that
31626 could result in underflow.
31627 * math/s_clog10.c (__clog10): Likewise.
31628 * math/s_clog10f.c (__clog10f): Likewise.
31629 * math/s_clog10l.c (__clog10l): Likewise.
31630 * math/s_clogf.c (__clogf): Likewise.
31631 * math/s_clogl.c (__clogl): Likewise.
31632 * math/libm-test.inc (clog_test): Add more tests.
31633 (clog10_test): Likewise.
31634 * sysdeps/i386/fpu/libm-test-ulps: Update.
31635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31636
261f4859
AS
316372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31638
0abaf3e4
AS
31639 [BZ #14283]
31640 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31641 by 7 not 8 to examine high bit of fractional part.
31642
261f4859
AS
31643 [BZ #14042]
31644 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31645 for call to __mcount_internal.
31646 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31647 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31648 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31649
f17ac40d
JM
316502012-07-06 Joseph Myers <joseph@codesourcery.com>
31651
9ad63c23
JM
31652 [BZ #14154]
31653 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31654 approximation for values within 0x1p-13f of an odd multiple of
31655 pi/4.
31656 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31657 exception. Add more tests.
31658 * sysdeps/i386/fpu/libm-test-ulps: Update.
31659
f17ac40d
JM
31660 [BZ #6778]
31661 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31662 inputs and return -1 for them. Do not check for +Inf in case not
31663 reachable for +Inf.
31664 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31665 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31666 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31667 and return -1 for them. Do not check for +Inf in case not
31668 reachable for +Inf.
31669 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31670 define.
31671 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31672 and return -1 for them. Do not check for +Inf in case not
31673 reachable for +Inf.
31674 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31675 spurious underflow.
31676 * sysdeps/i386/fpu/libm-test-ulps: Update.
31677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31678
fb21f89b
MF
316792012-07-06 Mike Frysinger <vapier@gentoo.org>
31680
31681 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31682
cdfe2c5e
JM
316832012-07-05 Joseph Myers <joseph@codesourcery.com>
31684
31685 [BZ #14157]
31686 [BZ #14331]
31687 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31688 could result in spurious underflow. Scale down values above
31689 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31690 * math/s_csqrtf.c (__csqrtf): Likewise.
31691 * math/s_csqrtl.c (__csqrtl): Likewise.
31692 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31693 spurious underflow.
31694 * sysdeps/i386/fpu/libm-test-ulps: Update.
31695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31696
70d35b67
AS
316972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31698
704bc459
AS
31699 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31700 xopen-msg.sed.
31701 * catgets/xopen-msg.awk: New file.
31702 * catgets/xopen-msg.sed: Removed.
31703
70d35b67
AS
31704 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31705 po2text.sed.
31706 * intl/po2test.awk: New file.
31707 * intl/po2test.sed: Removed.
31708
ca61cf32
JM
317092012-07-04 Joseph Myers <joseph@codesourcery.com>
31710
31711 [BZ #14328]
31712 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31713 or multiply small sinh result by itself.
31714 * math/s_ctanf.c (__ctanf): Likewise.
31715 * math/s_ctanh.c (__ctanh): Likewise.
31716 * math/s_ctanhf.c (__ctanhf): Likewise.
31717 * math/s_ctanhl.c (__ctanhl): Likewise.
31718 * math/s_ctanl.c (__ctanl): Likewise.
31719 * math/libm-test.inc (ctan_test_tonearest): New function.
31720 (ctan_test_towardzero): Likewise.
31721 (ctan_test_downward): Likewise.
31722 (ctan_test_upward): Likewise.
31723 (ctanh_test_tonearest): Likewise.
31724 (ctanh_test_towardzero): Likewise.
31725 (ctanh_test_downward): Likewise.
31726 (ctanh_test_upward): Likewise.
31727 (main): Call these new functions.
31728 * sysdeps/i386/fpu/libm-test-ulps: Update.
31729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31730
ca48a46a
MF
317312012-07-03 Mike Frysinger <vapier@gentoo.org>
31732
31733 * .gitignore: Delete /ports entry.
31734
9d63d37d
AJ
317352012-07-03 Andreas Jaeger <aj@suse.de>
31736
31737 * po/bg.po: Update from translation team.
31738 * po/cs.po: Likewise.
31739 * po/de.po: Likewise.
31740 * po/hr.po: Likewise.
31741 * po/nl.pl: Likewise.
31742 * po/pl.po: Likewise.
31743 * po/vi.po: Likewise.
31744
370ca3d2
JM
317452012-07-03 Joseph Myers <joseph@codesourcery.com>
31746
95f5a9a8
JM
31747 * Makeconfig [!+link] (+link-before-libc): New variable.
31748 [!+link] (+link-after-libc): Likewise.
31749 [!+link] (+link-tests): Likewise.
31750 [!+link] (+link): Define in terms of $(+link-before-libc) and
31751 $(+link-after-libc).
31752 [!+link-static] (+link-static-before-libc): New variable.
31753 [!+link-static] (+link-static-after-libc): Likewise.
31754 [!+link-static] (+link-static-tests): Likewise.
31755 [!+link-static] (+link-static): Define in terms of
31756 $(+link-static-before-libc) and $(+link-static-after-libc).
31757 [build-shared] (link-libc-before-gnulib): New variable.
31758 [build-shared] (link-libc-tests): Likewise.
31759 [build-shared] (link-libc): Define in terms of
31760 $(link-libc-before-gnulib).
31761 [!build-shared] (link-libc-tests): New variable.
31762 (link-libc-static-tests): New variable.
31763 [!gnulib] (gnulib-arch): New variable.
31764 [!gnulib] (gnulib-tests): Likewise.
31765 [!gnulib] (static-gnulib-arch): Likewise.
31766 [!gnulib] (static-gnulib-tests): Likewise.
31767 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31768 Define with "=" instead of ":=".
31769 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31770 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31771 * Rules (binaries-all-notests): New variable.
31772 (binaries-all-tests): Likewise.
31773 (binaries-static-notests): Likewise.
31774 (binaries-static-tests): Likewise.
31775 (binaries-all): Define using $(binaries-all-notests) and
31776 $(binaries-all-tests).
31777 (binaries-static): Define using $(binaries-static-notests) and
31778 $(binaries-static-tests).
31779 (binaries-shared-tests): New variable.
31780 (binaries-shared-notests): Likewise.
31781 (binaries-shared): Remove variable.
31782 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31783 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31784 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31785 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31786 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31787 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31788 * elf/Makefile (sln-modules): New variable.
31789 (extra-objs): Add $(sln-modules:=.o).
31790 (ldconfig-modules): Add static-stubs.
31791 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31792 * elf/static-stubs.c: New file.
31793
7a845b2c
JM
31794 [BZ #14283]
31795 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31796 by 7 not 8 to examine high bit of fractional part. Use volatile
31797 variables when splitting into final array of floats if
31798 __FLT_EVAL_METHOD__ != 0.
31799 * math/libm-test.inc (cos_test): Add another test.
31800 (sin_test): Likewise.
31801 * sysdeps/i386/fpu/libm-test-ulps: Update.
31802
e2283f38
JM
31803 [BZ #14273]
31804 * math/libm-test.inc (cosh_test): Add more tests.
31805
370ca3d2
JM
31806 * version.h (RELEASE): Set to "development".
31807 (VERSION): Set to "2.16.90".
31808
ee9247c3
CD
318092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31810
31811 * NEWS: Update copyright. Remove last-updated date.
31812 Mention math library bug fixes and timezone data changes.
31813 * README: Mention GNU/Hurd, x32, and HPPA support status.
31814
4648c381
TS
318152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31816
31817 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31818
aac78a43
AJ
318192012-06-27 Andreas Jaeger <aj@suse.de>
31820
31821 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31822
ed3dbfad
AJ
318232012-06-25 Andreas Jaeger <aj@suse.de>
31824
31825 * sysdeps/s390/fpu/libm-test-ulps: Update.
31826
4d0ee855
AS
318272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31828 Thomas Schwinge <thomas@codesourcery.com>
31829
31830 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31831 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31833 fanotify_mark.
31834
af1bce34
TS
318352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31836
a9fa33ba
TS
31837 * sysdeps/mach/start.c: Remove file.
31838 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31839 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31840 * sysdeps/sh/init-first.c: Likewise.
31841
58f902b8
TS
31842 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31843 registers for frame unwinding purposes, add CFI directives.
31844 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31845 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31846 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31847 Likewise.
31848
1518f58b
TS
31849 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31850 __fortify_fail returning.
31851 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31852
db9b5059
TS
31853 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31854 sysdeps/sh/____longjmp_chk.S.
31855 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31856 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31857 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31858 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31859
967705fe
TS
31860 * sysdeps/sh/abort-instr.h: New file.
31861 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31862 process in case exit returns.
31863
a9def8c4
TS
31864 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31865 initialize the GOT register before use.
31866
2a649725
TS
31867 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31868 calculation of ARGC > 4.
31869
af1bce34
TS
31870 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31871 meaningful names to some local labels.
31872
d230f50a
KK
318732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31874 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31875
31876 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31877 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31878 (__arch_compare_and_exchange_val_16_acq): Likewise.
31879 (__arch_compare_and_exchange_val_32_acq): Likewise.
31880 (atomic_exchange_and_add): Fix gUSA sequence.
31881 (atomic_add): Likewise.
31882 (atomic_add_negative): Likewise.
31883 (atomic_add_zero): Likewise.
31884 (atomic_bit_test_set): Likewise.
31885
0479b305
AS
318862012-06-22 Andreas Schwab <schwab@redhat.com>
31887
31888 [BZ #13579]
31889 * include/link.h (struct link_map): Add l_free_initfini.
31890 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31891 l_initfini.
31892 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31893 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31894 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31895 set.
31896
0e3933b9
CD
318972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31898
31899 * configure.in: Use AC_LANG_SOURCE.
31900 * configure: Regenerate.
31901
4248b1b1
RM
319022012-06-22 Roland McGrath <roland@hack.frob.com>
31903
31904 * configure.in (libc_cv_localstatedir): New substituted variable.
31905 * configure: Regenerated.
31906 * config.make.in (localstatedir): New variable, substituted from
31907 libc_cv_localstatedir.
31908 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31909 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31910 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31911 * sysdeps/gnu/configure: Regenerated.
31912
006dd861
JL
319132012-06-21 Jeff Law <law@redhat.com>
31914
31915 [BZ #14277]
31916 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31917 free. Simplify list management for _LIBC case.
31918
79662d42
JM
319192012-06-21 Joseph Myers <joseph@codesourcery.com>
31920
b7abb4bf
JM
31921 [BZ #14273]
31922 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31923 Clear sign bit of 64-bit integer value before comparing against
31924 overflow value.
31925
79662d42
JM
31926 * sysdeps/mach/configure: Regenerated.
31927
1f150908
L
319282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31929
31930 [BZ #14278]
31931 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31932
28363bbf
JL
319332012-06-21 Jeff Law <law@redhat.com>
31934
31935 [BZ #13882]
31936 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31937 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31938 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31939 * elf/dl-open.c (dl_open_worker): Likewise.
31940
09615db4
CD
319412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31942
31943 * scripts/list-sources.sh: Scan PORTS for translations.
31944 * po/libc.pot: Regenerated.
31945
2174c6dd
AJ
319462012-06-21 Andreas Jaeger <aj@suse.de>
31947
31948 [BZ #12194]
31949 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31950 warning.
31951 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31952 * bits/byteswap-16.h (__bswap_16): Likewise.
31953 * bits/byteswap.h (__bswap_constant_16): Likewise.
31954
3ee947b1
L
319552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31956
31957 [BZ #14117]
a2f34833
L
31958 * sysdeps/i386/fpu_control.h: Removed.
31959 * sysdeps/x86_64/fpu_control.h: Moved to ...
31960 * sysdeps/x86/fpu_control.h: Here.
31961
3ee947b1
L
31962 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31963 (_FPU_SETCW): Likewise.
31964
ed1825f8
L
319652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31966
25f1282a
L
31967 [BZ #14117]
31968 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31969 * sysdeps/x86/fpu/bits/mathinline.h: This.
31970 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31971
ed1825f8
L
31972 [BZ #14050]
31973 [BZ #14117]
31974 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31975 functions if __x86_64__ is defined.
31976
36d54b74
CLT
319772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31978
31979 * string/endian.h: Add !__ASSEMBLER__ condition for including
31980 conversion interfaces.
31981
10285c21
JM
319822012-06-15 Joseph Myers <joseph@codesourcery.com>
31983
31984 [BZ #14241]
31985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31986 of ABS(x) in calculating zero to negative powers other than odd
31987 integers.
31988 * math/libm-test.inc (pow_test): Add more tests.
31989
06c5abbd
AJ
319902012-06-15 Andreas Jaeger <aj@suse.de>
31991
31992 * manual/contrib.texi (Contributors): Update entry of Liubov
31993 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31994 Machado Filho.
31995
a3aeac40
CH
319962012-06-15 Cyril Hrubis <metan@ucw.cz>
31997
31998 * string/string.h: Add __wur to GNU version of strerror_r.
31999
49bdf4c1
L
320002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32001
32002 [BZ #14229]
32003 * string/Makefile (tests): Add tst-strtok_r.
32004 * string/tst-strtok_r.c: New file.
32005 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32006 RAX_LP/RDX_LP on SAVE_PTR.
32007
834f9b8d
RM
320082012-06-14 Roland McGrath <roland@hack.frob.com>
32009
32010 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32011
75fa1921
JM
320122012-06-14 Joseph Myers <joseph@codesourcery.com>
32013
32014 * libm_test.inc (csqrt_test): Allow more spurious underflow
32015 exceptions.
32016 (j0_test): Likewise.
32017 (j1_test): Likewise.
32018 (y0_test): Likewise.
32019 (y1_test): Likewise.
32020
771766df
CD
320212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32022
32023 * po/Makefile (libc.pot): Use UTF-8 charset.
32024
ceb9e56b
PP
320252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32026
32027 [BZ #14210]
32028 Suppress sign-conversion warning from FD_SET.
32029 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32030 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32031 not unsigned long int.
32032 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32033
ddb28975
L
320342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32035
32036 [BZ #14050]
32037 [BZ #14117]
32038 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32039 __extern_always_inline instead of __extern_inline.
32040 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32041 (__signbit): Likewise.
32042 (__signbitl): Support C++ namespace.
32043 (lrintf): New inline function.
32044 (lrint): Likewise.
32045 (llrintf): Likewise.
32046 (llrint): Likewise.
32047 (fmaxf): Likewise.
32048 (fmax): Likewise.
32049 (fminf): Likewise.
32050 (fmin): Likewise.
32051 (rint): Likewise.
32052 (rintf): Likewise.
32053 (ceil): Likewise.
32054 (ceilf): Likewise.
32055 (floor): Likewise.
32056 (floorf): Likewise.
32057 (nearbyint): Likewise.
32058 (nearbyintf): Likewise.
32059
d7b4fb26
TS
320602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32061
32062 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32063 non-default versions.
32064
eb55f5c2
RM
320652012-06-11 Roland McGrath <roland@hack.frob.com>
32066
32067 [BZ #14218]
32068 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32069
366af02c
TS
320702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32071
99ff6e5c
TS
32072 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32073 (FE_UPWARD, FE_DOWNWARD): Don't define.
32074 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32075 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32076
366af02c
TS
32077 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32078 reading it.
32079 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32081
793ea851
KK
320822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32083
32084 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32085 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32086 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32087 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32088
a728a38f
L
320892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32090
32091 [BZ #14117]
c08010c7
L
32092 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32093 * sysdeps/i386/fpu/Implies: New file.
32094 * sysdeps/x86_64/fpu/Implies: Likewise.
32095 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32096 * sysdeps/x86/fpu/bits/fenv.h: This.
32097
a728a38f
L
32098 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32099 __SSE_MATH__.
32100
6e230d11
SP
321012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32102
32103 [BZ #14134]
32104 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32105 character 0xffff that matches the last element of the
32106 conversion table.
32107
1b671feb
AZ
321082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32109
32110 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32111 fmodl commit.
32112
6043738b
AZ
321132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32114
32115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32116 values higher than 25.6283.
32117
34ae0b32
AZ
321182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32119
32120 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32121 subnormal exponent extraction and add some __builtin_expect.
32122 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32123 Fix for subnormal mantissa calculation.
32124
1214ec8f
MF
321252012-06-04 Mike Frysinger <vapier@gentoo.org>
32126
32127 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32128 cpu2 is -1 and errno is not ENOSYS.
32129
f3d1f93c
L
321302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 [BZ #14117]
0e4a3cd7
L
32133 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32134 * sysdeps/x86/bits/string.h: This.
32135 * sysdeps/x86_64/bits/string.h: Removed.
32136
6704c645
L
32137 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32138 if not compiling for x86-64, but compiling for >= i486.
32139
48495318
L
32140 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32141 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32142
14adcbfc
L
32143 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32144 New macro from Linux kernel 3.4.0.
32145 (FP_XSTATE_MAGIC2): Likewise.
32146 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32147 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32148 (struct _fpx_sw_bytes): New struct.
32149 (struct _xsave_hdr): Likewise.
32150 (struct _ymmh_state): Likewise.
32151 (struct _xstate): Likewise.
32152
68e408ab
L
32153 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32154 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32155 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32156 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32157 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32158 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32159
f3d1f93c
L
32160 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32161 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32162 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32163 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32164 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32165 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32166
d9dc34cd
TMQMF
321672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32168
32169 [BZ #13743]
32170 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32171 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32172 (sysdep_headers): Include sys/platform/ppc.h.
32173 * sysdeps/powerpc/test-gettimebase.c: Test for
32174 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32175 * manual/Makefile (appendices): Include platform.texi.
32176 * manual/contrib.texi (Contributors): Update @node pointers.
32177 * manual/maint.texi (Maintenance): Likewise.
32178 (Platform): New node.
32179 * manual/platform.texi: New file. Document the new features.
32180
4af3879c
SP
321812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32182 Jakub Jelinek <jakub@redhat.com>
32183
32184 [BZ #14188]
32185 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32186 where __builtin_expect is unavailable.
32187
2fd6ff13
DM
321882012-06-03 David S. Miller <davem@davemloft.net>
32189
32190 * stdlib/longlong.h: Updated from GCC.
32191
173f7220
AS
321922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32193
32194 [BZ #14042]
32195 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32196 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32197 __mcount_internal.
32198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32199 (GLIBC_2.16): Likewise.
32200
f34a1c6f
L
322012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32202
32203 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32204
88a4576f
JM
322052012-06-01 Joseph Myers <joseph@codesourcery.com>
32206
ea32bcdd
JM
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32208 (default-abi): New variable.
32209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32210 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32211 variable.
32212 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32213 Likewise.
32214 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32215 Likewise.
32216 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32217 Likewise.
32218
88a4576f
JM
32219 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32220 definition. Document in comment.
32221
402fe938
DM
322222012-06-01 David S. Miller <davem@davemloft.net>
32223
32224 * stdlib/longlong.h: Updated from GCC.
32225
3553723f
L
322262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32227
32228 [BZ #14117]
3bd872c4
L
32229 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32230 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32231 sys/debugreg.h sys/io.h here.
32232 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32233 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32234 sys/io.h.
32235 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32236 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32237 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32238 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32239 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32240 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32241
3553723f
L
32242 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32243 Define only if __x86_64__ is defined.
32244
4842e4fe
JM
322452012-06-01 Joseph Myers <joseph@codesourcery.com>
32246
c5bfe3d5
JM
32247 [BZ #14048]
32248 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32249 Use int64_t for variable i.
32250 * math/libm-test.inc (fmod_test): Add more tests.
32251
4842e4fe
JM
32252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32253 z computation is not scheduled after fetestexcept.
32254 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32255 Use math_force_eval instead of asm to ensure calculation scheduled
32256 before exception test.
32257 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32258 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32259
efb73488
AJ
322602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32261
32262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32263 computation is not scheduled after fetestexcept.
32264
29bcce7c
L
322652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32266
32267 [BZ #14117]
32268 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32269 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32270
73a68f94
AZ
322712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32272
32273 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32274 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32275
67b6df78
L
322762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32277
edf2933a 32278 [BZ #14117]
ebc64a18
L
32279 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32280 <bits/wordsize.h>.
32281 (__WCHAR_MIN): Support __WORDSIZE == 64.
32282 (__WCHAR_MAX): Likewise.
32283
edf2933a
L
32284 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32286
57c6cf40
L
32287 [BZ #14183]
32288 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32289 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32290
67b6df78 32291 [BZ #14117]
8eb6281e
L
32292 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32293 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32294
aac639f4
L
32295 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32296 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32297
67b6df78
L
32298 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32299 Defined to 1 if __x86_64__ isn't defined.
32300 (_STAT_VER_LINUX_OLD): New.
32301 (st_atime): Remove duplicate.
32302 (st_mtime): Likewise.
32303 (st_ctime): Likewise.
32304
1c2cfe81
DM
323052012-05-31 David S. Miller <davem@davemloft.net>
32306
32307 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32308 entries.
32309
5be8418c
AS
323102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32311
e7725326
AS
32312 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32313 gen-libm-test.pl.
32314
5be8418c
AS
32315 [BZ #14132]
32316 * elf/dl-reloc.c: Include <_itoa.h>.
32317 (_dl_reloc_bad_type): Remove use of INTUSE.
32318 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32319 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32320 * stdio-common/psiginfo.c (psiginfo): Likewise.
32321 * stdio-common/psignal.c (psignal): Likewise.
32322 * string/strsignal.c (strsignal): Likewise.
32323 * include/signal.h (_sys_siglist): Declare hidden proto.
32324 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32325 INTVARDEF with libc_hidden_data_def.
32326 * stdio-common/itoa-udigits.c: Likewise.
32327 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32328 (_itoa_lower_digits_internal): Remove declaration.
32329 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32330 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32331 (_sys_sigabbrev_internal): Remove aliases.
32332 (_sys_siglist): Define hidden alias.
32333
507352f1
MT
323342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32335
32336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32337 bits/sysctl.h.
32338
42bbb1c3
L
323392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32340
32341 [BZ #14117]
6bd784b6
L
32342 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32343 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32344
8bca20f0
L
32345 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32346 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32347 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32348 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32349 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32350 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32351
f9e890a9
L
32352 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32353 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32354 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32355
471101a1
L
32356 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32357 with __addr.
32358 (insw): Likewise.
32359 (insl): Likewise.
32360 (outsb): Likewise.
32361 (outsw): Likewise.
32362 (outsl): Likewise.
32363
6451c862
L
32364 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32365 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32366 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32367
a254b8c9
L
32368 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32369 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32370 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32371 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32372 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32373 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32374
b8dfdd92
L
32375 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32376 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32377
578cd270
L
32378 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32379 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32380
de662f5f
L
32381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32383 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32384
25653439
L
32385 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32386 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32387 to ...
32388 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32389
6bad24a0
L
32390 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32391 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32392 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32393
42bbb1c3
L
32394 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32395 for x86-64.
32396 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32397
2d10d547
JM
323982012-05-31 Joseph Myers <joseph@codesourcery.com>
32399
32400 * math/math.h (M_El): Use two more decimal places.
32401 (M_LOG2El): Likewise.
32402 (M_LOG10El): Likewise.
32403 (M_LN2l): Likewise.
32404 (M_LN10l): Likewise.
32405 (M_PIl): Likewise.
32406 (M_PI_2l): Likewise.
32407 (M_PI_4l): Likewise.
32408 (M_1_PIl): Likewise.
32409 (M_2_PIl): Likewise.
32410 (M_2_SQRTPIl): Likewise.
32411 (M_SQRT2l): Likewise.
32412 (M_SQRT1_2l): Likewise.
32413
f230c29b
DM
324142012-05-31 David S. Miller <davem@davemloft.net>
32415
32416 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32417 values between float registers.
32418 * sysdeps/sparc/sparc64/memset.S: Likewise.
32419 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32420
fed806c3
MF
324212012-05-31 Mike Frysinger <vapier@gentoo.org>
32422
32423 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32424 -D_FORTIFY_SOURCE=1.
32425 (CPPFLAGS-tst-longjmp_chk.c): Define.
32426 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32427 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32428 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32429 CFLAGS-tst-wchar-h.c.
32430
30917259
MP
324312012-05-31 Marek Polacek <polacek@redhat.com>
32432
32433 [BZ #14132]
32434 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32435 __endmntent_internal): Remove declaration.
32436 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32437 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32438 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32439
1c58d5dc
DM
324402012-05-30 David S. Miller <davem@davemloft.net>
32441
32442 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32443 (___Q_simulate_exceptions): Use real FP ops rather than writing
32444 into the %fsr.
32445 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32446 Likewise.
32447
7dc00e0d
L
324482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32449
32450 [BZ #14117]
0bd53985
L
32451 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32452 * sysdeps/x86/bits/xtitypes.h: This.
32453
3a257e66
L
32454 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32455 * sysdeps/x86/bits/wordsize.h: This.
32456
62f62904
L
32457 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32458 * sysdeps/x86/bits/huge_vall.h: This.
32459
404fe9d9
L
32460 * sysdeps/i386/bits/select.h: Removed.
32461 * sysdeps/x86_64/bits/select.h: Renamed to ...
32462 * sysdeps/x86/bits/select.h: This.
32463
d48d0446
L
32464 * sysdeps/i386/bits/setjmp.h: Removed.
32465 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32466 * sysdeps/x86/bits/setjmp.h: This.
32467
7dc00e0d
L
32468 * sysdeps/i386/bits/mathdef.h: Removed.
32469 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32470 * sysdeps/x86/bits/mathdef.h: This.
32471
03277f8f
AS
324722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32473
32474 [BZ #14132]
32475 * include/sys/socket.h (__connect_internal)
32476 (__libc_sa_len_internal): Remove declaration.
32477 (__connect, __libc_sa_len): Declare hidden_proto.
32478 (SA_LEN): Remove use of INTUSE.
32479 * socket/connect.c: Add libc_hidden_def.
32480 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32481 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32482 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32483 alias.
32484 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32485 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32486 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32487 of adding _internal alias.
32488
13764867
L
324892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32490
32491 [BZ #14117]
6bd97696
L
32492 * sysdeps/i386/bits/link.h: Removed.
32493 * sysdeps/i386/bits/linkmap.h: Likewise.
32494 * sysdeps/x86_64/bits/link.h: Renamed to ...
32495 * sysdeps/x86/bits/link.h: This.
32496 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32497 * sysdeps/x86/bits/linkmap.h: This.
32498
f726f0bb
L
32499 * sysdeps/i386/bits/endian.h: Removed.
32500 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32501 * sysdeps/x86/bits/endian.h: This.
32502
13764867
L
32503 * sysdeps/i386/bits/byteswap.h: Removed.
32504 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32505 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32506 * sysdeps/x86/bits/byteswap.h: This.
32507 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32508 * sysdeps/x86/bits/byteswap-16.h: This.
32509 * sysdeps/i386/Implies: Add x86.
32510 * sysdeps/x86_64/Implies: Likewise.
32511
ae251b0b
DM
325122012-05-30 David S. Miller <davem@davemloft.net>
32513
32514 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32515 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32517 (FP_TRAPPING_EXCEPTIONS): Define.
32518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32519 (FP_TRAPPING_EXCEPTIONS): Define.
32520 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32521 subnormals only when inexact has been signalled or underflow
32522 exceptions are enabled.
32523 (_FP_PACK_CANONICAL): Likewise.
32524
d5c90867
L
325252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32526
32527 [BZ #14183]
32528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32529 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32530
63f1549e
RH
325312012-05-30 Richard Henderson <rth@twiddle.net>
32532
8d8f2279
RH
32533 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32534 with #ifndef NOT_IN_libc.
32535
63f1549e
RH
32536 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32537 marked to avoid plt entry.
32538
0ab0291b
L
325392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32540
32541 [BZ #14112]
32542 * Makeconfig (default-abi): New macro.
32543 (abi-includes): Likewise.
32544 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32545 $(abi-$(default-abi)-lib-soname) for soname if defined.
32546 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32547 abi-variants.
32548 * Makefile (installed-stubs): Likewise.
32549 * include/stubs-biarch.h: Removed.
32550 * scripts/lib-names.awk: Only handle one library at a time.
32551 * scripts/soversions.awk: Remove WORDSIZE support.
32552 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32553 entries.
32554 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32555 Removed.
32556 (syscall-list-default-condition): Likewise.
32557 (syscall-list-default-condition): Likewise.
32558 (syscall-list-includes): Likewise.
32559 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32560 syscall-list-* with abi-*. Handle undefined abi-variants.
32561 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32562 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32563 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32564 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32565 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32566 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32567 Removed.
32568 (syscall-list-32-options): Likewise.
32569 (syscall-list-32-condition): Likewise.
32570 (syscall-list-64-options): Likewise.
32571 (syscall-list-64-condition): Likewise.
32572 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32573 macro.
32574 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32575 Renamed to ...
32576 (abi-*): This.
32577 (abi-64-ld-soname): New macro.
32578 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32579 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32580 Renamed to ...
32581 (abi-*): This.
32582 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32583 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32584
4da0431d
JM
325852012-05-30 Joseph Myers <joseph@codesourcery.com>
32586
3a85279c
JM
32587 * sysdeps/unix/sysv/linux/kernel-features.h
32588 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32589 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32590 include <kernel-features.h>.
32591 [!__NR_ftruncate64]: Remove conditional code.
32592 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32593 [__NR_ftruncate64]: Make code unconditional.
32594 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32595 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32596 include <kernel-features.h>.
32597 [!__NR_ftruncate64]: Remove conditional code.
32598 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32599 [__NR_ftruncate64]: Make code unconditional.
32600 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32602 include <kernel-features.h>.
32603 [!__NR_ftruncate64]: Remove conditional code.
32604 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32605 [__NR_ftruncate64]: Make code unconditional.
32606 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32608 include <kernel-features.h>.
32609 [!__NR_ftruncate64]: Remove conditional code.
32610 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32611 [__NR_ftruncate64]: Make code unconditional.
32612 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32613
4da0431d
JM
32614 * configure.in (libc_cv_fpie): Weaken to a compile test using
32615 LIBC_TRY_CC_OPTION.
32616 * configure: Regenerated.
32617
11ef492c
AK
326182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32619
32620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32624 Refreshed.
32625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32631 Refreshed.
32632
d66ef399
DM
326332012-05-27 David S. Miller <davem@davemloft.net>
32634
32635 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32636 (___Q_zero): New.
32637 (__Q_simulate_exceptions): Return void. Change to simulate
32638 exceptions by writing into the %fsr.
32639 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32640 (__Qp_handle_exceptions): Likewise.
32641 (numbers): Delete.
32642 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32643 __Qp_handle_exceptions.
32644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32645 __Qp_handle_exceptions.
32646 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32647 as unused and give dummy FP_RND_NEAREST initializer.
32648 (FP_INHIBIT_RESULTS): Define.
32649 (___Q_simulate_exceptions): Update declaration.
32650 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32651 formatting.
32652 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32653 as unused and give dummy FP_RND_NEAREST initializer.
32654 (__Qp_handle_exceptions): Update declaration.
32655 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32656 formatting.
32657
04fb54b5
TS
326582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32659
32660 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32661 the temporary FPU control word.
32662 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32663 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32664 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32665 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32666 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32667 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32668 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32669 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32670 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32671 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32673
3f99608f
KK
326742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32675
32676 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32677 fields.
32678
65a4de4e
CLT
326792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32680
32681 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32682 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32683 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32684 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32685 Likewise.
32686 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32687 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32688 Likewise.
32689
15749d40
UD
326902012-05-27 Ulrich Drepper <drepper@gmail.com>
32691
32692 * po/h.po: Update from translation team.
32693
25dbcb27
AS
326942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32695
3d3f8e55
AS
32696 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32697
25dbcb27
AS
32698 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32699 handling of denormals.
32700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32701 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32702 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32703 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32707 Likewise.
32708
7ad47a80 327092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32710
32711 [BZ #14152]
32712 * math/libm-test.inc (fma_test): Don't always expect underflow
32713 exception.
32714
9c6ea9fa
SP
327152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32716
32717 [BZ #12416]
32718 * elf/tst-execstack.c: Include stackinfo.h.
32719 (do_test): Adjust test case to ensure that pthread_getattr_np
32720 behaviour remains the same after marking stack executable.
32721
a8239222
JM
327222012-05-25 Joseph Myers <joseph@codesourcery.com>
32723
32724 * sysdeps/unix/sysv/linux/kernel-features.h
32725 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32726 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32727 kernel-features.h.
32728 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32729 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32731 kernel-features.h.
32732 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32733 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32734
918b5606
L
327352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * configure.in: Define the default includes to being none.
32738 * configure: Regenerated.
32739
3a097cc7
RM
327402012-05-25 Roland McGrath <roland@hack.frob.com>
32741
8422c9a5
RM
32742 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32743 * sysdeps/x86_64/setjmp.S: Likewise.
32744 * sysdeps/i386/bsd-setjmp.S: Likewise.
32745 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32746 * sysdeps/i386/setjmp.S: Likewise.
32747 * sysdeps/i386/__longjmp.S: Likewise.
32748 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32749 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32750
3a097cc7
RM
32751 * include/stap-probe.h: New file.
32752 * configure.in: Handle --enable-systemtap.
32753 * configure: Regenerated.
32754 * config.h.in (USE_STAP_PROBE): New #undef.
32755 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32756 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32757 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32758
21708942
JM
327592012-05-25 Joseph Myers <joseph@codesourcery.com>
32760
32761 [BZ #13717]
32762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32763 to 2.4.0 where earlier.
32764 * sysdeps/unix/sysv/linux/configure: Regenerated.
32765 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32766 <kernel-features.h>.
32767 [__ASSUME_32BITUIDS]: Make code unconditional.
32768 [!__ASSUME_32BITUIDS]: Remove conditional code.
32769 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32770 <kernel-features.h>.
32771 [__ASSUME_32BITUIDS]: Make code unconditional.
32772 [!__ASSUME_32BITUIDS]: Remove conditional code.
32773 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32774 [__ASSUME_32BITUIDS]: Make code unconditional.
32775 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32776 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32777 <kernel-features.h>.
32778 [__ASSUME_32BITUIDS]: Make code unconditional.
32779 [!__ASSUME_32BITUIDS]: Remove conditional code.
32780 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32781 <kernel-features.h>.
32782 [__ASSUME_32BITUIDS]: Make code unconditional.
32783 [!__ASSUME_32BITUIDS]: Remove conditional code.
32784 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32785 <kernel-features.h>.
32786 [__ASSUME_32BITUIDS]: Make code unconditional.
32787 [!__ASSUME_32BITUIDS]: Remove conditional code.
32788 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32789 <kernel-features.h>.
32790 [__ASSUME_32BITUIDS]: Make code unconditional.
32791 [!__ASSUME_32BITUIDS]: Remove conditional code.
32792 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32793 <kernel-features.h>.
32794 [__ASSUME_32BITUIDS]: Make code unconditional.
32795 [!__ASSUME_32BITUIDS]: Remove conditional code.
32796 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32797 <kernel-features.h>.
32798 [__ASSUME_32BITUIDS]: Make code unconditional.
32799 [!__ASSUME_32BITUIDS]: Remove conditional code.
32800 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32801 <kernel-features.h>.
32802 [__ASSUME_32BITUIDS]: Make code unconditional.
32803 [!__ASSUME_32BITUIDS]: Remove conditional code.
32804 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32805 <kernel-features.h>.
32806 [__ASSUME_32BITUIDS]: Make code unconditional.
32807 [!__ASSUME_32BITUIDS]: Remove conditional code.
32808 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32809 <kernel-features.h>.
32810 [__ASSUME_32BITUIDS]: Make code unconditional.
32811 [!__ASSUME_32BITUIDS]: Remove conditional code.
32812 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32813 <kernel-features.h>.
32814 [__ASSUME_32BITUIDS]: Make code unconditional.
32815 [!__ASSUME_32BITUIDS]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32817 <kernel-features.h>.
32818 [__NR_setresgid] (__setresgid): Do not declare.
32819 [__ASSUME_32BITUIDS]: Make code unconditional.
32820 [!__ASSUME_32BITUIDS]: Remove conditional code.
32821 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32822 <kernel-features.h>.
32823 [__NR_setresuid] (__setresuid): Do not declare.
32824 [__ASSUME_32BITUIDS]: Make code unconditional.
32825 [!__ASSUME_32BITUIDS]: Remove conditional code.
32826 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32827 <kernel-features.h>.
32828 [__ASSUME_32BITUIDS]: Make code unconditional.
32829 [!__ASSUME_32BITUIDS]: Remove conditional code.
32830 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32831 <kernel-features.h>.
32832 [__ASSUME_32BITUIDS]: Make code unconditional.
32833 [!__ASSUME_32BITUIDS]: Remove conditional code.
32834 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32835 <kernel-features.h>.
32836 [__ASSUME_32BITUIDS]: Make code unconditional.
32837 [!__ASSUME_32BITUIDS]: Remove conditional code.
32838 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32839 <kernel-features.h>.
32840 [__ASSUME_32BITUIDS]: Make code unconditional.
32841 [!__ASSUME_32BITUIDS]: Remove conditional code.
32842 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32843 <kernel-features.h>.
32844 [__ASSUME_32BITUIDS]: Make code unconditional.
32845 [!__ASSUME_32BITUIDS]: Remove conditional code.
32846 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32847 <kernel-features.h>.
32848 [__ASSUME_32BITUIDS]: Make code unconditional.
32849 [!__ASSUME_32BITUIDS]: Remove conditional code.
32850 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32851 <kernel-features.h>.
32852 [__ASSUME_32BITUIDS]: Make code unconditional.
32853 [!__ASSUME_32BITUIDS]: Remove conditional code.
32854 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32855 <kernel-features.h>.
32856 [__ASSUME_32BITUIDS]: Make code unconditional.
32857 [!__ASSUME_32BITUIDS]: Remove conditional code.
32858 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32859 <kernel-features.h>.
32860 [__ASSUME_32BITUIDS]: Make code unconditional.
32861 [!__ASSUME_32BITUIDS]: Remove conditional code.
32862 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32863 <kernel-features.h>.
32864 [__ASSUME_32BITUIDS]: Make code unconditional.
32865 [!__ASSUME_32BITUIDS]: Remove conditional code.
32866 * sysdeps/unix/sysv/linux/kernel-features.h
32867 (__ASSUME_SETRESUID_SYSCALL): Remove.
32868 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32869 (__ASSUME_32BITUIDS): Likewise.
32870 (__ASSUME_LDT_WORKS): Likewise.
32871 (__ASSUME_O_DIRECTORY): Likewise.
32872 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32873 architecture but not kernel version.
32874 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32875 (__ASSUME_MMAP2_SYSCALL): Likewise.
32876 (__ASSUME_STAT64_SYSCALL): Likewise.
32877 (__ASSUME_IPC64): Likewise.
32878 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32879 <kernel-features.h>.
32880 [__ASSUME_32BITUIDS]: Make code unconditional.
32881 [!__ASSUME_32BITUIDS]: Remove conditional code.
32882 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32883 <kernel-features.h>.
32884 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32885 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32886 132096]: Remove conditional code.
32887 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32888 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32889 <kernel-features.h>.
32890 [__ASSUME_32BITUIDS]: Make code unconditional.
32891 [!__ASSUME_32BITUIDS]: Remove conditional code.
32892 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32893 <kernel-features.h>.
32894 [__ASSUME_32BITUIDS]: Make code unconditional.
32895 [!__ASSUME_32BITUIDS]: Remove conditional code.
32896 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32897 <kernel-features.h>.
32898 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32899 unconditional.
32900 (__setresgid): Do not declare.
32901 [__ASSUME_32BITUIDS]: Make code unconditional.
32902 [!__ASSUME_32BITUIDS]: Remove conditional code.
32903 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32904 <kernel-features.h>.
32905 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32906 unconditional.
32907 (__setresuid): Do not declare.
32908 [__ASSUME_32BITUIDS]: Make code unconditional.
32909 [!__ASSUME_32BITUIDS]: Remove conditional code.
32910 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32911 <kernel-features.h>.
32912 [__ASSUME_32BITUIDS]: Make code unconditional.
32913 [!__ASSUME_32BITUIDS]: Remove conditional code.
32914 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32915 <kernel-features.h>.
32916 [__ASSUME_32BITUIDS]: Make code unconditional.
32917 [!__ASSUME_32BITUIDS]: Remove conditional code.
32918
a386f1cc
RH
329192012-05-25 Richard Henderson <rth@twiddle.net>
32920
32921 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32922 dl_hwcap to ifunc resolver.
32923 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32924 elf_ifunc_invoke.
32925 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32926 dl_hwcap to ifunc resolver.
32927 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32928
b6550497
JM
329292012-05-24 Joseph Myers <joseph@codesourcery.com>
32930
32931 [BZ #14153]
32932 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32933 for |x| <= 2**-26, not 2**-57.
32934 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32935 exception.
32936
b0bc23a1
JL
329372012-05-24 Jeff Law <law@redhat.com>
32938
32939 * stdio-common/Makefile (tests): Add bug25.
32940 * stdio-common/bug25.c: New test.
32941
347c92e9
L
329422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32943
32944 [BZ #13576]
32945 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32946 multiple of MALLOC_ALIGNMENT in size.
32947 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32948
6bcc8b3f
JM
329492012-05-24 Joseph Myers <joseph@codesourcery.com>
32950
32951 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32952 Require >= 256.
32953 (FILENAME_MAX): Use macro-int-constant.
32954 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32955 (_IOFBF): Use macro-int-constant.
32956 (_IOLBF): Likewise.
32957 (_IONBF): Likewise.
32958 (SEEK_CUR): Likewise.
32959 (SEEK_END): Likewise.
32960 (SEEK_SET): Likewise.
32961 (TMP_MAX): Likewise.
32962 (EOF): Use macro-int-constant. Require < 0.
32963 (NULL): Use macro-constant. Require == 0.
32964 (stdin): Require type to be FILE *.
32965 (stdout): Likewise.
32966 (stderr): Likewise.
32967 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32968 macro-int-constant.
32969 (EXIT_SUCCESS): Likewise.
32970 (NULL): Use macro-constant. Require == 0.
32971 (RAND_MAX): Use macro-int-constant.
32972 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32973 [C99-based standards] (strtof): Require function.
32974 [C99-based standards] (strtold): Likewise.
32975 [C99-based standards] (strtoll): Likewise.
32976 [C99-based standards] (strtoull): Likewise.
32977 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32978 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32979 [ISO || ISO99 || ISO11] (math.h): Likewise.
32980 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32981 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32983
d18ea0c5
AS
329842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32985
32986 [BZ #14132]
56d25bb8
AS
32987 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32988 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32989 * intl/dgettext.c (DCGETTEXT): Likewise.
32990 * intl/gettext.c (DCGETTEXT): Likewise.
32991 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32992 * posix/regex_internal.h (gettext): Likewise.
32993 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32994 Remove declaration.
32995 * include/argz.h (__argz_count_internal)
32996 (__argz_stringify_internal): Remove declaration.
32997 (__argz_count, __argz_stringify): Declare hidden proto.
32998 * intl/dcgettext.c: Remove use of INTDEF.
32999 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33000 * string/argz-stringify.c: Likewise.
33001 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33002 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33003 Declare hidden proto.
d18ea0c5
AS
33004 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33005 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33006 Declare hidden proto.
33007 * include/stdio.h (__asprintf_internal): Don't declare.
33008 (__asprintf): Don't define as macro. Declare hidden proto.
33009 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33010 (__fsetlocking): Declare hidden proto.
33011 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33012 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33013 hidden proto.
33014 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33015 (_IO_setlinebuf): Remove use of INTUSE.
33016 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33017 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33018 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33019 Remove declaration.
33020 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33021 (_IO_do_flush): Remove use of INTUSE.
33022 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33023 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33024 (_IO_adjust_column, _IO_least_wmarker)
33025 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33026 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33027 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33028 (_IO_default_doallocate, _IO_wdefault_doallocate)
33029 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33030 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33031 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33032 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33033 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33034 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33035 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33036 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33037 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33038 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33039 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33040 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33041 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33042 proto.
33043 (_IO_flush_all_internal, _IO_adjust_column_internal)
33044 (_IO_default_uflow_internal, _IO_default_finish_internal)
33045 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33046 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33047 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33048 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33049 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33050 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33051 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33052 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33053 (_IO_file_close_internal, _IO_file_close_it_internal)
33054 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33055 (_IO_file_init_internal, _IO_file_attach_internal)
33056 (_IO_file_fopen_internal, _IO_file_read_internal)
33057 (_IO_file_sync_internal, _IO_file_seek_internal)
33058 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33059 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33060 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33061 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33062 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33063 (_IO_list_all_internal, _IO_link_in_internal)
33064 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33065 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33066 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33067 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33068 (_IO_do_write_internal, _IO_padn_internal)
33069 (_IO_getline_info_internal, _IO_getline_internal)
33070 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33071 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33072 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33073 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33074 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33075 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33076 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33077 with libc_hidden_ver, remove use of INTUSE.
33078 * libio/genops.c: Likewise.
33079 * libio/freopen.c: Likewise.
33080 * libio/freopen64.c: Likewise.
33081 * libio/iofclose.c: Likewise.
33082 * libio/iofdopen.c: Likewise.
33083 * libio/iofflush.c: Likewise.
33084 * libio/iofflush_u.c: Likewise.
33085 * libio/iofgets.c: Likewise.
33086 * libio/iofgets_u.c: Likewise.
33087 * libio/iofopen.c: Likewise.
33088 * libio/iofopncook.c: Likewise.
33089 * libio/iofread.c: Likewise.
33090 * libio/iofread_u.c: Likewise.
33091 * libio/ioftell.c: Likewise.
33092 * libio/iofwrite.c: Likewise.
33093 * libio/iogetline.c: Likewise.
33094 * libio/iogets.c: Likewise.
33095 * libio/iogetwline.c: Likewise.
33096 * libio/iopadn.c: Likewise.
33097 * libio/iopopen.c: Likewise.
33098 * libio/ioseekoff.c: Likewise.
33099 * libio/ioseekpos.c: Likewise.
33100 * libio/iosetbuffer.c: Likewise.
33101 * libio/iosetvbuf.c: Likewise.
33102 * libio/ioungetc.c: Likewise.
33103 * libio/ioungetwc.c: Likewise.
33104 * libio/iovdprintf.c: Likewise.
33105 * libio/iovsprintf.c: Likewise.
33106 * libio/iovsscanf.c: Likewise.
33107 * libio/memstream.c: Likewise.
33108 * libio/obprintf.c: Likewise.
33109 * libio/oldfileops.c: Likewise.
33110 * libio/oldiofclose.c: Likewise.
33111 * libio/oldiofdopen.c: Likewise.
33112 * libio/oldiofopen.c: Likewise.
33113 * libio/oldiopopen.c: Likewise.
33114 * libio/oldstdfiles.c: Likewise.
33115 * libio/putc.c: Likewise.
33116 * libio/setbuf.c: Likewise.
33117 * libio/setlinebuf.c: Likewise.
33118 * libio/stdfiles.c: Likewise.
33119 * libio/strops.c: Likewise.
33120 * libio/vasprintf.c: Likewise.
33121 * libio/vscanf.c: Likewise.
33122 * libio/vsnprintf.c: Likewise.
33123 * libio/vswprintf.c: Likewise.
33124 * libio/wfiledoalloc.c: Likewise.
33125 * libio/wfileops.c: Likewise.
33126 * libio/wgenops.c: Likewise.
33127 * libio/wmemstream.c: Likewise.
33128 * libio/wstrops.c: Likewise.
33129 * libio/__fpurge.c: Likewise.
33130 * libio/__fsetlocking.c: Likewise.
33131 * assert/assert.c: Likewise.
33132 * debug/fgets_chk.c: Likewise.
33133 * debug/fgets_u_chk.c: Likewise.
33134 * debug/fread_chk.c: Likewise.
33135 * debug/fread_u_chk.c: Likewise.
33136 * debug/gets_chk.c: Likewise.
33137 * debug/obprintf_chk.c: Likewise.
33138 * debug/vasprintf_chk.c: Likewise.
33139 * debug/vdprintf_chk.c: Likewise.
33140 * debug/vsnprintf_chk.c: Likewise.
33141 * debug/vsprintf_chk.c: Likewise.
33142 * malloc/mtrace.c: Likewise.
33143 * misc/error.c: Likewise.
33144 * misc/syslog.c: Likewise.
33145 * stdio-common/asprintf.c: Likewise.
33146 * stdio-common/fxprintf.c: Likewise.
33147 * stdio-common/getw.c: Likewise.
33148 * stdio-common/isoc99_fscanf.c: Likewise.
33149 * stdio-common/isoc99_scanf.c: Likewise.
33150 * stdio-common/isoc99_vfscanf.c: Likewise.
33151 * stdio-common/isoc99_vscanf.c: Likewise.
33152 * stdio-common/isoc99_vsscanf.c: Likewise.
33153 * stdio-common/printf-prs.c: Likewise.
33154 * stdio-common/printf_fp.c: Likewise.
33155 * stdio-common/printf_fphex.c: Likewise.
33156 * stdio-common/printf_size.c: Likewise.
33157 * stdio-common/putw.c: Likewise.
33158 * stdio-common/scanf.c: Likewise.
33159 * stdio-common/sprintf.c: Likewise.
33160 * stdio-common/tmpfile.c: Likewise.
33161 * stdio-common/vfprintf.c: Likewise.
33162 * stdio-common/vfscanf.c: Likewise.
33163 * stdlib/strfmon_l.c: Likewise.
33164 * sunrpc/openchild.c: Likewise.
33165 * sunrpc/xdr_stdio.c: Likewise.
33166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33167 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33168
d6c33fda
RM
331692012-05-24 Roland McGrath <roland@hack.frob.com>
33170
c1487492
RM
33171 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33172
33173 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33174 in the third column, to generate for the shared library an IFUNC
33175 that uses _dl_vdso_vsym.
33176 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33177 * Makeconfig (object-suffixes-noshared): New variable.
33178
33179 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33180 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33181 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33182 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33183
d6c33fda
RM
33184 [BZ #14132]
33185 * include/sys/time.h (__gettimeofday): Remove macro.
33186 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33187 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33188 Remove INTDEF.
33189 (__gettimeofday): Add libc_hidden_def.
33190 (gettimeofday): Add libc_hidden_weak.
33191 * sysdeps/mach/gettimeofday.c: Likewise.
33192 * sysdeps/posix/gettimeofday.c: Likewise.
33193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33194 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33196 (__gettimeofday_internal): Remove strong_alias.
33197 (__gettimeofday): Add libc_hidden_def.
33198 (gettimeofday): Add libc_hidden_weak.
33199 * sysdeps/unix/syscalls.list (gettimeofday):
33200 Remove __gettimeofday_internal alias.
33201
b5a2bbe6
L
332022012-05-24 Daniel Jacobowitz <drow@false.org>
33203 H.J. Lu <hongjiu.lu@intel.com>
33204
33205 [BZ #12495]
33206 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33207 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33208 (largebin_index_32_big): New.
33209 (largebin_index): Use it for 16-byte alignment.
33210 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33211 correction with front_misalign.
33212
cfba4fda
L
332132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33214
7f907421
L
33215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33217 Likewise.
33218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33219 Likewise.
33220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33221 Likewise.
33222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33223 Likewise.
33224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33225 Likewise.
33226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33227 Likewise.
33228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33229 Likewise.
33230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33231 Likewise.
33232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33233 Likewise.
33234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33235 Likewise.
33236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33237 Likewise.
33238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33239 Likewise.
33240
cfba4fda
L
33241 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33242 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33243
80bad0cc
JM
332442012-05-24 Joseph Myers <joseph@codesourcery.com>
33245
7a25eb06
JM
33246 [BZ #10846]
33247 [BZ #14036]
33248 * math/libm-test.inc (exp_test): Add test from bug 14036.
33249 (pow_test): Add test from bug 10846.
33250
795405f9
JM
33251 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33252 and other flags.
33253 (special_function): Do not include flags in test name.
33254 (parse_args): Likewise.
33255 * sysdeps/i386/fpu/libm-test-ulps: Update.
33256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33257 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33258 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33260
80bad0cc
JM
33261 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33262 exceptions.
33263 * math/libm-test.inc ("Philosophy"): Update comment about
33264 exception testing.
33265 (UNDERFLOW_EXCEPTION): New macro.
33266 (UNDERFLOW_EXCEPTION_OK): Likewise.
33267 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33268 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33269 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33270 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33271 (INVALID_EXCEPTION_OK): Update value.
33272 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33273 (OVERFLOW_EXCEPTION_OK): Likewise.
33274 (IGNORE_ZERO_INF_SIGN): Likewise.
33275 (test_exceptions): Handle underflow exceptions.
33276 (acos_test): Update for underflow exception expectations.
33277 (cexp_test): Likewise.
33278 (clog_test): Likewise.
33279 (clog10_test): Likewise.
33280 (csqrt_test): Likewise.
33281 (ctan_test): Likewise.
33282 (ctanh_test): Likewise.
33283 (exp_test): Likewise.
33284 (exp10_test): Likewise.
33285 (exp2_test): Likewise.
33286 (expm1_test): Likewise.
33287 (fma_test): Likewise.
33288 (j0_test): Likewise.
33289 (jn_test): Likewise.
33290 (nexttoward_test): Likewise.
33291 (pow_test): Likewise.
33292 (scalbn_test): Likewise.
33293 (scalbln_test): Likewise.
33294 (tan_test): Likewise.
33295 (y1_test): Likewise.
33296 * sysdeps/i386/fpu/libm-test-ulps: Update.
33297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33298
9e0e3d0b
DM
332992012-05-23 David S. Miller <davem@davemloft.net>
33300
33301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33302 (__libc_sigaction): Remove unused local variables.
33303
ccd0a08f
L
333042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33305
33306 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33307
62bdf9a6
PE
333082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33309
f8591f80
PE
33310 mktime: avoid signed integer overflow
33311 * time/mktime.c (__mktime_internal): Do not mishandle the case
33312 where diff == INT_MIN.
33313
94c7d826
PE
33314 mktime: simplify computation of average
33315 * time/mktime.c (ranged_convert): Use new time_t_avg function
33316 instead of rolling our own (probably-slower) code.
33317
ce73d683
PE
33318 mktime: do not assume signed right shift propagates sign bit
33319 * time/mktime.c (isdst_differ): New static function.
33320 (__mktime_internal): No need to normalize tm_isdst now.
33321 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33322 tm_isdst values.
33323
72a22e59
PE
33324 mktime: merge another wrapv change from gnulib
33325 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33326 from some compilers.
33327
68605433
PE
33328 mktime: remove incorrect attempt at unusual arithmetics
33329 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33330 The code didn't really work on such machines anyway.
33331 (TYPE_MINIMUM): Assume two's complement.
33332 (twos_complement_arithmetic): Verify that long_int and time_t
33333 are two's complement (or unsigned, in the latter case).
33334
03cf7fe3
PE
33335 mktime: check signed shifts on long_int and time_t, too
33336 * time/mktime.c (SHR): Check that shifts work as desired
33337 on the types long_int and time_t too, as SHR is used on
33338 such types.
33339
f04dfbc2
PE
33340 mktime: do not assume 'long' is wide enough
33341 * time/mktime.c (verify): Move decl up.
33342 (long_int): New type.
33343 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33344 to remove assumption in the code that 'long' is wide enough to
33345 store year values. This assumption is not true on x32 and on
33346 some non-glibc platforms.
33347
62bdf9a6
PE
33348 mktime: merge wrapv change from gnulib
33349 * time/mktime.c (WRAPV): New macro.
33350 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33351 (guess_time_tm, __mktime_internal): Do not assume that signed
33352 integer overflow wraps around; modern compilers generate code
33353 where this assumption is no longer valid.
33354
5e292e4f
L
333552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33356
33357 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33358 Replace "jmp L(pseudo_end)" with "ret".
33359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33360 Likewise.
33361
8caf8c87
AJ
333622012-05-23 Andreas Jaeger <aj@suse.de>
33363
33364 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33365 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33366
1a09dc56
AJ
333672012-05-23 Andreas Jaeger <aj@suse.de>
33368 Maximilian Attems <max@stro.at>
33369
33370 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33371 New macros.
33372
1c87aba0
L
333732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33374
33375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33376 code so that pseudo_end is just ret and the stack pointer is
33377 correct also for static library in error case.
33378
40e45bd5
JM
333792012-05-23 Joseph Myers <joseph@codesourcery.com>
33380
c2670533
JM
33381 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33382 move to syscalls.list.
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33387
40e45bd5
JM
33388 * manual/install.texi (Running make install): Do not mention Linux
33389 kernel version for which pt_chown is not needed.
33390 (Linux): Do not mention problems with nscd with 2.0 kernels.
33391 * INSTALL: Regenerated.
33392
be08eda5
AJ
333932012-05-23 Andreas Jaeger <aj@suse.de>
33394
33395 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33396 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33397 macro.
33398 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33400 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33402 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33403 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33404 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33405 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33406 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33407 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33408 * sysdeps/unix/sysv/linux/bits/in.h
33409 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33410
a6a056bb
RM
334112012-05-22 Roland McGrath <roland@hack.frob.com>
33412
33413 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33414 (PREPARE_VERSION): Just use assert instead, it will be elided
33415 under [NDEBUG] anyway.
33416
c9009328
L
334172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33418
33419 * sysdeps/unix/sysv/linux/Makefile: Include
33420 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33421 (sysdep_routines): Remove sysctl.
c9009328
L
33422 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33423 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33424 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33425 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33426 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33427
73338355
AJ
334282012-05-22 Andreas Jaeger <aj@suse.de>
33429
33430 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33431 that pseudo_end is just ret and the stack pointer is correct also
33432 for static library in error case.
33433
d44638b0
PP
334342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33435
33436 [BZ #14122]
33437 * nss/nsswitch.c (defconfig_entries): New variable.
33438 (__nss_database_lookup): Don't leak defconfig entries.
33439 (nss_parse_service_list): Don't leak on error paths.
33440 (free_database_entries): New function.
33441 (free_defconfig): New function.
33442 (free_mem): Move common code to free_database_entries.
33443
31a39bd8
L
334442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33445
da0331a8
L
33446 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33447 Add arch_prctl.
33448 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33449
31a39bd8
L
33450 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33451 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33453 New macro.
33454 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33455 (INTERNAL_SYSCALL_TYPES): Likewise.
33456 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33457 (LOAD_REGS_TYPES_[1-6]): Likewise.
33458 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33459 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33460
45470df3
AZ
334612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33462
33463 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33464 copysignl for GLIBC_2_0.
33465 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33466 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33468 logbl for GLIBC_2_0.
33469 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33470 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33471
98a61bcb
L
334722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33473
a4f6e481
L
33474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33475 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33476
f63d5db6
L
33477 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33478 Use "neg %eax".
33479
98a61bcb
L
33480 * time/mktime.c: Update copyright years.
33481
95770f14
PE
334822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33483
6226efbd
PE
33484 mktime: merge comment-quoting-style change from gnulib
33485 * time/mktime.c: Quote 'like this' in comments.
33486 The GNU coding standards suggest that we no longer quote `like this',
33487 as "`" and "'" are typically rendered asymmetrically nowadays.
33488 The typical gnulib style is to quote 'like this' when quoting
33489 code, and "like this" when quoting English.
33490
b99e4f78
PE
33491 * time/mktime.c (compile-command): Add "-I.".
33492
643e01e6
PE
33493 mktime: merge mktime-internal.h change from gnulib
33494 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33495
2554247d
PE
33496 mktime: merge time_r change from gnulib
33497 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33498
826dd0ab
PE
33499 mktime: merge DEBUG change from gnulib
33500 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33501 case system <time.h> has a #define.
33502
bd83aabe
PE
33503 mktime: merge <sys/types.h> change from gnulib
33504 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33505 since <time.t> is now guaranteed to define time_t.
33506
95770f14
PE
33507 mktime: merge HAVE_CONFIG_H change from gnulib
33508 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33509
5e1a27a9
L
335102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33511
0e44a77e
L
33512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33513 Use "neg %eax".
33514
5e1a27a9
L
33515 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33516 __rlim_t cast.
33517 (struct rusage): Use anonymous union to pad each field to
33518 __syscall_slong_t.
33519
46259bec
DM
335202012-05-21 David S. Miller <davem@davemloft.net>
33521
33522 * Makefules (o-iterator): Remove .s cases.
33523 (compile-command.s): Delete.
33524 (COMPILE.s): Delete.
33525 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33526
59f0c22e
JM
335272012-05-21 Joseph Myers <joseph@codesourcery.com>
33528
33529 * configure.in (libc_cv_predef_stack_protector): Only consider
33530 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33531 * configure: Regenerated.
33532
20c07380
L
335332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33534
bbb3154b
L
33535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33536 New macro. Use R*LP on int and pointer.
33537 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33538 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33539 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33540 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33541
20c07380
L
33542 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33543 [__WORDSIZE_TIME64_COMPAT32] instead of
33544 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33545 (struct utmp): Likewise.
33546 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33547 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33548 Renamed to ...
33549 (__WORDSIZE_TIME64_COMPAT32): This.
33550 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33551 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33552 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33553 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33554 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33555 (__WORDSIZE_TIME64_COMPAT32): New macro.
33556
d8d1017e
AJ
335572012-05-21 Andreas Jaeger <aj@suse.de>
33558
33559 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33560 only if [SHARED]. Add prototype for __wcschr_ia32.
33561
6c7fb145
RM
335622012-05-21 Roland McGrath <roland@hack.frob.com>
33563
33564 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33565 of %rbp unmolested in the jmp_buf while mangling the low bits.
33566 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33567 unmolested high bits of %rbp while demangling the low bits.
33568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33569
66274218
AJ
335702012-05-21 Andreas Jaeger <aj@suse.de>
33571
07c58f8f
AJ
33572 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33573 * sunrpc/svc_simple.c: Use it for registerrpc.
33574 * sunrpc/xcrypt.c: Use it for passwd2des.
33575
66274218
AJ
33576 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33577
61f65140
L
335782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33579
33580 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33581 Don't define if [__SYSCALL_WORDSIZE != 32].
33582 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33583 New macro.
33584
5fefb436
AJ
335852012-05-21 Bruno Haible <bruno@clisp.org>
33586 Andreas Jaeger <aj@suse.de>
33587
33588 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33589 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33590 inptr and inend for must_buffer_ch.
33591 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33592 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33593 * stdio-common/Makefile (tests): Remove bug15.
33594 (bug15-ENV): Remove macro.
33595 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33596 anymore.
33597
d8e272ab
AJ
335982012-05-19 Andreas Jaeger <aj@suse.de>
33599 Roland McGrath <roland@hack.frob.com>
33600
33601 * manual/contrib.texi: Completely rewritten. It contains now an
33602 alphabetical list of contributors and their contributions.
33603
4a56a162
RH
336042012-05-21 Richard Henderson <rth@twiddle.net>
33605
33606 * misc/getauxval.c (__getauxval): Use unsigned long int.
33607 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33608 (getauxval): Use unsigned long int.
33609
d024d23c
L
336102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33611
33612 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33613
cbc00a03
RM
336142012-05-21 Roland McGrath <roland@hack.frob.com>
33615
33616 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33617 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33618 __alignof__ (long double).
33619
478143fa
AZ
336202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33621
33622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33623
c7683a6d
RH
336242012-05-20 Richard Henderson <rth@twiddle.net>
33625
33626 * misc/getauxval.c: New file.
33627 * misc/sys/auxv.h: New file.
33628 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33629 (routines): Add getauxval.
33630 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33631 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33632 * elf/dl-sysdep.c (_dl_auxv): Remove.
33633 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33634 * elf/dl-support.c (_dl_auxv): New variable.
33635 (_dl_aux_init): Initialize it.
33636 * manual/startup.texi (Auxiliary Vector): New node.
33637 * sysdeps/generic/bits/hwcap.h: New file.
33638 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33639 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33640 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33641 * sysdeps/sparc/sysdep.h: ... here. Include it.
33642 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33645 Update.
c7683a6d
RH
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33654
a6f1845d
AZ
336552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33656
33657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33658
cbcbe830
DM
336592012-05-19 David S. Miller <davem@davemloft.net>
33660
33661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33662
e0b16cc2
JM
336632012-05-19 Joseph Myers <joseph@codesourcery.com>
33664
33665 [BZ #14123]
33666 * math/s_ccosh.c: Include <float.h>
33667 (__ccosh): Avoid internal overflow calculating sinh and cosh
33668 values before multiplying by sin and cos values.
33669 * math/s_ccoshf.c: Likewise.
33670 * math/s_ccoshl.c: Likewise.
33671 * math/s_csin.c: Likewise.
33672 * math/s_csinf.c: Likewise.
33673 * math/s_csinl.c: Likewise.
33674 * math/s_csinh.c: Likewise.
33675 * math/s_csinhf.c: Likewise.
33676 * math/s_csinhl.c: Likewise.
33677 * math/libm-test.inc (ccos_test): Add more tests.
33678 (ccosh_test): Likewise.
33679 (csin_test): Likewise.
33680 (csinh_test): Likewise.
33681 * sysdeps/i386/fpu/libm-test-ulps: Update.
33682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33683
6ad13e08
L
336842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33685
f66f0ce8
L
33686 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33687 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33688
6ad13e08
L
33689 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33690
b1d072a7
JM
336912012-05-19 Joseph Myers <joseph@codesourcery.com>
33692
33693 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33694 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33695 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33696 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33697 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33698 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33699 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33700 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33701 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33702 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33703 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33704 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33705 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33706 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33707 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33708 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33709 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33710 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33711 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33712 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33713 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33714 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33715 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33716 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33717 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33718 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33719 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33720 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33721 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33722 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33723 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33724
9eae47cb
AJ
337252012-05-18 Andreas Jaeger <aj@suse.de>
33726
33727 * csu/.gitignore: Delete.
33728
bb07f69f
L
337292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33730
33731 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33732 (timex): Use __syscall_slong_t.
33733
e6bdb741
AJ
337342012-05-18 Andreas Jaeger <aj@suse.de>
33735 Carlos O'Donell <carlos_odonell@mentor.com>
33736
33737 * manual/install.texi (Configuring and compiling): Update
33738 description about files modified in the source directory.
d6c33fda 33739 * INSTALL: Regenerated.
e6bdb741 33740
1b74487e
L
337412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33742
33743 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33744 value. Use "or" to set return value to -1.
33745 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33746 negate return value.
33747
a88b64b9
TMQMF
337482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33749
57f41c40
AS
33750 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33751 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33752 failure if the compiler has Graphite support disabled.
33753 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33754 Likewise.
57f41c40
AS
33755 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33756 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33757 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33758 Likewise.
33759
3707636e
L
337602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33761
610b8622
L
33762 * sysdeps/x86_64/x32/_itoa.h: New file.
33763
7cd195df
L
33764 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33765 getdents system call only if kernel and user dirents have the
33766 same d_ino and d_off.
33767
94b07d20
L
33768 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33769 LLONG_MAX != LONG_MAX.
33770 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33771 (_fitoa_word): Likewise.
33772
18298070
L
33773 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33774 years.
33775 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33776 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33777 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33778
553c7ea4
L
33779 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33780 include <bits/wordsize.h>. Check __x86_64__ instead of
33781 __WORDSIZE.
33782 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33783 if __x86_64__ is defined. Use anonymous union on fpstate.
33784
3707636e
L
33785 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33786 anonymous union.
33787
b53ef01a
AS
337882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33789
37fb1dc0
AS
33790 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33791 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33792 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33793 Refer to _rtld_local_ro instead of _rtld_global_ro.
33794 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33795 Likewise.
33796 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33797 Likewise.
33798 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33799 Likewise.
33800 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33801 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33802 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33803
b53ef01a
AS
33804 * sysdeps/powerpc/powerpc32/dl-machine.c
33805 (__elf_machine_runtime_setup) [PROF]: Don't reference
33806 _dl_prof_resolve.
33807
7a185db2
AJ
338082012-05-18 Andreas Jaeger <aj@suse.de>
33809
33810 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33811 function only available for GCCs before 3.4 since GCC 3.4
33812 introduced a builtin.
33813 (lrint): Likewise.
33814 (llrintf): Likewise.
33815 (llrint): Likewise.
33816 (fmaxf): Likewise.
33817 (fmax): Likewise.
33818 (fminf): Likewise.
33819 (fmin): Likewise.
33820 (rint): Likewise.
33821 (rintf): Likewise.
33822 (nearbyint): Likewise.
33823 (nearbyintf): Likewise.
33824 (ceil): Likewise.
33825 (ceilf): Likewise.
33826 (floor): Likewise.
33827 (floorf): Likewise.
33828
3e5aef87
L
338292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33830
428bd707
L
33831 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33832 on both fields and cast pointer to __syscall_ulong_t.
33833
3e5aef87
L
33834 * bits/types.h (__fsword_t): New type.
33835 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33836 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33838 (__FSWORD_T_TYPE): Likewise.
33839 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33840 (__FSWORD_T_TYPE): Likewise.
33841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33842 (__FSWORD_T_TYPE): Likewise.
33843 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33844 (__FSWORD_T_TYPE): Likewise.
33845 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33846 __SWORD_TYPE with __fsword_t.
33847 (statfs64): Likewise.
33848
1ba7c3dc
DM
338492012-05-17 David S. Miller <davem@davemloft.net>
33850
33851 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33852
59910343
AJ
338532012-05-17 Andreas Jaeger <aj@suse.de>
33854
33855 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33856 warning.
33857
2e4c1e9e
L
338582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33859
33860 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33861
de7f5ce7
AJ
338622012-05-17 Andreas Jaeger <aj@suse.de>
33863
33864 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33865 when it is used.
33866
286abc3d
CM
338672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33868
33869 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33870
477cc68e
L
338712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33872
33873 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33874 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33875
1a0994f5
CD
338762012-05-17 Andreas Jaeger <aj@suse.de>
33877 Carlos O'Donell <carlos_odonell@mentor.com>
33878
33879 [BZ #14059]
33880 * sysdeps/x86_64/multiarch/init-arch.h
33881 (bit_YMM_Usable): Rename to...
33882 (bit_AVX_Usable): ... this.
33883 (bit_FMA4_Usable): New macro.
33884 (bit_XMM_state): New macro.
33885 (bit_YMM_state): New macro.
33886 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33887 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33888 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33889 (CPUID_OSXSAVE): New macro.
33890 (CPUID_AVX): New macro.
33891 (CPUID_FMA4): New macro.
33892 (index_YMM_Usable): Rename to...
33893 (index_AVX_Usable): ... this.
33894 (HAS_AVX): Use HAS_ARCH_FEATURE.
33895 (HAS_FMA4): Likewise.
33896 (HAS_YMM_USABLE): Remove.
33897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33898 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33899 are present.
33900 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33901 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33902 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33903 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33904 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33905
0af797de
CM
339062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33907
33908 * math/libm-test.c: Support platforms without multiple rounding modes.
33909 * math/bug-nextafter.c: Support platforms without FP exceptions.
33910 * math/bug-nexttoward.c: Likewise.
33911 * math/test-fenv.c: Likewise.
33912 * math/test-misc.c: Likewise.
33913 * stdlib/bug-getcontext.c: Likewise.
33914
e39745ff
AJ
339152012-05-17 Andreas Jaeger <aj@suse.de>
33916
33917 * manual/examples/search.c (critter_cmp): Change signature to
33918 avoid warnings.
33919 * manual/string.texi (Collation Functions): Likewise.
33920
48970aba
L
339212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33922
33923 * bits/types.h: Fold copyright years.
33924 * bits/typesizes.h: Likewise.
33925 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33926 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33929 * time/time.h: Likewise.
33930
bedee953
PP
339312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33932
33933 [BZ #208]
33934 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33935 in instead of returning them. Return void.
33936 (__libc_mallinfo): Accumulate over all arenas.
33937 (__malloc_stats): Adjust for change in int_mallinfo interface.
33938
61653dfb
RM
339392012-05-16 Roland McGrath <roland@hack.frob.com>
33940
30b99d79
RM
33941 [BZ #10375]
33942 * configure.in (NM): Add AC_CHECK_TOOL for it.
33943 (libc_extra_cflags): New substituted variable.
33944 Check for -fstack-protector being used implicitly.
33945 * configure: Regenerated.
33946 * config.make.in (config-extra-cflags): New variable,
33947 gets @libc_extra_cflags@.
33948 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33949
61653dfb
RM
33950 [BZ #10375]
33951 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33952 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33953 * configure: Regenerated.
33954 * config.make.in (CPPUNDEFS): New substituted variable.
33955 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33956 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33957 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33958
661768bb
L
339592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33960
33961 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33962 (mq_attr): Use __syscall_slong_t.
33963
d4261567
L
339642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33965
33966 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33967 Check __x86_64__ instead of __WORDSIZE.
33968 (_STAT_VER_LINUX): Likewise.
33969 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33970 __syscall_ulong_t and __syscall_slong_t.
33971 (stat64): Likewise.
33972
cf3ff365
L
339732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33974
33975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33976
76cf3e4d
L
339772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33978
33979 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33980
a637753a
L
339812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33982
33983 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33984 __syscall_ulong_t.
33985
d5e05119
L
33986 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33987 include <bits/wordsize.h>. Check __x86_64__ instead of
33988 __WORDSIZE.
33989 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33990 defined.
33991 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33992
f62ee380
L
33993 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33994 include <bits/wordsize.h>. Check __x86_64__ instead of
33995 __WORDSIZE.
33996 (user_regs_struct): Use "__extension__ unsigned long long"
33997 instead of "unsigned long" if __x86_64__ is defined.
33998 (user): Likewise. Pad after pointer field if __ILP32__ is
33999 defined.
34000
4e124ced
JM
340012012-05-16 Joseph Myers <joseph@codesourcery.com>
34002
6a3951a0
JM
34003 * configure.in (makeinfo): Require version 4.5 or later. Allow
34004 versions 5 to 9.
34005 * configure: Regenerated.
34006 * manual/install.texi (texinfo): Increase version requirement to
34007 4.5 or later.
34008 * INSTALL: Regenerated.
34009
4e124ced
JM
34010 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34011
953ca31a
L
340122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34013
34014 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34015
617aca05
L
34016 * sysdeps/x86_64/x32/ffs.c: New file.
34017
5762f7ae
L
34018 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34019 __syscall_ulong_t.
34020 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34021 defined. Use __syscall_ulong_t.
34022 (shminfo): Use __syscall_ulong_t.
34023 (shm_info): Likewise.
34024
a26b6856
L
34025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34026 __syscall_ulong_t.
34027
cb2b9ef7
L
34028 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34029 <bits/wordsize.h>.
34030 (msgqnum_t): Use __syscall_ulong_t.
34031 (msglen_t): Likewise.
34032 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34033 __syscall_ulong_t.
34034
34683bb0
L
34035 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34036 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34037
84a68786
L
34038 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34039
48baa5f1
L
34040 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34041 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34042
180be88b
L
34043 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34044 __syscall_slong_t.
34045
5e90c8ad
L
34046 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34047 include <bits/wordsize.h>. Check __x86_64__ instead of
34048 __WORDSIZE.
34049
23dfb58b
L
34050 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34051 "unsigned long long int" if __x86_64__ is defined.
34052 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34053
ce5d54b0
L
34054 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34055 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34056 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34057
13dc9eac
L
34058 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34059 <stdint.h>.
34060 (GET_PC): Cast to uintptr_t first.
34061 (GET_FRAME): Likewise.
34062 (GET_STACK): Likewise.
34063
a7895d15
L
34064 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34065 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34066 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34067 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34068 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34069 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34071 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34072 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34073 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34074 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34075 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34077 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34079 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34080 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34081 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34085 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34086 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34087 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34088 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34089 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34091 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34093
656416c9
AS
340942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34095
5bd66283
AS
34096 * Makerules (+depfiles): Also collect depfiles from .oS in
34097 $(extra-objs).
34098 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34099 .oS, $(libnldbl-routines)).
34100
656416c9
AS
34101 * Makerules (native-compile-mkdep-flags): Define.
34102 * sunrpc/Makefile (extra-objs): Add $(addprefix
34103 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34104 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34105 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34106 calling $(make-target-directory).
34107
a46f2169
L
341082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34109
34110 * bits/types.h (__snseconds_t): Removed.
34111 * time/time.h (struct timespec): Replace __snseconds_t with
34112 __syscall_slong_t.
34113 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34114 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34115 Likewise.
34116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34117 (__SNSECONDS_T_TYPE): Likewise.
34118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34119 (__SNSECONDS_T_TYPE): Likewise.
34120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34121 (__SNSECONDS_T_TYPE): Likewise.
34122
6af6528b
L
341232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34124
34125 * sysdeps/mach/hurd/bits/typesizes.h
34126 (__SYSCALL_SLONG_TYPE): New macro.
34127 (__SYSCALL_ULONG_TYPE): Likewise.
34128
de986b56
L
341292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34130
34131 * bits/types.h (__syscall_slong_t): New type.
34132 (__syscall_ulong_t): Likewise.
34133
34134 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34135 (__SYSCALL_ULONG_TYPE): Likewise.
34136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34137 (__SYSCALL_SLONG_TYPE): Likewise.
34138 (__SYSCALL_ULONG_TYPE): Likewise.
34139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34140 (__SYSCALL_SLONG_TYPE): Likewise.
34141 (__SYSCALL_ULONG_TYPE): Likewise.
34142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34143 (__SYSCALL_SLONG_TYPE): Likewise.
34144 (__SYSCALL_ULONG_TYPE): Likewise.
34145
85736dc7
L
341462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34147
34148 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34149 Add sigaltstack-offsets.sym.
34150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34151 <sigaltstack-offsets.h>.
34152 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34153 longjmp_msg pointer.
34154 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34155 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34156 signal stack.
34157 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34158
cc03b296
JM
341592012-05-15 Joseph Myers <joseph@codesourcery.com>
34160
a9538892
JM
34161 * elf/stackguard-macros.h: Remove file.
34162 * sysdeps/generic/stackguard-macros.h: New file.
34163 * sysdeps/i386/stackguard-macros.h: Likewise.
34164 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34165 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34166 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34167 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34168 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34169 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34170 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34171 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34172 <elf/stackguard-macros.h>.
34173
cc03b296
JM
34174 [BZ #14109]
34175 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34176 __aligned__ in attribute.
34177 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34178 (gregset_t): Likewise.
34179
93171016
L
341802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34181
34182 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34183 * sysdeps/x86_64/64/Implies-after: Here. New file.
34184 * sysdeps/x86_64/x32/Implies-after: New file.
34185
d86813a0
L
341862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34187
34188 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34189 and access return value for _dl_profile_fixup. Use R10_LP to
34190 load frame size.
34191
2953ec75
L
341922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34193
34194 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34195
3b550e9e
L
341962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34197
34198 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34199 * sysdeps/x86_64/x32/sysdep.h: New file.
34200
eda41706
L
342012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34202
34203 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34204 * sysdeps/x86_64/setjmp.S: Likewise.
34205
9ea01d93
AZ
342062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34207
34208 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34210 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34211 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34212 remove unused global constant.
34213
02a91938
CM
342142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34215
34216 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34217 include of <not-cancel.h>.
34218
6540185f
RM
342192012-05-15 Roland McGrath <roland@hack.frob.com>
34220
34221 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34222
509072a0
AJ
342232012-05-15 Jeff Law <law@redhat.com>
34224 Andreas Jaeger <aj@suse.de>
34225
34226 [BZ #13594]
34227 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34228 out from...
34229 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34230 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34231 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34232 code changing __hst_map_handle.map.
34233
ba75122d
RM
342342012-05-15 Roland McGrath <roland@hack.frob.com>
34235
34236 * configure.in (sysnames): Look for Implies-before and Implies-after
34237 files.
34238 * configure: Regenerated.
34239
890d8bd8
L
342402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34243 8-byte data alignment with LP_SIZE alignment.
34244
f6ee6623
L
342452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34246
34247 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34248 into R10_LP.
34249
ea2626f6
L
342502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34251
34252 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34253
085f715e
L
342542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34255
34256 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34257 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34258 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34259 Likewise.
34260 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34261
be8498fc
L
342622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34263
34264 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34265 (stackinfo_sub_sp): Likewise.
34266
70bc83b9
L
342672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34268
34269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34270 RAX_LP.
34271
9bc0b730
L
342722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34273
34274 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34275 into R*_LP.
34276
6d2850e7
L
342772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34278
34279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34280 sizes into R*_LP.
34281
3cb84561
L
342822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34285
54e2ed81
L
342862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34287
34288 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34289 into R11_LP and load __x86_64_shared_cache_size_half into
34290 R8_LP.
34291
8a17f349
L
342922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34293
34294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34295 R8_LP.
34296
777b1eea
AZ
342972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34298
34299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34300 logb for POWER7.
34301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34302 logbf for POWER7.
34303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34304 logbl for POWER7.
34305 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34306 powerpc32/power7/fpu/s_logb.c via #include.
34307 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34308 powerpc32/power7/fpu/s_logbf.c via #include.
34309 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34310 powerpc32/power7/fpu/s_logbl.c via #include.
34311
d20d4ac2
JM
343122012-05-15 Joseph Myers <joseph@codesourcery.com>
34313
34314 * README.libm: Remove file.
34315
6cdef1ab
L
343162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34319 count for x32. Use R*_LP and omit operand-size suffix.
34320
0b254d8f
L
343212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34322
34323 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34324 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34325 * sysdeps/x86_64/x32/shlib-versions: New file.
34326
ceb809dc
RM
343272012-05-14 Roland McGrath <roland@hack.frob.com>
34328
34329 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34330 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34331 Use _dl_fatal_printf instead.
34332
37f1abd4
JM
343332012-05-14 Joseph Myers <joseph@codesourcery.com>
34334
34335 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34336 set if not set by the user. Do not allow for being unset.
34337 * sysdeps/unix/sysv/linux/configure: Regenerated.
34338
11de3a33
L
343392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34342 the `q' suffix from lea and replace .quad with ASM_ADDR.
34343
e02f153a
L
343442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34345
34346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34347 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34348 instead of $17.
34349 (PTR_DEMANGLE): Likewise.
34350
520ae0fd
L
343512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34352
34353 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34354 (LP_OP): Likewise.
34355 (ASM_ADDR): Likewise.
34356 (RAX_LP): Likewise.
34357 (RBP_LP): Likewise.
34358 (RBX_LP): Likewise.
34359 (RCX_LP): Likewise.
34360 (RDI_LP): Likewise.
34361 (RSI_LP): Likewise.
34362 (RSP_LP): Likewise.
34363 (R8_LP): Likewise.
34364 (R9_LP): Likewise.
34365 (R10_LP): Likewise.
34366 (R10_LP): Likewise.
34367 (R11_LP): Likewise.
34368 (R12_LP): Likewise.
34369 (R13_LP): Likewise.
34370 (R14_LP): Likewise.
34371 (R15_LP): Likewise.
34372
b985be81
L
343732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34374
34375 * sysdeps/x86_64/x32/dl-machine.h: New file.
34376
6a4888ff
AJ
343772012-05-14 Andreas Jaeger <aj@suse.de>
34378
34379 * manual/Makefile (subdir): Remove export of subdir.
34380 (all): Remove target.
34381 (.PHONY): Remove all from list.
34382 (mkinstalldirs): Remove.
34383 (.PHONY): Remove installdirs from list.
34384 ($(inst_infodir)/libc.info): Use make-target-directory.
34385 (installdirs): Remove.
34386 (subdir_%): Remove.
34387 (glibc-targets): Remove.
34388 (lib): Remove.
34389 (stubs): Remove.
34390 ($(objpfx)stubs ../po/manual.pot): Remove.
34391 ($(objpfx)stamp%): Remove.
34392 (make-target-directory): Remove.
34393 (subdir_install): Remove.
34394 (routines): Remove.
34395 (aux): Remove.
34396 (sources): Remove.
34397 (objects): Remove.
34398 (headers): Remove.
34399
34400 [BZ #13750]
34401 * manual/.gitignore: Remove, it's not needed anymore.
34402 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34403 all files in it.
34404 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34405 directory.
34406 (texis): Renamed to $(objpfx)texis.
34407 (texis-path): New, contains path to generated files.
34408 (chapters.%): Use texis-path for complete path, add extra argument
34409 libc-texinfo.sh.
34410 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34411 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34412 (summary,texi, stamp-summary): Use complete path of
34413 files. Generate files in build dir.
34414 (dir-add.texi): Build in build dir.
34415 (libm-err.texi,stamp-libm-err): Likewise.
34416 (version.texi, stamp-version): Likewise.
34417 (.%c.texi): Likewise.
34418 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34419 (mostlyclean): Remove target.
34420 (realclean): Remove target.
34421 (generated): Add new variable with contents from mostlyclean and
34422 realclean, remove entries duplicated in common-mostlyclean, add
34423 stamp-libm-err and stamp-version.
34424 (generated-dirs): Add libc directory.
34425 ($(inst_infodir)/libc.info): Install files from build dir.
34426
34427 * manual/install.texi (Configuring and compiling): Adjust since
34428 the info files are not part of the tar ball anymore.
34429
7ac77294
AJ
344302012-05-14 Andreas Jaeger <aj@suse.de>
34431
34432 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34433 variable.
34434
ffb7875d
JM
344352012-05-14 Joseph Myers <joseph@codesourcery.com>
34436
34437 [BZ #13717]
34438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34439 to 2.2.0 where earlier.
34440 * sysdeps/unix/sysv/linux/configure: Regenerated.
34441 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34442 Remove conditional code.
34443 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34444 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34445 Remove conditional code.
34446 [!__NR_lchown]: Likewise.
34447 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34448 [__NR_lchown]: Likewise.
34449 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34450 comment referencing __ASSUME_LCHOWN_SYSCALL.
34451 * sysdeps/unix/sysv/linux/i386/sigaction.c
34452 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34453 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34454 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34455 Remove conditional code.
34456 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34457 (__protocol_available): Remove #if 0 code.
34458 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34459 conditional code.
34460 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34461 * sysdeps/unix/sysv/linux/kernel-features.h
34462 (__ASSUME_GETCWD_SYSCALL): Don't define.
34463 (__ASSUME_REALTIME_SIGNALS): Likewise.
34464 (__ASSUME_PREAD_SYSCALL): Likewise.
34465 (__ASSUME_PWRITE_SYSCALL): Likewise.
34466 (__ASSUME_POLL_SYSCALL): Likewise.
34467 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34468 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34469 non-SPARC.
34470 (__ASSUME_SIOCGIFNAME): Don't define.
34471 (__ASSUME_MSG_NOSIGNAL): Likewise.
34472 (__ASSUME_SENDFILE): Define unconditionally.
34473 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34474 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34475 conditional code.
34476 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34477 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34478 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34479 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34480 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34481 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34482 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34484 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34496 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34502 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34507 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34508 Remove conditional code.
34509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34510 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34511 Remove conditional code.
34512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34513 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34514 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34515 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34516 Remove conditional code.
34517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34518 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34519 Remove conditional code.
34520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34521 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34522 Remove conditional code.
34523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34524 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34525 Remove conditional code.
34526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34527 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34528 Remove conditional code.
34529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34530 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34531 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34533 * sysdeps/unix/sysv/linux/sigaction.c
34534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34536 * sysdeps/unix/sysv/linux/sigpending.c
34537 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34538 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34539 * sysdeps/unix/sysv/linux/sigprocmask.c
34540 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34541 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34542 * sysdeps/unix/sysv/linux/sigsuspend.c
34543 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34544 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34546 (__libc_missing_rt_sigs): Remove.
34547 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34548 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34549 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34550 Remove conditional code.
34551 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34552 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34553 return 1.
34554 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34555 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34556 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34557 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34558
1bfb7291
AJ
345592012-05-14 Andreas Jaeger <aj@suse.de>
34560
caae5a81
AJ
34561 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34562 it's not used in glibc.
34563 (__coshm1): Likewise.
34564 (__acosh1p): Likewise.
34565 (__sgn): Likewise.
34566
1bfb7291
AJ
34567 * manual/string.texi (Copying and Concatenation): Add missing
34568 variable in concat example.
34569 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34570
c044d724
L
345712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34572
144c5467 34573 [BZ #14103]
c044d724
L
34574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34575 __builtin_clzl with __builtin_clzll.
34576
2523c62b
L
345772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34578
34579 [BZ #14104]
34580 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34581 libc_freeres_ptr.
34582
d7bb4c42
LD
345832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34584
34585 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34586 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34587 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34588 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34589
9dc4e1fb
MF
345902012-05-14 Mike Frysinger <vapier@gentoo.org>
34591
34592 * NEWS: Update ia64 info.
34593
c7df0112
AS
345942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34595
34596 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34597 used as bcopy.
34598
dc70356c
TS
345992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34600
34601 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34602 * sysdeps/unix/syscalls.list (dup3): Likewise.
34603 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34604 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34605
9fb1a21f
L
346062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34607
34608 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34609 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34610
4822a2a5
L
346112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34612
34613 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34614 thread pointer.
34615 (TLS_IE): Use mov/add instead of movq/addq to load thread
34616 pointer.
34617 (TLS_GD_PREFIX): New.
34618 (TLS_GD): Use it.
34619
842b81d6
DM
346202012-05-11 David S. Miller <davem@davemloft.net>
34621
34622 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34623 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34624 (_FPU_SETCW): Likewise.
34625
1cf463cd
L
346262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34627
34628 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34629 is 32-byte aligned.
34630
60cc4a18
AS
346312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34632
34633 [BZ #11837]
34634 * iconvdata/gb18030.c: Update tables.
34635 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34636 characters specially.
34637 (BODY for TO_LOOP): Add encoding of missing ranges.
34638
febb44a4
TS
346392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34640
34641 [BZ #13673]
34642 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34643 * sysdeps/mach/hurd/dup3.c: Likewise.
34644 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34645 * sysdeps/powerpc/memmove.c:: Likewise.
34646
0a10fb9e
L
346472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34648
34649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34650 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34651
df8a552f
L
346522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34653
34654 * elf/elf.h (R_X86_64_RELATIVE64): New.
34655 (R_X86_64_NUM): Updated.
34656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34657 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34658 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34659 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34660 tst-quad1pie tst-quad2pie
34661 (modules-names): Add tst-quadmod1 tst-quadmod2.
34662 ($(objpfx)tst-quad1): New dependency.
34663 ($(objpfx)tst-quad2): Likewise.
34664 ($(objpfx)tst-quad1pie): Likewise.
34665 ($(objpfx)tst-quad2pie): Likewise.
34666 * sysdeps/x86_64/tst-quad1.c: New file.
34667 * sysdeps/x86_64/tst-quad1pie.c: New file.
34668 * sysdeps/x86_64/tst-quad2.c: Likewise.
34669 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34670 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34671 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34672 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34673 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34674
f34d6f84
ST
346752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34676
f42d41d1
ST
34677 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34678 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34679 * streams/stropts.h (t_scalar_t): Define type.
34680
3c3571fc
ST
34681 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34682 (_PATH_PRESERVE): Set to "/var/lib".
34683 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34684
61f06bd3
ST
34685 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34686 instead of int.
34687
918d4d71
ST
34688 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34689 if __dir_mkfile succeeded.
34690
f34d6f84
ST
34691 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34692 checking for _hurd_dtablesize. Unlock it right after having
34693 finished _hurd_dtable allocation.
34694
10589b4a
TS
346952012-05-10 Thomas Schwinge <thomas@schwinge.name>
34696
674cdbc7
TS
34697 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34698 * sysdeps/mach/hurd/configure: Regenerated.
34699 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34700 special-casing to...
34701 * sysdeps/gnu/configure.in: ... this new file.
34702 * sysdeps/unix/sysv/linux/configure: Regenerated.
34703 * sysdeps/gnu/configure: New generated file.
34704
8e41b99f
TS
34705 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34706 for Linux: use nsec instead of usec, as well as:
34707 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34708 members of type struct timespec.
34709 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34710 New macros.
34711 (struct stat64): Likewise.
34712 (_STATBUF_ST_NSEC): New macro.
34713 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34714
10589b4a
TS
34715 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34716 __strtoul_internal rather than strtoul.
34717
63643c85
PT
347182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34719
34720 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34721 and reject them.
34722
3faebe6a
ST
347232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34724
34725 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34726 which preserves existing values.
34727 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34728
c6474b07
PT
347292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34730
34731 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34732 TIMEOUT values. Return EINVAL for NFDS values either negative or
34733 greater than FD_SETSIZE.
34734
1043890b
ST
347352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34736
34737 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34738 allocated, call __vm_protect to finish enabling the existing space, and
34739 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34740 allocate the remainder.
34741
37ed8b9b
PT
347422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34743
34744 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34745 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34746
db653660
ST
347472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34748
37ed8b9b
PT
34749 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34750 sysdeps/mach/hurd/readlink.c.
b29d4053 34751
db653660
ST
34752 * posix/tst-sysconf.c (posix_options): Only use
34753 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34754 _POSIX_SYNCHRONIZED_IO when they are defined
34755 * sysdeps/mach/hurd/bits/posix_opt.h:
34756 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34757 (_XOPEN_REALTIME): Undefine macro.
34758 (_XOPEN_REALTIME_THREADS): Undefine macro.
34759 (_XOPEN_SHM): Undefine macro.
34760 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34761 macro to -1.
34762 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34763 macro to -1.
34764 (_POSIX_ASYNC_IO): Undefine macro.
34765 (_POSIX_PRIORITIZED_IO): Undefine macro.
34766 (_POSIX_SPIN_LOCKS): Define macro to -1.
34767
ee16e894
ST
34768 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34769 SA_NODEFER, SA_RESETHAND.
34770 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34771 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34772 F_DUPFD_CLOEXEC.
34773
6103ae3b
TS
347742012-05-10 Thomas Schwinge <thomas@schwinge.name>
34775
34776 * elf/Makefile (pldd-modules): Define unconditionally.
34777
80b4e5f3
TS
347782012-05-10 Thomas Schwinge <thomas@schwinge.name>
34779
34780 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34781
edadcbd6
ST
347822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34783
34784 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34785 Return ENOENT when name is empty.
34786 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34787
80694780
TS
347882012-05-10 Thomas Schwinge <thomas@schwinge.name>
34789
1792c087
TS
34790 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34791
80694780
TS
34792 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34793
6b645f0d
ST
347942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34795
80694780
TS
34796 Fix mlock in all cases except non-readable pages.
34797 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34798 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34799
6b645f0d
ST
34800 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34801 (__mkdir): When path is `/', just fail with EEXIST.
34802 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34803
e468f8a3
TS
348042012-05-10 Thomas Schwinge <thomas@schwinge.name>
34805
34806 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34807 <sys/uio.h> (for writev).
34808 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34809 and <sys/param.h> (for MIN).
34810
a4186cff
PT
348112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34812
34813 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34814 REQUESTED_TIME. Properly set the remaining time and return EINTR
34815 if interrupted.
34816
510bbf14
TS
348172012-05-10 Thomas Schwinge <thomas@schwinge.name>
34818
34819 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34820 Depend on against $(link-rpcuserlibs).
34821
5d5722e8
ST
348222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34823
a4186cff
PT
34824 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34825 (__libc_stack_end): Do not use attribute_relro.
34826 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34827 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34828 to libthread-provided value.
a4186cff
PT
34829 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34830 attribute_relro.
5d5722e8 34831
37233df9
TS
348322012-05-10 Thomas Schwinge <thomas@schwinge.name>
34833
be971a2b
TS
34834 [BZ #3748]
34835 * bits/libc-lock.h (__libc_once_get): New macro.
34836 * sysdeps/mach/bits/libc-lock.h: Likewise.
34837 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34839 instead of using implementation details.
34840
37233df9
TS
34841 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34842 * libio/freopen.c: Likewise.
34843 * libio/freopen64.c: Likewise.
34844 * misc/syslog.c: Likewise.
34845 * nscd/connections.c: Likewise.
34846 * nscd/netgroupcache.c: Likewise.
34847 * sysdeps/posix/getcwd.c: Likewise.
34848
38de94a5
RM
348492012-05-10 Roland McGrath <roland@hack.frob.com>
34850
34851 * math/w_ilogbf.c: Add #include <limits.h>.
34852
67530489
ST
348532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34854
a4186cff 34855 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34856 path instead of returning without unlocking.
34857
67530489
ST
34858 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34859 immediate-write ioctls.
34860 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34861
5aa3a74a
TS
348622012-05-10 Thomas Schwinge <thomas@schwinge.name>
34863
18bad2ae
TS
34864 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34865 __builtin_frame_address instead of making assumptions about the
34866 location of the return address relative to DATA. Force early load of
34867 the return address.
34868 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34869 __builtin_frame_address.
34870
5aa3a74a
TS
34871 dup3 for GNU Hurd.
34872 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34873 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34874 implement dup3 and do some further code clean-ups.
34875 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34876 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34877
ecd0de9a
ST
348782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34879
cd9fa985
ST
34880 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34881
a4186cff
PT
34882 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34883 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34884 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34885 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34886 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34887 d->port.lock.
802ca5a5 34888
a4186cff
PT
34889 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34890 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34891 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34892
bcf55240
TS
348932012-05-10 Thomas Schwinge <thomas@schwinge.name>
34894
6960eb42
TS
34895 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34896 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34897 definitions.
34898
eb43375f
TS
34899 accept4 for GNU Hurd.
34900 * include/sys/socket.h (__libc_accept4): New prototype.
34901 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34902 to implement __libc_accept4.
34903 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34904 __libc_accept4.
34905 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34906
bcf55240
TS
34907 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34908 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34909 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34910 signal-defines.sym.
34911
6178c55b
ST
349122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34913
a4186cff 34914 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34915
6f080c2f
TS
349162012-05-10 Thomas Schwinge <thomas@schwinge.name>
34917
34918 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34919 assertion on O_CLOEXEC flag.
34920 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34921 * hurd/intern-fd.c: Likewise.
34922 * hurd/port2fd.c: Likewise.
34923
bcfe3a54
ST
349242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34925
34926 [BZ #3906]
34927 * bits/in.h (IPV6_PKTINFO): Define new macro.
34928 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34929
89c9aa49
AZ
349302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34931
34932 [BZ #13954]
34933 [BZ #13955]
34934 [BZ #13956]
34935 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34937 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34938 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34940 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34941 * math/libm-test.inc (logb_test) : Additional logb tests.
34942
021db4be
AJ
349432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34944 Andreas Jaeger <aj@suse.de>
34945
34946 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34947 * configure: Regenerated.
34948 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34949 * config.make.in (link-obsolete-rpc): New substituted variable.
34950 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34951 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34952 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34953 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34954 so that libc.a contains the symbols.
34955 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34956 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34957 * sunrpc/auth_none.c: Likewise.
34958 * sunrpc/auth_unix.c: Likewise.
34959 * sunrpc/authdes_prot.c: Likewise.
34960 * sunrpc/authuxprot.c: Likewise.
34961 * sunrpc/clnt_gen.c: Likewise.
34962 * sunrpc/clnt_perr.c: Likewise.
34963 * sunrpc/clnt_raw.c: Likewise.
34964 * sunrpc/clnt_simp.c: Likewise.
34965 * sunrpc/clnt_tcp.c: Likewise.
34966 * sunrpc/clnt_udp.c: Likewise.
34967 * sunrpc/clnt_unix.c: Likewise.
34968 * sunrpc/des_crypt.c: Likewise.
34969 * sunrpc/des_soft.c: Likewise.
34970 * sunrpc/get_myaddr.c: Likewise.
34971 * sunrpc/key_call.c: Likewise.
34972 * sunrpc/key_prot.c: Likewise.
34973 * sunrpc/netname.c: Likewise.
34974 * sunrpc/pm_getmaps.c: Likewise.
34975 * sunrpc/pm_getport.c: Likewise.
34976 * sunrpc/pmap_clnt.c: Likewise.
34977 * sunrpc/pmap_prot.c: Likewise.
34978 * sunrpc/pmap_prot2.c: Likewise.
34979 * sunrpc/pmap_rmt.c: Likewise.
34980 * sunrpc/publickey.c: Likewise.
34981 * sunrpc/rpc_cmsg.c: Likewise.
34982 * sunrpc/rpc_common.c: Likewise.
34983 * sunrpc/rpc_dtable.c: Likewise.
34984 * sunrpc/rpc_prot.c: Likewise.
34985 * sunrpc/rpc_thread.c: Likewise.
34986 * sunrpc/rtime.c: Likewise.
34987 * sunrpc/svc.c: Likewise.
34988 * sunrpc/svc_auth.c: Likewise.
34989 * sunrpc/svc_raw.c: Likewise.
34990 * sunrpc/svc_run.c: Likewise.
34991 * sunrpc/svc_tcp.c: Likewise.
34992 * sunrpc/svc_udp.c: Likewise.
34993 * sunrpc/svc_unix.c: Likewise.
34994 * sunrpc/svcauth_des.c: Likewise.
34995 * sunrpc/xcrypt.c: Likewise.
34996 * sunrpc/xdr.c: Likewise.
34997 * sunrpc/xdr_array.c: Likewise.
34998 * sunrpc/xdr_float.c: Likewise.
34999 * sunrpc/xdr_intXX_t.c: Likewise.
35000 * sunrpc/xdr_mem.c: Likewise.
35001 * sunrpc/xdr_rec.c: Likewise.
35002 * sunrpc/xdr_ref.c: Likewise.
35003 * sunrpc/xdr_sizeof.c: Likewise.
35004 * sunrpc/xdr_stdio.c: Likewise.
35005
b5c086a2
RM
350062012-05-10 Roland McGrath <roland@hack.frob.com>
35007
35008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35009 change. Update copyright years.
35010
6d74dd09
JM
350112012-05-10 Joseph Myers <joseph@codesourcery.com>
35012
35013 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35014
28e72501
MK
350152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35016 Joseph Myers <joseph@codesourcery.com>
35017 Paul Pluzhnikov <ppluzhnikov@google.com>
35018
35019 [BZ #14012]
35020 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35021 requiring rpcgen.
35022 [cross-compiling] (extra-libs): Likewise.
35023 [cross-compiling] (extra-libs-others): Likewise.
35024 [cross-compiling] (librpcsvc-routines): Likewise.
35025 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35026 [cross-compiling] (omit-deps): Likewise.
35027 (sunrpc-CPPFLAGS): New variable.
35028 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35029 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35030 (cross-rpcgen-objs): New variable.
35031 (extra-objs): Append $(cross-rpcgen-objs).
35032 ($(cross-rpcgen-objs)): New rule.
35033 ($(objpfx)cross-rpcgen): Likewise.
35034 (rpcgen-cmd): Define to use $(built-program-file). Expand
35035 comment.
35036 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35037 ($(objpfx)x%.stmp): Likewise.
35038 * sunrpc/proto.h [IS_IN_build] (_): Define.
35039 [IS_IN_build] (_libc_intl_domainname): Likewise.
35040
c8c59454
L
350412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35042
35043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35044 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35045 and R_X86_64_TPOFF64.
35046
6f27cd16
JM
350472012-05-10 Joseph Myers <joseph@codesourcery.com>
35048
35049 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35050 sysdeps/unix/sysv/syscalls.list.
35051 (stime): Likewise.
35052 (utime): Likewise.
35053 * sysdeps/unix/sysv/syscalls.list: Remove file.
35054
02467e1c
PE
350552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35056
35057 [BZ #3440]
35058 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35059 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35060 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35061 (__LC_IDENTIFICATION): Make these macros useful in #if
35062 expressions, as required by C99.
35063
da392631
AS
350642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35065
35066 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35067 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35068 after this.
35069
8115f29b
L
350702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35071
35072 * stdlib/longlong.h: Updated from GCC.
35073
bdd74070
AJ
350742012-05-09 Andreas Jaeger <aj@suse.de>
35075
edfe0dbe
AJ
35076 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35077 default is first entry.
35078 (run_mode): Set type.
35079 (main): Remove informal message about syslog.
35080 (options): Fix typo.
35081
bcfe3a54
ST
35082 [BZ #14053]
35083 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35084 to asm.
bcfe3a54
ST
35085 (lrint): Likewise.
35086 (llrintf): Likewise.
35087 (llrint): Likewise.
35088 (rint): Likewise.
35089 (rintf): Likewise.
35090 (nearbyint): Likewise.
35091 (nearbyintf): Likewise.
bdd74070 35092
91d8d69e
AJ
350932012-05-09 Andreas Jaeger <aj@suse.de>
35094 Pedro Alves <palves@redhat.com>
35095
35096 * nscd/nscd.c (run_mode): Use enum.
35097 (main): Cleanup coding style issue.
35098
bb90b80b
AJ
350992012-05-09 Alexandre Oliva <aoliva@redhat.com>
35100 Andreas Jaeger <aj@suse.de>
35101
bcfe3a54
ST
35102 * nscd/nscd.c (go_background): Replaced with...
35103 (run_mode): ... this.
bb90b80b 35104 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35105 (options): Add -F --foreground.
35106 (main): Implement it.
35107 (parse_opt): Parse it.
bb90b80b 35108
1a4b75a1
AJ
351092012-05-09 Andreas Jaeger <aj@suse.de>
35110
35111 [BZ #14083]
35112 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35113 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35114 -Wconversion warning.
35115 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35116 Likewise.
35117
b1cc2472
JM
351182012-05-09 Joseph Myers <joseph@codesourcery.com>
35119
35120 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35121 == 0.
35122 (LC_ALL): Use macro-int-constant.
35123 (LC_COLLATE): Likewise.
35124 (LC_CTYPE): Likewise.
35125 (LC_MESSAGES): Likewise.
35126 (LC_MONETARY): Likewise.
35127 (LC_NUMERIC): Likewise.
35128 (LC_TIME): Likewise.
35129 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35130 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35132 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35133 Specify type.
35134 [C99-based standards] (float_t): Expect type.
35135 [C99-based standards] (double_t): Expect type.
35136 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35137 type.
35138 [C99-based standards] (HUGE_VALL): Likewise.
35139 [C99-based standards] (INFINITY): Likewise.
35140 [C99-based standards] (NAN): Likewise.
35141 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35142 [C99-based standards] (FP_NAN): Likewise.
35143 [C99-based standards] (FP_NORMAL): Likewise.
35144 [C99-based standards] (FP_SUBNORMAL): Likewise.
35145 [C99-based standards] (FP_ZERO): Likewise.
35146 [C99-based standards] (FP_FAST_FMA): Use
35147 optional-macro-int-constant. Specify type. Require == 1.
35148 [C99-based standards] (FP_FAST_FMAF): Likewise.
35149 [C99-based standards] (FP_FAST_FMAL): Likewise.
35150 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35151 [C99-based standards] (FP_ILOGBNAN): Likewise.
35152 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35153 Specify type.
35154 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35155 [C99-based standards] (math_errhandling): Specify type.
35156 [ISO99 || ISO11] (signgam): Do not allow.
35157 [non-C99-based standards] (copysignf): Do not allow.
35158 [non-C99-based standards] (exp2f): Likewise.
35159 [non-C99-based standards] (log2f): Likewise.
35160 [non-C99-based standards] (modff): Allow.
35161 [non-C99-based standards] (erff): Do not allow.
35162 [non-C99-based standards] (erfcf): Likewise.
35163 [non-C99-based standards] (gammaf): Likewise.
35164 [non-C99-based standards] (hypotf): Likewise.
35165 [non-C99-based standards] (j0f): Likewise.
35166 [non-C99-based standards] (j1f): Likewise.
35167 [non-C99-based standards] (jnf): Likewise.
35168 [non-C99-based standards] (lgammaf): Likewise.
35169 [non-C99-based standards] (tgammaf): Likewise.
35170 [non-C99-based standards] (y0f): Likewise.
35171 [non-C99-based standards] (y1f): Likewise.
35172 [non-C99-based standards] (ynf): Likewise.
35173 [non-C99-based standards] (isnanf): Likewise.
35174 [non-C99-based standards] (acoshf): Likewise.
35175 [non-C99-based standards] (asinhf): Likewise.
35176 [non-C99-based standards] (atanhf): Likewise.
35177 [non-C99-based standards] (cbrtf): Likewise.
35178 [non-C99-based standards] (expm1f): Likewise.
35179 [non-C99-based standards] (ilogbf): Likewise.
35180 [non-C99-based standards] (log1pf): Likewise.
35181 [non-C99-based standards] (logbf): Likewise.
35182 [non-C99-based standards] (nextafterf): Likewise.
35183 [non-C99-based standards] (remainderf): Likewise.
35184 [non-C99-based standards] (rintf): Likewise.
35185 [non-C99-based standards] (scalbf): Likewise.
35186 [non-C99-based standards] (copysignl): Likewise.
35187 [non-C99-based standards] (exp2l): Likewise.
35188 [non-C99-based standards] (log2l): Likewise.
35189 [non-C99-based standards] (modfl): Allow.
35190 [non-C99-based standards] (erfl): Do not allow.
35191 [non-C99-based standards] (erfcl): Likewise.
35192 [non-C99-based standards] (gammal): Likewise.
35193 [non-C99-based standards] (hypotl): Likewise.
35194 [non-C99-based standards] (j0l): Likewise.
35195 [non-C99-based standards] (j1l): Likewise.
35196 [non-C99-based standards] (jnl): Likewise.
35197 [non-C99-based standards] (lgammal): Likewise.
35198 [non-C99-based standards] (tgammal): Likewise.
35199 [non-C99-based standards] (y0l): Likewise.
35200 [non-C99-based standards] (y1l): Likewise.
35201 [non-C99-based standards] (ynl): Likewise.
35202 [non-C99-based standards] (isnanl): Likewise.
35203 [non-C99-based standards] (acoshl): Likewise.
35204 [non-C99-based standards] (asinhl): Likewise.
35205 [non-C99-based standards] (atanhl): Likewise.
35206 [non-C99-based standards] (cbrtl): Likewise.
35207 [non-C99-based standards] (expm1l): Likewise.
35208 [non-C99-based standards] (ilogbl): Likewise.
35209 [non-C99-based standards] (log1pl): Likewise.
35210 [non-C99-based standards] (logbl): Likewise.
35211 [non-C99-based standards] (nextafterl): Likewise.
35212 [non-C99-based standards] (remainderl): Likewise.
35213 [non-C99-based standards] (rintl): Likewise.
35214 [non-C99-based standards] (scalbl): Likewise.
35215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35216 [non-C99-based standards] (FP_*): Do not allow.
35217 [C99-based standards] (FP_*): Change to
35218 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35219 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35220 allow.
35221 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35222 (SIG_ERR): Likewise.
35223 [X/Open-based standards] (SIG_HOLD): Likewise.
35224 (SIG_IGN): Likewise.
35225 (SIGABRT): Use macro-int-constant. Specify type. Require
35226 positive value.
35227 (SIGFPE): Likewise.
35228 (SIGILL): Likewise.
35229 (SIGINT): Likewise.
35230 (SIGSEGV): Likewise.
35231 (SIGTER): Likewise.
35232 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35239 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35246 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35250 [X/Open-based standards] (SIGTRAP): Likewise.
35251 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35252 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35253 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35254 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35255 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35256 allow.
35257
b9f1922d
IW
352582012-05-08 Ian Wienand <ianw@vmware.com>
35259
35260 [BZ #14080]
35261 * time/tzset.c (__tzset_parse_tz): Update default rules for
35262 daylight time changes in the Energy Policy Act of 2005.
35263
1db86e88
AJ
352642012-05-09 Andreas Jaeger <aj@suse.de>
35265
35266 [BZ #13983]
35267 * elf/ldconfig.c (parse_conf): Change string to make clear that
35268 ldconfig only issued a warning if ld.so.conf does not exist.
35269
dee4a4e3
DM
352702012-05-08 David S. Miller <davem@davemloft.net>
35271
ee0db190
DM
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35273 movxtod instead of popping the value on the stack.
35274
dee4a4e3
DM
35275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35276
6a43ec98
CD
352772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35278
35279 * config.h.in: Add HAVE_ARM_PCS_VFP.
35280
05c2c961
RMG
352812012-05-08 Roland Mc Grath <roland@hack.frob.com>
35282
bcfe3a54
ST
35283 [BZ #13979]
35284 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35285 checking but the checks are disabled for any reason.
05c2c961 35286
4b30f61a
L
352872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35288
35289 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35290 and ELF64_R_TYPE with ELFW(R_TYPE).
35291
eee2bc67
JM
352922012-05-08 Joseph Myers <joseph@codesourcery.com>
35293
7ea5391a
JM
35294 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35295 (ulimit): Likewise.
35296
eee2bc67
JM
35297 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35298 (settimeofday): Likewise.
35299
abb66a67
MF
353002012-05-08 Mike Frysinger <vapier@gentoo.org>
35301
35302 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35303 a struct th_u2 inside the union, and move tu_block/tu_code into
35304 a new th_u3 union of tu_block/tu_code inside of that. Move
35305 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35306 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35307 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35308 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35309 (th_stuff): Change to th_u1.tu_stuff.
35310 (th_data): Define.
35311 (th_msg): Change to th_u1.th_u2.tu_data.
35312
7f18b530
DM
353132012-05-07 David S. Miller <davem@davemloft.net>
35314
05760585
DM
35315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35316
7f18b530
DM
35317 [BZ #14074]
35318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35319 (SETUP_PIC_REG): Use it.
35320 (SETUP_PIC_REG_LEAF): Use it.
35321
495fd99f
JM
353222012-05-07 Joseph Myers <joseph@codesourcery.com>
35323
35324 [BZ #13885]
35325 [BZ #13923]
35326 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35327 USE_AS_EXPM1L.
35328 (EXPL_FINITE): Likewise.
35329 (FLDLOG): Likewise.
35330 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35331 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35332 e_expl.S.
35333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35334 USE_AS_EXPM1L.
35335 (EXPL_FINITE): Likewise.
35336 (FLDLOG): Likewise.
35337 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35338 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35339 e_expl.S.
35340 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35341 test of -max_value argument for long double.
35342 * sysdeps/i386/fpu/libm-test-ulps: Update.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35344
6693d694
DM
353452012-05-06 David S. Miller <davem@davemloft.net>
35346
35347 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35348 quad soft-float symbols whose references which are compiler
35349 generated.
35350 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35351
6c23e11c
JM
353522012-05-06 Joseph Myers <joseph@codesourcery.com>
35353
d8b82cad
JM
35354 [BZ #13884]
35355 [BZ #13914]
35356 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35357 USE_AS_EXP10L.
35358 (EXPL_FINITE): Likewise.
35359 (FLDLOG): Likewise.
35360 (c0): Likewise.
35361 (c1): Likewise.
35362 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35363 Adjust comments for base varying.
35364 (__expl_finite): Change alias to EXPL_FINITE.
35365 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35366 e_expl.S.
35367 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35368 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35370 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35371 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35372 USE_AS_EXP10L.
35373 (EXPL_FINITE): Likewise.
35374 (FLDLOG): Likewise.
35375 (c0): Likewise.
35376 (c1): Likewise.
35377 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35378 Adjust comments for base varying.
35379 (__expl_finite): Change alias to EXPL_FINITE.
35380 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35381 tests for bugs.
35382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35383
6c23e11c
JM
35384 [BZ #14064]
35385 * math/libm-test.inc (check_float_internal): Correct ulp
35386 calculation for subnormal expected results.
35387
29ba805c
AJ
353882012-05-06 Andreas Jaeger <aj@suse.de>
35389
35390 * Makeconfig (+math-flags): New, set to -frounding-math.
35391 (+cflags): Add +math-flags so that all of glibc gets compiled with
35392 it.
35393
35394 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35395
7b17aeda
JM
353962012-05-05 Joseph Myers <joseph@codesourcery.com>
35397
5779f134
JM
35398 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35399 Disable one test.
35400
41498f4d
JM
35401 [BZ #13787]
35402 [BZ #13922]
35403 [BZ #14036]
35404 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35405 (__ieee754_expl): Allow for and saturate large arguments.
35406 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35407 (u_threshold): Likewise.
35408 (__exp): Call __ieee754_exp before checking for overflow and
35409 underflow.
35410 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35411 (u_threshold): Likewise.
35412 (__expf): Call __ieee754_expf before checking for overflow and
35413 underflow.
35414 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35415 (u_threshold): Likewise.
35416 (__expl): Call __ieee754_expl before checking for overflow and
35417 underflow.
35418 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35419 (__ieee754_expl): Allow for and saturate large arguments.
35420 * math/libm-test.inc (exp_test): Add another test. Do not allow
35421 missing overflow exception on overflow.
35422 (expm1_test): Do not allow missing overflow exception on overflow.
35423
6698b8bf
JM
35424 * sysdeps/i386/fpu/e_expl.c: Move to ...
35425 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35426 rather than using inline asm.
35427 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35428 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35429 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35430
7b17aeda
JM
35431 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35432 (nice): Likewise.
35433 (poll): Likewise.
35434 (signal): Likewise.
35435 (time): Likewise.
35436 (times): Likewise.
35437
f7c85819
JM
354382012-05-04 Joseph Myers <joseph@codesourcery.com>
35439
35440 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35441 sysdeps/unix/common/syscalls.list.
35442 (fchmod): Likewise.
35443 (fchown): Likewise.
35444 (ftruncate): Likewise.
35445 (getrusage): Likewise.
35446 (gettimeofday): Likewise.
35447 (setpgid): Likewise.
35448 (setregid): Likewise.
35449 (setreuid): Likewise.
35450 (sigaction): Likewise.
35451 (truncate): Likewise.
35452 (vhangup): Likewise.
35453 * sysdeps/unix/common/syscalls.list: Remove file.
35454 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35455 * sysdeps/unix/sysv/linux/Implies: Likewise.
35456
336270d0
L
354572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35458
35459 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35461 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35462 Moved to ...
35463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35464 Here.
35465 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35466 to ...
35467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35468 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35469 to ...
35470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35471 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35472 to ...
35473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35474 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35475 to ...
35476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35477 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35478 to ...
35479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35480 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35481 to ...
35482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35483 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35484 to ...
35485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35486 Here.
35487 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35488 to ...
35489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35490 Here.
35491 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35492 to ...
35493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35494 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35495 Moved to ...
35496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35497 Here.
35498 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35499 to ...
35500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35501
d128e450
JM
355022012-05-04 Joseph Myers <joseph@codesourcery.com>
35503
fa8ee516
JM
35504 * sysdeps/unix/common/bits/dirent.h: Remove file.
35505 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35506
d128e450
JM
35507 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35508 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35509 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35510 * sysdeps/unix/bsd/isatty.c: Likewise.
35511 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35512 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35513 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35514
ff8faaf0 355152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35516
62881be4 35517 [BZ #13563]
31dc8730
AZ
35518 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35519 long double comparison inaccuracies.
35520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35522
6fef930c
AS
355232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35524
35525 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35527
8f203e6c
JM
355282012-05-04 Joseph Myers <joseph@codesourcery.com>
35529
35530 [BZ #14049]
35531 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35532 nonzero digits before rounding a hex value.
35533 * stdlib/tst-strtod.c (tests): Add another test.
35534
5197d9c2
AK
355352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35536
35537 * sysdeps/s390/fpu/libm-test-ulps: Update.
35538
f0c1dedf
AJ
355392012-05-03 Andreas Jaeger <aj@suse.de>
35540
35541 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35542 does not get optimized out.
35543 (malloc_opt_barrier): New.
35544
a65ef2ae 355452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35546 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35547
2b942cb7 35548 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35549 intermediate file deletion.
2b942cb7 35550 (generated): Add .symlist files.
a65ef2ae 35551
54b71e02
JM
355522012-05-03 Joseph Myers <joseph@codesourcery.com>
35553
35554 [BZ #13775]
35555 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35556 Redirect under this condition.
35557 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35558 [__USE_GNU] (__dprintf_chk): Not under this condition.
35559 [__USE_GNU] (__vdprintf_chk): Likewise.
35560 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35561 under this condition.
35562 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35563 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35564 [__USE_XOPEN2K8] (vdprintf): Likewise.
35565 [__USE_GNU] (__dprintf_chk): Not under this condition.
35566 [__USE_GNU] (__vdprintf_chk): Likewise.
35567 [__USE_GNU] (dprintf): Likewise.
35568 [__USE_GNU] (vdprintf): Likewise.
35569
d3dfcc41
RM
355702012-05-03 Roland McGrath <roland@hack.frob.com>
35571
35572 * elf/Makefile (common-generated): Set this instead of generated for
35573 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35574 $(all-built-dso)-derived lists.
35575
7ac30cc5
AJ
355762012-05-03 Andreas Jaeger <aj@suse.de>
35577
0c51e550
AJ
35578 * sysdeps/i386/fpu/libm-test-ulps: Update.
35579
7ac30cc5
AJ
35580 * FAQ: Removed.
35581 * FAQ.in: Likewise.
35582 * scripts/gen-FAQ.pl: Likewise.
35583 * manual/install.texi (Installation): Point to online location of
35584 FAQ.
35585 * Makefile (files-for-dist): Remove FAQ.
35586 (FAQ): Remove.
35587
d4c2917f
AM
355882012-05-02 Allan McRae <allan@archlinux.org>
35589
35590 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35591 (LDFLAGS-reldepmod5.so): Likewise.
35592 (LDFLAGS-reldep6mod1.so): Likewise.
35593 (LDFLAGS-reldep6mod4.so): Likewise.
35594 (LDFLAGS-reldep8mod3.so): Likewise.
35595 (LDFLAGS-unload4mod1.so): Likewise.
35596 (LDFLAGS-unload4mod2.so): Likewise.
35597 (LDFLAGS-tst-initorder): Likewise.
35598 (LDFLAGS-tst-initordera2.so): Likewise.
35599 (LDFLAGS-tst-initordera3.so): Likewise.
35600 (LDFLAGS-tst-initordera4.so): Likewise.
35601 (LDFLAGS-tst-initorderb2.so): Likewise.
35602 (LDFLAGS-noload): Likewise.
35603 (LDFLAGS-next): Likewise.
35604 (LDFLAGS-order2mod1.so): Likewise.
35605 (LDFLAGS-order2mod2.so): Likewise.
35606 (LDFLAGS-tst-initorder2): Likewise.
35607 (LDFLAGS-tst-initorder2a.so): Likewise.
35608 (LDFLAGS-tst-initorder2b.so): Likewise.
35609 (LDFLAGS-tst-initorder2c.so): Likewise.
35610 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35611
d77f993f
DM
356122012-05-02 David S. Miller <davem@davemloft.net>
35613
35614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35615
171a70b4
PP
356162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35617
35618 [BZ #14055]
35619 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35620
0be196ad
AJ
356212012-05-02 Andreas Jaeger <aj@suse.de>
35622
35623 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35624 since we manipulate rounding mode.
35625 (CPPFLAGS-test-idouble.c): Likewise.
35626 (CPPFLAGS-test-ifloat.c): Likewise.
35627 (CFLAGS-test-ldouble.c): Likewise.
35628 (CFLAGS-test-double.c): Likewise.
35629 (CFLAGS-test-float.c): Likewise.
35630 (CFLAGS-test-misc.c): Likewise.
35631 (CFLAGS-test-test-fenv.c): Likewise.
35632
4f9d04aa
AZ
356332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35634
2b942cb7
RM
35635 [BZ #2550]
35636 [BZ #2570]
35637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35638 comparisons to determine direction to adjust input.
4f9d04aa 35639
82a79e7d
RM
356402012-05-01 Roland McGrath <roland@hack.frob.com>
35641
f5a01ca9
RM
35642 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35643 output to the target.
35644
90fe4186
RM
35645 * scripts/localplt.awk: New file.
35646 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35647 (check-localplt-CFLAGS): Variable removed.
35648 ($(all-built-dso:=.jmprel)): New static pattern rule.
35649 (generated): Add those targets.
35650 (localplt-built-dso): New variable.
35651 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35652
35653 * elf/check-localplt.c: File removed.
35654
82397ed6
RM
35655 * scripts/check-execstack.awk: New file.
35656 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35657 (check-execstack-CFLAGS): Variable removed.
35658 ($(objpfx)check-execstack.h): Target removed.
35659 ($(objpfx)execstack-default): New target.
35660 (generated): Add that instead of check-execstack.h.
35661 ($(all-built-dso:=.phdr)): New static pattern rule.
35662 (generated): Add those targets.
35663 * elf/check-execstack.c: File removed.
35664
82a79e7d
RM
35665 * scripts/check-textrel.awk: New file.
35666 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35667 (check-textrel-CFLAGS): Variable removed.
35668 (all-built-dso): Use := to define.o
35669 ($(all-built-dso:=.dyn)): New static pattern rule.
35670 (generated): Add those targets.
35671 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35672 * config.make.in (READELF): New substituted variable.
35673 * elf/check-textrel.c: File removed.
35674
62fde54f 356752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35676
615605c9
JM
35677 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35678 allow.
35679 * conform/data/ctype.h-data [C99-based standards] (isblank):
35680 Expect function.
35681 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35682 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35684 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35685 Specify type. Require positive value.
35686 (EILSEQ): Likewise.
35687 (ERANGE): Likewise.
35688 [ISO || POSIX] (EILSEQ): Do not expect.
35689 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35690 Specify type. Require positive value.
35691 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35692 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35693 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35694 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35695 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35696 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35697 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35698 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35699 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35701 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35702 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35703 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35704 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35707 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35709 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35710 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35716 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35717 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35718 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35721 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35723 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35724 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35725 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35726 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35727 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35728 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35729 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35730 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35731 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35732 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35733 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35734 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35735 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35736 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35737 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35738 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35739 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35740 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35746 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35747 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35752 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35754 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35755 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35761 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35762 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35765 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35766 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35767 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35768 Require >= 2.
35769 (FLT_ROUNDS): Expect as macro, not constant.
35770 (FLT_MANT_DIG): Use macro-int-constant.
35771 (DBL_MANT_DIG): Likewise.
35772 (LDBL_MANT_DIG): Likewise.
35773 (FLT_DIG): Likewise.
35774 (DBL_DIG): Likewise.
35775 (LDBL_DIG): Likewise.
35776 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35777 (DBL_MIN_EXP): Likewise.
35778 (LDBL_MIN_EXP): Likewise.
35779 (FLT_MAX_EXP): Use macro-int-constant.
35780 (DBL_MAX_EXP): Likewise.
35781 (LDBL_MAX_EXP): Likewise.
35782 (FLT_MAX_10_EXP): Likewise.
35783 (DBL_MAX_10_EXP): Likewise.
35784 (LDBL_MAX_10_EXP): Likewise.
35785 (FLT_MAX): Use macro-constant.
35786 (DBL_MAX): Likewise.
35787 (LDBL_MAX): Likewise.
35788 (FLT_EPSILON): Use macro-constant. Give upper bound.
35789 (DBL_EPSILON): Likewise.
35790 (LDBL_EPSILON): Likewise.
35791 (FLT_MIN): Likewise.
35792 (DBL_MIN): Likewise.
35793 (LDBL_MIN): Likewise.
35794 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35795 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35796 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35797 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35798 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35799 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35800 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35801 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35802 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35803 [ISO11] (FLT_TRUE_MIN): Likewise.
35804 [ISO11] (LDBL_TRUE_MIN): Likewise.
35805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35806 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35807 (SCHAR_MIN): Use macro-int-constant. Specify type.
35808 (SCHAR_MAX): Likewise.
35809 (UCHAR_MAX): Likewise.
35810 (CHAR_MIN): Likewise.
35811 (CHAR_MAX): Likewise.
35812 (MB_LEN_MAX): Use macro-int-constant.
35813 (SHRT_MIN): Use macro-int-constant. Specify type.
35814 (SHRT_MAX): Likewise.
35815 (USHRT_MAX): Likewise.
35816 (INT_MAX): Likewise.
35817 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35818 bound negative.
35819 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35820 bound with "U".
35821 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35822 bound with "L".
35823 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35824 bound negative. Suffix upper bound with "L".
35825 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35826 bound with "UL".
35827 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35828 Specify type.
35829 [C99-based standards] (LLONG_MAX): Likewise.
35830 [C99-based standards] (ULLONG_MAX): Likewise.
35831 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35832 == 0.
35833 [ISO11] (max_align_t): Require type.
35834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35835
c9140a62
JM
35836 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35837 from $CFLAGS, without defining away __attribute__ calls.
35838 (checknamespace): Use $CFLAGS_namespace.
35839
9af0bf29
JM
35840 * conform/conformtest.pl (@keywords): Only include C99 keywords
35841 for standards based on C99 or C11.
35842
343222a2
JM
35843 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35844 Disable tests.
35845 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35846 UNIX98]: Likewise.
35847
661f8cf0
JM
35848 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35849 usability of symbols in #if.
35850
ee74b9cb
JM
35851 * conform/conformtest.pl: If macro or constant types start
35852 "promoted:", expect the symbol to be of the following type
35853 promoted by the integer promotions.
62fde54f 35854
aafc49b3
JM
35855 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35856 in one place. Also handle "macro-constant".
35857
fefdf574
JM
35858 * conform/conformtest.pl: Only accept expected macro values with
35859 "==". Parse all "macro" lines in one place.
35860 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35861
f2d922fe
JM
35862 * conform/conformtest.pl: Handle braced types on "constant" lines
35863 instead of handling "typed-constant".
35864 * conform/data/signal.h-data: Use "constant" instead of
35865 "typed-constant".
35866
d22956c9
JM
35867 * conform/conformtest.pl: Handle "optional-" at start of lines in
35868 one place rather than duplicating several cases. Handle each
35869 format of "macro" line with initial "optional-".
35870
028e2e38
JM
35871 * conform/conformtest.pl: Only accept expected constant or
35872 optional-constant values with "==". Parse all "constant" lines in
35873 one place. Parse all "optional-constant" lines in one place.
35874 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35875 * conform/data/fmtmsg.h-data: Likewise.
35876 * conform/data/netinet/in.h-data: Likewise.
35877 * conform/data/tar.h-data: Likewise.
35878 * conform/data/limits.h-data: Use "==" form on "constant" and
35879 "optional-constant" lines.
35880
1b8f2850
JM
35881 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35882 Use -std=c99 for XOPEN2K.
35883 (@knownproblems): Remove.
35884 (newtoken): Don't check %isknown.
35885
a05a144b
JM
35886 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35887 Do not expect macro.
35888 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35900 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35901 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35918 [XPG3] (acosh): Likewise.
35919 [XPG3] (asinh): Likewise.
35920 [XPG3] (atanh): Likewise.
35921 [XPG3] (cbrt): Likewise.
35922 [XPG3] (expm1): Likewise.
35923 [XPG3] (ilogb): Likewise.
35924 [XPG3] (log1p): Likewise.
35925 [XPG3] (logb): Likewise.
35926 [XPG3] (nextafter): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35929 [XPG3] (remainder): Likewise.
35930 [XPG3] (rint): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35938 [UNIX98 || XOPEN2K] (scalb): Expect.
35939 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35940 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36076
73c5ebe3
JM
36077 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36078 _XOPEN_SOURCE_EXTENDED for XPG4.
36079
39c33b6c
JM
36080 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36081
62fde54f
JM
36082 * Makeconfig (localtime): Remove variable.
36083 (inst_localtime-file): Likewise.
36084
0741d64c
AS
360852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36086
36087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36088 Update.
36089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36090 Update.
36091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36092 Update.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36094 Update.
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36096 Update.
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36098 Update.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36100 Update.
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36102 Update.
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36104 Update.
36105
7cb029ee
JM
361062012-05-01 Joseph Myers <joseph@codesourcery.com>
36107
36108 [BZ #2550]
36109 [BZ #2570]
36110 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36111 comparisons to determine direction to adjust input.
36112 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36113 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36114 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36115 Likewise.
36116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36117 Likewise.
36118 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36119 Likewise.
36120 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36121 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36122 Likewise.
36123 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36124 Likewise.
36125 * math/libm-test.inc (nexttoward_test): Add more tests.
36126
412bd966
AS
361272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36128
36129 [BZ #14040]
36130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36131 in version GLIBC_2.1, not GLIBC_2.0.
36132 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36133 Likewise.
36134
9568c0c2
JM
361352012-04-30 Joseph Myers <joseph@codesourcery.com>
36136
adfbc8ac
JM
36137 [BZ #13942]
36138 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36139 (1 - x) * (1 + x).
36140 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36141 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36142 * math/libm-test.inc (acos_test): Add more tests.
36143 (asin_test): Likewise.
36144 * sysdeps/i386/fpu/libm-test-ulps: Update.
36145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36146
5ba3cc69
JM
36147 [BZ #14034]
36148 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36149 of square root.
36150 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36151 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36152 * math/libm-test.inc (acos_test_tonearest): New function.
36153 (acos_test_towardzero): Likewise.
36154 (acos_test_downward): Likewise.
36155 (acos_test_upward): Likewise.
36156 (asin_test_tonearest): Likewise.
36157 (asin_test_towardzero): Likewise.
36158 (asin_test_downward): Likewise.
36159 (asin_test_upward): Likewise.
36160 (main): Call the new functions.
36161 * sysdeps/i386/fpu/libm-test-ulps: Update.
36162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36163
9568c0c2
JM
36164 [BZ #13884]
36165 [BZ #13924]
36166 * math/e_exp10.c: Include <float.h>.
36167 (__ieee754_exp10): Handle underflow here rather than multiplying
36168 large negative argument by M_LN10.
36169 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36170 of __ieee754_expf.
36171 * math/e_exp10l.c: Include <float.h>.
36172 (__ieee754_exp10l): Handle underflow here rather than multiplying
36173 large negative argument by M_LN10l.
36174 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36175 spurious overflow exception on underflow.
36176
5ac3ea17
MP
361772012-04-29 Marek Polacek <polacek@redhat.com>
36178
36179 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36180 (__fortify_function): New macro.
36181 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36182 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36183 __extern_always_inline.
36184 * libio/bits/stdio2.h: Likewise.
36185 * libio/bits/stdio.h: Likewise.
36186 * string/string.h: Likewise.
36187 * string/bits/string3.h: Likewise.
36188 * include/stdio.h: Likewise.
36189 * stdlib/bits/stdlib.h: Likewise.
36190 * stdlib/stdlib.h: Likewise.
36191 * rt/bits/mqueue2.h: Likewise.
36192 * rt/mqueue.h: Likewise.
36193 * posix/bits/unistd.h: Likewise.
36194 * posix/unistd.h: Likewise.
36195 * io/bits/poll2.h: Likewise.
36196 * io/bits/fcntl2.h: Likewise.
36197 * io/fcntl.h: Likewise.
36198 * io/sys/poll.h: Likewise.
36199 * misc/bits/syslog.h: Likewise.
36200 * misc/bits/syslog-ldbl.h: Likewise.
36201 * misc/sys/syslog.h: Likewise.
36202 * socket/bits/socket2.h: Likewise.
36203 * socket/sys/socket.h: Likewise.
36204 * debug/tst-chk1.c: Likewise.
36205 * wcsmbs/bits/wchar2.h: Likewise.
36206 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36207 * wcsmbs/wchar.h: Likewise.
36208
ecf0ebfb
AJ
362092012-04-29 Andreas Jaeger <aj@suse.de>
36210
36211 * Makerules (tests): Remove enable-check-abi protection.
36212 (check-abi-warn): Remove.
36213 (check-abi-%): Remove check-abi-warn usage.
36214
36215 * configure.in: Remove check-abi configure option.
36216 * configure: Regenerated.
36217 * config.make.in (enable-check-abi): Remove.
36218
6d5c57fa
AS
362192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36220
24c5d07e 36221 [BZ #14033]
ded5180a
AS
36222 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36223 double functions to double *_finite functions.
36224
7e0d315d
AS
36225 [BZ #13941]
36226 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36227 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36228 LDBL_MIN_EXP.
36229 * stdio-common/Makefile (tests): Add tst-sprintf3.
36230 * stdio-common/tst-sprintf3.c: New file.
36231
6d5c57fa
AS
36232 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36233 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36234
0749ff8b
JM
362352012-04-28 Joseph Myers <joseph@codesourcery.com>
36236
36237 * conform/conformtest.pl: Remove duplicate typed-constant
36238 handling.
36239
8dbd5d7b
DM
362402012-04-28 David S. Miller <davem@davemloft.net>
36241
36242 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36243 (check-abi-%): Remove AWK script prerequisite and explicit
36244 abilist directory.
36245 (check-abi): Rewrite to just diff the symlist with the abilist.
36246 (config-tls, config-abi-config): Delete, no longer used.
36247 (update-abi-%): Remove AWK script and explicit abilist directory.
36248 (update-abi): Rewrite to simply compare and conditionally copy the
36249 symlist and the sysdep abilist file. Remove update-abi-config
36250 checks.
36251 * abilist/ld.abilist: Remove.
36252 * abilist/libBrokenLocale.abilist: Remove.
36253 * abilist/libanl.abilist: Remove.
36254 * abilist/libcrypt.abilist: Remove.
36255 * abilist/libdl.abilist: Remove.
36256 * abilist/librt.abilist: Remove.
36257 * abilist/libthread_db.abilist: Remove.
36258 * abilist/libutil.abilist: Remove.
36259 * scripts/extract-abilist.awk: Remove.
36260 * scripts/merge-abilist.awk: Remove.
36261 * sysdeps/generic/libcidn.abilist: New file.
36262 * sysdeps/generic/libnss_compat.abilist: New file.
36263 * sysdeps/generic/libnss_db.abilist: New file.
36264 * sysdeps/generic/libnss_dns.abilist: New file.
36265 * sysdeps/generic/libnss_files.abilist: New file.
36266 * sysdeps/generic/libnss_hesiod.abilist: New file.
36267 * sysdeps/generic/libnss_nis.abilist: New file.
36268 * sysdeps/generic/libnss_nisplus.abilist: New file.
36269 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36270 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36271 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36272 file.
36273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36274 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36275 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36276 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36277 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36278 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36279 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36280 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36281 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36282 file.
36283 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36284 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36285 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36286 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36287 file.
36288 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36289 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36290 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36291 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36292 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36293 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36294 file.
36295 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36296 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36297 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36298 file.
36299 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36301 New file.
36302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36303 New file.
36304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36305 New file.
36306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36307 New file.
36308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36309 New file.
36310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36311 New file.
36312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36313 New file.
36314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36315 New file.
36316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36317 New file.
36318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36319 New file.
36320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36321 New file.
36322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36323 New file.
36324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36325 New file.
36326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36327 file.
36328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36329 New file.
36330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36331 New file.
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36333 file.
36334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36335 New file.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36337 New file.
36338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36339 file.
36340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36341 New file.
36342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36343 New file.
36344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36345 New file.
36346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36347 New file.
36348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36349 New file.
36350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36351 New file.
36352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36354 file.
36355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36356 New file.
36357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36358 file.
36359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36360 file.
36361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36362 file.
36363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36364 file.
36365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36366 file.
36367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36368 New file.
36369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36370 file.
36371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36372 file.
36373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36374 New file.
36375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36376 file.
36377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36379 file.
36380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36381 New file.
36382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36383 file.
36384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36385 file.
36386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36387 file.
36388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36389 file.
36390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36391 file.
36392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36393 New file.
36394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36395 file.
36396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36397 file.
36398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36399 New file.
36400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36401 file.
36402 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36403 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36404 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36405 file.
36406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36407 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36408 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36409 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36410 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36411 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36412 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36413 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36414 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36415 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36418 file.
36419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36420 New file.
36421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36422 file.
36423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36424 file.
36425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36426 file.
36427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36428 file.
36429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36430 file.
36431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36432 New file.
36433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36434 New file.
36435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36436 file.
36437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36438 New file.
36439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36440 file.
36441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36443 file.
36444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36445 New file.
36446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36447 file.
36448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36449 file.
36450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36451 file.
36452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36453 file.
36454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36455 file.
36456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36457 New file.
36458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36459 New file.
36460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36461 file.
36462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36463 New file.
36464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36465 file.
36466
41d73a1b
JM
364672012-04-28 Joseph Myers <joseph@codesourcery.com>
36468
36469 * conform/conformtest.pl: Fix typo in handling typed-constant from
36470 allow-header.
36471
28aeeda4
JM
364722012-04-27 Joseph Myers <joseph@codesourcery.com>
36473
adae8f5e
JM
36474 * README: Cut down references to pre-2.6 Linux kernels and
36475 Linuxthreads. Update lists of configurations in libc and ports
36476 and sort alphabetically. Say "or newer" with Linux kernel version
36477 requirements.
36478
28aeeda4
JM
36479 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36480
a462cb63
RA
364812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36482
36483 [BZ #887]
36484 * math/libm-test.inc (logb_test_downward): New test to expose
36485 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36486 rounding mode.
36487
6ad3493e
JM
364882012-04-27 Joseph Myers <joseph@codesourcery.com>
36489
36490 [BZ #14027]
36491 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36492 to be done.
36493 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36494 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36495
2ce4f015
JM
364962012-04-26 Joseph Myers <joseph@codesourcery.com>
36497
5aeb141a
JM
36498 * sysdeps/unix/i386/brk.S: Remove file.
36499 * sysdeps/unix/i386/dl-brk.S: Likewise.
36500 * sysdeps/unix/i386/pipe.S: Likewise.
36501 * sysdeps/unix/i386/sigreturn.S: Likewise.
36502 * sysdeps/unix/i386/syscall.S: Likewise.
36503 * sysdeps/unix/i386/vfork.S: Likewise.
36504 * sysdeps/unix/i386/wait.S: Likewise.
36505
7143acae
JM
36506 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36507 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36508
2ce4f015
JM
36509 * configure.in (arm*-none*): Do not allow without
36510 --enable-hacker-mode.
36511 (netbsd*): Remove case setting base_os.
36512 (386bsd*): Likewise.
36513 (freebsd*): Likewise.
36514 (bsdi*): Likewise.
36515 (osf*): Likewise.
36516 (sunos*): Likewise.
36517 (ultrix*): Likewise.
36518 (newsos*): Likewise.
36519 (dynix*): Likewise.
36520 (*bsd*): Likewise.
36521 (sysv*): Likewise.
36522 (isc*): Likewise.
36523 (esix*): Likewise.
36524 (sco*): Likewise.
36525 (minix*): Likewise.
36526 (irix4*): Likewise.
36527 (irix6*): Likewise.
36528 (solaris[2-9]*): Likewise.
36529 (none): Likewise.
36530 * configure: Regenerated.
36531
0ac229c8
AZ
365322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36533
36534 [BZ #11521]
36535 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36536 overflow or cancellation in calculating denominator.
36537 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36539 down expression to avoid unexpected rounding in newer GCCs.
36540 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36541
33f244f4
DM
365422012-04-26 David S. Miller <davem@davemloft.net>
36543
36544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36545 long-double compat symbols.
36546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36559
cfa1f3e8
DM
365602012-04-25 David S. Miller <davem@davemloft.net>
36561
36562 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36563 HWCAP_* values only after the memory barriers have been defined.
36564 (atomic_full_barrier): Define.
36565 (atomic_read_barrier): Define.
36566 (atomic_write_barrier): Define.
36567
6e236b92
SP
365682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36569
36570 * shlib-versions: Add libgcc_s version information.
36571 * sysdeps/generic/libgcc_s.h: Remove.
36572 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36573 libgcc_s.h.
36574 * sysdeps/gnu/unwind-resume.c: Likewise.
36575 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36576
aab39a09
DM
365772012-04-25 David S. Miller <davem@davemloft.net>
36578
36579 * sysdeps/unix/sparc/brk.S: Delete.
36580 * sysdeps/unix/sparc/dl-brk.S: Delete.
36581 * sysdeps/unix/sparc/pipe.S: Delete.
36582 * sysdeps/unix/sparc/sysdep.S: Delete.
36583 * sysdeps/unix/sparc/sysdep.h: Delete.
36584 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36585 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36586 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36587 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36588 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36589 (JUMPTARGET): Remove.
36590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36591 sysdeps/unix/sparc/sysdep.h
36592 (ENTRY, END): Remove.
36593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36594
a3cc4f48
JM
365952012-04-25 Joseph Myers <joseph@codesourcery.com>
36596
2ed8cda2
JM
36597 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36598 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36599 -DIS_IN_build.
36600
35d76d59
JM
36601 * timezone/README: Update upstream location and email address for
36602 tzcode and tzdata.
36603 * timezone/zdump.c: Update from tzcode 2012b.
36604 * timezone/zic.c: Likewise.
36605
a3cc4f48
JM
36606 * configure.in (libc_cv_as_needed): Remove test.
36607 * configure: Regenerated.
36608 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36609 conditional definition.
36610 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36611 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36612 * config.make.in (have-as-needed): Remove variable.
36613
ceab42c3
SP
366142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36615 Paul Pluzhnikov <ppluzhnikov@google.com>
36616
36617 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36618 strings correctly.
36619
3ce2865f
CLT
366202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36621
36622 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36623 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36624 * sysdeps/sh/strlen.S: Likewise.
36625
f37e0d68
JM
366262012-04-24 Joseph Myers <joseph@codesourcery.com>
36627
ae186e9a
JM
36628 * sysdeps/unix/fork.S: Remove file.
36629 * sysdeps/unix/i386/fork.S: Likewise.
36630 * sysdeps/unix/sparc/fork.S: Likewise.
36631
b96914af
JM
36632 * sysdeps/unix/system.c: Remove file.
36633 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36634
f37e0d68
JM
36635 * sysdeps/unix/getegid.S: Remove file.
36636 * sysdeps/unix/geteuid.S: Likewise.
36637
87ef29ca
RM
366382012-04-24 Roland McGrath <roland@hack.frob.com>
36639
83bcd236
RM
36640 * scripts/check-localplt.awk: New file.
36641 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36642 of diff.
36643 * scripts/data/localplt-generic.data: Add a comment.
36644
87ef29ca
RM
36645 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36646 NODE when __dir_mkfile failed.
36647 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36648 Reported by Ludovic Courtès <ludo@gnu.org>.
36649
e5a6e567
AJ
366502012-04-24 Andreas Jaeger <aj@suse.de>
36651
36652 * Makerules (common-clean): Also remove gen-as-const-headers
36653 files.
36654
c1820385
JM
366552012-04-24 Joseph Myers <joseph@codesourcery.com>
36656
36657 * Makerules (native-compile): Do not change working directory for
36658 build. Use $(OUTPUT_OPTION) in command.
36659 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36660
94e02fc4
AZ
366612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36662
36663 [BZ #13886]
36664 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36665 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36666 * math/libm-test.inc (floor_test): Add more tests.
36667 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36668
3a533ca3
JM
366692012-04-24 Joseph Myers <joseph@codesourcery.com>
36670
940ab4b3
JM
36671 * sysdeps/unix/getdents.c: Remove file.
36672 * sysdeps/unix/sysv/getdents.c: Likewise.
36673 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36674
90e037bd
JM
36675 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36676 sysdeps/unix/mman/syscalls.list.
36677 (mmap): Likewise.
36678 (mprotect): Likewise.
36679 (msync): Likewise.
36680 (munmap): Likewise.
36681 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36682 * sysdeps/unix/mman/syscalls.list: Remove.
36683 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36684
3a533ca3
JM
36685 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36686 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36687 * configure: Regenerated.
36688 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36689 $(libgcc_s_suffix).
36690 * config.make.in (libgcc_s_suffix): Remove variable.
36691
1ad743de
JM
366922012-04-23 Joseph Myers <joseph@codesourcery.com>
36693
4ad451e2
JM
36694 * sysdeps/unix/sysv/gethostname.c: Move to ...
36695 * sysdeps/posix/gethostname.c: ... here.
36696
5e37ce39
JM
36697 * sysdeps/unix/execve.S: Remove file.
36698
1ad743de
JM
36699 * sysdeps/unix/_exit.S: Remove file.
36700
4e681b5b
AJ
367012012-04-23 Andreas Jaeger <aj@suse.de>
36702
36703 [BZ #13739]
36704 * manual/Makefile: Remove make dist support, there's no
36705 need for a stand-alone documentation tar ball.
36706 (TEXI2DVI): Define always, it's not in Makeconfig.
36707 (dist): Removed.
36708 (tar-it): Removed.
36709 (edition): Removed.
36710 (glibc-doc-$(edition).tar): Removed
36711 (%.Z): Removed.
36712 (%.gz): Removed.
36713 (%.uu): Removed.
36714 (ETAGS): Remove, it's in Makeconfig.
36715 (move-if-change): Remove, it's in Makeconfig.
36716
38686a03 367172012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36718
36719 [BZ #13970]
36720 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36721 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36722 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36723 (strtod_l, strtof_l, strtold_l): Remove __wur.
36724 It is not necessarily an error to ignore strtol's return value.
36725 One can reliably look at the stored endptr to decide whether
36726 the number had valid syntax.
36727
7c0616fa
AJ
367282012-04-21 Andreas Jaeger <aj@suse.de>
36729
803cb6b7 36730 [BZ #13739]
7c0616fa
AJ
36731 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36732
b0fe253f
JM
367332012-04-21 Joseph Myers <joseph@codesourcery.com>
36734
36735 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36736 * sysdeps/unix/sysv/Versions: Remove file.
36737
8280f22d
MT
367382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36739
36740 [BZ #13927]
36741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36742
75ce411f 367432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36744
36745 [BZ #7064]
36746 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36747 version from __vm86.
36748
097d59fa
JM
367492012-04-20 Joseph Myers <joseph@codesourcery.com>
36750
a90f3bcb
JM
36751 * sysdeps/unix/common/lxstat.c: Remove file.
36752 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36753
edc7ea78
JM
36754 * sysdeps/unix/sysv/Makefile: Remove file.
36755
cb78c221
JM
36756 * sysdeps/unix/sysv/direct.h: Remove file.
36757
efa6a45f
JM
36758 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36759 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36760 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36761 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36762 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36763 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36764 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36765
9c9f2d0c
JM
36766 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36767
4541c83b
JM
36768 * sysdeps/unix/xmknod.c: Remove file.
36769 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36770
f5d153a0
JM
36771 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36772
aa746595
JM
36773 * sysdeps/unix/sysv/i386/time.S: Remove file.
36774
cce5905e
JM
36775 * sysdeps/unix/fxstat.c: Remove file.
36776 * sysdeps/unix/xstat.c: Likewise.
36777 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36778
37fa3841
JM
36779 * sysdeps/unix/sysv/sigaction.c: Remove file.
36780
ff1962a3
JM
36781 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36782 (sysdep_headers): Remove variable.
36783 [termio.h not in sysdep_headers] (generated): Likewise.
36784 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36785 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36786 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36787 * sysdeps/unix/sysv/tcflow.c: Likewise.
36788 * sysdeps/unix/sysv/tcflush.c: Likewise.
36789 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36790 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36791 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36792 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36793 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36794
e7740d31
JM
36795 * sysdeps/unix/siglist.c: Remove file.
36796
ee06f18b
JM
36797 * sysdeps/unix/getppid.S: Remove file.
36798
097d59fa
JM
36799 * sysdeps/unix/mkdir.c: Remove file.
36800 * sysdeps/unix/rmdir.c: Likewise.
36801
ff3d51ec
AS
368022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36803
36804 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36805 ERR_MAX value.
36806 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36807 errlist-compat value.
36808
50f81fd7
DM
368092012-04-18 David S. Miller <davem@davemloft.net>
36810
36811 * sysdeps/generic/memcopy.h (reg_char): Delete.
36812 * debug/strcat_chk.c: Use char, not reg_char.
36813 * debug/strcpy_chk.c: Likewise.
36814 * debug/strncat_chk.c: Likewise.
36815 * debug/strncpy_chk.c: Likewise.
36816 * string/memchr.c: Likewise.
36817 * string/memrchr.c: Likewise.
36818 * string/rawmemchr.c: Likewise.
36819 * string/strcat.c: Likewise.
36820 * string/strchr.c: Likewise.
36821 * string/strchrnul.c: Likewise.
36822 * string/strcmp.c: Likewise.
36823 * string/strcpy.c: Likewise.
36824 * string/strncat.c: Likewise.
36825 * string/strncmp.c: Likewise.
36826 * string/strncpy.c: Likewise.
36827
8ff41c46
WS
368282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36829
36830 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36831 __builtin_memcopy is called when src and dest ranges are known to not
36832 overlap.
36833
6b652f46
WS
368342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36835
36836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36837 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36838 fwd_align_merge macro call.
36839 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36840 bwd_align_merge macro call.
36841 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36842
b282631e
WS
368432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36844
36845 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36846 bwd_align_merge macros.
36847 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36848 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36849 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36850
95aa737c
DM
368512012-04-18 David S. Miller <davem@davemloft.net>
36852
36853 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36854
7a99a614
AJ
368552012-04-18 Andreas Jaeger <aj@suse.de>
36856
36857 [BZ# 6794]
36858 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36859 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36860 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36861
36862 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36863 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36864 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36865
36866 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36867 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36868 Adjust for changed ldbl-128 files.
36869
36870 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36871 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36872 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36873
e5270c23
DM
368742012-04-17 David S. Miller <davem@davemloft.net>
36875
36876 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36877
fb5e92c9
AS
368782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36879
36880 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36881 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36882 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36883 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36884 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36885 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36886
76da7265
AZ
368872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36888
36889 [BZ #6794]
36890 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36891 * math/libm-test.inc: Add ilogb errno and exception tests.
36892 * math/w_ilogb.c: New file: ilogb wrapper.
36893 * math/w_ilogbf.c: New file: ilogbf wrapper.
36894 * math/w_ilogbl.c: New file: ilogbl wrapper.
36895 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36896 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36897 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36898 exception being thrown with 0.0 as argument.
36899 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36900 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36901 exception being thrown with 0.0 as argument.
36902 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36903 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36904 exception being thrown with 0.0 as argument.
36905 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36906 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36907 exception being thrown with 0.0 as argument.
36908 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36909 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36910 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36911 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36912 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36913 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36914 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36915 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36916 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36917
0396e69d
PB
369182012-04-17 Petr Baudis <pasky@ucw.cz>
36919
36920 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36921 with altivec.
36922
750b5926
MP
369232012-04-16 Marek Polacek <polacek@redhat.com>
36924
36925 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36926
751728a1
MP
369272012-04-16 Marek Polacek <polacek@redhat.com>
36928
36929 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36930 operands of fdivp instruction.
36931
34a27407
L
369322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36933
36934 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36935 * elf/tst-auditmod3b.c: Likewise.
36936 * elf/tst-auditmod4b.c: Likewise.
36937 * elf/tst-auditmod5b.c: Likewise.
36938 * elf/tst-auditmod6b.c: Likewise.
36939 * elf/tst-auditmod6c.c: Likewise.
36940 * elf/tst-auditmod7b.c: Likewise.
36941 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36942 * sysdeps/x86_64/preconfigure.in: Likewise.
36943 * sysdeps/x86_64/preconfigure: Regenerated.
36944
7e73e17d
L
369452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36946
36947 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36948 __ILP32__.
36949
c7a6ab72
AB
369502012-04-13 Antoine Balestrat <merkil33@gmail.com>
36951
36952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36953 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36954
a9e8e0e0
CL
369552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36956
36957 [BZ #13973]
36958 * locale/iso-639.def: Fix gl language name. Spotted by
36959 Yaron Shahrabani.
36960
ec98af7d
RM
369612012-04-12 Roland McGrath <roland@hack.frob.com>
36962
36963 [BZ #2074]
36964 * libio/libio.h (__io_write_fn): Update comment.
36965
247c3ede
PB
369662012-04-12 Petr Baudis <pasky@ucw.cz>
36967
36968 [BZ #2074]
36969 * stdio.texi (Hook Functions): The user provided writer function
36970 is not allowed to return -1.
36971
55939d6d
DM
369722012-04-11 David S. Miller <davem@davemloft.net>
36973
36974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36975
90020f5a
MF
369762012-04-11 Mike Frysinger <vapier@gentoo.org>
36977
36978 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36979 Add a leading slash to rtkaio.
36980
288f9098
JM
369812012-04-11 Jim Meyering <meyering@redhat.com>
36982
90020f5a
MF
36983 [BZ #11959]
36984 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36985 It is not necessarily an error to ignore fwrite's return
36986 value. One can reliably use ferror to test for errors after
36987 the fact.
288f9098 36988
4be2b570
L
369892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36990
36991 * bits/types.h (__snseconds_t): New type.
36992 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36993
36994 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36996 (__SNSECONDS_T_TYPE): Likewise.
36997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36998 (__SNSECONDS_T_TYPE): Likewise.
36999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37000 (__SNSECONDS_T_TYPE): Likewise.
37001
288f9098 370022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37003
37004 [BZ #2636]
37005 * manual/time.texi (Processor Time): Return type of times is
37006 elapsed real time since an arbitrary point in the past.
37007 (CPU Time): Move CLK_TCK from here...
37008 (Processor Time): ...to here. Correct description.
37009 * manual/conf.texi (Constants for Sysconf): Correct description of
37010 _SC_CLK_TCK.
37011
d7dd4413
DM
370122012-04-10 David S. Miller <davem@davemloft.net>
37013
37014 [BZ #13967]
37015 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37016 where the is a gap between DT_REL(A) and DT_JMPREL.
37017
b46068fc
L
370182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37019
37020 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37021 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37022 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37023
73d65cc3
SP
370242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37025
37026 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37027 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37028 (dl_main): Handle --inhibit-cache.
37029 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37030 _dl_inhibit_cache.
37031 * elf/dl-load.c (_dl_map_object): Use it.
37032 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37033
bcc8d661
JM
370342012-04-09 Joseph Myers <joseph@codesourcery.com>
37035
8f9a2fae
JM
37036 [BZ #13872]
37037 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37038 (__ieee754_powl): Saturate large exponents rather than testing for
37039 overflow of y*log2(x).
37040 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37041 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37042 exceptions.
37043
bcc8d661
JM
37044 [BZ #11521]
37045 * math/s_ctan.c: Include <float.h>.
37046 (__ctan): Avoid internal overflow or cancellation in calculating
37047 denominator.
37048 * math/s_ctanf.c: Likewise.
37049 * math/s_ctanl.c: Likewise.
37050 * math/s_ctanh.c: Likewise.
37051 * math/s_ctanhf.c: Likewise.
37052 * math/s_ctanhl.c: Likewise.
37053 * math/libm-test.inc (ctan_test): Add more tests.
37054 (ctanh_test): Likewise.
37055 * sysdeps/i386/fpu/libm-test-ulps: Update.
37056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37057
823fbbb4
AJ
370582012-04-09 Andreas Jaeger <aj@suse.de>
37059
03879793
AJ
37060 [BZ #6894]
37061 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37062 is an optional BSD extension.
37063
823fbbb4
AJ
37064 [BZ #10254]
37065 * manual/stdio.texi (Opening Streams): Document additional fopen
37066 parameters.
37067
8de131cb
RM
370682012-04-09 Roland McGrath <roland@hack.frob.com>
37069
37070 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37071 %eax without telling the compiler.
37072
c0ed9d7d
CD
370732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37074
37075 [BZ # 13963]
37076 * manual/install.texi: Use sourceware.org.
37077
c483f6b4
JM
370782012-04-09 Joseph Myers <joseph@codesourcery.com>
37079
d7dd9453
JM
37080 [BZ #13873]
37081 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37082 (__ieee754_pow): Generate overflow and underflow using huge*huge
37083 and tiny*tiny rather than just returning constant infinity or zero
37084 for large exponents.
37085 * math/libm-test.inc (pow_test): Require overflow exceptions for
37086 applicable cases of large exponents.
37087
c483f6b4
JM
37088 [BZ #706]
37089 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37090 (__ieee754_pow): Use iterative multiplication algorithm only for
37091 integer exponents with absolute value below 1024. Check for odd
37092 integer exponents when using algorithm for real exponents.
37093 * math/libm-test.inc (pow_test): Add more tests.
37094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37095
d2de7579
JM
370962012-04-08 Joseph Myers <joseph@codesourcery.com>
37097
37098 [BZ #13705]
37099 * math/libm-test.inc (exp_test): Do not allow overflow exception
37100 on underflow test.
37101
f77f1232
AJ
371022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37103
37104 [BZ #13705]
37105 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37106 instead of __kernel_standard_f.
37107
3884932b
MF
371082012-04-08 Mike Frysinger <vapier@gentoo.org>
37109
37110 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37111 * sysdeps/x86_64/memset_chk.S: Likewise.
37112
54472e9c
AJ
371132012-04-08 Andreas Jaeger <aj@suse.de>
37114
6ab0fbfc
AJ
37115 [BZ #10153]
37116 * manual/startup.texi (Environment Access): Describe return value
37117 for putenv and setenv.
37118
61efba8c
AJ
37119 [BZ #6895]
37120 * manual/filesys.texi (Directory Entries): Add description for
37121 DT_LNK.
37122
95c3f29a
AJ
37123 [BZ #6890]
37124 * manual/filesys.texi (Directory Entries): Clarify that it's file
37125 system not operating system in the description of DT_UNKNOWN.
37126
54472e9c
AJ
37127 [BZ #6578]
37128 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37129
624254b1
SC
371302012-04-08 Stephen Compall <s11@member.fsf.org>
37131
37132 [BZ #6649]
37133 * manual/llio.texi (Opening and Closing Files): Add cross
37134 reference to explain mode argument.
37135
1e4920e0
MF
371362012-04-07 Mike Frysinger <vapier@gentoo.org>
37137
37138 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37139 * sysdeps/x86_64/memset_chk.S: Likewise.
37140
5ed848f3
DM
371412012-04-07 David S. Miller <davem@davemloft.net>
37142
37143 * elf/elf.h (R_SPARC_WDISP10): Define.
37144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37145 R_SPARC_SIZE32.
37146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37147 R_SPARC_SIZE64 and R_SPARC_H34.
37148
96154cd8
CD
371492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37150
37151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37152 conditions and remove no longer applicable assertion.
37153
9904dc47
L
371542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37155
37156 * bits/byteswap.h: Include <features.h>.
37157 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37158 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37159
f8887d0a
L
371602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37161
37162 * bits/byteswap.h (__bswap_16): Removed.
37163 Include <bits/byteswap-16.h> to get __bswap_16.
37164 * sysdeps/i386/bits/byteswap.h: Likewise.
37165 * sysdeps/s390/bits/byteswap.h: Likewise.
37166 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37167 * bits/byteswap-16.h: New file.
37168 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37169 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37170 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37171 * string/Makefile (headers): Add bits/byteswap-16.h.
37172
62470f60
PP
371732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37174
37175 [BZ #13895]
37176 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37177 extra indirection.
37178 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37179 * nss/tst-nss-static.c: New.
37180
4dad7bab
RM
371812012-04-06 Robert Millan <rmh@gnu.org>
37182
37183 [BZ #6486]
37184 * manual/llio.texi (File Position Primitive): lseek
37185 refers to WHENCE when it really means OFFSET.
37186
e9142a17
AJ
371872012-04-06 Andreas Jaeger <aj@suse.de>
37188
2c040eff
AJ
37189 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37190 strncmp declarations.
37191
e9142a17
AJ
37192 * abilist/libc.abilist: Add __poll and __ppoll.
37193
ff9f1c5f
DM
371942012-04-05 David S. Miller <davem@davemloft.net>
37195
dcd2ae90
DM
37196 * scripts/check-local-headers.sh: Accept a host triplet in the
37197 path matched by the exclude regexp.
37198
993eb054
DM
37199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37200 definition.
37201 * sysdeps/powerpc/powerpc32/dl-machine.h
37202 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37203 * sysdeps/s390/s390-32/dl-machine.h
37204 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37205 * sysdeps/sparc/sparc32/dl-machine.h
37206 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37207 * sysdeps/sparc/sparc64/dl-machine.h
37208 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37209
ff9f1c5f
DM
37210 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37211 lazy binding.
48e2e132 37212 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37213 undefined symbol errors.
37214
48e2e132 37215 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37216 DT_NEEDED entries.
37217
e80d6f94
MM
372182012-04-05 Michael Matz <matz@suse.de>
37219
37220 [BZ #13592]
37221 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37222
349fa79f
AJ
372232012-04-05 Andreas Jaeger <aj@suse.de>
37224
37225 [BZ #13908]
37226 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37227 comment.
37228
f402708f
KK
372292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37230
37231 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37232 which ROUND is no valid rounding mode.
37233
2ecccfc9
KK
372342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37235
37236 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37237 read again.
37238 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37239
8a53f50f
KK
372402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37241
37242 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37243 an exception using FPU order intentionally.
37244
372452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37246
37247 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37248 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37249 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37250 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37251
d653abb7
SJ
372522012-04-05 Simon Josefsson <simon@josefsson.org>
37253
37254 [BZ #12340]
37255 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37256 EINVAL when BUFLEN is too smal.
37257
c3b1bf7d
TS
372582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37259
37260 [BZ #13553]
37261 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37262 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37263
b1aa60f3
AJ
372642012-04-03 Andreas Jaeger <aj@suse.de>
37265
c3b1bf7d 37266 [BZ #13938]
67f60a26
AJ
37267 * manual/setjmp.texi (System V contexts): Fix sentence.
37268
b1aa60f3
AJ
37269 [BZ #13926]
37270 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37271 New macro for this case.
37272 [!__GNUC__] (__bswap_64): New inline function for this case.
37273 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37274 * bits/byteswap.h: Likewise.
37275 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37276 ull, guard with __GLIBC_HAVE_LONG_LONG.
37277
37278 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37279 __GLIBC_HAVE_LONG_LONG.
37280
37281 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37282 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37283
39c59c35
TMQMF
372842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37285
37286 [BZ #13691]
37287 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37288 inptr and inend, rather than using last_ch.
37289
135ffda8
DM
372902012-04-02 David S. Miller <davem@davemloft.net>
37291
37292 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37293 * stdio-common/printf-parse.h (read_int): Change return type to
37294 'int', return -1 on INT_MAX overflow.
37295 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37296 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37297 overflows INT_MAX. Check for overflow of in-format-string precision
37298 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37299 SIZE_MAX not INT_MAX for integer overflow test.
37300 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37301 skip the construct in the format string but do not record anything.
37302 * stdio-common/bug22.c: Adjust to test both width/prevision
37303 INT_MAX overflow as well as total length INT_MAX overflow. Check
37304 explicitly for proper errno values.
37305
228c019e
TS
373062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37307
302cadd3
TS
37308 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37309 CHAR_MAX.
37310 * string/test-strcmp.c [! WIDE]: Likewise.
37311 * time/tst-mktime2.c: Likewise for INT_MAX.
37312 * string/test-string.h: #include <sys/param.h> for MIN.
37313
228c019e
TS
37314 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37315 * sysdeps/i386/init-first.c (init): Likewise.
37316 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37317 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37318 * sysdeps/sh/init-first.c (init): Likewise.
37319
cfa633f5
UD
373202012-04-01 Ulrich Drepper <drepper@gmail.com>
37321
37322 * po/ru.po: Update from translation team.
d1635ef8 37323 * po/vi.po: Likewise.
cfa633f5 37324
6cd0a5ea
SP
373252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37326
37327 * resolv/nss_dns/dns-host.c: Merge copyright years.
37328
4b43400f
LD
373292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37330
37331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37332 Optimize memcpy with prefetch if
37333 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37334 src, dst pointers have unequal 16 byte alignments.
37335
48c41d04
SP
373362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37337
37338 [BZ #13928]
37339 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37340 from a CNAME entry and return the minimum ttl for the query.
37341 (gaih_getanswer_slice): Likewise.
37342
b8dc394d
JL
373432012-03-30 Jeff Law <law@redhat.com>
37344
37345 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37346 due to long keys.
37347 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37348 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37349
2f5a5ed0
JL
37350 * resolv/nss_dns/dns-host.c: Update copyright year.
37351
1d39e359
UD
373522012-03-30 Ulrich Drepper <drepper@gmail.com>
37353
c030f70c 37354 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37355 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37356
1d39e359
UD
37357 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37358 comments for sendmmsg.
37359
373602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37361
37362 [BZ #13691]
37363 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37364 with only 1 character between 0x0041 and 0x01b0.
37365 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37366 * wcsmbs/tst-mbsnrtowcs.c: New file.
37367
20fde227
DM
373682012-03-29 David S. Miller <davem@davemloft.net>
37369
37370 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37371 small copies by hand.
37372
984a4237
JL
373732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37374
37375 [BZ #13761]
57f41c40
AS
37376 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37377 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37378 group memberships.
984a4237 37379
18c9d62b
DM
373802012-03-28 David S. Miller <davem@davemloft.net>
37381
88d85d4f
DM
37382 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37383 that branches into memcpy.
37384 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37387 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37389 bits.
37390 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37391 implementation too.
37392 * sysdeps/sparc/mempcpy.S: New file.
37393
e5aa83e1
DM
37394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37395 the IFUNC routine in the libc case.
37396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37397
88570753
DM
37398 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37399 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37400 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37401 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37402 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37403 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37404 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37405 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37406
249d7567
DM
37407 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37408 loop to 256 bytes instead of 64 bytes and fix test signedness.
37409
18c9d62b
DM
37410 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37411 * sysdeps/sparc/sparc32/Makefile: rather than here...
37412 * sysdeps/sparc/sparc64/Makefile: and here.
37413
05f3d1f6
UD
374142012-03-28 Ulrich Drepper <drepper@gmail.com>
37415
37416 * malloc/mallocbug.c: Avoid warnings about unused variables.
37417
86ae07a8
JL
374182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37419
37420 [BZ #13760]
37421 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37422 in the right place. Discard and retry query if response is
37423 larger than input buffer size.
37424
41bf21a1
JM
374252012-03-28 Joseph Myers <joseph@codesourcery.com>
37426
d6270972
JM
37427 [BZ #369]
37428 [BZ #2678]
37429 [BZ #3866]
37430 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37431 x for large integer exponent.
37432 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37433 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37434 sign of result as needed afterwards.
37435 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37436 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37437 result for underflowing pow the same as for overflow.
37438 (__kernel_standard_l): Handle powl overflow and underflow here
37439 rather than calling __kernel_standard.
37440 * math/libm-test.inc (pow_test): Add more tests.
37441
414fca03 37442 [BZ #3868]
41bf21a1
JM
37443 [BZ #13879]
37444 [BZ #13910]
37445 [BZ #13911]
37446 [BZ #13912]
37447 [BZ #13913]
37448 [BZ #13915]
37449 [BZ #13916]
37450 [BZ #13917]
37451 [BZ #13918]
37452 [BZ #13919]
37453 [BZ #13920]
37454 [BZ #13921]
37455 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37456 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37457 (__kernel_standard_l): New function.
37458 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37459 __kernel_standard.
37460 * math/w_acosl.c (__acosl): Likewise.
37461 * math/w_asinl.c (__asinl): Likewise.
37462 * math/w_atan2l.c (__atan2l): Likewise.
37463 * math/w_atanhl.c (__atanhl): Likewise.
37464 * math/w_coshl.c (__coshl): Likewise.
37465 * math/w_exp10l.c (__exp10l): Likewise.
37466 * math/w_exp2l.c (__exp2l): Likewise.
37467 * math/w_fmodl.c (__fmodl): Likewise.
37468 * math/w_hypotl.c (__hypotl): Likewise.
37469 * math/w_j0l.c (__j0l, __y0l): Likewise.
37470 * math/w_j1l.c (__j1l, __y1l): Likewise.
37471 * math/w_jnl.c (__jnl, __ynl): Likewise.
37472 * math/w_lgammal.c (__lgammal): Likewise.
37473 * math/w_log10l.c (__log10l): Likewise.
37474 * math/w_log2l.c (__log2l): Likewise.
37475 * math/w_logl.c (__logl): Likewise.
37476 * math/w_powl.c (__powl): Likewise.
37477 * math/w_remainderl.c (__remainderl): Likewise.
37478 * math/w_scalbl.c (sysv_scalbl): Likewise.
37479 * math/w_sinhl.c (__sinhl): Likewise.
37480 * math/w_sqrtl.c (__sqrtl): Likewise.
37481 * math/w_tgammal.c (__tgammal): Likewise.
37482 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37483 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37484 * math/libm-test.inc (acos_test): Add more tests.
37485 (acosh_test): Likewise.
37486 (asin_test): Likewise.
37487 (atanh_test): Likewise.
37488 (exp_test): Likewise.
37489 (exp10_test): Likewise.
37490 (exp2_test): Likewise.
37491 (expm1_test): Likewise.
37492 (lgamma_test): Likewise.
37493 (log_test): Likewise.
37494 (log10_test): Likewise.
37495 (log1p_test): Likewise.
37496 (log2_test): Likewise.
37497 (pow_test): Do not allow some spurious overflow exceptions.
37498 (sqrt_test): Add more tests.
37499 (tgamma_test): Likewise.
37500 (y0_test): Likewise.
37501 (y1_test): Likewise.
37502 (yn_test): Likewise.
37503
dd62fda6
AB
375042012-03-27 Anton Blanchard <anton@samba.org>
37505
37506 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37507 MAP_HUGETLB.
37508 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37509 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37510 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37511
1e3cdfda
AJ
375122012-03-27 David S. Miller <davem@davemloft.net>
37513
b855ab85
DM
37514 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37515
1e3cdfda
AJ
37516 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37517 have-as-vis3 check.
37518
375192012-03-27 Andreas Jaeger <aj@suse.de>
37520
37521 * sysdeps/x86_64/elf/configure.in: Moved to ...
37522 * sysdeps/x86_64/configure.in: ... here.
37523 * sysdeps/x86_64/elf/start.S: Moved to ...
37524 * sysdeps/x86_64/start.S: ... here.
37525 * sysdeps/x86_64/elf/configure: Delete.
37526
37527 * sysdeps/x86_64/configure.in: Merge contents from
37528 sysdeps/i386/configure.in (without i686 check).
37529
37530 * sysdeps/i386/elf/Versions: Merge into ...
37531 * sysdeps/i386/Versions: ... this.
37532 * sysdeps/i386/elf/Versions: Delete file.
37533 * sysdeps/i386/elf/start.S: Moved to ...
37534 * sysdeps/i386/start.S: ...here.
37535 * sysdeps/i386/elf/configure.in: Merge into...
37536 * sysdeps/i386/configure.in: ...here.
37537 * sysdeps/i386/elf/configure.in: Delete file.
37538 * sysdeps/i386/elf/configure: Delete file.
37539
37540 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37541 * debug/backtracesyms.c: ... here.
37542 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37543 * debug/backtracesymsfd.c: ... here.
37544 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37545 * sysdeps/generic/ifunc-sel.h: ... here.
37546
37547 * sysdeps/unix/i386/start.c: Delete file.
37548 * sysdeps/unix/sparc/start.c: Delete file.
37549 * sysdeps/unix/start.c: Delete file.
37550
37551 * sysdeps/sh/elf/configure.in: Moved to ...
37552 * sysdeps/sh/configure.in: ... here.
37553 * sysdeps/sh/elf/start.S: Moved to ...
37554 * sysdeps/sh/start.S: ... here.
37555 * sysdeps/sh/elf/configure: Delete file.
37556
37557 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37558 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37559 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37560 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37561 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37562 * sysdeps/powerpc/powerpc64/start.S: here.
37563 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37564 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37565 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37566 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37567 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37568
37569 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37570 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37571 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37572 * sysdeps/powerpc/powerpc32/start.S: ... here.
37573 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37574 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37575 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37576
37577 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37578 * sysdeps/powerpc/ifunc-sel.h: ... here.
37579 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37580 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37581
37582 * sysdeps/sparc/elf/configure.in: Moved to ...
37583 * sysdeps/sparc/configure.in: ... here.
37584 * sysdeps/sparc/elf/configure: Delete file.
37585 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37586 * sysdeps/sparc/sparc32/start.S: ... here.
37587 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37588 * sysdeps/sparc/sparc64/start.S: ... here.
37589 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37590 * sysdeps/sparc/sparc32/Makefile: ... this.
37591 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37592 * sysdeps/sparc/sparc64/Makefile: ... this.
37593
37594 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37595 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37596 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37597 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37598 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37599 * sysdeps/s390/s390-32/setjmp.S: ... here.
37600 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37601 * sysdeps/s390/s390-32/configure.in: ... here.
37602 * sysdeps/s390/s390-32/elf/configure: Delete file.
37603 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37604 * sysdeps/s390/s390-32/start.S: ... here.
37605
37606 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37607 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37608 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37609 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37610 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37611 * sysdeps/s390/s390-64/setjmp.S: ... here.
37612 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37613 * sysdeps/s390/s390-64/configure.in: ... here
37614 * sysdeps/s390/s390-64/elf/configure: Delete file.
37615 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37616 * sysdeps/s390/s390-64/start.S: ... here.
37617 * sysdeps/s390/s390-64/elf/configure: Delete.
37618
37619 * configure.in: Remove support for elf directories in sysdeps.
37620
37621 * configure: Regenerated.
37622 * sysdeps/i386/configure: Regenerated.
37623 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37624 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37625 * sysdeps/s390/s390-32/configure: Regenerated.
37626 * sysdeps/s390/s390-64/configure: Regenerated.
37627 * sysdeps/sh/configure: Regenerated.
37628 * sysdeps/sparc/configure: Regenerated.
37629 * sysdeps/x86_64/configure: Regenerated.
37630
a3f61311
AS
376312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37632
c876e002
AS
37633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37634
a3f61311
AS
37635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37636 denormal result into account.
37637
ac4c54f0
RM
376382012-03-25 Roland McGrath <roland@hack.frob.com>
37639
37640 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37641 Reported by Allan McRae <allan@archlinux.org>.
37642
6a9b9c02
JL
376432012-03-23 Jeff Law <law@redhat.com>
37644
37645 * nss/getnssent.c (__nss_getent): Fix typo.
37646
4c42a0c1
DM
376472012-03-23 David S. Miller <davem@davemloft.net>
37648
37649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37650
1532c7ac
L
376512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37654 to pad to uint64_t for each field.
37655 (dl_tls_index): Replace unsigned long with uint64_t.
37656
3ff42526
PP
376572012-03-23 Daniel Jacobowitz <dmj@google.com>
37658 Paul Pluzhnikov <ppluzhnikov@google.com>
37659
37660 [BZ #6528]
37661 * grp/Makefile (otherlibs): Don't set it.
37662 * inet/Makefile (otherlibs): Likewise.
37663 * login/Makefile (otherlibs): Likewise.
37664 * nscd/Makefile (otherlibs): Likewise.
37665 * posix/Makefile (otherlibs): Likewise.
37666 * pwd/Makefile (otherlibs): Likewise.
37667 * rt/Makefile (otherlibs): Likewise.
37668 * sunrpc/Makefile (otherlibs): Likewise.
37669 * nss/Makefile (otherlibs): Likewise.
37670 Add libnss_files to routines and static-only-routines.
37671 ($(objpfx)getent): Remove rule.
37672 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37673 static-only-routines.
37674
7c69cd14
JM
376752012-03-22 Joseph Myers <joseph@codesourcery.com>
37676
37677 [BZ #13892]
37678 * math/s_cexp.c: Include <float.h>.
37679 (__cexp): Handle exp result overflowing not necessarily
37680 overflowing both real and imaginary parts of result.
37681 * math/s_cexpf.c: Likewise.
37682 * math/s_cexpl.c: Likewise.
37683 * math/libm-test.inc (cexp_test): Add more tests.
37684 * sysdeps/i386/fpu/libm-test-ulps: Update.
37685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37686
81b035fe
L
376872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37688
37689 * include/link.h (ELFW): New macro.
37690 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37691 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37692
1da7940c
L
376932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37694
37695 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37696 with uint64_t.
37697
b749dbb9
L
376982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37699
37700 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37701 declaration.
37702 (struct La_x32_retval): Likewise.
37703
2ff87f3f
L
377042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37705
37706 * sysdeps/x86_64/preconfigure.in: New file.
37707 * sysdeps/x86_64/preconfigure: New generated file.
37708
c0df8e69
JM
377092012-03-22 Joseph Myers <joseph@codesourcery.com>
37710
48e44791
JM
37711 [BZ #13824]
37712 * math/e_exp2l.c: Include <float.h>.
37713 (__ieee754_exp2l): Handle overflow and underflow cases
37714 separately. Only pass fractional part of argument to
37715 __ieee754_expl.
37716 * math/libm-test.inc (exp2_test): Add more tests.
37717
c0df8e69
JM
37718 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37719 negating x to take absolute value.
37720 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37721 Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37724 Likewise.
37725 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37726 computing low part if x was negated.
37727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37728
c8e43ba7
L
377292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37730
37731 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37732 la_x32_gnu_pltexit.
37733 (pltexit): Cast int_retval to ptrdiff_t.
37734 * elf/tst-auditmod3b.c: Likewise.
37735 * elf/tst-auditmod4b.c: Likewise.
37736 * elf/tst-auditmod5b.c: Likewise.
37737 * elf/tst-auditmod6b.c: Likewise.
37738 * elf/tst-auditmod6c.c: Likewise.
37739 * elf/tst-auditmod7b.c: Likewise.
37740
37741 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37742 and x32_gnu_pltexit.
37743
37744 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37745 __ELF_NATIVE_CLASS.
37746 (La_x32_regs): New macro.
37747 (La_x32_retval): Likewise.
37748 (la_x32_gnu_pltenter): New function prototype.
37749 (la_x32_gnu_pltexit): Likewise.
37750
7998fa78
AS
377512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37752
dcb33988
AS
37753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37754 exponent.
37755
233fc563
AS
37756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37757
7998fa78
AS
37758 * configure.in (libc_cv_cc_nofma): Check for option to disable
37759 generation of FMA instructions.
37760 * configure: Regenerate.
37761 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37762 * sysdeps/ieee754/dbl-64/Makefile: New file.
37763 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37764 Remove brandred-fma4.
37765 (CFLAGS-brandred-fma4.c): Remove.
37766 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37767 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37768 define.
37769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37770 define.
37771
8e95c99a
L
377722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37773
37774 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37775 LLONG_MAX != LONG_MAX.
37776 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37777 (_fitoa_word): Likewise.
37778 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37779 LLONG_MAX != LONG_MAX.
37780 * stdio-common/_itowa.h: Include <_itoa.h>.
37781 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37782 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37783 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37784 only if not defined.
37785 (_ITOA_WORD_TYPE): Likewise.
37786 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37787 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37788
6f4db457
DM
377892012-03-21 David S. Miller <davem@davemloft.net>
37790
37791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37792
7785fe5a
L
377932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37794
37795 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37796 of x86_64 when setting libc_cv_slibdir, libdir and
37797 libc_cv_localedir.
37798 * sysdeps/unix/sysv/linux/configure: Regenerated.
37799
4535cd55
JM
378002012-03-21 Joseph Myers <joseph@codesourcery.com>
37801
37802 * manual/lang.texi (Old Varargs): Remove section.
37803 (How Variadic): Update menu.
37804 (va_start): Do not mention varargs.h.
37805
17228132
TS
378062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37807 Joseph Myers <joseph@codesourcery.com>
37808
37809 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37810 link test.
37811 * configure: Regenerated.
37812
8149f976
TS
378132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37814
05f3d1f6
UD
37815 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37816 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37817 conformtest.pl
8149f976 37818
1a4ac776
JM
378192012-03-21 Joseph Myers <joseph@codesourcery.com>
37820
be22ce65
JM
37821 * NOTES: Remove.
37822 * Makefile (files-for-dist): Remove NOTES.
37823 (NOTES): Remove rule.
37824 * README: Don't refer to NOTES.
37825 * manual/creature.texi: Don't include macros.texi.
37826 * manual/intro.texi (creature.texi): Remove comment referring to
37827 NOTES.
37828
40b601fb
JM
37829 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37830 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37831 * configure: Regenerated.
37832 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37833 LIBC_TRY_CC_OPTION.
37834 (libc_cv_as_i686): Likewise.
37835 (libc_cv_cc_avx): Likewise.
37836 (libc_cv_cc_sse2avx): Likewise.
37837 (libc_cv_cc_fma4): Likewise.
37838 (libc_cv_cc_novzeroupper): Likewise.
37839 * sysdeps/i386/configure: Regenerated.
37840
1a4ac776
JM
37841 [BZ #13883]
37842 * sysdeps/i386/fpu/s_cexp.S: Remove.
37843 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37844 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37845 * math/libm-test.inc (cexp_test): Add more tests.
37846 * sysdeps/i386/fpu/libm-test-ulps: Update.
37847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37848
a458e7fe
AM
378492012-03-21 Allan McRae <allan@archlinux.org>
37850
37851 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37852
0cb7efc5
JM
378532012-03-21 Joseph Myers <joseph@codesourcery.com>
37854
37855 [BZ #13871]
37856 * math/w_exp2.c: Do not include <float.h>.
37857 (o_threshold, u_threshold): Remove.
37858 (__exp2): Calculate result before checking finiteness and calling
37859 __kernel_standard.
37860 * math/w_exp2f.c: Likewise.
37861 * math/w_exp2l.c: Likewise.
37862 * math/libm-test.inc (exp2_test): Require overflow exception for
37863 1e6 input.
2460d3aa
JM
37864
37865 [BZ #3866]
37866 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37867 range of signed 64-bit integers before using fistpll. Remove
37868 checks for whether integers fit in mantissa bits.
37869 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37870 the range of signed 32-bit integers before using fistpl. Remove
37871 checks for whether integers fit in mantissa bits.
37872 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37873 (__ieee754_powl): Test for y outside the range of signed 64-bit
37874 integers before using fistpll. Reduce 64-bit values to 63-bit
37875 ones as needed.
37876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37877 divide-by-zero is raised for zero to large negative powers.
37878 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37879 (__ieee754_powl): Test for y outside the range of signed 64-bit
37880 integers before using fistpll. Reduce 64-bit values to 63-bit
37881 ones as needed.
37882 * math/libm-test.inc (pow_test): Add more tests.
37883
eb96ffb0
L
378842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37885
37886 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37887 <stdio-common/_itoa.h>.
37888 * debug/segfault.c: Likewise.
37889 * elf/dl-cache.c: Likewise.
37890 * elf/dl-minimal.c: Likewise.
37891 * elf/dl-misc.c: Likewise.
37892 * elf/dl-sysdep.c: Likewise.
37893 * elf/dl-version.c: Likewise.
37894 * elf/rtld.c: Likewise.
37895 * hurd/hurdsock.c: Likewise.
37896 * hurd/lookup-retry.c: Likewise.
37897 * malloc/malloc.c: Likewise.
37898 * malloc/mtrace.c: Likewise.
37899 * nscd/nscd_getgr_r.c: Likewise.
37900 * nscd/nscd_getpw_r.c: Likewise.
37901 * nscd/nscd_getserv_r.c: Likewise.
37902 * posix/getopt_init.c: Likewise.
37903 * posix/wordexp.c: Likewise.
37904 * stdio-common/_itoa.c: Likewise.
37905 * stdio-common/printf_fphex.c: Likewise.
37906 * stdio-common/vfprintf.c: Likewise.
37907 * string/_strerror.c: Likewise.
37908 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37909 * sysdeps/i386/i686/hp-timing.h: Likewise.
37910 * sysdeps/mach/_strerror.c: Likewise.
37911 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37912 * sysdeps/mach/hurd/sethostid.c: Likewise.
37913 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37914 * sysdeps/mach/xpg-strerror.c: Likewise.
37915 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37916 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37917 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37918 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37919 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37920 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37921 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37922 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37923 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37924 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37925 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37926 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37927 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37928 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37929 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37930 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37931 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37932 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37933 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37934 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37935 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37936
37937 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37938
37939 * stdio-common/_itoa.h: Moved to ...
37940 * sysdeps/generic/_itoa.h: Here.
37941
37942 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37943
37944 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37945 instead of "_itoa.h" and "_itowa.h".
37946 * stdio-common/vfprintf.: Likewise.
37947
d1af992d
L
379482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37949
37950 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37951 <bits/wordsize.h>.
37952 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37953 (__signbit): Likwise.
37954 (llrintf): Likwise.
37955 (llrint): Likwise.
37956
114883e0
L
379572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37958
37959 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37960 __WORDSIZE != 64.
37961
c135cc1b
JM
379622012-03-20 Joseph Myers <joseph@codesourcery.com>
37963
37964 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37965 OVERFLOW_EXCEPTION_OK.
37966 * math/libm-test.inc ("Philosophy"): Update comment about
37967 exception testing.
37968 (OVERFLOW_EXCEPTION): Define.
37969 (OVERFLOW_EXCEPTION_OK): Likewise.
37970 (INVALID_EXCEPTION_OK): Renumber.
37971 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37972 (IGNORE_ZERO_INF_SIGN): Likewise.
37973 (test_exceptions): Handle FE_OVERFLOW.
37974 (exp10_test): Expect overflow exceptions.
37975 (exp2_test): Likewise.
37976 (expm1_test): Likewise.
37977 (nextafter_test): Likewise.
37978 (pow_test): Likewise.
37979 (scalbn_test): Likewise.
37980 (scalbln_test): Likewise.
37981
95443d88
L
379822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37983
37984 * sysdeps/x86_64/bits/atomic.h
37985 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37986 64bit integer.
37987 (atomic_exchange_acq): Likewise.
37988 (__arch_exchange_and_add_body): Likewise.
37989 (__arch_add_body): Likewise.
37990 (atomic_add_negative): Likewise.
37991 (atomic_add_zero): Likewise.
37992
490df6c4
L
379932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37994
c2722551 37995 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37996 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37997
5e52b189
L
379982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37999
38000 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38001 Check __x86_64__ instead of __WORDSIZE.
38002
a9879d4c
L
380032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38004
38005 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38006
5df98260
DM
380072012-03-19 David S. Miller <davem@davemloft.net>
38008
e1497744
DM
38009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38010
5df98260
DM
38011 * sysdeps/sparc/fpu/fenv_private.h: New file.
38012 * sysdeps/sparc/fpu/math_private.h: Use it.
38013 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38014 Remove.
57f41c40 38015 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38016 (libc_feholdexcept_setroundl): Remove.
38017 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38018 Remove.
38019 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38020 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38021
b4c35121
L
380222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38023
38024 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38025 int64_t instead of long int.
38026 (INSERT_WORDS64): Likwise.
38027
56965fd7
L
380282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38029
38030 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38031 _Unwind_GetCFA return to _Unwind_Ptr first.
38032
83d1aec8
JM
380332012-03-19 Joseph Myers <joseph@codesourcery.com>
38034
1897ad44
JM
38035 [BZ #13629]
38036 * math/s_clog.c: Include <float.h>.
38037 (__clog): Scale large or subnormal inputs.
38038 * math/s_clogf.c: Likewise.
38039 * math/s_clogl.c: Likewise.
38040 * math/s_clog10.c: Include <float.h>.
38041 (M_LOG10_2): Define.
38042 (__clog10): Scale large or subnormal inputs.
38043 * math/s_clog10f.c: Likewise.
38044 * math/s_clog10l.c: Likewise.
38045 * math/libm-test.inc (clog_test): Add more tests.
38046 (clog10_test): Likewise.
38047 * sysdeps/i386/fpu/libm-test-ulps: Update.
38048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38049
7726d6a9
JM
38050 [BZ #11451]
38051 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38052 x and y.
38053 * math/libm-test.inc (atan2_test): Add another test.
38054
83d1aec8
JM
38055 * Makerules (common-objdir-compile): Remove.
38056 * sysdeps/unix/Makefile (config-generated): Do not add
38057 $(unix-generated) to variable.
38058 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38059 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38060 Remove rule.
38061 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38062 Likewise.
38063 [generic bits/local_lim.h] (before-compile): Do not append to
38064 variable.
38065 [generic bits/local_lim.h] (common-generated): Likewise.
38066 [generic sys/param.h] (before-compile): Do not append to variable.
38067 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38068 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38069 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38070 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38071 include.
38072 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38073 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38074 [generic sys/param.h] ($(addprefix
38075 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38076 [generic sys/param.h] (common-generated): Do not append to
38077 variable.
38078 [generic sys/param.h] (sysdep_headers): Likewise.
38079 [generic bits/errno.h] (before-compile): Do not append to
38080 variable.
38081 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38082 rule.
38083 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38084 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38085 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38086 [generic bits/errno.h] (common-generated): Do not append to
38087 variable.
38088 [generic bits/ioctls.h] (before-compile): Do not append to
38089 variable.
38090 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38091 rule.
38092 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38093 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38094 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38095 rule.
38096 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38097 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38098 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38099 [generic bits/ioctls.h] (common-generated): Do not append to
38100 variable.
38101 [generic sys/syscall.h] (syscall.h): Remove variable.
38102 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38103 rule.
38104 [generic sys/syscall.h] (before-compile): Do not append to
38105 variable.
38106 [generic sys/syscall.h] (common-generated): Likewise.
38107 * sysdeps/unix/errnos-tmpl.c: Remove file.
38108 * sysdeps/unix/errnos.awk: Likewise.
38109 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38110 * sysdeps/unix/ioctls.awk: Likewise.
38111 * sysdeps/unix/mk-local_lim.c: Likewise.
38112 * sysdeps/unix/snarf-ioctls: Likewise.
38113
4851a949
RH
381142012-03-19 Richard Henderson <rth@twiddle.net>
38115
bd37f2ee
RH
38116 * sysdeps/i386/fpu/fenv_private.h: New file.
38117 * sysdeps/i386/fpu/math_private.h: Use it.
38118 (math_opt_barrier, math_force_eval): Remove.
38119 (libc_feholdexcept_setround_53bit): Remove.
38120 (libc_feupdateenv_53bit): Remove.
38121 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38122 (math_opt_barrier, math_force_eval): Remove.
38123 (libc_feholdexcept): Remove.
38124 (libc_feholdexcept_setround): Remove.
38125 (libc_fetestexcept, libc_fesetenv): Remove.
38126 (libc_feupdateenv_test): Remove.
38127 (libc_feupdateenv, libc_feholdsetround): Remove.
38128 (libc_feresetround): Remove.
38129
d0adc922
RH
38130 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38131 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38132
0fe0f1f8
RH
38133 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38134 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38135 (libc_feupdateenv_testl): New.
38136 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38137 (libc_feupdateenv_testf): New.
38138 (libc_feupdateenv): Use libc_feupdateenv_test.
38139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38140 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38141
eb92c487
RH
38142 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38143 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38144 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38145 (libc_feresetround_noex): New.
38146 (libc_feresetround_noexf): New.
38147 (libc_feresetround_noexl): New.
38148 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38149 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38150 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38151 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38152 SET_RESTORE_ROUND.
38153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38155 (__cos): Likewise.
38156 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38157 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38158 SET_RESTORE_ROUND_NOEX.
38159 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38160 SET_RESTORE_ROUND_NOEXF.
38161 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38162 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38163 (libc_feholdsetroundf): New.
38164 (libc_feresetround, libc_feresetroundf): New.
38165
7d2e8012
RH
38166 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38167 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38168 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38169
b4dabbb4
RH
38170 * sysdeps/generic/math_private.h: Include <fenv.h>.
38171 (default_libc_feholdexcept): New.
38172 (default_libc_feholdexcept_setround): New.
38173 (default_libc_fesetenv, default_libc_feupdateenv): New.
38174 (libc_feholdexcept): Only define if undefined.
38175 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38176 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38177 (libc_feholdexcept_setroundl): Likewise.
38178 (libc_feholdexcept_setround_53bit): Likewise.
38179 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38180 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38181 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38182 (libc_feupdateenv_53bit): Likewise.
38183 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38184 (libc_feholdexcept): Convert from macro to inline function.
38185 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38186 (libc_fesetenv, libc_feupdateenv): Likewise.
38187
4851a949
RH
38188 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38189 not previously defined.
38190 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38191 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38192 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38193 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38194 * sysdeps/ieee754/flt-32/math_private.h: New file.
38195 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38196 math_private.h below SET_FLOAT_WORD.
38197 (__isnan, __isinf_ns, __finite): Remove.
38198 (__isnanf, __isinf_nsf, __finitef): Remove.
38199
e79d442e
AS
382002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38201
38202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38203
90b80344
DM
382042012-03-17 David S. Miller <davem@davemloft.net>
38205
38206 [BZ #6471]
38207 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38208 for 2.16.
38209
edc21804
DM
382102012-03-16 David S. Miller <davem@davemloft.net>
38211
77e927af
DM
38212 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38213 warnings.
38214
374976dd
DM
38215 [BZ #6471]
38216 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38217 properly.
38218 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38219 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38220 sysdep_routines when subdir is sysvipc.
38221 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38222 __getshmlba helper.
38223
edc21804
DM
38224 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38225
473c3ef3
L
382262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38227
38228 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38229 [__LP64__].
38230
eb0f39b6
L
382312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38232
38233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38234 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38235 (__lround): Renamed to ...
38236 (__llround): This. Replace long int with long long int.
38237 Define lround functions as aliases of llround functions.
38238 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38239
6b6cd74b
L
382402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38243 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38244 adresses to uintptr_t. Replace "long int" and "unsigned long
38245 int" with "greg_t" on va_arg.
38246
f1a77b01
L
382472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38248
38249 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38250 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38251
38252 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38253 Move e_machine check before EI_CLASS check. Handle x32
38254 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38255 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38256 SKIP_EM_IA_64 and include
38257 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38258
38259 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38260 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38261 (add_system_dir): New macro.
38262
38263 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38264 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38265
11b90b9f
JM
382662012-03-16 Joseph Myers <joseph@codesourcery.com>
38267
c36e1d23
JM
38268 [BZ #2551]
38269 [BZ #2552]
38270 [BZ #2553]
38271 [BZ #2554]
38272 [BZ #2562]
38273 [BZ #2563]
38274 [BZ #2565]
38275 [BZ #2566]
38276 [BZ #2576]
38277 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38278 (y0): Likewise.
38279 * math/w_j0f.c (j0f): Likewise.
38280 (y0f): Likewise.
38281 * math/w_j0l.c (__j0l): Likewise.
38282 (__y0l): Likewise.
38283 * math/w_j1.c (j1): Likewise.
38284 (y1): Likewise.
38285 * math/w_j1f.c (j1f): Likewise.
38286 (y1f): Likewise.
38287 * math/w_j1l.c (__j1l): Likewise.
38288 (__y1l): Likewise.
38289 * math/w_jn.c (jn): Likewise.
38290 (yn): Likewise.
38291 * math/w_jnf.c (jnf): Likewise.
38292 (ynf): Likewise.
38293 * math/w_jnl.c (__jnl): Likewise.
38294 (__ynl): Likewise.
38295 * math/libm-test.inc (j0_test): Add more tests.
38296 (j1_test): Likewise.
38297 (jn_test): Likewise. Add trailing semicolon to existing test.
38298 (y0_test): Likewise.
38299 (y1_test): Likewise.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
11b90b9f
JM
38303 [BZ #13851]
38304 [BZ #13854]
38305 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38306 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38307 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38308 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38309 (__tanl): Set errno for infinite argument.
38310 * sysdeps/i386/fpu/mptan.c: Remove.
38311 * sysdeps/i386/fpu/s_tan.S: Likewise.
38312 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38313 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38314 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38315 * math/libm-test.inc (tan_test): Add more tests and enable more
38316 tests for double and long double.
38317 * sysdeps/i386/fpu/libm-test-ulps: Update.
38318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38319
6a1bd2a1
JK
383202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38321
38322 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38323 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38324
10a803e0
RM
383252012-03-16 Roland McGrath <roland@hack.frob.com>
38326
38327 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38328 * configure.in: Use it for both main tree and add-ons.
38329 * configure: Regenerated.
38330
f196c7f7
L
383312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38332
38333 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38334
8848d99d
JM
383352012-03-16 Joseph Myers <joseph@codesourcery.com>
38336
96cbe7f4
JM
38337 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38338 in comment.
38339
8848d99d
JM
38340 [BZ #13851]
38341 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38342 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38346 infinite argument.
38347 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38349 != 0 for prec == 2.
38350 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38351 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38352 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38353 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38354 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38355 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38356 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38357 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38358 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38359 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38360 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38361 * math/libm-test.inc (cos_test): Add more tests and enable more
38362 tests for long double.
38363 (sin_test): Likewise.
38364 (sincos_test): Likewise.
38365 * sysdeps/i386/fpu/libm-test-ulps: Update.
38366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38367
dd7f4703
DM
383682012-03-16 David S. Miller <davem@davemloft.net>
38369
38370 * sysdeps/sparc/fpu/math_private.h: New file.
38371
006f1daa
DM
383722012-03-15 David S. Miller <davem@davemloft.net>
38373
c0c83bc8
DM
38374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38375 file.
e6a62e18 38376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38378 file.
e6a62e18
DM
38379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38385 sysdep routines.
38386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38387
88cb87d9
DM
38388 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38389 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38390
006f1daa 38391 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38393 sparc-ifunc.h
006f1daa 38394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38396 Likewise.
38397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38398 Likewise.
006f1daa
DM
38399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38403 Likewise.
006f1daa
DM
38404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38409 Likewise.
38410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38411 Likewise.
006f1daa
DM
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38432 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38436
11e0098e
AS
384372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38438
38439 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38440 scaling.
38441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38442
e85b09d0
AJ
384432012-03-15 Andreas Jaeger <aj@suse.de>
38444
38445 [BZ #13852]
38446 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38447 ieee754/flt-32 implementation for sin, cos and sincos.
38448 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38449 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38450 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38451 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38452 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38453 ieee754/flt-32 implementation for tan.
38454
38455 * math/libm-test.inc (cos_test): Enable some large input tests for
38456 float as well
38457 (sin_test): Likewise.
38458 (sincos_test): Likewise.
38459 (tan_test): Add tests for large input.
38460
38461 * sysdeps/i386/fpu/libm-test-ulps: Update.
38462
81c64153
AJ
384632012-03-15 Andreas Jaeger <aj@suse.de>
38464
38465 [BZ #13658]
38466 * math/libm-test.inc (cos_test): Add more test cases.
38467 (sin_test): Likewise.
38468 (sincos_test): Likewise.
38469
7bbfa5c6
AJ
384702012-03-15 Andreas Jaeger <aj@suse.de>
38471
38472 [BZ #13837]
38473 * math/libm-test.inc (cos_test): Add a test case for large input
38474 value.
38475 (sin_test): Likewise.
38476 (sincos_test): Likewise.
38477
57f41c40
AS
384782012-03-15 Andreas Jaeger <aj@suse.de>
38479 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38480
38481 [BZ #13658]
0671f479 38482 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38483 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38484 * sysdeps/i386/fpu/branred.c: Likewise.
38485 * sysdeps/i386/fpu/dosincos.c: Likewise.
38486 * sysdeps/i386/fpu/mpa.c: Likewise.
38487 * sysdeps/i386/fpu/s_cos.S: Likewise.
38488 * sysdeps/i386/fpu/s_sin.S: Likewise.
38489 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38490 * sysdeps/i386/fpu/sincos32.c: Likewise.
38491
38492 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38493 Define.
38494 (libc_feupdateenv_53bit): Define.
38495 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38496 Define.
38497 (libc_feupdateenv_53bit): Define.
38498
38499 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38500 53 bit (without extend i386 double precision).
38501
38502 * math/libm-test.inc (sincos_test): Add tests for large input.
38503 (sin): Likewise.
38504 (cos): Likewise.
38505
38506 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38507
9cad04ea
AS
385082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38509
38510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38511
f7062b9a
DM
385122012-03-15 David S. Miller <davem@davemloft.net>
38513
38514 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38515 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38516 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38517 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38530 file.
f7062b9a 38531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38533 file.
f7062b9a 38534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38536 file.
f7062b9a 38537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38539 file.
f7062b9a
DM
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38542 fmin/fmax sysdep routines.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38544
7bd951ff
DM
385452012-03-14 David S. Miller <davem@davemloft.net>
38546
559398ab
DM
38547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38576 routines.
38577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38578 file.
559398ab 38579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38581 file.
559398ab 38582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38584 file.
559398ab 38585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38587 file.
559398ab 38588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38590 file.
559398ab 38591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38593 file.
38594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38595 file.
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38597 file.
38598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38599 file.
38600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38601 New file.
38602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38603 file.
38604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38605 file.
559398ab 38606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38608 file.
559398ab 38609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38611 file.
559398ab 38612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38614 file.
559398ab 38615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38617 VIS3 routines.
559398ab
DM
38618
38619 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38620 New file.
38621
5a1c1e32
DM
38622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38623
eae47a36
DM
38624 * sysdeps/sparc/configure.in: New file.
38625 * sysdeps/sparc/configure: Generate.
38626 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38627 * configure: Regenerate.
38628 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38629 * config.make.in (have-as-vis3): New.
38630 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38631 available use -Av9d instead of -Av9a.
38632 * sysdeps/sparc/sparc64/Makefile: Likewise.
38633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38635 New file.
38636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38637 file.
38638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38639 New file.
38640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38641 file.
eae47a36
DM
38642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38647
c0c83bc8
DM
38648 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38649 fzeros/fnegs to load 0x80000000 into a float register instead of
38650 using the stack.
7bd951ff
DM
38651 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38652
bd951ccb
JM
386532012-03-14 Joseph Myers <joseph@codesourcery.com>
38654
38655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38656 bits/syscall.h.
38657 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38658 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38659 ($(inst_includedir)/bits/syscall.h): Remove rule.
38660 ($(objpfx)bits/syscall.d): Include instead of
38661 $(objpfx)syscall-list.d.
38662 (generated): Change syscall-list.h and syscall-list.d to
38663 bits/syscall.h and bits/syscall.d.
38664
bb4e6db2
RM
386652012-03-14 Roland McGrath <roland@hack.frob.com>
38666
38667 [BZ #13846]
38668 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38669
aa4a2ae1
JM
386702012-03-14 Joseph Myers <joseph@codesourcery.com>
38671
e456826d
JM
38672 [BZ #13841]
38673 * math/s_csqrt.c: Include <float.h>.
38674 (__csqrt): Scale large or subnormal inputs.
38675 * math/s_csqrtf.c: Likewise.
38676 * math/s_csqrtl.c: Likewise.
38677 * math/libm-test.inc (csqrt_test): Add more tests.
38678 * sysdeps/i386/fpu/libm-test-ulps: Update.
38679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38680
aa4a2ae1
JM
38681 [BZ #13840]
38682 * math/libm-test.inc (hypot_test): Add more tests.
38683
7c10fd35
DM
386842012-03-13 David S. Miller <davem@davemloft.net>
38685
38686 [BZ #13840]
38687 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38688 double-precision for the calculation instead of scaling.
38689
f453b98b
JM
386902012-03-13 Joseph Myers <joseph@codesourcery.com>
38691
38692 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38693 manipulate bits before adding and subtracting TWO52[sx].
38694 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38696 Likewise.
38697 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38698
09a3453f
DM
386992012-03-13 David S. Miller <davem@davemloft.net>
38700
8e59da90
DM
38701 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38702 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38704 rtld-global-offsets.h
38705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38706
2a8ab7f2
DM
38707 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38708 large parameters.
38709
10f62770
DM
38710 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38711
5f0bdb18
DM
38712 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38713 'err' in the ifdef scope in which it is actually used.
38714
09a3453f
DM
38715 * nss/nss_db/db-init.c: Include string.h
38716
b4b2eb5e
DM
387172012-03-12 David S. Miller <davem@davemloft.net>
38718
98bb2f1c
DM
38719 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38720 masking out of the most significant byte of random value used.
38721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38722 Fix coding style in previous change.
38723
b4b2eb5e
DM
38724 * sysdeps/unix/sysv/linux/kernel-features.h
38725 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38726 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38727 expression.
38728 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38729 later.
38730
6e226b09
DM
387312012-03-11 David S. Miller <davem@davemloft.net>
38732
a1bcbd40
DM
38733 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38734 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38736 for 'resultvar' otherwise things get truncated on 64-bit.
38737
cb9d6174
DM
38738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38739 Fix masking out of the most significant byte of random value used.
38740
6e226b09
DM
38741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38742
058c132d
AS
387432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38744
38745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38746
2d2cd515
DM
387472012-03-09 David S. Miller <davem@davemloft.net>
38748
38749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38750 variables with appropriate CPP guards.
57f41c40
AS
38751 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38752 from the frame pointer, not the stack pointer. Correct layout
38753 comments. Fix test on resulting framesize and the management of
38754 the outregs buffer for pltexit. Preserve floating point return
38755 values across _dl_call_pltexit call.
2d2cd515
DM
38756 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38757 framesize and the management of the outregs buffer for pltexit.
38758 Preserve floating point return values across _dl_call_pltexit
38759 call.
57f41c40
AS
38760 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38761 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38762 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38763 (print_exit): Fix format string for return register value.
38764
9a07f9d0
JM
387652012-03-10 Joseph Myers <joseph@codesourcery.com>
38766
38767 * sunrpc/Makefile (others): Add rpcgen.
38768 ($(objpfx)rpcgen): Remove special build rule and dependency on
38769 libc.
38770 * sunrpc/rpcgen.c: New file.
38771
547b5e30
PE
387722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38773
c524201a
PE
38774 [BZ #13673]
38775 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38776 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38777 * sysdeps/i386/crti.S: Likewise.
38778 * sysdeps/i386/crtn.S: Likewise.
38779 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38780 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38781 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38782 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38783 * sysdeps/sh/crti.S: Likewise.
38784 * sysdeps/sh/crtn.S: Likewise.
38785 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38786
7b6235f2
PE
38787 [BZ #13673]
38788 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38789 with URL.
38790 * locale/programs/locfile-kw.gperf: Likewise.
38791 * locale/programs/charmap-kw.h: Regenerated.
38792 * locale/programs/locfile-kw.h: Likewise.
38793
547b5e30
PE
38794 [BZ #13673]
38795 * intl/plural.y: Replace FSF snail mail address with URL.
38796 * intl/plural.c: Regenerated.
38797
5f0a5dae
RH
387982012-03-09 Richard Henderson <rth@twiddle.net>
38799
38800 * include/math_private.h: Remove file.
38801 * math/math_private.h: Move file ...
38802 * sysdeps/generic/math_private.h: ... here.
38803
b8c03620
RH
38804 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38805 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38806 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38807
4e234f5d 38808 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38809 and <math_private.h>.
38810 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38811 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38812 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38813 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38814 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38898 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38899 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38900 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38901 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38902 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38903 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38904 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38905 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38907 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38908 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38909 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38910 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38911 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38912 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38913 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38914 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38915 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38916 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38917 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38918 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38919 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38920 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38921 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38922 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38923 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38924 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38925 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38926 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38927 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38928 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38932 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38933 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38934 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38935 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38936 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38937 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38938 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38939 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38940 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38941 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38942 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38943 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38944 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38945 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38946 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38947 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38948 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38949 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38950 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38951 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38952 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38954 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38955 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38956 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38957 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38958 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38959 * sysdeps/ieee754/k_standard.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39003 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39077 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39078 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39079 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39080 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39082 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39085 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39087 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39088 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39090 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39091 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39092 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39095 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39101 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39102 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39109 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39110 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39120 * sysdeps/ieee754/s_lib_version.c: Likewise.
39121 * sysdeps/ieee754/s_matherr.c: Likewise.
39122 * sysdeps/ieee754/s_signgam.c: Likewise.
39123 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39124 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39125 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39126 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39127 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39128 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39129 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39130 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39131 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39132 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39133 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39134 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39135 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39136 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39137 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39138 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39139 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39140 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39141 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39144
1991fa03
JM
391452012-03-09 Joseph Myers <joseph@codesourcery.com>
39146
39147 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39148 * sunrpc/rpc_main.c: Likewise.
39149 * sunrpc/rpc_svcout.c: Likewise.
39150
60d6f5a6
DM
391512012-03-09 David S. Miller <davem@davemloft.net>
39152
39153 * include/math_private.h: New file.
39154
4962050e
JM
391552012-03-09 Joseph Myers <joseph@codesourcery.com>
39156
02a6f887
JM
39157 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39158 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39159 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39160 from <bits/socket_type.h>.
39161 (enum __socket_type): Don't define here.
39162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39164 bits/socket_type.h.
39165
c6e013c1
JM
39166 [BZ #13566]
39167 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39168 checking __USE_GNU.
39169
4962050e
JM
39170 * Makerules ($(inst_includedir)/%.h): New rule.
39171 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39172 (install-others): Remove variable setting.
39173 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39174
38842f45
RH
391752012-03-08 Richard Henderson <rth@twiddle.net>
39176
67bb6da6
RH
39177 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39178 from macro to inline function; merge with the
39179 !__LIBC_INTERNAL_MATH_INLINES version.
39180 (__ieee754_sqrtf): Likewise.
39181
15194b4b
RH
39182 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39183 to inline function.
39184 (__rintf, __floor, __floorf): Likewise.
39185
64e21ede
RH
39186 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39187 macro to inline function.
39188 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39189
38842f45
RH
39190 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39191 not <math/math_private.h>.
39192
c64bf5fe
DM
391932012-03-08 David S. Miller <davem@davemloft.net>
39194
39195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39196 copyright year.
39197 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39198
82d86f28
TS
391992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39200
39201 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39202 normalization.
39203 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39204 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39205
aea5d727
UD
392062012-03-08 Ulrich Drepper <drepper@gmail.com>
39207
39208 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39209 be defined individually, they must be defined as a block. Define
39210 S for printing a string instead of hidint the different by using a
39211 macro for adding the 'l'.
39212 * stdio-common/tst-fphex-wide.c: Adjust.
39213
70bca0a3
MP
392142012-03-07 Marek Polacek <polacek@redhat.com>
39215
39216 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39217
65b81130
MP
392182012-03-08 Marek Polacek <polacek@redhat.com>
39219
39220 [BZ #13806]
39221 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39222 * stdio-common/tst-fphex.c: Define a few macros to make the
39223 test reusable. Use them.
39224 * stdio-common/tst-fphex-wide.c: New file.
39225
07037eeb
JM
392262012-03-08 Joseph Myers <joseph@codesourcery.com>
39227
a7a93d50
JM
39228 [BZ #6911]
39229 * manual/macros.texi (gnusystems): New macro.
39230 (nongnusystems): Likewise.
39231 (gnulinuxhurdsystems): Likewise.
39232 (gnuhurdsystems): Likewise..
39233 (gnulinuxsystems): Likewise.
39234 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39235 variants of the GNU system, not "GNU system".
39236 * manual/conf.texi: Likewise.
39237 * manual/errno.texi: Likewise. Update example of errno macro
39238 expansion.
39239 * manual/filesys.texi: Likewise.
39240 (getumask): Document as specific to GNU/Hurd.
39241 * manual/install.texi: Likewise. Reword some references to
39242 GNU/Linux.
39243 * manual/intro.texi: Likewise.
39244 * manual/io.texi: Likewise.
39245 (File Name Portability): Detail which constraints are inapplicable
39246 to all GNU systems and which are only inapplicable to GNU/Hurd.
39247 * manual/job.texi: Likewise.
39248 * manual/llio.texi: Likewise.
39249 (O_NOCTTY): Document as present on GNU/Linux.
39250 * manual/maint.texi: Likewise.
39251 * manual/memory.texi: Likewise.
39252 * manual/pattern.texi: Likewise.
39253 * manual/pipe.texi: Likewise.
39254 * manual/process.texi: Likewise.
39255 * manual/resource.texi: Likewise.
39256 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39257 child on GNU/Hurd.
39258 * manual/setjmp.texi: Likewise.
39259 * manual/signal.texi: Likewise.
39260 * manual/startup.texi: Likewise.
39261 * manual/stdio.texi: Likewise.
39262 * manual/terminal.texi: Likewise.
39263 (ONLCR): Document as POSIX.
39264 (OXTABS): Document availability on GNU/Linux as XTABS.
39265 (ONOEOT): Document availability separately from other bits.
39266 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39267 * manual/time.texi: Likewise.
39268 * manual/users.texi: Likewise.
39269 * INSTALL: Regenerated.
39270 * sysdeps/gnu/errlist.c: Regenerated.
39271
07037eeb
JM
39272 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39273 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39274 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39275 puts.
39276 * configure: Regenerated.
39277
d1d3431a
JM
392782012-03-07 Joseph Myers <joseph@codesourcery.com>
39279
af6a1e37
JM
39280 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39281 default includes instead of AC_HEADER_CHECK.
39282 * sysdeps/i386/configure: Regenerated.
39283
d1d3431a
JM
39284 [BZ #10716]
39285 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39286 * math/s_cacoshf.c (__cacoshf): Likewise.
39287 * math/s_cacoshl.c (__cacoshl): Likewise.
39288 * math/s_casinh.c (__casinh): Set signs of result from argument.
39289 * math/s_casinhf.c (__casinhf): Likewise.
39290 * math/s_casinhl.c (__casinhl): Likewise.
39291 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39292 (casinh_test): Add more tests.
39293 * sysdeps/i386/fpu/libm-test-ulps: Update.
39294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39295
482ff4da
UD
392962012-03-07 Ulrich Drepper <drepper@gmail.com>
39297
872fda05
UD
39298 * po/zh_TW.po: Update from translation team.
39299
a4300c7a
UD
39300 * login/Makefile (distribute): Remove variable.
39301 * catgets/Makefile: Likewise.
39302 * mach/Makefile: Likewise.
39303 * malloc/Makefile: Likewise.
39304 * misc/Makefile: Likewise.
39305 * iconv/Makefile: Likewise.
39306 * nscd/Makefile: Likewise.
39307 * hurd/Makefile: Likewise.
39308 * manual/Makefile: Likewise.
39309 * locale/Makefile: Likewise.
39310 * intl/Makefile: Likewise.
39311 * conform/Makefile: Likewise.
39312 * nss/Makefile: Likewise.
39313 * time/Makefile: Likewise.
39314 * soft-fp/Makefile: Likewise.
39315 * dirent/Makefile: Likewise.
39316 * gmon/Makefile: Likewise.
39317 * po/Makefile: Likewise.
39318 * rt/Makefile: Likewise.
39319 * socket/Makefile: Likewise.
39320 * math/Makefile: Likewise.
39321 * signal/Makefile: Likewise.
39322 * debug/Makefile: Likewise.
39323 * elf/Makefile: Likewise.
39324 * timezone/Makefile: Likewise.
39325 * stdlib/Makefile: Likewise.
39326 * iconvdata/Makefile: Likewise.
39327 * sunrpc/Makefile: Likewise.
39328 * io/Makefile: Likewise.
39329 * argp/Makefile: Likewise.
39330 * inet/Makefile: Likewise.
39331 * hesiod/Makefile: Likewise.
39332 * grp/Makefile: Likewise.
39333 * csu/Makefile: Likewise.
39334 * wctype/Makefile: Likewise.
39335 * crypt/Makefile: Likewise.
39336 * libio/Makefile: Likewise.
39337 * string/Makefile: Likewise.
39338 * nis/Makefile: Likewise.
39339 * resolv/Makefile: Likewise.
39340 * stdio-common/Makefile: Likewise.
39341 * wcsmbs/Makefile: Likewise.
39342 * dlfcn/Makefile: Likewise.
39343 * posix/Makefile: Likewise.
39344
3b7c4e74 39345 [BZ #6959]
482ff4da
UD
39346 * timezone/Makefile: Don't install timezone files, just the programs
39347 and scripts.
39348
f72ed77d
UD
393492012-03-06 Ulrich Drepper <drepper@gmail.com>
39350
a000466f
UD
39351 * nss/databases.def: Add missing gshadow entry.
39352
f72ed77d
UD
39353 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39354
a53b7a4e
MP
393552012-03-06 Marek Polacek <polacek@redhat.com>
39356
39357 [BZ #13726]
39358 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39359 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39360 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39361 * stdio-common/tst-long-dbl-fphex.c: New file.
39362
e9258400
DM
393632012-03-06 David S. Miller <davem@davemloft.net>
39364
39365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39366 (set_obp_int): New function.
39367 (get_obp_int): New function.
39368 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39370 Avoid unused variable warnings on 'val' and use builtin_expect.
39371 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39372 __builtin_expect.
e9258400
DM
39373 (INLINE_CLONE_SYSCALL): Likewise.
39374
3bd2c723
DM
393752012-03-05 David S. Miller <davem@davemloft.net>
39376
39377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39378
bbb78d03
AS
393792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39380
884c5db4
AS
39381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39382
bbb78d03
AS
39383 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39384 only for |x| >= 40.
39385 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39386
1c9f702a 393872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39388
39389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39390 Replace gettimeofday with __vdso_gettimeofday.
39391
7be16f82
RM
39392 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39393 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39394 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39395
39396 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39397 time with __vdso_time.
39398
ed58a00f
JM
393992012-03-05 Joseph Myers <joseph@codesourcery.com>
39400
39401 * manual/lang.texi (size_t): Note types to which size_t may be
39402 equivalent with the GNU C Library, but do not describe when
39403 differences between them are significant.
39404
30ee4ced
AJ
394052012-03-05 Andreas Jaeger <aj@suse.de>
39406
39407 * sysdeps/i386/fpu/libm-test-ulps: Update.
39408
b7cd39e8
JM
394092012-03-05 Joseph Myers <joseph@codesourcery.com>
39410
39411 [BZ #3976]
39412 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39413 (__ieee754_pow): Save and restore rounding mode and use
39414 round-to-nearest for main computations.
39415 * math/libm-test.inc (pow_test_tonearest): New function.
39416 (pow_test_towardzero): Likewise.
39417 (pow_test_downward): Likewise.
39418 (pow_test_upward): Likewise.
39419 (main): Call the new functions.
39420 * sysdeps/i386/fpu/libm-test-ulps: Update.
39421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39422
39423 [BZ #3976]
39424 * math/libm-test.inc (cosh_test_tonearest): New function.
39425 (cosh_test_towardzero): Likewise.
39426 (cosh_test_downward): Likewise.
39427 (cosh_test_upward): Likewise.
39428 (sinh_test_tonearest): Likewise.
39429 (sinh_test_towardzero): Likewise.
39430 (sinh_test_downward): Likewise.
39431 (sinh_test_upward): Likewise.
39432 (main): Call the new functions.
39433 * sysdeps/i386/fpu/libm-test-ulps: Update.
39434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39435
6c6a98c9
TV
394362012-03-05 Tom de Vries <tom@codesourcery.com>
39437
39438 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39439 default stack guard is set in last bytes.
39440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39441
21bb2d2e 394422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39443
21bb2d2e 39444 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39445
21bb2d2e
AJ
39446 [BZ #13656]
39447 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39448 possibly allocate from heap instead of stack.
39449 * stdio-common/bug-vfprintf-nargs.c: New file.
39450 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39451
c6922934
AS
394522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39453
39454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39455
bc957d53
MP
394562012-03-03 Marek Polacek <polacek@redhat.com>
39457
39458 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39459 * math/math_private.h: Likewise.
39460 * stdlib/tst-strtod.c: Likewise.
39461 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39462 * sysdeps/x86_64/bits/atomic.h: Likewise.
39463
6358490d
DM
394642012-03-02 David S. Miller <davem@davemloft.net>
39465
39466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39470 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39471 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39472 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39473 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39474
01ae168d
RM
394752012-03-02 Roland McGrath <roland@hack.frob.com>
39476
d9a17c07
RM
39477 [BZ #13792]
39478 * manual/examples/README: New file, says the example source files
39479 can be used under GPL>=2.
39480 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39481 line containing just "*/".
39482 * manual/examples/add.c: Add copyright header (GPL>=2).
39483 * manual/examples/argp-ex1.c: Likewise.
39484 * manual/examples/argp-ex2.c: Likewise.
39485 * manual/examples/argp-ex3.c: Likewise.
39486 * manual/examples/argp-ex4.c: Likewise.
39487 * manual/examples/atexit.c: Likewise.
39488 * manual/examples/db.c: Likewise.
39489 * manual/examples/dir.c: Likewise.
39490 * manual/examples/dir2.c: Likewise.
39491 * manual/examples/execinfo.c: Likewise.
39492 * manual/examples/filecli.c: Likewise.
39493 * manual/examples/filesrv.c: Likewise.
39494 * manual/examples/fmtmsgexpl.c: Likewise.
39495 * manual/examples/genpass.c: Likewise.
39496 * manual/examples/inetcli.c: Likewise.
39497 * manual/examples/inetsrv.c: Likewise.
39498 * manual/examples/isockad.c: Likewise.
39499 * manual/examples/longopt.c: Likewise.
39500 * manual/examples/memopen.c: Likewise.
39501 * manual/examples/memstrm.c: Likewise.
39502 * manual/examples/mkfsock.c: Likewise.
39503 * manual/examples/mkisock.c: Likewise.
39504 * manual/examples/mygetpass.c: Likewise.
39505 * manual/examples/pipe.c: Likewise.
39506 * manual/examples/popen.c: Likewise.
39507 * manual/examples/rprintf.c: Likewise.
39508 * manual/examples/search.c: Likewise.
39509 * manual/examples/select.c: Likewise.
39510 * manual/examples/setjmp.c: Likewise.
39511 * manual/examples/sigh1.c: Likewise.
39512 * manual/examples/sigusr.c: Likewise.
39513 * manual/examples/stpcpy.c: Likewise.
39514 * manual/examples/strdupa.c: Likewise.
39515 * manual/examples/strftim.c: Likewise.
39516 * manual/examples/strncat.c: Likewise.
39517 * manual/examples/subopt.c: Likewise.
39518 * manual/examples/swapcontext.c: Likewise.
39519 * manual/examples/termios.c: Likewise.
39520 * manual/examples/testopt.c: Likewise.
39521 * manual/examples/testpass.c: Likewise.
39522 * manual/examples/timeval_subtract.c: Likewise.
39523
01ae168d
RM
39524 [BZ #13792]
39525 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39526 function to ...
39527 * manual/timeval_subtract.c.texi: ... here, new file.
39528
49efa33d
DM
395292012-03-02 David S. Miller <davem@davemloft.net>
39530
39531 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39532
28afd92d
JM
395332012-03-02 Joseph Myers <joseph@codesourcery.com>
39534
804360ed
JM
39535 [BZ #3976]
39536 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39537 (__sin): Save and restore rounding mode and use round-to-nearest
39538 for all computations.
39539 (__cos): Save and restore rounding mode and use round-to-nearest
39540 for all computations.
39541 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39542 <fenv.h>.
39543 (tan): Save and restore rounding mode and use round-to-nearest for
39544 all computations.
39545 * math/libm-test.inc (cos_test_tonearest): New function.
39546 (cos_test_towardzero): Likewise.
39547 (cos_test_downward): Likewise.
39548 (cos_test_upward): Likewise.
39549 (sin_test_tonearest): Likewise.
39550 (sin_test_towardzero): Likewise.
39551 (sin_test_downward): Likewise.
39552 (sin_test_upward): Likewise.
39553 (tan_test_tonearest): Likewise.
39554 (tan_test_towardzero): Likewise.
39555 (tan_test_downward): Likewise.
39556 (tan_test_upward): Likewise.
39557 (main): Call the new functions.
39558 * sysdeps/i386/fpu/libm-test-ulps: Update.
39559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39560
a6d06d7b
JM
39561 [BZ #10135]
39562 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39563 small n, then large n, before computing and testing k+n.
39564 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39566 Likewise.
39567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39568 Likewise.
39569 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39570 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39571 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39572 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39577 * math/libm-test.inc (scalbn_test): Add more tests.
39578 (scalbln_test): Likewise.
39579
07e12bb3
JM
39580 * manual/filesys.texi (mode_t): Describe constraints on size and
39581 signedness, not exact equivalence to a particular type.
39582 (ino_t): Likewise.
39583 (ino64_t): Likewise.
39584 (dev_t): Likewise.
39585 (nlink_t): Likewise.
39586 (blkcnt_t): Likewise.
39587 (blkcnt64_t): Likewise.
39588 * manual/llio.texi (off_t): Likewise.
39589
28afd92d
JM
39590 [BZ #3976]
39591 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39592 (__ieee754_exp): Save and restore rounding mode and use
39593 round-to-nearest for all computations.
39594 * math/libm-test.inc (exp_test_tonearest): New function.
39595 (exp_test_towardzero): Likewise.
39596 (exp_test_downward): Likewise.
39597 (exp_test_upward): Likewise.
39598 (main): Call the new functions.
39599 * sysdeps/i386/fpu/libm-test-ulps: Update.
39600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39601
b1eeb65d
CD
396022012-03-01 Chris Demetriou <cgd@google.com>
39603
39604 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39605 have predictable order.
39606
53362a4b
DM
396072012-03-01 David S. Miller <davem@davemloft.net>
39608
3c969083
DM
39609 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39610
759707de
DM
39611 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39612 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39613 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39614 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39615
dfdb8ff2
DM
39616 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39617 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39618 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39620 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39621 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39622 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39623 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39624 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39625
ead89f96
DM
39626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39627
7f66bd07
DM
39628 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39629 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39630 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39631
53362a4b
DM
39632 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39633 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39634 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39635 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39636 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39639 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39640 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39641 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39642 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39645 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39646 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39648 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39649 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39650 * sysdeps/sparc/elf/configure: Regenerated.
39651
7b1902cb
JM
396522012-03-01 Joseph Myers <joseph@codesourcery.com>
39653
bec039bc
JM
39654 * configure.in (AS, LD): Require binutils 2.20 or later.
39655 * configure: Regenerated.
39656 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39657 as required minimum version.
39658 * INSTALL: Regenerated.
39659
7b1902cb
JM
39660 [BZ #2541]
39661 [BZ #4108]
39662 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39663 before squaring exponent.
39664 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39665 bottom long double and 27 bits of top long double before squaring
39666 exponent.
39667 * math/libm-test.inc (erfc_test): Add more tests.
39668 * sysdeps/i386/fpu/libm-test-ulps: Update.
39669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39671
f775c276
KT
396722012-03-01 Kai Tietz <ktietz@redhat.com>
39673
39674 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39675 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39676 containing bit-fields.
39677 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39678 * soft-fp/single.h (_FP_UNION_S): Likewise.
39679 * soft-fp/double.h (_FP_UNION_D): Likewise.
39680
5b8a4d4a
JM
396812012-02-29 Joseph Myers <joseph@codesourcery.com>
39682
0bab47b6
JM
39683 [BZ #13786]
39684 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39685 not include ../strcmp.S.
39686 [USE_AS_STRNCASECMP_L]: Likewise.
39687 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39688 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39689 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39690 (__strncasecmp_l_ia32): Define as alias to
39691 __strncasecmp_l_nonascii.
39692
0fcad3e2
JM
39693 [BZ #5794]
39694 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39695 * sysdeps/i386/fpu/libm-test-ulps: Update.
39696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39697
5b8a4d4a
JM
39698 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39700
8fdceb2e
JL
397012012-02-29 Jeff Law <law@redhat.com>
39702
39703 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39704 out of bounds read.
39705
1f393a11
MP
397062012-02-29 Marek Polacek <polacek@redhat.com>
39707
39708 [BZ #13706]
39709 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39710 * elf/Makefile: Add rules to run tst-unused-dep.out.
39711
8847f037
DM
397122012-02-28 David S. Miller <davem@davemloft.net>
39713
39714 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39715 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39718 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39720
169d7f11
JM
397212012-02-29 Joseph Myers <joseph@codesourcery.com>
39722
39723 * math/libm-test.inc (llround_test): Move one test from
39724 lround_test. Use TEST_f_L in moved test.
39725 (lround_test): Move misplaced test to llround_test. Add testcase
39726 from bug 2561.
39727
39adf059
UD
397282012-02-28 Ulrich Drepper <drepper@gmail.com>
39729
39730 * sysdeps/x86_64/fpu/e_expf.S: New file.
39731 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39732
71b5d1c5
SB
397332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39734
39735 [BZ #13637]
39736 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39737 of remain_len that may cause incomplete multi-byte character and
39738 false match.
39739 * posix/bug-regex33.c: New file.
39740 * posix/Makefile (tests): Add bug-regex33.
39741
1f77f049
JM
397422012-02-28 Joseph Myers <joseph@codesourcery.com>
39743
39744 * manual/macros.texi: New file.
39745 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39746 * manual/libc.texinfo: Include macros.texi.
39747 * manual/creatute.texi: Likewise.
39748 * manual/install.texi: Likewise.
39749 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39750 @glibcadj{} in references to the GNU C Library.
39751 * manual/charset.texi: Likewise.
39752 * manual/conf.texi: Likewise.
39753 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39754 when not using those macros.
39755 * manual/creature.texi: Likewise.
39756 * manual/crypt.texi: Likewise.
39757 * manual/errno.texi: Likewise.
39758 * manual/filesys.texi: Likewise.
39759 * manual/header.texi: Likewise.
39760 * manual/install.texi: Likewise.
39761 * manual/intro.texi: Likewise.
39762 * manual/io.texi: Likewise.
39763 * manual/job.texi: Likewise.
39764 * manual/lang.texi: Likewise.
39765 * manual/libc.texiinfo: Likewise.
39766 * manual/llio.texi: Likewise.
39767 * manual/locale.texi: Likewise.
39768 * manual/maint.texi: Likewise.
39769 * manual/math.texi: Likewise.
39770 * manual/memory.texi: Likewise.
39771 * manual/message.texi: Likewise.
39772 * manual/nss.texi: Likewise.
39773 * manual/pattern.texi: Likewise.
39774 * manual/process.texi: Likewise.
39775 * manual/resource.texi: Likewise.
39776 * manual/search.texi: Likewise.
39777 * manual/setjmp.texi: Likewise.
39778 * manual/signal.texi: Likewise.
39779 * manual/socket.texi: Likewise.
39780 * manual/startup.texi: Likewise.
39781 * manual/stdio.texi: Likewise.
39782 * manual/string.texi: Likewise.
39783 * manual/sysinfo.texi: Likewise.
39784 * manual/syslog.texi: Likewise.
39785 * manual/terminal.texi: Likewise.
39786 * manual/time.texi: Likewise.
39787 * manual/users.texi: Likewise.
39788 * INSTALL: Regenerated.
39789 * NOTES: Regenerated.
d40c5d54 39790 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39791
450bf206
AS
397922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39793
39794 * include/dirent.h: Include <dirstream.h> before
39795 <dirent/dirent.h>.
39796
741a235b
DM
397972012-02-28 David S. Miller <davem@davemloft.net>
39798
39799 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39800 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39801 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39802 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39803
d6b5aa58
DM
398042012-02-27 David S. Miller <davem@davemloft.net>
39805
1aff59a3
DM
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39808 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39809 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39810
d6b5aa58
DM
39811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39812 frame pointer instead of stack pointer relative arg slot.
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39814 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39815 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39816
433f48bf
CD
398172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39818
39819 [BZ #3992]
39820 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39821
d674b76d
DM
398222012-02-27 David S. Miller <davem@davemloft.net>
39823
39824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39828 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39829 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39830 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39831 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39832
0e7727f7
JM
398332012-02-27 Joseph Myers <joseph@codesourcery.com>
39834
39835 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39836 later. Allow versions 5-9.
43be4ca2 39837 * configure: Regenerated.
0e7727f7
JM
39838 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39839 required minimum version and 4.6 as recommended version. Do not
39840 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39841 * INSTALL: Regenerated.
0e7727f7 39842
a78bc654
DM
398432012-02-27 David S. Miller <davem@davemloft.net>
39844
428d5830
DM
39845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39849 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39851 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39852 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39853
a78bc654
DM
39854 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39855 manipulate bits before adding and subtracting TWO112[sx].
39856 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39857
4579f81c
RM
398582012-02-27 Roland McGrath <roland@hack.frob.com>
39859
36c8acb4
RM
39860 [BZ #13775]
39861 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39862 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39863 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39864 being in POSIX, because they are in 1003.1-2008.
39865
84ad622b
RM
39866 * rt/tst-aio.c: Include <fcntl.h>.
39867 * rt/tst-aio7.c: Likewise.
39868 * rt/tst-aio64.c: Likewise.
39869
4579f81c
RM
39870 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39871
abd923db
JM
398722012-02-27 Joseph Myers <joseph@codesourcery.com>
39873
39874 * manual/install.texi (--with-headers): Describe headers as
39875 interface headers, not private headers.
39876 (Specific advice for GNU/Linux systems): Describe use of headers
39877 from "make headers_install", not private headers from older
39878 kernels.
43be4ca2 39879 * INSTALL: Regenerated.
abd923db
JM
39880 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39881 Change to 2.6.19.
39882 * sysdeps/unix/sysv/linux/configure: Regenerated.
39883
6664049b
JM
39884 * manual/llio.texi (fclean): Remove documentation.
39885
bb8b6697
JM
39886 * manual/Makefile (libc-texi-generated): New variable. Include
39887 version.texi.
39888 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39889 $(libc-texi-generated), not duplicated list of files.
39890 (version.texi, stamp-version): New rules.
39891 (realclean): Remove $(libc-texi-generated), not individual files
39892 from that list. Do not remove dir-add.texinfo.
39893 * manual/libc.texinfo: Comment out uses of edition numbers and
39894 references to printed manual. Remove last-updated dates.
39895 (EDITION): Comment out.
39896 (ISBN): Likewise.
39897 (VERSION, UPDATED): Remove.
39898 (version.texi): Include.
39899
12e5c3b9
AS
399002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39901
39902 * sysdeps/posix/spawni.c: Include <signal.h>.
39903 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39904 * sysdeps/pthread/aio_fsync.c: Likewise.
39905
4efeffc1 399062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39907
ba63ba08
UD
39908 * conform/Makefile (tests): Run only when not cross-compiling and
39909 when fast-check is not defined.
39910
d94a4670
UD
39911 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39912 * conform/data/limits.h-data: Fixes for POSIX2008.
39913 * conform/run-conformtest.sh: Run all tests.
39914 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39915 headers.
39916 * include/bits/dlfcn.h: Likewise.
39917 * include/langinfo.h: Likewise.
39918 * include/monetary.h: Likewise.
39919 * include/sys/poll.h: Likewise.
39920
39921 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39922 for __USE_GNU.
39923 * posix/spawn.h: Define __need_sigset_t.
39924 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39925 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39926 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39927 to get sigevent_t only.
39928 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39929 only for __USE_GNU.
39930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39931 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39932 process_vm_writev only for __USE_GNU.
39933 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39934
39935 * conform/Makefile: For now ignore errors from run-conformtest.
39936 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39937 POSIX to avoid namespace pollution. Don't prepend headers.
39938 * conform/data/aio.h-data: Fixes for POSIX testing.
39939 * conform/data/fcntl.h-data: Likewise.
39940 * conform/data/glob.h-data: Likewise.
39941 * conform/data/grp.h-data: Likewise.
39942 * conform/data/pthread.h-data: Likewise.
39943 * conform/data/pwd.h-data: Likewise.
39944 * conform/data/signal.h-data: Likewise.
39945 * conform/data/spawn.h-data: Likewise.
39946 * conform/data/stdio.h-data: Likewise.
39947 * conform/data/stdlib.h-data: Likewise.
39948 * conform/data/stropts.h-data: Likewise.
39949 * conform/data/sys/mman.h-data: Likewise.
39950 * conform/data/sys/stat.h-data: Likewise.
39951 * conform/data/sys/types.h-data: Likewise.
39952 * conform/data/sys/wait.h-data: Likewise.
39953 * conform/data/time.h-data: Likewise.
39954 * conform/data/unistd.h-data: Likewise.
39955 * conform/data/utime.h-data: Likewise.
39956
39957 * io/sys/stat.h: fchmod was always in POSIX.
39958 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39959 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39960 * rt/aio.h: Define __need_timespec before including <time.h>.
39961 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39962 struct. Add forward declaration of pthread_attr_t and use it in
39963 sigevent.
39964 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39966 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39967 always remove CLK_TCK definition.
39968
c20105c3
AS
399692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39970
39971 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39972
7a270350
UD
399732012-02-25 Ulrich Drepper <drepper@gmail.com>
39974
31341567
UD
39975 * conform/run-conformtest.sh: New file.
39976 * conform/Makefile: Run run-conformtest for tests.
39977 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39978 support.
39979
39980 * conform/data/uchar.h-data: New file.
39981 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39982 * conform/data/arpa/inet.h-data: Likewise.
39983 * conform/data/assert.h-data: Likewise.
39984 * conform/data/complex.h-data: Likewise.
39985 * conform/data/cpio.h-data: Likewise.
39986 * conform/data/ctype.h-data: Likewise.
39987 * conform/data/dirent.h-data: Likewise.
39988 * conform/data/dlfcn.h-data: Likewise.
39989 * conform/data/errno.h-data: Likewise.
39990 * conform/data/fcntl.h-data: Likewise.
39991 * conform/data/float.h-data: Likewise.
39992 * conform/data/fmtmsg.h-data: Likewise.
39993 * conform/data/fnmatch.h-data: Likewise.
39994 * conform/data/ftw.h-data: Likewise.
39995 * conform/data/glob.h-data: Likewise.
39996 * conform/data/grp.h-data: Likewise.
39997 * conform/data/iconv.h-data: Likewise.
39998 * conform/data/inttypes.h-data: Likewise.
39999 * conform/data/langinfo.h-data: Likewise.
40000 * conform/data/libgen.h-data: Likewise.
40001 * conform/data/limits.h-data: Likewise.
40002 * conform/data/locale.h-data: Likewise.
40003 * conform/data/math.h-data: Likewise.
40004 * conform/data/monetary.h-data: Likewise.
40005 * conform/data/mqueue.h-data: Likewise.
40006 * conform/data/ndbm.h-data: Likewise.
40007 * conform/data/net/if.h-data: Likewise.
40008 * conform/data/netdb.h-data: Likewise.
40009 * conform/data/netinet/in.h-data: Likewise.
40010 * conform/data/nl_types.h-data: Likewise.
40011 * conform/data/poll.h-data: Likewise.
40012 * conform/data/pthread.h-data: Likewise.
40013 * conform/data/pwd.h-data: Likewise.
40014 * conform/data/regex.h-data: Likewise.
40015 * conform/data/sched.h-data: Likewise.
40016 * conform/data/search.h-data: Likewise.
40017 * conform/data/semaphore.h-data: Likewise.
40018 * conform/data/setjmp.h-data: Likewise.
40019 * conform/data/signal.h-data: Likewise.
40020 * conform/data/spawn.h-data: Likewise.
40021 * conform/data/stdarg.h-data: Likewise.
40022 * conform/data/stdio.h-data: Likewise.
40023 * conform/data/stdlib.h-data: Likewise.
40024 * conform/data/string.h-data: Likewise.
40025 * conform/data/strings.h-data: Likewise.
40026 * conform/data/stropts.h-data: Likewise.
40027 * conform/data/sys/ipc.h-data: Likewise.
40028 * conform/data/sys/mman.h-data: Likewise.
40029 * conform/data/sys/msg.h-data: Likewise.
40030 * conform/data/sys/resource.h-data: Likewise.
40031 * conform/data/sys/select.h-data: Likewise.
40032 * conform/data/sys/sem.h-data: Likewise.
40033 * conform/data/sys/shm.h-data: Likewise.
40034 * conform/data/sys/socket.h-data: Likewise.
40035 * conform/data/sys/stat.h-data: Likewise.
40036 * conform/data/sys/statvfs.h-data: Likewise.
40037 * conform/data/sys/time.h-data: Likewise.
40038 * conform/data/sys/timeb.h-data: Likewise.
40039 * conform/data/sys/times.h-data: Likewise.
40040 * conform/data/sys/types.h-data: Likewise.
40041 * conform/data/sys/uio.h-data: Likewise.
40042 * conform/data/sys/un.h-data: Likewise.
40043 * conform/data/sys/utsname.h-data: Likewise.
40044 * conform/data/sys/wait.h-data: Likewise.
40045 * conform/data/syslog.h-data: Likewise.
40046 * conform/data/tar.h-data: Likewise.
40047 * conform/data/termios.h-data: Likewise.
40048 * conform/data/utime.h-data: Likewise.
40049 * conform/data/utmpx.h-data: Likewise.
40050 * conform/data/varargs.h-data: Likewise.
40051 * conform/data/wchar.h-data: Likewise.
40052 * conform/data/wctype.h-data: Likewise.
40053 * conform/data/wordexp.h-data: Likewise.
40054
40055 * include/stropts.h: New file.
40056 * include/uchar.h: New file.
40057 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40058 * include/assert.h: Likewise.
40059 * include/ctype.h: Likewise.
40060 * include/dirent.h: Likewise.
40061 * include/dlfcn.h: Likewise.
40062 * include/fcntl.h: Likewise.
40063 * include/fnmatch.h: Likewise.
40064 * include/glob.h: Likewise.
40065 * include/grp.h: Likewise.
40066 * include/libio.h: Likewise.
40067 * include/locale.h: Likewise.
40068 * include/math.h: Likewise.
40069 * include/net/if.h: Likewise.
40070 * include/netdb.h: Likewise.
40071 * include/netinet/in.h: Likewise.
40072 * include/pthread.h: Likewise.
40073 * include/pwd.h: Likewise.
40074 * include/regex.h: Likewise.
40075 * include/sched.h: Likewise.
40076 * include/search.h: Likewise.
40077 * include/setjmp.h: Likewise.
40078 * include/signal.h: Likewise.
40079 * include/stdio.h: Likewise.
40080 * include/stdlib.h: Likewise.
40081 * include/string.h: Likewise.
40082 * include/sys/cdefs.h: Likewise.
40083 * include/sys/mman.h: Likewise.
40084 * include/sys/msg.h: Likewise.
40085 * include/sys/resource.h: Likewise.
40086 * include/sys/select.h: Likewise.
40087 * include/sys/socket.h: Likewise.
40088 * include/sys/stat.h: Likewise.
40089 * include/sys/statvfs.h: Likewise.
40090 * include/sys/time.h: Likewise.
40091 * include/sys/times.h: Likewise.
40092 * include/sys/uio.h: Likewise.
40093 * include/sys/utsname.h: Likewise.
40094 * include/sys/wait.h: Likewise.
40095 * include/termios.h: Likewise.
40096 * include/time.h: Likewise.
40097 * include/ulimit.h: Likewise.
40098 * include/unistd.h: Likewise.
40099 * include/utime.h: Likewise.
40100 * include/wchar.h: Likewise.
40101 * include/wctype.h: Likewise.
40102 * include/wordexp.h: Likewise.
40103
40104 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40105
7a270350
UD
40106 * time/time.h: TIME_UTC must be a macro.
40107 Make timespec_get available for ISO C11 only as well.
40108
7724defc
UD
401092012-02-24 Ulrich Drepper <drepper@gmail.com>
40110
40111 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40112 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40113
6b1d1d46
JM
401142012-02-24 Joseph Myers <joseph@codesourcery.com>
40115
40116 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40117
0f8bbd69
JM
401182012-02-24 Joseph Myers <joseph@codesourcery.com>
40119
40120 * manual/texinfo.tex: Update to version 2012-01-19.16.
40121
66ab80bc
JM
401222012-02-24 Joseph Myers <joseph@codesourcery.com>
40123
40124 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40125
74981cc5
RM
401262012-02-24 Roland McGrath <roland@hack.frob.com>
40127
ee968201
RM
40128 [BZ #13738]
40129 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40130 * manual/fdl-1.3.texi: New file.
40131 * manual/fdl-1.1.texi: File removed.
40132
74981cc5
RM
40133 [BZ #13738]
40134 * manual/libc.texinfo (FDL_VERSION): New @set.
40135 Use it for mention of FDL in cover text.
40136 (Documentation License): Use it in @include file name.
40137
7bb764bc
JM
401382012-02-22 Joseph Myers <joseph@codesourcery.com>
40139 Roland McGrath <roland@hack.frob.com>
40140
40141 [BZ #5461]
57f41c40
AS
40142 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40143 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40144 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40145 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40146 name.
40147 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40148
6cbeae47
JM
401492012-02-22 Joseph Myers <joseph@codesourcery.com>
40150
40151 [BZ #2547]
40152 [BZ #11365]
40153 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40154 manipulate bits before adding and subtracting TWO23[sx].
40155 * math/libm-test.inc (nearbyint_test): Add more tests.
40156
fe45ce09
JM
401572012-02-22 Joseph Myers <joseph@codesourcery.com>
40158
40159 [BZ #2548]
40160 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40161 bits before adding and subtracting TWO23[sx].
40162 * math/libm-test.inc (rint_test): Add more tests.
40163 (rint_test_tonearest): Likewise.
40164 (rint_test_towardzero): Likewise.
40165 (rint_test_downward): Likewise.
40166 (rint_test_upward: Likewise.
40167
ff3b3d82
JM
401682012-02-22 Joseph Myers <joseph@codesourcery.com>
40169
40170 [BZ #10110]
40171 * include/stdc-predef.h: New file. Extracted from features.h.
40172 * include/features.h: Include stdc-predef.h.
40173 * Makefile (headers): Add stdc-predef.h.
40174 * CONFORMANCE (Compiler limitations): Update.
40175
ef0aab35
JM
401762012-02-22 Joseph Myers <joseph@codesourcery.com>
40177
40178 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40179
58639409
DM
401802012-02-21 David S. Miller <davem@davemloft.net>
40181
40182 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40183 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40184
c0e70b25
DM
401852012-02-20 David S. Miller <davem@davemloft.net>
40186
40187 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40188 using a normal save/restore sequence, rather than allocating a
40189 dummy stack frame just to store a frame pointer and restore.
40190 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40191
fb06851d
JM
401922012-02-21 Joseph Myers <joseph@codesourcery.com>
40193
40194 * manual/install.texi: Fix stray word in line-wrapped comment.
40195
7a8b71c3
DM
401962012-02-20 David S. Miller <davem@davemloft.net>
40197
d510c123
DM
40198 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40199 both binutils and gcc support GOTDATA.
40200
0722d7c2
DM
40201 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40202 "rd %pc" in the PIC register setup sequences.
40203
3d2b3019
DM
40204 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40205 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40206 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40207 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40208 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40213 (SYSCALL_ERROR_HANDLER): Likewise.
40214 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40215 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40217 (SYSCALL_ERROR_HANDLER): Likewise.
40218
c80098a9
DM
40219 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40220 (HAVE_GCC_GOTDATA): New.
40221 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40222 relocation support in both binutils and gcc.
40223 * sysdeps/sparc/elf/configure: Regenerate.
40224
3a2545a0
DM
40225 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40226 * sysdeps/sparc/sparc32/elf/configure: Delete.
40227 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40228 * sysdeps/sparc/sparc64/elf/configure: Delete.
40229 * sysdeps/sparc/elf/configure.in: New file.
40230 * sysdeps/sparc/elf/configure: Generate.
40231
7a8b71c3
DM
40232 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40233 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40234 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40235 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40236 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40237
f1e86fca
JM
402382012-02-21 Joseph Myers <joseph@codesourcery.com>
40239
40240 * manual/install.texi: Do not mention specific glibc version
40241 numbers.
40242 * manual/libc.texinfo (VERSION, UPDATED): Update.
40243 (@copying): Use @copyright{} and range of years.
40244
0e7dfaef
JM
402452012-02-21 Joseph Myers <joseph@codesourcery.com>
40246
40247 [BZ #13695]
40248 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40249 [crti.S not in sysdirs] (generated): Do not append.
40250 [crti.S not in sysdirs] (omit-deps): Likewise.
40251 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40252 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40253 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40254 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40255 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40256 Likewise.
40257 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40258 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40259 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40260 * csu/defs.awk: Remove file.
40261 * sysdeps/generic/initfini.c: Likewise.
40262 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40263 variable.
40264 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40265 Likewise.
40266
599af3ca
JM
402672012-02-20 Joseph Myers <joseph@codesourcery.com>
40268
40269 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40270 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40271 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40272 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40273 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40274 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40275 <bits/epoll.h>.
40276 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40277 (__EPOLL_PACKED): Define to empty if not defined by
40278 <bits/epoll.h>.
40279 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40281 bits/epoll.h.
40282
0e499750
JM
402832012-02-20 Joseph Myers <joseph@codesourcery.com>
40284
40285 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40286 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40287 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40288 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40289 <bits/timerfd.h>.
40290 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40292 bits/timerfd.h.
40293
5ad91f6e
JM
402942012-02-20 Joseph Myers <joseph@codesourcery.com>
40295
40296 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40297 in C locale.
40298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40299 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40300 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40302
06b99b02
AJ
403032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40304
40305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40306 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40307
7638c0fd
AS
403082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40309
40310 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40311 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40312 defined.
40313 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40314 Likewise.
40315 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40316 entry for 2.16.
40317
92221550
AJ
403182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40319
40320 * math/w_acos.c: Use non-signaling floating-point comparisons.
40321 * math/w_acosf.c: Likewise.
40322 * math/w_acosh.c: Likewise.
40323 * math/w_acoshf.c: Likewise.
40324 * math/w_acoshl.c: Likewise.
40325 * math/w_acosl.c: Likewise.
40326 * math/w_asin.c: Likewise.
40327 * math/w_asinf.c: Likewise.
40328 * math/w_asinl.c: Likewise.
40329 * math/w_atanh.c: Likewise.
40330 * math/w_atanhf.c: Likewise.
40331 * math/w_atanhl.c: Likewise.
40332 * math/w_exp2.c: Likewise.
40333 * math/w_exp2f.c: Likewise.
40334 * math/w_exp2l.c: Likewise.
40335 * math/w_j0.c: Likewise.
40336 * math/w_j0f.c: Likewise.
40337 * math/w_j0l.c: Likewise.
40338 * math/w_j1.c: Likewise.
40339 * math/w_j1f.c: Likewise.
40340 * math/w_j1l.c: Likewise.
40341 * math/w_jn.c: Likewise.
40342 * math/w_jnf.c: Likewise.
40343 * math/w_log.c: Likewise.
40344 * math/w_log10.c: Likewise.
40345 * math/w_log10f.c: Likewise.
40346 * math/w_log10l.c: Likewise.
40347 * math/w_log2.c: Likewise.
40348 * math/w_log2f.c: Likewise.
40349 * math/w_log2l.c: Likewise.
40350 * math/w_logf.c: Likewise.
40351 * math/w_logl.c: Likewise.
40352 * math/w_sqrt.c: Likewise.
40353 * math/w_sqrtf.c: Likewise.
40354 * math/w_sqrtl.c: Likewise.
40355 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40356 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40357 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40358 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40359 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40360
ebaf36eb
JM
403612012-02-19 Joseph Myers <joseph@codesourcery.com>
40362
40363 [BZ #9739]
40364 * manual/string.texi (strnlen): Use correct parameter name in
40365 equivalent expression.
40366
71c254a6
JM
403672012-02-19 Joseph Myers <joseph@codesourcery.com>
40368
40369 [BZ #11174]
40370 * manual/users.texi (seteuid): Consistently use neweuid for
40371 argument name.
40372
16d2c631
JM
403732012-02-19 Joseph Myers <joseph@codesourcery.com>
40374
40375 [BZ #13704]
40376 * manual/nss.texi (Services in the NSS configuration): Correct
40377 list of services in example configuration file.
40378
cd837b09
NB
403792012-02-19 Nick Bowler <nbowler@draconx.ca>
40380
40381 [BZ #11322]
40382 * manual/arith.texi: Remove statements about negative zero
40383 behaving identically to zero.
40384
02c4bbad
JM
403852012-02-18 Joseph Myers <joseph@codesourcery.com>
40386
40387 [BZ #5993]
40388 * manual/install.texi: Do not document upgrading from libc5.
40389
366842e7
JM
403902012-02-18 Joseph Myers <joseph@codesourcery.com>
40391
40392 [BZ #4596]
40393 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40394
dd54084d
DM
403952012-02-18 David S. Miller <davem@davemloft.net>
40396
40397 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40398 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40399 %o7 across the call.
40400 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40401 instead.
40402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40403 SETUP_PIC_REG_LEAF.
40404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40405 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40406 * sysdeps/sparc/crtn.S: Likewise.
40407
2bcc53a3
UD
404082012-02-17 Ulrich Drepper <drepper@gmail.com>
40409
40410 * aout/Makefile: Remove.
40411
09c093b5
RK
404122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40413
40414 [BZ #13058]
40415 * manual/examples/argp-ex1.c (main): Format definition in GNU
40416 style.
40417 * manual/examples/argp-ex2.c (main): Likewise.
40418 * manual/examples/argp-ex3.c (main): Likewise.
40419 * manual/examples/argp-ex4.c (main): Likewise.
40420 * manual/examples/longopt.c (main): Use new-style prototype
40421 definition.
40422 * manual/examples/strncat.c (main): Specify return type and use
40423 (void) for arguments.
40424 * manual/examples/subopt.c (main): Use char **argv argument.
40425
2ee633a2
JM
404262012-02-17 Joseph Myers <joseph@codesourcery.com>
40427
40428 [BZ #5077]
40429 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40430 rounding modes.
40431
0520adde
FB
404322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40433
40434 [BZ #6907]
40435 * manual/string.texi (strchr): Change when strchrnul is
40436 recommended.
40437
3f4081cd
DGM
404382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40439
40440 [BZ #174]
40441 * manual/locale.texi (setlocale): Document LOCPATH.
40442
d1b10e78
JM
404432012-02-17 Joseph Myers <joseph@codesourcery.com>
40444
40445 [BZ #10210]
40446 * manual/process.texi (execle): Move @dots{} before last argument.
40447
79c6869c
PB
404482012-02-17 Paul Bolle <pebolle@tiscali.nl>
40449
40450 [BZ #12047]
40451 * manual/charset.texi (Generic Charset Conversion): Fix typo
40452 (LC_TYPE -> LC_CTYPE).
40453
cc6e48bc
NB
404542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40455
40456 [BZ #5805]
40457 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40458 (scalbnf): Likewise.
40459 (scalbnl): Likewise.
40460 (scalbln): Likewise.
40461 (scalblnf): Likewise.
40462 (scalblnl): Likewise.
40463 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40464 (vwarnx): Likewise.
40465 (verr): Likewise.
40466 (verrx): Likewise.
40467 * manual/filesys.texi (telldir): Use braces around return type.
40468 * manual/llio.texi (mmap): Add space after comma.
40469 (mmap64): Likewise.
40470 * manual/math.texi (jn): Use @var{} on parameter names.
40471 (jnf): Likewise.
40472 (jnl): Likewise.
40473 (yn): Likewise.
40474 (ynf): Likewise.
40475 (ynl): Likewise.
40476 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40477 line.
40478 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40479 "...".
40480 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40481 (sched_get_priority_max): Likewise.
40482 * manual/signal.texi (sigvec): Add space after comma.
40483 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40484 names.
40485 (if_indextoname): Likewise.
40486 (if_freenameindex): Likewise.
40487 (sendto): Use ',' instead of '.' in prototype.
40488 * manual/startup.texi (syscall): Use @dots{} instead of literal
40489 "...".
40490 * manual/stdio.texi (__fpending): Separate initial words of
40491 paragraph from @deftypefun line.
40492 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40493 "...".
40494 (vsyslog): Use @var{} on parameter names.
40495 * manual/terminal.texi (stty): Use @var{} on parameter names.
40496 * manual/users.texi (getutmp): Use @var{} on parameter names.
40497 (getutmpx): Likewise.
40498
5b23062f
JM
404992012-02-17 Joseph Myers <joseph@codesourcery.com>
40500
40501 [BZ #6884]
40502 * manual/stdio.texi (fopen): Fix typos in description of
40503 ",ccs=STRING".
40504
8dee4833
AJ
405052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40506
40507 [BZ #4026]
40508 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40509 get clock_id definition.
40510
9078ce93
TS
405112012-02-17 Thomas Schwinge <thomas@schwinge.name>
40512
40513 [BZ #4822]
40514 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40515 (madvise): Cast every argument to void on its own.
40516
3835c55f
JM
405172012-02-17 Joseph Myers <joseph@codesourcery.com>
40518
40519 [BZ #9902]
40520 * manual/startup.texi (Exit Status): Fix typo.
40521
35c47e37
JM
405222012-02-17 Joseph Myers <joseph@codesourcery.com>
40523
40524 [BZ #10140]
40525 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40526 * manual/examples/argp-ex2.c: Likewise.
40527 * manual/examples/argp-ex3.c: Likewise.
40528
e3b69ca7
RH
405292012-02-16 Richard Henderson <rth@redhat.com>
40530
40531 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40532 * sysdeps/s390/s390-32/initfini.c: Remove.
40533 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40534 * sysdeps/s390/s390-64/initfini.c: Remove.
40535
df83af67
KK
405362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40537
40538 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40539 compiler output for sysdeps/generic/initfini.c.
40540 * sysdeps/sh/elf/initfini.c: Remove file.
40541
f63f3380
DM
405422012-02-16 David S. Miller <davem@davemloft.net>
40543
fb59b3a4
DM
40544 [BZ #11494]
40545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40546
f63f3380
DM
40547 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40548 * sysdeps/sparc/crti.S: New file.
40549 * sysdeps/sparc/crtn.S: New file.
40550 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40551 * sysdeps/sparc/sparc64/Makefile: Likewise.
40552
df6a4a4a
MF
405532012-02-15 Mike Frysinger <vapier@gentoo.org>
40554
6dd8f3dc 40555 [BZ #3335]
df6a4a4a
MF
40556 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40557
1cac7236
RM
405582012-02-15 Roland McGrath <roland@hack.frob.com>
40559
d2c736f8
RM
40560 [BZ #4822]
40561 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40562
1cac7236
RM
40563 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40564 (write, read, close): Likewise.
40565 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40566
8e475601
JM
405672012-02-15 Joseph Myers <joseph@codesourcery.com>
40568
40569 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40570 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40571 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40572 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40573 <bits/signalfd.h>.
40574 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40576 bits/signalfd.h.
40577
ed656b40
MP
405782012-02-14 Marek Polacek <polacek@redhat.com>
40579
40580 * sysdeps/x86_64/crti.S: New file.
40581 * sysdeps/x86_64/crtn.S: New file.
40582 * sysdeps/x86_64/elf/initfini.c: Remove file.
40583
2a979d3a
JM
405842012-02-13 Joseph Myers <joseph@codesourcery.com>
40585
40586 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40587 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40588 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40589 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40590 <bits/inotify.h>.
40591 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40593 bits/inotify.h.
40594
2a418ac3
JM
405952012-02-13 Joseph Myers <joseph@codesourcery.com>
40596
40597 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40598 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40599 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40600 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40601 <bits/eventfd.h>.
40602 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40604 bits/eventfd.h.
40605
fb779be7
TS
406062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40607
e19e83c5
RM
40608 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40609 __feraiseexcept instead of feraiseexcept.
7c35ffed 40610
fb779be7
TS
40611 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40612 nanosleep invocations.
40613 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40614 strings, and add error checking for a nanosleep invocations.
40615
59ba27a6
PE
406162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40617
40618 Replace FSF snail mail address with URLs, as per GNU coding standards.
40619 Most of the snail mail addresses were wrong anyway, and omitting
40620 them makes the source code easier to maintain. Almost all of the
40621 changes are to license notices and to locale LC_IDENTIFICATION
40622 addresses, except for this one:
40623 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40624 not its snail mail address.
40625
57b957eb
RH
406262012-02-09 Richard Henderson <rth@twiddle.net>
40627
af850b1c
RH
40628 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40629 of kernel-features.h.
40630
57b957eb
RH
40631 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40632
6b73181a
MP
406332012-02-08 Marek Polacek <polacek@redhat.com>
40634
40635 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40636 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40637 * sysdeps/gnu/_G_config.h: Likewise.
40638 * sysdeps/generic/_G_config.h: Likewise.
40639
26ecc33a
AS
406402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40641
6c6dbc63
AS
40642 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40643 tests.
40644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40645
e216c012
AS
40646 * sysdeps/powerpc/powerpc32/crti.S: New file.
40647 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40648 * sysdeps/powerpc/powerpc64/crti.S: New file.
40649 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40650
26ecc33a
AS
40651 * Makeconfig (have-initfini): Don't set.
40652 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40653 * configure.in (nopic_initfini): Don't substitute.
40654 * config.h.in (HAVE_INITFINI): Don't #undef.
40655 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40656 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40657
3add8e13
JM
406582012-02-08 Joseph Myers <joseph@codesourcery.com>
40659
40660 Support crti.S and crtn.S provided directly by architectures.
40661 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40662 [crti.S in sysdirs] (omit-deps): Likewise.
40663 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40664 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40665 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40666 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40667 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40668 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40669 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40670 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40671 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40672 compiler output for sysdeps/generic/initfini.c.
40673 * sysdeps/i386/elf/Makefile: Remove file.
40674 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40675
a22f12b4
MP
406762012-02-07 Marek Polacek <polacek@redhat.com>
40677
40678 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40679 * sysdeps/gnu/_G_config.h: Likewise.
40680 * sysdeps/mach/hurd/_G_config.h: Likewise.
40681
148cf100
MP
406822012-02-07 Marek Polacek <polacek@redhat.com>
40683
40684 * math/Makefile (tests): Add tst-CMPLX2.
40685 * math/tst-CMPLX2.c: New file.
40686
cfdc0dd7
AS
406872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40688
84ba42c4
AS
40689 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40690
cfdc0dd7
AS
40691 * math/libm-test.inc (jn_test): Add missing L suffix.
40692
622c86f4
MP
406932012-02-06 Marek Polacek <polacek@redhat.com>
40694
40695 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40696 * sysdeps/i386/fpu/e_powf.S: Likewise.
40697 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40698 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40700 * sysdeps/i386/fpu/e_pow.S: Likewise.
40701 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40702 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40703 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40704 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40705 * sysdeps/i386/fpu/e_log2.S: Likewise.
40706 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40707 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40708 * sysdeps/i386/fpu/e_powl.S: Likewise.
40709 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40710 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40711 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40712 * sysdeps/i386/fpu/e_logl.S: Likewise.
40713 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40714 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40715 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40716 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40717 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40718 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40719 * sysdeps/i386/fpu/e_log.S: Likewise.
40720 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40721 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40722 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40723 * sysdeps/i386/fpu/e_logf.S: Likewise.
40724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40725 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40726 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40727 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40728 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40729 * sysdeps/i386/fpu/e_log10.S: Likewise.
40730 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40731 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40732 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40733 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40734 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40735 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40736 * sysdeps/i386/asm-syntax.h: Likewise.
40737 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40738 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40739 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40740 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40741 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40742 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40743 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40744 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40745 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40746 * sysdeps/powerpc/sysdep.h: Likewise.
40747 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40748 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40749
d4a54ac6
JM
407502012-02-06 Joseph Myers <joseph@codesourcery.com>
40751
40752 [BZ #411]
40753 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40754
314054ea
JM
407552012-02-06 Joseph Myers <joseph@codesourcery.com>
40756
40757 * sysdeps/i386/sysdep.h: Include <features.h>.
40758 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40759 version.
40760
d8e0ca50
JM
407612012-02-05 Joseph Myers <joseph@codesourcery.com>
40762
40763 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40764 Define.
40765 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40766 LOAD_PIC_REG_STR.
40767
b1da7dd9
JM
407682012-02-03 Joseph Myers <joseph@codesourcery.com>
40769
40770 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40771 (SETUP_PIC_REG): Use GET_PC_THUNK.
40772 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40773 macro.
40774
9a1d9254
JM
407752012-02-03 Joseph Myers <joseph@codesourcery.com>
40776
40777 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40778 for non-PIC compilation.
40779 (SETUP_PIC_REG): Add .p2align directive.
40780 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40781 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40782 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40783 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40784 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40785 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40786 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40787 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40788 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40789 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40790 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40791 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40792 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40793 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40794 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40795 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40796 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40797 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40798 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40799 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40802 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40803 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40806 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40808 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40809 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40810 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40811 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40812 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40813 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40814 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40815 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40816 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40817 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40818 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40819 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40820 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40821
65dc3b75
JM
408222012-02-03 Joseph Myers <joseph@codesourcery.com>
40823
40824 * math/tst-CMPLX.c: Include <stdio.h>.
40825
d55bf177
JM
408262012-01-31 Joseph Myers <joseph@codesourcery.com>
40827
40828 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40829 float.
40830 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40831 * sysdeps/sparc/bits/mathdef.h: Likewise.
40832
69db4f8f
MP
408332012-01-31 Marek Polacek <polacek@redhat.com>
40834
40835 * libio/libio.h: Don't define _PARAMS.
40836 * locale/programs/config.h: Don't define PARAMS.
40837 * stdlib/strtol_l.c: Likewise.
40838 (__strtol_l): Remove PARAMS from the prototype.
40839
41b81892
UD
408402012-01-31 Ulrich Drepper <drepper@gmail.com>
40841
3b49edc0
UD
40842 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40843 names. Just use the correct names. Remove unnecessary wrapper
40844 functions.
40845 * malloc/arena.c: Likewise.
40846 * malloc/hooks.c: Likewise.
40847
41b81892
UD
40848 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40849 ARENA_TEST says not to. Simplify test for creation of a new arena.
40850 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40851
27a25b6e
UD
408522012-01-30 Ulrich Drepper <drepper@gmail.com>
40853
40854 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40855 into tail calls.
40856 (update_get_addr): New function.
40857 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40858 GET_ADDR_MODULE parameter.
40859
c8a89e7d
JM
408602012-01-30 Joseph Myers <joseph@codesourcery.com>
40861
40862 * crypt/cert.c: Remove __STDC__ conditionals.
40863 * crypt/crypt-entry.c: Likewise.
40864 * crypt/crypt_util.c: Likewise.
40865 * libio/filedoalloc.c: Likewise.
40866 * libio/fileops.c: Likewise.
40867 * libio/genops.c: Likewise.
40868 * libio/iofclose.c: Likewise.
40869 * libio/iofdopen.c: Likewise.
40870 * libio/iofopen.c: Likewise.
40871 * libio/iofopen64.c: Likewise.
40872 * libio/iogetdelim.c: Likewise.
40873 * libio/iopopen.c: Likewise.
40874 * libio/obprintf.c: Likewise.
40875 * libio/oldfileops.c: Likewise.
40876 * libio/oldiofclose.c: Likewise.
40877 * libio/oldiofdopen.c: Likewise.
40878 * libio/oldiofopen.c: Likewise.
40879 * libio/oldiopopen.c: Likewise.
40880 * libio/wfiledoalloc.c: Likewise.
40881 * libio/wgenops.c: Likewise.
40882 * locale/programs/xmalloc.c: Likewise.
40883 * misc/syslog.c: Likewise.
40884 * stdio-common/xbug.c: Likewise.
40885 * string/memchr.c: Likewise.
40886 * string/memcmp.c: Likewise.
40887 * string/memrchr.c: Likewise.
40888 * string/rawmemchr.c: Likewise.
40889 * sysdeps/posix/getcwd.c: Likewise.
40890 * time/strftime_l.c: Likewise.
40891
3b100462
JM
408922012-01-30 Joseph Myers <joseph@codesourcery.com>
40893
40894 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40895 * config.make.in (config-cflags-sse2avx): Define.
40896 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40897 Fix typo.
40898
607998af
CM
408992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40900
40901 * scripts/config.guess: Update from upstream config git repository.
40902 * scripts/config.sub: Likewise.
40903
3601428f
CM
409042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40905
3ac8b282
CM
40906 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40907 (EM_NUM): Update.
40908 (R_TILEPRO_*, R_TILEGX_*): New macros.
40909
e034841e
CM
40910 * scripts/firstversions.awk: Fix bug in version range handling.
40911
540d7568
CM
40912 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40913
3601428f
CM
40914 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40915
463de862
CM
40916 * include/sys/epoll.h: New file.
40917 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40918 libc_hidden_def.
40919
73139a76
UD
409202012-01-28 Ulrich Drepper <drepper@gmail.com>
40921
96bc5b45
UD
40922 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40923 Avoid unnecessary __WORDSIZE == 64 test.
40924 (fmaxf): Use VEX format if possible.
40925 (fmax): Likewise.
40926 (fminf): Likewise.
40927 (fmin): Likewise.
40928
56f6f6a2
UD
40929 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40930 * math/math_private.h: Remove libc_fegetround* and
40931 libc_fesetround*.
40932 * sysdeps/i386/configure.in: Check for -msse2avx.
40933 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40934 also if SSE2AVX is defined.
40935 Remove libc_fegetround* and libc_fesetround*.
40936 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40937 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40939 of HAS_YMM_USABLE.
40940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40941 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40945
73139a76
UD
40946 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40947
d73f93a4
AZ
409482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40949
40950 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40951 size is not set.
40952 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40953
6ee65ed6
UD
409542012-01-27 Ulrich Drepper <drepper@gmail.com>
40955
40956 [BZ #13618]
40957 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40958 relocation.
40959 * Makeconfig (libm): Define.
40960 * elf/Makefile: Add rules to build and run tst-relsort1.
40961 * elf/tst-relsort1.c: New file.
40962 * elf/tst-relsort1mod1.c: New file.
40963 * elf/tst-relsort1mod2.c: New file.
40964
8db21882
JM
409652012-01-27 Joseph Myers <joseph@codesourcery.com>
40966
40967 * math/s_ldexp.c: Remove __STDC__ conditionals.
40968 * math/s_ldexpf.c: Likewise.
40969 * math/s_ldexpl.c: Likewise.
40970 * math/s_nextafter.c: Likewise.
40971 * math/s_nexttowardf.c: Likewise.
40972 * math/s_significand.c: Likewise.
40973 * math/s_significandf.c: Likewise.
40974 * math/s_significandl.c: Likewise.
40975 * math/w_jnl.c: Likewise.
40976 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40977 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40978 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40979 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40980 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40982 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40983 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40985 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40987 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40988 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40991 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40992 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40993 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40995 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40996 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40997 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40998 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41000 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41001 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41002 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41003 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41004 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41005 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41006 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41007 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41008 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41009 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41011 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41012 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41013 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41014 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41015 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41016 * sysdeps/ieee754/k_standard.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41078 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41083 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41091 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41092 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41096 * sysdeps/ieee754/s_matherr.c: Likewise.
41097 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41098 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41101
965a54a4
JM
411022012-01-26 Joseph Myers <joseph@codesourcery.com>
41103
41104 * crypt/md5.h: Remove __STDC__ conditionals.
41105 * libio/libioP.h: Likewise.
41106 * locale/programs/config.h: Likewise.
41107 * sysdeps/generic/sysdep.h: Likewise.
41108 * sysdeps/i386/asm-syntax.h: Likewise.
41109 * sysdeps/s390/asm-syntax.h: Likewise.
41110 * sysdeps/unix/sysdep.h: Likewise.
41111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41113
7071ad79
JM
411142012-01-26 Joseph Myers <joseph@codesourcery.com>
41115
41116 * libio/libio.h: Remove __STDC__ conditionals.
41117 * malloc/obstack.h: Likewise.
41118 * math/complex.h: Likewise.
41119 * math/math.h: Likewise.
41120 * sysdeps/generic/_G_config.h: Likewise.
41121 * sysdeps/gnu/_G_config.h: Likewise.
41122 * sysdeps/mach/hurd/_G_config.h: Likewise.
41123 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41124 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41125 * sysdeps/sparc/bits/mathdef.h: Likewise.
41126
afc5ed09
UD
411272012-01-26 Ulrich Drepper <drepper@gmail.com>
41128
41129 [BZ #13583]
41130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41131 Clean up HAS_* macros.
afc5ed09 41132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41133 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41134 possible.
41135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41136 HAS_AVX.
41137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41138 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41140 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41142
bdb6de1d
JM
411432012-01-25 Joseph Myers <joseph@codesourcery.com>
41144
41145 * elf/tst-unique3.cc (gets): Remove declaration.
41146 * elf/tst-unique3lib.cc (gets): Likewise.
41147 * elf/tst-unique3lib2.cc (gets): Likewise.
41148 * elf/tst-unique4.cc (gets): Likewise.
41149
b15549e6
UD
411502012-01-24 Ulrich Drepper <drepper@gmail.com>
41151
41152 * include/stdio.h: Add C++ protection. Add gets declarations and
41153 definitions.
41154 * debug/tst-chk1.c: Don't declare gets here.
41155 * stdio-common/tst-gets.c: Likewise.
41156
a037381f
JM
411572012-01-24 Joseph Myers <joseph@codesourcery.com>
41158
41159 * posix/glob: Remove directory.
41160
f1d4aa75
JM
411612012-01-24 Joseph Myers <joseph@codesourcery.com>
41162
41163 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41164
81c0c964
PT
411652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41166
41167 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41168 of the non-standard EPFNOSUPPORT.
41169
0ea698ae
ST
411702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41171
41172 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41173 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41174 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41175
d220b117
UD
411762012-01-21 Ulrich Drepper <drepper@gmail.com>
41177
41178 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41179
3e1aa84e
UD
411802012-01-20 Ulrich Drepper <drepper@gmail.com>
41181
41182 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41183 transient errors.
41184 * nscd/grpcache.c (cache_addgr): Likewise.
41185 * nscd/hstcache.c (cache_addhst): Likewise.
41186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41187 * nscd/pwdcache.c (cache_addpw): Likewise.
41188 * nscd/servicescache.c (cache_addserv): Likewise.
41189
400aa020
UD
411902012-01-16 Ulrich Drepper <drepper@gmail.com>
41191
d77e7869
UD
41192 * malloc/malloc.c: Various cleanups.
41193 * malloc/hooks.c: Likewise.
41194
400aa020
UD
41195 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41196 * stdlib/bug-fmtmsg1.c: New file.
41197
41198 * stdlib/fmtmsg.c (init): Add missing unlock.
41199 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41200
e0a309cf
MP
412012012-01-12 Marek Polacek <polacek@redhat.com>
41202
41203 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41204 and _GNU_SOURCE.
41205
929d11c7
WS
412062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41207
41208 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41209 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41210 macro to ensure uniqueness of label name.
41211 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41212 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41213
41d0e869
UD
412142012-01-11 Ulrich Drepper <drepper@gmail.com>
41215
0cc5ed3b
UD
41216 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41217
41d0e869
UD
41218 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41219 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41220 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41221 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41222
a47a831a
UD
412232012-01-10 Ulrich Drepper <drepper@gmail.com>
41224
daa891c0
UD
41225 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41226
41227 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41228 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41229 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41230
e58ef0f2
UD
41231 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41232
a47a831a 41233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41234 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41235 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41237
41238 * math/bits/math-finite.h: Add ldexp support.
41239
a0bfc9c7
MP
412402012-01-10 Marek Polacek <polacek@redhat.com>
41241
41242 * locale/programs/localedef.h (show_archive_content): Add noreturn
41243 attribute.
41244
d6e97a1d
UD
412452012-01-09 Ulrich Drepper <drepper@gmail.com>
41246
41247 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41248
d5835c26
UD
412492012-01-08 Ulrich Drepper <drepper@gmail.com>
41250
e5f484c6
UD
41251 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41252
d5835c26
UD
41253 * io/Makefile (headers): Add bits/poll2.h.
41254
d1f741e9
WS
412552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41256
41257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41258 typo #include statement.
41259
ec09c1c4
UD
412602012-01-08 Ulrich Drepper <drepper@gmail.com>
41261
41262 * include/sys/cdefs.h: Define __attribute_alloc_size.
41263 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41264 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41265 * elf/pldd.c: Likewise.
41266 * iconv/iconv_charmap.c: Likewise.
41267 * iconv/iconvconfig.c: Likewise.
41268 * iconv/strtab.c: Likewise.
41269 * locale/programs/locale.c: Likewise.
41270 * locale/programs/localedef.h: Likewise.
41271 * locale/programs/simple-hash.c: Likewise.
41272 * nscd/nscd.h: Likewise.
41273 * nss/makedb.c: Likewise.
41274 * sysdeps/generic/ldconfig.h: Likewise.
41275 * locale/programs/localedef.c: Remove xmalloc prototype.
41276 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41277
20b38e03
PP
412782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41279
41280 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41281 appropriate.
41282
a0da5fe1
UD
412832012-01-08 Ulrich Drepper <drepper@gmail.com>
41284
1d5a644a 41285 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41286 * math/tst-CMPLX.c: New file.
1d5a644a 41287
8784a6db
UD
41288 * math/complex.h (CMPLXL): Fix typo.
41289
d9a216c0
UD
41290 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41291 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41292 GLIBC_2.16.
41293 * debug/tst-chk1.c: Add poll and ppoll tests.
41294 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41295 * include/sys/poll.h: Add hidden proto for ppoll.
41296 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41297 * sysdeps/mach/hurd/ppoll.c: Likewise.
41298 * io/ppoll.c: Likewise.
41299 * debug/poll_chk.c: New file.
41300 * debug/ppoll_chk.c: New file.
41301 * include/bits/poll2.h: New file.
41302 * io/bits/poll2.h: New file.
41303
ac097f5c
UD
41304 [BZ #1350]
41305 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41306
2119dcfa
UD
41307 * configure.in: static is always set to yes. Remove.
41308 * config.make.in: Don't set build-static.
41309 * Makeconfig: Remove use of build-static.
41310 * dlfcn/Makefile: Likewise.
41311 * elf/Makefile: Likewise.
41312 * math/Makefile: Likewise.
41313 * misc/Makefile: Likewise.
41314 * nptl/Makefile: Likewise.
41315 * sysdeps/mach/hurd/Makefile: Likewise.
41316
121766a9
UD
41317 * configure.in: PWD_P is not used anymore.
41318 * config.make.in: Remove PWD_P entry.
41319
51a1d39c 41320 * configure.in: Remove last remnants of RANLIB.
8720d066 41321 No need to check for signed size_t anymore.
215f4bdc
UD
41322 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41323 and IA-64.
3857022a 41324 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41325 * aclocal.m4: Likewise.
41326
d3ed7225
UD
41327 * wcsmbs/mbrtoc16.c: Implement using towc function.
41328 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41329 * wcsmbs/wcsmbsload.c: Likewise.
41330 * iconv/gconv_simple.c: Likewise.
41331 * iconv/gconv_int.h: Likewise.
41332 * iconv/gconv_builtin.h: Likewise.
41333 * iconv/iconv_prog.c: Remove CHAR16 handling.
41334
41335 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41336
41337 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41338
a0da5fe1
UD
41339 * configure.in: Remove --with-elf and --enable-bounded options.
41340 Dont set base_machine for ia64. More non-ELF conditions removed.
41341 Remove testing and setting of leading underscore information.
41342 * config.make.in (build-bounded): Set to no.
41343 * config.h.in: Remove NO_UNDERSCORES entry.
41344 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41345 them.
41346 * csu/start.c: Remove !NO_UNDERSCORE code.
41347 * locale/localeinfo.h: Likewise.
41348 * sysdeps/generic/machine-gmon.h: Likewise.
41349 * sysdeps/generic/sysdep.h: Likewise.
41350 * sysdeps/i386/sysdep.h: Likewise.
41351 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41352 * sysdeps/mach/sysdep.h: Likewise.
41353 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41355 * sysdeps/sh/sysdep.h: Likewise.
41356 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41357 * sysdeps/unix/i386/sysdep.S: Likewise.
41358 * sysdeps/unix/sparc/start.c: Likewise.
41359 * sysdeps/unix/sparc/sysdep.S: Likewise.
41360 * sysdeps/unix/sparc/sysdep.h: Likewise.
41361 * sysdeps/unix/start.c: Likewise.
41362 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41363 * sysdeps/x86_64/sysdep.h: Likewise.
41364
df78418a
UD
413652012-01-07 Ulrich Drepper <drepper@gmail.com>
41366
a784e502
UD
41367 [BZ #13553]
41368 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41369 for non-gcc.
41370 * argp/argp-fmtstream.h: Use const instead __const.
41371 * argp/argp.h: Likewise.
41372 * assert/assert.h: Likewise.
41373 * bits/fenv.h: Likewise.
41374 * bits/sched.h: Likewise.
41375 * bits/sigset.h: Likewise.
41376 * bits/sigthread.h: Likewise.
41377 * catgets/nl_types.h: Likewise.
41378 * conform/data/pthread.h-data: Likewise.
41379 * crypt/crypt-private.h: Likewise.
41380 * crypt/crypt.h: Likewise.
41381 * crypt/crypt_util.c: Likewise.
41382 * ctype/ctype.h: Likewise.
41383 * debug/execinfo.h: Likewise.
41384 * debug/mbsnrtowcs_chk.c: Likewise.
41385 * debug/mbsrtowcs_chk.c: Likewise.
41386 * debug/wcsnrtombs_chk.c: Likewise.
41387 * debug/wcsrtombs_chk.c: Likewise.
41388 * debug/wcstombs_chk.c: Likewise.
41389 * dirent/dirent.h: Likewise.
41390 * dlfcn/dlfcn.h: Likewise.
41391 * elf/neededtest4.c: Likewise.
41392 * grp/grp.h: Likewise.
41393 * gshadow/gshadow.h: Likewise.
41394 * iconv/gconv.h: Likewise.
41395 * iconv/gconv_int.h: Likewise.
41396 * iconv/gconv_simple.c: Likewise.
41397 * iconv/iconv.h: Likewise.
41398 * iconv/loop.c: Likewise.
41399 * iconv/skeleton.c: Likewise.
41400 * include/aio.h: Likewise.
41401 * include/aliases.h: Likewise.
41402 * include/argz.h: Likewise.
41403 * include/arpa/inet.h: Likewise.
41404 * include/assert.h: Likewise.
41405 * include/dirent.h: Likewise.
41406 * include/dlfcn.h: Likewise.
41407 * include/execinfo.h: Likewise.
41408 * include/fcntl.h: Likewise.
41409 * include/fenv.h: Likewise.
41410 * include/glob.h: Likewise.
41411 * include/grp.h: Likewise.
41412 * include/libintl.h: Likewise.
41413 * include/mntent.h: Likewise.
41414 * include/netdb.h: Likewise.
41415 * include/pwd.h: Likewise.
41416 * include/rpc/netdb.h: Likewise.
41417 * include/sched.h: Likewise.
41418 * include/search.h: Likewise.
41419 * include/shadow.h: Likewise.
41420 * include/signal.h: Likewise.
41421 * include/stdio.h: Likewise.
41422 * include/stdlib.h: Likewise.
41423 * include/string.h: Likewise.
41424 * include/sys/socket.h: Likewise.
41425 * include/sys/stat.h: Likewise.
41426 * include/sys/statfs.h: Likewise.
41427 * include/sys/statvfs.h: Likewise.
41428 * include/sys/syslog.h: Likewise.
41429 * include/sys/time.h: Likewise.
41430 * include/sys/uio.h: Likewise.
41431 * include/time.h: Likewise.
41432 * include/unistd.h: Likewise.
41433 * include/utmp.h: Likewise.
41434 * include/wchar.h: Likewise.
41435 * include/wctype.h: Likewise.
41436 * inet/aliases.h: Likewise.
41437 * inet/arpa/inet.h: Likewise.
41438 * inet/netinet/ether.h: Likewise.
41439 * inet/netinet/in.h: Likewise.
41440 * intl/libintl.h: Likewise.
41441 * io/bits/fcntl2.h: Likewise.
41442 * io/fcntl.h: Likewise.
41443 * io/ftw.h: Likewise.
41444 * io/sys/poll.h: Likewise.
41445 * io/sys/stat.h: Likewise.
41446 * io/sys/statfs.h: Likewise.
41447 * io/sys/statvfs.h: Likewise.
41448 * io/utime.h: Likewise.
41449 * libio/bits/stdio.h: Likewise.
41450 * libio/bits/stdio2.h: Likewise.
41451 * libio/libio.h: Likewise.
41452 * libio/libioP.h: Likewise.
41453 * libio/stdio.h: Likewise.
41454 * locale/lc-ctype.c: Likewise.
41455 * locale/locale.h: Likewise.
41456 * login/utmp.h: Likewise.
41457 * malloc/arena.c: Likewise.
41458 * malloc/malloc.c: Likewise.
41459 * malloc/malloc.h: Likewise.
41460 * malloc/mcheck.c: Likewise.
41461 * malloc/mtrace.c: Likewise.
41462 * math/bits/mathcalls.h: Likewise.
41463 * math/fenv.h: Likewise.
41464 * math/math_private.h: Likewise.
41465 * misc/bits/error.h: Likewise.
41466 * misc/bits/syslog.h: Likewise.
41467 * misc/err.h: Likewise.
41468 * misc/error.h: Likewise.
41469 * misc/fstab.h: Likewise.
41470 * misc/mntent.h: Likewise.
41471 * misc/regexp.h: Likewise.
41472 * misc/search.h: Likewise.
41473 * misc/sgtty.h: Likewise.
41474 * misc/sys/mman.h: Likewise.
41475 * misc/sys/syslog.h: Likewise.
41476 * misc/sys/uio.h: Likewise.
41477 * misc/sys/xattr.h: Likewise.
41478 * misc/ttyent.h: Likewise.
41479 * nis/rpcsvc/ypclnt.h: Likewise.
41480 * nss/nss.h: Likewise.
41481 * posix/bits/unistd.h: Likewise.
41482 * posix/fnmatch.h: Likewise.
41483 * posix/glob.h: Likewise.
41484 * posix/sched.h: Likewise.
41485 * posix/spawn.h: Likewise.
41486 * posix/sys/wait.h: Likewise.
41487 * posix/unistd.h: Likewise.
41488 * posix/wordexp.h: Likewise.
41489 * pwd/pwd.h: Likewise.
41490 * resolv/netdb.h: Likewise.
41491 * resource/sys/resource.h: Likewise.
41492 * rt/aio.h: Likewise.
41493 * rt/bits/mqueue2.h: Likewise.
41494 * rt/mqueue.h: Likewise.
41495 * shadow/shadow.h: Likewise.
41496 * signal/signal.h: Likewise.
41497 * socket/send.c: Likewise.
41498 * socket/sendto.c: Likewise.
41499 * socket/sys/socket.h: Likewise.
41500 * stdio-common/printf.h: Likewise.
41501 * stdlib/bits/stdlib.h: Likewise.
41502 * stdlib/fmtmsg.h: Likewise.
41503 * stdlib/monetary.h: Likewise.
41504 * stdlib/stdlib.h: Likewise.
41505 * stdlib/ucontext.h: Likewise.
41506 * streams/stropts.h: Likewise.
41507 * string/argz.h: Likewise.
41508 * string/bits/string2.h: Likewise.
41509 * string/string.h: Likewise.
41510 * string/strings.h: Likewise.
41511 * sunrpc/rpc/auth.h: Likewise.
41512 * sunrpc/rpc/auth_des.h: Likewise.
41513 * sunrpc/rpc/clnt.h: Likewise.
41514 * sunrpc/rpc/netdb.h: Likewise.
41515 * sunrpc/rpc/pmap_clnt.h: Likewise.
41516 * sunrpc/rpc/xdr.h: Likewise.
41517 * sysdeps/generic/inttypes.h: Likewise.
41518 * sysdeps/generic/net/if.h: Likewise.
41519 * sysdeps/generic/sys/swap.h: Likewise.
41520 * sysdeps/gnu/net/if.h: Likewise.
41521 * sysdeps/gnu/utmpx.h: Likewise.
41522 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41523 * sysdeps/i386/i486/bits/string.h: Likewise.
41524 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41525 * sysdeps/s390/bits/string.h: Likewise.
41526 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41527 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41528 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41529 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41530 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41531 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41532 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41533 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41534 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41535 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41536 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41537 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41538 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41539 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41540 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41541 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41542 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41544 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41547 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41548 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41549 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41550 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41551 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41552 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41553 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41554 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41555 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41556 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41557 * sysvipc/sys/ipc.h: Likewise.
41558 * sysvipc/sys/msg.h: Likewise.
41559 * sysvipc/sys/sem.h: Likewise.
41560 * sysvipc/sys/shm.h: Likewise.
41561 * termios/termios.h: Likewise.
41562 * time/sys/time.h: Likewise.
41563 * time/time.h: Likewise.
41564 * wcsmbs/bits/wchar2.h: Likewise.
41565 * wcsmbs/uchar.h: Likewise.
41566 * wcsmbs/wchar.h: Likewise.
41567 * wctype/wctype.h: Likewise.
41568
0269750c
UD
41569 [BZ #13551]
41570 * Makeconfig: Remove all but ELF support including AIX support.
41571 * Makerules: Likewise.
41572 * config.h.in: Likewise.
41573 * config.make.in: Likewise.
41574 * configure: Likewise.
41575 * configure.in: Likewise.
41576 * csu/Makefile: Likewise.
41577 * csu/version.c: Likewise.
41578 * debug/Makefile: Likewise.
41579 * dlfcn/Makefile: Likewise.
41580 * elf/Makefile: Likewise.
41581 * extra-lib.mk: Likewise.
41582 * iconv/Makefile: Likewise.
41583 * include/libc-symbols.h: Likewise.
41584 * include/shlib-compat.h: Likewise.
41585 * resolv/Makefile: Likewise.
41586 * resolv/res_libc.c: Likewise.
41587 * rt/Makefile: Likewise.
41588 * sysdeps/i386/asm-syntax.h: Likewise.
41589 * sysdeps/i386/sysdep.h: Likewise.
41590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41591 * sysdeps/mach/sysdep.h: Likewise.
41592 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41593 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41594 * sysdeps/s390/asm-syntax.h: Likewise.
41595 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41597 * sysdeps/sh/sysdep.h: Likewise.
41598 * sysdeps/unix/sparc/sysdep.h: Likewise.
41599 * sysdeps/wordsize-32/divdi3.c: Likewise.
41600 * sysdeps/x86_64/sysdep.h: Likewise.
41601
00bbd29b
UD
41602 * argp/Versions: Remove _argp_unlock_xxx.
41603
41604 [BZ #13559]
41605 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41606 * abilist/libBrokenLocale.abilist: Likewise.
41607 * abilist/libanl.abilist: Likewise.
41608 * abilist/libc.abilist: Likewise.
41609 * abilist/libcrypt.abilist: Likewise.
41610 * abilist/libdl.abilist: Likewise.
41611 * abilist/libm.abilist: Likewise.
41612 * abilist/libnsl.abilist: Likewise.
41613 * abilist/libpthread.abilist: Likewise.
41614 * abilist/libresolv.abilist: Likewise.
41615 * abilist/librt.abilist: Likewise.
41616 * abilist/libthread_db.abilist: Likewise.
41617 * abilist/libutil.abilist: Likewise.
41618 * abilist/libnss_db.abilist: New file.
41619
41620 * scripts/abilist.awk: Add support for indirect functions.
41621
a2693a0e
UD
41622 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41623
3f05895f
UD
41624 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41625
ecb6fb48
UD
41626 * shlib-versions: Remove entries for ports architectures.
41627
664f8cb9
UD
41628 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41629 files in ports.
41630 * elf/stackguard-macros.h: Remove support for IA-64.
41631 * elf/tst-auditmod1.c: Likewise.
41632 * sysdeps/generic/ldsodefs.h: Likewise.
41633
7ae81d88
UD
41634 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41635 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41636 configure files.
41637
bdeba135
UD
41638 [BZ #13552]
41639 * configure.in: Remove --enable-omitfp support.
41640 * FAQ.in: Adjust.
41641 * config.make.in: Likewise.
41642 * Makeconfig: Likewise.
41643 * manual/install.texi: Likewise.
41644
d75a0a62
UD
41645 In case anyone cares, the IA-64 architecture could move to ports.
41646 * sysdeps/ia64/*: Removed.
41647 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41648 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41649
dcc9756b
UD
41650 [BZ #13555]
41651 * configure.in: Remove entries for unsupported architectures.
41652
d3761ebc 41653 [BZ #13533]
9954432e
UD
41654 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41655 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41656 routines.
41657 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41658 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41659 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41660 fall back to using wcrtomb.
41661 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41662 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41663 renaming.
41664 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41665 * wcsmbs/tst-c16c32-1.c: New file.
41666
41667 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41668 local variable.
41669
c3a87236
UD
41670 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41671
28926a1b
UD
41672 * elf/tst-unique3.cc: Add explicit declaration of gets.
41673 * elf/tst-unique3lib.cc: Likewise.
41674 * elf/tst-unique3lib2.cc: Likewise.
41675 * elf/tst-unique4.cc: Likewise.
41676
df78418a
UD
41677 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41678
8ecd6b2a
JM
416792012-01-06 Joseph Myers <joseph@codesourcery.com>
41680
41681 [BZ #13566]
41682 * assert/assert.h (static_assert): Don't define for C++.
41683 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41684 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41685
9f115170
UD
416862012-01-03 Ulrich Drepper <drepper@gmail.com>
41687
5e0d0300
UD
41688 * iconv/loop.c (single loop): Fix assertion in storing of
41689 remaining bytes.
41690
9f115170
UD
41691 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41692
81fb02b0
UD
416932012-01-01 Ulrich Drepper <drepper@gmail.com>
41694
41695 * posix/getconf.c: Update copyright year.
41696 * nss/getent.c: Likewise.
a316c1f6 41697 * nss/makedb.c: Likewise.
81fb02b0
UD
41698 * iconv/iconvconfig.c: Likewise.
41699 * iconv/iconv_prog.c: Likewise.
41700 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41701 * elf/pldd.c: Likewise.
41702 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41703 * catgets/gencat.c: Likewise.
41704 * csu/version.c: Likewise.
41705 * elf/ldd.bash.in: Likewise.
41706 * elf/sprof.c (print_version): Likewise.
41707 * locale/programs/locale.c: Likewise.
41708 * locale/programs/localedef.c: Likewise.
a316c1f6 41709 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41710 * nscd/nscd.c (print_version): Likewise.
41711 * debug/xtrace.sh: Likewise.
41712 * malloc/memusage.sh: Likewise.
41713 * malloc/mtrace.pl: Likewise.
41714 * debug/catchsegv.sh: Likewise.
41715
2ba92745
JJ
417162011-12-30 Jakub Jelinek <jakub@redhat.com>
41717
41718 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41719 pure attribute.
41720
dadebdae
UD
417212011-12-24 Ulrich Drepper <drepper@gmail.com>
41722
d3761ebc 41723 [BZ #13533]
db6af3eb
UD
41724 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41725 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41726 transformations.
41727 * iconv/gconv_int.h: Likewise.
41728 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41729 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41730 from libc for GLIBC_2.16.
41731 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41732 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41733 * wcsmbs/uchar.h: Really define mbstate_t.
41734 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41735 * wcsmbs/c16rtomb.c: New file.
41736 * wcsmbs/mbrtoc16.c: New file.
41737 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41738 for C/POSIX locale.
41739 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41740 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41741
dadebdae
UD
41742 * wcsmbs/wchar.h: Add missing __restrict.
41743
67371b56
UD
417442011-12-23 Ulrich Drepper <drepper@gmail.com>
41745
74033a25
UD
41746 [BZ #13532]
41747 * time/Makefile (routines): Add timespec_get.
41748 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41749 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41750 timespec for ISO C11.
41751 * time/timespec_get.c: New file.
41752 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41753 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41754
380d7e87
UD
41755 [BZ #13531]
41756 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41757 * stdlib/stdlib.h: Declare aligned_alloc.
41758 * Versions.def: Add GLIBC_2.16 for libc.
41759 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41760
4e9e7a35
UD
41761 [BZ 13527]
41762 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41763 ISO C11.
41764
380d7e87 41765 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41766 code.
41767
03a71829
UD
41768 [BZ #13528]
41769 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41770
839e283e
UD
41771 [BZ #13529]
41772 * assert/assert.h (static_assert): Define.
41773
ce5294e2 41774 * version.h: Update for 2.16 development version.
90fa7312 41775
8d44e150 41776 [BZ #13526]
d7809905
UD
41777 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41778 _ISOC11_SOURCE.
41779
c0da14cd
UD
41780 * version.h (RELEASE): Bump for 2.15 release.
41781 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41782
530a3249
MP
41783 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41784 Patch by Marek Polacek <mpolacek@redhat.com>.
41785
67371b56
UD
41786 * bits/byteswap.h: Protect long long constants with __extension__.
41787 * sysdeps/i386/bits/byteswap.h: Likewise.
41788 * sysdeps/ia64/bits/byteswap.h: Likewise.
41789 * sysdeps/s390/bits/byteswap.h: Likewise.
41790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41791
15db4de1
LD
417922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41793
41794 [BZ #13540]
bbe315ea
LD
41795 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41796 destination buffer.
15db4de1
LD
41797 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41798
2b2596b1
MP
417992011-12-23 Marek Polacek <polacek@redhat.com>
41800
41801 * elf/dl-addr.c (determine_info): Add inline keyword.
41802 * elf/tst-auditmod4b.c (check_avx): Likewise.
41803 * elf/tst-auditmod6b.c (check_avx): Likewise.
41804 * elf/tst-auditmod6c.c (check_avx): Likewise.
41805 * elf/tst-auditmod7b.c (check_avx): Likewise.
41806
70c6c246
UD
418072011-12-23 Ulrich Drepper <drepper@gmail.com>
41808
41809 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41810 !__SSE_MATH__.
41811
c044cf14
LD
418122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41813
15db4de1 41814 [BZ #13540]
c044cf14
LD
41815 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41816 processing for last bytes.
41817
6b13d9d9
BH
418182011-08-06 Bruno Haible <bruno@clisp.org>
41819
d455f537
BH
41820 [BZ #13061]
41821 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41822 U+0385, not to U+1FEE.
41823
6b13d9d9
BH
41824 [BZ #13062]
41825 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41826 entry for U+00A5 U+0301.
41827
db910efd
UD
418282011-12-22 Ulrich Drepper <drepper@gmail.com>
41829
27deeafc
UD
41830 [BZ #13166]
41831 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41832 buffer for the output is too small.
41833
aed9d171
UD
41834 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41835 optimization.
41836
db910efd
UD
41837 [BZ #13185]
41838 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41839 SSE flags if possible.
41840
2bd779ae
LD
418412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41842
e7f9dac3 41843 [BZ #13540]
2bd779ae
LD
41844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41845 processing for last bytes.
41846
154bfc16
JM
418472011-12-22 Joseph Myers <joseph@codesourcery.com>
41848
41849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41850 (syscall-list-default-options, syscall-list-default-condition)
41851 (syscall-list-includes): Define.
41852 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41853 list of ABIs and options and #if conditions for each ABI. Do not
41854 handle common syscalls between ABIs specially.
41855 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41856 Remove.
41857 (syscall-list-variants, syscall-list-32bit-options)
41858 (syscall-list-32bit-condition, syscall-list-64bit-options)
41859 (syscall-list-64bit-condition): Define.
41860 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41861 (syscall-list-variants, syscall-list-32bit-options)
41862 (syscall-list-32bit-condition, syscall-list-64bit-options)
41863 (syscall-list-64bit-condition): Define.
41864 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41865 Remove.
41866 (syscall-list-variants, syscall-list-32bit-options)
41867 (syscall-list-32bit-condition, syscall-list-64bit-options)
41868 (syscall-list-64bit-condition): Define.
41869 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41870 Remove.
41871 (syscall-list-variants, syscall-list-32bit-options)
41872 (syscall-list-32bit-condition, syscall-list-64bit-options)
41873 (syscall-list-64bit-condition): Define.
41874
21eaf3a5
UD
418752011-12-22 Ulrich Drepper <drepper@gmail.com>
41876
16c6f992
UD
41877 * locale/iso-639.def: Add brx entry.
41878
41043168
UD
41879 [BZ #13328]
41880 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41881 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41882
21eaf3a5
UD
41883 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41884 __feraiseexcept_renamed.
41885
e3a851a2
UD
418862011-12-21 Ulrich Drepper <drepper@gmail.com>
41887
4920765e
UD
41888 [BZ #13538]
41889 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41890 EPOLLET with unsigned values.
41891 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41893
e3a851a2
UD
41894 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41895 to large cancellation.
41896 * math/s_cacoshf.c: Likewise.
41897 * math/s_cacoshl.c: Likewise.
41898
b27e24b8
RK
418992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41900
41901 [BZ #13305]
aebefeee 41902 [BZ #12786]
b27e24b8
RK
41903 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41904 * math/s_cacoshf.c: Likewise.
41905 * math/s_cacoshl.c: Likewise.
41906
ee190f67
UD
419072011-12-21 Ulrich Drepper <drepper@gmail.com>
41908
41909 [BZ #13439]
41910 * iconv/gconv.h: Define __GCONV_SWAP.
41911 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41912 * iconvdata/utf-16.c: Likewise.
41913 * iconvdata/utf-32.c: Likewise.
41914
707f25df
AS
419152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41916
41917 [BZ #13524]
41918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41919 numerator after shifting it by one limb.
41920
d2daaa1e
RÁE
419212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41922
41923 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41924 under [__USE_EXTERN_INLINES].
41925
a4647e72
UD
419262011-12-17 Ulrich Drepper <drepper@gmail.com>
41927
41928 [BZ #13446]
41929 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41930
f0b264f1
AZ
419312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41932
41933 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41934 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41935 optimized code.
41936 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41937 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41938 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41939 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41940 for strncasecmp/strncasecmp_l compilation.
41941 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41942 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41943
8ef4f244
MP
419442011-12-08 Marek Polacek <mpolacek@redhat.com>
41945
41946 [BZ #13484]
41947 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41948 of __asm__.
41949
97ac2654
UD
419502011-12-17 Ulrich Drepper <drepper@gmail.com>
41951
41952 [BZ #13506]
41953 * time/tzfile.c (__tzfile_read): Check values from file header.
41954
91d2a845
WS
419552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41956
41957 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41958 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41959 * powerpc/powerpc32/dl-start.S: Likewise.
41960 * powerpc/powerpc32/elf/start.S: Likewise.
41961 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41962 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41963 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41964 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41965 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41966 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41967 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41968 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41969 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41970 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41971 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41972 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41973 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41974 * powerpc/powerpc32/memset.S: Likewise.
41975 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41976 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41977 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41978 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41979 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41980 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41981 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41982 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41983 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41984 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41985 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41986 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41987 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41988
a1267ba1
AZ
419892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41990
41991 * math/libm-test.inc: Added more nearbyint tests.
41992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41993 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41996
ad8ac1bd
RL
419972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41998
41999 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42000 FD_CLOEXEC.
42001
1d3e4b61
UD
420022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42003
42004 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42005 Add wcscpy-ssse3 wcscpy-c.
42006 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42007 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42008 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42009 * sysdeps/x86_64/wcschr.S: New file.
42010 * sysdeps/x86_64/wcsrchr.S: New file.
42011 * string/test-strcmp.c: Remove checking of wcscmp function for
42012 wrong alignments.
42013 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42014 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42015 wcsrchr-sse2 wcsrchr-c.
42016 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42017 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42018 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42019 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42020 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42021 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42022 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42023 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42024 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42025 * wcsmbc/wcschr.c (WCSCHR): New macro.
42026
5b330a2d
UD
420272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42028
42029 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42030 * wcsmbs/test-wcsrchr.c: New file.
42031 * string/test-strrchr.c: Add wcsrchr support.
42032 (WIDE): New macro.
42033 * wcsmbs/test-wcscpy.c: New file.
42034 * string/test-strcpy.c: Add wcscpy support.
42035 (WIDE): New macro.
26428b7c 42036
f039c043
UD
420372011-12-10 Ulrich Drepper <drepper@gmail.com>
42038
42039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42040 the inner loop.
42041
850fb039
AS
420422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42043
42044 [BZ #13472]
42045 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42046
4efbd5cb
UD
420472011-12-04 Ulrich Drepper <drepper@gmail.com>
42048
52ff5dd0 42049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42050 Minor optimizations.
52ff5dd0 42051
4efbd5cb
UD
42052 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42053 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42054 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42055
8a426e12
UD
420562011-12-03 Ulrich Drepper <drepper@gmail.com>
42057
aff2453d
UD
42058 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42059 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42060 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42061 for gcc to avoid warnings.
42062 * inet/Makefile (tests): Add tst-checks.
42063 * inet/tst-checks.c: New file.
42064
42065 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42066 warning.
42067
42068 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42069 __wmemcmp_sse2.
42070
42071 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42072 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42073
8a426e12
UD
42074 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42075
9bea3473
UD
420762011-12-02 Ulrich Drepper <drepper@gmail.com>
42077
3a965496
UD
42078 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42079 problem.
42080
9bea3473
UD
42081 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42082
f101631b
UD
420832011-11-29 Joseph Myers <joseph@codesourcery.com>
42084
42085 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42086 conditional on GCC version.
42087 (__arch_compare_and_exchange_val_8_acq)
42088 (__arch_compare_and_exchange_val_16_acq)
42089 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42090 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42091 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42092
a98275aa
UD
420932011-12-02 Joseph Myers <joseph@codesourcery.com>
42094
42095 * sysdeps/sh/backtrace.c: New file.
42096
d4cc29a2
AS
420972011-12-02 Andreas Schwab <schwab@redhat.com>
42098
42099 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42100 parenthesis.
42101
6257af2d
AS
421022011-12-01 Andreas Schwab <schwab@redhat.com>
42103
42104 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42105 falling back to utime.
42106
b5f44c1a
AS
421072011-11-30 Andreas Schwab <schwab@redhat.com>
42108
42109 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42110 expectations for float.
42111
f3a6cc0a
AS
421122011-11-29 Andreas Schwab <schwab@redhat.com>
42113
42114 * locale/weight.h (findidx): Add parameter len.
42115 * locale/weightwc.h (findidx): Likewise.
42116 * posix/fnmatch_loop.c (FCT): Adjust caller.
42117 * posix/regcomp.c (build_equiv_class): Likewise.
42118 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42119 * posix/regexec.c (check_node_accept_bytes): Likewise.
42120 * string/strcoll_l.c (STRCOLL): Likewise.
42121 * string/strxfrm_l.c (STRXFRM): Likewise.
42122
9d65ea3a
UD
421232011-11-17 Ulrich Drepper <drepper@gmail.com>
42124
42125 * Makefile.in: Remove CVSOPT handling.
42126 * configure.in: Remove use of AC_REVISION.
42127 * iconvdata/Makefile (distribute): No need to filter out CVS.
42128 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42129 handling.
42130
5583a086
AS
421312011-11-16 Andreas Schwab <schwab@redhat.com>
42132
42133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42134 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42135 [USE_AS_STRNCASECMP_L]: Likewise.
42136 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42137 NO_TLS_DIRECT_SEG_REFS.
42138 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42139 Fix argument offsets for non-PIC.
42140 [USE_AS_STRNCASECMP_L]: Likewise.
42141 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42142 NO_TLS_DIRECT_SEG_REFS.
42143
d62a8200
UD
421442011-11-15 Ulrich Drepper <drepper@gmail.com>
42145
9d65ea3a 42146 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42147 O_CLOEXEC.
42148 * locale/loadlocale.c (_nl_load_locale): Likewise.
42149
09f93bd3
AS
421502011-11-15 Andreas Schwab <schwab@redhat.com>
42151
446514f9
AS
42152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42153 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42154 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42155 (SYSCALL_GETTIME): Set errno on error.
42156
09f93bd3
AS
42157 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42158 count references to noai6ai_cached.
42159
312be3f9
UD
421602011-11-15 Ulrich Drepper <drepper@gmail.com>
42161
42162 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42163
42164 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42165 FD_CLOEXEC for /proc/self/maps.
42166
42167 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42168 FD_CLOEXEC for /proc/meminfo.
42169
42170 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42171 gai.conf.
42172
42173 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42174 FD_CLOEXEC for given file.
42175
42176 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42177
42178 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42179 FD_CLOEXEC for /etc/hosts.
42180 (_gethtent): Likewise.
42181
42182 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42183
42184 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42185 cancellation and set FD_CLOEXEC for /etc/netgroup.
42186
42187 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42188 reading /etc/publickey.
42189
42190 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42191 allow cancellation when reading /etc/group.
42192
42193 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42194 cancellation.
42195 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42196
42197 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42198 when using data file.
42199
42200 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42201
42202 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42203 (write_nis_obj): Use "c" and "e" in fopen.
42204
42205 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42206
42207 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42208
42209 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42210
42211 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42212
42213 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42214 locale.alias.
42215
42216 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42217
42218 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42219
42220 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42221
42222 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42223 file parsing and set FD_CLOEXEC.
42224
82af0fa8
UD
422252011-11-14 Ulrich Drepper <drepper@gmail.com>
42226
42227 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42228
a5fb313c
AS
422292011-11-14 Andreas Schwab <schwab@redhat.com>
42230
42231 * malloc/arena.c (arena_get2): Don't call reused_arena when
42232 _int_new_arena failed.
42233
6abf3465
UD
422342011-11-14 Ulrich Drepper <drepper@gmail.com>
42235
42236 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42237 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42238 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42241 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42242 to compile strcasecmp and strncasecmp.
42243 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42244 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42245
42246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42247
76e3966e
UD
422482011-11-13 Ulrich Drepper <drepper@gmail.com>
42249
42250 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42251 locale-defines.sym to gen-as-const-headers.
42252 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42253 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42255 to compile strcasecmp and strncasecmp.
42256 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42257 strcasecmp_l and strncasecmp_l.
42258 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42259 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42260 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42261 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42262 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42263 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42264 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42265 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42266 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42267 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42268 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42269
ab26144e
UD
422702011-11-12 Ulrich Drepper <drepper@gmail.com>
42271
7edb22ef
UD
42272 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42273 result of SYSDEP_GETTIME_CPU to retval.
42274 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42275 parameter list to macro. Remove trailing semicolon. Adjust users.
42276
9694fc44
UD
42277 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42278 variable.
42279
8ad89ef8
UD
42280 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42281 mantissa words.
42282 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42283
0c822ef9
UD
42284 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42285 from unused variable.
42286
874e0564
UD
42287 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42288 DWARF definitions.
42289 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42290 for assembling.
42291
3a2edc79
UD
42292 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42293 over namespaces.
42294
f3c2577f
UD
42295 * sunrpc/rpc_prot.c (rejected): Fix case value.
42296
294ce126
UD
42297 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42298 unsigned long long int to avoid warnings in shift.
42299
5e2b63c6
UD
42300 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42301 of use of trans.
42302 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42303 variable tmp.
42304
e7f4b08e
UD
42305 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42306 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42307 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42308
ab26144e
UD
42309 * nis/nis_table.c (nis_list): Use variable of correct type for
42310 result of __follow_path call.
42311
8a6d5255
AZ
423122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42313
42314 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42315 of math functions ceil, trunc, floor, round, and sqrt, when
42316 avaliable on the platform.
42317 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42318 name clash.
42319 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42320 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42321 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42322
aaddc98c
MP
423232011-10-30 Marek Polacek <mpolacek@redhat.com>
42324
42325 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42326 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42327
95b7042b
RM
423282011-11-11 Roland McGrath <roland@hack.frob.com>
42329
42330 * include/unistd.h: Fix __readlink return type.
42331 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42332
57769839
UD
423332011-11-11 Ulrich Drepper <drepper@gmail.com>
42334
42335 * stdlib/ucontext.h: Undo last change for makecontext.
42336
edc5984d
AS
423372011-11-11 Andreas Schwab <schwab@redhat.com>
42338
98591e58
AS
42339 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42340
edc5984d
AS
42341 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42342 * setjmp/setjmp.h: Mark functions as non-leaf.
42343 * setjmp/bits/setjmp2.h: Likewise.
42344 * stdlib/ucontext.h: Likewise.
42345
77cdc054
AS
423462011-11-10 Andreas Schwab <schwab@redhat.com>
42347
42348 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42349 (reused_arena): Don't check arena limit.
42350 (arena_get2): Atomically check arena limit.
42351
fe72eebd
UD
423522011-11-08 Ulrich Drepper <drepper@gmail.com>
42353
5f078c32
UD
42354 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42355 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42356
fe72eebd
UD
42357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42358 instructions.
42359
ae1bc2fa
AS
423602011-11-07 Andreas Schwab <schwab@redhat.com>
42361
7583a88d
AS
42362 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42363 handler when locking.
42364
ae1bc2fa
AS
42365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42366 Fix size of allocated buffer.
42367
10fb0bfa
AS
423682011-11-04 Andreas Schwab <schwab@redhat.com>
42369
998832a4
AS
42370 [BZ #10103]
42371 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42372 declarations for long double functions.
42373 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42374
10fb0bfa
AS
42375 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42376
3d7ba52b
AS
423772011-11-03 Andreas Schwab <schwab@redhat.com>
42378
a9ae54a1
AS
42379 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42380 installed.
42381
3d7ba52b
AS
42382 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42383 is disabled.
42384
bc8db248
ST
423852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42386
42387 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42388
45b96dd6
AS
423892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42390
647776f6
AS
42391 * include/alloca.h (stackinfo_alloca_round): Define.
42392 (extend_alloca): Use it.
42393 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42394 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42395 here.
42396
d91a8b93
AS
42397 * scripts/check-local-headers.sh: Ignore libaudit.h.
42398
45b96dd6
AS
42399 * nscd/Makefile (extra-objs): Make recursively expanded.
42400
432d41ce
UD
424012011-11-01 Ulrich Drepper <drepper@gmail.com>
42402
34372fc6
UD
42403 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42405
fadb59f8
UD
42406 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42407 * posix/tst-rfc3484-2.c: Likewise.
42408 * posix/tst-rfc3484-3.c: Likewise.
42409
78239589
UD
42410 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42411 process_vm_writev.
42412 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42413 process_vm_writev.
42414 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42415 process_vm_writev from libc using GLIBC_2.15 version.
42416
432d41ce
UD
42417 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42418
02f9c6cf
PP
424192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42420
42421 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42422 stack usage.
42423
3a2c0242
UD
424242011-10-31 Ulrich Drepper <drepper@gmail.com>
42425
f4ec4833
UD
42426 [BZ #13367]
42427 * nss/getent.c (initgroups_keys): Show error message in case no group
42428 names are given.
42429
3a2c0242
UD
42430 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42431 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42432 __bump_nl_timestamp.
42433 * nscd/connections (nscd_init): When host database is served open
42434 netlink socket and request notification about configuration changes.
42435 (main_loop_poll): Track netlink file descriptor and bump timestamp
42436 in case data becomes available.
42437 (main_loop_epoll): Likewise.
42438 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42439 (database_pers_head): Add extra_data fileds.
42440 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42441 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42442 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42443 Adjust caller.
42444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42445 in6ai data, call __free_in6ai.
42446 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42447 Add -DHAVE_NETLINK.
42448 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42449 interface information. Reuse previous data if netlink timestamp
42450 is not changed.
42451 (__bump_nl_timestamp): New function.
42452 (__free_in6ai): New function.
42453
636064eb
UD
424542011-10-30 Ulrich Drepper <drepper@gmail.com>
42455
42456 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42457 close_not_cancel_no_status here.
42458 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42459
9beb2334
UD
424602011-10-29 Ulrich Drepper <drepper@gmail.com>
42461
6ef76f3b
UD
42462 [BZ #13276]
42463 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42464 return value.
42465
0ffc4f3e 42466 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42467 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42468 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42469
cb95113e
UD
424702011-07-03 Andreas Jaeger <aj@suse.de>
42471
42472 [BZ #10709]
42473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42474 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42475 * math/libm-test.inc (sin_test): Add test case.
42476
a1b560ff
UD
424772011-10-29 Ulrich Drepper <drepper@gmail.com>
42478
c9aaface
UD
42479 [BZ #13337]
42480 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42481 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42482
d272e7f1
UD
42483 * elf/chroot_canon.c (chroot_canon): Cleanups.
42484
1bc33071
UD
42485 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42486
1760874d
TJ
42487 [BZ #13335]
42488 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42489 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42490
51d91b18
UD
42491 * string/test-strchr.c: Make usable for strchrnul testing.
42492 * string/test-strchrnul.c: New file.
42493 * string/Makefile (strop-tests): Add strchrnul.
42494
a1b560ff 42495 * po/it.po: Update from translation team.
b611fb81 42496 * po/es.po: Likewise.
a1b560ff 42497
a5b81e1f
UD
424982011-10-28 Ulrich Drepper <drepper@gmail.com>
42499
fd52bc6d
UD
42500 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42501 the three constants needed as parameters. Drop the others.
42502 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42503 __m128i_strloadu_tolower.
52e4b9eb
UD
42504 Create and initialize variable zero and use it in all the places
42505 where _mm_setzero_si128 was used.
fd52bc6d 42506
a5b81e1f
UD
42507 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42508 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42509 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42510 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42511 anymore.
42512 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42515 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42516 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42517 __mpranred, __mptan.
42518 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42519 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42520 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42521 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42522 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42523 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42524 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42525 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42526 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42527
b4343346
AS
425282011-10-28 Andreas Schwab <schwab@redhat.com>
42529
0c92d8a8
AS
42530 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42531 redefine if SHARED.
42532 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42533
b4343346
AS
42534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42535 wide char related routines to wcsmbs subdir.
42536
3871f58f
AS
425372011-10-27 Andreas Schwab <schwab@redhat.com>
42538
42539 [BZ #13344]
42540 * misc/sys/cdefs.h (__THROWNL): Define.
42541 * posix/unistd.h: Use __THREADNL instead of __THREAD
42542 for memory synchronization functions.
42543
94d44d9f
RM
425442011-10-26 Roland McGrath <roland@hack.frob.com>
42545
21b64b15 42546 [BZ #13349]
94d44d9f
RM
42547 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42548 doesn't exist.
42549 * manual/stdio.texi (Obstack Streams): Node removed.
42550
f6ce9294
AS
425512011-10-26 Andreas Schwab <schwab@redhat.com>
42552
80479147
AS
42553 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42554 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42555 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42556
f6ce9294
AS
42557 * math/math_private.h (math_force_eval): Allow non-addressable
42558 arguments.
42559 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42560
618280a1
UD
425612011-10-25 Ulrich Drepper <drepper@gmail.com>
42562
e0016b11
UD
42563 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42564 file is not needed.
42565
42566 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42568 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42569 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42570 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42571 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42572 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42573 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42574 Add AVX variants.
42575 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42576 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42578 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42580 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42581 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42582 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42584 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42585 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42586 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42587 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42588 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42589 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42590 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42591 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42592 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42593 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42594
42595 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42596 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42597
618280a1
UD
42598 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42599 place. Use VEX encoding when compiling for AVX.
42600
37822576
AS
426012011-10-25 Andreas Schwab <schwab@redhat.com>
42602
1f1e1947
AS
42603 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42604 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42605
37822576
AS
42606 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42607
31ea014d
UD
426082011-10-25 Ulrich Drepper <drepper@gmail.com>
42609
d7826aa1 42610 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42611 useless if() expression.
d7826aa1
UD
42612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42623 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42624 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42626 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42627 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42629 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42630 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42631
31ea014d
UD
42632 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42633
16437fec
AS
426342011-10-25 Andreas Schwab <schwab@redhat.com>
42635
42636 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42637 condition.
42638 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42639
31d3cc00
UD
426402011-10-25 Ulrich Drepper <drepper@gmail.com>
42641
42642 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42643 .text section. Avoid duplicate constants.
42644 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42654 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42656 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42661 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42667 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42668 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42669 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42670 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42671 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42672 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42673 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42674 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42675 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42676 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42677 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42678 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42679 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42680 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42681 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42682 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42683 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42684 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42685 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42686 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42687 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42688 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42689
58985aa9
UD
426902011-10-24 Ulrich Drepper <drepper@gmail.com>
42691
202c9deb
UD
42692 * sysdeps/x86_64/dla.h: Move to ...
42693 * sysdeps/x86_64/fpu/dla.h: ...here.
42694 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42695 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42696
af968f62
UD
42697 * config.make.in: Add have-mfma4 entry.
42698 * configure.in: Substitute libc_cv_cc_fma4.
42699 * math/Makefile (dbl-only-routines): Add sincostab.
42700 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42701 Use __sincostab not sincos.
42702 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42703 name is a macro.
42704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42708 using __copysign.
42709 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42710 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42711 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42712 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42713 and __inv.
42714 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42715 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42716 __copysign.
42717 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42718 define aliases when function name is a macro.
42719 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42720 sysdeps/ieee754/dbl-64/sincos.tbl.
42721 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42722 fma4-enabled routines.
42723 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42724 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42725 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42726 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42727 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42728 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42730 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42731 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42732 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42733 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42734 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42735 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42736 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42737 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42738 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42739 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42740 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42741 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42743 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42744 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42748 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42749 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42750 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42751 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42752 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42753
58985aa9
UD
42754 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42755 rename.
42756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42762 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42764
a201fbcf
AS
427652011-10-24 Andreas Schwab <schwab@redhat.com>
42766
42767 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42768
fc2ee42a
LD
427692011-10-23 Ulrich Drepper <drepper@gmail.com>
42770
bb3129bd
UD
42771 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42772
0275fff8
UD
42773 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42774 prediction.
42775 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42776
2fa2ae85
UD
42777 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42778 Remove unused variable magic_bits.
42779 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42780
fc2ee42a
LD
42781 * string/strnlen.c: Define and use STRNLEN macro.
42782 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42783 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42784 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42785 * wcsmbs/wcslen.c: Define and use WCSLEN.
42786 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42787 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42788 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42789 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42790 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42791 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42792 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42793
ce7dd29f
LD
427942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42795
42796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42797 strnlen-sse2-no-bsf.
42798 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42799 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42800 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42801 Add strnlen support.
42802 (USE_AS_STRNLEN): New macro.
42803 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42804 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42805 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42806 * sysdeps/x86_64/wcslen.S: New file.
42807
979c70a3
MZ
428082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42809
42810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42811 XMM-moves are used for copying on small sizes.
42812
2d09f82f
LD
428132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42814
42815 * wcsmbs/Makefile (strop-tests): Add wcschr.
42816 * wcsmbs/test-wcschr.c: New file.
42817 * string/test-strchr.c: Update.
42818 Add wcschr support.
42819 (WIDE): New macro.
42820
619fccca
LD
428212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42822
2d09f82f 42823 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42824 * wcsmbs/test-wcslen.c: New file.
42825 * string/test-strlen.c: Update.
42826 Add wcslen support.
42827 (WIDE): New macro.
42828
09f699ea
UD
428292011-10-23 Ulrich Drepper <drepper@gmail.com>
42830
42831 * po/it.po: Update from translation team.
42832
95584d3b
LD
428332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42834
42835 * sysdeps/x86_64/wcscmp.S: Update.
42836 Fix wrong comparison semantics.
42837 wcscmp shall use signed comparison not unsigned.
42838 Don't use substraction to avoid overflow bug.
42839 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42840 * wcsmbc/wcscmp.c: Likewise.
42841 * string/test-strcmp.c: Likewise.
42842 Add new tests to check cases with negative values.
42843
c8b3296b
UD
428442011-10-23 Ulrich Drepper <drepper@gmail.com>
42845
42846 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42847 * sysdeps/x86_64/dla.h: ...here. New file.
42848 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42857
246ad57a
AS
428582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42859
42860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42861 __ynl_finite aliases.
42862
a1a87169
UD
428632011-10-22 Ulrich Drepper <drepper@gmail.com>
42864
0d355eb7
UD
42865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42866
a1a87169
UD
42867 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42868 define DLA_FMA.
42869 [DLA_FMA] (EMULV): Use DLA_FMA.
42870 [DLA_FMA] (MUL12): Use EMULV.
42871 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42872 that are not needed.
42873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42880
ee2aafe0
AS
428812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42882
42883 * math/s_nan.c: Undef __nan.
42884 * math/s_nanf.c: Undef __nanf.
42885 * math/s_nanl.c: Undef __nanl.
42886 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42887 "math_private.h".
42888
bc62c2fb
UD
428892011-10-22 Ulrich Drepper <drepper@gmail.com>
42890
77425c63
UD
42891 * math/s_catan.c: Add branch predictions.
42892 * math/s_catanf.c: Likewise.
42893 * math/s_catanh.c: Likewise.
42894 * math/s_catanhf.c: Likewise.
42895 * math/s_catanhl.c: Likewise.
42896 * math/s_catanl.c: Likewise.
42897 * math/s_cexp.c: Likewise.
42898 * math/s_cexpf.c: Likewise.
42899 * math/s_cexpl.c: Likewise.
42900 * math/s_clog.c: Likewise.
42901 * math/s_clog10.c: Likewise.
42902 * math/s_clog10f.c: Likewise.
42903 * math/s_clog10l.c: Likewise.
42904 * math/s_clogf.c: Likewise.
42905 * math/s_clogl.c: Likewise.
42906 * math/s_csqrt.c: Likewise.
42907 * math/s_csqrtf.c: Likewise.
42908 * math/s_csqrtl.c: Likewise.
42909 * math/s_ctanf.c: Likewise.
42910 * math/s_ctanh.c: Likewise.
42911 * math/s_ctanhf.c: Likewise.
42912 * math/s_ctanhl.c: Likewise.
42913 * math/s_ctanl.c: Likewise.
42914
bc62c2fb
UD
42915 * math/math_private.h: Define __nan, __nanf, __nanl.
42916 * math/s_cacosh.c: Include <math_private.h>.
42917 * math/s_cacoshl.c: Likewise.
42918 * math/s_casinh.c: Likewise.
42919 * math/s_casinhf.c: Likewise.
42920 * math/s_casinhl.c: Likewise.
42921 * math/s_ccos.c: Rely entire on ccosh.
42922 * math/s_ccosf.c: Rely entire on ccoshf.
42923 * math/s_ccosl.c: Rely entirely on ccoshl.
42924 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42925 Remove tests for FE_INVALID.
42926 * math/s_ccoshf.c: Likewise.
42927 * math/s_ccoshl.c: Likewise.
42928 * math/s_csin.c: Likewise.
42929 * math/s_csinf.c: Likewise.
42930 * math/s_csinh.c Likewise.
42931 * math/s_csinhf.c: Likewise.
42932 * math/s_csinhl.c: Likewise.
42933 * math/s_csinl.c: Likewise.
42934 * math/s_ctan.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42936 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42937 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42938
8ec250a4
UD
429392011-10-21 Ulrich Drepper <drepper@gmail.com>
42940
c196fed8
UD
42941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42942 compilation problems.
42943
8ec250a4
UD
42944 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42945 __builtin_expect.
42946
8d4f46c6
UD
429472011-10-20 Ulrich Drepper <drepper@gmail.com>
42948
ed72b654
UD
42949 * sysdeps/i386/configure.in: Test for -mfma4 option.
42950 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42951 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42952 COMMON_CPUID_INDEX_80000001.
42953 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42954 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42955 use it if FMA3 is not supported.
42956 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42957
8d4f46c6
UD
42958 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42959 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42960
d45c60c2
AS
429612011-10-20 Andreas Schwab <schwab@redhat.com>
42962
42963 [BZ #12892]
42964 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42965 it would create a cycle with a link time dependency.
42966
d9a4d2ab
UD
429672011-10-19 Ulrich Drepper <drepper@gmail.com>
42968
855d1560
UD
42969 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42970 instruction.
42971 * string/Makefile (strop-tests): Add rawmemchr.
42972 * string/test-rawmemchr.c: New file.
42973
d9a4d2ab
UD
42974 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42976 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42977 when compiling str{,n}casecmp and when AVX is available. Hook up
42978 new optimized code in initializers.
42979
8f3b1ffe
AS
429802011-10-19 Andreas Schwab <schwab@redhat.com>
42981
42982 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42983 __feraiseexcept instead of feraiseexcept.
42984
d38f1dba
UD
429852011-10-18 Ulrich Drepper <drepper@gmail.com>
42986
d9a8d0ab
UD
42987 * math/math_private.h: Define defaults for libc_fetestexcept and
42988 libc_feupdateenv.
42989 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42990 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42992 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42993 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42994 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42995 libc_fetestexcept and libc_feupdateenv.
42996
4855e3dd
UD
42997 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42998 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42999 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43000 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43001 libc_feholdexcept_setround.
43002
581d30e3
UD
43003 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43004 Add s_nearbyint-c and s_nearbyintf-c.
43005 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43006 nearbyintf inlines.
43007 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43008 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43009 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43010 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43011
d38f1dba
UD
43012 * math/math_private.h: Define defaults for libc_fegetround,
43013 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43014 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43015 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43016 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43017 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43018 standard functions.
43019 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43020 Remove comments and hacks for old compiler versions.
43021 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43022 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43023 libc_feholdexceptl.
43024
caa6c9d8
AS
430252011-10-18 Andreas Schwab <schwab@redhat.com>
43026
43027 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43028 (__feraiseexcept_renamed): Add __NTH.
43029 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43030 namespace violations.
43031
97c066e6
UD
430322011-10-17 Ulrich Drepper <drepper@gmail.com>
43033
99ce7b04
UD
43034 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43035
1004d182
UD
43036 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43037
228a984d
UD
43038 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43039 recently added interfaces.
43040 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43041
c8553a6a
UD
43042 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43043 about macro parameter expansion.
43044
ed22dcf6
UD
43045 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43046 __NO_MATH_INLINES is defined. Cleanups.
43047
43048 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43049 and __floorf is target has SSE4.1.
43050 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43051 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43052 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43053 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43054
b171c137
UD
43055 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43056 name.
43057 (floorf): Likewise.
43058
97c066e6
UD
43059 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43060
629f62ef
AS
430612011-10-17 Andreas Schwab <schwab@redhat.com>
43062
49a43d80
AS
43063 * misc/sys/cdefs.h: Fix last change.
43064
629f62ef
AS
43065 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43066 database lookup.
43067
e453f6cd
UD
430682011-10-16 Ulrich Drepper <drepper@gmail.com>
43069
aa78043a
UD
43070 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43071
ad0f5cad
UD
43072 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43073 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43074 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43075 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43077 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43078 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43079 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43080 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43081 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43082 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43083 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43084 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43085 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43086 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43087 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43088 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43089 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43090 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43091 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43092 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43093 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43094
43095 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43096 ceil, ceilf, floor, floorf.
43097
43098 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43099 Perform IRELATIVE relocations last.
43100
e453f6cd
UD
43101 * elf/do-rel.h: Add another parameter nrelative, replacing the
43102 local variable with the same name. Change name of the function
43103 to end in Rel or Rela (uppercase).
43104 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43105 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43106 elf_dynamic_do_##reloc function.
43107
fd5bdc09
UD
431082011-10-15 Ulrich Drepper <drepper@gmail.com>
43109
79b195b5
UD
43110 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43111 is sufficient, at least on modern CPUs.
43112
d4a28569
UD
43113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43114
b61099b5
UD
43115 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43116 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43117
bcf01e6d
UD
43118 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43119 __expl_finite.
43120 * math/bits/math-finite.h: Add entries for exp.
43121 * math/e_expl.c: Add __*_finite alias.
43122 * sysdeps/i386/fpu/e_exp.S: Likewise.
43123 * sysdeps/i386/fpu/e_expf.S: Likewise.
43124 * sysdeps/i386/fpu/e_expl.c: Likewise.
43125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43129 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43130 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43131 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43132
ba1a0d59
UD
43133 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43134 is sufficient, at least on modern CPUs.
43135
fd5bdc09
UD
43136 * ctype/ctype-info.c (__ctype_init): Define.
43137 * include/ctype.h (__ctype_init): Declare.
43138 (__ctype_b_loc): The variable is always initialized.
43139 (__ctype_toupper_loc): Likewise.
43140 (__ctype_tolower_loc): Likewise.
43141 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43142 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43143
7872cfb0
AS
431442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43145
b468825a
AS
43146 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43147
7872cfb0
AS
43148 * configure.in: Also look in $cxxmachine/include for C++ system
43149 headers.
43150
be13f7bf
LD
431512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43152
43153 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43154 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43155 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43156 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43157 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43158 (USE_AS_WMEMCMP): New macro.
43159 Fixing indents.
43160 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43161 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43162 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43163 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43165 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43166 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43167 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43168 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43169 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43170 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43171 (USE_AS_WMEMCMP): New macro.
43172 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43173 * sysdeps/string/test-memcmp.c: Update.
43174 Fix simple_wmemcmp.
43175 Add new tests.
43176 * wcsmbs/wmemcmp.c: Update.
43177 (WMEMCMP): New macro.
43178 Fix overflow bug.
43179
556a2007
AJ
431802011-10-12 Andreas Jaeger <aj@suse.de>
43181
43182 [BZ #13268]
43183 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43184
538faaa7
UD
431852011-10-15 Ulrich Drepper <drepper@gmail.com>
43186
ab6737ff
UD
43187 * libio/iofwide.c (do_length): Avoid warning.
43188
538faaa7
UD
43189 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43190
396a21b1
UD
431912011-10-14 Ulrich Drepper <drepper@gmail.com>
43192
cdf2901f
UD
43193 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43194
38ad40ce
UD
43195 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43196 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43197 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43198 * sysdeps/i386/i686/fpu/e_log.S: New file.
43199 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43200 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43201
396a21b1
UD
43202 * ctype/ctype.h: Add support for inlined isXXX functions when
43203 compiling C++ code.
43204
6b1f68c9
AS
432052011-10-14 Andreas Schwab <schwab@redhat.com>
43206
349290c0
AS
43207 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43208
6b1f68c9
AS
43209 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43210
f2282d42
RM
432112011-10-13 Roland McGrath <roland@hack.frob.com>
43212
43213 [BZ #13291]
43214 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43215
5298ffa8
AS
432162011-10-13 Andreas Schwab <schwab@redhat.com>
43217
714fad23
AS
43218 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43219 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43220 feraiseexcept.
43221
81dcc7fb
AS
43222 * sysdeps/x86_64/memrchr.S: Check for zero size.
43223
5298ffa8
AS
43224 * string/stratcliff.c: Add memrchr tests.
43225
951fbcec
LD
432262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43227
43228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43229 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43230 rawmemchr-sse2 rawmemchr-sse2-bsf.
43231 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43232 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43233 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43234 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43235 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43236 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43237 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43238 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43239 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43240 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43241 * string/memrchr.c (MEMRCHR): New macro.
43242
0ac5ae23
UD
432432011-10-12 Ulrich Drepper <drepper@gmail.com>
43244
43245 Add integration with gcc's -ffinite-math-only and optimize wrapper
43246 functions in libm.
43247 * Versions.def: Define GLIBC_2.15 version for libm.
43248 * math/Makefile (headers): Add bits/math-finite.h.
43249 * math/bits/math-finite.h: New file.
43250 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43251 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43252 * math/e_acoshl.c: Add __*_finite alias.
43253 * math/e_acosl.c: Likewise.
43254 * math/e_asinl.c: Likewise.
43255 * math/e_atan2l.c: Likewise.
43256 * math/e_atanhl.c: Likewise.
43257 * math/e_coshl.c: Likewise.
43258 * math/e_exp10.c: Likewise.
43259 * math/e_exp10f.c: Likewise.
43260 * math/e_exp10l.c: Likewise.
43261 * math/e_exp2l.c: Likewise.
43262 * math/e_fmodl.c: Likewise.
43263 * math/e_gammal_r.c: Likewise.
43264 * math/e_hypotl.c: Likewise.
43265 * math/e_j0l.c: Likewise.
43266 * math/e_j1l.c: Likewise.
43267 * math/e_jnl.c: Likewise.
43268 * math/e_lgammal_r.c: Likewise.
43269 * math/e_log10l.c: Likewise.
43270 * math/e_log2l.c: Likewise.
43271 * math/e_logl.c: Likewise.
43272 * math/e_powl.c: Likewise.
43273 * math/e_sinhl.c: Likewise.
43274 * math/e_sqrtl.c: Likewise.
43275 * math/e_scalb.c: Completely rewritten and optimized.
43276 * math/e_scalbf.c: Likewise.
43277 * math/e_scalbl.c: Likewise.
43278 * math/w_acos.c: Likewise.
43279 * math/w_acosf.c: Likewise.
43280 * math/w_acosl.c: Likewise.
43281 * math/w_acosh.c: Likewise.
43282 * math/w_acoshf.c: Likewise.
43283 * math/w_acoshl.c: Likewise.
43284 * math/w_asin.c: Likewise.
43285 * math/w_asinf.c: Likewise.
43286 * math/w_asinl.c: Likewise.
43287 * math/w_atan2.c: Likewise.
43288 * math/w_atan2f.c: Likewise.
43289 * math/w_atan2l.c: Likewise.
43290 * math/w_atanh.c: Likewise.
43291 * math/w_atanhf.c: Likewise.
43292 * math/w_atanhl.c: Likewise.
43293 * math/w_exp10.c: Likewise.
43294 * math/w_exp10f.c: Likewise.
43295 * math/w_exp10l.c: Likewise.
43296 * math/w_fmod.c: Likewise.
43297 * math/w_fmodf.c: Likewise.
43298 * math/w_fmodl.c: Likewise.
43299 * math/w_j0.c: Likewise.
43300 * math/w_j0f.c: Likewise.
43301 * math/w_j0l.c: Likewise.
43302 * math/w_j1.c: Likewise.
43303 * math/w_j1f.c: Likewise.
43304 * math/w_j1l.c: Likewise.
43305 * math/w_jn.c: Likewise.
43306 * math/w_jnf.c: Likewise.
43307 * math/w_log.c: Likewise.
43308 * math/w_logf.c: Likewise.
43309 * math/w_logl.c: Likewise.
43310 * math/w_log10.c: Likewise.
43311 * math/w_log10f.c: Likewise.
43312 * math/w_log10l.c: Likewise.
43313 * math/w_log2.c: Likewise.
43314 * math/w_log2f.c: Likewise.
43315 * math/w_log2l.c: Likewise.
43316 * math/w_pow.c: Likewise.
43317 * math/w_powf.c: Likewise.
43318 * math/w_powl.c: Likewise.
43319 * math/w_remainder.c: Likewise.
43320 * math/w_remainderf.c: Likewise.
43321 * math/w_remainderl.c: Likewise.
43322 * math/w_scalb.c: Likewise.
43323 * math/w_scalbf.c: Likewise.
43324 * math/w_scalbl.c: Likewise.
43325 * math/w_sqrt.c: Likewise.
43326 * math/w_sqrtf.c: Likewise.
43327 * math/w_sqrtl.c: Likewise.
43328 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43329 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43330 used.
43331 * math/math_private.h: Declare __kernel_standard_f.
43332 * math/w_cosh.c: Remove cruft and optimize a bit.
43333 * math/w_coshf.c: Likewise.
43334 * math/w_coshl.c: Likewise.
43335 * math/w_exp2.c: Likewise.
43336 * math/w_exp2f.c: Likewise.
43337 * math/w_exp2l.c: Likewise.
43338 * math/w_hypot.c: Likewise.
43339 * math/w_hypotf.c: Likewise.
43340 * math/w_hypotl.c: Likewise.
43341 * math/w_lgamma.c: Likewise.
43342 * math/w_lgamma_r.c: Likewise.
43343 * math/w_lgammaf.c: Likewise.
43344 * math/w_lgammaf_r.c: Likewise.
43345 * math/w_lgammal.c: Likewise.
43346 * math/w_lgammal_r.c: Likewise.
43347 * math/w_sinh.c: Likewise.
43348 * math/w_sinhf.c: Likewise.
43349 * math/w_sinhl.c: Likewise.
43350 * math/w_tgamma.c: Likewise.
43351 * math/w_tgammaf.c: Likewise.
43352 * math/w_tgammal.c: Likewise.
43353 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43355 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43356 Minor optimizations. Pretty printing. Remove cruft.
43357 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43358 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43359 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43360 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43361 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43362 * sysdeps/i386/fpu/e_asin.S: Likewise.
43363 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43364 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43365 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43366 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43367 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43368 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43369 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43370 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43371 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43372 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43373 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43374 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43375 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43376 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43377 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43378 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43379 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43380 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43381 * sysdeps/i386/fpu/e_log.S: Likewise.
43382 * sysdeps/i386/fpu/e_log10.S: Likewise.
43383 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43384 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43385 * sysdeps/i386/fpu/e_log2.S: Likewise.
43386 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43387 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43388 * sysdeps/i386/fpu/e_logf.S: Likewise.
43389 * sysdeps/i386/fpu/e_logl.S: Likewise.
43390 * sysdeps/i386/fpu/e_pow.S: Likewise.
43391 * sysdeps/i386/fpu/e_powf.S: Likewise.
43392 * sysdeps/i386/fpu/e_powl.S: Likewise.
43393 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43394 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43395 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43396 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43398 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43399 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43400 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43401 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43402 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43405 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43407 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43408 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43411 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43412 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43413 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43418 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43419 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43420 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43422 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43423 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43424 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43426 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43427 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43428 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43429 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43430 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43431 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43432 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43436 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43437 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43438 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43439 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43440 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43441 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43442 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43443 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43444 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43445 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43446 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43447 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43448 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43449 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43450 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43451 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43452 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43453 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43454 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43455 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43457 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43458 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43459 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43460 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43461 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43462 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43463 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43464 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43466 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43467 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43468 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43469 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43470 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43471 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43472 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43473 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43474 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43478 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43481 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43482 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43483 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43484 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43485 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43486 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43487 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43488 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43489 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43490 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43491 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43492 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43493 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43494 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43495 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43496 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43497 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43498 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43499 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43500 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43501 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43502 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43503 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43504 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43505 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43506 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43507 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43508 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43510 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43511 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43512 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43513 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43514 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43515 (__isnanf): Likewise.
43516 (__isinf_ns): Likewise.
43517 (__isinf_nsf): Likewise.
43518 (__finite): Likewise.
43519 (__finitef): Likewise.
43520 (__ieee754_sqrt): Define as macro.
43521 (__ieee754_sqrtf): Define as macro.
43522 (__ieee754_sqrtl): Define as macro.
43523 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43524 inlined copy.
43525 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43526 __FINITE_MATH_ONLY__ consistent.
43527 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43528
12cc2fcd
AS
435292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43530
a843a204
AS
43531 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43532 of rawmemchr.
43533
12cc2fcd
AS
43534 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43535
c853acd5
UD
435362011-10-09 Ulrich Drepper <drepper@gmail.com>
43537
43538 * po/ja.po: Update from translation team.
43539
c658d255
RM
435402011-10-08 Roland McGrath <roland@hack.frob.com>
43541
110946e4
RM
43542 * locale/programs/locarchive.c (prepare_address_space): New function.
43543 (create_archive, enlarge_archive, open_archive): Use it.
43544
50604220
RM
43545 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43546 inside [SHARED], where it is used.
43547
c658d255
RM
43548 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43549
43550 * nss/getent.c (netgroup_keys): Remove unused variable.
43551 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43552
6a621eb7
UD
435532011-10-08 Ulrich Drepper <drepper@gmail.com>
43554
7edb55ce
UD
43555 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43557 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43558 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43559 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43560 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43561 * math/Makefile (libm-calls): Add s_isinf_ns.
43562 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43563 * math/multc3.c: Likewise.
43564 * math/s_casin.c: Likewise.
43565 * math/s_casinf.c: Likewise.
43566 * math/s_casinl.c: Likewise.
43567 * math/s_ccos.c: Likewise.
43568 * math/s_ccosf.c: Likewise.
43569 * math/s_ccosl.c: Likewise.
43570 * math/s_ctan.c: Likewise.
43571 * math/s_ctanf.c: Likewise.
43572 * math/s_ctanh.c: Likewise.
43573 * math/s_ctanhf.c: Likewise.
43574 * math/s_ctanhl.c: Likewise.
43575 * math/s_ctanl.c: Likewise.
43576 * math/w_fmod.c: Likewise.
43577 * math/w_fmodf.c: Likewise.
43578 * math/w_fmodl.c: Likewise.
43579 * math/w_remainder.c: Likewise.
43580 * math/w_remainderf.c: Likewise.
43581 * math/w_remainderl.c: Likewise.
43582 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43583 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43585 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43586 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43587 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43588 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43589 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43590
187da0ae
UD
43591 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43592 of the number.
43593 * stdio-common/printf_fphex.c: Likewise.
43594 * stdio-common/printf_size.c: Likewise.
43595
9277c064
UD
43596 * math/e_exp10.c: Include math_private.h using <...> not "...".
43597 * math/e_exp10f.c: Likewise.
43598 * math/e_exp10l.c: Likewise.
43599 * math/e_exp2l.c: Likewise.
43600 * math/e_j0l.c: Likewise.
43601 * math/e_j1l.c: Likewise.
43602 * math/e_jnl.c: Likewise.
43603 * math/e_lgammal_r.c: Likewise.
43604 * math/e_rem_pio2l.c: Likewise.
43605 * math/e_scalb.c: Likewise.
43606 * math/e_scalbf.c: Likewise.
43607 * math/e_scalbl.c: Likewise.
43608 * math/k_cosl.c: Likewise.
43609 * math/k_sinl.c: Likewise.
43610 * math/k_tanl.c: Likewise.
43611 * math/s_cacoshf.c: Likewise.
43612 * math/s_catan.c: Likewise.
43613 * math/s_catanf.c: Likewise.
43614 * math/s_catanh.c: Likewise.
43615 * math/s_catanhf.c: Likewise.
43616 * math/s_catanhl.c: Likewise.
43617 * math/s_catanl.c: Likewise.
43618 * math/s_ccosh.c: Likewise.
43619 * math/s_ccoshf.c: Likewise.
43620 * math/s_ccoshl.c: Likewise.
43621 * math/s_cexp.c: Likewise.
43622 * math/s_cexpf.c: Likewise.
43623 * math/s_cexpl.c: Likewise.
43624 * math/s_clog.c: Likewise.
43625 * math/s_clog10.c: Likewise.
43626 * math/s_clog10f.c: Likewise.
43627 * math/s_clog10l.c: Likewise.
43628 * math/s_clogf.c: Likewise.
43629 * math/s_clogl.c: Likewise.
43630 * math/s_csin.c: Likewise.
43631 * math/s_csinf.c: Likewise.
43632 * math/s_csinh.c: Likewise.
43633 * math/s_csinhf.c: Likewise.
43634 * math/s_csinhl.c: Likewise.
43635 * math/s_csinl.c: Likewise.
43636 * math/s_csqrt.c: Likewise.
43637 * math/s_csqrtf.c: Likewise.
43638 * math/s_csqrtl.c: Likewise.
43639 * math/s_ctan.c: Likewise.
43640 * math/s_ctanf.c: Likewise.
43641 * math/s_ctanh.c: Likewise.
43642 * math/s_ctanhf.c: Likewise.
43643 * math/s_ctanhl.c: Likewise.
43644 * math/s_ctanl.c: Likewise.
43645 * math/s_ldexp.c: Likewise.
43646 * math/s_ldexpf.c: Likewise.
43647 * math/s_ldexpl.c: Likewise.
43648 * math/s_significand.c: Likewise.
43649 * math/s_significandf.c: Likewise.
43650 * math/s_significandl.c: Likewise.
43651 * math/w_acos.c: Likewise.
43652 * math/w_acosf.c: Likewise.
43653 * math/w_acosh.c: Likewise.
43654 * math/w_acoshf.c: Likewise.
43655 * math/w_acoshl.c: Likewise.
43656 * math/w_acosl.c: Likewise.
43657 * math/w_asin.c: Likewise.
43658 * math/w_asinf.c: Likewise.
43659 * math/w_asinl.c: Likewise.
43660 * math/w_atan2.c: Likewise.
43661 * math/w_atan2f.c: Likewise.
43662 * math/w_atan2l.c: Likewise.
43663 * math/w_atanh.c: Likewise.
43664 * math/w_atanhf.c: Likewise.
43665 * math/w_atanhl.c: Likewise.
43666 * math/w_cosh.c: Likewise.
43667 * math/w_coshf.c: Likewise.
43668 * math/w_coshl.c: Likewise.
43669 * math/w_dremf.c: Likewise.
43670 * math/w_exp10.c: Likewise.
43671 * math/w_exp10f.c: Likewise.
43672 * math/w_exp10l.c: Likewise.
43673 * math/w_exp2.c: Likewise.
43674 * math/w_exp2f.c: Likewise.
43675 * math/w_fmod.c: Likewise.
43676 * math/w_fmodf.c: Likewise.
43677 * math/w_fmodl.c: Likewise.
43678 * math/w_hypot.c: Likewise.
43679 * math/w_hypotf.c: Likewise.
43680 * math/w_hypotl.c: Likewise.
43681 * math/w_j0.c: Likewise.
43682 * math/w_j0f.c: Likewise.
43683 * math/w_j0l.c: Likewise.
43684 * math/w_j1.c: Likewise.
43685 * math/w_j1f.c: Likewise.
43686 * math/w_j1l.c: Likewise.
43687 * math/w_jn.c: Likewise.
43688 * math/w_jnf.c: Likewise.
43689 * math/w_jnl.c: Likewise.
43690 * math/w_lgamma.c: Likewise.
43691 * math/w_lgamma_r.c: Likewise.
43692 * math/w_lgammaf.c: Likewise.
43693 * math/w_lgammaf_r.c: Likewise.
43694 * math/w_lgammal.c: Likewise.
43695 * math/w_lgammal_r.c: Likewise.
43696 * math/w_log.c: Likewise.
43697 * math/w_log10.c: Likewise.
43698 * math/w_log10f.c: Likewise.
43699 * math/w_log10l.c: Likewise.
43700 * math/w_log2.c: Likewise.
43701 * math/w_log2f.c: Likewise.
43702 * math/w_log2l.c: Likewise.
43703 * math/w_logf.c: Likewise.
43704 * math/w_logl.c: Likewise.
43705 * math/w_pow.c: Likewise.
43706 * math/w_powf.c: Likewise.
43707 * math/w_powl.c: Likewise.
43708 * math/w_remainder.c: Likewise.
43709 * math/w_remainderf.c: Likewise.
43710 * math/w_remainderl.c: Likewise.
43711 * math/w_scalb.c: Likewise.
43712 * math/w_scalbf.c: Likewise.
43713 * math/w_scalbl.c: Likewise.
43714 * math/w_sinh.c: Likewise.
43715 * math/w_sinhf.c: Likewise.
43716 * math/w_sinhl.c: Likewise.
43717 * math/w_sqrt.c: Likewise.
43718 * math/w_sqrtf.c: Likewise.
43719 * math/w_sqrtl.c: Likewise.
43720 * math/w_tgamma.c: Likewise.
43721 * math/w_tgammaf.c: Likewise.
43722 * math/w_tgammal.c: Likewise.
43723
6a621eb7
UD
43724 * po/ja.po: Update from translation team.
43725
bf582445
AJ
437262011-09-29 Andreas Jaeger <aj@suse.de>
43727
f9efbf3a
AJ
43728 [BZ #13179]
43729 * sunrpc/netname.c (netname2host): Fix logic.
43730
bf582445
AJ
43731 [BZ #6779]
43732 [BZ #6783]
43733 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43734 correctly.
43735 * math/w_remainder.c (__remainder): Likewise.
43736 * math/w_remainderf.c (__remainderf): Likewise.
43737 * math/libm-test.inc (remainder_test): Add test cases.
43738
48693bea
AK
437392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43740
43741 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43742 sdiv_qrnnd.
43743
42622229
LD
437442011-10-07 Ulrich Drepper <drepper@gmail.com>
43745
43746 * string/test-memcmp.c: Avoid unncessary #defines.
43747 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43748
093ecf92
LD
437492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43750
43751 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43752 Use new sse2 version for core i3 - i7 as it's faster
43753 than sse42 version.
43754 (bit_Prefer_PMINUB_for_stringop): New.
43755 * sysdeps/x86_64/rawmemchr.S: Update.
43756 Replace with faster SSE2 version.
43757 * sysdeps/x86_64/memrchr.S: New file.
43758 * sysdeps/x86_64/memchr.S: Update.
43759 Replace with faster SSE2 version.
43760
fde56e5c
MP
437612011-09-12 Marek Polacek <mpolacek@redhat.com>
43762
43763 * elf/dl-load.c (lose): Add cast to avoid warning.
43764
21fd49a9
UD
437652011-10-07 Ulrich Drepper <drepper@gmail.com>
43766
5a06e643
UD
43767 * po/ca.po: Update from translation team.
43768
684ae515
UD
43769 * inet/getnetgrent_r.c: Hook up nscd.
43770 * nscd/Makefile (routines): Add nscd_netgroup.
43771 (nscd-modules): Add netgroupcache.
43772 (CFLAGS-netgroupcache.c): Define.
43773 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43774 (cache_search): Add const to second parameter.
43775 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43776 INNETGR.
43777 (dbs): Add netgrdb entry.
43778 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43779 (verify_persistent_db): Handle netgrdb.
43780 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43781 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43782 GETFDNETGR.
43783 (netgroup_response_header): Define.
43784 (innetgroup_response_header): Define.
43785 (datahead): Add netgroup_response_header and innetgroup_response_header
43786 elements.
43787 * nscd/nscd.conf: Add entries for netgroup cache.
43788 * nscd/nscd.h (dbtype): Add netgrdb.
43789 (_PATH_NSCD_NETGROUP_DB): Define.
43790 (netgroup_iov_disabled): Declare.
43791 (xmalloc, xcalloc, xrealloc): Move declarations here.
43792 (cache_search): Adjust prototype.
43793 Add netgroup-related prototypes.
43794 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43795 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43796 (__nscd_innetgr): Declare.
43797 * nscd/selinux.c (perms): Use access_vector_t as element type and
43798 add netgroup-related initializers.
43799 * nscd/netgroupcache.c: New file.
43800 * nscd/nscd_netgroup.c: New file.
43801 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43802 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43803 For four parameters use innetgr.
43804 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43805 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43806 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43807 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43808
21fd49a9
UD
43809 * nscd/connections.c (register_traced_file): Don't register file
43810 for disabled databases.
43811
054c0457
UD
438122011-10-06 Ulrich Drepper <drepper@gmail.com>
43813
32b63198
UD
43814 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43815
054c0457
UD
43816 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43817 from tree and freeing node.
43818
64031225
JO
438192011-09-25 Jiri Olsa <jolsa@redhat.com>
43820
43821 * nss/nsswitch.c (__nss_database_lookup): Handle
43822 nss_parse_service_list out of memory case.
43823
0490345c
JO
438242011-09-15 Jiri Olsa <jolsa@redhat.com>
43825
43826 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43827 out of memory case.
43828
3a62d00d
AS
438292011-10-04 Andreas Schwab <schwab@redhat.com>
43830
43831 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43832 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43833 pass it down.
43834 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43835 elf_machine_rela, elf_machine_lazy_rel.
43836 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43837 (ELF_DYNAMIC_DO_REL): Likewise.
43838 (ELF_DYNAMIC_DO_RELA): Likewise.
43839 (ELF_DYNAMIC_RELOCATE): Likewise.
43840 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43841 to ELF_DYNAMIC_DO_REL.
43842 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43843 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43844 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43845 elf_machine_rela.
43846 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43847 skip_ifunc, don't call ifunc function if non-zero.
43848 (elf_machine_rela): Likewise.
43849 (elf_machine_lazy_rel): Likewise.
43850 (elf_machine_lazy_rela): Likewise.
43851 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43852 (elf_machine_lazy_rel): Likewise.
43853 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43854 Likewise.
43855 (elf_machine_lazy_rel): Likewise.
43856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43857 Likewise.
43858 (elf_machine_lazy_rel): Likewise.
43859 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43860 (elf_machine_lazy_rel): Likewise.
43861 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43862 (elf_machine_lazy_rel): Likewise.
43863 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43864 (elf_machine_lazy_rel): Likewise.
43865 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43866 (elf_machine_lazy_rel): Likewise.
43867 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43868 (elf_machine_lazy_rel): Likewise.
43869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43870 (elf_machine_lazy_rel): Likewise.
43871
68577918
UD
438722011-09-28 Ulrich Drepper <drepper@gmail.com>
43873
43874 * nss/nss_files/files-init.c (_nss_files_init): Use static
43875 initialization for all the *_traced_file variables.
43876
68822d74
AS
438772011-09-28 Andreas Schwab <schwab@redhat.com>
43878
43879 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43880
2056100b
RM
438812011-09-27 Roland McGrath <roland@hack.frob.com>
43882
43883 [BZ #13226]
43884 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43885
32c76b63
AS
438862011-09-27 Andreas Schwab <schwab@redhat.com>
43887
43888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43889 Reread the line before reparsing it.
43890
bf972c9d
AS
438912011-09-26 Andreas Schwab <schwab@redhat.com>
43892
43893 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43894
e057a1b5
JM
438952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43896 Maxim Kuvyrkov <maxim@codesourcery.com>
43897 Joseph Myers <joseph@codesourcery.com>
43898
43899 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43900 if needed for __stack_chk_guard.
43901
bc7e1c36
RM
439022011-09-19 Roland McGrath <roland@hack.frob.com>
43903
ecb1482f
RM
43904 * sysdeps/posix/spawni.c (script_execute): Always define it.
43905 It will be optimized away if unused.
43906 (maybe_script_execute): New function.
43907 (__spawni): Call it.
43908
bc7e1c36
RM
43909 * Makerules: Don't include tls.make.
43910 (config-tls): Always set to thread.
43911 * tls.make.c: File removed.
43912
1c3b002b
MF
439132011-09-19 Mike Frysinger <vapier@gentoo.org>
43914
43915 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43916 * config.make.in (CPPFLAGS-config): New substituted variable.
43917
2840865d
UD
439182011-09-15 Ulrich Drepper <drepper@gmail.com>
43919
88738eb6
UD
43920 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43921
cbf645a6 43922 [BZ #13192]
2840865d
UD
43923 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43924 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43925
b402e91a
RM
439262011-09-15 Roland McGrath <roland@hack.frob.com>
43927
43928 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43929 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43931 (CALL_FAIL): Likewise.
43932 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43933 (CALL_FAIL): Macro removed.
43934 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43935
4c1a1f71
UD
439362011-09-15 Ulrich Drepper <drepper@gmail.com>
43937
43938 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43939 for __FINITE_MATH_ONLY__ == 1.
43940
edc121be
AS
439412011-09-15 Andreas Schwab <schwab@redhat.com>
43942
43943 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43944 __ieee754_sqrt instead of sqrt.
43945 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43946 __ieee754_sqrtf instead of sqrtf.
43947 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43948 __floorf instead of floorf.
43949 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43950 __floorf, __truncf instead of floorf, truncf.
43951
cd205654
UD
439522011-09-14 Ulrich Drepper <drepper@gmail.com>
43953
ee4d0315
UD
43954 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43955
cd205654
UD
43956 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43957 __extern_always_inline.
43958 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43959 32-bit.
43960
48b67d71
AS
439612011-09-14 Andreas Schwab <schwab@redhat.com>
43962
43963 * elf/rtld.c (dl_main): Also relocate in dependency order when
43964 doing symbol dependency testing.
43965
1ae12c75
AS
439662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43967
43968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43969 Always define `refsym'.
43970
995a80df
AS
439712011-09-13 Andreas Schwab <schwab@redhat.com>
43972
e529793b
AS
43973 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43974 (__FD_ELT): Renamed from __FDELT.
43975 * misc/bits/select2.h (__FD_ELT): Likewise.
43976 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43977 __FD_MASK instead of __FDELT, __FDMASK.
43978 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43979 Likewise.
43980 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43981 Likewise.
43982
52d4fef8
AS
43983 * elf/Makefile (gen-ldd): Fix pattern.
43984
995a80df
AS
43985 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43986 (init_tls): Likewise.
43987
8682f8b0
UD
439882011-09-12 Ulrich Drepper <drepper@gmail.com>
43989
43990 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43991
de82006d
AS
439922011-09-12 Andreas Schwab <schwab@redhat.com>
43993
a7c8e6a1
AS
43994 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43995 `struct cmsghdr *' instead of `void *'.
43996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43997 Likewise.
43998
0f31fe77
AS
439992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44000
44001 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44002 if non-absolute.
44003 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44004 ldd_rewrite_script.
0f31fe77 44005
32b4c839
UD
440062011-09-11 Ulrich Drepper <drepper@gmail.com>
44007
83cd1420
UD
44008 * configure.in: Remove --with-tls option.
44009 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44010 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44011 out in case it is missing.
44012 * sysdeps/ia64/elf/configure.in: Likewise.
44013 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44014 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44015 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44016 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44017 * sysdeps/sh/elf/configure.in: Likewise.
44018 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44019 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44020 * sysdeps/x86_64/elf/configure.in: Likewise.
44021 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44022 * sysdeps/mach/hurd/tls.h: Likewise.
44023
633f745d
UD
44024 [BZ #13067]
44025 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44026
f318beb8
UD
44027 [BZ #13090]
44028 * configure.in: Fix use of AC_INIT.
44029
32b4c839
UD
44030 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44031
3ce1f295
UD
440322011-09-10 Ulrich Drepper <drepper@gmail.com>
44033
bb016596
UD
44034 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44035 __set_errno.
8e58439c
UD
44036 * malloc/hooks.c: Likewise.
44037
aebae053 44038 [BZ #11929]
02d46fc4
UD
44039 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44040 variables statically.
44041 (narenas): Initialize.
44042 (list_lock): Initialize.
bb016596
UD
44043 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44044 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44045 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44046 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44047 Add initializers to main_arena and mp_.
44048 (malloc_state): Remove pagesize member. Change all users to use
44049 GLRO(dl_pagesize).
44050
44051 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44052 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44053 is always initialized.
44054
22a89187
UD
44055 * malloc/malloc.c: Removed unused configurations and dead code.
44056 * malloc/arena.c: Likewise.
44057 * malloc/hooks.c: Likewise.
02d46fc4 44058 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44059
d063d164
UD
44060 * include/tls.h: Removed. USE___THREAD must always be defined.
44061 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44062 * elf/dl-libc.c: Likewise.
44063 * elf/dl-tsd.c: Likewise.
44064 * include/errno.h: Likewise.
44065 * include/netdb.h: Likewise.
44066 * include/resolv.h: Likewise.
44067 * inet/herrno-loc.c: Likewise.
44068 * inet/herrno.c: Likewise.
44069 * malloc/arena.c: Likewise.
44070 * malloc/hooks.c: Likewise.
44071 * malloc/malloc.c: Likewise.
44072 * resolv/res-state.c: Likewise.
44073 * resolv/res_libc.c: Likewise.
44074 * sysdeps/i386/dl-machine.h: Likewise.
44075 * sysdeps/ia64/dl-machine.h: Likewise.
44076 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44077 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44078 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44079 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44080 * sysdeps/sh/dl-machine.h: Likewise.
44081 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44082 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44083 * sysdeps/unix/i386/sysdep.S: Likewise.
44084 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44085 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44089 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44090 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44092 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44094 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44095 * sysdeps/x86_64/dl-machine.h: Likewise.
44096 * tls.make.c: Likewise.
44097
3ce1f295
UD
44098 * configure.in: Remove --with-__thread option. Make tests for
44099 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44100 tls_model attribute fail if no support is available. Remove
44101 USE_IN_LIBIO.
44102 * Makeconfig: Adjust for dropped configure option. All features are
44103 now mandatory.
44104 * Makerules: Likewise.
44105 * Versions.def: Likewise.
44106 * argp/argp-fmtstream.c: Likewise.
44107 * argp/argp-fmtstream.h: Likewise.
44108 * argp/argp-help.c: Likewise.
44109 * assert/assert.c: Likewise.
44110 * config.h.in: Likewise.
44111 * config.make.in: Likewise.
44112 * configure: Likewise.
44113 * configure.in: Likewise.
44114 * csu/Versions: Likewise.
44115 * csu/init.c: Likewise.
44116 * elf/tst-audit2.c: Likewise.
44117 * elf/tst-tls10.c: Likewise.
44118 * elf/tst-tls10.h: Likewise.
44119 * elf/tst-tls11.c: Likewise.
44120 * elf/tst-tls12.c: Likewise.
44121 * elf/tst-tls14.c: Likewise.
44122 * elf/tst-tlsmod11.c: Likewise.
44123 * elf/tst-tlsmod12.c: Likewise.
44124 * elf/tst-tlsmod13.c: Likewise.
44125 * elf/tst-tlsmod13a.c: Likewise.
44126 * elf/tst-tlsmod14a.c: Likewise.
44127 * elf/tst-tlsmod15b.c: Likewise.
44128 * elf/tst-tlsmod16a.c: Likewise.
44129 * elf/tst-tlsmod16b.c: Likewise.
44130 * elf/tst-tlsmod7.c: Likewise.
44131 * elf/tst-tlsmod8.c: Likewise.
44132 * elf/tst-tlsmod9.c: Likewise.
44133 * gmon/gmon.c: Likewise.
44134 * grp/fgetgrent_r.c: Likewise.
44135 * grp/putgrent.c: Likewise.
44136 * hurd/fopenport.c: Likewise.
44137 * include/libc-symbols.h: Likewise.
44138 * include/tls.h: Likewise.
44139 * intl/gettextP.h: Likewise.
44140 * intl/loadinfo.h: Likewise.
44141 * locale/global-locale.c: Likewise.
44142 * locale/localeinfo.h: Likewise.
44143 * mach/devstream.c: Likewise.
44144 * malloc/arena.c: Likewise.
44145 * malloc/set-freeres.c: Likewise.
44146 * misc/err.c: Likewise.
44147 * misc/getttyent.c: Likewise.
44148 * misc/mntent_r.c: Likewise.
44149 * posix/getopt.c: Likewise.
44150 * posix/wordexp.c: Likewise.
44151 * pwd/fgetpwent_r.c: Likewise.
44152 * resolv/Versions: Likewise.
44153 * resolv/res_hconf.c: Likewise.
44154 * shadow/fgetspent_r.c: Likewise.
44155 * shadow/putspent.c: Likewise.
44156 * stdio-common/printf_fphex.c: Likewise.
44157 * stdio-common/tmpfile.c: Likewise.
44158 * stdlib/abort.c: Likewise.
44159 * stdlib/fmtmsg.c: Likewise.
44160 * sunrpc/auth_unix.c: Likewise.
44161 * sunrpc/clnt_perr.c: Likewise.
44162 * sunrpc/clnt_tcp.c: Likewise.
44163 * sunrpc/clnt_udp.c: Likewise.
44164 * sunrpc/clnt_unix.c: Likewise.
44165 * sunrpc/openchild.c: Likewise.
44166 * sunrpc/svc_simple.c: Likewise.
44167 * sunrpc/svc_tcp.c: Likewise.
44168 * sunrpc/svc_udp.c: Likewise.
44169 * sunrpc/svc_unix.c: Likewise.
44170 * sunrpc/xdr.c: Likewise.
44171 * sunrpc/xdr_array.c: Likewise.
44172 * sunrpc/xdr_rec.c: Likewise.
44173 * sunrpc/xdr_ref.c: Likewise.
44174 * sunrpc/xdr_stdio.c: Likewise.
44175
1248c1c4
PB
441762011-09-09 Ulrich Drepper <drepper@gmail.com>
44177
44178 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44179
441802011-07-03 Andreas Jaeger <aj@suse.de>
44181
44182 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44183 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44184 regenerate with gen-libm-tests.pl.
44185
441862010-05-12 Petr Baudis <pasky@suse.cz>
44187
44188 [BZ #11589]
44189 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44190 around j0() zero points by switching to j1().
44191 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44192 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44194 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44195
f22e1074
UD
441962011-09-09 Ulrich Drepper <drepper@gmail.com>
44197
f19009c1
UD
44198 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44199 instead of 0.
44200 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44201 instead of 0.
f19009c1
UD
44202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44203 Patch in part by Pavel Roskin <proski@gnu.org>.
44204
3f8cc204
UD
44205 [BZ #13138]
44206 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44207 realloc.
44208 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44209 Free memory block if necessary.
44210
f22e1074
UD
44211 [BZ #12847]
44212 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44213 be NULL. Don't lock in this case.
44214
0a2349f9
RM
442152011-09-09 Roland McGrath <roland@hack.frob.com>
44216
44217 * elf/elf.h (ELFOSABI_GNU): New macro.
44218 (ELFOSABI_LINUX): Define to that.
44219
f3cdd467
DZ
442202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44221
44222 * string/strncat.c (strncat): Undef the symbol in case it has been
44223 defined in bits/string.h.
44224
74718d13
UD
442252011-09-09 Ulrich Drepper <drepper@gmail.com>
44226
633e9e0f
UD
44227 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44228
0a2349f9 44229 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44230 link map.
44231
f9924780
AJ
442322011-08-17 Andreas Jaeger <aj@suse.de>
44233
44234 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44235
7f5517aa
PP
442362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44237 Ian Lance Taylor <iant@google.com>
44238
44239 * math/libm-test.inc (lround_test): New testcase.
44240 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44241
762011fe
UD
442422011-09-08 Ulrich Drepper <drepper@gmail.com>
44243
92963737
UD
44244 * Makefile: Remove support for automatic cvs check-ins.
44245 * Makerules: Likewise.
44246 * config.make.in: Likewise.
44247 * configure.in: Likewise.
44248 * intl/Makefile: Likewise.
44249 * locale/Makefile: Likewise.
44250 * po/Makefile: Likewise.
44251 * posix/Makefile: Likewise.
44252 * sysdeps/gnu/Makefile: Likewise.
44253 * sysdeps/mach/hurd/Makefile: Likewise.
44254 * sysdeps/sparc/sparc32/Makefile: Likewise.
44255
b0727fd8
JS
44256 [BZ #13118]
44257 * posix/Makefile (bug-regex32-ENV): Define.
44258 Patch by John Stanley <jpsinthemix@verizon.net>.
44259
a0f33f99
UD
44260 * misc/Makefile (headers): Add bits/select2.h.
44261 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44262 * misc/bits/select2.h: New file.
44263 * include/bits/select2.h: New file.
44264 * debug/Makefile (routines): Add fdelt_chk.
44265 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44266 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44267 FD_ISSET.
44268 * debug/fdelt_chk.c: New file.
44269
762011fe
UD
44270 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44271 * wcsmbs/test-wmemcmp.c: Likewise.
44272 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44273 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44274
442752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44276
44277 * string/Makefile (strop-tests): Add memcmp.
44278 * string/test-wmemcmp.c: New file.
44279 * string/test-memcmp.c: Add wmemcmp support.
44280
7f513ec8
RM
442812011-09-08 Roland McGrath <roland@hack.frob.com>
44282
0442afb4
RM
44283 [BZ #13153]
44284 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44285 2011-07-19 change.
44286
7f513ec8
RM
44287 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44288 garbage value in a __mach_port_mod_refs call in the cases of the
44289 task-self and thread-self ports.
44290
a12b2239
ST
442912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44292
44293 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44294
610f9ab4
AS
442952011-09-08 Andreas Schwab <schwab@redhat.com>
44296
7f513ec8 44297 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44298
48882a1a
LD
442992011-09-07 Ulrich Drepper <drepper@gmail.com>
44300
b49865be
UD
44301 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44302
fdc86bc9
UD
44303 * elf/dl-libc.c (dlerror_run): Pass back error code from
44304 dl_catch_error.
44305
c966526a
UD
44306 [BZ #13123]
44307 * elf/dl-load.c (lose): Free l_origin if it is valid.
44308
48882a1a
LD
44309 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44310 names.
44311 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44313 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44314 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44315 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44316 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44317
77a2a8b4
AZ
443182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44319
44320 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44321 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44322 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44323 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44324 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44325 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44326 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44327 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44328 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44329 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44330
24f579d8
AM
443312011-08-15 Alan Modra <amodra@gmail.com>
44332
44333 [BZ #13092]
44334 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44335 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44336 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44337 ppc_mcount to static-only-routines.
44338 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44339 __mcount_internal.
44340 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44341 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44342
3d4837df
UD
443432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44344
44345 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44346 for finite and infinity parameters.
44347
22700377
WS
443482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44349
44350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44351 and add nop instructions for throughput optimization.
44352 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44353
5025581e
WS
443542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44355
44356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44357 aligned copy for power7 with vector-scalar instructions.
44358 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44359
08a300c9
L
443602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44361
44362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44363 AVX check.
44364
59178ef9
AS
443652011-09-07 Andreas Schwab <schwab@redhat.com>
44366
44367 [BZ #13144]
44368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44369 last change.
44370
e38ba7ab
UD
443712011-09-07 Ulrich Drepper <drepper@gmail.com>
44372
44373 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44374 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44375 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44376 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44377 clock_gettime.
44378
d53a73ac
UD
443792011-09-06 Ulrich Drepper <drepper@gmail.com>
44380
fc8bffcc
UD
44381 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44382 Forgot to demangle the pointer.
44383
ceaa0c5d
UD
44384 * sysdeps/i386/sysdep.h: Define atom_text_section.
44385 * sysdeps/x86_64/sysdep.h: Likewise.
44386 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44387 section with atom_text_section.
44388 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44389 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44390 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44391 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44392 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44393
a77d3c17
UD
44394 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44395 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44396 already be defined. Change to take two parameters and don't assign
44397 result to variable. Adjust all users.
44398 Define INTERNAL_GETTIME if not already defined.
44399 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44400 call.
44401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44402 HAVE_CLOCK_GETTIME_VSYSCALL.
44403 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44404
d53a73ac
UD
44405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44406 gettimeofday vsyscall, just use time.
44407
a8f84144
AS
444082011-09-06 Andreas Schwab <schwab@redhat.com>
44409
44410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44411 <errno.h>.
44412
ef606249
UD
444132011-09-06 Ulrich Drepper <drepper@gmail.com>
44414
44415 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44416 syscall on x86-64.
44417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44418 syscall.
44419 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44420 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44421 syscall if possible.
44422
6585cb60
UD
444232011-09-05 Ulrich Drepper <drepper@gmail.com>
44424
44425 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44426 e_ident. Don't pass to find_mapsXX.
44427 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44428
a5f524e4
LD
444292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44430
44431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44432 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44433 * sysdeps/x86_64/multiarch/strchr.S: Update.
44434 Check bit_slow_BSF bit.
44435 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44436 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44437 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44438
554881ef
UD
444392011-09-05 Ulrich Drepper <drepper@gmail.com>
44440
d96de963
UD
44441 [BZ #13134]
44442 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44443 before glibc 2.15.
44444 (tryshell): Define.
44445 (__spawni): Change last parameter to be flag. Test
44446 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44447 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44448 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44449 * posix/spawni.c: Likewise.
44450 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44451 * posix/spawnp.c: Likewise. Change normal version to use
44452 SPAWN_XFLAGS_USE_PATH.
44453 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44454 SPAWN_XFLAGS_TRY_SHELL.
44455
d48e5868
UD
44456 [BZ #13150]
44457 * posix/glob.h: Remove gcc 1.x support.
44458
554881ef
UD
44459 [BZ #13068]
44460 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44461
693fb948
LD
444622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44463
44464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44465 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44466 strrchr-sse2-bsf
44467 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44468 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44469 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44470 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44472 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44473
1b48c537
UD
444742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44475
49d42c37
UD
44476 * sysdeps/x86_64/wcscmp.S: New file.
44477
1b48c537
UD
44478 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44479 wcscmp-c wcscmp-sse2
44480 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44481 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44482 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44483 * wcsmbs/wcscmp.c: Allow renaming.
44484
15c95c5d
DM
444852011-09-05 David S. Miller <davem@davemloft.net>
44486
44487 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44488 stack slot, rather than the struct return pointer slot.
44489 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44490 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44492 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44493
2f0ad8f3
UD
444942011-09-05 Ulrich Drepper <drepper@gmail.com>
44495
d88ae418
UD
44496 * po/ja.po: Update from translation team.
44497
2f0ad8f3
UD
44498 [BZ #13144]
44499 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44500 kernel in 64-bit binaries.
44501
5f4318d1
DM
445022011-09-01 David S. Miller <davem@davemloft.net>
44503
44504 * elf/elf.h (HWCAP_SPARC_*): Move to..
44505 * sysdeps/sparc/sysdep.h: this new file and add new values.
44506 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44507 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44508 _DL_HWCAP_COUNT to 24.
44509 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44510 entries.
44511 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44512 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44513 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44515 instead of magic constants.
44516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44517
3ba57516
DM
445182011-08-31 David S. Miller <davem@davemloft.net>
44519
44520 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44522 Reimplement to do errno handling inline.
44523 (SYSCALL_ERROR_HANDLER): New macro.
44524 (__SYSCALL_STRING): Do not do errno handling in asm.
44525 (__CLONE_SYSCALL_STRING): Delete.
44526 (__INTERNAL_SYSCALL_STRING): Delete.
44527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44528 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44529 (PSEUDO): Reimplement to do errno handling inline.
44530 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44531 (SYSCALL_ERROR_HANDLER): New macro.
44532 (__SYSCALL_STRING): Do not do errno handling in asm.
44533 (__CLONE_SYSCALL_STRING): Delete.
44534 (__INTERNAL_SYSCALL_STRING): Delete.
44535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44536 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44537 i386.
44538 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44539 (inline_syscall*): Add 'err' argument.
44540 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44541 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44542 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44543 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44544
44545 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44546 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44547
2bc17433
AS
445482011-08-30 Andreas Schwab <schwab@redhat.com>
44549
44550 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44551
fbeb5f4d
JO
445522011-08-29 Jiri Olsa <jolsa@redhat.com>
44553
44554 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44555 directive.
44556
ad69cc26
DM
445572011-08-24 David S. Miller <davem@davemloft.net>
44558
44559 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44560
39dd69df
AS
445612011-08-24 Andreas Schwab <schwab@redhat.com>
44562
44563 * elf/Makefile: Add rules to build and run unload8 test.
44564 * elf/unload8.c: New file.
44565 * elf/unload8mod1.c: New file.
44566 * elf/unload8mod1x.c: New file.
44567 * elf/unload8mod2.c: New file.
44568 * elf/unload8mod3.c: New file.
44569
44570 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44571 it wasn't used.
44572
2c0b250a
DM
445732011-08-23 David S. Miller <davem@davemloft.net>
44574
44575 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44576 subtract stack bias.
44577 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44578 %sp not %fp in calculations.
44579 (_JMPBUF_UNWINDS_ADJ): Likewise.
44580
22044b48
DM
44581 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44582 (aio_suspend): Call it to force an exception region around the
44583 AIO_MISC_WAIT() invocation.
44584
2cae4995
AS
445852011-08-23 Andreas Schwab <schwab@redhat.com>
44586
44587 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44588 backslash.
44589
873a772e
AJ
445902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44591
44592 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44593 protection macro.
44594 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44595 and <dl-machine.h>.
44596 (Elf64_FuncDesc): Remove.
44597
25ad0df1
DM
445982011-08-22 David S. Miller <davem@davemloft.net>
44599
44600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44601 sigaltstack check, add missing cfi directives.
44602 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44603 missing cfi directives, and sigaltstack handling.
44604
e888bcbe
AS
446052011-08-16 Andreas Schwab <schwab@redhat.com>
44606
44607 [BZ #11724]
44608 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44609 object is seen twice.
44610 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44611
44612 * elf/Makefile (distribute): Add tst-initorder2.c.
44613 (tests): Add tst-initorder2.
44614 (modules-names): Add tst-initorder2a tst-initorder2b
44615 tst-initorder2c tst-initorder2d. Add rules to build them.
44616 ($(objpfx)tst-initorder2.out): New rule.
44617 * elf/tst-initorder2.c: New file.
44618 * elf/tst-initorder2.exp: New file.
44619
87162f46
AS
446202011-08-22 Andreas Schwab <schwab@redhat.com>
44621
70538b7f
AS
44622 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44623
f55ffe58
AS
44624 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44625 dependencies back to end of function.
44626
87162f46
AS
44627 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44628 $(elfobjdir)/ld.so.
44629
91b392a4
UD
446302011-08-21 Ulrich Drepper <drepper@gmail.com>
44631
44632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44633 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44635 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44636 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44637 of __vdso_gettimeofday.
44638 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44639 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44640 attribute_hidden.
44641 (_libc_vdso_platform_setup): Remove initialization of
44642 __vdso_gettimeofday and __vdso_time.
44643
5c43483f
UD
446442011-08-20 Ulrich Drepper <drepper@gmail.com>
44645
775a77e7
UD
44646 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44647 and fgetc_unlocked.
44648 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44649 getc_unlocked.
89f447ed 44650
49c74ba9
UD
44651 * elf/dl-open.c (add_to_global): Report additions to the global scope
44652 for LD_DEBUG=scopes.
44653 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44654 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44655
5c43483f
UD
44656 [BZ #13114]
44657 * stdio-common/Makefile (tests): Add bug24.
44658 * stdio-common/bug24.c: New file.
44659
a101b025
AJ
446602011-08-19 Andreas Jaeger <aj@suse.de>
44661
44662 [BZ #13114]
44663 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44664 non-existant file when using close-on-exec mode.
44665
c88f1766
UD
446662011-08-20 Ulrich Drepper <drepper@gmail.com>
44667
0276a718
UD
44668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44669 the very first instruction.
44670
c88f1766
UD
44671 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44672 the CFI state in the end.
44673 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44674 inclusion of dl-trampoline.h.
44675 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44676
51ccffa0
AS
446772011-08-19 Andreas Schwab <schwab@redhat.com>
44678
94d7165f
AS
44679 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44680 expectations for long double.
44681
51ccffa0
AS
44682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44683 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44684
fd708658 446852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44686
44687 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44688 artificual limit depends upon the system page size.
44689
44f0a71e
UD
446902011-08-17 Ulrich Drepper <drepper@gmail.com>
44691
44692 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44693 * resolv/Makefile: Define CFLAGS-libresolv.
44694
8de79a24
AS
446952011-08-17 Andreas Schwab <schwab@redhat.com>
44696
44697 * nss/makedb.c (compute_tables): Make variables used in nested
44698 function static.
44699
27724598
UD
447002011-08-17 Ulrich Drepper <drepper@gmail.com>
44701
c5305d88
UD
44702 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44703 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44704 if buffer was too small.
44705
27724598
UD
44706 * elf/pldd.c (main): Attach to all threads in the process.
44707 Rewrite /proc handling to use *at functions.
44708
076fe015
UD
447092011-08-16 Ulrich Drepper <drepper@gmail.com>
44710
174baab3
UD
44711 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44712 specifies first scope to show.
44713 (dl_open_worker): Update callers. Move printing scope of new
44714 object to before the relocation.
44f0a71e 44715 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44716 * sysdeps/generic/ldsodefs.h: Update declaration.
44717
076fe015
UD
44718 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44719 string for the scope number.
44720
a60df2c3
UD
447212011-08-14 Ulrich Drepper <drepper@gmail.com>
44722
44723 * nscd/servicescache.c (cache_addserv): Make sure written is always
44724 initialized.
44725
5e4287d1
RM
447262011-08-14 Roland McGrath <roland@hack.frob.com>
44727
85ae0589
RM
44728 * sysdeps/i386/i486/bits/atomic.h
44729 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44730 statement expression, so as to suppress "set but not used" warning.
44731 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44732
69f63097
RM
44733 * string/strncat.c (STRNCAT): Use prototype definition.
44734
675456ef
RM
44735 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44736 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44737 -Iprograms here.
44738 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44739 (localedef-modules): Add localedef.
44740 (locale-modules): Add locale.
44741
5e4287d1
RM
44742 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44743 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44744 to avoid a warning.
44745
9c96ff23
DM
447462011-08-14 David S. Miller <davem@davemloft.net>
44747
44748 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44749 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44750
f9ddf089
UD
447512011-08-13 Ulrich Drepper <drepper@gmail.com>
44752
44f0a71e 44753 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44754 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44755 * elf/rtld.c (dl_main): Set l_name of vDSO.
44756 Call _dl_show_scope when DL_DEBUG_SCOPES.
44757 (process_dl_debug): Recognize scopes flag and also set it for all.
44758 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44759 Declare _dl_show_scope.
44760
1dc27704
UD
44761 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44762 (do_dlopen): Pass caller_dlopen to dl_open.
44763 (__libc_dlopen_mode): Initialize caller_dlopen.
44764
f9ddf089
UD
44765 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44766 of libc. Make tolower call locale-independent. Optimize a bit by
44767 using isdigit instead of isalnum.
44768 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44769
9ac533d3
UD
447702011-08-12 Ulrich Drepper <drepper@gmail.com>
44771
44772 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44773 was a dependency or dynamically loaded.
44774
89edf2e9
UD
447752011-08-11 Ulrich Drepper <drepper@gmail.com>
44776
8e999d29
UD
44777 * intl/l10nflist.c: Allow architecture-specific pop function.
44778 * sysdeps/x86_64/l10nflist.c: New file.
44779
89edf2e9
UD
44780 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44781 classification.
44782
14d96785
AS
447832011-08-10 Andreas Schwab <schwab@redhat.com>
44784
44785 * include/dirent.h: Add libc_hidden_proto for scandirat and
44786 scandirat64. Don't declare __scandirat64.
44787 * dirent/scandirat.c: Add libc_hidden_def.
44788 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44789 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44790
6761ac04
DM
447912011-08-10 David S. Miller <davem@davemloft.net>
44792
44793 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44794 enum.
44795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44796 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44797 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44798
c55fbd1e
UD
447992011-08-09 Ulrich Drepper <drepper@gmail.com>
44800
44801 * Versions.def [libc]: Add GLIBC_2.15.
44802 * dirent/Makefile (routines): Add scandirat and scandirat64.
44803 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44804 GLIBC_2.15.
44805 * dirent/dirent.h: Declare scandirat and scandirat64.
44806 * dirent/scandirat.c: New file.
44807 * dirent/scandirat64.c: New file.
44808 * sysdeps/wordsize-64/scandirat.c: New file.
44809 * sysdeps/wordsize-64/scandirat64.c: New file.
44810 * dirent/opendir.c: Define opendirat.
44811 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44812 using scandirat.
44813 * dirent/scandir64.c: Adjust for scandir.c change.
44814 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44815 __scandirat64, and __scandir_cancel_handler.
44816 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44817 additional parameter and use openat instead of open (outside of ld.so).
44818 Add new __opendir as wrapper around __opendirat.
44819 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44820 here without requiring old scandirat implementation.
44821
879165f2
UD
448222011-08-08 Ulrich Drepper <drepper@gmail.com>
44823
44824 * dirent/scandir.c (cancel_handler): Renamed to
44825 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44826 defined. Adjust users.
44827 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44828 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44829
cb7e923b
UD
448302011-08-04 Ulrich Drepper <drepper@gmail.com>
44831
16292edd
UD
44832 * string/test-string.h (IMPL): Use __STRING to expand name and then
44833 stringify it.
44834
cb7e923b
UD
44835 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44836 of cleanups.
44837
cff82933
LD
448382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44839
44840 * string/Makefile: Update.
44841 (strop-tests): Append strncat.
44842 * string/test-wcscmp.c: New file.
44843 New comprehensive test for wcscmp.
44844 * string/test-strcmp.c: Update.
44845 (WIDE): New define.
44846
9be9bfcc
AS
448472011-07-22 Andreas Schwab <schwab@redhat.com>
44848
44849 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44850 line.
44851
2e96f1c7
AS
448522011-07-26 Andreas Schwab <schwab@redhat.com>
44853
44854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44855 encoding to ACE if AI_IDN.
44856
85188888
JJ
448572011-08-01 Jakub Jelinek <jakub@redhat.com>
44858
44859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44860 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44861
5fa16e9b
LD
448622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44863
44864 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44865 Fix overflow bug in strncat.
44866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44867
44868 * string/test-strncat.c: Update.
44869 Add new tests for checking overflow bugs.
44870
448712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44872
44873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44874 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44875 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44876 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44878 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44879 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44880 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44881 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44882
44883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44884 (USE_AS_STRCAT): Define.
44885 Add strcat and strncat support.
44886 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44887
8c1a459f
AS
448882011-07-25 Andreas Schwab <schwab@redhat.com>
44889
44890 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44891 __n bigger than INT_MAX+1.
44892 (__strncmp_g): Likewise.
44893
bba33c28
UD
448942011-07-23 Ulrich Drepper <drepper@gmail.com>
44895
798be72d
UD
44896 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44897 * libio/stido.h: Likewise.
44898
8accd4dc
UD
44899 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44900 (AF_NFC): Define.
44901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44902 (AF_NFC): Define.
44903
cbff0d96
UD
44904 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44905 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44907 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44909
9191c04a
UD
44910 [BZ #13021]
44911 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44912 installed.
44913
bba33c28
UD
44914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44915 typo.
44916 (_dl_x86_64_save_sse): Likewise.
44917
90f139dd
UD
449182011-07-22 Ulrich Drepper <drepper@gmail.com>
44919
1aae088a
UD
44920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44921 OSXSAVE.
44922 (_dl_x86_64_save_sse): Likewise.
44923
8e2045f5
UD
44924 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44925
90f139dd
UD
44926 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44927
1d002f25
AS
449282011-07-21 Andreas Schwab <schwab@redhat.com>
44929
44930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44931 change.
44932 (_dl_x86_64_save_sse): Use correct AVX check.
44933
21137f89
UD
449342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44935
44936 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44937 bug in strncpy/strncat.
44938 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44939
a65c0b7a
UD
449402011-07-21 Ulrich Drepper <drepper@gmail.com>
44941
44942 * string/tester.c (test_strcat): Add tests for different alignments
44943 of source and destination.
44944 (test_strncat): Likewise.
44945
6986b98a
UD
449462011-07-20 Ulrich Drepper <drepper@gmail.com>
44947
90bb2039
UD
44948 [BZ #12852]
44949 * posix/glob.c (glob): Check passed in values before using them in
44950 expressions to avoid some overflows.
44951 (glob_in_dir): Likewise.
44952
5644ef54
UD
44953 [BZ #13007]
44954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44955 check for AVX enablement so that we don't crash with old kernels and
44956 new hardware.
44957 * elf/tst-audit4.c: Add same checks here.
44958 * elf/tst-audit6.c: Likewise.
44959
44960 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44961
bfc9dc9b
AS
449622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44963
44964 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44965
702e64bb
UD
449662011-07-20 Ulrich Drepper <drepper@gmail.com>
44967
44968 * po/cs.po: Update from translation team.
44969 * po/bg.po: Likewise.
44970
295e904f
MP
449712011-07-12 Marek Polacek <mpolacek@redhat.com>
44972
44973 * misc/sys/cdefs.h: Add support for const attribute.
44974 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44975 to gnu_dev_{major,minor,makedev} functions.
44976
3ff94596
MP
449772011-07-20 Marek Polacek <mpolacek@redhat.com>
44978
44979 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44980
28b59fca
AS
449812011-07-20 Andreas Schwab <schwab@redhat.com>
44982
44983 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44984 strlen results.
44985
19df733e
AK
449862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44987
44988 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44989 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44990 register in order to avoid conflicts with the soft frame pointer
44991 being held in r11 when necessary.
44992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44993 (INTERNAL_VSYSCALL_NCS): Likewise.
44994
c8835729
MP
449952011-07-14 Marek Polacek <mpolacek@redhat.com>
44996
44997 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44998 * elf/dl-fini.c (_dl_fini): Adjust caller.
44999 * elf/dl-close.c (_dl_close_worker): Likewise.
45000 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45001
b902330c
MP
450022011-07-15 Marek Polacek <mpolacek@redhat.com>
45003
8991e135
MP
45004 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45005 "aux_cache->nlibs < 0".
45006
b902330c
MP
45007 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45008 in the reload-count case.
45009
99710781
LD
450102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45011
45012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45013 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45014 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45015 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45016 * sysdeps/x86_64/multiarch/strcat.S: New file.
45017 * sysdeps/x86_64/multiarch/strncat.S: New file.
45018 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45019 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45020 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45021 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45022 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45023 (USE_AS_STRCAT): Define.
45024 Add strcat and strncat support.
45025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45026 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45027 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45028 * string/strncat.c: Update.
45029 (USE_AS_STRNCAT): Define.
45030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45031 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45032 and i7.
45033 * sysdeps/x86_64/multiarch/init-arch.h
45034 (bit_Prefer_PMINUB_for_stringop): New.
45035 (index_Prefer_PMINUB_for_stringop): Likewise.
45036 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45037 bit_Prefer_PMINUB_for_stringop.
45038
7dc6bd90
UD
450392011-07-19 Ulrich Drepper <drepper@gmail.com>
45040
45041 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45042 buffer64.
45043 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45044 of casting of buffer.
45045 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45046 buffer32 and buffer64.
45047 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45048 writes instead of casting of buffer.
45049 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45050 buffer32.
45051 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45052 casting of buffer.
45053
e0e72284
AS
450542011-07-19 Andreas Schwab <schwab@redhat.com>
45055
45056 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45057
feb1eb0b
UD
450582011-07-19 Ulrich Drepper <drepper@gmail.com>
45059
45060 * nscd/nscd.c (termination_handler): Don't do anything for a database
45061 if it has not yet been initialized.
45062
298711ff
UD
450632011-07-18 Ulrich Drepper <drepper@gmail.com>
45064
45065 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45066
450672011-07-15 Marek Polacek <mpolacek@redhat.com>
45068
45069 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45070
f9d68389
UD
450712011-07-18 Ulrich Drepper <drepper@gmail.com>
45072
45073 * po/nl.po: Update from translation team.
45074 * po/sv.po: Likewise.
45075
db290cf5
RM
450762011-07-16 Roland McGrath <roland@hack.frob.com>
45077
45078 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45079 now disallowed by GCC.
5c550700 45080
fd5e21c7
RM
45081 * configure.in (use-default-link): Default to yes if a test -shared
45082 link meets our qualifications.
45083 * configure: Regenerated.
45084
5c550700
RM
45085 * config.make.in (output-format): New variable.
45086 * configure.in: Check for ld --print-output-format support.
45087 * configure: Regenerated.
45088 * Makerules ($(common-objpfx)format.lds)
45089 [$(output-format) != unknown]: Just use $(output-format),
45090 instead of the linker-script munging.
45091
9fa2c032
RM
450922011-07-14 Roland McGrath <roland@hack.frob.com>
45093
a6928d51
RM
45094 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45095 of $(common-objpfx)shlib.lds.
45096 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45097
661607b3
RM
45098 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45099 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45100
9fa2c032
RM
45101 * configure.in (-z relro check): Adjust test code to add a large
45102 writable data section after it.
45103 * configure: Regenerated.
45104
defe9061
RM
451052011-07-11 Roland McGrath <roland@hack.frob.com>
45106
45107 * configure.in (-z relro check): Fix test code to make the variable
45108 truly const.
45109 * configure: Regenerated.
45110
319b9ad4
UD
451112011-07-11 Ulrich Drepper <drepper@gmail.com>
45112
45113 * nscd/nscd.h (struct traced_file): Define.
45114 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45115 elements. Add traced_files.
45116 (inotify_fd): Declare.
45117 (register_traced_file): Declare.
45118 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45119 (inotify_fd): Export.
45120 (resolv_conf_descr): Remove.
45121 (nscd_init): Move inotify descriptor creation to main.
45122 Don't register files for notification here.
45123 (register_traced_file): New function.
45124 (invalidate_cache): Don't use reset_res to determine whether to call
45125 res_init, go through the list of registered files.
45126 (main_loop_poll): The inotify descriptors are now stored in the
45127 structures for the traced files.
45128 (main_loop_epoll): Likewise
45129 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45130 to __nss_disable_nscd.
45131 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45132 for a database anymore. Check the records for all the registered
45133 files instead.
45134 * nss/Makefile (libnss_files-routines): Add files-init.
45135 (libnss_db-routines): Add db-init.
45136 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45137 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45138 * nss/nss_db/db-init.c: New file.
45139 * nss/nss_files/files-init.c: New file.
45140 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45141 __nss_lookup_function.
45142 (__nss_lookup_function): Call nss_load_library.
45143 (nss_load_all_libraries): New function.
45144 (__nss_disable_nscd): Take parameter with callback function for files
45145 to register. Set is_nscd. Load all the DSOs for the NSS modules
45146 used for the cached services.
45147 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45149 options for features to all the files in nscd.
45150
45151 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45152
23bee3e8
RM
451532011-07-10 Roland McGrath <roland@hack.frob.com>
45154
45155 * csu/elf-init.c (__libc_csu_init): Comment typo.
45156
46a5b7f0
UD
451572011-07-09 Ulrich Drepper <drepper@gmail.com>
45158
45159 * po/pl.po: Update from translation team.
45160 * po/ja.po: Likewise.
45161 * po/ru.po: Likewise.
45162 * po/ko.po: Likewise.
45163 * po/fr.po: Likewise.
45164
d30cf5bb
RM
451652011-07-09 Roland McGrath <roland@hack.frob.com>
45166
113ddea4
RM
45167 * configure.in (.ctors/.dtors header and trailer check):
45168 Use an empirical test on a built program.
45169 * configure: Regenerated.
45170
574920b4
RM
45171 * configure.in (-z relro check): Use an empirical test on a built DSO.
45172 Detect, but do not require, on ia64.
45173 * configure: Regenerated.
45174
d30cf5bb
RM
45175 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45176 Update tests that use readelf to use $READELF instead.
45177 * configure: Regenerated.
45178
8538fdb3
UD
451792011-07-08 Ulrich Drepper <drepper@gmail.com>
45180
45181 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45182 if the result is not used.
45183
04d08991
AJ
451842011-07-05 Andreas Jaeger <aj@suse.de>
45185
45186 [BZ#9696]
45187 * stdlib/tst-strtod.c: Add testcase.
45188
de283087
AD
451892011-07-07 Ulrich Drepper <drepper@gmail.com>
45190
4e5f31c8 45191 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45192 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45193 The latter has a higher limit. Take additional parameter to pass to
45194 the new function.
45195 (__pathconf): Pass file to __statfs_link_max.
45196 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45197 __statfs_link_max.
45198 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45199 __statfs_link_max.
45200
de283087
AD
45201 [BZ #12868]
45202 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45204 Handle Lustre.
45205 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45206 (__statfs_filesize_max): Likewise.
45207 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45208
c75fa153
AJ
452092011-07-05 Andreas Jaeger <aj@suse.de>
45210
45211 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45212
1a544854
UD
452132011-07-06 Marek Polacek <mpolacek@redhat.com>
45214
45215 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45216 `status' variable.
45217 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45218 Likewise.
45219
6f0eec67
UD
452202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45221
45222 * Makefile (strop-tests): Add strncat.
45223 * string/test-strncat.c: New file.
45224
aae30307
UD
452252011-06-30 Marek Polacek <mpolacek@redhat.com>
45226
45227 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45228
c0cfb5eb
UD
452292011-06-21 Andreas Jaeger <aj@suse.de>
45230
45231 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45232 Copy rule from iconvdata/Makefile.
45233
01636b21
UD
452342011-07-06 Ulrich Drepper <drepper@gmail.com>
45235
45236 [BZ #12922]
45237 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45238 but no long options are defined, just return 'W'.
45239
9895c8bc
UD
452402011-06-22 Marek Polacek <mpolacek@redhat.com>
45241
45242 [BZ #9696]
45243 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45244
5d4cf042
UD
452452011-07-06 Ulrich Drepper <drepper@gmail.com>
45246
45247 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45248 netgroups to read.
960e5535 45249 (innetgr): Likewise.
5d4cf042 45250
751eb97e
RM
452512011-07-05 Roland McGrath <roland@hack.frob.com>
45252
45253 * config.make.in (install_root): Default to $(DESTDIR).
45254
f15f1e45
UD
452552011-07-05 Ulrich Drepper <drepper@gmail.com>
45256
45257 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45258
4e34ac6a
RM
452592011-07-02 Roland McGrath <roland@hack.frob.com>
45260
5e9b6af4
RM
45261 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45262
84f9ea0f
RM
45263 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45264 containing directory rather than embedding absolute directory names.
45265
ea5ee9f7
RM
45266 * scripts/check-local-headers.sh: Rewritten using awk.
45267 Match by word, not by line. Print error messages for matches.
45268 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45269
1b74661a
RM
45270 * Makerules [shlib-lds-flags empty]:
45271 ($(common-objpfx)libc_pic.opts): New target.
45272 ($(common-objpfx)libc_pic.os.clean): New target.
45273 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45274
45275 * config.make.in (OBJCOPY): New variable.
45276 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45277 * configure: Regenerated.
45278
f781ef40
RM
45279 * config.make.in (use-default-link): New variable.
45280 * configure.in (use_default_link): Grok --with-default-link to set it.
45281 * configure: Regenerated.
45282 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45283 (shlib-lds, shlib-lds-flags): Define to empty.
45284
2d4fa81e
RM
45285 * Makerules (shlib-lds): New variable.
45286 (shlib-lds-flags): New variable.
45287 (build-shlib, build-moduile, build-module-asneeded): Use it.
45288 ($(common-objpfx)libc.so): Use $(shlib-lds).
45289 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45290 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45291
31fffa6b
RM
45292 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45293 DT_FLAGS/DT_FLAGS_1 with zero flags.
45294
4e34ac6a
RM
45295 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45296 linker script munging.
45297
fcfc776b
UD
452982011-07-02 Ulrich Drepper <drepper@gmail.com>
45299
45300 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45301 as 128-bit value.
45302 * crypt/sha512.c (sha512_process_block): Perform total addition using
45303 128-bit if possible.
45304 (__sha512_finish_ctx): Likewise.
45305 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45306 as 64-bit value.
45307 * crypt/sha256.c (SWAP64): Define.
45308 (sha256_process_block): Perform total addition using 64-bit if
45309 possible.
45310 (__sha256_finish_ctx): Likewise.
45311
99231d9a
UD
453122011-07-01 Ulrich Drepper <drepper@gmail.com>
45313
45314 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45315 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45316 * nscd/hstcache.c (cache_addhst): Likewise.
45317 * nscd/grpcache.c (cache_addgr): Likewise.
45318 * nscd/aicache.c (addhstaiX): Likewise
45319 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45320
445b4a53
TK
453212011-07-01 Thorsten Kukuk <kukuk@suse.de>
45322
45323 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45325 * nscd/hstcache.c (cache_addhst): Likewise.
45326 * nscd/grpcache.c (cache_addgr): Likewise.
45327 * nscd/aicache.c (addhstaiX): Likewise
45328
6d4d8e8e
AS
453292011-07-01 Andreas Schwab <schwab@redhat.com>
45330
45331 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45332 domain only when needed.
45333
89f654c5
AS
453342011-06-30 Andreas Schwab <schwab@redhat.com>
45335
45336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45337 is always restored.
45338
cf3b23ff
UD
453392011-06-29 Ulrich Drepper <drepper@gmail.com>
45340
45341 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45342 are re-adding the entry.
45343 * nscd/servicescache.c (cache_addserv): Likewise.
45344
751626f9
AJ
453452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45346
45347 * sysdeps/generic/dl-irel.h: fix protection against multiple
45348 inclusions.
45349 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45350
9113ea1f
UD
453512011-06-28 Ulrich Drepper <drepper@gmail.com>
45352
5c0b8d90
UD
45353 [BZ #12935]
45354 * malloc/memusage.sh: Fix quoting in message.
45355 * debug/xtrace.sh: Likewise.
45356
9113ea1f
UD
45357 * configure.in: Remove support for --experimental-malloc option, make
45358 it the default.
45359 * config.make.in: Likewise.
45360 * malloc/Makefile: Likewise.
45361
a4172181
AS
453622011-06-27 Andreas Schwab <schwab@redhat.com>
45363
45364 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45365 two-byte characters.
45366
78a7eee7
RM
453672011-06-27 Roland McGrath <roland@hack.frob.com>
45368
62bede13
RM
45369 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45370 AC_CACHE_CHECK invocation.
45371 * configure: Regenerated.
45372
78a7eee7
RM
45373 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45374
5ce33a62
UD
453752011-06-27 Ulrich Drepper <drepper@gmail.com>
45376
034807a9
UD
45377 [BZ #12350]
45378 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45379 bit from old_res_options.
45380
4902da17
UD
45381 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45382
5ce33a62
UD
45383 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45384 value type for setfct.
45385
c2344f56
L
453862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45387
45388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45389 __gettimeofday instead of gettimeofday.
45390
68468076
UD
453912011-06-26 Ulrich Drepper <drepper@gmail.com>
45392
45393 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45394
acb0d739
L
453952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45396
45397 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45398
45399 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45400 info.
45401
8912479f
L
454022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45403
45404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45405 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45406 strcpy-sse2-unaligned strncpy-sse2-unaligned
45407 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45408 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45409 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45410 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45411 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45412 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45414 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45415 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45416 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45417 (STRCPY): Support SSE2 and SSSE3 versions.
45418
d5495a11
UD
454192011-06-24 Ulrich Drepper <drepper@gmail.com>
45420
45421 [BZ #12874]
45422 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45423 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45424 kernels which artificially limit size of requests.
45425
0b1cbaae
L
454262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45427
45428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45429 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45430 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45431 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45432 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45433 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45434 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45435 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45436 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45438 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45439 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45440 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45441 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45442 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45444 Enable unaligned load optimization for Intel Core i3, i5 and i7
45445 processors.
45446 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45447 Define.
45448 (index_Fast_Unaligned_Load): Define.
45449 (HAS_FAST_UNALIGNED_LOAD): Define.
45450
07f494a0
MP
454512011-06-23 Marek Polacek <mpolacek@redhat.com>
45452
45453 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45454
fa3fc0fe
UD
454552011-06-22 Ulrich Drepper <drepper@gmail.com>
45456
45457 [BZ #12907]
45458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45459 until it is clear that the information is realy needed.
45460 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45461
e12df166
AS
454622011-06-22 Andreas Schwab <schwab@redhat.com>
45463
45464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45465
852eb34d
UD
454662011-06-22 Ulrich Drepper <drepper@gmail.com>
45467
84e2a551
UD
45468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45469 /sys/devices/system/cpu/online if it is usable.
45470
852eb34d
UD
45471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45472 reading the information from the /proc filesystem to once a second.
45473
6e502e19
UD
454742011-06-21 Andreas Jaeger <aj@suse.de>
45475
45476 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45477 NULL after inclusion of kernel headers.
45478
75d39ff2
UD
454792011-06-21 Ulrich Drepper <drepper@gmail.com>
45480
51f9aa6a
UD
45481 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45482 calls to internal_setent.
45483
c0244a9d
UD
45484 [BZ #12885]
45485 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45486 addresses using gethostbyname4_r ignore IPv4 addresses.
45487
c5e3c2ae
UD
45488 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45489 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45490
75d39ff2
UD
45491 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45492
42675c6f
DM
454932011-06-20 David S. Miller <davem@davemloft.net>
45494
45495 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45496 inclusions.
45497 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45498
45499 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45500 (elf_irel): Use it.
45501 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45502 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45503 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45504 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45505 * sysdeps/x86_64/dl-irel.h: Likewise.
45506
45507 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45508 * elf/dl-sym.c: Likewise.
45509
57912a71
UD
455102011-06-15 Ulrich Drepper <drepper@gmail.com>
45511
45512 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45513 need to dereference resplen2.
45514
ee22793d
AS
455152011-06-14 Andreas Schwab <schwab@redhat.com>
45516
45517 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45518
a9e836b0
UD
455192011-06-15 Ulrich Drepper <drepper@gmail.com>
45520
77fb9117
UD
45521 * Makeconfig: Define vardbdir and inst_vardbdir.
45522 * nss/Makefile: Add rules to install db-Makefile.
45523
40c1b22c
UD
45524 * nss/nss_db/db-XXX.c: Cleanup.
45525
9f2da732
UD
45526 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45527 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45528 GLIBC_PRIVATE.
45529 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45530 * nss/makedb.c: Implement -g option to specify that value strings
45531 are generated and should not be added to table iterated over for
45532 get*ent calls.
45533 * nss/nss_db/db-initgroups.c: New file.
45534
82e9a1f7
UD
45535 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45536 interface.
45537
c41af17e
UD
45538 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45539 (internal_getgrouplist): Adjust to name change.
45540 Update use_initgroups_entry if this is not the first call.
45541 * nss/databases.def: Add initgroups entry.
45542
a9e836b0
UD
45543 * nss/makedb.c (compute_tables): Check result of multiple hash table
45544 sizes to minimize maximum chain length.
45545
2666d441
UD
455462011-06-14 Ulrich Drepper <drepper@gmail.com>
45547
45548 * Versions.def: Add entry for libnss_db.
45549 * shlib-versions: Likewise.
45550 * nss/Makefile: Add rules to build libnss_db.
45551 * nss/Versions: Add libnss_db information. Organize libnss_files
45552 entries better.
45553 * nss/db-Makefile: Add gshadow support. Change rules for the new
45554 makedb progra. Some minor improvements to generate smaller files.
45555 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45556 here from...
45557 * nss/makedb.c: ...here.
45558 Improve database format to be smaller and require less memory at
45559 runtime.
45560 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45561 db anymore.
45562 * nss/nss_db/db-netgrp.c: Likewise.
45563 * nss/nss_db/db-open.c: Likewise.
45564 * nss/nss_files/flies-XXX.x: Adjust comments.
45565 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45566 * nss/nss_files/files-grp.c: Likewise.
45567 * nss/nss_files/files-hosts.c: Likewise.
45568 * nss/nss_files/files-network.c: Likewise.
45569 * nss/nss_files/files-proto.c: Likewise.
45570 * nss/nss_files/files-pwd.c: Likewise.
45571 * nss/nss_files/files-rpc.c: Likewise.
45572 * nss/nss_files/files-service.c: Likewise.
45573 * nss/nss_files/files-sgrp.c: Likewise.
45574 * nss/nss_files/files-spwd.c: Likewise.
45575 * nss/nss_db/db-alias.c: Removed.
45576 * nss/nss_db/dummy-db.h: Removed.
45577
9ee76b5a
UD
455782011-06-02 Ulrich Drepper <drepper@gmail.com>
45579
45580 * nss/makedb.c: Rewritten to not use database library.
45581 * nss/Makefile: Update to build new makedb program.
45582
c71ca1f8
AJ
455832011-06-14 Andreas Jaeger <aj@suse.de>
45584
45585 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45586 memset declaration.
45587
3154bfb8
UD
455882011-06-10 Andreas Schwab <schwab@redhat.com>
45589
45590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45591 tmpbuf.
45592
b350afab
RM
455932011-06-10 Roland McGrath <roland@hack.frob.com>
45594
decd4e50
RM
45595 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45596 * elf/Makefile ($(objpfx)ld.so): Likewise.
45597
5615eaf2
RM
45598 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45599 Don't list ld.so twice in dependencies.
45600
45601 * posix/bug-regex31.c: Include <stdlib.h>.
45602
45603 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45604
45605 * nis/nss_compat/compat-spwd.c
45606 (getspent_next_nss_netgr): Remove unused variable.
45607 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45608
45609 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45610 nonmembers" output to use the right array.
45611
45612 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45613
45614 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45615
45616 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45617 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45618 * catgets/gencat.c (read_input_file): Likewise.
45619 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45620
45621 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45622 variable definition inside #if's controlling its use.
45623
45624 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45625
45626 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45627
45628 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45629
45630 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45631 unreachable code.
45632
45633 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45634
b68e08db
RM
45635 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45636 * configure: Regenerated.
45637
b350afab
RM
45638 * Makerules: Revert last change.
45639 * elf/Makefile: Likewise.
45640
28368601
RM
456412011-06-09 Roland McGrath <roland@hack.frob.com>
45642
45643 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45644 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45645 (reloc-link): Likewise.
45646
11988f8f
UD
456472011-06-09 Ulrich Drepper <drepper@gmail.com>
45648
45649 * elf/Makefile: Add rules to build pldd.
45650 * elf/pldd.c: New file.
45651 * elf/pldd-xx.c: New file.
45652
e80fab37
UD
456532011-06-07 Ulrich Drepper <drepper@gmail.com>
45654
45655 * version.h: Update for 2.15 development version.
45656
9b849836
DM
456572011-06-07 David S. Miller <davem@davemloft.net>
45658
45659 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45660 ifuncs.
45661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45662 elf_machine_lazy_rel): Likewise.
45663 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45665 elf_machine_lazy_rel): Likewise.
45666 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45667 dl_hwcap via passed in argument.
45668 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45669 Likewise.
45670
5a31b283
AK
456712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45672
45673 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45674
069e52f8
RM
456752011-06-06 Roland McGrath <roland@hack.frob.com>
45676
45677 [BZ #12849]
45678 * manual/fdl-1.1.texi: New file, verbatim from:
45679 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45680 * manual/lgpl-2.1.texi: New file, verbatim from:
45681 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45682 * manual/Makefile (licenses): New variable, list those new file names.
45683 (texis): Use it.
45684 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45685
45686 * manual/fdl.texi: File removed.
45687 * manual/lesser.texi: File removed.
45688 * manual/libc.texinfo (Copying, Documentation License):
45689 Use new @include file names, put @appendix directive before @include.
45690
f16846a5
JJ
456912011-06-04 Jakub Jelinek <jakub@redhat.com>
45692
45693 [BZ #12841]
45694 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45695 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45696 (mq_open): Add __NTH.
45697
3d29045b
L
456982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45699
45700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45701 Assume Intel Core i3/i5/i7 processor if AVX is available.
45702
8c297311
UD
457032011-05-31 Ulrich Drepper <drepper@gmail.com>
45704
45705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45706 typo.
45707
c8fc0c91
UD
457082011-05-31 Andreas Schwab <schwab@redhat.com>
45709
45710 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45711 memory. Use alloca_account. Fix memory leak when retrying.
45712
5b27a807
UD
457132011-05-31 Ulrich Drepper <drepper@gmail.com>
45714
356f8bc6
UD
45715 * version.h (RELEASE): Bump for 2.14 release.
45716 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45717
5b27a807
UD
45718 * config.make.in (RANLIB): Remove entry.
45719
01f16ab0
UD
457202011-05-30 Ulrich Drepper <drepper@gmail.com>
45721
41fce8bd
UD
45722 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45723 (libc.pot): Work around missing support for .ksh extension in xgettext.
45724
4769ae77
UD
45725 [BZ #12684]
45726 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45727 if both request failed.
45728 (send_dg): In case of server errors clear resplen or *resplen2.
45729
6b1e7d19
UD
45730 [BZ #12454]
45731 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45732 when there are multiple maps.
45733 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45734 (_dl_fini): Remove test here.
45735
01f16ab0
UD
45736 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45737
b1ebd700
UD
457382011-05-29 Ulrich Drepper <drepper@gmail.com>
45739
7ae22829
UD
45740 [BZ #12350]
45741 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45742 bit from old_res_options.
45743 (gaih_inet): Likewise.
45744
553149f6 45745 [BZ #11099]
18a84741 45746 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45747 as signed.
45748
652ffab1
UD
45749 * resolv/res_init.c (res_setoptions): Make the code more compact.
45750
16985fd0
UD
45751 [BZ #11558]
45752 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45753 set RES_USEVC.
45754
0464f746
UD
45755 [BZ #11634]
45756 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45757
7d17596c
UD
45758 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45759
cf6bbbd7
UD
45760 [BZ #11781]
45761 * malloc/malloc.h: Declare malloc hook variables as volatile.
45762
13f1ab36
UD
45763 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45764 in last patch.
45765
b1ebd700
UD
45766 [BZ #11799]
45767 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45768 raise in the comment.
80e2212d
UD
45769 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45771 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45772
ce67228d
UD
457732011-05-28 Ulrich Drepper <drepper@gmail.com>
45774
8887a920
UD
45775 [BZ #12811]
45776 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45777 grow the buffers more if it already has to be sufficient.
45778 (build_wcs_upper_buffer): Likewise.
45779 * posix/regexec.c (check_matching): Likewise.
45780 (clean_state_log_if_needed): Likewise.
45781 (extend_buffers): Don't enlarge buffers beyond size of the input
45782 buffer.
45783 Patches mostly by Emil Wojak <emil@wojak.eu>.
45784 * posix/bug-regex32.c: New file.
45785 * posix/Makefile (tests): Add bug-regex32.
45786
4f031072
UD
45787 * locale/findlocale.c (_nl_find_locale): Return right away if
45788 _nl_explode_name failed.
45789 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45790
d0478f0c
UD
45791 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45792
de81b246
UD
45793 * debug/xtrace.sh: Unify messages.
45794 * malloc/memusage.sh: Likewise.
45795
c738465a
UD
45796 [BZ #12813]
45797 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45798 time symbol from vDSO. Substitute with vsyscall if not available.
45799 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45800 __vdso_time.
45801
f1f929d7
UD
45802 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45803 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45804 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45805 Add sendmmsg and internal_sendmmsg.
45806 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45807 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45809
ce67228d
UD
45810 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45811 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45812 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45813
e57420c6
UD
458142011-05-27 Ulrich Drepper <drepper@gmail.com>
45815
a8509ca5
UD
45816 [BZ #12813]
45817 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45818 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45819 available.
45820 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45821 __vdso_getcpu.
45822
e57420c6
UD
45823 [BZ #12814]
45824 * iconvdata/Makefile (tests): Add bug-iconv9.
45825 * iconvdata/bug-iconv9.c: New file.
45826
4d07db15
AS
458272011-05-27 Andreas Schwab <schwab@redhat.com>
45828
45829 [BZ #12814]
45830 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45831
ea486f69
JJ
458322011-05-25 Jakub Jelinek <jakub@redhat.com>
45833
45834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45835 (struct user_regs_struct): Change intcs field back to cs.
45836
6f038433
UD
458372011-05-25 Ulrich Drepper <drepper@gmail.com>
45838
45839 * po/ja.po: Update from translation team.
45840
67f86a25
UD
458412011-05-23 Ulrich Drepper <drepper@gmail.com>
45842
45843 [BZ #12795]
45844 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45845 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45846
def7fbd6
AS
458472011-05-20 Andreas Schwab <schwab@redhat.com>
45848
45849 * stdlib/longlong.h: Update from GCC.
45850
f50ef8f1
AS
458512011-05-23 Andreas Schwab <schwab@redhat.com>
45852
45853 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45854 parameter name.
45855 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45856 Add parameter name.
45857 (__sysconf): Pass it down.
45858
de7ce8f1
UD
458592011-05-22 Ulrich Drepper <drepper@gmail.com>
45860
f2962a71
UD
45861 [BZ #12671]
45862 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45863 some situations.
45864 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45865 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45866 add in in __libc_use_alloca calls. Adjust callers.
45867 (glob): Use malloc in some situations.
45868
de7ce8f1
UD
45869 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45870 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45871 pltexit.
45872
aec84f53
UD
458732011-05-21 Ulrich Drepper <drepper@gmail.com>
45874
05bb4a68
UD
45875 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45876 and CLOCK_BOOTTIME_ALARM.
45877
7ea72f99
UD
45878 [BZ #12782]
45879 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45880 is returned.
45881
7e4afad5
UD
45882 * string/_strerror.c (__strerror_r): Print negative errors as signed
45883 numbers.
45884
8e211fec
UD
45885 [BZ #12777]
45886 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45887 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45888 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45889
f7d82dc9
UD
45890 * configure.in: Fix typo in redirection and correct removal of test
45891 files in two cases.
45892
cc9e536d
UD
45893 [BZ #12788]
45894 * locale/setlocale.c (new_composite_name): Fix test to check for
45895 identical name of all categories.
45896
aec84f53
UD
45897 [BZ #12792]
45898 * libio/filedoalloc.c (local_isatty): New function.
45899 (_IO_file_doallocate): Use local_isatty.
45900 * stdio-common/perror.c (perror): In case a new stream is used
45901 forward the stream error.
45902 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45903 error flag.
45904
78e64fdc
RT
459052011-05-20 Ulrich Drepper <drepper@gmail.com>
45906
34a9094f
UD
45907 [BZ #11869]
45908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45909 alloca.
45910 * include/alloca.h (extend_alloca_account): Define.
45911
78e64fdc
RT
45912 [BZ #11857]
45913 * posix/regex.h: Fix comments with documentation of user-accessible
45914 fields after compilation and describe correct free'ing of pattern
45915 after re_compile_pattern.
45916 Patch by Reuben Thomas <rrt@sc3d.org>.
45917
457bddfc
RA
459182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45919
45920 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45921 and -mno-altivec to prevent the compiler from using Altivec and/or
45922 VSX instructions when the corresponding registers are not available.
45923
a4527b51
AS
459242011-05-19 Andreas Schwab <schwab@redhat.com>
45925
45926 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45927
ed690b2f
UD
459282011-05-19 Ulrich Drepper <drepper@gmail.com>
45929
45930 * libio/freopen.c (freopen): Use __dup2, not dup2.
45931 * libio/freopen64.c (freopen64): Likewise.
45932
8db73634
L
459332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45934
45935 [BZ #12775]
45936 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45937 * math/Makefile (tests): Add test-powl.
45938 (CFLAGS-test-powl.c): Define.
45939 * math/test-powl.c: New file.
45940
0a197a9d
L
459412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45942
45943 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45944
ee30c380
UD
459452011-05-17 Ulrich Drepper <drepper@gmail.com>
45946
45947 [BZ #11837]
45948 * iconvdata/gb18030.c: Update to GB18020-2005.
45949
6ce75379
UD
459502011-05-16 Ulrich Drepper <drepper@gmail.com>
45951
a4b89fd8
AR
45952 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45953 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45954 Patch by Aharon Robbins <arnold@skeeve.com>.
45955
ea389b12
UD
45956 [BZ #11892]
45957 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45958 on the stack.
45959
68a3f91f
UD
45960 [BZ #11895]
45961 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45962 through underflows.
45963
15cc7dd1
UD
45964 [BZ #12766]
45965 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45966 point to strings before performing equality test for error_one_per_line
45967 mode.
45968
f3799213
UD
45969 [BZ #11697]
45970 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45971
d79a9c94
UD
45972 [BZ #11820]
45973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45974 (struct user_fpregs_struct): Avoid __uint*_t types.
45975
56e5eb46
UD
45976 [BZ #6420]
45977 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45978 symbol info. Use it instead of calling _dl_addr locally.
45979 (lock_and_info): New function.
45980 (tr_freehook): Call lock_and_info and pass symbol info as additional
45981 parameter to tr_where.
45982 (tr_mallochook): Likewise.
45983 (tr_reallochook): Likewise.
45984 (tr_memalignhook): Likewise.
45985
6ce75379
UD
45986 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45987 used and couldn't be at all thread-safe.
45988
f8a3b5bf
UD
459892011-05-15 Ulrich Drepper <drepper@gmail.com>
45990
94b7cc37
UD
45991 * libio/freopen.c (freopen): Don't close old file descriptor
45992 before the new one is opened. Instead dup the new file descriptor
45993 to the old one after the new stream is created.
45994 * libio/freopen64.c (freopen64): Likewise.
45995 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45996 * libio/fileops.c (_IO_new_file_close_it): Handle new
45997 _IO_FLAGS2_NOCLOSE flag.
45998 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45999 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46000 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46001 _IO_FLAGS2_NOCLOSE flag.
46002 * include/unistd.h: Add hidden_proto for dup3.
46003 Define __have_dup3.
46004 * io/dup3.c: Define hidden symbol.
46005 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46006
bd25564e
UD
46007 [BZ #7101]
46008 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46009 when an incomplete long option is used.
46010 * posix/tst-getopt_long1.c: New file.
46011 * posix/Makefile (tests): Add tst-getopt_long1.
46012
c84cfef4
UD
46013 [BZ #10138]
46014 * scripts/config.guess: Update from autoconf-2.68.
46015 * scripts/config.sub: Likewise.
46016
3b85df27
UD
46017 [BZ #10157]
46018 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46019 tests into ...
46020 (has_cpuclock): ...this. New function.
46021 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46022 macro here based on has_cpuclock code.
46023
15a856b1
UD
46024 [BZ #10149]
46025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46026 First byte (not low byte) is now always NUL.
46027 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46028
05f399e6
UD
46029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46030 Use non-cancelable interfaces.
46031
10a52685 46032 [BZ #9809]
94ecc67d
UD
46033 * locale/iso-639.def: Add entry for Sorani.
46034
f8a3b5bf
UD
46035 [BZ #11901]
46036 * include/stdlib.h: Move include protection to the right place.
46037 Define abort_msg_s. Declare __abort_msg with it.
46038 * stdlib/abort.c (__abort_msg): Adjust type.
46039 * assert/assert.c (__assert_fail_base): New function. Majority
46040 of code from __assert_fail. Allocate memory for __abort_msg with
46041 mmap.
46042 (__assert_fail): Now call __assert_fail_base.
46043 * assert/assert-perr.c: Remove bulk of implementation. Use
46044 __assert_fail_base.
46045 * include/assert.hL Declare __assert_fail_base.
46046 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46047 mmap.
46048 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46049
1af4e298
UD
460502011-05-14 Ulrich Drepper <drepper@gmail.com>
46051
f8a3b5bf 46052 [BZ #11952]
d26dfc60
MG
46053 [BZ #12453]
46054 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46055 until all modules are registered in the DTV.
46056 * elf/Makefile: Add rules to build and run tst-tls19.
46057 * elf/tst-tls19.c: New file.
46058 * elf/tst-tls19mod1.c: New file.
46059 * elf/tst-tls19mod2.c: New file.
46060 * elf/tst-tls19mod3.c: New file.
46061 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46062
2fc54d6f
UD
46063 [BZ #12083]
46064 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46065 correctly.
46066
98d76b46
UD
46067 [BZ #12601]
46068 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46069 two-byte sequence errors.
46070 * iconvdata/Makefile (tests): Add bug-iconv8.
46071 * iconvdata/bug-iconv8.c: New file.
46072
da3c19ef
UD
46073 [BZ #12626]
46074 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46075 buf2 definition.
46076
ca408c15
UD
46077 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46078
d6f67f7d
UD
46079 [BZ #12432]
46080 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46081 (dummy_getcfa): New function.
46082 (init): Get _Unwind_GetCFA address, use dummy if not found.
46083 (backtrace_helper): In recursion check, also check whether CFA changes.
46084 (__backtrace): Completely initialize arg.
46085
1af4e298 46086 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46087 storing incomplete byte sequence in state object. Avoid testing for
46088 guaranteed too small input if we know there is enough data available.
1af4e298 46089
da62f81b
AS
460902011-05-11 Andreas Schwab <schwab@redhat.com>
46091
46092 * Makeconfig (+link-pie): Indent.
46093 * Rules (binaries-pie): Define if $(have-fpie) and
46094 $(build-shared).
46095 (binaries-shared): Also filter out $(binaries-pie).
46096 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46097 * nscd/Makefile (others-pie): Add nscd.
46098 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46099 ($(objpfx)nscd): Remove command override.
46100 * login/Makefile (others-pie): Add pt_chown.
46101 ($(objpfx)pt_chown): Remove command override.
46102 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46103 remove command overrides.
46104
fcabc0f8
UD
461052011-05-13 Ulrich Drepper <drepper@gmail.com>
46106
20030ae6
UD
46107 * libio/tst_putwc.c: Fix error messages.
46108
fcabc0f8
UD
46109 [BZ #12724]
46110 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46111 currently writing and seek to current position when not.
46112 * libio/Makefile (tests): Add bug-fclose1.
46113 * libio/bug-fclose1.c: New file.
46114
320a5dc0
PB
461152011-05-12 Ulrich Drepper <drepper@gmail.com>
46116
46117 [BZ #12511]
46118 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46119 don't set DF_1_NODELETE here.
46120 (do_lookup_x): When entering new entry test for copy relocation
46121 and if necessary set DF_1_NODELETE flag.
46122 * elf/tst-unique4.cc: New file.
46123 * elf/tst-unique4.h: New file.
46124 * elf/tst-unique4lib.cc: New file.
46125 * elf/Makefile: Add rules to build and run tst-unique4.
46126 Patch by Piotr Bury <pbury@goahead.com>.
46127
22836f52
UD
461282011-05-11 Ulrich Drepper <drepper@gmail.com>
46129
f574184a
UD
46130 [BZ #12052]
46131 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46132
e1fb097f
UD
46133 [BZ #12625]
46134 * misc/mntent_r.c (addmntent): Flush the stream after the output
46135
22836f52
UD
46136 [BZ #12393]
46137 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46138 (is_trusted_path_normalize): Skip initial colon. Append slash
46139 to empty buffer. Duplicate is_trusted_path code but allow
46140 constructed patch to be prefix.
46141 (is_dst): Allow $ORIGIN followed by /.
46142 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46143 Correct testing of result of is_trusted_path_normalize
46144 (decompose_rpath): Fix warning.
46145
7b3b0b2a
UD
461462011-05-10 Ulrich Drepper <drepper@gmail.com>
46147
46148 [BZ #11257]
46149 * grp/initgroups.c (internal_getgrouplist): When we found the service
46150 list through the initgroups entry in nsswitch.conf do not always
46151 continue on a successful lookup. Don't always use the
eac80ce2 46152 __nss_group_database value if it is set.
7b3b0b2a
UD
46153 * nss/nsswitch.conf (initgroups): Change action for successful db
46154 lookup to continue for compatibility.
46155
2a81eaa5
UD
461562011-05-09 Ulrich Drepper <drepper@gmail.com>
46157
be97a69e
UD
46158 [BZ #11532]
46159 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46160 and CP774 modules.
46161 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46162 and CP774 modules.
46163 * iconvdata/tst-tables.sh: Likewise.
46164 * iconvdata/cp770.c: New file.
46165 * iconvdata/cp771.c: New file.
46166 * iconvdata/cp772.c: New file.
46167 * iconvdata/cp773.c: New file.
46168 * iconvdata/cp774.c: New file.
46169 * iconvdata/testdata/CP770: New file.
46170 * iconvdata/testdata/CP770..UTF8: New file.
46171 * iconvdata/testdata/CP771: New file.
46172 * iconvdata/testdata/CP771..UTF8: New file.
46173 * iconvdata/testdata/CP772: New file.
46174 * iconvdata/testdata/CP772..UTF8: New file.
46175 * iconvdata/testdata/CP773: New file.
46176 * iconvdata/testdata/CP773..UTF8: New file.
46177 * iconvdata/testdata/CP774: New file.
46178 * iconvdata/testdata/CP774..UTF8: New file.
46179
46180 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46181 END CHARMAP line.
46182 * iconvdata/gen-8bit-gap.sh: Likewise.
46183 * iconvdata/gen-8bit.sh: Likewise.
46184
c1e9e399
UD
46185 * locale/iso-639.def: Add ary entry.
46186
24c55fb3 46187 [BZ #11258]
96b4b1b0
UD
46188 * locale/C-translit.h.in: Add U20A1 transliteration.
46189
bdc2f971
KB
46190 [BZ #12178]
46191 * locale/iso-639.def: Add wae entry.
46192 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46193
2952b117
UD
46194 [BZ #12545]
46195 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46196 for n.
46197
2a81eaa5
UD
46198 [BZ #12711]
46199 * locale/C-translit.h.in: Add entry for U20B9.
46200 Patch by pravin.d.s@gmail.com.
46201
28377d1b
UD
462022011-05-08 Ulrich Drepper <drepper@gmail.com>
46203
7fb90fb8
UD
46204 [BZ #12713]
46205 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46206 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46207 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46208 in rtld. Use *stat64.
7fb90fb8 46209 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46210 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46211 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46212 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46213 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46214 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46215 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46216 __fstatat64 macros.
7fb90fb8
UD
46217 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46218 * dirent/rewinddir.c: Add libc_hidden_def.
46219 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46220 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46221
28377d1b
UD
46222 * include/dirent.h (__alloc_dir): Add flags parameter.
46223 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46224 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46225 __alloc_dir.
46226 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46227 from fdopendir if O_CLOEXEC is already set.
46228
66bdbaa4
AM
462292011-03-15 Alan Modra <amodra@gmail.com>
46230
46231 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46232 l_tls_firstbyte_offset non-zero. Save padding offset in
46233 l_tls_firstbyte_offset for later use.
46234 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46235 freeing static tls block.
46236
95721191
JN
462372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46238
46239 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46240 where #ifdef was intended. The intent is to prevent ARG_MAX from
46241 being defined by the kernel headers.
46242
f87dfb1f
UD
462432011-05-07 Ulrich Drepper <drepper@gmail.com>
46244
46245 [BZ #12734]
46246 * resolv/resolv.h: Define RES_NOTLDQUERY.
46247 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46248 no-tld-query and set RES_NOTLDQUERY.
46249 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46250 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46251 modern BIND to search name as TLD unless forbidden.
46252
47c3cd7a
UD
462532011-05-07 Petr Baudis <pasky@suse.cz>
46254 Ulrich Drepper <drepper@gmail.com>
46255
46256 [BZ #12393]
46257 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46258 (is_trusted_path): ...to here.
c1e9ea35 46259 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46260 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46261 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46262
8a35c912
PP
462632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46264
46265 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46266 __BEGIN/__END_DECLS.
46267
acd41f47
UD
462682011-05-06 Ulrich Drepper <drepper@gmail.com>
46269
46270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46271 NSS_STATUS_NOTFOUND if no record was found.
46272
597df647
AS
462732011-05-05 Andreas Schwab <schwab@redhat.com>
46274
46275 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46276 (headers-not-in-tirpc): Remove rpc/netdb.h
46277 * resolv/netdb.h: Revert last change.
46278
b9af1301
PP
462792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46280
46281 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46282 circular dependency between libgcc.a and libc.a.
46283
4e34d5f5
AS
462842011-05-05 Andreas Schwab <schwab@redhat.com>
46285
46286 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46287 * nis/Makefile: Don't install rpcsvc/*.
46288 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46289 instead of <rpc/types.h>.
46290 (MAXHOSTNAMELEN): Define.
46291
00ee369c
AS
462922011-05-03 Andreas Schwab <schwab@redhat.com>
46293
46294 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46295
0b592a30
MB
462962011-04-28 Maciej Babinski <mbabinski@google.com>
46297
46298 [BZ #12714]
46299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46300 gethostbyname4_r when IPv6 results are possible.
46301
6e04cbbe
UD
463022011-05-02 Ulrich Drepper <drepper@gmail.com>
46303
46304 [BZ #12723]
46305 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46306 _PC_PIPE_BUF handling.
46307
e4ecafe0
BH
463082011-04-30 Bruno Haible <bruno@clisp.org>
46309
46310 [BZ #12717]
46311 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46312 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46313 to 'int'.
46314 * inet/getnameinfo.c (getnameinfo): Likewise.
46315
125ee683
UD
463162011-04-29 Ulrich Drepper <drepper@gmail.com>
46317
46318 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46319 to groups setting in database lookup.
46320 * nss/nsswitch.conf: Add initgroups entry.
46321
b722481a
EB
463222011-04-22 Ulrich Drepper <drepper@gmail.com>
46323
46324 [BZ #12685]
46325 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46326 mode string.
46327 Patch by Eric Blake <eblake@redhat.com>.
46328
4df46dbd
L
463292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46330
46331 * sunrpc/Makefile (need-export-routines): Add svc_run.
46332 (routines): Remove svc_run.
46333 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46334 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46335 * sunrpc/svc_run.c (svc_run): Likewise.
46336 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46337
e84142d2
UD
463382011-04-21 Ulrich Drepper <drepper@gmail.com>
46339
46340 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46341 problem in reallocation in last patch.
46342
877175d8
UD
463432011-04-20 Ulrich Drepper <drepper@gmail.com>
46344
46345 * sunrpc/Makefile: Move inclusion of Rules.
46346
ab8eed78
UD
463472011-04-19 Ulrich Drepper <drepper@gmail.com>
46348
46349 * nss/nss_files/files-initgroups.c: New file.
46350 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46351 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46352 _nss_files_initgroups_dyn.
46353
e3d8f584
RS
463542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46355
46356 * elf/elf.h (R_ARM_IRELATIVE): Define.
46357
af190f45
UD
463582011-04-19 Ulrich Drepper <drepper@gmail.com>
46359
46360 * po/ru.po: Update from translation team.
46361
53cf59ef
UD
463622011-04-17 Ulrich Drepper <drepper@gmail.com>
46363
46364 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46365 dependencies.
46366
4c559bcd
MF
463672011-02-06 Mike Frysinger <vapier@gentoo.org>
46368
46369 [BZ #12653]
46370 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46371 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46374 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46375
4420675c
AS
463762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46377
46378 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46379 differing bytes.
46380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46382 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46383
75ea32ab
UD
463842011-04-17 Ulrich Drepper <drepper@gmail.com>
46385
46386 [BZ #12420]
46387 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46388 storing it.
46389 * stdlib/bug-getcontext.c: New file.
46390 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46391
27390476
AK
463922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46393
46394 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46395 instructions into .machine "z9-109".
46396 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46397 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46398
10442705
AK
463992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46400
46401 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46402 between environment variables and auxiliary vector.
46403
7b57bfe5
UD
464042011-04-16 Ulrich Drepper <drepper@gmail.com>
46405
46406 * Makefile: Add rules to build linkobj/libc.so.
46407 * include/libc-symbols.h: Define libc_hidden_nolink.
46408 * include/rpc/auth.h: Mark functions which are to be hidden.
46409 * include/rpc/auth_des.h: Likewise.
46410 * include/rpc/auth_unix.h: Likewise.
46411 * include/rpc/clnt.h: Likewise.
46412 * include/rpc/des_crypt.h: Likewise.
46413 * include/rpc/key_prot.h: Likewise.
46414 * include/rpc/pmap_clnt.h: Likewise.
46415 * include/rpc/pmap_prot.h: Likewise.
46416 * include/rpc/pmap_rmt.h: Likewise.
46417 * include/rpc/rpc_msg.h: Likewise.
46418 * include/rpc/svc.h: Likewise.
46419 * include/rpc/svc_auth.h: Likewise.
46420 * include/rpc/xdr.h: Likewise.
46421 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46422 * nss/Makefile: Likewise.
46423 * sunrpc/Makefile: Don't install headers. Build library with normal
46424 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46425 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46426 for the compat linking library. Remove use of INTDEF/INTUSE.
46427 * sunrpc/auth_none.c: Likewise.
46428 * sunrpc/auth_unix.c: Likewise.
46429 * sunrpc/authdes_prot.c: Likewise.
46430 * sunrpc/authuxprot.c: Likewise.
46431 * sunrpc/clnt_gen.c: Likewise.
46432 * sunrpc/clnt_perr.c: Likewise.
46433 * sunrpc/clnt_raw.c: Likewise.
46434 * sunrpc/clnt_simp.c: Likewise.
46435 * sunrpc/clnt_tcp.c: Likewise.
46436 * sunrpc/clnt_udp.c: Likewise.
46437 * sunrpc/clnt_unix.c: Likewise.
46438 * sunrpc/des_crypt.c: Likewise.
46439 * sunrpc/des_soft.c: Likewise.
46440 * sunrpc/get_myaddr.c: Likewise.
46441 * sunrpc/key_call.c: Likewise.
46442 * sunrpc/key_prot.c: Likewise.
46443 * sunrpc/netname.c: Likewise.
46444 * sunrpc/pm_getmaps.c: Likewise.
46445 * sunrpc/pm_getport.c: Likewise.
46446 * sunrpc/pmap_clnt.c: Likewise.
46447 * sunrpc/pmap_prot.c: Likewise.
46448 * sunrpc/pmap_prot2.c: Likewise.
46449 * sunrpc/pmap_rmt.c: Likewise.
46450 * sunrpc/publickey.c: Likewise.
46451 * sunrpc/rpc_cmsg.c: Likewise.
46452 * sunrpc/rpc_common.c: Likewise.
46453 * sunrpc/rpc_dtable.c: Likewise.
46454 * sunrpc/rpc_prot.c: Likewise.
46455 * sunrpc/rpc_thread.c: Likewise.
46456 * sunrpc/rtime.c: Likewise.
46457 * sunrpc/svc.c: Likewise.
46458 * sunrpc/svc_auth.c: Likewise.
46459 * sunrpc/svc_authux.c: Likewise.
46460 * sunrpc/svc_raw.c: Likewise.
46461 * sunrpc/svc_run.c: Likewise.
46462 * sunrpc/svc_simple.c: Likewise.
46463 * sunrpc/svc_tcp.c: Likewise.
46464 * sunrpc/svc_udp.c: Likewise.
46465 * sunrpc/svc_unix.c: Likewise.
46466 * sunrpc/svcauth_des.c: Likewise.
46467 * sunrpc/xcrypt.c: Likewise.
46468 * sunrpc/xdr.c: Likewise.
46469 * sunrpc/xdr_array.c: Likewise.
46470 * sunrpc/xdr_float.c: Likewise.
46471 * sunrpc/xdr_intXX_t.c: Likewise.
46472 * sunrpc/xdr_mem.c: Likewise.
46473 * sunrpc/xdr_rec.c: Likewise.
46474 * sunrpc/xdr_ref.c: Likewise.
46475 * sunrpc/xdr_sizeof.c: Likewise.
46476 * sunrpc/xdr_stdio.c: Likewise.
46477
e6c61494
UD
464782011-04-10 Ulrich Drepper <drepper@gmail.com>
46479
46480 [BZ #12650]
46481 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46482 * sysdeps/ia64/dl-tls.h: Likewise.
46483 * sysdeps/powerpc/dl-tls.h: Likewise.
46484 * sysdeps/s390/dl-tls.h: Likewise.
46485 * sysdeps/sh/dl-tls.h: Likewise.
46486 * sysdeps/sparc/dl-tls.h: Likewise.
46487 * sysdeps/x86_64/dl-tls.h: Likewise.
46488 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46489
34fe483e
AS
464902011-03-14 Andreas Schwab <schwab@redhat.com>
46491
46492 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46493 rpath element also skip the following colon.
46494 (expand_dynamic_string_token): Add is_path parameter and pass
46495 down to DL_DST_REQUIRED and _dl_dst_substitute.
46496 (decompose_rpath): Call expand_dynamic_string_token with
46497 non-zero is_path. Ignore empty rpaths.
46498 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46499 with zero is_path.
46500
f12a32e6
AS
465012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46502
46503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46504 Make cancelable.
46505
38a7d692
UD
465062011-04-09 Ulrich Drepper <drepper@gmail.com>
46507
46508 [BZ #12655]
46509 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46510 Patch by Filipe David Manana <fdmanana@apache.org>.
46511
e451d22b
AS
465122011-04-07 Andreas Schwab <schwab@redhat.com>
46513
46514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46515 Maintain aligned stack.
46516 (CHECK_RSP): Remove unused macro.
46517
dedc7c7b
UD
465182011-04-03 Ulrich Drepper <drepper@gmail.com>
46519
46520 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46521 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46522
94521213
UD
465232011-04-02 Ulrich Drepper <drepper@gmail.com>
46524
46525 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46526
8cb700c0 46527 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46528
0354e355
L
465292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46530
46531 [BZ #12518]
46532 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46533 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46534 * sysdeps/x86_64/memmove.c: New file.
46535 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46536 (memcpy): Renamed to ...
46537 (__new_memcpy): This.
46538 (memcpy): Provide GLIBC_2_14 memcpy.
46539 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46540 (memcpy): Provide GLIBC_2_2_5 memcpy.
46541
8593482f
UD
465422011-04-01 Ulrich Drepper <drepper@gmail.com>
46543
46544 [BZ #12631]
46545 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46546
81a5726b
AS
465472011-03-30 Andreas Schwab <schwab@redhat.com>
46548
46549 * misc/syncfs.c: New file.
46550 * misc/Makefile (routines): Add syncfs.
46551 * posix/unistd.h: Declare syncfs.
46552 * sysdeps/unix/syscalls.list: Add syncfs.
46553
00e5419f
AS
465542011-04-01 Andreas Schwab <schwab@redhat.com>
46555
46556 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46557 open_by_handle_at.
46558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46559 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46563 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46565
748876bf
UD
465662011-04-01 Ulrich Drepper <drepper@gmail.com>
46567
658e451d
UD
46568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46569 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46572 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46573 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46575
748876bf
UD
46576 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46577 sync_file_range.c with -fexceptions.
46578 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46579 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46580 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46581 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46582 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46583 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46585 sync_file_range as cancellation point
46586 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46587 now a wrapper around __call_sync_file_range with cancellation handling.
46588 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46589 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46590 function name to __call_sync_file_range.
46591 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46592 Add call_sync_file_range.
748876bf 46593
6e63d5e1
AS
465942011-04-01 Andreas Schwab <schwab@redhat.com>
46595
46596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46597 bits/timex.h.
6e63d5e1 46598
46998f74
UD
465992011-04-01 Ulrich Drepper <drepper@gmail.com>
46600
4c1423ed
UD
46601 * iconv/iconv.h: Fix typo in comment.
46602 * io/fcntl.h: Likewise.
46603 * libio/stdio.h: Likewise.
46604 * posix/spawn.h: Likewise.
46605 * posix/unistd.h: Likewise.
46606 * stdlib/stdlib.h: Likewise.
46607 * time/time.h: Likewise.
46608 * wcsmbs/wchar.h: Likewise.
46609
158648c0
UD
46610 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46611 open_by_handle): Add.
46612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46613 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46614 Augment a few comments.
46615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46617 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46620 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46621 open_by_handle.
46622
46998f74
UD
46623 * io/fcntl.h (AT_EMPTY_PATH): Define.
46624
83fe108b
UD
466252011-03-30 Ulrich Drepper <drepper@gmail.com>
46626
46627 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46628 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46629 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46630 to...
46631 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46632 * Versions.def: Add GLIBC_2.14.
46633 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46634 Export.
83fe108b 46635
bb242059
UD
466362011-03-22 Ulrich Drepper <drepper@gmail.com>
46637
46638 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46639 round counter.
46640 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46641
c97a1282
L
466422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46643
46644 [BZ #12597]
46645 * string/test-strncmp.c (do_page_test): New function.
46646 (check2): Likewise.
46647 (test_main): Call check2.
46648 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46649
2a115601
UD
466502011-03-20 Ulrich Drepper <drepper@gmail.com>
46651
46652 [BZ #12587]
46653 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46654 Handle cache information in CPU leaf 4.
46655 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46656
8126d904
UD
466572011-03-18 Ulrich Drepper <drepper@gmail.com>
46658
042c49c6 46659 [BZ #12583]
8126d904
UD
46660 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46661 character representation.
46662 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46663
ccfe366e
RA
466642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46665
46666 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46667 END(__isnan) to END(__isnanf) to match function entry point/label
46668 EALIGN(__isnanf,...).
46669
c6e13027
JJ
466702011-03-10 Jakub Jelinek <jakub@redhat.com>
46671
46672 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46673
33f85a3f
UD
466742011-03-10 Ulrich Drepper <drepper@gmail.com>
46675
028478fa
UD
46676 [BZ #12510]
46677 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46678 copy from the symbol referenced in the relocation to initialize the
46679 used variable.
46680 Patch by Piotr Bury <pbury@goahead.com>.
46681 * elf/Makefile: Add rules to build and tst-unique3.
46682 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46683 * elf/tst-unique3.cc: New file.
46684 * elf/tst-unique3.h: New file.
46685 * elf/tst-unique3lib.cc: New file.
46686 * elf/tst-unique3lib2.cc: New file.
46687
33f85a3f
UD
46688 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46689
03592fc7
MF
466902011-03-10 Mike Frysinger <vapier@gentoo.org>
46691
46692 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46693 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46694 to _start.
03592fc7 46695
6a5ee102
UD
466962011-03-06 Ulrich Drepper <drepper@gmail.com>
46697
46698 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46699 to-be-loaded object along a path to loader is ld.so.
46700
7e4ba49c
HJ
467012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46702 Ulrich Drepper <drepper@gmail.com>
46703
46704 * sysdeps/x86_64/memset.S: After aligning destination, code
46705 branches to different locations depending on the value of
46706 misalignment, when multiarch is enabled. Fix this.
46707
467082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46709
46710 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46711 Set _x86_64_preferred_memory_instruction for AMD processsors.
46712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46713 Set bit_Prefer_SSE_for_memop for AMD processors.
46714
13a804de
UD
467152011-03-04 Ulrich Drepper <drepper@gmail.com>
46716
46717 * libio/fmemopen.c (fmemopen): Optimize a bit.
46718
9d25c392
AS
467192011-03-03 Andreas Schwab <schwab@redhat.com>
46720
46721 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46722
a5543c6a
RM
467232011-03-03 Roland McGrath <roland@redhat.com>
46724
46725 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46726
012d35f7
DM
467272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46728
7e4ba49c 46729 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46730 __bzero_ultra1 instead of __memset_ultra1.
46731
4bff6e01
AS
467322011-02-23 Andreas Schwab <schwab@redhat.com>
46733 Ulrich Drepper <drepper@gmail.com>
46734
46735 [BZ #12509]
46736 * include/link.h (struct link_map): Add l_orig_initfini.
46737 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46738 returning unsuccessfully.
46739 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46740 close of a file loaded at startup, restore the original l_initfini
46741 list.
46742 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46743 list, store the pointer.
46744 * elf/Makefile ($(objpfx)noload-mem): New rule.
46745 (noload-ENV): Define.
46746 (tests): Add $(objpfx)noload-mem.
46747 * elf/noload.c: Include <memcheck.h>.
46748 (main): Call mtrace. Close all opened handles.
46749
f2092faf
AS
467502011-02-17 Andreas Schwab <schwab@redhat.com>
46751
46752 [BZ #12454]
46753 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46754 dependencies are missing.
46755
6c8a2e88
ST
467562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46757
f2092faf 46758 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46759 Hurd needs munmap.
46760 * sysdeps/mach/hurd/ifreq.h: New file.
46761
84a42118
PB
467622011-01-27 Petr Baudis <pasky@suse.cz>
46763 Ulrich Drepper <drepper@gmail.com>
46764
071f805e 46765 [BZ 12445]#
84a42118
PB
46766 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46767 to extend_alloca().
46768 * stdio-common/bug23.c: New file.
46769 * stdio-common/Makefile (tests): Add bug23.
46770
e23fe25b
AS
467712010-09-28 Andreas Schwab <schwab@redhat.com>
46772 Ulrich Drepper <drepper@gmail.com>
46773
46774 [BZ #12489]
46775 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46776 before performing relro protection. At old place add assertion
46777 to make sure nothing changed.
46778
d3f02e10
NS
467792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46780 Glauber de Oliveira Costa <glommer@gmail.com>
46781
46782 * elf/elf.h: Add new ARM TLS relocs.
46783
d55fd7a5
RA
467842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46785
46786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46787 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46788 cast from r3.
46789 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46790 'tests' variable.
46791 * sysdeps/wordsize-64/tst-writev.c: New file.
46792
2206397e
RA
467932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46794
46795 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46796 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46797 insns in _dl_start to prevent a TOC reference before relocs are
46798 resolved.
46799
e9433893
UD
468002011-02-15 Ulrich Drepper <drepper@gmail.com>
46801
46802 [BZ #12469]
46803 * Makeconfig: Remove RANLIB definition.
46804 * Makerules: Don't use RANLIB.
46805 * aclocal.m4: Remove ranlib test.
46806 * configure.in: No need to check for ranlib.
46807 * elf/rtld-Rules: Don't use RANLIB.
46808
f75286c6
ST
468092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46810
8e31c82d
ST
46811 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46812 protection macro.
46813 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46814 inclusion protection macro.
46815
f75286c6
ST
46816 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46817 SIGRTMIN and SIGRTMAX and print information in that case only when
46818 SIGRTMIN is defined.
46819
c1d0e639
JJ
468202011-02-11 Jakub Jelinek <jakub@redhat.com>
46821
46822 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46823 arginfo fn returning -1.
46824
46825 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46826 and thousands string is zero terminated.
46827
edf9294e
AS
468282011-02-03 Andreas Schwab <schwab@redhat.com>
46829
46830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46831 sysdeps/unix/sysv/linux/bits/socket.h.
46832
2b7e92df
ST
468332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46834
edf9294e
AS
46835 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46836 (__CPU_COUNT): Remove old macros.
46837 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46838 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46839 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46840 (__sched_cpualloc, __sched_cpufree): Add declarations.
46841
a4c7ea7b
UD
468422011-02-05 Ulrich Drepper <drepper@gmail.com>
46843
46844 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46845 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46846 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46847 (readdhstai): Return value of addhstaiX call.
46848 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46849 (addgrbyX): Return value returned by cache_addgr.
46850 (readdgrbyname): Return value returned by addgrbyX.
46851 (readdgrbygid): Likewise.
46852 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46853 (addpwbyX): Return value returned by cache_addpw.
46854 (readdpwbyname): Return value returned by addhstbyX.
46855 (readdpwbyuid): Likewise.
46856 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46857 (addservbyX): Return value returned by cache_addserv.
46858 (readdservbyname): Return value returned by addservbyX:
46859 (readdservbyport): Likewise.
46860 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46861 (addhstbyX): Return value returned by cache_addhst.
46862 (readdhstbyname): Return value returned by addhstbyX.
46863 (readdhstbyaddr): Likewise.
46864 (readdhstbynamev6): Likewise.
46865 (readdhstbyaddrv6): Likewise.
46866 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46867 (readdinitgroups): Return value returned by addinitgroupsX.
46868 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46869 (prune_cache): Keep track of timeout value of re-added entries.
46870 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46871 * nscd/nscd.h: Adjust prototypes of readd* functions.
46872
a0bf67cc
RM
468732011-02-04 Roland McGrath <roland@redhat.com>
46874
46875 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46876 (nis_stats): Likewise.
46877 * nis/nis_modify.c (nis_modify): Likewise.
46878 * nis/nis_remove.c (nis_remove): Likewise.
46879 * nis/nis_add.c (nis_add): Likewise.
46880
46881 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46882
46883 * posix/fnmatch_loop.c: Add some consts.
46884
46885 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46886
435b95eb
L
468872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46888
46889 [BZ #12460]
46890 * config.make.in (config-cflags-novzeroupper): Define.
46891 * configure.in: Substitute libc_cv_cc_novzeroupper.
46892 * elf/Makefile (AVX-CFLAGS): Define.
46893 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46894 (CFLAGS-tst-auditmod4a.c): Likewise.
46895 (CFLAGS-tst-auditmod4b.c): Likewise.
46896 (CFLAGS-tst-auditmod6b.c): Likewise.
46897 (CFLAGS-tst-auditmod6c.c): Likewise.
46898 (CFLAGS-tst-auditmod7b.c): Likewise.
46899 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46900
8517b15e
UD
469012011-02-02 Ulrich Drepper <drepper@gmail.com>
46902
46903 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46904 function to the callback.
46905 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46906
10a656fe
AS
469072011-02-02 Andreas Schwab <schwab@redhat.com>
46908
46909 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46910 of errno.
46911
968dad0a
UD
469122011-01-19 Ulrich Drepper <drepper@gmail.com>
46913
9f94d2ea 46914 [BZ #11724]
968dad0a
UD
46915 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46916 of constructors.
46917 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46918 of destructors.
46919 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46920
46921 [BZ #11724]
46922 * elf/Makefile: Add rules to build and run new test.
46923 * elf/tst-initorder.c: New file.
46924 * elf/tst-initorder.exp: New file.
46925 * elf/tst-initordera1.c: New file.
46926 * elf/tst-initordera2.c: New file.
46927 * elf/tst-initordera3.c: New file.
46928 * elf/tst-initordera4.c: New file.
46929 * elf/tst-initorderb1.c: New file.
46930 * elf/tst-initorderb2.c: New file.
46931 * elf/tst-order-a1.c: New file.
46932 * elf/tst-order-a2.c: New file.
46933 * elf/tst-order-a3.c: New file.
46934 * elf/tst-order-a4.c: New file.
46935 * elf/tst-order-b1.c: New file.
46936 * elf/tst-order-b2.c: New file.
46937 * elf/tst-order-main.c: New file.
46938 New test case by George Gensure <werkt0@gmail.com>.
46939
86e92359
UD
469402010-10-01 Andreas Schwab <schwab@redhat.com>
46941
46942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46943 decoding ACE if AI_CANONIDN.
46944
5d5732b0
UD
469452011-01-18 Ulrich Drepper <drepper@gmail.com>
46946
46947 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46948
a77e8cbc
UD
469492011-01-17 Ulrich Drepper <drepper@gmail.com>
46950
6392473f
UD
46951 * version.h (RELEASE): Bump for 2.13 release.
46952 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46953
620a0529
UD
46954 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46955
18ba70a5
UD
46956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46957 MADV_NOHUGEPAGE.
32465c3e
UD
46958 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46959 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46960 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46961 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46962 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46964
c0dafcf1
UD
46965 * posix/getconf.c: Update copyright year.
46966 * catgets/gencat.c: Likewise.
46967 * csu/version.c: Likewise.
46968 * debug/catchsegv.sh: Likewise.
46969 * debug/xtrace.sh: Likewise.
46970 * elf/ldconfig.c: Likewise.
46971 * elf/ldd.bash.in: Likewise.
46972 * elf/sprof.c (print_version): Likewise.
46973 * iconv/iconv_prog.c: Likewise.
46974 * iconv/iconvconfig.c: Likewise.
46975 * locale/programs/locale.c: Likewise.
46976 * locale/programs/localedef.c: Likewise.
46977 * malloc/memusage.sh: Likewise.
46978 * malloc/mtrace.pl: Likewise.
46979 * nscd/nscd.c (print_version): Likewise.
46980 * nss/getent.c: Likewise.
46981
a77e8cbc
UD
46982 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46983 PF_CAIF, and PF_ALG.
46984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46985
77e8bddf
AS
469862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46987
1f20b93a
AS
46988 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46989 (modules-names): Use them.
46990 (ifunc-test-modules, ifunc-pie-tests): Define.
46991 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46992 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46993 (test-extras): Likewise.
46994 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46995 $(compile-command.c).
46996 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46997 (all-built-dso): Define.
46998 (check-textrel.out, check-execstack.out): Depend on it.
46999
77e8bddf
AS
47000 * configure.in: Don't override --enable-multi-arch.
47001
bc425b33
UD
470022011-01-15 Ulrich Drepper <drepper@gmail.com>
47003
47004 [BZ #6812]
47005 * nscd/hstcache.c (tryagain): Define.
47006 (cache_addhst): Return tryagain not notfound for temporary errors.
47007 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47008 failed.
47009
794c3ad3
UD
470102011-01-14 Ulrich Drepper <drepper@gmail.com>
47011
70181fdd
UD
47012 [BZ #10563]
47013 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47014 to make the syscall.
47015 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47016
794c3ad3
UD
47017 [BZ #12378]
47018 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47019 and fall back to matching as normal character if the string ends before
47020 the matching ']' is found. This is what POSIX requires.
47021 * posix/testfnm.c: Adjust test result.
47022 * posix/globtest.sh: Adjust test result. Add new test.
47023 * posix/tst-fnmatch.input: Likewise.
47024 * posix/tst-fnmatch2.c: Add new test.
47025
68dc9497
AS
470262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47027
47028 * elf/Makefile (check-execstack): Revert last change. Depend on
47029 check-execstack.h.
47030 (check-execstack.h): New target.
47031 (generated): Add check-execstack.h.
47032 * elf/check-execstack.c: Include "check-execstack.h".
47033 (main): Revert last change.
47034 (handle_file): Return zero if GNU_STACK is absent and
47035 DEFAULT_STACK_PERMS doesn't include PF_X.
47036
451f001b
UD
470372011-01-13 Ulrich Drepper <drepper@gmail.com>
47038
cfa28e56
UD
47039 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47040 in child fails because the descriptor is already closed.
8cf8ce17
UD
47041 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47042 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47043 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47044
1086d70d
UD
47045 [BZ #12397]
47046 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47047 syscall.
47048
451f001b
UD
47049 [BZ #10484]
47050 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47051 temporary buffer used to handle multi lookups locally.
a85b5cb4 47052 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47053
08769175
UD
470542011-01-12 Ulrich Drepper <drepper@gmail.com>
47055
47056 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47057 loader is ld.so.
47058
5e49c52e
UD
470592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47060
47061 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47062 alignment for SSE2.
47063
60522a5f
UD
470642011-01-12 Ulrich Drepper <drepper@gmail.com>
47065
47066 [BZ #12394]
47067 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47068 characters. When rounding increased number of integer digits recompute
47069 number of groups.
47070 * stdio-common/tst-grouping.c: New file.
47071 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47072
f257bbd7
UD
470732011-01-09 Ulrich Drepper <drepper@gmail.com>
47074
47075 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47076 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47077
47078 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47079 void.
47080 * bits/select.h: Likewise.
47081
fa9c15cb
UD
470822011-01-08 Ulrich Drepper <drepper@gmail.com>
47083
47084 * po/ja.po: Update from translation team.
47085
16c2895f
DM
470862011-01-04 David S. Miller <davem@sunset.davemloft.net>
47087
47088 [BZ #11155]
47089 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47090 implementation just like for lxstat, fxstatat, et al.
47091
2543fef2
JM
470922010-12-27 Jim Meyering <meyering@redhat.com>
47093
47094 [BZ #12348]
47095 * posix/regexec.c (build_trtable): Return failure indication upon
47096 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47097
98727dbe
UD
470982010-12-25 Ulrich Drepper <drepper@gmail.com>
47099
5bd6dc5c
UD
47100 [BZ #12201]
47101 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47102 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47103 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47104 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47105
97983464
UD
47106 [BZ #12207]
47107 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47108
98727dbe
UD
47109 [BZ #12204]
47110 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47111 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47112
4a531bb0
L
471132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47114
47115 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47116 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47117 script has SORT_BY_INIT_PRIORITY.
47118 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47119 NO_CTORS_DTORS_SECTIONS is defined.
47120 * elf/soinit.c: Likewise.
47121 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47122 NO_CTORS_DTORS_SECTIONS is defined.
47123 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47124 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47125 * sysdeps/sh/init-first.c: Likewise.
47126 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47127
07eb4b71
UD
471282010-12-24 Ulrich Drepper <drepper@gmail.com>
47129
47130 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47131 always use the slow path.
47132
30950a5f
RA
471332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47134
47135 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47136 similar rule which adds the sysdep directories to the header search in
47137 order to pick up the correct platform stackinfo.h.
47138 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47139 perform test if it is, otherwise return successfully without testing.
47140 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47141 DEFAULT_STACK_PERMS define in stackinfo.h.
47142 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47143 defined in stackinfo.h.
47144 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47145 DEFAULT_STACK_PERMS defined in stackinfo.h.
47146 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47147 * sysdeps/ia64/stackinfo.h: Likewise.
47148 * sysdeps/s390/stackinfo.h: Likewise.
47149 * sysdeps/sh/stackinfo.h: Likewise.
47150 * sysdeps/sparc/stackinfo.h: Likewise.
47151 * sysdeps/x86_64/stackinfo.h: Likewise.
47152 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47153 PF_X for powerpc64. Retain PF_X for powerpc32.
47154
db753e2c
UD
471552010-12-19 Ulrich Drepper <drepper@gmail.com>
47156
14b697f7
UD
47157 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47158 accurately.
db753e2c
UD
47159 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47160 GETDENTS_64BIT_ALIGNED.
47161
28300719
UD
471622010-12-14 Ulrich Drepper <dreper@gmail.com>
47163
14b697f7 47164 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47165
4f197237
AS
471662010-12-10 Andreas Schwab <schwab@redhat.com>
47167
dbb0472f
AS
47168 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47169 _GNU_SOURCE.
47170
4f197237
AS
47171 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47172 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47173 Remove __restrict.
47174 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47175 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47176
fb88ac72
UD
471772010-12-09 Ulrich Drepper <drepper@gmail.com>
47178
47179 [BZ #11655]
47180 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47181 are initialized.
47182
42acbb92
JJ
471832010-12-09 Jakub Jelinek <jakub@redhat.com>
47184
47185 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47186
c038d98d
UD
471872010-12-03 Ulrich Drepper <drepper@gmail.com>
47188
47189 * po/it.po: Update from translation team.
47190
3a4a2499
L
471912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47192
47193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47194 unused codes.
47195
1e24cf6e
UD
471962010-11-30 Ulrich Drepper <drepper@gmail.com>
47197
47198 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47199
a7690819
AS
472002010-11-24 Andreas Schwab <schwab@redhat.com>
47201
47202 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47203 specially.
47204 (gaih_getanswer_slice): Likewise.
47205
3bf8d1b1
JJ
472062010-10-20 Jakub Jelinek <jakub@redhat.com>
47207
47208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47209
6db52fbb
PB
472102010-05-31 Petr Baudis <pasky@suse.cz>
47211
47212 [BZ #11149]
47213 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47214 silently even in the chroot mode.
47215
eaca7569
UD
472162010-11-22 Ulrich Drepper <drepper@gmail.com>
47217
47218 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47219 last patch a bit. Pretty printing
47220
3056dcdb
UD
472212010-05-31 Petr Baudis <pasky@suse.cz>
47222
47223 [BZ #10085]
47224 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47225 initialization of skip_initgroups_dyn.
47226
cf7c9078
UD
472272010-11-19 Ulrich Drepper <drepper@gmail.com>
47228
47229 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47230 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47231
a1fb5e3e
UD
472322010-11-16 Ulrich Drepper <drepper@gmail.com>
47233
47234 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47235
3540d66b
AS
472362010-11-11 Andreas Schwab <schwab@redhat.com>
47237
47238 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47239 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47240 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47241 ($(objpfx)tst-fnmatch-mem): New rule.
47242 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47243 * posix/tst-fnmatch.c (main): Call mtrace.
47244
13b69574
L
472452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47246
47247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47248 Support Intel processor model 6 and model 0x2c.
47249
da93d214
LM
472502010-11-10 Luis Machado <luisgpm@br.ibm.com>
47251
47252 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47253 signed comparison.
47254
8ca52c6e
L
472552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47256
47257 [BZ #12205]
47258 * string/test-strncasecmp.c (check_result): New function.
47259 (do_one_test): Use it.
47260 (check1): New function.
47261 (test_main): Use it.
47262 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47263 Support strcasecmp and strncasecmp.
47264
69da074d
UD
472652010-11-08 Ulrich Drepper <drepper@gmail.com>
47266
47267 [BZ #12194]
47268 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47270
ff02d528
L
472712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47272
47273 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47274 IFUNC support.
47275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47276 memset-x86-64.
47277 * sysdeps/x86_64/multiarch/bzero.S: New file.
47278 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47279 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47280 * sysdeps/x86_64/multiarch/memset.S: New file.
47281 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47283 Set bit_Prefer_SSE_for_memop for Intel processors.
47284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47285 Define.
47286 (index_Prefer_SSE_for_memop): Define.
47287 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47288
344d0b54
LM
472892010-11-04 Luis Machado <luisgpm@br.ibm.com>
47290
47291 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47292 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47293
c0dde15b
UD
472942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47295
47296 [BZ #12191]
47297 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47298 (__x86_64_raw_data_cache_size_half): Likewise.
47299 (__x86_64_raw_shared_cache_size): Likewise.
47300 (__x86_64_raw_shared_cache_size_half): Likewise.
47301
47302 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47303 (__x86_64_raw_data_cache_size_half): Likewise.
47304 (__x86_64_raw_shared_cache_size): Likewise.
47305 (__x86_64_raw_shared_cache_size_half): Likewise.
47306 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47307 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47308 and __x86_64_raw_shared_cache_size_half. Round
47309 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47310 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47311 to multiple of 256 bytes.
47312
0e516e0e
MS
473132010-11-03 Ulrich Drepper <drepper@gmail.com>
47314
47315 [BZ #12167]
47316 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47317 of inacessible symlinks. Verify result of symlink before returning it.
47318 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47319 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47320
0e012e87
ER
473212010-10-28 Erich Ritz <erichritz@gmail.com>
47322
47323 * math/math.h (isinf): Fix typo in comment.
47324
de0ff7bc
UD
473252010-11-01 Ulrich Drepper <drepper@gmail.com>
47326
47327 * po/da.po: Update from translation team.
47328
fa41c84d
UD
473292010-10-26 Ulrich Drepper <drepper@gmail.com>
47330
47331 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47332 is added to the list.
47333
f0967738
AK
473342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47335 Ulrich Drepper <drepper@gmail.com>
47336
47337 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47338 the global list here. Move code to...
47339 (_dl_add_to_namespace_list): ...here. New function.
47340 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47341 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47342 * elf/dl-load.c (lose): Don't remove the element from the list.
47343 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47344 (_dl_map_object): Likewise.
47345
473462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47347
47348 [BZ #12159]
47349 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47350 into all bytes of SSE register.
47351 Patch by Richard Li <richardpku@gmail.com>.
47352
f0967738 473532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47354
47355 [BZ #12140]
47356 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47357 perturbing.
47358
d0b9e94f
MB
473592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47360
47361 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47362 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47363 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47364 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47366 submachine.
47367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47368
8e9f92e9
AS
473692010-10-22 Andreas Schwab <schwab@redhat.com>
47370
47371 * include/dlfcn.h (__RTLD_SECURE): Define.
47372 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47373 mode & __RTLD_SECURE instead.
47374 (open_path): Rename preloaded parameter to secure.
47375 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47376 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47377 * elf/dl-deps.c (openaux): Likewise.
47378 * elf/rtld.c (struct map_args): Remove is_preloaded.
47379 (map_doit): Don't use it.
47380 (dl_main): Likewise.
47381 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47382 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47383
bc96fbda
AS
473842010-09-09 Andreas Schwab <schwab@redhat.com>
47385
47386 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47387 (sysd-rules-targets): Remove duplicates.
47388 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47389 rtld-%.$o dependency.
47390
22cd1c9b
AS
473912010-10-18 Andreas Schwab <schwab@redhat.com>
47392
47393 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47394 _dl_map_object do it.
47395
18edac48
UD
473962010-10-19 Ulrich Drepper <drepper@gmail.com>
47397
47398 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47399 fast fma builtins, define the macros in the C99 standard.
47400 (FP_FAST_FMAF): Likewise.
47401 (FP_FAST_FMAL): Likewise.
47402 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47403
47404 * bits/mathdef.h: Update copyright year.
47405 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47406
d2050124
MM
474072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47408
47409 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47410 builtins, define the macros in the C99 standard.
47411 (FP_FAST_FMAF): Likewise.
47412 (FP_FAST_FMAL): Likewise.
47413 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47414 multiply/add.
47415 (FP_FAST_FMAF): Likewise.
47416
475facd1
JJ
474172010-10-15 Jakub Jelinek <jakub@redhat.com>
47418
47419 [BZ #3268]
47420 * math/libm-test.inc (fma_test): Some new testcases.
47421 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47422 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47423 y and infinite z. Do multiplication by C already in long double.
47424 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47426 y and infinite z. Do bitwise or of inexact bit into u.d.
47427 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47428 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47429 * sysdeps/i386/fpu/s_fma.S: Removed.
47430 * sysdeps/i386/fpu/s_fmal.S: Removed.
47431
7c08a05c
JJ
474322010-10-16 Jakub Jelinek <jakub@redhat.com>
47433
47434 [BZ #3268]
47435 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47437 computation is not scheduled after fetestexcept. Fix value
47438 of minimum denormal long double.
47439
f3f7372d
JJ
474402010-10-14 Jakub Jelinek <jakub@redhat.com>
47441
47442 [BZ #3268]
47443 * math/libm-test.inc (fma_test): Add some more tests.
47444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47445 correctly.
47446
14d43591
AS
474472010-10-15 Andreas Schwab <schwab@redhat.com>
47448
47449 * scripts/data/localplt-s390-linux-gnu.data: New file.
47450 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47451
5e908464
JJ
474522010-10-13 Jakub Jelinek <jakub@redhat.com>
47453
47454 [BZ #3268]
47455 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47456 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47457 instead of dbl-64.
47458 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47459 inlines.
47460 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47462 if one of x and y is very large and the other is subnormal.
47463 * sysdeps/s390/fpu/s_fmaf.c: New file.
47464 * sysdeps/s390/fpu/s_fma.c: New file.
47465 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47466 * sysdeps/powerpc/fpu/s_fma.S: New file.
47467 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47468 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47469 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47470
474712010-10-12 Jakub Jelinek <jakub@redhat.com>
47472
47473 [BZ #3268]
47474 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47475 fma tests.
47476 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47477 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47478 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47479 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47480 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47481 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47482 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47483
b833d51f
UD
474842010-10-12 Ulrich Drepper <drepper@redhat.com>
47485
47486 [BZ #12078]
47487 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47488 * posix/bug-regex31.input: Add test case.
47489
1751705d
UD
474902010-10-11 Ulrich Drepper <drepper@gmail.com>
47491
e9b9cbf5
UD
47492 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47493 * posix/bug-regex31.input: New file.
47494
47495 [BZ #12078]
47496 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47497 (parse_sub_exp): Fix last change, use postorder.
47498
ef06edbe
UD
47499 * posix/bug-regex31.c: New file.
47500 * posix/Makefile: Add rules to build and run bug-regex31.
47501
a129c80d
UD
47502 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47503
47504 [BZ #12078]
47505 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47506
b76b818e
UD
47507 [BZ #12108]
47508 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47509 to have entries in sys_siglist.
47510
1751705d
UD
47511 [BZ #12093]
47512 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47513 be NULL.
47514
9ff8d36f
JJ
475152010-10-07 Jakub Jelinek <jakub@redhat.com>
47516
47517 [BZ #3268]
47518 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47519 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47520 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47521 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47522 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47523 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47524 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47525 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47526 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47527 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47528 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47529 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47530 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47531 * math/ftestexcept.c (fetestexcept): Likewise.
47532 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47533 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47534 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47535 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47536 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47537 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47538 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47539
af325969
UD
475402010-10-11 Ulrich Drepper <drepper@gmail.com>
47541
c579b202 47542 [BZ #12107]
af325969
UD
47543 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47544 newline.
47545
67a67b95
UD
475462010-10-06 Ulrich Drepper <drepper@gmail.com>
47547
47548 * string/bug-strstr1.c: New file.
47549 * string/Makefile: Add rules to build and run bug-strstr1.
47550
5fb308bc
EB
475512010-10-05 Eric Blake <eblake@redhat.com>
47552
47553 [BZ #12092]
47554 * string/str-two-way.h (two_way_long_needle): Always clear memory
47555 when skipping input due to the shift table.
47556
45db99c7
UD
475572010-10-03 Ulrich Drepper <drepper@gmail.com>
47558
3b111893
UD
47559 [BZ #12005]
47560 * malloc/mcheck.c: Handle large requests.
47561
45db99c7
UD
47562 [BZ #12077]
47563 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47564 for strncmp and strncasecmp.
47565 * string/stratcliff.c: Add tests for strcmp and strncmp.
47566 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47567
cf7a1eb8
NI
475682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47569
47570 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47571 __set_fpscr.
47572
6484ba5e
AJ
475732010-09-30 Andreas Jaeger <aj@suse.de>
47574
47575 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47576 (CGROUP_SUPER_MAGIC): Define.
47577 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47578 Handle btrfs and cgroup file systems.
47579 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47580 Likewise.
47581
91c42559
LM
475822010-09-27 Luis Machado <luisgpm@br.ibm.com>
47583
47584 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47585 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47586
87a97932
AK
475872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47588
47589 [BZ #12067]
47590 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47591 trying to locate the ELF header.
47592
c21cc9bc
AS
475932010-09-27 Andreas Schwab <schwab@redhat.com>
47594
47595 [BZ #11611]
47596 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47597 Mask out sign-bit copies when constructing f_fsid.
47598
315970f6
PB
475992010-09-24 Petr Baudis <pasky@suse.cz>
47600
47601 * debug/stack_chk_fail_local.c: Add missing licence exception.
47602 * debug/warning-nop.c: Likewise.
47603
1ac7a2c7
JM
476042010-09-15 Joseph Myers <joseph@codesourcery.com>
47605
47606 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47607 implementing getdents64 using getdents syscall, set d_type if
47608 __ASSUME_GETDENTS32_D_TYPE.
47609
56801c50
AS
476102010-09-16 Andreas Schwab <schwab@redhat.com>
47611
47612 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47613 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47614
dda51327
UD
476152010-09-21 Ulrich Drepper <drepper@redhat.com>
47616
47617 [BZ #12037]
47618 * posix/unistd.h: Undo change of feature selection for ftruncate from
47619 2010-01-11.
47620
8ffcee4a
UD
476212010-09-20 Ulrich Drepper <drepper@redhat.com>
47622
a545ecd9 47623 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47624 detection.
47625
e24f0a8b
AS
476262010-09-20 Andreas Schwab <schwab@redhat.com>
47627
47628 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47629 fanotify_mark.
47630 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47631
7291c56f
AS
476322010-09-14 Andreas Schwab <schwab@redhat.com>
47633
47634 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47635 variables after CHECK_SP call.
47636 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47637
bc5fb037
AS
476382010-09-13 Andreas Schwab <schwab@redhat.com>
47639 Ulrich Drepper <drepper@redhat.com>
47640
47641 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47642 re-relocationg ld.so.
47643 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47644 _dl_init_paths call.
47645 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47646 here anymore.
47647
e66e7419
UD
476482010-09-14 Ulrich Drepper <drepper@redhat.com>
47649
47650 * resolv/res_init.c (__res_vinit): Count the default server we added.
47651
c044aa75
CLT
476522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47653 Ulrich Drepper <drepper@redhat.com>
47654
47655 [BZ #11968]
47656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47657 (____longjmp_chk): Use %ebx for saving value across system call.
47658 Add unwind info.
47659
32cf4069
AS
476602010-09-06 Andreas Schwab <schwab@redhat.com>
47661
47662 * manual/Makefile: Don't mix pattern rules with normal rules.
47663
817328ee
AS
476642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47665
47666 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47667 operation.
47668 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47669 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47670 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47671 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47673 Likewise.
47674
29fddf61
UD
476752010-09-04 Ulrich Drepper <drepper@redhat.com>
47676
47677 [BZ #11979]
47678 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47679 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47680
0959ffc9
UD
476812010-09-02 Ulrich Drepper <drepper@redhat.com>
47682
47683 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47684 * sysdeps/x86_64/addmul_1.S: Likewise.
47685 * sysdeps/x86_64/lshift.S: Likewise.
47686 * sysdeps/x86_64/mul_1.S: Likewise.
47687 * sysdeps/x86_64/rshift.S: Likewise.
47688 * sysdeps/x86_64/sub_n.S: Likewise.
47689 * sysdeps/x86_64/submul_1.S: Likewise.
47690
ece29840
ST
476912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47692
0959ffc9
UD
47693 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47694 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47695 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47696 * bits/sched.h [__need_schedparam]
ece29840 47697 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47698 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47699 (__defined_schedparam): Define to 1.
ece29840
ST
47700 (__sched_param): New structure, identical to sched_param.
47701 (__need_schedparam): Undefine.
47702
e53a31fe
MF
477032010-08-31 Mike Frysinger <vapier@gentoo.org>
47704
fdc0c10d
MF
47705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47706 (epoll_create1): Declare.
47707
e53a31fe
MF
47708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47709
a726d796
AS
477102010-08-31 Andreas Schwab <schwab@redhat.com>
47711
47712 [BZ #7066]
47713 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47714 shifting retval into place.
47715
2f3e3dc7
UD
477162010-09-01 Ulrich Drepper <drepper@redhat.com>
47717
f2933da9
UD
47718 * nis/rpcsvc/nis.h: Update copyright notice.
47719 * nis/rpcsvc/nis.x: Likewise.
47720 * nis/rpcsvc/nis_callback.h: Likewise.
47721 * nis/rpcsvc/nis_callback.x: Likewise.
47722 * nis/rpcsvc/nis_object.x: Likewise.
47723 * nis/rpcsvc/nis_tags.h: Likewise.
47724 * nis/rpcsvc/yp.h: Likewise.
47725 * nis/rpcsvc/yp.x: Likewise.
47726 * nis/rpcsvc/ypupd.h: Likewise.
47727 * nis/yp_xdr.c: Likewise.
47728 * nis/ypupdate_xdr.c: Likewise.
47729
2f3e3dc7
UD
47730 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47731 mainly the body of pmap_getport. Add parameters to specify timeouts.
47732 (pmap_getport): Use __libc_rpc_getport.
47733 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47734 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47735 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47736
f3dcc2f9
AS
477372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47738
47739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47740 fanotify_mark.
47741
6d34eb5b
RM
477422010-08-27 Roland McGrath <roland@redhat.com>
47743
47744 * sysdeps/i386/i686/multiarch/Makefile
47745 (CFLAGS-varshift.c): New variable.
47746
9ea3de11
UD
477472010-08-27 Ulrich Drepper <drepper@redhat.com>
47748
c96d23fc
UD
47749 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47750 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47751
9ea3de11
UD
47752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47753
47754 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47755
623aac7f
L
477562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47757
47758 * sysdeps/x86_64/strlen.S: Unroll the loop.
47759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47760 strlen-sse2 strlen-sse2-bsf.
47761 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47762 __strlen_no_bsf if bit_Slow_BSF is set.
47763 (__strlen_sse42): Removed.
47764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47765 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47766
8b2b7715
RM
477672010-08-25 Roland McGrath <roland@redhat.com>
47768
47769 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47770 * sysdeps/x86_64/multiarch/varshift.c: New file.
47771 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47772 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47773 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47774 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47775
e73015f2
L
477762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47777
47778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47779 strlen-sse2 strlen-sse2-bsf.
47780 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47781 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47782 (__strlen_sse2): Removed.
47783 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47784 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47786 bit_Slow_BSF for Atom.
47787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47788 (index_Slow_BSF): Define.
47789 (HAS_SLOW_BSF): Define.
47790
df24a73e
UD
477912010-08-25 Ulrich Drepper <drepper@redhat.com>
47792
47793 [BZ #10851]
47794 * resolv/res_init.c (__res_vinit): When no server address at all
47795 is given default to loopback.
47796
f2ac4868
RM
477972010-08-24 Roland McGrath <roland@redhat.com>
47798
09055553
RM
47799 * configure.in: Remove config-name.h generation.
47800 * configure: Regenerated.
47801 * config-name.in: File removed.
47802 * scripts/config-uname.sh: New file.
47803 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47804 ($(objdir)config-name.h): New target.
47805
f2ac4868
RM
47806 * sunrpc/rpc_parse.h: Avoid nested comment.
47807
73f27d5e
RH
478082010-08-24 Richard Henderson <rth@redhat.com>
47809 Ulrich Drepper <drepper@redhat.com>
47810 H.J. Lu <hongjiu.lu@intel.com>
47811
47812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47814 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47815 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47816 _mm_alignr_epi8 with _mm_loadu_si128.
47817 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47818 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47819 (__m128i_shift_right): Removed.
47820 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47821 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47822 * sysdeps/x86_64/multiarch/varshift.h: New file.
47823 * sysdeps/x86_64/multiarch/varshift.S: New file.
47824
84b9230c
MF
478252010-08-21 Mike Frysinger <vapier@gentoo.org>
47826
47827 * configure.in: Move assembler checks to before sysdep dir checking.
47828
9bbd0ddc
PB
478292010-08-20 Petr Baudis <pasky@suse.cz>
47830
47831 * LICENSES: Sync the sunrpc license.
47832
9da4bb31
UD
478332010-08-19 Ulrich Drepper <drepper@redhat.com>
47834
a7ab6ec8
UD
47835 * sunrpc/auth_des.c: Update copyright notice once again.
47836 * sunrpc/auth_none.c: Likewise.
47837 * sunrpc/auth_unix.c: Likewise.
47838 * sunrpc/authdes_prot.c: Likewise.
47839 * sunrpc/authuxprot.c: Likewise.
47840 * sunrpc/bindrsvprt.c: Likewise.
47841 * sunrpc/clnt_gen.c: Likewise.
47842 * sunrpc/clnt_perr.c: Likewise.
47843 * sunrpc/clnt_raw.c: Likewise.
47844 * sunrpc/clnt_simp.c: Likewise.
47845 * sunrpc/clnt_tcp.c: Likewise.
47846 * sunrpc/clnt_udp.c: Likewise.
47847 * sunrpc/clnt_unix.c: Likewise.
47848 * sunrpc/des_crypt.c: Likewise.
47849 * sunrpc/des_soft.c: Likewise.
47850 * sunrpc/get_myaddr.c: Likewise.
47851 * sunrpc/getrpcport.c: Likewise.
47852 * sunrpc/key_call.c: Likewise.
47853 * sunrpc/key_prot.c: Likewise.
47854 * sunrpc/openchild.c: Likewise.
47855 * sunrpc/pm_getmaps.c: Likewise.
47856 * sunrpc/pm_getport.c: Likewise.
47857 * sunrpc/pmap_clnt.c: Likewise.
47858 * sunrpc/pmap_prot.c: Likewise.
47859 * sunrpc/pmap_prot2.c: Likewise.
47860 * sunrpc/pmap_rmt.c: Likewise.
47861 * sunrpc/rpc/auth.h: Likewise.
47862 * sunrpc/rpc/auth_unix.h: Likewise.
47863 * sunrpc/rpc/clnt.h: Likewise.
47864 * sunrpc/rpc/des_crypt.h: Likewise.
47865 * sunrpc/rpc/key_prot.h: Likewise.
47866 * sunrpc/rpc/netdb.h: Likewise.
47867 * sunrpc/rpc/pmap_clnt.h: Likewise.
47868 * sunrpc/rpc/pmap_prot.h: Likewise.
47869 * sunrpc/rpc/pmap_rmt.h: Likewise.
47870 * sunrpc/rpc/rpc.h: Likewise.
47871 * sunrpc/rpc/rpc_des.h: Likewise.
47872 * sunrpc/rpc/rpc_msg.h: Likewise.
47873 * sunrpc/rpc/svc.h: Likewise.
47874 * sunrpc/rpc/svc_auth.h: Likewise.
47875 * sunrpc/rpc/types.h: Likewise.
47876 * sunrpc/rpc/xdr.h: Likewise.
47877 * sunrpc/rpc_clntout.c: Likewise.
47878 * sunrpc/rpc_cmsg.c: Likewise.
47879 * sunrpc/rpc_common.c: Likewise.
47880 * sunrpc/rpc_cout.c: Likewise.
47881 * sunrpc/rpc_dtable.c: Likewise.
47882 * sunrpc/rpc_hout.c: Likewise.
47883 * sunrpc/rpc_main.c: Likewise.
47884 * sunrpc/rpc_parse.c: Likewise.
47885 * sunrpc/rpc_parse.h: Likewise.
47886 * sunrpc/rpc_prot.c: Likewise.
47887 * sunrpc/rpc_sample.c: Likewise.
47888 * sunrpc/rpc_scan.c: Likewise.
47889 * sunrpc/rpc_scan.h: Likewise.
47890 * sunrpc/rpc_svcout.c: Likewise.
47891 * sunrpc/rpc_tblout.c: Likewise.
47892 * sunrpc/rpc_util.c: Likewise.
47893 * sunrpc/rpc_util.h: Likewise.
47894 * sunrpc/rpcinfo.c: Likewise.
47895 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47896 * sunrpc/rpcsvc/key_prot.x: Likewise.
47897 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47898 * sunrpc/rpcsvc/mount.x: Likewise.
47899 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47900 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47901 * sunrpc/rpcsvc/rex.x: Likewise.
47902 * sunrpc/rpcsvc/rstat.x: Likewise.
47903 * sunrpc/rpcsvc/rusers.x: Likewise.
47904 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47905 * sunrpc/rpcsvc/spray.x: Likewise.
47906 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47907 * sunrpc/rtime.c: Likewise.
47908 * sunrpc/svc.c: Likewise.
47909 * sunrpc/svc_auth.c: Likewise.
47910 * sunrpc/svc_authux.c: Likewise.
47911 * sunrpc/svc_raw.c: Likewise.
47912 * sunrpc/svc_run.c: Likewise.
47913 * sunrpc/svc_simple.c: Likewise.
47914 * sunrpc/svc_tcp.c: Likewise.
47915 * sunrpc/svc_udp.c: Likewise.
47916 * sunrpc/svc_unix.c: Likewise.
47917 * sunrpc/svcauth_des.c: Likewise.
47918 * sunrpc/xcrypt.c: Likewise.
47919 * sunrpc/xdr.c: Likewise.
47920 * sunrpc/xdr_array.c: Likewise.
47921 * sunrpc/xdr_float.c: Likewise.
47922 * sunrpc/xdr_mem.c: Likewise.
47923 * sunrpc/xdr_rec.c: Likewise.
47924 * sunrpc/xdr_ref.c: Likewise.
47925 * sunrpc/xdr_sizeof.c: Likewise.
47926 * sunrpc/xdr_stdio.c: Likewise.
47927
9da4bb31
UD
47928 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47929 handling.
47930
bdaa77bc
AS
479312010-08-19 Andreas Schwab <schwab@redhat.com>
47932
47933 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47934
fe2f79db
LM
479352010-08-19 Luis Machado <luisgpm@br.ibm.com>
47936
47937 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47939 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47940 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47941 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47942 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47943 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47944 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47945 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47946 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47947 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47948 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47949 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47950 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47951
b9b42ee0
AB
479522010-07-26 Anton Blanchard <anton@samba.org>
47953
47954 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47955 * malloc/arena.c (heap_trim): Likewise.
47956
1c06ba31
UD
479572010-08-16 Ulrich Drepper <drepper@redhat.com>
47958
47959 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47960 here. Not...
47961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47962 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47963
f8392f40
L
479642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47965
47966 * sysdeps/i386/elf/Makefile: New file.
47967
3162f12e
AS
479682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47969
47970 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47971 from fanotify_init.
47972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47974
28c90b2c
UD
479752010-08-15 Ulrich Drepper <drepper@redhat.com>
47976
47977 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47978 of strncasecmp_l.
1feccb6c 47979 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47980
ca6bb004
UD
479812010-08-14 Ulrich Drepper <drepper@redhat.com>
47982
e9f82e0d
UD
47983 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47984 strncase_l-nonascii.
47985 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47986 Add strncase_l-ssse3.
47987 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47988 * sysdeps/x86_64/strcmp.S: Likewise.
47989 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47990 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47991 * sysdeps/x86_64/strncase.S: New file.
47992 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47993 * sysdeps/x86_64/strncase_l.S: New file.
47994 * string/Makefile (strop-tests): Add strncasecmp.
47995 * string/test-strncasecmp.c: New file.
47996
47997 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47998 warning.
47999
ca6bb004
UD
48000 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48001 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48002
052fa7b3
AS
480032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48004
48005 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48006
962dba78
UD
480072010-08-12 Ulrich Drepper <drepper@redhat.com>
48008
48009 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48010 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48011 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48012
bebff237
AM
480132010-05-01 Alan Modra <amodra@gmail.com>
48014
48015 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48016 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48017 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48018 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48019 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48020 tidying. Don't tail-call __sigjmp_save for static lib.
48021 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48022 save location.
48023 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48024 (CALL_MCOUNT): Add eh info, and nop after bl.
48025 (TAIL_CALL_SYSCALL_ERROR): New macro.
48026 (PSEUDO_RET): Use it.
48027 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48028 Correct save location of integer regs and cr.
48029 (_dl_profile_resolve): Correct cr save location. Delete nops
48030 after bl when SHARED. Reduce cfi size a little by better
48031 placement of cfi directives.
48032 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48033 make a stack frame. Instead use parm save area as a temp.
48034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48035 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48037 Don't make a stack frame for parent, use parm save area.
48038 Increase child stack frame to 112 bytes. Don't save unused reg,
48039 and adjust reg usage. Set up cfi on error recovery and
48040 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48042 (__makecontext): Add dummy nop after jump to exit.
48043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48044 Use correct parm save area and cr save, reduce stack frame.
48045 Correct cfi for possible PSEUDO_RET frame setup.
48046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48047 Branch to local label emitted by PSEUDO_RET rather than
48048 __syscall_error.
48049
02637374
AS
480502010-08-12 Andreas Schwab <schwab@redhat.com>
48051
48052 [BZ #11904]
48053 * locale/programs/locale.c (print_assignment): New function.
48054 (show_locale_vars): Use it.
48055
c3e2f19b
UD
480562010-08-11 Ulrich Drepper <drepper@redhat.com>
48057
3cdaa6ad
UD
48058 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48059 field.
48060 (struct statfs64): Likewise.
48061 (_STATFS_F_FLAGS): Define.
48062 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48063 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48064 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48065 (ST_VALID): Define locally.
48066 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48067 __statvfs_getflags, use the provided value.
48068 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48069 __ASSUME_STATFS_F_FLAGS.
48070
754f7da3
UD
48071 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48072
10b3bedc
UD
48073 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48074 Add sys/fanotify.h.
48075 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48076 fanotify_mask for GLIBC_2.13.
48077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48078 fanotify_init and fanotify_mark.
48079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48080 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48081
c08fb0d7
UD
48082 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48083 Add prlimit.
48084 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48085 prlimit64 for GLIBC_2.13.
48086 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48087 prlimit64.
48088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48089 syscall.
48090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48091 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48092 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48095 add prlimit alias.
48096 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48097
15bac72b
UD
48098 [BZ #11903]
48099 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48100 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48101
c3e2f19b
UD
48102 * nss/Makefile: Add rules to build and run tst-nss-test1.
48103 * shlib-versions: Add entry for libnss_test1.
48104 * nss/nss_test1.c: New file.
48105 * nss/tst-nss-test1.c: New file.
48106
48107 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48108 (__nss_configure_lookup): Set appropriate entry in
48109 __nss_configure_lookup to true.
48110 * nss/nsswitch.h: Define enum with indeces of databases in
48111 databases and __nss_database_custom arrays. Declare
48112 __nss_database_custom.
48113 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48114 to avoid using nscd when custom rules are installed.
48115 * nss/getXXbyYY_r.c: Likewise.
48116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48117
48118 * nss/nss_files/files-parse.c: Whitespace fixes.
48119
f15ce4d8
UD
481202010-08-09 Ulrich Drepper <drepper@redhat.com>
48121
48122 [BZ #11883]
48123 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48124 * posix/fnmatch_loop.c: Likewise.
48125
d22e4cc9
AK
481262010-07-17 Andi Kleen <ak@linux.intel.com>
48127
48128 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48129 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48130 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48131 * Versions.def [GLIBC_2.13]: Add.
48132
805bc17d
UD
481332010-08-06 Ulrich Drepper <drepper@redhat.com>
48134
48135 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48136 Also fail if tpwd after pwuid call is NULL.
48137
5a42321d
ST
481382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48139
48140 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48141 when converting to ms.
48142
fd3ebeda
ST
481432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48144
48145 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48146 EOPNOTSUPP errors with ENOTTY.
48147 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48148 EOPNOTSUPP errors with ENOTTY.
48149
73507d3a
UD
481502010-07-31 Ulrich Drepper <drepper@redhat.com>
48151
48152 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48153 Add strcasecmp_l-ssse3.
48154 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48155 strcasecmp.
48156 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48157 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48158 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48159
fe36dd02
UD
481602010-07-30 Ulrich Drepper <drepper@redhat.com>
48161
66f6765a
UD
48162 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48163
42e08a54
UD
48164 * string/Makefile (strop-tests): Add strcasecmp.
48165 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48166 strcasecmp_l-nonascii.
48167 (gen-as-const-headers): Add locale-defines.sym.
48168 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48169 * sysdeps/x86_64/strcasecmp.S: New file.
48170 * sysdeps/x86_64/strcasecmp_l.S: New file.
48171 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48172 * sysdeps/x86_64/locale-defines.sym: New file.
48173 * string/test-strcasecmp.c: New file.
48174
fe36dd02
UD
48175 * string/test-strcasestr.c: Test both ends of the range of characters.
48176 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48177
48cbc0d6
RM
481782010-07-29 Roland McGrath <roland@redhat.com>
48179
76e6d6bc 48180 [BZ #11856]
48cbc0d6
RM
48181 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48182
880113d9
UD
481832010-07-27 Ulrich Drepper <drepper@redhat.com>
48184
48185 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48186 for ld.so.
48187
deb9cabb
AS
481882010-07-27 Andreas Schwab <schwab@redhat.com>
48189
48190 * manual/memory.texi (Malloc Tunable Parameters): Document
48191 M_PERTURB.
48192
1c7570ff
RM
481932010-07-26 Roland McGrath <roland@redhat.com>
48194
48195 [BZ #11840]
48196 * configure.in (-fgnu89-inline check): Set and substitute
48197 gnu89_inline, not libc_cv_gnu89_inline.
48198 * configure: Regenerated.
48199 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48200
24fb0f88
UD
482012010-07-26 Ulrich Drepper <drepper@redhat.com>
48202
48203 * string/test-strnlen.c: New file.
48204 * string/Makefile (strop-tests): Add strnlen.
48205 * string/tester.c (test_strnlen): Add a few more test cases.
48206 * string/tst-strlen.c: Better error reporting.
48207
48208 * sysdeps/x86_64/strnlen.S: New file.
48209
8e96b93a
UD
482102010-07-24 Ulrich Drepper <drepper@redhat.com>
48211
48212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48213 lower-latency instructions.
48214
dbc676d4
UD
482152010-07-23 Ulrich Drepper <drepper@redhat.com>
48216
48217 * string/test-strcasestr.c: New file.
48218 * string/test-strstr.c: New file.
48219 * string/Makefile (strop-tests): Add strstr and strcasestr.
48220 * string/str-two-way.h: Don't undefine MAX.
48221 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48222
f6a31e0e
AS
482232010-07-21 Andreas Schwab <schwab@redhat.com>
48224
48225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48226 strcasestr-nonascii.
48227 (CFLAGS-strcasestr-nonascii.c): Define.
48228 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48230 Remove unused attribute.
48231
5dbc3b6c
RM
482322010-07-20 Roland McGrath <roland@redhat.com>
48233
48234 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48235 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48236 ld.so.cache was broken. With it, there is no way to disable dsocaps
48237 like LD_HWCAP_MASK can disable hwcaps.
48238
23d101d8
EPM
482392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48240
48241 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48242
cc9f2e47
UD
482432010-07-16 Ulrich Drepper <drepper@redhat.com>
48244
48245 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48246 call in strcasestr.
48247 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48248 __strcasestr_sse42_nonascii.
48249 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48250 strcasestr-nonascii.c.
48251 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48252
77c1b069
LM
482532010-06-15 Luis Machado <luisgpm@br.ibm.com>
48254
48255 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48256 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48257 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48258 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48259
440566c3
UD
482602010-07-09 Ulrich Drepper <drepper@redhat.com>
48261
48262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48263 fcntl.
48264
5be9d05d
AS
482652010-07-06 Andreas Schwab <schwab@redhat.com>
48266
c30b7ee2 48267 [BZ #11577]
5be9d05d
AS
48268 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48269 dl_signal_cerror.
48270
8a492a67
UD
482712010-07-06 Ulrich Drepper <drepper@redhat.com>
48272
48273 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48274 _PC_PIPE_BUF using F_GETPIPE_SZ.
48275
713df3d5
RM
482762010-07-05 Roland McGrath <roland@redhat.com>
48277
48278 * manual/arith.texi (Rounding Functions): Fix rint description
48279 implicit in round description.
48280
702e8f14
UD
482812010-07-02 Ulrich Drepper <drepper@redhat.com>
48282
48283 * elf/Makefile: Fix linking for a few tests to make recent linker
48284 happy.
48285
52ed8be9
AS
482862010-06-30 Andreas Schwab <schwab@redhat.com>
48287
48288 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48289 $(common-objpfx)libc_nonshared.a.
48290
f47c9a11
LM
482912010-06-21 Luis Machado <luisgpm@br.ibm.com>
48292
48293 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48294 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48295 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48296 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48297 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48298 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48299 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48300 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48315 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48316 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48317 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48318 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48319 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48320 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48321 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48322 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48323 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48324 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48325 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48326 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48341
6fb8cbcb
L
483422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48343
48344 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48345 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48346 * string/memmove.c (memmove): Renamed to ...
48347 (MEMMOVE): ...this. Default to memmove.
48348 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48349 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48350 (END_CHK): Define.
48351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48352 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48353 mempcpy-ssse3-back memmove-ssse3-back.
48354 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48357 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48358 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48359 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48360 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48361 * sysdeps/x86_64/multiarch/memmove.c: New file.
48362 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48363 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48364 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48365 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48366 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48368 Define.
48369 (index_Fast_Copy_Backward): Define.
48370 (HAS_ARCH_FEATURE): Define.
48371 (HAS_FAST_REP_STRING): Define.
48372 (HAS_FAST_COPY_BACKWARD): Define.
48373
4e733bac 483742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48375
48376 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48377 Restore proper fallback handling.
48378
63c4ed22
UD
483792010-06-19 Ulrich Drepper <drepper@redhat.com>
48380
ac2b484c
UD
48381 [BZ #11701]
48382 * posix/group_member.c (__group_member): Correct checking loop.
48383
63c4ed22
UD
48384 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48385 OOM in getpwuid_r correctly. Return error number when the caller
48386 should return, otherwise -1.
48387 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48388 call returning > 0 value.
48389 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48390
765ade4b
AS
483912010-06-07 Andreas Schwab <schwab@redhat.com>
48392
48393 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48394 libc_nonshared.a from targets in modules-names.
48395
80da2e09
KS
483962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48397
48398 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48399 requires it.
48400
158db122
LM
484012010-06-10 Luis Machado <luisgpm@br.ibm.com>
48402
48403 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48404 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48406 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48407
caa78cf8
AS
484082010-06-02 Andreas Schwab <schwab@redhat.com>
48409
48410 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48411
b2ef2c01
UD
484122010-06-14 Ulrich Drepper <drepper@redhat.com>
48413
48414 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48415 and F_GETPIPE_SZ.
48416 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48421 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48422
fbd643b6
RM
484232010-06-14 Roland McGrath <roland@redhat.com>
48424
48425 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48426
f32f2869
JJ
484272010-06-07 Jakub Jelinek <jakub@redhat.com>
48428
48429 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48430 __REDIRECT followed by __THROW.
48431 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48432 * posix/getopt.h (getopt): Likewise.
48433
2a50c078
EPM
484342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48435
48436 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48437 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48438 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48439 in AT_FLAGS.
48440 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48441 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48442
eb5ad2eb
LM
484432010-05-28 Luis Machado <luisgpm@br.ibm.com>
48444
48445 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48446
3c88fe1e
L
484472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48448
48449 [BZ #11640]
48450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48451 Properly check family and model.
48452
d2f73151
TY
484532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48454
48455 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48456
ebd2e13d
LM
484572010-05-24 Luis Machado <luisgpm@br.ibm.com>
48458
48459 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48460
b32b8b45
UD
484612010-05-21 Ulrich Drepper <drepper@redhat.com>
48462
48463 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48464 symbol reference.
48465
9acbe24d
AS
484662010-05-19 Andreas Schwab <schwab@redhat.com>
48467
48468 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48469 symbol reference.
48470
f0ccf6ea
AS
484712010-05-21 Andreas Schwab <schwab@redhat.com>
48472
3d04ff3a
AS
48473 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48474 and internal_recvmmsg.
48475 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48476 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48477 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48478 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48479
f0ccf6ea
AS
48480 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48481 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48482 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48483
5b08ac57
AS
484842010-05-20 Andreas Schwab <schwab@redhat.com>
48485
48486 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48487
4828935d
LM
484882010-05-17 Luis Machado <luisgpm@br.ibm.com>
48489
48490 POWER7 optimizations.
48491 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48492 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48493
373d545e
UD
484942010-05-19 Ulrich Drepper <drepper@redhat.com>
48495
48496 * version.h: Update for 2.13 development version.
48497
21a2b1ae
AS
484982010-05-12 Andrew Stubbs <ams@codesourcery.com>
48499
48500 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48501 exceptions. Return 0.
48502
3f7dcb2b
RM
485032010-05-07 Roland McGrath <roland@redhat.com>
48504
48505 * elf/ldconfig.c (main): Add a const.
48506
5f24d53a 485072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48508
a160f8d8
UD
48509 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48510 (args_options): Add no-idn option.
48511 (ahosts_keys_int): Add idn_flags to ai_flags.
48512 (parse_option): Handle 'i' option to clear idn_flags.
48513
5f24d53a
UD
48514 * malloc/malloc.c (_int_free): Possible race in the most recently
48515 added check. Only act on the data if no current modification
48516 happened.
265bb1ce
UD
48517
48518See ChangeLog.17 for earlier changes.
This page took 6.977054 seconds and 5 git commands to generate.