]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo and formatting in loadmsgcat.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
256aa665
SP
12014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2
d4eb8195
SP
3 * intl/loadmsgcat.c: Remove declaration of
4 get_sysdep_segment_value.
5 (get_sysdep_segment_value): Use ISO C style.
6 (_nl_load_domain): Use ISO C style. Get rid of redundant
7 semicolon. Fix typo and formatting in comment.
8 (_nl_unload_domain): Use ISO C style.
9
256aa665
SP
10 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11
b100f9aa
WN
122014-07-02 Will Newton <will.newton@linaro.org>
13
14 * malloc/obstack.c: Merge from gnulib master.
15 [HAVE_CONFIG_H]: Remove conditional code.
16 [!_LIBC]: Include config.h.
17 [!ELIDE_CODE]: Don't include inttypes.h, include
18 stdint.h unconditionally.
19 (print_and_abort): Mark as _Noreturn.
20 (_obstack_allocated_p): Mark as __attribute_pure__.
21 (obstack_free): Rename to __obstack_free.
22 [!__attribute__]: Remove conditional code.
23 * malloc/obstack.h: Merge from gnulib master.
24 [__cplusplus]: Move conditional down.
25 [!__attribute_pure__]: Define __attribute_pure__ here
26 if it is not already defined.
27 (_obstack_memory_used): Mark as __attribute_pure__.
28 [!__obstack_free]: Define as obstack_free.
29 [__GNUC__]: Remove check for ancient NeXT gcc.
30
c4c41244
PE
312014-07-02 Will Newton <will.newton@linaro.org>
32 Paul Eggert <eggert@cs.ucla.edu>
33
34 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35
e1e041c4
SP
362014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37
38 * resolv/gethnamaddr.c: Add comment warning that the file is
39 not maintained.
40
ccf431ff
CD
412014-07-01 Carlos O'Donell <carlos@redhat.com>
42
d34570a6
CD
43 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44 entries.
45
ccf431ff
CD
46 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47 entry for aio_cancel and aio_cancel64.
48 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
49 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
50 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
51 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
52 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
53 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
54 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
55 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
56 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
57 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
58 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
59 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
60 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
61
ca06321d
RM
622014-07-01 Roland McGrath <roland@hack.frob.com>
63
64 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
65 * nptl/pthread_mutex_lock.c: Likewise.
66 * nptl/pthread_mutex_timedlock.c: Likewise.
67 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
68
a1ac3184
RH
692014-07-01 Richard henderson <rth@redhat.com>
70
631021e0
RH
71 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
72 (__isnan, __isnanl): Remove.
73 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
74
a1ac3184
RH
75 * sysdeps/alpha/fpu/libm-test-ulps: Update.
76
0c1d731f
SL
772014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
78
79 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
80
76985d3e
SP
812014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
82
83 * resolv/nss_dns/dns-host.c (getanswer_r)
84 [MULTI_PTRS_ARE_ALIASES]: Remove code.
85
b0cb3096
JM
862014-07-01 Joseph Myers <joseph@codesourcery.com>
87
88 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
89 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
90 undefine.
91 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
92 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
93
4d76cb39
RM
942014-07-01 Roland McGrath <roland@hack.frob.com>
95
96 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
97 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
98
99 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
100 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
101
102 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
103 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
104 ... here.
105 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
106 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
107
108 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
109 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
110 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
111 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
112
113 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
114 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
115 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
117 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
118 Moved ...
119 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
120 ... here.
121 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
123 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
125 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
127 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
129 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
131 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
133 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
135 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
137 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
139 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
141 ... here.
142 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
144 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
145 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
146 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
147 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
148 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
149 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
150
0cdcad17
DH
1512014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
152
153 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
154 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
155 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
156 Add sysdep.
157
9b71d0e3
AZ
1582014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159
160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
161
665390c2
JM
1622014-06-30 Joseph Myers <joseph@codesourcery.com>
163
ae05a9d7
JM
164 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
165 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
166
a7672a2f
JM
167 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
168
665390c2
JM
169 * sysdeps/arm/libm-test-ulps: Regenerated.
170
d7a05d07
MR
1712014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
172 Roland McGrath <roland@hack.frob.com>
173
174 * test-skeleton.c (signal_handler): Kill the whole process group
175 before killing the child individually.
176 (main): Report any failure on `setpgid'.
177
46f1d8a6
RM
1782014-06-30 Roland McGrath <roland@hack.frob.com>
179
180 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
181 from _TLS_H to _ARM_NPTL_TLS_H.
182 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
183 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
184
9c37ec0b
JM
1852014-06-30 Joseph Myers <joseph@codesourcery.com>
186
ce9c5b3e
JM
187 [BZ #16539]
188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
189 (__expm1l): Return argument unchanged when small but not
190 subnormal.
191
3a6e9887
JM
192 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
193 include macro name.
194 (_FP_UNPACK_RAW_1_P): Likewise.
195 (_FP_PACK_RAW_1): Likewise.
196 (_FP_PACK_RAW_1_P): Likewise.
197 (_FP_MUL_MEAT_1_wide): Likewise.
198 (_FP_MUL_MEAT_DW_1_hard): Likewise.
199 (_FP_MUL_MEAT_1_hard): Likewise.
200 (_FP_DIV_MEAT_1_imm): Likewise.
201 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
202 (_FP_DIV_MEAT_1_udiv): Likewise.
203 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
204 (_FP_UNPACK_RAW_2): Likewise.
205 (_FP_UNPACK_RAW_2_P): Likewise.
206 (_FP_PACK_RAW_2): Likewise.
207 (_FP_PACK_RAW_2_P): Likewise.
208 (_FP_MUL_MEAT_DW_2_wide): Likewise.
209 (_FP_MUL_MEAT_2_wide): Likewise.
210 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
211 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
212 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
213 (_FP_MUL_MEAT_2_gmp): Likewise.
214 (_FP_DIV_MEAT_2_udiv): Likewise.
215 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
216 (_FP_FRAC_SRL_4): Likewise.
217 (_FP_FRAC_SRST_4): Likewise.
218 (_FP_FRAC_SRS_4): Likewise.
219 (_FP_UNPACK_RAW_4): Likewise.
220 (_FP_UNPACK_RAW_4_P): Likewise.
221 (_FP_PACK_RAW_4): Likewise.
222 (_FP_PACK_RAW_4_P): Likewise.
223 (_FP_MUL_MEAT_DW_4_wide): Likewise.
224 (_FP_MUL_MEAT_4_wide): Likewise.
225 (_FP_MUL_MEAT_4_gmp): Likewise.
226 (umul_ppppmnnn): Likewise.
227 (_FP_DIV_MEAT_4_udiv): Likewise.
228 (__FP_FRAC_ADD_4): Likewise.
229 (__FP_FRAC_SUB_3): Likewise.
230 (__FP_FRAC_SUB_4): Likewise.
231 (__FP_FRAC_DEC_3): Likewise.
232 (__FP_FRAC_DEC_4): Likewise.
233 (__FP_FRAC_ADDI_4): Likewise.
234 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
235 (_FP_FRAC_SRL_8): Likewise.
236 (_FP_FRAC_SRS_8): Likewise.
237
9c37ec0b
JM
238 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
239 include macro name.
240 (FP_UNPACK_RAW_EP): Likewise.
241 (FP_PACK_RAW_E): Likewise.
242 (FP_PACK_RAW_EP): Likewise.
243 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
244 (_FP_ISSIGNAN): Likewise.
245 (_FP_ADD_INTERNAL): Likewise.
246 (_FP_FMA): Likewise.
247 (_FP_CMP): Likewise.
248 (_FP_SQRT): Likewise.
249 (_FP_TO_INT): Likewise.
250 (_FP_FROM_INT): Likewise.
251 (FP_EXTEND): Likewise.
252 (_FP_DIV_MEAT_N_loop): Likewise.
253
2125f674
MR
2542014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
255
256 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
257 throughout.
258
edea4028
JM
2592014-06-29 Joseph Myers <joseph@codesourcery.com>
260
261 [BZ #17097]
262 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
263 result with correct sign in case of exponents that produce
264 overflow except for X very close to 1.
265
dd0ba018
PE
2662014-06-28 Paul Eggert <eggert@cs.ucla.edu>
267
268 mktime: merge #if/#ifdef usage from glibc
269 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
270 as that works with both Glibc's and Gnulib's style.
271 See thread starting at Siddhesh Poyarekar's bug report at:
272 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
273
64df73c2
SP
2742014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
275
276 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
277 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
278 * sysdeps/tile/tilegx/memmove.c: Remove file.
279
f1eafb41
JM
2802014-06-27 Joseph Myers <joseph@codesourcery.com>
281
282 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
283 abi-name definition.
284 * scripts/soversions.awk: Do not handle or generate ABI lines.
285 * shlib-versions: Remove ABI entries.
286 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
287 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
288
58eb0862
RM
2892014-06-27 Roland McGrath <roland@hack.frob.com>
290
37caf178
RM
291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
292 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
293 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
298 Moved ...
299 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
300 ... here.
301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
309 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
312 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
314 Moved ...
315 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
317 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
319 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
321 Moved ...
322 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
324 Moved ...
325 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
329 Moved ...
330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
332 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
334 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
336 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
338 Moved ...
339 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
341 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
342 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
343 Moved ...
344 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
346 Moved ...
347 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
351 Moved ...
352 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
353 ... here.
354 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
355 Identical file removed.
356 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
357 Moved ...
358 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
360 Identical file removed.
361 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
363 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
364 Moved ...
365 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
367 Identical file removed.
368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
370 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
371 Identical file removed.
372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
373 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
374 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
375 Identical file removed.
376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
377 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
379 Identical file removed.
380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
381 Moved ...
382 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
384 Identical file removed.
385 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
386 Moved ...
387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
388 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
389 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
390 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
391 Identical file removed.
392 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
393 Moved ...
394 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
395 ... here.
396 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
397 Identical file removed.
398 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
399 Moved ...
400 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
401 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
402 Identical file removed.
403 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
404 Moved ...
405 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
406 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
410 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
411 Moved ...
412 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
413 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
414 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
415
58eb0862
RM
416 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
417 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
418 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
419 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
420 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
421
6f12d062
AS
4222014-06-27 Arjun Shankar <arjun.is@lostca.se>
423
424 [BZ #17092]
425 * nscd/nscd.c (monitor_child): Return exit status of child
426 instead of return value from wait syscall.
427
be254932
JM
4282014-06-27 Joseph Myers <joseph@codesourcery.com>
429
cb403c34
JM
430 * configure.ac (libc_commonpagesize): Remove variable.
431 (libc_relro_required): Likewise.
432 (libc_cv_z_relro): Remove configure test.
433 * configure: Regenerated.
434 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
435 variable.
436 (libc_relro_required): Likewise.
437 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
438 (libc_relro_required): Likewise.
439 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
440 (libc_relro_required): Likewise.
441 * sysdeps/arm/preconfigure: Regenerated.
442 * sysdeps/ia64/preconfigure: Remove file.
443 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
444 variable.
445 (libc_relro_required): Likewise.
446
be254932
JM
447 [BZ #16561]
448 [BZ #16562]
449 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
450 (__ieee754_yn): Set FE_TONEAREST mode internally and then
451 recompute overflowing results in original rounding mode.
452 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
453 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
454 recompute overflowing results in original rounding mode.
455 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
456 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
457 recompute overflowing results in original rounding mode.
458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
459 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
460 recompute overflowing results in original rounding mode.
461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
462 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
463 recompute overflowing results in original rounding mode.
464 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
465 (libc_feholdsetround_ctx): New macro.
466 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
469
b351d85a
JM
4702014-06-26 Joseph Myers <joseph@codesourcery.com>
471
472 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
473 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
474 corresponding .cpsetup call.
475
3cb4de47
RM
4762014-06-26 Roland McGrath <roland@hack.frob.com>
477
478 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
479 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
480 * sysdeps/arm/Makefile [$(subdir) = csu]
481 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
482 (static-only-routines): Add aeabi_read_tp here.
483 (shared-only-routines): Add libc-aeabi_read_tp here.
484 (CFLAGS-libc-start.c): Add -fexceptions here.
485 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
486 (sysdep_routines, static-only-routines, shared-only-routines):
487 Don't add to these here.
488 (CFLAGS-libc-start.c): Likewise.
489
490 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
491 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
492 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
493 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
494 * sysdeps/arm/Makefile [$(subdir) = rt]
495 (librt-sysdep_routines, librt-shared-only-routines):
496 Append rt-aeabi_unwind_cpp_pr1 here.
497 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
498 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
499 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
500 (libpthread-sysdep_routines, libpthread-shared-only-routines):
501 Append nptl-aeabi_unwind_cpp_pr1 here.
502 (tests): Filter out tst-cleanupx4 here.
503 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
504 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
505 Don't do those here.
506
354426bb
JM
5072014-06-26 Joseph Myers <joseph@codesourcery.com>
508
509 * scripts/list-sources.sh: Do not handle ports specially.
510
28b0a8c9
RM
5112014-06-26 Roland McGrath <roland@hack.frob.com>
512
a3dd035d
RM
513 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
514 * sysdeps/arm/feupdateenv.c: Likewise.
515
28b0a8c9
RM
516 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
517
e66a8203
JM
5182014-06-26 Joseph Myers <joseph@codesourcery.com>
519
520 * manual/texinfo.tex: Update to version 2014-05-05.10 with
521 trailing whitespace removed.
522 * scripts/config.guess: Update to version 2014-03-23.
523 * scripts/config.sub: Update to version 2014-05-01
524 * scripts/install-sh: Update to version 2013-12-25.23.
525 * scripts/move-if-change: Update from gnulib.
526
74171115
SP
5272014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
528
b97c9ce5
SP
529 * debug/memmove_chk.c: Remove pagecopy.h include.
530
4000f892
SP
5312014-06-26 Paul Eggert <eggert@cs.ucla.edu>
532
74171115
SP
533 * time/mktime.c (leapyear): Remove inline keyword. The code is now
534 identical to gnulib mktime.
535
a8779c28
JM
5362014-06-26 Joseph Myers <joseph@codesourcery.com>
537
e64708de
JM
538 * configure.ac: Do not test for machine being rs6000. Do not test
539 for powerpc*-*soft.
540 * configure: Regenerated.
541
a8779c28
JM
542 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
543 test.
544 * configure: Regenerated.
545 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
546 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
547 Remove configure test.
548 * sysdeps/arm/configure: Regenerated.
549 * sysdeps/nptl/configure.ac: Do not check
550 libc_cv_asm_cfi_directives.
551 * sysdeps/nptl/configure: Regenerated.
552 * sysdeps/x86_64/nptl/configure.ac: Remove file.
553 * sysdeps/x86_64/nptl/configure: Remove generated file.
554 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
555 unconditional.
556 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
557
2aac0a86
SP
5582014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
559
059bf913
SP
560 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
561 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
562 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
563 it is defined.
564
4cf5b6d0
SP
565 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
566 instead of whether it is defined.
567 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
568 * sysdeps/hppa/dl-machine.h: Likewise.
569 * sysdeps/ia64/dl-machine.h: Likewise.
570 * sysdeps/m68k/dl-machine.h: Likewise.
571 * sysdeps/microblaze/dl-machine.h: Likewise.
572 * sysdeps/mips/dl-machine.: Likewise.
573 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
574 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
575 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
576 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
577 * sysdeps/sh/dl-machine.h: Likewise.
578 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
579 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
580 * sysdeps/tile/dl-machine.h: Likewise.
581 * sysdeps/x86_64/dl-machine.h: Likewise.
582
2aac0a86
SP
583 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
584 code.
585 (verify_persistent_db): Likewise.
586
6ad2df0b
RM
5872014-06-26 Roland McGrath <roland@hack.frob.com>
588
d8a483f3
RM
589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
590 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
592 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
594 Moved ...
595 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
596 ... here.
597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
600 Identical file removed.
601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
610 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
612 Moved ...
613 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
617 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
619 Moved ...
620 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
622 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
624 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
626 Identical file removed.
627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
628 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
630 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
632 Moved ...
633 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
634 ... here.
635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
636 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
638 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
640 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
642 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
644 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
646 Moved ...
647 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
649 Moved ...
650 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
652 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
654 Moved ...
655 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
657 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
658
52ae23b4
RM
659 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
660 folded into ...
661 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
662 * sysdeps/unix/sysv/linux/s390/Versions
663 (libpthread: GLIBC_2.19): New version set.
664 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
665 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
666 (librt: GLIBC_2.3.3): New version set.
667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
668 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
669 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
670 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
671 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
672 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
673 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
674 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
675 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
676 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
677 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
678 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
679 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
680 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
681 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
682 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
683 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
684 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
685 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
686 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
687 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
688 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
689 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
690 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
691 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
692 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
693 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
695 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
697 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
698 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
699 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
702 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
703 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
705 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
707 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
708 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
709 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
711 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
712
39507e4a
RM
713 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
714 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
715 (__libc_vfork): Define the function under this name.
716 [!NOT_IN_libc] (__vfork): Make this an alias.
717 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
719 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
720 (__libc_vfork): Define the function under this name.
721 [!NOT_IN_libc] (__vfork): Make this an alias.
722 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
723 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
724 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
726 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
727 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
728
e549ee56
RM
729 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
730 code that was previously under [RESET_PID].
731 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
732 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
734
6ad2df0b
RM
735 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
736 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
737 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
738 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
739 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
740 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
741 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
742 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
743 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
745 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
746 Moved ...
747 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
748 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
750 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
752 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
754 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
756 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
758 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
760 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
762 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
764 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
766 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
768 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
770 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
771 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
772 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
773 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
774 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
775 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
776
7c1c1d8e
RM
7772014-06-25 Roland McGrath <roland@hack.frob.com>
778
779 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
780 that was previously under [RESET_PID].
781 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
782
3e239be6
JM
7832014-06-25 Joseph Myers <joseph@codesourcery.com>
784
74385da5
JM
785 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
786 not undefine and redefine.
787 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
788 [O_CLOEXEC]: Make code unconditional.
789 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
790 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
791 <kernel-features.h>.
792 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
793 conditional variable definition.
794 (shm_open) [O_CLOEXEC]: Make code unconditional.
795 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
796 code.
797
c2570a0b
JM
798 * configure.ac (USE_REGPARMS): Don't define here.
799 * configure: Regenerated.
800 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
801 * sysdeps/i386/configure: Regenerated.
802
11b076bb
JM
803 * nptl/createthread.c: Don't include kernel-features.h.
804 * nptl/pthread_cancel.c: Likewise.
805 * nptl/pthread_condattr_setclock.c: Likewise.
806 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
807 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
808 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
809 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
810 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
811 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
812 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
813 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
815 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
816 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
817 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
818 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
819 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
820 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
821 * nscd/gai.c: Likewise.
822 * nss/nss_db/db-open.c: Likewise.
823 * sysdeps/generic/ldsodefs.h: Likewise.
824 * sysdeps/sh/nptl/tls.h: Likewise.
825 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
826 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
827 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
828 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
829 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
830 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
831 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
832 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
834 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
835 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
836 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
837 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
838 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
839 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
840 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
841 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
842 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
843 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
844 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
845 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
846 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
847 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
848 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
849 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
851 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
852 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
853 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
854 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
855 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
856 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
857 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
860 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
861 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
862 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
863 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
864 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
865 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
866 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
867 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
868 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
869 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
870 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
871 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
872 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
873 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
874 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
875 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
876 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
877 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
878 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
879 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
880 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
882 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
905 * sysdeps/unix/sysv/linux/pread.c: Likewise.
906 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
907 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
908 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
909 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
910 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
911 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
912 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
913 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
914 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
915 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
916 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
917 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
918 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
919 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
920 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
922 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
923 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
924 * sysdeps/unix/sysv/linux/system.c: Likewise.
925 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
926 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
927 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
928 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
929 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
931 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
932
92072d57
JM
933 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
934 * configure: Regenerated.
935 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
936
3e239be6
JM
937 * configure.ac (base_machine): Do not set specially for particular
938 machines here.
939 * configure: Regenerated.
940 * sysdeps/powerpc/preconfigure: Move machine and base_machine
941 settings from configure.ac.
942 * sysdeps/i386/preconfigure: New file.
943 * sysdeps/s390/preconfigure: Likewise.
944 * sysdeps/sh/preconfigure: Likewise.
945 * sysdeps/sparc/preconfigure: Likewise.
946
06d50baa
RM
9472014-06-25 Roland McGrath <roland@hack.frob.com>
948
74836003
RM
949 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
950 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
951 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
952 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
953 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
954 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
955 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
956 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
957 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
958 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
959 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
960 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
961 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
962 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
963 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
964 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
965 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
966 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
967 * sysdeps/sparc/sparc64/Makefile: ... appended here.
968
969 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
970 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
971 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
972 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
973 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
974 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
975 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
976 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
977 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
978 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
979 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
980 * sysdeps/sparc/sparc32/sem_post.c: ... here.
981 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
982 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
983 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
984 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
985 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
986 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
987 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
988 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
989 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
990 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
991 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
992 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
993 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
994 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
995 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
996 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
997 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
998 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
999 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1000 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1001 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1002 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1003 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1004 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1005 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1006 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1007
06d50baa
RM
1008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1013 Moved ...
1014 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1015 ... here.
1016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1017 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1019 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1021 Moved ...
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1030 Moved ...
1031 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1033 Moved ...
1034 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1036 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1038 Moved ...
1039 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1049 Moved ...
1050 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1051 ... here.
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1053 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1057 Moved ...
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1062 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1066 Moved ...
1067 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1069 Moved ...
1070 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1072 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1074 Moved ...
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1080
a4ccbc9b
JM
10812014-06-25 Joseph Myers <joseph@codesourcery.com>
1082
0828edbf
JM
1083 * timezone/checktab.awk: Update from tzcode 2014e.
1084 * timezone/private.h: Likewise.
1085 * timezone/tzfile.h: Likewise.
1086 * timezone/zdump.c: Likewise.
1087 * timezone/zic.c: Likewise.
1088
a4ccbc9b
JM
1089 * sysdeps/unix/sysv/linux/kernel-features.h
1090 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1091 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1092 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1093 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1094 Remove conditional code.
1095
9aea0cb8
WN
10962014-06-25 Will Newton <will.newton@linaro.org>
1097
1098 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1099 (_dl_arm_cap_flags): Add HWCAP2 values.
1100 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1101 (_DL_HWCAP_COUNT): Increase to 37.
1102 (_DL_HWCAP_LAST): New define.
1103 (_DL_HWCAP2_LAST): New define.
1104 (_dl_procinfo): Add support for printing
1105 AT_HWCAP2 entries.
1106 (_dl_string_hwcap): Use _dl_hwcap_string.
1107
6eaa65ce
AZ
11082014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1109
1110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1111
0f5b7185
JM
11122014-06-25 Joseph Myers <joseph@codesourcery.com>
1113
cfd2ea50
JM
1114 * README: Do not mention ports directory.
1115
cecf2ed4
JM
1116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1117 Remove macro.
1118 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1119 <kernel-features.h>.
1120 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1121 conditional variable definition.
1122 (__futimes): Update comment.
1123 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1124 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1125
a638de82
JM
1126 [BZ #16560]
1127 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1128 arguments close to 0.
1129 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1130 Likewise.
1131 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1132 Likewise.
1133 * math/auto-libm-test-in: Add more tests of exp10.
1134 * math/auto-libm-test-out: Regenerated.
1135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1136
0f5b7185
JM
1137 * sysdeps/unix/sysv/linux/kernel-features.h
1138 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1139 * sysdeps/unix/sysv/linux/readv.c: Do not include
1140 <kernel-features.h>.
1141 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1142 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1143 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1144 unconditional.
1145 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1146 conditional code.
1147 * sysdeps/unix/sysv/linux/writev.c: Do not include
1148 <kernel-features.h>.
1149 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1150 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1151 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1152 unconditional.
1153 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1154 conditional code.
1155
c7aec4be
WN
11562014-06-25 Will Newton <will.newton@linaro.org>
1157
1158 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1159 comment changes throughout the file. Remove checks
1160 for HAVE_*_H definitions that are not required.
1161 (__gen_tempname): Call abort if an unknown kind value is
1162 passed.
1163
c5241f95
AS
11642014-06-25 Andreas Schwab <schwab@suse.de>
1165
1166 [BZ #17086]
1167 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1168 scalbln, scalblnf, scalblnl in libc.
1169
911422da
SP
11702014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1171
1172 [BZ #17086]
1173 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1174 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1175 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1176
0d749bbe
RM
11772014-06-24 Roland McGrath <roland@hack.frob.com>
1178
1179 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1180 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1181 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1182 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1183 Update #include.
1184 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1185 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1186 Update #include.
1187 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1188 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1189 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1190 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1191 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1192 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1193 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1194 * sysdeps/x86/bits/semaphore.h: ... here.
1195 * sysdeps/x86/nptl/elide.h: Moved ...
1196 * sysdeps/x86/elide.h: ... here.
1197 * sysdeps/x86_64/nptl/Implies: File removed.
1198 * sysdeps/i386/nptl/Implies: File removed.
1199
0ea5d373
JM
12002014-06-24 Joseph Myers <joseph@codesourcery.com>
1201
4060283d
JM
1202 [BZ #16539]
1203 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1204 return the argument for normal arguments with exponent below -64.
1205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1206 Likewise.
1207 * math/auto-libm-test-in: Add another test of expm1.
1208 * math/auto-libm-test-out: Regenerated.
1209
e7dd3c8c
JM
1210 [BZ #16287]
1211 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1212 calling __erfcl for arguments at least 16.
1213 * math/auto-libm-test-in: Add more tests of erf.
1214 * math/auto-libm-test-out: Regenerated.
1215
0ea5d373
JM
1216 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1217 individual architectures.
1218 * sysdeps/unix/sysv/linux/configure: Regenerated.
1219 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1220 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1221 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1222 (ldd_rewrite_script): Define variable.
1223 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1225 file.
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1227 generated file.
1228 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1229 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1230 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1231 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1232 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1233 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1234 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1235 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1236
2307e126
SP
12372014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1238
1239 [BZ #17084]
1240 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1241 Rename member __data.d to __data.__elision_data.
1242
c0a4ed77
W
12432014-06-24 Wilco <wdijkstr@arm.com>
1244
1245 * NEWS: Add 16918 to fixed bug list.
1246
b8c00573
W
12472014-06-24 Wilco <wdijkstr@arm.com>
1248
1249 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1250
b5570d92
W
12512014-06-24 Wilco <wdijkstr@arm.com>
1252
1253 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1254 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1255 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1256 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1257 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1258 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1259 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1260 Use _FPU_MASK_RM.
1261
947bdca2
W
12622014-06-24 Wilco <wdijkstr@arm.com>
1263
1264 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1265
00f669ed
W
12662014-06-24 Wilco <wdijkstr@arm.com>
1267
1268 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1269 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1270 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1271 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1272
db59bad3
W
12732014-06-24 Wilco <wdijkstr@arm.com>
1274
1275 [BZ #16918]
1276 * sysdeps/arm/feupdateenv.c (feupdateenv):
1277 Rewrite to reduce FPSCR accesses and fix return value.
1278
001f7b77
W
12792014-06-24 Wilco <wdijkstr@arm.com>
1280
1281 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1282 Optimize to avoid unnecessary FPSCR writes.
1283 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1284 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1285 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1286 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1287
4841e6a6
W
12882014-06-24 Wilco <wdijkstr@arm.com>
1289
1290 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1291 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1292 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1293 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1294 Call libc_fetestexcept_vfp.
1295 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1296 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1297 __SOFTFP__ ifdef so that they can be built for softfp.
1298
0813022c
SP
12992014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1300
08e5862f
SP
1301 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1302 argument type signed char.
1303
0813022c
SP
1304 * Makerules (check-abi): Dump diff of symlist if the test
1305 fails.
1306
3fc7236a
RM
13072014-06-23 Roland McGrath <roland@hack.frob.com>
1308
aba8ef95
RM
1309 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1310 using abort.
1311
3fc7236a
RM
1312 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1313 Remove unused variable ST.
1314
4da6db51
JM
13152014-06-23 Joseph Myers <joseph@codesourcery.com>
1316
4648909d
JM
1317 [BZ #16354]
1318 [BZ #17061]
1319 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1320 small arguments before calling __expm1.
1321 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1322 small arguments before calling __expm1f.
1323 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1324 small arguments before calling __expm1l.
1325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1326 Likewise.
1327 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1328 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1329 spurious underflow for some cosh tests.
1330 * math/auto-libm-test-out: Regenerated.
1331 * sysdeps/i386/fpu/libm-test-ulps: Update.
1332
46a3d3c7
JM
1333 [BZ #17050]
1334 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1335 (__ieee754_y1): Set errno if return value overflows.
1336 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1337 (__ieee754_y1f): Set errno if return value overflows.
1338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1339 (__ieee754_y1l): Set errno if return value overflows.
1340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1341 (__ieee754_y1l): Set errno if return value overflows.
1342 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1343 * math/auto-libm-test-out: Regenerated.
1344
863893ec
JM
1345 * math/gen-auto-libm-tests.c: Document use of
1346 ignore-zero-inf-sign.
1347 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1348 (input_flags): Add ignore-zero-inf-sign.
1349 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1350 * math/gen-libm-test.pl (generate_testfile): Handle
1351 ignore-zero-inf-sign.
1352 * math/auto-libm-test-in: Mark some cpow tests with
1353 ignore-zero-inf-sign and some with xfail-rounding.
1354 * math/auto-libm-test-out: Regenerated.
1355 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1356 * sysdeps/i386/fpu/libm-test-ulps: Update.
1357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1358
4da6db51
JM
1359 [BZ #16315]
1360 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1361 overflowing or underflowing operations take place with sign of
1362 result.
1363 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1364 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1365 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1366 (__ieee754_pow): Recompute overflowing and underflowing results in
1367 original rounding mode.
1368 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1369 (__powl_helper): Allow negative argument X and scale negated value
1370 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1371 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1372 overflowing or underflowing operations take place with sign of
1373 result.
1374 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1375 Include <math.h>.
1376 * math/auto-libm-test-in: Add more tests of pow.
1377 * math/auto-libm-test-out: Regenerated.
1378 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1379 (pow_tonearest_test_data): Remove.
1380 (pow_test_tonearest): Likewise.
1381 (pow_towardzero_test_data): Likewise.
1382 (pow_test_towardzero): Likewise.
1383 (pow_downward_test_data): Likewise.
1384 (pow_test_downward): Likewise.
1385 (pow_upward_test_data): Likewise.
1386 (pow_test_upward): Likewise.
1387 (main): Don't call removed functions.
1388 * sysdeps/i386/fpu/libm-test-ulps: Update.
1389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1390
5686b236
RM
13912014-06-23 Roland McGrath <roland@hack.frob.com>
1392
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1394 Moved ...
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1397 Moved ...
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1400 Moved ...
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1403 Moved ...
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1406 File removed.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1408 File removed.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1410 File removed.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1412 File removed.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1414 File removed.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1416 File removed.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1418 File removed.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1420 File removed.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1422 File removed.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1424 File removed.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1426 File removed.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1428 File removed.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1430 Moved ...
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1433 Moved ...
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1435 ... here.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1437 Moved ...
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1440 Moved ...
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1443 Moved ...
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1446 Moved ...
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1452 Moved ...
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1455 Moved ...
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1459 ... here.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1461 Moved ...
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1464 Moved ...
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1466 ... here.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1468 Moved ...
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1470 ... here.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1472 Moved ...
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1474 ... here.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1476 Moved ...
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1479 Moved ...
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1484 Moved ...
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1486 ... here.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1488 Moved ...
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1490 ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1492 Moved ...
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1495 Moved ...
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1498 Moved ...
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1501 Moved ...
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1504 Moved ...
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1506 ... here.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1508 Moved ...
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1511 Moved ...
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1514 Moved ...
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1517 Moved ...
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1522 Moved ...
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1525 Moved ...
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1528 Moved ...
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1530 ... here.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1532 Moved ...
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1534 ... here.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1536 Moved ...
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1538 ... here.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1543 Moved ...
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1546 Moved ...
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1549 Moved ...
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1551 ... here.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1553 Moved ...
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1555 ... here.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1557 Moved ...
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1559 ... here.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1561 Moved ...
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1564 Moved ...
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1566
e6d90d67
WD
15672014-06-23 Will Newton <will.newton@linaro.org>
1568 Wilco <wdijkstr@arm.com>
1569
1570 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1571 implementation. Include get-rounding-mode.h.
1572 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1573 [!libc_feholdsetround_noex_ctx]: Define
1574 libc_feholdsetround_noex_ctx.
1575 [!libc_feholdsetround_noexf_ctx]: Define
1576 libc_feholdsetround_noexf_ctx.
1577 [!libc_feholdsetround_noexl_ctx]: Define
1578 libc_feholdsetround_noexl_ctx.
1579 (libc_feholdsetround_ctx): New function.
1580 (libc_feresetround_ctx): New function.
1581 (libc_feholdsetround_noex_ctx): New function.
1582 (libc_feresetround_noex_ctx): New function.
1583
d42df555
RM
15842014-06-23 Roland McGrath <roland@hack.frob.com>
1585
88a46474
RM
1586 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1587 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1588 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1589 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1590 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1591 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1592
15bed472
RM
1593 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1594 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1595 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1596 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1597 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1598 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1599 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1600 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1601 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1604 Moved ...
1605 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1606 ... here.
1607 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1612 Moved ...
1613 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1621 Moved ...
1622 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1624 Moved ...
1625 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1629 Moved ...
1630 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1634 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1635 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1636 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1637 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1640 Moved ...
1641 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1642 ... here.
1643 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1656 Moved ...
1657 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1663 Moved ...
1664 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1666 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1668 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1669
d42df555
RM
1670 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1671 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1672 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1681 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1689 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1690 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1691 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1693 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1695 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1698
76e5216e
JM
16992014-06-23 Joseph Myers <joseph@codesourcery.com>
1700
1701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1702 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1703 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1704 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1705 (IPV6_PMTUDISC_INTERFACE): Likewise.
1706 (IPV6_PMTUDISC_OMIT): Likewise.
1707
7a81cbcc
AS
17082014-06-23 Andreas Schwab <schwab@suse.de>
1709
1710 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1711 Remove unused errout label.
1712
db224009
AZ
17132014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714
1715 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1716 macro: hardware supports Vector Crypto instructions.
1717
f393b4aa
WN
17182014-06-23 Will Newton <will.newton@linaro.org>
1719
cc7d0447
WN
1720 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1721 rather than __builtin_expect.
1722
d6d06225
WN
1723 * elf/dl-lookup.c (undefined_msg): Remove variable.
1724 (_dl_lookup_symbol_x): Replace undefined_msg with string
1725 literal.
1726
f393b4aa
WN
1727 * elf/dl-lookup.c (do_lookup_unique): New function.
1728 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1729 to a separate function.
1730
ac60763e
AS
17312014-06-23 Andreas Schwab <schwab@suse.de>
1732
1733 [BZ #17079]
1734 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1735 before reading the next line.
1736
c5c13355
WN
17372014-06-23 Will Newton <will.newton@linaro.org>
1738
1739 * test-skeleton.c (signal_handler): Use printf and %m
1740 rather than perror. Use printf rather than fprintf to
1741 stderr. Use puts rather than fputs to stderr.
1742 (main): Likewise.
1743
bd3675f9
LC
17442014-06-22 Ludovic Courtès <ludo@gnu.org>
1745
1746 * nscd/nscd.c (thread_info_t): Remove typedef.
1747 (thread_info): Remove variable.
1748
d03efb2f
AM
17492014-06-21 Allan McRae <allan@archlinux.org>
1750
1751 * NEWS: Mention CVE-2014-4043.
1752
bc4a86fa
RM
17532014-06-20 Roland McGrath <roland@hack.frob.com>
1754
dc9a54f8
RM
1755 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1756 * nptl/smp.h: ... here.
1757
bd7022c4
RM
1758 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1759
26ffd5e6
RM
1760 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1761 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1762 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1763 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1764
93a6d082
RM
1765 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1766 * nptl/stack-aliasing.h: New file.
1767 * sysdeps/i386/i686/stack-aliasing.h: New file.
1768 * sysdeps/i386/i686/nptl/Makefile: File removed.
1769 * sysdeps/x86_64/stack-aliasing.h: New file.
1770 * sysdeps/x86_64/nptl/Makefile
1771 (CFLAGS-pthread_create.c): Variable removed.
1772
bc4a86fa
RM
1773 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1774 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1775 old file.
1776 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1777 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1778 old file.
1779
2272ffc1
JM
17802014-06-21 Joseph Myers <joseph@codesourcery.com>
1781
1782 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1783 (__ASSUME_SIGFRAME_V2): Remove macro.
1784 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1785 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1786 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1787 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1788 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1789 Declare as function. Remove conditional macro definitions.
1790 (__default_rt_sa_restorer): Likewise.
1791 (__default_sa_restorer_v1): Remove declaration.
1792 (__default_sa_restorer_v2): Likewise.
1793 (__default_rt_sa_restorer_v1): Likewise.
1794 (__default_rt_sa_restorer_v2): Likewise.
1795 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1796 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1797 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1798
4b88139b
RM
17992014-06-20 Roland McGrath <roland@hack.frob.com>
1800
1801 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1802 (libpthread-routines): Add sysdep.
1803 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1804 * sysdeps/unix/sysv/linux/sparc/Versions
1805 (libpthread: GLIBC_2.3.3): New version set.
1806 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1807 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1808 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1809 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1810 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1811 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1812 Moved ...
1813 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1815 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1817 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1819 * sysdeps/sparc/nptl/sem_init.c: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1821 * sysdeps/sparc/nptl/sem_post.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1823 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1825 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1827 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1828 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1829 (libpthread-routines): Add cpu_relax.
1830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1831 File removed.
1832 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1833 (librt: GLIBC_2.3.3): New version set.
1834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1835 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1836 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1837 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1840 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1842 Moved ...
1843 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1845 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1847 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1849 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1851 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1853 Moved ...
1854 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1855 Update #include.
1856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1857 Moved ...
1858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1859 Update #include.
1860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1861 Moved ...
1862 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1863 Update #include.
1864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1865 Moved ...
1866 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1867 Update #include.
1868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1869 Moved ...
1870 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1871 Update #include.
1872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1873 Moved ...
1874 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1875 Update #include.
1876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1877 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1887 Moved ...
1888 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1890 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1893
d7109027
JM
18942014-06-20 Joseph Myers <joseph@codesourcery.com>
1895
9bc6103d
JM
1896 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1897 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1898 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1899 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1900 * nscd/nscd.c: Likewise.
1901 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1902 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1903 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1904 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1905
d7109027
JM
1906 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1907 <kernel-features.h>.
1908 (init_mq_netlink): Remove conditional have_sock_cloexec
1909 definitions. Remove code conditional on have_sock_cloexec < 0.
1910 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1911 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1912 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1913 <kernel-features.h>.
1914 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1915 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1916
d92d8f8a
L
19172014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1920 Add tests for memset_chk and memset.
1921
1922 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1923 with AVX2_Usable.
1924
4e6d2347
MR
19252014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1926
257ce712
MR
1927 [BZ #16046]
1928 * elf/tst-dl-iter-static.c: New file.
1929 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1930
4e6d2347
MR
1931 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1932 error.
1933
a2a76afe
JM
19342014-06-20 Joseph Myers <joseph@codesourcery.com>
1935
7fd00f99
JM
1936 * sysdeps/unix/sysv/linux/kernel-features.h
1937 (__ASSUME_F_GETOWN_EX): Remove macro.
1938 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1939 <kernel-features.h>.
1940 (miss_F_GETOWN_EX): Remove variable or macro.
1941 (do_fcntl): Do not check miss_F_GETOWN_EX.
1942 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1943
4a103975
JM
1944 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1945 Remove macro.
1946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1947 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1948 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1949
a2a76afe
JM
1950 * sysdeps/unix/sysv/linux/kernel-features.h
1951 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1952 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1953 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1954 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1955
90e5dd48
MR
19562014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1957
1958 [BZ #17075]
1959 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1960 Fix calculation of the symbol's value.
1961 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1962 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1963 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1964 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1965 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1966 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1967 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1968 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1969 (modules-names): Add `tst-armtlsdescmod',
1970 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1971 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1972 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1973 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1974 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1975 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1976 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1977 ($(objpfx)tst-armtlsdescloc): New dependency.
1978 ($(objpfx)tst-armtlsdescextnow): Likewise.
1979 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1980 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1981 TLS scheme support.
1982 * sysdeps/arm/configure: Regenerate.
1983
809fdf0d
JM
19842014-06-20 Joseph Myers <joseph@codesourcery.com>
1985
1986 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1987 (__atfct_seterrno_2): Likewise.
1988 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1989 <kernel-features.h>.
1990 (__ASSUME_ATFCTS): Do not undefine and redefine.
1991 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1992 (__have_atfcts): Remove conditional definition.
1993 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1994 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1995 unreachable if [__ASSUME_ATFCTS].
1996 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1997 not undefine and redefine.
1998 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1999 <kernel-features.h>.
2000 (faccessat) [__NR_faccessat]: Make code unconditional.
2001 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2002 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2003 <kernel-features.h>.
2004 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2005 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2006 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2007 <kernel-features.h>.
2008 (fchownat) [__NR_fchownat]: Make code unconditional.
2009 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2010 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2011 <kernel-features.h>.
2012 (futimesat) [__NR_futimesat]: Make code unconditional.
2013 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2014 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2015 <kernel-features.h>.
2016 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2017 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2018 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2019 <kernel-features.h>.
2020 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2021 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2022 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2023 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2024 <kernel-features.h>.
2025 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2026 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2027 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2028 <kernel-features.h>.
2029 (linkat) [__NR_linkat]: Make code unconditional.
2030 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2031 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2032 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2033 <kernel-features.h>.
2034 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2035 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2037 <kernel-features.h>.
2038 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2039 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/openat.c: Do not include
2041 <kernel-features.h>.
2042 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2043 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2044 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2045 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2046 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2047 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2048 <kernel-features.h>.
2049 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2050 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2051 result of INLINE_SYSCALL directly, not via int variable.
2052 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2053 <kernel-features.h>.
2054 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2055 (renameat) [__NR_renameat]: Make code unconditional.
2056 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2057 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2058 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2059 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2061 (__ASSUME_ATFCTS): Do not undefine and redefine.
2062 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2063 <kernel-features.h>.
2064 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2065 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2066 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2067 <kernel-features.h>.
2068 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2069 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2071 (__ASSUME_ATFCTS): Do not undefine and redefine.
2072 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2073 <kernel-features.h>.
2074 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2075 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2076 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2077 <kernel-features.h>.
2078 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2079 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2080
224c6c51
L
20812014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2084
aa6ec754
AS
20852014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2086
2087 [BZ #17069]
2088 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2089 constructed tree before returning error.
2090 * posix/bug-regexp36.c: Expand test case.
2091
d8c2869d
SL
20922014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2093
3ef6b850
SL
2094 [BZ #6803]
2095 * math/libm-test.inc (scalbln_test_date):
2096 Add errno expectations.
2097 * math/w_scalblnf.c: New File.
2098 Add wrapper which checks for setting errno to ERANGE.
2099 Add weak_alias for corresponding scalbln function.
2100 * math/w_scalbln.c: Likewise.
2101 * math/w_scalblnl.c: Likewise.
2102 * math/Makefile (libm-calls): Add w_scalbln.
2103 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2104 Remove weak_alias for corresponding scalbln function.
2105 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2107 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2109 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2110 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2111 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2112 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2113 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2114 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2115 Remove long_double_symbol for scalblnl function in libm, libc.
2116 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2117 Add wrapper which checks for setting errno to ERANGE.
2118 Add long_double_symbol for scalblnl function in libm, libc.
2119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2120 Remove long_double_symbol for scalblnl in libm.
2121 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2122 Add wrapper which checks for setting errno to ERANGE.
2123 Add long_double_symbol for scalblnl function in libm.
2124 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2125 Do not use wrapper because of own implementation.
2126
c8daec5c
L
21272014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2130 3 bytes for __pad1 for x32.
2131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2132
5c74e47c
LM
21332014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2134 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2137 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2138 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2139 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2140 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2141
4d43ef1e
AS
21422014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2143
2144 [BZ #17069]
2145 * posix/regcomp.c (parse_expression): Deallocate partially
2146 constructed tree before returning error.
2147 * posix/Makefile.c (tests): Add bug-regex36.
2148 (generated): Add bug-regex36.mtrace.
2149 (tests-special): Add $(objpfx)bug-regex36-mem.out
2150 (bug-regex36-ENV): New variable.
2151 ($(objpfx)bug-regex36-mem.out): New rule.
2152 * posix/bug-regex36.c: New file.
2153
51a7380b
WN
21542014-06-19 Will Newton <will.newton@linaro.org>
2155
2156 * malloc/malloc.c (systrim): If extra is zero then return
2157 early.
2158
91b84fe5
SP
21592014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2160
2161 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2162
f940b965
RE
21632014-06-19 Richard Earnshaw <rearnsha@arm.com>
2164
2165 * sysdeps/aarch64/strchr.S: New file.
2166
4ba7a00f
JM
21672014-06-18 Joseph Myers <joseph@codesourcery.com>
2168
2169 [BZ #17022]
2170 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2171 from arguments -2 or below.
2172 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2173 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2174
b3a9f56b
AS
21752014-06-18 Andreas Schwab <schwab@suse.de>
2176
2177 [BZ #17062]
2178 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2179 of a bracket expr not to run off the end of the string.
2180 * posix/Makefile (tests): Add tst-fnmatch3.
2181 * posix/tst-fnmatch3.c: New file.
2182
85d89278
JM
21832014-06-18 Joseph Myers <joseph@codesourcery.com>
2184
2185 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2186 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2187 [$(cross-compiling) = no]: Likewise.
2188 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2189 [$(cross-compiling) = no]: Likewise.
2190
754c5a08
RS
21912014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2192
2193 [BZ #17031]
2194 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2195 double, adjusted for any remainder from the high double.
2196 * math/libm-test.inc (nearbyint): Add tests.
2197 (rint): Likewise.
2198
556f529d
AZ
21992014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200
2201 * nptl/sysdeps/powerpc/Makefile: Moved ...
2202 * sysdeps/powerpc/nptl/Makefile: ... here.
2203 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2204 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2205 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2206 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2207 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2208 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2209 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2210 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2211 * nptl/sysdeps/powerpc/tls.h: Moved ...
2212 * sysdeps/powerpc/nptl/tls.h: ... here.
2213
91c03c53
JM
22142014-06-16 Joseph Myers <joseph@codesourcery.com>
2215
2216 [BZ #16681]
2217 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2218 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2219 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2220 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2221 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2222 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2223 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2224 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2225 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2226
a76e63c5
AS
22272014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2228
2229 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2230
f2f6d82f
AS
22312014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2232
ea8a15f6
AS
2233 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2234 defined operator.
2235
f2f6d82f
AS
2236 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2237 $TIMEOUTFACTOR.
2238
a7291117
FW
22392014-06-16 Florian Weimer <fweimer@redhat.com>
2240
2241 [BZ #17058]
2242 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2243 non-executed part of the test.
2244
3d7c00e3
AS
22452014-06-16 Andreas Schwab <schwab@suse.de>
2246
2247 * string/bits/string2.h (strdup, strndup): Update feature guard.
2248
6957fb31
DM
22492014-06-14 David S. Miller <davem@davemloft.net>
2250
2251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2252
11b9e55b
AS
22532014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2254
1d2a0492
AS
2255 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2256 that was previously under [RESET_PID].
2257 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2258
11b9e55b
AS
2259 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2260 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2261 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2262 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2263 (__libc_vfork): New strong alias.
2264 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2265
0f6901d0
AK
22662014-06-14 Andi Kleen <ak@linux.intel.com>
2267
2268 * sysdeps/generic/elide.h: New file.
2269
38bbbb9f
SL
22702014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2271
2272 * Makefile (installed-headers): Adjust path of pthread.h header.
2273
45193bb8
RM
22742014-06-13 Roland McGrath <roland@hack.frob.com>
2275
9a25fd1e
RM
2276 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2277 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2278 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2279 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2280
4004f7e4
RM
2281 * nptl/sysdeps/s390/Makefile: Moved ...
2282 * sysdeps/s390/nptl/Makefile: ... here.
2283 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2284 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2285 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2286 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2287 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2288 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2289 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2290 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2291 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2292 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2293 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2294 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2295 * nptl/sysdeps/s390/tls.h: Moved ...
2296 * sysdeps/s390/nptl/tls.h: ... here.
2297
45193bb8
RM
2298 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2299 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2300
f6fdf533
DM
23012014-06-13 David S. Miller <davem@davemloft.net>
2302
2303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2306 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2310 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2311 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2312 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2313 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2314 Remove RESET_PID cpp guards.
2315 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2316 Remove RESET_PID cpp guards.
2317 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2318
f5d71e14
AS
23192014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2320
2321 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2322 __sp to uintptr_t.
2323
b7aa8caa
AK
23242014-06-13 Andi Kleen <ak@linux.intel.com>
2325
4b266200
AZ
2326 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2328 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2329 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2331 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2332 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2333 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2334 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2336 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2337 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2338 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2339 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2340 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2341 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2342 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2343 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2344 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2345 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2346
2347 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2348 (pthread_rwlock_rdlock): Add elision.
2349 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2350 (pthread_rwlock_wrlock): Add elision.
2351 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2352 (pthread_rwlock_trywrlock): Add elision.
2353 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2354 (pthread_rwlock_tryrdlock): Add elision.
2355 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2356 (pthread_rwlock_tryrdlock): Add elision unlock.
2357 * nptl/sysdeps/pthread/pthread.h:
2358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2359 (PTHREAD_RWLOCK_INITIALIZER,
2360 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2361 Handle new elision field.
2362 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2363 * sysdeps/arm/nptl/bits/pthreadtypes.h
2364 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2365 * sysdeps/sh/nptl/bits/pthreadtypes.h
2366 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2367 * sysdeps/tile/nptl/bits/pthreadtypes.h
2368 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2369 * sysdeps/a/nptl/bits/pthreadtypes.h
2370 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2371 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2372 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2373 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2374 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2375 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2377 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2378 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2379 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2380 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2381 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2382 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2383 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2384 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2385 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2386 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2387 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2388 (elision_init): Set try_xbegin to zero when no RTM.
2389 * sysdeps/x86/nptl/bits/pthreadtypes.h
2390 (pthread_rwlock_t): Change __pad1 to __rwelision.
2391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2392
a832bdd3
AK
23932014-06-13 Andi Kleen <ak@linux.intel.com>
2394
2395 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2396 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2397 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2398 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2399
995a46bb
MI
24002014-06-13 Meador Inge <meadori@codesourcery.com>
2401
2402 [BZ #16996]
03ed7738 2403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2404 that the cached result has been set before returning it.
2405
45262aee
RM
24062014-06-12 Roland McGrath <roland@hack.frob.com>
2407
febf6cc5
RM
2408 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2409 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2411 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2413 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2414
e2682246
RM
2415 * nptl/sysdeps/sparc/Makefile: Moved ...
2416 * sysdeps/sparc/nptl/Makefile: ... here.
2417 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2418 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2419 * nptl/sysdeps/sparc/tls.h: Moved ...
2420 * sysdeps/sparc/nptl/tls.h: ... here.
2421 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2422 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2423 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2424 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2425 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2426 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2427 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2428 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2429 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2430 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2431 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2432 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2433 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2434 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2435 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2436 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2437 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2438 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2439 Update #include.
2440 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2441 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2442 Update #include.
2443 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2444 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2445 Update #include.
2446 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2447 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2448 Update #include.
2449
b0725f43
RM
2450 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2451
b14368b8
RM
2452 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2453 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2454
c5620eb3
RM
2455 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2456 (struct list_links): Type removed.
2457 (struct thread_node, struct timer_node): Replace struct list_links
2458 with struct list_head.
2459 (list_unlink_ip): Likewise.
2460 * sysdeps/pthread/timer_routines.c
2461 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2462 (list_append, list_insbefore): Likewise.
2463 (list_init): Function removed.
2464 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2465 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2466 * sysdeps/pthread/Makefile: ... here, new file.
2467
2468 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2469 * sysdeps/nptl/Implies: ... here.
2470 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2471 * nptl/sysdeps/pthread/list.h: Moved ...
2472 * include/list.h: ... here.
2473 * nptl/sysdeps/pthread/createthread.c: Moved ...
2474 * nptl/createthread.c: ... here.
2475 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2476 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2477 * nptl/pt-longjmp.c: ... here.
2478 * nptl/sysdeps/pthread/Makefile: Moved ...
2479 * sysdeps/nptl/Makefile: ... here.
2480 * nptl/sysdeps/pthread/Subdirs: Moved ...
2481 * sysdeps/nptl/Subdirs: ... here.
2482 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2483 * sysdeps/nptl/aio_misc.h: ... here.
2484 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2485 * sysdeps/nptl/bits/libc-lock.h: ... here.
2486 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2487 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2488 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2489 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2490 * nptl/sysdeps/pthread/configure: Moved ...
2491 * sysdeps/nptl/configure: ... here.
2492 * nptl/sysdeps/pthread/configure.ac: Moved ...
2493 * sysdeps/nptl/configure.ac: ... here.
2494 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2495 * sysdeps/nptl/gai_misc.h: ... here.
2496 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2497 * sysdeps/nptl/librt-cancellation.c: ... here.
2498 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2499 * sysdeps/nptl/malloc-machine.h: ... here.
2500 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2501 * sysdeps/nptl/pthread-functions.h: ... here.
2502 * nptl/sysdeps/pthread/pthread.h: Moved ...
2503 * sysdeps/nptl/pthread.h: ... here.
2504 * nptl/sysdeps/pthread/setxid.h: Moved ...
2505 * sysdeps/nptl/setxid.h: ... here.
2506 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2507 * sysdeps/nptl/sigfillset.c: ... here.
2508 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2509 * sysdeps/nptl/tcb-offsets.h: ... here.
2510 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2511 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2512 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2513 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2514 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2515 * sysdeps/pthread/allocalim.h: ... here.
2516 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2517 * sysdeps/pthread/bits/sigthread.h: ... here.
2518 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2519 * sysdeps/pthread/flockfile.c: ... here.
2520 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2521 * sysdeps/pthread/ftrylockfile.c: ... here.
2522 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2523 * sysdeps/pthread/funlockfile.c: ... here.
2524 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2525 * sysdeps/pthread/posix-timer.h: ... here.
2526 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2527 * sysdeps/pthread/timer_create.c: ... here.
2528 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2529 * sysdeps/pthread/timer_delete.c: ... here.
2530 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2531 * sysdeps/pthread/timer_getoverr.c: ... here.
2532 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2533 * sysdeps/pthread/timer_gettime.c: ... here.
2534 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2535 * sysdeps/pthread/timer_routines.c: ... here.
2536 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2537 * sysdeps/pthread/timer_settime.c: ... here.
2538 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2539 * sysdeps/pthread/tst-timer.c: ... here.
2540 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2541 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2542
e876b090
RM
2543 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2544 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2545
f6b07b3d
RM
2546 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2547 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2548 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2549 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2550 Update #include target.
2551 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2552 * sysdeps/i386/i686/nptl/Makefile: ... here.
2553 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2554 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2555 Update #include target.
2556 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2557 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2558 * nptl/sysdeps/i386/Makefile: Moved ...
2559 * sysdeps/i386/nptl/Makefile: ... here.
2560 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2561 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2562 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2563 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2564 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2565 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2566 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2567 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2568 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2569 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2570 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2571 * nptl/sysdeps/i386/tls.h: Moved ...
2572 * sysdeps/i386/nptl/tls.h: ... here.
2573
45262aee
RM
2574 * sysdeps/sh/Makefile [$(subdir) = csu]
2575 (gen-as-const-headers): Add tcb-offsets.sym.
2576 * nptl/sysdeps/sh/Makefile: File removed.
2577 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2578 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2579 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2580 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2581 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2582 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2583 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2584 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2585 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2586 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2587 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2588 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2589 * nptl/sysdeps/sh/tls.h: Moved ...
2590 * sysdeps/sh/nptl/tls.h: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2592 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2594 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2596 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2598 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2600 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2602 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2604 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2606 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2608 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2610 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2612 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2614 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2616 Moved ...
2617 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2619 Moved ...
2620 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2622 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2624 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2626 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2628 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2630 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2632 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2634 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2636 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2638 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2639
35a5e3e3
SL
26402014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2641
2642 * posix/spawn_faction_addopen.c: Include string.h.
2643
14642b85
RM
26442014-06-11 Roland McGrath <roland@hack.frob.com>
2645
2646 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2647 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2648 * nptl/sysdeps/x86_64/Makefile: Moved ...
2649 * sysdeps/x86_64/nptl/Makefile: ... here.
2650 * nptl/sysdeps/x86_64/configure: Moved ...
2651 * sysdeps/x86_64/nptl/configure: ... here.
2652 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2653 * sysdeps/x86_64/nptl/configure.ac: ... here.
2654 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2655 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2656 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2657 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2658 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2659 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2660 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2661 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2662 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2663 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2664 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2665 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2666 * nptl/sysdeps/x86_64/tls.h: Moved ...
2667 * sysdeps/x86_64/nptl/tls.h: ... here.
2668 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2669 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2670 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2671 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2672
2673 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2674
31c44fea
AZ
26752014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676
2677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2678
e81a4f9a
JM
26792014-06-11 Joseph Myers <joseph@codesourcery.com>
2680
2681 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2682 type.
2683 [POSIX] (off_t): Likewise.
2684 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2685 [POSIX] (S_ISBLK): Require macro.
2686 [POSIX] (S_ISCHR): Likewise.
2687 [POSIX] (S_ISDIR): Likewise.
2688 [POSIX] (S_ISFIFO): Likewise.
2689 [POSIX] (S_ISREG): Likewise.
2690 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2691 optional-macro.
2692 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2693 type.
2694 [POSIX] (time_t): Likewise.
2695 [POSIX] (timer_t): Likewise.
2696
89e435f3
FW
26972014-06-11 Florian Weimer <fweimer@redhat.com>
2698
2699 [BZ #17048]
2700 * posix/spawn_int.h (struct __spawn_action): Make the path string
2701 non-const to support deallocation.
2702 * posix/spawn_faction_addopen.c
2703 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2704 * posix/spawn_faction_destroy.c
2705 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2706 path in all spawn_do_open actions.
2707 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2708 posix_spawn_file_actions_addopen.
2709
c3a2ebe1
CM
27102014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2711
2712 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2713 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2714 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2715 conditional code always true.
2716 (__libc_vfork): New alias.
2717
9503784a
RM
27182014-06-11 Roland McGrath <roland@hack.frob.com>
2719
c9cab3d2
RM
2720 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2721 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2722
d3996c79
RM
2723 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2724
ba5ec611
RM
2725 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2726 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2727
f12b4814
RM
2728 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2729 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2730
9503784a
RM
2731 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2732 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2733
e23d3d26
VR
27342014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2735
2736 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2737 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2738 multiarch strcmp for PPC64.
2739 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2740 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2742 multiarch optimizations.
2743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2744 (__libc_ifunc_impl_list): Likewise.
2745
42b1161e
SP
27462014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2747
2748 * benchtests/scripts/validate_benchout.py: New script.
2749 * benchtests/Makefile (bench-func): Call it.
2750 * benchtests/scripts/benchout.schema.json: New file.
2751
2d0fc4dc
CM
27522014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2753
4a594c34
AZ
2754 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2755 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2756 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2757 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2758 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2759 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2760 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2761 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2762 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2763 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2764 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2765 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2766 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2767 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2768 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2769 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2771 Moved ...
4a594c34 2772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2773 ... here.
4a594c34 2774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2775 Moved ...
4a594c34
AZ
2776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2778 Moved ...
4a594c34 2779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2780 ... here.
4a594c34 2781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2782 Moved ...
4a594c34 2783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2784 ... here.
4a594c34 2785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2786 Moved ...
4a594c34
AZ
2787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2789 Moved ...
4a594c34 2790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2791 ... here.
4a594c34 2792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2793 Moved ...
4a594c34 2794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2795 ... here.
4a594c34 2796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2797 Moved ...
4a594c34
AZ
2798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2800 Moved ...
4a594c34 2801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2802 ... here.
4a594c34 2803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2804 Moved ...
4a594c34 2805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2806 ... here.
4a594c34 2807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2808 Moved ...
4a594c34 2809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2810 ... here.
4a594c34 2811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2812 Moved ...
4a594c34
AZ
2813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2815 Moved ...
4a594c34 2816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2817 ... here.
4a594c34 2818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2819 Moved ...
4a594c34 2820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2821 ... here.
4a594c34 2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2823 Moved ...
4a594c34 2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2825 ... here.
4a594c34 2826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2827 Moved ...
4a594c34
AZ
2828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2830 Moved ...
4a594c34 2831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2832 ... here.
4a594c34 2833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2834 Moved ...
4a594c34 2835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2836 ... here.
4a594c34 2837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2838 Moved ...
4a594c34
AZ
2839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2841 Moved ...
4a594c34 2842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2843 ... here.
4a594c34 2844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2845 Moved ...
4a594c34
AZ
2846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2848 Moved ...
4a594c34
AZ
2849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2851 Moved ...
4a594c34 2852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2853 ... here.
4a594c34 2854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2855 Moved ...
4a594c34 2856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2857 ... here.
4a594c34 2858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2859 Moved ...
4a594c34 2860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2861 ... here.
4a594c34 2862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2863 Moved ...
4a594c34
AZ
2864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2866 Moved ...
4a594c34 2867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2868 ... here.
4a594c34 2869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2870 Moved ...
4a594c34 2871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2872 ... here.
4a594c34
AZ
2873 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2874 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2875 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2876 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2877 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2878 Moved ...
4a594c34 2879 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2880 ... here.
4a594c34
AZ
2881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2882 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2884 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2885 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2886 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2889 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2894 Moved ...
4a594c34
AZ
2895 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2897 Moved ...
4a594c34
AZ
2898 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2902 Moved ...
4a594c34
AZ
2903 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2907 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2908 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2909 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2910
0570cfed
W
29112014-06-10 Wilco <wdijkstr@arm.com>
2912
2913 * math/test-fenv-return.c: New file.
2914 * math/Makefile: Add new test test-fenv-return.
2915
f8ba1b56
JM
29162014-06-10 Joseph Myers <joseph@codesourcery.com>
2917
2918 [BZ #17042]
2919 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2920 when x - 1 is zero.
2921 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2922 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2923 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2924 0.0L for an argument of 1.0L.
2925 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2926 Likewise.
2927 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2928 value when x - 1 is zero.
2929 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2930 * sysdeps/i386/fpu/libm-test-ulps: Update.
2931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2932
2c3520d9
BO
29332014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2934
2935 [BZ #15119]
2936 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2937
acaa4d24
RM
29382014-06-09 Roland McGrath <roland@hack.frob.com>
2939
2940 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2941 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2942
962b744d
RM
29432014-06-09 Roland McGrath <roland@hack.frob.com>
2944
d752f0cc
RM
2945 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2946 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2947
34eda6d1
RM
2948 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2949 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2950
50f0a637
RM
2951 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2952 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2953
08f41f04
RM
2954 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2955 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2956
962b744d
RM
2957 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2958 if not already defined.
2959 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2960 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2961 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2962 (TLS_INIT_TP): Use it.
2963 (TLS_DEFINE_INIT_TP): New macro.
2964 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2965
09f19b05
JM
29662014-06-09 Joseph Myers <joseph@codesourcery.com>
2967
2968 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2969 constant.
2970 [POSIX] (IXANY): Likewise.
2971 [POSIX] (OLCUC): Likewise.
2972 [POSIX || POSIX2008] (CBAUD): Do not allow.
2973 [POSIX || POSIX2008] (DEFECHO): Likewise.
2974 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2975 [POSIX || POSIX2008] (ECHOKE): Likewise.
2976 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2977 [POSIX || POSIX2008] (EXTA): Likewise.
2978 [POSIX || POSIX2008] (EXTB): Likewise.
2979 [POSIX || POSIX2008] (FLUSHO): Likewise.
2980 [POSIX || POSIX2008] (LOBLK): Likewise.
2981 [POSIX || POSIX2008] (PENDIN): Likewise.
2982 [POSIX || POSIX2008] (SWTCH): Likewise.
2983 [POSIX || POSIX2008] (VDISCARD): Likewise.
2984 [POSIX || POSIX2008] (VDSUSP): Likewise.
2985 [POSIX || POSIX2008] (VLNEXT): Likewise.
2986 [POSIX || POSIX2008] (VREPRINT): Likewise.
2987 [POSIX || POSIX2008] (VSTATUS): Likewise.
2988 [POSIX || POSIX2008] (VWERASE): Likewise.
2989 (B*): Change to B[0123456789]*.
2990 * conform/data/time.h-data [POSIX || UNIX98]
2991 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2992 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2993 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2994 [POSIX] (tm_*): Do not allow.
2995
686554bf
JM
29962014-06-07 Joseph Myers <joseph@codesourcery.com>
2997
2998 * Makefile (install): Don't set LANGUAGE.
2999 * Makefile.in (install): Likewise.
3000 * assert/Makefile (test-assert-ENV): Remove variable.
3001 (test-assert-perr-ENV): Likewise.
3002 * elf/Makefile (neededtest4-ENV): Likewise.
3003 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3004 [$(cross-compiling) = no]: Don't set LANGUAGE.
3005 * io/ftwtest-sh (LANG): Remove variable.
3006 * libio/Makefile (tst-widetext-ENV): Likewise.
3007 * manual/install.texi (Running make install): Don't refer to
3008 environment settings for make install.
3009 * INSTALL: Regenerated.
3010 * nptl/tst-tls6.sh: Don't set LANG.
3011 * posix/globtest.sh (LANG): Remove variable.
3012 * string/Makefile (tester-ENV): Likewise.
3013 (inl-tester-ENV): Likewise.
3014 (noinl-tester-ENV): Likewise.
3015 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3016 [$(cross-compiling) = no]: Don't set LANGUAGE.
3017 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3018 without explicit environment settings.
3019
68e6b6b1
RM
30202014-06-06 Roland McGrath <roland@hack.frob.com>
3021
3022 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3023 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3025 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3026
4d3ae034
CM
30272014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3028
3029 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3030 other files in the crypt directory.
3031 * crypt/crypt.c: Remove duplicate includes.
3032 * crypt/crypt-entry.c: Likewise.
3033 * crypt/crypt_util.c: Likewise.
3034
8540f6d2
JM
30352014-06-06 Joseph Myers <joseph@codesourcery.com>
3036
3037 * Makeconfig (run-program-env): New variable.
3038 (run-program-prefix-before-env): Likewise.
3039 (run-program-prefix-after-env): Likewise.
3040 (run-program-prefix): Define in terms of new variables.
3041 (built-program-cmd-before-env): New variable.
3042 (built-program-cmd-after-env): Likewise.
3043 (built-program-cmd): Define in terms of new variables.
3044 (test-program-prefix-before-env): New variable.
3045 (test-program-prefix-after-env): Likewise.
3046 (test-program-prefix): Define in terms of new variables.
3047 (test-program-cmd-before-env): New variable.
3048 (test-program-cmd-after-env): Likewise.
3049 (test-program-cmd): Define in terms of new variables.
3050 * Rules (make-test-out): Use $(run-program-env).
3051 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3052 (help): Do not mention environment variables. Mention
3053 --timeoutfactor option.
3054 (timeoutfactor): New variable.
3055 (blacklist_exports): Remove function.
3056 (exports): Remove variable.
3057 (command): Do not include ${exports}.
3058 * manual/install.texi (Configuring and compiling): Do not mention
3059 test wrappers preserving environment variables. Mention that last
3060 assignment to a variable must take precedence.
3061 * INSTALL: Regenerated.
3062 * benchtests/Makefile (run-bench): Use $(run-program-env).
3063 * catgets/Makefile ($(objpfx)test1.cat): Use
3064 $(built-program-cmd-before-env), $(run-program-env) and
3065 $(built-program-cmd-after-env).
3066 ($(objpfx)test2.cat): Do not specify environment variables
3067 explicitly.
3068 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3069 $(run-program-env) and $(built-program-cmd-after-env).
3070 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3071 $(run-program-env) and $(test-program-cmd-after-env).
3072 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3073 explicitly.
3074 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3075 run_program_env and test_program_cmd_after_env arguments.
3076 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3077 * elf/tst-pathopt.sh: Use run_program_env argument.
3078 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3079 $(test-wrapper-env) and $(run-program-env).
3080 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3081 run_program_env arguments.
3082 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3083 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3084 $(test-program-prefix-before-env), $(run-program-env) and
3085 $(test-program-prefix-after-env).
3086 ($(objpfx)tst-gettext2.out): Likewise.
3087 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3088 run_program_env and test_program_prefix_after_env arguments.
3089 * intl/tst-gettext2.sh: Likewise.
3090 * intl/tst-gettext4.sh: Do not set environment variables
3091 explicitly.
3092 * intl/tst-gettext6.sh: Likewise.
3093 * intl/tst-translit.sh: Likewise.
3094 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3095 $(test-program-prefix-before-env), $(run-program-env) and
3096 $(test-program-prefix-after-env).
3097 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3098 run_program_env and test_program_prefix_after_env arguments.
3099 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3100 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3101 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3102 explicitly with each use of ${test_wrapper_env}.
3103 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3104 $(test-program-prefix-before-env), $(run-program-env) and
3105 $(test-program-prefix-after-env).
3106 * posix/tst-getconf.sh: Do not set environment variables
3107 explicitly.
3108 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3109 run_program_env and test_program_prefix_after_env arguments.
3110 * stdio-common/tst-printf.sh: Do not set environment variables
3111 explicitly.
3112 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3113 $(test-program-prefix-before-env), $(run-program-env) and
3114 $(test-program-prefix-after-env).
3115 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3116 run_program_env and test_program_prefix_after_env arguments.
3117 Split $test calls into $test_pre and $test.
3118 * timezone/Makefile (build-testdata): Use
3119 $(built-program-cmd-before-env), $(run-program-env) and
3120 $(built-program-cmd-after-env).
3121
ed36bfa1
AZ
31222014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3123
3124 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3125 strlen for non SHARED builds.
3126
fc75bf46
SP
31272014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
3129 * nptl/allocatestack.c (check_list): Inlined function...
3130 (__reclaim_stacks): ... here.
3131
d89b3d80
OB
31322014-06-05 Ondřej Bílka <neleai@seznam.cz>
3133
3134 [BZ #15698]
3135 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3136 memory overrun.
3137
2bf18041
JM
31382014-06-05 Joseph Myers <joseph@codesourcery.com>
3139
3140 * Rules (make-test-out): Include
3141 LOCPATH=$(common-objpfx)localedata in default environment.
3142 * debug/Makefile (tst-chk1-ENV): Remove variable.
3143 (tst-chk2-ENV): Likewise.
3144 (tst-chk3-ENV): Likewise.
3145 (tst-chk4-ENV): Likewise.
3146 (tst-chk5-ENV): Likewise.
3147 (tst-chk6-ENV): Likewise.
3148 (tst-lfschk1-ENV): Likewise.
3149 (tst-lfschk2-ENV): Likewise.
3150 (tst-lfschk3-ENV): Likewise.
3151 (tst-lfschk4-ENV): Likewise.
3152 (tst-lfschk5-ENV): Likewise.
3153 (tst-lfschk6-ENV): Likewise.
3154 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3155 (tst-iconv7-ENV): Likewise.
3156 * intl/Makefile (LOCPATH-ENV): Likewise.
3157 (tst-codeset-ENV): Likewise.
3158 (tst-gettext3-ENV): Likewise.
3159 (tst-gettext5-ENV): Likewise.
3160 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3161 (tst-fopenloc-ENV): Likewise.
3162 (tst-fgetws-ENV): Remove variable.
3163 (tst-ungetwc1-ENV): Likewise.
3164 (tst-ungetwc2-ENV): Likewise.
3165 (bug-ungetwc2-ENV): Likewise.
3166 (tst-swscanf-ENV): Likewise.
3167 (bug-ftell-ENV): Likewise.
3168 (tst-fgetwc-ENV): Likewise.
3169 (tst-fseek-ENV): Likewise.
3170 (tst-ftell-partial-wide-ENV): Likewise.
3171 (tst-ftell-active-handler-ENV): Likewise.
3172 (tst-ftell-append-ENV): Likewise.
3173 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3174 (tst-regexloc-ENV): Likewise.
3175 (bug-regex1-ENV): Likewise.
3176 (tst-regex-ENV): Likewise.
3177 (tst-regex2-ENV): Likewise.
3178 (bug-regex5-ENV): Likewise.
3179 (bug-regex6-ENV): Likewise.
3180 (bug-regex17-ENV): Likewise.
3181 (bug-regex18-ENV): Likewise.
3182 (bug-regex19-ENV): Likewise.
3183 (bug-regex20-ENV): Likewise.
3184 (bug-regex22-ENV): Likewise.
3185 (bug-regex23-ENV): Likewise.
3186 (bug-regex25-ENV): Likewise.
3187 (bug-regex26-ENV): Likewise.
3188 (bug-regex30-ENV): Likewise.
3189 (bug-regex32-ENV): Likewise.
3190 (bug-regex33-ENV): Likewise.
3191 (bug-regex34-ENV): Likewise.
3192 (bug-regex35-ENV): Likewise.
3193 (tst-rxspencer-ENV): Likewise.
3194 (tst-rxspencer-no-utf8-ENV): Likewise.
3195 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3196 (tst-sscanf-ENV): Likewise.
3197 (tst-swprintf-ENV): Likewise.
3198 (tst-swscanf-ENV): Likewise.
3199 (test-vfprintf-ENV): Likewise.
3200 (scanf13-ENV): Likewise.
3201 (bug14-ENV): Likewise.
3202 (tst-grouping-ENV): Likewise.
3203 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3204 (tst-strtod3-ENV): Likewise.
3205 (tst-strtod4-ENV): Likewise.
3206 (tst-strtod5-ENV): Likewise.
3207 (testmb2-ENV): Likewise./
3208 * string/Makefile (tst-strxfrm-ENV): Likewise.
3209 (tst-strxfrm2-ENV): Likewise.
3210 (bug-strcoll1-ENV): Likewise.
3211 (test-strcasecmp-ENV): Likewise.
3212 (test-strncasecmp-ENV): Likewise.
3213 * time/Makefile (tst-strptime-ENV): Likewise.
3214 (tst-ftime_l-ENV): Likewise.
3215 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3216 (tst-mbrtowc-ENV): Likewise.
3217 (tst-wcrtomb-ENV): Likewise.
3218 (tst-mbrtowc2-ENV): Likewise.
3219 (tst-c16c32-1-ENV): Likewise.
3220 (tst-mbsnrtowcs-ENV): Likewise.
3221
cd1fb604
OB
32222014-06-05 Ondřej Bílka <neleai@seznam.cz>
3223
3224 * manual/resource.texi (How to get information about the memory
3225 subsystem?): Fix typo.
3226 Reported by Peon de la Parra Ivan <peon@keba.com>
3227
b42eca7d
GY
32282014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3229
3230 [BZ #16882]
3231 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3232 (pthread_spin_lock): Branch out of spin loop to proper location.
3233 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3234 (pthread_spin_lock): Likewise.
3235
902b71f9
DM
3236 * nptl/tst-spin4.c: New test.
3237 * nptl/Makefile (tests): Add tst-spin4.
3238
f9d2d032
AS
32392014-06-03 Andreas Schwab <schwab@suse.de>
3240
3241 [BZ #15946]
3242 * resolv/res_send.c (send_dg): Reload file descriptor after
3243 calling reopen.
3244
cf7bfd28
SL
32452014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3246
3247 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3248
111cc714
RH
32492014-06-03 Richard Henderson <rth@redhat.com>
3250
89b4bd6b
RH
3251 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3252 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3253 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3254 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3255 in the SAVE_PID block.
3256 (__libc_vfork): New alias.
71840409 3257 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3258
111cc714
RH
3259 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3260 child in registers, not on the stack. Remove RESET_PID conditionals.
3261 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3262
ccc39911
MS
32632014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3264
3265 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3266
693096cc
W
32672014-06-03 Wilco <wdijkstr@arm.com>
3268
3269 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3270 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3271 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3272 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3273 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3274 Likewise.
3275
0b4366bc
W
32762014-06-03 Wilco <wdijkstr@arm.com>
3277
3278 * sysdeps/aarch64/fpu/math_private.h
3279 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3280 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3281 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3282 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3283 Fix declarations.
3284
8747cd03
KS
32852014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3286
3287 * crypt/crypt-private.h: Include ufc-crypt.h.
3288 (__b64_from_24bit): Declare extern.
3289 * crypt/crypt_util.c(__b64_from_24bit): New function.
3290 (b64t): New static const variable.
3291 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3292 (b64t): Remove variable.
3293 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3294 * crypt/sha256-crypt.c: Include crypt-private.h.
3295 (b64t): Remove variable.
3296 (__sha256_crypt_r): Remove b64_from_24bit and replace
3297 with __b64_from_24bit.
3298 * crypt/sha512-crypt.c: Likewise.
3299
d936d379
RM
33002014-06-02 Roland McGrath <roland@hack.frob.com>
3301
3302 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3303 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3304 Label the code __libc_vfork rather than __vfork.
3305 [!NOT_IN_libc] (vfork): Define as weak alias.
3306 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3307 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3308 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3309
9fa76613
SP
33102014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3311
3312 * malloc/malloc.c (malloc_info): Fix format specifier for
3313 n_mmaps.
3314
a88dadbe
W
33152014-06-02 Wilco <wdijkstr@arm.com>
3316
3317 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3318 FPCR write.
3319
c95b3011
W
33202014-06-02 Wilco <wdijkstr@arm.com>
3321
3322 [BZ #17009]
3323 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3324 Rewrite to reduce FPCR/FPSR accesses.
3325
6b4d7a90
DM
33262014-06-01 David S. Miller <davem@davemloft.net>
3327
3328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3329
30f3d07c
DM
33302014-05-31 David S. Miller <davem@davemloft.net>
3331
3332 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3333 to occur in round to nearest mode when |x| >= 2.0
3334
74f31c18
RH
33352014-05-30 Richard Henderson <rth@twiddle.net>
3336
f0712b54
RH
3337 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3338 (PSEUDO_RET_NOERRNO): Remove.
3339 (ret): Don't redefine.
3340 (ret_NOERRNO): Define in terms of ret.
3341 (ret_ERRVAL): Likewise.
3342
74f31c18
RH
3343 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3344 use of PSEUDO_RET; perform the error check directly.
3345
30477995
MM
33462014-05-30 Marko Myllynen <myllynen@redhat.com>
3347
3348 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3349 with __int128_t.
3350
62a58816
SP
33512014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3352
3353 * malloc/malloc (malloc_info): Fix formatting.
3354
4d653a59
SP
33552014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 Roland McGrath <roland@hack.frob.com>
3357
3358 * malloc/malloc (malloc_info): Also print mmapped statistics.
3359
5190c17f
RM
33602014-05-30 Roland McGrath <roland@hack.frob.com>
3361
3362 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3363 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3364
987c0269
OB
33652014-05-30 Ondřej Bílka <neleai@seznam.cz>
3366
3367 * malloc/malloc.c (malloc_info): Inline mi_arena.
3368
af4e8ef9
RH
33692014-05-29 Richard Henderson <rth@twiddle.net>
3370
1670e207
RH
3371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3372 Remove comma before expanding ASM_ARGS_##nr.
3373 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3374 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3375 of ASM_ARGS_##nr.
3376 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3377 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3378 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3379 (ASM_ARGS_1): Add leading comma.
3380
11a28aee
RH
3381 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3382 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3383 to __errno_location.
3384 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3385 Remove the expected plt for __errno_location.
3386
a17e5ffb 3387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3388 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3389 call to __read_tp.
3390
b5be4597
RH
3391 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3392 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3393 it and break it down.
3394 (DOCARGS_0, DOCARGS_1): Do nothing.
3395 (DOCARGS_2): Update to store into the new stack frame.
3396 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3397 (UNDOCARGS_1): Update to restore from the new stack frame.
3398 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3399 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3400
645d44ab
RH
3401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3402 (SINGLE_THREAD_P): New parameter for result regno.
3403 (PSEUDO): Update to match; use cbz instead of beq.
3404
a8b4f04a
RH
3405 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3406 Use ENTRY to define the _nocancel entry point. Share the syscall
3407 and syscall error check paths with the cancel path.
3408 (PSEUDO_END): New.
3409
af4e8ef9
RH
3410 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3411 whitespace; tabs before and after asm mnemonics.
3412
26b0d2e1
EW
34132014-05-29 Eric Wong <normalperson@yhbt.net>
3414
3415 [BZ #15132]
3416 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3417 Call fstat64 or stat64 internally, depending on arguments passed.
3418 Replace stat buffer argument with file descriptor argument.
3419 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3420 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3421 Pass fd to __internal_statvfs instead of calling fstat64.
3422 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3423 Pass fd to __internal_statvfs64 instead of calling fstat64.
3424 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3425 Pass -1 to __internal_statvfs instead of calling stat64.
3426 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3427 Pass -1 to __internal_statvfs64 instead of calling stat64.
3428
1efe2bd9
RM
34292014-05-28 Roland McGrath <roland@hack.frob.com>
3430
0d3b7a19
RM
3431 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3432 that was previously under [RESET_PID].
3433 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3434
1efe2bd9
RM
3435 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3436 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3437
a6bea3ca
RM
34382014-05-27 Roland McGrath <roland@hack.frob.com>
3439
30b6629e
RM
3440 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3441
a6bea3ca
RM
3442 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3443 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3444
3dfb9a5c
OB
34452014-05-27 Ondřej Bílka <neleai@seznam.cz>
3446
3447 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3448
774f9285
AS
34492014-05-27 Andreas Schwab <schwab@suse.de>
3450
3451 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3452 TLS_INIT_TP macro.
3453 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3454 * elf/rtld.c (init_tls, dl_main): Likewise.
3455 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3456 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3457 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3458 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3459 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3460 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3461 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3462 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3463 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3464 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3465 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3466 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3467 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3468 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3469 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3470 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3471 * sysdeps/generic/tls.h: Update description.
3472
36ffe739
WN
34732014-05-27 Will Newton <will.newton@linaro.org>
3474
3475 [BZ #16990]
3476 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3477 and restore r2 rather than just restoring.
3478
2482ae43
SP
34792014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3480
3481 [BZ #16724]
3482 * libio/tst-ftell-append.c: New test case.
3483 * libio/Makefile (tests): Add test case.
3484 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3485 append mode.
3486 * libio/wfileops.c (do_ftell_wide): Likewise.
3487
3d1024e8
AZ
34882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3489
bab90016
AZ
3490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3491
c7a8d667
AZ
3492 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3493 ...
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3496 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3497 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3498 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3499 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3500 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3501 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3503 Moved ...
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3506 Moved ...
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3508 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3509 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3510 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3511 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3512 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3513 ...
3514 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3515 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3516 Moved ...
3517 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3518 here.
3519 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3520 ...
3521 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3522 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3523 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3524
daee7851
AZ
3525 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3526 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3527 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3528 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3529
50a40819
AZ
3530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3531 merge into ...
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3534 ...
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3536 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3537 ...
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3540 Moved ...
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3542 here.
3543 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3544 Moved ...
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3547 Moved ...
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3549
8464c2a1
AZ
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3551 conditional [RESET_PID].
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3554 removed.
3555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3556 removed.
3557
3d1024e8
AZ
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3559 <tcb-offsets.h>.
3560 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3561 (__libc_vfork): New strong alias.
3562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3563 removed.
3564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3565 Removed.
3566
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3568 <tcb-offsets.h>.
3569 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3570 (__libc_vfork): New strong alias.
3571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3572 removed.
3573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3574 removed.
3575
fdfd175d
CD
35762014-05-26 Carlos O'Donell <carlos@redhat.com>
3577
3578 * malloc/malloc.c (mi_arena): New function.
3579 (malloc_info): Remove nested function mi_arena. Call non-nosted
3580 function mi_arena.
3581
d298c416
AZ
35822014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3583
3584 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3585 by insrwi.
3586 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3587 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3588 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3589 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3590 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3591 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3592 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3593
b60ea6ff
AS
35942014-05-26 Andreas Schwab <schwab@suse.de>
3595
3596 [BZ #16984]
3597 * locale/programs/repertoire.c (repertoire_read): Add slash
3598 between I18NPATH element and file name.
3599 * locale/programs/locfile.c (locfile_read): Likewise.
3600
67365926
SL
36012014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3602
3603 * nptl/pthread_mutexattr_settype.c
3604 (__pthread_mutexattr_settype):
3605 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3606
f8bdf1f0
SL
36072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3608
3609 * nptl/tst-mutex5 (do_test):
3610 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3611
15eaf6ff
SP
36122014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3613
3614 * benchtests/README: Document 'init' directive.
3615 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3616 BENCH_INIT.
3617 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3618 (parse_file): Recognize 'init' directive.
3619
75f11331
KM
36202014-05-26 Kyle McMartin <kyle@redhat.com>
3621
3622 [BZ #16796]
3623 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3624 alignment of struct pthread.
3625
c3ec475c
SP
36262014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
3628 [BZ #16878]
3629 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3630 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3631 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3632 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3633
82aab97c
RH
36342014-05-25 Richard Henderson <rth@twiddle.net>
3635
aa2f176d
RH
3636 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3637 (SINGLE_THREAD_P_PIC): Remove.
3638 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3639 (SINGLE_THREAD_P_PIC): Remove.
3640
ca3cfa40
RH
3641 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3642 branch to syscall error ...
3643 (PSEUDO): ... here.
3644 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3645 from __local_syscall_error to .Lsyscall_error.
3646 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3647 (SYSCALL_ERROR): Update label name.
3648
6e6c2d01
RH
3649 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3650 Do not use DOARGS/UNDOARGS.
3651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3652 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3653 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3654 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3655 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3656
c69abcee
RH
3657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3658 block comment.
3659
82aab97c
RH
3660 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3661 define if !NOT_IN_libc.
3662 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3663 define with non-default symbol versions.
3664
8820e3ac
RH
36652014-05-23 Richard Henderson <rth@twiddle.net>
3666
900e445f
RH
3667 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3668 (vfork, __vfork): Define via compat_symbol.
3669
8820e3ac
RH
3670 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3671 [!HAVE_IFUNC] (vfork_compat): Remove.
3672 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3673
e59252a5
JM
36742014-05-23 Joseph Myers <joseph@codesourcery.com>
3675
3676 [BZ #16978]
3677 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3678 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3679 variable.
3680
132c7f5f
RH
36812014-05-23 Richard Henderson <rth@twiddle.net>
3682
bc89e962
RH
3683 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3684 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3685 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3686 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3687
3688 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3689 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3690 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3691 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3692 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3693 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3694 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3695 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3696 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3697 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3698 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3699 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3700 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3701 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3702 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3703 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3704 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3705 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3707 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3709 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3711 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3714 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3715 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3716 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3717 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3719 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3727 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3728 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3729 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3730 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3731 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3732 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3733 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3734 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3735 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3736 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3737 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3738 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3739 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3741 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3742 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3743 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3744
e2fa4bc2
RH
3745 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3746 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3747 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3748 before exiting on error.
3749 (__libc_vfork): New strong alias.
3750 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3751 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3752
279b24e2
RH
3753 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3754 that was previously under [RESET_PID].
3755 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3756
132c7f5f
RH
3757 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3758
b72592e7
JM
37592014-05-23 Joseph Myers <joseph@codesourcery.com>
3760
3761 [BZ #16977]
3762 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3763 value when x - 1 is zero.
3764 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3765 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3766 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3767 0.0L for an argument of 1.0L.
3768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3769 Likewise.
3770 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3771 value when x - 1 is zero.
3772 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3773 * sysdeps/i386/fpu/libm-test-ulps: Update.
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775
2302d679
RV
37762014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3777
3778 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3779 alphasort and versionsort.
3780
32999d63
AZ
37812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3782
3783 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3784 macro.
3785 [copysignf]: Likewise.
3786
019324d0
SP
37872014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3788
3789 * crypt/md5-crypt.c: Fix formatting.
3790
34fff5c2
KS
37912014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3792
3793 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3794 (b64_from_24bit): New function.
3795
3d2badac
AZ
37962014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3797
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3799 libc_hidden_builtin_def to ifunc.
3800 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3801 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3802
f7bb179f 38032014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3804
3805 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3806 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3807
4134b50d
JM
38082014-05-21 Joseph Myers <joseph@codesourcery.com>
3809
bb7d0337
JM
3810 * nscd/Depend (linuxthreads): Remove.
3811 (nptl): Add.
3812 * resolv/Depend (linuxthreads): Remove.
3813 * rt/Depend (linuxthreads): Remove.
3814
4134b50d
JM
3815 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3816 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3817 $(common-objpfx)elf/.
3818 (link-libc-before-gnulib): Likewise.
3819 (elfobjdir): Remove variable.
3820 * Makefile (install): Use $(elf-objpfx) instead of
3821 $(common-objpfx)elf/.
3822 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3823 $(elfobjdir)/.
3824 (link-libc-deps): Likewise.
3825 ($(common-objpfx)libc.so): Likewise.
3826 ($(common-objpfx)linkobj/libc.so): Likewise.
3827 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3828 instead of $(common-objpfx)elf/.
3829 (symbolic-link-list): Likewise.
3830 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3831 [$(cross-compiling) = no]: Likewise.
3832 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3833 $(elfobjdir)/.
3834 (static-gnulib-arch): Likewise.
3835 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3836 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3837 $(common-objpfx)elf/.
3838
3612eb8f
RH
38392014-05-21 Richard Henderson <rth@redhat.com>
3840
a6b3657b
RH
3841 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3842 (SINGLE_THREAD_P): Use the correct width load. Fold
3843 into the ldr offset.
3844
3612eb8f
RH
3845 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3846 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3847
175cef41
JM
38482014-05-20 Joseph Myers <joseph@codesourcery.com>
3849
3850 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3851 (libgcc_s_resume): Use __attribute_used__.
3852 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3853 Likewise.
3854
e13bccd3
AZ
38552014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856
3857 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3858 optimization when used with float constants.
3859
7c112a38
AZ
3860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3861
ae75a883
AJ
38622014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3863
3864 [BZ #16915]
3865 * locale/nl_langinfo_l.c: Make direct reference to every
3866 _nl_current_CATEGORY symbol.
3867 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3868 (tests-static): Add tst-langinfo-static.
3869 (tests-special): Add tst-langinfo-static.out.
3870 ($(objpfx)tst-langinfo.out): Redirect output.
3871 ($(objpfx)tst-langinfo-static.out): New.
3872 * localedata/tst-langinfo.sh: Send output to stdout.
3873 * localedata/tst-langinfo-static.c: New file.
3874
4406c41c
AJ
3875 [BZ #16965]
3876 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3877 when the shift amount is modulo the limb size.
3878
4c0a1e63
RH
38792014-05-20 Richard Henderson <rth@redhat.com>
3880
de9d8f20
RH
3881 [BZ #16967]
3882 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3883 Change type of sa_flags from unsigned int to int.
3884
4c0a1e63
RH
3885 [BZ #16966]
3886 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3887
3888 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3889
a60339aa
WN
38902014-05-20 Will Newton <will.newton@linaro.org>
3891
3892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3893 Test the return value of the system call in the nocancel case.
3894
7d05a816
YR
38952014-05-20 Will Newton <will.newton@linaro.org>
3896 Yvan Roux <yvan.roux@linaro.org>
3897
3898 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3899 #include of asm/ptrace.h.
3900 (PTRACE_GET_THREAD_AREA): Remove #undef.
3901 (PTRACE_GETHBPREGS): Likewise.
3902 (PTRACE_SETHBPREGS): Likewise.
3903 (struct user_regs_struct): New structure.
3904 (struct user_fpsimd_struct): New structure.
3905 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3906 #include of asm/ptrace.h and second #include of sys/user.h.
3907 (PTRACE_GET_THREAD_AREA): Remove #undef.
3908 (PTRACE_GETHBPREGS): Likewise.
3909 (PTRACE_SETHBPREGS): Likewise.
3910 (ELF_NGREG): Use new struct user_regs_struct.
3911 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3912
af121e37
AZ
39132014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3914
3915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3917
834caf06
JM
39182014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3919
3920 [BZ #16958]
3921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3922 membar to avoid block loads/stores to overlap previous stores.
3923
e184a918
RH
39242014-05-17 Richard Henderson <rth@redhat.com>
3925
3926 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3927 Create the __##syscall_name##_nocancel entry point.
3928 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3929 Remove; let the sysdep-cancel.h code create it.
3930
f56c7a6a
DM
39312014-05-17 David S. Miller <davem@davemloft.net>
3932
3933 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3934 Protect with __USE_GNU.
3935 (TIOCSET_TEMPT): Likewise.
3936 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3937 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3938 these are already provided in bits/ioctl-types.h
3939
f75616b2
RM
39402014-05-16 Roland McGrath <roland@hack.frob.com>
3941
3edeca86
RM
3942 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3943 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3944
f75616b2
RM
3945 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3946 Use wait4 regardless of [__NR_waitpid].
3947
deb0f7f6
MR
39482014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3949
3950 PR libgcc/60166
3951 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3952 (_FP_NANSIGN_Q): Set the quiet bit.
3953
79520f4b
JM
39542014-05-16 Joseph Myers <joseph@codesourcery.com>
3955
3956 * benchtests/Makefile
3957 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3958 not $(common-objpfx)math/libm.so.
3959 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3960 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3961 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3962 $(common-objpfx)dlfcn/libdl.so.
3963 ($(objpfx)tst-audit8): Depend on $(libm), not
3964 $(common-objpfx)math/libm.so.
3965 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3966 not $(common-objpfx)dlfcn/libdl.so.
3967 * math/Makefile
3968 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3969 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3970 [$(build-shared) = yes].
3971 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3972 $(common-objpfx)nptl/libpthread.so.
3973 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3974 $(common-objpfx)math/libm.so$(libm.so-version) or
3975 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3976 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3977 $(common-objpfx)dlfcn/libdl.so.
3978 * setjmp/Makefile (link-libm): Remove variable.
3979 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3980 * stdio-common/Makefile (link-libm): Remove variable.
3981 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3982 * stdlib/Makefile (link-libm): Remove variable.
3983 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3984 ($(objpfx)tst-strtod-round): Likewise.
3985 ($(objpfx)tst-tininess): Likewise.
3986 ($(objpfx)tst-strtod-underflow): Likewise.
3987 ($(objpfx)tst-strtod6): Likewise.
3988 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3989 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3990 $(common-objpfx)dlfcn/libdl.so.
3991
026b0fe4
AZ
39922014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3993
3994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3995 BSD terminal modes definitions.
3996
def4bcb2
RM
39972014-05-16 Roland McGrath <roland@hack.frob.com>
3998
fe39b021
RM
3999 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4000 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4001
1d1fc46e 4002 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4003 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4004 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4005 Don't do #include_next.
4006 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4007 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4008 Don't do #include_next.
4009 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4010 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4011 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4012 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4013
c72399fb
AM
40142014-05-16 Allan McRae <allan@archlinux.org>
4015
d51d659d
AM
4016 * po/sv.po: Update Swedish translation from translation project.
4017
c72399fb
AM
4018 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4019 in sed expression.
4020
d0583c40
AJ
40212014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4022
4023 [BZ #16917]
4024 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4025 errno if the TIOCGPTN ioctl fails with an error different than
4026 EINVAL.
4027 * login/tst-ptsname.c: New file.
4028 * login/Makefile (tests): Add tst-ptsname.
4029
d16e6ec7
AJ
4030 [BZ #16943]
4031 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4032 and prlimit64.
4033
cf26a0cb
SP
40342014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4035
4036 [BZ #16849]
4037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4038 herrno to return EAI_AGAIN.
4039
5675da1e
RM
40402014-05-14 Roland McGrath <roland@hack.frob.com>
4041
a5d87b3d
RM
4042 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4043 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4044 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4047 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4048 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4049 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4051 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4055 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4056 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4057 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4059 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4063 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4064 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4065 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4066 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4067 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4071 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4073 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4077 Moved ...
4078 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4084 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4096 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4102 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4104 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4106 Moved ...
4107 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4125 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4127 Moved ...
4128 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4130 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4131
039890a6
RM
4132 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4133 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4134 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4135 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4136 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4137 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4138 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4139 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4140 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4142 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4143 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4144 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4146 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4148 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4150 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4152 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4154 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4155 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4156 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4158 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4161 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4162 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4163
65c89320
RM
4164 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4165 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4166
348f8e8c
RM
4167 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4168 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4169 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4170 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4171 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4172 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4173 Moved ...
4174 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4175 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4176 Moved ...
4177 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4179 Moved ...
4180 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4181 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4182 Moved ...
4183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4184 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4185 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4187 Moved ...
4188 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4190 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4192 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4194 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4196 Moved ...
4197 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4199 Moved ...
4200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4201 ... here.
4202 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4203 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4205 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4207 Moved ...
4208 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4209 ... here.
4210 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4211 Moved ...
4212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4214 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4216 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4218 Moved ...
4219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4221 Moved ...
4222 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4223 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4224 Moved ...
4225 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4227 Moved ...
4228 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4229 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4230 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4231 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4232 Moved ...
4233 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4235 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4237 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4239 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4241 Moved ...
4242 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4244 Moved ...
4245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4246 ... here.
4247 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4248 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4249 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4250 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4252 Moved ...
4253 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4254 ... here.
4255 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4256 Moved ...
4257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4258 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4259 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4260 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4261 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4262 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4263 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4264 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4265 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4266 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4267 Moved ...
4268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4269 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4270 Moved ...
4271 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4272 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4273 Moved ...
4274 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4276 Moved ...
4277 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4278 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4279 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4280 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4281 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4282 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4283 Moved ...
4284 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4285 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4286 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4287 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4289 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4290 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4292 Moved ...
4293 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4294 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4295 Moved ...
4296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4297 ... here.
4298 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4299 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4301 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4302 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4303 Moved ...
4304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4305 ... here.
4306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4307 Moved ...
4308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4310 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4312 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4314 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4316 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4318 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4319
5085af05
RM
4320 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4321 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4322
708f0813
RM
4323 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4324 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4325
c96067bc
RM
4326 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4327 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4328 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4329 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4330 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4331 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4332 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4334 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4338 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4340 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4342 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4344 Moved ...
4345 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4347 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4349 Moved ...
4350 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4352 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4353 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4354 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4358 Moved ...
4359 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4361 Moved ...
4362 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4363 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4364 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4368 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4369 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4370 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4371 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4372 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4373 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4374 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4376 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4378 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4379
ec136444
RM
4380 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4381 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4382 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4383 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4384 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4385
2fbdf533
RM
4386 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4387 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4389 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4390 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4391 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4392 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4393 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4394 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4395 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4396
4c68138b
RM
4397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4399
4eaae765
RM
4400 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4401 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4402 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4403 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4404 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4405 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4406 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4407 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4408 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4409 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4410 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4411 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4412 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4413 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4415 Update #include.
4416 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4417 Likewise.
4418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4419 Likewise.
4420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4421 Likewise.
4422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4423 Likewise.
4424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4425 Likewise.
4426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4427 Likewise.
4428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4429 Likewise.
4430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4431 Likewise.
4432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4433 Likewise.
4ef6befa
RM
4434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4439 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4444 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4445 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4447 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4449
941d7dfd
RM
4450 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4451 that was previously under [RESET_PID].
4452 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4453 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4454 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4455
1b731c35
RM
4456 * sysdeps/i386/nptl/Implies: New file.
4457 * sysdeps/x86_64/nptl/Implies: New file.
4458 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4459 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4460 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4461 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4462
e2787137
RM
4463 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4464 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4465 (__libc_vfork): New strong alias.
4466 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4467 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4468
4469 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4470 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4471 (__libc_vfork): New strong alias.
4472 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4473 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4474
5675da1e
RM
4475 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4476 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4477 (__libc_vfork): New strong alias.
4478 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4479 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4480 * nptl/pt-vfork.c: New file.
4481 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4482 (libpthread: GLIBC_2.20): New version set (empty).
4483
4f02e2b8
WN
44842014-05-14 Will Newton <will.newton@linaro.org>
4485
4486 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4487 rather than #if.
4488
0bf061d3
JM
44892014-05-14 Joseph Myers <joseph@codesourcery.com>
4490
1a84c3d6
JM
4491 [BZ #16564]
4492 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4493 arguments with exponent 65 or above.
4494 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4495 arguments 0x1p113L or above.
4496 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4497 to arguments 0x1p107L or above.
4498 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4499 positive arguments with exponent 65 or above.
4500 * math/auto-libm-test-in: Add more tests of log1p.
4501 * math/auto-libm-test-out: Regenerated.
4502
01dbacd2
JM
4503 [BZ #16928]
4504 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4505 non-finite arguments is +0.
4506 * math/s_cacosf.c (__cacosf): Likewise.
4507 * math/s_cacosl.c (__cacosl): Likewise.
4508 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4509 * sysdeps/i386/fpu/libm-test-ulps: Update.
4510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4511
913d03c8
JM
4512 [BZ #16927]
4513 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4514 value.
4515 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4516 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4517 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4518 for explicit high bit of mantissa when testing for argument equal
4519 to 1.
4520 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4521 * sysdeps/i386/fpu/libm-test-ulps: Update.
4522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4523
0bf061d3
JM
4524 [BZ #16516]
4525 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4526 (__erf): Scale by 16 instead of 8 in potentially underflowing
4527 case. Ensure exception if result actually underflows.
4528 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4529 (__erff): Scale by 16 instead of 8 in potentially underflowing
4530 case. Ensure exception if result actually underflows.
4531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4532 (efx8): Remove variable.
4533 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4534 case. Ensure exception if result actually underflows.
4535 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
4544 * math/auto-libm-test-out: Regenerated.
4545
73ba67cb
AS
45462014-05-14 Andreas Schwab <schwab@suse.de>
4547
3d8c8bff
AS
4548 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4549 Remove code conditionalized on USE___THREAD.
4550
73ba67cb
AS
4551 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4552 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4553 not definedness.
4554
5c521ecd
JM
45552014-05-14 Joseph Myers <joseph@codesourcery.com>
4556
5e7698c6
JM
4557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4558 Define unconditionally.
4559 (__ASSUME_O_CLOEXEC): Likewise.
4560 (__ASSUME_SOCK_CLOEXEC): Likewise.
4561 (__ASSUME_IN_NONBLOCK): Likewise.
4562 (__ASSUME_PIPE2): Likewise.
4563 (__ASSUME_EVENTFD2): Likewise.
4564 (__ASSUME_SIGNALFD4): Likewise.
4565 (__ASSUME_DUP3): Likewise.
4566 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4567 (__ASSUME_DUP3): Do not define.
4568 (__ASSUME_EVENTFD2): Likewise.
4569 (__ASSUME_IN_NONBLOCK): Likewise.
4570 (__ASSUME_O_CLOEXEC): Likewise.
4571 (__ASSUME_PIPE2): Likewise.
4572 (__ASSUME_SIGNALFD4): Likewise.
4573 (__ASSUME_SOCK_CLOEXEC): Likewise.
4574 (__ASSUME_UTIMES): Undefine.
4575 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4576 (__ASSUME_UTIMES): Do not define.
4577 (__ASSUME_O_CLOEXEC): Likewise.
4578 (__ASSUME_SOCK_CLOEXEC): Likewise.
4579 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4580 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4581 0x020621].
4582 (__ASSUME_PIPE2): Likewise.
4583 (__ASSUME_EVENTFD2): Likewise.
4584 (__ASSUME_SIGNALFD4): Likewise.
4585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4586 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4587 Do not define.
4588 (__ASSUME_EVENTFD2): Likewise.
4589 (__ASSUME_SIGNALFD4): Likewise.
4590 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4591 (__ASSUME_32BITUIDS): Likewise.
4592 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4593 (__ASSUME_IPC64): Likewise.
4594 (__ASSUME_ST_INO_64_BIT): Likewise.
4595 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4596 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4598 (__ASSUME_UTIMES): Do not define.
4599 (__ASSUME_PSELECT): Likewise.
4600 (__ASSUME_PPOLL): Likewise.
4601 (__ASSUME_O_CLOEXEC): Likewise.
4602 (__ASSUME_SOCK_CLOEXEC): Likewise.
4603 (__ASSUME_IN_NONBLOCK): Likewise.
4604 (__ASSUME_PIPE2): Likewise.
4605 (__ASSUME_EVENTFD2): Likewise.
4606 (__ASSUME_SIGNALFD4): Likewise.
4607 (__ASSUME_DUP3): Likewise.
4608 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4609 (__ASSUME_UTIMES): Likewise.
4610 (__ASSUME_O_CLOEXEC): Likewise.
4611 (__ASSUME_SOCK_CLOEXEC): Likewise.
4612 (__ASSUME_IN_NONBLOCK): Likewise.
4613 (__ASSUME_PIPE2): Likewise.
4614 (__ASSUME_EVENTFD2): Likewise.
4615 (__ASSUME_SIGNALFD4): Likewise.
4616 (__ASSUME_DUP3): Likewise.
4617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4618 (__ASSUME_UTIMES): Likewise.
4619 (__ASSUME_O_CLOEXEC): Likewise.
4620 (__ASSUME_SOCK_CLOEXEC): Likewise.
4621 (__ASSUME_IN_NONBLOCK): Likewise.
4622 (__ASSUME_PIPE2): Likewise.
4623 (__ASSUME_EVENTFD2): Likewise.
4624 (__ASSUME_SIGNALFD4): Likewise.
4625 (__ASSUME_DUP3): Likewise.
4626 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4627 Likewise.
4628 (__ASSUME_UTIMES): Likewise.
4629 (__ASSUME_EVENTFD2): Likewise.
4630 (__ASSUME_SIGNALFD4): Likewise.
4631 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4632 (__ASSUME_O_CLOEXEC): Likewise.
4633 (__ASSUME_SOCK_CLOEXEC): Likewise.
4634 (__ASSUME_IN_NONBLOCK): Likewise.
4635 (__ASSUME_PIPE2): Likewise.
4636 (__ASSUME_EVENTFD2): Likewise.
4637 (__ASSUME_SIGNALFD4): Likewise.
4638 (__ASSUME_DUP3): Likewise.
4639 (__ASSUME_UTIMES): Undefine.
4640
5c521ecd
JM
4641 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4642 feclearexcept. Remove symbol versioning code.
4643 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4644 symbol versioning code.
4645 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4646 symbol versioning code.
4647 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4648 feupdateenv. Remove symbol versioning code.
4649 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4650 fegetexceptflag. Remove symbol versioning code.
4651 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4652 fesetexceptflag. Remove symbol versioning code.
4653 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4654 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4655 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4656 (__posix_fadvise64_l32): Remove prototype.
4657 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4658 code.
4659
5da9dfad
RM
46602014-05-13 Roland McGrath <roland@hack.frob.com>
4661
4662 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4663 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4664 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4665 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4666
893b4f37
SK
46672014-05-13 Sami Kerola <kerolasa@iki.fi>
4668
4669 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4670 current working directory
4671
e0db6517
RM
46722014-05-13 Roland McGrath <roland@hack.frob.com>
4673
58aa195d
RM
4674 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4675 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4676 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4677 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4678 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4679 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4680 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4693 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4694 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4701 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4702 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4703 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4707 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4708 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4709 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4710 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4711 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4712 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4713 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4714 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4715 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4716
8c6d01f0
RM
4717 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4718 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4719
4720 * sysdeps/unix/sysv/linux/arm/Makefile
4721 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4722 Add rt-aeabi_unwind_cpp_pr1.
4723 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4724 Add nptl-aeabi_unwind_cpp_pr1.
4725 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4726 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4727 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4728 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4729 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4730 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4731
4732 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4733 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4734 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4735 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4736
bba6da4e
RM
4737 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4738 Deconditionalize the code that was previously under [RESET_PID].
4739 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4740
e0db6517
RM
4741 * sysdeps/generic/exit-thread.h: New file.
4742 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4743 * include/unistd.h (__exit_thread): Remove declaration.
4744 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4745 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4746 * csu/libc-start.c: Include <exit-thread.h>.
4747 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4748 * nptl/pthread_create.c: Include <exit-thread.h>.
4749 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4750 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4751 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4752 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4753 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4754 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4755 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4756 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4757 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4758 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4759 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4760 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4761 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4762 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4763 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4764 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4765 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4766
01eb16fd
AS
47672014-05-13 Andreas Schwab <schwab@suse.de>
4768
4769 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4770
637461d9
JM
47712014-05-12 Joseph Myers <joseph@codesourcery.com>
4772
4773 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4774 (__ASSUME_UTIMES): Do not condition on kernel version.
4775 (__ASSUME_PSELECT): Define unconditionally.
4776 (__ASSUME_PPOLL): Likewise.
4777 (__ASSUME_ATFCTS): Likewise.
4778 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4779 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4780 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4781 (__ASSUME_UTIMENSAT): Define unconditionally.
4782 (__ASSUME_PRIVATE_FUTEX): Likewise.
4783 (__ASSUME_FALLOCATE): Likewise.
4784 (__ASSUME_O_CLOEXEC): Likewise.
4785 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4786 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4787 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4788 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4789 (__ASSUME_IN_NONBLOCK): Likewise.
4790 (__ASSUME_PIPE2): Likewise.
4791 (__ASSUME_EVENTFD2): Likewise.
4792 (__ASSUME_SIGNALFD4): Likewise.
4793 (__ASSUME_DUP3): Likewise.
4794 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4795 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4796 (__ASSUME_AT_RANDOM): Likewise.
4797 (__ASSUME_PREADV): Likewise.
4798 (__ASSUME_PWRITEV): Likewise.
4799 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4800 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4801 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4802 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4803 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4804 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4805 (__ASSUME_O_CLOEXEC): Define unconditionally.
4806 (__ASSUME_PSELECT): Do not undefine conditionally.
4807 (__ASSUME_PPOLL): Likewise.
4808 (__ASSUME_ATFCTS): Likewise.
4809 (__ASSUME_SET_ROBUST_LIST): Likewise.
4810 (__ASSUME_UTIMENSAT): Likewise.
4811 (__ASSUME_FDATASYNC): Define unconditionally.
4812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4813 (__ASSUME_SIGFRAME_V2): Likewise.
4814 )__ASSUME_EVENTFD2): Likewise.
4815 (__ASSUME_SIGNALFD4): Likewise.
4816 (__ASSUME_PSELECT): Do not undefine conditionally.
4817 (__ASSUME_PPOLL): Likewise.
4818 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4819 (__ASSUME_PSELECT): Define unconditionally.
4820 (__ASSUME_PPOLL): Likewise.
4821 (__ASSUME_O_CLOEXEC): Likewise.
4822 (__ASSUME_SOCK_CLOEXEC): Likewise.
4823 (__ASSUME_IN_NONBLOCK): Likewise.
4824 (__ASSUME_PIPE2): Likewise.
4825 (__ASSUME_EVENTFD2): Likewise.
4826 (__ASSUME_SIGNALFD4): Likewise.
4827 (__ASSUME_DUP3): Likewise.
4828 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4829 (__ASSUME_O_CLOEXEC): Likewise.
4830 (__ASSUME_SOCK_CLOEXEC): Likewise.
4831 (__ASSUME_IN_NONBLOCK): Likewise.
4832 (__ASSUME_PIPE2): Likewise.
4833 (__ASSUME_EVENTFD2): Likewise.
4834 (__ASSUME_SIGNALFD4): Likewise.
4835 (__ASSUME_DUP3): Likewise.
4836 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4837 (__ASSUME_EVENTFD2): Likewise.
4838 (__ASSUME_SIGNALFD4): Likewise.
4839 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4840
315eb1d8
AS
48412014-05-12 Andreas Schwab <schwab@suse.de>
4842
4843 [BZ #16932]
4844 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4845 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4846 than maximum RPC packet size.
4847 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4848 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4849 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4850 (_nss_nis_getservbyport_r): Likewise.
4851
91df99f7
WN
48522014-05-12 Will Newton <will.newton@linaro.org>
4853
4854 * malloc/Makefile (tests): Add tst-mallopt.
4855 * malloc/tst-mallopt.c: New file.
4856
0a982a29
RM
48572014-05-09 Roland McGrath <roland@hack.frob.com>
4858
4859 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4860 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4861
0ded08a5
AZ
48622014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4863
4864 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4865 (tst-tlsmod6.so): Likewise.
4866
55d4d550
RM
48672014-05-09 Roland McGrath <roland@hack.frob.com>
4868
4869 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4870
77d08aca
JM
48712014-05-09 Joseph Myers <joseph@codesourcery.com>
4872
4873 [BZ #16064]
4874 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4875 and <dl-procinfo.h>.
4876 (__fegetenv): Save SSE state in envp->__eip if supported.
4877 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4878 envp->__eip if supported.
4879 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4880 and <dl-procinfo.h>.
4881 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4882 __data_offset and __data_selector in environment to 0. Set SSE
4883 state if supported.
4884 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4885 test-fenv-sse.
4886 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4887 -mfpmath=sse.
4888 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4889
28162f4d
WN
48902014-05-09 Will Newton <will.newton@linaro.org>
4891
4892 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4893 and libc_relro_required for ARM.
4894 * sysdeps/arm/preconfigure: Regenerate.
4895
5a414ff7
DV
48962014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4897 Stefan Liebler <stli@linux.vnet.ibm.com>
4898
4899 * config.make.in (enable-lock-elision): New Makefile variable.
4900 * configure.ac: Likewise.
4901 * configure: Regenerate.
4902 * sysdeps/s390/configure.ac:
4903 Add check for gcc transactions support.
4904 * sysdeps/s390/configure: Regenerate.
4905 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4906 Build elision files if enabled.
4907 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4908 Add lock elision support for s390.
4909 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4910 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4911 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4912 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4913 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4914 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4915 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4916 Likewise.
4917 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4918 Likewise.
4919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4920 Likewise.
4921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4922 Likewise.
4923 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4924 (__lll_timedlock_elision, __lll_lock_elision)
4925 (__lll_unlock_elision, __lll_trylock_elision)
4926 (lll_timedlock_elision, lll_lock_elision)
4927 (lll_unlock_elision, lll_trylock_elision): Add.
4928 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4929 (pthread_mutex_t): Add lock elision support for s390.
4930
1a2f40e5
W
49312014-05-14 Wilco <wdijkstr@arm.com>
4932
4933 * sysdeps/arm/fclrexcpt.c: Cleanup.
4934 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4935 * sysdeps/arm/feenablxcpt.c: Cleanup.
4936 * sysdeps/arm/fegetenv.c: Cleanup.
4937 * sysdeps/arm/fegetexcept.c: Cleanup.
4938 * sysdeps/arm/fegetround.c: Cleanup.
4939 * sysdeps/arm/feholdexcpt.c: Cleanup.
4940 * sysdeps/arm/fesetenv.c: Cleanup.
4941 * sysdeps/arm/fesetround.c: Cleanup.
4942 * sysdeps/arm/feupdateenv.c: Cleanup.
4943 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4944 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4945 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4946 * sysdeps/arm/ftestexcept.c: Cleanup.
4947 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4948 * sysdeps/arm/setfpucw.c: Cleanup.
4949
f63c86fe
WN
49502014-05-09 Will Newton <will.newton@linaro.org>
4951
4952 * sysdeps/arm/armv7/strcmp.S: New file.
4953 * NEWS: Mention addition of ARMv7 optimized strcmp.
4954
7a1a51b5
RM
49552014-05-08 Roland McGrath <roland@hack.frob.com>
4956
95afbbe5
RM
4957 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4958 look for %.ac rather than %.in.
4959
4960 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4961 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4962 * sysdeps/mach/hurd/configure: Regenerated.
4963 * sysdeps/unix/sysv/linux/configure: Regenerated.
4964
7a1a51b5
RM
4965 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4966
5057ad3b
SE
49672014-05-07 Steve Ellcey <sellcey@mips.com>
4968
4969 [BZ# 16922]
4970 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4971 (LONG_SUB): Ditto.
4972 (PTR_SUB): Ditto.
4973
8dc97517
AS
49742014-05-07 Andreas Schwab <schwab@suse.de>
4975
4976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4977 when skipping over non-matching result from nscd.
4978
ce0c5b8f
OB
49792014-05-07 Ondřej Bílka <neleai@seznam.cz>
4980
4981 [BZ #16876]
4982 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4983
a1189263
OB
4984 [BZ #16877]
4985 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4986 nscd security class.
ce0c5b8f 4987
0f58d252
RM
49882014-05-06 Roland McGrath <roland@hack.frob.com>
4989
4990 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4991 * sysdeps/arm/unwind.h: ... here.
4992
83df9ad0
AJ
49932014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4994
ce0c5b8f
OB
4995 [BZ# 16916]
4996 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4997 Define.
83df9ad0 4998
f360f94a
VR
49992014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5000
5001 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5002 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5003 multiarch strncpy for PPC64.
5004 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5005 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5007 multiarch optimizations.
5008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5009 (__libc_ifunc_impl_list): Likewise.
5010 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5011 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5012 multiarch stpncpy for PPC64.
5013 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5014 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5015
978a41c3
AS
50162014-05-06 Andreas Schwab <schwab@suse.de>
5017
5018 [BZ #16912]
5019 * gmon/mcount.c (_MCOUNT_DECL): Use
5020 atomic_compare_and_exchange_bool_acq instead of
5021 catomic_compare_and_exchange_bool_acq.
5022
eb1ed03d
RM
50232014-05-05 Roland McGrath <roland@hack.frob.com>
5024
fe658845
RM
5025 * elf/Makefile (others, install-bin): Remove pldd.
5026 (pldd-modules): Variable removed.
5027 ($(objpfx)pldd): Target removed.
5028 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5029 (others, install-bin): Append pldd here.
5030 ($(objpfx)pldd): New target.
5031
eb1ed03d
RM
5032 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5033 to 0, so the first #if test emitted later doesn't see it undefined.
5034 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5035 * sysdeps/gnu/errlist.c: Regenerated.
5036
19c4bec0
AZ
50372014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5040 [libc_hidden_builtin_def]: Define to empty value.
5041 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5042 [libc_hidden_builtin_def]: Likewise.
5043 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5044 [libc_hidden_builtin_def]: Likewise.
5045 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5046 [libc_hidden_builtin_def]: Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5048 __redirect_memcpy and define ifunc as default hidden symbol.
5049 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5050 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5051
7776e669
AC
50522014-05-04 Adam Conrad <adconrad@0c3.net>
5053
5054 * locale/iso-4217.def: Reintroduce XDR currency.
5055
d69aeb12
AM
50562014-05-04 Allan McRae <allan@archlinux.org>
5057
5058 * po/eo.po: Update Esperanto translation from translation project.
5059
8f1df5cf
CD
50602014-05-02 Carlos O'Donell <carlos@redhat.com>
5061
5062 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5063 and FEATURE_INDEX_MAX to 1.
5064 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5065
13e402e7
SE
50662014-05-01 Steve Ellcey <sellcey@mips.com>
5067
5068 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5069 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5070 * iconvdata/big5.c (ONE_DIRECTION): Define.
5071 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5072 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5073 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5074 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5075 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5076 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5077 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5078 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5079 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5080 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5081 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5082 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5083 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5084 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5085 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5086 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5087 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5088 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5089 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5090 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5091 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5092 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5093 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5094 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5095 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5096 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5097 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5098 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5099 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5100 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5101 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5102 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5103 * iconvdata/johab.c (ONE_DIRECTION): Define.
5104 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5105 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5106 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5107 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5108 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5109 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5110 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5111 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5112 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5113 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5114
c727f032
RM
51152014-05-01 Roland McGrath <roland@hack.frob.com>
5116
8f2f08d0
RM
5117 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5118 (_IO_JUMPS_OFFSET): Define to 0.
5119
c727f032
RM
5120 * nptl/sysdeps/pthread/bits/libc-lock.h
5121 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5122 (__libc_lock_define_initialized_recursive): Always define using
5123 initializer. Modern compilers treat uninitialized (implicit zero) and
5124 explicit zero initializers the same (i.e. put the datum in bss).
5125
a849e800
AS
51262014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5127
5128 * nscd/nscd-client.h: Include <string.h>.
5129
5331255b
DM
51302014-05-01 David S. Miller <davem@davemloft.net>
5131
5132 [BZ #16885]
5133 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5134 multiple zero bytes exist at the end of a string.
5135 Reported by Aurelien Jarno <aurelien@aurel32.net>
5136
5137 * string/test-strcmp.c (check): Add explicit test for situations where
5138 there are multiple zero bytes after the first.
5139
4fdfe821
AS
51402014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5141
5142 [BZ #16890]
5143 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5144 when compiling wprintf.
5145 * stdio-common/tstdiomisc.c (t3): New function.
5146 (main): Call it.
5147
0cdddc25
SE
51482014-05-01 Steve Ellcey <sellcey@mips.com>
5149
5150 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5151 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5152 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5153 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5154
6426d77e
SE
51552014-05-01 Steve Ellcey <sellcey@mips.com>
5156
5157 * stdlib/longlong.h: Updated from GCC.
5158
6d96f5e4
WN
51592014-05-01 Will Newton <will.newton@linaro.org>
5160 Bernard Ogden <bernie.ogden@linaro.org>
5161
7470db0c
WN
5162 * NEWS: Update fixed bug list.
5163
6d96f5e4
WN
5164 [BZ #15119]
5165 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5166
211d653c
DM
51672014-04-30 David S. Miller <davem@davemloft.net>
5168
4fa262fa
DM
5169 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5170 (libc_feholdexcept_setround_sparc_ctx): New function.
5171 (libc_fesetenv_sparc_ctx): Likewise.
5172 (libc_feupdateenv_sparc_ctx): Likewise.
5173 (libc_feholdsetround_sparc_ctx): Likewise.
5174 (libc_feholdexcept_setround_ctx): Define.
5175 (libc_feholdexcept_setroundf_ctx): Likewise.
5176 (libc_feholdexcept_setroundl_ctx): Likewise.
5177 (libc_fesetenv_ctx): Likewise.
5178 (libc_fesetenvf_ctx): Likewise.
5179 (libc_fesetenvl_ctx): Likewise.
5180 (libc_feupdateenv_ctx): Likewise.
5181 (libc_feupdateenvf_ctx): Likewise.
5182 (libc_feupdateenvl_ctx): Likewise.
5183 (libc_feresetround_ctx): Likewise.
5184 (libc_feresetroundf_ctx): Likewise.
5185 (libc_feresetroundl_ctx): Likewise.
5186 (libc_feholdsetround_ctx): Likewise.
5187 (libc_feholdsetroundf_ctx): Likewise.
5188 (libc_feholdsetroundl_ctx): Likewise.
5189
1d3d93ef
DM
5190 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5191 with __USE_GNU instead of XOPEN cpp guards.
5192
8aa583c3
DM
5193 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5194 0.
5195
211d653c
DM
5196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5197 with XOPEN cpp guards.
5198
60c8f1f6
JB
51992014-04-30 Julian Brown <julian@codesourcery.com>
5200
5201 [BZ #16888]
5202 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5203 handling.
5204
9a461d46
JM
52052014-04-30 Joseph Myers <joseph@codesourcery.com>
5206
d0f5b3f8
JM
5207 [BZ #9894]
5208 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5209 Change to 2.6.32.
5210 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5211 * sysdeps/unix/sysv/linux/configure: Regenerated.
5212 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5213 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5214 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5215 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5216 * README: Update reference to required Linux kernel version.
5217 * manual/install.texi (Linux): Update reference to required Linux
5218 kernel headers version.
5219 * INSTALL: Regenerated.
5220
9a461d46
JM
5221 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5222 header inclusion.
5223 [POSIX] (limits.h): Likewise.
5224 [POSIX] (math.h): Likewise.
5225 [POSIX] (sys/wait.h): Likewise.
5226 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5227 function.
5228 [POSIX] (stddef.h): Do not allow header inclusion.
5229
1775babf
AZ
52302014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5231
57f41c40 5232 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5233
8f630cca
YY
52342014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5235
5236 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5237 Return immediately after lll_futex_wake.
5238
1cdeb237
SP
52392014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5240
bc8f194c
SP
5241 [BZ #16791]
5242 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5243 structure.
5244 (datahead_init_pos): Call datahead_init_common early.
5245 (datahead_init_neg): Likewise.
5246
1cdeb237
SP
5247 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5248 datahead_init_neg): New functions.
5249 * nscd/aicache.c (addhstaiX): Use them.
5250 * nscd/grpcache.c (cache_addgr): Likewise.
5251 * nscd/hstcache.c (cache_addhst): Likewise.
5252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5253 * nscd/netgroupcache.c (do_notfound): Likewise.
5254 (addgetnetgrentX): Likewise.
5255 (addinnetgrX): Likewise.
5256 * nscd/pwdcache.c (cache_addpw): Likewise.
5257 * nscd/servicescache.c (cache_addserv): Likewise.
5258
16b293a7
SP
52592014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5260 Atsushi Onoe <atsushi@onoe.org>
5261
5262 [BZ #14308]
5263 [BZ #12994]
5264 [BZ #13651]
5265 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5266 one response is valid.
5267 * resolv/res_send.c (send_dg): Check for validity of other
5268 response if the current response is a referral.
5269
a28a9b94
SE
52702014-04-29 Steve Ellcey <sellcey@mips.com>
5271
5272 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5273
2ca180e9
SL
52742014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5275
5276 [BZ #16823]
5277 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5278 Always divide by positive zero when computing -Inf result.
5279 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5280 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5281
18f2945a
AZ
52822014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5285 FPSCR if value do not change.
5286 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5287 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5288 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5289 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5290 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5291 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5292 function.
5293
5abebba4
CD
52942014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5295
5296 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5297 * sysdeps/unix/sysv/linux/hppa: Move directory from
5298 ports/systeps/unix/sysv/linux/hppa.
5299 * README: Update listing for hppa-*-linux-gnu.
5300
f7ed60c2
OB
53012014-04-28 Ondřej Bílka <neleai@seznam.cz>
5302
fff763a5
OB
5303 [BZ #16754]
5304 * manual/stdio.texi (Hook functions): Fix types of stream hook
5305 functions.
f7ed60c2
OB
5306 [BZ #16854]
5307 * socket/sys/socket.h: Fix typo in comment.
5308
df639d73
WD
53092014-04-28 Wilco <wdijkstr@arm.com>
5310
f7ed60c2 5311 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5312 * sysdeps/arm/math_private.h: New file.
5313 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5314
48332d82
L
53152014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5316
5317 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5318 with __int128_t.
5319 (La_x86_64_retval): Likewise.
5320
e5e0d9a4
IB
53212014-04-24 Ian Bolton <ian.bolton@arm.com>
5322
5323 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5324 fpsr if value didn't change.
5325 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5326 to fpcr if value didn't change.
5327 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5328 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5329 fpsr or fpcr if value didn't change.
5330 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5331 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5332 fpcr if value didn't change.
5333 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5334 to fpsr if value didn't change.
5335
bacc75f7
SP
53362014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5337
5338 * nptl/tst-sem3.c: Use test-skeleton.c
5339 (main): Rename to do_test. Use return instead of
5340 exit.
5341 * nptl/tst-sem4.c: Use test-skeleton.c
5342 (main): Rename to do_test.
5343
a059d359
DM
53442014-04-22 David S. Miller <davem@davemloft.net>
5345
5346 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5347 (struct sigaction): New struct member __glibc_reserved0, change
5348 type of sa_flags to int.
5349
ea6c92f3
YZ
53502014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5351
5352 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5353 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5354
766c4a36
SP
53552014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5356
5357 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5358 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5359
140cc7ab
VK
53602014-04-22 Will Newton <will.newton@linaro.org>
5361 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5362
5363 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5364 (__longjmp): Add longjmp and longjmp_target SystemTap
5365 probes.
5366 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5367 (__sigsetjmp): Add setjmp SystemTap probe.
5368
c54e5cf7
CD
53692014-04-17 Carlos O'Donell <carlos@redhat.com>
5370
5371 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5372 match manual order.
5373
75ffb047
AZ
53742014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5375
5376 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5377
2cd925f7
AZ
5378 * sysdeps/powerpc/fpu/fenv_private.h
5379 (libc_feholdexcept_setroundl_ctx): Define to
5380 libc_feholdexcept_setround_ppc_ctx.
5381 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5382 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5383 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5384 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5385
39e6cd8d
IB
53862014-04-17 Ian Bolton <ian.bolton@arm.com>
5387
5388 * sysdeps/aarch64/math-tests.h: New file.
5389
f9281df9
SY
53902014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5391
5392 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5393 New.
5394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5395 Check and set bit_AVX2_Usable.
5396 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5397 macro.
5398 (bit_AVX2): Likewise.
5399 (index_AVX2_Usable): Likewise.
5400 (CPUID_AVX2): Likewise.
5401 (HAS_AVX2): Likewise.
5402
37d35007
WN
54032014-04-17 Will Newton <will.newton@linaro.org>
5404
7c677662
WN
5405 * manual/setjmp.texi (System V contexts): Add note that
5406 calling setcontext on a context created by a call to a
5407 signal handler is undefined. Update text to note that
5408 setcontext from a signal handler is possible but not
5409 recommended.
5410
37d35007 5411 [BZ #16629]
e04a4e9d
WN
5412 * stdlib/tst-setcontext.c: Include signal.h.
5413 (main): Check that the signal stack before and
5414 after swapcontext is the same.
5415
37d35007
WN
5416 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5417 Re-implement to restore registers in user code and avoid
5418 rt_sigreturn system call.
5419
423a7160
W
54202014-04-17 Wilco <wdijkstr@arm.com>
5421
5422 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5423 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5424 * math/test-fenv.c: Skip exception trap tests on targets which only
5425 support non-stop mode.
5426
bc93ab29
IB
54272014-04-17 Ian Bolton <ian.bolton@arm.com>
5428 Wilco Dijkstra <wilco.dijkstra@arm.com>
5429
5430 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5431 (libc_feholdsetround_aarch64_ctx)
5432 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5433 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5434 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5435 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5436 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5437 (libc_feresetround_noexl_ctx): Define.
5438
95fc5fa3
RH
54392014-04-16 Richard Henderson <rth@redhat.com>
5440
ddb04724
RH
5441 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5442
d77c0899
RH
5443 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5444 unwind tables.
5445
a3df56fc
RH
5446 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5447 const from the non-libc, non-ldso copy.
5448
95fc5fa3
RH
5449 * sysdeps/alpha/libm-test-ulps: Regenerate.
5450
7e0b6763
IB
54512014-04-16 Ian Bolton <ian.bolton@arm.com>
5452 Wilco Dijkstra <wilco.dijkstra@arm.com>
5453
5454 * sysdeps/aarch64/fpu/math_private.h: New file.
5455
a9ea2e0c
MS
54562014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5457
5458 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5459
ea8ba7cd
IZ
54602014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5461
5462 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5463 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5465 Intel MPX bound registers before _dl_profile_fixup.
5466 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5467 registers after _dl_profile_fixup. Save and restore bound
5468 registers bnd0/bnd1 when calling _dl_call_pltexit.
5469 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5470 (LR_BND_OFFSET): Likewise.
5471 (LRV_BND0_OFFSET): Likewise.
5472 (LRV_BND1_OFFSET): Likewise.
5473
9f2a4fbc
ST
54742014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5475
5476 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5477 to...
5478 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5479 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5480 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5481 fields.
9f2a4fbc 5482
fd15a59b
ST
54832014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5484
5485 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5486
f19dfa0a
SL
54872014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5488
5489 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5490
4fa8bc3b
SL
54912014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5492
5493 [BZ #14770]
5494 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5495 * sysdeps/s390/configure: Regenerate.
5496
8ea587db
SL
5497 [BZ #16824]
5498 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5499 Set round-to-nearest internally to reduce error accumulation.
5500
aa5f0ff1
AM
55012014-04-16 Alan Modra <amodra@gmail.com>
5502
5503 [BZ #16740]
5504 [BZ #16619]
5505 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5506 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5507 * NEWS: Update fixed bug list.
aa5f0ff1 5508
bb9c256f
SP
55092014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5510
5511 * benchtests/Makefile: Depend on libraries in build directory.
5512 (bench-math): Separate out math tests.
5513 (bench-pthread): Separate out pthread tests.
5514 (bench): Include math and pthread tests.
5515
f737dfd0
CD
55162014-04-14 Carlos O'Donell <carlos@redhat.com>
5517
5518 [BZ #16831]
5519 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5520 _dl_debug_initialize.
5521
0699f766
CD
5522 * configure.ac: Remove SELinux header check.
5523 * configure: Regenerate.
5524 * nscd/selinux.c (perms): Array of const char* to permission names.
5525 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5526 default policy. Call string_to_security_class and string_to_av_perm to
5527 translate strings. Enforce default policy and call avs_has_perm with
5528 results of translated strings.
5529
809bd45f
DM
55302014-04-13 David S. Miller <davem@davemloft.net>
5531
5532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5533
89e691f2
AM
55342014-04-12 Allan McRae <allan@archlinux.org>
5535
5536 [BZ #16838]
5537 * manual/string.texi (Collation Functions): Fix qsort argument
5538 order in example.
5539 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5540
9c9daaeb
CM
55412014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5542
5543 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5544 Make the test a no-op if there are no exceptions defined.
5545
95561fb9
PP
55462014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5547
fe8d072c 5548 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5549 enable-hardcoded-path-in-tests
5550
970c602a
WN
55512014-04-11 Will Newton <will.newton@linaro.org>
5552
5553 * benchtests/Makefile (extra-objs): Add json-lib.o.
5554 (bench-func): Tidy up JSON output.
5555 * benchtests/bench-skeleton.c: Include json-lib.h.
5556 (main): Use JSON library functions to do output of
5557 benchmark results.
5558 * benchtests/bench-timing-type.c (main): Output the
5559 timing type simply, leaving formatting to the user.
5560 * benchtests/json-lib.c: New file.
5561 * benchtests/json-lib.h: Likewise.
5562
36875b06
TR
55632014-04-11 Torvald Riegel <triegel@redhat.com>
5564
5565 [BZ #15215]
5566 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5567 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5568 memory barriers. Add comments.
5569 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5570 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5571 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5572 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5573 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5574 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5575
579db35a
SL
55762014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5577
5578 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5579 * sysdeps/s390/s390-64/configure.ac: ... this ...
5580 * sysdeps/s390/configure.ac: ... to here.
5581 * sysdeps/s390/s390-32/configure: Delete file.
5582 * sysdeps/s390/s390-64/configure: Delete file.
5583 * sysdeps/s390/configure: Regenerate.
5584
c12e9f37
JAPH
55852014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5586
5587 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5588
439bda32
WN
55892014-04-11 Will Newton <will.newton@linaro.org>
5590
5591 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5592 to zero if it is not defined elsewhere. (mtrim): Test
5593 the value of MALLOC_DEBUG with #if rather than #ifdef.
5594
6a5d6ea1
TR
55952014-04-10 Torvald Riegel <triegel@redhat.com>
5596
5597 * benchtests/pthread_once-inputs: New file.
5598 * benchtests/pthread_once-source.c: New file.
5599 * benchtests/README: Update documentation.
5600
a4c75cfd
IZ
56012014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5602 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5605 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5606 * sysdeps/x86_64/configure: Regenerated.
5607 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5608 macro.
5609 (REGISTER_SAVE_RAX): Likewise.
5610 (REGISTER_SAVE_RCX): Likewise.
5611 (REGISTER_SAVE_RDX): Likewise.
5612 (REGISTER_SAVE_RSI): Likewise.
5613 (REGISTER_SAVE_RDI): Likewise.
5614 (REGISTER_SAVE_R8): Likewise.
5615 (REGISTER_SAVE_R9): Likewise.
5616 (REGISTER_SAVE_BND0): Likewise.
5617 (REGISTER_SAVE_BND1): Likewise.
5618 (REGISTER_SAVE_BND2): Likewise.
5619 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5620 bound registers when calling _dl_fixup.
5621
27822ce6
AZ
56222014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5623
5624 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5625 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5626 of its definition.
27822ce6
AZ
5627 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5628 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5629 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5630 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5631 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5632 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5633 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5634
a88ddc90
PTB
56352014-04-09 Peter Brett <peter@peter-b.co.uk>
5636
5637 [BZ #15514]
5638 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5639 pathconf(_PC_NAME_MAX).
5640
01f8eac2
AZ
56412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5642
5643 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5644 Remove macro usage.
5645 (__PTHREAD_SPINS): Move definition to ...
5646 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5647 (__PTHREAD_SPINS): ... here.
5648 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5649 (__PTHREAD_SPIN): Likewise.
5650 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5651 (__PTHREAD_SPIN): Likewise.
5652 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5653 (__PTHREAD_SPIN): Likewise.
5654 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5655 (__PTHREAD_SPIN): Likewise.
5656 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5657 (__PTHREAD_SPIN): Likewise.
5658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5659 (__PTHREAD_SPIN): Likewise.
5660 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5661 (__PTHREAD_SPIN): Likewise.
5662 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5663 (__PTHREAD_SPIN): Likewise.
5664 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5665 (__PTHREAD_SPIN): Likewise.
5666 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5667 (__PTHREAD_SPIN): Likewise.
5668 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5669 (__PTHREAD_SPIN): Likewise.
5670 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5671 (__PTHREAD_SPIN): Likewise.
5672
de21c33c
AZ
5673 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5674 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5675 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5676 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5677 imply folder.
5678 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5679 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5680 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5681 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5682 correct imply path.
5683 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5684 strlen symbol for non multi-arch builds.
5685 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5686 missing hidden_def and weak_alias.
5687
862c472e
CD
56882014-04-08 Carlos O'Donell <carlos@redhat.com>
5689
5690 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5691
8667f90e
WN
56922014-04-07 Will Newton <will.newton@linaro.org>
5693
5694 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5695 and contents. [!_LIBC] Remove #ifndef and contents.
5696 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5697 * string/memccpy.c (__memccpy): Use ANSI prototype.
5698 * string/memfrob.c (memfrob): Likewise.
5699 * string/strcoll.c (STRCOLL): Likewise.
5700 * string/strlen.c (strlen): Likewise.
5701 * string/strtok.c (STRTOK): Likewise.
5702 * string/strcat.c: Remove unused #include of memcopy.h.
5703 (strcat): Use ANSI prototype.
5704 * string/strchr.c: Remove unused #include of memcopy.h.
5705 (strchr): Use ANSI prototype.
5706 * string/strcmp.c: Remove unused #include of memcopy.h.
5707 (strcmp): Use ANSI prototype.
5708 * string/strcpy.c: Remove unused #include of memcopy.h.
5709 (strcpy): Use ANSI prototype.
5710
7ffa9423
AZ
57112014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5712
5713 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5714 * config.make.in (config-extra-cppflags): Set it from
5715 libc_extra_cppflags.
5716 * configure.ac (libc_extra_cflags): Make it accumulate over
5717 configure fragments.
5718 (libc_extra_cppflags): New flag.
5719 * configure. Regenerate.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5721 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5722 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5724
8bd70862
AZ
5725 [BZ #16815]
5726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5727 result for FE_DOWNWARD rounding mode.
5728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5729 Likewise.
5730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5731
d42f3448
CM
57322014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5733
5734 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5735 in function argument name.
5736
1c21d115
DS
57372014-04-03 David Svoboda <svoboda@cert.org>
5738
5739 [BZ #5666]
5740 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5741 explicitly.
5742
fcccd512
RM
57432014-04-03 Roland McGrath <roland@hack.frob.com>
5744
5745 * elf/dl-unmap-segments.h: New file.
5746 * sysdeps/generic/ldsodefs.h
5747 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5748 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5749 * elf/dl-fptr.c: Likewise.
5750 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5751 * sysdeps/aarch64/tlsdesc.c: Likewise.
5752 * sysdeps/arm/tlsdesc.c: Likewise.
5753 * sysdeps/i386/tlsdesc.c: Likewise.
5754 * sysdeps/tile/dl-runtime.c: Likewise.
5755 * sysdeps/x86_64/tlsdesc.c: Likewise.
5756 * elf/dl-load.h: New file.
5757 * elf/dl-load.c: Include it.
5758 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5759 Macros moved to dl-load.h.
5760 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5761 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5762 Use _dl_unmap_segments in place of __munmap.
5763 Break out segment-mapping loop into ...
5764 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5765
f6488e2b
WN
57662014-04-03 Will Newton <will.newton@linaro.org>
5767
5768 * elf/dl-lookup.c (do_lookup_x): Remove comment
5769 referring to nested function and move variable
5770 declarations down to before first use.
5771
6f05bafe
JM
57722014-04-02 Joseph Myers <joseph@codesourcery.com>
5773
a84e78c8
JM
5774 [BZ #16799]
5775 [BZ #16800]
5776 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5777 with 0 numerator.
5778 * math/s_catanf.c (__catanf): Likewise.
5779 * math/s_catanh.c (__catanh): Likewise.
5780 * math/s_catanhf.c (__catanhf): Likewise.
5781 * math/s_catanhl.c (__catanhl): Likewise.
5782 * math/s_catanl.c (__catanl): Likewise.
5783 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5784 by positive zero when computing -Inf result.
5785 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5786 (catanh_test): Likewise.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5789
6f05bafe
JM
5790 [BZ #16789]
5791 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5792 instead of using underflowing value in computing result.
5793 * math/s_clog10.c (__clog10): Likewise.
5794 * math/s_clog10f.c (__clog10f): Likewise.
5795 * math/s_clog10l.c (__clog10l): Likewise.
5796 * math/s_clogf.c (__clogf): Likewise.
5797 * math/s_clogl.c (__clogl): Likewise.
5798 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5799 (clog10_test): Likewise.
5800 * sysdeps/i386/fpu/libm-test-ulps: Update.
5801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802
b0abbc21
AM
58032014-04-02 Alan Modra <amodra@gmail.com>
5804
5805 [BZ #16739]
5806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5807 output when value is near a power of two. Use int64_t for lx and
5808 remove casts. Use decimal rather than hex exponent constants.
5809 Don't use long double multiplication when double will suffice.
5810 * math/libm-test.inc (nextafter_test_data): Add tests.
5811 * NEWS: Add 16739 and 16786 to bug list.
5812
af6b1797
AM
5813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5814
483818d7
AM
5815 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5816
f6c55796
WN
58172014-04-01 Will Newton <will.newton@linaro.org>
5818
5819 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5820 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5821
13f7fe35
FW
58222014-04-01 Florian Weimer <fweimer@redhat.com>
5823
5824 [BZ #13347]
5825 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5826 * nptl/tst-setuid2.c: New file.
5827 * nptl/Makefile (xtests): Add tst-setuid2.
5828
c859b32e
AM
58292014-04-01 Alan Modra <amodra@gmail.com>
5830
5831 [BZ #16786]
5832 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5833
54fa2475
JM
58342014-03-31 Joseph Myers <joseph@codesourcery.com>
5835
8795b4a4
JM
5836 [BZ #6803]
5837 [BZ #6804]
5838 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5839 set errno as appropriate.
5840 * math/w_scalbf.c (__scalbf): Likewise.
5841 * math/w_scalbl.c (__scalbl): Likewise.
5842 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5843 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5844 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5845 Add more NaN tests.
5846
54fa2475
JM
5847 [BZ #16349]
5848 * math/w_atan2.c: Include <errno.h>.
5849 (__atan2): Set errno for result underflowing to zero.
5850 * math/w_atan2f.c: Include <errno.h>.
5851 (__atan2f): Set errno for result underflowing to zero.
5852 * math/w_atan2l.c: Include <errno.h>.
5853 (__atan2l): Set errno for result underflowing to zero.
5854 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5855 tests.
5856 * math/auto-libm-test-out: Regenerated.
5857
757d9dd5
AZ
58582014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5859
5860 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5861 Encode instruction correctly in little endian.
5862 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5863 Likewise.
5864 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5865 Likewise.
5866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5867 Likewise.
5868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5869 Likewise.
5870
d7a68734
JM
58712014-03-31 Joseph Myers <joseph@codesourcery.com>
5872
47c5adeb
JM
5873 [BZ #9894]
5874 * sysdeps/unix/sysv/linux/kernel-features.h
5875 [__sparc__ && !__arch64__ && !__sparc_v9__]
5876 (__ASSUME_SET_ROBUST_LIST): Do not define.
5877 [__sparc__ && !__arch64__ && !__sparc_v9__]
5878 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5879 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5880 Likewise.
5881 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5882 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5883 (__ASSUME_REQUEUE_PI): Likewise.
5884 (__ASSUME_SET_ROBUST_LIST): Likewise.
5885 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5886 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5887 Undefine.
5888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5889 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5890 Likewise.
5891 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5892 Likewise.
5893 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5894 Likewise.
5895 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5896 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5897 Undefine.
5898 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5899 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5900 Likewise.
5901
d7a68734
JM
5902 [BZ #16648]
5903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5904 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5905 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5906
c760f5c2
WN
59072014-03-31 Will Newton <will.newton@linaro.org>
5908
5909 * benchtests/Makefile (bench): Add ffs and ffsll to list
5910 of tests.
5911 * benchtests/ffs-inputs: New file.
5912 * benchtests/ffsll-inputs: Likewise.
5913
ea6029b1
JM
59142014-03-29 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #16770]
5917 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5918 too large before casting to int.
5919 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5920 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5921 * math/libm-test.inc (scalb_test_data): Add more tests.
5922
cf806aff
SP
59232014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5924
56737508
SP
5925 * benchtests/Makefile (DETAILED_OPT): New make option.
5926 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5927 set.
5928 * benchtests/bench-skeleton.c: Include stdbool.h.
5929 (main): Store and print timings per input.
5930 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5931 member to each argument value.
5932 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5933 (_print_arg_data): Initialize per-input timing to 0.
5934
cb5e4aad
SP
5935 * benchtests/Makefile (timing-type): New binary.
5936 (bench-clean): Also remove bench-timing-type.
5937 (bench): New target for timing-type.
5938 (bench-func): Print output in JSON format.
5939 * benchtests/bench-skeleton.c (main): Print output in JSON
5940 format.
5941 * benchtests/bench-timing-type.c: New file.
5942 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5943 (TIMING_PRINT_STATS): Remove.
5944 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5945 name separately.
5946
cf806aff
SP
5947 * benchtests/bench-modf.c: Remove.
5948 * benchtests/modf-inputs: New inputs file.
5949
289e0779
JM
59502014-03-28 Joseph Myers <joseph@codesourcery.com>
5951
5952 [BZ #16362]
5953 * math/s_clog10.c (M_PI_LOG10E): New macro.
5954 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5955 imaginary parts are 0.
5956 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5957 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5958 imaginary parts are 0.
5959 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5960 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5961 imaginary parts are 0.
5962 * math/libm-test.inc (clog10_test_data): Update expected results
5963 for when real and imaginary parts are 0.
5964
277ae3f1
PP
59652014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5966
5967 * elf/dl-load.c: Finish conversion of __builtin_expect into
5968 __glibc_{un}likely.
5969
03a7091f
JM
59702014-03-27 Joseph Myers <joseph@codesourcery.com>
5971
5972 [BZ #16348]
5973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5974 1+x for argument with exponent below -67.
5975 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5976 Likewise.
5977 * math/auto-libm-test-in: Add more tests of exp.
5978 * math/auto-libm-test-out: Regenerated.
5979
ea7d8b95
SP
59802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5981
dd3022d7
SP
5982 [BZ #16759]
5983 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5984 (nscd_getnetgrent): Use it.
5985
ea7d8b95
SP
5986 [BZ #16760]
5987 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5988 of stpcpy.
5989
df5b85da
AK
59902014-03-27 Andi Kleen <ak@linux.intel.com>
5991
57f41c40
AS
5992 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5993 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5994 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5995 (lll_robust_unlock): Remove out of line section. Use cfi
5996 intrinsics.
df5b85da 5997 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5998 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5999 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6000 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6001 (lll_robust_unlock): Remove out of line section. Use cfi
6002 intrinsics.
df5b85da
AK
6003 (LLL_STUB_UNWIND_INFO*): Remove.
6004
fbd6b5a4
SP
60052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6006
6007 [BZ #16758]
6008 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6009 blank values.
6010
1b26b855
PP
60112014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6012
6013 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6014
9be36fb8
JM
60152014-03-26 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #16198]
6018 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6019 fnstenv.
6020 * math/test-fenv-preserve.c: New file.
6021 * math/Makefile (tests): Add test-fenv-preserve.
6022
60a2f3c1
WN
60232014-03-26 Will Newton <will.newton@linaro.org>
6024
6025 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6026
a5e5f1e2
RM
60272014-03-25 Roland McGrath <roland@hack.frob.com>
6028
6029 * scripts/versionlist.awk: Partition the version sets and emit all
6030 GLIBC_* (sorted) before all others (sorted).
6031
00f4012a
JM
60322014-03-25 Joseph Myers <joseph@codesourcery.com>
6033
6034 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6035 GLIBC_2.2.5 version.
6036
7bc5a741
AZ
60372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038
6039 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6040 calls.
6041
7578473b
AZ
6042 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6043 previous change.
6044
f3f1dab3
AZ
6045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6046
6da36183
AS
60472014-03-25 Andreas Schwab <schwab@suse.de>
6048
6049 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6050 label to be used after in6ailist is initialized.
6051
f3f1dab3 60522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6053
7578473b 6054 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6055 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6056
046651c1
JM
60572014-03-25 Joseph Myers <joseph@codesourcery.com>
6058
6059 [BZ #16357]
6060 [BZ #16599]
6061 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6062 min_plus_half.
6063 (fp_formats): Update initializers.
6064 (init_fp_formats): Initialize new field.
6065 (output_for_one_input_case): Allow underflow for results up to
6066 min_plus_half.
6067 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6068 * math/auto-libm-test-in: Don't mark some underflows from asin and
6069 atanh as spurious.
6070 * math/auto-libm-test-out: Regenerated.
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6073
003e49ed
AS
60742014-03-25 Andreas Schwab <schwab@suse.de>
6075
6076 * libio/Makefile (tst-ftell-partial-wide-ENV)
6077 (tst-ftell-active-handler-ENV): Define.
6078
de031874
SL
60792014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6080
6081 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6082
55a81e3b
PP
60832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6084
6085 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6086
f3426898
JM
60872014-03-24 Joseph Myers <joseph@codesourcery.com>
6088
6089 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6090 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6091 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6092
a42faf59
PP
60932014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6094
6095 [BZ #16634]
a42faf59 6096 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6097 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6098 (open_path): Change from boolean 'secure' to complete flag 'mode'
6099 (_dl_map_object): Adjust.
a42faf59
PP
6100 * elf/Makefile (tests): Add tst-dlopen-aout.
6101 * elf/tst-dlopen-aout.c: New test.
6102
50936127
SL
61032014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6104
6105 [BZ #16714]
6106 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6107 (struct stat): Rename member pad0 to __glibc_reserved0.
6108
26011b5c
SL
6109 [BZ #16712]
6110 * sysdeps/s390/s390-32/bits/wordsize.h
6111 (__WORDSIZE32_SIZE_ULONG): New define.
6112 * sysdeps/s390/s390-64/bits/wordsize.h
6113 (__WORDSIZE32_SIZE_ULONG): Likewise.
6114 * sysdeps/generic/stdint.h (SIZE_MAX):
6115 Define as UL if __WORDSIZE32_SIZE_ULONG.
6116
a2d86bf1
SL
6117 [BZ #16713]
6118 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6119 (__glibc_reserved0): New variable.
6120 (sa_flags): Change type to int.
6121
78b6eebc
SL
6122 * posix/Makefile (before-compile): Use += before-compile instead
6123 of a :=.
6124
f1399b5a
SL
6125 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6126 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6127
a071766e
AS
61282014-03-20 Andreas Schwab <schwab@suse.de>
6129
6130 [BZ #16743]
6131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6132 non-matching result from nscd.
6133
27c673b8
SP
61342014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6135
6136 * scripts/bench.py: Moved to ...
6137 * benchtests/scripts/bench.py: ... here.
6138 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6139
44152e4b
AS
61402014-03-24 Andreas Schwab <schwab@suse.de>
6141
6142 [BZ #16002]
6143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6144 alloca_account and account alloca use for struct in6ailist.
6145
b376a11a
JM
61462014-03-24 Joseph Myers <joseph@codesourcery.com>
6147
6148 [BZ #16284]
6149 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6150 rounding mode to recompute results that overflow to infinity or
6151 underflow to zero.
6152 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6153 bug 16284.
6154 * math/auto-libm-test-out: Regenerated.
6155 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6156 (ccosh_test): Likewise.
6157 (csin_test_data): Use plus_oflow.
6158 (csin_test): Use ALL_RM_TEST.
6159 (csinh_test_data): Use plus_oflow.
6160 (csinh_test): Use ALL_RM_TEST.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
f7be7376
JM
61642014-03-21 Joseph Myers <joseph@codesourcery.com>
6165
1ca2d03e
JM
6166 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6167 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6168 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6169
f7be7376
JM
6170 [BZ #16731]
6171 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6172 when x - 1 is zero.
6173 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6174 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6175 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6176 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6177 argument is 1.
6178 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6179 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6180 zero.
6181 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6182 * sysdeps/i386/fpu/libm-test-ulps: Update.
6183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6184
fdf4534d
SP
61852014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6186
df26ea53
SP
6187 * scripts/bench.pl: Remove file.
6188 * scripts/bench.py: New benchmark script.
6189 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6190 * benchtests/README: Mention python dependency.
6191 * scripts/pylintrc: New file.
6192 * scripts/pylint: New file.
6193
fdf4534d
SP
6194 * bits/mathdef.h: Use #ifdef instead of #if.
6195 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6196 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6197 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6198 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6199 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6200 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6201
6f23d093
AZ
62022014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6204
6205 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6207 and strpbrk-ppc64 objects.
6208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6209 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6210 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6211 multiarch strpbrk for POWER7.
6212 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6213 multiarch strpbrk for PPC64.
6214 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6215 ifunc selector.
6216 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6217 strpbrk for POWER7.
6218
8c92dfff
JM
62192014-03-20 Joseph Myers <joseph@codesourcery.com>
6220
6221 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6222 (atan_test): Likewise.
6223 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6224 (atanh_test): Use ALL_RM_TEST.
6225 (atan2_test_data): Likewise.
6226 (cabs_test): Likewise.
6227 (cacosh_test): Likewise.
6228 (carg_test): Likewise.
6229 (casin_test): Likewise.
6230 (casinh_test): Likewise.
6231 (cbrt_test): Likewise.
6232 (csqrt_test): Likewise.
6233 (erf_test): Likewise.
6234 (erfc_test): Likewise.
6235 (pow10_test): Likewise.
6236 (exp2_test): Likewise.
6237 (hypot_test): Likewise.
6238 (j0_test): Likewise.
6239 (j1_test): Likewise.
6240 (lgamma_test): Likewise.
6241 (gamma_test): Likewise.
6242 (sincos_test): Likewise.
6243 (tanh_test): Likewise.
6244 (y0_test): Likewise.
6245 (y1_test): Likewise.
6246 * sysdeps/i386/fpu/libm-test-ulps: Update.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6248
6eaf95cb
AZ
62492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250
a387428c
SP
6251 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6253 and strcspn-ppc64 objects.
6254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6255 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6256 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6257 multiarch strcspn for POWER7.
6258 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6259 multiarch strcspn for PPC64.
6260 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6261 ifunc selector.
6262 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6263 strcspn for POWER7.
6264
ae3a5dff
JM
62652014-03-20 Joseph Myers <joseph@codesourcery.com>
6266
6267 * math/gen-libm-test.pl (generate_testfile): Expect only function
6268 name as argument to AUTO_TESTS_* and pass results for all rounding
6269 modes to parse_args.
6270 (parse_auto_input): Separate inputs of automatic tests from
6271 outputs before storing in %auto_tests.
6272 * math/libm-test.inc (acos_test_data): Update call to
6273 AUTO_TESTS_f_f.
6274 (acos_test): Use ALL_RM_TEST.
6275 (acos_tonearest_test_data): Remove.
6276 (acos_test_tonearest): Likewise.
6277 (acos_towardzero_test_data): Likewise.
6278 (acos_test_towardzero): Likewise.
6279 (acos_downward_test_data): Likewise.
6280 (acos_test_downward): Likewise.
6281 (acos_upward_test_data): Likewise.
6282 (acos_test_upward): Likewise.
6283 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6284 (asin_test_data): Likewise.
6285 (asin_test): Use ALL_RM_TEST.
6286 (asin_tonearest_test_data): Remove.
6287 (asin_test_tonearest): Likewise.
6288 (asin_towardzero_test_data): Likewise.
6289 (asin_test_towardzero): Likewise.
6290 (asin_downward_test_data): Likewise.
6291 (asin_test_downward): Likewise.
6292 (asin_upward_test_data): Likewise.
6293 (asin_test_upward): Likewise.
6294 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6295 (atan_test_data): Likewise.
6296 (atanh_test_data): Likewise.
6297 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6298 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6299 (carg_test_data): Likewise.
6300 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6301 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6302 (ccosh_test_data): Likewise.
6303 (cexp_test_data): Likewise.
6304 (clog_test_data): Likewise.
6305 (clog10_test_data): Likewise.
6306 (cos_test_data): Update call to AUTO_TESTS_f_f.
6307 (cos_test): Use ALL_RM_TEST.
6308 (cos_tonearest_test_data): Remove.
6309 (cos_test_tonearest): Likewise.
6310 (cos_towardzero_test_data): Likewise.
6311 (cos_test_towardzero): Likewise.
6312 (cos_downward_test_data): Likewise.
6313 (cos_test_downward): Likewise.
6314 (cos_upward_test_data): Likewise.
6315 (cos_test_upward): Likewise.
6316 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6317 (cosh_test): Use ALL_RM_TEST.
6318 (cosh_tonearest_test_data): Remove.
6319 (cosh_test_tonearest): Likewise.
6320 (cosh_towardzero_test_data): Likewise.
6321 (cosh_test_towardzero): Likewise.
6322 (cosh_downward_test_data): Likewise.
6323 (cosh_test_downward): Likewise.
6324 (cosh_upward_test_data): Likewise.
6325 (cosh_test_upward): Likewise.
6326 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6327 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6328 (ctan_test_data): Likewise.
6329 (ctan_test): Use ALL_RM_TEST.
6330 (ctan_tonearest_test_data): Remove.
6331 (ctan_test_tonearest): Likewise.
6332 (ctan_towardzero_test_data): Likewise.
6333 (ctan_test_towardzero): Likewise.
6334 (ctan_downward_test_data): Likewise.
6335 (ctan_test_downward): Likewise.
6336 (ctan_upward_test_data): Likewise.
6337 (ctan_test_upward): Likewise.
6338 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6339 (ctanh_test): Use ALL_RM_TEST.
6340 (ctanh_tonearest_test_data): Remove.
6341 (ctanh_test_tonearest): Likewise.
6342 (ctanh_towardzero_test_data): Likewise.
6343 (ctanh_test_towardzero): Likewise.
6344 (ctanh_downward_test_data): Likewise.
6345 (ctanh_test_downward): Likewise.
6346 (ctanh_upward_test_data): Likewise.
6347 (ctanh_test_upward): Likewise.
6348 (erf_test_data): Update call to AUTO_TESTS_f_f.
6349 (erfc_test_data): Likewise.
6350 (exp_test_data): Likewise.
6351 (exp_test): Use ALL_RM_TEST.
6352 (exp_tonearest_test_data): Remove.
6353 (exp_test_tonearest): Likewise.
6354 (exp_towardzero_test_data): Likewise.
6355 (exp_test_towardzero): Likewise.
6356 (exp_downward_test_data): Likewise.
6357 (exp_test_downward): Likewise.
6358 (exp_upward_test_data): Likewise.
6359 (exp_test_upward): Likewise.
6360 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6361 (exp10_test): Use ALL_RM_TEST.
6362 (exp10_tonearest_test_data): Remove.
6363 (exp10_test_tonearest): Likewise.
6364 (exp10_towardzero_test_data): Likewise.
6365 (exp10_test_towardzero): Likewise.
6366 (exp10_downward_test_data): Likewise.
6367 (exp10_test_downward): Likewise.
6368 (exp10_upward_test_data): Likewise.
6369 (exp10_test_upward): Likewise.
6370 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6371 (expm1_test_data): Likewise.
6372 (expm1_test): Use ALL_RM_TEST.
6373 (expm1_tonearest_test_data): Remove.
6374 (expm1_test_tonearest): Likewise.
6375 (expm1_towardzero_test_data): Likewise.
6376 (expm1_test_towardzero): Likewise.
6377 (expm1_downward_test_data): Likewise.
6378 (expm1_test_downward): Likewise.
6379 (expm1_upward_test_data): Likewise.
6380 (expm1_test_upward): Likewise.
6381 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6382 (fma_test): Use ALL_RM_TEST.
6383 (fma_towardzero_test_data): Remove.
6384 (fma_test_towardzero): Likewise.
6385 (fma_downward_test_data): Likewise.
6386 (fma_test_downward): Likewise.
6387 (fma_upward_test_data): Likewise.
6388 (fma_test_upward): Likewise.
6389 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6390 (j0_test_data): Update call to AUTO_TESTS_f_f.
6391 (j1_test_data): Likewise.
6392 (jn_test_data): Update call to AUTO_TESTS_if_f.
6393 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6394 (log_test_data): Update call to AUTO_TESTS_f_f.
6395 (log10_test_data): Likewise.
6396 (log1p_test_data): Likewise.
6397 (log2_test_data): Likewise.
6398 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6399 (pow_tonearest_test_data): Likewise.
6400 (sin_test_data): Update call to AUTO_TESTS_f_f.
6401 (sin_test): Use ALL_RM_TEST.
6402 (sin_tonearest_test_data): Remove.
6403 (sin_test_tonearest): Likewise.
6404 (sin_towardzero_test_data): Likewise.
6405 (sin_test_towardzero): Likewise.
6406 (sin_downward_test_data): Likewise.
6407 (sin_test_downward): Likewise.
6408 (sin_upward_test_data): Likewise.
6409 (sin_test_upward): Likewise.
6410 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6411 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6412 (sinh_test): Use ALL_RM_TEST.
6413 (sinh_tonearest_test_data): Remove.
6414 (sinh_test_tonearest): Likewise.
6415 (sinh_towardzero_test_data): Likewise.
6416 (sinh_test_towardzero): Likewise.
6417 (sinh_downward_test_data): Likewise.
6418 (sinh_test_downward): Likewise.
6419 (sinh_upward_test_data): Likewise.
6420 (sinh_test_upward): Likewise.
6421 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6422 (sqrt_test): Use ALL_RM_TEST.
6423 (sqrt_tonearest_test_data): Remove.
6424 (sqrt_test_tonearest): Likewise.
6425 (sqrt_towardzero_test_data): Likewise.
6426 (sqrt_test_towardzero): Likewise.
6427 (sqrt_downward_test_data): Likewise.
6428 (sqrt_test_downward): Likewise.
6429 (sqrt_upward_test_data): Likewise.
6430 (sqrt_test_upward): Likewise.
6431 (tan_test_data): Update call to AUTO_TESTS_f_f.
6432 (tan_test): Use ALL_RM_TEST.
6433 (tan_tonearest_test_data): Remove.
6434 (tan_test_tonearest): Likewise.
6435 (tan_towardzero_test_data): Likewise.
6436 (tan_test_towardzero): Likewise.
6437 (tan_downward_test_data): Likewise.
6438 (tan_test_downward): Likewise.
6439 (tan_upward_test_data): Likewise.
6440 (tan_test_upward): Likewise.
6441 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6442 (tgamma_test_data): Likewise.
6443 (y0_test_data): Likewise.
6444 (y1_test_data): Likewise.
6445 (yn_test_data): Update call to AUTO_TESTS_if_f.
6446 (main): Do not call removed functions.
6447
d71aeee8
JM
64482014-03-19 Joseph Myers <joseph@codesourcery.com>
6449
6450 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6451 (ldexp_test_data): Remove.
6452 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6453 scalbn_test_data.
6454 (scalb_test): Use ALL_RM_TEST.
6455
baaf1ded
AS
64562014-03-19 Andreas Schwab <schwab@suse.de>
6457
6458 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6459
b1115e91
JM
64602014-03-19 Joseph Myers <joseph@codesourcery.com>
6461
6462 [BZ #16649]
6463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6464 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6465 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6467 (__ASSUME_PREADV): Undefine.
6468 (__ASSUME_PWRITEV): Likewise.
6469
0283ecca
RM
64702014-03-18 Roland McGrath <roland@hack.frob.com>
6471
7d375303
RM
6472 * bits/mman-linux.h: Add comment about non-Linux use.
6473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6474 bits/mman-linux.h resting place.
6475
0283ecca
RM
6476 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6477 * bits/mman-linux.h: ... here.
6478
aebe1003
AZ
64792014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * conform/conformtest.pl: Add standard definition when calling C
6482 preprocessor on data files.
6483 (checknamespace): Remove unused variable.
6484
b29b6bb8
JM
64852014-03-18 Joseph Myers <joseph@codesourcery.com>
6486
6487 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6488 minus_oflow, plus_uflow and minus_uflow in expected results.
6489 * math/libm-test.inc (scalbn_test_data): Add more tests of
6490 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6491 minus_uflow.
6492 (scalbn_test): Use ALL_RM_TEST.
6493 (scalbln_test_data): Add more tests of negative arguments. Use
6494 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6495 (scalbln_test): Use ALL_RM_TEST.
6496
c8f8fa15
RM
64972014-03-18 Roland McGrath <roland@hack.frob.com>
6498
6499 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6500
fede7a5f
WN
65012014-03-18 Will Newton <will.newton@linaro.org>
6502
6503 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6504 inaccurate comment.
6505
80cf0a58
JM
65062014-03-18 Joseph Myers <joseph@codesourcery.com>
6507
6508 * Makerules [!subdir] (check-abi): Exit with error status if a
6509 test failed.
6510
b3620862
JM
65112014-03-17 Joseph Myers <joseph@codesourcery.com>
6512
6513 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6514 for rint. Include results for all rounding modes.
6515 (nearbyint_test): Use ALL_RM_TEST.
6516 (rint_test_data): Include all tests used for nearbyint.
6517
788bba36
WN
65182014-03-17 Will Newton <will.newton@linaro.org>
6519
04ec140a
WN
6520 * nptl/sysdeps/pthread/pthread.h: Revert previous
6521 change.
6522
7579d8d5
WN
6523 * sysdeps/generic/ldsodefs.h: Revert previous
6524 change.
6525
c15cf13a
WN
6526 * libio/genops.c: Revert previous change.
6527 * libio/libioP.h: Likewise.
6528 * stdio-common/vfprintf.c: Likewise.
6529
d0ac1324
WN
6530 * sysdeps/generic/math_private.h: Revert previous
6531 change.
6532
9290130a
WN
6533 * sysdeps/generic/math_private.h: Check whether
6534 HAVE_RM_CTX is defined with #ifdef rather
6535 than #if.
6536
afb466fc
WN
6537 * argp/argp-fmtstream.h: Check whether
6538 __STRICT_ANSI__ is defined with #ifdef rather
6539 than #if.
6540 * argp/argp.h: Likewise.
6541
f7efd7c3
WN
6542 * libio/genops.c: Check whether
6543 _IO_JUMPS_OFFSET is defined with #ifdef rather
6544 than #if.
6545 * libio/libioP.h: Likewise.
6546 * stdio-common/vfprintf.c: Likewise.
6547
53f1bed3
WN
6548 * sysdeps/generic/ldsodefs.h: Check whether
6549 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6550 than #if.
6551
788bba36
WN
6552 * nptl/sysdeps/pthread/pthread.h: Check
6553 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6554 its value.
6555
fcd89ebe
SP
65562014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6557
ae42bbc5
SP
6558 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6559 setting O_APPEND.
6560 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6561 test case.
6562
ea33158c
SP
6563 [BZ #16680]
6564 * libio/fileops.c (_IO_file_open): Seek to end of file but
6565 don't cache the offset.
6566 (get_file_offset): Remove function.
6567 (do_ftell): Use cached offset when available.
6568 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6569 don't cache the offset.
6570 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6571 case.
6572 (do_one_test): Call it.
6573 (do_ftell_test): Fix up expected old offset for a+ mode.
6574 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6575 available.
6576
b1dbb426
SP
6577 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6578 up test status with function return status.
6579 (do_write_test): Likewise.
6580 (do_append_test): Likewise.
6581
fcd89ebe
SP
6582 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6583 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6584 Remove.
6585
9962a2d3
JM
65862014-03-17 Joseph Myers <joseph@codesourcery.com>
6587
6588 * math/gen-libm-test.pl (parse_args): Handle results specified for
6589 each rounding mode separately.
6590 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6591 tests and results from lrint_tonearest_test_data,
6592 lrint_towardzero_test_data, lrint_downward_test_data and
6593 lrint_upward_test_data.
6594 (lrint_test): Use ALL_RM_TEST.
6595 (lrint_tonearest_test_data): Remove.
6596 (lrint_test_tonearest): Likewise.
6597 (lrint_towardzero_test_data): Likewise.
6598 (lrint_test_towardzero): Likewise.
6599 (lrint_downward_test_data): Likewise.
6600 (lrint_test_downward): Likewise.
6601 (lrint_upward_test_data): Likewise.
6602 (lrint_test_upward): Likewise.
6603 (llrint_test_data): Merge in per-rounding-mode tests and results
6604 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6605 llrint_downward_test_data and llrint_upward_test_data.
6606 (llrint_test): Use ALL_RM_TEST.
6607 (llrint_tonearest_test_data): Remove.
6608 (llrint_test_tonearest): Likewise.
6609 (llrint_towardzero_test_data): Likewise.
6610 (llrint_test_towardzero): Likewise.
6611 (llrint_downward_test_data): Likewise.
6612 (llrint_test_downward): Likewise.
6613 (llrint_upward_test_data): Likewise.
6614 (llrint_test_upward): Likewise.
6615 (rint_test_data): Merge in per-rounding-mode tests and results
6616 from rint_tonearest_test_data, rint_towardzero_test_data,
6617 rint_downward_test_data and rint_upward_test_data. Add
6618 per-rounding-mode results for tests not in those arrays.
6619 (rint_test): Use ALL_RM_TEST.
6620 (rint_tonearest_test_data): Remove.
6621 (rint_test_tonearest): Likewise.
6622 (rint_towardzero_test_data): Likewise.
6623 (rint_test_towardzero): Likewise.
6624 (rint_downward_test_data): Likewise.
6625 (rint_test_downward): Likewise.
6626 (rint_upward_test_data): Likewise.
6627 (rint_test_upward): Likewise.
6628 (main): Don't call removed functions.
6629
5006148e
RM
66302014-03-14 Roland McGrath <roland@hack.frob.com>
6631
6632 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6633 "Compiled on ..." crapola. It is anti-useful.
6634
d6fe5e58
JM
66352014-03-14 Joseph Myers <joseph@codesourcery.com>
6636
6637 * scripts/evaluate-test.sh: Handle fourth argument to determine
6638 whether test run should stop on failure.
6639 * Makeconfig (stop-on-test-failure): New variable.
6640 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6641 $(stop-on-test-failure).
6642 * Makefile (tests): Give a summary of results from testing and
6643 exit with failure status if they include an ERROR or FAIL.
6644 (xtests): Likewise.
6645 * manual/install.texi (Configuring and compiling): Mention
6646 stop-on-test-failure=y.
6647 * INSTALL: Regenerated.
6648
498a2233
RM
66492014-03-14 Roland McGrath <roland@hack.frob.com>
6650
22dbc19d
RM
6651 * scripts/versionlist.awk: New file.
6652 * Makerules [$(build-shared) = yes]
6653 (postclean-generated): Add Versions.def, not Versions.def.v and
6654 Versions.def.v.i.
6655 ($(common-objpfx)Versions.def.v.i): Target removed.
6656 ($(common-objpfx)Versions.def): New target.
6657 ($(common-objpfx)Versions.all): Depend on that rather that
6658 $(common-objpfx)Versions.def.v.
6659 * Versions.def: File removed.
6660
498a2233
RM
6661 * Makeconfig (+gccwarn): Add -Wundef.
6662 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6663 a dl-sysdep.h breaking its contract.
6664 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6665 * include/stackinfo.h: New file.
6666 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6667 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6668 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6669 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6670 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6671 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6672 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6673 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6674 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6675 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6676 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6677 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6678 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6679 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6680 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6681
c7de5025
AZ
66822014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6683
6684 [BZ #16707]
6685 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6686 implementation.
6687 * math/libm-test.inc (round_test_data): Add more tests.
6688
98fb27a3
AZ
6689 [BZ #16706]
6690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6691 implementation.
6692 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6693
374f7f61
AZ
6694 [BZ #16701]
6695 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6696 implementation.
6697 * math/libm-test.inc (ceil_test_data): Add more tests.
6698
4655c291
AZ
6699 * math/libm-test.inc (trunc_test_data): Add more tests related to
6700 BZ#16414.
6701
d7329d4b
RM
67022014-03-14 Roland McGrath <roland@hack.frob.com>
6703
6704 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6705 with #if rather than #ifdef.
6706 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6707
aa4de9ce
L
67082014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6709
6710 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6711 first. Disable AVX-512 GCC support if assembler doesn't support
6712 it.
6713 * sysdeps/x86_64/configure: Regenerated.
6714
2e03fae7
CD
67152014-03-13 Carlos O'Donell <carlos@redhat.com>
6716
6717 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6718 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6719 (__old_pthread_attr_setstack): Likewise.
6720 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6721 [!_STACK_GROWS_DOWN]: Likewise.
6722
43ca83ec
MF
67232014-03-13 Mike Frysinger <vapier@gentoo.org>
6724
6725 * config.make.in (have-bash2): Delete.
6726 * configure.ac (libc_cv_have_bash2): Delete.
6727 * configure: Regenerate.
6728 * elf/Makefile (common-ldd-rewrite): Rename to ...
6729 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6730 (sh-ldd-rewrite): Delete.
6731 (bash-ldd-rewrite): Delete.
6732 (have-bash2): Delete checks.
57f41c40
AS
6733 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6734 ldd-rewrite.
c66e48b4
MF
6735
6736 * config.make.in (have-ksh): Delete.
6737 (KSH): Delete.
6738 * configure.ac (libc_cv_have_ksh): Delete.
6739 * configure: Regenerate.
6740
b93834ef
MF
6741 * elf/Makefile: Delete $(have-ksh) check.
6742 ($(objpfx)sotruss): Change KSH to BASH.
6743 * elf/sotruss.ksh: Rename to ...
6744 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6745 function style to match POSIX. Drop ksh vim mode setting.
6746
f3a4632a
MF
6747 * manual/time.texi (Specifying the Time Zone with TZ): Change
6748 Tuesday to Thursday.
6749
5896c8bd
MF
6750 * debug/tst-longjmp_chk2.c: Update header comment.
6751 (stackoverflow_handler): Add comment. Call assert on pass value.
6752
2d63a517
IZ
67532014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6754
6755 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6756 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6757 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6758 (La_x86_64_vector): Add zmm.
6759 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6760 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6761 ($(objpfx)tst-audit10): New target.
6762 ($(objpfx)tst-audit10.out): Likewise.
6763 (tst-audit10-ENV): New.
6764 (AVX512-CFLAGS): Likewise.
6765 (CFLAGS-tst-audit10.c): Likewise.
6766 (CFLAGS-tst-auditmod10a.c): Likewise.
6767 (CFLAGS-tst-auditmod10b.c): Likewise.
6768 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6769 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6770 * sysdeps/x86_64/configure: Regenerated.
6771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6772 AVX-512 zmm register support.
6773 (_dl_x86_64_save_sse): Likewise.
6774 (_dl_x86_64_restore_sse): Likewise.
6775 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6776 size vector registers.
6777 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6778 (ZMM_SIZE): Likewise.
6779 * sysdeps/x86_64/tst-audit10.c: New file.
6780 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6781 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6782
44c4e5d5
RM
67832014-03-13 Roland McGrath <roland@hack.frob.com>
6784
6785 * configure.ac (HAVE_EHDR_START): New check.
6786 * configure: Regenerated.
6787 * config.h.in (HAVE_EHDR_START): New #undef.
6788 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6789 assuming the lowest-addressed segment maps the start of the file.
6790
acd6e389
JM
67912014-03-13 Joseph Myers <joseph@codesourcery.com>
6792
6793 * INSTALL: Regenerated.
6794
6f918f36
WN
67952014-03-13 Will Newton <will.newton@linaro.org>
6796
6797 * manual/setjmp.texi (System V contexts): Improve
6798 clarity and grammar of documentation.
6799
798212a0
PP
68002014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6801
6802 [BZ #16381]
798212a0 6803 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6804 (tests-pie): Add tst-pie2.
798212a0
PP
6805 * elf/tst-pie2.c: New file.
6806 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6807 for ET_EXEC.
6808 * elf/rtld.c (map_doit): Load executable as lt_executable.
6809 (dl_main): Likewise.
6810
abe6d90c
JM
68112014-03-12 Joseph Myers <joseph@codesourcery.com>
6812
6813 [BZ #16642]
6814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6815 (__ASSUME_PSELECT): Undefine.
6816
dd3946c6
AZ
68172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6818
6819 [BZ #16689]
6820 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6821 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6822 static build.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6824 selector for static builds.
6825
c44496df
SP
68262014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
6828 [BZ #16695]
6829 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6830 key in the buffer.
6831
27c7220a
AZ
68322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833
57f41c40
AS
6834 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6835 IFUNC selector for static builds.
27c7220a 6836
600fa361
JM
68372014-03-11 Joseph Myers <joseph@codesourcery.com>
6838
76c96cf7
JM
6839 * sysdeps/mips/math_private.h [__mips_hard_float]
6840 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6841 libc_feresetround_mips_ctx.
6842 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6843 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6844 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6845
600fa361
JM
6846 [BZ #16677]
6847 * math/s_nextafter.c (__nextafter): Do not return value from
6848 overflowing computation.
6849 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6850 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6851 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6852 Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6854 Likewise.
6855 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6856 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6857
d7706c32
RM
68582014-03-11 Roland McGrath <roland@hack.frob.com>
6859
6860 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6861 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6862 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6863 the new mov targetting sp.
6864
4facea47
AZ
68652014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6866
6867 [BZ #16683]
6868 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6869 Define it for static builds as well.
6870 (NO_BZERO_IMPL): Likewise.
6871
e65caf1f
VR
68722014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6873
6874 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6875 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6876 multiarch strspn for PPC64.
6877 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6878 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6880 (__libc_ifunc_impl_list): Likewise.
6881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6882 multiarch optimizations
6883 * string/strspn.c (strspn): Using macro to redefine symbol name.
6884
ba9cc071
AZ
68852014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6886 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6887
6888 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6889 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6890 multiarch strncat for PPC64.
6891 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6892 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6894 (__libc_ifunc_impl_list): Likewise.
6895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6896 multiarch optimizations
6897
8b4ff974
SP
68982014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6899
6900 [BZ #16639]
6901 * nscd/nscd.service: Make service type forking.
6902
54b46a4b
AZ
69032014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6904
6905 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6906 sign in non default rounding modes.
6907 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6908
e9996ef7
JM
69092014-03-08 Joseph Myers <joseph@codesourcery.com>
6910
6911 * math/libm-test.inc (ALL_RM_TEST): New macro.
6912 (ceil_test): Use ALL_RM_TEST.
6913 (cimag_test): Likewise.
6914 (conj_test): Likewise.
6915 (copysign_test): Likewise.
6916 (cproj_test): Likewise.
6917 (creal_test): Likewise.
6918 (fabs_test): Likewise.
6919 (floor_test): Likewise.
6920 (fmax_test): Likewise.
6921 (fmin_test): Likewise.
6922 (fmod_test): Likewise.
6923 (fpclassify_test): Likewise.
6924 (frexp_test): Likewise.
6925 (ilogb_test): Likewise.
6926 (isfinite_test): Likewise.
6927 (finite_test): Likewise.
6928 (isgreater_test): Likewise.
6929 (isgreaterequal_test): Likewise.
6930 (isinf_test): Likewise.
6931 (isless_test): Likewise.
6932 (islessequal_test): Likewise.
6933 (islessgreater_test): Likewise.
6934 (isnan_test): Likewise.
6935 (isnormal_test): Likewise.
6936 (issignaling_test): Likewise.
6937 (isunordered_test): Likewise.
6938 (logb_test): Likewise.
6939 (logb_downward_test_data): Remove.
6940 (logb_test_downward): Likewise.
6941 (lround_test): Use ALL_RM_TEST.
6942 (llround_test): Likewise.
6943 (modf_test): Likewise.
6944 (nexttoward_test): Likewise.
6945 (remainder_test): Likewise.
6946 (drem_test): Likewise.
6947 (remainder_tonearest_test_data): Likewise.
6948 (remainder_test_tonearest): Likewise.
6949 (drem_test_tonearest): Likewise.
6950 (remainder_towardzero_test_data): Likewise.
6951 (remainder_test_towardzero): Likewise.
6952 (drem_test_towardzero): Likewise.
6953 (remainder_downward_test_data): Likewise.
6954 (remainder_test_downward): Likewise.
6955 (drem_test_downward): Likewise.
6956 (remainder_upward_test_data): Likewise.
6957 (remainder_test_upward): Likewise.
6958 (drem_test_upward): Likewise.
6959 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6960 (round_test): Use ALL_RM_TEST.
6961 (signbit_test): Likewise.
6962 (trunc_test): Likewise.
6963 (significand_test): Likewise.
6964 (main): Don't call removed functions.
6965
bc61d27c
JM
69662014-03-07 Joseph Myers <joseph@codesourcery.com>
6967
5c780849
JM
6968 [BZ #16674]
6969 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6970 || __USE_XOPEN2K8].
6971 (ILL_ILLOPN): Likewise.
6972 (ILL_ILLADR): Likewise.
6973 (ILL_ILLTRP): Likewise.
6974 (ILL_PRVOPC): Likewise.
6975 (ILL_PRVREG): Likewise.
6976 (ILL_COPROC): Likewise.
6977 (ILL_BADSTK): Likewise.
6978 (FPE_INTDIV): Likewise.
6979 (FPE_INTOVF): Likewise.
6980 (FPE_FLTDIV): Likewise.
6981 (FPE_FLTOVF): Likewise.
6982 (FPE_FLTUND): Likewise.
6983 (FPE_FLTRES): Likewise.
6984 (FPE_FLTINV): Likewise.
6985 (FPE_FLTSUB): Likewise.
6986 (SEGV_MAPERR): Likewise.
6987 (SEGV_ACCERR): Likewise.
6988 (BUS_ADRALN): Likewise.
6989 (BUS_ADRERR): Likewise.
6990 (BUS_OBJERR): Likewise.
6991 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6992 (TRAP_TRACE): Likewise.
6993 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6994 __USE_XOPEN2K8].
6995 (CLD_KILLED): Likewise.
6996 (CLD_DUMPED): Likewise.
6997 (CLD_TRAPPED): Likewise.
6998 (CLD_STOPPED): Likewise.
6999 (CLD_CONTINUED): Likewise.
7000 (POLL_IN): Likewise.
7001 (POLL_OUT): Likewise.
7002 (POLL_MSG): Likewise.
7003 (POLL_ERR): Likewise.
7004 (POLL_PRI): Likewise.
7005 (POLL_HUP): Likewise.
7006 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7007 Likewise.
7008 (ILL_ILLOPN): Likewise.
7009 (ILL_ILLADR): Likewise.
7010 (ILL_ILLTRP): Likewise.
7011 (ILL_PRVOPC): Likewise.
7012 (ILL_PRVREG): Likewise.
7013 (ILL_COPROC): Likewise.
7014 (ILL_BADSTK): Likewise.
7015 (FPE_INTDIV): Likewise.
7016 (FPE_INTOVF): Likewise.
7017 (FPE_FLTDIV): Likewise.
7018 (FPE_FLTOVF): Likewise.
7019 (FPE_FLTUND): Likewise.
7020 (FPE_FLTRES): Likewise.
7021 (FPE_FLTINV): Likewise.
7022 (FPE_FLTSUB): Likewise.
7023 (SEGV_MAPERR): Likewise.
7024 (SEGV_ACCERR): Likewise.
7025 (BUS_ADRALN): Likewise.
7026 (BUS_ADRERR): Likewise.
7027 (BUS_OBJERR): Likewise.
7028 (BUS_MCEERR_AR): Likewise.
7029 (BUS_MCEERR_AO): Likewise.
7030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7031 (TRAP_TRACE): Likewise.
7032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7033 __USE_XOPEN2K8].
7034 (CLD_KILLED): Likewise.
7035 (CLD_DUMPED): Likewise.
7036 (CLD_TRAPPED): Likewise.
7037 (CLD_STOPPED): Likewise.
7038 (CLD_CONTINUED): Likewise.
7039 (POLL_IN): Likewise.
7040 (POLL_OUT): Likewise.
7041 (POLL_MSG): Likewise.
7042 (POLL_ERR): Likewise.
7043 (POLL_PRI): Likewise.
7044 (POLL_HUP): Likewise.
7045 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7046 (ILL_ILLOPN): Likewise.
7047 (ILL_ILLADR): Likewise.
7048 (ILL_ILLTRP): Likewise.
7049 (ILL_PRVOPC): Likewise.
7050 (ILL_PRVREG): Likewise.
7051 (ILL_COPROC): Likewise.
7052 (ILL_BADSTK): Likewise.
7053 (FPE_INTDIV): Likewise.
7054 (FPE_INTOVF): Likewise.
7055 (FPE_FLTDIV): Likewise.
7056 (FPE_FLTOVF): Likewise.
7057 (FPE_FLTUND): Likewise.
7058 (FPE_FLTRES): Likewise.
7059 (FPE_FLTINV): Likewise.
7060 (FPE_FLTSUB): Likewise.
7061 (SEGV_MAPERR): Likewise.
7062 (SEGV_ACCERR): Likewise.
7063 (BUS_ADRALN): Likewise.
7064 (BUS_ADRERR): Likewise.
7065 (BUS_OBJERR): Likewise.
7066 (BUS_MCEERR_AR): Likewise.
7067 (BUS_MCEERR_AO): Likewise.
7068 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7069 (TRAP_TRACE): Likewise.
7070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7071 __USE_XOPEN2K8].
7072 (CLD_KILLED): Likewise.
7073 (CLD_DUMPED): Likewise.
7074 (CLD_TRAPPED): Likewise.
7075 (CLD_STOPPED): Likewise.
7076 (CLD_CONTINUED): Likewise.
7077 (POLL_IN): Likewise.
7078 (POLL_OUT): Likewise.
7079 (POLL_MSG): Likewise.
7080 (POLL_ERR): Likewise.
7081 (POLL_PRI): Likewise.
7082 (POLL_HUP): Likewise.
7083 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7084 Likewise.
7085 (ILL_ILLOPN): Likewise.
7086 (ILL_ILLADR): Likewise.
7087 (ILL_ILLTRP): Likewise.
7088 (ILL_PRVOPC): Likewise.
7089 (ILL_PRVREG): Likewise.
7090 (ILL_COPROC): Likewise.
7091 (ILL_BADSTK): Likewise.
7092 (ILL_BADIADDR): Likewise.
7093 (ILL_BREAK): Likewise.
7094 (FPE_INTDIV): Likewise.
7095 (FPE_INTOVF): Likewise.
7096 (FPE_FLTDIV): Likewise.
7097 (FPE_FLTOVF): Likewise.
7098 (FPE_FLTUND): Likewise.
7099 (FPE_FLTRES): Likewise.
7100 (FPE_FLTINV): Likewise.
7101 (FPE_FLTSUB): Likewise.
7102 (FPE_DECOVF): Likewise.
7103 (FPE_DECDIV): Likewise.
7104 (FPE_DECERR): Likewise.
7105 (FPE_INVASC): Likewise.
7106 (FPE_INVDEC): Likewise.
7107 (SEGV_MAPERR): Likewise.
7108 (SEGV_ACCERR): Likewise.
7109 (SEGV_PSTKOVF): Likewise.
7110 (BUS_ADRALN): Likewise.
7111 (BUS_ADRERR): Likewise.
7112 (BUS_OBJERR): Likewise.
7113 (BUS_MCEERR_AR): Likewise.
7114 (BUS_MCEERR_AO): Likewise.
7115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7116 (TRAP_TRACE): Likewise.
7117 (TRAP_BRANCH): Likewise.
7118 (TRAP_HWBKPT): Likewise.
7119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7120 __USE_XOPEN2K8].
7121 (CLD_KILLED): Likewise.
7122 (CLD_DUMPED): Likewise.
7123 (CLD_TRAPPED): Likewise.
7124 (CLD_STOPPED): Likewise.
7125 (CLD_CONTINUED): Likewise.
7126 (POLL_IN): Likewise.
7127 (POLL_OUT): Likewise.
7128 (POLL_MSG): Likewise.
7129 (POLL_ERR): Likewise.
7130 (POLL_PRI): Likewise.
7131 (POLL_HUP): Likewise.
7132 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7133 (ILL_ILLOPN): Likewise.
7134 (ILL_ILLADR): Likewise.
7135 (ILL_ILLTRP): Likewise.
7136 (ILL_PRVOPC): Likewise.
7137 (ILL_PRVREG): Likewise.
7138 (ILL_COPROC): Likewise.
7139 (ILL_BADSTK): Likewise.
7140 (FPE_INTDIV): Likewise.
7141 (FPE_INTOVF): Likewise.
7142 (FPE_FLTDIV): Likewise.
7143 (FPE_FLTOVF): Likewise.
7144 (FPE_FLTUND): Likewise.
7145 (FPE_FLTRES): Likewise.
7146 (FPE_FLTINV): Likewise.
7147 (FPE_FLTSUB): Likewise.
7148 (SEGV_MAPERR): Likewise.
7149 (SEGV_ACCERR): Likewise.
7150 (BUS_ADRALN): Likewise.
7151 (BUS_ADRERR): Likewise.
7152 (BUS_OBJERR): Likewise.
7153 (BUS_MCEERR_AR): Likewise.
7154 (BUS_MCEERR_AO): Likewise.
7155 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7156 (TRAP_TRACE): Likewise.
7157 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7158 __USE_XOPEN2K8].
7159 (CLD_KILLED): Likewise.
7160 (CLD_DUMPED): Likewise.
7161 (CLD_TRAPPED): Likewise.
7162 (CLD_STOPPED): Likewise.
7163 (CLD_CONTINUED): Likewise.
7164 (POLL_IN): Likewise.
7165 (POLL_OUT): Likewise.
7166 (POLL_MSG): Likewise.
7167 (POLL_ERR): Likewise.
7168 (POLL_PRI): Likewise.
7169 (POLL_HUP): Likewise.
7170 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7171 (ILL_ILLOPN): Likewise.
7172 (ILL_ILLADR): Likewise.
7173 (ILL_ILLTRP): Likewise.
7174 (ILL_PRVOPC): Likewise.
7175 (ILL_PRVREG): Likewise.
7176 (ILL_COPROC): Likewise.
7177 (ILL_BADSTK): Likewise.
7178 (FPE_INTDIV): Likewise.
7179 (FPE_INTOVF): Likewise.
7180 (FPE_FLTDIV): Likewise.
7181 (FPE_FLTOVF): Likewise.
7182 (FPE_FLTUND): Likewise.
7183 (FPE_FLTRES): Likewise.
7184 (FPE_FLTINV): Likewise.
7185 (FPE_FLTSUB): Likewise.
7186 (SEGV_MAPERR): Likewise.
7187 (SEGV_ACCERR): Likewise.
7188 (BUS_ADRALN): Likewise.
7189 (BUS_ADRERR): Likewise.
7190 (BUS_OBJERR): Likewise.
7191 (BUS_MCEERR_AR): Likewise.
7192 (BUS_MCEERR_AO): Likewise.
7193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7194 (TRAP_TRACE): Likewise.
7195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7196 __USE_XOPEN2K8].
7197 (CLD_KILLED): Likewise.
7198 (CLD_DUMPED): Likewise.
7199 (CLD_TRAPPED): Likewise.
7200 (CLD_STOPPED): Likewise.
7201 (CLD_CONTINUED): Likewise.
7202 (POLL_IN): Likewise.
7203 (POLL_OUT): Likewise.
7204 (POLL_MSG): Likewise.
7205 (POLL_ERR): Likewise.
7206 (POLL_PRI): Likewise.
7207 (POLL_HUP): Likewise.
7208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7209 (ILL_ILLOPN): Likewise.
7210 (ILL_ILLADR): Likewise.
7211 (ILL_ILLTRP): Likewise.
7212 (ILL_PRVOPC): Likewise.
7213 (ILL_PRVREG): Likewise.
7214 (ILL_COPROC): Likewise.
7215 (ILL_BADSTK): Likewise.
7216 (FPE_INTDIV): Likewise.
7217 (FPE_INTOVF): Likewise.
7218 (FPE_FLTDIV): Likewise.
7219 (FPE_FLTOVF): Likewise.
7220 (FPE_FLTUND): Likewise.
7221 (FPE_FLTRES): Likewise.
7222 (FPE_FLTINV): Likewise.
7223 (FPE_FLTSUB): Likewise.
7224 (SEGV_MAPERR): Likewise.
7225 (SEGV_ACCERR): Likewise.
7226 (BUS_ADRALN): Likewise.
7227 (BUS_ADRERR): Likewise.
7228 (BUS_OBJERR): Likewise.
7229 (BUS_MCEERR_AR): Likewise.
7230 (BUS_MCEERR_AO): Likewise.
7231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7232 (TRAP_TRACE): Likewise.
7233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7234 __USE_XOPEN2K8].
7235 (CLD_KILLED): Likewise.
7236 (CLD_DUMPED): Likewise.
7237 (CLD_TRAPPED): Likewise.
7238 (CLD_STOPPED): Likewise.
7239 (CLD_CONTINUED): Likewise.
7240 (POLL_IN): Likewise.
7241 (POLL_OUT): Likewise.
7242 (POLL_MSG): Likewise.
7243 (POLL_ERR): Likewise.
7244 (POLL_PRI): Likewise.
7245 (POLL_HUP): Likewise.
7246 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7247 (ILL_ILLOPN): Likewise.
7248 (ILL_ILLADR): Likewise.
7249 (ILL_ILLTRP): Likewise.
7250 (ILL_PRVOPC): Likewise.
7251 (ILL_PRVREG): Likewise.
7252 (ILL_COPROC): Likewise.
7253 (ILL_BADSTK): Likewise.
7254 (ILL_DBLFLT): Likewise.
7255 (ILL_HARDWALL): Likewise.
7256 (FPE_INTDIV): Likewise.
7257 (FPE_INTOVF): Likewise.
7258 (FPE_FLTDIV): Likewise.
7259 (FPE_FLTOVF): Likewise.
7260 (FPE_FLTUND): Likewise.
7261 (FPE_FLTRES): Likewise.
7262 (FPE_FLTINV): Likewise.
7263 (FPE_FLTSUB): Likewise.
7264 (SEGV_MAPERR): Likewise.
7265 (SEGV_ACCERR): Likewise.
7266 (BUS_ADRALN): Likewise.
7267 (BUS_ADRERR): Likewise.
7268 (BUS_OBJERR): Likewise.
7269 (BUS_MCEERR_AR): Likewise.
7270 (BUS_MCEERR_AO): Likewise.
7271 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7272 (TRAP_TRACE): Likewise.
7273 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7274 __USE_XOPEN2K8].
7275 (CLD_KILLED): Likewise.
7276 (CLD_DUMPED): Likewise.
7277 (CLD_TRAPPED): Likewise.
7278 (CLD_STOPPED): Likewise.
7279 (CLD_CONTINUED): Likewise.
7280 (POLL_IN): Likewise.
7281 (POLL_OUT): Likewise.
7282 (POLL_MSG): Likewise.
7283 (POLL_ERR): Likewise.
7284 (POLL_PRI): Likewise.
7285 (POLL_HUP): Likewise.
7286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7287 (ILL_ILLOPN): Likewise.
7288 (ILL_ILLADR): Likewise.
7289 (ILL_ILLTRP): Likewise.
7290 (ILL_PRVOPC): Likewise.
7291 (ILL_PRVREG): Likewise.
7292 (ILL_COPROC): Likewise.
7293 (ILL_BADSTK): Likewise.
7294 (FPE_INTDIV): Likewise.
7295 (FPE_INTOVF): Likewise.
7296 (FPE_FLTDIV): Likewise.
7297 (FPE_FLTOVF): Likewise.
7298 (FPE_FLTUND): Likewise.
7299 (FPE_FLTRES): Likewise.
7300 (FPE_FLTINV): Likewise.
7301 (FPE_FLTSUB): Likewise.
7302 (SEGV_MAPERR): Likewise.
7303 (SEGV_ACCERR): Likewise.
7304 (BUS_ADRALN): Likewise.
7305 (BUS_ADRERR): Likewise.
7306 (BUS_OBJERR): Likewise.
7307 (BUS_MCEERR_AR): Likewise.
7308 (BUS_MCEERR_AO): Likewise.
7309 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7310 (TRAP_TRACE): Likewise.
7311 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7312 __USE_XOPEN2K8].
7313 (CLD_KILLED): Likewise.
7314 (CLD_DUMPED): Likewise.
7315 (CLD_TRAPPED): Likewise.
7316 (CLD_STOPPED): Likewise.
7317 (CLD_CONTINUED): Likewise.
7318 (POLL_IN): Likewise.
7319 (POLL_OUT): Likewise.
7320 (POLL_MSG): Likewise.
7321 (POLL_ERR): Likewise.
7322 (POLL_PRI): Likewise.
7323 (POLL_HUP): Likewise.
7324 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7325 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7326
bc61d27c
JM
7327 [BZ #16670]
7328 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7329 before #include of <time.h>.
7330 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7331 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7332 (test-xfail-UNIX98/sched.h/conform): Likewise.
7333
302949e2
MS
73342014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7335
7336 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7337 error absence of trapping exception support.
7338 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7339
a00f522a
JM
73402014-03-07 Joseph Myers <joseph@codesourcery.com>
7341
6f99f280
JM
7342 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7343 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7344 * timezone/Makefile (testdata): Move definition above include of
7345 Rules.
7346 (test-zones): New variable.
7347 (tests-special): Add zone files.
7348 (build-testdata): Use $(evaluate-test).
7349
0b20a9e8
JM
7350 * elf/Makefile (tests-special): Rename tests to end with .out.
7351 ($(objpfx)noload-mem): Likewise.
7352 ($(objpfx)tst-leaks1-mem): Likewise.
7353 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7354 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7355 $(objpfx)test-iconvconfig.out.
7356 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7357 set -e inside subshell and redirect output to file.
7358 * iconvdata/Makefile (generated): Rename tests to end with .out.
7359 Correct type.
7360 (tests-special): Rename tests to end with .out.
7361 ($(objpfx)mtrace-tst-loading): Likewise.
7362 * intl/Makefile (generated): Likewise.
7363 (tests-special): Likewise.
7364 ($(objpfx)mtrace-tst-gettext): Likewise.
7365 * misc/Makefile (generated): Likewise.
7366 (tests-special): Likewise.
7367 ($(objpfx)tst-error1-mem): Likewise.
7368 * nptl/Makefile (tests-special): Likewise.
7369 ($(objpfx)tst-stack3-mem): Likewise.
7370 (generated): Likewise.
7371 * posix/Makefile (generated): Likewise.
7372 (tests-special): Likewise.
7373 (xtests-special): Likewise.
7374 ($(objpfx)tst-fnmatch-mem): Likewise.
7375 ($(objpfx)bug-regex2-mem): Likewise.
7376 ($(objpfx)bug-regex14-mem): Likewise.
7377 ($(objpfx)bug-regex21-mem): Likewise.
7378 ($(objpfx)bug-regex31-mem): Likewise.
7379 ($(objpfx)tst-vfork3-mem): Likewise.
7380 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7381 ($(objpfx)tst-pcre-mem): Likewise.
7382 ($(objpfx)tst-boost-mem): Likewise.
7383 ($(objpfx)bug-ga2-mem): Likewise.
7384 ($(objpfx)bug-glob2-mem): Likewise.
7385 * resolv/Makefile (generate): Likewise.
7386 (tests-special): Likewise.
7387 (xtests-special): Likewise.
7388 (generated): Likewise.
7389 ($(objpfx)mtrace-tst-leaks): Likewise.
7390 ($(objpfx)mtrace-tst-leaks2): Likewise.
7391
265d52ab
JM
7392 * scripts/merge-test-results.sh: New file.
7393 * Makefile (tests-special-notdir): New variable.
7394 (tests): Run merge-test-results.sh.
7395 (xtests): Likewise.
7396 * Rules (tests-special-notdir): New variable.
7397 (xtests-special-notdir): Likewise.
7398 (tests): Run merge-test-results.sh
7399 (xtests): Likewise.
7400
54ee292d
JM
7401 * Makeconfig (test-xfail-name): New variable.
7402 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7403 compute variable name for expected failures.
7404 * conform/Makefile (conformtest-headers-data): New variable.
7405 (conformtest-standards): Likewise.
7406 (conformtest-headers-ISO): Likewise.
7407 (conformtest-headers-ISO99): Likewise.
7408 (conformtest-headers-ISO11): Likewise.
7409 (conformtest-headers-POSIX): Likewise.
7410 (conformtest-headers-XPG3): Likewise.
7411 (conformtest-headers-XPG4): Likewise.
7412 (conformtest-headers-UNIX98): Likewise.
7413 (conformtest-headers-XOPEN2K): Likewise.
7414 (conformtest-headers-POSIX2008): Likewise.
7415 (conformtest-headers-XOPEN2K8): Likewise.
7416 (conformtest-header-list-base): Likewise.
7417 (conformtest-header-list-tests): Likewise.
7418 (conformtest-header-base): Likewise.
7419 (conformtest-header-tests): Likewise.
7420 (tests-special): Add $(conformtest-header-list-tests). If
7421 [$(fast-check) && !$(cross-compiling)], add
7422 $(conformtest-header-tests) instead of
7423 $(objpfx)run-conformtest.out.
7424 (generated): Add $(conformtest-header-list-base). If
7425 [$(fast-check) && !$(cross-compiling)], add
7426 $(conformtest-header-base). Remove previous setting.
7427 ($(conformtest-header-list-tests)): New target.
7428 (test-xfail-run-conformtest): Remove variable.
7429 ($(objpfx)run-conformtest.out): Remove target.
7430 (test-xfail-ISO11/complex.h/conform): New variable.
7431 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7432 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7433 (test-xfail-XPG3/varargs.h/conform): Likewise.
7434 (test-xfail-XPG4/varargs.h/conform): Likewise.
7435 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7436 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7437 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7438 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7439 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7440 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7441 (test-xfail-XPG3/ftw.h/conform): Likewise.
7442 (test-xfail-XPG3/grp.h/conform): Likewise.
7443 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7444 (test-xfail-XPG3/limits.h/conform): Likewise.
7445 (test-xfail-XPG3/pwd.h/conform): Likewise.
7446 (test-xfail-XPG3/search.h/conform): Likewise.
7447 (test-xfail-XPG3/signal.h/conform): Likewise.
7448 (test-xfail-XPG3/stdio.h/conform): Likewise.
7449 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7450 (test-xfail-XPG3/string.h/conform): Likewise.
7451 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7452 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7453 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7454 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7455 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7456 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7457 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7458 (test-xfail-XPG3/termios.h/conform): Likewise.
7459 (test-xfail-XPG3/time.h/conform): Likewise.
7460 (test-xfail-XPG3/unistd.h/conform): Likewise.
7461 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7462 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7463 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7464 (test-xfail-XPG4/netdb.h/conform): Likewise.
7465 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7466 (test-xfail-XPG4/signal.h/conform): Likewise.
7467 (test-xfail-XPG4/stdio.h/conform): Likewise.
7468 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7469 (test-xfail-XPG4/stropts.h/conform): Likewise.
7470 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7471 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7472 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7473 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7474 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7475 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7476 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7477 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7478 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7479 (test-xfail-XPG4/termios.h/conform): Likewise.
7480 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7481 (test-xfail-XPG4/unistd.h/conform): Likewise.
7482 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7483 (test-xfail-POSIX/sched.h/conform): Likewise.
7484 (test-xfail-POSIX/signal.h/conform): Likewise.
7485 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7486 (test-xfail-POSIX/tar.h/conform): Likewise.
7487 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7488 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7489 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7490 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7491 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7492 (test-xfail-UNIX98/sched.h/conform): Likewise.
7493 (test-xfail-UNIX98/signal.h/conform): Likewise.
7494 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7495 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7496 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7497 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7498 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7499 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7500 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7501 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7502 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7503 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7504 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7505 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7506 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7507 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7508 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7509 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7510 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7511 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7512 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7513 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7514 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7515 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7516 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7517 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7518 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7519 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7520 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7521 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7522 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7523 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7524 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7525 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7526 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7527 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7528 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7529 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7530 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7531 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7532 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7533 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7534 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7535 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7536 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7537 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7538 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7539 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7540 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7541 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7542 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7543 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7544 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7545 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7546 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7547 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7548 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7549 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7550 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7551 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7552 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7553 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7554 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7555 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7556 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7557 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7558 (conformtest-cc-flags): Likewise.
7559 ($(conformtest-header-tests): New target.
7560 * conform/check-header-lists.sh: New file.
7561 * conform/run-conformtest.sh: Remove.
7562
a00f522a
JM
7563 * conform/conformtest.pl: Allow ' and \ in values given for
7564 constants.
7565 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7566 inclusion.
7567 [POSIX] (sys/types.h): Likewise.
7568 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7569 inclusion.
7570 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7571 inclusion.
7572 * conform/data/signal.h-data (SIGIO): Remove expectation.
7573 [XPG3] (SIGBUS): Do not expect.
7574 [POSIX || XPG3] (SIGPOLL): Likewise.
7575 [POSIX || XPG3] (SIGPROF): Likewise.
7576 [POSIX || XPG3] (SIGSYS): Likewise.
7577 [XPG3] (SIGTRAP): Likewise.
7578 [POSIX || XPG3] (SIGURG): Likewise.
7579 [POSIX || XPG3] (SIGVTALRM): Likewise.
7580 [POSIX || XPG3] (SIGXCPU): Likewise.
7581 [POSIX || XPG3] (SIGXFSZ): Likewise.
7582 [POSIX] (SA_SIGINFO): Expect.
7583 [XPG3] (siginfo_t): Do not expect type or contents.
7584 [POSIX] (si_pid): Do not expect element.
7585 [POSIX] (si_uid): Likewise.
7586 [POSIX] (si_addr): Likewise.
7587 [POSIX] (si_status): Likewise.
7588 [POSIX] (si_band): Likewise.
7589 [XPG4] (si_value): Likewise.
7590 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7591 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7592 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7593 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7594 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7595 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7596 [POSIX || XPG3] (ILL_COPROC): Likewise.
7597 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7598 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7599 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7600 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7601 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7602 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7603 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7604 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7605 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7606 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7607 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7608 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7609 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7610 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7611 [POSIX || XPG3] (CLD_EXITED): Likewise.
7612 [POSIX || XPG3] (CLD_KILLED): Likewise.
7613 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7614 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7615 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7616 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7617 [POSIX || XPG3] (POLL_IN): Likewise.
7618 [POSIX || XPG3] (POLL_OUT): Likewise.
7619 [POSIX || XPG3] (POLL_MSG): Likewise.
7620 [POSIX || XPG3] (POLL_ERR): Likewise.
7621 [POSIX || XPG3] (POLL_PRI): Likewise.
7622 [POSIX || XPG3] (POLL_HUP): Likewise.
7623 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7624 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7625 (SIG*): Do not allow.
7626 [XPG3] (si_*): Likewise.
7627 [XPG3] (SI_*): Likewise.
7628 [XPG3 || XPG4] (sigev_*): Likewise.
7629 [XPG3 || XPG4] (SIGEV_*): Likewise.
7630 [XPG3 || XPG4] (sival_*): Likewise.
7631 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7632 [POSIX || XPG3] (BUS_*): Likewise.
7633 [POSIX || XPG3] (CLD_*): Likewise.
7634 [POSIX || XPG3] (FPE_*): Likewise.
7635 [POSIX || XPG3] (ILL_*): Likewise.
7636 [POSIX || XPG3] (POLL_*): Likewise.
7637 [POSIX || XPG3] (SEGV_*): Likewise.
7638 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7639 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7640 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7641 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7642 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7643 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7644 Specify type and value.
7645 (TVERSLEN): Likewise.
7646 (REGTYPE): Likewise.
7647 (AREGTYPE): Likewise.
7648 (LNKTYPE): Likewise.
7649 (SYMTYPE): Likewise.
7650 (CHRTYPE): Likewise.
7651 (BLKTYPE): Likewise.
7652 (DIRTYPE): Likewise.
7653 (FIFOTYPE): Likewise.
7654 (CONTTYPE): Likewise.
7655 (TSUID): Likewise.
7656 (TSGID): Likewise.
7657 (TSVTX): Likewise.
7658 (TUREAD): Likewise.
7659 (TUWRITE): Likewise.
7660 (TUEXEC): Likewise.
7661 (TGREAD): Likewise.
7662 (TGWRITE): Likewise.
7663 (TGEXEC): Likewise.
7664 (TOREAD): Likewise.
7665 (TOWRITE): Likewise.
7666 (TOEXEC): Likewise.
7667 [POSIX] (TSVTX): Expect constant.
7668
aa97dee1
JM
76692014-03-06 Joseph Myers <joseph@codesourcery.com>
7670
f214606a
JM
7671 * Makefile (tests): Change dependencies to ....
7672 (tests-special): ... additions to this variable.
7673 (tests): Depend on $(tests-special).
7674 * Makerules (check-abi-list): New variable.
7675 (check-abi): Depend on $(check-abi-list).
7676 [$(subdir) = elf] (tests-special): Add
7677 $(objpfx)check-abi-libc.out.
7678 [$(build-shared) = yes && subdir] (tests-special): Add
7679 $(check-abi-list).
7680 [$(build-shared) = yes && subdir] (tests): Do not depend on
7681 check-abi.
7682 * Rules (tests): Depend on $(tests-special).
7683 (xtests): Depend on $(xtests-special).
7684 * catgets/Makefile (tests): Change dependencies to ....
7685 (tests-special): ... additions to this variable.
7686 * conform/Makefile (tests): Change dependencies to ....
7687 (tests-special): ... additions to this variable.
7688 * elf/Makefile (tests): Change dependencies to ....
7689 (tests-special): ... additions to this variable.
7690 * grp/Makefile (tests): Change dependencies to ....
7691 (tests-special): ... additions to this variable.
7692 * iconv/Makefile (xtests): Change dependencies to ....
7693 (xtests-special): ... additions to this variable.
7694 * iconvdata/Makefile (tests): Change dependencies to ....
7695 (tests-special): ... additions to this variable.
7696 * intl/Makefile (tests): Change dependencies to ....
7697 (tests-special): ... additions to this variable. Also add
7698 $(objpfx)tst-gettext.out.
7699 * io/Makefile (tests): Change dependencies to ....
7700 (tests-special): ... additions to this variable.
7701 * libio/Makefile (tests): Change dependencies to ....
7702 (tests-special): ... additions to this variable.
7703 * malloc/Makefile (tests): Change dependencies to ....
7704 (tests-special): ... additions to this variable.
7705 * misc/Makefile (tests): Change dependencies to ....
7706 (tests-special): ... additions to this variable.
7707 * nptl/Makefile (tests): Change dependencies to ....
7708 (tests-special): ... additions to this variable.
7709 * nptl_db/Makefile (tests): Change dependencies to ....
7710 (tests-special): ... additions to this variable.
7711 * posix/Makefile (tests): Change dependencies to ....
7712 (tests-special): ... additions to this variable.
7713 (xtests): Change dependencies to ....
7714 (xtests-special): ... additions to this variable.
7715 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
7720 (tests-special): ... additions to this variable.
7721 (do-tst-unbputc): Remove target.
7722 (do-tst-printf): Likewise.
7723 * stdlib/Makefile (tests): Change dependencies to ....
7724 (tests-special): ... additions to this variable.
7725 * string/Makefile (tests): Change dependencies to ....
7726 (tests-special): ... additions to this variable.
7727 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7728 (tests-special): ... additions to this variable.
7729
81700b53
JM
7730 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7731 whole file.
7732 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7733 whole file.
7734 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7735 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7736
2ea18461
JM
7737 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7738 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7739 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7740 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7741 * conform/data/libgen.h-data [XPG3]: Likewise.
7742 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7743 * conform/data/ndbm.h-data [XPG3]: Likewise.
7744 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7745 * conform/data/netdb.h-data [XPG3]: Likewise.
7746 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7747 * conform/data/poll.h-data [XPG3]: Likewise.
7748 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7749 * conform/data/strings.h-data [XPG3]: Likewise.
7750 * conform/data/stropts.h-data [XPG3]: Likewise.
7751 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7752 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7753 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7754 Likewise.
7755 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7756 * conform/data/sys/time.h-data [XPG3]: Likewise.
7757 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7758 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7759 * conform/data/sys/un.h-data [XPG3]: Likewise.
7760 * conform/data/syslog.h-data [XPG3]: Likewise.
7761 * conform/data/ucontext.h-data [XPG3]: Likewise.
7762 * conform/data/utmpx.h-data [XPG3]: Likewise.
7763 * conform/data/varargs.h-data [UNIX98]: Enable file.
7764
355bc986
JM
7765 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7766
215db402
JM
7767 * math/libm-test.inc (struct test_f_f_data): Move expected results
7768 into structure for each rounding mode.
7769 (struct test_ff_f_data): Likewise.
7770 (struct test_ff_f_data_nexttoward): Likewise.
7771 (struct test_fi_f_data): Likewise.
7772 (struct test_fl_f_data): Likewise.
7773 (struct test_if_f_data): Likewise.
7774 (struct test_fff_f_data): Likewise.
7775 (struct test_c_f_data): Likewise.
7776 (struct test_f_f1_data): Likewise.
7777 (struct test_fF_f1_data): Likewise.
7778 (struct test_ffI_f1_data): Likewise.
7779 (struct test_c_c_data): Likewise.
7780 (struct test_cc_c_data): Likewise.
7781 (struct test_f_i_data): Likewise.
7782 (struct test_ff_i_data): Likewise.
7783 (struct test_f_l_data): Likewise.
7784 (struct test_f_L_data): Likewise.
7785 (struct test_fFF_11_data): Likewise.
7786 (RM_): New macro.
7787 (RM_FE_DOWNWARD): Likewise.
7788 (RM_FE_TONEAREST): Likewise.
7789 (RM_FE_TOWARDZERO): Likewise.
7790 (RM_FE_UPWARD): Likewise.
7791 (RUN_TEST_LOOP_f_f): Update references to expected results.
7792 (RUN_TEST_LOOP_2_f): Likewise.
7793 (RUN_TEST_LOOP_fff_f): Likewise.
7794 (RUN_TEST_LOOP_c_f): Likewise.
7795 (RUN_TEST_LOOP_f_f1): Likewise.
7796 (RUN_TEST_LOOP_fF_f1): Likewise.
7797 (RUN_TEST_LOOP_fI_f1): Likewise.
7798 (RUN_TEST_LOOP_ffI_f1): Likewise.
7799 (RUN_TEST_LOOP_c_c): Likewise.
7800 (RUN_TEST_LOOP_cc_c): Likewise.
7801 (RUN_TEST_LOOP_f_i): Likewise.
7802 (RUN_TEST_LOOP_f_i_tg): Likewise.
7803 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7804 (RUN_TEST_LOOP_f_b): Likewise.
7805 (RUN_TEST_LOOP_f_b_tg): Likewise.
7806 (RUN_TEST_LOOP_f_l): Likewise.
7807 (RUN_TEST_LOOP_f_L): Likewise.
7808 (RUN_TEST_LOOP_fFF_11): Likewise.
7809 * math/gen-libm-test.pl (parse_args): Output four copies of
7810 expected results for each test.
7811
67737b8f
JM
7812 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7813 (__ASSUME_UTIMES): Remove.
7814 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7815 (__ASSUME_UTIMES): Likewise.
7816
aa97dee1
JM
7817 * math/gen-auto-libm-tests.c: Update comment on output format.
7818 (output_for_one_input_case): Generate before-rounding and
7819 after-rounding information as conditions on output flags not
7820 floating-point format.
7821 * math/auto-libm-test-out: Regenerated.
7822 * math/gen-libm-test.pl (cond_value): New function.
7823 (or_cond_value): Use cond_value.
7824 (generate_testfile): Handle conditional exceptions.
7825
e6b6a857
JM
78262014-03-05 Joseph Myers <joseph@codesourcery.com>
7827
2f0a0f44
JM
7828 * math/libm-test.inc (max_valid_error): New variable.
7829 (init_max_error): Take new argument specifying whether function
7830 results are exactly determined. Set max_valid_error and bound
7831 other variables for errors based on this argument.
7832 (set_max_error): Do not record results above max_valid_error.
7833 (check_float_internal): Only accept errors of up to 0.5ulps if
7834 also at most max_valid_error.
7835 (START): Take new argument EXACT and pass it to init_max_error.
7836 (acos_test): Update call to START.
7837 (acos_test_tonearest): Likewise.
7838 (acos_test_towardzero): Likewise.
7839 (acos_test_downward): Likewise.
7840 (acos_test_upward): Likewise.
7841 (acosh_test): Likewise.
7842 (asin_test): Likewise.
7843 (asin_test_tonearest): Likewise.
7844 (asin_test_towardzero): Likewise.
7845 (asin_test_downward): Likewise.
7846 (asin_test_upward): Likewise.
7847 (asinh_test): Likewise.
7848 (atan_test): Likewise.
7849 (atanh_test): Likewise.
7850 (atan2_test): Likewise.
7851 (cabs_test): Likewise.
7852 (cacos_test): Likewise.
7853 (cacosh_test): Likewise.
7854 (carg_test): Likewise.
7855 (casin_test): Likewise.
7856 (casinh_test): Likewise.
7857 (catan_test): Likewise.
7858 (catanh_test): Likewise.
7859 (cbrt_test): Likewise.
7860 (ccos_test): Likewise.
7861 (ccosh_test): Likewise.
7862 (ceil_test): Likewise.
7863 (cexp_test): Likewise.
7864 (cimag_test): Likewise.
7865 (clog_test): Likewise.
7866 (clog10_test): Likewise.
7867 (conj_test): Likewise.
7868 (copysign_test): Likewise.
7869 (cos_test): Likewise.
7870 (cos_test_tonearest): Likewise.
7871 (cos_test_towardzero): Likewise.
7872 (cos_test_downward): Likewise.
7873 (cos_test_upward): Likewise.
7874 (cosh_test): Likewise.
7875 (cosh_test_tonearest): Likewise.
7876 (cosh_test_towardzero): Likewise.
7877 (cosh_test_downward): Likewise.
7878 (cosh_test_upward): Likewise.
7879 (cpow_test): Likewise.
7880 (cproj_test): Likewise.
7881 (creal_test): Likewise.
7882 (csin_test): Likewise.
7883 (csinh_test): Likewise.
7884 (csqrt_test): Likewise.
7885 (ctan_test): Likewise.
7886 (ctan_test_tonearest): Likewise.
7887 (ctan_test_towardzero): Likewise.
7888 (ctan_test_downward): Likewise.
7889 (ctan_test_upward): Likewise.
7890 (ctanh_test): Likewise.
7891 (ctanh_test_tonearest): Likewise.
7892 (ctanh_test_towardzero): Likewise.
7893 (ctanh_test_downward): Likewise.
7894 (ctanh_test_upward): Likewise.
7895 (erf_test): Likewise.
7896 (erfc_test): Likewise.
7897 (exp_test): Likewise.
7898 (exp_test_tonearest): Likewise.
7899 (exp_test_towardzero): Likewise.
7900 (exp_test_downward): Likewise.
7901 (exp_test_upward): Likewise.
7902 (exp10_test): Likewise.
7903 (exp10_test_tonearest): Likewise.
7904 (exp10_test_towardzero): Likewise.
7905 (exp10_test_downward): Likewise.
7906 (exp10_test_upward): Likewise.
7907 (pow10_test): Likewise.
7908 (exp2_test): Likewise.
7909 (expm1_test): Likewise.
7910 (expm1_test_tonearest): Likewise.
7911 (expm1_test_towardzero): Likewise.
7912 (expm1_test_downward): Likewise.
7913 (expm1_test_upward): Likewise.
7914 (fabs_test): Likewise.
7915 (fdim_test): Likewise.
7916 (floor_test): Likewise.
7917 (fma_test): Likewise.
7918 (fma_test_towardzero): Likewise.
7919 (fma_test_downward): Likewise.
7920 (fma_test_upward): Likewise.
7921 (fmax_test): Likewise.
7922 (fmin_test): Likewise.
7923 (fmod_test): Likewise.
7924 (fpclassify_test): Likewise.
7925 (frexp_test): Likewise.
7926 (hypot_test): Likewise.
7927 (ilogb_test): Likewise.
7928 (isfinite_test): Likewise.
7929 (finite_test): Likewise.
7930 (isgreater_test): Likewise.
7931 (isgreaterequal_test): Likewise.
7932 (isinf_test): Likewise.
7933 (isless_test): Likewise.
7934 (islessequal_test): Likewise.
7935 (islessgreater_test): Likewise.
7936 (isnan_test): Likewise.
7937 (isnormal_test): Likewise.
7938 (issignaling_test): Likewise.
7939 (isunordered_test): Likewise.
7940 (j0_test): Likewise.
7941 (j1_test): Likewise.
7942 (jn_test): Likewise.
7943 (ldexp_test): Likewise.
7944 (lgamma_test): Likewise.
7945 (gamma_test): Likewise.
7946 (lrint_test): Likewise.
7947 (lrint_test_tonearest): Likewise.
7948 (lrint_test_towardzero): Likewise.
7949 (lrint_test_downward): Likewise.
7950 (lrint_test_upward): Likewise.
7951 (llrint_test): Likewise.
7952 (llrint_test_tonearest): Likewise.
7953 (llrint_test_towardzero): Likewise.
7954 (llrint_test_downward): Likewise.
7955 (llrint_test_upward): Likewise.
7956 (log_test): Likewise.
7957 (log10_test): Likewise.
7958 (log1p_test): Likewise.
7959 (log2_test): Likewise.
7960 (logb_test): Likewise.
7961 (logb_test_downward): Likewise.
7962 (lround_test): Likewise.
7963 (llround_test): Likewise.
7964 (modf_test): Likewise.
7965 (nearbyint_test): Likewise.
7966 (nextafter_test): Likewise.
7967 (nexttoward_test): Likewise.
7968 (pow_test): Likewise.
7969 (pow_test_tonearest): Likewise.
7970 (pow_test_towardzero): Likewise.
7971 (pow_test_downward): Likewise.
7972 (pow_test_upward): Likewise.
7973 (remainder_test): Likewise.
7974 (drem_test): Likewise.
7975 (remainder_test_tonearest): Likewise.
7976 (drem_test_tonearest): Likewise.
7977 (remainder_test_towardzero): Likewise.
7978 (drem_test_towardzero): Likewise.
7979 (remainder_test_downward): Likewise.
7980 (drem_test_downward): Likewise.
7981 (remainder_test_upward): Likewise.
7982 (drem_test_upward): Likewise.
7983 (remquo_test): Likewise.
7984 (rint_test): Likewise.
7985 (rint_test_tonearest): Likewise.
7986 (rint_test_towardzero): Likewise.
7987 (rint_test_downward): Likewise.
7988 (rint_test_upward): Likewise.
7989 (round_test): Likewise.
7990 (scalb_test): Likewise.
7991 (scalbn_test): Likewise.
7992 (scalbln_test): Likewise.
7993 (signbit_test): Likewise.
7994 (sin_test): Likewise.
7995 (sin_test_tonearest): Likewise.
7996 (sin_test_towardzero): Likewise.
7997 (sin_test_downward): Likewise.
7998 (sin_test_upward): Likewise.
7999 (sincos_test): Likewise.
8000 (sinh_test): Likewise.
8001 (sinh_test_tonearest): Likewise.
8002 (sinh_test_towardzero): Likewise.
8003 (sinh_test_downward): Likewise.
8004 (sinh_test_upward): Likewise.
8005 (sqrt_test): Likewise.
8006 (sqrt_test_tonearest): Likewise.
8007 (sqrt_test_towardzero): Likewise.
8008 (sqrt_test_downward): Likewise.
8009 (sqrt_test_upward): Likewise.
8010 (tan_test): Likewise.
8011 (tan_test_tonearest): Likewise.
8012 (tan_test_towardzero): Likewise.
8013 (tan_test_downward): Likewise.
8014 (tan_test_upward): Likewise.
8015 (tanh_test): Likewise.
8016 (tgamma_test): Likewise.
8017 (trunc_test): Likewise.
8018 (y0_test): Likewise.
8019 (y1_test): Likewise.
8020 (yn_test): Likewise.
8021 (significand_test): Likewise.
8022
e6b6a857
JM
8023 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8024 individual tests in comment.
8025 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8026 (prev_max_error): New variable.
8027 (prev_real_max_error): Likewise.
8028 (prev_imag_max_error): Likewise.
8029 (compare_ulp_data): Don't refer to test names in comment.
8030 (find_test_ulps): Remove function.
8031 (find_function_ulps): Likewise.
8032 (find_complex_function_ulps): Likewise.
8033 (init_max_error): Take function name as argument. Look up ulps
8034 for that function.
8035 (print_ulps): Remove function.
8036 (print_max_error): Use prev_max_error instead of calling
8037 find_function_ulps.
8038 (print_complex_max_error): Use prev_real_max_error and
8039 prev_imag_max_error instead of calling find_complex_function_ulps.
8040 (check_float_internal): Take max_ulp parameter instead of calling
8041 find_test_ulps. Don't call print_ulps.
8042 (check_float): Update call to check_float_internal.
8043 (check_complex): Update calls to check_float_internal.
8044 (START): Pass argument to init_max_error.
8045 * math/gen-libm-test.pl (%results): Don't include "kind"
8046 information.
8047 (parse_ulps): Don't handle ulps of individual tests.
8048 (print_ulps_file): Likewise.
8049 (output_ulps): Likewise.
8050 * math/README.libm-test: Update.
8051 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8052 individual tests.
8053 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8054 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8055 * sysdeps/arm/libm-test-ulps: Likewise.
8056 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8057 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8058 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8059 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8060 * sysdeps/microblaze/libm-test-ulps: Likewise.
8061 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8062 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8064 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8065 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8066 * sysdeps/sh/libm-test-ulps: Likewise.
8067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8068 * sysdeps/tile/libm-test-ulps: Likewise.
8069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8070
45adef3c
JM
80712014-03-04 Joseph Myers <joseph@codesourcery.com>
8072
8073 * math/libm-test.inc (print_complex_max_error): Check separately
8074 whether real and imaginary errors are within allowed range and
8075 pass 0 to print_complex_function_ulps instead of value within
8076 allowed range.
8077
000232b9
SP
80782014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8079
d4b17258
SP
8080 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8081 formatting.
8082 (get_handles_fopen): Likewise.
8083 (do_write_test): Likewise.
8084
091eff71
SP
8085 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8086
fa3cd248
SP
8087 * libio/fileops.c (do_ftell): Use cached offset when
8088 available.
8089 * libio/iofwide.c (do_ftell_wide): Likewise.
8090 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8091 _IO_file_attach.
8092 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8093
000232b9
SP
8094 [BZ #16532]
8095 * libio/libioP.h (get_file_offset): New function.
8096 * libio/fileops.c (get_file_offset): Likewise.
8097 (do_ftell): Likewise.
8098 (_IO_new_file_seekoff): Split out ftell logic.
8099 * libio/wfileops.c (do_ftell_wide): Likewise.
8100 (_IO_wfile_seekoff): Split out ftell logic.
8101 * libio/tst-ftell-active-handler.c: New test case.
8102 * libio/Makefile (tests): Add it.
8103
116f4d1a
RM
81042014-03-03 Roland McGrath <roland@hack.frob.com>
8105
8106 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8107 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8108
532a6035
SP
81092014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8110
8111 [BZ #16639]
8112 * nscd/connections.c (nscd_init): Call do_exit.
8113 (start_threads): Call do_exit and notify_parent.
8114 (begin_drop_privileges): Call do_exit.
8115 (finish_drop_privileges): Likewise.
8116 * nscd/selinux.c (preserve_capabilities): Likewise.
8117 (install_real_capabilities): Likewise.
8118 (nscd_selinux_enabled): Likewise.
8119 (avc_create_thread): Likewise.
8120 (avc_alloc_lock): Likewise.
8121 (nscd_avc_init): Likewise.
8122 * nscd/nscd.c (parent_fd): New static variable.
8123 (main): Create a pipe between parent and child processes.
8124 Skip closing parent_fd.
8125 (monitor_child): New function.
8126 (do_exit): Likewise.
8127 (notify_parent): Likewise.
8128 * nscd/nscd.h (notify_parent): Likewise.
8129 (do_exit): Likewise.
8130
d6285c9f
CD
81312014-03-03 Carlos O'Donell <carlos@redhat.com>
8132
8133 * malloc/malloc.c (__libc_calloc): Revert last change.
8134
2b85d2a0
AZ
81352014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8136
8137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8138
c7debbdf
RS
81392014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8140
8141 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8143 implementation.
8144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8145 (__libc_ifunc_impl_list): Likewise.
8146 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8147 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8148 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8149 * string/strrchr.c: Define STRRCHR.
8150
235eed86
OB
81512014-02-28 Ondřej Bílka <neleai@seznam.cz>
8152
8153 * benchtest/bench-strtok.c (simple_strtok): Delete.
8154 (strtok_string): Use as benchmark.
8155 * string/strtok (STRTOK): New macro.
8156
8e25d1e7
CD
81572014-02-28 Carlos O'Donell <carlos@redhat.com>
8158
ef563f92
CD
8159 * manual/threads.texi: Add header and standard comments to all
8160 functions.
8161
8e25d1e7
CD
8162 * elf/dl-lookup.c (check_match): New function.
8163 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8164 (do_lookup_x): Remove nested function check_match. Use non-nested
8165 function check_match.
8166
ff71cc37
RM
81672014-02-28 Roland McGrath <roland@hack.frob.com>
8168
f08e9a26
RM
8169 * csu/Makefile (generated, before-compile): Use += rather than =.
8170 * catgets/Makefile (generated, generated-dirs): Likewise.
8171 * debug/Makefile (generated): Likewise.
8172 * dlfcn/Makefile (generated): Likewise.
8173 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8174 * iconvdata/Makefile (before-compile, generated): Likewise.
8175 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8176 * libio/Makefile (generated): Likewise.
8177 * malloc/Makefile (generated): Likewise.
8178 * manual/Makefile (generated, generated-dirs): Likewise.
8179 * misc/Makefile (generated): Likewise.
8180 * posix/Makefile (generated): Likewise.
8181 * resolv/Makefile (generated): Likewise.
8182 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8183 * timezone/Makefile (generated, generated-dirs): Likewise.
8184
ff71cc37
RM
8185 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8186
fe13a20c
AZ
81872014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
57f41c40
AS
8189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8190 power8 implementation.
8191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8192 file: POWER8 llround ifunc implementation.
8193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8194 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8195 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8196 POWER8 llround implementation.
8197
57f41c40
AS
8198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8199 power8 implementation.
8200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8201 file: POWER8 llrint ifunc implementation.
8202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8203 Add POWER8 implementation.
1ad8950a
AZ
8204 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8205 POWER8 llrint implementation.
8206
57f41c40
AS
8207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8208 power8 implementation.
8209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8210 file: POWER8 finite ifunc implementation.
8211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8212 Add POWER8 implementation.
cac626d6
AZ
8213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8214 Likewise.
8215 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8216 POWER8 finite implementation.
8217 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8218
57f41c40
AS
8219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8220 power8 implementation.
8221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8222 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8224 POWER8 implementation.
8225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8226 Likewise.
57f41c40
AS
8227 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8228 isinf implementation.
4393fc11
AZ
8229 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8230
57f41c40
AS
8231 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8232 (INIT_ARCH): Add hwcap2 initialization.
8233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8234 power8 implementation.
8235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8236 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8238 POWER8 implementation.
8239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8240 Likewise.
57f41c40
AS
8241 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8242 isnan implementation.
487972ae
AZ
8243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8244
7d92b787
JY
82452014-02-27 Joey Ye <joey.ye@arm.com>
8246
8247 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8248 (_FP_NANFRAC_Q): Set to zero.
8249
1cadc858
SP
82502014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8251
8252 [BZ #16623]
8253 * math/auto-libm-test-in: New test inputs.
8254 * math/auto-libm-test-out: Regenerate.
8255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8256 and DA.
8257 (__cos): Likewise.
8258 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8259
f8c17e79
JM
82602014-02-27 Joseph Myers <joseph@codesourcery.com>
8261
8262 * scripts/evaluate-test.sh: Take new argument indicating whether
8263 failure is expected.
8264 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8265 indicating whether failure is expected.
8266 * conform/Makefile (test-xfail-run-conformtest): New variable.
8267 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8268 level.
8269 * posix/Makefile (test-xfail-annexc): New variable.
8270 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8271
a5f891ac
JM
82722014-02-26 Joseph Myers <joseph@codesourcery.com>
8273
8274 * argp/Makefile: Include Makeconfig immediately after defining
8275 subdir.
8276 * assert/Makefile: Likewise.
8277 * benchtests/Makefile: Likewise.
8278 * catgets/Makefile: Likewise.
8279 * conform/Makefile: Likewise.
8280 * crypt/Makefile: Likewise.
8281 * csu/Makefile: Likewise.
8282 (all): Remove target.
8283 * ctype/Makefile: Include Makeconfig immediately after defining
8284 subdir.
8285 * debug/Makefile: Likewise.
8286 * dirent/Makefile: Likewise.
8287 * dlfcn/Makefile: Likewise.
8288 * gmon/Makefile: Likewise.
8289 * gnulib/Makefile: Likewise.
8290 * grp/Makefile: Likewise.
8291 * gshadow/Makefile: Likewise.
8292 * hesiod/Makefile: Likewise.
8293 * hurd/Makefile: Likewise.
8294 (all): Remove target.
8295 * iconvdata/Makefile: Include Makeconfig immediately after
8296 defining subdir.
8297 * inet/Makefile: Likewise.
8298 * intl/Makefile: Likewise.
8299 * io/Makefile: Likewise.
8300 * libio/Makefile: Likewise.
8301 (all): Remove target.
8302 * locale/Makefile: Include Makeconfig immediately after defining
8303 subdir.
8304 * login/Makefile: Likewise.
8305 * mach/Makefile: Likewise.
8306 (all): Remove target.
8307 * malloc/Makefile: Include Makeconfig immediately after defining
8308 subdir.
8309 (all): Remove target.
8310 * manual/Makefile: Include Makeconfig immediately after defining
8311 subdir.
8312 * math/Makefile: Likewise.
8313 * misc/Makefile: Likewise.
8314 * nis/Makefile: Likewise.
8315 * nss/Makefile: Likewise.
8316 * po/Makefile: Likewise.
8317 (all): Remove target.
8318 * posix/Makefile: Include Makeconfig immediately after defining
8319 subdir.
8320 * pwd/Makefile: Likewise.
8321 * resolv/Makefile: Likewise.
8322 * resource/Makefile: Likewise.
8323 * rt/Makefile: Likewise.
8324 * setjmp/Makefile: Likewise.
8325 * shadow/Makefile: Likewise.
8326 * signal/Makefile: Likewise.
8327 * socket/Makefile: Likewise.
8328 * soft-fp/Makefile: Likewise.
8329 * stdio-common/Makefile: Likewise.
8330 * stdlib/Makefile: Likewise.
8331 * streams/Makefile: Likewise.
8332 * string/Makefile: Likewise.
8333 * sunrpc/Makefile: Likewise.
8334 (all): Remove target.
8335 * sysvipc/Makefile: Include Makeconfig immediately after defining
8336 subdir.
8337 * termios/Makefile: Likewise.
8338 * time/Makefile: Likewise.
8339 * timezone/Makefile: Likewise.
8340 (all): Remove target.
8341 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8342 subdir.
8343 * wctype/Makefile: Likewise.
8344
5b456e9d
SE
83452014-02-26 Steve Ellcey <sellcey@mips.com>
8346
8347 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8348 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8349 (libc_feholdexcept_setround_mips): Ditto.
8350 (libc_feholdsetround): New.
8351 (libc_feholdsetroundf): New.
8352 (libc_feholdsetroundl): New.
8353 (libc_feupdateenv_test_mips): New.
8354 (libc_feupdateenv_test): New.
8355 (libc_feupdateenv_testf): New.
8356 (libc_feupdateenv_testl): New.
8357 (libc_feresetround): New.
8358 (libc_feresetroundf): New.
8359 (libc_feresetroundl): New.
8360 (libc_fetestexcept_mips): New.
8361 (libc_fetestexcept): New.
8362 (libc_fetestexceptf): New.
8363 (libc_fetestexceptl): New.
8364 (HAVE_RM_CTX): New.
8365 (libc_feholdexcept_setround_mips_ctx): New.
8366 (libc_feholdexcept_setround_ctx): New.
8367 (libc_feholdexcept_setroundf_ctx): New.
8368 (libc_feholdexcept_setroundl_ctx): New.
8369 (libc_fesetenv_mips_ctx): New.
8370 (libc_fesetenv_ctx): New.
8371 (libc_fesetenv_ctxf): New.
8372 (libc_fesetenv_ctxl): New.
8373 (libc_feupdateenv_mips_ctx): New.
8374 (libc_feupdateenv_ctx): New.
8375 (libc_feupdateenvf_ctx): New.
8376 (libc_feupdateenvl_ctx): New.
8377 (libc_feholdsetround_mips_ctx): New.
8378 (libc_feholdsetround_ctx): New.
8379 (libc_feholdsetroundf_ctx): New.
8380 (libc_feholdsetroundl_ctx): New.
8381 (libc_feresetround_mips_ctx): New.
8382 (libc_feresetround_ctx): New.
8383 (libc_feresetroundf_ctx): New.
8384 (libc_feresetroundl_ctx): New.
8385
085d0e35
CD
83862014-02-26 Carlos O'Donell <carlos@redhat.com>
8387
f067bf1f
CD
8388 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8389
085d0e35
CD
8390 * manual/ipc.texi: New file.
8391 * manual/Makefile (chapters): Add ipc.
8392 * manual/job.texi: Add "Inter-Process Communication" to next.
8393 * manual/process.texi: Add "Inter-Process Communication" to prev.
8394
86e58c08
AZ
83952014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8396
8397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8398
4248f0da
OB
83992014-02-26 Ondřej Bílka <neleai@seznam.cz>
8400
8401 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8402
cf822e3c
OB
8403 * manual/arith.texi: Fix spaces after sentences.
8404 * manual/charset.texi: Likewise.
8405 * manual/errno.texi: Likewise.
8406 * manual/install.texi: Likewise.
8407 * manual/llio.texi: Likewise.
8408 * manual/locale.texi: Likewise.
8409 * manual/maint.texi: Likewise.
8410 * manual/math.texi: Likewise.
8411 * manual/memory.texi: Likewise.
8412 * manual/message.texi: Likewise.
8413 * manual/probes.texi: Likewise.
8414 * manual/resource.texi: Likewise.
8415 * manual/signal.texi: Likewise.
8416 * manual/socket.texi: Likewise.
8417 * manual/stdio.texi: Likewise.
8418 * manual/string.texi: Likewise.
8419 * manual/time.texi: Likewise.
8420 * manual/users.texi: Likewise.
8421
ade40b10
CD
84222014-02-25 Carlos O'Donell <carlos@redhat.com>
8423
8424 [BZ #16632]
8425 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8426 _DEFAULT_SOURCE is defined.
8427
d0503676
CD
84282014-02-25 Ulrich Drepper <drepper@gmail.com>
8429 Carlos O'Donell <carlos@redhat.com>
8430
8431 [BZ #16613]
8432 * elf/dl-tls.c (_dl_count_modids): New function.
8433 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8434 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8435 audit library and increment generation counter.
8436 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8437 * elf/tst-audit9.c: New file.
8438 * elf/tst-auditmod9a.c: New file.
8439 * elf/tst-auditmod9b.c: New file.
8440 * elf/Makefile: Add rules to build and run tst-audit9.
8441
4cbf380c
FW
84422014-02-25 Florian Weimer <fweimer@redhat.com>
8443
8444 [BZ #15347]
8445 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8446
80a56cc3
WN
84472014-02-25 Will Newton <will.newton@linaro.org>
8448
8449 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8450 (__longjmp): Restore sp and lr before restoring callee
8451 saved registers. Add longjmp and longjmp_target
8452 SystemTap probe point.
8453 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8454 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8455 Define to zero to match jmpbuf layout.
8456 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8457 (__sigsetjmp): Save sp and lr before saving callee
8458 saved registers. Add setjmp SystemTap probe point.
8459
3ea0f74e
SL
84602014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8461
8462 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8463
b04acb26
AS
84642014-02-24 Andreas Schwab <schwab@suse.de>
8465
8466 [BZ #15804]
8467 * elf/pldd.c (wait_for_ptrace_stop): New function.
8468 (main): Call it after attaching.
8469
098ad55c
RM
84702014-02-22 Roland McGrath <roland@hack.frob.com>
8471
d4ec6ae1
RM
8472 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8473 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8474 Versions files is now verboten.
8475 * hurd/Versions (libc: GLIBC_2.0):
8476 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8477 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8478 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8479 * mach/Versions: Likewise.
8480
098ad55c
RM
8481 * csu/Versions: Remove unused %include.
8482 * resolv/Versions: Likewise.
8483
acd7f096
JM
84842014-02-21 Joseph Myers <joseph@codesourcery.com>
8485
f0881698
JM
8486 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8487 ($(objpfx)check-local-headers.out): Likewise.
8488 ($(objpfx)begin-end-check.out): Likewise.
8489 * Makerules (check-abi-%.out): Likewise.
8490 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8491 ($(objpfx)test2.cat): Likewise.
8492 ($(objpfx)de/libc.cat): Likewise.
8493 ($(objpfx)test-gencat.out): Likewise.
8494 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8495 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8496 ($(objpfx)noload-mem): Likewise.
8497 ($(objpfx)tst-pathopt.out): Likewise.
8498 ($(objpfx)tst-rtld-load-self.out): Likewise.
8499 ($(objpfx)tst-array1-cmp.out): Likewise.
8500 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8501 ($(objpfx)tst-array2-cmp.out): Likewise.
8502 ($(objpfx)tst-array3-cmp.out): Likewise.
8503 ($(objpfx)tst-array4-cmp.out): Likewise.
8504 ($(objpfx)tst-array5-cmp.out): Likewise.
8505 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8506 ($(objpfx)check-textrel.out): Likewise.
8507 ($(objpfx)check-execstack.out): Likewise.
8508 ($(objpfx)check-localplt.out): Likewise.
8509 ($(objpfx)order2-cmp.out): Likewise.
8510 ($(objpfx)tst-leaks1-mem): Likewise.
8511 ($(objpfx)tst-leaks1-static-mem): Likewise.
8512 ($(objpfx)tst-initorder-cmp.out): Likewise.
8513 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8514 ($(objpfx)tst-unused-dep.out): Likewise.
8515 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8516 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8517 * iconv/Makefile (test-iconvconfig): Likewise.
8518 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8519 ($(objpfx)iconv-test.out): Likewise.
8520 ($(objpfx)tst-tables.out): Likewise.
8521 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8522 ($(objpfx)tst-gettext.out): Likewise.
8523 ($(objpfx)tst-translit.out): Likewise.
8524 ($(objpfx)tst-gettext2.out): Likewise.
8525 ($(objpfx)tst-gettext4.out): Likewise.
8526 ($(objpfx)tst-gettext6.out): Likewise.
8527 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8528 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8529 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8530 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8531 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8532 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8533 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8534 ($(objpfx)wordexp-tst.out): Likewise.
8535 ($(objpfx)annexc.out): Likewise.
8536 ($(objpfx)tst-fnmatch-mem): Likewise.
8537 ($(objpfx)bug-regex2-mem): Likewise.
8538 ($(objpfx)bug-regex14-mem): Likewise.
8539 ($(objpfx)bug-regex21-mem): Likewise.
8540 ($(objpfx)bug-regex31-mem): Likewise.
8541 ($(objpfx)tst-vfork3-mem): Likewise.
8542 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8543 ($(objpfx)tst-pcre-mem): Likewise.
8544 ($(objpfx)tst-boost-mem): Likewise.
8545 ($(objpfx)tst-getconf.out): Likewise.
8546 ($(objpfx)bug-ga2-mem): Likewise.
8547 ($(objpfx)bug-glob2-mem): Likewise.
8548 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8549 ($(objpfx)mtrace-tst-leaks2): Likewise.
8550 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8551 ($(objpfx)tst-printf.out): Likewise.
8552 ($(objpfx)tst-setvbuf1.out): Likewise.
8553 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8554 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8555 ($(objpfx)tst-fmtmsg.out): Likewise.
8556 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8557 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8558
acd7f096
JM
8559 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8560 * bits/sigaction.h [__USE_MISC]: Likewise.
8561 * bits/waitstatus.h: Update #endif comments.
8562 * ctype/ctype.h: Likewise.
8563 * dirent/dirent.h: Likewise.
8564 [__USE_MISC]: Remove redundant conditionals.
8565 * grp/grp.h: Update #endif comments.
8566 [__USE_GNU]: Remove redundant conditionals.
8567 [__USE_MISC]: Likewise.
8568 * inet/netinet/in.h [__USE_GNU]: Likewise.
8569 * io/sys/stat.h [__USE_MISC]: Likewise.
8570 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8571 * libio/bits/stdio.h: Update #endif comments.
8572 [__USE_MISC]: Remove redundant conditionals.
8573 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8574 * libio/stdio.h: Update #endif comments.
8575 [__USE_MISC]: Remove redundant conditionals.
8576 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8577 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8578 * math/math.h: Update #else and #endif comments.
8579 [__USE_MISC]: Remove redundant conditionals.
8580 * misc/sys/uio.h: Update #endif comments.
8581 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8582 * posix/glob.h [__USE_MISC]: Likewise.
8583 * posix/sys/types.h: Update #endif comments.
8584 [__USE_MISC]: Remove redundant conditionals.
8585 * posix/sys/wait.h: Update #endif comments.
8586 [__USE_MISC]: Remove redundant conditionals.
8587 * posix/unistd.h: Update #endif comments.
8588 [__USE_MISC]: Remove redundant conditionals.
8589 * pwd/pwd.h [__USE_GNU]: Likewise.
8590 [__USE_MISC]: Likewise.
8591 * resolv/netdb.h [__USE_GNU]: Likewise.
8592 * signal/signal.h: Update #endif comments.
8593 [__USE_MISC]: Remove redundant conditionals.
8594 * stdlib/stdlib.h: Update #else and #endif comments.
8595 [__USE_MISC]: Remove redundant conditionals.
8596 [__USE_GNU]: Likewise.
8597 * string/bits/string2.h [__USE_MISC]: Likewise.
8598 * string/string.h: Update #endif comments.
8599 [__USE_MISC]: Remove redundant conditionals.
8600 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8601 Likewise.
8602 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8603 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8604 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8605 Likewise.
8606 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8607 Likewise.
8608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8609 comments.
8610 [__USE_MISC]: Remove redundant conditionals.
8611 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8612 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8613 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8614 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8615 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8616 Likewise.
8617 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8618 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8619 Likewise.
8620 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8621 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8622 Likewise.
8623 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8624 Likewise.
8625 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8626 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8627 Likewise.
8628 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8629 Likewise.
8630 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8631 * sysdeps/x86/bits/string.h: Update #endif comments.
8632 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8633 conditionals.
8634 * time/sys/time.h: Update #endif comments.
8635 * time/time.h: Likewise.
8636 [__USE_MISC]: Remove redundant conditionals.
8637
a5d82e4e
YG
86382014-02-21 Yury Gribov <y.gribov@samsung.com>
8639
8640 [BZ #16600]
8641 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8642
9a80491d
AS
86432014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8644
8645 * Versions.def (librt): Add GLIBC_2.17.
8646
105fa381
AC
86472014-02-21 Adam Conrad <adconrad@0c3.net>
8648
8649 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8650 synonym for _SYS_AUXV_H to allow direct inclusion.
8651 * sysdeps/sparc/bits/hwcap.h: Likewise.
8652 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8653 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8654 * sysdeps/sparc/sysdep.h: Likewise.
8655
b8cd1c4e
SP
86562014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8657
8658 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8659
bd939d23
RS
86602014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8661
8662 * benchtests/bench-strrchr.c: Print length instead of position.
8663
5d7b57ca
JM
86642014-02-20 Joseph Myers <joseph@codesourcery.com>
8665
bc688c10
JM
8666 [BZ #16611]
8667 * sysdeps/unix/sysv/linux/kernel-features.h
8668 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8669 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8670 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8671 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8672 Likewise.
8673 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8674 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8675 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8676 (__ASSUME_SENDMMSG): Define instead of using previous
8677 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8678 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8679 (__ASSUME_SENDMMSG_SYSCALL): Define.
8680 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8681 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8682 Likewise.
8683 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8684 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8685 Likewise.
8686 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8687 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8688 Likewise.
8689 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8690 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8691 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8692 [__ASSUME_SENDMMSG]: Change conditionals to
8693 [__ASSUME_SENDMMSG_SOCKETCALL].
8694 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8695 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8696 Define.
8697 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8698 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8699 Likewise.
8700 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8701 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8702 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8703 [!__ASSUME_SENDMMSG]: Change conditional to
8704 [!__ASSUME_SENDMMSG_SOCKETCALL].
8705 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8706 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8707 Define.
8708
0e31b18c
JM
8709 [BZ #16610]
8710 * sysdeps/unix/sysv/linux/kernel-features.h
8711 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8712 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8713 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8714 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8715 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8716 [__i386__ || __sparc__]
8717 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8718 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8719 (__ASSUME_RECVMMSG): Define instead of using previous
8720 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8721 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8722 (__ASSUME_RECVMMSG_SYSCALL): Define.
8723 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8724 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8725 Likewise.
8726 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8728 Likewise.
8729 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8731 Likewise.
8732 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8733 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8734 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8735 [__ASSUME_RECVMMSG]: Change condition to
8736 [__ASSUME_RECVMMSG_SOCKETCALL].
8737 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8738 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8739 Define.
8740 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8741 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8743 Likewise.
8744 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8745 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8746 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8747 [!__ASSUME_RECVMMSG]: Change condition to
8748 [!__ASSUME_RECVMMSG_SOCKETCALL].
8749 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8750 (__ASSUME_RECVMMSG_SYSCALL): Define.
8751
dd481ccf
JM
8752 [BZ #16609]
8753 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8754 __powerpc__ || __s390__ || __sh__ || __sparc__]
8755 (__ASSUME_SOCKETCALL): Define.
8756 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8757 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8758 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8759 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8760 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8761 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8762 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8763 (__ASSUME_ACCEPT4): Define instead of using previous
8764 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8765 __powerpc__ || __sparc__ || __s390__)] condition.
8766 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8767 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8768 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8769 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8770 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8771 [!__ASSUME_ACCEPT4]: Change condition to
8772 [!__ASSUME_ACCEPT4_SOCKETCALL].
8773 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8774 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8775 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8777 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8778 __ASSUME_ACCEPT4_SYSCALL.
8779 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8780 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8781 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8782 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8783 __ASSUME_ACCEPT4_SYSCALL.
8784 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8785 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8786 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8787 [__ASSUME_ACCEPT4]: Change condition to
8788 [__ASSUME_ACCEPT4_SOCKETCALL].
8789 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8790 (__ASSUME_SOCKETCALL): Define.
8791 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8793 (__ASSUME_SOCKETCALL): Define.
8794 (__ASSUME_ACCEPT4): Remove.
8795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8796 Define.
8797 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8798 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8799 Likewise.
8800 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8801 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8802
5d7b57ca
JM
8803 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8804 macro.
8805 (HWCAP_ARM_LPAE): Likewise.
8806 (HWCAP_ARM_EVTSTRM): Likewise.
8807 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8808 Add vpfd32, lpae and evtstrm.
8809 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8810 Increase to 22.
8811
63689d61
JM
88122014-02-19 Joseph Myers <joseph@codesourcery.com>
8813
8814 * math/auto-libm-test-in: Add tests of clog10.
8815 * math/auto-libm-test-out: Regenerated.
8816 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8817 * sysdeps/i386/fpu/libm-test-ulps: Update.
8818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8819
ab09bf61
AS
88202014-02-18 Andreas Schwab <schwab@suse.de>
8821
8822 [BZ #16574]
8823 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8824 Store non-zero if the second buffer was newly allocated.
8825 (send_dg): Likewise.
8826 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8827 to send_vc and send_dg.
8828 (res_nsend): Pass NULL for ansp2_malloced.
8829 * resolv/res_query.c (__libc_res_nquery): Add parameter
8830 answerp2_malloced and pass it down to __libc_res_nsend.
8831 (res_nquery): Pass additional NULL to __libc_res_nquery.
8832 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8833 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8834 second answer buffer if answerp2_malloced was set.
8835 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8836 (__libc_res_nquerydomain): Add parameter
8837 answerp2_malloced and pass it down to __libc_res_nquery.
8838 (res_nquerydomain): Pass additional NULL to
8839 __libc_res_nquerydomain.
8840 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8841 additional NULL to __libc_res_nsend and __libc_res_nquery.
8842 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8843 additional NULL to __libc_res_nsearch.
8844 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8845 parameter of __libc_res_nsearch to check for separately allocated
8846 second buffer.
8847 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8848 __libc_res_nquery.
8849 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8850 additional NULL to __libc_res_nquery.
8851 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8852 __libc_res_nsearch.
8853 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8854 * include/resolv.h: Update prototypes of __libc_res_nquery,
8855 __libc_res_nsearch, __libc_res_nsend.
8856
a4fb7861
JM
88572014-02-18 Joseph Myers <joseph@codesourcery.com>
8858
c6af2d89
JM
8859 * math/auto-libm-test-in: Add tests of fma.
8860 * math/auto-libm-test-out: Regenerated.
8861 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8862 (fma_towardzero_test_data): Likewise.
8863 (fma_downward_test_data): Likewise.
8864 (fma_upward_test_data): Likewise.
8865 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8866 mpc_mode.
8867 (rounding_modes): Add values for new field.
8868 (func_calc_method): Add value mpfr_fff_f.
8869 (func_calc_desc): Add mpfr_fff_f union field.
8870 (test_function): Add field exact_args.
8871 (FUNC): Add macro argument EXACT_ARGS.
8872 (FUNC_mpfr_f_f): Update call to FUNC.
8873 (FUNC_mpfr_f_f): Likewise.
8874 (FUNC_mpfr_ff_f): Likewise.
8875 (FUNC_mpfr_if_f): Likewise.
8876 (FUNC_mpc_c_f): Likewise.
8877 (FUNC_mpc_c_c): Likewise.
8878 (test_functions): Add fma. Update calls to FUNC.
8879 (handle_input_arg): Add argument exact_args.
8880 (add_test): Update call to handle_input_arg.
8881 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8882 (output_for_one_input_case): Update call to calc_generic_results.
8883 Recalculate exact zero results in each rounding mode.
8884
a4fb7861
JM
8885 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8886 non-negative before setting low bit.
8887 * math/auto-libm-test-in: Mark one asin test possibly having
8888 spurious underflow.
8889 * math/auto-libm-test-out: Regenerated.
8890 * sysdeps/i386/fpu/libm-test-ulps: Update.
8891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8892
ef114eaf
DH
88932014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8894
2b7f4f2c
SP
8895 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8896 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8897 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8898 * README: Add missing listing for microblaze*-*-linux-gnu.
8899
c70a4b1d
MF
89002014-02-16 Mike Frysinger <vapier@gentoo.org>
8901
8902 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8903 * sysdeps/unix/sysv/linux/ia64: Move directory from
8904 ports/sysdeps/unix/sysv/linux/ia64.
8905 * README: Update listing for ia64-*-linux-gnu.
8906
591aeaf7
TD
89072014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8908 Joseph Myers <joseph@codesourcery.com>
8909
8910 * Makeconfig (test-name): New variable.
8911 (evaluate-test): Likewise.
8912 * Makerules (do-test-clean): Remove .test-result files.
8913 (common-mostlyclean): Likewise.
8914 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8915 * scripts/evaluate-test.sh: New file.
8916
6e89caf1
JM
89172014-02-14 Joseph Myers <joseph@codesourcery.com>
8918
7f98f180
JM
8919 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8920 separate $(objpfx)tst-fopenloc-cmp.out and
8921 $(objpfx)tst-fopenloc-mem.out targets.
8922 (tests): Update dependencies.
8923 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8924 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8925 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8926 (tst-rxspencer-no-utf8-ARGS): New variable.
8927 (tst-rxspencer-no-utf8-ENV): Likewise.
8928 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8929 instead of $(objpfx)tst-rxspencer-mem.
8930 ($(objpfx)tst-rxspencer-mem): Change target to
8931 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8932 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8933 * posix/tst-rxspencer-no-utf8.c: New file.
8934
6e89caf1
JM
8935 * elf/Makefile ($(objpfx)order.out): Remove rule.
8936 [$(run-built-tests) = yes] (tests): Depend on
8937 $(objpfx)order-cmp.out.
8938 ($(objpfx)order-cmp.out): New rule.
8939 [$(run-built-tests) = yes] (tests): Depend on
8940 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8941 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8942 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8943 $(objpfx)tst-array5-static-cmp.out.
8944 ($(objpfx)tst-array1.out): Remove rule.
8945 ($(objpfx)tst-array1-cmp.out): New rule.
8946 ($(objpfx)tst-array1-static.out): Remove rule.
8947 ($(objpfx)tst-array1-static-cmp.out): New rule.
8948 ($(objpfx)tst-array2.out): Remove rule.
8949 ($(objpfx)tst-array2-cmp.out): New rule.
8950 ($(objpfx)tst-array3.out): Remove rule.
8951 ($(objpfx)tst-array3-cmp.out): New rule.
8952 ($(objpfx)tst-array4.out): Remove rule.
8953 ($(objpfx)tst-array4-cmp.out): New rule.
8954 ($(objpfx)tst-array5.out): Remove rule.
8955 ($(objpfx)tst-array5-cmp.out): New rule.
8956 ($(objpfx)tst-array5-static.out): Remove rule.
8957 ($(objpfx)tst-array5-static-cmp.out): New rule.
8958 [$(run-built-tests) = yes] (tests): Depend on
8959 $(objpfx)order2-cmp.out.
8960 ($(objpfx)order2.out): Remove rule.
8961 ($(objpfx)order2-cmp.out): New rule.
8962 ($(objpfx)tst-initorder.out): Remove rule.
8963 [$(run-built-tests) = yes] (tests): Depend on
8964 $(objpfx)tst-initorder-cmp.out.
8965 ($(objpfx)tst-initorder-cmp.out): New rule.
8966 ($(objpfx)tst-initorder2.out): Remove rule.
8967 [$(run-built-tests) = yes] (tests): Depend on
8968 $(objpfx)tst-initorder2-cmp.out.
8969 ($(objpfx)tst-initorder2-cmp.out): New rule.
8970 [$(run-built-tests) = yes] (tests): Depend on
8971 $(objpfx)tst-unused-dep-cmp.out.
8972 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8973 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8974 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8975 on $(objpfx)tst-setvbuf1-cmp.out.
8976 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8977 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8978 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8979 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8980 ($(objpfx)tst-svc.out): Remove rule.
8981 ($(objpfx)tst-svc-cmp.out): New rule.
8982
ed9a38e2
JM
89832014-02-13 Joseph Myers <joseph@codesourcery.com>
8984
8985 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8986 * ctype/ctype.h [__USE_MISC]: Likewise.
8987 * dirent/dirent.h [__USE_MISC]: Likewise.
8988 * grp/grp.h [__USE_MISC]: Likewise.
8989 * io/fcntl.h [__USE_MISC]: Likewise.
8990 * io/sys/stat.h [__USE_MISC]: Likewise.
8991 * libio/stdio.h [__USE_MISC]: Likewise.
8992 * posix/unistd.h [__USE_MISC]: Likewise.
8993 * pwd/pwd.h [__USE_MISC]: Likewise.
8994 * stdlib.h [__USE_MISC]: Likewise.
8995 * string/bits/string2.h [__USE_MISC]: Likewise.
8996 * string/string.h [__USE_MISC]: Likewise.
8997 * time/time.h [__USE_MISC]: Likewise.
8998
d6680619
AS
89992014-02-13 Andreas Schwab <schwab@suse.de>
9000
9001 [BZ #16574]
9002 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9003 second answer buffer if it was separately allocated.
9004
ace614b8
JM
90052014-02-12 Joseph Myers <joseph@codesourcery.com>
9006
743151ae
JM
9007 * sysdeps/mips/math-tests.h: Include <features.h>.
9008 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9009 (ROUNDING_TESTS_long_double): Do not define.
9010 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9011 (EXCEPTION_TESTS_long_double): Likewise.
9012 * sysdeps/mips/mips64/libm-test-ulps: Update.
9013
498afc54
JM
9014 * include/features.h (__USE_BSD): Remove macro definitions.
9015 (__USE_SVID): Likewise.
9016 (_BSD_SOURCE): Likewise.
9017 (_SVID_SOURCE): Likewise.
9018 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9019 from definition of _DEFAULT_SOURCE.
9020 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9021 [_DEFAULT_SOURCE].
9022 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9023 * bits/mman.h [__USE_BSD]: Likewise.
9024 * bits/termios.h [__USE_BSD]: Likewise.
9025 * bits/waitstatus.h [__USE_BSD]: Likewise.
9026 * ctype/ctype.h [__USE_SVID]: Likewise.
9027 * dirent/dirent.h [__USE_BSD]: Likewise.
9028 * grp/grp.h [__USE_SVID]: Likewise.
9029 [__USE_BSD]: Likewise.
9030 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9031 * io/fcntl.h [__USE_BSD]: Likewise.
9032 * io/ftw.h [__USE_BSD]: Likewise.
9033 * io/sys/stat.h [__USE_BSD]: Likewise.
9034 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9035 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9036 * libio/stdio.h [__USE_SVID]: Likewise.
9037 [__USE_BSD]: Likewise.
9038 * math/math.h [__USE_SVID]: Likewise.
9039 [__USE_BSD]: Likewise.
9040 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9041 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9042 * misc/search.h [__USE_SVID]: Likewise.
9043 * misc/sys/mman.h [__USE_BSD]: Likewise.
9044 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9045 * misc/sys/uio.h [__USE_BSD]: Likewise.
9046 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9047 * posix/glob.h [__USE_BSD]: Likewise.
9048 * posix/regex.h [__USE_BSD]: Likewise.
9049 * posix/sys/types.h [__USE_BSD]: Likewise.
9050 [__USE_SVID]: Likewise.
9051 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9052 * posix/sys/wait.h [__USE_BSD]: Likewise.
9053 [__USE_SVID]: Likewise.
9054 * posix/unistd.h [__USE_BSD]: Likewise.
9055 [__USE_SVID]: Likewise.
9056 * pwd/pwd.h [__USE_SVID]: Likewise.
9057 * resolv/netdb.h [__USE_BSD]: Likewise.
9058 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9059 * signal/signal.h [__USE_BSD]: Likewise.
9060 [__USE_SVID]: Likewise.
9061 * socket/sys/socket.h [__USE_BSD]: Likewise.
9062 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9063 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9064 [__USE_SVID]: Likewise.
9065 * string/bits/string2.h [__USE_BSD]: Likewise.
9066 [__USE_SVID]: Likewise.
9067 * string/bits/string3.h [__USE_BSD]: Likewise.
9068 * string/endian.h [__USE_BSD]: Likewise.
9069 * string/string.h [__USE_SVID]: Likewise.
9070 [__USE_BSD]: Likewise.
9071 * string/strings.h [__USE_BSD]: Likewise.
9072 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9073 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9075 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9076 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9077 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9078 Likewise.
9079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9080 Likewise.
9081 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9082 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9083 Likewise.
9084 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9085 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9086 Likewise.
9087 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9088 Likewise.
9089 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9090 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9092 Likewise.
9093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9094 Likewise.
9095 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9096 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9097 * termios/termios.h [__USE_BSD]: Likewise.
9098 * time/sys/time.h [__USE_BSD]: Likewise.
9099 * time/time.h [__USE_BSD]: Likewise.
9100 [__USE_SVID]: Likewise.
9101
dd7b064c
JM
9102 * Makefile (subdir_targets): Remove subdir_lint.out.
9103
a2c4c199
JM
9104 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9105 (do-tst-printf): Likewise.
9106 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9107 $(objpfx)tst-printf.out.
9108
8756f740
JM
9109 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9110
1b6dd3f1
JM
9111 * Makerules (check-abi-%): Change target to
9112 $(objpfx)check-abi-%.out.
9113 (check-abi target): Update dependencies.
9114 (check-abi-pattern variable): Redirect output of diff to $@.
9115 (check-abi variable): Likewise.
9116 * elf/Makefile (check-abi): Update dependencies.
9117
ace614b8
JM
9118 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9119 unused.
9120 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9121 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9122 subnormal range.
9123 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9124 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9125 value has largest subnormal exponent.
9126 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9127 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9128 * sysdeps/aarch64/soft-fp/sfp-machine.h
9129 (_FP_TININESS_AFTER_ROUNDING): New macro.
9130 * sysdeps/alpha/soft-fp/sfp-machine.h
9131 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9132 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9133 Likewise.
9134 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9135 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9136 * sysdeps/mips/soft-fp/sfp-machine.h
9137 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9138 * sysdeps/powerpc/soft-fp/sfp-machine.h
9139 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9140 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9141 Likewise.
9142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9143 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9144 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9145 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9146 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9147 Likewise.
9148
fbfdf9cb
DAS
91492014-02-12 Dylan Alex Simon <dylan@dylex.net>
9150
9151 [BZ #16545]
9152 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9153 model 1.
9154
68b7efaa
RH
91552014-02-12 Richard Henderson <rth@redhat.com>
9156
c70a4b1d 9157 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9158 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9159 * sysdeps/unix/sysv/linux/alpha: Move directory from
9160 ports/sysdeps/unix/sysv/linux/alpha.
9161 * README: Update listing for alpha-*-linux-gnu.
9162
cb4a2928
JM
91632014-02-11 Joseph Myers <joseph@codesourcery.com>
9164
c941736c
JM
9165 * include/features.h: Update comment documenting feature test
9166 macros.
9167 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9168 _DEFAULT_SOURCE.
9169 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9170 (_SVID_SOURCE): Likewise.
9171 (_DEFAULT_SOURCE): Update description of default features.
9172 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9173 with _GNU_SOURCE.
9174 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9175 (S_ISVTX): Likewise.
9176 * manual/math.texi (Mathematical Constants): Likewise.
9177 * manual/signal.texi (Interrupted Primitives): Likewise.
9178 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9179 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9180 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9181 Don't refer to _SVID_SOURCE in warning text.
9182
e8d8d7ec
JM
9183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9184
cb4a2928
JM
9185 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9186 already defined.
9187 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9188 * sysdeps/mips/dl-lookup.c: Remove.
9189 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9190
7e6424e3
AK
91912014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9192
9193 [BZ #16447]
9194 * math/auto-libm-test-in: Add testcase for expl.
9195 * math/auto-libm-test-out: Regenerate.
9196 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9197 calculation of unsafe.
9198 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9199
75eff3fe
MS
92002014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9201
9202 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9203 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9204 ports/sysdeps/unix/sysv/linux/aarch64.
9205 * README: Update listing for aarch64*-*-linux-gnu.
9206
d35f1e80
WN
92072014-02-11 Will Newton <will.newton@linaro.org>
9208
9209 * manual/probes.texi (Mathematical Function Probes): Use
9210 "triggered" instead of "hit".
9211
7b3436d4
WN
9212 * manual/probes.texi (Internal Probes): Add documentation
9213 of setjmp, longjmp and longjmp_target probes.
9214
b4f12ca3
WN
9215 * include/stap-probe.h: Add comment about probe argument
9216 format.
9217
c13a72b7
WN
9218 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9219 definition. (tr_where, tr_freehook, tr_mallochook,
9220 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9221
195b8165
DM
92222014-02-11 David S. Miller <davem@davemloft.net>
9223
9224 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9225 processing int_tests.
9226
2ad7600b
JM
92272014-02-10 Joseph Myers <joseph@codesourcery.com>
9228
9229 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9230 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9231 * sysdeps/unix/sysv/linux/mips: Move directory from
9232 ports/sysdeps/unix/sysv/linux/mips.
9233 * README: Update listing for mips-*-linux-gnu and
9234 mips64-*-linux-gnu.
9235
73588a72
AS
92362014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9237
9238 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9239 * sysdeps/unix/sysv/linux/m68k: Move directory from
9240 ports/sysdeps/unix/sysv/linux/m68k.
9241 * README: Update listing for m68k-*-linux-gnu.
9242
4372980f
CM
92432014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9244
9245 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9246 * sysdeps/unix/sysv/linux/generic: Move directory from
9247 ports/sysdeps/unix/sysv/linux/generic.
9248 * sysdeps/unix/sysv/linux/tile: Move directory from
9249 ports/sysdeps/unix/sysv/linux/tile.
9250 * README: Update listing for tile*-*-linux-gnu.
9251
a1ffb40e
OB
92522014-02-10 Ondřej Bílka <neleai@seznam.cz>
9253
57f41c40
AS
9254 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9255 __builtin_expect.
a1ffb40e
OB
9256 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9257 * catgets/open_catalog.c (__open_catalog): Likewise.
9258 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9259 * debug/confstr_chk.c: Likewise.
9260 * debug/fread_chk.c (__fread_chk): Likewise.
9261 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9262 * debug/getgroups_chk.c: Likewise.
9263 * debug/mbsnrtowcs_chk.c: Likewise.
9264 * debug/mbsrtowcs_chk.c: Likewise.
9265 * debug/mbstowcs_chk.c: Likewise.
9266 * debug/memcpy_chk.c: Likewise.
9267 * debug/memmove_chk.c: Likewise.
9268 * debug/mempcpy_chk.c: Likewise.
9269 * debug/memset_chk.c: Likewise.
9270 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9271 * debug/strcat_chk.c (__strcat_chk): Likewise.
9272 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9273 * debug/strncat_chk.c (__strncat_chk): Likewise.
9274 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9275 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9276 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9277 * debug/wcpncpy_chk.c: Likewise.
9278 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9279 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9280 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9281 * debug/wcsncpy_chk.c: Likewise.
9282 * debug/wcsnrtombs_chk.c: Likewise.
9283 * debug/wcsrtombs_chk.c: Likewise.
9284 * debug/wcstombs_chk.c: Likewise.
9285 * debug/wmemcpy_chk.c: Likewise.
9286 * debug/wmemmove_chk.c: Likewise.
9287 * debug/wmempcpy_chk.c: Likewise.
9288 * debug/wmemset_chk.c: Likewise.
9289 * dirent/scandirat.c (SCANDIRAT): Likewise.
9290 * dlfcn/dladdr1.c (dladdr1): Likewise.
9291 * dlfcn/dladdr.c (dladdr): Likewise.
9292 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9293 * dlfcn/dlerror.c (__dlerror): Likewise.
9294 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9295 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9296 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9297 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9298 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9299 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9300 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9301 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9302 Likewise.
9303 * elf/dl-conflict.c: Likewise.
9304 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9305 * elf/dl-dst.h: Likewise.
9306 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9307 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9308 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9309 * elf/dl-init.c (call_init, _dl_init): Likewise.
9310 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9311 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9312 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9313 Likewise.
a1ffb40e
OB
9314 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9315 Likewise.
9316 * elf/dl-minimal.c (__libc_memalign): Likewise.
9317 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9318 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9319 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9320 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9321 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9322 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9323 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9324 * elf/dl-writev.h (_dl_writev): Likewise.
9325 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9326 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9327 (dl_main): Likewise.
a1ffb40e
OB
9328 * elf/setup-vdso.h (setup_vdso): Likewise.
9329 * grp/compat-initgroups.c (compat_call): Likewise.
9330 * grp/fgetgrent.c (fgetgrent): Likewise.
9331 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9332 * grp/putgrent.c (putgrent): Likewise.
9333 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9334 Likewise.
9335 * hurd/hurdinit.c: Likewise.
9336 * iconvdata/8bit-gap.c (struct): Likewise.
9337 * iconvdata/ansi_x3.110.c : Likewise.
9338 * iconvdata/big5.c : Likewise.
9339 * iconvdata/big5hkscs.c : Likewise.
9340 * iconvdata/cp1255.c: Likewise.
9341 * iconvdata/cp1258.c : Likewise.
9342 * iconvdata/cp932.c : Likewise.
9343 * iconvdata/euc-cn.c: Likewise.
9344 * iconvdata/euc-jisx0213.c : Likewise.
9345 * iconvdata/euc-jp.c: Likewise.
9346 * iconvdata/euc-jp-ms.c : Likewise.
9347 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9348 * iconvdata/gb18030.c : Likewise.
9349 * iconvdata/gbbig5.c (const): Likewise.
9350 * iconvdata/gbgbk.c: Likewise.
9351 * iconvdata/gbk.c : Likewise.
9352 * iconvdata/ibm1364.c : Likewise.
9353 * iconvdata/ibm930.c : Likewise.
9354 * iconvdata/ibm932.c: Likewise.
9355 * iconvdata/ibm933.c : Likewise.
9356 * iconvdata/ibm935.c : Likewise.
9357 * iconvdata/ibm937.c : Likewise.
9358 * iconvdata/ibm939.c : Likewise.
9359 * iconvdata/ibm943.c: Likewise.
9360 * iconvdata/iso_11548-1.c: Likewise.
9361 * iconvdata/iso-2022-cn.c : Likewise.
9362 * iconvdata/iso-2022-cn-ext.c : Likewise.
9363 * iconvdata/iso-2022-jp-3.c: Likewise.
9364 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9365 * iconvdata/iso-2022-kr.c : Likewise.
9366 * iconvdata/iso646.c (gconv_end): Likewise.
9367 * iconvdata/iso_6937-2.c : Likewise.
9368 * iconvdata/iso_6937.c : Likewise.
9369 * iconvdata/iso8859-1.c: Likewise.
9370 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9371 * iconvdata/shift_jisx0213.c : Likewise.
9372 * iconvdata/sjis.c : Likewise.
9373 * iconvdata/t.61.c : Likewise.
9374 * iconvdata/tcvn5712-1.c : Likewise.
9375 * iconvdata/tscii.c: Likewise.
9376 * iconvdata/uhc.c : Likewise.
9377 * iconvdata/unicode.c (gconv_end): Likewise.
9378 * iconvdata/utf-16.c (gconv_end): Likewise.
9379 * iconvdata/utf-32.c (gconv_end): Likewise.
9380 * iconvdata/utf-7.c (base64): Likewise.
9381 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9382 * iconv/gconv_close.c (__gconv_close): Likewise.
9383 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9384 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9385 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9386 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9387 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9388 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9389 * iconv/iconv.c (iconv): Likewise.
9390 * iconv/iconv_close.c: Likewise.
9391 * iconv/loop.c (SINGLE): Likewise.
9392 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9393 * include/atomic.h: Likewise.
9394 * inet/inet6_option.c (option_alloc): Likewise.
9395 * intl/bindtextdom.c (set_binding_values): Likewise.
9396 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9397 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9398 * intl/localealias.c (read_alias_file): Likewise.
9399 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9400 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9401 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9402 * libio/fmemopen.c (fmemopen): Likewise.
9403 * libio/iofgets.c (_IO_fgets): Likewise.
9404 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9405 * libio/iofgetws.c (fgetws): Likewise.
9406 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9407 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9408 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9409 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9410 * locale/findlocale.c (_nl_find_locale): Likewise.
9411 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9412 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9413 Likewise.
9414 * locale/setlocale.c (setlocale): Likewise.
9415 * login/programs/pt_chown.c (main): Likewise.
9416 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9417 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9418 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9419 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9420 * math/e_exp2l.c: Likewise.
9421 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9422 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9423 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9424 * math/s_catan.c (__catan): Likewise.
9425 * math/s_catanf.c (__catanf): Likewise.
9426 * math/s_catanh.c (__catanh): Likewise.
9427 * math/s_catanhf.c (__catanhf): Likewise.
9428 * math/s_catanhl.c (__catanhl): Likewise.
9429 * math/s_catanl.c (__catanl): Likewise.
9430 * math/s_ccosh.c (__ccosh): Likewise.
9431 * math/s_ccoshf.c (__ccoshf): Likewise.
9432 * math/s_ccoshl.c (__ccoshl): Likewise.
9433 * math/s_cexp.c (__cexp): Likewise.
9434 * math/s_cexpf.c (__cexpf): Likewise.
9435 * math/s_cexpl.c (__cexpl): Likewise.
9436 * math/s_clog10.c (__clog10): Likewise.
9437 * math/s_clog10f.c (__clog10f): Likewise.
9438 * math/s_clog10l.c (__clog10l): Likewise.
9439 * math/s_clog.c (__clog): Likewise.
9440 * math/s_clogf.c (__clogf): Likewise.
9441 * math/s_clogl.c (__clogl): Likewise.
9442 * math/s_csin.c (__csin): Likewise.
9443 * math/s_csinf.c (__csinf): Likewise.
9444 * math/s_csinh.c (__csinh): Likewise.
9445 * math/s_csinhf.c (__csinhf): Likewise.
9446 * math/s_csinhl.c (__csinhl): Likewise.
9447 * math/s_csinl.c (__csinl): Likewise.
9448 * math/s_csqrt.c (__csqrt): Likewise.
9449 * math/s_csqrtf.c (__csqrtf): Likewise.
9450 * math/s_csqrtl.c (__csqrtl): Likewise.
9451 * math/s_ctan.c (__ctan): Likewise.
9452 * math/s_ctanf.c (__ctanf): Likewise.
9453 * math/s_ctanh.c (__ctanh): Likewise.
9454 * math/s_ctanhf.c (__ctanhf): Likewise.
9455 * math/s_ctanhl.c (__ctanhl): Likewise.
9456 * math/s_ctanl.c (__ctanl): Likewise.
9457 * math/w_pow.c: Likewise.
9458 * math/w_powf.c: Likewise.
9459 * math/w_powl.c: Likewise.
9460 * math/w_scalb.c (sysv_scalb): Likewise.
9461 * math/w_scalbf.c (sysv_scalbf): Likewise.
9462 * math/w_scalbl.c (sysv_scalbl): Likewise.
9463 * misc/error.c (error_tail): Likewise.
9464 * misc/pselect.c (__pselect): Likewise.
9465 * nis/nis_callback.c (__nis_create_callback): Likewise.
9466 * nis/nis_call.c (__nisfind_server): Likewise.
9467 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9468 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9469 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9470 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9471 * nis/nis_lookup.c (nis_lookup): Likewise.
9472 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9473 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9474 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9475 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9476 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9477 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9478 * nis/nss_compat/compat-initgroups.c (add_group)
9479 (internal_getgrent_r): Likewise.
9480 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9481 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9482 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9483 (internal_getspnam_r): Likewise.
9484 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9485 (_nss_nis_getaliasbyname_r): Likewise.
9486 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9487 (_nss_nis_getntohost_r): Likewise.
9488 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9489 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9490 (_nss_nis_getgrgid_r): Likewise.
9491 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9492 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9493 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9494 (_nss_nis_gethostbyname4_r): Likewise.
9495 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9496 (initgroups_netid): Likewise.
a1ffb40e 9497 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9498 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9499 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9500 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9501 (_nss_nis_getprotobynumber_r): Likewise.
9502 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9503 (_nss_nis_getsecretkey): Likewise.
9504 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9505 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9506 (_nss_nis_getpwuid_r): Likewise.
9507 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9508 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9509 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9510 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9511 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9512 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9513 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9514 Likewise.
57f41c40
AS
9515 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9516 (_nss_nisplus_getntohost_r): Likewise.
9517 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9518 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9519 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9520 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9521 Likewise.
57f41c40
AS
9522 * nis/nss_nisplus/nisplus-initgroups.c
9523 (_nss_nisplus_initgroups_dyn): Likewise.
9524 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9525 (_nss_nisplus_getnetbyaddr_r): Likewise.
9526 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9527 (_nss_nisplus_getprotobynumber_r): Likewise.
9528 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9529 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9530 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9531 Likewise.
57f41c40
AS
9532 * nis/nss_nisplus/nisplus-service.c
9533 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9534 (_nss_nisplus_getservbyport_r): Likewise.
9535 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9536 (_nss_nisplus_getspnam_r): Likewise.
9537 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9538 Likewise.
a1ffb40e
OB
9539 * nscd/aicache.c (addhstaiX): Likewise.
9540 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9541 * nscd/connections.c (register_traced_file, send_ro_fd)
9542 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9543 (main_loop_epoll): Likewise.
a1ffb40e
OB
9544 * nscd/grpcache.c (addgrbyX): Likewise.
9545 * nscd/hstcache.c (addhstbyX): Likewise.
9546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9547 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9548 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9549 (addinnetgrX): Likewise.
9550 * nscd/nscd-client.h (__nscd_acquire_maplock)
9551 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9552 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9553 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9554 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9555 Likewise.
9556 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9558 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9559 (__nscd_get_map_ref): Likewise.
a1ffb40e 9560 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9561 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9562 Likewise.
a1ffb40e
OB
9563 * nscd/pwdcache.c (addpwbyX): Likewise.
9564 * nscd/selinux.c (preserve_capabilities): Likewise.
9565 * nscd/servicescache.c (addservbyX): Likewise.
9566 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9567 * posix/fnmatch.c (fnmatch): Likewise.
9568 * posix/getopt.c (_getopt_internal_r): Likewise.
9569 * posix/glob.c (glob, glob_in_dir): Likewise.
9570 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9572 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9573 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9574 * resolv/res_init.c: Likewise.
9575 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9576 * resolv/res_query.c (__libc_res_nquery): Likewise.
9577 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9578 Likewise.
9579 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9580 * stdio-common/perror.c (perror): Likewise.
9581 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9582 * stdio-common/tmpnam.c (tmpnam): Likewise.
9583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9584 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9585 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9586 Likewise.
a1ffb40e
OB
9587 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9588 * stdlib/putenv.c (putenv): Likewise.
9589 * stdlib/setenv.c (__add_to_environ): Likewise.
9590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9591 * stdlib/strtol_l.c (INTERNAL): Likewise.
9592 * string/memmem.c (memmem): Likewise.
9593 * string/strerror.c (strerror): Likewise.
9594 * string/strnlen.c (__strnlen): Likewise.
9595 * string/test-memmem.c (simple_memmem): Likewise.
9596 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9597 * sunrpc/pm_getport.c (__get_socket): Likewise.
9598 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9599 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9600 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9601 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9602 Likewise.
9603 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9605 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9606 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9607 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9608 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9609 Likewise.
9610 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9611 Likewise.
a1ffb40e
OB
9612 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9613 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9615 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9616 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9618 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9619 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9620 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9621 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9622 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9623 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9624 Likewise.
9625 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9626 Likewise.
9627 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9628 Likewise.
9629 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9631 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9633 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9634 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9635 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9645 Likewise.
a1ffb40e
OB
9646 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9647 Likewise.
9648 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9649 Likewise.
9650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9651 Likewise.
9652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9654 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9655 Likewise.
9656 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9657 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9658 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9659 * sysdeps/posix/sleep.c: Likewise.
9660 * sysdeps/posix/tempname.c: Likewise.
9661 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9662 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9663 Likewise.
57f41c40
AS
9664 * sysdeps/powerpc/powerpc32/dl-machine.h
9665 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9666 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9668 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9669 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9670 Likewise.
9671 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9672 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9673 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9674 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9675 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9676 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9677 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9678 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9679 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9680 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9681 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9682 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9683 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9685 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9686 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9687 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9688 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9689 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9690 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9691 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9692 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9694 Likewise.
9695 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9696 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9697 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9698 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9699 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9700 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9701 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9702 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9703 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9704 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9705 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9706 Likewise.
9707 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9708 (__posix_fallocate64_l64): Likewise.
9709 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9710 (posix_fallocate): Likewise.
57f41c40
AS
9711 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9712 Likewise.
a1ffb40e 9713 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9714 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9715 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9716 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9717 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9718 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9719 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9720 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9721 (__posix_fallocate64_l64): Likewise.
9722 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9723 Likewise.
9724 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9725 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9726 (__get_clockfreq): Likewise.
a1ffb40e
OB
9727 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9728 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9729 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9733 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9734 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9735 Likewise.
9736 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9737 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9738 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9739 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9740 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9741 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9742 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9743 Likewise.
9744 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9745 (posix_fallocate): Likewise.
9746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9747 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9748 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9749 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9750 (elf_machine_rela, elf_machine_rela_relative)
9751 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9752 * time/asctime.c (asctime_internal): Likewise.
9753 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9754 * time/tzset.c (__tzset_parse_tz): Likewise.
9755 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9756 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9757 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9758 * wcsmbs/wcsmbsload.h: Likewise.
9759
f3d338c9
OB
9760 [BZ #15894]
9761 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9762
57f41c40
AS
9763 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9764 (arena_get2): Remove THREAD_STATS conditionals.
9765 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9766 (__malloc_stats, int): Likewise.
bdfe308a 9767
d674667c
MF
97682014-02-08 Mike Frysinger <vapier@gentoo.org>
9769
9770 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9771 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9772
6349768c
MF
9773 * manual/setjmp.texi: Fix typos/grammar errors.
9774
0b7c7473
MF
9775 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9776 Only return early when n is <= 0. Delete unused return statement.
9777
ac8cc9e3
MF
9778 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9779 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9780 * debug/tst-longjmp_chk3.c: New file.
9781
c5bb8e23
MF
9782 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9783 (test_main): Replace code with set_fortify_handler call.
9784 * debug/test-strcpy_chk.c: Likewise.
9785 * debug/tst-chk1.c: Likewise.
9786 * debug/tst-longjmp_chk.c: Likewise.
9787 * test-skeleton.c: Include fcntl.h & paths.h
9788 (set_fortify_handler): Define.
9789
10444e42
MF
9790 * debug/tst-longjmp_chk.c: Add header comment and include
9791 ../test-skeleton.c.
9792 (do_test): Mark static.
9793 (TEST_FUNCTION): Define.
9794
1e805e8d
MF
9795 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9796 (IP_PMTUDISC_INTERFACE): Likewise.
9797 (IP_MULTICAST_IF): Likewise.
9798 (IP_MULTICAST_TTL): Likewise.
9799 (IP_MULTICAST_LOOP): Likewise.
9800 (IP_ADD_MEMBERSHIP): Likewise.
9801 (IP_DROP_MEMBERSHIP): Likewise.
9802 (IP_UNBLOCK_SOURCE): Likewise.
9803 (IP_BLOCK_SOURCE): Likewise.
9804 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9805 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9806 (IP_MSFILTER): Likewise.
9807 (MCAST_JOIN_GROUP): Likewise.
9808 (MCAST_BLOCK_SOURCE): Likewise.
9809 (MCAST_UNBLOCK_SOURCE): Likewise.
9810 (MCAST_LEAVE_GROUP): Likewise.
9811 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9812 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9813 (MCAST_MSFILTER): Likewise.
9814 (IP_MULTICAST_ALL): Likewise.
9815 (IP_UNICAST_IF): Likewise.
9816
73f79bb7
MF
9817 * timezone/Makefile: Delete $(have-ksh) check.
9818 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9819 * timezone/tzselect.ksh: Add +x mode bits.
9820
8da79b60
MF
9821 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9822 (ANON_INODE_FS_MAGIC): Likewise.
9823 (BDEVFS_MAGIC): Likewise.
9824 (BINFMTFS_MAGIC): Likewise.
9825 (BTRFS_TEST_MAGIC): Likewise.
9826 (CRAMFS_MAGIC_WEND): Likewise.
9827 (DEBUGFS_MAGIC): Likewise.
9828 (ECRYPTFS_SUPER_MAGIC): Likewise.
9829 (EXT3_SUPER_MAGIC): Likewise.
9830 (EXT4_SUPER_MAGIC): Likewise.
9831 (FUTEXFS_SUPER_MAGIC): Likewise.
9832 (HOSTFS_SUPER_MAGIC): Likewise.
9833 (HUGETLBFS_MAGIC): Likewise.
9834 (MINIX3_SUPER_MAGIC): Likewise.
9835 (MTD_INODE_FS_MAGIC): Likewise.
9836 (NILFS_SUPER_MAGIC): Likewise.
9837 (OPENPROM_SUPER_MAGIC): Likewise.
9838 (PIPEFS_MAGIC): Likewise.
9839 (PSTOREFS_MAGIC): Likewise.
9840 (QNX6_SUPER_MAGIC): Likewise.
9841 (RAMFS_MAGIC): Likewise.
9842 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9843 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9844 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9845 (SECURITYFS_MAGIC): Likewise.
9846 (SELINUX_MAGIC): Likewise.
9847 (SMACK_MAGIC): Likewise.
9848 (SOCKFS_MAGIC): Likewise.
9849 (SQUASHFS_MAGIC): Likewise.
9850 (STACK_END_MAGIC): Likewise.
9851 (TMPFS_MAGIC): Likewise.
9852 (USBDEVICE_SUPER_MAGIC): Likewise.
9853 (V9FS_MAGIC): Likewise.
9854 (XENFS_SUPER_MAGIC): Likewise.
9855 (CRAMFS_MAGIC): Fix typo in comment.
9856 (EXT2_SUPER_MAGIC): Update comment.
9857 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9858
464263cc
JM
98592014-02-08 Joseph Myers <joseph@codesourcery.com>
9860
c6bfe5c4
JM
9861 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9862 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9863 * sysdeps/unix/sysv/linux/arm: Move directory from
9864 ports/sysdeps/unix/sysv/linux/arm.
9865 * README: Update listing for arm-*-linux-gnueabi.
9866
464263cc
JM
9867 * README: Remove mention of am33.
9868
32749f6c
RM
98692014-02-07 Roland McGrath <roland@hack.frob.com>
9870
9871 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9872 than the comma operator, to avoid "rhs of comma has no effect"
9873 compiler warnings.
9874 (__sigfillset, __sigandset, __sigorset): Likewise.
9875 * include/signal.h (__sigemptyset): Likewise.
9876 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9877
d5b396c1
AM
98782014-02-07 Allan McRae <allan@archlinux.org>
9879
9880 * version.h (RELEASE): Set to "development".
9881 (VERSION): Set to "2.19.90"
9882 * NEWS: Add 2.20 section.
9883
3bfff2ed
CD
98842014-02-06 Carlos O'Donell <carlos@redhat.com>
9885
9886 [BZ #16529]
9887 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9888
ee7cc385
SP
98892014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9890
9891 * manual/contrib.texi: Update entry for Carlos O'Donell,
9892 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9893
f877c4f2
CD
98942014-02-05 Carlos O'Donell <carlos@rehdat.com>
9895
27e839f6
CD
9896 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9897
f877c4f2
CD
9898 * sysdeps/unix/sysv/linux/kernel-features.h
9899 [__LINUX_KERNEL_VERSION >= 0x020621]
9900 (__ASSUME_PROC_PID_TASK_COMM): Define.
9901
68159946
SP
99022014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
ba17cdbd
SP
9904 [BZ #16398]
9905 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9906 conversion when destination buffer does not have enough space.
9907 * libio/tst-ftell-partial-wide.c: New test case.
9908 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9909
68159946
SP
9910 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9911 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9912 Leonard and Allan McRae.
9913
2b528732
DM
99142014-02-04 David S. Miller <davem@davemloft.net>
9915
9916 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9917 32-bit.
9918
0ff82463
AZ
99192014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9920
57f41c40
AS
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9922 New file
c01603f7
AZ
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9924 New file
57f41c40
AS
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9926 New file.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9928 New file.
c01603f7
AZ
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9930 New file.
57f41c40
AS
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9932 New file.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9934 New file.
c01603f7
AZ
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9936 New file.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9938 New file.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9940 New file.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9942 New file.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9944 New file.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9946 New file.
9947
99482014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9949
0ff82463
AZ
9950 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9951 * shlib-versions: Likewise.
9952
1695c773
AZ
99532014-02-04 Roland McGrath <roland@hack.frob.com>
9954 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9955
9956 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9957 (abilist-pattern): New variable, set to %-le.abilist.
9958
9959 * Makerules (abilist-pattern): New variable.
9960 (vpath): Use $(abilist-pattern) in place of %.abilist.
9961 (check-abi-% pattern rule): Likewise.
9962 (check-abi, update-abi): Likewise.
9963
6c0ce4b4
EW
99642014-02-04 Eric Wong <normalperson@yhbt.net>
9965
9966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9967
481e3524
CD
99682014-02-03 Carlos O'Donell <carlos@redhat.com>
9969
9970 * manual/startup.texi: Add next, previous, and top entries for
9971 the `Program Arguments' and `Environment Variables' nodes.
9972
375592d3
AO
99732014-02-03 Alexandre Oliva <aoliva@redhat.com>
9974
9975 * manual/macros.texi: Add comments before MTASC-safety macros.
9976
f54838ba
AO
9977 * manual/users.texi: Document MTASC-safety properties.
9978
57f41c40
AS
9979 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9980 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9981 @deftypefun, and add @safety note.
9982 * manual/signal.texi: Move comments that analyze the above
9983 functions to their home place.
9984
fd3daba4
AM
99852014-02-03 Allan McRae <allan@archlinux.org>
9986
9987 * po/sl.po: Update Slovenian translation from translation project.
9988
597636d7
AO
99892014-02-02 Alexandre Oliva <aoliva@redhat.com>
9990
9991 * manual/time.texi (timegm): Add missing blank after @c.
9992 Reported by Joseph Myers <joseph@codesourcery.com>.
9993
ee196e3c
AO
99942014-02-01 Alexandre Oliva <aoliva@redhat.com>
9995
9996 * manual/check-safety.sh: New.
9997 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9998
f8d529d5
AO
9999 * manual/terminal.texi: Document MTASC-safety properties.
10000
de55fdf4
AO
10001 * manual/filesys.texi: Document MTASC-safety properties.
10002
c3299c08
AO
10003 * manual/errno.texi: Document MTASC-safety properties.
10004
06e90b14
AO
10005 * manual/intro.texi: Document safety identifiers and
10006 conditionals.
10007
1acd4371
AO
10008 * manual/string.texi (wcstok): Fix prototype.
10009 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10010
23e5b8cb
AO
10011 * manual/time.texi: Document MTASC-safety properties.
10012
11087373
AO
10013 * manual/string.texi: Document MTASC-safety properties.
10014
5da2c93d
AO
10015 * manual/threads.texi: Document MTASC-safety properties.
10016
171e9210
AO
10017 * manual/stdio.texi: Document MTASC-safety properties.
10018
d9e02532
AO
10019 * manual/syslog.texi: Document MTASC-safety properties.
10020
6af8bab7
AO
10021 * manual/sysinfo.texi: Document MTASC-safety properties.
10022
663b02d7
AO
10023 * manual/startup.texi: Document MTASC-safety properties.
10024
973f180b
AO
10025 * manual/socket.texi: Document MTASC-safety properties.
10026
8f3c25c8
AO
10027 * manual/signal.texi: Document MTASC-safety properties.
10028
542210fb
AO
100292014-01-31 Alexandre Oliva <aoliva@redhat.com>
10030
10031 * manual/setjmp.texi: Document MTASC-safety properties.
10032
433c45a2
AO
10033 * manual/search.texi: Document MTASC-safety properties.
10034
c8ce789c
AO
10035 * manual/resource.texi: Document MTASC-safety properties.
10036
19f5d29c
AO
10037 * manual/process.texi: Document MTASC-safety properties.
10038
e2dfb7f4
AO
10039 * manual/platform.texi: Document MTASC-safety properties.
10040
8c1413f5
AO
10041 * manual/pipe.texi: Document MTASC-safety properties.
10042
03483ada
AO
10043 * manual/pattern.texi: Document MTASC-safety properties.
10044
29e7e2df
AO
10045 * manual/message.texi: Document MTASC-safety properties.
10046
9f529d7c
AO
10047 [BZ #12751]
10048 * manual/memory.texi: Document MTASC-safety properties.
10049
27aaa791
AO
10050 * manual/math.texi: Document MTASC-safety properties.
10051
f2d58726
AO
10052 * manual/locale.texi: Document MTASC-safety properties.
10053
2cc3615c
AO
10054 * manual/llio.texi: Document MTASC-safety properties.
10055
d9f0ec97
AO
10056 * manual/libdl.texi: New.
10057
e7c4409a
AO
10058 * manual/lang.texi: Document MTASC-safety properties.
10059
27bdc63c
AO
10060 * manual/job.texi: Document MTASC-safety properties.
10061
a7b90ea9
AO
10062 * manual/getopt.texi: Document MTASC-safety properties.
10063
c49130e3
AO
10064 * manual/ctype.texi: Document MTASC-safety properties.
10065
0d23a5c1
MR
100662014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10067
10068 [BZ #16046]
10069 * csu/libc-tls.c (static_map): Remove variable.
10070 (__libc_setup_tls): Use main executable's link map for TLS data.
10071 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10072 casing for LM_ID_BASE and GL(dl_nns).
10073 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10074 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10075 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10076 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10077 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10078 member.
10079 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10080 l_phnum members.
10081
0037bb60
AO
100822014-01-30 Alexandre Oliva <aoliva@redhat.com>
10083
10084 * manual/debug.texi: Document MTASC-safety properties.
10085
409e00bd
L
100862014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10087
10088 [BZ #16510]
10089 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10090 of __x86_64__ when disabling x87 inline functions.
10091
86e60666
AO
100922014-01-29 Alexandre Oliva <aoliva@redhat.com>
10093
10094 * manual/charset.texi: Document MTASC-safety properties.
10095
76167637
AO
10096 * manual/crypt.texi: Document MTASC-safety properties.
10097
e567f2a0
AO
10098 * manual/conf.texi: Document MTASC-safety properties.
10099
b719dafd
AO
10100 * manual/arith.texi: Document MTASC-safety properties.
10101
4a16c662
AO
10102 * manual/argp.texi: Document MTASC-safety properties.
10103
0a57b83e
AO
10104 * manual/macros.texi: Introduce macros to document multi
10105 thread, asynchronous signal and asynchronous cancellation
10106 safety properties.
10107 * manual/intro.texi: Introduce the properties themselves.
10108
feab2397
KK
101092014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10110
10111 * sysdeps/sh/sh4/Makefile: New file.
10112
1c0d11bc
AS
101132014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10114
10115 * math/gen-libm-test.pl ($srcdir): New variable.
10116 ($auto_input): Use it.
10117
af37a8a3
SP
101182014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10119
d7b00f98
SP
10120 [BZ #16506]
10121 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10122 access beyond array bounds when parsing netgroups file.
10123
af37a8a3
SP
10124 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10125 the old buffer before realloc.
10126
0c00f062
AM
101272014-01-27 Allan McRae <allan@archlinux.org>
10128
10129 * po/fr.po: Update French translation from translation project.
10130
7d69a1b0
KK
101312014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10132
10133 * sysdeps/sh/libm-test-ulps: Regenerate.
10134
6e697ff7
DM
101352014-01-24 David S. Miller <davem@davemloft.net>
10136
10137 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10138
9cadb35c
KK
101392014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10140
10141 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10142 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10143
5d41dadf
SP
101442013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
10146 [BZ #16474]
10147 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10148 string pointers after reallocation.
10149
0bad441c
KK
101502014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10151
10152 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10153 __SH4A__ instead of __SH_FPU_ANY__.
10154
7007c661
KK
101552014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10156
10157 * sysdeps/sh/fpu_control.h: New file.
10158 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10159 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10160 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10161 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10162 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10163 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10164 * sysdeps/sh/sys/ucontext.h: Remove.
10165 * sysdeps/sh/sys: Remove directory.
10166
0f0c35e4
AK
101672014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10168
10169 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10170 s390/sys/ucontext.h.
10171 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10172 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10173
4959e284
L
101742014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10175
10176 [BZ #15605]
10177 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10178
d98720e0
AZ
101792014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10180
10181 [BZ#16431]
10182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10183 Adjust the vDSO correctly for internal calls.
10184 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10185
91cbd0bc
AM
101862014-01-20 Allan McRae <allan@archlinux.org>
10187
10188 * po/ca.po: Update Catalan translation from translation project.
10189
7a02cfad
MF
101902014-01-16 Mike Frysinger <vapier@gentoo.org>
10191
10192 * sysdeps/s390/sotruss-lib.c: New file.
10193
736c304a
AZ
101942014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10195
10196 [BZ#16430]
6e077ee5 10197 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10198 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10199 local calls issues by not having a PLT stub required for IFUNC calls.
10200 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10201
94d0cea0
JM
102022014-01-16 Joseph Myers <joseph@codesourcery.com>
10203
10204 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10205 * math/test-fpucw-static.c: Likewise.
10206
980cb518
SP
102072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10208
10209 [BZ #16453]
10210 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10211
2393fc01
AZ
102122014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10213
10214 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10215 implementation for powerpc.
10216
d359bcc2
OB
102172014-01-15 Ondřej Bílka <neleai@seznam.cz>
10218
10219 [BZ #14782]
10220 * sysdeps/posix/system.c (__libc_system): Do not enable
10221 asynchronous cancellation.
10222
7beb48cb
AK
102232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10224
10225 [BZ #16427]
10226 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10227 handling only for numbers special also in the IEEE case.
10228
c20d5bf5
AK
102292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10230
10231 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10232
e83bd4ee
AM
102332014-01-11 Allan McRae <allan@archlinux.org>
10234
76d0ea69
AM
10235 * po/bg.po: Update Bulgarian translation from translation project.
10236
e83bd4ee
AM
10237 * po/de.po: Update German translation from translation project.
10238
bc2ba20a
RM
102392014-01-10 Roland McGrath <roland@hack.frob.com>
10240
10241 * sysdeps/generic/gcc-compat.h: New file.
10242
649ecea2
SP
102432014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10244
10245 * benchtests/asin-inputs: Correct slow inputs.
10246 * benchtests/acos-inputs: Likewise.
10247
1b19c006
AM
102482014-01-10 Allan McRae <allan@archlinux.org>
10249
a46dab08
AM
10250 * po:sv.po: Update Swedish translation from translation project.
10251
421df74a
AM
10252 * po/vi.po: Update Vietnamese translation from translation project.
10253
d61c51a7
AM
10254 * po/eo.po: Update Esperanto translation from translation project.
10255
0339a319
AM
10256 * po/cs.po: Update Czech translation from translation project.
10257
94ad3e99
AM
10258 * po/nl.po: Update Dutch translation from translation project.
10259
e349ca71
AM
10260 * po/pl.po: Update Polish translation from translation project.
10261
ddf930c1
AM
10262 * po/ru.po: Update Russian translation from translation project.
10263
1b19c006
AM
10264 * po/uk.po: Update Ukrainian translation from translation project.
10265
9f236c49
BM
102662014-01-08 Brooks Moses <bmoses@google.com>
10267
10268 * elf/dl-load.c: Fix comment typo.
10269
cd6701cf
CD
102702014-01-08 Carlos O'Donell <carlos@redhat.com>
10271
10272 * po/header.pot: Rename to...
10273 * po/pot.header: ... this.
10274 * po/Makefile: Use pot.header.
10275
66671c84
YK
102762014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10277 Maxim Kuvyrkov <maxim@kugelworks.com>
10278
10279 [BZ #16394]
cd6701cf
CD
10280 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10281 SRC and DEST against LEN.
66671c84 10282
38f34581
AZ
102832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10284
10285 [BZ #16414]
10286 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10287 implementation.
10288 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10289
102902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10291
10292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10293
4c327f2a
JM
102942014-01-08 Joseph Myers <joseph@codesourcery.com>
10295
10296 [BZ #16408]
10297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10298 for large positive arguments.
10299
b821f414
JM
103002014-01-07 Joseph Myers <joseph@codesourcery.com>
10301
1f0f2067
JM
10302 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10303
a5a326f6
JM
10304 * math/auto-libm-test-in: Mark various tests with
10305 xfail-rounding:ldbl-128ibm.
10306 * math/auto-libm-test-out: Regenerated.
10307
b821f414
JM
10308 [BZ #16407]
10309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10310 Increase overflow threshold.
10311
94c8a4bc
OB
103122014-01-07 Ondřej Bílka <neleai@seznam.cz>
10313
10314 [BZ #14286]
10315 * stdio-common/vfprintf.c: Check for integer overflow.
10316
87ded0c3
AK
103172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10318
10319 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10320 the first argument and return value of __tls_get_addr_internal.
10321
c5eebdd0
AK
103222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10323
10324 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10325 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10326
05d138ef
AK
103272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10328
10329 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10330 * sysdeps/s390/rtld-global-offsets.sym: New file.
10331 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10332 GLIBC_2.19 symbol.
10333 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10334 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10335 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10336 ... this.
10337 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10338 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10339 ... this.
10340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10341 Regenerate.
10342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10343 Regenerate.
10344 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10345 halfs of GPRs for high_gprs contexts.
10346 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10347 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10348 field.
10349 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10350 uc_flags field.
10351 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10352 64 bit versions:
10353 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10354 for high GPRs (uc_high_gprs) and for future extensions
10355 (__reserved).
10356 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10357 for future extensions (__reserved).
10358 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10359 64 bit versions:
10360 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10361 SC_HIGHGPRS offset definition.
10362 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10363 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10364
93a45ff1
AK
10365 * Versions.def: Add GLIBC_2.19 for libpthread.
10366 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10367 siglongjmp for libpthread with GLIBC_2.19 symver.
10368 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10369 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10370 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10371 * sysdeps/s390/__longjmp.c: New file.
10372 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10373 * sysdeps/s390/longjmp.c: New file.
10374 * sysdeps/s390/setjmp.S: New file.
10375 * sysdeps/s390/sigjmp.S: New file.
10376 * sysdeps/s390/v1-longjmp.c: New file.
10377 * sysdeps/s390/v1-setjmp.h: New file.
10378 * sysdeps/s390/v1-sigjmp.c: New file.
10379 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10380 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10381 GLIBC_2.19 version.
10382 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10383 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10384 versioned symbols for ____longjmp_chk.
10385 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10386 Likewise.
10387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10388 Regenerate.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10390 Regenerate.
10391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10392 Regenerate.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10394 Regenerate.
10395 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10396 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10397 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10398 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10399 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10400 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10401 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10402 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10403 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10404 * sysdeps/s390/rtld-__longjmp.c: New file.
10405 * sysdeps/s390/rtld-setjmp.S: New file.
10406
eb3fc44b
JM
104072014-01-06 Joseph Myers <joseph@codesourcery.com>
10408
10409 [BZ #16400]
10410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10411 Return -__logl (x) for small positive arguments without evaluating
10412 a polynomial.
10413
9341dde4
MF
104142014-01-06 Mike Frysinger <vapier@gentoo.org>
10415
10416 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10417 Rename to ...
10418 (__ptrace_peeksiginfo_args): ... this.
10419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10422
4cff0293
AM
104232014-01-06 Allan McRae <allan@archlinux.org>
10424
10425 * inet/netinet/in.h: Fix typo in comment.
10426
75595dcf
AJ
104272014-01-05 Andreas Jaeger <aj@suse.de>
10428
10429 * sysdeps/i386/fpu/libm-test-ulps: Update.
10430
79c1e109
AM
104312014-01-05 Allan McRae <allan@archlinux.org>
10432
dd804818
AM
10433 * po/libc.pot: Regenerated.
10434
79c1e109
AM
10435 * malloc/memusagestat.c: Fix gettext call formatting.
10436
0c813d1f
SK
104372014-01-04 Sami Kerola <kerolasa@iki.fi>
10438
10439 * nscd/nscd.c: Improve usage() output.
10440
20f4a8d9
MF
104412014-01-04 Mike Frysinger <vapier@gentoo.org>
10442
10443 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10444 * sysdeps/unix/sysv/linux/configure: Regenerated.
10445 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10446 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10447
22562bb2
JM
104482014-01-03 Joseph Myers <joseph@codesourcery.com>
10449
10450 [BZ #16390]
10451 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10452 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10453
d7ad2d9b
AZ
104542014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10455
10456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10457 extra tokens at end of #undef directive.
10458 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10459 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10460 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10461
7dd009d8
JM
104622014-01-03 Joseph Myers <joseph@codesourcery.com>
10463
24db925a
JM
10464 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10465
7dd009d8
JM
10466 * math/auto-libm-test-in: Mark various tests with
10467 xfail-rounding:ldbl-128ibm.
10468 * math/auto-libm-test-out: Regenerated.
10469
396e3ecf
JM
104702014-01-02 Joseph Myers <joseph@codesourcery.com>
10471
819e5d50
JM
10472 [BZ #16386]
10473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10474 numbers with subnormal high part when calculating exponent.
10475
90b6a1e5
JM
10476 [BZ #16385]
10477 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10478 fabs.
10479
396e3ecf
JM
10480 [BZ #16384]
10481 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10482 M_LN2l.
10483 (__ieee754_acoshl): Use __log1pl not __log1p.
10484
6c8dbf00
OB
104852013-01-02 Ondřej Bílka <neleai@seznam.cz>
10486
57f41c40
AS
10487 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10488 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10489 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10490 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10491 (reused_arena, arena_get2): Convert to GNU style.
10492 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10493 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10494 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10495 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10496 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10497 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10498 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10499 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10500 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10501 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10502 * malloc/malloc.h: Likewise.
57f41c40
AS
10503 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10504 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10505 * malloc/mcheck.h: Likewise.
57f41c40
AS
10506 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10507 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10508 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10509 * malloc/morecore.c (__default_morecore): Likewise.
10510 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10511 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10512 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10513 (print_and_abort): Likewise.
6c8dbf00
OB
10514 * malloc/obstack.h: Likewise.
10515 * malloc/set-freeres.c (__libc_freeres): Likewise.
10516 * malloc/tst-mallocstate.c (main): Likewise.
10517 * malloc/tst-mtrace.c (main): Likewise.
10518 * malloc/tst-realloc.c (do_test): Likewise.
10519
d4124212
SP
105202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10521
9a3c6a6f
SP
10522 [BZ #16366]
10523 * nscd/netgroupcache.c (do_notfound): New function.
10524 (addgetnetgrentX): Use it.
10525
d4124212
SP
10526 [BZ # 16365]
10527 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10528 NSS_STATUS_NOTFOUND.
10529
97b9a009
JM
105302014-01-01 Joseph Myers <joseph@codesourcery.com>
10531
10532 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10534
d4697bc9
AM
105352014-01-01 Allan McRae <allan@archlinux.org>
10536
ddb3687f
AM
10537 * scripts/update-copyrights: Update configure input file suffix.
10538
88726d48
AM
10539 * NEWS: Update copyright year.
10540 * catgets/gencat.c: Likewise.
10541 * csu/version.c: Likewise.
10542 * debug/catchsegv.sh: Likewise.
10543 * debug/pcprofiledump.c: Likewise.
10544 * debug/xtrace.sh: Likewise.
10545 * elf/ldconfig.c: Likewise.
10546 * elf/ldd.bash.in: Likewise.
10547 * elf/pldd.c: Likewise.
10548 * elf/sotruss.ksh: Likewise.
10549 * elf/sprof.c: Likewise.
10550 * iconv/iconv_prog.c: Likewise.
10551 * iconv/iconvconfig.c: Likewise.
10552 * locale/programs/locale.c: Likewise.
10553 * locale/programs/localedef.c: Likewise.
10554 * login/programs/pt_chown.c: Likewise.
10555 * malloc/memusage.sh: Likewise.
10556 * malloc/memusagestat.c: Likewise.
10557 * malloc/mtrace.pl: Likewise.
10558 * manual/libc.texinfo: Likewise.
10559 * nscd/nscd.c: Likewise.
10560 * nss/getent.c: Likewise.
10561 * nss/makedb.c: Likewise.
10562 * posix/getconf.c: Likewise.
10563 * scripts/test-installation.pl: Likewise.
10564
d4697bc9
AM
10565 * All files with FSF copyright notices: Update copyright dates
10566 using scripts/update-copyrights.
10567 * intl/plural.c: Regenerated.
10568 * locale/programs/charmap-kw.h: Likewise.
10569 * locale/programs/locfile-kw.h: Likewise.
10570
c8590f9d
MF
105712013-12-31 Mike Frysinger <vapier@gentoo.org>
10572
10573 * sysdeps/unix/sysv/linux/configure: Regenerated.
10574 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10575 the linux/fanotify.h header.
10576 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10577 HAVE_LINUX_FANOTIFY_H is defined.
10578
b19221b9
SP
105792013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10580
dd1d85e5
SP
10581 * benchtests/cos-inputs: New inputs.
10582 * benchtests/sin-inputs: Likewise.
10583
1acbb90f
SP
10584 * benchtests/atan-inputs: New inputs. Fix name of multiple
10585 precision fallback inputs.
10586
4c012ed3
SP
10587 * benchtests/atanh-inputs: New inputs.
10588 * benchtests/tanh-inputs: Likewise.
10589
eff98324
SP
10590 * benchtests/acosh-inputs: New inputs.
10591 * benchtests/asinh-inputs: Likewise.
10592
ce641152
SP
10593 * benchtests/cosh-inputs: New inputs.
10594 * benchtests/sinh-inputs: Likewise.
10595
b19221b9
SP
10596 * benchtests/acos-inputs: Add more inputs.
10597 * benchtests/asin-inputs: Likewise.
10598
030a4976 105992013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10600
030a4976 10601 [BZ #16375]
9dcc8f11
VS
10602 * manual/arith.texi: Fix spelling.
10603 * manual/charset.texi: Likewise.
10604 * manual/errno.texi: Likewise.
10605 * manual/filesys.texi: Likewise.
10606 * manual/lang.texi: Likewise.
10607 * manual/llio.texi: Likewise.
10608 * manual/locale.texi: Likewise.
10609 * manual/message.texi: Likewise.
10610 * manual/resource.texi: Likewise.
10611 * manual/search.texi: Likewise.
10612 * manual/setjmp.texi: Likewise.
10613 * manual/stdio.texi: Likewise.
10614 * manual/string.texi: Likewise.
10615 * manual/sysinfo.texi: Likewise.
10616 * manual/time.texi: Likewise.
10617
11520a57
CD
106182013-12-27 Carlos O'Donell <carlos@redhat.com>
10619
10620 * po/sl.po: New file.
10621
471103ae
MF
106222013-12-27 Mike Frysinger <vapier@gentoo.org>
10623
10624 * .gitignore: Add core/.gdbinit/.gdb_history.
10625
6c9642ed
AM
106262013-12-27 Allan McRae <allan@archlinux.org>
10627
10628 [BZ #16369]
10629 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10630 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10631
3f637079
BM
106322013-12-24 Brooks Moses <bmoses@google.com>
10633
10634 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10635 all compilers that claim C++98 compliance, not just GCC.
10636 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10637 Likewise.
10638
abc26e99
MK
106392013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10640
10641 * NEWS: Restore accidentally deleted bug-fix entries.
10642
362b47fe
MK
106432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10644 Ondřej Bílka <neleai@seznam.cz>
10645
10646 [BZ #15073]
10647 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10648 have_lock.
362b47fe 10649
b9bcbbcb
OB
106502013-12-23 Ondřej Bílka <neleai@seznam.cz>
10651
10652 [BZ #12986]
10653 * manual/stdio.texi (String Input Conversions): Clarify that character
10654 classes are not supported.
10655
fb55fcd2
AZ
106562013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10657
10658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10659
ef7344f0
JM
106602013-12-22 Joseph Myers <joseph@codesourcery.com>
10661
4f40e4b3
JM
10662 [BZ #16337]
10663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10664 Calculate results for small negative arguments directly rather
10665 than using reflection formula with special underflow handling.
10666
ef7344f0
JM
10667 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10668 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10669 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10670 (fchflags): Likewise.
10671 (revoke): Likewise.
10672 (setlogin): Likewise.
10673 (sigaltstack): Likewise.
10674 (wait4): Likewise.
10675 (sigblock): Remove.
10676 (sigsetmask): Likewise.
10677 (wait3): Likewise.
10678 (waitpid): Likewise.
10679 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10680 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10681 file.
10682 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10683 * sysdeps/unix/bsd/Makefile: ... here.
10684 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10685 * sysdeps/unix/bsd/Versions: ... here.
10686 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10687 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10688 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10689 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10690 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10691 * sysdeps/unix/bsd/sigblock.c: ... here.
10692 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10693 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10694 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10695 * sysdeps/unix/bsd/sigvec.c: ... here.
10696 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10697 * sysdeps/unix/bsd/tcdrain.c: ... here.
10698 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10699 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10700 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10701 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10702 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10703 * sysdeps/unix/bsd/wait.c: ... here.
10704 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10705 * sysdeps/unix/bsd/wait3.c: ... here.
10706 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10707 * sysdeps/unix/bsd/waitpid.c: ... here.
10708
5b0626b9
JM
107092013-12-21 Joseph Myers <joseph@codesourcery.com>
10710
10711 [BZ #16356]
10712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10713 round-to-nearest for [!USE_AS_EXPM1L].
10714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10715 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10716 more tests of exp and exp10. Expect some exp10 tests to miss
10717 exceptions or fail in directed rounding modes.
10718 * math/auto-libm-test-out: Regenerated.
10719 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10720 (exp10_test_tonearest): New function.
10721 (exp10_towardzero_test_data): New array.
10722 (exp10_test_towardzero): New function.
10723 (exp10_downward_test_data): New array.
10724 (exp10_test_downward): New function.
10725 (exp10_upward_test_data): New array.
10726 (exp10_test_upward): New function.
10727 (main): Call the new functions.
10728 * sysdeps/i386/fpu/libm-test-ulps: Update.
10729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10730
7fda5682
JM
107312013-12-20 Joseph Myers <joseph@codesourcery.com>
10732
31e3a405
JM
10733 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10734 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10735 * math/auto-libm-test-out: Regenerated.
10736 * math/libm-test.inc (acosh_test_data): Add more tests.
10737 (atanh_test_data): Likewise.
10738 (ceil_test_data): Likewise.
10739 (copysign_test_data): Likewise.
10740 * sysdeps/i386/fpu/libm-test-ulps: Update.
10741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742
85bff96a
JM
10743 * timezone/checktab.awk: Update from tzcode 2013i.
10744 * timezone/private.h: Likewise.
10745 * timezone/scheck.c: Likewise.
10746 * timezone/tzfile.h: Likewise.
10747 * timezone/tzselect.ksh: Likewise.
10748 * timezone/zdump.c: Likewise.
10749 * timezone/zic.c: Likewise.
10750
b7867a3b
JM
10751 * math/auto-libm-test-in: Add tests of cpow.
10752 * math/auto-libm-test-out: Regenerated.
10753 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10755 mpc_cc_c.
10756 (func_calc_desc): Add mpc_cc_c union field.
10757 (test_functions): Add cpow.
10758 (special_fill_2pi): New function.
10759 (special_real_inputs): Add 2pi.
10760 (calc_generic_results): Handle mpc_cc_c.
10761 * sysdeps/i386/fpu/libm-test-ulps: Update.
10762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10763
7fda5682
JM
10764 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10765 csqrt, ctan and ctanh.
10766 * math/auto-libm-test-out: Regenerated.
10767 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10768 (TEST_COND_x86): Likewise.
10769 (ccos_test_data): Use AUTO_TESTS_c_c.
10770 (ccosh_test_data): Likewise.
10771 (cexp_test_data): Likewise.
10772 (clog_test_data): Likewise.
10773 (csqrt_test_data): Likewise.
10774 (ctan_test_data): Likewise.
10775 (ctan_tonearest_test_data): Likewise.
10776 (ctan_towardzero_test_data): Likewise.
10777 (ctan_downward_test_data): Likewise.
10778 (ctan_upward_test_data): Likewise.
10779 (ctanh_test_data): Likewise.
10780 (ctanh_tonearest_test_data): Likewise.
10781 (ctanh_towardzero_test_data): Likewise.
10782 (ctanh_downward_test_data): Likewise.
10783 (ctanh_upward_test_data): Likewise.
10784 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10785 mpc_c_c.
10786 (func_calc_desc): Add mpc_c_c union field.
10787 (FUNC_mpc_c_c): New macro.
10788 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10789 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10790 ctanh.
10791 (special_fill_min_subnorm_p120): New function.
10792 (special_real_inputs): Add min_subnorm_p120.
10793 (calc_generic_results): Handle mpc_c_c.
10794 * sysdeps/i386/fpu/libm-test-ulps: Update.
10795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796
5ff8d60e
SP
107972013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
57f41c40
AS
10799 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10800 (do_sin_slow): New functions.
10801 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10802 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10803
84ba214c
SP
10804 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10805 Use M to change sign of result instead of X. Assume X is
10806 positive.
10807 (csloww1): Likewise.
10808 (__sin): Adjust.
10809 (__cos): Adjust.
10810
975195e4
SP
10811 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10812 arguments A and DA.
10813 (__sin): Adjust.
10814 (__cos): Likewise.
10815
5ff8d60e
SP
10816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10817 (__cos): Likewise.
10818 (sloww1): Don't adjust sign of DX.
10819 (csloww1): Likewise.
10820 (sloww2): Use X directly and don't adjust sign of DX.
10821 (csloww2): Likewise.
10822
eb983568
JM
108232013-12-19 Joseph Myers <joseph@codesourcery.com>
10824
64a17f1a
JM
10825 * math/auto-libm-test-in: Add tests of cabs and carg.
10826 * math/auto-libm-test-out: Regenerated.
10827 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10828 (carg_test_data): Likewise.
10829 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10830 mpc_c_f.
10831 (func_calc_desc): Add mpc_c_f union field.
10832 (test_functions): Add cabs and carg.
10833 (calc_generic_results): Handle mpc_c_f.
10834
eb983568
JM
10835 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10836 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10837 as a macro and a compat symbol.
10838 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10839 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10840 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10841 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10842 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10843 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10844 not use .hidden.
10845 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10846 Likewise.
10847 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10848 Likewise.
10849 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10850 Likewise.
10851 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10852 Likewise.
10853 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10854 Likewise.
10855 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10856 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10857 from GLIBC_2.3.2.
10858
6eeb678a
AZ
108592013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10860
10861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10862
6f6fc482
JM
108632013-12-19 Joseph Myers <joseph@codesourcery.com>
10864
21fea2e2
JM
10865 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10866 trailing whitespace removed.
10867 * scripts/config.guess: Update to version 2013-11-29.
10868 * scripts/config.sub: Update to version 2013-10-01.
10869
6f6fc482
JM
10870 * math/auto-libm-test-in: Add tests of sincos.
10871 * math/auto-libm-test-out: Regenerated.
10872 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10874 mpfr_f_11.
10875 (func_calc_desc): Add mpfr_f_11 union field.
10876 (test_functions): Add sincos.
10877 (calc_generic_results): Handle mpfr_f_11.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10880
83f5c32d
AS
108812013-12-19 Andreas Schwab <schwab@suse.de>
10882
10883 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10884 CALL_MCOUNT.
10885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10887 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10888
c688b419
JM
108892013-12-19 Joseph Myers <joseph@codesourcery.com>
10890
335ee092
JM
10891 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10894
f88acd39
JM
10895 [BZ #16293]
10896 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10897 round-to-nearest mode when using frndint.
10898 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10899 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10901 Likewise.
10902 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10903 sinh test to fail.
10904 * math/auto-libm-test-out: Regenerated.
10905 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10906 (TEST_COND_x86): Likewise.
10907 (expm1_tonearest_test_data): New array.
10908 (expm1_test_tonearest): New function.
10909 (expm1_towardzero_test_data): New array.
10910 (expm1_test_towardzero): New function.
10911 (expm1_downward_test_data): New array.
10912 (expm1_test_downward): New function.
10913 (expm1_upward_test_data): New array.
10914 (expm1_test_upward): New function.
10915 (main): Run the new test functions.
10916 * sysdeps/i386/fpu/libm-test-ulps: Update.
10917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10918
c688b419
JM
10919 * include/features.h: Update comment documenting feature test
10920 macros. Mention _DEFAULT_SOURCE in comment.
10921 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10922 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10923 _BSD_SOURCE and _SVID_SOURCE.
10924 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10925 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10926 !_SVID_SOURCE]: Likewise.
10927 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10928 (__USE_POSIX_IMPLICITLY): Define.
10929 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10930 (_POSIX_SOURCE): Undefine and redefine.
10931 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10932 (_POSIX_C_SOURCE): Likewise.
10933 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10934 (Feature Test Macros): Update documentation of default features.
10935
9f6e964c
RS
109362013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10937
10938 * benchtests/Makefile: Add bench-strtok.
10939 * benchtests/bench-strtok.c: New file: strtok benchtest.
10940
ee0a148a
AM
109412013-12-19 Allan McRae <allan@archlinux.org>
10942
10943 * manual/install.texi: Suppress menu for plain text output.
10944 * INSTALL: Regenerated.
10945
b9ab448f
BM
109462013-12-18 Brooks Moses <bmoses@google.com>
10947
10948 [BZ #15846]
10949 * misc/getauxval.c: Include errno.h.
10950 (__getauxval): Set errno to ENOENT if the requested type is not
10951 found.
10952 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10953 don't declare with __attribute_const__.
10954 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10955 * manual/startup.texi: Document that getauxval sets errno.
10956
23776487
JM
109572013-12-18 Joseph Myers <joseph@codesourcery.com>
10958
f889953b
JM
10959 * math/auto-libm-test-in: Add tests of jn and yn.
10960 * math/auto-libm-test-out: Regenerated.
10961 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10962 (yn_test_data): Likewise.
10963 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10964 mpfr_if_f.
10965 (func_calc_desc): Add mpfr_if_f union field.
10966 (FUNC_mpfr_if_f): New macro.
10967 (test_functions): Add jn and yn.
10968 (calc_generic_results): Assert type of second input for
10969 mpfr_ff_f. Handle mpfr_if_f.
10970 (output_for_one_input_case): Disable all checking for arguments
10971 fitting floating-point types in case of an integer argument.
10972 * sysdeps/i386/fpu/libm-test-ulps: Update.
10973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974
23776487
JM
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10976 Don't expect fegetround reference in libm.so.
10977
cb756c6d
MS
109782013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10979
10980 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10981 $(config-cflags-nofma).
10982
2dec468f
JM
109832013-12-18 Joseph Myers <joseph@codesourcery.com>
10984
5953eb3a
JM
10985 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10986 * math/auto-libm-test-out: Regenerated.
10987
2dec468f
JM
10988 [BZ #16338]
10989 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10990 to determine exponent and adjust argument to have exponent of -1.
10991 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10992 log2.
10993 * math/auto-libm-test-out: Regenerated.
10994 * sysdeps/i386/fpu/libm-test-ulps: Update.
10995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10996
4d84e6ad
OB
109972013-12-18 Ondřej Bílka <neleai@seznam.cz>
10998
10999 * manual/probes.texi: Remove cases when per-thread arenas are
11000 disabled.
11001
1818483b
AS
110022013-12-18 Andreas Schwab <schwab@suse.de>
11003
11004 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11005 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11006 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11007 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11008 * sysdeps/i386/i686/multiarch/Makefile: Update.
11009 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11010
25de95bf
JM
110112013-12-17 Joseph Myers <joseph@codesourcery.com>
11012
11013 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11014 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11015
674762d9
PE
110162013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11017
ed27ed83 11018 [BZ #15968]
0748546f
PE
11019 Support TZ transition times < 00:00:00.
11020 This is needed for version-3 tz-format files; it supports time
11021 stamps past 2037 for America/Godthab (the only entry in the tz
11022 database for which this change is relevant).
11023 * manual/time.texi (TZ Variable): Document transition times
11024 from -167:59:59 through -00:00:01.
11025 * time/tzset.c (tz_rule): Time of day is now signed.
11026 (__tzset_parse_tz): Parse negative time of day.
11027
4480e934
PE
11028 Document TZ transition times >= 25:00:00.
11029 * manual/time.texi (TZ Variable): Document transition times from
11030 25:00:00 through 167:59:59. These are already supported, and this
11031 support will help with version-3 tz-format files.
11032
69947401
PE
11033 * manual/time.texi (TZ Variable): Modernize North America example
11034 to reflect current (i.e., 2007-and-later) daylight saving rules.
11035
674762d9
PE
11036 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11037
7011c262
JM
110382013-12-17 Joseph Myers <joseph@codesourcery.com>
11039
2fc6557e
JM
11040 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11041 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11044 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11045 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11046 * sysdeps/unix/bsd/clock.c: Likewise.
11047 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11048 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11049 * sysdeps/unix/bsd/init-posix.c: Likewise.
11050 * sysdeps/unix/bsd/poll.c: Likewise.
11051 * sysdeps/unix/bsd/ptsname.c: Likewise.
11052 * sysdeps/unix/bsd/seekdir.c: Likewise.
11053 * sysdeps/unix/bsd/setegid.c: Likewise.
11054 * sysdeps/unix/bsd/seteuid.c: Likewise.
11055 * sysdeps/unix/bsd/setgid.c: Likewise.
11056 * sysdeps/unix/bsd/setrgid.c: Likewise.
11057 * sysdeps/unix/bsd/setruid.c: Likewise.
11058 * sysdeps/unix/bsd/setsid.c: Likewise.
11059 * sysdeps/unix/bsd/setuid.c: Likewise.
11060 * sysdeps/unix/bsd/sigaction.c: Likewise.
11061 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11062 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11063 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11064 * sysdeps/unix/bsd/telldir.c: Likewise.
11065 * sysdeps/unix/bsd/times.c: Likewise.
11066 * sysdeps/unix/bsd/usleep.c: Likewise.
11067
029c7b25
JM
11068 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11069 ($(objpfx)libbsd-compat.a): Remove rule.
11070
7011c262
JM
11071 * include/features.h (__FAVOR_BSD): Do not define.
11072 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11073 features conflicting with POSIX.
11074 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11075 (_BSD_SOURCE): Remove description of not being a subset of other
11076 feature test macros.
11077 * manual/job.texi (getpgrp): Do not document BSD version.
11078 (getpgid): Do not document by reference to BSD getpgrp.
11079 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11080 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11081 * signal/signal.h [__FAVOR_BSD]: Likewise.
11082 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11083 instead of making contents conditional on [__FAVOR_BSD].
11084 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11085
affb6f78
AZ
110862013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11087
11088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11089
c88769dd
JM
110902013-12-17 Joseph Myers <joseph@codesourcery.com>
11091
6432a540
JM
11092 [BZ #16314]
11093 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11094 values below 2**-450, not 2**-500.
11095 * math/auto-libm-test-in: Don't allow spurious underflow from
11096 hypot.
11097 * math/auto-libm-test-out: Regenerated.
11098
c88769dd
JM
11099 [BZ #16316]
11100 [BZ #16330]
11101 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11102 values of ha and hb and sort them after adjusting subnormal
11103 arguments.
11104 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11105 Likewise.
11106 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11107 values of ea and eb and sort them after adjusting subnormal
11108 arguments.
11109 * math/auto-libm-test-in: Do not expect some hypot tests of
11110 subnormals to fail. Add more hypot tests.
11111 * math/auto-libm-test-out: Regenerated.
11112
29618f6b
KK
111132013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11114
11115 [BZ #13304]
11116 * sysdeps/sh/s_fma.c: New file.
11117 * sysdeps/sh/s_fmaf.c: New file.
11118 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11119 version.
11120 * sysdeps/sh/Implies: Add sh/soft-fp.
11121
eacfdfbf
RM
111222013-12-16 Roland McGrath <roland@hack.frob.com>
11123
11124 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11125 level of indirection to members `objname', `errstring', `malloced'.
11126 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11127 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11128 it as the __longjmp argument (just pass 1 instead).
11129 (_dl_catch_error): Initialize C with argument pointers and address of
11130 volatile local ERRCODE rather than copying values out of C at return.
11131
ff362e5b
JM
111322013-12-16 Joseph Myers <joseph@codesourcery.com>
11133
11134 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11135 * math/auto-libm-test-out: Regenerated.
11136 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11137 (hypot_test_data): Likewise.
11138 (pow_test_data): Likewise.
11139 (pow_tonearest_test_data): Likewise.
11140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11141 mpfr_ff_f.
11142 (func_calc_desc): Add mpfr_ff_f union field.
11143 (FUNC_mpfr_ff_f): New macro.
11144 (test_functions): Add atan2, hypot and pow.
11145 (special_fill_min): New function.
11146 (special_fill_minus_min): Likewise.
11147 (special_fill_min_subnorm): Likewise.
11148 (special_fill_minus_min_subnorm): Likewise.
11149 (special_real_inputs): Add min, -min, min_subnorm and
11150 -min_subnorm.
11151 (calc_generic_results): Handle mpfr_ff_f.
11152 * sysdeps/i386/fpu/libm-test-ulps: Update.
11153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11154
5764c27f
WN
111552013-12-16 Will Newton <will.newton@linaro.org>
11156
11157 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11158 (Aligned Memory Blocks): Add documentation for aligned_alloc
11159 and suggest it as an alternative to posix_memalign.
11160 (Hooks for Malloc): Document __memalign_hook is also called
11161 for aligned_alloc. (Summary of Malloc): Add summary for
11162 aligned alloc. Document __memalign_hook is also called
11163 for aligned_alloc.
11164
0a096e44
WN
111652013-12-16 Will Newton <will.newton@linaro.org>
11166
11167 * manual/memory.texi (Malloc Examples): Clarify default
11168 alignment documentation. Suggest posix_memalign rather
11169 than memalign or valloc.
11170 (Aligned Memory Blocks): Remove suggestion to use memalign
11171 or valloc. Remove obsolete comment about BSD.
11172 Document memalign errno values and mark the function obsolete.
11173 Document posix_memalign returned error codes. Mark valloc
11174 as obsolete. (Hooks for Malloc): __memalign_hook is also
11175 called for posix_memalign and valloc.
11176 (Summary of Malloc): Add posix_memalign to function summary.
11177 __memalign_hook is also called for posix_memalign and valloc.
11178
8d561986
SP
111792013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11180
11181 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11182 TAYLOR_SIN.
11183 (__sin): Adjust.
11184 (__cos): Likewise.
11185 (sloww): Use mynumber union. Expand ternary operator into
11186 if-else statements.
11187 (cslow): use mynumber union.
11188
73616a74
AM
111892013-12-16 Allan McRae <allan@archlinux.org>
11190
9e8ac24b
AM
11191 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11192 * configure: Regenerated.
11193
6f8e37eb
AM
11194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11195
8894bad3
AM
11196 [BZ #14120]
11197 * configure.ac: Added --enable-maintainer-mode. Check for
11198 autoconf when enabled.
11199 * configure: Regenerated.
11200
73616a74
AM
11201 * nscd/nscd.service: New file.
11202 * nscd/nscd.tmpfiles: New file.
11203
584b18eb
OB
112042013-12-14 Ondřej Bílka <neleai@seznam.cz>
11205
11206 [BZ #12100]
11207 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11208 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11209 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11210 (strstr): Add __strstr_sse2_unaligned ifunc.
11211 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11212 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11213 (strcasestr): Remove __strcasestr_sse42 ifunc.
11214 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11217
8a5c7897
KK
112182013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11219
11220 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11221 * sysdeps/sh/bits/fenv.h: ... here.
11222 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11223
fd712ef3
AZ
112242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11225
11226 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11227
42fcb46c
AZ
11228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11229 hypotf multiarch implementations.
11230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11233 multiarch hypot for PPC64.
11234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11237 multiarch hypotf for PPC64.
11238
83efded4
AZ
11239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11240 modff multiarch implementations.
11241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11244 multiarch modf for PPC64.
11245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11248 multiarch modff for PPC64.
11249
43e246d2
AZ
11250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11251 and logl multiarch implementations.
11252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11255 multiarch logb for PPC64.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11259 multiarch logb for PPC64.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11263 multiarch logb for PPC64.
11264
8fdad123
AZ
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11266 isinff multiarch implementation.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11268 file.
11269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11271 multiarch isinf for PPC64.
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11273 file.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11275 multiarch isinff for PPC64.
11276
1481d706
AZ
11277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11278 finitef multiarch implementation.
11279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11280 file.
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11283 multiarch finite for PPC64.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11285 file.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11287 multiarch finitef for PPC64.
11288
5ccd5fc8
AZ
11289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11290 lrint multiarch implementation.
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11292 file.
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11295 multiarch llrint for PPC64.
11296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11297 multiarch lrint for PPC64.
11298
2568f3fa
AZ
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11300 copysignf multiarch implementation.
11301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11302 file.
11303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11304 file.
11305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11306 multiarch copysign for PPC64.
11307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11308 multiarch copysignf for PPC64.
11309
1cb341fd
AZ
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11311 multiarch implementation.
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11313 file.
11314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11315 file.
11316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11317 file.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11319 file.
11320 multiarch llround for PPC64.
11321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11322 multiarch trunc for PPC64.
11323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11324 multiarch truncf for PPC64.
11325
59a3e194
AZ
11326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11327 multiarch implementation.
11328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11329 file.
11330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11331 file.
11332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11333 file.
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11335 file.
11336 multiarch llround for PPC64.
11337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11338 multiarch round for PPC64.
11339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11340 multiarch roundf for PPC64.
11341
357fd3b4
AZ
11342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11343 multiarch implementation.
11344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11345 file.
11346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11347 file.
11348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11349 file.
11350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11351 file.
11352 multiarch llround for PPC64.
11353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11354 multiarch floor for PPC64.
11355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11356 multiarch floorf for PPC64.
11357
96770f12
AZ
11358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11359 multiarch implementation.
11360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11361 file.
11362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11363 file.
11364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11365 file.
11366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11367 file.
11368 multiarch llround for PPC64.
11369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11370 multiarch ceil for PPC64.
11371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11372 multiarch ceilf for PPC64.
11373
c3627f6e
AZ
11374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11375 multiarch implementation.
11376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11377 file.
11378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11379 file.
11380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11381 file.
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11383 multiarch llround for PPC64.
11384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11385 multiarch lround for PPC64.
11386
b2284ad7
AZ
11387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11388 multiarch implementation.
11389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11392 file.
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11396 multiarch isnan for PPC64.
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11398 multiarch isnanf for PPC64.
11399
69bbc63d
AZ
11400 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11401 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11402 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11403 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11404 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11406
c24517c9
AZ
11407 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11411
a52374e8
AZ
11412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11413 multiarch implementations.
11414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11415 (__libc_ifunc_impl_list): Likewise.
11416 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11418 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11419 multiarch stpcpy for PPC64.
11420
7f5ec113
AZ
11421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11422 multiarch implementations.
11423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11424 (__libc_ifunc_impl_list): Likewise.
11425 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11426 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11427 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11428 multiarch strcpy for PPC64.
11429
e28bcd42
AZ
11430 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11431 redefine function name.
11432 (_wordcopy_fwd_dest_aligned): Likewise.
11433 (_wordcopy_bwd_aligned): Likewise.
11434 (_wordcopy_bwd_dest_aligned): Likewise.
11435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11436 multiarch implementations.
11437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11438 (__libc_ifunc_impl_list): Likewise.
11439 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11441 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11442 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11443 multiarch wcscpy for PPC64.
11444
92cacfce
AZ
11445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11446 multiarch implementations.
11447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11448 (__libc_ifunc_impl_list): Likewise.
11449 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11450 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11451 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11452 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11453 multiarch wcscpy for PPC64.
11454
7b714620
AZ
11455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11456 multiarch implementations.
11457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11458 (__libc_ifunc_impl_list): Likewise.
11459 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11460 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11462 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11463 multiarch wcsrchr for PPC64.
11464
16fd2ae3
AZ
11465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11466 multiarch implementations.
11467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11468 (__libc_ifunc_impl_list): Likewise.
11469 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11471 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11472 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11473 multiarch wcschr for PPC64.
11474
9ee2969b
AZ
11475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11476 multiarch implementations.
11477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11478 (__libc_ifunc_impl_list): Likewise.
11479 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11480 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11481 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11482 multiarch strchrnul for PPC64.
11483
372dc060
AZ
11484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11485 implementations.
11486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11487 (__libc_ifunc_impl_list): Likewise.
11488 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11489 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11490 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11491 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11492 strchr for PPC64.
11493
24c2c3b9
AZ
11494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11495 implementations.
11496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11497 (__libc_ifunc_impl_list): Likewise.
11498 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11499 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11500 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11501 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11502 strncmp for PPC64.
11503
1c92d9a0
AZ
11504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11505 multiarch implementations.
11506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11507 (__libc_ifunc_impl_list): Likewise.
11508 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11509 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11510 strncasecmp for PPC64.
11511 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11512 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11513 multiarch strncasecmp_l for PPC64.
11514
17de3ee3
AZ
11515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11516 multiarch implementations.
11517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11518 (__libc_ifunc_impl_list): Likewise.
11519 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11520 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11521 multiarch strcasecmp for PPC64.
11522 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11523 file.
11524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11525 multiarch strcasecmp_l for PPC64.
11526
62982bf9
AZ
11527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11528 implementations.
11529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11530 (__libc_ifunc_impl_list): Likewise.
11531 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11532 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11533 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11534 strnlen for PPC64.
11535
a65f4904
AZ
11536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11537 implementations.
11538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11539 (__libc_ifunc_impl_list): Likewise.
11540 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11541 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11542 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11543 strlen for PPC64.
11544
1fd005ad
AZ
11545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11546 implementations.
11547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11548 (__libc_ifunc_impl_list): Likewise.
11549 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11550 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11551 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11552 rawmemrchr for PPC64.
11553
cd05ba91
AZ
11554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11555 implementation.
11556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11557 (__libc_ifunc_impl_list): Likewise.
11558 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11559 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11560 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11561 memrchr for PPC64.
11562
870f8676
AZ
11563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11564 implementation.
11565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11566 (__libc_ifunc_impl_list): Likewise.
11567 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11568 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11569 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11570 memchr for PPC64.
11571
f00be62b
AZ
11572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11573 implementation.
11574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11575 (__libc_ifunc_impl_list): Likewise.
11576 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11577 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11578 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11579 mempcpy for PPC64.
11580
8a29a3d0
AZ
11581 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11582 avoid cretion of __bzero symbol.
11583 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11584 Likewise.
11585 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11586 Likewise.
11587 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11588 Likewise.
11589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11590 multiarch implementations.
11591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11592 (__libc_ifunc_impl_list): Likewise.
11593 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11594 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11595 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11596 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11597 bzero for PPC32.
11598 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11599 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11600 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11601 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11602 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11603 memset for PPC64.
11604 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11605
07253fcf
AZ
11606 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11608 implementations.
11609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11610 (__libc_ifunc_impl_list): Likewise.
11611 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11613 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11614 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11615 memcmp for PPC64.
11616
b5beafbc
AZ
11617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11618 multiarch for POWER/PPC64.
11619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11620 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11621 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11627 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11628 memcpy for PPC64.
11629
5e6a4d4b
AZ
11630 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11631 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11632 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11633 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11634 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11635 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11636 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11637 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11638 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11639 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11640 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11641 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11642 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11643 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11644 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11652
ddfab6dc
KK
116532013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11654
11655 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11656
19b5525e
SP
116572013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11658
11659 * benchtests/Makefile (bench): Add exp2 and log2.
11660 (LDLIBS-bench-exp2): Add -lm.
11661 (LDLIBS-bench-log2): Likewise.
11662 * benchtests/exp2-inputs: New inputs file.
11663 * benchtests/log2-inputs: New inputs file.
11664 * benchtests/log-inputs: Add new inputs.
11665 * benchtests/tan-inputs: Likewise.
11666
196f7f5d
SP
116672013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11668
7a74607f
SP
11669 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11670 definition...
57f41c40
AS
11671 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11672 (csloww2): ... from here.
7a74607f 11673
196f7f5d
SP
11674 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11675 instead of structures.
11676 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11677 (POLYNOMIAL): Likewise.
11678 (TAYLOR_SLOW): Likewise.
11679 (__sin): Likewise.
11680 (__cos): Likewise.
11681 (slow1): Likewise.
11682 (slow2): Likewise.
11683 (sloww): Likewise.
11684 (sloww1); Likewise.
11685 (sloww2): Likewise.
11686 (bsloww1): Likewise.
11687 (bsloww2): Likewise.
11688 (cslow2): Likewise.
11689 (csloww): Likewise.
11690 (csloww1): Likewise.
11691 (csloww2): Likewise.
11692
0dfa665c
OB
116932013-12-10 Ondřej Bílka <neleai@seznam.cz>
11694
11695 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11696 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11697 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11698 * malloc/hooks.c (realloc_check): Likewise.
11699
5782a80f
OB
11700 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11701 * malloc/arena.c: Remove PER_THREAD conditional.
11702 [!PER_THREAD]: Remove code.
11703 (ptmalloc_unlock_all2): Likewise.
11704 (ptmalloc_init): Likewise.
11705 (_int_new_arena): Likewise.
11706 (arena_get2): Likewise.
11707 * malloc/hooks.c (__malloc_get_state): Likewise.
11708 (__malloc_set_state): Likewise.
11709 * malloc/malloc.c: Likewise.
11710 (struct malloc_state): Likewise.
11711 (struct malloc_par): Likewise.
11712 (__libc_realloc): Likewise.
11713 (__libc_mallopt): Likewise.
11714
aeb95445
AZ
117152013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11716
11717 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11718
e8349efd
OB
117192013-12-09 Ondřej Bílka <neleai@seznam.cz>
11720
11721 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11722 macro to a function. Check for zero perturb_byte.
11723 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11724
f3eeb3fc 11725 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11726 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11727 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11728 force_reg by atomic_forced_read.
11729 * malloc/arena.c (ptmalloc_init): Likewise.
11730 * malloc/hooks.c (top_check): Likewise.
11731
be2f9009
AZ
117322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11733
11734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11735
e7b914bd
MT
117362013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11737
11738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11739
9f0be4f8
JM
117402013-12-08 Joseph Myers <joseph@codesourcery.com>
11741
11742 * math/auto-libm-test-in: Add tests of lgamma.
11743 * math/auto-libm-test-out: Regenerated.
11744 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11745 (M_LOG_2_SQRT_PIl): Likewise.
11746 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11748 mpfr_f_f1.
11749 (func_calc_desc): Add mpfr_f_f1 union field.
11750 (ARGS1): New macro.
11751 (ARGS2): Likewise.
11752 (ARGS3): Likewise.
11753 (ARGS4): Likewise.
11754 (RET1): Likewise.
11755 (RET2): Likewise.
11756 (CALC): Likewise.
11757 (FUNC): Likewise.
11758 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11759 (test_functions): Add lgamma.
11760 (calc_generic_results): Handle mpfr_f_f1.
11761 * sysdeps/i386/fpu/libm-test-ulps: Update.
11762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11763
24eeafdb
AZ
117642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11765
11766 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11767 __mpn_add_n for PowerPC64/POWER7.
11768 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11769 __mpn_sub_n for PowerPC64/POWER7.
11770
4a2c0fd4
AZ
11771 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11772 __mpn_addmul_1 for PowerPC64.
11773 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11774 __mpn_submul_1 for PowerPC64.
11775 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11776 for PowerPC64.
11777 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11778 for PowerPC64.
11779
4b5b548c
FS
117802013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11781
11782 [BZ #15089]
11783 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11784
0a3ac0aa
AZ
117852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11786
11787 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11788
ccdc8438
AZ
11789 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11790 add multiarch folders.
11791 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11792 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11793 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11794 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11795 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11796 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11797 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11798 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11799 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11800 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11801 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11808
2e973d99
AZ
11809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11810 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11812 New file.
11813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11814 New file.
11815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11816 multiarch __ieee754_hypot for PowerPC32.
11817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11818 New file.
11819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11820 New file.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11822 multiarch __ieee754_hypotf for PowerPC32.
11823
2d9470b2
AZ
11824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11825 long_double_symbol only if __logbl is defined.
11826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11827 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11829 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11831 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11833 path for implementation.
11834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11837 logb, and logbl multiarch implementations for PowerPC32.
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11839 file.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11841 file.
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11843 multiarch logb for PowerPC32.
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11845 file.
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11847 file.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11849 multiarch logbf for PowerPC32.
11850 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11852 file.
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11854 multiarch logbl implementation for PowerPC32.
11855
5212ffce
AZ
11856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11857 and modff multiarch implementations.
11858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11859 New file.
11860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11861 New file.
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11863 multiarch modf for PowerPC32.
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11865 New file.
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11867 New file.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11869 multiarch modff for PowerPC32.
11870
79dccf31
AZ
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11872 and lrintf multiarch implementations.
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11874 New file.
11875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11876 New file.
11877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11878 multiarch lrint for PowerPC32.
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11880 file: multiarch lrintf for PowerPC32.
11881
deb66480
AZ
11882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11883 and lroundf multiarch implementations.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11885 New file.
11886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11887 New file.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11889 New file.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11891 multiarch lround for PowerPC32.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11893 file: multiarch lroundf for PowerPC32.
11894
264b036b
AZ
11895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11896 copysign and copysignf multiarch implementations.
11897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11898 New file.
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11900 New file.
11901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11902 file: multiarch copysign for PowerPC32.
11903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11904 file: multiarch copysignf for PowerPC32.
11905
d47db6c9
AZ
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11907 and truncf multiarch implementations.
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11909 New file.
11910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11911 file.
11912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11913 multiarch trunc for PowerPC32.
11914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11915 New file.
11916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11917 New file.
11918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11919 multiarch truncf for PowerPC32.
11920
ddb60b5a
AZ
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11922 and roundf multiarch implementations.
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11924 New file.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11926 file.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11928 multiarch round for PowerPC32.
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11930 New file.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11932 New file.
11933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11934 multiarch roundf for PowerPC32.
11935
bedcf49b
AZ
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11937 and floorf multiarch implementations.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11939 New file.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11941 file.
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11943 multiarch floor for PowerPC32.
11944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11945 New file.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11947 New file.
11948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11949 multiarch floorf for PowerPC32.
11950
35ae5b40
AZ
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11952 and ceilf multiarch implementations.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11954 New file.
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11956 file.
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11958 multiarch ceil for PowerPC32.
11959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11960 New file.
11961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11962 file.
11963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11964 multiarch ceilf for PowerPC32.
11965
ae1a4cd9
AZ
11966 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11967 is defined.
11968 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11969 FINITEF is defined.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11971 and finitef multiarch implementations.
11972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11973 New file.
11974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11975 file.
11976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11977 multiarch finite for PowerPC32.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11979 New file.
11980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11981 file: multiarch finitef for PowerPC32.
11982
64fffd65
AZ
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11984 and isinff multiarch implementations.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11986 file.
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11988 file.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11990 multiarch isinf for PowerPC32.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11992 New file.
11993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11994 multiarch isinff for PowerPC32.
11995
8e4e7ba2
AZ
11996 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11997 alias when __isnan is defined.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11999 and isnanf multiarch implementations.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12001 file.
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12003 file.
12004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12005 file.
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12007 file.
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12009 multiarch isnan for PowerPC32.
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12011 New file.
12012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12013 New file.
12014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12015 multiarch isnanf for PowerPC32.
12016
ddba588e
AZ
12017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12018 and sqrtf multiarch implementations.
12019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12020 file.
12021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12022 file.
12023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12024 multiarch sqrt for PowerPC32.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12026 file.
12027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12028 file.
12029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12030 multiarch sqrtf for PowerPC32.
12031
0f96a2f0
AZ
12032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12033 and llroundf multiarch implementations.
12034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12035 New file.
12036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12037 New file.
12038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12039 New file.
12040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12041 file: multiarch llround for PowerPC32.
12042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12043 file: multiarch llroundf for PowerPC32.
12044
c9b5d79e
AZ
12045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12046 multiarch PowerPC32 fpu implementations.
12047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12048 New file.
12049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12050 New file.
12051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12052 multiarch llrint for PowerPC32.
12053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12054 New file.
12055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12056 New file.
12057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12058 file.
12059
9cbb3aab
AZ
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12061
ea5a72f8
AZ
12062 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12063 file.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12065 file.
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12067 file.
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12069 multiarch wordcopy for PPC32.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12071 wordcopy objects.
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12073 (__libc_ifunc_impl_list): Likewise.
12074 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12075 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12077 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12078 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12079 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12080
93be09e7
AZ
12081 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12083 file.
12084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12085 file.
12086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12087 file.
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12089 multiarch wcscpy for PPC32.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12091 multiarch objects.
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12093 (__libc_ifunc_impl_list): Likewise.
12094 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12095 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12096 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12097 sysdeps/powerpc/power6/wcscpy.c.
12098
bb04e529
AZ
12099 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12101 file.
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12103 file.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12105 file.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12107 multiarch wcsrchr for PPC32.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12109 multiarch objects.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12111 (__libc_ifunc_impl_list): Likewise.
12112 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12113 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12114 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12115 sysdeps/powerpc/power6/wcsrchr.c.
12116
05b5cd1c
AZ
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12118 file.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12120 file.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12123 multiarch wcschr for PPc32.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12125 multiarch objects.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12127 (__libc_ifunc_impl_list): Likewise.
12128 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12129 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12130 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12131 sysdeps/powerpc/power6/wcschr.c.
12132
ba964147
AZ
12133 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12135 file.
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12137 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12138 file: multiarch strchr for PPC32.
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12140 multiarch objects.
12141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12142 (__libc_ifunc_impl_list): Likewise.
12143
31c81aaa
AZ
12144 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12145 name.
12146 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12147 file.
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12149 file.
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12151 multiarch strchrnul for PPC32.
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12153 multiarch objects.
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12155 (__libc_ifunc_impl_list): Likewise.
12156
0d0607d9
AZ
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12158 file.
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12160 multiarch strncasecmp for PPC32.
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12162 file.
12163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12164 multiarch strncasecmp_l for PPC32.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12166 strncasecmp multiarch objects.
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12168 (__libc_ifunc_impl_list): Likewise.
12169
4dfd5c86
AZ
12170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12171 file.
12172 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12173 multiarch strncasecmp for PPC32.
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12175 New file.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12177 multiarch strcasecmp_l for PPC32.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12179 multiarch objects.
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12181 (__libc_ifunc_impl_list): Likewise.
12182
a19e01a3
AZ
12183 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12184 file.
12185 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12186 file.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12188 multiarch strncmp for PPC32.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12190 multiarch objects.
12191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12192 (__libc_ifunc_impl_list): Likewise.
12193
ae9cf7a2
AZ
12194 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12195 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12196 file.
12197 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12198 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12200 multiarch objects.
12201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12202 (__libc_ifunc_impl_list): Likewise.
12203
3148bb7d
AZ
12204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12205 file.
12206 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12207 file.
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12210 multiarch objects.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12212 (__libc_ifunc_impl_list): Likewise.
12213
7af8b946
AZ
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12215 file.
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12217 file.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12219 multiarch rawmemchr for PPC32.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12221 multiarch objects.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12223 (__libc_ifunc_impl_list): Likewise.
12224
03a6aa6a
AZ
12225 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12226 file.
12227 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12228 file.
12229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12230 file: memrchr multiarch for PPC32.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12232 multiarch objects.
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12234 (__libc_ifunc_impl_list): Likewise.
12235
1c62e6d9
AZ
12236 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12238 file.
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12240 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12241 multiarch memchr for PPC32.
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12243 multiarch objects.
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12245 (__libc_ifunc_impl_list): Likewise.
12246
87da8bdb
AZ
12247 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12248 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12249 file.
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12251 file.
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12253 file: multiarch mempcpy for PPC32.
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12255 multiarch objects.
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12257 (__libc_ifunc_impl_list): Likewise.
12258
20ed4714
AZ
12259 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12261 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12263 multiarch bzero for PPC32.
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12265 file.
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12267 file.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12269 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12270 file: multiarch memset for PPC32.
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12273 memset multiarch objects.
12274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12275 (__libc_ifunc_impl_list): Likewise.
12276
ab3e3a46
AZ
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12278 file.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12281 memcmp for PPC32.
12282 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12284 multiarch objects.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12286 (__libc_ifunc_impl_list): Likewise.
12287
930de6f0
AZ
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12291 file.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12293 file.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12295 file.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12297 multiarch memcpy for PPC32.
12298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12299 multiarch objects.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12301 (__libc_ifunc_impl_list): Likewise.
12302
4c628e00
AZ
12303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12304 support multiarch for POWER/PPC32.
12305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12306 Likewise.
12307 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12309 Implies file to make multiarch folder appers before the fpu and
12310 default folder for power4 configuration.
12311
f4479220
SP
123122013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12313
12314 * scripts/bench.pl: Append volatile keyword to type.
12315
8517800f
KK
123162013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12317
12318 * sysdeps/sh/sotruss-lib.c: New file.
12319 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12320
180138f1
AZ
123212013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12322
12323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12324
bbf37bdc
JM
123252013-12-05 Joseph Myers <joseph@codesourcery.com>
12326
e47cc4e0
JM
12327 [BZ #6810]
12328 * math/w_tgamma.c: Include <errno.h>.
12329 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12330 * math/w_tgammaf.c: Include <errno.h>.
12331 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12332 * math/w_tgammal.c: Include <errno.h>.
12333 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12334 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12335 underflow. Add more tgamma tests.
12336 * math/auto-libm-test-out: Regenerated.
12337 * sysdeps/i386/fpu/libm-test-ulps: Update.
12338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339
bbf37bdc
JM
12340 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12341 sin, sinh, tan, tanh, tgamma, y0 and y1.
12342 * math/auto-libm-test-out: Regenerated.
12343 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12344 (TEST_COND_x86): Likewise.
12345 (M_E2l): Remove macro.
12346 (M_E3l): Likewise.
12347 (M_2_SQRT_PIl): Likewise.
12348 (M_SQRT_PIl): Likewise.
12349 (M_1_DIV_El): Likewise.
12350 (log_test_data): Use AUTO_TESTS_f_f.
12351 (log10_test_data): Likewise.
12352 (log1p_test_data): Likewise.
12353 (log2_test_data): Likewise.
12354 (sin_test_data): Likewise.
12355 (sin_tonearest_test_data): Likewise.
12356 (sin_towardzero_test_data): Likewise.
12357 (sin_downward_test_data): Likewise.
12358 (sin_upward_test_data): Likewise.
12359 (sinh_test_data): Likewise.
12360 (sinh_tonearest_test_data): Likewise.
12361 (sinh_towardzero_test_data): Likewise.
12362 (sinh_downward_test_data): Likewise.
12363 (sinh_upward_test_data): Likewise.
12364 (tan_test_data): Likewise.
12365 (tan_tonearest_test_data): Likewise.
12366 (tan_towardzero_test_data): Likewise.
12367 (tan_downward_test_data): Likewise.
12368 (tan_upward_test_data): Likewise.
12369 (tanh_test_data): Likewise.
12370 (tgamma_test_data): Likewise.
12371 (y0_test_data): Likewise.
12372 (y1_test_data): Likewise.
12373 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12374 (special_real_inputs): Add pi/4.
12375 * sysdeps/i386/fpu/libm-test-ulps: Update.
12376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12377
eb5ad6b9
AZ
123782013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12379
12380 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12381 "longjmp_target" static probes.
12382 (__longjmp): Rename to __longjmp_symbol.
12383 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12384 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12385 on which longjmp to generate.
12386 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12388 probe.
12389 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12390 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12391 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12392 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12393 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12394 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12396 __longjmp_symbol based on which __longjmp to generate.
12397 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12398 probe.
12399 (setjmp): Rename to setjmp_symbol.
12400 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12401 (_setjmp): Rename to _setjmp_symbol.
12402 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12403 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12404 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12405 which setjmp to generate.
12406 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12407 "longjmp_target" static probes.
12408
d136c6dc
SP
124092013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12410
9298ecba
SP
12411 * benchtests/README: Add note about output arguments.
12412 * benchtests/bench-sincos.c: Remove file.
12413 * benchtests/sincos-inputs: New file.
12414 * scripts/bench.pl: Identify output arguments and define
12415 static variables for them.
12416
232983e9
SP
12417 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12418
d136c6dc
SP
12419 [BZ #15941]
12420 * Makefile (INSTALL): Add install-plain.texi as the primary
12421 dependency.
12422 * manual/install-plain.texi: New file.
12423 * manual/install.texi: Include node directive only for
12424 non-plaintext output.
12425
699ff837
JM
124262013-12-04 Joseph Myers <joseph@codesourcery.com>
12427
ab07cea8
JM
12428 * stdlib/longlong.h: Update from GCC.
12429
699ff837
JM
12430 [BZ #6807]
12431 [BZ #15901]
12432 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12433 * math/w_j0f.c (y0f): Likewise.
12434 * math/w_j0l.c (__y0l): Likewise.
12435 * math/w_j1.c (y1): Likewise.
12436 * math/w_j1f.c (y1f): Likewise.
12437 * math/w_j1l.c (__y1l): Likewise
12438 * math/w_jn.c (yn): Likewise.
12439 * math/w_jnf.c (ynf): Likewise.
12440 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12441 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12442 value for Bessel function domain errors outside _SVID_ mode.
12443 Adjust sign of return value for yn (negative integer, 0).
12444 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12445 by zero in return for negative x and set sign appropriately for
12446 negative n.
12447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12448 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12449 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12450 expectations in error cases.
12451 (y1_test_data): Likewise.
12452 (yn_test_data): Likewise.
12453 * sysdeps/i386/fpu/libm-test-ulps: Update.
12454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12455
5b118558
UW
124562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12457
12458 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12459 "64" to "64-v1". Add "64-v2".
12460 (abi-64-options): Rename to ...
12461 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12462 (abi-64-condition): Rename to ...
12463 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12464 (abi-64-ld-soname): Rename to ...
12465 (abi-64-v1-ld-soname): ... this.
12466 (abi-64-v2-options): Define.
12467 (abi-64-v2-condition): Likewise.
12468 (abi-64-v2-ld-soname): Likewise.
12469 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12470 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12474
61cd8fe4
UW
124752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12476 Alan Modra <amodra@gmail.com>
12477
12478 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12479 New versions for use with the ELFv2 ABI.
12480 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12481 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12482 declaration.
12483 (struct La_ppc64v2_retval): Likewise.
12484 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12485 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12486 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12487 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12488 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12490 Do not save or restore CR.
12491 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12492 (_dl_profile_resolve): Do no save or restore CR. Support extended
12493 return values for ELFv2 ABI. Fix location of FPR return registers.
12494 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12495 updated values for _CALL_ELF == 2.
12496 (La_regs, La_retval, int_retval): Likewise.
12497
8b8a692c
UW
124982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12499
12500 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12501 (FRAME_MIN_SIZE_PARM): Likewise.
12502 (FRAME_BACKCHAIN): Likewise.
12503 (FRAME_CR_SAVE): Likewise.
12504 (FRAME_LR_SAVE): Likewise.
12505 (FRAME_TOC_SAVE): Likewise.
12506 (FRAME_PARM_SAVE): Likewise.
12507 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12508 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12509 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12510 (call_mcount_parm_offset): New macro.
12511 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12512 (PROF): Use symbolic stack frame offsets.
12513 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12514 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12515 Redefine in terms of FRAME_MIN_SIZE.
12516 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12517 (_dl_profile_resolve): Likewise. Update comment.
12518 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12519 symbols stack frame offsets.
12520 (__sigsetjmp): Likewise.
12521 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12522 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12523 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12524 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12525
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12527 (FRAME_BACKCHAIN): Remove.
12528 (FRAME_CR_SAVE): Likewise.
12529 (FRAME_LR_SAVE): Likewise.
12530 (FRAME_COMPILER_DW): Likewise.
12531 (FRAME_LINKER_DW): Likewise.
12532 (FRAME_TOC_SAVE): Likewise.
12533 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12534 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12535 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12536 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12538 (CHECK_SP): Use symbolic stack frame offsets.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12540 zone" instead of caller's parameter save area for temp storage.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12542 Likewise. Also, use symbolic stack frame offsets.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12544 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12545 our own stack frame instead of the caller's.
12546 (__socket): Use symbolic stack frame offsets.
12547
122b66de
UW
125482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12549 Alan Modra <amodra@gmail.com>
12550
12551 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12552 Define.
57f41c40
AS
12553 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12554 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12555 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12556 New function.
12557 (elf_machine_fixup_plt): Call it.
12558 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12559 reloc arguments.
12560 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12561 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12562 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12563 r2 before calling target.
12564
696caf1d
UW
125652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12566 Alan Modra <amodra@gmail.com>
12567
12568 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12569 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12570 versions of macros to support ELFv2 ABI.
12571 (LOCALENTRY): New macro.
12572 (ENTRY, EALIGN): Use it.
12573 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12574 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12575 fall through into ENTRY entry point.
12576 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12577 Only define if _CALL_ELF != 2.
12578
12579 (elf_machine_matches_host): Verify ABI version matches.
12580 (RTLD_START): Use LOCALENTRY.
12581 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12582 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12583 (PLT_ENTRY_WORDS): New macro.
12584 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12585 (elf_machine_runtime_setup): Support ELFv2 ABI.
12586 (elf_machine_fixup_plt): Likewise.
12587 (elf_machine_plt_conflict): Likewise.
12588 (resolve_ifunc): Likewise.
12589 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12590 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12591 Likewise.
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12593 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12595 (makecontext): Support ELFv2 ABI.
12596 * elf/elf.h (EF_PPC64_ABI): Define.
12597
d31beafa
UW
125982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12599
57f41c40
AS
12600 * sysdeps/powerpc/powerpc64/sysdep.h
12601 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12602 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12603 (ENTRY) [ASSEMBLER]: ... but instead here ...
12604 (EALIGN) [ASSEMBLER]: ... and here.
12605 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12606 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12607 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12608 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12609 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12610 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12611 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12612 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12614 Use PPC64_LOAD_FUNCPTR.
12615
b525166b
UW
12616 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12617
7ec07d9a
AM
126182013-12-04 Alan Modra <amodra@gmail.com>
12619
12620 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12621 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12622 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12623 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12624
12625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12626 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12627 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12628 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12629 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12630 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12631
5162e7dd
UW
126322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12633
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12635 (__makecontext): Fix incorrect CFI when backtracing out of
12636 context created via makecontext.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12638 (__setcontext): Fix incorrect CFI during switch to new context.
12639 (__novec_setcontext): Likewise.
12640
19e3372b
OB
126412013-12-04 Ondřej Bílka <neleai@seznam.cz>
12642
12643 [BZ #4772]
12644 * time/strptime_l.c (__strptime_internal): Allow modifiers
12645 in strptime.
12646 * time/tst-strptime.c (day_tests): Add testcase.
12647
ecaf142d
SP
126482013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12649
12650 * scripts/bench.pl: Skip over blank lines.
12651
fbf964ae
PE
126522013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12653
12654 [BZ #926]
12655 * manual/time.texi (Calendar Time): Clarify what timezone functions
12656 use.
12657
fa60a674
AZ
126582013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12659
12660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12661
d674f0ef
OB
126622013-12-04 Ondřej Bílka <neleai@seznam.cz>
12663
12664 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12665 implementation.
12666 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12667 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12668 * debug/memset_chk.c (__memset_chk): Likewise.
12669 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12670 * debug/strncpy_chk.c: Likewise.
12671
17dea188
JM
126722013-12-03 Joseph Myers <joseph@codesourcery.com>
12673
749008ff
JM
12674 [BZ #15268]
12675 [BZ #15425]
12676 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12677 (__ieee754_exp): For possibly underflowing results, check size of
12678 result and force underflow exception if required.
12679 * math/auto-libm-test-in: Add more tests of exp.
12680 * math/auto-libm-test-out: Regenerated.
12681 * sysdeps/i386/fpu/libm-test-ulps: Update.
12682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12683
17dea188
JM
12684 [BZ #16283]
12685 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12686 * math/w_exp2f.c (__exp2f): Likewise.
12687 * math/w_exp2l.c (__exp2l): Likewise.
12688 * math/auto-libm-test-in: Do not allow missing errno on exp2
12689 underflow.
12690 * math/auto-libm-test-out: Regenerated.
12691
b20de2c3
OB
126922013-12-03 Ondřej Bílka <neleai@seznam.cz>
12693
12694 [BZ #16274]
12695 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12696 handle filename validation.
12697 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12698 (do_open): Delete.
12699
d8e2dbe3
JM
127002013-12-03 Joseph Myers <joseph@codesourcery.com>
12701
34e16df5
JM
12702 [BZ #6786]
12703 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12704 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12705 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12706 <float.h>.
12707 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12709 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12711 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12712 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12713 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12714 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12715 Add more erfc tests.
12716 * math/auto-libm-test-out: Regenerated.
12717 * sysdeps/i386/fpu/libm-test-ulps: Update.
12718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12719
d8e2dbe3
JM
12720 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12721 exp2, expm1, j0 and j1.
12722 * math/auto-libm-test-out: Regenerated.
12723 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12724 (erfc_test_data): Likewise.
12725 (exp_test_data): Likewise.
12726 (exp_tonearest_test_data): Likewise.
12727 (exp_towardzero_test_data): Likewise.
12728 (exp_downward_test_data): Likewise.
12729 (exp_upward_test_data): Likewise.
12730 (exp10_test_data): Likewise.
12731 (exp2_test_data): Likewise.
12732 (expm1_test_data): Likewise.
12733 (j0_test_data): Likewise.
12734 (j1_test_data): Likewise.
12735 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12736 (input_flag_type): Add flag_xfail_rounding.
12737 (input_flags): Add xfail-rounding.
12738 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12739 (output_for_one_input_case): Handle flag_xfail_rounding.
12740 * sysdeps/i386/fpu/libm-test-ulps: Update.
12741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12742
18d14251
AJ
127432013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12744
3d2e6075 12745 [BZ #16289]
18d14251
AJ
12746 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12747 division by 0.
12748
520d437b
SP
127492013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12750
12751 [BZ #16195]
12752 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12753 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12754 (STAP_PROBE0): New macro.
12755 (STAP_PROBE1): Likewise.
12756 (STAP_PROBE2): Likewise.
12757 (STAP_PROBE3): Likewise.
12758 (STAP_PROBE4): Likewise.
12759
416e0145
OB
127602013-12-02 Ondřej Bílka <neleai@seznam.cz>
12761
12762 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12763
9d17796a
SE
127642013-12-02 Steve Ellcey <sellcey@mips.com>
12765
12766 * benchtests/Makefile (bench): Add sqrt.
12767 (LDLIBS-bench-sqrt): New.
12768 * benchtests/sqrt-input: New.
12769
f524d6a8
PS
127702013-12-02 Pavel Simerda <psimerda@redhat.com>
12771
639a0ef8
PS
12772 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12773 (GAIH_EAI): Likewise.
12774 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12775 (gaih_inet): Likewise.
12776 (getaddrinfo): Don't use GAIH_EAI.
12777
f524d6a8
PS
12778 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12779 (struct gaih): Remove definition.
12780
df3aedaf
SP
127812013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12782
12783 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12784 Use HERRNOP directly.
12785
1ab19dec
AZ
127862013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12787
b42ad38d 12788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12789
176b0c79
JM
127902013-11-30 Joseph Myers <joseph@codesourcery.com>
12791
12792 * math/gen-auto-libm-tests.c (test_functions): Add more
12793 single-argument functions.
12794 (special_fill_pi_2): New function.
12795 (special_fill_minus_pi_2): Likewise.
12796 (special_fill_pi_6): Likewise.
12797 (special_fill_minus_pi_6): Likewise.
12798 (special_fill_pi_3): Likewise.
12799 (special_fill_2pi_3): Likewise.
12800 (special_fill_e): Likewise.
12801 (special_fill_1_e): Likewise.
12802 (special_fill_e_minus_1): Likewise.
12803 (special_real_inputs): Add more special inputs.
12804 (output_for_one_input_case): Do not require ERANGE on underflow to
12805 zero if round-to-nearest result does not underflow to zero, unless
12806 exact results required.
12807 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12808 atan, atanh, cbrt, cos and cosh.
12809 * math/auto-libm-test-out: Regenerated.
12810 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12811 (acos_tonearest_test_data): Likewise.
12812 (acos_towardzero_test_data): Likewise.
12813 (acos_downward_test_data): Likewise.
12814 (acos_upward_test_data): Likewise.
12815 (acosh_test_data): Likewise.
12816 (asin_test_data): Likewise.
12817 (asin_tonearest_test_data): Likewise.
12818 (asin_towardzero_test_data): Likewise.
12819 (asin_upward_test_data): Likewise.
12820 (asinh_test_data): Likewise.
12821 (atan_test_data): Likewise.
12822 (atanh_test_data): Likewise.
12823 (cbrt_test_data): Likewise.
12824 (cos_test_data): Likewise.
12825 (cos_tonearest_test_data): Likewise.
12826 (cos_towardzero_test_data): Likewise.
12827 (cos_downward_test_data): Likewise.
12828 (cos_upward_test_data): Likewise.
12829 (cosh_test_data): Likewise.
12830 (cosh_tonearest_test_data): Likewise.
12831 (cosh_towardzero_test_data): Likewise.
12832 (cosh_downward_test_data): Likewise.
12833 (cosh_upward_test_data): Likewise.
12834 * sysdeps/i386/fpu/libm-test-ulps: Update.
12835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836
ffb536d0
JM
128372013-11-29 Joseph Myers <joseph@codesourcery.com>
12838
2a77a467
JM
12839 [BZ #6787]
12840 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12841 * math/w_exp10f.c (__exp10f): Likewise.
12842 * math/w_exp10l.c (__exp10l): Likewise.
12843 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12844 errno settings in existing tests.
12845
ea3bc4e8
JM
12846 [BZ #14032]
12847 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12848 precision control set to double precision.
12849 * sysdeps/i386/fpu/w_sqrt.c: New file.
12850 * math/auto-libm-test-in: Add more tests.
12851 * math/auto-libm-test-out: Update.
12852
0712c9d8
JM
12853 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12854 (sqrt_test_tonearest): New function.
12855 (sqrt_towardzero_test_data): New variable.
12856 (sqrt_test_towardzero): New function.
12857 (sqrt_downward_test_data): New variable.
12858 (sqrt_test_downward): New function.
12859 (sqrt_upward_test_data): New variable.
12860 (sqrt_test_upward): New function.
12861 (main): Call the new functions.
12862
ffb536d0
JM
12863 * math/gen-auto-libm-tests.c: New file.
12864 * math/auto-libm-test-in: Likewise.
12865 * math/auto-libm-test-out: New generated file.
12866 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12867 variables.
12868 (%beautify): Add generated representations of zero.
12869 (top level): Set $auto_input and call parse_auto_input.
12870 (beautify): Remove trailing "f" from hex float constants.
12871 (parse_args): Handle XFAIL_TEST.
12872 (convert_condition): New function.
12873 (or_value): Likewise.
12874 (or_cond_value): Likewise.
12875 (generate_testfile): Handle AUTO_TESTS_* lines.
12876 (parse_auto_input): New function.
12877 * math/libm-test.inc (XFAIL_TEST): New macro.
12878 (ERRNO_UNCHANGED): Update value.
12879 (ERRNO_EDOM): Likewise.
12880 (ERRNO_ERANGE): Likewise.
12881 (IGNORE_RESULT): Likewise.
12882 (TEST_COND_flt_32): New macro.
12883 (TEST_COND_dbl_64): Likewise.
12884 (TEST_COND_ldbl_96_intel): Likewise.
12885 (TEST_COND_ldbl_96_m68k): Likewise.
12886 (TEST_COND_ldbl_128): Likewise.
12887 (TEST_COND_ldbl_128ibm): Likewise.
12888 (TEST_COND_long32): Likewise.
12889 (TEST_COND_long64): Likewise.
12890 (TEST_COND_before_rounding): Likewise.
12891 (TEST_COND_after_rounding): Likewise.
12892 (enable_test): Handle XFAIL_TEST flag.
12893 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12894 with finite results.
12895 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12896 auto-libm-test-out.
12897
acd98a8e
AK
128982013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12900
12901 [BZ #16214]
12902 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12903 __tls_get_addr_internal instead of __tls_get_offset in order to
12904 avoid GOT pointer dependency. Make rtld export
12905 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12906 __tls_get_addr since we are a __tls_get_offset platform.
12907 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12908 GOT pointer being set up before.
12909 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12910
3c1c46a6
JM
129112013-11-28 Joseph Myers <joseph@codesourcery.com>
12912
7475aef5
JM
12913 * manual/math.texi (Errors in Math Functions): Document accuracy
12914 goals.
12915
8bca7cd8
JM
12916 [BZ #15004]
12917 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12918 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12923 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12933
91a1f3fe
JM
12934 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12935 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12936 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12937 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12938 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12939 Likewise.
12940 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12941 Likewise.
12942 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12943 Likewise.
12944 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12945 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12946 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12947 atomic-feupdateenv and flt-rounds.
12948 * sysdeps/powerpc/nofpu/Versions (libc): Add
12949 __atomic_feholdexcept, __atomic_feclearexcept,
12950 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12951 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12952 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12953 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12954 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12955 here.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12957 Update.
12958
c5df7609
JM
12959 * manual/arith.texi (FP Exceptions): Document that exceptions may
12960 not be raised when matherr is used.
12961 (Math Error Reporting): Document overflow in directed rounding
12962 modes. Document that errno may not be set when finite values are
12963 returned on overflow. Document intent to set errno on underflow
12964 only for underflow to zero.
12965
3c1c46a6
JM
12966 [BZ #16271]
12967 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12968 round-to-nearest then adjust result for other rounding modes.
12969 * include/fenv.h (fegetround): Use libm_hidden_proto.
12970 * math/fegetround.c (fegetround): Use libm_hidden_def.
12971 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12972 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12973 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12974 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12975 Likewise.
12976 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12977 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12978 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12979 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12980
5a4c6d53
SP
129812013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12982
12983 [BZ #16077]
12984 * nss/Versions (libnss_files): Add
12985 _nss_files_gethostbyname3_r.
12986 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12987 New function.
12988 (HOST_DB_LOOKUP): Remove macro.
12989 (_nss_files_gethostbyname_r): Implement function without the
12990 HOST_DB_LOOKUP macro.
12991 (_nss_files_gethostbyname2_r): Likewise.
12992
897b98ba
OB
129932013-11-28 Ondřej Bílka <neleai@seznam.cz>
12994
12995 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12996
6f476861
UB
129972013-11-26 Uros Bizjak <ubizjak@gmail.com>
12998
12999 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13000 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13001 warning.
13002
bd12ab55
AZ
130032013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004
13005 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13006 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13007 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13008 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13009 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13010 __fe_nomask_env_priv and attribute_hidden.
13011 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13012 (libc_feupdateenv_test_ppc): Likewise.
13013 (libc_feresetround_ppc): Likewise.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13015 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13016 compat_symbol macro.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13018 (__fe_nomask_env): Likewise.
13019 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13020
52bb6543
OB
130212013-11-26 Ondřej Bílka <neleai@seznam.cz>
13022
13023 * string/Makefile: Remove ifunc tests.
13024 * string/test-string.h: Define TEST_IFUNC.
13025 * string/test-bcopy-ifunc.c: Remove.
13026 * string/test-bzero-ifunc.c: Likewise.
13027 * string/test-memccpy-ifunc.c: Likewise.
13028 * string/test-memchr-ifunc.c: Likewise.
13029 * string/test-memcmp-ifunc.c: Likewise.
13030 * string/test-memcpy-ifunc.c: Likewise.
13031 * string/test-memmem-ifunc.c: Likewise.
13032 * string/test-memmove-ifunc.c: Likewise.
13033 * string/test-mempcpy-ifunc.c: Likewise.
13034 * string/test-memrchr-ifunc.c: Likewise.
13035 * string/test-memset-ifunc.c: Likewise.
13036 * string/test-rawmemchr-ifunc.c: Likewise.
13037 * string/test-stpcpy-ifunc.c: Likewise.
13038 * string/test-stpncpy-ifunc.c: Likewise.
13039 * string/test-strcasecmp-ifunc.c: Likewise.
13040 * string/test-strcasestr-ifunc.c: Likewise.
13041 * string/test-strcat-ifunc.c: Likewise.
13042 * string/test-strchr-ifunc.c: Likewise.
13043 * string/test-strchrnul-ifunc.c: Likewise.
13044 * string/test-strcmp-ifunc.c: Likewise.
13045 * string/test-strcpy-ifunc.c: Likewise.
13046 * string/test-strcspn-ifunc.c: Likewise.
13047 * string/test-strlen-ifunc.c: Likewise.
13048 * string/test-strncasecmp-ifunc.c: Likewise.
13049 * string/test-strncat-ifunc.c: Likewise.
13050 * string/test-strncmp-ifunc.c: Likewise.
13051 * string/test-strncpy-ifunc.c: Likewise.
13052 * string/test-strnlen-ifunc.c: Likewise.
13053 * string/test-strpbrk-ifunc.c: Likewise.
13054 * string/test-strrchr-ifunc.c: Likewise.
13055 * string/test-strspn-ifunc.c: Likewise.
13056 * string/test-strstr-ifunc.c: Likewise.
13057
ab260039 130582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13059
13060 * benchtests/Makefile: Remove ifunc tests.
13061 * benchtests/bench-string.h: Define TEST_IFUNC.
13062 * benchtests/bench-bcopy-ifunc.c: Remove.
13063 * benchtests/bench-bzero-ifunc.c: Likewise.
13064 * benchtests/bench-memccpy-ifunc.c: Likewise.
13065 * benchtests/bench-memchr-ifunc.c: Likewise.
13066 * benchtests/bench-memcmp-ifunc.c: Likewise.
13067 * benchtests/bench-memcpy-ifunc.c: Likewise.
13068 * benchtests/bench-memmem-ifunc.c: Likewise.
13069 * benchtests/bench-memmove-ifunc.c: Likewise.
13070 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13071 * benchtests/bench-memrchr-ifunc.c: Likewise.
13072 * benchtests/bench-memset-ifunc.c: Likewise.
13073 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13074 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13075 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13076 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13077 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13078 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13079 * benchtests/bench-strcat-ifunc.c: Likewise.
13080 * benchtests/bench-strchr-ifunc.c: Likewise.
13081 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13082 * benchtests/bench-strcmp-ifunc.c: Likewise.
13083 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13084 * benchtests/bench-strcpy-ifunc.c: Likewise.
13085 * benchtests/bench-strcspn-ifunc.c: Likewise.
13086 * benchtests/bench-strlen-ifunc.c: Likewise.
13087 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13088 * benchtests/bench-strncat-ifunc.c: Likewise.
13089 * benchtests/bench-strncmp-ifunc.c: Likewise.
13090 * benchtests/bench-strncpy-ifunc.c: Likewise.
13091 * benchtests/bench-strnlen-ifunc.c: Likewise.
13092 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13093 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13094 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13095 * benchtests/bench-strspn-ifunc.c: Likewise.
13096 * benchtests/bench-strstr-ifunc.c: Likewise.
13097
130982013-11-26 Ondřej Bílka <neleai@seznam.cz>
13099
ab260039
OB
13100 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13101
d1d9eaf4 131022013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13103
d1d9eaf4
OB
13104 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13105 * rt/aio.h: Likewise.
13106 * sysdeps/gnu/bits/utmp.h: Likewise.
13107 * sysdeps/gnu/bits/utmpx.h: Likewise.
13108 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13109 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13110 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13111 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13112 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13113 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13114 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13115 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13117 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13118 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13119 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13120 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13123 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13124 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13125 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13126 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13127 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13128 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13129 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13130 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13131 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13132 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13134 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13135 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13136 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13137 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13140 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13142 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13143 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13144 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13145 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13146 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13147 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13148 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13149 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13150
a7624ed9
CD
131512013-11-25 Carlos O'Donell <carlos@redhat.com>
13152
13153 [BZ #16245]
13154 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13155 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13156
63cfe52b
JM
131572013-11-25 Joseph Myers <joseph@codesourcery.com>
13158
13159 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13160 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13161 Likewise.
13162
41e8926a
AZ
131632013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13164
13165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13166 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13167 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13168 (__fesetround): Remove define.
13169 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13170 rounding and exceptions handling.
13171 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13172 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13173 (__fe_nomask_env): Likewise.
13174 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13175 __fegetround instead of fegetround.
13176 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13178
6851bd4d
RM
131792013-11-21 Roland McGrath <roland@hack.frob.com>
13180
070906ff
RM
13181 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13182 it's there.
13183
6851bd4d
RM
13184 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13185
84ae135d
MI
131862013-11-21 Meador Inge <meadori@codesourcery.com>
13187
13188 [BZ #11157]
13189 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13190 (encrypt_r): Likewise.
13191 * malloc/obstack.h (obstack_free): Likewise.
13192 * posix/unistd.h (encrypt): Likewise.
13193
daf75146
GM
131942013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13195
13196 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13197 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13198 DL_CALL_DT_FINI() that call the functions directly.
13199 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13200 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13201 * elf/dl-fini.c: Likewise.
13202
10ad46bc
OB
132032013-11-20 Ondřej Bílka <neleai@seznam.cz>
13204
13205 * malloc/hooks.c (memalign_check): Add alignment rounding.
13206 * malloc/malloc.c (_mid_memalign): New function.
13207 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13208 Implement by calling _mid_memalign.
13209 * manual/probes.texi (Memory Allocation Probes): Remove
13210 memory_valloc_retry and memory_pvalloc_retry.
13211
f3fd2628
SP
132122013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
4712799f
SP
13214 * locale/programs/locarchive.c (open_archive): Add const
13215 qualifier to ARCHIVEFNAME and copy default fname to
13216 DEFAULT_FNAME.
13217
0417b20f
SP
13218 [BZ #15601]
13219 * libio/tst-widetext.input: Rename Oriya to Odia.
13220 * locale/iso-639.def: Likewise.
13221
f3fd2628
SP
13222 * manual/probes.texi (Mathematical Function Probes): Add
13223 documentation for sin, cos, asin and acos probes.
13224 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13225 (__sin32): Add slowasin probe.
13226 (__cos32): Add slowacos probe.
13227 (__mpsin): Add slowsin probe.
13228 (__mpcos): Add slowcos probe.
13229
73c1ce4f
JM
132302013-11-19 Joseph Myers <joseph@codesourcery.com>
13231
13232 [BZ #15483]
13233 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13234 thread-local __sim_exceptions_thread and global
13235 __sim_exceptions_global.
13236 (__sim_disabled_exceptions): Change to thread-local
13237 __sim_disabled_exceptions_thread and global
13238 __sim_disabled_exceptions_global.
13239 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13240 and global __sim_round_mode_global.
13241 (__simulate_exceptions): Use thread-local floating-point state and
13242 set global state from it as needed.
13243 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13244 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13245 __sim_round_mode_thread.
13246 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13247 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13248 and global __sim_exceptions_global.
13249 (__sim_disabled_exceptions): Change to thread-local
13250 __sim_disabled_exceptions_thread and global
13251 __sim_disabled_exceptions_global.
13252 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13253 and global __sim_round_mode_global.
13254 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13255 (SIM_SET_GLOBAL): Likewise.
13256 * sysdeps/powerpc/soft-fp/sfp-machine.h
13257 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13258 __sim_round_mode_thread.
13259 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13260 __sim_disabled_exceptions_thread.
13261 (__sim_exceptions): Change to __sim_exceptions_thread.
13262 (__sim_disabled_exceptions): Change to
13263 __sim_disabled_exceptions_thread.
13264 (__sim_round_mode): Change to __sim_round_mode_thread.
13265 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13266 thread-local floating-point state and set global state from it as
13267 needed.
13268 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13269 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13270 (__sim_disabled_exceptions): Remove extern declaration.
13271 (feenableexcept): Use thread-local floating-point state and set
13272 global state from it as needed.
13273 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13274 extern declaration.
13275 (__sim_disabled_exceptions): Likewise.
13276 (__sim_round_mode): Likewise.
13277 (__fegetenv): Use thread-local floating-point state.
13278 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13279 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13280 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13281 floating-point state and set global state from it as needed.
13282 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13283 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13284 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13285 Likewise.
13286 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13287 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13288 Likewise.
13289 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13290 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13291 Use __sim_round_mode_thread.
13292 * math/test-fenv-tls.c: New file.
13293 * math/Makefile (tests): Add test-fenv-tls.
13294 ($(objpfx)test-fenv-tls): Depend on
13295 $(common-objpfx)nptl/libpthread.so.
13296
b5449b12
AS
132972013-11-19 Andreas Schwab <schwab@suse.de>
13298
13299 * locale/programs/locale.c (show_info): Decode wordarray elements.
13300 * locale/categories.def (LC_MONETARY): Add element for
13301 _NL_MONETARY_CRNCYSTR.
13302 * locale/C-monetary.c (conversion_rate): New variable.
13303 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13304 element.
13305
e186536b
CM
133062013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13307
13308 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13309 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13310
5c349950
PP
133112013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13312
13313 * elf/Makefile (tst-auxv): New test.
13314 * elf/tst-auxv.c: New
13315 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13316
699df45b
JM
133172013-11-18 Joseph Myers <joseph@codesourcery.com>
13318
13319 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13320 (hidden_proto): Caller changed.
13321 (hidden_tls_proto): New macro.
13322 (libc_hidden_tls_proto): Likewise.
13323 (rtld_hidden_tls_proto): Likewise.
13324 (libm_hidden_tls_proto): Likewise.
13325 (libresolv_hidden_tls_proto): Likewise.
13326 (librt_hidden_tls_proto): Likewise.
13327 (libdl_hidden_tls_proto): Likewise.
13328 (libnss_files_hidden_tls_proto): Likewise.
13329 (libnsl_hidden_tls_proto): Likewise.
13330 (libnss_nisplus_hidden_tls_proto): Likewise.
13331 (libutil_hidden_tls_proto): Likewise.
13332
b7589107
OB
133332013-11-18 Ondřej Bílka <neleai@seznam.cz>
13334
13335 [BZ #10253]
13336 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13337 (decompose_rpath): Defer expansion to fillin_rpath.
13338 (_dl_init_paths): Pass linkmap to fillin_rpath.
13339
250c23bd
RS
133402013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13341
13342 * benchtests/Makefile: Add strsep.
13343 * benchtests/bench-strsep.c: New file: strsep benchtest.
13344 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13345
a7931fcf
AS
133462013-11-18 Andreas Schwab <schwab@suse.de>
13347
13348 * locale/programs/locale.c (show_info) [case byte]: Check for
13349 '\377' instead of '\177'.
13350 * locale/C-monetary.c (not_available): Always use "\377".
13351 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13352 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13353 detect unavailable sign_posn locale elements.
13354 * locale/localeconv.c (__localeconv): For grouping and
13355 mon_grouping handle "\177" and "\377" like no grouping.
13356 (INT_ELEM): New macro. Use it to set all numeric members.
13357 * locale/programs/ld-monetary.c (monetary_read)
13358 <tok_mon_grouping>: Normalize single -1 to the empty string.
13359 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13360 Likewise.
13361
728dab0e
OB
133622013-11-07 Ondřej Bílka <neleai@seznam.cz>
13363
13364 [BZ #16055]
13365 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13366 when we match (nil).
13367 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13368
66294491
JM
133692013-11-16 Joseph Myers <joseph@codesourcery.com>
13370
ce665817
JM
13371 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13372 (NO_TEST_INLINE): Update value.
13373 (ERRNO_UNCHANGED): Likewise.
13374 (ERRNO_EDOM): Likewise.
13375 (ERRNO_ERANGE): Likewise.
13376 (IGNORE_RESULT): Likewise.
13377 (check_float_internal): Check signs of NaN results if
13378 TEST_NAN_SIGN used.
13379 (check_complex): Pass TEST_NAN_SIGN flag through to second
13380 check_float_internal call.
13381 (copysign_test_data): Add tests with quiet NaNs as second
13382 argument. Use TEST_NAN_SIGN.
13383 (fabs_test_data): Add test of negative quiet NaN argument. Use
13384 TEST_NAN_SIGN.
13385 (signbit_test_data): Add tests of quiet NaN argument.
13386 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13387
ee1466a9
JM
13388 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13389 $ignore_result.
13390 (parse_args): Handle function results specified as IGNORE.
13391 * math/libm-test.inc (IGNORE_RESULT): New macro.
13392 (check_float_internal): Do not check numerical result if flag
13393 IGNORE_RESULT set.
13394 (check_complex): Pass through IGNORE_RESULT to second
13395 check_float_internal call.
13396 (check_int): Do not check numerical result if flag IGNORE_RESULT
13397 set.
13398 (check_long): Likewise.
13399 (check_bool): Likewise.
13400 (check_longlong): Likewise.
13401 (lrint_test_data): Add tests of infinite and NaN arguments.
13402 (lrint_tonearest_test_data): Likewise.
13403 (lrint_towardzero_test_data): Likewise.
13404 (lrint_downward_test_data): Likewise.
13405 (lrint_upward_test_data): Likewise.
13406 (llrint_test_data): Likewise.
13407 (llrint_tonearest_test_data): Likewise.
13408 (llrint_towardzero_test_data): Likewise.
13409 (llrint_downward_test_data): Likewise.
13410 (llrint_upward_test_data): Likewise.
13411 (lround_test_data): Likewise.
13412 (llround_test_data): Likewise.
13413
14407b7e
JM
13414 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13415 (ERRNO_UNCHANGED): Update value.
13416 (ERRNO_EDOM): Likewise.
13417 (ERRNO_ERANGE): Likewise.
13418 (NO_TEST_INLINE_FLOAT): New macro.
13419 (NO_TEST_INLINE_DOUBLE): Likewise.
13420 (enable_test): New function.
13421 (RUN_TEST_f_f): Check enable_test before running test.
13422 (RUN_TEST_2_f): Likewise.
13423 (RUN_TEST_fff_f): Likewise.
13424 (RUN_TEST_c_f): Likewise.
13425 (RUN_TEST_f_f1): Likewise.
13426 (RUN_TEST_fF_f1): Likewise.
13427 (RUN_TEST_fI_f1): Likewise.
13428 (RUN_TEST_ffI_f1): Likewise.
13429 (RUN_TEST_c_c): Likewise.
13430 (RUN_TEST_cc_c): Likewise.
13431 (RUN_TEST_f_i): Likewise.
13432 (RUN_TEST_f_i_tg): Likewise.
13433 (RUN_TEST_ff_i_tg): Likewise.
13434 (RUN_TEST_f_b): Likewise.
13435 (RUN_TEST_f_b_tg): Likewise.
13436 (RUN_TEST_f_l): Likewise.
13437 (RUN_TEST_f_L): Likewise.
13438 (RUN_TEST_fFF_11): Likewise.
13439 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13440 conditionals.
13441 (cosh_test_data): Likewise.
13442 (exp_test_data): Likewise.
13443 (expm1_test_data): Likewise.
13444 (hypot_test_data): Likewise.
13445 (pow_test_data): Likewise.
13446 (sinh_test_data): Likewise.
13447 (tanh_test_data): Likewise.
13448 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13449 flags argument.
13450
ca07f197
JM
13451 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13452 tests with quiet NaN input and output.
13453 (acosh_test_data): Likewise.
13454 (asin_test_data): Likewise.
13455 (asinh_test_data): Likewise.
13456 (atan_test_data): Likewise.
13457 (atanh_test_data): Likewise.
13458 (atan2_test_data): Likewise.
13459 (cbrt_test_data): Likewise.
13460 (cos_test_data): Likewise.
13461 (cosh_test_data): Likewise.
13462 (erf_test_data): Likewise.
13463 (erfc_test_data): Likewise.
13464 (exp_test_data): Likewise.
13465 (exp10_test_data): Likewise.
13466 (exp2_test_data): Likewise.
13467 (expm1_test_data): Likewise.
13468 (hypot_test_data): Likewise.
13469 (j0_test_data): Likewise.
13470 (j1_test_data): Likewise.
13471 (jn_test_data): Likewise.
13472 (lgamma_test_data): Likewise.
13473 (log_test_data): Likewise.
13474 (log10_test_data): Likewise.
13475 (log1p_test_data): Likewise.
13476 (log2_test_data): Likewise.
13477 (pow_test_data): Likewise.
13478 (scalb_test_data): Likewise.
13479 (sin_test_data): Likewise.
13480 (sincos_test_data): Likewise.
13481 (sinh_test_data): Likewise.
13482 (tan_test_data): Likewise.
13483 (tanh_test_data): Likewise.
13484 (tgamma_test_data): Likewise.
13485 (y0_test_data): Likewise.
13486 (y1_test_data): Likewise.
13487 (yn_test_data): Likewise.
13488
66294491
JM
13489 [BZ #16167]
13490 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13491 argument being NaN and avoid computations with second argument in
13492 that case.
13493 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13494 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13495 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13496
1820b143
CL
134972013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13498
13499 * locale/iso-639.def: Add Chitwani Tharu (the).
13500
714bd261
AS
135012013-11-14 Andreas Schwab <schwab@suse.de>
13502
13503 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13504 word instead of empty string.
13505
7ab44563
AZ
135062013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13509 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13511 (__fe_nomask_env): Likewise.
13512
e8470ea2
SE
135132013-11-13 Steve Ellcey <sellcey@mips.com>
13514
13515 * benchtests/bench-timing.h: Include time.h.
13516
17c1d9f0
L
135172013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 [BZ #15997]
13520 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13521 to 3.4.0 for x32.
13522 * sysdeps/unix/sysv/linux/configure: Regenerated.
13523
9310c284
JM
135242013-11-13 Joseph Myers <joseph@codesourcery.com>
13525
13526 [BZ #16151]
13527 * stdlib/strtod_l.c (round_and_return): Do not consider
13528 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13529 exponent one less than half the least subnormal exponent.
13530 * stdlib/test-strtod-round-data: Add more tests.
13531 * stdlib/tst-strtod-round.c (tests): Regenerated.
13532
7a2ad8cf
AZ
135332013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13534
13535 [BZ #14143]
13536 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13537 (__fe_mask_env): Likewise.
13538 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13539 libm_hidden_proto and add function prototype.
13540 (__fe_mask_env): Add function prototype.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13542 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13544 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13546 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13547
50727aa7
MS
135482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13549
b2f386c1 13550 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13551 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13552
a615be46
MS
135532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13554
13555 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13556 of htab_find_slot().
13557
7ddace62
DM
135582013-11-11 David S. Miller <davem@davemloft.net>
13559
13560 [BZ #16150]
13561 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13562 symbol in the non-vis3 case in static builds.
13563 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13564 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13565 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13566 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13567
9182aa67
JK
135682013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13569
13570 [BZ #387]
13571 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13572 it is empty.
13573
450a2e2d
AZ
135742013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575
b2f386c1
SP
13576 * benchtests/Makefile: Add bench-strtod.
13577 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13578
8ec3f656
AS
135792013-11-11 Andreas Schwab <schwab@suse.de>
13580
13581 [BZ #16153]
13582 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13583 terminating NUL in key length.
13584
76a9b998
AZ
135852013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13586
13587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13588 Add artificial ODP entry for vDSO symbol for PPC64.
13589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13590 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13591
e4368156
OB
135922013-11-07 Ondřej Bílka <neleai@seznam.cz>
13593
13594 [BZ #15374]
13595 * nss/getent.c (services_keys): Recognize services starting with digit.
13596
8d6bb57c
DM
135972013-11-06 David S. Miller <davem@davemloft.net>
13598
13599 [BZ #15985]
13600 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13601 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13602
e256c421
WN
136032013-11-06 Will Newton <will.newton@linaro.org>
13604
13605 * manual/memory.texi (Malloc Examples): Remove register
13606 keyword from examples.
13607
f6e12daa 136082013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13609
f6e12daa 13610 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13611
9d880655
AS
136122013-11-04 Joseph Myers <joseph@codesourcery.com>
13613
fd2f9486 13614 [BZ #6981]
9d880655
AS
13615 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13616 depending on [__GCC_IEC_559 > 0].
13617 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13618 depending on [__GCC_IEC_559_COMPLEX > 0].
13619
ae129d3c
CL
136202013-11-03 Chris Leonard <cjl@sugarlabs.org>
13621
13622 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13623 to iso-639.def.
13624
4a15c2a4 136252013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13626
13627 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13628
8b35e35d
OB
136292013-11-01 Ondřej Bílka <neleai@seznam.cz>
13630
13631 [BZ #16112]
13632 * malloc/malloc (malloc_info): Do not handle first bin as
13633 special case.
13634
1d70fd6c
CL
136352013-11-01 Chris Leonard <cjl@sugarlabs.org>
13636
13637 * locale/iso-639.def: Add Central Nahuatl (nhn).
13638
8c5c2600
BH
136392013-11-01 Bruno Haible <bruno@clisp.org>
13640
13641 [BZ #7003]
13642 * manual/math.texi (BSD Random): Specify range upper bound as
13643 in POSIX.
13644
da5579c2
CL
136452013-10-31 Chris Leonard <cjl@sugarlabs.org>
13646
13647 * locale/iso-639.def: Add Meadow Mari (mhr).
13648
5d30d853
OB
136492013-10-31 Ondřej Bílka <neleai@seznam.cz>
13650
13651 [BZ #14752], [BZ #15763]
13652 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13653 Validate name.
13654 * rt/tst_shm.c: Add test for escaping directory.
13655
a4966c61
AS
136562013-10-31 Andreas Schwab <schwab@suse.de>
13657
8a43e768 13658 [BZ #15917]
a4966c61
AS
13659 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13660 followed by 'x' as part of digit sequence.
13661 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13662
28d708c4
MAP
136632013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13664
13665 [BZ #16037]
13666 * configure.ac: allow GNU Make 4.0 and greater.
13667 * configure: Regenerated.
13668
a56ee40b
WN
136692013-10-30 Will Newton <will.newton@linaro.org>
13670
13671 [BZ #16038]
13672 * malloc/hooks.c (memalign_check): Limit alignment to the
13673 maximum representable power of two.
13674 * malloc/malloc.c (__libc_memalign): Likewise.
13675 * malloc/tst-memalign.c (do_test): Add test for very
13676 large alignment values.
13677 * malloc/tst-posix_memalign.c (do_test): Likewise.
13678
c6e4925d
OB
136792013-10-30 Ondřej Bílka <neleai@seznam.cz>
13680
13681 [BZ #11087]
13682 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13683 (munmap_chunk): Likewise.
13684 (mremap_chunk): Likewise.
13685
136862013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13687
8a43e768 13688 [BZ #15799]
bbea82f7
OB
13689 * stdlib/div.c (div): Remove obsolete code.
13690 * stdlib/ldiv.c (ldiv): Likewise.
13691 * stdlib/lldiv.c (lldiv): Likewise.
13692
977f4b31
SP
136932013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13694
13695 [BZ #16071]
13696 * nss/nss_files/files-XXX.c (get_contents_ret): New
13697 enumerator.
13698 (get_contents): New function.
13699 (internal_getent): Use it. Expand size of LINEBUFLEN.
13700
cb8a6dbd
MF
137012013-10-30 Mike Frysinger <vapier@gentoo.org>
13702
13703 * configure.in: Moved to ...
13704 * configure.ac: ... here. Change reference to configure.in
13705 to configure.ac.
13706 * sysdeps/arm/preconfigure.ac: ... here.
13707 configure.in to configure.ac.
13708 * sysdeps/gnu/configure.in: Moved to ...
13709 * sysdeps/gnu/configure.ac: ... here.
13710 * sysdeps/i386/configure.in: Moved to ...
13711 * sysdeps/i386/configure.ac: ... here.
13712 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13713 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13714 * sysdeps/mach/configure.in: Moved to ...
13715 * sysdeps/mach/configure.ac: ... here.
13716 * sysdeps/mach/hurd/configure.in: Moved to ...
13717 * sysdeps/mach/hurd/configure.ac: ... here.
13718 * sysdeps/powerpc/configure.in: Moved to ...
13719 * sysdeps/powerpc/configure.ac: ... here.
13720 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13721 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13722 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13723 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13724 * sysdeps/s390/s390-32/configure.in: Moved to ...
13725 * sysdeps/s390/s390-32/configure.ac: ... here.
13726 * sysdeps/s390/s390-64/configure.in: Moved to ...
13727 * sysdeps/s390/s390-64/configure.ac: ... here.
13728 * sysdeps/sh/configure.in: Moved to ...
13729 * sysdeps/sh/configure.ac: ... here.
13730 * sysdeps/sparc/configure.in: Moved to ...
13731 * sysdeps/sparc/configure.ac: ... here.
13732 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13733 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13734 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13735 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13736 * sysdeps/x86_64/configure.in: Moved to ...
13737 * sysdeps/x86_64/configure.ac: ... here.
13738 * sysdeps/x86_64/preconfigure.in: Moved to ...
13739 * sysdeps/x86_64/preconfigure.ac: ... here.
13740 * aclocal.m4: Change reference to configure.in to configure.ac.
13741 * config.h.in: Likewise.
13742 * manual/install.texi: Likewise.
13743 * manual/maint.texi: Likewise.
13744 * Makefile: Likewise.
13745 * malloc/Makefile: Likewise.
13746 * nscd/Makefile: Likewise.
13747 * Makeconfig: Change reference to configure.in and
13748 preconfigure.in to configure.ac and preconfigure.ac
13749 respectively.
13750 * INSTALL: Regenerated.
13751 * configure: Likewise.
13752 * sysdeps/gnu/configure: Likewise.
13753 * sysdeps/i386/configure: Likewise.
13754 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13755 * sysdeps/mach/configure: Likewise.
13756 * sysdeps/mach/hurd/configure: Likewise.
13757 * sysdeps/powerpc/configure: Likewise.
13758 * sysdeps/powerpc/powerpc32/configure: Likewise.
13759 * sysdeps/powerpc/powerpc64/configure: Likewise.
13760 * sysdeps/s390/s390-32/configure: Likewise.
13761 * sysdeps/s390/s390-64/configure: Likewise.
13762 * sysdeps/sh/configure: Likewise.
13763 * sysdeps/sparc/configure: Likewise.
13764 * sysdeps/unix/sysv/linux/configure: Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13766 * sysdeps/x86_64/configure: Likewise.
13767 * sysdeps/x86_64/preconfigure: Likewise.
13768
36a4953a
AS
137692013-10-29 Andreas Schwab <schwab@suse.de>
13770
13771 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13772
c79a1204
SP
137732013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13774
dfa1b402
SP
13775 * benchtests/pow-inputs: Add new inputs.
13776
54f73d9c
SP
13777 * benchtests/exp-inputs: Add new inputs.
13778
c79a1204
SP
13779 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13780 conditional check for return value.
13781 (__cos32): Likewise.
13782
67beb545 137832013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13784
13785 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13786 to provide a boost for large inputs with word alignment.
13787 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13788 implementation based on optimized PPC64 strcpy.
13789 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13790 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13791 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13792 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13793
151659f6
OB
137942013-10-25 Ondřej Bílka <neleai@seznam.cz>
13795
482a077e 13796 [BZ #2801]
151659f6
OB
13797 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13798
10b0f26b
OB
137992013-10-25 Ondřej Bílka <neleai@seznam.cz>
13800
13801 [BZ #14876]
13802 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13803 * time/tst-strptime.c (day_tests): Add testcase.
13804
ca42d35e
OB
138052013-10-25 Ondřej Bílka <neleai@seznam.cz>
13806
482a077e 13807 [BZ #14029]
ca42d35e
OB
13808 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13809
52e6d801
FB
138102013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13811
13812 [BZ #16074]
13813 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13814 MAP_FAILED on error.
13815
7cbcdb36
SP
138162013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13817
13818 [BZ #16072]
13819 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13820 heap for large requests.
13821
894f3f10
AM
138222013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13823
13824 [BZ #9954]
13825 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13826 result if the result has no associated interface.
13827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13828 interface for all 127.X.Y.Z addresses.
13829
b85545a6
CL
138302013-10-24 Chris Leonard <cjl@sugarlabs.org>
13831
13832 * locale/iso-639.def: Add Ligurian (lij)
13833
d1f23d46
OB
138342013-10-21 Ondřej Bílka <neleai@seznam.cz>
13835
13836 [BZ #15825]
13837 * sunrpc/rpc_main.c: Document rpcgen -5.
13838
4db5b08f
MS
138392013-10-19 Michael Stahl <mstahl@redhat.com>
13840
13841 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13842
a471e96a
OB
138432013-10-19 Ondřej Bílka <neleai@seznam.cz>
13844
d1f23d46 13845 [BZ #10278]
a471e96a
OB
13846 * posix/glob.c: Match only directories when trailing slash is present.
13847 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13848 (main): Add testcase.
13849
45c30c61
OB
138502013-10-19 Ondřej Bílka <neleai@seznam.cz>
13851
13852 [BZ #15670]
13853 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13854
484c12fb
CD
138552013-10-18 Carlos O'Donell <carlos@redhat.com>
13856
3d7dc513
CD
13857 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13858 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13859 AUTH_DES and cindex for FIPS 140-2.
13860 (DES Encryption): Add cindex FIPS 46-3.
13861
484c12fb
CD
13862 * locale/locarchive.h (struct locarhandle): Add fname.
13863 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13864 if an optional argument was specified to --list-archive,
13865 otherwise NULL.
13866 * locale/programs/locarchive.c (show_archive_content): Take new
13867 argument fname and pass it via ah.fname to open_archive.
13868 * locale/programs/localedef.h: Update decl.
13869 (open_archive): If AH->fname is non-null, open that file
13870 rather than the default file name, and don't ignore ENOENT.
13871 (create_archive): Set AH.fname to NULL.
13872 (delete_locales_from_archive): Likewise.
13873 (add_locales_to_archive): Likewise.
13874 * locale/programs/locfile.c (write_all_categories): Likewise.
13875
3c8325fb
JM
138762013-10-18 Joseph Myers <joseph@codesourcery.com>
13877 Aldy Hernandez <aldyh@redhat.com>
13878
13879 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13880 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13881 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13882 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13883 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13884 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13885 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13886 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13887 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13889 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13890 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13891 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13892 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13893 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13894 Likewise.
13895 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13896 Likewise.
13897 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13898 Likewise.
13899 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13900 Likewise.
13901 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13902 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13903 Likewise.
13904 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13905 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13906 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13907 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13908 Likewise.
13909 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13910 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13911 * sysdeps/powerpc/preconfigure: Likewise.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13913 Likewise.
13914 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13915 Replace contents of file by #include of <fenv_libc.h>.
13916 * sysdeps/powerpc/soft-fp/sfp-machine.h
13917 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13918 and <sys/prctl.h>.
13919 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13922 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13926 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13928 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13932 Allow copysignl PLT reference to be missing.
13933
5abe0682
RS
139342013-10-18 Richard Sandiford <richard@codesourcery.com>
13935 Joseph Myers <joseph@codesourcery.com
13936
13937 [BZ #15948]
13938 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13939 single character.
13940 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13941
c7738d08
SP
139422013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13943
13944 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13945 * elf/tst-tls1.c: Likewise.
13946 * elf/tst-tls10.h: Likewise.
13947 * elf/tst-tls14.c: Likewise.
13948 * elf/tst-tls2.c: Likewise.
13949 * elf/tst-tls3.c: Likewise.
13950 * elf/tst-tls4.c: Likewise.
13951 * elf/tst-tls5.c: Likewise.
13952 * elf/tst-tls6.c: Likewise.
13953 * elf/tst-tls7.c: Likewise.
13954 * elf/tst-tls8.c: Likewise.
13955 * elf/tst-tls9.c: Likewise.
13956 * elf/tst-tlsmod1.c: Likewise.
13957 * elf/tst-tlsmod13.c: Likewise.
13958 * elf/tst-tlsmod13a.c: Likewise.
13959 * elf/tst-tlsmod14a.c: Likewise.
13960 * elf/tst-tlsmod16a.c: Likewise.
13961 * elf/tst-tlsmod16b.c: Likewise.
13962 * elf/tst-tlsmod2.c: Likewise.
13963 * elf/tst-tlsmod3.c: Likewise.
13964 * elf/tst-tlsmod4.c: Likewise.
13965 * elf/tst-tlsmod5.c: Likewise.
13966 * elf/tst-tlsmod6.c: Likewise.
13967
0bfcf2c7
OB
139682013-10-18 Ondřej Bílka <neleai@seznam.cz>
13969
13970 [BZ #12486]
13971 * malloc/malloc.c: remove checks for statistics.
13972
264aad1e
OB
139732013-10-17 Ondřej Bílka <neleai@seznam.cz>
13974
13975 [BZ #15277]
13976 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13977 * inet/tst-network.c: Add testcase.
13978
b957ced8
AS
139792013-10-17 Andreas Schwab <schwab@suse.de>
13980
13981 [BZ #15218]
13982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13983 to determine canonical name.
13984
c5d5d574
OB
139852013-10-17 Ondřej Bílka <neleai@seznam.cz>
13986
13987 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13988 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14011 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14017 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14045
e5c2c2d0
JM
140462013-10-17 Joseph Myers <joseph@codesourcery.com>
14047
14048 [BZ #16041]
14049 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14050 make result into a quiet NaN.
14051
51ca9e29
JM
140522013-10-16 Joseph Myers <joseph@codesourcery.com>
14053
14054 * soft-fp/adddf3.c: Fix horizontal whitespace.
14055 * soft-fp/addsf3.c: Likewise.
14056 * soft-fp/addtf3.c: Likewise.
14057 * soft-fp/divdf3.c: Likewise.
14058 * soft-fp/divsf3.c: Likewise.
14059 * soft-fp/divtf3.c: Likewise.
14060 * soft-fp/double.h: Likewise.
14061 * soft-fp/eqdf2.c: Likewise.
14062 * soft-fp/eqsf2.c: Likewise.
14063 * soft-fp/eqtf2.c: Likewise.
14064 * soft-fp/extenddftf2.c: Likewise.
14065 * soft-fp/extended.h: Likewise.
14066 * soft-fp/extendsfdf2.c: Likewise.
14067 * soft-fp/extendsftf2.c: Likewise.
14068 * soft-fp/extendxftf2.c: Likewise.
14069 * soft-fp/fixdfdi.c: Likewise.
14070 * soft-fp/fixdfsi.c: Likewise.
14071 * soft-fp/fixdfti.c: Likewise.
14072 * soft-fp/fixsfdi.c: Likewise.
14073 * soft-fp/fixsfsi.c: Likewise.
14074 * soft-fp/fixsfti.c: Likewise.
14075 * soft-fp/fixtfdi.c: Likewise.
14076 * soft-fp/fixtfsi.c: Likewise.
14077 * soft-fp/fixtfti.c: Likewise.
14078 * soft-fp/fixunsdfdi.c: Likewise.
14079 * soft-fp/fixunsdfsi.c: Likewise.
14080 * soft-fp/fixunsdfti.c: Likewise.
14081 * soft-fp/fixunssfdi.c: Likewise.
14082 * soft-fp/fixunssfsi.c: Likewise.
14083 * soft-fp/fixunssfti.c: Likewise.
14084 * soft-fp/fixunstfdi.c: Likewise.
14085 * soft-fp/fixunstfsi.c: Likewise.
14086 * soft-fp/fixunstfti.c: Likewise.
14087 * soft-fp/floatdidf.c: Likewise.
14088 * soft-fp/floatdisf.c: Likewise.
14089 * soft-fp/floatditf.c: Likewise.
14090 * soft-fp/floatsidf.c: Likewise.
14091 * soft-fp/floatsisf.c: Likewise.
14092 * soft-fp/floatsitf.c: Likewise.
14093 * soft-fp/floattidf.c: Likewise.
14094 * soft-fp/floattisf.c: Likewise.
14095 * soft-fp/floattitf.c: Likewise.
14096 * soft-fp/floatundidf.c: Likewise.
14097 * soft-fp/floatundisf.c: Likewise.
14098 * soft-fp/floatunditf.c: Likewise.
14099 * soft-fp/floatunsidf.c: Likewise.
14100 * soft-fp/floatunsisf.c: Likewise.
14101 * soft-fp/floatunsitf.c: Likewise.
14102 * soft-fp/floatuntidf.c: Likewise.
14103 * soft-fp/floatuntisf.c: Likewise.
14104 * soft-fp/floatuntitf.c: Likewise.
14105 * soft-fp/fmadf4.c: Likewise.
14106 * soft-fp/fmasf4.c: Likewise.
14107 * soft-fp/fmatf4.c: Likewise.
14108 * soft-fp/gedf2.c: Likewise.
14109 * soft-fp/gesf2.c: Likewise.
14110 * soft-fp/getf2.c: Likewise.
14111 * soft-fp/ledf2.c: Likewise.
14112 * soft-fp/lesf2.c: Likewise.
14113 * soft-fp/letf2.c: Likewise.
14114 * soft-fp/muldf3.c: Likewise.
14115 * soft-fp/mulsf3.c: Likewise.
14116 * soft-fp/multf3.c: Likewise.
14117 * soft-fp/negdf2.c: Likewise.
14118 * soft-fp/negsf2.c: Likewise.
14119 * soft-fp/negtf2.c: Likewise.
14120 * soft-fp/op-1.h: Likewise.
14121 * soft-fp/op-2.h: Likewise.
14122 * soft-fp/op-4.h: Likewise.
14123 * soft-fp/op-8.h: Likewise.
14124 * soft-fp/op-common.h: Likewise.
14125 * soft-fp/quad.h: Likewise.
14126 * soft-fp/single.h: Likewise.
14127 * soft-fp/soft-fp.h: Likewise.
14128 * soft-fp/sqrtdf2.c: Likewise.
14129 * soft-fp/sqrtsf2.c: Likewise.
14130 * soft-fp/sqrttf2.c: Likewise.
14131 * soft-fp/subdf3.c: Likewise.
14132 * soft-fp/subsf3.c: Likewise.
14133 * soft-fp/subtf3.c: Likewise.
14134 * soft-fp/truncdfsf2.c: Likewise.
14135 * soft-fp/trunctfdf2.c: Likewise.
14136 * soft-fp/trunctfsf2.c: Likewise.
14137 * soft-fp/trunctfxf2.c: Likewise.
14138 * soft-fp/unorddf2.c: Likewise.
14139 * soft-fp/unordsf2.c: Likewise.
14140 * soft-fp/unordtf2.c: Likewise.
14141
9ebb0332
JM
141422013-10-15 Joseph Myers <joseph@codesourcery.com>
14143
14144 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14145 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14146
4b1a6d8b
OB
141472013-10-15 Ondřej Bílka <neleai@seznam.cz>
14148
14149 * elf/dl-libc.c: Clear initfini list after freeing.
14150
1e145589
JM
141512013-10-14 Joseph Myers <joseph@codesourcery.com>
14152
14153 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14154 * soft-fp/addsf3.c: Likewise.
14155 * soft-fp/addtf3.c: Likewise.
14156 * soft-fp/divdf3.c: Likewise.
14157 * soft-fp/divsf3.c: Likewise.
14158 * soft-fp/divtf3.c: Likewise.
14159 * soft-fp/double.h: Likewise.
14160 * soft-fp/eqdf2.c: Likewise.
14161 * soft-fp/eqsf2.c: Likewise.
14162 * soft-fp/eqtf2.c: Likewise.
14163 * soft-fp/extenddftf2.c: Likewise.
14164 * soft-fp/extended.h: Likewise.
14165 * soft-fp/extendsfdf2.c: Likewise.
14166 * soft-fp/extendsftf2.c: Likewise.
14167 * soft-fp/extendxftf2.c: Likewise.
14168 * soft-fp/fixdfdi.c: Likewise.
14169 * soft-fp/fixdfsi.c: Likewise.
14170 * soft-fp/fixdfti.c: Likewise.
14171 * soft-fp/fixsfdi.c: Likewise.
14172 * soft-fp/fixsfsi.c: Likewise.
14173 * soft-fp/fixsfti.c: Likewise.
14174 * soft-fp/fixtfdi.c: Likewise.
14175 * soft-fp/fixtfsi.c: Likewise.
14176 * soft-fp/fixtfti.c: Likewise.
14177 * soft-fp/fixunsdfdi.c: Likewise.
14178 * soft-fp/fixunsdfsi.c: Likewise.
14179 * soft-fp/fixunsdfti.c: Likewise.
14180 * soft-fp/fixunssfdi.c: Likewise.
14181 * soft-fp/fixunssfsi.c: Likewise.
14182 * soft-fp/fixunssfti.c: Likewise.
14183 * soft-fp/fixunstfdi.c: Likewise.
14184 * soft-fp/fixunstfsi.c: Likewise.
14185 * soft-fp/fixunstfti.c: Likewise.
14186 * soft-fp/floatdidf.c: Likewise.
14187 * soft-fp/floatdisf.c: Likewise.
14188 * soft-fp/floatditf.c: Likewise.
14189 * soft-fp/floatsidf.c: Likewise.
14190 * soft-fp/floatsisf.c: Likewise.
14191 * soft-fp/floatsitf.c: Likewise.
14192 * soft-fp/floattidf.c: Likewise.
14193 * soft-fp/floattisf.c: Likewise.
14194 * soft-fp/floattitf.c: Likewise.
14195 * soft-fp/floatundidf.c: Likewise.
14196 * soft-fp/floatundisf.c: Likewise.
14197 * soft-fp/floatunsidf.c: Likewise.
14198 * soft-fp/floatunsisf.c: Likewise.
14199 * soft-fp/floatuntidf.c: Likewise.
14200 * soft-fp/floatuntisf.c: Likewise.
14201 * soft-fp/floatuntitf.c: Likewise.
14202 * soft-fp/fmadf4.c: Likewise.
14203 * soft-fp/fmasf4.c: Likewise.
14204 * soft-fp/fmatf4.c: Likewise.
14205 * soft-fp/gedf2.c: Likewise.
14206 * soft-fp/gesf2.c: Likewise.
14207 * soft-fp/getf2.c: Likewise.
14208 * soft-fp/ledf2.c: Likewise.
14209 * soft-fp/lesf2.c: Likewise.
14210 * soft-fp/letf2.c: Likewise.
14211 * soft-fp/muldf3.c: Likewise.
14212 * soft-fp/mulsf3.c: Likewise.
14213 * soft-fp/multf3.c: Likewise.
14214 * soft-fp/negdf2.c: Likewise.
14215 * soft-fp/negsf2.c: Likewise.
14216 * soft-fp/negtf2.c: Likewise.
14217 * soft-fp/op-1.h: Likewise.
14218 * soft-fp/op-2.h: Likewise.
14219 * soft-fp/op-4.h: Likewise.
14220 * soft-fp/op-8.h: Likewise.
14221 * soft-fp/op-common.h: Likewise.
14222 * soft-fp/quad.h: Likewise.
14223 * soft-fp/single.h: Likewise.
14224 * soft-fp/soft-fp.h: Likewise.
14225 * soft-fp/sqrtdf2.c: Likewise.
14226 * soft-fp/sqrtsf2.c: Likewise.
14227 * soft-fp/sqrttf2.c: Likewise.
14228 * soft-fp/subdf3.c: Likewise.
14229 * soft-fp/subsf3.c: Likewise.
14230 * soft-fp/subtf3.c: Likewise.
14231 * soft-fp/truncdfsf2.c: Likewise.
14232 * soft-fp/trunctfdf2.c: Likewise.
14233 * soft-fp/trunctfsf2.c: Likewise.
14234 * soft-fp/trunctfxf2.c: Likewise.
14235 * soft-fp/unorddf2.c: Likewise.
14236 * soft-fp/unordsf2.c: Likewise.
14237 * soft-fp/unordtf2.c: Likewise.
14238
17c48a60
OB
142392013-10-14 Ondřej Bílka <neleai@seznam.cz>
14240
14241 [BZ #15672]
14242 * misc/error.c (error_tail): Fix possible buffer overflow.
14243
cabba934
OB
142442013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14245
14246 [BZ #13028]
14247 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14248 address.
14249
94bf958a
PM
142502013-10-14 P. J. McDermott <pj@pehjota.net>
14251
14252 [BZ #832]
14253 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14254 testing pipefail option.
14255
71b4dea7
JM
142562013-10-12 Joseph Myers <joseph@codesourcery.com>
14257
14258 * soft-fp/double.h: Indent preprocessor directives inside #if.
14259 * soft-fp/extended.h: Likewise.
14260 * soft-fp/op-2.h: Likewise.
14261 * soft-fp/op-4.h: Likewise.
14262 * soft-fp/op-common.h: Likewise.
14263 * soft-fp/quad.h: Likewise.
14264 * soft-fp/single.h: Likewise.
14265 * soft-fp/soft-fp.h: Likewise.
14266
55602758
YC
142672013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14268
14269 * iconv/iconv_prog.c: Fix typos.
14270 * stdio-common/psiginfo-data.h: Likewise.
14271
9cd83302
RT
142722013-10-12 Reuben Thomas <rrt@sc3d.org>
14273
14274 [BZ #15764]
14275 * locale/setlocale.c: Fix typo.
14276
99fd9f47
JM
142772013-10-12 Joseph Myers <joseph@codesourcery.com>
14278
b7ea74f0
JM
14279 [BZ #16036]
14280 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14281 signaling NaN arguments.
14282 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14283 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14284
8a509447
JM
14285 [BZ #14910]
14286 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14287 unordered operands.
14288 * soft-fp/gesf2.c (__gesf2): Likewise.
14289 * soft-fp/getf2.c (__getf2): Likewise.
14290 * soft-fp/ledf2.c (__ledf2): Likewise.
14291 * soft-fp/lesf2.c (__lesf2): Likewise.
14292 * soft-fp/letf2.c (__letf2): Likewise.
14293
98998e9f
JM
14294 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14295 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14296 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14297 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14298 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14299 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14300 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14301 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14302 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14303 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14304 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14305 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14306 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14307 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14308 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14309 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14310 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14311 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14312 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14313 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14314 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14315 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14316 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14317 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14318 * soft-fp/floattidf.c (__floattidf): Likewise.
14319 * soft-fp/floattisf.c (__floattisf): Likewise.
14320 * soft-fp/floattitf.c (__floattitf): Likewise.
14321 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14322 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14323 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14324 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14325 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14326 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14327 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14328 * soft-fp/gesf2.c (__gesf2): Likewise.
14329 * soft-fp/getf2.c (__getf2): Likewise.
14330 * soft-fp/ledf2.c (__ledf2): Likewise.
14331 * soft-fp/lesf2.c (__lesf2): Likewise.
14332 * soft-fp/letf2.c (__letf2): Likewise.
14333
8edc4a11
JM
14334 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14335 Undefine and redefine.
14336 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14337 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14338 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14339 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14340 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14341 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14342 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14343 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14344 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14345 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14346 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14347 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14348 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14349 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14350 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14351
8399acaf
JM
14352 [BZ #16032]
14353 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14354 without decrementing exponent if mantissa >= that for the
14355 denominator, not >.
14356 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14357 denominator, not >. Decrement exponent in < case instead of
14358 incrementing in >= case.
14359 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14360 without decrementing exponent if mantissa >= that for the
14361 denominator, not >.
14362
99fd9f47
JM
14363 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14364 computing saturated result for unsigned overflow.
14365
10e1cf6b
SP
143662013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14367 Jeff Law <law@redhat.com>
14368
14369 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14370 (atan2Mp): Add systemtap probe marker.
14371 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14372 (__ieee754_log): Add systemtap probe marker.
14373 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14374 (atanMp): Add systemtap probe marker.
14375 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14376 (tanMp): Add systemtap probe marker.
14377 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14378 (__slowexp): Add systemtap probe marker.
14379 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14380 (__slowpow): Add systemtap probe marker.
14381 * manual/probes.texi: Document probes.
14382
3d110c7c
EB
143832013-10-11 Eric Biggers <ebiggers3@gmail.com>
14384
14385 [BZ #15362]
14386 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14387 written.
14388 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14389 written.
14390 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14391 written to buffer but not flushed.
14392 * libio/iofwrite_u.c: Likewise.
14393 * libio/iopadn.c: Return bytes returned even if EOF was
14394 encountered.
14395 * libio/iowpadn.c: Likewise.
14396 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14397 if _IO_padn does not write the whole buffer.
14398 [!COMPILE_WPRINTF] (PAD): Likewise.
14399
75b4202a
DM
144002013-10-10 David S. Miller <davem@davemloft.net>
14401
14402 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14403 directory block.
14404
6c6352e6
JM
144052013-10-10 Joseph Myers <joseph@codesourcery.com>
14406
33b853c3
JM
14407 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14408 instead of FSF address.
14409 * soft-fp/fixdfti.c: Likewise.
14410 * soft-fp/fixsfti.c: Likewise.
14411 * soft-fp/fixtfti.c: Likewise.
14412 * soft-fp/fixunsdfti.c: Likewise.
14413 * soft-fp/fixunssfti.c: Likewise.
14414 * soft-fp/fixunstfti.c: Likewise.
14415 * soft-fp/floattidf.c: Likewise.
14416 * soft-fp/floattisf.c: Likewise.
14417 * soft-fp/floattitf.c: Likewise.
14418 * soft-fp/floatuntidf.c: Likewise.
14419 * soft-fp/floatuntisf.c: Likewise.
14420 * soft-fp/floatuntitf.c: Likewise.
14421 * soft-fp/trunctfxf2.c: Likewise.
14422
6c6352e6
JM
14423 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14424 * soft-fp/fixdfti.c: Likewise.
14425 * soft-fp/fixsfti.c: Likewise.
14426 * soft-fp/fixtfti.c: Likewise.
14427 * soft-fp/fixunsdfti.c: Likewise.
14428 * soft-fp/fixunssfti.c: Likewise.
14429 * soft-fp/fixunstfti.c: Likewise.
14430 * soft-fp/floattidf.c: Likewise.
14431 * soft-fp/floattisf.c: Likewise.
14432 * soft-fp/floattitf.c: Likewise.
14433 * soft-fp/floatuntidf.c: Likewise.
14434 * soft-fp/floatuntisf.c: Likewise.
14435 * soft-fp/floatuntitf.c: Likewise.
14436 * soft-fp/trunctfxf2.c: Likewise.
14437
3bf78b71
DM
144382013-10-10 David S. Miller <davem@davemloft.net>
14439
14440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14441
6f10289e
JM
144422013-10-10 Joseph Myers <joseph@codsourcery.com>
14443
bd878fc0
JM
14444 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14445 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14446 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14447 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14448 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14449 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14450 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14451
6f10289e
JM
14452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14453 for NaNs before doing comparisons on argument.
14454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14455 Likewise.
14456
321e2684
WN
144572013-10-10 Will Newton <will.newton@linaro.org>
14458
14459 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14460 passed to _int_memalign does not overflow.
14461
40fefba1
TR
144622013-10-10 Torvald Riegel <triegel@redhat.com>
14463
14464 * scripts/bench.pl: Add include-sources directive.
14465 * benchtests/README: Update documentation.
14466
2ae21ed2
JM
144672013-10-10 Joseph Myers <joseph@codesourcery.com>
14468
dcc2dd3f
JM
14469 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14470 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14471 instead of FP_INIT_ROUNDMODE.
14472 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14473 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14474
2ae21ed2
JM
14475 [BZ #16034]
14476 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14477 copy class of input value.
14478 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14479 not handle exceptions.
14480 * soft-fp/negsf2.c (__negsf2): Likewise.
14481 * soft-fp/negtf2.c (__negtf2): Likewise.
14482 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14483
cb8f9562
JM
144842013-10-09 Joseph Myers <joseph@codesourcery.com>
14485
14486 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14487 semicolon. From Linux kernel.
14488
5b60c59d
AB
144892013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14490
14491 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14492
b86835ca
YC
144932013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14494
14495 [BZ #156]
14496 * manual/socket.texi: Added statement about buffer
14497 for gethostbyname2_r.
14498
e7044ea7
OB
144992013-10-08 Ondřej Bílka <neleai@seznam.cz>
14500
14501 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14502 Use .p2align directive instead, throughout.
14503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14504 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14505 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14508 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14509 * sysdeps/x86_64/strchr.S: Likewise.
14510 * sysdeps/x86_64/strrchr.S: Likewise.
14511
09544cbc
SP
145122013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14513
88576635
SP
14514 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14515
e7b2d1dd
SP
14516 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14517
09544cbc
SP
14518 * sysdeps/generic/math_private.h (__mpsin1): Remove
14519 declaration.
14520 (__mpcos1): Likewise.
14521 (__mpsin): New argument __range_reduce.
14522 (__mpcos): Likewise.
14523 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14524 (slow): Use __mpsin and __mpcos.
14525 (slow1): Likewise.
14526 (slow2): Likewise.
14527 (sloww): Likewise.
14528 (sloww1): Likewise.
14529 (sloww2): Likewise.
14530 (bsloww): Likewise.
14531 (bsloww1): Likewise.
14532 (bsloww2): Likewise.
14533 (cslow2): Likewise.
14534 (csloww): Likewise.
14535 (csloww1): Likewise.
14536 (csloww2): Likewise.
14537 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14538 range_reduce. Merge in __mpsin1.
14539 (__mpcos): Likewise.
14540 (__mpsin1): Remove.
14541 (__mpcos1): Likewise.
14542
7602d070
JM
145432013-10-07 Joseph Myers <joseph@codesourcery.com>
14544
14545 * locale/loadlocale.c (_nl_intern_locale_data): Use
14546 LOCFILE_ALIGNED_P.
14547 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14548 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14549 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14550 obstack data is appropriately aligned.
14551 (obstack_int32_grow_fast): Likewise.
14552 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14553 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14554 (add_locale_uint32_array): Likewise.
14555
a357259b
SP
145562013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14557
14558 * benchtests/Makefile: Remove ARGLIST and RET variables.
14559 ($(objpfx)bench-%.c): Pass only function name to the script.
14560 * benchtests/README: Update documentation.
14561 * benchtests/acos-inputs: Add new directives.
14562 * benchtests/acosh-inputs: Likewise.
14563 * benchtests/asin-inputs: Likewise.
14564 * benchtests/asinh-inputs: Likewise.
14565 * benchtests/atan-inputs: Likewise.
14566 * benchtests/atanh-inputs: Likewise.
14567 * benchtests/cos-inputs: Likewise.
14568 * benchtests/cosh-inputs: Likewise.
14569 * benchtests/exp-inputs: Likewise.
14570 * benchtests/log-inputs: Likewise.
14571 * benchtests/pow-inputs: Likewise.
14572 * benchtests/rint-inputs: Likewise.
14573 * benchtests/sin-inputs: Likewise.
14574 * benchtests/sinh-inputs: Likewise.
14575 * benchtests/tan-inputs: Likewise.
14576 * benchtests/tanh-inputs: Likewise.
14577 * scripts/bench.pl: Add support for new directives.
14578
9ec1b13d
AM
145792013-10-07 Alan Modra <amodra@gmail.com>
14580
14581 * README: Fix careless merge.
14582
8b7d57cd
AM
145832013-10-05 Alan Modra <amodra@gmail.com>
14584
14585 * NEWS: Mention powerpc64le support and bugs fixed.
14586 * README: Both big-endian and little-endian powerpc64 supported.
14587
7b7bab13
ST
145882013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14589
57f41c40
AS
14590 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14591 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14592 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14593 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14594
d39baad1
RA
145952013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14596
14597 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14598 match prototype.
14599
cd78f7e7
JM
146002013-10-04 Joseph Myers <joseph@codesourcery.com>
14601
29d73d86
JM
14602 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14603 Move -mhard-float appending from
14604 ports/sysdeps/powerpc/powerpc32/Makefile.
14605 [$(with-fp) = yes] (ASFLAGS): Likewise.
14606 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14607 * sysdeps/powerpc/nofpu: Move directory from
14608 ports/sysdeps/powerpc/nofpu.
14609 * sysdeps/powerpc/soft-fp: Move directory from
14610 ports/sysdeps/powerpc/soft-fp.
14611 * sysdeps/powerpc/powerpc32/405: Move directory from
14612 ports/sysdeps/powerpc/powerpc32/405.
14613 * sysdeps/powerpc/powerpc32/440: Move directory from
14614 ports/sysdeps/powerpc/powerpc32/440.
14615 * sysdeps/powerpc/powerpc32/464: Move directory from
14616 ports/sysdeps/powerpc/powerpc32/464.
14617 * sysdeps/powerpc/powerpc32/476: Move directory from
14618 ports/sysdeps/powerpc/powerpc32/476.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14620 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14622 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14624 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14626 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14628 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14629 * README: Update for powerpc-*-linux-gnu software floating point
14630 support in libc.
14631
e246b347
JM
14632 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14633 case to powerpc/powerpc32*.
14634 * sysdeps/unix/sysv/linux/configure: Regenerated.
14635
89c2003e
JM
14636 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14637 (_FPU_MASK_OM): Define as 0x04.
14638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14640 0x00c10080.
14641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14642 0x0000003c.
14643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14644
cd78f7e7
JM
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14646 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14647 getcontext_e500.
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14649 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14650 setcontext_e500.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14652 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14653 and setcontext_e500.
14654
c755294d
CL
146552013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14656
14657 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14658
e16d221c
SP
146592013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14660
14661 * manual/threads.texi (Default Thread Attributes): Fix typo.
14662
215c7d43
WN
146632013-10-04 Will Newton <will.newton@linaro.org>
14664
14665 * malloc/Makefile: Add tst-memalign.
14666 * malloc/tst-memalign.c: New file.
14667
27d0461b
WN
14668 * malloc/tst-posix_memalign.c: Add comments.
14669 (do_test): Add comments and call free on all potentially
14670 allocated pointers. Add space after cast.
14671
1bc92709
WN
14672 * malloc/tst-pvalloc.c: Add comments.
14673 (do_test): Add comments and call free on all potentially
14674 allocated pointers. Remove duplicate check for NULL pointer.
14675 Add space after cast.
14676
66a9be9d
WN
14677 * malloc/tst-valloc.c: Add comments.
14678 (do_test): Add comments and call free on all potentially
14679 allocated pointers. Remove duplicate check for NULL pointer.
14680 Add space after cast.
14681
4cb81307
AM
146822013-10-04 Alan Modra <amodra@gmail.com>
14683
14684 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14685 Use stdint types in rather than __attribute__((mode())).
14686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14687
f8e3e9f3
AM
146882013-10-04 Alan Modra <amodra@gmail.com>
14689
14690 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14691 Correct handling of unaligned relocs for little-endian.
14692 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14693
8f9ebb08
AM
146942013-10-04 Alan Modra <amodra@gmail.com>
14695
14696 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14697 * configure: Regenerate.
14698 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14699 * shlib-versions: Likewise.
14700
0edf96c2
AM
147012013-10-04 Alan Modra <amodra@gmail.com>
14702
14703 * string/tester.c (test_memrchr): Increment reported test cycle.
14704
e0f7a380
AM
147052013-10-04 Alan Modra <amodra@gmail.com>
14706
14707 * string/test-memcpy.c (do_one_test): When reporting errors, print
14708 string address and don't overrun end of string.
14709
466b0393
AM
147102013-10-04 Alan Modra <amodra@gmail.com>
14711
14712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14713 insrdi. Make better use of reg selection to speed exit slightly.
14714 Schedule entry path a little better. Remove useless "are we done"
14715 checks on entry to main loop. Handle wrapping around zero address.
14716 Correct main loop count. Handle single left-over word from main
14717 loop inline rather than by using loop_small. Remove extra word
14718 case in loop_small caused by wrong loop count. Add little-endian
14719 support.
14720 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14722 cache hint.
14723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14725 support. Avoid rlwimi.
14726 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14727
3be87c77
AM
147282013-10-04 Alan Modra <amodra@gmail.com>
14729
14730 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14731 insrdi. Formatting.
3be87c77
AM
14732 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14733 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14734 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14735 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14736 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14737 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14738
759cfef3
AM
147392013-10-04 Alan Modra <amodra@gmail.com>
14740
14741 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14743 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14744 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14745 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14746 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14748 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14749 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14750 use of regs. Use power7 mtocrf. Tidy function tails.
14751
fe6e95d7
AM
147522013-10-04 Alan Modra <amodra@gmail.com>
14753
14754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14755 Formatting. Consistently use rXXX register defines or rN defines.
14756 Use early exit labels that avoid restoring unused non-volatile regs.
14757 Make cr field use more consistent with rWORDn compares. Rename
14758 regs used as shift registers for unaligned loop, using rN defines
14759 for short lifetime/multiple use regs.
14760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14762 addi 1,1,64 to pop stack frame. Simplify return value code.
14763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14764
664318c3
AM
147652013-10-04 Alan Modra <amodra@gmail.com>
14766
14767 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14768 support. Correct typos, formatting. Optimize tail. Use insrdi
14769 rather than rlwimi.
14770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14771 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14772 little-endian support. Correct typos.
14773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14774 rather than rlwimi.
14775 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14776 in loop and entry code to keep "and." results.
14777 (strchr): Add little-endian support. Comment. Move cntlzd
14778 earlier in tail.
14779 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14780
43b84013
AM
147812013-10-04 Alan Modra <amodra@gmail.com>
14782
14783 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14784 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14785 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14786 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14787
8a7413f9
AM
147882013-10-04 Alan Modra <amodra@gmail.com>
14789
14790 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14791 (rTMP): Define as r11.
14792 (strcmp): Add little-endian support. Optimise tail.
14793 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14794 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14795 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14796 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14800
33ee81de
AM
148012013-10-04 Alan Modra <amodra@gmail.com>
14802
14803 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14804 little-endian support. Remove unnecessary "are we done" tests.
14805 Handle "s" wrapping around zero and extremely large "size".
14806 Correct main loop count. Handle single left-over word from main
14807 loop inline rather than by using small_loop. Correct comments.
14808 Delete "zero" tail, use "end_max" instead.
14809 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14810
db9b4570
AM
148112013-10-04 Alan Modra <amodra@gmail.com>
14812
14813 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14814 support. Don't branch over align.
14815 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14816 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14817 support. Rearrange tmp reg use to suit. Comment.
14818 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14819
f7c399cf
AM
148202013-10-04 Alan Modra <amodra@gmail.com>
14821
14822 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14823
0b2c2ace
AM
148242013-10-04 Alan Modra <amodra@gmail.com>
14825
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14827 conditional form of branch and link when obtaining pc.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14829
02f04a6c
AM
148302013-10-04 Alan Modra <amodra@gmail.com>
14831
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14833 HIWORD/LOWORD.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14836
9b874b2f
AM
148372013-10-04 Alan Modra <amodra@gmail.com>
14838
14839 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14840 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14841 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14842 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14843 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14844 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14845 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14846 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14848 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14849
be1e5d31
AB
148502013-10-04 Anton Blanchard <anton@au1.ibm.com>
14851 Alistair Popple <alistair@ozlabs.au.ibm.com>
14852 Alan Modra <amodra@gmail.com>
14853
14854 [BZ #15723]
14855 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14857 _dl_hwcap access for little-endian.
14858 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14859 destroy vmx regs when saving unaligned.
14860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14861 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14862 destroy vmx regs when saving unaligned.
14863
fef13a78
AM
148642013-10-04 Alan Modra <amodra@gmail.com>
14865
14866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14867 Don't use a union to pack hi/low value.
14868
76a66d51
AB
148692013-10-04 Anton Blanchard <anton@au1.ibm.com>
14870
14871 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14872 for little-endian.
14873 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14875 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14876 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14877 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14878
6a31fe7f
AM
148792013-10-04 Alan Modra <amodra@gmail.com>
14880
14881 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14882 constants to usual value for .cst8 section, and remove redundant
14883 high address load.
14884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14885 constant for 0x1p52. Load little-endian words of double from
14886 correct stack offsets.
14887
7b88401f
AM
148882013-10-04 Alan Modra <amodra@gmail.com>
14889
14890 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14891 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14892 words of double from correct stack offsets.
14893 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14894 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14895 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14898 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14900 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14901 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14902 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14908 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14909 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14910
9c008155
AM
149112013-10-04 Alan Modra <amodra@gmail.com>
14912
14913 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14914 64-bit int/double union.
14915 (_FPU_SETCW): Likewise.
14916 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14917 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14918
da13146d
AM
149192013-10-04 Alan Modra <amodra@gmail.com>
14920
14921 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14922 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14923
603e8410
AM
149242013-10-04 Alan Modra <amodra@gmail.com>
14925
14926 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14927 use vector int constants.
14928 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14929
4a28b3ca
AB
149302013-10-04 Anton Blanchard <anton@au1.ibm.com>
14931
14932 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14933 array with long long.
14934 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14935 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14936 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14937 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14939 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14940 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14941 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14942 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14943 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14944 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14945 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14946 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14947
2ca85d2b
AB
149482013-10-04 Anton Blanchard <anton@au1.ibm.com>
14949
14950 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14951 (__signbit): Likewise. Correct for little-endian.
14952 (__signbitl): Call __signbit.
14953 (lrint): Correct for little-endian.
14954 (lrintf): Call lrint.
14955
62a728ae
AM
149562013-10-04 Alan Modra <amodra@gmail.com>
14957
14958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14959 union 32-bit int array member with 64-bit int array.
14960 (t515, tm256): Double rather than long double.
14961 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14962
32c301df
AM
149632013-10-04 Alan Modra <amodra@gmail.com>
14964
14965 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14966 Delete.
14967 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14969 version of math_ldbl.h.
14970
650ef4bd
AM
149712013-10-04 Alan Modra <amodra@gmail.com>
14972
14973 [BZ #15734], [BZ #15735]
14974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14975 all uses of ieee875 long double macros and unions. Simplify test
14976 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14977 ldbl_extract_mantissa value for ix,iy exponents. Properly
14978 normalize after ldbl_extract_mantissa, and don't add hidden bit
14979 already handled. Don't treat low word of ieee854 mantissa like
14980 low word of IBM long double and mask off bit when testing for
14981 zero.
14982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14983 all uses of ieee875 long double macros and unions. Simplify tests
14984 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14985 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14986 two1022, instead use their values. Recognise that tests for large
14987 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14989 Rewrite all uses of ieee875 long double macros and unions. Simplify
14990 test for 0.0L and nan. Correct negation.
14991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14992 ieee875 long double macros and unions. Correct output for large
14993 magnitude x. Correct absolute value calculation.
14994 (__erfcl): Likewise.
14995 * math/libm-test.inc: Add tests for errors discovered in IBM long
14996 double versions of fmodl, remainderl, erfl and erfcl.
14997
765714ca
AM
149982013-10-04 Alan Modra <amodra@gmail.com>
14999
15000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15001 all uses of ieee854 long double macros and unions. Simplify tests
15002 for long doubles that are fully specified by the high double.
15003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15004 Likewise.
15005 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15006 Remove dead code too.
15007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15008 (__ieee754_ynl): Likewise.
15009 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15012 Remove dead code too.
15013 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15017 Simplify.
15018 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15019 Simplify.
15020 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15023 Comment on variable precision.
15024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15026 Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15031 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15032
4ebd120c
AM
150332013-10-04 Alan Modra <amodra@gmail.com>
15034
15035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15037 all uses of ieee854 long double macros and unions.
15038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15044 Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15051 Simplify sign and nan test too.
15052 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15056 Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15059 Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15066
1b6adf88
AM
150672013-10-04 Alan Modra <amodra@gmail.com>
15068
15069 * stdio-common/printf_size.c (__printf_size): Don't use
15070 union ieee854_long_double in fpnum union.
15071 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15072 signbit macro to retrieve sign from long double.
15073 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15074 retrieve sign from long double.
15075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15076 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15078 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15079 * math/test-misc.c (main): Don't use union ieee854_long_double.
15080
4cf69995
AM
150812013-10-04 Alan Modra <amodra@gmail.com>
15082
15083 [BZ #15680]
15084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15085 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15086 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15087 calculation. Remove unnecessary test for denormal exponent.
15088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15089 Correct handling of denormals. Avoid undefined shift behaviour.
15090 Correct normalisation of low mantissa when low double is denormal.
15091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15092 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15093 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15094 Correct normalisation of low mantissa. Test for overflow of high
15095 mantissa and normalise.
15096 (ldbl_nearbyint): Use more readable constant for two52.
15097 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15098 (__mpn_construct_long_double): Fix test for overflow of high
15099 mantissa and correct normalisation. Avoid undefined shift.
15100
9605ca6c
AM
151012013-10-04 Alan Modra <amodra@gmail.com>
15102
15103 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15104 (union ibm_extended_long_double): Define as an array of ieee754_double.
15105 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15107 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15108 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15112 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15114 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15115 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15116
975569d0
JM
151172013-10-03 Joseph Myers <joseph@codesourcery.com>
15118
d3d23756
JM
15119 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15120 page size instead of calling getpagesize.
15121
975569d0
JM
15122 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15123 (LOCFILE_ALIGN_MASK): Likewise.
15124 (LOCFILE_ALIGN_UP): Likewise.
15125 (LOCFILE_ALIGNED_P): Likewise.
15126 * locale/programs/ld-collate.c (collate_output): Use the new
15127 macros instead of __alignof__ (int32_t).
15128 * locale/weight.h (findidx): Likewise.
15129
b1fe1f2b
OB
151302013-10-03 Ondřej Bílka <neleai@seznam.cz>
15131
15132 [BZ #431]
15133 * manual/string.texi: Fix strncat and wcsncat.
15134
5f855e35
BM
151352013-10-03 Brooks Moses <bmoses@google.com>
15136
15137 [BZ #15915]
15138 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15139 * Makerules: ...here, and adjust associated comments.
15140
3cef6009
WN
151412013-10-02 Will Newton <will.newton@linaro.org>
15142
15143 * malloc/Makefile: Add tst-pvalloc.
15144 * malloc/tst-pvalloc.c: New file.
15145
7815420b
WN
151462013-10-02 Will Newton <will.newton@linaro.org>
15147
15148 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15149 improve test coverage.
15150
4868b204
WN
151512013-10-02 Will Newton <will.newton@linaro.org>
15152
15153 * malloc/Makefile: Add tst-posix_memalign.
15154 * malloc/tst-posix_memalign.c: New file.
15155
29c793b3
EB
151562013-10-01 Eric Blake <eblake@redhat.com>
15157
15158 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15159 Use __THROWNL rather than __THROW on static functions.
15160
fd967522
PM
151612013-09-30 Petr Machata <pmachata@redhat.com>
15162
15163 * elf/elf.h (R_AARCH64_ABS16): New macro.
15164 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15165 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15166 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15167 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15168 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15169 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15170 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15171 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15172 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15173 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15174 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15175 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15176 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15177 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15178 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15179 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15180 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15181 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15182 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15183 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15184 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15185 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15186 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15187 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15188 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15189 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15190 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15191 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15192 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15193 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15194 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15195 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15196 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15197 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15198 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15199 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15200 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15201 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15202 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15203 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15204 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15205 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15206 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15207 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15208 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15209 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15210 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15211 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15212 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15213 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15214 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15215 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15216 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15217 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15218 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15219 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15220 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15221 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15222 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15223 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15224 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15225 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15226 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15227 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15228 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15229 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15230 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15231 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15232 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15233 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15234 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15235 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15236 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15237 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15238 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15239 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15240 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15241 (R_AARCH64_TLSDESC_LDR): Likewise.
15242 (R_AARCH64_TLSDESC_ADD): Likewise.
15243 (R_AARCH64_TLSDESC_CALL): Likewise.
15244
b2179107
AS
152452013-09-30 Andreas Schwab <schwab@suse.de>
15246
15247 [BZ #15048]
15248 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15249 the nss database lookup.
15250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15252
47f28d0a
MF
152532013-09-28 Mike Frysinger <vapier@gentoo.org>
15254
15255 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15256
152572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15258
15259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15260 ${Bash-specific parameter/pattern/string} parameter expansion.
15261 * sysdeps/unix/make-syscalls.sh: Likewise.
15262
f4518a17
KK
152632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15264
15265 * sysdeps/sh/stackguard-macros.h: New file.
15266
dc1a95c7
OB
152672013-09-26 Ondřej Bílka <neleai@seznam.cz>
15268
15269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15271 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15272 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15274 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15275
5ebbff8f
AZ
152762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15277
15278 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15279 Fix thread ID register.
15280
4fd2cf9f
JM
152812013-09-25 Joseph Myers <joseph@codesourcery.com>
15282
15283 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15284 [POSIX || UNIX98]: Require rather than permitting all symbols from
15285 <time.h>.
15286 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15287 element of struct sched_param.
15288 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15289 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15290 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15291 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15292 constant.
15293
12c22bc4
OL
152942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15295
15296 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15297 argument calculation.
15298
a03d8ea7
JM
152992013-09-24 Joseph Myers <joseph@codesourcery.com>
15300
15301 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15302 Expect macro.
15303 [POSIX] (pthread_attr_t): Do not require type.
15304 [POSIX] (pthread_cond_t): Likewise.
15305 [POSIX] (pthread_condattr_t): Likewise.
15306 [POSIX] (pthread_key_t): Likewise.
15307 [POSIX] (pthread_mutex_t): Likewise.
15308 [POSIX] (pthread_mutexattr_t): Likewise.
15309 [POSIX] (pthread_once_t): Likewise.
15310 [POSIX] (pthread_t): Likewise.
15311 [POSIX-based standards] (pthread_atfork): Expect function.
15312
6055173a
JM
153132013-09-24 Joseph Myers <joseph@codesourcery.com>
15314 Richard Sandiford <richard@codesourcery.com>
15315
15316 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15317 (swap_endianness_p): New extern variable.
15318 (set_big_endian): New inline function.
15319 (maybe_swap_uint32): Likewise.
15320 (maybe_swap_uint32_array): Likewise.
15321 (maybe_swap_uint32_obstack): Likewise.
15322 * locale/programs/locfile.c: Include <stdbool.h>.
15323 (swap_endianness_p): New variable.
15324 (add_locale_uint32): Call maybe_swap_uint32.
15325 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15326 (write_locale_data): Call maybe_swap_uint32_array.
15327 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15328 maybe_swap_uint32.
15329 (obstack_int32_grow_fast): Likewise.
15330 (output_weightwc): Call maybe_swap_uint32_obstack.
15331 (collate_output): Likewise.
15332 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15333 (OPT_LITTLE_ENDIAN): Likewise.
15334 (options): Add --little-endian and --big-endian options.
15335 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15336 * locale/programs/locarchive.c: Include "locfile.h".
15337 (GET): New macro.
15338 (SET): Likewise.
15339 (INC): Likewise.
15340 (create_archive): Use the new macros to access fields of
15341 structures directly mapped from or written to locale archives.
15342 (oldlocrecentcmp): Likewise.
15343 (enlarge_archive): Likewise.
15344 (insert_name): Likewise.
15345 (add_alias): Likewise.
15346 (add_locale): Likewise.
15347 (delete_locales_from_archive): Likewise.
15348 (show_archive_content): Likewise.
15349 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15350 locale data.
15351
39bf0bb4
RM
153522013-09-24 Roland McGrath <roland@hack.frob.com>
15353
15354 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15355 http://www.gnu.org/doc/freemanuals.texi.
15356 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15357
f02eed10
WN
153582013-09-24 Will Newton <will.newton@linaro.org>
15359
15360 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15361 macro.
15362
a3a6c312
JM
153632013-09-23 Joseph Myers <joseph@codesourcery.com>
15364
15365 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15366 unsigned char.
15367
107375ac
MR
153682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15369
15370 * manual/threads.texi (POSIX Threads): Fix a typo.
15371
141f3a77
SP
153722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15373
303e567a
SP
15374 [BZ #14547]
15375 * string/tst-strcoll-overflow.c: New test case.
15376 * string/Makefile (xtests): Add tst-strcoll-overflow.
15377 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15378 cache if string sizes may cause integer overflow.
15379
141f3a77
SP
15380 [BZ #14547]
15381 * string/strcoll_l.c (coll_seq): New members rule, idx,
15382 save_idx and back_us.
15383 (get_next_seq_nocache): New function.
15384 (do_compare_nocache): New function.
15385 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15386 when malloc fails.
15387
c61b4d41
CD
153882013-09-23 Carlos O'Donell <carlos@redhat.com>
15389
0b1f8e35
CD
15390 [BZ #15754]
15391 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15392 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15393 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15394
c61b4d41
CD
15395 [BZ #15754]
15396 * elf/Makefile (tests): Add tst-ptrguard1.
15397 (tests-static): Add tst-ptrguard1-static.
15398 (tst-ptrguard1-ARGS): Define.
15399 (tst-ptrguard1-static-ARGS): Define.
15400 * elf/tst-ptrguard1.c: New file.
15401 * elf/tst-ptrguard1-static.c: New file.
15402 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15403 * sysdeps/i386/stackguard-macros.h: Likewise.
15404 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15405 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15406 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15407 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15408 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15409 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15410
154112013-09-23 Hector Marco <hecmargi@upv.es>
15412 Ismael Ripoll <iripoll@disca.upv.es>
15413 Carlos O'Donell <carlos@redhat.com>
15414
15415 [BZ #15754]
15416 * sysdeps/generic/stackguard-macros.h: Define
15417 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15418 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15419 Define __pointer_chk_guard_local.
15420 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15421 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15422
f5f4e7b4
VV
154232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15424
15425 [BZ #15859]
15426 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15427
5bb43a43
AS
154282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15429
15430 * include/string.h (__ffs): Declare as hidden.
15431 * string/ffs.c (__ffs): Define as hidden.
15432 * sysdeps/i386/ffs.c (__ffs): Likewise.
15433 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15434 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15435 * sysdeps/s390/ffs.c (__ffs): Likewise.
15436 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15437
3ea5be54
AO
154382013-09-20 Alexandre Oliva <aoliva@redhat.com>
15439
ffb89e53
AO
15440 * NEWS: Mention malloc probes.
15441
322dea08
AO
15442 * malloc/arena.c (new_heap): New memory_heap_new probe.
15443 (grow_heap): New memory_heap_more probe.
15444 (shrink_heap): New memory_heap_less probe.
15445 (heap_trim): New memory_heap_free probe.
15446 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15447 (systrim): New memory_sbrk_less probe.
15448 * manual/probes.texi: Document them.
15449
655673f3
AO
15450 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15451 * manual/probes.texi: Document it.
15452
35fed6f1
AO
15453 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15454 (__libc_realloc): Add memory_realloc_retry probe.
15455 (__libc_memalign): Add memory_memalign_retry probe.
15456 (__libc_valloc): Add memory_valloc_retry probe.
15457 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15458 (__libc_calloc): Add memory_calloc_retry probe.
15459 * manual/probes.texi: Document them.
15460
6999d38c
AO
15461 * malloc/arena.c (get_free_list): Add probe
15462 memory_arena_reuse_free_list.
15463 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15464 and memory_arena_reuse.
15465 (arena_get2) [!PER_THREAD]: Likewise.
15466 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15467 memory_arena_reuse_realloc.
15468 * manual/probes.texi: Document them.
15469
0653427f
AO
15470 * malloc/malloc.c (__libc_free): Add
15471 memory_mallopt_free_dyn_thresholds probe.
15472 (__libc_mallopt): Add multiple memory_mallopt probes.
15473 * manual/probes.texi: Document them.
15474
3ea5be54
AO
15475 * malloc/malloc.c: Include stap-probe.h.
15476 (__libc_mallopt): Add memory_mallopt probe.
15477 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15478 * manual/probes.texi: New.
15479 * manual/Makefile (chapters): Add probes.
15480 * manual/threads.texi: Set next node.
15481
e35696c3 154822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15483
e35696c3
CL
15484 [BZ #15963, #13985]
15485 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15486 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15487 Add `Chinese' to `nan' entry name.
15488
4aafb73c
SP
154892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15490
15491 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15492 (POLYNOMIAL): Likewise.
15493 (TAYLOR_SINCOS): Likewise.
15494 (TAYLOR_SLOW): Likewise.
15495 (__sin): Use TAYLOR_SINCOS.
15496 (__cos): Likewise.
15497 (slow): Use TAYLOR_SLOW.
15498 (sloww): Likewise.
15499 (bsloww): Likewise.
15500 (csloww): Likewise.
15501
d84f25c7
LD
155022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15503
15504 * stdlib/strtod_l.c: Fix buffer overrun.
15505
5eea0404
SP
155062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15507
7849ff93
SP
15508 * benchtests/Makefile (bench): Add sincos.
15509 * benchtests/bench-sincos.c: New file.
15510
cfa3c886
SP
15511 * math/libm-test.inc (cos_test_data): New test inputs.
15512 (sin_test_data): Likewise.
15513
b348e1e3
SP
15514 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15515 macro.
15516 (__sin): Use it.
15517 (__cos): Likewise.
15518 (slow1): Likewise.
15519 (slow2): Likewise.
15520 (sloww1): Likewise.
15521 (sloww2): Likewise.
15522 (bsloww1): Likewise.
15523 (bsloww2): Likewise.
15524 (cslow2): Likewise.
15525 (csloww1): Likewise.
15526 (csloww2): Likewise.
15527
6cce25f8
SP
15528 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15529 function.
15530 (__sin): Use it.
15531 (__cos): Likewise.
15532
5eea0404
SP
15533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15534 gotos.
15535 (__cos): Likewise.
15536
9c21573c
MR
155372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15538
15539 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15540 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15541 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15542 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15543 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15544 * elf/cache.c (print_entry): Handle the new cache flags.
15545
24d22e65
JM
155462013-09-18 Joseph Myers <joseph@codesourcery.com>
15547 Aldy Hernandez <aldyh@redhat.com>
15548
15549 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15550 Change condition to [_SOFT_FLOAT].
15551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15563 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15566 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15567 declaration.
15568
d13ef066
JM
155692013-09-18 Joseph Myers <joseph@codesourcery.com>
15570
2e071de0
JM
15571 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15572 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15573 (__longjmp): Use LOAD_GP to load saved GPRs.
15574 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15575 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15576 (__sigsetjmp): Use SAVE_GP to save GPRs.
15577
d13ef066
JM
15578 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15579 Do not append -msoft-float.
15580 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15581
97a0650b
SP
155822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15583
15584 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15585
11ca09e9
JM
155862013-09-17 Joseph Myers <joseph@codesourcery.com>
15587
15588 [BZ #15966]
15589 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15590 (_FPU_GETCW): Use initial "__" on variable and field names but not
15591 on macro parameter name.
15592 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15593 parentheses around reference to macro parameter.
15594
08ffcf34
RS
155952013-09-13 Richard Sandiford <richard@codesourcery.com>
15596
15597 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15598 prototype.
15599 (ctype_startup): Use uint32_t in cast and sizeof for
15600 ctype->charnames.
15601
ae7080d3
JL
156022013-09-11 Jia Liu <proljc@gmail.com>
15603
15604 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15605 __daddr_t_defined.
15606 [__FreeBSD__]: Likewise.
15607
5905e7b3
OB
156082013-09-11 Ondřej Bílka <neleai@seznam.cz>
15609
15610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15611 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15612 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15613 (strchr): Remove __strchr_sse42 ifunc selection.
15614 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15615 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15616
b987c776
WN
156172013-09-11 Will Newton <will.newton@linaro.org>
15618
15619 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15620 parameter to RES. Remove hardcoded 1000 value.
15621 * benchtests/bench-skeleton.c (main): Pass RES parameter
15622 to TIMING_INIT and multiply result by 1000.
15623
ddf985af
AZ
156242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15625
15626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15627
ffdd3181
AS
156282013-09-11 Andreas Schwab <schwab@suse.de>
15629
15630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15631 if not defined.
15632 (O_TMPFILE) [__USE_GNU]: Define.
15633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15634 Define.
15635
b73ed247
WN
156362013-09-11 Will Newton <will.newton@linaro.org>
15637
15638 [BZ #15857]
15639 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15640 does not overflow.
15641
55e17aad
WN
156422013-09-11 Will Newton <will.newton@linaro.org>
15643
15644 [BZ #15856]
15645 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15646 does not overflow.
15647
1159a193
WN
156482013-09-11 Will Newton <will.newton@linaro.org>
15649
15650 [BZ #15855]
15651 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15652 does not overflow.
15653
5905e7b3 156542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15655
15656 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15661
cdfc721b
AM
156622013-09-10 Allan McRae <allan@archlinux.org>
15663
aa04af00
AM
15664 [BZ #15748]
15665 * manual/arith.texi (Parsing of Floats): Clarify
15666 cross-reference.
15667
cdfc721b
AM
15668 [BZ #15849]
15669 * manual/install.texi (Running make install): Mention
15670 --enable-pt-chown.
15671 * INSTALL: Regenerated.
15672
95e7cf29
MR
156732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15674
15675 * csu/init-first.c (_init): Remove the !SHARED condition around
15676 FPU control word initialization.
15677 * elf/dl-support.c (_dl_fpu_control): New variable.
15678 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15679 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15680 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15681 * math/test-fpucw-static.c: New file.
15682 * math/test-fpucw-ieee.c: New file.
15683 * math/test-fpucw-ieee-static.c: New file.
15684 * math/Makefile (tests): Add `test-fpucw-ieee' and
15685 `$(tests-static)'.
15686 (tests-static): New variable.
15687 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15688 dependency to...
15689 [($(build-shared),yes)]
15690 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15691 ... this.
15692 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15693 New dependency.
15694
83e43bf0
AM
156952013-09-09 Allan McRae <allan@archlinux.org>
15696
a9f5ce09
AM
15697 [BZ #15939]
15698 * manual/string.texi (Collation Functions): Fix typo in
15699 strcoll example.
15700 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15701
34829bc2
AM
15702 [BZ #15893]
15703 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15704
3932737d
AM
15705 [BZ #15892]
15706 * libio/memstream.c (open_memstream): Fix memory leak.
15707 * libio/wmemstream.c (open_wmemstream): Likewise.
15708
83e43bf0
AM
15709 [BZ #15895]
15710 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15711
0c66b8e9
WN
157122013-09-09 Will Newton <will.newton@linaro.org>
15713
15714 * malloc/Makefile: Add tst-realloc to tests.
15715 * malloc/tst-realloc.c: New file.
15716
f6b00fd1
AM
157172013-09-09 Allan McRae <allan@archlinux.org>
15718
15719 [BZ #15844]
15720 * COPYING: Update from GNU website to fix FSF address.
15721 * COPYING.LIB: Likewise.
15722
eec55e16
DM
157232013-09-06 David S. Miller <davem@davemloft.net>
15724
15725 * po/zh_TW.po: Update Chinese (traditional) translation from
15726 translation project.
15727
1ecbb381
RS
157282013-09-06 Richard Sandiford <richard@codesourcery.com>
15729 Joseph Myers <joseph@codesourcery.com>
15730
15731 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15732 "localeinfo.h".
15733 (obstack_chunk_alloc): New macro.
15734 (obstack_chunk_free): Likewise.
15735 (record_offset): New function.
15736 (init_locale_data): Likewise.
15737 (align_locale_data): Likewise.
15738 (add_locale_empty): Likewise.
15739 (add_locale_raw_data): Likewise.
15740 (add_locale_raw_obstack): Likewise.
15741 (add_locale_string): Likewise.
15742 (add_locale_wstring): Likewise.
15743 (add_locale_uint32): Likewise.
15744 (add_locale_uint32_array): Likewise.
15745 (add_locale_char): Likewise.
15746 (start_locale_structure): Likewise.
15747 (end_locale_structure): Likewise.
15748 (start_locale_prelude): Likewise.
15749 (end_locale_prelude): Likewise.
15750 (write_locale_data): Take locale_file structure rather than an
15751 iovec.
15752 * locale/programs/locfile.h: Include "obstack.h".
15753 (struct locale_file): Change to store locale file contents instead
15754 of header.
15755 (init_locale_data): New prototype.
15756 (align_locale_data): Likewise.
15757 (add_locale_empty): Likewise.
15758 (add_locale_raw_data): Likewise.
15759 (add_locale_raw_obstack): Likewise.
15760 (add_locale_string): Likewise.
15761 (add_locale_wstring): Likewise.
15762 (add_locale_uint32): Likewise.
15763 (add_locale_uint32_array): Likewise.
15764 (add_locale_char): Likewise.
15765 (start_locale_structure): Likewise.
15766 (end_locale_structure): Likewise.
15767 (start_locale_prelude): Likewise.
15768 (end_locale_prelude): Likewise.
15769 (write_locale_data): Update prototype.
15770 * locale/programs/3level.h (struct TABLE): Remove result field.
15771 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15772 Use new locale_file interface.
15773 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15774 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15775 * locale/programs/ld-address.c (address_output): Use new
15776 locale_file interface.
15777 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15778 NO_ADD_LOCALE.
15779 (collate_finish): Don't call collseq_table_finalize.
15780 (collate_output): Use new locale_file interface.
15781 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15782 in file.
15783 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15784 (TABLE): Move defines earlier in file.
15785 (ELEMENT): Likewise.
15786 (DEFAULT): Likewise.
15787 (wctrans_table_add): Move macro and inline function earlier in
15788 file.
15789 (struct wctype_table): Move type earlier in file.
15790 (add_locale_wctype_table): New static prototype.
15791 (struct locale_ctype_t): Use logical types instead of struct iovec
15792 pointers for members.
15793 (ctype_output): Use new locale_file interface.
15794 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15795 new locale_file interface.
15796 (allocate_arrays): Update for use of new locale_file interface.
15797 * locale/programs/ld-identification.c (identification_output): Use
15798 new locale_file interface.
15799 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15800 * locale/programs/ld-messages.c (messages_output): Likewise.
15801 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15802 * locale/programs/ld-name.c (name_output): Likewise.
15803 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15804 * locale/programs/ld-paper.c (paper_output): Likewise.
15805 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15806 * locale/programs/ld-time.c (time_output): Likewise.
15807
e029e2e5
AZ
158082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15809
15810 * benchtests/Makefile: Add memrchr benchmark.
15811 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15812 benchmark as memrchr.
15813 * benchtests/bench-memrchr-ifunc.c: New file.
15814 * benchtests/bench-memrchr.c: New file.
15815
bbf6e8e4
WN
158162013-09-06 Will Newton <will.newton@linaro.org>
15817
15818 * benchtests/Makefile (string-bench): Add memcpy.
15819
6c82a2f8
CD
158202013-09-05 Carlos O'Donell <carlos@redhat.com>
15821 Cong Wang <amwang@redhat.com>
15822
e732c5f0 15823 [BZ #15850]
6c82a2f8
CD
15824 * sysdeps/unix/sysv/linux/bits/in.h
15825 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15826 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15827 before __USE_KERNEL_IPV6_DEFS uses.
15828 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15829 IPPROTO_BEETPH.
15830 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15831 sockaddr_in6, or ipv6_mreq.
15832
5430fc65
AZ
158332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15834
15835 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15836 memory access for final bytes in some large inputs.
15837 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15838
4660856c
AZ
158392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15840
15841 * string/test-memrchr.c: New file.
15842 * string/test-memrchr-ifunc.c: New file.
15843 * string/Makefile: Add new memrchr testcase.
15844
bb8ea713
MF
158452013-09-05 Mike Frysinger <vapier@gentoo.org>
15846
15847 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15848 fanotify_init returns EPERM.
15849
b92a20b5
JM
158502013-09-04 Joseph Myers <joseph@codesourcery.com>
15851
15852 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15853 errors.
15854 (top level): Treat second token from macro or constant entries for
15855 allowed headers as allowed.
15856 * include/complex.h: Condition internal declarations on
15857 [!_ISOMAC].
15858 * include/fenv.h: Condition include of <stdbool.h> and internal
15859 declarations on [!_ISOMAC].
7447ccd9
CL
15860
158612013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15862
3e181dda 15863 [BZ #15923]
7447ccd9
CL
15864 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15865
3f2e46a4
JM
158662013-09-04 Joseph Myers <joseph@codesourcery.com>
15867
15868 * configure.in (--enable-versioning): Remove configure option.
15869 (libc_cv_asm_symver_directive): Remove configure test.
15870 (libc_cv_ld_version_script_option): Likewise.
15871 (VERSIONING): Remove variable and AC_SUBST.
15872 (DO_VERSIONING): Remove AC_DEFINE.
15873 * configure: Regenerated.
15874 * config.h.in (DO_VERSIONING): Remove macro.
15875 * Makerules [$(versioning) = yes]: Change conditionals to
15876 [$(build-shared) = yes].
15877 * config.make.in (versioning): Remove variable.
15878 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15879 [$(build-shared) = yes].
15880 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15881 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15882 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15883 [$(build-shared) = yes].
15884 * extra-lib.mk [$(versioning) = yes]: Likewise.
15885 * hurd/Makefile [$(versioning) = yes]: Likewise.
15886 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15887 [SHARED].
15888 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15889 [SHARED].
15890 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15891 [SHARED && !NO_HIDDEN].
15892 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15893 [SHARED].
15894 [SHARED && DO_VERSIONING]: Likewise..
15895 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15896 [$(build-shared) = yes].
15897 * manual/install.texi (--disable-versioning): Remove
15898 documentation.
15899 * INSTALL: Regenerated.
15900 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15901 to [SHARED].
15902 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15903 [$(build-shared) = yes].
15904 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15905 * sysdeps/i386/i686/multiarch/strstr-c.c
15906 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15907 [SHARED && !NO_HIDDEN].
15908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15909 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15910 * sysdeps/powerpc/powerpc32/dl-machine.c
15911 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15912 * sysdeps/powerpc/powerpc32/sysdep.h
15913 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15914 to [SHARED && PIC && !NO_HIDDEN].
15915 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15916 conditional to [SHARED].
15917
44558701
WN
159182013-09-04 Will Newton <will.newton@linaro.org>
15919
15920 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15921 * benchtests/bench-string.h: Include bench-timing.h instead
15922 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15923 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15924 call to HP_TIMING_DIFF_INIT.
15925 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15926 instead of hp-timing.h macros.
15927 * benchtests/bench-memchr.c: Likewise.
15928 * benchtests/bench-memcmp.c: Likewise.
15929 * benchtests/bench-memcpy.c: Likewise.
15930 * benchtests/bench-memmem.c: Likewise.
15931 * benchtests/bench-memmove.c: Likewise.
15932 * benchtests/bench-memset.c: Likewise.
15933 * benchtests/bench-rawmemchr.c: Likewise.
15934 * benchtests/bench-strcasecmp.c: Likewise.
15935 * benchtests/bench-strcasestr.c: Likewise.
15936 * benchtests/bench-strcat.c: Likewise.
15937 * benchtests/bench-strchr.c: Likewise.
15938 * benchtests/bench-strcmp.c: Likewise.
15939 * benchtests/bench-strcpy.c: Likewise.
15940 * benchtests/bench-strcpy_chk.c: Likewise.
15941 * benchtests/bench-strlen.c: Likewise.
15942 * benchtests/bench-strncasecmp.c: Likewise.
15943 * benchtests/bench-strncat.c: Likewise.
15944 * benchtests/bench-strncmp.c: Likewise.
15945 * benchtests/bench-strncpy.c: Likewise.
15946 * benchtests/bench-strnlen.c: Likewise.
15947 * benchtests/bench-strpbrk.c: Likewise.
15948 * benchtests/bench-strrchr.c: Likewise.
15949 * benchtests/bench-strspn.c: Likewise.
15950 * benchtests/bench-strstr.c: Likewise.
15951
cae16d66
WN
159522013-09-04 Will Newton <will.newton@linaro.org>
15953
15954 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15955
ffa3cd7f
JM
159562013-09-03 Joseph Myers <joseph@codesourcery.com>
15957
15958 [BZ #15427]
15959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15960 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15961 * math/libm-test.inc (lgamma_test_data): Add more tests.
15962 * sysdeps/i386/fpu/libm-test-ulps: Update.
15963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15964
8f02859f
OB
159652013-09-03 Ondřej Bílka <neleai@seznam.cz>
15966
15967 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15969 Add ifunc.
15970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15971 Add strcmp-sse2-unaligned
15972 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15973
18d43716
MF
159742013-09-02 Mike Frysinger <vapier@gentoo.org>
15975
15976 * Versions.def (libc): Add GLIBC_2.19.
15977
ac444012
MF
159782013-09-02 Mike Frysinger <vapier@gentoo.org>
15979
15980 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15981 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15982
b7835e32
JM
159832013-09-02 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #14155]
15986 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15987 intermediate calculations in recurrence.
15988 (__ieee754_ynf): Likewise.
15989 * math/libm-test.inc (jn_test_data): Do not allow spurious
15990 underflow exception. Add more tests.
15991 (yn_test_data): Add more tests.
15992 * sysdeps/i386/fpu/libm-test-ulps: Update.
15993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15994
8220f4f0
OB
159952013-09-02 Ondřej Bílka <neleai@seznam.cz>
15996
15997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15998
f24a6d08
OB
159992013-08-30 Ondřej Bílka <neleai@seznam.cz>
16000
16001 * csu/init-first.c: Fix then/than typos.
16002 * locale/programs/ld-collate.c: Likewise.
16003 * locale/programs/linereader.h: Likewise.
16004 * manual/charset.texi: Likewise.
16005 * manual/filesys.texi: Likewise.
16006 * manual/stdio.texi: Likewise.
16007 * manual/string.texi: Likewise.
16008 * stdlib/fmtmsg.c: Likewise.
16009 * sysdeps/i386/stpncpy.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16011 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16012 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16013 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16014
382466e0
OB
160152013-08-30 Ondřej Bílka <neleai@seznam.cz>
16016
16017 * elf/dl-open.c: Fix typos.
16018 * iconvdata/gbbig5.c: Likewise.
16019 * iconvdata/iso-2022-jp.c: Likewise.
16020 * iconv/gconv_int.h: Likewise.
16021 * iconv/loop.c: Likewise.
16022 * nis/rpcsvc/nis.h: Likewise.
16023 * resolv/ns_name.c: Likewise.
16024 * stdio-common/vfscanf.c: Likewise.
16025 * streams/stropts.h: Likewise.
16026 * sunrpc/rpc_thread.c: Likewise.
16027 * sysdeps/i386/strpbrk.S: Likewise.
16028 * sysdeps/ieee754/k_standard.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16031 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16032 * sysdeps/mach/hurd/profil.c: Likewise.
16033 * sysdeps/s390/dl-procinfo.h: Likewise.
16034 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16036 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16037 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16038 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16039
0186c6e9
OB
160402013-08-30 Ondřej Bílka <neleai@seznam.cz>
16041
16042 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16044
d4e16af1
OB
160452013-08-29 Ondřej Bílka <neleai@seznam.cz>
16046
16047 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16048 aix specific files.
16049 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16050 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16051 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16052 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16057
88335980
TS
160582013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16059 Roland McGrath <roland@hack.frob.com>
16060
16061 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16062 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16063
ed479b02
ST
160642013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16065
16066 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16067 __executable_start symbol instead of _start.
16068
f1cc4c86
TS
160692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16070
d821f07c
TS
16071 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16072 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16073 Move macros to...
16074 * sysdeps/gnu/ldsodefs.h: ... this new file.
16075
c54290cf
TS
16076 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16077 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16078 instead of ELFOSABI_LINUX.
16079
0007fc9b 16080 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16081 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16082 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16083 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16084 Likewise.
16085 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16086 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16088 Likewise.
16089 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16090 (ibm_extended_long_double): Add ieee_nan member.
16091 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16092 (do_test): New function.
16093
f1cc4c86
TS
16094 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16095 TEST_TRUNC.
16096 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16097 functions, renamed from truncdfsf_test, trunctfsf_test,
16098 trunctfdf_test.
16099 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16100 functions.
16101 (do_test): Run all these.
16102
6f65e668
OB
161032013-08-29 Ondřej Bílka <neleai@seznam.cz>
16104
16105 * argp/argp-help.c: Fix typos.
16106 * argp/argp-parse.c: Likewise.
16107 * debug/backtracesyms.c: Likewise.
16108 * elf/elf.h: Likewise.
16109 * malloc/malloc.c: Likewise.
16110 * nis/nis_print.c: Likewise.
16111 * resolv/res_comp.c: Likewise.
16112 * stdlib/stdlib.h: Likewise.
16113 * sunrpc/clnt_tcp.c: Likewise.
16114 * sunrpc/clnt_udp.c: Likewise.
16115 * sunrpc/clnt_unix.c: Likewise.
16116 * sysdeps/unix/bsd/ptsname.c: Likewise.
16117 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16120 Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16122 Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16124 Likewise.
6f65e668
OB
16125 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16126
3a309239
SP
161272013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16128
16129 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16131
3b813b29
MF
161322013-08-27 Mike Frysinger <vapier@gentoo.org>
16133
16134 [BZ #15897]
16135 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16136 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16137 ($(objpfx)bug-dl-leaf): New rule.
16138 ($(objpfx)bug-dl-leaf.so): Likewise.
16139 ($(objpfx)bug-dl-leaf.out): Likewise.
16140 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16141 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16142 * dlfcn/bug-dl-leaf.c: New test.
16143 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16144 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16145 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16146 (dlclose): Likewise.
16147 (dlmopen): Likewise.
16148
8cc3269f
RM
161492013-08-27 Roland McGrath <roland@hack.frob.com>
16150
7f9d0034
RM
16151 * include/netdb.h [!_ISOMAC]:
16152 Don't include <tls.h>.
16153 (h_errno, __libc_h_errno): Move declaration and macros out of
16154 [_LIBC_REENTRANT].
16155
fb431262
RM
16156 * include/resolv.h [_RESOLV_H_]:
16157 Don't include <tls.h>.
16158 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16159 * resolv/res_libc.c: Don't include <tls.h>.
16160 (_res): Use __attribute__ ((nocommon)) in place of
16161 __attribute__ ((section (".bss"))).
16162
bd81123a
RM
16163 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16164 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16165
c4e42566
RM
16166 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16167
f890a59b
RM
16168 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16169 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16170
16171 * resolv/res_mkquery.c: Include <sys/time.h>.
16172
5d1f0a09
RM
16173 * inet/ifreq.c: Moved to ...
16174 * sysdeps/unix/ifreq.c: ... here.
16175 * inet/ifreq.c: New file, true stub version.
16176
6fcf28b3
RM
16177 * socket/sa_len.c: New file.
16178 * socket/Makefile (aux): Add it.
16179 * sysdeps/unix/sysv/linux/Makefile
16180 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16181 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16182 and #include <socket/sa_len.c>.
16183 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16184 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16185
e041fb8b
RM
16186 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16187 * bits/socket.h: ... here.
16188
8cc3269f
RM
16189 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16190 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16191 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16192
5d228a43
AS
161932013-08-27 Andreas Schwab <schwab@suse.de>
16194
45b8accc
AS
16195 [BZ #15736]
16196 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16197 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16198 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16199 * string/test-strcasecmp.c (test_main): Run tests in several
16200 locales.
16201 * string/test-strncasecmp.c (test_main): Likewise.
16202
5d228a43
AS
16203 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16204 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16205 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16207 (__strncasecmp_ssse3) [PIC]: Likewise.
16208
59d112a4
RM
162092013-08-26 Roland McGrath <roland@hack.frob.com>
16210
53234cc3
RM
16211 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16212
59d112a4
RM
16213 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16214 instead of explicitly declaring xdecrypt.
16215 * nis/nss_nis/nis-publickey.c: Likewise.
16216
595aba70
SP
162172013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16218
16219 [BZ #15890]
16220 * nscd/aicache.c: Include res_hconf.h.
16221 (addhstaiX): Initialize res_hconf.
16222
ffabd393
AS
162232013-08-26 Andreas Schwab <schwab@suse.de>
16224
16225 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16226 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16227
e0a69f5c
SP
162282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16229
16230 * nscd/aicache.c (addhstaiX): Fix indentation.
16231
8c12f01d
MF
162322013-08-25 Mike Frysinger <vapier@gentoo.org>
16233
16234 * configure.ac: Quote $build_pt_chown test.
16235 * configure: Regenerated.
16236
8fe89494
JM
162372013-08-23 Joseph Myers <joseph@codesourcery.com>
16238
16239 [BZ #15532]
16240 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16241 * math/s_cexpf.c (__cexpf): Likewise.
16242 * math/s_cexpl.c (__cexpl): Likewise.
16243 * math/libm-test.inc (cexp_test_data): Correct expected return
16244 value for NaN + i0. Add another test.
16245
75b181d6
DM
162462013-08-22 David S. Miller <davem@davemloft.net>
16247
16248 * po/ca.po: Update Catalan translation from translation project.
936241e4 16249 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16250
acd06bb1
JM
162512013-08-21 Joseph Myers <joseph@codesourcery.com>
16252
16253 [BZ #15797]
16254 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16255 is infinite, not alongside NaN test.
16256 * math/s_fdimf.c (__fdimf): Likewise.
16257 * math/s_fdiml.c (__fdiml): Likewise.
16258 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16259 errno is unchanged.
16260
c0c3f78a
OB
162612013-08-21 Ondřej Bílka <neleai@seznam.cz>
16262
16263 * argp/argp-help.c: Fix typos.
16264 * crypt/speeds.c: Likewise.
16265 * csu/check_fds.c: Likewise.
16266 * elf/dl-load.c: Likewise.
16267 * elf/dl-open.c: Likewise.
16268 * elf/reldep3.c: Likewise.
16269 * elf/reldep.c: Likewise.
16270 * elf/sprof.c: Likewise.
16271 * iconv/iconv_charmap.c: Likewise.
16272 * iconv/skeleton.c: Likewise.
16273 * iconv/strtab.c: Likewise.
16274 * io/lockf64.c: Likewise.
16275 * libio/libioP.h: Likewise.
16276 * resolv/gai_notify.c: Likewise.
16277 * resolv/ns_name.c: Likewise.
16278 * resolv/ns_samedomain.c: Likewise.
16279 * resolv/res_send.c: Likewise.
16280 * stdlib/random.c: Likewise.
16281 * sunrpc/rpc/xdr.h: Likewise.
16282 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16284 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16285 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16286 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16290 * sysdeps/mach/hurd/check_fds.c: Likewise.
16291 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16292 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16293 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16294 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16295 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16296 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16297 * sysdeps/pthread/aio_notify.c: Likewise.
16298 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16299 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16300 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16302 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16303
46ed1038
LD
163042013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16305
16306 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16307 version if bit_Slow_SSE4_2 is set.
16308 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16310
d400dcac
AZ
163112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16312
16313 [BZ #15867]
16314 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16315 trampoline stack frame information.
16316 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16318 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16319 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16320 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16321 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16322 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16323 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16324 sa_flags value.
16325 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16326 interrupting a syscall and set with option SA_SIGINFO.
16327
42c8fdd8
JM
163282013-08-20 Joseph Myers <joseph@codesourcery.com>
16329
c980f2f4
JM
16330 [BZ #15531]
16331 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16332 argument is infinite.
16333 * math/s_cprojf.c (__cprojf): Likewise.
16334 * math/s_cprojl.c (__cprojl): Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16336 * math/libm-test.inc (cproj_test_data): Add more tests.
16337
0716c4fc
JM
16338 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16339
42c8fdd8
JM
16340 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16341 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16342 size. Use __ffs to determine corresponding shift.
16343
b31469d0
JM
163442013-08-20 Joseph Myers <joseph@codesourcery.com>
16345 Roland McGrath <roland@hack.frob.com>
16346
16347 * Makefile (INSTALL): Remove trailing blank lines from output of
16348 makeinfo.
16349
4e39af6e
AK
163502013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16351
16352 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16353 Align 32 bit compat elf_greg to 8 bytes.
16354
f315524e
AA
163552013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16356
16357 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16358
1326ba1a
SP
163592013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16360
16361 * string/strcoll_l.c (coll_seq): New structure.
16362 (get_next_seq_cached): New function.
16363 (get_next_seq): New function.
16364 (do_compare): New function.
16365 (STRCOLL): Use GNU style definition. Simplify implementation
16366 by using get_next_seq, get_next_seq_cached and do_compare.
16367
91ce4085
FW
163682013-08-16 Florian Weimer <fweimer@redhat.com>
16369
16370 [BZ #14699]
16371 CVE-2013-4237
16372 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16373 member.
16374 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16375 member.
16376 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16377 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16378 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16379 conditional.
16380 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16381 GETDENTS_64BIT_ALIGNED.
16382 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16383 * manual/filesys.texi (Reading/Closing Directory): Document
16384 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16385 strongly.
16386 * manual/conf.texi (Limits for Files): Add portability note to
16387 NAME_MAX, PATH_MAX.
16388 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16389
ca0a6bc4
AS
163902013-08-13 Andreas Schwab <schwab@suse.de>
16391
16392 [BZ #15749]
16393 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16394 of fabs.
16395 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16396 LDBL_MAX_EXP >= 16384]: Add tests for it.
16397
6c1fd795
DM
163982013-08-12 David S. Miller <davem@davemloft.net>
16399
16400 * version.h (RELEASE): Set to "development".
16401 (VERSION): Set to "2.18.90".
16402 * NEWS: Add 2.19 section.
16403
31ad488d
DM
164042013-08-03 David S. Miller <davem@davemloft.net>
16405
16406 * po/ko.po: Update Korean translation from translation project.
16407
db24e684
DM
164082013-08-01 David S. Miller <davem@davemloft.net>
16409
16410 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16411 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16412 Bilka.
16413
f723285b
DM
164142013-07-30 David S. Miller <davem@davemloft.net>
16415
16416 * po/fr.po: Update French translation from translation project.
16417
3cbc52db
DM
164182013-07-28 David S. Miller <davem@davemloft.net>
16419
30bbc0cc
DM
16420 * po/cs.po: Update Czech translation from translation project.
16421
3cbc52db
DM
16422 * po/sv.po: Update Swedish translation from translation project.
16423
d492e6d0
DM
164242013-07-27 David S. Miller <davem@davemloft.net>
16425
f1a7f492
DM
16426 * po/eo.po: Update Esperanto translation from translation project.
16427
90e62a4a
DM
16428 * po/vi.po: Update Vietnamese translation from translation project.
16429
d492e6d0
DM
16430 * po/de.po: Update German translation from translation project.
16431
d4baa62d
DM
164322013-07-26 David S. Miller <davem@davemloft.net>
16433
641aa7b4
DM
16434 * po/bg.po: Update Bulgarian translation from translation project.
16435
d4baa62d
DM
16436 * po/nl.po: Update Dutch translation from translation project.
16437 * po/pl.po: Update Polish translation from translation project.
16438 * po/ru.po: Update Russian translation from translation project.
16439
61a9dcb9
DM
164402013-07-24 David S. Miller <davem@davemloft.net>
16441
16442 * po/libc.pot: Update.
16443
7b1f8b58
AZ
164442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16445
16446 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16447 variable page size.
16448 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16449 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16450 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16451
a8fc7a03
AK
164522013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16453
16454 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16455
e4608715
CD
164562013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16457 Andreas Schwab <schwab@suse.de>
16458 Roland McGrath <roland@hack.frob.com>
16459 Joseph Myers <joseph@codesourcery.com>
16460 Carlos O'Donell <carlos@redhat.com>
16461
16462 [BZ #15755]
16463 * config.h.in: Define HAVE_PT_CHOWN.
16464 * config.make.in (build-pt-chown): New variable.
16465 * configure.in (--enable-pt_chown): New configure option.
16466 * configure: Regenerate.
16467 * login/Makefile: Include Makeconfig. Build pt_chown only if
16468 build-pt-chown is enabled.
16469 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16470 pt_chown to fix pty ownership.
16471 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16472 CLOSE_ALL_FDS.
16473 * manual/install.texi (Configuring and compiling): Mention
16474 --enable-pt_chown. Add @findex for grantpt.
16475 * INSTALL: Regenerate.
16476
da2d62df
DM
164772013-07-20 David S. Miller <davem@davemloft.net>
16478
16479 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16480 difference between 32-bit and 64-bit.
16481
d7e06450
CD
164822013-07-15 Carlos O'Donell <carlos@redhat.com>
16483
16484 [BZ #15711]
16485 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16486 Avoid system header dependency with -ffreestanding.
16487 ($(objpfx)bits/syscall%d): Likewise.
16488
f959cfd7
DM
164892013-07-13 David S. Miller <davem@davemloft.net>
16490
16491 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16492 underflows from atanl/atan2l due to bug 15319.
16493 (casinh_test_data): Likewise.
16494
c61f8513
DM
164952013-07-07 David S. Miller <davem@davemloft.net>
16496
16497 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16498
72c90ed0
JA
164992013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16500
16501 * sysdeps/i386/fpu/libm-test-ulps: Update.
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16503
52dfbe13
SP
165042013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16505
16506 * configure.in (--enable-lock-elision): Fix message text.
16507 * INSTALL: Regenerate.
16508 * configure: Regenerate.
16509
3f169543
AZ
165102013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16511
16512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16513
521c6785
AJ
165142013-07-03 Andreas Jaeger <aj@suse.de>
16515
16516 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16517 define.
16518 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16519 (ptrace_peeksiginfo_args): Add.
16520 (__ptrace_peeksiginfo_flags): Add.
16521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16524
d2cc15cb
AM
165252013-07-03 Allan McRae <allan@archlinux.org>
16526
16527 * sysdeps/i386/fpu/libm-test-ulps: Update.
16528
3aaeeca7
DM
165292013-07-02 David S. Miller <davem@davemloft.net>
16530
16531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16532
5314ed1a
MT
165332013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16534
16535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16536
67338156
JM
165372013-07-02 Joseph Myers <joseph@codesourcery.com>
16538
16539 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16541
1717da59
AK
165422013-07-02 Andi Kleen <ak@linux.intel.com>
16543
16544 * config.h.in (ENABLE_LOCK_ELISION): Add.
16545 * configure.in (--enable-lock-elision): Add option.
16546 * manual/install.texi: Document --enable lock elision.
16547 * configure: Regenerate
16548 * INSTALL: Regenerate.
16549
1c81621c
L
165502013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16551
16552 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16553 SSE4.2 strcasecmp for libc.a.
16554 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16555
77f01ab5
JM
165562013-07-02 Joseph Myers <joseph@codesourcery.com>
16557
16558 [BZ #13304]
16559 * soft-fp/op-common.h (_FP_FMA): New macro.
16560 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16561 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16562 (_FP_MUL_MEAT_1_imm): ... here.
16563 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16564 (_FP_MUL_MEAT_1_wide): ... here.
16565 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16566 (_FP_MUL_MEAT_1_hard): ... here.
16567 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16568 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16569 (_FP_MUL_MEAT_2_wide): ... here.
16570 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16571 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16572 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16573 (_FP_MUL_MEAT_2_gmp): ... here.
16574 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16575 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16576 (_FP_MUL_MEAT_4_wide): ... here.
16577 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16578 (_FP_MUL_MEAT_4_gmp): ... here.
16579 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16580 (_FP_WFRACBITS_DW_S): Likewise.
16581 (_FP_WFRACXBITS_DW_S): Likewise.
16582 (_FP_HIGHBIT_DW_S): Likewise.
16583 (FP_FMA_S): Likewise.
16584 (_FP_FRAC_HIGH_DW_S): Likewise.
16585 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16586 (_FP_WFRACBITS_DW_D): Likewise.
16587 (_FP_WFRACXBITS_DW_D): Likewise.
16588 (_FP_HIGHBIT_DW_D): Likewise.
16589 (FP_FMA_D): Likewise.
16590 (_FP_FRAC_HIGH_DW_D): Likewise.
16591 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16592 (_FP_WFRACBITS_DW_E): Likewise.
16593 (_FP_WFRACXBITS_DW_E): Likewise.
16594 (_FP_HIGHBIT_DW_E): Likewise.
16595 (FP_FMA_E): Likewise.
16596 (_FP_FRAC_HIGH_DW_E): Likewise.
16597 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16598 (_FP_WFRACBITS_DW_Q): Likewise.
16599 (_FP_WFRACXBITS_DW_Q): Likewise.
16600 (_FP_HIGHBIT_DW_Q): Likewise.
16601 (FP_FMA_Q): Likewise.
16602 (_FP_FRAC_HIGH_DW_Q): Likewise.
16603 * soft-fp/fmasf4.c: New file.
16604 * soft-fp/fmadf4.c: Likewise.
16605 * soft-fp/fmatf4.c: Likewise.
16606
6308fd9a
LD
166072013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16608
16609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16610 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16611 Silvermont.
16612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16613 macro.
16614 (index_Slow_SSE4_2): Likewise.
16615 (index_Prefer_PMINUB_for_stringop): Likewise.
16616 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16617 bit_Slow_SSE4_2 is set.
16618 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16619 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16620
89cd9569
RA
166212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16622
16623 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16624 rtld_global._dl_hwcap2.
16625 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16626 POWER8.
16627 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16628 POWER8 feature descriptions defined in _dl_hwcap2.
16629 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16630 string handling for POWER8 feature bits.
16631 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16632 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16633 _dl_powerpc_cap_flags.
16634 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16635 * sysdeps/powerpc/rtld-global-offsets.sym
16636 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16637 _dl_hwcap2 in the rtld_global_ro structure.
16638
1ae8bfe0
RA
166392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16640
16641 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16642 hardware capabilities in support of AT_HWCAP2.
16643 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16644 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16645 GLRO(dl_hwcap2).
16646 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16647 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16648 explicitly the unknown a_type display mechanism is used.
16649 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16650 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16651 struct member.
16652 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16653 to macro prototype for AT_HWCAP2 support.
16654 * sysdeps/i386/dl-procinfo.h: Likewise.
16655 * sysdeps/s390/dl-procinfo.h: Likewise.
16656 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16657 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16658 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16659 return -1 for unknown a_type display fallback.
16660 * sysdeps/sparc/dl-procinfo.h: Likewise.
16661 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16663
8fbec010
JM
166642013-06-28 Joseph Myers <joseph@codesourcery.com>
16665
16666 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16667 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16668
0432680e
PY
166692013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16670
16671 [BZ #12492]
16672 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16673 mprotect making __stack_prot writable.
16674
ce61a2ad
NF
166752013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16676 Joseph Myers <joseph@codesourcery.com>
16677
16678 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16679 as being properly aligned.
16680
f91f1c0f
MR
166812013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16682
3d0f5d0c
MR
16683 * dlfcn/modstatic5.c: New file.
16684 * dlfcn/tststatic5.c: New file.
16685 * dlfcn/Makefile (tests): Add tststatic5.
16686 (tests-static): Likewise.
16687 (modules-names): Add modstatic5.
16688 (tststatic5-ENV): New variable.
16689 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16690
f91f1c0f
MR
16691 [BZ #15022]
16692 * elf/dl-support.c (_dl_main_map): New variable.
16693 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16694 (_dl_nns, _dl_load_adds): Set to 1.
16695 (_dl_initial_searchlist): Refer to _dl_main_map.
16696 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16697 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16698 call to _dl_get_origin.
16699 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16700 around call_map.
16701 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16702 * dlfcn/modstatic3.c: New file.
16703 * dlfcn/tststatic3.c: New file.
16704 * dlfcn/tststatic4.c: New file.
16705 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16706 (tests-static): Likewise.
16707 (modules-names): Add modstatic3.
16708 (tststatic3-ENV, tststatic4-ENV): New variables.
16709 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16710 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16711
cbe7d24b
JM
167122013-06-26 Joseph Myers <joseph@codesourcery.com>
16713
16714 * configure.in (CC): Require GCC version 4.4 or later.
16715 * configure: Regenerated.
16716 * manual/install.texi (Tools for Compilation): Update GCC version
16717 requirement.
16718 * INSTALL: Regenerated.
16719
11b8a0e1
LD
167202013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16721
16722 [BZ #15674]
bb5bb87c
L
16723 * string/test-memcmp.c (check2): New.
16724 (main): Call check2.
16725
11b8a0e1
LD
16726 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16727
b0037103
MR
167282013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16729
16730 [BZ #15022]
16731 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16732 over to...
16733 (dl_open_worker) [!SHARED]: ... here.
16734
c18c701d
RA
167352013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16736
16737 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16738
1d17fa5f
RH
167392013-06-25 Richard Henderson <rth@redhat.com>
16740
16741 * locale/programs/locarchive.c: Include <libc-internal.h>
16742
8fcb833a
JM
167432013-06-25 Joseph Myers <joseph@codesourcery.com>
16744
16745 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16746 trailing whitespace removed.
16747
17db6e8d
MF
167482013-06-24 Mike Frysinger <vapier@gentoo.org>
16749
16750 [BZ #10283]
17db6e8d
MF
16751 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16752 * locale/programs/locarchive.c: Include libc-mmap.h.
16753 (prepare_address_space): Take two new outputs (the mmap base and len).
16754 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16755 values.
16756 (create_archive): Declare new mmap base and len values for
16757 prepare_address_space, and store the result in ah.
16758 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16759 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16760 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16761 Declare new mmap base and len values for
16762 prepare_address_space, and store the result in new_ah.
16763 (open_archive): Declare new mmap base and len values for
16764 prepare_address_space, and store the result in ah.
16765 (close_archive): If ah->mmap_base is not NULL, use that and
16766 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16767 * sysdeps/generic/libc-mmap.h: New file.
16768
d605071e
MF
167692013-06-24 Mike Frysinger <vapier@gentoo.org>
16770
16771 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16772 (ALIGN_UP): Likewise.
16773 (PTR_ALIGN_DOWN): Likewise.
16774 (PTR_ALIGN_UP): Likewise.
16775
2f063a6e
RA
167762013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16777
16778 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16779 entry mapped to PPC_PLATFORM_POWER8.
16780 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16781 POWER8.
16782 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16783 (_dl_string_platform): Add case for exporting platform position for
16784 POWER8.
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16786 search path to sysdeps/powerpc/powerpc32/power8 directory.
16787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16788 search path to sysdeps/powerpc/powerpc64/power8 directory.
16789 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16790 power7 directories.
16791 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16792 power7 directories.
16793
a31ee4b3
SP
167942013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16795
a74ca98f
SP
16796 * INSTALL: Regenerate.
16797
a31ee4b3
SP
16798 * nscd/connections.c (nscd_init): Fix comment.
16799
695c378f
JM
168002013-06-22 Joseph Myers <joseph@codesourcery.com>
16801
d8412221
JM
16802 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16803
695c378f
JM
16804 [BZ #15667]
16805 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16806 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16807
d1d54715
MR
168082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16809
16810 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16811 DL_DST_REQ_STATIC.
16812 (DL_DST_REQ_STATIC): Remove macro.
16813
8fdda7af
JM
168142013-06-21 Joseph Myers <joseph@codesourcery.com>
16815
16816 [BZ #7006]
16817 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16818 with a shift of 0 bits.
16819
f3bc5e5a
MR
168202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16821
16822 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16823 $(tststatic-ENV).
16824
be09e8c9
KK
168252013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16826
16827 [BZ #15655]
16828 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16829
85c2e611
AZ
168302013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16831
16832 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16833 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16834 accepts -fno-tree-loop-distribute-patterns.
16835 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16836 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16837 recursive call.
16838 * string/memset.c (memset): Likewise.
16839 * string/test-memmove.c (simple_memmove): Disable loop transformation
16840 to library calls.
16841 * string/test-memset.c (simple_memset): Likewise.
16842 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16843 * benchtests/bench-memset.c (simple_memset): Likewise.
16844 * configure: Regenerated.
16845
c91e0825
JM
168462013-06-20 Joseph Myers <joseph@codesourcery.com>
16847
b8c792af
JM
16848 * math/test-misc.c (main): Ignore fesetround failure when failures
16849 of subsequent rounding tests would be ignored.
16850
c91e0825
JM
16851 [BZ #15654]
16852 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16853 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16854 * math/fegetenv.c (__fegetenv): Return 0.
16855 * math/fegetexcept.c (fegetexcept): Return 0.
16856 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16857 FE_TONEAREST.
16858 * math/feholdexcpt.c (feholdexcept): Return 0.
16859 * math/fesetenv.c (__fesetenv): Return 0.
16860 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16861 argument FE_TONEAREST.
16862 * math/feupdateenv.c (__feupdateenv): Return 0.
16863 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16864
bfcacbde
RM
168652013-06-18 Roland McGrath <roland@hack.frob.com>
16866
16867 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16868 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16869 ($(objpfx)rtld-%.os rules): Use them.
16870
e55a9b25
AZ
168712013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16872
16873 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16874 fields.
16875
346d65b3
RM
168762013-06-17 Roland McGrath <roland@hack.frob.com>
16877
12086fb4
RM
16878 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16879 length of target pattern, then descending length of dependency pattern.
16880 * configure.in (AWK): Require gawk 3.1.2 or newer.
16881 * manual/install.texi (Tools for Compilation): Say that we do.
16882 * configure: Regenerated.
16883
346d65b3
RM
16884 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16885 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16886 * scripts/sysd-rules.awk: ... this new script.
16887 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16888 than a glob-style pattern.
16889
1a846317
JM
168902013-06-17 Joseph Myers <joseph@codesourcery.com>
16891
16892 * math/test-misc.c (main): Do not treat incorrectly rounded
16893 conversions as failure unless ROUNDING_TESTS passes.
16894
8fc75e6f
JM
168952013-06-15 Joseph Myers <joseph@codesourcery.com>
16896
3711a167
JM
16897 [BZ #15631]
16898 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16899 restore exception state around main square root computation, then
16900 check for inexactness explicitly.
16901
8fc75e6f
JM
16902 * math/libm-test.inc (fma_test_data): Add another test.
16903
61dd6208
SP
169042013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
adf23d2c
SP
16906 * manual/threads.texi (Non-POSIX Extensions): New document
16907 node. Document pthread_getattr_default_np and
16908 pthread_setattr_default_np.
16909
61dd6208
SP
16910 * Versions.def (libpthread): Add GLIBC_2.18.
16911 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16913 Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16915 Likewise.
16916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16917 Likewise.
16918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16919 Likewise.
16920 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16921 Likewise.
16922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16923 Likewise.
16924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16925 Likewise.
16926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16927 Likewise.
16928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16929 Likewise.
16930
d086fc7b
LD
169312013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16932
16933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16934 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16935
747ef469
SP
169362013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16937 H.J. Lu <hjl.tools@gmail.com>
16938
16939 [BZ #15627]
16940 * sysdeps/x86_64/rtld-memset.c: Remove file.
16941 * sysdeps/x86_64/rtld-memset.S: New file.
16942
1b2feed2
JM
169432013-06-14 Joseph Myers <joseph@codesourcery.com>
16944
16945 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16946 (test_in_one_mode): Take arguments for whether the rounding mode
16947 is supported for each floating-point type.
16948 (do_test): Pass new arguments to test_in_one_mode using
16949 ROUNDING_TESTS.
16950
a58ad3f8
RM
169512013-06-13 Roland McGrath <roland@hack.frob.com>
16952
16953 * posix/tst-waitid.c (do_test): Distinguish different instances of
16954 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16955 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16956 before entering the kernel for waitpid.
16957
c204ab28
SP
169582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16959
16960 * NEWS: Fix note on clock function precision. Text by Roland
16961 McGrath.
16962
f4a29fba
RM
169632013-06-13 Roland McGrath <roland@hack.frob.com>
16964
16965 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16966 it into place only when and if the sanity check passes.
16967
1f24b9ad
JM
169682013-06-13 Joseph Myers <joseph@codesourcery.com>
16969
16970 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16971 output for whether conversion result is exact. Take argument
16972 indicating whether type is IBM long double.
16973 (round_for_all): Change need_exact field to ibm_ld.
16974 * stdlib/tst-strtod-round.c (struct exactness): New type.
16975 (struct test): Change bool ld_ok field to struct exactness exact.
16976 (TEST): Update all definitions for change to field.
16977 (tests): Regenerate array contents.
16978 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16979 field value. Check for IBM long double here.
16980 (do_test): Update calls to test_in_one_mode.
16981
58206c68
SP
169822013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16983
16984 [BZ #12515]
16985 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16986 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16987
2d6f4c5b 169882013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16989
16990 [BZ #15605]
16991 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16992 generated by the compiler on loop optimizations.
16993 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16994 general definitions.
16995
94f2c076
JM
169962013-06-12 Joseph Myers <joseph@codesourcery.com>
16997
16998 * math/bug-nextafter.c: Include <math-tests.h>.
16999 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17000 the relevant type.
17001 * math/bug-nexttoward.c: Include <math-tests.h>.
17002 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17003 the relevant type.
17004 * math/test-misc.c: Include <math-tests.h>.
17005 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17006 the relevant type.
17007
e0e50a0a
AJ
170082013-06-12 Andreas Jaeger <aj@suse.de>
17009
17010 * po/ia.po: Update Interlingua translation from translation
17011 project.
17012
25061094
SP
170132013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17014
17015 * include/fenv.h: Include stdbool.h.
17016 (struct rm_ctx): New structure.
17017 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17018 Define macro.
17019 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17020 (SET_RESTORE_ROUNDF): Likewise.
17021 (SET_RESTORE_ROUNDL): Likewise.
17022 (SET_RESTORE_ROUND_NOEX): Likewise.
17023 (SET_RESTORE_ROUND_NOEXF): Likewise.
17024 (SET_RESTORE_ROUND_NOEXL): Likewise.
17025 (SET_RESTORE_ROUND_53BIT): Likewise.
17026 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17027 (libc_feresetround_noexf_ctx): Likewise.
17028 (libc_feresetround_noexl_ctx): Likewise.
17029 (libc_feholdsetround_53bit_ctx): Likewise.
17030 (libc_feresetround_53bit_ctx): Likewise.
17031 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17032 (libc_feholdexcept_setround_sse_ctx): New function.
17033 (libc_fesetenv_sse_ctx): Likewise.
17034 (libc_feupdateenv_sse_ctx): Likewise.
17035 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17036 (libc_feholdexcept_setround_387_ctx): Likewise.
17037 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17038 (libc_feholdsetround_387_prec_ctx): Likewise.
17039 (libc_feholdsetround_387_ctx): Likewise.
17040 (libc_feholdsetround_387_53bit_ctx): Likewise.
17041 (libc_feholdsetround_sse_ctx): Likewise.
17042 (libc_feresetround_sse_ctx): Likewise.
17043 (libc_feresetround_387_ctx): Likewise.
17044 (libc_feupdateenv_387_ctx): Likewise.
17045 (libc_feholdexcept_setroundf_ctx): Define macro.
17046 (libc_fesetenvf_ctx): Likewise.
17047 (libc_feupdateenvf_ctx): Likewise.
17048 (libc_feholdsetroundf_ctx): Likewise.
17049 (libc_feresetroundf_ctx): Likewise.
17050 (libc_feholdexcept_setround_ctx): Likewise.
17051 (libc_fesetenv_ctx): Likewise.
17052 (libc_feupdateenv_ctx): Likewise.
17053 (libc_feholdsetround_ctx): Likewise.
17054 (libc_feresetround_ctx): Likewise.
17055 (libc_feholdexcept_setroundl_ctx): Likewise.
17056 (libc_feupdateenvl_ctx): Likewise.
17057 (libc_feholdsetroundl_ctx): Likewise.
17058 (libc_feresetroundl_ctx): Likewise.
17059 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17060 (libc_feresetround_53bit_ctx): Likewise.
17061
59b30555
SP
170622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17063
17064 * locale/iso-639.def: Convert to UTF-8.
17065
f1d73d30
JM
170662013-06-11 Joseph Myers <joseph@codesourcery.com>
17067
17068 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17069 (EXCEPTION_TESTS_double): Likewise.
17070 (EXCEPTION_TESTS_long_double): Likewise.
17071 (EXCEPTION_TESTS): Likewise.
17072 * math/libm-test.inc (test_exceptions): Only test exceptions if
17073 EXCEPTION_TESTS (FLOAT).
17074
94aca5e7
SP
170752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17076
17077 * benchtests/Makefile (string-bench): Add strcpy_chk and
17078 stpcpy_chk.
17079 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17080 * benchtests/bench-stpcpy_chk.c: New file.
17081 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17082 * benchtests/bench-strcpy_chk.c: New file.
17083 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17084 code.
17085 (do_test): Likewise.
17086
fac0c5f2
RA
170872013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17088
17089 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17090 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17091 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17092 with tabs where appropriate.
17093 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17094 dl-procinfo.h.
17095 [PPC_PLATFORM_PPC440]: Likewise.
17096 [PPC_PLATFORM_PPC464]: Likewise.
17097 [PPC_PLATFORM_PPC476]: Likewise.
17098 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17099 ppc464, and ppc476 platform strings merging from ports/
17100 dl-procinfo.h.
17101
f22bc486
AS
171022013-06-11 Andreas Schwab <schwab@suse.de>
17103
17104 [BZ #14991]
17105 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17106 (from_ucs4_idx): Regenerate.
17107 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17108 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17109 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17110 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17111 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17112 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17113 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17114 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17115 from FROM_LOOP and TO_LOOP specific macros.
17116 (BODY): Handle combining characters.
17117 * iconvdata/BIG5HKSCS.irreversible: Update.
17118 * iconvdata/BIG5HKSCS.precomposed: New file.
17119 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17120 characters.
17121 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17122
c1f75dc3
SP
171232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17124
4eacded2
SP
17125 * include/sys/time.h: Fix indentation and add copyright header.
17126
fec799f8
SP
17127 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17128 (do_test): Likewise.
17129 * string/test-memchr.c (do_one_test): Likewise.
17130 (do_test): Likewise.
17131 * string/test-memcmp.c (do_one_test): Likewise.
17132 (do_test): Likewise.
17133 * string/test-memcpy.c (do_one_test): Likewise.
17134 (do_test): Likewise.
17135 * string/test-memmem.c (do_one_test): Likewise.
17136 (do_test): Likewise.
17137 (do_random_tests): Likewise.
17138 * string/test-memmove.c (do_one_test): Likewise.
17139 (do_test): Likewise.
17140 * string/test-memset.c (do_one_test): Likewise.
17141 (do_test): Likewise.
17142 * string/test-rawmemchr.c (do_one_test): Likewise.
17143 (do_test): Likewise.
17144 * string/test-strcasecmp.c (do_one_test): Likewise.
17145 (do_test): Likewise.
17146 * string/test-strcasestr.c (do_one_test): Likewise.
17147 (do_test): Likewise.
17148 * string/test-strcat.c (do_one_test): Likewise.
17149 (do_test): Likewise.
17150 * string/test-strchr.c (do_one_test): Likewise.
17151 (do_test): Likewise.
17152 * string/test-strcmp.c (do_one_test): Likewise.
17153 (do_test): Likewise.
17154 * string/test-strcpy.c (do_one_test): Likewise.
17155 (do_test): Likewise.
17156 * string/test-string.h: Likewise.
17157 (test_init): Likewise.
17158 * string/test-strlen.c (do_one_test): Likewise.
17159 (do_test): Likewise.
17160 * string/test-strncasecmp.c (do_one_test): Likewise.
17161 (do_test): Likewise.
17162 * string/test-strncat.c (do_one_test): Likewise.
17163 (do_test): Likewise.
17164 * string/test-strncmp.c (do_one_test): Likewise.
17165 (do_test_limit): Likewise.
17166 (do_test): Likewise.
17167 * string/test-strncpy.c (do_one_test): Likewise.
17168 (do_test): Likewise.
17169 * string/test-strnlen.c (do_one_test): Likewise.
17170 (do_test): Likewise.
17171 * string/test-strpbrk.c (do_one_test): Likewise.
17172 (do_test): Likewise.
17173 * string/test-strrchr.c (do_one_test): Likewise.
17174 (do_test): Likewise.
17175 * string/test-strspn.c (do_one_test): Likewise.
17176 (do_test): Likewise.
17177 * string/test-strstr.c (do_one_test): Likewise.
17178 (do_test): Likewise.
17179
97020474
SP
17180 * benchtests/Makefile (string-bench): Add string benchmarks.
17181 * benchtests/bench-bcopy-ifunc.c: New file.
17182 * benchtests/bench-bcopy.c: New file.
17183 * benchtests/bench-bzero-ifunc.c: New file.
17184 * benchtests/bench-bzero.c: New file.
17185 * benchtests/bench-memccpy-ifunc.c: New file.
17186 * benchtests/bench-memccpy.c: New file.
17187 * benchtests/bench-memchr-ifunc.c: New file.
17188 * benchtests/bench-memchr.c: New file.
17189 * benchtests/bench-memcmp-ifunc.c: New file.
17190 * benchtests/bench-memcmp.c: New file.
17191 * benchtests/bench-memmem-ifunc.c: New file.
17192 * benchtests/bench-memmem.c: New file.
17193 * benchtests/bench-memmove-ifunc.c: New file.
17194 * benchtests/bench-memmove.c: New file.
17195 * benchtests/bench-mempcpy-ifunc.c: New file.
17196 * benchtests/bench-mempcpy.c: New file.
17197 * benchtests/bench-memset-ifunc.c: New file.
17198 * benchtests/bench-memset.c: New file.
17199 * benchtests/bench-rawmemchr-ifunc.c: New file.
17200 * benchtests/bench-rawmemchr.c: New file.
17201 * benchtests/bench-stpcpy-ifunc.c: New file.
17202 * benchtests/bench-stpcpy.c: New file.
17203 * benchtests/bench-stpncpy-ifunc.c: New file.
17204 * benchtests/bench-stpncpy.c: New file.
17205 * benchtests/bench-strcasecmp-ifunc.c: New file.
17206 * benchtests/bench-strcasecmp.c: New file.
17207 * benchtests/bench-strcasestr-ifunc.c: New file.
17208 * benchtests/bench-strcasestr.c: New file.
17209 * benchtests/bench-strcat-ifunc.c: New file.
17210 * benchtests/bench-strcat.c: New file.
17211 * benchtests/bench-strchr-ifunc.c: New file.
17212 * benchtests/bench-strchr.c: New file.
17213 * benchtests/bench-strchrnul-ifunc.c: New file.
17214 * benchtests/bench-strchrnul.c: New file.
17215 * benchtests/bench-strcmp-ifunc.c: New file.
17216 * benchtests/bench-strcmp.c: New file.
17217 * benchtests/bench-strcpy-ifunc.c: New file.
17218 * benchtests/bench-strcpy.c: New file.
17219 * benchtests/bench-strcspn-ifunc.c: New file.
17220 * benchtests/bench-strcspn.c: New file.
17221 * benchtests/bench-strlen-ifunc.c: New file.
17222 * benchtests/bench-strlen.c: New file.
17223 * benchtests/bench-strncasecmp-ifunc.c: New file.
17224 * benchtests/bench-strncasecmp.c: New file.
17225 * benchtests/bench-strncat-ifunc.c: New file.
17226 * benchtests/bench-strncat.c: New file.
17227 * benchtests/bench-strncmp-ifunc.c: New file.
17228 * benchtests/bench-strncmp.c: New file.
17229 * benchtests/bench-strncpy-ifunc.c: New file.
17230 * benchtests/bench-strncpy.c: New file.
17231 * benchtests/bench-strnlen-ifunc.c: New file.
17232 * benchtests/bench-strnlen.c: New file.
17233 * benchtests/bench-strpbrk-ifunc.c: New file.
17234 * benchtests/bench-strpbrk.c: New file.
17235 * benchtests/bench-strrchr-ifunc.c: New file.
17236 * benchtests/bench-strrchr.c: New file.
17237 * benchtests/bench-strspn-ifunc.c: New file.
17238 * benchtests/bench-strspn.c: New file.
17239 * benchtests/bench-strstr-ifunc.c: New file.
17240 * benchtests/bench-strstr.c: New file.
17241
c1f75dc3
SP
17242 * benchtests/Makefile: Disable parallel execution of targets.
17243 (string-bench): Add memcpy.
17244 (benchset): New variable to store a list of benchmark sets.
17245 (bench-func): Renamed from bench.
17246 (bench-set): New target.
17247 (bench): Depend on bench-func and bench-set.
17248 * benchtests/README: Add section on benchmark sets.
17249 * benchtests/bench-memcpy-ifunc.c: New file.
17250 * benchtests/bench-memcpy.c: New file.
17251 * benchtests/bench-string.h: New file.
17252
50fd745b
AS
172532013-06-11 Andreas Schwab <schwab@suse.de>
17254
17255 [BZ #15577]
17256 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17257 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17258 values in the triple.
17259 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17260 terminator in the group key.
17261
3ee7e9fe
AJ
172622013-06-11 Andreas Jaeger <aj@suse.de>
17263
17264 * po/zh_TW.po: Update Chinese (traditional) translation from
17265 translation project.
17266
89fb6835
SP
172672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17268
17269 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17270 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17271 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17272 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17273 (clock_getcpuclockid): Likewise.
17274 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17275 Add weak_alias and libc_hidden_def.
17276 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17277 * rt/clock_gettime.c (clock_gettime): Rename to
17278 __clock_gettime. Add weak_alias and libc_hidden_def.
17279 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17280 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17281 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17282 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17283 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17284 Likewise.
17285 * rt/clock_settime.c (clock_settime): Rename to
17286 __clock_settime. Add weak_alias and libc_hidden_def.
17287 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17288
0efa6f8b
JM
172892013-06-10 Joseph Myers <joseph@codesourcery.com>
17290
b8c61b4b
JM
17291 * mach/err_boot.sub: Remove trailing whitespace.
17292 * mach/err_ipc.sub: Likewise.
17293 * mach/err_mach.sub: Likewise.
17294
0efa6f8b
JM
17295 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17296 (ROUNDING_TESTS_double): Likewise.
17297 (ROUNDING_TESTS_long_double): Likewise.
17298 (ROUNDING_TESTS): Likewise.
17299 * math/libm-test.inc: Include <math-tests.h>.
17300 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17301 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17302 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17303 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17304
50b818bf
SP
173052013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17306
17307 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17308 of assigning.
17309
60d2f8f3
JM
173102013-06-08 Joseph Myers <joseph@codesourcery.com>
17311
4902d2c3
JM
17312 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17313 otherwise empty TRANS lines.
17314 * sysdeps/gnu/errlist.c: Regenerated.
17315
60d2f8f3
JM
17316 * catgets/gencat.c (error_print): Use (void) in function
17317 definition.
17318 * crypt/crypt_util.c (__init_des): Likewise.
17319 * crypt/speeds.c (Stop): Likewise.
17320 (main): Likewise.
17321 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17322 * inet/ruserpass.c (token): Likewise.
17323 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17324 * intl/localealias.c (extend_alias_table): Likewise.
17325 * intl/plural-exp.c (init_germanic_plural): Likewise.
17326 * libio/fcloseall.c (__fcloseall): Likewise.
17327 * libio/genops.c (_IO_flush_all): Likewise.
17328 (_IO_flush_all_linebuffered): Likewise.
17329 (_IO_cleanup): Likewise.
17330 (_IO_iter_begin): Likewise.
17331 (_IO_iter_end): Likewise.
17332 (_IO_list_lock): Likewise.
17333 (_IO_list_unlock): Likewise.
17334 (_IO_list_resetlock): Likewise.
17335 * libio/getchar.c (getchar): Likewise.
17336 * libio/getchar_u.c (getchar_unlocked): Likewise.
17337 * libio/getwchar.c (getwchar): Likewise.
17338 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17339 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17340 * login/getpt.c (__getpt): Likewise.
17341 * login/tst-utmp.c (main): Likewise.
17342 * malloc/hooks.c (__malloc_check_init): Likewise.
17343 * malloc/malloc.c (__malloc_stats): Likewise.
17344 * malloc/mtrace.c (tr_break): Likewise.
17345 (mtrace): Likewise.
17346 (muntrace): Likewise.
17347 * misc/fstab.c (endfsent): Likewise.
17348 * misc/getclktck.c (__getclktck): Likewise.
17349 * misc/getdtsz.c (__getdtablesize): Likewise.
17350 * misc/gethostid.c (gethostid): Likewise.
17351 * misc/getpagesize.c (__getpagesize): Likewise.
17352 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17353 (__get_nprocs): Likewise.
17354 (__get_phys_pages): Likewise.
17355 (__get_avphys_pages): Likewise.
17356 * misc/getttyent.c (getttyent): Likewise.
17357 (setttyent): Likewise.
17358 (endttyent): Likewise.
17359 * misc/getusershell.c (getusershell): Likewise.
17360 (endusershell): Likewise.
17361 (setusershell): Likewise.
17362 (initshells): Likewise.
17363 * misc/hsearch.c (__hdestroy): Likewise.
17364 * misc/sync.c (sync): Likewise.
17365 * misc/syslog.c (closelog_internal): Likewise.
17366 (closelog): Likewise.
17367 * misc/ttyslot.c (ttyslot): Likewise.
17368 * misc/vhangup.c (vhangup): Likewise.
17369 * posix/fork.c (__fork): Likewise.
17370 * posix/getegid.c (__getegid): Likewise.
17371 * posix/geteuid.c (__geteuid): Likewise.
17372 * posix/getgid.c (__getgid): Likewise.
17373 * posix/getpid.c (__getpid): Likewise.
17374 * posix/getppid.c (__getppid): Likewise.
17375 * posix/getuid.c (__getuid): Likewise.
17376 * posix/pause.c (pause): Likewise.
17377 * posix/setpgrp.c (setpgrp): Likewise.
17378 * posix/setsid.c (__setsid): Likewise.
17379 * posix/test-vfork.c (noop): Likewise.
17380 * resolv/gethnamaddr.c (_endhtent): Likewise.
17381 (_gethtent): Likewise.
17382 (ht_endhostent): Likewise.
17383 (gethostent): Likewise.
17384 (dns_service): Likewise.
17385 * stdlib/drand48.c (drand48): Likewise.
17386 * stdlib/lrand48.c (lrand48): Likewise.
17387 * stdlib/mrand48.c (mrand48): Likewise.
17388 * stdlib/rand.c (rand): Likewise.
17389 * stdlib/random.c (__random): Likewise.
17390 * stdlib/setenv.c (clearenv): Likewise.
17391 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17392 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17393 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17394 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17395 (__get_nprocs): Likewise.
17396 (__get_phys_pages): Likewise.
17397 (__get_avphys_pages): Likewise.
17398 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17399 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17400 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17401 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17402 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17403 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17404 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17405 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17406 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17407 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17408 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17409 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17410 * sysdeps/posix/clock.c (clock): Likewise.
17411 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17412 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17413 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17414 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17415 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17417 (__get_nprocs_conf): Likewise.
17418 (__get_phys_pages): Likewise.
17419 (__get_avphys_pages): Likewise.
17420 * time/clock.c (clock): Likewise.
17421 * time/tzset.c (__tzname_max): Likewise.
17422
2e09a79a
JM
174232013-06-07 Joseph Myers <joseph@codesourcery.com>
17424
17425 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17426 (__bswap_32): Do not use "register".
17427 * crypt/crypt.c (_ufc_doit_r): Likewise.
17428 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17429 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17430 * gmon/gmon.c (__monstartup): Likewise.
17431 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17432 * hurd/hurdmalloc.c (more_memory): Likewise.
17433 (malloc): Likewise.
17434 (free): Likewise.
17435 (realloc): Likewise.
17436 (malloc_fork_prepare): Likewise.
17437 (malloc_fork_parent): Likewise.
17438 (malloc_fork_child): Likewise.
17439 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17440 (_svcauth_des): Likewise.
17441 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17442 * inet/inet_net.c (inet_network): Likewise.
17443 * inet/inet_netof.c (inet_netof): Likewise.
17444 * inet/rcmd.c (__validuser2_sa): Likewise.
17445 * io/fts.c (fts_open): Likewise.
17446 (fts_load): Likewise.
17447 (fts_close): Likewise.
17448 (fts_read): Likewise.
17449 (fts_children): Likewise.
17450 (fts_build): Likewise.
17451 (fts_stat): Likewise.
17452 (fts_sort): Likewise.
17453 (fts_alloc): Likewise.
17454 (fts_lfree): Likewise.
17455 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17456 (_IO_file_xsgetn): Likewise.
17457 (_IO_file_xsgetn_mmap): Likewise.
17458 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17459 (_IO_cookie_write): Likewise.
17460 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17461 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17462 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17463 * malloc/obstack.c (_obstack_begin): Likewise.
17464 (_obstack_begin_1): Likewise.
17465 (_obstack_newchunk): Likewise.
17466 (_obstack_allocated_p): Likewise.
17467 (obstack_free): Likewise.
17468 (_obstack_memory_used): Likewise.
17469 * misc/getttyent.c (getttynam): Likewise.
17470 (getttyent): Likewise.
17471 (skip): Likewise.
17472 (value): Likewise.
17473 * misc/getusershell.c (initshells): Likewise.
17474 * misc/syslog.c (__vsyslog_chk): Likewise.
17475 * misc/ttyslot.c (ttyslot): Likewise.
17476 * nis/nis_hash.c (__nis_hash): Likewise.
17477 * posix/fnmatch_loop.c (FCT): Likewise.
17478 * posix/getconf.c (print_all): Likewise.
17479 (main): Likewise.
17480 * posix/getopt.c (exchange): Likewise.
17481 * posix/glob.c (globfree): Likewise.
17482 (prefix_array): Likewise.
17483 (__glob_pattern_type): Likewise.
17484 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17485 (NS_GET32): Likewise.
17486 (NS_PUT16): Likewise.
17487 (NS_PUT32): Likewise.
17488 * resolv/gethnamaddr.c (getanswer): Likewise.
17489 (gethostbyname2): Likewise.
17490 (gethostbyaddr): Likewise.
17491 (_gethtent): Likewise.
17492 (_gethtbyname2): Likewise.
17493 (_gethtbyaddr): Likewise.
17494 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17495 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17496 * resolv/res_init.c (__res_vinit): Likewise.
17497 (net_mask): Likewise.
17498 * resolv/res_mkquery.c (outchar): Likewise.
17499 (PRINT): Likewise.
17500 * stdio-common/printf_fp.c (outchar): Likewise.
17501 (PRINT): Likewise.
17502 * stdio-common/printf_fphex.c (outchar): Likewise.
17503 (PRINT): Likewise.
17504 * stdio-common/printf_size.c (outchar): Likewise.
17505 (PRINT): Likewise.
17506 * stdio-common/test_rdwr.c (main): Likewise.
17507 * stdio-common/tfformat.c (matches): Likewise.
17508 * stdio-common/vfprintf.c (outchar): Likewise.
17509 (printf_unknown): Likewise.
17510 (buffered_vfprintf): Likewise.
17511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17512 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17513 (ReadFile): Likewise.
17514 * stdlib/qsort.c (SWAP): Likewise.
17515 (_quicksort): Likewise.
17516 * stdlib/setenv.c (__add_to_environ): Likewise.
17517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17518 * stdlib/strtol_l.c (__strtol_l): Likewise.
17519 * stdlib/tst-strtod.c (main): Likewise.
17520 * stdlib/tst-strtol.c (main): Likewise.
17521 * stdlib/tst-strtoll.c (main): Likewise.
17522 * string/bits/string2.h (__strcmp_cc): Likewise.
17523 (__strcmp_cg): Likewise.
17524 (__strcspn_c1): Likewise.
17525 (__strcspn_c2): Likewise.
17526 (__strcspn_c3): Likewise.
17527 (__strspn_c1): Likewise.
17528 (__strspn_c2): Likewise.
17529 (__strspn_c3): Likewise.
17530 (__strsep_1c): Likewise.
17531 (__strsep_2c): Likewise.
17532 (__strsep_3c): Likewise.
17533 * string/memccpy.c (__memccpy): Likewise.
17534 * string/stpcpy.c (__stpcpy): Likewise.
17535 * string/strcmp.c (strcmp): Likewise.
17536 * string/strrchr.c (strrchr): Likewise.
17537 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17538 Likewise.
17539 * sysdeps/mach/hurd/getcwd.c
17540 (_hurd_canonicalize_directory_name_internal): Likewise.
17541 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17542 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17543 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17544 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17545 Likewise, in both definitions.
17546 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17547 definitions.
17548 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17549 64] (__bswap_64): Likewise.
17550 * time/test_time.c (main): Likewise.
17551 * time/tzfile.c (__tzfile_read): Likewise.
17552 (__tzfile_compute): Likewise.
17553 * time/tzset.c (__tzset_parse_tz): Likewise.
17554 (tzset_internal): Likewise.
17555 (compute_change): Likewise.
17556 * wcsmbs/wcscat.c (__wcscat): Likewise.
17557 * wcsmbs/wcschr.c (wcschr): Likewise.
17558 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17559 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17560 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17561 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17562 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17563 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17564 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17565 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17566 * wcsmbs/wmemset.c (wmemset): Likewise.
17567
9e54314b
JM
175682013-06-06 Joseph Myers <joseph@codesourcery.com>
17569
17570 * scripts/config.guess: Update to version 2013-05-16.
17571 * scripts/config.sub: Update to version 2013-04-24.
17572 * scripts/install-sh: Update to version 2011-11-20.07.
17573 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17574 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17575
350635a5
OB
175762013-06-06 Ondřej Bílka <neleai@seznam.cz>
17577
17578 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17579 * elf/sln.c: Likewise.
17580 * hurd/hurd/ioctl.h: Likewise.
17581 * hurd/hurdmalloc.c: Likewise.
17582 * hurd/xattr.c: Likewise.
17583 * include/shlib-compat.h: Likewise.
17584 * inet/ruserpass.c: Likewise.
17585 * libio/iofgets_u.c: Likewise.
17586 * libio/iofgetws_u.c: Likewise.
17587 * locale/programs/ld-identification.c: Likewise.
17588 * locale/programs/ld-time.c: Likewise.
17589 * mach/msg-destroy.c: Likewise.
17590 * nss/nss_files/files-netgrp.c: Likewise.
17591 * resolv/res_data.c: Likewise.
17592 * soft-fp/op-1.h: Likewise.
17593 * soft-fp/op-2.h: Likewise.
17594 * soft-fp/op-4.h: Likewise.
17595 * soft-fp/op-common.h: Likewise.
17596 * stdio-common/printf_fphex.c: Likewise.
17597 * stdlib/strtod_l.c: Likewise.
17598 * sunrpc/rpc/clnt.h: Likewise.
17599 * sysdeps/generic/framestate.c: Likewise.
17600 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17601 * sysdeps/i386/bsd-setjmp.S: Likewise.
17602 * sysdeps/i386/__longjmp.S: Likewise.
17603 * sysdeps/i386/setjmp.S: Likewise.
17604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17605 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17607 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17617 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17620 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17622 * sysdeps/ieee754/support.c: Likewise.
17623 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17624 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17625 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17626 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17627 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17628 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17629 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17630 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17631 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17632 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17633 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17634 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17635 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17636 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17637 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17638 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17639 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17641
44a988af
OB
176422013-06-05 Ondřej Bílka <neleai@seznam.cz>
17643
25506f09 17644 * posix/transbug.c: Remove executable mode.
44a988af 17645
9c84384c
JM
176462013-06-05 Joseph Myers <joseph@codesourcery.com>
17647
17648 * crypt/speeds.c: Remove trailing whitespace.
17649 * dlfcn/default.c: Likewise.
17650 * elf/ifuncdep2.c: Likewise.
17651 * elf/ifuncmain1.c: Likewise.
17652 * elf/ifuncmain1vis.c: Likewise.
17653 * elf/testobj.h: Likewise.
17654 * elf/tst-stackguard1.c: Likewise.
17655 * gmon/sys/gmon.h: Likewise.
17656 * hurd/hurdmsg.c: Likewise.
17657 * hurd/new-fd.c: Likewise.
17658 * hurd/ports-get.c: Likewise.
17659 * iconvdata/ibm1008_420.c: Likewise.
17660 * inet/tst-getni1.c: Likewise.
17661 * inet/tst-getni2.c: Likewise.
17662 * libio/ioungetc.c: Likewise.
17663 * libio/wfiledoalloc.c: Likewise.
17664 * manual/libm-err-tab.pl: Likewise.
17665 * math/w_dremf.c: Likewise.
17666 * misc/ftruncate.c: Likewise.
17667 * posix/bug-glob2.c: Likewise.
17668 * posix/tst-pcre.c: Likewise.
17669 * posix/wait4.c: Likewise.
17670 * resolv/README: Likewise.
17671 * resolv/res_debug.h: Likewise.
17672 * resolv/tst-inet_ntop.c: Likewise.
17673 * setjmp/bug269-setjmp.c: Likewise.
17674 * soft-fp/extended.h: Likewise.
17675 * soft-fp/op-1.h: Likewise.
17676 * soft-fp/op-2.h: Likewise.
17677 * soft-fp/op-4.h: Likewise.
17678 * soft-fp/op-8.h: Likewise.
17679 * soft-fp/testit.c: Likewise.
17680 * stdio-common/bug16.c: Likewise.
17681 * stdlib/random.c: Likewise.
17682 * sunrpc/rpcsvc/rquota.x: Likewise.
17683 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17689 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17690 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17691 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17693 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17712 * sysdeps/ieee754/s_lib_version.c: Likewise.
17713 * sysdeps/mach/hurd/check_fds.c: Likewise.
17714 * sysdeps/mach/hurd/getsockname.c: Likewise.
17715 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17716 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17717 * sysdeps/powerpc/bits/link.h: Likewise.
17718 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17719 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17720 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17721 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17722 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17723 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17724 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17725 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17726 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17727 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17728 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17729 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17730 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17731 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17732 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17733 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17735 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17739 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17741 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17742 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17744 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17745 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17746 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17752 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17753 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17754 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17755 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17756 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17757 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17758 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17759 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17760 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17761 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17762 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17763 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17764 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17765 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17766 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17767 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17770 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17771 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17772 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17773 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17774 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17775 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17777 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17778 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17780 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17781 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17782 * sysdeps/powerpc/sysdep.h: Likewise.
17783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17784 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17785 * sysdeps/sh/dl-trampoline.S: Likewise.
17786 * sysdeps/sh/memset.S: Likewise.
17787 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17788 * sysdeps/sh/strlen.S: Likewise.
17789 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17790 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17791 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17792 * sysdeps/sparc/sparc32/rem.S: Likewise.
17793 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17794 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17795 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17796 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17797 * sysdeps/sparc/sparc32/urem.S: Likewise.
17798 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17799 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17800 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17801 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17803 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17804 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17805 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17806 * sysdeps/unix/bsd/times.c: Likewise.
17807 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17808 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17812 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17814 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17815 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17816 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17817 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17819 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17820 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17821 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17823 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17824 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17825 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17826 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17827 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17828 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17829 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17830 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17831 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17832 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17833 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17834 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17835 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17836 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17837 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17838 * sysdeps/x86_64/strcspn.S: Likewise.
17839
869378a5
RA
178402013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17841
17842 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17843 generated file. Regenerate properly from gen-translit.pl.
17844 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17845 locale/C-translit.h.
17846
840e2943
AS
178472013-06-05 Andreas Schwab <schwab@suse.de>
17848
17849 [BZ #15100]
17850 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17851 week as 6 instead of -1.
17852 * time/tst-strptime.c (day_tests): Add test case.
17853
4c60cb0c
SP
178542013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17855
17856 * sysdeps/generic/math_private.h
17857 (libc_feholdexcept_setround_53bit): Replace with
17858 libc_feholdsetround_53bit.
17859 (libc_feupdateenv_53bit): Replace with
17860 libc_feresetround_53bit.
17861 (SET_RESTORE_ROUND_53BIT): Adjust.
17862
d180203e
SP
178632013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17864
96df079a
SP
17865 * string/test-strchrnul.c: Add copyright header.
17866
d180203e
SP
17867 * posix/tst-getaddrinfo4.c: Increase test timeout.
17868
8b0ccb2d
CD
178692013-06-03 Carlos O'Donell <carlos@redhat.com>
17870
17871 [BZ #15536]
17872 * math/libm-test.inc (MAX_EXP): Remove
17873 (MIN_EXP): Define.
17874 (ulp): Use MIN_EXP - MANT_DIG.
17875 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17876
3b3c4d40
CD
178772013-05-31 Carlos O'Donell <carlos@redhat.com>
17878
17879 * po/be.po: Revert last change.
17880 * po/zh_CN.po: Likewise.
17881 * po/header.pot: Likewise.
17882
fab7ce3f
JM
178832013-05-31 Joseph Myers <joseph@codesourcery.com>
17884
17885 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17886 link-libc-deps to empty as target-specific variable.
17887 * Makerules (link-libc-args): New variable.
17888 (libc-for-link): Likewise.
17889 (link-libc-deps): Likewise.
17890 (lib%.so): Depend on $(link-libc-deps). Link with
17891 $(link-libc-args).
17892 (build-module): Link with $(link-libc-args).
17893 (build-module-asneeded): Likewise.
17894 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17895 list of objects.
17896 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17897 target-specific variable.
17898 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17899 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17900 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17901 libc.
17902 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17903 libc and ld.so.
17904 ($(objpfx)libpcprofile.so): Likewise.
17905 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17906 libc_nonshared.a.
17907 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17908 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17909 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17910 $(link-libc-deps).
17911 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17912 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17913 * login/Makefile ($(objpfx)libutil.so): Likewise.
17914 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17915 * math/Makefile ($(objpfx)libm.so): Likewise.
17916 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17917 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17918 variable instead of depending directly on libc.
17919 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17920 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17921 $(link-libc-deps).
17922 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17923 libc.
17924 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17925 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17926 ($(objpfx)libanl.so): Likewise.
17927 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17928 ld.so.
17929 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17930 $(link-libc-deps).
17931 * sysdeps/i386/fpu/Makefile: Remove file.
17932 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17933 ($(objpfx)libm.so): Remove dependency on ld.so.
17934
eca5920c
PF
179352013-05-30 Patsy Franklin <pfrankli@redhat.com>
17936
17937 [BZ # 15553]
17938 * nis/yp_xdr.c (XDRMAXNAME): Define.
17939 (XDRMAXRECORD): Define.
17940 (xdr_domainname): Use XDRMAXNAME.
17941 (xdr_mapname): Likewise.
17942 (xdr_peername): Likewise.
17943 (xdr_keydat): Use XDRMAXRECORD.
17944 (xdr_valdat): Likewise.
17945
179462013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17947
17948 [BZ #14256]
17949 * manual/errno.texi (ESTALE): Update to account for more than
17950 just NFS file systems.
17951 * sysdeps/gnu/errlist.c: Regenerated.
17952
b9375348
SP
179532013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17954
17955 [BZ #15465]
17956 * elf/Makefile (tests): Add tst-null-argv.
17957 (modules-names): Add tst-null-argv-lib.
17958 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17959 (tst-null-argv-ENV): Set environment for tst-null-argv.
17960 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17961 (RTLD_PROGNAME): New macro.
17962 * elf/tst-null-argv.c: New test case.
17963 * elf/tst-null-argv-lib.c: Library for test case.
17964 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17965 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17966 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17967 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17968 * elf/dl-init.c (call_init): Likewise.
17969 (_dl_init): Likewise.
17970 * elf/dl-load.c (print_search_path): Likewise.
17971 (_dl_map_object): Likewise.
17972 * elf/dl-lookup.c (do_lookup_x): Likewise.
17973 (add_dependency): Likewise.
17974 (_dl_lookup_symbol_x): Likewise.
17975 (_dl_debug_bindings): Likewise.
17976 * elf/dl-open.c (_dl_show_scope): Likewise.
17977 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17978 * elf/dl-version.c (match_symbol): Likewise.
17979 (_dl_check_map_versions): Likewise.
17980 * elf/rtld.c (dl_main): Likewise.
17981 (print_unresolved): Use RTLD_PROGNAME.
17982 (print_missing_version): Likewise.
17983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17984 (elf_machine_rela): Likewise.
17985 * sysdeps/powerpc/powerpc32/dl-machine.c
17986 (__process_machine_rela): Likewise.
17987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17988 Likewise.
17989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17990 Likewise.
17991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17992 Likewise.
17993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17994 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17995 Likewise.
17996 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17997 Likewise.
17998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17999
8a9f20c8
CD
180002013-05-28 Carlos O'Donell <carlos@redhat.com>
18001
18002 * po/be.po: Add descriptive title.
18003 * po/zh_CN.po: Likewise.
18004 * po/header.pot: Likewise.
18005
0e60d68e
MF
180062013-05-28 Mike Frysinger <vapier@gentoo.org>
18007
18008 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18009 error message.
18010 (enlarge_archive): Likewise.
18011
56b672e9
BN
180122013-05-28 Ben North <ben@redfrontdoor.org>
18013
18014 * manual/arith.texi (frexp): It is the magnitude of the return
18015 value which lies in [0.5, 1), not the return value itself.
18016
5e056687
AZ
180172013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18018
18019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18020
2b66ef5d
TS
180212013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18022
528c2405
TS
18023 * stdio-common/bug26.c (main): Correct fscanf template.
18024
07b4c13d
TS
18025 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18026 declare _dl_skip_args.
18027
ec9dd97c
TS
18028 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18029 Don't declare.
18030
2b66ef5d
TS
18031 * manual/platform.texi: Add missing @end deftypefun.
18032
4f8dfe27
JM
180332013-05-24 Joseph Myers <joseph@codesourcery.com>
18034
0323d086
JM
18035 [BZ #15529]
18036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18037 bit of mantissa of 2^16382.
18038 * math/libm-test.inc (hypot_test_data): Add more tests.
18039
dd4259b9
JM
18040 * math/libm-test.inc: Add drem and pow10 to list of tested
18041 functions.
18042 (pow10_test): New function.
18043 (drem_test): Likewise.
18044 (drem_test_tonearest): Likewise.
18045 (drem_test_towardzero): Likewise.
18046 (drem_test_downward): Likewise.
18047 (drem_test_upward): Likewise.
18048 (main): Call the new functions.
18049
4f8dfe27
JM
18050 * math/libm-test.inc (finite_test_data): Remove.
18051 (finite_test): Run tests from isfinite_test_data.
18052 (gamma_test_data): Remove.
18053 (gamma_test): Run tests from lgamma_test_data.
18054 * sysdeps/i386/fpu/libm-test-ulps: Update.
18055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18056
d116b7c4
AZ
180572013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18058
18059 * manual/platform.texi: Add PowerPC PPR function set documentation.
18060 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18061 implementation.
18062
e96e3767
CD
180632013-05-24 Carlos O'Donell <carlos@redhat.com>
18064
18065 * math/libm-test.inc (MAX_EXP): Define.
18066 (ULPDIFF): Define.
18067 (ulp): New function.
18068 (check_float_internal): Use ULPDIFF.
18069 (cpow_test): Disable failing test.
18070 (check_ulp): Test ulp() implemetnation.
18071 (main): Call check_ulp before starting tests.
18072
b679a606
JM
180732013-05-24 Joseph Myers <joseph@codesourcery.com>
18074
e8bdba36
JM
18075 * math/gen-libm-test.pl (generate_testfile): Do not handle
18076 START_DATA and END_DATA.
18077 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18078 END_DATA.
18079 (acos_tonearest_test_data): Likewise.
18080 (acos_towardzero_test_data): Likewise.
18081 (acos_downward_test_data): Likewise.
18082 (acos_upward_test_data): Likewise.
18083 (acosh_test_data): Likewise.
18084 (asin_test_data): Likewise.
18085 (asin_tonearest_test_data): Likewise.
18086 (asin_towardzero_test_data): Likewise.
18087 (asin_downward_test_data): Likewise.
18088 (asin_upward_test_data): Likewise.
18089 (asinh_test_data): Likewise.
18090 (atan_test_data): Likewise.
18091 (atanh_test_data): Likewise.
18092 (atan2_test_data): Likewise.
18093 (cabs_test_data): Likewise.
18094 (cacos_test_data): Likewise.
18095 (cacosh_test_data): Likewise.
18096 (carg_test_data): Likewise.
18097 (casin_test_data): Likewise.
18098 (casinh_test_data): Likewise.
18099 (catan_test_data): Likewise.
18100 (catanh_test_data): Likewise.
18101 (cbrt_test_data): Likewise.
18102 (ccos_test_data): Likewise.
18103 (ccosh_test_data): Likewise.
18104 (ceil_test_data): Likewise.
18105 (cexp_test_data): Likewise.
18106 (cimag_test_data): Likewise.
18107 (clog_test_data): Likewise.
18108 (clog10_test_data): Likewise.
18109 (conj_test_data): Likewise.
18110 (copysign_test_data): Likewise.
18111 (cos_test_data): Likewise.
18112 (cos_tonearest_test_data): Likewise.
18113 (cos_towardzero_test_data): Likewise.
18114 (cos_downward_test_data): Likewise.
18115 (cos_upward_test_data): Likewise.
18116 (cosh_test_data): Likewise.
18117 (cosh_tonearest_test_data): Likewise.
18118 (cosh_towardzero_test_data): Likewise.
18119 (cosh_downward_test_data): Likewise.
18120 (cosh_upward_test_data): Likewise.
18121 (cpow_test_data): Likewise.
18122 (cproj_test_data): Likewise.
18123 (creal_test_data): Likewise.
18124 (csin_test_data): Likewise.
18125 (csinh_test_data): Likewise.
18126 (csqrt_test_data): Likewise.
18127 (ctan_test_data): Likewise.
18128 (ctan_tonearest_test_data): Likewise.
18129 (ctan_towardzero_test_data): Likewise.
18130 (ctan_downward_test_data): Likewise.
18131 (ctan_upward_test_data): Likewise.
18132 (ctanh_test_data): Likewise.
18133 (ctanh_tonearest_test_data): Likewise.
18134 (ctanh_towardzero_test_data): Likewise.
18135 (ctanh_downward_test_data): Likewise.
18136 (ctanh_upward_test_data): Likewise.
18137 (erf_test_data): Likewise.
18138 (erfc_test_data): Likewise.
18139 (exp_test_data): Likewise.
18140 (exp_tonearest_test_data): Likewise.
18141 (exp_towardzero_test_data): Likewise.
18142 (exp_downward_test_data): Likewise.
18143 (exp_upward_test_data): Likewise.
18144 (exp10_test_data): Likewise.
18145 (exp2_test_data): Likewise.
18146 (expm1_test_data): Likewise.
18147 (fabs_test_data): Likewise.
18148 (fdim_test_data): Likewise.
18149 (finite_test_data): Likewise.
18150 (floor_test_data): Likewise.
18151 (fma_test_data): Likewise.
18152 (fma_towardzero_test_data): Likewise.
18153 (fma_downward_test_data): Likewise.
18154 (fma_upward_test_data): Likewise.
18155 (fmax_test_data): Likewise.
18156 (fmin_test_data): Likewise.
18157 (fmod_test_data): Likewise.
18158 (fpclassify_test_data): Likewise.
18159 (frexp_test_data): Likewise.
18160 (gamma_test_data): Likewise.
18161 (hypot_test_data): Likewise.
18162 (ilogb_test_data): Likewise.
18163 (isfinite_test_data): Likewise.
18164 (isgreater_test_data): Likewise.
18165 (isgreaterequal_test_data): Likewise.
18166 (isinf_test_data): Likewise.
18167 (isless_test_data): Likewise.
18168 (islessequal_test_data): Likewise.
18169 (islessgreater_test_data): Likewise.
18170 (isnan_test_data): Likewise.
18171 (isnormal_test_data): Likewise.
18172 (issignaling_test_data): Likewise.
18173 (isunordered_test_data): Likewise.
18174 (j0_test_data): Likewise.
18175 (j1_test_data): Likewise.
18176 (jn_test_data): Likewise.
18177 (ldexp_test_data): Likewise.
18178 (lgamma_test_data): Likewise.
18179 (lrint_test_data): Likewise.
18180 (lrint_tonearest_test_data): Likewise.
18181 (lrint_towardzero_test_data): Likewise.
18182 (lrint_downward_test_data): Likewise.
18183 (lrint_upward_test_data): Likewise.
18184 (llrint_test_data): Likewise.
18185 (llrint_tonearest_test_data): Likewise.
18186 (llrint_towardzero_test_data): Likewise.
18187 (llrint_downward_test_data): Likewise.
18188 (llrint_upward_test_data): Likewise.
18189 (log_test_data): Likewise.
18190 (log10_test_data): Likewise.
18191 (log1p_test_data): Likewise.
18192 (log2_test_data): Likewise.
18193 (logb_test_data): Likewise.
18194 (logb_downward_test_data): Likewise.
18195 (lround_test_data): Likewise.
18196 (llround_test_data): Likewise.
18197 (modf_test_data): Likewise.
18198 (nearbyint_test_data): Likewise.
18199 (nextafter_test_data): Likewise.
18200 (nexttoward_test_data): Likewise.
18201 (pow_test_data): Likewise.
18202 (pow_tonearest_test_data): Likewise.
18203 (pow_towardzero_test_data): Likewise.
18204 (pow_downward_test_data): Likewise.
18205 (pow_upward_test_data): Likewise.
18206 (remainder_test_data): Likewise.
18207 (remainder_tonearest_test_data): Likewise.
18208 (remainder_towardzero_test_data): Likewise.
18209 (remainder_downward_test_data): Likewise.
18210 (remainder_upward_test_data): Likewise.
18211 (remquo_test_data): Likewise.
18212 (rint_test_data): Likewise.
18213 (rint_tonearest_test_data): Likewise.
18214 (rint_towardzero_test_data): Likewise.
18215 (rint_downward_test_data): Likewise.
18216 (rint_upward_test_data): Likewise.
18217 (round_test_data): Likewise.
18218 (scalb_test_data): Likewise.
18219 (scalbn_test_data): Likewise.
18220 (scalbln_test_data): Likewise.
18221 (signbit_test_data): Likewise.
18222 (sin_test_data): Likewise.
18223 (sin_tonearest_test_data): Likewise.
18224 (sin_towardzero_test_data): Likewise.
18225 (sin_downward_test_data): Likewise.
18226 (sin_upward_test_data): Likewise.
18227 (sincos_test_data): Likewise.
18228 (sinh_test_data): Likewise.
18229 (sinh_tonearest_test_data): Likewise.
18230 (sinh_towardzero_test_data): Likewise.
18231 (sinh_downward_test_data): Likewise.
18232 (sinh_upward_test_data): Likewise.
18233 (sqrt_test_data): Likewise.
18234 (tan_test_data): Likewise.
18235 (tan_tonearest_test_data): Likewise.
18236 (tan_towardzero_test_data): Likewise.
18237 (tan_downward_test_data): Likewise.
18238 (tan_upward_test_data): Likewise.
18239 (tanh_test_data): Likewise.
18240 (tgamma_test_data): Likewise.
18241 (trunc_test_data): Likewise.
18242 (y0_test_data): Likewise.
18243 (y1_test_data): Likewise.
18244 (yn_test_data): Likewise.
18245 (significand_test_data): Likewise.
18246
b679a606
JM
18247 * math/gen-libm-test.pl (@functions): Remove variable.
18248 (generate_testfile): Don't handle START and END lines.
18249 * math/libm-test.inc (START): New macro.
18250 (END): Likewise.
18251 (END_COMPLEX): Likewise.
18252 (acos_test): Use END macro without arguments.
18253 (acos_test_tonearest): Likewise.
18254 (acos_test_towardzero): Likewise.
18255 (acos_test_downward): Likewise.
18256 (acos_test_upward): Likewise.
18257 (acosh_test): Likewise.
18258 (asin_test): Likewise.
18259 (asin_test_tonearest): Likewise.
18260 (asin_test_towardzero): Likewise.
18261 (asin_test_downward): Likewise.
18262 (asin_test_upward): Likewise.
18263 (asinh_test): Likewise.
18264 (atan_test): Likewise.
18265 (atanh_test): Likewise.
18266 (atan2_test): Likewise.
18267 (cabs_test): Likewise.
18268 (cacos_test): Use END_COMPLEX macro without arguments.
18269 (cacosh_test): Likewise.
18270 (carg_test): Use END macro without arguments.
18271 (casin_test): Use END_COMPLEX macro without arguments.
18272 (casinh_test): Likewise.
18273 (catan_test): Likewise.
18274 (catanh_test): Likewise.
18275 (cbrt_test): Use END macro without arguments.
18276 (ccos_test): Use END_COMPLEX macro without arguments.
18277 (ccosh_test): Likewise.
18278 (ceil_test): Use END macro without arguments.
18279 (cexp_test): Use END_COMPLEX macro without arguments.
18280 (cimag_test): Use END macro without arguments.
18281 (clog_test): Use END_COMPLEX macro without arguments.
18282 (clog10_test): Likewise.
18283 (conj_test): Likewise.
18284 (copysign_test): Use END macro without arguments.
18285 (cos_test): Likewise.
18286 (cos_test_tonearest): Likewise.
18287 (cos_test_towardzero): Likewise.
18288 (cos_test_downward): Likewise.
18289 (cos_test_upward): Likewise.
18290 (cosh_test): Likewise.
18291 (cosh_test_tonearest): Likewise.
18292 (cosh_test_towardzero): Likewise.
18293 (cosh_test_downward): Likewise.
18294 (cosh_test_upward): Likewise.
18295 (cpow_test): Use END_COMPLEX macro without arguments.
18296 (cproj_test): Likewise.
18297 (creal_test): Use END macro without arguments.
18298 (csin_test): Use END_COMPLEX macro without arguments.
18299 (csinh_test): Likewise.
18300 (csqrt_test): Likewise.
18301 (ctan_test): Likewise.
18302 (ctan_test_tonearest): Likewise.
18303 (ctan_test_towardzero): Likewise.
18304 (ctan_test_downward): Likewise.
18305 (ctan_test_upward): Likewise.
18306 (ctanh_test): Likewise.
18307 (ctanh_test_tonearest): Likewise.
18308 (ctanh_test_towardzero): Likewise.
18309 (ctanh_test_downward): Likewise.
18310 (ctanh_test_upward): Likewise.
18311 (erf_test): Use END macro without arguments.
18312 (erfc_test): Likewise.
18313 (exp_test): Likewise.
18314 (exp_test_tonearest): Likewise.
18315 (exp_test_towardzero): Likewise.
18316 (exp_test_downward): Likewise.
18317 (exp_test_upward): Likewise.
18318 (exp10_test): Likewise.
18319 (exp2_test): Likewise.
18320 (expm1_test): Likewise.
18321 (fabs_test): Likewise.
18322 (fdim_test): Likewise.
18323 (finite_test): Likewise.
18324 (floor_test): Likewise.
18325 (fma_test): Likewise.
18326 (fma_test_towardzero): Likewise.
18327 (fma_test_downward): Likewise.
18328 (fma_test_upward): Likewise.
18329 (fmax_test): Likewise.
18330 (fmin_test): Likewise.
18331 (fmod_test): Likewise.
18332 (fpclassify_test): Likewise.
18333 (frexp_test): Likewise.
18334 (gamma_test): Likewise.
18335 (hypot_test): Likewise.
18336 (ilogb_test): Likewise.
18337 (isfinite_test): Likewise.
18338 (isgreater_test): Likewise.
18339 (isgreaterequal_test): Likewise.
18340 (isinf_test): Likewise.
18341 (isless_test): Likewise.
18342 (islessequal_test): Likewise.
18343 (islessgreater_test): Likewise.
18344 (isnan_test): Likewise.
18345 (isnormal_test): Likewise.
18346 (issignaling_test): Likewise.
18347 (isunordered_test): Likewise.
18348 (j0_test): Likewise.
18349 (j1_test): Likewise.
18350 (jn_test): Likewise.
18351 (ldexp_test): Likewise.
18352 (lgamma_test): Likewise.
18353 (lrint_test): Likewise.
18354 (lrint_test_tonearest): Likewise.
18355 (lrint_test_towardzero): Likewise.
18356 (lrint_test_downward): Likewise.
18357 (lrint_test_upward): Likewise.
18358 (llrint_test): Likewise.
18359 (llrint_test_tonearest): Likewise.
18360 (llrint_test_towardzero): Likewise.
18361 (llrint_test_downward): Likewise.
18362 (llrint_test_upward): Likewise.
18363 (log_test): Likewise.
18364 (log10_test): Likewise.
18365 (log1p_test): Likewise.
18366 (log2_test): Likewise.
18367 (logb_test): Likewise.
18368 (logb_test_downward): Likewise.
18369 (lround_test): Likewise.
18370 (llround_test): Likewise.
18371 (modf_test): Likewise.
18372 (nearbyint_test): Likewise.
18373 (nextafter_test): Likewise.
18374 (nexttoward_test): Likewise.
18375 (pow_test): Likewise.
18376 (pow_test_tonearest): Likewise.
18377 (pow_test_towardzero): Likewise.
18378 (pow_test_downward): Likewise.
18379 (pow_test_upward): Likewise.
18380 (remainder_test): Likewise.
18381 (remainder_test_tonearest): Likewise.
18382 (remainder_test_towardzero): Likewise.
18383 (remainder_test_downward): Likewise.
18384 (remainder_test_upward): Likewise.
18385 (remquo_test): Likewise.
18386 (rint_test): Likewise.
18387 (rint_test_tonearest): Likewise.
18388 (rint_test_towardzero): Likewise.
18389 (rint_test_downward): Likewise.
18390 (rint_test_upward): Likewise.
18391 (round_test): Likewise.
18392 (scalb_test): Likewise.
18393 (scalbn_test): Likewise.
18394 (scalbln_test): Likewise.
18395 (signbit_test): Likewise.
18396 (sin_test): Likewise.
18397 (sin_test_tonearest): Likewise.
18398 (sin_test_towardzero): Likewise.
18399 (sin_test_downward): Likewise.
18400 (sin_test_upward): Likewise.
18401 (sincos_test): Likewise.
18402 (sinh_test): Likewise.
18403 (sinh_test_tonearest): Likewise.
18404 (sinh_test_towardzero): Likewise.
18405 (sinh_test_downward): Likewise.
18406 (sinh_test_upward): Likewise.
18407 (sqrt_test): Likewise.
18408 (tan_test): Likewise.
18409 (tan_test_tonearest): Likewise.
18410 (tan_test_towardzero): Likewise.
18411 (tan_test_downward): Likewise.
18412 (tan_test_upward): Likewise.
18413 (tanh_test): Likewise.
18414 (tgamma_test): Likewise.
18415 (trunc_test): Likewise.
18416 (y0_test): Likewise.
18417 (y1_test): Likewise.
18418 (yn_test): Likewise.
18419 (significand_test): Likewise.
18420
bae143d2
OB
184212013-05-24 Ondřej Bílka <neleai@seznam.cz>
18422
18423 [BZ #15381]
18424 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18425
9323d39b
EM
184262013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18427
d4ea44a0 18428 [BZ #14894]
9323d39b
EM
18429 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18430 __ppc_mdoio and __ppc_mdoom.
18431 * manual/platform.texi: Document new functions __ppc_yield,
18432 __ppc_mdoio and __ppc_mdoom.
18433
13e23af7
CD
184342013-05-22 Carlos O'Donell <carlos@redhat.com>
18435
18436 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18437 (main): Mention "tls" pseudo-hwcap is legacy.
18438 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18439
351fe550
JM
184402013-05-22 Joseph Myers <joseph@codesourcery.com>
18441
18442 * math/gen-libm-test.pl (parse_args): Output only string of
18443 arguments as text for test name, not full call or descriptions of
18444 tests for extra outputs.
18445 (generate_testfile): Do not pass function name to parse_args.
18446 Generate this_func variable from START.
18447 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18448 field to arg_str.
18449 (struct test_ff_f_data): Likewise.
18450 (test_ff_f_data_nexttoward): Likewise.
18451 (struct test_fi_f_data): Likewise.
18452 (struct test_fl_f_data): Likewise.
18453 (struct test_if_f_data): Likewise.
18454 (struct test_fff_f_data): Likewise.
18455 (struct test_c_f_data): Likewise.
18456 (struct test_f_f1_data): Likewise. Remove field extra_name.
18457 (struct test_fF_f1_data): Likewise.
18458 (struct test_ffI_f1_data): Likewise.
18459 (struct test_c_c_data): Rename test_name field to arg_str.
18460 (struct test_cc_c_data): Likewise.
18461 (struct test_f_i_data): Likewise.
18462 (struct test_ff_i_data): Likewise.
18463 (struct test_f_l_data): Likewise.
18464 (struct test_f_L_data): Likewise.
18465 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18466 and extra2_name.
18467 (COMMON_TEST_SETUP): New macro.
18468 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18469 (COMMON_TEST_CLEANUP): Likewise.
18470 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18471 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18472 macros.
18473 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18474 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18475 macros.
18476 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18477 (RUN_TEST_fff_f): Take argument string. Call new setup and
18478 cleanup macros.
18479 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18480 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18481 macros.
18482 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18483 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18484 macros.
18485 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18486 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18487 cleanup macros.
18488 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18489 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18490 cleanup macros.
18491 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18492 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18493 cleanup macros.
18494 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18495 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18496 macros.
18497 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18498 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18499 macros.
18500 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18501 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18502 macros.
18503 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18504 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18505 cleanup macros.
18506 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18507 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18508 cleanup macros.
18509 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18510 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18511 macros.
18512 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18513 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18514 cleanup macros.
18515 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18516 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18517 macros.
18518 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18519 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18520 macros.
18521 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18522 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18523 cleanup macros.
18524 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18525
85118d4d
EBM
185262013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18527
18528 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18529 to _sifields.sigfault.
18530 (si_addr_lsb): Define new macro.
18531 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18533 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18534
7a44c18f
CD
185352013-05-03 Carlos O'Donell <carlos at redhat.com>
18536
18537 [BZ #15441]
18538 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18539 returns -1.
18540 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18541 null return -1.
18542 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18543 loading the domain.
18544
b50a7181
JM
185452013-05-22 Joseph Myers <joseph@codesourcery.com>
18546
18547 * math/gen-libm-test.pl (parse_args): Do not include expected
18548 result in test name.
18549 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18551 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18552 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555
051063c8
SP
185562013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18557
3ce9e010
SP
18558 * benchtests/Makefile: Sort function entries.
18559
051063c8
SP
18560 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18561 tanh, asinh, acosh, atanh.
18562 * benchtests/acos-inputs: New file.
18563 * benchtests/acosh-inputs: New file.
18564 * benchtests/asin-inputs: New file.
18565 * benchtests/asinh-inputs: New file.
18566 * benchtests/atanh-inputs: New file.
18567 * benchtests/cosh-inputs: New file.
18568 * benchtests/log-inputs: New file.
18569 * benchtests/sinh-inputs: New file.
18570 * benchtests/tanh-inputs: New file.
18571
47c22455
DL
185722013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18573
18574 [BZ #15339]
18575 * posix/tst-getaddrinfo4.c: New test.
18576 * posix/Makefile (tests): Add it.
18577
3d04f5db
SP
185782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18579
18580 [BZ #15339]
18581 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18582 when no services were used.
18583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18584 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18585
d5dd6189
AS
185862013-05-21 Andreas Schwab <schwab@suse.de>
18587
18588 [BZ #15014]
18589 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18590 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18591 successful.
18592 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18593 redundant variable declarations and reallocation of buffer when
18594 parsing as IPv6 address. Always set NSS status when called from
18595 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18596 buffer too small. Correct computation of needed size.
18597 * nss/Makefile (tests): Add test-digits-dots.
18598 * nss/test-digits-dots.c: New test.
18599
fef94eab
SP
186002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18601
18602 * benchtests/Makefile: Remove instructions for adding
18603 benchmark tests.
18604 * benchtests/README: New file to explain how to execute and
18605 enhance the benchmark tests.
18606
e39adf43
AS
186072013-05-21 Andreas Schwab <schwab@suse.de>
18608
18609 [BZ #15493]
18610 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18611 * setjmp/tst-sigsetjmp.c: New test.
18612
b2b671b6
OB
186132013-05-20 Ondřej Bílka <neleai@seznam.cz>
18614
18615 * sysdeps/x86_64/memset.S (memset): New implementation.
18616 (__bzero): Likewise.
18617 (__memset_tail): New function.
18618
2d48b41c
OB
186192013-05-20 Ondřej Bílka <neleai@seznam.cz>
18620
18621 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18622 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18623 __memcpy_sse2_unaligned ifunc selection.
18624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18625 Add memcpy-sse2-unaligned.S.
18626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18627 Add: __memcpy_sse2_unaligned.
18628
f16cc3eb
JM
186292013-05-19 Joseph Myers <joseph@codesourcery.com>
18630
3e694268
JM
18631 [BZ #15490]
18632 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18633 math_force_eval before restoring floating-point envrionment.
18634 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18636 Likewise.
18637 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18638 <math_private.h>.
18639 (__nearbyintl): Use math_force_eval before restoring
18640 floating-point environment.
18641 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18642
db62a907
JM
18643 * math/gen-libm-test.pl (special_functions): Remove.
18644 (parse_args): Don't handle TEST_extra. Handle functions with no
18645 return value.
18646 * math/libm-test.inc (struct test_sincos_data): Replace with
18647 struct test_fFF_11_data.
18648 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18649 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18650 (sincos_test_data): Change element type to struct
18651 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18652 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18653 RUN_TEST_LOOP_sincos.
18654 * math/README.libm-test: Don't mention special handling of
18655 individual functions.
18656 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18659 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18662
f16cc3eb
JM
18663 * math/gen-libm-test.pl (get_variable): Remove function.
18664 (parse_args): Don't show pointer parameters to call in test
18665 names. Use "extra output N" in test names for extra outputs
18666 rather than naming variables.
18667
3779b5b6
JM
186682013-05-18 Joseph Myers <joseph@codesourcery.com>
18669
2ee094ff
JM
18670 [BZ #15488]
18671 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18672 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18673 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18674 double tests.
18675 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18676 disable.
18677 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18678 check_long_double.
18679
3779b5b6
JM
18680 * math/gen-libm-test.pl (@tests): Remove variable.
18681 ($count): Likewise.
18682 (new_test): Remove function.
18683 (show_exceptions): New function.
18684 (special_functions): Use show_exceptions instead of new_test.
18685 (parse_args): Likewise.
18686 (generate_testfile): Pass only function name in generated call to
18687 print_max_error or print_complex_max_error.
18688 (get_ulps): Do not handle complex tests specially.
18689 (output_test): Rename to ...
18690 (get_all_ulps_for_test): ... this. Return a string rather than
18691 printing to a file. Require ulps to be present.
18692 (output_ulps): Generate arrays rather than #defines.
18693 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18694 (struct ulp_data): New type.
18695 (BUILD_COMPLEX_ULP): Remove macro.
18696 (compare_ulp_data): New function.
18697 (find_ulps): Likewise.
18698 (find_test_ulps): Likewise.
18699 (find_function_ulps): Likewise.
18700 (find_complex_function_ulps): Likewise.
18701 (print_max_error): Determine allowed ulps using
18702 find_function_ulps.
18703 (print_complex_max_error): Determine allowed ulps using
18704 find_complex_function_ulps.
18705 (check_float_internal): Determine max ulps using find_test_ulps.
18706 (check_float): Do not take max_ulp parameter. Update call to
18707 check_float_internal.
18708 (check_complex): Likewise.
18709 (check_int): Do not take max_ulp parameter.
18710 (check_long): Likewise.
18711 (check_bool): Likewise.
18712 (check_longlong): Likewise.
18713 (struct test_f_f_data): Remove max_ulp field.
18714 (struct test_ff_f_data): Likewise.
18715 (struct test_ff_f_data_nexttoward): Likewise.
18716 (struct test_fi_f_data): Likewise.
18717 (struct test_fl_f_data): Likewise.
18718 (struct test_if_f_data): Likewise.
18719 (struct test_fff_f_data): Likewise.
18720 (struct test_c_f_data): Likewise.
18721 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18722 (struct test_fF_f1_data): Likewise.
18723 (struct test_ffI_f1_data): Likewise.
18724 (struct test_c_c_data): Remove max_ulp field.
18725 (struct test_cc_c_data): Likewise.
18726 (struct test_f_i_data): Likewise.
18727 (struct test_ff_i_data): Likewise.
18728 (struct test_f_l_data): Likewise.
18729 (struct test_f_L_data): Likewise.
18730 (struct test_sincos_data): Likewise.
18731 (RUN_TEST_f_f): Do not handle ulps.
18732 (RUN_TEST_LOOP_f_f): Likewise.
18733 (RUN_TEST_2_f): Likewise.
18734 (RUN_TEST_LOOP_2_f): Likewise.
18735 (RUN_TEST_fff_f): Likewise.
18736 (RUN_TEST_LOOP_fff_f): Likewise.
18737 (RUN_TEST_c_f): Likewise.
18738 (RUN_TEST_LOOP_c_f): Likewise.
18739 (RUN_TEST_f_f1): Likewise.
18740 (RUN_TEST_LOOP_f_f1): Likewise.
18741 (RUN_TEST_fF_f1): Likewise.
18742 (RUN_TEST_LOOP_fF_f1): Likewise.
18743 (RUN_TEST_fI_f1): Likewise.
18744 (RUN_TEST_LOOP_fI_f1): Likewise.
18745 (RUN_TEST_ffI_f1): Likewise.
18746 (RUN_TEST_LOOP_ffI_f1): Likewise.
18747 (RUN_TEST_c_c): Likewise.
18748 (RUN_TEST_LOOP_c_c): Likewise.
18749 (RUN_TEST_cc_c): Likewise.
18750 (RUN_TEST_LOOP_cc_c): Likewise.
18751 (RUN_TEST_f_i): Likewise.
18752 (RUN_TEST_LOOP_f_i): Likewise.
18753 (RUN_TEST_f_i_tg): Likewise.
18754 (RUN_TEST_LOOP_f_i_tg): Likewise.
18755 (RUN_TEST_ff_i_tg): Likewise.
18756 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18757 (RUN_TEST_f_b): Likewise.
18758 (RUN_TEST_LOOP_f_b): Likewise.
18759 (RUN_TEST_f_b_tg): Likewise.
18760 (RUN_TEST_LOOP_f_b_tg): Likewise.
18761 (RUN_TEST_f_l): Likewise.
18762 (RUN_TEST_LOOP_f_l): Likewise.
18763 (RUN_TEST_f_L): Likewise.
18764 (RUN_TEST_LOOP_f_L): Likewise.
18765 (RUN_TEST_sincos): Likewise.
18766 (RUN_TEST_LOOP_sincos): Likewise.
18767
8269107f
JM
187682013-05-17 Joseph Myers <joseph@codesourcery.com>
18769
bb38759d
JM
18770 [BZ #15480]
18771 [BZ #15485]
18772 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18773 main case of finite arguments, set rounding mode to FE_TONEAREST
18774 and discard exceptions.
18775 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18776 exceptions.
18777 (remainder_tonearest_test_data): New variable.
18778 (remainder_test_tonearest): New function.
18779 (remainder_towardzero_test_data): New variable.
18780 (remainder_test_towardzero): New function.
18781 (remainder_downward_test_data): New variable.
18782 (remainder_test_downward): New function.
18783 (remainder_upward_test_data): New variable.
18784 (remainder_test_upward): New function.
18785 (main): Call the new test functions.
18786
a00bdcf0
JM
18787 * math/libm-test.inc (struct test_f_f1_data): Remove field
18788 extra_init.
18789 (struct test_fF_f1_data): Likewise.
18790 (struct test_ffI_f1_data): Likewise.
18791 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18792 based on value of EXTRA_EXPECTED.
18793 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18794 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18795 EXTRA_VAR based on value of EXTRA_EXPECTED.
18796 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18797 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18798 EXTRA_VAR based on value of EXTRA_EXPECTED.
18799 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18800 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18801 EXTRA_VAR based on value of EXTRA_EXPECTED.
18802 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18803 * math/gen-libm-test.pl (parse_args): Don't output initializers
18804 for extra output values.
18805
de407f79
JM
18806 * math/libm-test.inc (check_int): Expect result to be exactly
18807 equal to expected value and do not handle ulps.
18808 (check_long): Likewise.
18809 (check_longlong): Likewise.
18810
8269107f
JM
18811 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18812 exceptions.
18813 (cimag_test_data): Likewise.
18814 (conj_test_data): Likewise.
18815 (copysign_test_data): Likewise.
18816 (cproj_test_data): Likewise.
18817 (creal_test_data): Likewise.
18818 (fabs_test_data): Likewise.
18819 (fdim_test_data): Likewise.
18820 (finite_test_data): Likewise.
18821 (floor_test_data): Likewise.
18822 (fmax_test_data): Likewise.
18823 (fmin_test_data): Likewise.
18824 (fmod_test_data): Likewise.
18825 (fpclassify_test_data): Likewise.
18826 (frexp_test_data): Likewise.
18827 (ilogb_test_data): Likewise.
18828 (isfinite_test_data): Likewise.
18829 (isgreater_test_data): Likewise.
18830 (isgreaterequal_test_data): Likewise.
18831 (isinf_test_data): Likewise.
18832 (isless_test_data): Likewise.
18833 (islessequal_test_data): Likewise.
18834 (islessgreater_test_data): Likewise.
18835 (isnan_test_data): Likewise.
18836 (isnormal_test_data): Likewise.
18837 (issignaling_test_data): Likewise.
18838 (isunordered_test_data): Likewise.
18839 (ldexp_test_data): Likewise.
18840 (lrint_test_data): Likewise.
18841 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18842 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18843 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18844 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18845 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18846 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18847 test input.
18848 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18849 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18850 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18851 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18852 that test input.
18853 (lrint_downward_test_data): Test for "inexact" exceptions.
18854 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18855 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18856 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18857 test input.
18858 (lrint_upward_test_data): Test for "inexact" exceptions.
18859 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18860 test input.
18861 (llrint_test_data): Test for "inexact" exceptions.
18862 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18863 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18864 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18865 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18866 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18867 (llrint_downward_test_data): Test for "inexact" exceptions.
18868 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18869 (llrint_upward_test_data): Test for "inexact" exceptions.
18870 (logb_test_data): Likewise.
18871 (logb_downward_test_data): Likewise.
18872 (nextafter_test_data): Likewise.
18873 (nexttoward_test_data): Likewise.
18874 (remainder_test_data): Likewise.
18875 (remquo_test_data): Likewise.
18876 (scalbn_test_data): Likewise.
18877 (scalbln_test_data): Likewise.
18878 (signbit_test_data): Likewise.
18879 (sqrt_test_data): Likewise.
18880 (significand_test_data): Likewise.
18881
48a18de1
SP
188822013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18883
18884 [BZ #15424]
18885 * benchtests/bench-modf.c (struct args): Mark arg0 as
18886 volatile.
18887 * scripts/bench.pl: Mark members of struct args as volatile.
18888
13d3b41a
AZ
188892013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18890
68191c1d 18891 [BZ # 15497]
13d3b41a
AZ
18892 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18893 negative infinity on POWER6 or lower.
18894 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18895
2848b105
MR
188962013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18897
18898 [BZ #15442]
18899 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18900 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18901 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18902 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18903 (_FP_SETQNAN): New macro.
18904 (_FP_SETQNAN_SEMIRAW): Likewise.
18905 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18906 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18907 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18908 (FP_EXTEND): Use _FP_FRAC_SNANP.
18909 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18910 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18911 into account.
18912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18913 New macro.
18914 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18915 Likewise.
18916
323e5cb7
JM
189172013-05-16 Joseph Myers <joseph@codesourcery.com>
18918
c58b274f
JM
18919 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18920 with DIVIDE_BY_ZERO_EXCEPTION.
18921 (gamma_test_data): Likewise.
18922 (lgamma_test_data): Likewise.
18923 (log_test_data): Likewise.
18924 (log10_test_data): Likewise.
18925 (log2_test_data): Likewise.
18926 (tgamma_test_data): Likewise.
18927
0ab34904
JM
18928 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18929 (acos_test_tonearest): Likewise.
18930 (acos_test_towardzero): Likewise.
18931 (acos_test_downward): Likewise.
18932 (acos_test_upward): Likewise.
18933 (acosh_test): Likewise.
18934 (asin_test): Likewise.
18935 (asin_test_tonearest): Likewise.
18936 (asin_test_towardzero): Likewise.
18937 (asin_test_downward): Likewise.
18938 (asin_test_upward): Likewise.
18939 (asinh_test): Likewise.
18940 (atan_test): Likewise.
18941 (atanh_test): Likewise.
18942 (atan2_test): Likewise.
18943 (cabs_test): Likewise.
18944 (cacos_test): Likewise.
18945 (cacosh_test): Likewise.
18946 (casin_test): Likewise.
18947 (casinh_test): Likewise.
18948 (catan_test): Likewise.
18949 (catanh_test): Likewise.
18950 (cbrt_test): Likewise.
18951 (ccos_test): Likewise.
18952 (ccosh_test): Likewise.
18953 (cexp_test): Likewise.
18954 (clog_test): Likewise.
18955 (clog10_test): Likewise.
18956 (cos_test): Likewise.
18957 (cos_test_tonearest): Likewise.
18958 (cos_test_towardzero): Likewise.
18959 (cos_test_downward): Likewise.
18960 (cos_test_upward): Likewise.
18961 (cosh_test): Likewise.
18962 (cosh_test_tonearest): Likewise.
18963 (cosh_test_towardzero): Likewise.
18964 (cosh_test_downward): Likewise.
18965 (cosh_test_upward): Likewise.
18966 (cpow_test): Likewise.
18967 (csin_test): Likewise.
18968 (csinh_test): Likewise.
18969 (csqrt_test): Likewise.
18970 (ctan_test): Likewise.
18971 (ctan_test_tonearest): Likewise.
18972 (ctan_test_towardzero): Likewise.
18973 (ctan_test_downward): Likewise.
18974 (ctan_test_upward): Likewise.
18975 (ctanh_test): Likewise.
18976 (ctanh_test_tonearest): Likewise.
18977 (ctanh_test_towardzero): Likewise.
18978 (ctanh_test_downward): Likewise.
18979 (ctanh_test_upward): Likewise.
18980 (erf_test): Likewise.
18981 (erfc_test): Likewise.
18982 (exp_test): Likewise.
18983 (exp_test_tonearest): Likewise.
18984 (exp_test_towardzero): Likewise.
18985 (exp_test_downward): Likewise.
18986 (exp_test_upward): Likewise.
18987 (exp10_test): Likewise.
18988 (exp2_test): Likewise.
18989 (expm1_test): Likewise.
18990 (fmod_test): Likewise.
18991 (gamma_test): Likewise.
18992 (hypot_test): Likewise.
18993 (j0_test): Likewise.
18994 (j1_test): Likewise.
18995 (jn_test): Likewise.
18996 (lgamma_test): Likewise.
18997 (log_test): Likewise.
18998 (log10_test): Likewise.
18999 (log1p_test): Likewise.
19000 (log2_test): Likewise.
19001 (logb_test_downward): Likewise.
19002 (pow_test): Likewise.
19003 (pow_test_tonearest): Likewise.
19004 (pow_test_towardzero): Likewise.
19005 (pow_test_downward): Likewise.
19006 (pow_test_upward): Likewise.
19007 (remainder_test): Likewise.
19008 (remquo_test): Likewise.
19009 (sin_test): Likewise.
19010 (sin_test_tonearest): Likewise.
19011 (sin_test_towardzero): Likewise.
19012 (sin_test_downward): Likewise.
19013 (sin_test_upward): Likewise.
19014 (sincos_test): Likewise.
19015 (sinh_test): Likewise.
19016 (sinh_test_tonearest): Likewise.
19017 (sinh_test_towardzero): Likewise.
19018 (sinh_test_downward): Likewise.
19019 (sinh_test_upward): Likewise.
19020 (sqrt_test): Likewise.
19021 (tan_test): Likewise.
19022 (tan_test_tonearest): Likewise.
19023 (tan_test_towardzero): Likewise.
19024 (tan_test_downward): Likewise.
19025 (tan_test_upward): Likewise.
19026 (tanh_test): Likewise.
19027 (tgamma_test): Likewise.
19028 (y0_test): Likewise.
19029 (y1_test): Likewise.
19030 (yn_test): Likewise.
19031
323e5cb7
JM
19032 * math/gen-libm-test.pl (adjust_arg): Remove function.
19033 (special_function): Remove argument $in_func. Only handle
19034 generating output for tables of tests, not inside functions.
19035 (parse_args): Likewise.
19036 (generate_testfile): Remove variable $in_func. Update call to
19037 parse_args.
19038 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19039 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19040 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19041 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19042 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19043 (MAX_VALUE_INIT): Rename macro to max_value.
19044 (MIN_VALUE_INIT): Rename macro to min_value.
19045 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19046 (plus_zero): Remove variable.
19047 (minus_zero): Likewise.
19048 (plus_infty): Likewise.
19049 (minus_infty): Likewise.
19050 (qnan_value): Likewise.
19051 (max_value): Likewise.
19052 (min_value): Likewise.
19053 (min_subnorm_value): Likewise.
19054
e054f494
RA
190552013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19056
19057 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19058 uint64_t or uint32_t usage.
19059 * crypt/sha256-block.c: Likewise.
19060 * crypt/sha256-crypt.c: Likewise.
19061 * crypt/sha256.c: Likewise.
19062 * crypt/sha512-block.c: Likewise.
19063 * crypt/sha512-crypt.c: Likewise.
19064 * crypt/sha512.c: Likewise.
19065 * debug/backtrace-tst.c: Likewise.
19066 * debug/pcprofiledump.c: Likewise.
19067 * elf/cache.c: Likewise.
19068 * elf/dl-cache.c: Likewise.
19069 * elf/dl-misc.c: Likewise.
19070 * elf/dl-profile.c: Likewise.
19071 * elf/dl-support.c: Likewise.
19072 * elf/ldconfig.c: Likewise.
19073 * elf/sprof.c: Likewise.
19074 * iconv/dummy-repertoire.c: Likewise.
19075 * iconv/iconv_charmap.c: Likewise.
19076 * iconv/skeleton.c: Likewise.
19077 * iconvdata/8bit-generic.c: Likewise.
19078 * iconvdata/cp737.h: Likewise.
19079 * iconvdata/cp775.h: Likewise.
19080 * iconvdata/ibm1008.h: Likewise.
19081 * iconvdata/ibm1025.h: Likewise.
19082 * iconvdata/ibm1046.h: Likewise.
19083 * iconvdata/ibm1097.h: Likewise.
19084 * iconvdata/ibm1112.h: Likewise.
19085 * iconvdata/ibm1122.h: Likewise.
19086 * iconvdata/ibm1123.h: Likewise.
19087 * iconvdata/ibm1124.h: Likewise.
19088 * iconvdata/ibm1129.h: Likewise.
19089 * iconvdata/ibm1130.h: Likewise.
19090 * iconvdata/ibm1132.h: Likewise.
19091 * iconvdata/ibm1133.h: Likewise.
19092 * iconvdata/ibm1137.h: Likewise.
19093 * iconvdata/ibm1140.h: Likewise.
19094 * iconvdata/ibm1141.h: Likewise.
19095 * iconvdata/ibm1142.h: Likewise.
19096 * iconvdata/ibm1143.h: Likewise.
19097 * iconvdata/ibm1144.h: Likewise.
19098 * iconvdata/ibm1145.h: Likewise.
19099 * iconvdata/ibm1146.h: Likewise.
19100 * iconvdata/ibm1147.h: Likewise.
19101 * iconvdata/ibm1148.h: Likewise.
19102 * iconvdata/ibm1149.h: Likewise.
19103 * iconvdata/ibm1153.h: Likewise.
19104 * iconvdata/ibm1154.h: Likewise.
19105 * iconvdata/ibm1155.h: Likewise.
19106 * iconvdata/ibm1156.h: Likewise.
19107 * iconvdata/ibm1157.h: Likewise.
19108 * iconvdata/ibm1158.h: Likewise.
19109 * iconvdata/ibm1160.h: Likewise.
19110 * iconvdata/ibm1161.h: Likewise.
19111 * iconvdata/ibm1162.h: Likewise.
19112 * iconvdata/ibm1163.h: Likewise.
19113 * iconvdata/ibm1164.h: Likewise.
19114 * iconvdata/ibm1166.h: Likewise.
19115 * iconvdata/ibm1167.h: Likewise.
19116 * iconvdata/ibm12712.h: Likewise.
19117 * iconvdata/ibm1390.h: Likewise.
19118 * iconvdata/ibm1399.h: Likewise.
19119 * iconvdata/ibm16804.h: Likewise.
19120 * iconvdata/ibm4517.h: Likewise.
19121 * iconvdata/ibm4899.h: Likewise.
19122 * iconvdata/ibm4909.h: Likewise.
19123 * iconvdata/ibm4971.h: Likewise.
19124 * iconvdata/ibm5347.h: Likewise.
19125 * iconvdata/ibm803.h: Likewise.
19126 * iconvdata/ibm856.h: Likewise.
19127 * iconvdata/ibm901.h: Likewise.
19128 * iconvdata/ibm902.h: Likewise.
19129 * iconvdata/ibm9030.h: Likewise.
19130 * iconvdata/ibm9066.h: Likewise.
19131 * iconvdata/ibm921.h: Likewise.
19132 * iconvdata/ibm922.h: Likewise.
19133 * iconvdata/ibm9448.h: Likewise.
19134 * iconvdata/isiri-3342.h: Likewise.
19135 * iconvdata/jis0201.h: Likewise.
19136 * include/link.h: Likewise.
19137 * include/netdb.h: Likewise.
19138 * inet/check_native.c: Likewise.
19139 * inet/check_pf.c: Likewise.
19140 * inet/getipv4sourcefilter.c: Likewise.
19141 * inet/getnameinfo.c: Likewise.
19142 * inet/getsourcefilter.c: Likewise.
19143 * inet/htonl.c: Likewise.
19144 * inet/setipv4sourcefilter.c: Likewise.
19145 * inet/setsourcefilter.c: Likewise.
19146 * inet/test-inet6_opt.c: Likewise.
19147 * inet/tst-network.c: Likewise.
19148 * locale/C-collate.c: Likewise.
19149 * locale/C-ctype.c: Likewise.
19150 * locale/C-time.c: Likewise.
19151 * locale/C-translit.h: Likewise.
19152 * locale/loadarchive.c: Likewise.
19153 * locale/programs/3level.h: Likewise.
19154 * locale/programs/charmap.c: Likewise.
19155 * locale/programs/charmap.h: Likewise.
19156 * locale/programs/ld-address.c: Likewise.
19157 * locale/programs/ld-collate.c: Likewise.
19158 * locale/programs/ld-ctype.c: Likewise.
19159 * locale/programs/ld-identification.c: Likewise.
19160 * locale/programs/ld-measurement.c: Likewise.
19161 * locale/programs/ld-messages.c: Likewise.
19162 * locale/programs/ld-monetary.c: Likewise.
19163 * locale/programs/ld-name.c: Likewise.
19164 * locale/programs/ld-numeric.c: Likewise.
19165 * locale/programs/ld-paper.c: Likewise.
19166 * locale/programs/ld-telephone.c: Likewise.
19167 * locale/programs/ld-time.c: Likewise.
19168 * locale/programs/linereader.c: Likewise.
19169 * locale/programs/locale.c: Likewise.
19170 * locale/programs/locarchive.c: Likewise.
19171 * locale/programs/locfile.h: Likewise.
19172 * locale/programs/repertoire.c: Likewise.
19173 * locale/programs/simple-hash.c: Likewise.
19174 * locale/programs/simple-hash.h: Likewise.
19175 * malloc/memusage.c: Likewise.
19176 * malloc/memusagestat.c: Likewise.
19177 * nis/nis_defaults.c: Likewise.
19178 * nis/nis_hash.c: Likewise.
19179 * nis/nis_print.c: Likewise.
19180 * nis/nis_xdr.c: Likewise.
19181 * nscd/connections.c: Likewise.
19182 * nscd/hstcache.c: Likewise.
19183 * nscd/nscd_gethst_r.c: Likewise.
19184 * nscd/nscd_getserv_r.c: Likewise.
19185 * nscd/nscd_helper.c: Likewise.
19186 * nscd/servicescache.c: Likewise.
19187 * nss/makedb.c: Likewise.
19188 * nss/nss_db/db-XXX.c: Likewise.
19189 * nss/nss_db/db-initgroups.c: Likewise.
19190 * nss/nss_db/db-netgrp.c: Likewise.
19191 * nss/nss_files/files-network.c: Likewise.
19192 * nss/nss_files/files-parse.c: Likewise.
19193 * posix/bug-regex5.c: Likewise.
19194 * posix/fnmatch_loop.c: Likewise.
19195 * posix/regcomp.c: Likewise.
19196 * posix/regexec.c: Likewise.
19197 * posix/tst-rfc3484-2.c: Likewise.
19198 * posix/tst-rfc3484-3.c: Likewise.
19199 * posix/tst-rfc3484.c: Likewise.
19200 * resolv/nss_dns/dns-canon.c: Likewise.
19201 * resolv/nss_dns/dns-network.c: Likewise.
19202 * resolv/res_init.c: Likewise.
19203 * resolv/res_mkquery.c: Likewise.
19204 * resolv/tst-aton.c: Likewise.
19205 * stdlib/cxa_atexit.c: Likewise.
19206 * stdlib/cxa_finalize.c: Likewise.
19207 * stdlib/gen-fpioconst.c: Likewise.
19208 * stdlib/strtol_l.c: Likewise.
19209 * string/tst-endian.c: Likewise.
19210 * sunrpc/auth_des.c: Likewise.
19211 * sunrpc/clnt_udp.c: Likewise.
19212 * sunrpc/rtime.c: Likewise.
19213 * sunrpc/svcauth_des.c: Likewise.
19214 * sunrpc/xdr.c: Likewise.
19215 * sunrpc/xdr_intXX_t.c: Likewise.
19216 * sunrpc/xdr_rec.c: Likewise.
19217 * sysdeps/generic/ldconfig.h: Likewise.
19218 * sysdeps/generic/ldsodefs.h: Likewise.
19219 * sysdeps/generic/memusage.h: Likewise.
19220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19230 * sysdeps/posix/getaddrinfo.c: Likewise.
19231 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19232 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19235 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19236 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19237 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19238 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19239 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19240 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19241 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19242 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19243 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19244 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19245 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19246 * sysdeps/x86_64/dl-tls.h: Likewise.
19247 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19248 * time/alt_digit.c: Likewise.
19249 * time/era.c: Likewise.
19250 * wcsmbs/tst-c16c32-1.c: Likewise.
19251
8c75f674
JM
192522013-05-16 Joseph Myers <joseph@codesourcery.com>
19253
19254 * math/libm-test.inc (struct test_sincos_data): New type.
19255 (RUN_TEST_LOOP_sincos): New macro.
19256 (sincos_test_data): New variable.
19257 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19258
e6e49e59
RH
192592013-05-16 Richard Henderson <rth@redhat.com>
19260
19261 * math/atest-exp2.c (LIMB64): New macro.
19262 (CONSTSZ): New macro.
19263 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19264 (hexdig): Move ...
19265 (print_mpn_fp): ... to function scope.
19266 (read_mpn_hex): Remove.
19267 (get_log2): Remove.
19268 (exp2_mpn): Use mp_log2.
19269 (main): Use mp_exp1.
19270
15c7c18d
JM
192712013-05-16 Joseph Myers <joseph@codesourcery.com>
19272
105a07df
JM
19273 * math/libm-test.inc: Remove comment about not testing "inexact"
19274 exceptions.
19275 (INEXACT_EXCEPTION): New macro.
19276 (NO_INEXACT_EXCEPTION): Likewise.
19277 (INVALID_EXCEPTION_OK): Update value.
19278 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19279 (OVERFLOW_EXCEPTION_OK): Likewise.
19280 (UNDERFLOW_EXCEPTION_OK): Likewise.
19281 (IGNORE_ZERO_INF_SIGN): Likewise.
19282 (ERRNO_UNCHANGED): Likewise.
19283 (ERRNO_EDOM): Likewise.
19284 (ERRNO_ERANGE): Likewise.
19285 (test_exceptions): Handle testing "inexact" exceptions.
19286 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19287 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19288 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19289 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19290 INEXACT_EXCEPTION.
19291 (rint_towardzero_test_data): Likewise.
19292 (rint_downward_test_data): Likewise.
19293 (rint_upward_test_data): Likewise.
19294
e9eee333
JM
19295 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19296 with OVERFLOW_EXCEPTION.
19297 (exp10_test_data): Likewise.
19298 (exp2_test_data): Likewise.
19299 (expm1_test_data): Likewise.
19300 (lgamma_test_data): Likewise.
19301 (pow_test_data): Likewise.
19302 (tgamma_test_data): Likewise.
19303 (yn_test_data): Remove duplicate test of overflow.
19304
1c38ff73
JM
19305 * math/libm-test.inc (struct test_cc_c_data): New type.
19306 (RUN_TEST_LOOP_cc_c): New macro.
19307 (cpow_test_data): New variable.
19308 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19309
15c7c18d
JM
19310 * math/libm-test.inc (struct test_f_L_data): New type.
19311 (RUN_TEST_LOOP_f_L): New macro.
19312 (llrint_test_data): New variable.
19313 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19314 (llrint_tonearest_test_data): New variable.
19315 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19316 (llrint_towardzero_test_data): New variable.
19317 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19318 (llrint_downward_test_data): New variable.
19319 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19320 (llrint_upward_test_data): New variable.
19321 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19322 (llround_test_data): New variable.
19323 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19324
f137ff13
PC
193252013-05-13 Peter Collingbourne <pcc@google.com>
19326
19327 * math/atest-exp2.c (get_log2): Remove const attribute.
19328
3608cb24
JM
193292013-05-15 Joseph Myers <joseph@codesourcery.com>
19330
19331 * math/libm-test.inc (struct test_f_l_data): New type.
19332 (RUN_TEST_LOOP_f_l): New macro.
19333 (lrint_test_data): New variable.
19334 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19335 (lrint_tonearest_test_data): New variable.
19336 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19337 (lrint_towardzero_test_data): New variable.
19338 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19339 (lrint_downward_test_data): New variable.
19340 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19341 (lrint_upward_test_data): New variable.
19342 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19343 (lround_test_data): New variable.
19344 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19345
39b1f617
PC
193462013-05-15 Peter Collingbourne <pcc@google.com>
19347
1deff3dc
PC
19348 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19349 (EXTRACT_WORDS64) Use where appropriate.
19350 (INSERT_WORDS64) Likewise.
19351
791f3ba0
PC
19352 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19353 constraints with x constraints.
19354 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19355
39b1f617
PC
19356 * malloc/obstack.c (_obstack_compat): Add initializer.
19357
12fba011
EM
193582013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19359
19360 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19361 si_trapno and add si_addr_lsb to _sifields.sigfault.
19362 (si_trapno): Remove macro.
19363 (si_addr_lsb): Define new macro.
19364 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19365
d369f531
JM
193662013-05-15 Joseph Myers <joseph@codesourcery.com>
19367
b861c6c4
JM
19368 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19369 instead of TEST_f_l.
19370 (llrint_test_tonearest): Likewise.
19371 (llrint_test_towardzero): Likewise.
19372 (llrint_test_downward): Likewise.
19373 (llrint_test_upward): Likewise.
19374 (llround_test): Likewise.
19375
7abeee12
JM
19376 * math/libm-test.inc (struct test_f_i_data): Add comment.
19377 (RUN_TEST_LOOP_f_b): New macro.
19378 (RUN_TEST_LOOP_f_b_tg): Likewise.
19379 (finite_test_data): New variable.
19380 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19381 (isfinite_test_data): New variable.
19382 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19383 (isinf_test_data): New variable.
19384 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19385 (isnan_test_data): New variable.
19386 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19387 (isnormal_test_data): New variable.
19388 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19389 (issignaling_test_data): New variable.
19390 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19391 (signbit_test_data): New variable.
19392 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19393
cbe8c4d3
JM
19394 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19395 with INVALID_EXCEPTION.
19396 (acosh_test_data): Likewise.
19397 (asin_test_data): Likewise.
19398 (atanh_test_data): Likewise.
19399 (fmod_test_data): Likewise.
19400 (log_test_data): Likewise.
19401 (log10_test_data): Likewise.
19402 (log2_test_data): Likewise.
19403 (pow_test_data): Likewise.
19404 (sqrt_test_data): Likewise.
19405 (y0_test_data): Likewise.
19406 (y1_test_data): Likewise.
19407 (yn_test_data): Likewise.
19408
5575c0e5
JM
19409 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19410 function contents.
19411
d369f531
JM
19412 * math/libm-test.inc (struct test_ff_i_data): New type.
19413 (RUN_TEST_LOOP_ff_i_tg): New macro.
19414 (isgreater_test_data): New variable.
19415 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19416 (isgreaterequal_test_data): New variable.
19417 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19418 (isless_test_data): New variable.
19419 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19420 (islessequal_test_data): New variable.
19421 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19422 (islessgreater_test_data): New variable.
19423 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19424 (isunordered_test_data): New variable.
19425 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19426
781fd748
DM
194272013-05-14 David S. Miller <davem@davemloft.net>
19428
19429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19430
87aa21df
JM
194312013-05-14 Joseph Myers <joseph@codesourcery.com>
19432
5e908270
JM
19433 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19434
f71172e5
JM
19435 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19436 extra_test to int.
19437 (struct test_f_i_data): Change type of max_ulp to int.
19438
8cfa635a
JM
19439 * math/libm-test.inc (test_ffI_f1_data): New type.
19440 (RUN_TEST_LOOP_ffI_f1): New macro.
19441 (remquo_test_data): New variable.
19442 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19443
2bcb36b2
JM
19444 * setjmp/tst-setjmp-fp.c: New file.
19445 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19446 (link-libm): New variable.
19447 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19448
acbd839a
JM
19449 * math/libm-test.inc (struct test_f_i_data): New type.
19450 (RUN_TEST_LOOP_f_i): New macro.
19451 (RUN_TEST_LOOP_f_i_tg): Likewise.
19452 (fpclassify_test_data): New variable.
19453 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19454 (ilogb_test_data): New variable.
19455 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19456
e414d745
JM
19457 * math/libm-test.inc (scalbln_test): Correct function name in END
19458 call.
19459
d9c2a0fd
JM
19460 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19461 (RUN_TEST_LOOP_fI_f1): New macro.
19462 (frexp_test_data): New variable.
19463 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19464
9dc9095d
JM
19465 * math/libm-test.inc (struct test_fF_f1_data): New type.
19466 (RUN_TEST_LOOP_fF_f1): New macro.
19467 (modf_test_data): New variable.
19468 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19469
87aa21df
JM
19470 * math/libm-test.inc (struct test_f_f1_data): New type.
19471 (RUN_TEST_LOOP_f_f1): New macro.
19472 (gamma_test_data): New variable.
19473 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19474 (lgamma_test_data): New variable.
19475 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19476
141af660
CD
194772013-05-13 Carlos O'Donell <carlos@redhat.com>
19478
19479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19480 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19481 (main): Comment "tls" pseudo-hwcap.
19482
6d33265c
JM
194832013-05-13 Joseph Myers <joseph@codesourcery.com>
19484
68fc074c
JM
19485 * math/libm-test.inc (struct test_fl_f_data): New type.
19486 (RUN_TEST_LOOP_fl_f): New variable.
19487 (scalbln_test_data): New variable.
19488 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19489
243216e1
JM
19490 * math/libm-test.inc (struct test_fi_f_data): New type.
19491 (RUN_TEST_LOOP_fi_f): New macro.
19492 (ldexp_test_data): New variable.
19493 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19494 (scalbn_test_data): New variable.
19495 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19496
6a1992e2
JM
19497 * math/libm-test.inc (struct test_c_f_data): New type.
19498 (RUN_TEST_LOOP_c_f): New macro.
19499 (cabs_test_data): New variable.
19500 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19501 (carg_test_data): New variable.
19502 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19503 (cimag_test_data): New variable.
19504 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19505 (creal_test_data): New variable.
19506 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19507
0e400df5
JM
19508 * math/libm-test.inc (struct test_if_f_data): New type.
19509 (RUN_TEST_LOOP_if_f): New macro.
19510 (jn_test_data): New variable.
19511 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19512 (yn_test_data): New variable.
19513 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19514
6d33265c
JM
19515 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19516
f98ece5f
AZ
195172013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19518
19519 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19520 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19521
0f7d347b
SP
195222013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19523
43fe811b
SP
19524 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19525 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19526 (bench-deps): Add bench-timing.h.
19527 * benchtests-bench-skeleton.c: Include bench-timing.h.
19528 (main): Use TIMING_* macros instead of clock_gettime.
19529 * benchtests/bench-timing.h: New file.
19530
0f7d347b
SP
19531 [BZ #14582]
19532 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19533 Renamed from _LIB_VERSION.
19534 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19535
601a3a5f
JM
195362013-05-12 Joseph Myers <joseph@codesourcery.com>
19537
4f184d30
JM
19538 * math/libm-test.inc (struct test_fff_f_data): New type.
19539 (RUN_TEST_LOOP_fff_f): New macro.
19540 (fma_test_data): New variable.
19541 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19542 (fma_towardzero_test_data): New variable.
19543 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19544 (fma_downward_test_data): New variable.
19545 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19546 (fma_upward_test_data): New variable.
19547 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19548
08198877
JM
19549 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19550 (struct test_c_c_data): New type.
19551 (RUN_TEST_LOOP_c_c): New macro.
19552 (cacos_test_data): New variable.
19553 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19554 (cacosh_test_data): New variable.
19555 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19556 (casin_test_data): New variable.
19557 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19558 (casinh_test_data): New variable.
19559 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19560 (catan_test_data): New variable.
19561 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19562 (catanh_test_data): New variable.
19563 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19564 (ccos_test_data): New variable.
19565 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19566 (ccosh_test_data): New variable.
19567 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19568 (cexp_test_data): New variable.
19569 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19570 (clog_test_data): New variable.
19571 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19572 (clog10_test_data): New variable.
19573 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19574 (conj_test_data): New variable.
19575 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19576 (cproj_test_data): New variable.
19577 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19578 (csin_test_data): New variable.
19579 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19580 (csinh_test_data): New variable.
19581 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19582 (csqrt_test_data): New variable.
19583 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19584 (ctan_test_data): New variable.
19585 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19586 (ctan_tonearest_test_data): New variable.
19587 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19588 (ctan_towardzero_test_data): New variable.
19589 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19590 (ctan_downward_test_data): New variable.
19591 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19592 (ctan_upward_test_data): New variable.
19593 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19594 (ctanh_test_data): New variable.
19595 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19596 (ctanh_tonearest_test_data): New variable.
19597 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19598 (ctanh_towardzero_test_data): New variable.
19599 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19600 (ctanh_downward_test_data): New variable.
19601 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19602 (ctanh_upward_test_data): New variable.
19603 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19604 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19605 of BUILD_COMPLEX.
19606
601a3a5f
JM
19607 * math/libm-test.inc (struct test_ff_f_data): New type.
19608 (struct test_ff_f_data_nexttoward): Likewise.
19609 (RUN_TEST_LOOP_2_f): New macro.
19610 (RUN_TEST_LOOP_ff_f): Likewise.
19611 (atan2_test_data): New variable.
19612 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19613 (copysign_test_data): New variable.
19614 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19615 (fdim_test_data): New variable.
19616 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19617 (fmax_test_data): New variable.
19618 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19619 (fmin_test_data): New variable.
19620 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19621 (fmod_test_data): New variable.
19622 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19623 (hypot_test_data): New variable.
19624 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19625 (nextafter_test_data): New variable.
19626 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19627 (nexttoward_test_data): New variable.
19628 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19629 (pow_test_data): New variable.
19630 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19631 (pow_tonearest_test_data): New variable.
19632 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19633 (pow_towardzero_test_data): New variable.
19634 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19635 (pow_downward_test_data): New variable.
19636 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19637 (pow_upward_test_data): New variable.
19638 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19639 (remainder_test_data): New variable.
19640 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19641 (scalb_test_data): New variable.
19642 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19643 * sysdeps/i386/fpu/libm-test-ulps: Update.
19644
74c57478
JM
196452013-05-11 Joseph Myers <joseph@codesourcery.com>
19646
8329e4da
JM
19647 * math/libm-test.inc (fma_test): Use max_value instead of local
19648 variable fltmax.
19649 (nextafter_test): Likewise.
19650
74c57478
JM
19651 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19652 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19653 (acos_downward_test_data): New variable.
19654 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19655 (acos_upward_test_data): New variable.
19656 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19657 (acosh_test_data): New variable.
19658 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19659 (asin_test_data): New variable.
19660 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19661 (asin_tonearest_test_data): New variable.
19662 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19663 (asin_towardzero_test_data): New variable.
19664 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19665 (asin_downward_test_data): New variable.
19666 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19667 (asin_upward_test_data): New variable.
19668 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19669 (asinh_test_data): New variable.
19670 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19671 (atan_test_data): New variable.
19672 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19673 (atanh_test_data): New variable.
19674 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19675 (cbrt_test_data): New variable.
19676 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19677 (ceil_test_data): New variable.
19678 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19679 (cos_test_data): New variable.
19680 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19681 (cos_tonearest_test_data): New variable.
19682 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19683 (cos_towardzero_test_data): New variable.
19684 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19685 (cos_downward_test_data): New variable.
19686 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19687 (cos_upward_test_data): New variable.
19688 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19689 (cosh_test_data): New variable.
19690 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19691 (cosh_tonearest_test_data): New variable.
19692 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19693 (cosh_towardzero_test_data): New variable.
19694 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19695 (cosh_downward_test_data): New variable.
19696 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19697 (cosh_upward_test_data): New variable.
19698 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19699 (erf_test_data): New variable.
19700 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19701 (erfc_test_data): New variable.
19702 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19703 (exp_test_data): New variable.
19704 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19705 (exp_tonearest_test_data): New variable.
19706 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19707 (exp_towardzero_test_data): New variable.
19708 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19709 (exp_downward_test_data): New variable.
19710 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19711 (exp_upward_test_data): New variable.
19712 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19713 (exp10_test_data): New variable.
19714 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19715 (exp2_test_data): New variable.
19716 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19717 (expm1_test_data): New variable.
19718 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19719 (fabs_test_data): New variable.
19720 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19721 (floor_test_data): New variable.
19722 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (j0_test_data): New variable.
19724 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19725 (j1_test_data): New variable.
19726 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19727 (log_test_data): New variable.
19728 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19729 (log10_test_data): New variable.
19730 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19731 (log1p_test_data): New variable.
19732 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19733 (log2_test_data): New variable.
19734 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19735 (logb_test_data): New variable.
19736 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19737 (logb_downward_test_data): New variable.
19738 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19739 (nearbyint_test_data): New variable.
19740 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19741 (rint_test_data): New variable.
19742 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19743 (rint_tonearest_test_data): New variable.
19744 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19745 (rint_towardzero_test_data): New variable.
19746 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19747 (rint_downward_test_data): New variable.
19748 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19749 (rint_upward_test_data): New variable.
19750 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19751 (round_test_data): New variable.
19752 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19753 (sin_test_data): New variable.
19754 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19755 (sin_tonearest_test_data): New variable.
19756 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19757 (sin_towardzero_test_data): New variable.
19758 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19759 (sin_downward_test_data): New variable.
19760 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19761 (sin_upward_test_data): New variable.
19762 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19763 (sinh_test_data): New variable.
19764 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19765 (sinh_tonearest_test_data): New variable.
19766 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19767 (sinh_towardzero_test_data): New variable.
19768 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19769 (sinh_downward_test_data): New variable.
19770 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19771 (sinh_upward_test_data): New variable.
19772 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19773 (sqrt_test_data): New variable.
19774 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19775 (tan_test_data): New variable.
19776 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19777 (tan_tonearest_test_data): New variable.
19778 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19779 (tan_towardzero_test_data): New variable.
19780 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19781 (tan_downward_test_data): New variable.
19782 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19783 (tan_upward_test_data): New variable.
19784 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19785 (tanh_test_data): New variable.
19786 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19787 (tgamma_test_data): New variable.
19788 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19789 (trunc_test_data): New variable.
19790 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19791 (y0_test_data): New variable.
19792 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19793 (y1_test_data): New variable.
19794 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19795 (significand_test_data): New variable.
19796 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19797
7187d844
CG
197982013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19799
19800 [BZ #12387]
19801 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19802
f63fae73
PT
198032013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19804
19805 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19806
8a67a4b3
AJ
198072013-05-10 Andreas Jaeger <aj@suse.de>
19808
19809 [BZ #15448]
19810 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19811 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19812
51df539d
JM
198132013-05-10 Joseph Myers <joseph@codesourcery.com>
19814
19815 * math/gen-libm-test.pl (adjust_arg): New function.
19816 (special_functions): Handle generating output in both functions
19817 and arrays.
19818 (parse_args): Likewise.
19819 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19820 $in_func argument to parse_args.
19821 * math/libm-test.inc (struct test_f_f_data): New type.
19822 (IF_ROUND_INIT_): New macro.
19823 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19824 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19825 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19826 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19827 (ROUND_RESTORE_): Likewise.
19828 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19829 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19830 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19831 (ROUND_RESTORE_FE_UPWARD): Likewise.
19832 (RUN_TEST_LOOP_f_f): New macro.
19833 (acos_test_data): New variable.
19834 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19835 (acos_tonearest_test_data): New variable.
19836 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19837
5c637fe5
SP
198382013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19839
19840 * benchtests/bench-skeleton.c (startup): Fix coding style.
19841
ab2b9461
JM
198422013-05-10 Joseph Myers <joseph@codesourcery.com>
19843
19844 [BZ #6809]
19845 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19846 negative infinity argument.
19847 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19848 negative infinity argument.
19849 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19850 negative infinity argument.
19851 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19852 domain errors.
19853
4c0fe6fe
FW
198542013-05-10 Florian Weimer <fweimer@redhat.com>
19855
19856 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19857 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19858 * iconv/iconv_prog.c (main): Likewise.
19859 * locale/programs/charmap-dir.c (charmap_readdir)
19860 (fopen_uncompressed): Likewise.
19861 * locale/programs/locfile.c (siblings_uncached)
19862 (write_locale_data): Use lstat64 instead of lstat.
19863 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19864 stat.
19865
a3375d29
AJ
198662013-05-10 Andreas Jaeger <aj@suse.de>
19867
19868 [BZ #15395]
19869 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19870 localization.
19871 Include <locale.h>.
19872
36129722
CD
198732013-05-09 Carlos O'Donell <carlos@redhat.com>
19874
19875 * elf/dl-close.c (_dl_close_worker): Add comments.
19876
faa7f811
JM
198772013-05-09 Joseph Myers <joseph@codesourcery.com>
19878
ed41ffef
JM
19879 [BZ #15359]
19880 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19881 high part of pi/2.
19882 (__ieee754_rem_pio2l): Update comments.
19883
d0213cd0
JM
19884 [BZ #15429]
19885 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19886 high part of pi/2.
19887 (__ieee754_rem_pio2l): Update comments.
19888
0d3e777a
JM
19889 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19890 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19891
24f56066
JM
19892 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19893 M_PI_4l.
19894
faa7f811
JM
19895 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19896 (M_PI_34_LOG10El): Likewise.
19897 (M_PI2_LOG10El): Likewise.
19898 (M_PI4_LOG10El): Likewise.
19899 (M_PI_LOG10El): Likewise.
19900
e9a5e0fd
AZ
199012013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19902
19903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19904
d8cd06db
JM
199052013-05-08 Joseph Myers <joseph@codesourcery.com>
19906
a0d9f9d7
JM
19907 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19908 (MINUS_ZERO_INIT): Likewise.
19909 (PLUS_INFTY_INIT): Likewise.
19910 (MINUS_INFTY_INIT): Likewise.
19911 (QNAN_VALUE_INIT): Likewise.
19912 (MAX_VALUE_INIT): Likewise.
19913 (MIN_VALUE_INIT): Likewise.
19914 (MIN_SUBNORM_VALUE_INIT): Likewise.
19915 (plus_zero): Initialize with PLUS_ZERO_INIT.
19916 (minus_zero): Initialize with MINUS_ZERO_INIT.
19917 (plus_infty): Initialize with PLUS_INFTY_INIT.
19918 (minus_infty): Initialize with MINUS_INFTY_INIT.
19919 (qnan_value): Initialize with QNAN_VALUE_INIT.
19920 (max_value): Initialize with MAX_VALUE_INIT.
19921 (min_value): Initialize with MIN_VALUE_INIT.
19922 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19923
ae08db3b
JM
19924 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19925 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19926 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19927 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19928
f44bf14a
JM
19929 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19930 (RUN_TEST_2_f): Likewise.
19931 (RUN_TEST_ff_f): Likewise.
19932 (RUN_TEST_fi_f): Likewise.
19933 (RUN_TEST_fl_f): Likewise.
19934 (RUN_TEST_fff_f): Likewise.
19935 (RUN_TEST_c_f): Likewise.
19936 (RUN_TEST_f_f1): Likewise.
19937 (RUN_TEST_fF_f1): Likewise.
19938 (RUN_TEST_fI_f1): Likewise.
19939 (RUN_TEST_ffI_f1): Likewise.
19940 (RUN_TEST_c_c): Likewise.
19941 (RUN_TEST_cc_c): Likewise.
19942 (RUN_TEST_f_i): Likewise.
19943 (RUN_TEST_f_i_tg): Likewise.
19944 (RUN_TEST_ff_i_tg): Likewise.
19945 (RUN_TEST_f_b): Likewise.
19946 (RUN_TEST_f_b_tg): Likewise.
19947 (RUN_TEST_f_l): Likewise.
19948 (RUN_TEST_f_L): Likewise.
19949 (RUN_TEST_sincos): Likewise.
19950 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19951 whether to show exceptions. Do not include ");\n" in return
19952 value.
19953 (special_functions): Output call to RUN_TEST_sincos instead of
19954 check_float calls. Update calls to new_test.
19955 (parse_args): Output call to single RUN_TEST_* macro instead of
19956 check_* calls and other assignments. Update calls to new_test.
19957
d8cd06db
JM
19958 [BZ #2546]
19959 [BZ #2560]
19960 [BZ #5159]
19961 [BZ #15426]
19962 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19963 input to result for tgamma overflow.
19964 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19965 (gamma_coeff): New variable.
19966 (NCOEFF): New macro.
19967 (gamma_positive): New function.
19968 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19969 underflow here. Use gamma_positive instead of exp (lgamma) for
19970 other arguments.
19971 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19972 (gamma_coeff): New variable.
19973 (NCOEFF): New macro.
19974 (gammaf_positive): New function.
19975 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19976 underflow here. Use gamma_positive instead of exp (lgamma) for
19977 other arguments.
19978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19979 (gamma_coeff): New variable.
19980 (NCOEFF): New macro.
19981 (gammal_positive): New function.
19982 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19983 underflow here. Use gamma_positive instead of exp (lgamma) for
19984 other arguments.
19985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19986 (gamma_coeff): New variable.
19987 (NCOEFF): New macro.
19988 (gammal_positive): New function.
19989 (__ieee754_gammal_r): Handle positive infinity, overflow and
19990 underflow here. Handle NaN the same as positive infinity. Remove
19991 check x < 0xffffffff for negative integers. Use gamma_positive
19992 instead of exp (lgamma) for other arguments.
19993 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19994 (gamma_coeff): New variable.
19995 (NCOEFF): New macro.
19996 (gammal_positive): New function.
19997 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19998 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20002 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20003 * sysdeps/generic/math_private.h (__gamma_productf): New
20004 prototype.
20005 (__gamma_product): Likewise.
20006 (__gamma_productl): Likewise.
20007 * math/Makefile (libm-calls): Add gamma_product.
20008 * math/libm-test.inc (tgamma_test): Add more tests.
20009 * sysdeps/i386/fpu/libm-test-ulps: Update.
20010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20011
bb7cf681
OB
200122013-05-08 Ondřej Bílka <neleai@seznam.cz>
20013
20014 * benchtests/bench-skeleton.c (main): Preheat CPU.
20015
ba853947
AJ
200162013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20017
20018 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20019
8347c74c
RM
200202013-05-07 Roland McGrath <roland@hack.frob.com>
20021
20022 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20023 and _dl_skip_args_internal.
20024
e8dd4791
CD
200252013-05-07 Carlos O'Donell <carlos@redhat.com>
20026
20027 * manual/message.texi (Message Translation): Talk about users.
20028 Message to key mapping impacts design.
20029
c7405830
RM
200302013-05-06 Roland McGrath <roland@hack.frob.com>
20031
a9173057
RM
20032 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20033
976e2f03
RM
20034 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20035
9723ffc5
RM
20036 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20037 * sysdeps/wordsize-64/glob64.c: ... here.
20038
962e6658
RM
20039 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20040 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20041 New macros.
20042
ee586a6d
RM
20043 * debug/getlogin_r_chk.c: Moved to ...
20044 * login/getlogin_r_chk.c: ... here.
20045 * debug/Makefile (routines): Move getlogin_r_chk to ...
20046 * login/Makefile (routines): ... here.
20047 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20048 * login/Versions (libc: GLIBC_2.4): ... here.
20049
355f9165
RM
20050 * io/poll.c (__poll): Renamed from poll.
20051 Add libc_hidden_def.
20052 (poll): Define as weak alias.
20053
bd9ffde6
RM
20054 * debug/ptsname_r_chk.c: Moved to ...
20055 * login/ptsname_r_chk.c: ... here.
20056 * debug/Makefile (routines): Move ptsname_r_chk to ...
20057 * login/Makefile (routines): ... here.
20058 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20059 * login/Versions (libc: GLIBC_2.4): ... here.
20060
8fb16a04
RM
20061 * posix/getlogin.c: Moved to ...
20062 * login/getlogin.c: ... here.
20063 * posix/getlogin_r.c: Moved to ...
20064 * login/getlogin_r.c: ... here.
20065 * posix/getlogin_r.c: Moved to ...
20066 * login/getlogin_r.c: ... here.
20067 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20068 * login/Makefile (routines): ... here.
20069 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20070 * login/Versions (libc: GLIBC_2.0): ... here.
20071
b99b892f
RM
20072 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20073 (setrlimit): Define as weak alias.
20074
c7405830
RM
20075 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20076 Call __ names for open, ftruncate, and close.
20077 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20078 (truncate): Define as weak alias.
20079
5bf96de5
JM
200802013-05-06 Joseph Myers <joseph@codesourcery.com>
20081
9ea3513c
JM
20082 * math/gen-libm-test.pl (parse_args): Initialize x before each
20083 test of frexp, modf and remquo.
20084
5bf96de5
JM
20085 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20086 test signgam value.
20087
16e616a7
AZ
200882013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20089
20090 [BZ #15418]
20091 [BZ #15419]
20092 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20093 internal tests.
20094 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20095
d5e82754
RM
200962013-05-06 Roland McGrath <roland@hack.frob.com>
20097
20098 * elf/dl-writev.h: New file.
20099 * elf/dl-misc.c: Include it.
20100 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20101 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20102
a7548d41
JM
201032013-05-04 Joseph Myers <joseph@codesourcery.com>
20104
b7dab1e4
JM
20105 * math/libm-test.inc (noXFails): Remove variable.
20106 (noXPasses): Likewise.
20107 (BUILD_COMPLEX_INT): Remove macro.
20108 (print_screen): Remove xfail argument.
20109 (print_screen_max_error): Likewise.
20110 (update_stats): Likewise.
20111 (print_max_error): Likewise. Update calls to other affected
20112 functions.
20113 (print_complex_max_error): Likewise.
20114 (test_single_exception): Update calls to print_screen.
20115 (test_single_errno): Likewise.
20116 (check_float_internal): Remove xfail argument. Update calls to
20117 other affected functions.
20118 (check_float): Likewise.
20119 (check_complex): Likewise.
20120 (check_int): Likewise.
20121 (check_long): Likewise.
20122 (check_bool): Likewise.
20123 (check_longlong): Likewise.
20124 (main): Don't print noXFails and noXPasses.
20125 * math/gen-libm-test.pl (top level): Don't mention expected
20126 failure handling in comment.
20127 (new_test): Don't handle expected failures.
20128 (parse_args): Don't mention expected failure handling in comment.
20129 (generate_testfile): Don't handle expected failures.
20130 (parse_ulps): Likewise.
20131 (print_ulps_file): Likewise.
20132 (get_failure): Remove function.
20133 (output_test): Don't handle expected failures.
20134 * make/README.libm-test: Don't mention expected failure handling.
20135
a7548d41
JM
20136 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20137 (minus_zero): Likewise.
20138 (plus_infty): Likewise.
20139 (minus_infty): Likewise.
20140 (qnan_value): Likewise.
20141 (max_value): Likewise.
20142 (min_value): Likewise.
20143 (min_subnorm_value): Likewise.
20144 (initialize): Do not initialize those variables dynamically.
20145
60bfd54c
RM
201462013-05-03 Roland McGrath <roland@hack.frob.com>
20147
cc0e6ed8
RM
20148 * io/open.c (__open_2): Moved to ...
20149 * io/open_2.c: ... this new file.
20150 * io/open64.c (__open64_2): Moved to ...
20151 * io/open64_2.c: ... this new file.
20152 * io/openat.c (__openat_2): Moved to ...
20153 * io/openat_2.c: ... this new file.
20154 * io/openat64.c (__openat64_2): Moved to ...
20155 * io/openat64_2.c: ... this new file.
20156 * io/Makefile (routines): Add them.
20157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20158 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20159 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20160 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20161 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20162 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20163 (__openat64): Add hidden_ver.
20164 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20165 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20166
60bfd54c
RM
20167 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20168 Separately conditionalize setting of GLRO(dl_sysinfo) so
20169 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20170 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20171
83e7640f
AZ
201722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20173
20174 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20176 definition.
20177 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20178 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20179 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20180 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20181 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20182
d5dc2af3
JM
201832013-05-03 Joseph Myers <joseph@codesourcery.com>
20184
c31a5b1e
JM
20185 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20186 test signgam value.
20187
d5dc2af3
JM
20188 * math/libm-test.inc (hypot_test): Do not use
20189 IGNORE_ZERO_INF_SIGN.
20190
164fd39d
AJ
201912013-05-03 Andreas Jaeger <aj@suse.de>
20192
20193 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20194 Linux 3.9.
20195 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20196 (PF_MAX): Adjust for VSOCK change.
20197
8237f48c
AZ
201982013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20199
20200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20201
9df02941
CD
202022013-05-02 Carlos O'Donell <carlos@redhat.com>
20203
20204 [BZ #15264]
20205 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20206 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20207 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20208
d422395e
DM
202092013-05-02 David S. Miller <davem@davemloft.net>
20210
20211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20212
a07c5731
OB
202132013-05-01 Ondřej Bílka <neleai@seznam.cz>
20214
20215 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20216
1324e37f
RM
202172013-05-01 Roland McGrath <roland@hack.frob.com>
20218
20219 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20220
0695940b
RS
202212013-05-01 Richard Smith <richard@metafoo.co.uk>
20222
bb5f27ad 20223 [BZ #14952]
0695940b
RS
20224 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20225 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20226 Use __attribute__ ((__gnu_inline__)).
20227 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20228 Don't use __attribute__ ((__gnu_inline__)).
20229
10de07f5
JM
202302013-05-01 Joseph Myers <joseph@codesourcery.com>
20231
20232 [BZ #15423]
20233 * math/s_catan.c (__catan): Handle small real or imaginary part of
20234 input specially to avoid spurious underflow.
20235 * math/s_catanf.c (__catanf): Likewise.
20236 * math/s_catanh.c (__catanh): Likewise.
20237 * math/s_catanhf.c (__catanhf): Likewise.
20238 * math/s_catanhl.c (__catanhl): Likewise.
20239 * math/s_catanl.c (__catanl): Likewise.
20240 * math/libm-test.inc (catan_test): Add more tests.
20241 (catanh_test): Likewise.
20242 * sysdeps/i386/fpu/libm-test-ulps: Update.
20243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20244
cb4d5414
AZ
202452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20246
20247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20248
caf84319
JM
202492013-04-30 Joseph Myers <joseph@codesourcery.com>
20250
20251 [BZ #15416]
20252 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20253 accurately for denominator in atan2.
20254 * math/s_catanf.c (__catanf): Likewise.
20255 * math/s_catanh.c (__catanh): Likewise.
20256 * math/s_catanhf.c (__catanhf): Likewise.
20257 * math/s_catanhl.c (__catanhl): Likewise.
20258 * math/s_catanl.c (__catanl): Likewise.
20259 * math/libm-test.inc (catan_test): Add more tests.
20260 (catanh_test): Likewise.
20261 * sysdeps/i386/fpu/libm-test-ulps: Update.
20262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20263
d569c6ee
SP
202642013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20265
6dbe713d
SP
20266 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20267
f0ee064b
SP
20268 * benchtests/Makefile (bench): Remove slow benchmarks.
20269 * benchtests/atan-inputs: Add slow benchmark inputs.
20270 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20271 (BENCH_FUNC): Accept variant offset.
20272 (VARIANT): Define.
20273 * benchtests/bench-skeleton.c (main): Run benchmark for each
20274 variant.
20275 * benchtests/cos-inputs: Add slow benchmark inputs.
20276 * benchtests/exp-inputs: Likewise.
20277 * benchtests/pow-inputs: Likewise.
20278 * benchtests/sin-inputs: Likewise.
20279 * benchtests/slowatan-inputs: Remove.
20280 * benchtests/slowatan.c: Remove.
20281 * benchtests/slowcos-inputs: Remove.
20282 * benchtests/slowcos.c: Remove.
20283 * benchtests/slowexp-inputs: Remove.
20284 * benchtests/slowexp.c: Remove.
20285 * benchtests/slowpow-inputs: Remove.
20286 * benchtests/slowpow.c: Remove.
20287 * benchtests/slowsin-inputs: Remove.
20288 * benchtests/slowsin.c: Remove.
20289 * benchtests/slowtan-inputs: Remove.
20290 * benchtests/slowtan.c: Remove.
20291 * benchtests/tan-inputs: Add slow benchmark inputs.
20292 * scripts/bench.pl: Parse comments and directives.
20293
d569c6ee
SP
20294 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20295 in CPPFLAGS.
20296 ($(objpfx)bench-%.c): Remove *-ITER.
20297 * benchtests/bench-modf.c: Remove definition of ITER.
20298 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20299 (main): Loop for DURATION seconds instead of fixed number of
20300 iterations.
20301 * scripts/bench.pl: Don't expect iterations in parameters.
20302
a6a242fe
RM
203032013-04-29 Roland McGrath <roland@hack.frob.com>
20304
20305 * io/fchdir.c (__fchdir): Renamed from fchdir.
20306 (fchdir): Define as weak alias.
20307
f2da7793
JM
203082013-04-29 Joseph Myers <joseph@codesourcery.com>
20309
20310 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20311 (ERRNO_EDOM): Likewise.
20312 (ERRNO_ERANGE): Likewise.
20313 (noErrnoTests): New variable.
20314 (init_max_error): Set errno to 0.
20315 (test_single_errno): New function.
20316 (test_errno): Likewise.
20317 (check_float_internal): Call test_errno. Set errno to 0.
20318 (check_complex): Refer to errno tests in comment.
20319 (check_int): Call test_errno. Set errno to 0.
20320 (check_long): Likewise.
20321 (check_bool): Likewise.
20322 (check_longlong): Likewise.
20323 (cos_test): Use ERRNO_* flags for errno tests instead of
20324 check_int.
20325 (expm1_test): Likewise.
20326 (fmod_test): Likewise.
20327 (ilogb_test): Likewise.
20328 (lgamma_test): Likewise.
20329 (pow_test): Likewise.
20330 (remainder_test): Likewise.
20331 (sin_test): Likewise.
20332 (tan_test): Likewise.
20333 (yn_test): Likewise.
20334 (initialize): Set errno to 0.
20335 (main): Print number of errno tests.
20336 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20337
b1a36ceb
AJ
203382013-04-29 Andreas Jaeger <aj@suse.de>
20339
c3ed8088
AJ
20340 [BZ #15084]
20341 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20342 and RES_USEVC.
20343
f1a24198
AJ
20344 [BZ #15085]
20345 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20346 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20347 unimplemented.
20348
9ce3b2cb
AJ
20349 [BZ #15380]
20350 * stdlib/random.c (__initstate): Return NULL if
20351 __initstate fails.
20352
f1a24198 20353 [BZ #15086]
b1a36ceb
AJ
20354 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20355 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20356 RES_SNGLKUPREOP.
20357
7e7b6f36
AZ
203582013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20359
20360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20361
4d14f449
JM
203622013-04-29 Joseph Myers <joseph@codesourcery.com>
20363
20364 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20365 of individual tests.
20366 (casin_test): Likewise.
20367 (casinh_test): Likewise.
20368
5b4217d7
JM
203692013-04-27 Joseph Myers <joseph@codesourcery.com>
20370
20371 [BZ #15409]
20372 * math/s_catan.c (__catan): Handle arguments with large real or
20373 imaginary part separately without squaring.
20374 * math/s_catanf.c (__catanf): Likewise.
20375 * math/s_catanh.c (__catanh): Likewise.
20376 * math/s_catanhf.c (__catanhf): Likewise.
20377 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20378 and redefine.
20379 (__catanhl): Handle arguments with large real or imaginary part
20380 separately without squaring.
20381 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20382 and redefine.
20383 (__catanl): Handle arguments with large real or imaginary part
20384 separately without squaring.
20385 * math/libm-test.inc (catan_test): Add more tests.
20386 (catanh_test): Likewise.
20387 * sysdeps/i386/fpu/libm-test-ulps: Update.
20388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20389
4220c3ef
AJ
203902013-04-27 Andreas Jaeger <aj@suse.de>
20391
20392 [BZ #15007]
20393 * stdlib/stdlib.h: Update guards for qecvt.
20394 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20395 <stdlib.h>.
20396
4721b2d1
AM
203972013-04-27 Allan McRae <allan@archlinux.org>
20398
20399 * sysdeps/i386/fpu/libm-test-ulps: Update.
20400
f0302940
JM
204012013-04-26 Joseph Myers <joseph@codesourcery.com>
20402
9457fd95
JM
20403 [BZ #15406]
20404 * math/s_catan.c: Include <float.h>.
20405 (__catan): Ensure underflow exception occurs for underflowed
20406 result.
20407 * math/s_catanf.c: Include <float.h>.
20408 (__catanf): Ensure underflow exception occurs for underflowed
20409 result.
20410 * math/s_catanh.c: Include <float.h>.
20411 (__catanh): Ensure underflow exception occurs for underflowed
20412 result.
20413 * math/s_catanhf.c: Include <float.h>.
20414 (__catanhf): Ensure underflow exception occurs for underflowed
20415 result.
20416 * math/s_catanhl.c: Include <float.h>.
20417 (__catanhl): Ensure underflow exception occurs for underflowed
20418 result.
20419 * math/s_catanl.c: Include <float.h>.
20420 (__catanl): Ensure underflow exception occurs for underflowed
20421 result.
20422 * math/libm-test.inc (catan_test): Add more tests.
20423 (catanh_test): Likewise.
20424
f0302940
JM
20425 [BZ #15405]
20426 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20427 underflowed result.
20428 * math/s_ccoshf.c (__ccoshf): Likewise.
20429 * math/s_ccoshl.c (__ccoshl): Likewise.
20430 * math/s_csin.c (__csin): Likewise.
20431 * math/s_csinf.c (__csinf): Likewise.
20432 * math/s_csinh.c (__csinh): Likewise.
20433 * math/s_csinhf.c (__csinhf): Likewise.
20434 * math/s_csinhl.c (__csinhl): Likewise.
20435 * math/s_csinl.c (__csinl): Likewise.
20436 * math/libm-test.inc (ccos_test): Add more tests.
20437 (ccosh_test): Likewise.
20438 (csin_test): Likewise.
20439 (csinh_test): Likewise.
20440
aa630f59
AZ
204412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20442
20443 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20444 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20445 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20446 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20447 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20448 powerpc/power5+/fpu folders.
20449 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20450
20451
1b835983
MT
204522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20453
20454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20455
73709b26
JM
204562013-04-25 Joseph Myers <joseph@codesourcery.com>
20457
20458 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20459 additions to variable.
20460 [$(config-machine) = x86_64] (modules-names): Likewise.
20461 ($(objpfx)tst-audit3): Remove dependency.
20462 ($(objpfx)tst-audit3.out): Likewise.
20463 ($(objpfx)tst-audit4): Likewise.
20464 ($(objpfx)tst-audit4.out): Likewise.
20465 ($(objpfx)tst-audit5): Likewise.
20466 ($(objpfx)tst-audit5.out): Likewise.
20467 ($(objpfx)tst-audit6): Likewise.
20468 ($(objpfx)tst-audit6.out): Likewise.
20469 ($(objpfx)tst-audit7): Likewise.
20470 ($(objpfx)tst-audit7.out): Likewise.
20471 (tst-audit3-ENV): Remove variable.
20472 (tst-audit4-ENV): Likewise.
20473 (tst-audit5-ENV): Likewise.
20474 (tst-audit6-ENV): Likewise.
20475 (tst-audit7-ENV): Likewise.
20476 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20477 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20478 addition to variable.
20479 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20480 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20481 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20482 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20483 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20484 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20485 tst-audit3, tst-audit4 and tst-audit5.
20486 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20487 tst-audit6 and tst-audit7.
20488 [$(subdir) = elf] (modules-names): Add audit modules for those
20489 tests.
20490 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20491 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20492 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20493 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20494 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20495 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20496 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20497 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20498 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20499 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20500 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20501 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20502 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20503 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20504 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20505 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20506 Likewise.
20507 [$(subdir) = elf && $(config-cflags-avx) = yes]
20508 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20509 [$(subdir) = elf && $(config-cflags-avx) = yes]
20510 (CFLAGS-tst-auditmod4a.c): Likewise.
20511 [$(subdir) = elf && $(config-cflags-avx) = yes]
20512 (CFLAGS-tst-auditmod4b.c): Likewise.
20513 [$(subdir) = elf && $(config-cflags-avx) = yes]
20514 (CFLAGS-tst-auditmod6b.c): Likewise.
20515 [$(subdir) = elf && $(config-cflags-avx) = yes]
20516 (CFLAGS-tst-auditmod6c.c): Likewise.
20517 [$(subdir) = elf && $(config-cflags-avx) = yes]
20518 (CFLAGS-tst-auditmod7b.c): Likewise.
20519 * elf/tst-audit3.c: Move to ...
20520 * sysdeps/x86_64/tst-audit3.c: ... here.
20521 * elf/tst-audit4.c: Move to ...
20522 * sysdeps/x86_64/tst-audit4.c: ... here.
20523 * elf/tst-audit5.c: Move to ...
20524 * sysdeps/x86_64/tst-audit5.c: ... here.
20525 * elf/tst-audit6.c: Move to ...
20526 * sysdeps/x86_64/tst-audit6.c: ... here.
20527 * elf/tst-audit7.c: Move to ...
20528 * sysdeps/x86_64/tst-audit7.c: ... here.
20529 * elf/tst-auditmod3a.c: Move to ...
20530 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20531 * elf/tst-auditmod3b.c: Move to ...
20532 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20533 * elf/tst-auditmod4a.c: Move to ...
20534 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20535 * elf/tst-auditmod4b.c: Move to ...
20536 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20537 * elf/tst-auditmod5a.c: Move to ...
20538 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20539 * elf/tst-auditmod5b.c: Move to ...
20540 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20541 * elf/tst-auditmod6a.c: Move to ...
20542 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20543 * elf/tst-auditmod6b.c: Move to ...
20544 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20545 * elf/tst-auditmod6c.c: Move to ...
20546 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20547 * elf/tst-auditmod7a.c: Move to ...
20548 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20549 * elf/tst-auditmod7b.c: Move to ...
20550 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20551
1ef74943
PP
205522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20553
20554 [BZ #15366]
20555 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20556 define unconditionally.
20557 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20558 define unconditionally.
20559 (INT8_C, INT16_C, etc.): Likewise.
20560
93fd48c5
MR
205612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20562
ae9552cf
MR
20563 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20564 __ehdr_start with hidden visibility.
20565
93fd48c5
MR
20566 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20567
418601aa
CD
205682013-04-24 Carlos O'Donell <carlos@redhat.com>
20569
20570 * math/libm-test.inc (cos_test): Use accurate hex constants.
20571 (sincost_test): Likewise.
20572
2f38fbfe
JM
205732013-04-24 Joseph Myers <joseph@codesourcery.com>
20574
5e221800
JM
20575 * math/libm-test.inc (catan_test): Add more tests.
20576 (catanh_test): Likewise.
20577
77f143fd
JM
20578 * math/s_catanf.c (__catanf): Use suffixed floating-point
20579 constants.
20580 * math/s_catanhf.c (__catanhf): Likewise.
20581 * math/s_catanhl.c (__catanhl): Likewise.
20582 * math/s_catanl.c (__catanl): Likewise.
20583
2f38fbfe
JM
20584 [BZ #15394]
20585 * math/s_catan.c (__catan): Calculate imaginary part of result
20586 with log1p not log unless computing log of number close to 0.
20587 * math/s_catanf.c (__catanf): Likewise.
20588 * math/s_catanl.c (__catanl): Likewise.
20589 * math/s_catanh.c (__catanh): Calculate real part of result with
20590 log1p not log unless computing log of number close to 0.
20591 * math/s_catanhf.c (__catanhf): Likewise.
20592 * math/s_catanhl.c (__catanhl): Likewise.
20593 * math/libm-test.inc (catan_test): Add more tests.
20594 (catanh_test): Likewise.
20595 * sysdeps/i386/fpu/libm-test-ulps: Update.
20596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20597
45d69176
SP
205982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20599
20600 * benchtests/Makefile: Mention files in which fast and slow
20601 paths of math functions are implemented.
20602
87f51853
RM
206032013-04-23 Roland McGrath <roland@hack.frob.com>
20604
20605 * sysdeps/posix/timespec_get.c: New file.
20606
3c026539
AZ
206072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20608
20609 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20610 POWER.
20611 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20612 for POWER.
20613 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20614 powerpc/power5/fpu folders.
20615 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20616 * benchtests/Makefile: Add modf testcase.
20617 * benchtests/bench-modf.c: New file: Benchmark test for mo
20618
ff491d14
SP
206192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20620
20621 [BZ #14888]
20622 * time/Makefile (tests): Add tst-strptime-whitespace.
20623 * time/strptime_l.c (get_number): Use ISSPACE.
20624 (__strptime_internal): Likewise.
20625 * time/tst-strptime-whitespace.c: New test case.
20626
7ed3f4e8
AS
206272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20628
20629 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20630 member.
20631 (_nss_files_init): Set it here.
20632
5c95f7b6
HC
206332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20634
20635 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20636 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20637 unsigned.
20638
d34c9158
JBG
206392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20640
20641 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20642
2169712d
SP
206432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20644
20645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20646 size just once.
20647
29c5de99
DM
206482013-04-21 David S. Miller <davem@davemloft.net>
20649
20650 * po/ru.po: Update Russion translation from translation project.
20651
ccdad15d
AC
206522013-04-17 Adam Conrad <adconrad@0c3.net>
20653
20654 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20655 and setfsgid.
20656
0f122b8d
CD
206572013-04-17 Carlos O'Donell <carlos@redhat.com>
20658
5c5b07da 20659 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20660 * configure: Regenerate.
5c5b07da 20661 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20662 Add example to error message.
20663 * sysdeps/i386/configure: Regenerate.
20664
037714dd
SP
206652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20666
20667 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20668 slowtan.
20669 * benchtests/cos-inputs: New file.
20670 * benchtests/slowcos-inputs: New file.
20671 * benchtests/slowcos.c: New file.
20672 * benchtests/slowtan-inputs: New file.
20673 * benchtests/slowtan.c: New file.
20674 * benchtests/tan-inputs: New file.
20675
e913141d
RM
206762013-04-16 Roland McGrath <roland@hack.frob.com>
20677
20678 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20679 considered kosher.
20680
a2964074
SP
206812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20682
4856bcd2
SP
20683 * benchtests/Makefile: Include cppflags-iterator.mk to add
20684 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20685
a2964074
SP
20686 * Makefile.in (bench-clean): New target.
20687 * benchtests/Makefile (bench-clean): Likewise.
20688
9fbf9aca
DH
206892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20690
20691 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20692
207d1e2a
TS
206932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20694
20695 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20696
306dfba9
AS
206972013-04-15 Andreas Schwab <schwab@suse.de>
20698
20699 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20701 * nscd/pwdcache.c (cache_addpw): Likewise.
20702 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20703 more than recsize.
20704
206a6699
SP
207052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20706
20707 * benchtests/Makefile (bench): Write all output to
20708 bench-out.tmp together.
20709
0582f6b3
AS
207102013-04-15 Andreas Schwab <schwab@suse.de>
20711
20712 * nscd/nscd.c (main): Don't fork again after closing files.
20713
acb4325f
SP
207142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20715
5cb26d0a
SP
20716 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20717
acb4325f
SP
20718 * benchtests/Rules (bench-deps): Collect dependencies into a
20719 single variable. Add Makefile to dependencies.
20720 ($(objpfx)bench-%.c): Depend on bench-deps.
20721
47792506
RM
207222013-04-12 Roland McGrath <roland@hack.frob.com>
20723 Xavier Roche <roche+kml2@exalead.com>
20724
20725 [BZ #15361]
20726 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20727 just that it's a file descriptor.
20728 * manual/llio.texi (Synchronizing AIO Operations): Update description
20729 for EBADF error from aio_fsync.
20730
8fc1bee5
SP
207312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20732
20733 * Rules (bench): Move target definition...
20734 * benchtests/Makefile: ... here.
20735
aba5e333
CD
207362013-04-11 Carlos O'Donell <carlos@redhat.com>
20737
20738 * math/libm-test.inc (cos_test): Fix PI/2 test.
20739 (sincos_test): Likewise.
20740 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20741 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20742
273cdee8
AS
207432013-04-11 Andreas Schwab <schwab@suse.de>
20744
6ecec3b6
AS
20745 [BZ #13988]
20746 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20747 accept exponent character only when digits were seen.
20748 * stdio-common/Makefile (tests): Add bug26.
20749 * stdio-common/bug26.c: New file.
20750
273cdee8
AS
20751 [BZ #14293]
20752 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20753 non-freeable.
20754
8da491f5
SP
207552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20756
01dc6df9
SP
20757 * Makeconfig (rtld-prefix): Define built linker prefix.
20758 * Rules (run-bench): Use it.
20759 * math/Makefile (run-regen-ulps): Likewise.
20760
8da491f5
SP
20761 * Rules (bench): Remove eval.
20762
abe7f530
SP
207632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20764 Roland McGrath <roland@hack.frob.com>
20765 Ondrej Bilka <neleai@seznam.cz>
20766
20767 [BZ #15346]
20768 * time/getdate.c: Include ctype.h and alloca.h.
20769 (__getdate_r): Trim leading and trailing spaces of input.
20770 * time/tst-getdate.c (tests): Add tests with leading and
20771 trailing spaces.
20772
61c23e62
RM
207732013-04-08 Roland McGrath <roland@hack.frob.com>
20774
20775 [BZ #14280]
20776 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20777 when computing value.
20778
7208a313
CD
207792013-04-06 Carlos O'Donell <carlos@redhat.com>
20780
085b2d41
CD
20781 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20782 Use testrun.sh to run libm tests.
20783
7208a313
CD
20784 [BZ #15309]
20785 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20786
872c0acd
MM
207872013-04-06 Marko Myllynen <myllynen@redhat.com>
20788
20789 [BZ #15264]
20790 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20791
26510bdd
CD
207922013-04-06 Carlos O'Donell <carlos@redhat.com>
20793
20794 * Makefile.in (regen-ulps): New target.
20795 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20796 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20797 [ifneq (no,$(PERL)] (regen-ulps): New target.
20798 [ifeq (no,$(PERL)] (regen-ulps): New target.
20799 * math/libm-test.inc (ulps_file_name): Define.
20800 (output_dir): New variable.
20801 (options): Add "output-dir" option.
20802 (parse_opt): Handle 'o' case.
20803 (main): If output_dir is non-NULL use it as a prefix
20804 otherwise use "".
20805 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20806
a01f19c8
CD
208072013-04-06 Carlos O'Donell <carlos@redhat.com>
20808
20809 [BZ #10060, #10062]
20810 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20811 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20812 fail configure if __sync_val_compare_and_swap is not inlined.
20813 * sysdeps/i386/configure: Regenerate.
20814 * configure.in: Build for i686 when configured for i386.
20815 * configure: Regenerate.
20816 * README: Remove i386 reference.
20817
b7a329a5
CD
208182013-04-06 Carlos O'Donell <carlos@redhat.com>
20819
20820 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20822
bf0f50df
TS
208232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20824
ee091edf
TS
20825 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20826 (lmsnanval): New variables.
20827 (F): Add conversion tests.
20828 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20829 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20830
a8b792d6
TS
20831 * stdio-common/tstdiomisc.c (F): Properly collect individual
20832 tests' results.
20833
a1cbf437
TS
20834 [BZ #14686, #15336]
20835 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20836 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20837 Instead, use input NaN values or generate a qNaN by arithmetic
20838 operation. Also fix bugs to comply with the standard.
20839 * math/libm-test.inc (remainder_test): Add more tests.
20840
8b43a0c9
TS
20841 [BZ #15335, #15342]
20842 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20844 input NaN values or generate a qNaN by arithmetic operation.
20845
d91da4ce
TS
20846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20847 unreachable code.
20848
bf0f50df
TS
20849 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20850 definitions.
20851
05e166c8
JM
208522013-04-03 Joseph Myers <joseph@codesourcery.com>
20853
20854 [BZ #14478]
20855 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20856 underflowed result.
20857 * math/s_cexpf.c (__cexpf): Likewise.
20858 * math/s_cexpl.c (__cexpl): Likewise.
20859 * math/libm-test.inc (cexp_test): Add more tests.
20860
1cef1b19
AS
208612013-04-03 Andreas Schwab <schwab@suse.de>
20862
20863 [BZ #15330]
20864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20865 order arrays from heap if bigger than alloca cutoff.
20866
74d87055
TS
208672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20868
20869 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20870 (SNAN_TESTS_double): Refer to GCC PR56831.
20871 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20872 GCC PR56828.
20873
d755bba4
SP
208742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20875
90d5d5bb
SP
20876 * Rules (bench): Move bench.out after the run is complete.
20877
73e0cd5d
SP
20878 * Rules (bench): Echo currently running benchmark.
20879
64aabd4b
SP
20880 * benchtests/Makefile (bench): Add atan and slowatan.
20881 * benchtests/atan-inputs: New file.
20882 * benchtests/slowatan-inputs: New file.
20883 * benchtests/slowatan.c: New file.
20884
c871eccd
SP
20885 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20887 its value.
20888
d755bba4
SP
20889 [BZ #15305]
20890 * sysdeps/unix/sysv/linux/kernel-features.h
20891 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20892 __ASSUME_XFS_RESTRICTED_CHOWN.
20893 * sysdeps/unix/sysv/linux/pathconf.c
20894 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20895 Save and restore errno.
20896
52ce4860
JM
208972013-04-02 Joseph Myers <joseph@codesourcery.com>
20898
20899 [BZ #15327]
20900 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20901 arguments using __kernel_casinh.
20902 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20903 arguments using __kernel_casinhf.
20904 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20905 arguments using __kernel_casinhl.
20906 * math/libm-test.inc (cacosh_test): Add more tests.
20907 * sysdeps/i386/fpu/libm-test-ulps: Update.
20908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20909
81f311c2
SP
209102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20911
e7906a47
SP
20912 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20914
92e3664b
SP
20915 * bench/Makefile (bench): Add sin and slowsin.
20916 * benchtests/sin-inputs: New file.
20917 * benchtests/slowsin-inputs: New file.
20918 * benchtests/slowsin.c: New file.
20919
81f311c2
SP
20920 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20921 (bench): Add slowexp and slowpow.
20922 (exp-ITER): Increase iterations.
20923 (pow-ITER): Likewise.
20924 * benchtests/exp-inputs: Change input.
20925 * benchtests/pow-inputs: Likewise.
20926 * benchtests/slowexp-inputs: New file.
20927 * benchtests/slowexp.c: New file.
20928 * benchtests/slowpow-inputs: New file.
20929 * benchtests/slowpow.c: New file.
20930
ab0f1aa9
AZ
209312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20932
20933 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20934 instructions.
20935 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20936 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20937 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20938 * benchtests/Makefile: Add rint benchtest.
20939 * benchtests/rint-inputs: Input for rint benchtest.
20940
57267616
TS
209412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20942
20943 * Versions.def (libm): Add GLIBC_2.18.
20944 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20945 hidden libm prototypes.
20946 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20947 * math/Makefile (libm-calls): Add s_issignaling.
20948 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20949 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20950 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20951 declaration.
20952 * math/math.h [__USE_GNU] (issignaling): New macro.
20953 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20954 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20956 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20959 * manual/arith.texi (issignaling): New section.
20960 * manual/libm-err-tab.pl (@all_functions): Update comment.
20961 * math/gen-libm-test.pl (parse_args): Apply special handling for
20962 issignaling.
20963 * math/libm-test.inc (print_float, issignaling_test): New
20964 functions.
20965 (check_float_internal): Add issignaling checks.
20966 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20967 default definition.
20968 * sysdeps/powerpc/math-tests.h: New file.
20969 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20970 tests.
20971 * math/test-snan.c (TEST_FUNC): Likewise.
20972
6142896d
DM
209732013-03-30 David S. Miller <davem@davemloft.net>
20974
20975 * po/de.po: Update from translation team.
20976
ccc8cadf
JM
209772013-03-30 Joseph Myers <joseph@codesourcery.com>
20978
20979 [BZ #10357]
20980 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20981 imaginary part less than 1.0 and real part less than 0.5
20982 specially.
20983 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20984 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20985 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20986 (cacos_test): Add more tests.
20987 (casin_test): Likewise.
20988 (casinh_test): Likewise.
20989 * sysdeps/i386/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20991
0f6a8d4b
SP
209922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20993
0d1029de
SP
20994 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20995 ONE with its value.
20996
c2d94018
SP
20997 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20998 (__pow_mp): Replace ONE and MONE with their values.
20999 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21002 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21003 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21004 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21005
27ec37f1
SP
21006 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21007
a64d7e0e
SP
21008 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21009 (__pow_mp): Replace ZERO and MZERO with their values.
21010 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21012 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21014 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21015 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21016 (__sqr): Likewise.
21017
d26dd3eb
SP
21018 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21019
0f6a8d4b
SP
21020 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21021
e57b0c61
RM
210222013-03-28 Roland McGrath <roland@hack.frob.com>
21023
21024 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21025 Declare with __attribute__ ((weak)).
21026 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21027 Call __call_tls_dtors only if it's not NULL.
21028
356b3480
RM
210292013-03-28 Roland McGrath <roland@hack.frob.com>
21030
288f7d79
RM
21031 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21032 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21033 magic __ehdr_start linker symbol if it's defined.
21034 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21035 them up here if it was already done.
21036
dc0a0263
RM
21037 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21038 (_dl_aux_init): Use const in cast when setting it.
21039 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21040 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21041 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21042
3d3436ae
RM
21043 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21044 Declare them here.
21045 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21046 * csu/libc-tls.c: Nor here.
21047 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21048
356b3480
RM
21049 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21050 (__libc_message): Never call vsyslog.
21051
b0f1246a
AM
210522013-03-28 Alan Modra <amodra@gmail.com>
21053
21054 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21055 Define as empty.
21056 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21057 Likewise.
21058
fbbe2b9a
AZ
210592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21060
21061 [BZ #15214]
21062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21063 underflow.
21064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21065
1728ab37
SP
210662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21067
7a86be6e
SP
21068 [BZ #15304]
21069 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21070 Don't add gid passed as argument.
21071
1728ab37
SP
21072 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21073
3a7182a1
JM
210742013-03-27 Joseph Myers <joseph@codesourcery.com>
21075
21076 [BZ #15307]
21077 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21078 imaginary part between 1.0 and 1.5 and real part less than 0.5
21079 specially.
21080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21082 * math/libm-test.inc (cacos_test): Add more tests.
21083 (casin_test): Likewise.
21084 (casinh_test): Likewise.
21085 * sysdeps/i386/fpu/libm-test-ulps: Update.
21086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21087
6f2e90e7
SP
210882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21089
5739f705
SP
21090 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21091 constants.
21092 (norm): Likewise.
21093 (denorm): Likewise.
21094 (__dbl_mp): Likewise.
21095 (add_magnitudes): Likewise.
21096 (sub_magnitudes): Likewise.
21097 (__add): Likewise.
21098 (__sub): Likewise.
21099 (__mul): Likewise.
21100 (__sqr): Likewise.
21101 (__inv): Likewise.
21102 (__dvd): Likewise.
21103
e375e83d
SP
21104 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21105 commented code.
21106 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21107 (__dubcos): Likewise.
21108 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21109 (__ieee754_acos): Likewise.
21110 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21111 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21112 (__exp1): Likewise.
21113 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21115 (log1): Likewise.
21116 (my_log2): Likewise.
21117 (checkint): Likewise.
21118 * sysdeps/ieee754/dbl-64/e_remainder.c
21119 (__ieee754_remainder): Likewise.
21120 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21122 (bsloww): Likewise.
21123 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21124
6f2e90e7
SP
21125 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21127 MANTISSA_STORE_T to store computations on mantissa. Use
21128 macros for rounding and division.
21129 (denorm): Likewise.
21130 (__dbl_mp): Likewise.
21131 (add_magnitudes): Likewise.
21132 (sub_magnitudes): Likewise.
21133 (__mul): Likewise.
21134 (__sqr): Likewise.
21135 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21136 powers of two in terms of TWOPOW macro.
21137 (mp_no): Make type of mantissa as MANTISSA_T.
21138 [!RADIXI]: Define RADIXI.
21139 [!TWO52]: Define TWO52.
21140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21141
fce14d4e
AZ
211422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21143
21144 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21145 llroundl symbol when building for PPC32.
21146
9ad027fb
MW
211472013-03-24 Mark H Weaver <mhw@netris.org>
21148
21149 * manual/arith.texi (Normalization Functions): Fix prototypes for
21150 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21151
e42a38dd
AZ
211522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21153
21154 [BZ #13889]
21155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21156 high value to check if expl overflow.
21157 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21158 to check for underflow and overflow.
21159 * math/libm-test.inc: Add exp test.
21160
2e0fb521
DL
211612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21162
21163 [BZ #11120]
21164 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21165 with NOT_IN_libc.
21166
b5784d95
AZ
211672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21168
21169 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21170 symbol.
21171
5aa4a1a1
TS
211722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21173
bdef0be7
TS
21174 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21175 wrap blocks consisting of several statements.
21176
5aa4a1a1
TS
21177 * sysdeps/generic/math-tests.h: New file.
21178 * sysdeps/i386/fpu/math-tests.h: Likewise.
21179 * math/test-snan.c: Include it.
21180 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21181
98c48fe5
JM
211822013-03-21 Joseph Myers <joseph@codesourcery.com>
21183
21184 [BZ #15285]
21185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21186 (__ieee754_j0l): Do not improve calculations using cos of twice
21187 input for inputs above LDBL_MAX / 2.0L.
21188 (__ieee754_y0l): Likewise.
21189 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21190 (__ieee754_j1l): Do not improve calculations using cos of twice
21191 input for inputs above LDBL_MAX / 2.0L.
21192 (__ieee754_y1l): Likewise.
21193 * math/libm-test.inc (j0_test): Add another test.
21194 (j1_test): Likewise.
21195 (y0_test): Likewise.
21196 (y1_test): Likewise.
21197 * sysdeps/i386/fpu/libm-test-ulps: Update.
21198
3775a8bc
SP
211992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21200
21201 * Rules ($(objpfx)bench-%.c): Include code from a C source
21202 file.
21203
0a1b2ae6
JM
212042013-03-21 Joseph Myers <joseph@codesourcery.com>
21205
21206 [BZ #15287]
21207 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21208 imaginary part 1.0 and real part less than 0.5 specially.
21209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21211 * math/libm-test.inc (cacos_test): Add more tests.
21212 (casin_test): Likewise.
21213 (casinh_test): Likewise.
21214 * sysdeps/i386/fpu/libm-test-ulps: Update.
21215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21216
b33d4ce4
SP
212172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21218
21219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21220 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21221
bef0b507
JM
212222013-03-20 Joseph Myers <joseph@codesourcery.com>
21223
21224 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21225 * config.make.in (config-cflags-sse4): Remove variable.
21226 (config-cflags-avx): Likewise.
21227 (config-cflags-sse2avx): Likewise.
21228 (config-cflags-novzeroupper): Likewise.
21229 (config-asflags-i686): Likewise.
21230 (have-mfma4): Likewise.
21231 (have-as-vis3): Likewise.
21232 (MIG): Likewise.
21233 * configure.in (MIG): Do not AC_SUBST.
21234 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21235 (libc_cv_cc_sse4): Do not AC_SUBST.
21236 (libc_cv_cc_avx): Likewise.
21237 (libc_cv_cc_sse2avx): Likewise.
21238 (libc_cv_cc_novzeroupper): Likewise.
21239 (libc_cv_cc_fma4): Likewise.
21240 (libc_cv_as_i686): Likewise.
21241 (libc_cv_sparc_as_vis3): Likewise.
21242 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21243 LIBC_CONFIG_VAR.
21244 (config-asflags-i686): Likewise.
21245 (config-cflags-avx): Likewise.
21246 (config-cflags-sse2avx): Likewise.
21247 (have-mfma4): Likewise.
21248 (config-cflags-novzeroupper): Likewise.
21249 * sysdeps/mach/configure.in (MIG): Likewise.
21250 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21251 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21252 LIBC_CONFIG_VAR.
21253 (config-cflags-avx): Likewise.
21254 (config-cflags-sse2avx): Likewise.
21255 (have-mfma4): Likewise.
21256 (config-cflags-novzeroupper): Likewise.
21257 * configure: Regenerated.
21258 * sysdeps/i386/configure: Likewise.
21259 * sysdeps/mach/configure: Likewise.
21260 * sysdeps/sparc/configure: Likewise.
21261 * sysdeps/x86_64/configure: Likewise.
21262
912cc4b3
RM
212632013-03-20 Roland McGrath <roland@hack.frob.com>
21264
21265 [BZ #14812]
21266 * locale/programs/localedef.c (options): Put N_ translation marker
21267 on argument names, not just descriptions.
21268
04eed2b0
MS
212692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21270
21271 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21272
a065ceff
OB
212732013-03-20 Ondřej Bílka <neleai@seznam.cz>
21274
9bb2a810 21275 [BZ #14176]
a065ceff
OB
21276 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21277
a600e5ce
RM
212782013-03-19 Roland McGrath <roland@hack.frob.com>
21279
21280 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21281 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21282 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21283 [!BEFORE_ABORT] (before_abort): New function.
21284 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21285 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21286 (writev_for_fatal): New function.
21287 (WRITEV_FOR_FATAL): New macro; call that.
21288 (backtrace_and_maps): New function.
21289 (BEFORE_ABORT): New macro; call that.
21290 (struct str_list): Type removed.
21291 (__libc_message, __libc_fatal): Functions removed.
21292 Include <sysdeps/posix/libc_fatal.c> instead.
21293
6b18bea6
JM
212942013-03-19 Joseph Myers <joseph@codesourcery.com>
21295
21296 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21297 constants.
21298 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21299 double constants.
21300
aaa8cb4b
AS
213012013-03-19 Andreas Schwab <schwab@suse.de>
21302
44673770
AS
21303 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21304 * sysdeps/gnu/configure: Regenerate.
21305
aaa8cb4b
AS
21306 * configure.in: Substitute libc_cv_rtlddir.
21307 * configure: Regenerate.
21308 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21309 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21310 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21311 * elf/Makefile (install-others, CFLAGS-interp.c)
21312 (ldso_install, common-ldd-rewrite): Likewise.
21313 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21314 $(inst_slibdir)/$(rtld-installed-name).
21315 * scripts/rellns-sh: Add -p option.
21316 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21317 for source.
21318
d3cfc668
SP
213192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21320
21321 * manual/nptl.texi: Renamed to ...
21322 * manual/threads.texi: ... this.
21323 * manual/Makefile (chapters): Update.
21324
0e2b9cdd
RM
213252013-03-18 Roland McGrath <roland@hack.frob.com>
21326
21327 [BZ #14812]
21328 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21329 on argument names, not just descriptions.
0e2b9cdd
RM
21330 * malloc/memusagestat.c (options): Likewise.
21331 * nss/getent.c (options): Likewise.
63270c24
RM
21332
213332013-03-18 Benno Schulenberg <bensberg@justemail.net>
21334
21335 [BZ #14812]
21336 * iconv/iconv_prog.c (options): Put N_ translation marker
21337 on argument names, not just descriptions.
21338 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21339
b2e1393c
OB
213402013-03-18 Ondrej Bilka <neleai@seznam.cz>
21341
21342 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21343 implementation which is faster on all x86_64 architectures.
21344 Tested on AMD, Intel Nehalem, SNB, IVB.
21345 * sysdeps/x86_64/strnlen.S: Likewise.
21346
21347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21348 Remove all multiarch strlen and strnlen versions.
21349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21350 Remove strlen and strnlen related parts.
21351
21352 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21353 Inline strlen part.
21354 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21355
21356 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21357 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21358 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21359 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21360 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21361 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21362
ec4ff04d
CD
213632013-03-17 Carlos O'Donell <carlos@redhat.com>
21364
21365 * manual/memory.texi (Malloc Tunable Parameters):
21366 Sort parameters alphabetically. Add comments for missing entries.
21367
cd18e90a
DM
213682013-03-17 David S. Miller <davem@davemloft.net>
21369
21370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21371
2a185d32
JM
213722013-03-16 Joseph Myers <joseph@codesourcery.com>
21373
d2f9799e
JM
21374 [BZ #15283]
21375 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21376 for arguments at most half maximum finite value.
21377 * math/libm-test.inc (j0_test): Add more tests.
21378 (j1_test): Likewise.
21379 (y0_test): Likewise.
21380 (y1_test): Likewise.
21381 * sysdeps/i386/fpu/libm-test-ulps: Update.
21382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21383
2a185d32
JM
21384 [BZ #14155]
21385 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21386 1 / x and functions P and Q for arguments above 0x1p256L.
21387 (__ieee754_y0l): Likewise.
21388 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21389 (__ieee754_y1l): Likewise.
21390 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21391 (j1_test): Likewise.
21392 (y0_test): Likewise.
21393 (y1_test): Likewise.
21394
6cbec759
TS
213952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21396
21397 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21398 variable.
21399
bc16e260
RM
214002013-03-15 Roland McGrath <roland@hack.frob.com>
21401
aefc9b8c
RM
21402 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21403 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21404 zero since it's initialized to EXEC_PAGESIZE.
21405
bc16e260
RM
21406 * sysdeps/unix/sysv/linux/ldsodefs.h
21407 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21408 * sysdeps/generic/ldsodefs.h: ... here.
21409
a57da955
TS
214102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21411
af00a34d
TS
21412 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21413
495ded2c
TS
21414 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21415 math/test-snan.c.
21416 * math/test-snan.c: Renamed from
21417 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21418 * math/Makefile (tests): Add test-snan.
21419 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21420 test-powerpc-snan.
21421
777b0332
TS
21422 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21423 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21424 functions.
21425 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21426 __builtin_nan family of functions.
21427 * math/libm-test.inc (initialize): Initialize qnan_value with
21428 __builtin_nan family of functions.
21429 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21430 Remove variables.
21431 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21432 Remove functions.
21433 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21434 storage class. Initialize qNaN_var and sNaN_var with
21435 __builtin_nan and __builtin_nans families of functions,
21436 respectively.
21437
64d063b8
TS
21438 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21439 (sqrt_test): Remove duplicate test with qNaN input.
21440 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21441 (round_test, signbit_test, significand_test): Note missing +/-Inf
21442 as well as qNaN tests.
21443
67e971f1
TS
21444 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21445 qNaN_var. Fix a few strings, too.
21446 * math/libm-test.inc (nan_value): Rename to qnan_value.
21447 * math/gen-libm-test.pl (%beautify): Adjust to that.
21448 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21449 * math/test-misc.c (main): Likewise.
21450 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21451 to __qnan_bytes, and __qnan_union, respectively.
21452 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21453 Likewise.
21454 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21455 and lqnanval, respectively.
21456 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21457 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21458 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21459 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21460
64487e12
TS
21461 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21462 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21463 doubles.
21464
e015e27b
TS
21465 * math/test-misc.c (main): Fix copy'n'pastos.
21466 * misc/tst-efgcvt.c (special): Likewise.
21467
a57da955
TS
21468 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21469 Remove declarations.
21470
1e380345
SP
214712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21472
21473 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21474 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21475 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21476 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21477
ef26eece
AZ
214782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21479
21480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21481 macro to return vdso values correctly in IFUNC implementations.
21482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21483 Optimization by using IFUNC.
21484
8cfdb7e0
SP
214852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21486 Richard Henderson <rth@redhat.com>
21487 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21488
21489 * Makefile.in (bench): New target.
21490 * NEWS: Mention the benchmark framework.
21491 * Rules (bench): Likewise.
21492 (binaries-bench): Generate binaries for functions to
21493 benchmark.
21494 * benchtests/Makefile: New makefile for benchmark tests.
21495 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21496 programs.
21497 * benchtests/exp-inputs: New input file for EXP function.
21498 * benchtests/pow-inputs: New input file for POW function.
21499 * scripts/bench.pl: New script to generate source files for
21500 benchmark programs.
21501
bcda9880
SP
215022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21503
d22ca8cd
SP
21504 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21505 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21506 computations on mantissa. Use macros for rounding and
21507 division.
21508 (denorm): Likewise.
21509 (__dbl_mp): Likewise.
21510 (add_magnitudes): Likewise.
21511 (sub_magnitudes): Likewise.
21512 (__mul): Likewise.
21513 (__sqr): Likewise.
21514 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21515 powers of two in terms of TWOPOW macro.
21516 (mp_no): Make type of mantissa as MANTISSA_T.
21517 [!RADIXI]: Define RADIXI.
21518 [!TWO52]: Define TWO52.
21519 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21520
bcda9880
SP
21521 * manual/nptl.texi (cindex): Modify threads to pthreads.
21522
06d5adfb
JM
215232013-03-15 Joseph Myers <joseph@codesourcery.com>
21524
21525 * sysdeps/x86_64/preconfigure: Regenerated.
21526
41c7328e
JM
215272013-03-14 Joseph Myers <joseph@codesourcery.com>
21528
21529 [BZ #14155]
21530 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21531 0x1p28 and above.
21532 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21533 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21534 0x1p28 and above.
21535 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21536 * math/libm-test.inc (j0_test): Do not allow one spurious
21537 underflow exception.
21538 (y1_test): Likewise.
21539
e25cfa60
SP
215402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21541
0409959c
SP
21542 * manual/Makefile (chapters): Add nptl.
21543 * manual/debug.texi (Debugging Support): Add link to Threads
21544 chapter.
21545 * manual/nptl.texi: New file.
21546
e25cfa60
SP
21547 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21548
58a1335e
PB
215492013-03-14 Petr Baudis <pasky@ucw.cz>
21550
21551 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21552 for non-NULL pointer before the memory validity test. Pointed
21553 out by Holger Brunck <holger.brunck@keymile.com>.
21554
9dc7c64f
AS
215552013-03-13 Andreas Schwab <schwab@suse.de>
21556
21557 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21558 instead of .os.
21559
54206aa6
JM
215602013-03-13 Joseph Myers <joseph@codesourcery.com>
21561
21562 * timezone/zic.c: Update from tzcode 2013b.
21563
e98cdb38
CD
215642013-03-12 Carlos O'Donell <carlos@redhat.com>
21565
21566 * manual/install.texi (Configuring and compiling):
21567 Mention i686 and i586.
21568 * INSTALL: Regenerate.
21569
9967e003
RM
215702013-03-12 Roland McGrath <roland@hack.frob.com>
21571
21572 * sysdeps/init_array/elf-init.c: New file.
21573 * csu/elf-init.c
21574 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21575 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21576
21577 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21578 __gmon_start__ as global, but as static with a .preinit_array pointer.
21579 * sysdeps/init_array/gmon-start.c: New file. Use that.
21580 * sysdeps/init_array/crti.S: New file, empty except for comments.
21581 * sysdeps/init_array/crtn.S: Likewise.
21582
e6b5a293 215832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21584
21585 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21586 definining bcopy.
80f844c9
OB
21587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21588 Remove Prefer_SSE_for_memop.
21589 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21590 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21591 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21593 memset-x86-64.
80f844c9 21594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21595 Remove bzero, memset ifunc support.
80f844c9
OB
21596 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21598 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21599 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21600
fb6b0fcb
AS
216012013-03-11 Andreas Schwab <schwab@suse.de>
21602
21603 [BZ #15234]
21604 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21605 by SHLIB_COMPAT.
21606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21607 (GLIBC_2.16): Remove pthread_atfork.
21608
3e6bd4b1
PP
216092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21610
21611 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21612 (ptestcases.h): Likewise.
21613
222d7f00
RM
216142013-03-08 Roland McGrath <roland@hack.frob.com>
21615
21616 * Makeconfig ($(common-objpfx)config.status): Depend on
21617 sysdeps/*/preconfigure{,.in} too.
21618
1ba4f030
JM
216192013-03-08 Joseph Myers <joseph@codesourcery.com>
21620
a222d91a
JM
21621 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21622 (__free_hook): Use void * instead of __malloc_ptr_t.
21623 (__malloc_hook): Likewise.
21624 (__realloc_hook): Likewise.
21625 (__memalign_hook): Likewise.
21626 (__after_morecore_hook): Likewise.
21627 * malloc/arena.c (save_malloc_hook): Likewise.
21628 (save_free_hook): Likewise.
21629 * malloc/hooks.c (malloc_hook_ini): Likewise.
21630 (realloc_hook_ini): Likewise.
21631 (memalign_hook_ini): Likewise.
21632 * malloc/malloc.c (malloc_hook_ini): Likewise.
21633 (realloc_hook_ini): Likewise.
21634 (memalign_hook_ini): Likewise.
21635 (__free_hook): Likewise.
21636 (__malloc_hook): Likewise.
21637 (__realloc_hook): Likewise.
21638 (__memalign_hook): Likewise.
21639 (__libc_malloc): Likewise.
21640 (__libc_free): Likewise.
21641 (__libc_realloc): Likewise.
21642 (__libc_memalign): Likewise.
21643 (__libc_valloc): Likewise.
21644 (__libc_pvalloc): Likewise.
21645 (__libc_calloc): Likewise.
21646 (__posix_memalign): Likewise.
21647 * malloc/morecore.c (__sbrk): Likewise.
21648 (__default_morecore): Likewise.
21649
5cc45e10
JM
21650 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21651
dd54b864
JM
21652 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21653 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21654 __malloc_ptrdiff_t.
21655
1ba4f030
JM
21656 * malloc/malloc.h (__malloc_size_t): Remove macro.
21657 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21658 __malloc_size_t.
21659 (old_memalign_hook): Likewise.
21660 (old_realloc_hook): Likewise.
21661 (struct hdr): Likewise.
21662 (flood): Likewise.
21663 (mallochook): Likewise.
21664 (memalignhook): Likewise.
21665 (reallochook): Likewise.
21666 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21667 (tr_old_realloc_hook): Likewise.
21668 (tr_old_memalign_hook): Likewise.
21669 (tr_mallochook): Likewise.
21670 (tr_reallochook): Likewise.
21671 (tr_memalignhook): Likewise.
21672
edf66e57
AZ
216732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21674
21675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21676 default_ldbl_pack and using as default implementation.
21677 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21678 implementation.
21679 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21680 redundant definition.
21681 (ldbl_insert_mantissa): Likewise.
21682 (ldbl_canonicalize): Likewise.
21683 (ldbl_nearbyint): Likewise.
21684 (ldbl_pack): Rename to ldbl_pack_ppc.
21685 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21686 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21687 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21688
6d9145d8
SP
216892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21690
21691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21692 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21693 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21694 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21696 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21697 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21698 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21699
4dd4e157
AJ
217002013-03-07 Andreas Jaeger <aj@suse.de>
21701
21702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21703 bits/mman-linux.h.
21704
adbb8027
SP
217052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21706
ce544b5b
SP
21707 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21708 Include mpa.h and declare __MPEXP.
21709 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21711 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21712 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21714 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21715 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21716
4cc149fd
SP
21717 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21718 (__slowpow): Use long double EXPL and LOGL functions to
21719 compute POW.
21720 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21721 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21722 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21724 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21726
e6ebd4a7
SP
21727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21728 intermediate variable to calculate exponent.
21729 (__sqr): Likewise.
21730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21731 Likewise.
21732 (__sqr): Likewise.
21733
82a9811d
SP
21734 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21735 [!NO__SQR]: Define __sqr.
21736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21737 and NO__SQR. Remove all code except __mul and __sqr. Include
21738 sysdeps/ieee754/dbl-64/mpa.c.
21739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21740
adbb8027
SP
21741 [BZ #12723]
21742 * posix/Makefile (tests): Add tst-pathconf.
21743 * posix/tst-pathconf.c: New test case.
21744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21745 _PC_PIPE_BUF.
21746 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21747
39120df9
PF
217482013-03-06 Patsy Franklin <pfrankli@redhat.com>
21749
21750 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21751
67525cb8
AJ
217522013-03-06 Andreas Jaeger <aj@suse.de>
21753
664a9ce4
AJ
21754 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21755 definition via __MAP_ANONYMOUS.
21756
8e39047d
AJ
21757 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21758 it's not part of Linux headers.
21759
67525cb8
AJ
21760 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21761 (MAP_HUGE_MASK): Define.
21762
21763 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21764 Define.
21765 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21766 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21767 Define.
21768 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21769 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21770 Define.
21771 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21772 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21773 Define.
21774 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21775
21776 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21777 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21778 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21779 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21780 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21781 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21782
21783 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21784 Handle f2fs.
21785
21786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21787 Handle f2fs and efivarfs.
21788
21789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21790 f2fs.
21791
21792 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21793 (EFIVARFS_MAGIC): Add.
21794 (F2FS_LINK_MAX): Add.
21795
e1b42695
PP
217962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21797
21798 * stdio-common/vfprintf.c: Replace __builtin_expect with
21799 __glibc_unlikely.
21800
2d67d91a
JM
218012013-03-06 Joseph Myers <joseph@codesourcery.com>
21802
21803 [BZ #13550]
21804 * sysdeps/generic/bp-sym.h: Remove file.
21805 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21806 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21807 <bp-sym.h> and <bp-asm.h>.
21808 (__longjmp): Don't use BP_SYM.
21809 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21810 and <bp-asm.h>.
21811 (memcpy): Don't use BP_SYM.
21812 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21813 <bp-sym.h> and <bp-asm.h>.
21814 (memcpy): Don't use BP_SYM.
21815 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21816 <bp-asm.h>.
21817 (memcpy): Don't use BP_SYM.
21818 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21819 <bp-asm.h>.
21820 (memset): Don't use BP_SYM.
21821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21823 (__bzero): Don't use BP_SYM.
21824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21826 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21827 <bp-sym.h> and <bp-asm.h>.
21828 (memcmp): Don't use BP_SYM. Remove comment about bounded
21829 pointers.
21830 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21831 <bp-sym.h> and <bp-asm.h>.
21832 (memcpy): Don't use BP_SYM.
21833 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21834 <bp-sym.h> and <bp-asm.h>.
21835 (memset): Don't use BP_SYM.
21836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21838 (__bzero): Don't use BP_SYM.
21839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21841 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21842 <bp-sym.h> and <bp-asm.h>.
21843 (strncmp): Don't use BP_SYM. Remove comment about bounded
21844 pointers.
21845 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21846 <bp-sym.h> and <bp-asm.h>.
21847 (memcpy): Don't use BP_SYM.
21848 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21849 <bp-sym.h> and <bp-asm.h>.
21850 (memset): Don't use BP_SYM.
21851 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21852 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21853 (__bzero): Don't use BP_SYM.
21854 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21855 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21856 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21857 <bp-sym.h> and <bp-asm.h>.
21858 (__memchr): Don't use BP_SYM.
21859 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21860 <bp-sym.h> and <bp-asm.h>.
21861 (memcmp): Don't use BP_SYM. Remove comment about bounded
21862 pointers.
21863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21864 <bp-sym.h> and <bp-asm.h>.
21865 (memcpy): Don't use BP_SYM.
21866 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21867 <bp-sym.h> and <bp-asm.h>.
21868 (__mempcpy): Don't use BP_SYM.
21869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21870 <bp-sym.h> and <bp-asm.h>.
21871 (__memrchr): Don't use BP_SYM.
21872 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21873 <bp-sym.h> and <bp-asm.h>.
21874 (memset): Don't use BP_SYM.
21875 (__bzero): Likewise.
21876 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (__rawmemchr): Don't use BP_SYM.
21879 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21880 <bp-sym.h> and <bp-asm.h>.
21881 (__STRCMP): Don't use BP_SYM.
21882 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21883 <bp-sym.h> and <bp-asm.h>.
21884 (strchr): Don't use BP_SYM.
21885 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21886 <bp-sym.h> and <bp-asm.h>.
21887 (__strchrnul): Don't use BP_SYM.
21888 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21889 <bp-sym.h> and <bp-asm.h>.
21890 (strlen): Don't use BP_SYM.
21891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21892 <bp-sym.h> and <bp-asm.h>.
21893 (strncmp): Don't use BP_SYM. Remove comment about bounded
21894 pointers.
21895 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21896 <bp-sym.h> and <bp-asm.h>.
21897 (__strnlen): Don't use BP_SYM.
21898 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21899 <bp-sym.h> and <bp-asm.h>.
21900 (__GI__setjmp): Don't use BP_SYM.
21901 (_setjmp): Likewise.
21902 (__sigsetjmp): Likewise.
21903 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21904 (L(start_addresses)): Don't use BP_SYM.
21905 (_start): Likewise.
21906 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21907 <bp-asm.h>.
21908 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21909 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21910 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21911 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21912 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21913 <bp-asm.h>.
21914 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21915 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21916 about bounded pointers.
21917 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21918 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21919 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21920 <bp-asm.h>.
21921 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21922 about bounded pointers. Remove GKM FIXME comments.
21923 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21924 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21925 <bp-asm.h>.
21926 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21927 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21928 Remove GKM FIXME comments.
21929 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21930 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21931 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21932 <bp-asm.h>.
21933 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21934 about bounded pointers. Remove GKM FIXME comment.
21935 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21936 and <bp-asm.h>.
21937 (strncmp): Don't use BP_SYM. Remove comment about bounded
21938 pointers.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21940 <bp-sym.h> and <bp-asm.h>.
21941 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21943 <bp-sym.h> and <bp-asm.h>.
21944 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21945 comment.
21946
cdcf361f
PP
219472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21948
21949 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21950 call free(NULL).
21951
3c4a2b15
DM
219522013-03-05 David S. Miller <davem@davemloft.net>
21953
21954 * po/es.po: Update from translation team.
21955
cdcf361f 219562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21957
21958 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21959 <bits/mman-linux.h>.
21960 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21961 is fine.
21962 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21963 <bits/mman-linux.h> to end of file.
21964 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21965 is fine.
21966 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
21971 <bits/mman-linux.h> to end of file.
21972
21973 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21974 (MCL_CURRENT, MCL_FUTURE): Define here.
21975
5f67c04f
AK
219762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21977
8a4473cc 21978 [BZ #15232]
5f67c04f
AK
21979 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21980 attribute_hidden.
21981 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21982
c3e94a95
AK
219832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21984
21985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21986 fourth parameter needed for rt_sigprocmask syscall.
21987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21989 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21990 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21991 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21992 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21993
cfb6382a
JM
219942013-03-04 Joseph Myers <joseph@codesourcery.com>
21995
21996 [BZ #13550]
21997 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21998 comment about bounded pointers.
21999 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22000 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22001
539d8e01
AJ
220022013-03-04 Andreas Jaeger <aj@suse.de>
22003
22004 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22005 common definitions.
22006
22007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22008 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22009 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22013
2e167a70 220142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22015
22016 [BZ #15055]
22017 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22018 __ieee754_sqrl instead of __sqrl.
22019
68508633
JM
220202013-03-01 Joseph Myers <joseph@codesourcery.com>
22021
22022 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22023 * sysdeps/powerpc/fpu_control.h: ... here.
22024 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22025 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22026 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22027 * sysdeps/powerpc/bits/mathinline.h: ... here.
22028
7775448e
RM
220292013-03-01 Roland McGrath <roland@hack.frob.com>
22030
22031 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22032 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22033 to just [NEED_DL_SYSINFO_DSO].
22034 * elf/dl-support.c: Likewise.
22035 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22036 * elf/rtld.c (dl_main): Likewise.
22037 * elf/setup-vdso.h (setup_vdso): Likewise.
22038 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22039 * sysdeps/unix/sysv/linux/dl-sysdep.c
22040 (_dl_discover_osversion): Likewise.
22041
4e9b5995
CD
220422013-03-01 Carlos O'Donell <carlos@redhat.com>
22043
22044 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22045 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22046
e23872c8
SP
220472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22048
e5c74c63
SP
22049 * NEWS: Mention libm performance improvements and non-x86 PI
22050 futex support.
22051
e23872c8
SP
22052 * csu/libc-start.c (__pthread_initialize_minimal): Change
22053 function arguments.
22054 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22055
b5510883
JM
220562013-02-28 Joseph Myers <joseph@codesourcery.com>
22057
22058 [BZ #13550]
22059 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22060 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22061 <bp-sym.h> and <bp-asm.h>.
22062 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22063 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22064 and <bp-asm.h>.
22065 (memcpy): Don't use BP_SYM.
22066 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22067 <bp-asm.h>.
22068 (__mpn_add_n): Don't use BP_SYM.
22069 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22070 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22071 and <bp-asm.h>.
22072 (__mpn_addmul_1): Don't use BP_SYM.
22073 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22074 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22075 <bp-sym.h>.
22076 (_setjmp): Don't use BP_SYM.
22077 (__novmx_setjmp): Likewise.
22078 (__GI__setjmp): Likewise.
22079 (__vmx_setjmp): Likewise.
22080 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22081 <bp-sym.h>.
22082 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22083 (__bzero): Don't use BP_SYM.
22084 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22085 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22087 <bp-sym.h> and <bp-asm.h>.
22088 (memcpy): Don't use BP_SYM.
22089 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22090 <bp-sym.h> and <bp-asm.h>.
22091 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22092 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22093 <bp-sym.h> and <bp-asm.h>.
22094 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22095 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22096 <bp-asm.h>.
22097 (__mpn_lshift): Don't use BP_SYM.
22098 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22099 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22100 <bp-asm.h>.
22101 (memset): Don't use BP_SYM.
22102 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22103 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22104 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22105 <bp-asm.h>.
22106 (__mpn_mul_1): Don't use BP_SYM.
22107 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22109 <bp-sym.h> and <bp-asm.h>.
22110 (memcmp): Don't use BP_SYM.
22111 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22112 <bp-sym.h> and <bp-asm.h>.
22113 (memcpy): Don't use BP_SYM.
22114 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22115 <bp-sym.h> and <bp-asm.h>.
22116 (memset): Don't use BP_SYM.
22117 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22118 <bp-sym.h> and <bp-asm.h>.
22119 (strncmp): Don't use BP_SYM.
22120 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22121 <bp-sym.h> and <bp-asm.h>.
22122 (memcpy): Don't use BP_SYM.
22123 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22124 <bp-sym.h> and <bp-asm.h>.
22125 (memset): Don't use BP_SYM.
22126 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22127 <bp-sym.h> and <bp-asm.h>.
22128 (__memchr): Don't use BP_SYM.
22129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22130 <bp-sym.h> and <bp-asm.h>.
22131 (memcmp): Don't use BP_SYM.
22132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22133 <bp-sym.h> and <bp-asm.h>.
22134 (memcpy): Don't use BP_SYM.
22135 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22136 <bp-sym.h> and <bp-asm.h>.
22137 (__mempcpy): Don't use BP_SYM.
22138 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22139 <bp-sym.h> and <bp-asm.h>.
22140 (__memrchr): Don't use BP_SYM.
22141 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22142 <bp-sym.h> and <bp-asm.h>.
22143 (memset): Don't use BP_SYM.
22144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22145 <bp-sym.h> and <bp-asm.h>.
22146 (__rawmemchr): Don't use BP_SYM.
22147 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22148 <bp-sym.h> and <bp-asm.h>.
22149 (__STRCMP): Don't use BP_SYM.
22150 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22151 <bp-sym.h> and <bp-asm.h>.
22152 (strchr): Don't use BP_SYM.
22153 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22154 <bp-sym.h> and <bp-asm.h>.
22155 (__strchrnul): Don't use BP_SYM.
22156 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22157 <bp-sym.h> and <bp-asm.h>.
22158 (strlen): Don't use BP_SYM.
22159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22160 <bp-sym.h> and <bp-asm.h>.
22161 (strncmp): Don't use BP_SYM.
22162 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22163 <bp-sym.h> and <bp-asm.h>.
22164 (__strnlen): Don't use BP_SYM.
22165 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22166 <bp-asm.h>.
22167 (__mpn_rshift): Don't use BP_SYM.
22168 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22169 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22170 <bp-sym.h> and <bp-asm.h>.
22171 (__sigsetjmp): Don't use BP_SYM.
22172 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22173 (L(start_addresses)): Don't use BP_SYM.
22174 (_start): Likewise.
22175 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22176 <bp-asm.h>.
22177 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22178 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22179 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22180 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22181 <bp-asm.h>.
22182 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22183 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22184 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22185 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22186 <bp-asm.h>.
22187 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22188 comments.
22189 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22190 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22191 <bp-asm.h>.
22192 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22193 FIXME comments.
22194 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22195 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22196 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22197 <bp-asm.h>.
22198 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22199 comment.
22200 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22201 and <bp-asm.h>.
22202 (strncmp): Don't use BP_SYM,
22203 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22204 <bp-asm.h>.
22205 (__mpn_sub_n): Don't use BP_SYM.
22206 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22207 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22208 and <bp-asm.h>.
22209 (__mpn_submul_1): Don't use BP_SYM.
22210 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22212 <bp-sym.h> and <bp-asm.h>.
22213 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22215 <bp-sym.h> and <bp-asm.h>.
22216 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22217 comment.
22218
8d19fe64
SP
222192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22220
22221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22222 Use ZK to minimize writes to Z.
22223 (sub_magnitudes): Simplify code a bit.
22224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22225 Use ZK to minimize writes to Z.
22226 (sub_magnitudes): Simplify code a bit.
22227
85bd816a
RM
222282013-02-27 Roland McGrath <roland@hack.frob.com>
22229
22230 * csu/gmon-start.c: Add special exception to license text.
22231
b5977bf2
RH
222322013-02-27 Richard Henderson <rth@redhat.com>
22233
22234 * scripts/config.guess: Update from config.git.
22235 * scripts/config.sub: Likewise.
22236
11d6e2f2
SP
222372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22238
09c14ed2
SP
22239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22240
a688864e
SP
22241 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22242
6295157a
SP
22243 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22244
b8de2202
SP
22245 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22246
11d6e2f2
SP
22247 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22248
7e80ddb8
RM
222492013-02-26 Roland McGrath <roland@hack.frob.com>
22250
22251 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22252 [$(build-shared = yes].
7e80ddb8 22253
7da6d9ed
SP
222542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22255
45f05884
SP
22256 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22257 (__mul): Reduce iterations for calculating mantissa.
22258
2236d359
SP
22259 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22260 MPTWO.
22261 (__mpranred): Likewise.
22262
7da6d9ed
SP
22263 [BZ #15160]
22264 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22265 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22266
b7688c42
PE
222672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22268
22269 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22270 Define __attribute__.
22271
53a5c423
SP
222722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22273
22274 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22275 unused.
22276 * posix/regex_internal.h (__attribute): Remove.
22277 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22278 (re_string_context_at): Likewise.
22279 (bitset_not): Use __attribute__ and mark function as possibly
22280 unused.
22281 (bitset_merge): Likewise.
22282 (bitset_mask): Likewise.
22283 (re_string_char_size_at): Likewise.
22284 (re_string_wchar_at): Likewise.
22285 (re_string_elem_size_at): Likewise.
22286
60f5a8b5
SP
222872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22288
2a983a2e
SP
22289 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22290 code.
22291 (cc32): Likewise.
22292
e69804d1
SP
22293 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22294 (__acr): Likewise.
22295 (__cpy): Likewise.
22296 (norm): Likewise.
22297 (denorm): Likewise.
22298 (__dbl_mp): Likewise.
22299 (add_magnitudes): Likewise.
22300 (sub_magnitudes): Likewise.
22301 (__mul): Likewise.
22302 (__inv): Likewise.
22303
2f22a1e8
SP
22304 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22305 style.
22306
8930ddc7
SP
22307 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22308 style.
22309
dc60cb11
SP
22310 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22311 code.
22312
60f5a8b5
SP
22313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22314 up changes with default code.
22315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22316 Likewise.
22317
b4d1fd33
AM
223182013-02-24 Allan McRae <allan@archlinux.org>
22319
faf6f8bc
AM
22320 * manual/socket.texi (The Internet Namespace): Order menu items
22321 to match that in the file.
22322
b4d1fd33
AM
22323 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22324 node listing of the info page menu.
22325
2366713d
JM
223262013-02-21 Joseph Myers <joseph@codesourcery.com>
22327
22328 [BZ #13550]
22329 * sysdeps/i386/bp-asm.h: Remove file.
22330 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22331 (PARMS): Do not use macros from bp-asm.h.
22332 (S1): Likewise.
22333 (S2): Likewise.
22334 (SIZE): Likewise.
22335 (__mpn_add_n): Do not use BP_SYM
22336 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22337 "bp-asm.h".
22338 (PARMS): Do not use macros from bp-asm.h.
22339 (S1): Likewise.
22340 (SIZE): Likewise.
22341 (__mpn_addmul_1): Do not use BP_SYM
22342 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22343 "bp-asm.h".
22344 (PARMS): Do not use macros from bp-asm.h.
22345 (SIGMSK): Likewise.
22346 (_setjmp): Likewise. Do not use BP_SYM.
22347 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22348 "bp-asm.h".
22349 (PARMS): Do not use macros from bp-asm.h.
22350 (SIGMSK): Likewise.
22351 (setjmp): Likewise. Do not use BP_SYM.
22352 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22353 "bp-asm.h".
22354 (PARMS): Do not use macros from bp-asm.h.
22355 (__frexp): Do not use BP_SYM.
22356 (frexp): Likewise.
22357 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22358 "bp-asm.h".
22359 (PARMS): Do not use macros from bp-asm.h.
22360 (__frexpf): Do not use BP_SYM.
22361 (frexpf): Likewise.
22362 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22363 "bp-asm.h".
22364 (PARMS): Do not use macros from bp-asm.h.
22365 (__frexpl): Do not use BP_SYM.
22366 (frexpl): Likewise.
22367 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22368 "bp-asm.h".
22369 (PARMS): Do not use macros from bp-asm.h.
22370 (__remquo): Do not use BP_SYM.
22371 (remquo): Likewise.
22372 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22373 "bp-asm.h".
22374 (PARMS): Do not use macros from bp-asm.h.
22375 (__remquof): Do not use BP_SYM.
22376 (remquof): Likewise.
22377 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22378 "bp-asm.h".
22379 (PARMS): Do not use macros from bp-asm.h.
22380 (__remquol): Do not use BP_SYM.
22381 (remquol): Likewise.
22382 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22383 "bp-asm.h".
22384 (PARMS): Do not use macros from bp-asm.h.
22385 (DEST): Likewise.
22386 (SRC): Likewise.
22387 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22388 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22389 "bp-asm.h".
22390 (PARMS): Do not use macros from bp-asm.h.
22391 (strlen): Do not use BP_SYM.
22392 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22393 "bp-asm.h".
22394 (PARMS): Do not use macros from bp-asm.h.
22395 (S1): Likewise.
22396 (S2): Likewise.
22397 (SIZE): Likewise.
22398 (__mpn_add_n): Do not use BP_SYM.
22399 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22400 "bp-asm.h".
22401 (PARMS): Do not use macros from bp-asm.h.
22402 (S1): Likewise.
22403 (SIZE): Likewise.
22404 (__mpn_addmul_1): Do not use BP_SYM.
22405 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22406 weak_alias.
22407 (bzero): Likewise.
22408 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22409 "bp-asm.h".
22410 (PARMS): Do not use macros from bp-asm.h.
22411 (S): Likewise.
22412 (SIZE): Likewise.
22413 (__mpn_lshift): Do not use BP_SYM.
22414 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22415 "bp-asm.h".
22416 (PARMS): Do not use macros from bp-asm.h.
22417 (DEST): Likewise.
22418 (SRC): Likewise.
22419 (LEN): Likewise.
22420 (memcpy): Likewise. Do not use BP_SYM.
22421 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22422 libc_hidden_def and weak_alias.
22423 (mempcpy): Do not use BP_SYM in weak_alias.
22424 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22425 "bp-asm.h".
22426 (PARMS): Do not use macros from bp-asm.h.
22427 (DEST): Likewise.
22428 (LEN): Likewise.
22429 [!BZERO_P] (CHR): Likewise.
22430 (memset): Likewise. Do not use BP_SYM.
22431 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22432 "bp-asm.h".
22433 (PARMS): Do not use macros from bp-asm.h.
22434 (S1): Likewise.
22435 (SIZE): Likewise.
22436 (__mpn_mul_1): Do not use BP_SYM.
22437 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22438 "bp-asm.h".
22439 (PARMS): Do not use macros from bp-asm.h.
22440 (S): Likewise.
22441 (SIZE): Likewise.
22442 (__mpn_rshift): Do not use BP_SYM.
22443 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22444 "bp-asm.h".
22445 (PARMS): Do not use macros from bp-asm.h.
22446 (STR): Likewise.
22447 (CHR): Likewise.
22448 (strchr): Likewise. Do not use BP_SYM.
22449 (index): Do not use BP_SYM in weak_alias.
22450 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22451 "bp-asm.h".
22452 (PARMS): Do not use macros from bp-asm.h.
22453 (DEST): Likewise.
22454 (SRC): Likewise.
22455 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22456 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22457 "bp-asm.h".
22458 (PARMS): Do not use macros from bp-asm.h.
22459 (strlen): Do not use BP_SYM.
22460 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22461 "bp-asm.h".
22462 (PARMS): Do not use macros from bp-asm.h.
22463 (S1): Likewise.
22464 (S2): Likewise.
22465 (SIZE): Likewise.
22466 (__mpn_sub_n): Do not use BP_SYM.
22467 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22468 "bp-asm.h".
22469 (PARMS): Do not use macros from bp-asm.h.
22470 (S1): Likewise.
22471 (SIZE): Likewise.
22472 (__mpn_submul_1): Do not use BP_SYM.
22473 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22474 "bp-asm.h".
22475 (PARMS): Do not use macros from bp-asm.h.
22476 (S1): Likewise.
22477 (S2): Likewise.
22478 (SIZE): Likewise.
22479 (__mpn_add_n): Do not use BP_SYM.
22480 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22481 weak_alias.
22482 (bzero): Likewise.
22483 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22484 "bp-asm.h".
22485 (PARMS): Do not use macros from bp-asm.h.
22486 (BLK2): Likewise.
22487 (LEN): Likewise.
22488 (memcmp): Do not use BP_SYM.
22489 (bcmp): Do not use BP_SYM in weak_alias.
22490 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22491 "bp-asm.h".
22492 (PARMS): Do not use macros from bp-asm.h.
22493 (DEST): Likewise.
22494 (SRC): Likewise.
22495 (LEN): Likewise.
22496 (memcpy): Likewise. Do not use BP_SYM.
22497 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22498 "bp-asm.h".
22499 (PARMS): Do not use macros from bp-asm.h.
22500 (DEST): Likewise.
22501 (SRC): Likewise.
22502 (LEN): Likewise.
22503 (memmove): Likewise. Do not use BP_SYM.
22504 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22505 "bp-asm.h".
22506 (PARMS): Do not use macros from bp-asm.h.
22507 (DEST): Likewise.
22508 (SRC): Likewise.
22509 (LEN): Likewise.
22510 (__mempcpy): Likewise. Do not use BP_SYM.
22511 (mempcpy): Do not use BP_SYM in weak_alias.
22512 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22513 "bp-asm.h".
22514 (PARMS): Do not use macros from bp-asm.h.
22515 (DEST): Likewise.
22516 (LEN): Likewise.
22517 [!BZERO_P] (CHR): Likewise.
22518 (memset): Likewise. Do not use BP_SYM.
22519 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22520 "bp-asm.h".
22521 (PARMS): Do not use macros from bp-asm.h.
22522 (STR2): Likewise.
22523 (strcmp): Do not use BP_SYM.
22524 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22525 "bp-asm.h".
22526 (PARMS): Do not use macros from bp-asm.h.
22527 (STR): Likewise.
22528 (DELIM): Likewise.
22529 [USE_AS_STRTOK_R] (SAVE): Likewise.
22530 (FUNCTION): Likewise. Do not use BP_SYM.
22531 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22532 aliases.
22533 (strtok_r): Likewise.
22534 (__GI___strtok_r): Likewise.
22535 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22536 (PARMS): Do not use macros from bp-asm.h.
22537 (S): Likewise.
22538 (SIZE): Likewise.
22539 (__mpn_lshift): Do not use BP_SYM.
22540 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22541 (PARMS): Do not use macros from bp-asm.h.
22542 (STR): Likewise.
22543 (CHR): Likewise.
22544 (__memchr): Do not use BP_SYM.
22545 (memchr): Do not use BP_SYM in weak_alias.
22546 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22547 (PARMS): Do not use macros from bp-asm.h.
22548 (BLK2): Likewise.
22549 (LEN): Likewise.
22550 (memcmp): Do not use BP_SYM.
22551 (bcmp): Do not use BP_SYM in weak_alias.
22552 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22553 (PARMS): Do not use macros from bp-asm.h.
22554 (S1): Likewise.
22555 (SIZE): Likewise.
22556 (__mpn_mul_1): Do not use BP_SYM.
22557 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22558 "bp-asm.h".
22559 (PARMS): Do not use macros from bp-asm.h.
22560 (STR): Likewise.
22561 (CHR): Likewise.
22562 (__rawmemchr): Do not use BP_SYM.
22563 (rawmemchr): Do not use BP_SYM in weak_alias.
22564 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22565 (PARMS): Do not use macros from bp-asm.h.
22566 (S): Likewise.
22567 (SIZE): Likewise.
22568 (__mpn_rshift): Do not use BP_SYM.
22569 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22570 (PARMS): Do not use macros from bp-asm.h.
22571 (SIGMSK): Likewise.
22572 (__sigsetjmp): Likewise. Do not use BP_SYM.
22573 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22574 (_start): Do not use BP_SYM.
22575 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22576 (PARMS): Do not use macros from bp-asm.h.
22577 (DEST): Likewise.
22578 (SRC): Likewise.
22579 (__stpcpy): Likewise. Do not use BP_SYM.
22580 (stpcpy): Do not use BP_SYM in weak_alias.
22581 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22582 "bp-asm.h".
22583 (PARMS): Do not use macros from bp-asm.h.
22584 (DEST): Likewise.
22585 (SRC): Likewise.
22586 (LEN): Likewise.
22587 (__stpncpy): Likewise. Do not use BP_SYM.
22588 (stpncpy): Do not use BP_SYM in weak_alias.
22589 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22590 (PARMS): Do not use macros from bp-asm.h.
22591 (STR): Likewise.
22592 (CHR): Likewise.
22593 (strchr): Likewise. Do not use BP_SYM.
22594 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22595 "bp-asm.h".
22596 (PARMS): Do not use macros from bp-asm.h.
22597 (STR): Likewise.
22598 (CHR): Likewise.
22599 (__strchrnul): Likewise. Do not use BP_SYM.
22600 (strchrnul): Do not use BP_SYM in weak_alias.
22601 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22602 "bp-asm.h".
22603 (PARMS): Do not use macros from bp-asm.h.
22604 (STOP): Likewise.
22605 (strcspn): Do not use BP_SYM.
22606 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22607 "bp-asm.h".
22608 (PARMS): Do not use macros from bp-asm.h.
22609 (STR): Likewise.
22610 (STOP): Likewise.
22611 (strpbrk): Likewise. Do not use BP_SYM.
22612 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22613 "bp-asm.h".
22614 (PARMS): Do not use macros from bp-asm.h.
22615 (STR): Likewise.
22616 (CHR): Likewise.
22617 (strrchr): Likewise. Do not use BP_SYM.
22618 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22619 (PARMS): Do not use macros from bp-asm.h.
22620 (SKIP): Likewise.
22621 (strspn): Do not use BP_SYM.
22622 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22623 (PARMS): Do not use macros from bp-asm.h.
22624 (STR): Likewise.
22625 (DELIM): Likewise.
22626 (SAVE): Likewise.
22627 (FUNCTION): Likewise. Do not use BP_SYM.
22628 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22629 aliases.
22630 (strtok_r): Likewise.
22631 (__GI___strtok_r): Likewise.
22632 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22633 (PARMS): Do not use macros from bp-asm.h.
22634 (S1): Likewise.
22635 (S2): Likewise.
22636 (SIZE): Likewise.
22637 (__mpn_sub_n): Do not use BP_SYM.
22638 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22639 "bp-asm.h".
22640 (PARMS): Do not use macros from bp-asm.h.
22641 (S1): Likewise.
22642 (SIZE): Likewise.
22643 (__mpn_submul_1): Do not use BP_SYM.
22644 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22645 <bp-sym.h>.
22646 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22647 and <bp-asm.h>.
22648 (PARMS): Do not use macros from bp-asm.h.
22649 (FLAGS): Likewise.
22650 (PTID): Likewise.
22651 (TLS): Likewise.
22652 (CTID): Likewise.
22653 (__clone): Do not use BP_SYM.
22654 (clone): Do not use BP_SYM in weak_alias.
22655 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22656 and <bp-asm.h>.
22657 (PARMS): Do not use macros from bp-asm.h.
22658 (LEN): Likewise.
22659 (__mmap64): Do not use BP_SYM.
22660 (mmap64): Do not use BP_SYM in weak_alias.
22661 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22662 <bp-sym.h> and <bp-asm.h>.
22663 (PARMS): Do not use macros from bp-asm.h.
22664 (__posix_fadvise64_l64): Do not use BP_SYM.
22665 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22666 (PARMS): Do not use macros from bp-asm.h.
22667 (NSOPS): Likewise.
22668 (semtimedop): Do not use BP_SYM.
22669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22670 and <bp-asm.h>.
22671
582a3cff
AM
226722013-02-21 Allan McRae <allan@archlinux.org>
22673
22674 * manual/message.texi (Charset conversion in gettext):
22675 Move @end statement to beginning of line.
22676
bab8a695
SP
226772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22678
80945231
SP
22679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22680 static.
22681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22682 Likewise.
22683
bab8a695
SP
22684 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22685 (denorm): Likewise.
22686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22688
e21d7aa7
AK
226892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22690
22691 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22692 tail-call to the resolved function if pltexit isn't needed.
22693
4c7a4263
SP
226942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22695
22696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22697 or Y being zero as being unlikely.
22698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22699 Likewise.
22700
41f49342
CD
227012013-02-20 Carlos O'Donell <carlos@redhat.com>
22702
22703 * manual/nss.texi (System Databases and Name Service Switch):
22704 Remove frobnicate @pxref.
22705
50022a93
TS
227062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22707
22708 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22709 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22710
08cbd996
PM
227112013-02-20 Petr Machata <pmachata@redhat.com>
22712
22713 * elf/elf.h (R_ARM_TARGET1): New macro.
22714 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22715 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22716 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22717 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22718 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22719 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22720 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22721 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22722 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22723 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22724 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22725 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22726 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22727 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22728 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22729 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22730 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22731 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22732 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22733 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22734 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22735 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22736 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22737 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22738 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22739 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22740 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22741 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22742 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22743 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22744 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22745 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22746 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22747 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22748 (R_ARM_THM_GOT_BREL12): Likewise.
22749 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22750 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22751 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22752 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22753 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22754 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22755 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22756 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22757 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22758
c7b275d6
TS
227592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22760
22761 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22762 __attribute_used__ to __attribute__ ((unused)).
22763
20cd7fb3
SP
227642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22765
22766 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22767 powerpc mpa.c.
22768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22769 comment formatting.
22770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22771
92945b52
JM
227722013-02-19 Joseph Myers <joseph@codesourcery.com>
22773
22774 [BZ #13550]
22775 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22776 Remove macro.
22777 (ENTER): Remove both macro definitions.
22778 (LEAVE): Likewise.
22779 (CHECK_BOUNDS_LOW): Likewise.
22780 (CHECK_BOUNDS_HIGH): Likewise.
22781 (CHECK_BOUNDS_BOTH): Likewise.
22782 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22783 (RETURN_BOUNDED_POINTER): Likewise.
22784 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22785 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22786 (POP_ERRNO_LOCATION_RETURN): Likewise.
22787 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22789 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22790 macros.
22791 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22792 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22793 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22794 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22795 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22796 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22797 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22798 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22799 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22800 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22801 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22802 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22804 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22805 removed macros.
22806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22807 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22808 macros.
22809 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22810 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22811 * sysdeps/i386/i586/memset.S (memset): Likewise.
22812 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22813 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22814 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22815 macros.
22816 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22817 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22818 Change uses of L(2) to L(out).
22819 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22820 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22821 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22822 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22823 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22824 removed macros.
22825 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22826 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22827 macros.
22828 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22829 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22830 (RETURN): Do not use macro LEAVE.
22831 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22832 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22833 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22834 * sysdeps/i386/i686/memset.S (memset): Likewise.
22835 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22836 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22837 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22838 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22839 Likewise.
22840 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22841 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22842 L(1_2) and L(1_3) into L(1).
22843 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22844 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22845 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22846 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22847 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22848 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22849 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22850 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22851 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22852 macros.
22853 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22854 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22855 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22856 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22857 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22858 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22859 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22860 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22861 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22862 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22863 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22864 * sysdeps/i386/strspn.S (strspn): Likewise.
22865 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22866 conditional code.
22867 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22868 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22869 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22870 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22871 L(1_3) into L(1_1).
22872 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22873 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22874 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22875 macros.
22876 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22877
2389741a
JJ
228782013-02-19 Jakub Jelinek <jakub@redhat.com>
22879
22880 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22881 macro.
22882
2016b3cd
SP
228832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22884
e4f22324
SP
22885 * math/atest-exp.c (exp_mpn): Remove ROUND.
22886 * math/atest-exp2.c (exp_mpn): Likewise.
22887 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22888
2016b3cd
SP
22889 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22890 * stdlib/tst-tls-atexit-lib.c: Likewise.
22891 * stdlib/tst-tls-atexit.c: Likewise.
22892
4be9b544
MF
228932013-02-18 Mike Frysinger <vapier@gentoo.org>
22894
22895 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22896 and __attribute_alloc_size__.
22897
2f62b9ee
MF
228982013-02-18 Mike Frysinger <vapier@gentoo.org>
22899
22900 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22901 __attribute_alloc_size__.
22902 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22903 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22904
6ff444c4
MF
229052013-02-18 Mike Frysinger <vapier@gentoo.org>
22906
22907 * include/programs/xmalloc.h: New file.
22908 * catgets/gencat.c: Include it.
22909 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22910 * elf/pldd.c: Likewise.
22911 * iconv/iconv_charmap.c: Likewise.
22912 * iconv/iconvconfig.c: Likewise.
22913 * iconv/strtab.c: Likewise.
22914 * locale/programs/locale.c: Likewise.
22915 * locale/programs/localedef.h: Likewise.
22916 * locale/programs/simple-hash.c: Likewise.
22917 * nscd/nscd.h: Likewise.
22918 * nss/makedb.c: Likewise.
22919 * sysdeps/generic/ldconfig.h: Likewise.
22920
be179c8a
SP
229212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22922
ba384f6e
SP
22923 * Versions.def: Add GLIBC_2.18.
22924 * include/link.h (struct link_map): New member l_tls_dtor_count.
22925 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22926 (__call_tls_dtors): Likewise.
22927 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22928 __cxa_thread_atexit_impl.
22929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22930 Likewise.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22932 Likewise.
22933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22934 Likewise.
22935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22936 Likewise.
22937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22939 Likewise.
22940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22941 Likewise.
22942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22944 Likewise.
22945 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22946 (tests): Add test case tst-tls-atexit.
22947 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22948 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22949 (GLIBC_PRIVATE): Add __call_tls_dtors.
22950 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22951 for libstdc++.
22952 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22953 * stdlib/tst-tls-atexit.c: New test case.
22954 * stdlib/tst-tls-atexit-lib.c: New test case.
22955
ffaa74cf 22956 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22957
be179c8a
SP
22958 * elf/Versions (ld): Add _dl_find_dso_for_object.
22959 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22960 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22961 (dl_open_worker): Use _dl_find_dso_for_object.
22962 * elf/dl-sym.c (do_sym): Likewise.
22963 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22964
f78b5caa
AK
229652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22966
22967 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22968 Syntactic changes only.
22969 (_dl_runtime_profile): Do a tail-call to the resolved function.
22970
29691210
JM
229712013-02-17 Joseph Myers <joseph@codesourcery.com>
22972
22973 [BZ #13550]
22974 * sysdeps/x86_64/bp-asm.h: Remove file.
22975 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22976 <bp-sym.h> and <bp-asm.h>.
22977 (__clone): Do not use BP_SYM.
22978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22979 <bp-sym.h> and <bp-asm.h>.
22980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22981 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22982 "bp-asm.h".
22983 (_setjmp): Do not use BP_SYM.
22984 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22985 "bp-asm.h".
22986 (setjmp): Do not use BP_SYM.
22987 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22988 libc_hidden_def.
22989 (mempcpy): Do not use BP_SYM in weak_alias.
22990 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22991 "bp-asm.h".
22992 (strchr): Do not use BP_SYM.
22993 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22994 "bp-asm.h".
22995 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22996 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22997 (_start): Do not use BP_SYM.
22998 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22999 "bp-asm.h".
23000 (strcat): Do not use BP_SYM.
23001 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23002 "bp-asm.h".
23003 (STRCMP): Do not use BP_SYM.
23004 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23005 "bp-asm.h".
23006 (STRCPY): Do not use BP_SYM.
23007 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23008 "bp-asm.h".
23009 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23010 "bp-asm.h".
23011 (FUNCTION): Do not use BP_SYM.
23012 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23013 weak_alias.
23014 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23015
f238fd19
AJ
230162013-02-17 Andreas Jaeger <aj@suse.de>
23017
23018 * time/Versions: Sort entries.
23019 * string/Versions: Likewise.
23020 * resolv/Versions: Likewise.
23021 * posix/Versions: Likewise.
23022 * iconv/Versions: Likewise.
23023 * elf/Versions: Likewise.
23024 * wcsmbs/Versions: Likewise.
23025
bd07f23c 230262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23027
22af19f9
SP
23028 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23029 loop termination condition.
23030
4709fe76
SP
23031 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23032 variable to calculate EZ.
23033 (__sqr): Likewise.
2d0e0f29
SP
23034
23035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23036 the lower precision input.
23037
daaa7713
JM
230382013-02-15 Joseph Myers <joseph@codesourcery.com>
23039
23040 [BZ #13550]
23041 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23042 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23043 (run-via-rtld-prefix): Do not handle %-bp tests.
23044 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23045 (all-object-suffixes): Remove .ob.
23046 (bppfx): Remove variable.
23047 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23048 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23049 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23050 [$(build-bounded) = yes] (libtype.ob): Likewise.
23051 * Makerules (elide-routines.ob): Remove variable.
23052 (do-tests-clean): Do not handle *-bp.out.
23053 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23054 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23055 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23056 (tests): Do not include $(tests-bp.out).
23057 (xtests): Do not include $(xtests-bp.out).
23058 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23059 [$(build-bounded) = yes] ($(addprefix
23060 $(objpfx),$(binaries-bounded))): Remove rule.
23061 ($(objpfx)%-bp.out): Remove rule.
23062 * config.make.in (build-bounded): Remove variable.
23063 * crypt/Makefile [$(build-bounded) = yes]
23064 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23065 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23066 append to variable.
23067 [$(build-bounded) = yes] (install-lib): Likewise.
23068 [$(build-bounded) = yes] (generated): Likewise.
23069 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23070 Remove rule.
23071 * intl/Makefile [$(build-bounded) = yes]
23072 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23073 * math/Makefile [$(build-bounded) = yes]
23074 ($(tests:%=$(objpfx)%-bp): Likewise.
23075 * misc/Makefile [$(build-bounded) = yes]
23076 ($(objpfx)tst-tsearch-bp): Likewise.
23077 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23078 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23079 Remove dependency.
23080 * string/Makefile (o-objects.ob): Remove variable.
23081 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23082 (CFLAGS-.ob): Remove variable.
23083 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23084 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23085 both definitions of variable.
23086 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23087 (ASFLAGS-.ob): Remove variable.
23088
e97ed6dd
JM
230892013-02-14 Joseph Myers <joseph@codesourcery.com>
23090
2bdd4ca6
JM
23091 [BZ #13550]
23092 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23093 Remove __BOUNDED_POINTERS__ from condition.
23094 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23095 * string/bits/string2.h [!__NO_STRING_INLINES &&
23096 !__BOUNDED_POINTERS__]: Likewise.
23097 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23098 Likewise.
23099 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23100 Remove conditional code.
23101 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23102 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23103 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23104 condition.
23105
e97ed6dd
JM
23106 [BZ #13550]
23107 * csu/libc-start.c: Do not include <bp-sym.h>.
23108 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23109 * elf/dl-open.c: Do not include <bp-sym.h>.
23110 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23111 * math/fegetenv.c: Do not include <bp-sym.h>.
23112 (fegetenv): Do not use BP_SYM in versioned symbols.
23113 * nptl/sysdeps/pthread/bits/libc-lockP.h
23114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23115 <bp-sym.h>.
23116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23117 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23119 (__pthread_mutex_destroy): Likewise.
23120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23121 (__pthread_mutex_lock): Likewise.
23122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23123 (__pthread_mutex_trylock): Likewise.
23124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23125 (__pthread_mutex_unlock): Likewise.
23126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23127 (__pthread_mutexattr_init): Likewise.
23128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23129 (__pthread_mutexattr_destroy): Likewise.
23130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23131 (__pthread_mutexattr_settype): Likewise.
23132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23133 (__pthread_rwlock_init): Likewise.
23134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23135 (__pthread_rwlock_destroy): Likewise.
23136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23137 (__pthread_rwlock_rdlock): Likewise.
23138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23139 (__pthread_rwlock_tryrdlock): Likewise.
23140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23141 (__pthread_rwlock_wrlock): Likewise.
23142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23143 (__pthread_rwlock_trywrlock): Likewise.
23144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23145 (__pthread_rwlock_unlock): Likewise.
23146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23147 (__pthread_key_create): Likewise.
23148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23149 (__pthread_setspecific): Likewise.
23150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23151 (__pthread_getspecific): Likewise.
23152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23153 Likewise.
23154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23155 (_pthread_cleanup_push_defer): Likewise.
23156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23157 (_pthread_cleanup_pop_restore): Likewise.
23158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23159 (pthread_setcancelstate): Likewise.
23160 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23161 <bp-sym.h>.
23162 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23163 (memchr): Do not use BP_SYM in weak_alias.
23164 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23165 (fegetenv): Do not use BP_SYM in versioned symbols.
23166 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23167 (fesetenv): Do not use BP_SYM in versioned symbols.
23168 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23169 (feupdateenv): Do not use BP_SYM in versioned symbols.
23170 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23171 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23172 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23173 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23174 (open64): Do not use BP_SYM in weak_alias.
23175 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23176 (fegetenv): Do not use BP_SYM in versioned symbols.
23177 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23178 (fesetenv): Do not use BP_SYM in versioned symbols.
23179 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23180 (feupdateenv): Do not use BP_SYM in versioned symbols.
23181 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23182 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23183 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23184 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23185 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23186 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23187 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23188 <bp-sym.h>.
23189 (__libc_start_main): Do not use BP_SYM.
23190
d6752ccd
SP
231912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23192
cb57ce60
SP
23193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23194 redundant return line.
23195 (norm): Likewise.
23196 (denorm): Likewise.
23197 (dbl_mp): Likewise.
23198 (sub_magnitudes): Likewise.
23199 (__add): Likewise.
23200 (__sub): Likewise.
23201 (__mul): Likewise.
23202 (__inv): Likewise.
23203 (__dvd): Likewise.
23204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23205 (norm): Likewise.
23206 (denorm): Likewise.
23207 (dbl_mp): Likewise.
23208 (sub_magnitudes): Likewise.
23209 (__add): Likewise.
23210 (__sub): Likewise.
23211 (__mul): Likewise.
23212 (__inv): Likewise.
23213 (__dvd): Likewise.
23214
f414520d
SP
23215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23216 instead of __mul.
23217 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23218 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23219 (cc32): Likewise.
23220
d6752ccd
SP
23221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23222 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23224 of __mul for squares.
23225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23226 function
23227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23228 Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23230 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23231
70d9946a
JM
232322013-02-13 Joseph Myers <joseph@codesourcery.com>
23233
23234 [BZ #13550]
23235 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23236 code.
23237 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23238 prototype or function definition. Rename ubp_* variables and
23239 parameters. Remove argv definitions conditional on
23240 [__BOUNDED_POINTERS__].
23241 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23242 * elf/dl-runtime.c (_dl_fixup): Likewise.
23243 * include/set-hooks.h (RUN_HOOK): Likewise.
23244 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23245 definition.
23246 * string/strcpy.c (strcpy): Do not use __unbounded.
23247 * sysdeps/generic/frame.h (struct layout): Likewise.
23248 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23249 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23250 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23251 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23252 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23253 (__backtrace): Likewise.
23254 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23255 use __ptrvalue.
23256 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23257 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23258 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23259 Likewise.
23260 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23261 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23263 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23264 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23265 Do not use __unbounded.
23266 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23267 Rename __unboundedrlimits parameter to rlimits in prototype.
23268 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23269 Do not use __unbounded.
23270 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23271 not use __ptrvalue.
23272 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23273 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23274 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23275 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23276 __ptrvalue or __unbounded.
23277 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23278 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23279 use __unbounded.
23280 (__new_msgctl): Do not use __ptrvalue.
23281 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23282 __unbounded.
23283 (__libc_msgrcv): Do not use __ptrvalue.
23284 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23285 startup_info): Do not use __unbounded.
23286 (__libc_start_main): Likewise. Rename ubp_* variables and
23287 parameters. Remove argv definitions conditional on
23288 [__BOUNDED_POINTERS__].
23289 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23290 __ptrvalue.
23291 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23292 use __unbounded.
23293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23294 or __ptrvalue.
23295 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23296 use __unbounded.
23297 (__new_shmctl): Do not use __ptrvalue.
23298 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23299 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23300 Likewise.
23301 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23303 (__libc_sigaction): Likewise.
23304 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23305 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23306 Likewise.
23307 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23308
cc7834d6
OB
233092013-02-13 Ondřej Bílka <neleai@seznam.cz>
23310
ffb1ec7b 23311 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23312
23313 * string/mempcpy.c: Implement by calling memcpy.
23314
bdf02814
SP
233152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23316
c2af38aa
SP
23317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23318
4e92d59e
SP
23319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23320 evaluation.
23321
909279a5
SP
23322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23323 values in the mantissa.
23324
bdf02814
SP
23325 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23326 minimize writes to Z.
23327 (sub_magnitudes): Simplify code a bit.
23328
cd525923
RM
233292013-02-12 Roland McGrath <roland@hack.frob.com>
23330
23331 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23332 from the message. The linker prefixes all warnings with that already.
23333
7e2f0d2d
AS
233342013-02-12 Andreas Schwab <schwab@suse.de>
23335
a445af0b
AS
23336 [BZ #15078]
23337 * posix/regexec.c (extend_buffers): Add parameter min_len.
23338 (check_matching): Pass minimum needed length.
23339 (clean_state_log_if_needed): Likewise.
23340 (get_subexp): Likewise.
23341 * posix/Makefile (tests): Add bug-regex34.
23342 (bug-regex34-ENV): Define.
23343 * posix/bug-regex34.c: New file.
23344
7e2f0d2d
AS
23345 [BZ #11561]
23346 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23347 elements compare against the byte sequence of it, not its name.
23348 * posix/Makefile (tests): Add bug-regex35.
23349 (bug-regex35-ENV): Define.
23350 * posix/bug-regex35.c: New file.
23351
a175b684
TV
233522013-02-11 Tom de Vries <tom@codesourcery.com>
23353
23354 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23355 comment.
23356 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23357 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23358 (CHECK_EOL): Add undef.
23359
310998fe 233602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23361
23362 * bits/stdlib-bsearch.h: New file.
23363 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23364 * stdlib/stdlib.h: Likewise.
41eda41d 23365
8ded91fb
RM
233662013-02-11 Roland McGrath <roland@hack.frob.com>
23367
23368 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23369 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23370 declaration.
23371 * manual/search.texi (Array Search Function): Add missing const in
23372 lfind prototype.
23373 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23374 declaration to use rlim_t.
23375 (Basic Scheduling Functions): Remove erroneous const from
23376 sched_getparam prototype. Remove erroneous * from
23377 sched_get_priority_max and sched_get_priority_min prototypes.
23378 (Resource Usage): Fix summary @comment on vtimes to refer to
23379 sys/vtimes.h rather than vtimes.h.
23380 Add missing *s in vtimes prototype.
23381 (Limits on Resources): Fix ulimit prototype to return long int.
23382 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23383 prototypes to use long int rather than double.
23384 (BSD Random): Fix initstate and setstate to use char *, not void *.
23385 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23386 prototype to make second argument 'struct aiocb64 *const[]'.
23387 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23388 (Status of AIO Operations): Remove erroneous const in aio_return and
23389 aio_return64 prototypes.
23390 (Synchronizing I/O): Fix sync prototype to return void.
23391 * manual/startup.texi (Suboptions): Remove an erroneous const in
23392 getsubopt prototype.
23393 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23394 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23395 use size_t rather than int.
23396 (Scanning All Users): Likewise for getpwent_r.
23397 (Setting Groups): Add missing const to setgroups prototype.
23398 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23399 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23400 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23401 'const void *' rather than 'const char *'.
23402 (Host Address Functions): Likewise for inet_ntop.
23403 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23404 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23405 ssize_t for return value.
23406 (Sending Data): Likewise for send, sendto, sendmsg.
23407 (Socket Option Functions): Add a missing const in setsockopt prototype.
23408 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23409 use wchar_t for the argument.
23410 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23411 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23412 take no arguments.
23413 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23414 double/float/long double for second argument.
23415 Fix return types of significand, significandf, significandl.
23416 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23417 argument in fchmod prototype.
23418 (File Owner): Use uid_t and gid_t in fchown prototype.
23419 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23420 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23421 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23422 use 'const struct dirent **' as argument types to CMP function pointer
23423 argument.
23424 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23425 (File Times): Fix summary magic @comment for struct utimbuf and utime
23426 to refer to utime.h, not time.h.
23427 * manual/string.texi (Argz Functions): Add missing const in
23428 argz_extract and argz_next prototypes.
23429 (Finding Tokens in a String): Likewise for basename.
23430 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23431 (Copying and Concatenation): Fix typo in wmemmove prototype.
23432 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23433 (Signal Stack): Remove erroneous const in sigstack prototype.
23434 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23435 prototype.
23436 (Simple Calendar Time): Likewise for stime.
23437 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23438 prototype.
23439 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23440 say sys/sysctl.h instead.
23441 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23442 and vsyslog prototypes.
23443
fe77fe6d
TV
234442013-02-11 Tom de Vries <tom@codesourcery.com>
23445
23446 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23447 Remove.
23448
3a09b620
RM
234492013-02-11 Roland McGrath <roland@hack.frob.com>
23450
23451 * misc/sys/mman.h: Fix typo in mremap comment.
23452
550a0b89
RM
234532013-02-08 Roland McGrath <roland@hack.frob.com>
23454
23455 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23456 the '\0' terminator.
23457
a2da1673
JM
234582013-02-08 Joseph Myers <joseph@codesourcery.com>
23459
23460 [BZ #13550]
23461 * debug/segfault.c: Don't include <bp-checks.h>.
23462 * sysdeps/generic/bp-checks.h: Remove file.
23463 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23464 (__GETDENTS): Don't use CHECK_N.
23465 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23466 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23467 (__getgroups): Don't use CHECK_N.
23468 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23469 (setgroups): Don't use CHECK_N.
23470 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23471 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23472 (__libc_msgrcv): Don't use CHECK_N.
23473 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23474 (__libc_msgsnd): Don't use CHECK_N.
23475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23476 <bp-checks.h>.
23477 (__libc_pread): Don't use CHECK_N.
23478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23479 include <bp-checks.h>.
23480 (__libc_pread64): Don't use CHECK_N.
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23482 include <bp-checks.h>.
23483 (__libc_pwrite): Don't use CHECK_N.
23484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23485 include <bp-checks.h>.
23486 (__libc_pwrite64): Don't use CHECK_N.
23487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23488 <bp-checks.h>.
23489 (__libc_pread): Don't use CHECK_N.
23490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23491 include <bp-checks.h>.
23492 (__libc_pread64): Don't use CHECK_N.
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23494 include <bp-checks.h>.
23495 (__libc_pwrite): Don't use CHECK_N.
23496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23497 include <bp-checks.h>.
23498 (__libc_pwrite64): Don't use CHECK_N.
23499 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23500 (do_pread): Don't use CHECK_N.
23501 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23502 (do_pread64): Don't use CHECK_N.
23503 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23504 (do_pwrite): Don't use CHECK_N.
23505 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23506 (do_pwrite64): Don't use CHECK_N.
23507 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23508 (__libc_readv): Don't use CHECK_N.
23509 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23510 (semop): Don't use CHECK_N.
23511 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23512 <bp-checks.h>.
23513 (semtimedop): Don't use CHECK_N.
23514 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23515 (__libc_pread): Don't use CHECK_N.
23516 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23517 <bp-checks.h>.
23518 (__libc_pread64): Don't use CHECK_N.
23519 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23520 <bp-checks.h>.
23521 (__libc_pwrite): Don't use CHECK_N.
23522 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23523 <bp-checks.h>.
23524 (__libc_pwrite64): Don't use CHECK_N.
23525 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23526 <bp-checks.h>.
23527 (__libc_msgrcv): Don't use CHECK_N.
23528 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23529 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23530 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23531 (__libc_writev): Don't use CHECK_N.
23532
b84660a8
RM
235332013-02-08 Roland McGrath <roland@hack.frob.com>
23534
7f3e75f8
RM
23535 * string/strcpy.c: Removed unused variable.
23536
b84660a8
RM
23537 * Makeconfig (+sysdep-includes): Define with := rather than =.
23538 Use an existing include/ subdir of each sysdeps dir before it.
23539
471514d3
CD
235402013-02-08 Carlos O'Donell <carlos@redhat.com>
23541
23542 * nscd/connection.c (register_traced_file): Comment function.
23543 [HAVE_INOTIFY] (union __inev): Define.
23544 [HAVE_INOTIFY] (inotify_check_files): New function.
23545 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23546 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23547 clear_db_cache.
23548 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23549
b2d3c3be
CD
235502013-02-08 Carlos O'Donell <carlos@redhat.com>
23551
23552 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23553 loaded if not already and that a failure is permanent.
23554
b39949d2
CD
235552013-02-08 Carlos O'Donell <carlos@redhat.com>
23556
ddacd1db 23557 [BZ #15006]
b39949d2
CD
23558 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23559 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23560
b2c9eff4
JM
235612013-02-08 Joseph Myers <joseph@codesourcery.com>
23562
f3aae3f3
JM
23563 [BZ #13550]
23564 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23565 (CHECK_1_NULL_OK): Likewise.
23566 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23567 (__fxstat): Do not use CHECK_1.
23568 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23569 <bp-checks.h>.
23570 (___fxstat64): Do not use CHECK_1.
23571 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23572 <bp-checks.h>.
23573 (__fxstatat): Do not use CHECK_1.
23574 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23575 <bp-checks.h>.
23576 (__fxstatat64): Do not use CHECK_1.
23577 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23578 <bp-checks.h>.
23579 (__fxstat): Do not use CHECK_1.
23580 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23581 <bp-checks.h>.
23582 (__fxstatat): Do not use CHECK_1.
23583 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23584 <bp-checks.h>.
23585 (__getresgid): Do not use CHECK_1.
23586 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23587 <bp-checks.h>.
23588 (__getresuid): Do not use CHECK_1.
23589 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23590 <bp-checks.h>.
23591 (__lxstat): Do not use CHECK_1.
23592 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23593 <bp-checks.h>.
23594 (__old_msgctl): Do not use CHECK_1.
23595 (__new_msgctl): Likewise.
23596 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23597 <bp-checks.h>.
23598 (__new_setrlimit): Do not use CHECK_1.
23599 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23600 <bp-checks.h>.
23601 (__old_shmctl): Do not use CHECK_1.
23602 (__new_shmctl): Likewise.
23603 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23604 <bp-checks.h>.
23605 (__xstat): Do not use CHECK_1.
23606 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23607 (__lxstat): Do not use CHECK_1.
23608 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23609 <bp-checks.h>.
23610 (___lxstat64): Do not use CHECK_1.
23611 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23612 (__old_msgctl): Do not use CHECK_1.
23613 (__new_msgctl): Likewise.
23614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23615 <bp-checks.h>.
23616 (__gettimeofday): Do not use CHECK_1.
23617 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23618 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23619 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23620 <bp-checks.h>.
23621 (__gettimeofday): Do not use CHECK_1.
23622 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23623 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23624 (__new_shmctl): Do not use CHECK_1.
23625 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23626 <bp-checks.h>.
23627 (do_sigtimedwait): Do not use CHECK_1.
23628 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23629 <bp-checks.h>.
23630 (do_sigwaitinfo): Do not use CHECK_1.
23631 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23632 <bp-checks.h>.
23633 (msgctl): Do not use CHECK_1.
23634 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23635 <bp-checks.h>.
23636 (shmctl): Do not use CHECK_1.
23637 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23638 (ustat): Do not use CHECK_1.
23639 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23640 <bp-checks.h>.
23641 (__fxstat): Do not use CHECK_1.
23642 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23643 <bp-checks.h>.
23644 (__fxstatat): Do not use CHECK_1.
23645 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23646 <bp-checks.h>.
23647 (__lxstat): Do not use CHECK_1.
23648 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23649 <bp-checks.h>.
23650 (__xstat): Do not use CHECK_1.
23651 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23652 (__xstat): Do not use CHECK_1.
23653 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23654 (___xstat64): Do not use CHECK_1.
23655
b2c9eff4
JM
23656 [BZ #13550]
23657 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23658 definitions.
23659 (CHECK_BOUNDS_HIGH): Likewise.
23660 * string/strcpy.c: Do not include <bp-checks.h>.
23661 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23662
f1d70dad
RM
236632013-02-07 Roland McGrath <roland@hack.frob.com>
23664
23665 * nscd/nscd-client.h (__nscd_drop_map_ref):
23666 Add __attribute__ ((unused)).
23667 * nis/nss-nisplus.h (niserr2nss): Likewise.
23668
23669 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23670 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23671
23672 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23673 Remove inline keyword.
23674 * include/rounding-mode.h (round_away): Likewise.
23675 * libio/wfileops.c (adjust_wide_data): Likewise.
23676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23677 (__m128i_strloadu_tolower): Likewise.
23678 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23679 (__m128i_strloadu_tolower): Likewise.
23680 * time/mktime.c (ydhms_diff): Likewise.
23681 * locale/elem-hash.h (elem_hash): Likewise.
23682 * locale/setlocale.c (setdata): Likewise.
23683 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23684 (re_string_wchar_at): Likewise.
23685 (bitset_not, bitset_merge, bitset_mask): Likewise.
23686 [!(__GNUC__ > 3)] (inline): Remove macro.
23687 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23688 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23689 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23690 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23691 * string/memcmp.c (memcmp_bytes): Likewise.
23692 * locale/programs/locarchive.c (compute_hashval): Likewise.
23693 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23694 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23695 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23696 * nss/getent.c (print_rpc, print_protocols): Likewise.
23697 (print_passwd, print_group, print_aliases): Likewise.
23698 * nis/nss-nisplus.h (niserr2nss): Likewise.
23699 * nscd/connections.c (restart_p): Likewise.
23700 Change return type to bool.
23701
eab55bfb
RM
237022013-02-05 Roland McGrath <roland@hack.frob.com>
23703
7bd642f5
RM
23704 * Makeconfig (all-Depend-files): Add existing
23705 $(sorted-subdirs:=/Depend) files.
23706 (all-subdirs): Remove nss.
23707 * sysdeps/unix/inet/Subdirs: Add it here instead.
23708 * hesiod/Depend: New file.
23709
573c29b2
RM
23710 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23711 instead of calling alloca.
23712
b2e25af0
RM
23713 * io/lseek.c (__lseek): Rename to __libc_lseek.
23714 Define __lseek as an alias.
23715
eab55bfb
RM
23716 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23717
9a0d1941
CD
237182013-02-04 Carlos O'Donell <carlos@redhat.com>
23719
23720 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23721 else clause and remove check for non-standard endianness.
23722
b83bbec4
DM
237232013-02-04 David S. Miller <davem@davemloft.net>
23724
23725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23726
6277fdab
JM
237272013-02-04 Joseph Myers <joseph@codesourcery.com>
23728
23729 [BZ #13550]
23730 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23731 (__ubp_memchr): Remove prototype.
23732 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23733 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23734 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23735 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23736 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23737 Remove alias.
23738 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23739 (__ubp_memchr): Likewise.
23740 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23741 (__ubp_memchr): Likewise.
23742 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23743 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23744 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23745 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23746 CHECK_STRING.
23747 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23748 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23749 (__getcwd): Do not use CHECK_STRING.
23750 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23751 <bp-checks.h>.
23752 (__real_chown): Do not use CHECK_STRING.
23753 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23754 <bp-checks.h>.
23755 (fchownat): Do not use CHECK_STRING.
23756 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23757 CHECK_STRING.
23758 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23759 <bp-checks.h>.
23760 (__lchown): Do not use CHECK_STRING.
23761 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23762 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23763 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23764 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23766 include <bp-checks.h>.
23767 (truncate64): Do not use CHECK_STRING.
23768 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23769 <bp-checks.h>.
23770 (__real_chown): Do not use CHECK_STRING.
23771 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23772 <bp-checks.h>.
23773 (__lchown): Do not use CHECK_STRING.
23774 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23775 <bp-checks.h>.
23776 (__chown): Do not use CHECK_STRING.
23777 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23778 <bp-checks.h>.
23779 (truncate64): Do not use CHECK_STRING.
23780 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23781 Likewise.
23782 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23783 (__xmknod): Do not use CHECK_STRING.
23784 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23785 <bp-checks.h>.
23786 (__xmknodat): Do not use CHECK_STRING.
23787 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23788 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23789
903ae060
AS
237902013-02-04 Andreas Schwab <schwab@suse.de>
23791
23792 [BZ #14142]
23793 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23794 * include/netdb.h: Likewise for h_errno.
23795 * elf/tst-stackguard1.c: Include <tls.h>.
23796
542f9466
JK
237972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23798
23799 * elf/link.h (struct link_map): Extend the l_addr comment.
23800 * include/link.h (struct link_map): Likewise.
23801
e782a927
JM
238022013-02-01 Joseph Myers <joseph@codesourcery.com>
23803
23804 [BZ #13550]
23805 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23806 (BOUNDED_1): Remove macro.
23807 * debug/backtrace.c: Don't include <bp-checks.h>.
23808 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23809 (__backtrace): Likewise.
23810 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23811 <bp-checks.h>.
23812 (__backtrace): Don't use BOUNDED_1.
23813 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23814 <bp-checks.h>.
23815 (__backtrace): Don't use BOUNDED_1.
23816 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23817 (__backtrace): Don't use BOUNDED_1.
23818 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23819 (shmat): Don't use BOUNDED_N.
23820
8cf28c5e
JM
238212013-01-31 Joseph Myers <joseph@codesourcery.com>
23822
3a7ac8a0
JM
23823 [BZ #13550]
23824 * sysdeps/generic/bp-start.h: Remove file.
23825 * csu/libc-start.c: Don't include <bp-start.h>.
23826 (LIBC_START_MAIN): Set up __environ directly instead of using
23827 INIT_ARGV_and_ENVIRON.
23828 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23829 <bp-start.h>.
23830
f3499f95
JM
23831 [BZ #13550]
23832 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23833 definitions.
23834 (CHECK_FCNTL): Likewise.
23835 (CHECK_N_PAGES): Likewise.
23836
32a45bea
JM
23837 [BZ #13550]
23838 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23839 definitions.
23840 (CHECK_SIGSET_NULL_OK): Likewise.
23841 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23842 <bp-checks.h>.
23843 (sigpending): Don't use CHECK_SIGSET.
23844 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23845 <bp-checks.h>.
23846 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23847 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23848 <bp-checks.h>.
23849 (do_sigsuspend): Don't use CHECK_SIGSET.
23850 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23851 use CHECK_SIGSET.
23852 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23853 (do_sigwait): Don't use CHECK_SIGSET.
23854 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23855 use CHECK_SIGSET.
23856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23857 include <bp-checks.h>.
23858 (sigpending): Don't use CHECK_SIGSET.
23859 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23860 include <bp-checks.h>.
23861 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23862 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23863 <bp-checks.h>.
23864 (sigpending): Don't use CHECK_SIGSET.
23865 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23866 <bp-checks.h>.
23867 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23868
2e8a5c8c
JM
23869 [BZ #13550]
23870 * sysdeps/generic/bp-semctl.h: Remove file.
23871 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23872 <bp-checks.h> and <bp-semctl.h>.
23873 (__old_semctl): Don't use CHECK_SEMCTL.
23874 (__new_semctl): Likewise.
23875 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23876 and <bp-semctl.h>.
23877 (__old_semctl): Don't use CHECK_SEMCTL.
23878 (__new_semctl): Likewise.
23879 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23880 <bp-checks.h> and <bp-semctl.h>.
23881 (__old_semctl): Don't use CHECK_SEMCTL.
23882 (__new_semctl): Likewise.
23883 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23884 <bp-checks.h> and <bp-semctl.h>.
23885 (semctl): Don't use CHECK_SEMCTL.
23886
c2d54929
JM
23887 [BZ #13550]
23888 * Makerules (elide-bp-thunks): Remove variable.
23889 (elide-routines.oS): Don't use $(elide-bp-thunks).
23890 (elide-routines.os): Likewise.
23891 (elide-routines.o): Likewise.
23892 (elide-routines.op): Likewise.
23893 (elide-routines.og): Likewise.
23894 (objects): Don't use $(bp-thunks).
23895 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23896 include.
23897 (common-generated): Do not add s-proto-bp.d.
23898 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23899 (int): Likewise.
23900 (typ): Likewise.
23901 Do not generate makefile rules for bounded-pointer thunks.
23902 * sysdeps/generic/bp-thunks.h: Remove file.
23903 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23904 * sysdeps/unix/s-proto-bp.S: Likewise.
23905
8cf28c5e
JM
23906 [BZ #15062]
23907 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23908 parts of result separately when argument is not close to line from
23909 -i to i and one part of argument is small.
23910 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23911 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23912 * math/libm-test.inc (cacos_test): Add more tests.
23913 (casin_test): Likewise.
23914 (casinh_test): Likewise.
23915 * sysdeps/i386/fpu/libm-test-ulps: Update.
23916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23917
c4e33b8d
DM
239182013-01-31 David S. Miller <davem@davemloft.net>
23919
23920 * po/de.po: Update from translation team.
23921
3b60b421
MK
239222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23923
23924 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23925
bb931195
TS
239262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23927
b5a5da23
TS
23928 * configure.in (_AC_PROG_CC_C89): New definition.
23929 * configure: Regenerate.
23930
bb931195
TS
23931 * configure.in (AC_PROG_CPP): New definition.
23932 * configure: Regenerate.
23933
8c53a12c
JM
239342013-01-23 Joseph Myers <joseph@codesourcery.com>
23935
23936 * debug/tst-backtrace.h: New file.
23937 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23938 (ret): Remove variable.
23939 (x): Likewise.
23940 (FAIL): Remove macro.
23941 (NO_INLINE): Likewise.
23942 (fn1): Use match function instead of strstr.
23943 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23944 (ret): Remove variable.
23945 (x): Likewise.
23946 (FAIL): Remove macro.
23947 (NO_INLINE): Likewise.
23948 (fn): Use match function instead of strstr.
23949 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23950 (ret): Remove variable.
23951 (x): Likewise.
23952 (FAIL): Remove macro.
23953 (NO_INLINE): Likewise.
23954 (handle_signal): Use match function instead of strstr.
23955 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23956 (ret): Remove variable.
23957 (x): Likewise.
23958 (FAIL): Remove macro.
23959 (NO_INLINE): Likewise.
23960 (handle_signal): Use match function instead of strstr.
23961
4858fa2a
RM
239622013-01-23 Roland McGrath <roland@hack.frob.com>
23963
23964 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23965
bae8e7f5
DM
239662013-01-23 David S. Miller <davem@davemloft.net>
23967
23968 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23969 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23970 argument of CAS if possible.
23971 * sysdeps/sparc/sparc64/bits/atomic.h
23972 (__arch_compare_and_exchange_val_32_acq): Likewise.
23973 (__arch_compare_and_exchange_val_64_acq): Likewise.
23974
9cbbc4ae
PT
239752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23976
23977 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23978 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23979 Include <limits.h>.
67b3f58c 23980 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23981
5655a0b5
AC
239822013-01-23 Adam Conrad <adconrad@0c3.net>
23983
23984 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23985 (LDFLAGS-tst-array5): Likewise.
23986
052aff95
JM
239872013-01-23 Joseph Myers <joseph@codesourcery.com>
23988
23989 [BZ #15036]
23990 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23991 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23992 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23993 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23994
7c1e01aa
DM
239952013-01-21 David S. Miller <davem@davemloft.net>
23996
23997 * sysdeps/sparc/backtrace.c: New file.
23998 * sysdeps/sparc/sparc32/backtrace.h: New file.
23999 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24000 * sysdeps/sparc/sparc64/backtrace.h: New file.
24001 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24002 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24003 -funwind-tables.
24004
ab087e0a
AS
240052013-01-21 Andreas Schwab <schwab@suse.de>
24006
24007 [BZ #15020]
24008 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24009 closed its stdout.
24010
ed689c2f
AS
240112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24012
24013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24014 "mpa2.h".
24015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24016
31d470ac
JM
240172013-01-18 Joseph Myers <joseph@codesourcery.com>
24018 Mark Mitchell <mark@codesourcery.com>
24019 Tom de Vries <tom@codesourcery.com>
24020 Paul Pluzhnikov <ppluzhnikov@google.com>
24021
24022 * debug/tst-backtrace2.c: New file.
24023 * debug/tst-backtrace3.c: Likewise.
24024 * debug/tst-backtrace4.c: Likewise.
24025 * debug/tst-backtrace5.c: Likewise.
24026 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24027 (CFLAGS-tst-backtrace3.c): Likewise.
24028 (CFLAGS-tst-backtrace4.c): Likewise.
24029 (CFLAGS-tst-backtrace5.c): Likewise.
24030 (LDFLAGS-tst-backtrace2): Likewise.
24031 (LDFLAGS-tst-backtrace3): Likewise.
24032 (LDFLAGS-tst-backtrace4): Likewise.
24033 (LDFLAGS-tst-backtrace5): Likewise.
24034 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24035 tst-backtrace4 and tst-backtrace5.
24036
90567f30 240372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24038 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24039
24040 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24041 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24042 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24043 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24045 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24046 "+r" and remove output regs list as redundant. Add explicit inline
24047 asm to specify register of return val to work around compiler codegen
24048 bug. Remove (int) cast on return value. Add return type parameter to
24049 use in macro so that this macro does not truncate return value for
24050 64-bit values.
24051 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24052 pass to INTERNAL_VSYSCALL_NCS.
24053 (INLINE_VSYSCALL): Add 'long int' as return type to
24054 INTERNAL_VSYSCALL_NCS macro invocation.
24055 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24056 INTERNAL_VSYSCALL_NCS macro invocation.
24057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24058
d3b9ea61
SP
240592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24060
0b57daeb
SP
24061 [BZ #14496]
24062 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24063 Fix application of SIMD FP exception mask.
24064
caa99d06
SP
24065 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24066 mp_no from a power of two.
24067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24068 __mpexp_twomm1. Use __pow_mp.
24069
d3b9ea61
SP
24070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24071 multiplication.
24072
1dbaee3c
DM
240732013-01-17 David S. Miller <davem@davemloft.net>
24074
24075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24076
728d7b43
JM
240772013-01-17 Joseph Myers <joseph@codesourcery.com>
24078
24079 [BZ #15023]
24080 * include/complex.h: Condition contents on [!_COMPLEX_H].
24081 (__kernel_casinhf): New prototype.
24082 (__kernel_casinh): Likewise.
24083 (__kernel_casinhl): Likewise.
24084 * math/Makefile (libm_calls): Add k_casinh.
24085 * math/k_casinh.c: New file.
24086 * math/k_casinhf.c: Likewise.
24087 * math/k_casinhl.c: Likewise.
24088 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24089 finite nonzero arguments.
24090 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24091 finite nonzero arguments.
24092 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24093 finite nonzero arguments.
24094 * math/s_casinh.c: Do not include <float.h>.
24095 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24096 * math/s_casinhf.c: Do not include <float.h>.
24097 (__casinhf): Move code for finite nonzero arguments to
24098 k_casinhf.c.
24099 * math/s_casinhl.c: Do not include <float.h>.
24100 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24101 redefine.
24102 (__casinhl): Move code for finite nonzero arguments to
24103 k_casinhl.c.
24104 * math/libm-test.inc (cacos_test): Add more tests.
24105 * sysdeps/i386/fpu/libm-test-ulps: Update.
24106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24107
2a26ef3a
PT
241082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24109
24110 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24111 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24112 [!HAVE_MREMAP]: Remove [defined linux] case.
24113 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24114
a897655d
SP
241152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24116
24117 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24118
881ebe89 241192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24120
24121 * elf/elf.h (R_386_SIZE32): New relocation.
24122 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24123 R_386_SIZE32.
24124 (elf_machine_rela): Likewise.
24125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24126 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24127
59981e9b
JM
241282013-01-17 Joseph Myers <joseph@codesourcery.com>
24129
24130 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24131 (FP_FAST_FMA): Do not define.
24132 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24133 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24134 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24135 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24136 !_SOFT_FLOAT]: Likewise.
24137 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24138 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24139 value.
24140 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24141 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24143 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24144 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24145 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24146 file.
24147
cfa8054f
AS
241482013-01-16 Andreas Schwab <schwab@suse.de>
24149
24150 [BZ #14327]
24151 * include/stdlib.h (__mktemp): Add declaration.
24152 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24153 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24154
dd930cc5
SP
241552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24156
881ebe89
SP
24157 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24158 definitions.
24159 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24160 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24161 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24162 definitions here.
24163 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24164 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24165 definitions.
24166 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24167 and ONE.
24168 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24169 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24170 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24171 definitions.
24172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24173 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24174 definitions.
24175 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24176
dd930cc5
SP
24177 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24178
c19a9f89
DM
241792013-01-15 David S. Miller <davem@davemloft.net>
24180
1aa61767
DM
24181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24182 trunc{,f} to libm-sysdep_routes.
24183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24185 file.
24186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24188 file.
24189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24190 file.
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24193 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24194 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24195 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24196 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24197 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24199
c42d5e98
DM
24200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24201 nearbyint{,f} to libm-sysdep_routes.
24202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24204 New file.
24205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24206 file.
24207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24208 New file.
24209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24210 file.
24211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24214 file.
24215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24216 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24217 file.
24218 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24219 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24220 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24221
c19a9f89
DM
24222 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24223 libc_feholdexcept and libc_fesetenv.
24224
357679d2
MF
242252013-01-15 Mike Frysinger <vapier@gentoo.org>
24226
24227 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24228
65a82e3d
DM
242292013-01-14 David S. Miller <davem@davemloft.net>
24230
8b954ab9
DM
24231 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24232 (SPARC_ASM_VIS2_IFUNC): Likewise.
24233 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24235 use of 'siam' instruction.
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24237 Likewise.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24239 Likewise.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24241 Likewise.
24242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24247 file.
24248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24249 file.
24250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24251 file.
24252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24253 file.
24254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24259 new VIS2 routines.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24263 Likewise.
24264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24269 routines to libm-sysdep_routines.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24271
65a82e3d
DM
24272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24273 fdim/fdimf to libm-sysdep_routines.
24274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24275 file.
24276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24278 file.
24279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24282 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24283 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24284 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24285 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24286
e34ab705
SP
242872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24288
2a91b573
SP
24289 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24290 to optimize copies.
24291
1066a534
SP
24292 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24295
e34ab705
SP
24296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24297 local variable MPTWO.
24298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24299 Likewise.
24300
aba5e596
MF
243012013-01-13 Mike Frysinger <vapier@gentoo.org>
24302
24303 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24304 GLOB_NOESCAPE.
24305
e557e9e5
MF
243062013-01-13 Mike Frysinger <vapier@gentoo.org>
24307
24308 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24309
0428cec9
MF
243102013-01-13 Mike Frysinger <vapier@gentoo.org>
24311
24312 * manual/pattern.texi (glob_t): Document gl_flags.
24313 (glob64_t): Likewise.
24314
8794a964
DM
243152013-01-11 David S. Miller <davem@davemloft.net>
24316
66438c3f
RM
24317 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24318 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24319 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24320 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24321 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24322 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24323 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24324 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24325 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24326 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24327 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24328 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24329 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24330
4ae4244d
DM
24331 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24332 sparc V9 rather than using V8 code.
24333 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24334 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24335
8794a964
DM
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24337 Move to...
24338 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24339 Here.
24340
6270516e
RM
243412013-01-11 Roland McGrath <roland@hack.frob.com>
24342
24343 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24344 not in the main loop.
24345 * configure: Regenerated.
24346
6a57d931
JM
243472013-01-11 Joseph Myers <joseph@codesourcery.com>
24348
24349 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24350 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24351 to just #else.
24352 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24353 [!__GLIBC_HAVE_LONG_LONG] case.
24354 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24355 condition to just #else.
24356 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24357 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24358 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24359 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24360 unconditional.
24361 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24362 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24363 #elif condition to just #else.
24364 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24365 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24366 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24367 #elif condition to just #else.
24368
0e8529e9
SE
243692013-01-11 Steve Ellcey <sellcey@mips.com>
24370
24371 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24372 (EF_MIPS_ARCH_64): Fix value.
24373 (EF_MIPS_ARCH_32R2): New.
24374 (EF_MIPS_ARCH_64R2): New.
24375
740b3dbe
L
243762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24377
24378 * Makeconfig (+link-pie-before-libc): New.
24379 (+link-pie-after-libc): Likewise.
24380 (+link-pie-tests): Likewise.
24381 (+link-pie): Rewritten.
24382 (link-before-libc): Remove $(config-LDFLAGS).
24383 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24384 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24385 (config-LDFLAGS): Renamed to ...
24386 (rtld-LDFLAGS): This.
24387 (rtld-tests-LDFLAGS): New macro.
24388 (link-libc-rpath-link): Likewise.
24389 (link-libc-tests-rpath-link): Likewise.
24390 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24391 (link-libc): Prepand $(link-libc-rpath-link).
24392 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24393 (test-program-prefix): New macro.
24394 (test-via-rtld-prefix): Likewise.
24395 (test-program-cmd): Likewise.
24396 (host-test-program-cmd): Likewise.
24397 * Makefile ($(common-objpfx)testrun.sh): Replace
24398 $(run-program-prefix) with $(test-program-prefix).
24399 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24400 $(rtld-LDFLAGS).
24401 ($(common-objpfx)shlib.lds): Likewise.
24402 (build-module-helper): Likewise.
24403 ($(common-objpfx)format.lds): Likewise.
24404 * Rules (binaries-pie-tests): New.
24405 (binaries-pie-notests): Likewise.
24406 (binaries-pie): Rewritten.
24407 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24408 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24409 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24410 (make-test-out): Replace $(host-built-program-cmd) with
24411 $(host-test-program-cmd).
24412 * config.make.in (build-hardcoded-path-in-tests): New variable.
24413 * configure.in (--enable-hardcoded-path-in-tests): New configure
24414 option.
24415 (hardcoded_path_in_tests): New AC_SUBST.
24416 * configure: Regenerated.
24417 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24418 $(built-program-cmd) with $(test-program-cmd).
24419 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24420 (test_program_cmd): This.
24421 * elf/Makefile ($(objpfx)order.out): Run test with
24422 $(test-program-prefix).
24423 ($(objpfx)order2.out): Likewise.
24424 ($(objpfx)tst-initorder.out): Likewise.
24425 ($(objpfx)tst-initorder2.out): Likewise.
24426 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24427 $(test-program-cmd).
24428 ($(objpfx)tst-array1-static.out): Likewise.
24429 ($(objpfx)tst-array2.out): Likewise.
24430 ($(objpfx)tst-array3.out): Likewise.
24431 ($(objpfx)tst-array4.out): Likewise.
24432 ($(objpfx)tst-array5.out): Likewise.
24433 ($(objpfx)tst-array5-static.out): Likewise.
24434 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24435 $(test-program-cmd).
24436 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24437 $(run-program-prefix) with $(test-program-prefix).
24438 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24439 (test_program_prefix): This.
24440 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24441 $(run-program-prefix) with $(test-program-prefix).
24442 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24443 (test_program_prefix): This.
24444 * iconvdata/tst-tables.sh: Likewise.
24445 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24446 $(run-program-prefix) with $(test-program-prefix).
24447 ($(objpfx)tst-translit.out): Likewise.
24448 ($(objpfx)tst-gettext2.out): Likewise.
24449 ($(objpfx)tst-gettext4.out): Likewise.
24450 ($(objpfx)tst-gettext6.out): Likewise.
24451 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24452 (test_program_prefix): This.
24453 * intl/tst-gettext2.sh: Likewise.
24454 * intl/tst-gettext4.sh Likewise.
24455 * intl/tst-gettext6.sh: Likewise.
24456 * intl/tst-translit.sh: Likewise.
24457 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24458 with $(test-program-cmd).
24459 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24460 $(run-program-prefix) with $(test-program-prefix).
24461 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24462 (test_program_prefix): This.
24463 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24464 $(run-program-prefix) with $(test-program-prefix).
24465 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24466 (test_program_prefix): This.
24467 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24468 * posix/Makefile ($(objpfx)globtest.out): Replace
24469 $(run-via-rtld-prefix) and $(test-wrapper) with
24470 $(test-program-prefix) and $(test-via-rtld-prefix).
24471 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24472 $(test-program-prefix).
24473 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24474 $(host-test-program-cmd).
24475 (tst-spawn-ARGS): Likewise.
24476 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24477 $(test-program-prefix).
24478 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24479 (test_via_rtld_prefix): This.
24480 (test_wrapper): Renamed to ...
24481 (test_program_prefix): This.
24482 (run_program_prefix): Replaced by test_program_prefix.
24483 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24484 (test_program_prefix): This.
24485 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24486 with $(host-test-program-cmd).
24487 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24488 $(run-program-prefix) with $(test-program-prefix).
24489 ($(objpfx)tst-printf.out): Likewise.
24490 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24491 $(test-program-cmd).
24492 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24493 (test_program_prefix): This.
24494 * stdio-common/tst-unbputc.sh: Likewise.
24495 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24496 $(run-program-prefix) with $(test-program-prefix).
24497 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24498 (test_program_prefix): This.
24499 * string/Makefile ($(objpfx)tst-svc.out): Replace
24500 $(built-program-cmd) with $(test-program-cmd).
24501
c6fe55cf
AJ
245022013-01-11 Andreas Jaeger <aj@suse.de>
24503
24504 [BZ #15003]
24505 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24506 value. Sync with Linux 3.7.
24507
9e6919c8
DM
245082013-01-10 David S. Miller <davem@davemloft.net>
24509
24510 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24513
1c9f1a02
RM
245142013-01-10 Roland McGrath <roland@hack.frob.com>
24515
24516 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24517 never set.
24518 * configure: Regenerated.
24519
b9de2dde
DM
245202013-01-10 David S. Miller <davem@davemloft.net>
24521
24522 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24523 sparc V9 rather than using V8 code.
24524 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24525 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24526
e7f68ef4
RM
245272013-01-10 Roland McGrath <roland@hack.frob.com>
24528
24529 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24530 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24531 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24532 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24533 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24534 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24535 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24536 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24537 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24538 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24539 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24540 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24541 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24542 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24543 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24544 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24545 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24546 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24547 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24548 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24549 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24550 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24551 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24552 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24553 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24554 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24555 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24556
5a47cc9c
DM
245572013-01-10 David S. Miller <davem@davemloft.net>
24558
24559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24560
4cf8f209
L
245612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24562
24563 * posix/Makefile (tests-static): New variable.
24564 (tests): Add $(tests-static).
24565 (tst-exec-static-ARGS): New variable.
24566 (tst-spawn-static-ARGS): Likewise.
24567 * posix/tst-exec-static.c: New file.
24568 * posix/tst-spawn-static.c: Likewise.
24569 * posix/tst-exec.c: Support run directly.
24570 * posix/tst-spawn.c: Likewise.
24571
fed0faa1
JM
245722013-01-10 Joseph Myers <joseph@codesourcery.com>
24573
828beb13
JM
24574 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24575 long.
24576 * math/bits/mathcalls.h (llrint): Likewise.
24577 (llround): Likewise.
24578 * stdlib/stdlib.h (struct drand48_data): Likewise.
24579 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24580 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24581 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24582 Likewise.
24583 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24584 Likewise.
24585 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24586 (elf_greg_t): Likewise.
24587 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24588 (__jmp_buf): Likewise.
24589 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24590 definitions.
24591 (llrint): Likewise, for all definitions.
24592 (llrintl): Likewise.
24593
fed0faa1
JM
24594 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24595 Remove [__GNUC__] condition.
24596 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24597 condition to just [__USE_ISOC99].
24598 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24599
1a20cb20
L
246002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24601
24602 [BZ #14200]
24603 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24604 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24605 defined.
24606 (_POSIX_V6_ILP32_OFF32): Likewise.
24607 (_XBS5_ILP32_OFF32): Likewise.
24608 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24609 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24610
751b85f7
SP
246112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24612
7490eb81
SP
24613 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24614
751b85f7
SP
24615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24616 doubles __mpexp_twomm1. Adjust usage.
24617 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24618 Remove.
24619
988197f0
AS
246202013-01-10 Andreas Schwab <schwab@suse.de>
24621
24622 [BZ #14964]
24623 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24624 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24625
e83d7298
DM
246262013-01-09 David S. Miller <davem@davemloft.net>
24627
034ed64b 24628 [BZ #15003]
57f41c40
AS
24629 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24630 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24631 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24632 (TCP_FASTOPEN): Define.
e83d7298
DM
24633 (tcp_repair_opt): New structure.
24634 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24635 enum values.
57f41c40
AS
24636 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24637 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24638 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24639 (tcp_cookie_transactions): New structure.
24640
d5e0b9bd
AB
246412013-01-09 Anton Blanchard <anton@samba.org>
24642
24643 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24644 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24646 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24647
0c07e3ea
JM
246482013-01-09 Joseph Myers <joseph@codesourcery.com>
24649
24650 * include/features.h (__USE_ANSI): Remove.
24651
232f7002
RM
246522013-01-09 Roland McGrath <roland@hack.frob.com>
24653
ad98e30c
RM
24654 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24655
232f7002
RM
24656 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24657
950c99ca
SP
246582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24659
b5792741
SP
24660 * sysdeps/s390/fpu/libm-test-ulps: Update.
24661
47cf2278
SP
24662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24663
950c99ca
SP
24664 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24665 (__acr): Likewise.
24666 (__cpy): Likewise.
24667 (norm): Likewise.
24668 (denorm): Likewise.
24669 (__mp_dbl): Likewise.
24670 (__dbl_mp): Likewise.
24671 (add_magnitudes): Likewise.
24672 (sub_magnitudes): Likewise.
24673 (__add): Likewise.
24674 (__sub): Likewise.
24675 (__mul): Likewise.
24676 (__inv): Likewise.
24677 (__dvd): Likewise.
24678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24679 (__acr): Likewise.
24680 (__cpy): Likewise.
24681 (norm): Likewise.
24682 (denorm): Likewise.
24683 (__mp_dbl): Likewise.
24684 (__dbl_mp): Likewise.
24685 (add_magnitudes): Likewise.
24686 (sub_magnitudes): Likewise.
24687 (__add): Likewise.
24688 (__sub): Likewise.
24689 (__mul): Likewise.
24690 (__inv): Likewise.
24691 (__dvd): Likewise.
24692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24693 (__acr): Likewise.
24694 (__cpy): Likewise.
24695 (norm): Likewise.
24696 (denorm): Likewise.
24697 (__mp_dbl): Likewise.
24698 (__dbl_mp): Likewise.
24699 (add_magnitudes): Likewise.
24700 (sub_magnitudes): Likewise.
24701 (__add): Likewise.
24702 (__sub): Likewise.
24703 (__mul): Likewise.
24704 (__inv): Likewise.
24705 (__dvd): Likewise.
24706
eede9df9
JM
247072013-01-08 Joseph Myers <joseph@codesourcery.com>
24708
24709 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24710 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24711 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24712 2 && __USE_EXTERN_INLINES]: Likewise.
24713
c40ea3d9
AJ
247142013-01-08 Andreas Jaeger <aj@suse.de>
24715
24716 [BZ# 14985]
24717 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24718 Remove.
24719 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24720 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24721
2ccdea26
AB
247222013-01-07 Anton Blanchard <anton@samba.org>
24723
24724 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24725 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24726 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24727 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24728 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24729 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24730 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24731 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24733 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24735 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24736 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24742 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24744 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24745 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24747 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24749 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24751 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24754 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24760 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24761 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24764 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24767
a9708fed
JM
247682013-01-07 Joseph Myers <joseph@codesourcery.com>
24769
375607b9
JM
24770 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24771 (__MALLOC_PMT): Likewise.
24772 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24773 [__GNUC__], only on [_LIBC].
24774 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24775 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24776 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24777 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24778 forward declaration.
24779 (realloc_hook_ini): Likewise.
24780 (memalign_hook_ini): Likewise.
24781 (__libc_memalign): Do not use __MALLOC_PMT in variable
24782 declaration.
24783 (__libc_valloc): Likewise.
24784 (__libc_pvalloc): Likewise.
24785 (__libc_calloc): Likewise.
24786 (__posix_memalign): Likewise.
24787
a9708fed
JM
24788 [BZ #14996]
24789 * math/s_casinh.c: Include <float.h>.
24790 (__casinh): Do not do computation with squaring and square root
24791 for large arguments.
24792 * math/s_casinhf.c: Include <float.h>.
24793 (__casinhf): Do not do computation with squaring and square root
24794 for large arguments.
24795 * math/s_casinhl.c: Include <float.h>.
24796 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24797 (__casinhl): Do not do computation with squaring and square root
24798 for large arguments.
24799 * math/libm-test.inc (casin_test): Add more tests.
24800 (casinh_test): Likewise.
24801 * sysdeps/i386/fpu/libm-test-ulps: Update.
24802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24803
afec409a
L
248042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24805
24806 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24807 (__x86_64_raw_data_cache_size): Likewise.
24808 (__x86_64_data_cache_size_half): Likewise.
24809 (__x86_64_raw_data_cache_size_half): Likewise.
24810 (__x86_64_shared_cache_size): Likewise.
24811 (__x86_64_raw_shared_cache_size): Likewise.
24812 (__x86_64_shared_cache_size_half): Likewise.
24813 (__x86_64_raw_shared_cache_size_half): Likewise.
24814 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24815 to ...
24816 (__x86_data_cache_size): This.
24817 (__x86_64_raw_data_cache_size): Renamed to ...
24818 (__x86_raw_data_cache_size): This.
24819 (__x86_64_data_cache_size_half): Renamed to ...
24820 (__x86_data_cache_size_half): This.
24821 (__x86_64_raw_data_cache_size_half): Renamed to ...
24822 (__x86_raw_data_cache_size_half): This.
24823 (__x86_64_shared_cache_size): Renamed to ...
24824 (__x86_shared_cache_size): This.
24825 (__x86_64_raw_shared_cache_size): Renamed to ...
24826 (__x86_raw_shared_cache_size): This.
24827 (__x86_64_shared_cache_size_half): Renamed to ...
24828 (__x86_shared_cache_size_half): This.
24829 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24830 (__x86_raw_shared_cache_size_half): This.
24831 * sysdeps/x86_64/memcpy.S: Updated.
24832 * sysdeps/x86_64/memset.S: Likewise.
24833 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24836
0b3986d0
DM
248372013-01-04 David S. Miller <davem@davemloft.net>
24838
24839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24840
e47686e9
AS
248412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24842
d643bac1
AS
24843 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24844 1 to avoid redefinition warning.
24845 (__USE_GNU): Don't define.
24846 (init_signaling_nan): Protoize.
24847
e47686e9
AS
24848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24849
b18decba
SP
248502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24851
fffb407f
SP
24852 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24854 (__cpymn): Likewise.
24855 (norm): Remove commented code.
24856 (denorm): Likewise.
24857 (__mp_dbl): Likewise.
24858 (__inv): Likewise.
24859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24860 (__cpymn): Likewise.
24861 (norm): Remove commented code.
24862 (denorm): Likewise.
24863 (__mp_dbl): Likewise.
24864 (__inv): Likewise.
24865
b18decba
SP
24866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24867 mp_no value for 1.0 and 2.0.
24868 (norm): Use RADIXI instead of radixi.d.
24869 (denorm): Likewise.
24870 (__mul): Use 0.0 instead of zero.d.
24871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24872 mp_no value for 1.0 and 2.0.
24873 (norm): Use RADIXI instead of radixi.d.
24874 (denorm): Likewise.
24875 (__mul): Use 0.0 instead of zero.d.
24876
cdc1c96f
JM
248772013-01-04 Joseph Myers <joseph@codesourcery.com>
24878
24879 [BZ #14994]
24880 * math/s_casinh.c (__casinh): Reduce finite argument to first
24881 quadrant then set signs of results at the end.
24882 * math/s_casinhf.c (__casinhf): Likewise.
24883 * math/s_casinhl.c (__casinhl): Likewise.
24884 * math/libm-test.inc (casin_test): Add more tests.
24885 (casinh_test): Likewise.
24886 * sysdeps/i386/fpu/libm-test-ulps: Update.
24887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24888
302913e1
SP
248892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24890
6420d207
SP
24891 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24892
a9e48ab4
SP
24893 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24894
b7837264
SP
24895 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24896 declarations.
24897 (denorm): Likewise.
24898 (__mp_dbl): Likewise.
24899 (__inv): Likewise.
24900
f8af25d2
SP
24901 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24902 and adjust the header comment.
24903
302913e1
SP
24904 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24905 variable name from declaration.
24906
5d7dd1ca
L
249072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24908
24909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24910 Initialize COMMON_CPUID_INDEX_7 element.
24911 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24912 (CPUID_RTM): Likewise.
24913 (HAS_RTM): Likewise.
24914 (COMMON_CPUID_INDEX_7): New enum.
24915
2f5f40f4
AS
249162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24917
24918 [BZ #14981]
24919 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24920 size is zero, record memory as freed.
24921
4056f4a0
AJ
249222013-01-03 Andreas Jaeger <aj@suse.de>
24923
24924 * po/ia.po: Add new Interlingua translation.
24925
ab15736f 249262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24927
24928 * locale/programs/localedef.c: Fix description of '--posix' flag.
24929
568035b7
JM
249302013-01-02 Joseph Myers <joseph@codesourcery.com>
24931
e6898b8d
JM
24932 * NEWS: Update dates in second copyright notice.
24933 * README: Update copyright dates in example.
24934 * manual/libc.texinfo: Update copyright dates.
24935 * scripts/test-installation.pl: Update copyright date in --version
24936 output.
24937
0e2f9562
JM
24938 * hurd/ctty-input.c: Fix copyright notice formatting.
24939 * hurd/ctty-output.c: Likewise.
24940 * hurd/dtable.c: Likewise.
24941 * hurd/hurd-raise.c: Likewise.
24942 * hurd/hurdprio.c: Likewise.
24943 * hurd/msgportdemux.c: Likewise.
24944 * misc/sys/file.h: Likewise.
24945 * misc/sys/ioctl.h: Likewise.
24946 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24947 * sysdeps/mach/hurd/chdir.c: Likewise.
24948 * sysdeps/mach/hurd/fchdir.c: Likewise.
24949 * sysdeps/mach/hurd/rename.c: Likewise.
24950 * sysdeps/mach/hurd/rmdir.c: Likewise.
24951 * sysdeps/mach/hurd/seekdir.c: Likewise.
24952 * sysdeps/mach/hurd/setsid.c: Likewise.
24953 * sysdeps/posix/wait3.c: Likewise.
24954
568035b7
JM
24955 * All files with FSF copyright notices: Update copyright dates
24956 using scripts/update-copyrights.
24957 * intl/plural.c: Regenerated.
24958 * locale/programs/charmap-kw.h: Likewise.
24959 * locale/programs/locfile-kw.h: Likewise.
24960
da08f647
SP
249612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24962
0f5477af
SP
24963 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24964 four values.
24965
44e0d4c2
SP
24966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24967 calculation loop and add branch prediction.
24968
4d55b4e5
SP
24969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24970 check access beyond bounds of m1np.
24971
da08f647
SP
24972 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24973 MPTWO.
24974 (__inv): Remove local variable MPTWO to use the global
24975 constant.
24976 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24977 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24978 variable MPTWO.
24979 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24980 MP3HALFS static const.
24981
8e051029
DM
249822013-01-01 David S. Miller <davem@davemloft.net>
24983
24984 * po/ca.po: Update from translation team.
24985
f4cf5f2d
JM
249862013-01-01 Joseph Myers <joseph@codesourcery.com>
24987
24988 * scripts/update-copyrights: New file.
24989 * Makeconfig: Reformat copyright notice.
24990 * ctype/ctype.h: Likewise.
24991 * debug/swprintf_chk.c: Likewise.
24992 * elf/dl-cache.c: Likewise.
24993 * elf/dl-debug.c: Likewise.
24994 * elf/dl-object.c: Likewise.
24995 * grp/initgroups.c: Likewise.
24996 * hurd/Makefile: Likewise.
24997 * hurd/hurd/signal.h: Likewise.
24998 * hurd/hurdfault.c: Likewise.
24999 * hurd/hurdioctl.c: Likewise.
25000 * hurd/hurdlookup.c: Likewise.
25001 * hurd/intr-msg.c: Likewise.
25002 * iconv/gconv_open.c: Likewise.
25003 * libio/swprintf.c: Likewise.
25004 * locale/lc-ctype.c: Likewise.
25005 * locale/nl_langinfo.c: Likewise.
25006 * mach/Machrules: Likewise.
25007 * mach/Makefile: Likewise.
25008 * malloc/obstack.h: Likewise.
25009 * manual/Makefile: Likewise.
25010 * manual/tsort.awk: Likewise.
25011 * misc/bits/stab.def: Likewise.
25012 * nis/nis_print_group_entry.c: Likewise.
25013 * nis/nis_table.c: Likewise.
25014 * nis/nss_compat/compat-pwd.c: Likewise.
25015 * nis/nss_compat/compat-spwd.c: Likewise.
25016 * po/Makefile: Likewise.
25017 * posix/fnmatch.c: Likewise.
25018 * posix/regex.h: Likewise.
25019 * resolv/Makefile: Likewise.
25020 * resolv/nss_dns/dns-network.c: Likewise.
25021 * resolv/res_hconf.c: Likewise.
25022 * scripts/gen-sorted.awk: Likewise.
25023 * soft-fp/soft-fp.h: Likewise.
25024 * stdio-common/printf.h: Likewise.
25025 * stdlib/monetary.h: Likewise.
25026 * stdlib/random.c: Likewise.
25027 * stdlib/random_r.c: Likewise.
25028 * sysdeps/generic/Makefile: Likewise.
25029 * sysdeps/gnu/Makefile: Likewise.
25030 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25058 * sysdeps/mach/hurd/errnos.awk: Likewise.
25059 * sysdeps/mach/hurd/fork.c: Likewise.
25060 * sysdeps/mach/hurd/getcwd.c: Likewise.
25061 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25062 * sysdeps/mach/hurd/mmap.c: Likewise.
25063 * sysdeps/mach/hurd/utimes.c: Likewise.
25064 * sysdeps/mach/hurd/xmknod.c: Likewise.
25065 * sysdeps/posix/profil.c: Likewise.
25066 * sysdeps/posix/readdir_r.c: Likewise.
25067 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25068 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25069 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25070 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25072 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25073 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25074 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25076 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25077 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25078 * sysdeps/pthread/lio_listio.c: Likewise.
25079 * sysdeps/sparc/dl-procinfo.h: Likewise.
25080 * sysdeps/unix/i386/sysdep.S: Likewise.
25081 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25082 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25083 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25084 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25086 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25087 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25088 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25089 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25090 * sysdeps/wordsize-32/divdi3.c: Likewise.
25091 * time/sys/time.h: Likewise.
25092 * wcsmbs/Makefile: Likewise.
25093
0549fbba
DM
250942013-01-01 David S. Miller <davem@davemloft.net>
25095
a141f1a7
DM
25096 * po/fr.po: Update from translation team.
25097
0549fbba
DM
25098 * catgets/gencat.c: Update copyright year.
25099 * csu/version.c: Likewise.
25100 * debug/catchsegv.sh: Likewise.
25101 * debug/pcprofiledump.c: Likewise.
25102 * debug/xtrace.sh: Likewise.
25103 * elf/ldconfig.c: Likewise.
25104 * elf/ldd.bash.in: Likewise.
25105 * elf/pldd.c: Likewise.
25106 * elf/sotruss.ksh: Likewise.
25107 * elf/sprof.c: Likewise.
25108 * iconv/iconv_prog.c: Likewise.
25109 * iconv/iconvconfig.c: Likewise.
25110 * locale/programs/locale.c: Likewise.
25111 * locale/programs/localedef.c: Likewise.
25112 * login/programs/pt_chown.c: Likewise.
25113 * malloc/memusage.sh: Likewise.
25114 * malloc/memusagestat.c: Likewise.
25115 * malloc/mtrace.pl: Likewise.
25116 * nscd/nscd.c: Likewise.
25117 * nss/getent.c: Likewise.
25118 * nss/makedb.c: Likewise.
25119 * posix/getconf.c: Likewise.
25120
18ea052c
SP
251212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25122
25123 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25124 numbers.
25125
9c89fca6
MF
251262012-12-30 Mike Frysinger <vapier@gentoo.org>
25127
25128 * math/bits/mathcalls.h (modf): Use __nonnull.
25129
085ec079
SP
251302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25131
25132 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25133 (split): Use macro CN instead of the bare value.
25134 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25135 could be used.
25136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25137 instead of the bare value.
25138 (power1): Likewise.
25139
6d9f97e1
SP
251402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25141
d63f73be
SP
25142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25143 __ATAN_TWOM.
25144 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25145
6d9f97e1
SP
25146 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25147 their values.
25148 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25149 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25150 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25151 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25152
4c4febf5
AJ
251532012-12-28 Andreas Jaeger <aj@suse.de>
25154
af5843ef
AJ
25155 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25156 values are from Linux 3.7.
25157
4c4febf5
AJ
25158 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25159 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25160
99136f82
SP
251612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25162
2f216c3c 25163 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25164 TRUE case.
25165
99136f82
SP
25166 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25167 (norm): Likewise.
25168 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25169 variables with preprocessor constants.
25170 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25171 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25173
7fffbdff
BH
251742012-12-27 Bruno Haible <bruno@clisp.org>
25175
25176 [BZ #14317]
25177 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25178 only if needed.
25179
b76eb5f0
SP
251802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25181
31a7fe5c
SP
25182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25183 and use variable directly.
25184 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25185
b76eb5f0
SP
25186 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25187 MPONE.
25188 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25189 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25190 variable MPONE.
25191 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25193 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25194 include directive. Remove local variable MPONE.
25195 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25198
2c8bfe7d
DM
251992012-12-25 David S. Miller <davem@davemloft.net>
25200
25201 * version.h (RELEASE): Set to "development".
25202 (VERSION): Set to "2.17.90".
25203 * NEWS: Add 2.18 section.
25204
147d03b0
DM
252052012-12-21 David S. Miller <davem@davemloft.net>
25206
25207 * po/hr.po: Update from translation team.
25208
a8ebb2b9
AK
252092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25210
25211 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25212
95b4f1b6
SE
252132012-12-19 Steve Ellcey <sellcey@mips.com>
25214
b2d94007 25215 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25216
cedb2a90
MS
252172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25218
25219 * manual/contrib.texi (Contributors): Spelling correction.
25220
bbf527d6
DM
252212012-12-15 David S. Miller <davem@davemloft.net>
25222
25223 * po/ru.po: Update from translation team.
25224
bc38c906
DM
252252012-12-13 David S. Miller <davem@davemloft.net>
25226
85429b1a
DM
25227 * NEWS: Mention IFUNC testsuite enhancements.
25228
d283e353
DM
25229 * po/pl.po: Update from translation team.
25230 * po/bg.po: Likewise.
25231
bc38c906
DM
25232 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25233 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25234
a181b0d7
DM
252352012-12-11 David S. Miller <davem@davemloft.net>
25236
4641d57e
DM
25237 * po/sv.po: Update from translation team.
25238
f7bc6495
DM
25239 * po/vi.po: Update from translation team.
25240
6fc9048f
DM
25241 * po/cs.po: Update from translation team.
25242
a181b0d7
DM
25243 * po/de.po: Update from translation team.
25244 * po/eo.po: Likewise.
25245 * po/nl.po: Likewise.
25246
f70bfe80
SP
252472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25248
3c8b4190
SP
25249 [BZ #14246]
25250 * manual/argp.texi (Argp Helper Functions): Move node to follow
25251 Argp Parsing State.
25252
f70bfe80
SP
25253 [BZ #14872]
25254 * manual/conf.texi (Limits on File System Capacity): Mention if
25255 terminating null is included in the max size.
25256
188f0adf
AJ
252572012-12-10 Andreas Jaeger <aj@suse.de>
25258
25259 * po/cs.po: Update from translation team.
25260
56e7d3ad
SP
252612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25262
25263 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25264 void pointer and cast to uintptr_t.
25265 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25266 path.
25267 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25268 * sysdeps/s390/s390-64/memset.S: Likewise.
25269
76f2d2ea 252702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25271
25272 [BZ #14833]
25273 * menual/message.texi (Message Translation): Fix typos.
25274 (Helper programs for gettext): Likewise.
25275
67cbf9a2
AS
252762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25277
25278 [BZ #14898]
25279 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25280 Change to -1.
25281
682d0e9a
DM
252822012-12-07 David S. Miller <davem@davemloft.net>
25283
25284 * po/libc.pot: Update.
25285
573cd484
RH
252862012-12-07 Richard Henderson <rth@redhat.com>
25287
7e9da188 25288 [BZ #10114]
573cd484
RH
25289 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25290 normal/normal case to before the switch.
25291 (_FP_DIV): Likewise.
25292
e933a943
MF
252932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25294 Mike Frysinger <vapier@gentoo.org>
25295
25296 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25297 check for __NR_fadvise64_64.
25298
82123268
CM
252992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25300
25301 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25302 0, not just to plain "0" as a statement.
25303 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25304 with cw.
25305
d9814526
JM
253062012-12-06 Joseph Myers <joseph@codesourcery.com>
25307
25308 * NEWS: Use sourceware.org in Bugzilla URL.
25309
7728c574
SP
253102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25311
f16946dd
SP
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25313 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25314
5704bbcb
SP
25315 * stdio-common/tst-put-error.c (do_test): Add newline to the
25316 padded test to ensure flush.
25317
17aa0516
JL
253182012-12-05 Jeff Law <law@redhat.com>
25319
25320 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25321
363313b5
JM
253222012-12-05 Joseph Myers <joseph@codesourcery.com>
25323
effbd42a
JM
25324 * README: Don't refer to ports add-on as distributed separately.
25325 Mention AArch64 in list of systems supported in the ports add-on.
25326
87600365
JM
25327 * LICENSES: Add more non-FSF copyright and license notices.
25328
a0d7066a
JM
25329 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25330 ((unused)).
25331
66ca5a5b
JM
25332 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25333
363313b5
JM
25334 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25335 10000 as width of padded output.
25336
b37984ad
JM
253372012-12-04 Joseph Myers <joseph@codesourcery.com>
25338
9003570a
JM
25339 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25340
b37984ad
JM
25341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25342 variable LX with __attribute__ ((unused)).
25343 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25344 Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25348 with __attribute__ ((unused)).
25349
c8df52ec
DM
253502012-12-04 David S. Miller <davem@abraco.davemloft.net>
25351
25352 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25353
b3b099af
JM
253542012-12-04 Joseph Myers <joseph@codesourcery.com>
25355
c33aa6e3
JM
25356 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25357 (CFLAGS-nldbl-acos.c): New variable.
25358 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25359 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25360 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25361 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25362 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25370 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25371 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25372 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25373 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25374 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25375 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25383 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25384 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25385 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25386 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25387 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25388 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25389 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25390 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25391 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25392 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25393 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25394 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25395 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25396 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25397 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25398 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25399 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25400 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25401 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25402 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25403 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25404 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25405 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25406 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25425 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25426 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25427 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25428 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25429 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25430 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25431 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25432 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25433 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25434 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25435 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25436 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25437 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25438 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25439 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25440 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25441 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25442 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25443 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25444 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25445 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25446 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25447 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25448 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25449 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25450 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25451 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25452 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25453 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25454 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25455
20f0018d
JM
25456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25457 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25458
b3b099af
JM
25459 [BZ #14914]
25460 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25461 whole low double instead of just low 47 bits when splitting values
25462 into two parts.
25463
029264d1
AM
254642012-12-03 Allan McRae <allan@archlinux.org>
25465
25466 * manual/stdio.texi (Predefined Printf Handlers): Remove
25467 @hsep and @vsep usage.
25468
c9d6789e
MF
254692012-12-03 Mike Frysinger <vapier@gentoo.org>
25470
25471 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25472 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25473
4b7634a5
JL
254742012-12-03 Jeff Law <law@redhat.com>
25475
25476 * time/sys/time.h (settimeofday): Do not mark TV argument
25477 as __nonnull.
25478
eb6cbd24
MF
254792012-12-01 Mike Frysinger <vapier@gentoo.org>
25480
25481 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25482 when currently writing and seek to current position when not.
25483 * libio/Makefile (tests): Remove bug-fclose1.
25484 * libio/bug-fclose1.c: Delete.
25485
f638872a
JM
254862012-12-01 Joseph Myers <joseph@codesourcery.com>
25487
25488 * manual/arith.texi (feenableexcept): Fix typo.
25489 (fedisableexcept): Likewise.
25490
48085d14
RM
254912012-11-30 Roland McGrath <roland@hack.frob.com>
25492
25493 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25494 second, differently-typed declaration, rather than a cast.
25495
1a538b9f
SP
254962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25497
25498 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25499 * include/rpc/svc.h: ... here.
25500
d07f2ff1 255012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25502
25503 [BZ #13013]
25504 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25505 depending n and resplen2 to catch cases where answer
25506 equals answerp2.
25507
c93ec1f0
CD
255082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25509
25510 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25511 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25512
37db69de
MF
255132012-11-29 Mike Frysinger <vapier@gentoo.org>
25514
25515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25516
e10c4e4f
RM
255172012-11-29 Roland McGrath <roland@hack.frob.com>
25518
25519 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25520
2af1b328
JL
255212012-11-28 Jeff Law <law@redhat.com>
25522
25523 [BZ #13761]
25524 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25525 dataset_temporary. Track alloca usage into alloca_used.
25526 If dataset is large allocate and release it via malloc/free.
25527
111db5b1
FW
255282012-06-04 Florian Weimer <fweimer@redhat.com>
25529
f06cc227 25530 [BZ #14197]
111db5b1
FW
25531 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25532
dd694abd
DM
255332012-11-28 David S. Miller <davem@davemloft.net>
25534
25535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25536
9984dd01
JM
255372012-11-28 Joseph Myers <joseph@codesourcery.com>
25538
25539 [BZ #14803]
25540 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25541 of pi/2 rounded to nearest to 64 bits.
25542 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25543 nearest to 64 bits.
25544 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25545 bits.
25546
14bc93a9
JL
255472012-11-28 Jeff Law <law@redhat.com>
25548 Martin Osvald <mosvald@redhat.com>
25549
25550 [BZ #14889]
25551 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25552 * sunrpc/svc.c: Include time.h.
25553 (__svc_accept_failed): New function.
25554 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25555 any reason other than EINTR, call __svc_accept_failed.
25556 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25557 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25558
e3c6aa3a
AS
255592012-11-28 Andreas Schwab <schwab@suse.de>
25560
25561 * scripts/abilist.awk: Also handle indirect functions in .opd
25562 section.
25563
1bead169
JM
255642012-11-28 Joseph Myers <joseph@codesourcery.com>
25565
25566 [BZ #13881]
25567 * sysdeps/x86/fpu/powl_helper.c: New file.
25568 * sysdeps/x86/fpu/Makefile: Likewise.
25569 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25570 (p3): New object.
25571 (__ieee754_powl): Use __powl_helper for finite arguments except
25572 integer exponents below 8.
25573 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
25578 previously disabled tests.
25579 * sysdeps/i386/fpu/libm-test-ulps: Update.
25580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25581
0817d63d
SP
255822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25583 Carlos O'Donell <carlos_odonell@mentor.com>
25584
25585 * nss/makedb.c (is_prime): Assert that input is odd and greater
25586 than 4. Note that fact in a comment too.
25587 (next_prime): Add 4 to input.
25588
de2fd463
SP
255892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25590
25591 [BZ #11741]
25592 * libio/Makefile (tests): Add test case tst-fwrite-error.
25593 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25594 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25595 * libio/tst-fwrite-error.c: New test case.
25596
c515fb51
L
255972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25598
25599 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25600 before casting to void *.
25601 * include/libc-internal.h (__pointer_type): New macro.
25602 (__integer_if_pointer_type_sub): Likewise.
25603 (__integer_if_pointer_type): Likewise.
25604 (cast_to_integer): Likewise.
25605 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25606 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25607 before casting to atomic64_t.
25608 (atomic_exchange_acq): Likewise.
25609 (__arch_exchange_and_add_body): Likewise.
25610 (__arch_add_body): Likewise.
25611 (atomic_add_negative): Likewise.
25612 (atomic_add_zero): Likewise.
25613
4cf77aa9
JM
256142012-11-26 Joseph Myers <joseph@codesourcery.com>
25615
25616 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25617 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25618 (add_fdes): Likewise.
25619 (linear_search_fdes): Likewise.
25620 (binary_search_unencoded_fdes): Likewise.
25621
d260b3b4
AS
256222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25623
25624 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25625
67060746
AC
256262012-11-24 Adam Conrad <adconrad@0c3.net>
25627
25628 * configure.in: Autodetect C++ header directories.
25629 * configure: Regenerated.
25630
800938a1
MF
256312012-11-23 Mike Frysinger <vapier@gentoo.org>
25632
25633 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25634
4e6e34e6
AS
256352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25636
25637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25638
7c7feb47
JM
256392012-11-22 Joseph Myers <joseph@codesourcery.com>
25640
7184dcdf
JM
25641 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25642 LDBL_MANT_DIG == 106]: Disable some tests.
25643 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25644 Likewise.
25645 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25646 Likewise.
25647
0a42601f
JM
25648 [BZ #14871]
25649 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25650 input for small inputs. Return +/- pi/2 for large inputs.
25651 * math/libm-test.inc (atan_test): Add more tests.
25652
79c9b9fe
JM
25653 * sysdeps/generic/unwind-dw2-fde-glibc.c
25654 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25655 __attribute__ ((unused)).
25656
c60d3bf2
JM
25657 [BZ #14645]
25658 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25659 x * y if x and y are nonzero and z is zero.
25660
ef1e0867
JM
25661 [BZ #14811]
25662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25663 nonzero exponents with absolute value below 0x1p-117 to +/-
25664 0x1p-117.
25665
1468ded3
JM
25666 [BZ #14869]
25667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25668 up arguments below 2**-450, not just those below 2**-500.
25669 * math/libm-test.inc (hypot_test): Add another test.
25670
8e27e3cc
JM
25671 [BZ #14868]
25672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25673 Return a+b for ratio over 2**120, not 2**60.
25674 * math/libm-test.inc (hypot_test): Add another test.
25675
c9c0279b
JM
25676 * math/libm-test.inc (clog_test): Use
25677 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25678 (clog10_test): Likewise.
25679
7c7feb47
JM
25680 [BZ #6778]
25681 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25682
fff1530e
AS
256832012-11-22 Andreas Schwab <schwab@suse.de>
25684
25685 * sysdeps/i386/fpu/libm-test-ulps: Update.
25686
94558d30
PT
256872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25688
25689 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25690 printf output with newline.
25691
7e1be741
L
256922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25693
6bfea974
L
25694 [BZ #14865]
25695 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25696 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25697 -z nodlopen, -z initfirst and -z execstack support.
25698 * configure: Regenerated.
25699
7e1be741
L
25700 * elf/elf.h (DF_1_NODIRECT): New macro.
25701 (DF_1_IGNMULDEF): Likewise.
25702 (DF_1_NOKSYMS): Likewise.
25703 (DF_1_NOHDR): Likewise.
25704 (DF_1_EDITED): Likewise.
25705 (DF_1_NORELOC): Likewise.
25706 (DF_1_SYMINTPOSE): Likewise.
25707 (DF_1_GLOBAUDIT): Likewise.
25708 (DF_1_SINGLETON): Likewise.
25709 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25710 DT_1_SUPPORTED_MASK bits.
25711 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25712
105ce2ce
CD
257132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25714
25715 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25716
123be9de
TS
257172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25718
d072f3f7
TS
25719 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25720 macro.
25721
123be9de
TS
25722 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25723 (sendmmsg): Move declarations...
25724 * socket/sys/socket.h: ... here.
25725 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25726 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25727 include it from...
25728 * socket/recvmmsg.c: ... this new file.
25729 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25730 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25731 definition of __sendmmsg hidden.
25732 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25733 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25734 Move ENOSYS stub into and include it from...
25735 * socket/sendmmsg.c: ... this new file.
25736 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25737 (sysdep_routines): Move recvmmsg and sendmmsg...
25738 * socket/Makefile (routines): ... here.
25739 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25740 (GLIBC_PRIVATE): Add __sendmmsg.
25741 * include/sys/socket.h (__sendmmsg): Add declarations.
25742 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25743 sendmmsg.
25744
cf9a5d18
JM
257452012-11-20 Joseph Myers <joseph@codesourcery.com>
25746
25747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25748 variable I1 with __attribute__ ((unused)).
25749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25750
ecd4caf9
JM
257512012-11-19 Joseph Myers <joseph@codesourcery.com>
25752
be14d48f
JM
25753 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25754 DUMMY variables with __attribute__ ((unused)).
25755
ecd4caf9
JM
25756 * bits/byteswap.h: Include <bits/types.h>.
25757 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25758
986cab95
PT
257592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25760
25761 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25762 string_t. Do not manually set errno.
25763 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25764 length with __strnlen. Make sure to both set errno and return it on
25765 failure.
25766
6d33cc9d
DM
257672012-11-19 David S. Miller <davem@davemloft.net>
25768
25769 With help from Joseph Myers.
25770 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25771 very large arguments properly.
25772 * math/libm-test.inc (atan_test): New tests.
25773 (atan2_test): New tests.
25774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25776
ee663277
JM
257772012-11-19 Joseph Myers <joseph@codesourcery.com>
25778
877f2d8e
JM
25779 [BZ #14856]
25780 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25781 Define to 3.
25782
116fc08a
JM
25783 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25784 [POSIX] (EADDRNOTAVAIL): Likewise.
25785 [POSIX] (EAFNOSUPPORT): Likewise.
25786 [POSIX] (EALREADY): Likewise.
25787 [POSIX] (ECONNABORTED): Likewise.
25788 [POSIX] (ECONNREFUSED): Likewise.
25789 [POSIX] (ECONNRESET): Likewise.
25790 [POSIX] (EDESTADDRREQ): Likewise.
25791 [POSIX] (EDQUOT): Likewise.
25792 [POSIX] (EHOSTUNREACH): Likewise.
25793 [POSIX] (EIDRM): Likewise.
25794 [POSIX] (EISCONN): Likewise.
25795 [POSIX] (ELOOP): Likewise.
25796 [POSIX] (EMULTIHOP): Likewise.
25797 [POSIX] (ENETDOWN): Likewise.
25798 [POSIX] (ENETUNREACH): Likewise.
25799 [POSIX] (ENOBUFS): Likewise.
25800 [POSIX] (ENODATA): Likewise.
25801 [POSIX] (ENOLINK): Likewise.
25802 [POSIX] (ENOMSG): Likewise.
25803 [POSIX] (ENOPROTOOPT): Likewise.
25804 [POSIX] (ENOSR): Likewise.
25805 [POSIX] (ENOSTR): Likewise.
25806 [POSIX] (ENOTCONN): Likewise.
25807 [POSIX] (ENOTSOCK): Likewise.
25808 [POSIX] (EOPNOTSUPP): Likewise.
25809 [POSIX] (EOVERFLOW): Likewise.
25810 [POSIX] (EPROTO): Likewise.
25811 [POSIX] (EPROTONOSUPPORT): Likewise.
25812 [POSIX] (EPROTOTYPE): Likewise.
25813 [POSIX] (ESTALE): Likewise.
25814 [POSIX] (ETIME): Likewise.
25815 [POSIX] (ETXTBSY): Likewise.
25816 [POSIX] (EWOULDBLOCK): Likewise.
25817 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25818 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25819 [POSIX] (SEEK_CUR): Likewise.
25820 [POSIX] (SEEK_END): Likewise.
25821 [POSIX || UNIX98] (mode_t): Do not require.
25822 [POSIX] (off_t): Likewise.
25823 [POSIX] (pid_t): Likewise.
25824 [POSIX] (sys/stat.h): Do not allow header.
25825 [POSIX] (unistd.h): Likewise.
25826 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25827 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25828 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25829 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25830 require.
25831 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25832 sigevent): Specify elements.
25833 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25834 entry.
25835 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25836 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25837
a483863f
JM
25838 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25839 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25840 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25841 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25842 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25843 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25844 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25845 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25846 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25847 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25848 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25849 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25850 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25851 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25852 Likewise.
25853 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25854 Likewise.
25855 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25856 Likewise.
25857 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25858 Likewise.
25859 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25860 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25861 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25862 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25863 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25864 Specify lower bound on value.
25865 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25868 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25871 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25872 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25873 value.
25874 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25875 as optional.
25876 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25877 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25879 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25890 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25892 entry.
25893 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25894 optional.
25895 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25901 Likewise.
25902 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25907 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25908 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25909 as optional.
25910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25914 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25915 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25916 specify as optional.
25917 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25920 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25921 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25922 [XPG3] (NL_LANGMAX): Likewise.
25923 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25924 [POSIX || XPG3] (NL_NMAX): Likewise.
25925 [POSIX || XPG3] (NL_SETMAX): Likewise.
25926 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25927 [XPG3] (NZERO): Likewise.
25928 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25929 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25930 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25931 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25932 (REG_ERANGE): Expect.
25933 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25934 optional-constant.
25935 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25936 Use (void) in prototype.
25937 [POSIX] (*_t): Allow.
25938 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25939 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25940 (WRDE_BADVAL): Expect.
25941
5ba924e3
JM
25942 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25943 expect.
25944 [XPG3 || XPG4] (O_RSYNC): Likewise.
25945 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25946 Likewise.
25947 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25948 [XPG3 || XPG4] (sigqueue): Likewise.
25949 [XPG3 || XPG4] (sigtimedwait): Likewise.
25950 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25951 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25952 [XPG3 || XPG4] (vsnprintf): Likewise.
25953 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25954 Likewise.
25955 [XPG3 || XPG4] (blksize_t): Likewise.
25956 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25957 Likewise.
25958 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25959 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25960 [XPG3 || XPG4] (struct itimerspec): Likewise.
25961 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25962 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25963 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25964 [XPG3 || XPG4] (clockid_t): Likewise.
25965 [XPG3 || XPG4] (timer_t): Likewise.
25966 [XPG3 || XPG4] (clock_getres): Likewise.
25967 [XPG3 || XPG4] (clock_gettime): Likewise.
25968 [XPG3 || XPG4] (clock_settime): Likewise.
25969 [XPG3 || XPG4] (nanosleep): Likewise.
25970 [XPG3 || XPG4] (timer_create): Likewise.
25971 [XPG3 || XPG4] (timer_delete): Likewise.
25972 [XPG3 || XPG4] (timer_gettime): Likewise.
25973 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25974 [XPG3 || XPG4] (timer_settime): Likewise.
25975 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25976 [XPG3 || XPG4] (getlogin_r): Likewise.
25977 [XPG3 || XPG4] (pread): Likewise.
25978 [XPG3 || XPG4] (pthread_atfork): Likewise.
25979 [XPG3 || XPG4] (pwrite): Likewise.
25980
ee663277
JM
25981 [BZ #14835]
25982 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25983 <bits/siginfo.h>.
25984
942caa16
PT
259852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25986
e19af380
PT
25987 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25988 finalizing MALLSTREAM.
25989
942caa16
PT
25990 * sysdeps/mach/hurd/syncfs.c: New file.
25991
cfde9b46
SP
259922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25993
25994 [BZ #14719]
25995 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25996 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25997 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25998 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25999 (_nss_dns_gethostbyname4_r): Likewise.
26000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26001 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26002
f6da27e5
PH
260032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26004
26005 [BZ #13763]
26006 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26007
6665d4a2
SM
260082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26009
1f51ee92
SM
26010 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26011 * elf/cache.c (print_entry): Print ",AArch64" for
26012 FLAG_AARCH64_LIB64
26013
6665d4a2
SM
26014 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26015 * elf/cache.c (print_entry): Print ",hard-float" for
26016 FLAG_ARM_LIBHF.
26017
05b227bd
DM
260182012-11-18 David S. Miller <davem@davemloft.net>
26019
26020 With help from Joseph Myers.
26021 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26022 cutoff to 2**-13.
26023 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26024 cutoff to 2**-25.
26025 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26026 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26027 small.
26028 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26029 * math/libm-test.inc (y0_test): New tests.
26030 (y1_test): New tests.
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26034
786b0b67
AS
260352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26036
26037 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26038 64-bit targets.
26039 * configure: Regenerated.
26040
8e18b86d
DM
260412012-11-17 David S. Miller <davem@davemloft.net>
26042
26043 [BZ #14811]
26044 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26045 nonzero exponents with absolute value below 0x1p-128 to +/-
26046 0x1p-128.
26047
531f1ae0
JM
260482012-11-17 Joseph Myers <joseph@codesourcery.com>
26049
12df29e2
JM
26050 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26051
150dc1a0
JM
26052 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26053
531f1ae0
JM
26054 * posix/getconf-speclist.c: New file.
26055 * posix/posix-envs.def: Likewise.
26056 * posix/confstr.c (START_ENV_GROUP): New macro.
26057 (END_ENV_GROUP): Likewise.
26058 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26059 (KNOWN_PRESENT_ENV_STRING): Likewise.
26060 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26061 (UNKNOWN_ENVIRONMENT): Likewise.
26062 (confstr): Include posix-envs.def instead of handling
26063 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26064 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26065 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26066 (END_ENV_GROUP): Likewise.
26067 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26068 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26069 (UNKNOWN_ENVIRONMENT): Likewise.
26070 (__sysconf): Include posix-envs.def instead of handling associated
26071 cases directly here.
26072 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26073 preprocessing getconf-speclist.c rather than running getconf or
26074 generating empty file.
26075
a93f9cbc
PT
260762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26077
26078 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26079
d64d9f87
AL
260802012-11-16 Andrej Lajovic <natrij@gmail.com>
26081
26082 [BZ #14672]
26083 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26084
447885eb
DM
260852012-11-16 David S. Miller <davem@davemloft.net>
26086
26087 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26088 smaller than LDBL_EPSILON/2.0L, just return xm1.
26089
bcbf9830
L
260902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26091
26092 * elf/tst-array1.c (init): Set constructor priority to 1000.
26093 (fini): Set destructor priority to 1000.
26094 * elf/tst-array2dep.c: Likewise.
26095
2b766585
SP
260962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26097
26098 [BZ #11741]
26099 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26100 (_IO_new_file_xsputn): Also return EOF if none of the input
26101 data was written when overflow failed.
26102 * libio/iopadn.c (_IO_padn): Likewise.
26103 * libio/iowpadn.c (_IO_wpadn): Likewise.
26104 * stdio-common/tst-put-error.c: Add copyright notice.
26105 (do_test): Add case for printing padded string.
26106 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26107 _IO_padn returned error.
26108 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26109 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26110 return EOF.
26111
b1848fde
SP
261122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26113
26114 * libio/libioP.h: Add comment note that the references to C++
26115 bits are now obsolete.
26116
2fd89785
MS
261172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26118
26119 * math/libm-test.inc (check_complex): Use asprintf.
26120
e3ea5409
JM
261212012-11-14 Joseph Myers <joseph@codesourcery.com>
26122
26123 * debug/pcprofiledump.c (print_version): Update copyright year.
26124 * malloc/memusagestat.c (print_version): Likewise.
26125
2e64d265
L
261262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 [BZ #14831]
26129 * elf/Makefile (tests): Add tst-audit8.
26130 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26131 ($(objpfx)tst-audit8.out): New target.
26132 (tst-audit8-ENV): New variable.
26133 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26134 audit if l_reloc_result is NULL.
26135 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26136 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26137 * elf/tst-audit8.c: New file.
26138
c485e4d2
MS
261392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26140
26141 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26142 * misc/Makefile (CFLAGS-select.c): Define.
26143 * posix/Makefile (CFLAGS-pause.c): Define.
26144
3a0d900a
DM
261452012-11-13 David S. Miller <davem@davemloft.net>
26146
26147 * crypt/Makefile: Move test targets after toplevel Rules
26148 inclusion. Grab any necessary sysdep routines when linking.
26149 * crypt/md5.c (md5_process_block): Remove define, we will always
26150 name it __md5_process_block.
26151 (md5_finish_ctx): Update md5_process_block call.
26152 (md5_stream): Likewise.
26153 (md5_process_bytes): Likewise.
26154 (md5_process_block): Rename to __md5_process_block and move to ...
26155 * crypt/md5-block.c: ... here.
26156 * crypt/sha256.c (sha256_process_block): Move to ...
26157 * crypt/sha256-block.c: ... here.
26158 * crypt/sha512.c (sha512_process_block): Move to ...
26159 * crypt/sha512-block.c: ... here.
26160 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26161 path.
26162 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26163 * sysdeps/sparc/sparc64/multiarch/Makefile
26164 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26165 crypt subdir.
26166 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26168 multiarch changes.
26169 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26170 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26171 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26172 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26173 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26174 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26175 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26176 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26177 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26178 file.
26179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26180 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26181 file.
26182 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26183
8ca89318
JM
261842012-11-13 Joseph Myers <joseph@codesourcery.com>
26185
e27d476a
JM
26186 * timezone/tzselect.ksh: Update from tzcode git revision
26187 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26188 * timezone/zdump.c: Likewise.
26189 * timezone/zic.c: Likewise.
26190 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26191 in TZVERSION setting, not $(PKGVERSION).
26192 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26193 REPORT_BUGS_TO settings.
26194
8ca89318
JM
26195 [BZ #14838]
26196 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26197 macro.
26198
47594329
MS
261992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26200
26201 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26202 detection to immediately after _FP_ROUND().
26203 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26204 bits are 0.
26205
640ac3f1
DM
262062012-11-11 David S. Miller <davem@davemloft.net>
26207
26208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26209 inttypes.h
26210 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26211 __close rather than their public counterparts.
26212
3d2577bb
JM
262132012-11-10 Joseph Myers <joseph@codesourcery.com>
26214
26215 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26216 file.
26217 [UNIX98] (sem_timedwait): Do not expect.
26218 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26219 [XPG4 || UNIX98] (sockatmark): Do not expect.
26220 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26221 (clock_getcpuclockid): Do not expect.
26222 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26223 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26224 Do not expect.
26225 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26226 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26227 [UNIX98] (vwscanf): Likewise.
26228 [UNIX98] (vswscanf): Likewise.
26229
fb1ae1ee
JM
262302012-11-09 Joseph Myers <joseph@codesourcery.com>
26231
9ec6f8bd
JM
26232 * timezone/version.h: Remove file.
26233 * timezone/README: Do not refer to version.h.
26234 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26235 $(objpfx)version.h.
26236 ($(objpfx)zdump.o): Likewise.
c3f81911 26237 ($(objpfx)version.h): New target.
9ec6f8bd 26238
0aa8f8a1
JM
26239 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26240 2012i.
26241 * timezone/README: Don't mention modification to tzselect.ksh.
26242 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26243 work on unmodified tzselect.ksh. Substitute version numbers in
26244 tzselect.ksh.
26245
4e87147f
JM
26246 * Makefile (format-me): Remove.
26247 (INSTALL): Adjust indentation. Use commands directly instead of
26248 using $(format-me).
26249
8b748aed
JM
26250 * aclocal.m4 (ACX_PKGVERSION): New macro.
26251 (ACX_BUGURL): Likewise.
26252 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26253 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26254 (REPORT_BUGS_TO): Likewise.
26255 * configure: Regenerated.
26256 * config.h.in (PKGVERSION): New macro.
26257 (REPORT_BUGS_TO): Likewise.
26258 * config.make.in (PKGVERSION): New variable.
26259 (PKGVERSION_TEXI): Likewise.
26260 (REPORT_BUGS_TO): Likewise.
26261 (REPORT_BUGS_TEXI): Likewise.
26262 * Makefile (format-me): Use -I$(common-objpfx)manual.
26263 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26264 ($(common-objpfx)manual/%): New target.
26265 (manual/%): Remove target.
26266 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26267 (print_version): Use PKGVERSION.
26268 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26269 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26270 and REPORT_BUGS_TO.
26271 ($(objpfx)xtrace): Likewise.
26272 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26273 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26274 (print_version): Use PKGVERSION.
26275 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26276 (do_version): Use PKGVERSION.
26277 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26278 REPORT_BUGS_TO.
26279 (common-ldd-rewrite): Likewise.
26280 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26281 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26282 (print_version): Use PKGVERSION.
26283 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26284 * elf/pldd.c (argp_program_bug_address): Remove variable.
26285 (more_help): New function.
26286 (argp): Use more_help.
26287 (print_version): Use PKGVERSION.
26288 * elf/sln.c (main): Use PKGVERSION.
26289 (usage): Use REPORT_BUGS_TO.
26290 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26291 (top level): Use PKGVERSION.
26292 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26293 (print_version): Use PKGVERSION.
26294 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26295 (print_version): Use PKGVERSION.
26296 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26297 (print_version): Use PKGVERSION.
26298 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26299 (print_version): Use PKGVERSION.
26300 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26301 (print_version): Use PKGVERSION.
26302 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26303 (print_version): Use PKGVERSION.
26304 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26305 and BUGURL.
26306 ($(objpfx)memusage): Likewise.
26307 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26308 (do_version): Use PKGVERSION.
26309 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26310 (print_version): Use PKGVERSION.
26311 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26312 ($PKGVERSION): New variable.
26313 ($REPORT_BUGS_TO): Likewise.
26314 (usage): Use $REPORT_BUGS_TO.
26315 (top level): Use $PKGVERSION.
26316 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26317 ($(objpfx)pkgvers.texi): New rule.
26318 ($(objpfx)stamp-pkgvers): Likewise.
26319 * manual/install.texi: Include pkgvers.texi.
26320 (--with-pkgversion): Document new configure option.
26321 (--with-bugurl): Likewise.
26322 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26323 than necessarily for this particular distribution. Use
26324 REPORT_BUGS_TO for where to report bugs.
26325 * INSTALL: Regenerated.
26326 * manual/libc.texinfo: Include pkgvers.texi.
26327 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26328 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26329 (print_version): Use PKGVERSION.
26330 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26331 (print_version): Use PKGVERSION.
26332 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26333 (print_version): Use PKGVERSION.
26334 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26335 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26336 macro.
26337 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26338 (print_version): Use PKGVERSION.
26339 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26340 (print_version): Use PKGVERSION.
26341 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26342 and PKGVERSION.
26343
92e4b6a9
JM
26344 * timezone/checktab.awk: Update from tzcode 2012i.
26345 * timezone/ialloc.c: Likewise.
26346 * timezone/private.h: Likewise.
26347 * timezone/scheck.c: Likewise.
26348 * timezone/tzfile.h: Likewise.
26349 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26350 (TZVERSION): Hardcode tzcode version number.
26351 * timezone/zdump.c: Update from tzcode 2012i.
26352 * timezone/zic.c: Likewise.
26353 * timezone/version.h: New file.
26354 * timezone/README: Describe version.h. Update upstream location.
26355
9bde902c
JM
26356 [BZ #14824]
26357 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26358 (mktemp): Enable declaration.
26359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26363 Likewise.
26364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26365 Likewise.
26366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26367 Likewise.
26368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26369 Likewise.
26370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26371 Likewise.
26372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26373 Likewise.
26374
fb1ae1ee
JM
26375 [BZ #14821]
26376 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26377 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26378 for copies of such integer values.
26379 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26380 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26381
2c1adbcb
AJ
263822012-11-09 Andreas Jaeger <aj@suse.de>
26383
26384 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26385 definitions and declarations that are provided by
26386 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26387
d0f8457e
AK
263882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26389
3a235abb 26390 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26391 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26392 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26393 definition.
26394
57241e26
MS
263952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26396
26397 * elf/elf.h: Update comment before AArch64 relocations.
26398
60e8270d
DM
263992012-11-07 David S. Miller <davem@davemloft.net>
26400
26401 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26402 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26403 (__start_context): Declare.
26404 (__makecontext_ret): Delete.
26405 (__makecontext): Hook up __start_context instead of
26406 __makecontext_ret.
26407 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26408 (sysdep_routines): Add __start_context when in stdlib.
26409
0fbb0fbc
JM
264102012-11-07 Joseph Myers <joseph@codesourcery.com>
26411
26412 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26413 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26414 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26415 hardcoded "nm".
26416 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26417 (READELF): New variable. Use it instead of hardcoded "readelf".
26418
eb48db7e
L
264192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26420
26421 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26422 * sysdeps/x86/Makefile: Here.
26423 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26424 * sysdeps/x86/tst-xmmymm.sh: This.
26425
05bcf62a
JM
264262012-11-07 Joseph Myers <joseph@codesourcery.com>
26427
c4b6cf53
JM
26428 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26429 expectations.
26430 [UNIX98] (pthread_barrier_t): Do not expect.
26431 [UNIX98] (pthread_barrierattr_t): Likewise.
26432 [UNIX98] (pthread_spinlock_t): Likewise.
26433 [UNIX98] (pthread_barrier_destroy): Likewise.
26434 [UNIX98] (pthread_barrier_init): Likewise.
26435 [UNIX98] (pthread_barrier_wait): Likewise.
26436 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26437 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26438 [UNIX98] (pthread_barrierattr_init): Likewise.
26439 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26440 [UNIX98] (pthread_getcpuclockid): Likewise.
26441 [UNIX98] (pthread_mutex_timedlock): Likewise.
26442 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26443 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26444 [UNIX98] (pthread_sigmask): Likewise.
26445 [UNIX98] (pthread_spin_destroy): Likewise.
26446 [UNIX98] (pthread_spin_init): Likewise.
26447 [UNIX98] (pthread_spin_lock): Likewise.
26448 [UNIX98] (pthread_spin_trylock): Likewise.
26449 [UNIX98] (pthread_spin_unlock): Likewise.
26450 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26451 Do not expect.
26452 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26453 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26454 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26455 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26456 [XPG3 || XPG4] (pthread_key_t): Likewise.
26457 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26458 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26459 [XPG3 || XPG4] (pthread_once_t): Likewise.
26460 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26461 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26462 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26463 [XPG3 || XPG4] (pthread_t): Likewise.
26464
cbe6e120
JM
26465 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26466 not expect.
26467 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26468
1b126443
JM
26469 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26470 Change function return type to int.
26471
b961a573
JM
26472 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26473 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26474 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26475 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26476 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26477 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26478 [!POSIX] (posix_madvise): Likewise.
26479 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26480 && !UNIX98].
26481 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26482 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26483 (mode_t): Likewise.
26484 (posix_mem_offset): Likewise.
26485 (posix_typed_mem_get_info): Likewise.
26486 (posix_typed_mem_open): Likewise.
26487
9e188909
JM
26488 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26489 Change condition to [XOPEN2K8].
26490
05bcf62a
JM
26491 * conform/conformtest.pl: Preprocess allow-header data with -x c
26492 instead of from stdin.
26493 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26494 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26495 [C99-based standards] (cerfc): Likewise.
26496 [C99-based standards] (cexp2): Likewise.
26497 [C99-based standards] (cexpm1): Likewise.
26498 [C99-based standards] (clog10): Likewise.
26499 [C99-based standards] (clog1p): Likewise.
26500 [C99-based standards] (clog2): Likewise.
26501 [C99-based standards] (clgamma): Likewise.
26502 [C99-based standards] (ctgamma): Likewise.
26503 [C99-based standards] (cerff): Likewise.
26504 [C99-based standards] (cerfcf): Likewise.
26505 [C99-based standards] (cexp2f): Likewise.
26506 [C99-based standards] (cexpm1f): Likewise.
26507 [C99-based standards] (clog10f): Likewise.
26508 [C99-based standards] (clog1pf): Likewise.
26509 [C99-based standards] (clog2f): Likewise.
26510 [C99-based standards] (clgammaf): Likewise.
26511 [C99-based standards] (ctgammaf): Likewise.
26512 [C99-based standards] (cerfl): Likewise.
26513 [C99-based standards] (cerfcl): Likewise.
26514 [C99-based standards] (cexp2l): Likewise.
26515 [C99-based standards] (cexpm1l): Likewise.
26516 [C99-based standards] (clog10l): Likewise.
26517 [C99-based standards] (clog1pl): Likewise.
26518 [C99-based standards] (clog2l): Likewise.
26519 [C99-based standards] (clgammal): Likewise.
26520 [C99-based standards] (ctgammal): Likewise.
26521 * conform/data/inttypes.h-data [C99-based standards]: Include
26522 stdint.h-data. Remove all expectations for stdint.h contents.
26523 [C99-based standards] (PRI*): Do not allow.
26524 [C99-based standards] (SCN*): Likewise.
26525 [C99-based standards] (*_t): Likewise.
26526 [C99-based-standards] (PRId8): Expect macro.
26527 [C99-based-standards] (PRIi8): Likewise.
26528 [C99-based-standards] (PRIo8): Likewise.
26529 [C99-based-standards] (PRIu8): Likewise.
26530 [C99-based-standards] (PRIx8): Likewise.
26531 [C99-based-standards] (PRIX8): Likewise.
26532 [C99-based-standards] (SCNd8): Likewise.
26533 [C99-based-standards] (SCNi8): Likewise.
26534 [C99-based-standards] (SCNo8): Likewise.
26535 [C99-based-standards] (SCNu8): Likewise.
26536 [C99-based-standards] (SCNx8): Likewise.
26537 [C99-based-standards] (PRIdLEAST8): Likewise.
26538 [C99-based-standards] (PRIiLEAST8): Likewise.
26539 [C99-based-standards] (PRIoLEAST8): Likewise.
26540 [C99-based-standards] (PRIuLEAST8): Likewise.
26541 [C99-based-standards] (PRIxLEAST8): Likewise.
26542 [C99-based-standards] (PRIXLEAST8): Likewise.
26543 [C99-based-standards] (SCNdLEAST8): Likewise.
26544 [C99-based-standards] (SCNiLEAST8): Likewise.
26545 [C99-based-standards] (SCNoLEAST8): Likewise.
26546 [C99-based-standards] (SCNuLEAST8): Likewise.
26547 [C99-based-standards] (SCNxLEAST8): Likewise.
26548 [C99-based-standards] (PRIdFAST8): Likewise.
26549 [C99-based-standards] (PRIiFAST8): Likewise.
26550 [C99-based-standards] (PRIoFAST8): Likewise.
26551 [C99-based-standards] (PRIuFAST8): Likewise.
26552 [C99-based-standards] (PRIxFAST8): Likewise.
26553 [C99-based-standards] (PRIXFAST8): Likewise.
26554 [C99-based-standards] (SCNdFAST8): Likewise.
26555 [C99-based-standards] (SCNiFAST8): Likewise.
26556 [C99-based-standards] (SCNoFAST8): Likewise.
26557 [C99-based-standards] (SCNuFAST8): Likewise.
26558 [C99-based-standards] (SCNxFAST8): Likewise.
26559 [C99-based-standards] (PRId16): Likewise.
26560 [C99-based-standards] (PRIi16): Likewise.
26561 [C99-based-standards] (PRIo16): Likewise.
26562 [C99-based-standards] (PRIu16): Likewise.
26563 [C99-based-standards] (PRIx16): Likewise.
26564 [C99-based-standards] (PRIX16): Likewise.
26565 [C99-based-standards] (SCNd16): Likewise.
26566 [C99-based-standards] (SCNi16): Likewise.
26567 [C99-based-standards] (SCNo16): Likewise.
26568 [C99-based-standards] (SCNu16): Likewise.
26569 [C99-based-standards] (SCNx16): Likewise.
26570 [C99-based-standards] (PRIdLEAST16): Likewise.
26571 [C99-based-standards] (PRIiLEAST16): Likewise.
26572 [C99-based-standards] (PRIoLEAST16): Likewise.
26573 [C99-based-standards] (PRIuLEAST16): Likewise.
26574 [C99-based-standards] (PRIxLEAST16): Likewise.
26575 [C99-based-standards] (PRIXLEAST16): Likewise.
26576 [C99-based-standards] (SCNdLEAST16): Likewise.
26577 [C99-based-standards] (SCNiLEAST16): Likewise.
26578 [C99-based-standards] (SCNoLEAST16): Likewise.
26579 [C99-based-standards] (SCNuLEAST16): Likewise.
26580 [C99-based-standards] (SCNxLEAST16): Likewise.
26581 [C99-based-standards] (PRIdFAST16): Likewise.
26582 [C99-based-standards] (PRIiFAST16): Likewise.
26583 [C99-based-standards] (PRIoFAST16): Likewise.
26584 [C99-based-standards] (PRIuFAST16): Likewise.
26585 [C99-based-standards] (PRIxFAST16): Likewise.
26586 [C99-based-standards] (PRIXFAST16): Likewise.
26587 [C99-based-standards] (SCNdFAST16): Likewise.
26588 [C99-based-standards] (SCNiFAST16): Likewise.
26589 [C99-based-standards] (SCNoFAST16): Likewise.
26590 [C99-based-standards] (SCNuFAST16): Likewise.
26591 [C99-based-standards] (SCNxFAST16): Likewise.
26592 [C99-based-standards] (PRId32): Likewise.
26593 [C99-based-standards] (PRIi32): Likewise.
26594 [C99-based-standards] (PRIo32): Likewise.
26595 [C99-based-standards] (PRIu32): Likewise.
26596 [C99-based-standards] (PRIx32): Likewise.
26597 [C99-based-standards] (PRIX32): Likewise.
26598 [C99-based-standards] (SCNd32): Likewise.
26599 [C99-based-standards] (SCNi32): Likewise.
26600 [C99-based-standards] (SCNo32): Likewise.
26601 [C99-based-standards] (SCNu32): Likewise.
26602 [C99-based-standards] (SCNx32): Likewise.
26603 [C99-based-standards] (PRIdLEAST32): Likewise.
26604 [C99-based-standards] (PRIiLEAST32): Likewise.
26605 [C99-based-standards] (PRIoLEAST32): Likewise.
26606 [C99-based-standards] (PRIuLEAST32): Likewise.
26607 [C99-based-standards] (PRIxLEAST32): Likewise.
26608 [C99-based-standards] (PRIXLEAST32): Likewise.
26609 [C99-based-standards] (SCNdLEAST32): Likewise.
26610 [C99-based-standards] (SCNiLEAST32): Likewise.
26611 [C99-based-standards] (SCNoLEAST32): Likewise.
26612 [C99-based-standards] (SCNuLEAST32): Likewise.
26613 [C99-based-standards] (SCNxLEAST32): Likewise.
26614 [C99-based-standards] (PRIdFAST32): Likewise.
26615 [C99-based-standards] (PRIiFAST32): Likewise.
26616 [C99-based-standards] (PRIoFAST32): Likewise.
26617 [C99-based-standards] (PRIuFAST32): Likewise.
26618 [C99-based-standards] (PRIxFAST32): Likewise.
26619 [C99-based-standards] (PRIXFAST32): Likewise.
26620 [C99-based-standards] (SCNdFAST32): Likewise.
26621 [C99-based-standards] (SCNiFAST32): Likewise.
26622 [C99-based-standards] (SCNoFAST32): Likewise.
26623 [C99-based-standards] (SCNuFAST32): Likewise.
26624 [C99-based-standards] (SCNxFAST32): Likewise.
26625 [C99-based-standards] (PRId64): Likewise.
26626 [C99-based-standards] (PRIi64): Likewise.
26627 [C99-based-standards] (PRIo64): Likewise.
26628 [C99-based-standards] (PRIu64): Likewise.
26629 [C99-based-standards] (PRIx64): Likewise.
26630 [C99-based-standards] (PRIX64): Likewise.
26631 [C99-based-standards] (SCNd64): Likewise.
26632 [C99-based-standards] (SCNi64): Likewise.
26633 [C99-based-standards] (SCNo64): Likewise.
26634 [C99-based-standards] (SCNu64): Likewise.
26635 [C99-based-standards] (SCNx64): Likewise.
26636 [C99-based-standards] (PRIdLEAST64): Likewise.
26637 [C99-based-standards] (PRIiLEAST64): Likewise.
26638 [C99-based-standards] (PRIoLEAST64): Likewise.
26639 [C99-based-standards] (PRIuLEAST64): Likewise.
26640 [C99-based-standards] (PRIxLEAST64): Likewise.
26641 [C99-based-standards] (PRIXLEAST64): Likewise.
26642 [C99-based-standards] (SCNdLEAST64): Likewise.
26643 [C99-based-standards] (SCNiLEAST64): Likewise.
26644 [C99-based-standards] (SCNoLEAST64): Likewise.
26645 [C99-based-standards] (SCNuLEAST64): Likewise.
26646 [C99-based-standards] (SCNxLEAST64): Likewise.
26647 [C99-based-standards] (PRIdFAST64): Likewise.
26648 [C99-based-standards] (PRIiFAST64): Likewise.
26649 [C99-based-standards] (PRIoFAST64): Likewise.
26650 [C99-based-standards] (PRIuFAST64): Likewise.
26651 [C99-based-standards] (PRIxFAST64): Likewise.
26652 [C99-based-standards] (PRIXFAST64): Likewise.
26653 [C99-based-standards] (SCNdFAST64): Likewise.
26654 [C99-based-standards] (SCNiFAST64): Likewise.
26655 [C99-based-standards] (SCNoFAST64): Likewise.
26656 [C99-based-standards] (SCNuFAST64): Likewise.
26657 [C99-based-standards] (SCNxFAST64): Likewise.
26658 [C99-based-standards] (PRIdMAX): Likewise.
26659 [C99-based-standards] (PRIiMAX): Likewise.
26660 [C99-based-standards] (PRIoMAX): Likewise.
26661 [C99-based-standards] (PRIuMAX): Likewise.
26662 [C99-based-standards] (PRIxMAX): Likewise.
26663 [C99-based-standards] (PRIXMAX): Likewise.
26664 [C99-based-standards] (SCNdMAX): Likewise.
26665 [C99-based-standards] (SCNiMAX): Likewise.
26666 [C99-based-standards] (SCNoMAX): Likewise.
26667 [C99-based-standards] (SCNuMAX): Likewise.
26668 [C99-based-standards] (SCNxMAX): Likewise.
26669 [C99-based-standards] (PRIdPTR): Likewise.
26670 [C99-based-standards] (PRIiPTR): Likewise.
26671 [C99-based-standards] (PRIoPTR): Likewise.
26672 [C99-based-standards] (PRIuPTR): Likewise.
26673 [C99-based-standards] (PRIxPTR): Likewise.
26674 [C99-based-standards] (PRIXPTR): Likewise.
26675 [C99-based-standards] (SCNdPTR): Likewise.
26676 [C99-based-standards] (SCNiPTR): Likewise.
26677 [C99-based-standards] (SCNoPTR): Likewise.
26678 [C99-based-standards] (SCNuPTR): Likewise.
26679 [C99-based-standards] (SCNxPTR): Likewise.
26680 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26681 allow.
26682 * conform/data/stdint.h-data: Update comments to clarify
26683 requirements.
26684 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26685 type.
26686 [C99-based standards] (INT8_MAX): Likewise.
26687 [C99-based standards] (INT16_MIN): Likewise.
26688 [C99-based standards] (INT16_MAX): Likewise.
26689 [C99-based standards] (INT32_MIN): Likewise.
26690 [C99-based standards] (INT32_MAX): Likewise.
26691 [C99-based standards] (INT64_MIN): Likewise.
26692 [C99-based standards] (INT64_MAX): Likewise.
26693 [C99-based standards] (UINT8_MAX): Likewise.
26694 [C99-based standards] (UINT16_MAX): Likewise.
26695 [C99-based standards] (UINT32_MAX): Likewise.
26696 [C99-based standards] (UINT64_MAX): Likewise.
26697 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26698 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26699 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26700 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26701 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26702 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26703 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26704 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26705 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26706 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26707 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26708 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26709 [C99-based standards] (INT_FAST8_MIN): Likewise.
26710 [C99-based standards] (INT_FAST8_MAX): Likewise.
26711 [C99-based standards] (INT_FAST16_MIN): Likewise.
26712 [C99-based standards] (INT_FAST16_MAX): Likewise.
26713 [C99-based standards] (INT_FAST32_MIN): Likewise.
26714 [C99-based standards] (INT_FAST32_MAX): Likewise.
26715 [C99-based standards] (INT_FAST64_MIN): Likewise.
26716 [C99-based standards] (INT_FAST64_MAX): Likewise.
26717 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26718 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26719 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26720 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26721 [C99-based standards] (INTPTR_MIN): Likewise.
26722 [C99-based standards] (INTPTR_MAX): Likewise.
26723 [C99-based standards] (UINTPTR_MAX): Likewise.
26724 [C99-based standards] (INTMAX_MIN): Likewise.
26725 [C99-based standards] (INTMAX_MAX): Likewise.
26726 [C99-based standards] (UINTMAX_MAX): Likewise.
26727 [C99-based standards] (PTRDIFF_MIN): Likewise.
26728 [C99-based standards] (PTRDIFF_MAX): Likewise.
26729 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26730 [C99-based standards] (SIZE_MAX): Likewise.
26731 [C99-based standards] (WCHAR_MAX): Likewise.
26732 [C99-based standards] (WINT_MAX): Likewise.
26733 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26734 constraint on value.
26735 [C99-based standards] (WCHAR_MIN): Likewise.
26736 [C99-based standards] (WINT_MIN): Likewise.
26737 [C99-based standards] (*_t): Allow.
26738 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26739 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26740 Include math.h-data and complex.h-data. Remove all expectations
26741 of math.h and complex.h contents.
26742 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26743 at end of line.
26744 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26745 (struct tm): Expect tag.
26746 [C99-based-standards] (wcstof): Expect function.
26747 [C99-based-standards] (wcstold): Likewise.
26748 [C99-based-standards] (wcstoll): Likewise.
26749 [C99-based-standards] (wcstoull): Likewise.
26750 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26751 macro-int-constant. Specify type.
26752 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26753 constraint on value.
26754 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26755 Specify type.
26756 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26757 Specify value.
26758 [ISO C standards]: Do not allow headers.
26759 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26760 wcs[abcdefghijklmnopqrstuvwxyz]*.
26761 [ISO C standards] (*_t): Do not allow.
26762 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26763 Expect function.
26764 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26765 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26766 Specify type.
26767 [ISO C standards]: Do not allow headers.
26768 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26769 is[abcdefghijklmnopqrstuvwxyz]*.
26770 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26771 to[abcdefghijklmnopqrstuvwxyz]*.
26772 [ISO C standards] (*_t): Do not allow.
26773 * conform/data/stdalign.h-data: New file.
26774 * conform/data/stdbool.h-data: Likewise.
26775 * conform/data/stdnoreturn.h-data: Likewise.
26776
7514feb8
RM
267772012-11-07 Roland McGrath <roland@hack.frob.com>
26778
26779 [BZ #14815]
26780 * manual/filesys.texi (Directory Entries): Typo fix.
26781 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26782
19b2ecfc
MS
267832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26784
26785 * elf/elf.h (EM_AARCH64): New macro.
26786 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26787 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26788 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26789 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26790 (R_AARCH64_TLSDESC): Likewise.
26791 (NT_ARM_TLS): Likewise.
26792 (NT_ARM_HW_BREAK): Likewise.
26793 (NT_ARM_HW_WATCH): Likewise.
26794
60e235ee
JM
267952012-11-07 Joseph Myers <joseph@codesourcery.com>
26796
26797 [BZ #14811]
26798 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26799 (__ieee754_powl): Saturate nonzero exponents with absolute value
26800 below 0x1p-79 to +/- 0x1p-79.
26801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26802 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26803 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26804 nonzero exponents with absolute value below 0x1p-32 to +/-
26805 0x1p-32.
26806 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26807 (__ieee754_powl): Saturate nonzero exponents with absolute value
26808 below 0x1p-79 to +/- 0x1p-79.
26809 * math/libm-test.inc (pow_test): Add more tests.
26810
0ab234b7
AK
268112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26812
26813 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26814 _dl_s390_cap_flags with kernel. Increase string length.
26815 (_dl_s390_platforms): Add z196 and zEC12.
26816
45832f74
JM
268172012-11-07 Joseph Myers <joseph@codesourcery.com>
26818
26819 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26820 Change XOPEN21K to XOPEN2K.
26821
19218757
MK
268222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26823
26824 * string/memmove.c: Use memcpy when possible.
26825
c5f45721
AJ
268262012-11-06 Andreas Jaeger <aj@suse.de>
26827
26828 * po/eo.po: Update from translation team.
26829
82477c28
JM
268302012-11-06 Joseph Myers <joseph@codesourcery.com>
26831
26832 [BZ #14793]
26833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26834 exponent and small x and y exponents, scale x or y up. Increase
26835 by 2 the exponent used in scaling up.
26836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26838 * math/libm-test.inc (fma_test): Add more tests.
26839 (fma_test_towardzero): Likewise.
26840 (fma_test_downward): Likewise.
26841 (fma_test_upward): Likewise.
26842
99252c8c
JM
268432012-11-05 Joseph Myers <joseph@codesourcery.com>
26844
acfa885f
JM
26845 [BZ #14805]
26846 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26847 fenv_t *.
26848
99252c8c
JM
26849 [BZ #14801]
26850 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26851 namespace for names of struct fields.
26852 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26853 fenv_t fields.
26854 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26855 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26856
d6d98dea
ST
268572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26858
26859 [BZ #3665]
26860 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26861
e10bb107
TS
268622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26863
26864 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26865 PTR_DEMANGLE.
26866
26867 [BZ #5246]
26868 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26869 PTR_DEMANGLE.
26870
a0c2940d
JM
268712012-11-04 Joseph Myers <joseph@codesourcery.com>
26872
26873 [BZ #14797]
26874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26875 definitely overflow as x * y not x * y + z.
26876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26878 * math/libm-test.inc (fma_test): Add more tests.
26879 (fma_test_towardzero): Likewise.
26880 (fma_test_downward): Likewise.
26881 (fma_test_upward): Likewise.
26882
b830319d
TS
268832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26884
26885 [BZ #157]
26886
26887 * include/stub-tag.h: Remove file.
26888 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26889 '#include' of it.
26890 * manual/maint.texi (Porting): Don't reference it.
26891 * Makerules ($(objpfx)stubs): Likewise.
26892 * dirent/closedir.c: Don't include <stub-tag.h>.
26893 * dirent/dirfd.c: Likewise.
26894 * dirent/fdopendir.c: Likewise.
26895 * dirent/getdents.c: Likewise.
26896 * dirent/getdents64.c: Likewise.
26897 * dirent/opendir.c: Likewise.
26898 * dirent/readdir.c: Likewise.
26899 * dirent/readdir64.c: Likewise.
26900 * dirent/readdir64_r.c: Likewise.
26901 * dirent/readdir_r.c: Likewise.
26902 * dirent/rewinddir.c: Likewise.
26903 * dirent/seekdir.c: Likewise.
26904 * dirent/telldir.c: Likewise.
26905 * gmon/profil.c: Likewise.
26906 * grp/setgroups.c: Likewise.
26907 * inet/if_index.c: Likewise.
26908 * io/access.c: Likewise.
26909 * io/chdir.c: Likewise.
26910 * io/chmod.c: Likewise.
26911 * io/chown.c: Likewise.
26912 * io/close.c: Likewise.
26913 * io/dup.c: Likewise.
26914 * io/dup2.c: Likewise.
26915 * io/dup3.c: Likewise.
26916 * io/euidaccess.c: Likewise.
26917 * io/faccessat.c: Likewise.
26918 * io/fchdir.c: Likewise.
26919 * io/fchmod.c: Likewise.
26920 * io/fchmodat.c: Likewise.
26921 * io/fchown.c: Likewise.
26922 * io/fchownat.c: Likewise.
26923 * io/fcntl.c: Likewise.
26924 * io/flock.c: Likewise.
26925 * io/fstatfs.c: Likewise.
26926 * io/fstatfs64.c: Likewise.
26927 * io/fstatvfs.c: Likewise.
26928 * io/fstatvfs64.c: Likewise.
26929 * io/futimens.c: Likewise.
26930 * io/fxstat.c: Likewise.
26931 * io/fxstat64.c: Likewise.
26932 * io/fxstatat.c: Likewise.
26933 * io/fxstatat64.c: Likewise.
26934 * io/getcwd.c: Likewise.
26935 * io/isatty.c: Likewise.
26936 * io/lchmod.c: Likewise.
26937 * io/lchown.c: Likewise.
26938 * io/link.c: Likewise.
26939 * io/linkat.c: Likewise.
26940 * io/lseek.c: Likewise.
26941 * io/lseek64.c: Likewise.
26942 * io/lxstat64.c: Likewise.
26943 * io/mkdir.c: Likewise.
26944 * io/mkdirat.c: Likewise.
26945 * io/mkfifo.c: Likewise.
26946 * io/mkfifoat.c: Likewise.
26947 * io/open.c: Likewise.
26948 * io/open64.c: Likewise.
26949 * io/openat.c: Likewise.
26950 * io/openat64.c: Likewise.
26951 * io/pipe.c: Likewise.
26952 * io/pipe2.c: Likewise.
26953 * io/poll.c: Likewise.
26954 * io/posix_fadvise.c: Likewise.
26955 * io/posix_fadvise64.c: Likewise.
26956 * io/posix_fallocate.c: Likewise.
26957 * io/posix_fallocate64.c: Likewise.
26958 * io/read.c: Likewise.
26959 * io/readlink.c: Likewise.
26960 * io/readlinkat.c: Likewise.
26961 * io/rmdir.c: Likewise.
26962 * io/sendfile.c: Likewise.
26963 * io/sendfile64.c: Likewise.
26964 * io/statfs.c: Likewise.
26965 * io/statfs64.c: Likewise.
26966 * io/statvfs.c: Likewise.
26967 * io/statvfs64.c: Likewise.
26968 * io/symlink.c: Likewise.
26969 * io/symlinkat.c: Likewise.
26970 * io/ttyname.c: Likewise.
26971 * io/ttyname_r.c: Likewise.
26972 * io/umask.c: Likewise.
26973 * io/unlink.c: Likewise.
26974 * io/unlinkat.c: Likewise.
26975 * io/utime.c: Likewise.
26976 * io/utimensat.c: Likewise.
26977 * io/write.c: Likewise.
26978 * io/xmknod.c: Likewise.
26979 * io/xmknodat.c: Likewise.
26980 * io/xstat.c: Likewise.
26981 * io/xstat64.c: Likewise.
26982 * login/getpt.c: Likewise.
26983 * login/grantpt.c: Likewise.
26984 * login/unlockpt.c: Likewise.
26985 * math/e_acoshl.c: Likewise.
26986 * math/e_acosl.c: Likewise.
26987 * math/e_asinl.c: Likewise.
26988 * math/e_atan2l.c: Likewise.
26989 * math/e_atanhl.c: Likewise.
26990 * math/e_coshl.c: Likewise.
26991 * math/e_expl.c: Likewise.
26992 * math/e_fmodl.c: Likewise.
26993 * math/e_gammal_r.c: Likewise.
26994 * math/e_hypotl.c: Likewise.
26995 * math/e_j0l.c: Likewise.
26996 * math/e_j1l.c: Likewise.
26997 * math/e_jnl.c: Likewise.
26998 * math/e_lgammal_r.c: Likewise.
26999 * math/e_log10l.c: Likewise.
27000 * math/e_log2l.c: Likewise.
27001 * math/e_logl.c: Likewise.
27002 * math/e_powl.c: Likewise.
27003 * math/e_rem_pio2l.c: Likewise.
27004 * math/e_sinhl.c: Likewise.
27005 * math/e_sqrtl.c: Likewise.
27006 * math/fclrexcpt.c: Likewise.
27007 * math/fedisblxcpt.c: Likewise.
27008 * math/feenablxcpt.c: Likewise.
27009 * math/fegetenv.c: Likewise.
27010 * math/fegetexcept.c: Likewise.
27011 * math/fegetround.c: Likewise.
27012 * math/feholdexcpt.c: Likewise.
27013 * math/fesetenv.c: Likewise.
27014 * math/fesetround.c: Likewise.
27015 * math/feupdateenv.c: Likewise.
27016 * math/fgetexcptflg.c: Likewise.
27017 * math/fraiseexcpt.c: Likewise.
27018 * math/fsetexcptflg.c: Likewise.
27019 * math/ftestexcept.c: Likewise.
27020 * math/k_cosl.c: Likewise.
27021 * math/k_rem_pio2l.c: Likewise.
27022 * math/k_sinl.c: Likewise.
27023 * math/k_tanl.c: Likewise.
27024 * math/s_asinhl.c: Likewise.
27025 * math/s_atanl.c: Likewise.
27026 * math/s_cbrtl.c: Likewise.
27027 * math/s_erfl.c: Likewise.
27028 * math/s_expm1l.c: Likewise.
27029 * math/s_log1pl.c: Likewise.
27030 * math/s_tanhl.c: Likewise.
27031 * misc/acct.c: Likewise.
27032 * misc/brk.c: Likewise.
27033 * misc/chflags.c: Likewise.
27034 * misc/chroot.c: Likewise.
27035 * misc/fchflags.c: Likewise.
27036 * misc/fgetxattr.c: Likewise.
27037 * misc/flistxattr.c: Likewise.
27038 * misc/fremovexattr.c: Likewise.
27039 * misc/fsetxattr.c: Likewise.
27040 * misc/fsync.c: Likewise.
27041 * misc/ftruncate.c: Likewise.
27042 * misc/futimes.c: Likewise.
27043 * misc/futimesat.c: Likewise.
27044 * misc/getdomain.c: Likewise.
27045 * misc/getdtsz.c: Likewise.
27046 * misc/gethostid.c: Likewise.
27047 * misc/gethostname.c: Likewise.
27048 * misc/getloadavg.c: Likewise.
27049 * misc/getpagesize.c: Likewise.
27050 * misc/getsysstats.c: Likewise.
27051 * misc/getxattr.c: Likewise.
27052 * misc/gtty.c: Likewise.
27053 * misc/ioctl.c: Likewise.
27054 * misc/lgetxattr.c: Likewise.
27055 * misc/listxattr.c: Likewise.
27056 * misc/llistxattr.c: Likewise.
27057 * misc/lremovexattr.c: Likewise.
27058 * misc/lsetxattr.c: Likewise.
27059 * misc/lutimes.c: Likewise.
27060 * misc/madvise.c: Likewise.
27061 * misc/mincore.c: Likewise.
27062 * misc/mlock.c: Likewise.
27063 * misc/mlockall.c: Likewise.
27064 * misc/mmap.c: Likewise.
27065 * misc/mprotect.c: Likewise.
27066 * misc/msync.c: Likewise.
27067 * misc/munlock.c: Likewise.
27068 * misc/munlockall.c: Likewise.
27069 * misc/munmap.c: Likewise.
27070 * misc/preadv.c: Likewise.
27071 * misc/preadv64.c: Likewise.
27072 * misc/ptrace.c: Likewise.
27073 * misc/pwritev.c: Likewise.
27074 * misc/pwritev64.c: Likewise.
27075 * misc/readv.c: Likewise.
27076 * misc/reboot.c: Likewise.
27077 * misc/remap_file_pages.c: Likewise.
27078 * misc/removexattr.c: Likewise.
27079 * misc/revoke.c: Likewise.
27080 * misc/select.c: Likewise.
27081 * misc/setdomain.c: Likewise.
27082 * misc/setegid.c: Likewise.
27083 * misc/seteuid.c: Likewise.
27084 * misc/sethostid.c: Likewise.
27085 * misc/sethostname.c: Likewise.
27086 * misc/setregid.c: Likewise.
27087 * misc/setreuid.c: Likewise.
27088 * misc/setxattr.c: Likewise.
27089 * misc/sstk.c: Likewise.
27090 * misc/stty.c: Likewise.
27091 * misc/swapoff.c: Likewise.
27092 * misc/swapon.c: Likewise.
27093 * misc/sync.c: Likewise.
27094 * misc/syncfs.c: Likewise.
27095 * misc/syscall.c: Likewise.
27096 * misc/truncate.c: Likewise.
27097 * misc/ualarm.c: Likewise.
27098 * misc/usleep.c: Likewise.
27099 * misc/ustat.c: Likewise.
27100 * misc/utimes.c: Likewise.
27101 * misc/vhangup.c: Likewise.
27102 * misc/writev.c: Likewise.
27103 * posix/_exit.c: Likewise.
27104 * posix/alarm.c: Likewise.
27105 * posix/execve.c: Likewise.
27106 * posix/fexecve.c: Likewise.
27107 * posix/fork.c: Likewise.
27108 * posix/fpathconf.c: Likewise.
27109 * posix/getaddrinfo.c: Likewise.
27110 * posix/getegid.c: Likewise.
27111 * posix/geteuid.c: Likewise.
27112 * posix/getgid.c: Likewise.
27113 * posix/getgroups.c: Likewise.
27114 * posix/getlogin.c: Likewise.
27115 * posix/getlogin_r.c: Likewise.
27116 * posix/getpgid.c: Likewise.
27117 * posix/getpid.c: Likewise.
27118 * posix/getppid.c: Likewise.
27119 * posix/getresgid.c: Likewise.
27120 * posix/getresuid.c: Likewise.
27121 * posix/getsid.c: Likewise.
27122 * posix/getuid.c: Likewise.
27123 * posix/glob64.c: Likewise.
27124 * posix/nanosleep.c: Likewise.
27125 * posix/pathconf.c: Likewise.
27126 * posix/pause.c: Likewise.
27127 * posix/posix_madvise.c: Likewise.
27128 * posix/pread.c: Likewise.
27129 * posix/pread64.c: Likewise.
27130 * posix/pwrite.c: Likewise.
27131 * posix/pwrite64.c: Likewise.
27132 * posix/sched_getaffinity.c: Likewise.
27133 * posix/sched_getp.c: Likewise.
27134 * posix/sched_gets.c: Likewise.
27135 * posix/sched_primax.c: Likewise.
27136 * posix/sched_primin.c: Likewise.
27137 * posix/sched_rr_gi.c: Likewise.
27138 * posix/sched_setaffinity.c: Likewise.
27139 * posix/sched_setp.c: Likewise.
27140 * posix/sched_sets.c: Likewise.
27141 * posix/sched_yield.c: Likewise.
27142 * posix/setgid.c: Likewise.
27143 * posix/setlogin.c: Likewise.
27144 * posix/setpgid.c: Likewise.
27145 * posix/setresgid.c: Likewise.
27146 * posix/setresuid.c: Likewise.
27147 * posix/setsid.c: Likewise.
27148 * posix/setuid.c: Likewise.
27149 * posix/sleep.c: Likewise.
27150 * posix/spawni.c: Likewise.
27151 * posix/sysconf.c: Likewise.
27152 * posix/times.c: Likewise.
27153 * posix/wait.c: Likewise.
27154 * posix/wait3.c: Likewise.
27155 * posix/wait4.c: Likewise.
27156 * posix/waitpid.c: Likewise.
27157 * resolv/gai_sigqueue.c: Likewise.
27158 * resource/getpriority.c: Likewise.
27159 * resource/getrlimit.c: Likewise.
27160 * resource/getrusage.c: Likewise.
27161 * resource/nice.c: Likewise.
27162 * resource/setpriority.c: Likewise.
27163 * resource/setrlimit.c: Likewise.
27164 * resource/ulimit.c: Likewise.
27165 * rt/aio_cancel.c: Likewise.
27166 * rt/aio_fsync.c: Likewise.
27167 * rt/aio_read.c: Likewise.
27168 * rt/aio_sigqueue.c: Likewise.
27169 * rt/aio_suspend.c: Likewise.
27170 * rt/aio_write.c: Likewise.
27171 * rt/clock_getres.c: Likewise.
27172 * rt/clock_gettime.c: Likewise.
27173 * rt/clock_nanosleep.c: Likewise.
27174 * rt/clock_settime.c: Likewise.
27175 * rt/lio_listio.c: Likewise.
27176 * rt/mq_close.c: Likewise.
27177 * rt/mq_getattr.c: Likewise.
27178 * rt/mq_notify.c: Likewise.
27179 * rt/mq_open.c: Likewise.
27180 * rt/mq_receive.c: Likewise.
27181 * rt/mq_send.c: Likewise.
27182 * rt/mq_setattr.c: Likewise.
27183 * rt/mq_timedreceive.c: Likewise.
27184 * rt/mq_timedsend.c: Likewise.
27185 * rt/mq_unlink.c: Likewise.
27186 * rt/shm_open.c: Likewise.
27187 * rt/shm_unlink.c: Likewise.
27188 * rt/timer_create.c: Likewise.
27189 * rt/timer_delete.c: Likewise.
27190 * rt/timer_getoverr.c: Likewise.
27191 * rt/timer_gettime.c: Likewise.
27192 * rt/timer_settime.c: Likewise.
27193 * setjmp/__longjmp.c: Likewise.
27194 * setjmp/setjmp.c: Likewise.
27195 * signal/kill.c: Likewise.
27196 * signal/killpg.c: Likewise.
27197 * signal/raise.c: Likewise.
27198 * signal/sigaction.c: Likewise.
27199 * signal/sigaltstack.c: Likewise.
27200 * signal/sigblock.c: Likewise.
27201 * signal/sigignore.c: Likewise.
27202 * signal/sigintr.c: Likewise.
27203 * signal/signal.c: Likewise.
27204 * signal/sigpause.c: Likewise.
27205 * signal/sigpending.c: Likewise.
27206 * signal/sigqueue.c: Likewise.
27207 * signal/sigreturn.c: Likewise.
27208 * signal/sigset.c: Likewise.
27209 * signal/sigsetmask.c: Likewise.
27210 * signal/sigstack.c: Likewise.
27211 * signal/sigsuspend.c: Likewise.
27212 * signal/sigtimedwait.c: Likewise.
27213 * signal/sigvec.c: Likewise.
27214 * signal/sigwait.c: Likewise.
27215 * signal/sigwaitinfo.c: Likewise.
27216 * signal/sysv_signal.c: Likewise.
27217 * socket/accept.c: Likewise.
27218 * socket/accept4.c: Likewise.
27219 * socket/bind.c: Likewise.
27220 * socket/connect.c: Likewise.
27221 * socket/getpeername.c: Likewise.
27222 * socket/getsockname.c: Likewise.
27223 * socket/getsockopt.c: Likewise.
27224 * socket/isfdtype.c: Likewise.
27225 * socket/listen.c: Likewise.
27226 * socket/recv.c: Likewise.
27227 * socket/recvfrom.c: Likewise.
27228 * socket/recvmsg.c: Likewise.
27229 * socket/send.c: Likewise.
27230 * socket/sendmsg.c: Likewise.
27231 * socket/sendto.c: Likewise.
27232 * socket/setsockopt.c: Likewise.
27233 * socket/shutdown.c: Likewise.
27234 * socket/sockatmark.c: Likewise.
27235 * socket/socket.c: Likewise.
27236 * socket/socketpair.c: Likewise.
27237 * stdio-common/ctermid.c: Likewise.
27238 * stdio-common/cuserid.c: Likewise.
27239 * stdio-common/remove.c: Likewise.
27240 * stdio-common/rename.c: Likewise.
27241 * stdio-common/renameat.c: Likewise.
27242 * stdio-common/tempname.c: Likewise.
27243 * stdlib/getcontext.c: Likewise.
27244 * stdlib/makecontext.c: Likewise.
27245 * stdlib/setcontext.c: Likewise.
27246 * stdlib/swapcontext.c: Likewise.
27247 * stdlib/system.c: Likewise.
27248 * streams/fattach.c: Likewise.
27249 * streams/fdetach.c: Likewise.
27250 * streams/getmsg.c: Likewise.
27251 * streams/getpmsg.c: Likewise.
27252 * streams/putmsg.c: Likewise.
27253 * streams/putpmsg.c: Likewise.
27254 * sysdeps/unix/bsd/getpt.c: Likewise.
27255 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27256 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27257 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27259 Likewise.
27260 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27261 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27262 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27263 * sysvipc/msgctl.c: Likewise.
27264 * sysvipc/msgget.c: Likewise.
27265 * sysvipc/msgrcv.c: Likewise.
27266 * sysvipc/msgsnd.c: Likewise.
27267 * sysvipc/semctl.c: Likewise.
27268 * sysvipc/semget.c: Likewise.
27269 * sysvipc/semop.c: Likewise.
27270 * sysvipc/semtimedop.c: Likewise.
27271 * sysvipc/shmat.c: Likewise.
27272 * sysvipc/shmctl.c: Likewise.
27273 * sysvipc/shmdt.c: Likewise.
27274 * sysvipc/shmget.c: Likewise.
27275 * termios/tcdrain.c: Likewise.
27276 * termios/tcflow.c: Likewise.
27277 * termios/tcflush.c: Likewise.
27278 * termios/tcgetattr.c: Likewise.
27279 * termios/tcgetpgrp.c: Likewise.
27280 * termios/tcsendbrk.c: Likewise.
27281 * termios/tcsetattr.c: Likewise.
27282 * termios/tcsetpgrp.c: Likewise.
27283 * time/adjtime.c: Likewise.
27284 * time/clock.c: Likewise.
27285 * time/getitimer.c: Likewise.
27286 * time/gettimeofday.c: Likewise.
27287 * time/setitimer.c: Likewise.
27288 * time/settimeofday.c: Likewise.
27289 * time/stime.c: Likewise.
27290 * time/time.c: Likewise.
27291
272922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27293
a20492cf
PT
27294 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27295 /usr/old/bin.
27296
72e182e3
PT
27297 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27298 instead of spaces.
27299 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27300
fbeafede
JM
273012012-11-03 Joseph Myers <joseph@codesourcery.com>
27302
5b5b04d6
JM
27303 [BZ #14796]
27304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27305 FE_TONEAREST before applying Dekker multiplication and Knuth
27306 addition. Clear inexact exceptions and check for exact zero
27307 results afterwards.
27308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27309 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27311 * math/libm-test.inc (fma_test): Add more tests.
27312 (fma_test_towardzero): Likewise.
27313 (fma_test_downward): Likewise.
27314 (fma_test_upward): Likewise.
27315 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27316 function.
27317 (libc_fesetround): New macro.
27318 (libc_fesetroundf): Likewise.
27319 (libc_fesetroundl): Likewise.
27320 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27321 function.
27322 (libc_fesetround_387): Likewise.
27323 (libc_fesetroundf): New macro.
27324 (libc_fesetround): Likewise.
27325 (libc_fesetroundl): Likewise.
27326 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27327 function.
27328 (libc_fesetroundf): New macro.
27329 (libc_fesetround): Likewise.
27330 (libc_fesetroundl): Likewise.
27331 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27332 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27333 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27334 libm_hidden_ver.
27335 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27336 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27337 libm_hidden_def.
27338 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27339 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27340 libm_hidden_ver.
27341 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27342 libm_hidden_def.
27343
fbeafede
JM
27344 [BZ #3439]
27345 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27346 integer constant usable in #if and use that to give value to enum
27347 constant.
27348 (FE_DIVBYZERO): Likewise.
27349 (FE_UNDERFLOW): Likewise.
27350 (FE_OVERFLOW): Likewise.
27351 (FE_INVALID): Likewise.
27352 (FE_INVALID_SNAN): Likewise.
27353 (FE_INVALID_ISI): Likewise.
27354 (FE_INVALID_IDI): Likewise.
27355 (FE_INVALID_ZDZ): Likewise.
27356 (FE_INVALID_IMZ): Likewise.
27357 (FE_INVALID_COMPARE): Likewise.
27358 (FE_INVALID_SOFTWARE): Likewise.
27359 (FE_INVALID_SQRT): Likewise.
27360 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27361 (FE_TONEAREST): Likewise.
27362 (FE_TOWARDZERO): Likewise.
27363 (FE_UPWARD): Likewise.
27364 (FE_DOWNWARD): Likewise.
27365 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27366 (FE_DIVBYZERO): Likewise.
27367 (FE_OVERFLOW): Likewise.
27368 (FE_UNDERFLOW): Likewise.
27369 (FE_INEXACT): Likewise.
27370 (FE_TONEAREST): Likewise.
27371 (FE_DOWNWARD): Likewise.
27372 (FE_UPWARD): Likewise.
27373 (FE_TOWARDZERO): Likewise.
27374 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27375 (FE_UNDERFLOW): Likewise.
27376 (FE_OVERFLOW): Likewise.
27377 (FE_DIVBYZERO): Likewise.
27378 (FE_INVALID): Likewise.
27379 (FE_TONEAREST): Likewise.
27380 (FE_TOWARDZERO): Likewise.
27381 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27382 (FE_OVERFLOW): Likewise.
27383 (FE_UNDERFLOW): Likewise.
27384 (FE_DIVBYZERO): Likewise.
27385 (FE_INEXACT): Likewise.
27386 (FE_TONEAREST): Likewise.
27387 (FE_TOWARDZERO): Likewise.
27388 (FE_UPWARD): Likewise.
27389 (FE_DOWNWARD): Likewise.
27390 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27391 (FE_DIVBYZERO): Likewise.
27392 (FE_OVERFLOW): Likewise.
27393 (FE_UNDERFLOW): Likewise.
27394 (FE_INEXACT): Likewise.
27395 (FE_TONEAREST): Likewise.
27396 (FE_DOWNWARD): Likewise.
27397 (FE_UPWARD): Likewise.
27398 (FE_TOWARDZERO): Likewise.
27399
105ca950
CM
274002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27401
27402 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27403
a542b389
AS
274042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27405
27406 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27407 commands. Quote $PWD.
27408 (blacklist_exports): Don't use remove_newlines. Replace "declare
27409 -x" by "export".
27410 (remove_newlines): Remove.
27411
f62c8abc
L
274122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27413
27414 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27415 * stdlib/stdlib.h (atof): Moved to ...
27416 * include/bits/stdlib-float.h: Here. New file.
27417 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27418 * stdlib/bits/stdlib-float.h: New file.
27419 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27420 -mno-sse -mno-mmx.
27421 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27422 <xmmintrin.h>.
27423
0155d5b2
JM
274242012-11-02 Joseph Myers <joseph@codesourcery.com>
27425
a68d0680
JM
27426 * conform/conformtest.pl (@headers): Add fenv.h.
27427 * conform/data/fenv.h-data: New file.
27428 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27429 include of <math/fenv.h>.
27430
caf7f573
JM
27431 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27432 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27433 && !UNIX98]. Enables tests for XOPEN2K8.
27434 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27435 POSIX2008]: Likewise.
27436
6c073ad6
JM
27437 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27438 (struct rusage): Do not expect type or its members.
27439
0155d5b2
JM
27440 [BZ #3439]
27441 * math/math.h (FP_NAN): Define macro to integer constant usable in
27442 #if and use that to give value to enum constant.
27443 (FP_INFINITE): Likewise.
27444 (FP_ZERO): Likewise.
27445 (FP_SUBNORMAL): Likewise.
27446 (FP_NORMAL): Likewise.
27447
b5dcacb4
AS
274482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27449
27450 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27451 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27452 arguments.
27453
f7934be8
RM
274542012-11-02 Roland McGrath <roland@hack.frob.com>
27455
27456 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27457 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27458 autoconf-time if not.
27459 * configure.in: Remove AC_PREREQ.
27460
d7d08bde
TMQMF
274612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27462
27463 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27464 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27465 of the internal implementation.
27466
dcdae19a
JM
274672012-11-02 Joseph Myers <joseph@codesourcery.com>
27468
27469 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27470 except include of <misc/sys/syslog.h>.
27471
d6cffd3e
AS
274722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27473
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27475 function returns with a NULL context exit with zero.
27476
b3563932
TMQMF
274772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27478
27479 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27480
b288a93d
L
274812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27482
27483 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27484 (run_program_cmd): This.
27485 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27486 (tst_langinfo): New variable. Use it.
27487
a2421a68
SAS
274882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27489
27490 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27491 floating point opcodes.
27492
6f796e1b
TS
274932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27494
7402596b
TS
27495 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27496 variable.
27497
d0d4f868
TS
27498 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27499
6f796e1b
TS
27500 * sysdeps/mach/hurd/powerpc: Remove directory.
27501 * sysdeps/mach/powerpc: Likewise.
27502
4da224a2
AS
275032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27504
27505 * scripts/check-local-headers.sh: Ignore c++ headers.
27506
341dd673
TS
275072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27508
27509 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27510 __libc_cleanup_region_start argument.
27511
473611b2
JM
275122012-11-01 Joseph Myers <joseph@codesourcery.com>
27513
27514 [BZ #14784]
27515 [BZ #14785]
27516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27517 x * y using scaling, not as x * y + z.
27518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27520 * math/libm-test.inc (fma_test): Add more tests.
27521 (fma_test_towardzero): Likewise.
27522 (fma_test_downward): Likewise.
27523 (fma_test_upward): Likewise.
27524
4078da3d
TS
275252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27526
27527 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27528
903252aa
JM
275292012-10-31 Joseph Myers <joseph@codesourcery.com>
27530
27531 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27532 New variable.
27533
cbc818d0
TS
275342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27535
27536 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27537
5a03cb1e
AS
275382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27539
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27541 Fix sort order.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27543 Likewise.
27544
90aff2ff
TMQMF
275452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27546
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27548 Fix the order of the list for glibc 2.17.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27550 Likewise.
27551
1818fcb7
AS
275522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27553
27554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27555
ef82f4da
JM
275562012-10-31 Joseph Myers <joseph@codesourcery.com>
27557
16a0e2ec
JM
27558 [BZ #14610]
27559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27560 for low part of x being zero before using __atanl (y).
27561 * math/libm-test.inc (atan2_test): Add another test.
27562
0eb69512
JM
27563 * manual/install.texi (Configuring and compiling): Document
27564 general use of test-wrapper and test-wrapper-env.
27565 * INSTALL: Regenerated.
27566
ef82f4da
JM
27567 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27568 (__fma): Do not extract and scale down low bits on after-rounding
27569 systems when result rounded to normal precision would have normal
27570 exponent.
27571 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27572 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27580 macro.
27581 (fma_test): Add more tests.
27582 (fma_test_towardzero): Likewise.
27583 (fma_test_downward): Likewise.
27584 (fma_test_upward): Likewise.
27585
954ef0d9
L
275862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27587
27588 * sysdeps/i386/tininess.h: Renamed to ...
27589 * sysdeps/x86/tininess.h: This.
27590 * sysdeps/x86_64/tininess.h: Removed.
27591
df61ffb2
JM
275922012-10-30 Joseph Myers <joseph@codesourcery.com>
27593
27594 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27595 input. Use $(build-program-cmd).
27596 ($(objpfx)tst-array1-static.out): Likewise.
27597 ($(objpfx)tst-array2.out): Likewise.
27598 ($(objpfx)tst-array3.out): Likewise.
27599 ($(objpfx)tst-array4.out): Likewise.
27600 ($(objpfx)tst-array5.out): Likewise.
27601 ($(objpfx)tst-array5-static.out): Likewise.
27602
01767843
CM
276032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27604
47cc1490
CM
27605 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27606 if defined.
27607
01767843
CM
27608 * nss/nsswitch.h (nss_interface_function): Provide new
27609 macro for use with NSS functions.
27610 * grp/initgroups.c: Use new macro.
27611 * nss/getXXbyYY.c: Likewise.
27612 * nss/getXXbyYY_r.c: Likewise.
27613 * nss/getXXent.c: Likewise.
27614 * nss/getXXent_r.c: Likewise.
27615 * sysdeps/posix/getaddrinfo.c: Likewise.
27616
8321aa97
AJ
276172012-10-30 Andreas Jaeger <aj@suse.de>
27618
27619 * po/ru.po: Update Russion translation from translation project.
27620
2a27fd6d
JM
276212012-10-30 Joseph Myers <joseph@codesourcery.com>
27622
8627a232
JM
27623 [BZ #14152]
27624 [BZ #14783]
27625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27626 result and shift together with sticky bit instead of replicating
27627 round-to-nearest rounding.
27628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27630 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27631 missing underflow exceptions.
27632 (fma_test_towardzero): Add more tests.
27633 (fma_test_downward): Likewise.
27634 (fma_test_upward): Likewise.
27635
2a27fd6d
JM
27636 [BZ #14047]
27637 * sysdeps/generic/tininess.h: New file.
27638 * sysdeps/i386/tininess.h: Likewise.
27639 * sysdeps/sh/tininess.h: Likewise.
27640 * sysdeps/x86_64/tininess.h: Likewise.
27641 * stdlib/tst-strtod-underflow.c: Likewise.
27642 * stdlib/tst-tininess.c: Likewise.
27643 * stdlib/strtod_l.c: Include <tininess.h>.
27644 (round_and_return): Do not set errno for exact underflow cases.
27645 Force an underflow exception when setting errno for underflow.
27646 Determine underflow based on rounding to normal precision if
27647 TININESS_AFTER_ROUNDING.
27648 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27649 ERANGE for exact underflow cases.
27650 * stdlib/Makefile (tests): Add tst-tininess and
27651 tst-strtod-underflow.
27652 ($(objpfx)tst-tininess): Use $(link-libm).
27653 ($(objpfx)tst-strtod-underflow): Likewise.
27654
e7170363
AJ
276552012-10-30 Andreas Jaeger <aj@suse.de>
27656
e5088dc6
AJ
27657 [BZ#14767]
27658 * elf/Makefile (tests): Remove conditional for have-initfini-array
27659 since this is now always required and the variable does not exist
27660 anymore.
27661 (tests-static): Likewise.
27662 (modules-names): Likewise.
27663
e7170363 27664 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27665
27666 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27667 merged with constructor/destructor.
27668 (init_array): Likewise.
27669 * elf/tst-array2dep.c (fini_array): Likewise.
27670 (init_array): Likewise.
27671
60457d8a
MF
276722012-10-29 Mike Frysinger <vapier@gentoo.org>
27673
27674 * manual/message.texi: Delete @cartouche tags.
27675
8bece752
PT
276762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27677
94ce799f
PT
27678 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27679 EOPNOTSUPP.
27680 * sysdeps/mach/hurd/fsync.c: Likewise.
27681
8bece752
PT
27682 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27683 [_POSIX_REALTIME_SIGNALS]: Change condition to
27684 [_POSIX_REALTIME_SIGNALS > 0].
27685
86ebe6b1
AJ
276862012-10-27 Andreas Jaeger <aj@suse.de>
27687
27688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27689 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27691 [__WORDSIZE != 64]: Likewise.
27692
54399c08
L
276932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 * iconvdata/tst-table.sh: Remove ${SHELL}.
27696 * iconvdata/tst-tables.sh: Likewise.
27697
e2211bed
DM
276982012-10-25 David S. Miller <davem@davemloft.net>
27699
27700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27701 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27702 of strtoull.
27703
f303f97c
DM
27704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27705 ifunc-impl-list.c
27706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27707 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27708 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27709 file.
27710
1e9d84cd
RM
277112012-10-25 Roland McGrath <roland@hack.frob.com>
27712
27713 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27714 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27715 __getdirentries.
27716
df381762
JM
277172012-10-25 Joseph Myers <joseph@codesourcery.com>
27718 Jim Blandy <jimb@codesourcery.com>
27719
27720 * scripts/cross-test-ssh.sh: New file.
27721 * manual/install.texi (Configuring and compiling): Document use of
27722 cross-test-ssh.sh.
27723 * INSTALL: Regenerated.
27724
bff64913
PT
277252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27726
27727 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27728 EOPNOTSUPP.
27729
25fe8932
JM
277302012-10-25 Joseph Myers <joseph@codesourcery.com>
27731
27732 * Makeconfig (run-program-prefix): Fix comment.
27733
cc1290d0
JM
277342012-10-24 Joseph Myers <joseph@codesourcery.com>
27735 Jim Blandy <jimb@codesourcery.com>
27736
27737 * Makeconfig (test-wrapper): New variable,
27738 (test-wrapper-env): Likewise.
27739 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27740 (run-built-tests): Define to yes.
27741 (run-program-prefix): Use $(test-wrapper).
27742 (built-program-cmd): Likewise.
27743 * Rules (make-test-out): Use $(test-wrapper-env) and
27744 $(host-built-program-cmd).
27745 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27746 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27747 tst-pathopt.sh.
27748 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27749 $(test-wrapper-env) to tst-rtld-load-self.sh.
27750 ($(objpfx)order2.out): Use $(test-wrapper).
27751 ($(objpfx)tst-initorder.out): Likewise.
27752 ($(objpfx)tst-initorder2.out): Likewise.
27753 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27754 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27755 (test_wrapper_env): New variable. Use it to run ld.so.
27756 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27757 Use it to run ld.so.
27758 (test_wrapper_env): Likewise.
27759 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27760 $(test-wrapper) to run-iconv-test.sh.
27761 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27762 (ICONV): Use $test_wrapper.
27763 * posix/Makefile ($(objpfx)globtest.out): Pass
27764 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27765 globtest.sh, not $(run-program-prefix).
27766 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27767 (test_wrapper): Likewise.
27768 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27769 set together with run_via_rtld_prefix.
27770 (run_program_prefix): Define in terms of test_wrapper and
27771 run_via_rtld_prefix.
27772
6e6249d0
RM
277732012-10-24 Roland McGrath <roland@hack.frob.com>
27774
27775 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27776 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27777 Targets removed.
27778
27779 [BZ #14743]
27780 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27781 Declare __clock_getres, __clock_gettime, __clock_settime,
27782 __clock_nanosleep, and __clock_getcpuclockid.
27783 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27784 Remove librt_hidden_def (clock_gettime).
27785 * sysdeps/unix/clock_gettime.c: Likewise.
27786 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27787 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27788 * rt/clock_getres.c: Define __clock_getres as an alias.
27789 * sysdeps/posix/clock_getres.c: Likewise.
27790 * rt/clock_settime.c: Define __clock_settime as an alias.
27791 * sysdeps/unix/clock_settime.c: Likewise.
27792 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27793 * sysdeps/unix/clock_nanosleep.c: Likewise.
27794 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27795 * rt/clock-compat.c: New file.
27796 * rt/Makefile (librt-routines): Add clock-compat and move
27797 $(clock-routines) to ...
27798 (routines): ... here, new variable.
27799 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27800 Don't add get_clockfreq here.
27801 * rt/Versions (libc: GLIBC_2.17): New version set.
27802 Add clock_* symbols here.
27803 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27804 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27805 (GLIBC_2.17): Add clock_* symbols.
27806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27810 Likewise.
27811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27812 Likewise.
27813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27817 * NEWS: Mention the move.
27818
27819 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27820 Use __open, __read, __close rather than their public counterparts.
27821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27822 (__get_clockfreq_via_cpuinfo): Likewise.
27823 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27824 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27825
27826 * config.h.in (HAVE_IFUNC): New #undef.
27827 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27828 was successful.
27829 * configure: Regenerated.
27830
0cae3f4b
MF
278312012-10-24 Mike Frysinger <vapier@gentoo.org>
27832
27833 * configure.in: Move READELF check to start of file.
27834 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27835 libc_cv_asm_gnu_indirect_function in the process.
27836 * configure: Regenerated.
27837
8175a253
MF
278382012-10-24 Mike Frysinger <vapier@gentoo.org>
27839
27840 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27841 send the output to /dev/null.
27842 (libc_cv_cc_with_libunwind): Likewise.
27843 (libc_cv_as_noexecstack): Likewise.
27844 * configure: Regenerate.
27845
0708a7d1
JM
278462012-10-24 Joseph Myers <joseph@codesourcery.com>
27847
10b40d85
JM
27848 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27849
0708a7d1
JM
27850 * posix/globtest.sh (TMPDIR): Do not set.
27851 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27852 (testout): Likewise.
27853
9fddec1a
AJ
278542012-10-24 Andreas Jaeger <aj@suse.de>
27855
3a8db22f
AJ
27856 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27857 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27858 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27859 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27860 posix_fadvise64, posix_fallocate64.
27861
9fddec1a
AJ
27862 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27863 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27864 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27865 Likewise.
27866 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27867 Likewise.
27868 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27869
27870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27871 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27872 <bits/fcntl-linux.h>.
27873 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27874
27875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27876 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27877 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27878 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27879 [__WORDSIZE != 64]: Likewise.
27880
ebfd1bbd
JM
278812012-10-23 Joseph Myers <joseph@codesourcery.com>
27882
03ac099f
JM
27883 * Makeconfig (run-built-tests): New variable.
27884 * Rules [$(cross-compiling) = yes]: Change condition to
27885 [$(run-built-tests) = no].
27886 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27887 to [$(run-built-tests) = yes].
27888 * elf/Makefile [$(cross-compiling) = no]: Likewise
27889 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27890 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27891 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27892 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27893 * io/Makefile [$(cross-compiling) = no]: Likewise.
27894 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27895 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27896 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27897 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27898 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27899 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27900 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27901 * string/Makefile [$(cross-compiling) = no]: Likewise.
27902
ebfd1bbd
JM
27903 * posix/Makefile ($(objpfx)globtest.out): Pass
27904 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27905 $(rtld-installed-name).
27906 * posix/globtest.sh (elf_objpfx): Remove variable.
27907 (rtld_installed_name): Likewise.
27908 (library_path): Likewise.
27909 (run_program_prefix): New variable. Use for running globtest
27910 binary.
27911
166bca24
JB
279122012-10-23 Jim Blandy <jimb@codesourcery.com>
27913 Joseph Myers <joseph@codesourcery.com>
27914
27915 * Makeconfig (host-built-program-cmd): New variable.
27916 * elf/Makefile (tst-stackguard1-ARGS): Use
27917 $(host-built-program-cmd).
27918 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27919 (tst-spawn-ARGS): Likewise.
27920 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27921
88866099
JM
279222012-10-23 Joseph Myers <joseph@codesourcery.com>
27923 Jim Blandy <jimb@codesourcery.com>
27924
27925 * Makeconfig (run-via-rtld-prefix): New variable.
27926 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27927 (built-program-cmd): Likewise.
27928
b4b4c296
AJ
279292012-10-22 Andreas Jaeger <aj@suse.de>
27930
27931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27932 __O_RSYNC if it exists, otherwise to O_SYNC.
27933
6fb54a22
JB
279342012-10-22 Jim Blandy <jimb@codesourcery.com>
27935 Joseph Myers <joseph@codesourcery.com>
27936
27937 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27938 /dev/null.
27939 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27940 from /dev/null
27941 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27942 /dev/null.
27943
481b90b9
AJ
279442012-10-22 Andreas Jaeger <aj@suse.de>
27945
2a0e2669
AJ
27946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27947 Define always.
27948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27949
76e38f9a
AJ
27950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27951 bits/fcntl-linux.h.
27952
7cd37b43
AJ
27953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27954 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27955
481b90b9
AJ
27956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27957 to __O_LARGEFILE.
27958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27959 to __O_LARGEFILE.
27960
aba75984
JB
279612012-10-21 Jim Blandy <jimb@codesourcery.com>
27962 Joseph Myers <joseph@codesourcery.com>
27963
27964 * config.make.in (NM): New variable.
27965
88d4247f
AJ
279662012-10-21 Andreas Jaeger <aj@suse.de>
27967
27968 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27969 definitions and declarations that are provided by
27970 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27971
f2eed205
L
279722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27973
27974 [BZ #14683]
27975 * elf/Makefile (tests-static): Add tst-leaks1-static.
27976 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27977 ($(objpfx)tst-leaks1-static): New rule.
27978 ($(objpfx)tst-leaks1-static-mem): Likewise.
27979 (tst-leaks1-static-ENV): New macro.
27980 * elf/dl-open.c (dl_open_worker): Check the main application
27981 only if SHARED is defined.
27982 * elf/tst-leaks1-static.c: New file.
27983
335e6931
AJ
279842012-10-20 Andreas Jaeger <aj@suse.de>
27985
27986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27987 generic values for Linux.
27988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27989 and declarations that are provided by <bits/fcntl-linux.h> and
27990 include <bits/fcntl-linux.h>.
27991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27993
ac5c94d3
RM
279942012-10-20 Roland McGrath <roland@hack.frob.com>
27995
27996 * io/fcntl.h: Move include of <bits/types.h> to the top and
27997 include it unconditionally.
27998
de54b33a
L
279992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28000
228cfb01
L
28001 * wcsmbs/Makefile (tests-ifunc): New variable.
28002 (tests): Add $(tests-ifunc).
28003 * wcsmbs/test-wcschr-ifunc.c: New file.
28004 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28005 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28006 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28007 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28008 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28009
69f07e5f
L
28010 * string/Makefile (tests-ifunc): New variable.
28011 (tests): Add $(tests-ifunc).
28012 * string/test-memccpy.c (TEST_NAME): New macro.
28013 * string/test-memchr.c (TEST_NAME): Likewise.
28014 * string/test-memcmp.c (TEST_NAME): Likewise.
28015 * string/test-memcpy.c (TEST_NAME): Likewise.
28016 * string/test-memmem.c (TEST_NAME): Likewise.
28017 * string/test-memmove.c (TEST_NAME): Likewise.
28018 * string/test-memset.c (TEST_NAME): Likewise.
28019 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28020 * string/test-stpcpy.c (TEST_NAME): Likewise.
28021 * string/test-stpncpy.c (TEST_NAME): Likewise.
28022 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28023 * string/test-strcasestr.c (TEST_NAME): Likewise.
28024 * string/test-strcat.c (TEST_NAME): Likewise.
28025 * string/test-strchr.c (TEST_NAME): Likewise.
28026 * string/test-strcmp.c(TEST_NAME): Likewise.
28027 * string/test-strcpy.c (TEST_NAME): Likewise.
28028 * string/test-strcspn.c (TEST_NAME): Likewise.
28029 * string/test-strlen.c (TEST_NAME): Likewise.
28030 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28031 * string/test-strncmp.c (TEST_NAME): Likewise.
28032 * string/test-strncpy.c (TEST_NAME): Likewise.
28033 * string/test-strnlen.c (TEST_NAME): Likewise.
28034 * string/test-strpbrk.c (TEST_NAME): Likewise.
28035 * string/test-strrchr.c (TEST_NAME): Likewise.
28036 * string/test-strspn.c (TEST_NAME): Likewise.
28037 * string/test-strstr.c (TEST_NAME): Likewise.
28038 * string/test-bcopy-ifunc.c: New file.
28039 * string/test-bzero-ifunc.c: Likewise.
28040 * string/test-memccpy-ifunc.c: Likewise.
28041 * string/test-memchr-ifunc.c: Likewise.
28042 * string/test-memcmp-ifunc.c: Likewise.
28043 * string/test-memcpy-ifunc.c: Likewise.
28044 * string/test-memmem-ifunc.c: Likewise.
28045 * string/test-memmove-ifunc.c: Likewise.
28046 * string/test-mempcpy-ifunc.c: Likewise.
28047 * string/test-memset-ifunc.c: Likewise.
28048 * string/test-rawmemchr-ifunc.c: Likewise.
28049 * string/test-stpcpy-ifunc.c: Likewise.
28050 * string/test-stpncpy-ifunc.c: Likewise.
28051 * string/test-strcasecmp-ifunc.c: Likewise.
28052 * string/test-strcasestr-ifunc.c: Likewise.
28053 * string/test-strcat-ifunc.c: Likewise.
28054 * string/test-strchr-ifunc.c: Likewise.
28055 * string/test-strchrnul-ifunc.c: Likewise.
28056 * string/test-strcmp-ifunc.c: Likewise.
28057 * string/test-strcpy-ifunc.c: Likewise.
28058 * string/test-strcspn-ifunc.c: Likewise.
28059 * string/test-strlen-ifunc.c: Likewise.
28060 * string/test-strncasecmp-ifunc.c: Likewise.
28061 * string/test-strncat-ifunc.c: Likewise.
28062 * string/test-strncmp-ifunc.c: Likewise.
28063 * string/test-strncpy-ifunc.c: Likewise.
28064 * string/test-strnlen-ifunc.c: Likewise.
28065 * string/test-strpbrk-ifunc.c: Likewise.
28066 * string/test-strrchr-ifunc.c: Likewise.
28067 * string/test-strspn-ifunc.c: Likewise.
28068 * string/test-strstr-ifunc.c: Likewise.
28069
de54b33a
L
28070 * debug/Makefile (tests-ifunc): New variable.
28071 (tests): Add $(tests-ifunc).
28072 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28073 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28074 * debug/test-stpcpy_chk-ifunc.c: New file.
28075 * debug/test-strcpy_chk-ifunc.c: Likewise.
28076
88481c16
SP
280772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28078
28079 [BZ #13601]
28080 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28081 header is not read in.
28082
135948bd
JM
280832012-10-19 Joseph Myers <joseph@codesourcery.com>
28084
89f1c388
JM
28085 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28086 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28087 directly. Pass built executable to script as
28088 $(built-program-cmd).
28089 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28090 $testprogram without using LD_LIBRARY_PATH and $ldso.
28091
e40a0d21
JM
28092 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28093 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28094 $(rtld-installed-name).
28095 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28096 (rtld_installed_name): Likewise.
28097 (library_path): Likewise.
28098 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28099 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28100 $(run-program-prefix) to tst-tables.sh.
28101 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28102 it to run tst-table-from and tst-table-to.
28103 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28104 Pass it to tst-table.sh.
28105 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28106 $(run-program-prefix) to tst-gettext.sh.
28107 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28108 tst-translit.sh.
28109 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28110 tst-gettext2.sh.
28111 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28112 to run tst-gettext.
28113 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28114 to run tst-gettext2.
28115 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28116 to run tst-translit.
28117 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28118 $(run-program-prefix) to tst-mtrace.sh.
28119 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28120 to run tst-mtrace.
28121 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28122 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28123 $(rtld-installed-name).
28124 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28125 (rtld_installed_name): Likewise.
28126 (run_program_prefix): New variable. Use it to run wordexp-test.
28127
728e272a
JM
28128 * Makeconfig (ARCH): Remove all definitions.
28129 (machine): Likewise.
28130 [ARCH]: Remove conditional code.
28131 [!objdir]: Give error.
28132 [!objdir] (objpfx): Remove.
28133 [!objdir] (common-objpfx): Likewise.
28134 [!objdir] (common-objdir): Likewise.
28135 * configure.in (config_makefile): Remove. Hardcode Makefile in
28136 AC_CONFIG_FILES call.
28137 * configure: Regenerated.
28138
d528cdcf
JM
28139 [BZ #13888]
28140 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28141 or TMPDIR.
28142 (testout): Likewise.
28143
135948bd
JM
28144 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28145 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28146 $(rtld-installed-name).
28147 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28148 (rtld_installed_name): Likwise.
28149 (runit): Remove function.
28150 (run_getconf): New variable, Use it for running getconf binary.
28151
38c78296
L
281522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28153
28154 [BZ #14716]
28155 * string/test-memmem.c (check_result): New function.
28156 (do_one_test): Use it.
28157 (check1): New function.
28158 (test_main): Use it.
28159
d077f65f
MT
281602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28161
28162 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28163
ced52c71
JM
281642012-10-18 Joseph Myers <joseph@codesourcery.com>
28165
28166 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28167 (_G_LSEEK64): Likewise.
28168 (_G_MMAP64): Likewise.
28169 (_G_FSTAT64): Likewise.
28170 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28171 (_G_LSEEK64): Likewise.
28172 (_G_MMAP64): Likewise.
28173 (_G_FSTAT64): Likewise.
28174 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28175 unconditional. Call __mmap64 directly.
28176 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28177 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28178 __lseek64 directly.
28179 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28180 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28181 __mmap64 directly.
28182 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28183 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28184 __lseek64 directly.
28185 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28186 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28187 __lseek64 directly.
28188 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28189 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28190 __lseek64 directly.
28191 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28192 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28193 __fxstat64 directly.
28194 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28195 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28196 unconditional.
28197 (freopen64) [!_G_OPEN64]: Remove conditional code.
28198 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28199 unconditional.
28200 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28201 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28202 unconditional.
28203 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28204 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28205 unconditional.
28206 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28207 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28208 unconditional.
28209 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28210 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28211 unconditional.
28212 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28213 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28214 unconditional.
28215 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28216 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28217 unconditional.
28218 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28219
b741de23
SP
282202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28221
28222 [BZ #12140]
28223 * manual/memory.texi (Malloc Tunable Parameters): Add note
28224 about free list pointers overwriting some perturb bytes.
28225 Wording suggested by Roland McGrath.
28226
f9b9d9c9
JM
282272012-10-17 Joseph Myers <joseph@codesourcery.com>
28228
28229 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28230 (lgamma_test): Likewise.
28231 (tgamma_test): Likewise.
28232
172a631a
FW
282332012-10-16 Florian Weimer <fweimer@redhat.com>
28234
28235 [BZ #14700]
28236 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28237 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28238
e9f37252
MK
282392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28240
28241 * NEWS: Mention BZ #14716.
28242 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28243 when removing AVAILABLE1_USES_J macro.
28244
d394eb74
L
282452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28246
28247 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28248 (__bswap_64): __uint64_t for unsigned 64-bit int.
28249
ca38dc17
AS
282502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28251
28252 * include/string.h (memmem): Declare libc hidden alias.
28253 * string/memmem.c (memmem): Define libc hidden alias.
28254 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28255 __read, __close instead of open, read, close.
28256
9a387d1f
L
282572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28258
ac49ecaf
L
28259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28260 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28261 global and hidden.
28262 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28263 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28264 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28265 Likewise.
28266 (__rawmemchr_sse2): Likewise.
28267 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28268 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28269 (__strchr_sse2): Likewise.
28270 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28271 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28272 (__strcasecmp_sse2): Likewise.
28273 (__strncasecmp_sse2): Likewise.
28274 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28275 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28276 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28277 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28278 (__strrchr_sse2): Likewise.
28279 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28280 ifunc-impl-list.c.
28281 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28282 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28283 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28284 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28285 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28286 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28287 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28288 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28289 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28290 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28291 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28292 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28293 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28294 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28295 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28296 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28297 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28298 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28299 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28300 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28301 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28302 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28303 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28304 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28305 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28307 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28308 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28309 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28310 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28311
b090e8ea
L
28312 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28313 global and hidden.
28314 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28315 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28316 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28317 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28318 Likewise.
28319 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28320 Likewise.
28321 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28322 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28323 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28324 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28325 ifunc-impl-list.c.
28326 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28327 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28328 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28335 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28336 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28337 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28338 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28339 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28340 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28342 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28343 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28344 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28345 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28347 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28348 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28349 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28350 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28351 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28352 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28354 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28356 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28360 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28367
11dd4af6
L
28368 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28369 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28370 * include/ifunc-impl-list.h: New file.
28371 * misc/ifunc-impl-list.c: Likewise.
28372 * misc/Makefile (routines): Add ifunc-impl-list.
28373 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28374 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28375 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28376 TEST_NAME]: New variables.
11dd4af6
L
28377 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28378 are defined.
28379 (test_init): Call __libc_ifunc_impl_list to initialize
28380 func_list if TEST_IFUNC and TEST_NAME are defined.
28381
9a387d1f
L
28382 * string/Makefile (strop-tests): Add bcopy and bzero.
28383 * string/test-bcopy.c: New file.
28384 * string/test-bzero.c: Likewise.
28385 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28386 defined.
28387 * string/test-memset.c: Support bzero test if TEST_BZERO is
28388 defined.
28389 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28390 __libc_memmove.
28391 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28392 __libc_memset.
28393 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28394 of memset.
28395
472371b9
JM
283962012-10-10 Joseph Myers <joseph@codesourcery.com>
28397
1e4a9536
JM
28398 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28399 * configure: Regenerated.
28400
d173d12e
JM
28401 * Makeconfig (+link-static-before-libc): Don't include
28402 $(link-static-libc).
28403
472371b9
JM
28404 * libio/libio.h (_IO_pos_t): Remove.
28405
89a3ad0b
AO
284062012-10-10 Alexandre Oliva <aoliva@redhat.com>
28407
28408 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28409 McGrath.
28410
e7451425
AO
284112012-10-10 Alexandre Oliva <aoliva@redhat.com>
28412
28413 * crypt/crypt-entry.c: Include fips-private.h.
28414 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28415 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28416 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28417 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28418
4ba74a35
AO
284192012-10-10 Alexandre Oliva <aoliva@redhat.com>
28420
28421 * crypt/crypt-private.h: Include stdbool.h.
28422 (_ufc_setup_salt_r): Return bool.
28423 * crypt/crypt-entry.c: Include errno.h.
28424 (__crypt_r): Return NULL with EINVAL for bad salt.
28425 * crypt/crypt_util.c (bad_for_salt): New.
28426 (_ufc_setup_salt_r): Check that salt is long enough and within
28427 the specified alphabet.
28428 * crypt/badsalttest.c: New file.
28429 * crypt/Makefile (tests): Add it.
28430 ($(objpfx)badsalttest): New.
28431
f96f1242
MK
284322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28433
28434 * NEWS: Add entry for BZ #14602.
28435
0e8e0c1c
JM
284362012-10-09 Joseph Myers <joseph@codesourcery.com>
28437
28438 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28439 type-generic.
28440 * math/libm-test.inc: Update comment listing what functions and
28441 macros are tested.
28442 (isgreater_test): New function.
28443 (isgreaterequal_test): Likewise.
28444 (isless_test): Likewise.
28445 (islessequal_test): Likewise.
28446 (islessgreater_test): Likewise.
28447 (isunordered_test): Likewise.
28448 (main): Call the new functions.
28449
273edc5e
RM
284502012-10-09 Roland McGrath <roland@hack.frob.com>
28451
b8493de0
RM
28452 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28453 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28454 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28455 * sysdeps/i386/configure: Regenerated.
28456 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28457 * sysdeps/mach/configure: Regenerated.
28458 * sysdeps/mach/hurd/configure: Regenerated.
28459 * sysdeps/powerpc/configure: Regenerated.
28460 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28461 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28462 * sysdeps/s390/s390-32/configure: Regenerated.
28463 * sysdeps/s390/s390-64/configure: Regenerated.
28464 * sysdeps/sh/configure: Regenerated.
28465 * sysdeps/sparc/configure: Regenerated.
28466 * sysdeps/unix/sysv/linux/configure: Regenerated.
28467 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28468 * sysdeps/x86_64/configure: Regenerated.
28469
273edc5e
RM
28470 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28471 defined. Don't check if MAP is NULL.
28472
c8450f70
JM
284732012-10-09 Joseph Myers <joseph@codesourcery.com>
28474
28475 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28476 (_G_stat64): Likewise.
28477 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28478 (_G_stat64): Likewise.
28479 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28480 instead of struct _G_stat64.
28481 * libio/fileops.c (mmap_remap_check): Likewise.
28482 (decide_maybe_mmap): Likewise.
28483 (_IO_new_file_seekoff): Likewise.
28484 (_IO_file_stat): Likewise.
28485 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28486 _G_off64_t.
28487 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28488 instead of struct _G_stat64.
28489 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28490
57e605ba
MK
284912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28492
28493 [BZ #14602]
28494 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28495 Replace with ...
28496 (CHECK_EOL): New macro.
28497 (two_way_short_needle): Check beginning of haystack for EOL. Use
28498 CHECK_EOL.
28499 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28500 Replace with CHECK_EOL.
28501 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28502 Replace with CHECK_EOL.
28503
ef1bb361
JM
285042012-10-08 Joseph Myers <joseph@codesourcery.com>
28505
28506 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28507 type-generic.
28508 * math/libm-test.inc: Update comment listing what functions and
28509 macros are tested.
28510 (finite_test): New function.
28511 (isinf_test): Likewise.
28512 (isnan_test): Likewise.
28513 (fpclassify_test): Test subnormal input.
28514 (isfinite_test): Likewise.
28515 (isnormal_test): Likewise.
28516 (main): Call the new functions.
28517
55f11534
JN
285182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28519
28520 [BZ #14660]
28521 * Makerules (%.dynsym): Force C locale when running
28522 $(OBJDUMP) --dynamic-syms.
28523
1ab29350
AS
285242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28525
28526 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28527 <stdint.h>.
28528
f1ecb7ef
DM
285292012-10-06 David S. Miller <davem@davemloft.net>
28530
28531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28532 upper 32-bits of the length value in %o2 since we use branch-on-register
28533 tests which consider the entire 64-bit register.
28534
5d41d91a
L
285352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * string/test-strstr.c (check2): Add a test for page boundary.
28538
3baddb72
DM
285392012-10-05 David S. Miller <davem@davemloft.net>
28540
28541 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28542 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28543 file.
28544 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28545 sysdep_routines.
28546 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28547 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28548 and bzero when HWCAP_SPARC_CRYPTO is present.
28549
9cee5585
L
285502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28551
d7e0dab9
L
28552 [BZ #14602]
28553 * string/test-strstr.c (check2): New function.
28554 (test_main): Call check2.
28555
03759f47
L
28556 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28557 and bug-strchr1.
28558 * string/bug-strcasestr1.c (do_test): Moved to ...
28559 * string/test-strcasestr.c (check1): Here. New function.
28560 (do_one_test): Break out result checking code into ...
28561 (check_result): This. New function.
28562 (do_one_test): Call check_result.
28563 (test_main): Call check1.
28564 * string/bug-strchr1.c (do_test): Moved to ...
28565 * string/test-strchr.c (check1): Here. New function.
28566 (do_one_test): Break out result checking code into ...
28567 (check_result): This. New function.
28568 (do_one_test): Call check_result.
28569 (test_main): Call check1.
28570 * string/bug-strstr1.c (main): Moved to ...
046f153e 28571 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28572 (do_one_test): Break out result checking code into ...
28573 (check_result): This. New function.
28574 (do_one_test): Call check_result.
28575 (test_main): Call check1.
28576 * string/bug-strcasestr1.c: Removed.
28577 * string/bug-strchr1.c: Likewise.
28578 * string/bug-strstr1.c: Likewise.
28579
53cea63e
L
28580 * elf/Makefile (dl-routines): Add hwcaps.
28581 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28582 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28583 (_dl_important_hwcaps): Moved to ...
28584 * elf/dl-hwcaps.c: Here. New file.
28585 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28586
9cee5585 28587 [BZ #14557]
bb859b06
L
28588 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28589 if IS_IN_rtld isn't defined.
28590
9cee5585
L
28591 * elf/dl-support.c (_dl_sysinfo_map): New.
28592 Include "get-dynamic-info.h" and "setup-vdso.h".
28593 (_dl_non_dynamic_init): Call setup_vdso.
28594 * elf/dynamic-link.h: Don't include <assert.h>.
28595 (elf_get_dynamic_info): Moved to ...
28596 * elf/get-dynamic-info.h: Here. New file.
28597 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28598 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28599 * elf/setup-vdso.h: Here. New file.
28600 * elf/rtld.c: Include "setup-vdso.h".
28601 (dl_main): Call setup_vdso.
28602
23c31b76
JM
286032012-10-05 Joseph Myers <joseph@codesourcery.com>
28604
28234b07
JM
28605 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28606 creal in comment listing functions tested. List finite, isinf,
28607 isnan, isless, islessequal, isgreater, isgreaterequal,
28608 islessgreater, isunordered, lgamma_r and pow10 as functions and
28609 macros not tested. Mention which functions not tested are aliases
28610 for other functions. Fix typo. Note that signs of NaNs are not
28611 tested.
28612
23c31b76
JM
28613 * scripts/config.guess: Update from config.git.
28614 * scripts/config.sub: Likewise.
28615
9043e228
RM
286162012-10-04 Roland McGrath <roland@hack.frob.com>
28617
28618 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28619 * misc/madvise.c (madvise): Renamed to __madvise.
28620 Make madvise a weak alias.
28621 * include/sys/mman.h: Declare __madvise.
28622 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28623 * sysdeps/unix/syscalls.list
28624 (madvise): Make __madvise the strong name, and madvise a weak alias.
28625 * sysdeps/unix/sysv/linux/syscalls.list
28626 (madvise, mmap): Remove redundant entries.
28627 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28628 * malloc/malloc.c (mtrim): Likewise.
28629 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28630
f57f8055
RM
286312012-10-03 Roland McGrath <roland@hack.frob.com>
28632
28633 * sysdeps/mach/hurd/dl-cache.c: File removed.
28634 * config.h.in (USE_LDCONFIG): New #undef.
28635 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28636 * configure: Regenerated.
28637 * elf/Makefile (dl-routines): Add dl-cache only under
28638 [$(use-ldconfig) = yes].
28639 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28640 cache on [USE_LDCONFIG].
28641 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28642 [USE_LDCONFIG].
28643 * elf/rtld.c (dl_main): Likewise.
28644
5bb0c10a
PT
286452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28646
28647 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28648 _SC_LEVEL4_CACHE_LINESIZE.
28649
010188c6
RM
286502012-10-03 Roland McGrath <roland@hack.frob.com>
28651
28652 * sysdeps/unix/bsd/confstr.h: File removed.
28653
b6c5ec07
AO
286542012-10-02 Alexandre Oliva <aoliva@redhat.com>
28655
28656 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28657 sys/sdt-config.h.
28658
408223d4
RM
286592012-10-02 Roland McGrath <roland@hack.frob.com>
28660
28661 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28662 Make 'mapoff' field ElfW(Off) rather than off_t.
28663
bb9510dc
DL
286642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28665
fc997c6e
DL
28666 * nscd/Makefile: Remove nscd-cflags and all its users.
28667 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28668 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28669
bb9510dc
DL
28670 [BZ #10631]
28671 * malloc.c (malloc_printerr): Clarify error message.
28672
05699367
L
286732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28674
28675 [BZ #14648]
28676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28677 Set bit_FMA_Usable if FMA is supported.
28678 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28679 macro.
28680 (bit_FMA4_Usable): Updated.
28681 (index_FMA_Usable): New macro.
28682 (CPUID_FMA): Likewise
28683 (HAS_FMA): Defined with bit_FMA_Usable.
28684
51367701
RM
286852012-10-01 Roland McGrath <roland@hack.frob.com>
28686
28687 * bits/types.h (__swblk_t): Type removed.
28688 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28689 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28691 (__SWBLK_T_TYPE): Likewise.
28692 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28693 (__SWBLK_T_TYPE): Likewise.
28694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28695 (__SWBLK_T_TYPE): Likewise.
28696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28697 (__SWBLK_T_TYPE): Likewise.
28698
4d57bf63 286992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28700 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28701
28702 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28703 (xdr_mapname): Use YPMAXMAP as maxsize.
28704 (xdr_peername): Use YPMAXPEER as maxsize.
28705 (xdr_keydat): Use YPAXRECORD as maxsize.
28706 (xdr_valdat): Use YPMAXRECORD as maxsize.
28707
93c65d43
RM
287082012-10-01 Roland McGrath <roland@hack.frob.com>
28709
497a03d6
RM
28710 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28711
93c65d43
RM
28712 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28713 * csu/init-first.c: ... here.
28714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28715 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28716 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28717 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28718 * sysdeps/i386/init-first.c: File removed.
28719 * sysdeps/sh/init-first.c: File removed.
28720
bec749fd
JM
287212012-10-01 Joseph Myers <joseph@codesourcery.com>
28722
28723 [BZ #14645]
28724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28725 if x * y might underflow to zero and z is zero.
28726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28728 * math/libm-test.inc (min_subnorm_value): New variable.
28729 (fma_test): Add more tests.
28730 (fma_test_towardzero): Likewise.
28731 (fma_test_downward): Likewise
28732 (fma_test_upward): Likewise.
28733 (initialize): Set min_subnorm_value.
28734
8ec5b013
JM
287352012-09-29 Joseph Myers <joseph@codesourcery.com>
28736
28737 [BZ #14638]
28738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28739 0 + 0.
28740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28741 mode for addition resulting in exact zero.
28742 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28744 exact 0 + 0.
28745 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28747 * math/libm-test.inc (fma_test): Add more tests.
28748 (fma_test_towardzero): New function.
28749 (fma_test_downward): Likewise.
28750 (fma_test_upward): Likewise.
28751 (main): Call the new functions.
28752
b1fa802e
DM
287532012-09-28 David S. Miller <davem@davemloft.net>
28754
28755 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28756
d3b9fd9e
RM
287572012-09-28 Roland McGrath <roland@hack.frob.com>
28758
ea4d37b3
RM
28759 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28760 instead of SIGALRM.
28761
ac51c949
RM
28762 * sysdeps/gnu/_G_config.h: Moved to ...
28763 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28764 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28765 * sysdeps/generic/_G_config.h: ... here.
28766
28c195f7
RM
28767 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28768
848917f9
RM
28769 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28770
6bacf05b
RM
28771 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28772 Conditionalize target on [libnss_test1.so-version].
28773
91363dbb
RM
28774 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28775
cc87f7d8
RM
28776 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28777 (elfobjdir): Move out of conditionals.
28778
b1c608fe
RM
28779 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28780 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28781 (__nss_lookup_function): Conditionalize label remove_from_tree on
28782 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28783
1d9a6d96
DM
287842012-09-28 David S. Miller <davem@davemloft.net>
28785
28786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28787 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28788 file.
28789 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28790 sysdep_routines.
28791 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28793 when HWCAP_SPARC_CRYPTO is present.
28794
72581615
PT
287952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28796
28797 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28798
715a900c
JL
287992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28800
28801 [BZ #6530]
28802 * stdio-common/vfprintf.c (process_string_arg): Revert
28803 2000-07-22 change.
28804
288052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28806
28807 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28808 for testcase.
28809 * stdio-common/tst-sprintf.c: Include <locale.h>
28810 (main): Test sprintf's handling of incomplete multibyte
28811 characters.
28812
9bac1d86
L
288132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28814
28815 * elf/dl-runtime.c (VERSYMIDX): Removed.
28816 * elf/dl-version.c (VERSYMIDX): Likewise.
28817 * elf/do-rel.h (VERSYMIDX): Likewise.
28818 (VALIDX): Likewise.
28819 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28820 * elf/rtld.c (VALIDX): Likewise.
28821 (ADDRIDX): Likewise.
9bac1d86
L
28822 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28823 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28824 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28825 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28826 (VALIDX): Likewise.
28827 (ADDRIDX): Likewise.
9bac1d86 28828
b31606c0
PT
288292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28830
28831 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28832
11541177
JL
288332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28834
28835 [BZ #11438]
28836 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28837 to global scope.
28838 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28839 addresses are in the same scope as 192.0.2/24.
28840 * posix/gai.conf: Document new scope table defaults.
28841
adb26fae
SP
288422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28843
28844 [BZ #5298]
28845 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28846 for ftell. Compute offsets from write pointers instead.
28847 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28848
4573c6b0
SP
288492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28850
28851 [BZ #14543]
28852 * libio/Makefile (tests): New test case tst-fseek.
28853 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28854 combination works in wide mode.
28855 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28856 state when the external buffer state changes.
28857
aa9bbfe6
DM
288582012-09-27 David S. Miller <davem@davemloft.net>
28859
28860 [BZ #14376]
28861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28862 pass reloc->r_addend in as the 'high' argument to
28863 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28864
784421e7
DM
28865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28866
c39bc8b8
PT
288672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28868
28869 * rt/tst-aio2.c: Include <pthread.h>.
28870 * rt/tst-aio3.c: Likewise.
28871
1ccc2399
SE
288722012-09-27 Steve Ellcey <sellcey@mips.com>
28873
28874 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28875
31ed4153
L
288762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28877
25f5f885
L
28878 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28879 contents on [SHARED].
31ed4153 28880
b7bfe116
MP
288812012-09-26 Marek Polacek <polacek@redhat.com>
28882
28883 [BZ #14530]
28884 [BZ #13741]
28885 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28886 for C++ and GCC <4.3 as well as for non GCC compilers.
28887
43c4edba
MT
288882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28889
28890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28891
6a1bf82f
RM
288922012-09-25 Roland McGrath <roland@hack.frob.com>
28893
28894 * Makefile.in (all, install): Declare with .PHONY.
28895 Reported by Michael Hope <michael.hope@linaro.org>.
28896
8ad11b9a
TMQMF
288972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28898
28899 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28900 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28901 system header.
28902 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28903 Likewise.
28904 (sydep_routines): Add the new and the internal functions.
28905 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28906 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28908 (GLIBC_2.17): Add the new function.
28909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28910 (GLIBC_2.17): Likewise.
28911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28912 (GLIBC_2.17): Likewise.
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28914 (GLIBC_2.17): Likewise.
28915 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28916
7e2fca8d
AM
289172012-09-25 Alan Modra <amodra@gmail.com>
28918
28919 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28920 Add release barrier before setting once_control to say
28921 initialisation is done. Add hints on lwarx. Use macro in
28922 place of isync.
28923 (clear_once_control): Add release barrier.
28924
b87c4b24
JM
289252012-09-25 Joseph Myers <joseph@codesourcery.com>
28926
d032e0d2
JM
28927 [BZ #13629]
28928 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28929 specially.
28930 * math/s_clog10.c (__clog10): Likewise.
28931 * math/s_clog10f.c (__clog10f): Likewise.
28932 * math/s_clog10l.c (__clog10l): Likewise.
28933 * math/s_clogf.c (__clogf): Likewise.
28934 * math/s_clogl.c (__clogl): Likewise.
28935 * math/Makefile (libm-calls): Add x2y2m1.
28936 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28937 (__x2y2m1): Likewise.
28938 (__x2y2m1l): Likewise.
28939 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28940 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28943 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28944 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28945 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28946 * sysdeps/i386/fpu/libm-test-ulps: Update.
28947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948
b87c4b24
JM
28949 [BZ #14621]
28950 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28951 int as type of variable DEPTH.
28952 (glob): Use size_t instead of int as type of variables NEWCOUNT
28953 and OLD_PATHC.
28954
6d3bf199
LD
289552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28956
22bf5c17
LD
28957 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28958 Add s_sincosf-sse2.
28959 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28960 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28961 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28962 macros for using routine as __sincosf_ia32.
28963 Use macro for function declaration and weak_alias.
28964 * sysdeps/i386/fpu/libm-test-ulps: Update.
28965
28966 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28968
28969 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28970 subnormal argument.
28971 * math/s_cexpf.c (__cexpf): Likewise.
28972 * math/s_csinf.c (__csinf): Likewise.
28973 * math/s_csinhf.c (__csinhf): Likewise.
28974 * math/s_ctanf.c (__ctanf): Likewise.
28975 * math/s_ctanhf.c (__ctanhf): Likewise.
28976 * math/s_ccosh.c (__ccoshf): Likewise.
28977 * math/s_cexp.c (__cexpl): Likewise.
28978 * math/s_csin.c (__csin): Likewise.
28979 * math/s_csinh.c (__csinh): Likewise.
28980 * math/s_ctan.c (__ctan): Likewise.
28981 * math/s_ctanh.c (ctanh): Likewise.
28982 * math/s_ccoshl.c (__ccoshl): Likewise.
28983 * math/s_cexpl.c (__cexpl): Likewise.
28984 * math/s_csinl.c (__csinl): Likewise.
28985 * math/s_csinhl.c (__csinhl): Likewise.
28986 * math/s_ctanl.c (__ctanl): Likewise.
28987 * math/s_ctanhl.c (__ctanhl): Likewise.
28988
203e5603
JM
289892012-09-25 Joseph Myers <joseph@codesourcery.com>
28990
28991 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28992 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28993 (_IO_off_t): Define to __off_t, not _G_off_t.
28994 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28995 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28996 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28997 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28998 type of __dummy and __dummy2 fields.
28999 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29000 (_G_ssize_t): Likewise.
29001 (_G_off_t): Likewise.
29002 (_G_pid_t): Likewise.
29003 (_G_uid_t): Likewise.
29004 (_G_wchar_t): Likewise.
29005 (_G_wint_t): Likewise.
29006 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29007 (_G_ssize_t): Likewise.
29008 (_G_off_t): Likewise.
29009 (_G_pid_t): Likewise.
29010 (_G_uid_t): Likewise.
29011 (_G_wchar_t): Likewise.
29012 (_G_wint_t): Likewise.
29013 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29014 (_G_ssize_t): Likewise.
29015 (_G_off_t): Likewise.
29016 (_G_pid_t): Likewise.
29017 (_G_uid_t): Likewise.
29018 (_G_wchar_t): Likewise.
29019 (_G_wint_t): Likewise.
29020
9fab36eb
SP
290212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29022
29023 * malloc/arena.c: Include malloc-sysdep.h.
29024 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29025 is sufficient to shrink the heap or an unmap is needed.
29026 * sysdeps/generic/malloc-sysdep.h: New file. Define
29027 new function check_may_shrink_heap.
29028 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29029 new function check_may_shrink_heap.
29030
2b4f00d1
SP
290312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29032
29033 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29034 comments.
29035
9a9028b1
DL
290362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29037
57c69bef
DL
29038 * catgets/test-gencat.sh: Add "set -e".
29039 * elf/tst-pathopt.sh: Likewise.
29040 * grp/tst_fgetgrent.sh: Likewise.
29041 * iconvdata/run-iconv-test.sh: Likewise.
29042 * intl/tst-gettext.sh: Likewise.
29043 * intl/tst-gettext2.sh: Likewise.
29044 * intl/tst-gettext4.sh: Likewise.
29045 * intl/tst-gettext6.sh: Likewise.
29046 * intl/tst-translit.sh: Likewise.
29047 * io/ftwtest-sh: Likewise.
29048 * libio/test-freopen.sh: Likewise.
29049 * malloc/tst-mtrace.sh: Likewise.
29050 * posix/globtest.sh: Likewise.
29051 * posix/tst-getconf.sh: Likewise.
29052 * posix/wordexp-tst.sh: Likewise.
29053 * stdio-common/tst-printf.sh: Likewise.
29054 * stdio-common/tst-unbputc.sh: Likewise.
29055 * stdlib/tst-fmtmsg.sh: Likewise.
29056 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29057 * catgets/Makefile: Do not specify -e option when running
29058 testsuite shell scripts.
29059 * elf/Makefile: Likewise.
29060 * grp/Makefile: Likewise.
29061 * iconvdata/Makefile: Likewise.
29062 * intl/Makefile: Likewise.
29063 * io/Makefile: Likewise.
29064 * libio/Makefile: Likewise.
29065 * malloc/Makefile: Likewise.
29066 * posix/Makefile: Likewise.
29067 * stdio-common/Makefile: Likewise.
29068 * stdlib/Makefile: Likewise.
29069 * sysdeps/x86_64/Makefile: Likewise.
29070
9a9028b1
DL
29071 * io/ftwtest-sh: Add copyright header.
29072 * posix/globtest.sh: Likewise.
29073 * posix/tst-getconf.sh: Likewise.
29074 * posix/wordexp-tst.sh: Likewise.
29075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29076
ced6f16e
L
290772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29078
94b32c39
L
29079 [BZ #13679]
29080 * Makeconfig (+link): Defined as $(+link-static) if
29081 $(build-shared) isn't yes.
29082 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29083 isn't yes.
29084 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29085
189e935b
L
29086 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29087
ced6f16e
L
29088 [BZ #14562]
29089 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29090 new chunk size with MALLOC_ALIGN_MASK.
29091
a9f8e53a
JM
290922012-09-24 Joseph Myers <joseph@codesourcery.com>
29093
29094 [BZ #5044]
29095 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29096 <rounding-mode.h>.
29097 (__printf_fphex): Determine rounding using get_rounding_mode and
29098 round_away.
29099 * stdio-common/tst-printf-round.c (struct hex_test): New
29100 structure.
29101 (hex_tests): New variable.
29102 (test_hex_in_one_mode): New function.
29103 (do_test): Also run tests for hex float output.
29104
43153109
JM
291052012-09-21 Joseph Myers <joseph@codesourcery.com>
29106
29107 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29108 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29109 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29110 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29111 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29112 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29113 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29114 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29115
8a26625d
JM
291162012-09-20 Joseph Myers <joseph@codesourcery.com>
29117
29118 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29119 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29120 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29121 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29122
f3fd569c
DL
291232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29124
29125 [BZ #14579]
29126 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29127 mode only.
29128 * elf/tst-rtld-load-self.sh: New test.
29129 * elf/Makefile: Run it.
29130
63bbedd4
JM
291312012-09-18 Joseph Myers <joseph@codesourcery.com>
29132
29133 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29134 (tst-writev-ENV): Remove.
29135 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29136
626f8b6a
CM
291372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29138
29139 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29140
b7aaa4d6
JM
291412012-09-17 Joseph Myers <joseph@codesourcery.com>
29142
29143 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29144 unconditional.
29145 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29146 Likewise.
29147 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29148 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29149 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29150 Likewise.
29151
65513990
L
291522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29153
29154 [BZ #14587]
29155 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29156 * config.make.in (have-cpp-asm-debuginfo): Removed.
29157 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29158 * configure: Regenerated.
29159
784761be
JM
291602012-09-14 Joseph Myers <joseph@codesourcery.com>
29161
29162 [BZ #5044]
29163 * stdio-common/printf_fp.c: Include <stdbool.h> and
29164 <rounding-mode.h>.
29165 (___printf_fp): Determine rounding using get_rounding_mode and
29166 round_away.
29167 * stdio-common/tst-printf-round.c: New file.
29168 * stdio-common/Makefile (tests): Add tst-printf-round.
29169 (link-libm): New variable.
29170 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29171
9503345f
L
291722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29173
29174 [BZ #14576]
29175 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29176 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29177 Likewise.
29178 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29179 Likewise.
29180
ad35fc00
JM
291812012-09-13 Joseph Myers <joseph@codesourcery.com>
29182
29183 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29184 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29185 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29186 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29187
6c9b0f68
JM
291882012-09-12 Joseph Myers <joseph@codesourcery.com>
29189
29190 [BZ #14518]
29191 * include/rounding-mode.h: New file.
29192 * sysdeps/generic/get-rounding-mode.h: Likewise.
29193 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29194 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29195 (MAX_VALUE): New macro.
29196 (MIN_VALUE): Likewise.
29197 (overflow_value): New function.
29198 (underflow_value): Likewise.
29199 (round_and_return): Use overflow_value and underflow_value to
29200 determine return values in overflow and underflow cases. Use
29201 round_away to determine rounding depending on rounding mode.
29202 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29203 determine return values in overflow and underflow cases.
29204 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29205 (struct test_results): New structure.
29206 (struct test): Use struct test_results to store expected results
29207 for all rounding modes.
29208 (TEST): Include expected results for all rounding modes.
29209 (test_in_one_mode): New function.
29210 (do_test): Use test_in_one_mode to compute and check results.
29211 Check results for all rounding modes.
29212 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29213 $(link-libm).
29214
19fcedd5
AM
292152012-12-09 Allan McRae <allan@archlinux.org>
29216
1e9d84cd 29217 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29218
8bbfd2f1
JM
292192012-09-11 Joseph Myers <joseph@codesourcery.com>
29220
29221 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29222 (_G_int32_t): Likewise.
29223 (_G_uint16_t): Likewise.
29224 (_G_uint32_t): Likewise.
29225 (_G_HAVE_BOOL): Likewise.
29226 (_G_HAVE_ATEXIT): Likewise.
29227 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29228 (_G_HAVE_IO_FILE_OPEN): Likewise.
29229 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29230 (_G_int32_t): Likewise.
29231 (_G_uint16_t): Likewise.
29232 (_G_uint32_t): Likewise.
29233 (_G_HAVE_BOOL): Likewise.
29234 (_G_HAVE_ATEXIT): Likewise.
29235 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29236 (_G_HAVE_IO_FILE_OPEN): Likewise.
29237 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29238 (_G_int32_t): Likewise.
29239 (_G_uint16_t): Likewise.
29240 (_G_uint32_t): Likewise.
29241 (_G_HAVE_BOOL): Likewise.
29242 (_G_HAVE_ATEXIT): Likewise.
29243 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29244 (_G_HAVE_IO_FILE_OPEN): Likewise.
29245
b1dc5912
L
292462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29247
29248 * csu/libc-tls.c: Update copyright years.
29249
0e886ef9
JM
292502012-09-10 Joseph Myers <joseph@codesourcery.com>
29251
28361c5e
JM
29252 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29253 [!_G_USING_THUNKS]: Remove conditional code.
29254 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29255 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29256
0e886ef9
JM
29257 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29258 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29259 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29260 (_G_VTABLE_LABEL_PREFIX): Likewise.
29261 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29262 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29263 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29264 (_G_VTABLE_LABEL_PREFIX): Likewise.
29265 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29266 * sysdeps/mach/hurd/_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
bcba7aa2
L
292712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29272
29273 * libio/Makefile: Include ../Makeconfig before tests.
29274 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29275 only if $(build-shared) is yes.
29276
06585ee8
L
29277 * iconv/gconv_db.c: Update copyright years.
29278
80ccd52c
LD
292792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29280
29281 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29282 unwind info if defined PIC. Fix special cases description.
29283 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29284
29285 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29286 DP_HI_MASK entry.
29287 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29288
691bc9c1
L
292892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29290
3d9b46b3
L
29291 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29292
de2139a9
L
29293 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29294 is NULL.
29295
5ca78dd0
L
29296 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29297 (LDLIBS-tst-chk4): This.
29298 (LDFLAGS-tst-chk5): Renamed to ...
29299 (LDLIBS-tst-chk5): This.
29300 (LDFLAGS-tst-chk6): Renamed to ...
29301 (LDLIBS-tst-chk6): This.
29302 (LDFLAGS-tst-lfschk4): Renamed to ...
29303 (LDLIBS-tst-lfschk4): This.
29304 (LDFLAGS-tst-lfschk5): Renamed to ...
29305 (LDLIBS-tst-lfschk5): This.
29306 (LDFLAGS-tst-lfschk6): Renamed to ...
29307 (LDLIBS-tst-lfschk6): This.
29308
691bc9c1
L
29309 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29310 on $(common-objpfx)soversions.mk.
29311
65cafb1c
JM
293122012-09-07 Joseph Myers <joseph@codesourcery.com>
29313
29314 [BZ #10014]
29315 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29316 example host name.
29317
c78ab094
SP
293182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29319
29320 * malloc/arena.c (arena_get_retry): New function that gets
29321 another arena for the caller to try its request on.
29322 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29323 current arena cannot fulfill the request.
29324 (__libc_memalign): Likewise.
29325 (__libc_memalign): Likewise.
29326 (__libc_pvalloc): Likewise.
29327 (__libc_calloc): Likewise.
29328
01f49f59
JT
293292012-09-05 John Tobey <john.tobey@gmail.com>
29330
29331 [BZ #13542]
29332 * manual/arith.texi (Operations on Complex): Fix description
29333 of carg branch cut.
29334
4c23fed5
JM
293352012-09-06 Joseph Myers <joseph@codesourcery.com>
29336
1d3c8572
JM
29337 [BZ #10014]
29338 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29339 host name.
29340
4c23fed5
JM
29341 [BZ #10038]
29342 * manual/memory.texi (Memory): Make order of menu items match
29343 order of sections.
29344
04570aaa
L
293452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29346
29347 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29348 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29349 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29350
b80af2f4
L
293512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29352
29353 * csu/libc-tls.c (static_dtv): Renamed to ...
29354 (_dl_static_dtv): This. Make it global.
29355 (_dl_initial_dtv): Removed.
29356 (__libc_setup_tls): Updated.
29357 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29358 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29359 DL_INITIAL_DTV.
29360
2abe9f15
PM
293612012-09-06 Petr Machata <pmachata@redhat.com>
29362
29363 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29364 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29365 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29366 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29367
0948c3af
L
293682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29369
29370 [BZ #14545]
29371 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29372 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29373 freeing dtv[-1].
29374
a5055ad1
L
293752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29376
29377 [BZ #14544]
29378 * Makeconfig (link-static-before-libc): Replace $(+prector)
29379 with $(+prectorT).
29380 (link-static-after-libc): Replace $(+postctor) with
29381 $(+postctorT).
29382 (link-bounded): Replace $(+prector)/$(+postctor) with
29383 $(+prectorT)/$(+postctorT).
29384 (+prectorT): New macro.
29385 (+postctorT): Likewise.
29386
ed8c2ecd
JM
293872012-09-06 Joseph Myers <joseph@codesourcery.com>
29388
29389 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29390 (round_str): Handle values above the maximum for IBM long double
29391 as inexact.
29392 * stdlib/tst-strtod-round.c (tests): Regenerated.
29393
14c996c8
AK
293942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29395
29396 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29397 assembler flag.
29398 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29399 zarch_nohighgprs around the zarch optimized routines.
29400 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29401 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29402 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29403 for zarch.
29404
430d6ce6
DM
294052012-09-05 David S. Miller <davem@davemloft.net>
29406
29407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29408
57f41c40
AS
29409 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29410 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29411 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29412 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29413 entries.
29414
24d4e01b
AO
294152012-09-05 Alexandre Oliva <aoliva@redhat.com>
29416
29417 * malloc/arena.c: Fold copyright years.
29418 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29419
61d58174
AO
294202012-09-05 Alexandre Oliva <aoliva@redhat.com>
29421
29422 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29423
20196a5e
AO
294242012-09-05 Alexandre Oliva <aoliva@redhat.com>
29425
29426 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29427
5c447383
AO
294282012-09-05 Alexandre Oliva <aoliva@redhat.com>
29429
29430 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29431 change internal state upon failure.
29432
fad64255
AO
294332012-09-05 Alexandre Oliva <aoliva@redhat.com>
29434
29435 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29436 * malloc/memusage.c (mmap): Likewise.
29437 (mmap64, mremap): Likewise. Adjust name in comment.
29438
1ffb8c90
SP
294392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29440
29441 * libio/fileops.c: Fix typos in comments.
29442 * libio/oldfileops.c: Likewise.
29443 * libio/wfileops.c: Likewise.
29444
6ef9cc37
SP
294452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29446
29447 [BZ #1349]
29448 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29449 (tst-malloc-usable-ENV): Set environment for test case.
29450 * malloc/hooks.c (malloc_check_get_size): New function to get
29451 requested size.
29452 * malloc/malloc.c (musable): Use malloc_check_get_size.
29453 * malloc/tst-malloc-usable.c: New test case.
29454
4d038ae3
AS
294552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29456
29457 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29458
c4e85184
AM
294592012-09-05 Allan McRae <allan@archlinux.org>
29460
b9dafc56 29461 [BZ #13966]
c4e85184
AM
29462 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29463 determine header location.
29464 * configure: Regenerated.
29465
e1343020
AS
294662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29467
29468 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29469 float format.
29470 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29471 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29472 format.
e1343020
AS
29473 (test): Regenerate.
29474
0a9f1987
DM
294752012-09-04 David S. Miller <davem@davemloft.net>
29476
29477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29479 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29480
29237804
FW
294812012-09-04 Florian Weimer <fweimer@redhat.com>
29482
29483 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29484 failures.
29485
edb3cb88
FW
29486 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29487
60160d83
JM
294882012-09-04 Joseph Myers <joseph@codesourcery.com>
29489
29490 [BZ #9914]
29491 * libio/iogetdelim.c: Include <limits.h>.
29492 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29493 + len + 1 would overflow.
29494
bcd6c8dc
AJ
294952012-09-03 Andreas Jaeger <aj@suse.de>
29496
29497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29498 * sysdeps/i386/fpu/libm-test-ulps: Update.
29499
4ffffbd2
LD
295002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29501
29502 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29503 Add s_sinf-sse2, s_conf-sse2.
29504
29505 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29506 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29507 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29508 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29509
29510 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29511 for using routine as __sinf_ia32.
29512 Use macro for function declaration and weak_alias.
29513 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29514 for using routine as __cosf_ia32.
29515 Use macro for function declaration and weak_alias.
29516
29517 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29518 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29519
29520 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29521 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29523
29524 * math/libm-test.inc (cos_test): Add more test cases.
29525 (sin_test): Likewise.
29526 (sincos_test): Likewise.
29527
511fa286
AK
295282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29529
29530 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29531 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29532 hidden.
29533 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29534
5f30cfec
L
295352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29536
29537 [BZ #14538]
29538 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29539 first element of the GOT.
29540 (elf_machine_load_address): Return the difference between
29541 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29542
0786794f
AM
295432012-09-01 Allan McRae <allan@archlinux.org>
29544
5f30cfec
L
29545 [BZ #13412]
29546 * configure.in (AWK): Require gawk version 3.0 or later.
29547 * configure: Regenerated.
0786794f 29548
26889eac
JM
295492012-09-01 Joseph Myers <joseph@codesourcery.com>
29550
29551 * sysdeps/unix/sysv/linux/kernel-features.h
29552 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29553 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29554 [__NR_clock_getres]: Make code unconditional.
29555 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29556 (clock_getcpuclockid): Remove code left unreachable by removal of
29557 conditionals.
29558 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29559 code unconditional.
29560 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29561 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29562 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29563 Make code unconditional.
29564 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29565 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29566 * sysdeps/unix/sysv/linux/clock_settime.c
29567 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29568 conditional code.
29569 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29570 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29571
d22e28b0
L
295722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29573
29574 [BZ #14476]
29575 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29576 scripts/test-installation.pl.
29577
29578 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29579 and $ld_so_version if it is set.
29580
050af9c4
SP
295812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29582
29583 [BZ #14516]
29584 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29585 failure if reading from procfs failed.
29586 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29587
ad845c0b
JM
295882012-08-27 Joseph Myers <joseph@codesourcery.com>
29589
29590 * sysdeps/unix/sysv/linux/kernel-features.h
29591 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29592 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29593 Remove conditional code.
29594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29595 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29596 Remove conditional code.
29597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29598 * sysdeps/unix/sysv/linux/i386/fxstat.c
29599 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29601 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29602 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29604 * sysdeps/unix/sysv/linux/i386/lxstat.c
29605 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29607 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29608 Remove conditional code.
29609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29610 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29611 Remove conditional code.
29612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29613 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29614 <kernel-features.h>.
29615 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29616 Remove.
29617 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29618 Remove conditional code.
29619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29620 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29621 Remove conditional.
29622
5dbf56af
MF
296232012-08-27 Mike Frysinger <vapier@gentoo.org>
29624
29625 [BZ #5400]
29626 * NEWS: Add fixed bug number.
29627
d6e70f43
JM
296282012-08-27 Joseph Myers <joseph@codesourcery.com>
29629
7efb4737
JM
29630 [BZ #14519]
29631 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29632 underflowing exponent in case of negative sign.
29633 * stdlib/tst-strtod-round-data: Add more tests.
29634 * stdlib/tst-strtod-round.c (tests): Regenerated.
29635
af92131a
JM
29636 [BZ #3479]
29637 * stdlib/strtod_l.c (NDIG): Remove.
29638 (HEXNDIG): Likewise.
29639 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29640 smallest representable value.
29641 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29642 lie within an exact representation of 1/2 ulp of the result.
29643 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29644 unconditionally.
29645 (TENS_P9_IDX): Define unconditionally.
29646 (TENS_P9_SIZE): Likewise.
29647 (TENS_P10_IDX): Likewise.
29648 (TENS_P10_SIZE): Likewise.
29649 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29650 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29651 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29652 entries for 10^2^13 and 10^2^14.
29653 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29654 (TENS_P13_IDX): Define.
29655 (TENS_P13_SIZE): Likewise.
29656 (TENS_P14_IDX): Likewise.
29657 (TENS_P14_SIZE): Likewise.
29658 (_fpioconst_pow10): Change array size to
29659 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29660 unconditional.
29661 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29662 1024]: Add entries for 10^2^13 and 10^2^14.
29663 [LAST_POW10 > _LAST_POW10]: Remove #error.
29664 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29665 (_fpioconst_pow10): Change array size to
29666 FPIOCONST_POW10_ARRAY_SIZE.
29667 * stdlib/gen-fpioconst.c: New file.
29668 * stdlib/gen-tst-strtod-round.c: Likewise.
29669 * stdlib/tst-strtod-round-data: Likewise.
29670 * stdlib/tst-strtod-round.c: Likewise.
29671 * stdlib/Makefile (tests): Add tst-strtod-round.
29672
d6e70f43
JM
29673 [BZ #14459]
29674 * stdlib/strtod_l.c: Include <stdint.h>.
29675 (NDEBUG): Do not define.
29676 (round_and_return): Change EXPONENT parameter to type intmax_t.
29677 Rearrange calculations to avoid internal overflow possibilities.
29678 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29679 Rearrange calculations to avoid internal overflow possibilities.
29680 Assert that number fits inside MPNSIZE limbs.
29681 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29682 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29683 calculations and add assertions to avoid internal overflow
29684 possibilities. Add casts to avoid signed/unsigned operations.
29685 * stdlib/tst-strtod-overflow.c: New file.
29686 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29687
1f529f7d
MP
296882012-08-25 Marek Polacek <polacek@redhat.com>
29689
29690 * time/time.h: Fix some typos in comments.
29691
59a629f1
RM
296922012-08-23 Roland McGrath <roland@hack.frob.com>
29693
29694 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29695 * posix/tst-rfc3484-2.c: Likewise.
29696 * posix/tst-rfc3484-3.c: Likewise.
29697
d3bafbc9
SM
296982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29699
29700 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29701 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29702
4efcc022
JM
297032012-08-23 Joseph Myers <joseph@codesourcery.com>
29704
29705 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29706 #include of fxstatat64.c.
29707
3cc3ef96
RM
297082012-08-22 Roland McGrath <roland@hack.frob.com>
29709
f04e2132
RM
29710 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29711 * shadow/getspent_r.c: Likewise.
29712 * shadow/getspnam.c: Likewise.
29713 * shadow/getspnam_r.c: Likewise.
29714 * gshadow/getsgent.c: Likewise.
29715 * gshadow/getsgent_r.c: Likewise.
29716 * gshadow/getsgnam.c: Likewise.
29717 * gshadow/getsgnam_r.c: Likewise.
29718 * inet/getnetbyad.c: Likewise.
29719 * inet/getnetbyad_r.c: Likewise.
29720 * inet/getnetbynm.c: Likewise.
29721 * inet/getnetbynm_r.c: Likewise.
29722 * inet/getnetent.c: Likewise.
29723 * inet/getnetent_r.c: Likewise.
29724 * inet/getproto.c: Likewise.
29725 * inet/getproto_r.c: Likewise.
29726 * inet/getprtent.c: Likewise.
29727 * inet/getprtent_r.c: Likewise.
29728 * inet/getprtname.c: Likewise.
29729 * inet/getprtname_r.c: Likewise.
29730 * inet/getrpcbyname.c: Likewise.
29731 * inet/getrpcbyname_r.c: Likewise.
29732 * inet/getrpcbynumber.c: Likewise.
29733 * inet/getrpcbynumber_r.c: Likewise.
29734 * inet/getrpcent.c: Likewise.
29735 * inet/getrpcent_r.c: Likewise.
29736 * inet/getaliasent.c: Likewise.
29737 * inet/getaliasent_r.c: Likewise.
29738 * inet/getaliasname.c: Likewise.
29739 * inet/getaliasname_r.c: Likewise.
29740 * nscd/getgrgid_r.c: Likewise.
29741 * nscd/getgrnam_r.c: Likewise.
29742 * nscd/gethstbyad_r.c: Likewise.
29743 * nscd/gethstbynm3_r.c: Likewise.
29744 * nscd/getpwnam_r.c: Likewise.
29745 * nscd/getpwuid_r.c: Likewise.
29746 * nscd/getsrvbynm_r.c: Likewise.
29747 * nscd/getsrvbypt_r.c: Likewise.
29748 * nscd/gai.c: Likewise.
29749
c53d909c
RM
29750 * configure.in (build_nscd): New substituted variable, set
29751 by --disable-build-nscd and defaults to $use_nscd.
29752 * configure: Regenerated.
29753 * config.make.in (build-nscd): New substituted variable.
29754 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29755 Change conditional to require [$(build-nscd) = yes] as well.
29756 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29757
3cc3ef96
RM
29758 [BZ# 13696]
29759 * configure.in (use_nscd): New substituted variable, set by
29760 --disable-nscd. If enabled, define USE_NSCD.
29761 * configure: Regenerated.
29762 * config.h.in: Add USE_NSCD.
29763 * config.make.in (use-nscd): New substituted variable.
29764 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29765 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29766 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29767 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29768 (CFLAGS-getgrnam_r.c): Likewise.
29769 (CFLAGS-initgroups.c): Likewise.
29770 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29771 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29772 Variables removed.
29773 * inet/getnetgrent_r.c
29774 (nscd_setnetgrent): New function, broken out of ...
29775 (setnetgrent): ... here. Call it.
29776 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29777 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29778 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29779 * nscd/Makefile (routines, aux): Move definitions after include of
29780 Makeconfig. Conditionalize on [$(use-nscd) != no].
29781 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29782 Conditionalize on [USE_NSCD].
29783 (is_nscd, nscd_init_cb): Likewise.
29784 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29785 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29786 * nss/nss_db/db-init.c: Likewise.
29787 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29788 [USE_NSCD].
29789 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29790 (make_request): Use it.
29791 (cache_valid_p): New function.
29792 (__check_pf): Use it.
29793 * NEWS: Add item for --disable-nscd.
29794
07e51550
DL
297952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29796
29797 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29798 to support sed >= 4.2.1-20-ga9bf076.
29799 * configure: Regenerated.
29800
35a5b08b
RM
298012012-08-22 Roland McGrath <roland@hack.frob.com>
29802
29803 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29804 Conditionalize whole body on [IREL].
29805
8479f23a
JL
298062012-08-22 Jeff Law <law@redhat.com>
29807
29808 [BZ #14505]
29809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29810 if the family is PF_UNSPEC.
29811
48da0b21
MF
298122012-08-22 Mike Frysinger <vapier@gentoo.org>
29813
29814 * Makerules (lib-version): Rename from V.
29815 (install-lib-nosubdir): Change V to lib-version.
29816
15d0da8c
WS
298172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29818
29819 [BZ #14252]
29820 * powerpc32/power6/wcschr.c: New file.
29821 * powerpc32/power6/wcscpy.c: New file.
29822 * powerpc32/power6/wcsrchr.c: New file.
29823 * powerpc64/power6/wcschr.c: New file.
29824 * powerpc64/power6/wcscpy.c: New file.
29825 * powerpc64/power6/wcsrchr.c: New file.
29826
bcca0895
MK
298272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29828
29829 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29830 (two_way_short_needle): Use it.
5a4aaa33
RM
29831 * string/strstr.c (AVAILABLE1_USES_J): Define.
29832 * string/strcasestr.c: Likewise.
99677e57
MK
29833
29834 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29835 array references.
29836 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29837
400726de
MK
29838 [BZ #11607]
29839 * NEWS: Add an entry.
29840 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29841 define their defaults.
29842 (two_way_short_needle): Detect end-of-string on-the-fly.
29843 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29844 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29845 * string/bug-strcasestr1.c: New test.
29846 * string/Makefile: Run it.
29847
20a71f2c
MK
298482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29849
29850 [BZ #11607]
29851 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29852 the first character.
29853
21ad0558
RM
298542012-08-21 Roland McGrath <roland@hack.frob.com>
29855
29856 * csu/elf-init.c (__libc_csu_irel): Function removed.
29857 * csu/libc-start.c (apply_irel): New function.
29858 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29859
0e1d9911
JM
298602012-08-21 Joseph Myers <joseph@codesourcery.com>
29861
29862 * sysdeps/unix/sysv/linux/kernel-features.h
29863 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29864 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29865 <kernel-features.h>.
29866 [__NR_fadvise64_64]: Make code unconditional.
29867 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29868 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29869 !__NR_fadvise64_64)]: Likewise.
29870 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29871 !__NR_fadvise64_64))]: Likewise.
29872 [__NR_fadvise64]: Make code unconditional.
29873 [!__NR_fadvise64]: Remove conditional code.
29874 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29875 <kernel-features.h>.
29876 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29877 unconditional.
29878 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29879 conditional code.
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29881 not include <kernel-features.h>.
29882 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29883 unconditional.
29884 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29885 conditional code.
29886 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29887 include <kernel-features.h>.
29888 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29889 unconditional.
29890 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29891 conditional code.
29892
14a50c9d
WS
298932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29894
29895 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29896 slight instruction rearrangements per scrollpipe analysis.
29897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29898
c0f4faf0
RM
298992012-08-20 Roland McGrath <roland@hack.frob.com>
29900
696da859
RM
29901 * manual/syslog.texi (syslog; vsyslog, closelog):
29902 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29903 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29904
c0f4faf0
RM
29905 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29906 DSOCAPS to match condition on defining it.
29907
348363b2
JM
299082012-08-20 Joseph Myers <joseph@codesourcery.com>
29909
a35cbf28
JM
29910 * sysdeps/unix/sysv/linux/kernel-features.h
29911 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29913 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29914 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29916 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29917 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29919 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29920 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29921
445f7ecd
JM
29922 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29923 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29924
348363b2
JM
29925 * sysdeps/unix/sysv/linux/kernel-features.h
29926 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29927 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29928 unconditional.
29929 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29930 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29931 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29932 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29933 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29934 Make code unconditional.
29935 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29936 (__mmap64) [!__NR_mmap2]: Likewise.
29937 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29938 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29939 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29940 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29941 [__NR_mmap2]: Make code unconditional.
29942 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29943 (__mmap64) [!__NR_mmap2]: Likewise.
29944
bc5bc0e5
AK
299452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29946
29947 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29948
88d506de
AJ
299492012-08-18 Andreas Jaeger <aj@suse.de>
29950
29951 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29952
493387d2
MF
299532012-08-18 Mike Frysinger <vapier@gentoo.org>
29954
29955 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29956 * include/unistd.h (__have_sock_cloexec): Likewise.
29957 (__have_pipe2): Likewise.
29958 (__have_dup3): Likewise.
29959
a277af22
MF
299602012-08-18 Mike Frysinger <vapier@gentoo.org>
29961
29962 [BZ #9685]
29963 * include/unistd.h (__have_pipe2): Change define into an extern int.
29964 (__have_dup3): Likewise.
29965 * socket/have_sock_cloexec.c: Include fcntl.h.
29966 (__have_pipe2): New variable.
29967 (__have_dup3): Likewise.
29968
fdab8fd3
MF
299692012-08-17 Mike Frysinger <vapier@gentoo.org>
29970
29971 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29972
31035e80
MP
299732012-08-17 Marek Polacek <polacek@redhat.com>
29974
29975 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29976 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29977
3bd9e993
RM
299782012-08-17 Roland McGrath <roland@hack.frob.com>
29979
c91c505f
RM
29980 * configure.in: Add AC_SUBST for sysheaders.
29981 * configure: Regenerated.
29982 * config.make.in (sysheaders): New substituted variable.
29983
7c6f9d53
RM
29984 * sysdeps/unix/mkfifo.c: Moved ...
29985 * sysdeps/posix/mkfifo.c: ... here.
29986 * sysdeps/unix/mkfifoat.c: Moved ...
29987 * sysdeps/posix/mkfifoat.c: ... here.
29988
29989 * sysdeps/unix/utime.c: Moved ...
29990 * sysdeps/posix/utime.c: ... here.
29991
29992 * sysdeps/unix/time.c: Moved ...
29993 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29994 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29995 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29996
29997 * sysdeps/unix/nice.c: Moved ...
29998 * sysdeps/posix/nice.c: ... here.
29999
30000 * sysdeps/unix/alarm.c: Moved ...
30001 * sysdeps/posix/alarm.c: ... here.
30002
3bd9e993
RM
30003 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30004
d1f09384
JL
300052012-08-17 Jeff Law <law@redhat.com>
30006
30007 * intl/Makefile (codeset_mo): New variable.
30008 ($(codeset_mo)): New target.
30009 (tst-codeset.out): Depend on that. Remove explicit rule.
30010 (tst-gettext3.out, tst-gettext5.out): Likewise.
30011 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30012 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30013 * intl/tst-codeset.sh: Remove.
30014 * intl/tst-gettext3.sh: Likewise.
30015 * intl/tst-gettext5.sh: Likewise.
30016
2ae1ae5c
RM
300172012-08-17 Roland McGrath <roland@hack.frob.com>
30018
c31fdb83
RM
30019 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30020 * sysdeps/unix/syscalls.list: ... here.
30021
a0844057
RM
30022 * sysdeps/posix/getaddrinfo.c
30023 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30024 (gaiconf_init, gaiconf_reload): Use them.
30025 [!_STATBUF_ST_NSEC]
30026 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30027 Define using time_t rather than struct timespec.
30028
750c1f2a
RM
30029 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30030 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30031 Macros removed.
30032 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30033 [!NO_THREADS].
30034 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30035 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30036 Likewise.
30037
2ae1ae5c
RM
30038 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30039 __libc_cleanup_push argument.
30040
e66a42f5
RM
30041 * bits/param.h: New file.
30042 * misc/sys/param.h: New file.
30043 * include/sys/param.h: New file.
30044 * misc/Makefile (headers): Add bits/param.h.
30045 * sysdeps/generic/sys/param.h: File removed.
30046 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30047 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30048 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30049 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30050
b7c08a66
RM
30051 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30052 last change.
30053
b2e1c562
RM
30054 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30055 [_IO_MTSAFE_IO].
30056 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30057 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30058 New macros.
30059
c75ccd4c
RM
30060 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30061 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30062 rather than -D_IO_MTSAFE_IO conditionally.
30063 * stdio-common/Makefile (CPPFLAGS): Likewise.
30064 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30065 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30066 Use $(libio-mtsafe).
30067 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30068 of -D_IO_MTSAFE_IO.
30069 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30070 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30071 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30072 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30073 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30074 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30075 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30076 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30077 (CFLAGS-fread_u_chk.c): Likewise.
30078 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30079 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30080 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30081 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30082 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30083 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30084 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30085 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30086 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30087
30088 * libio/Makefile: Test [$(libc-reentrant) = yes]
30089 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30090
30091 * Makeconfig
30092 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30093 * sysdeps/pthread/configure: File removed.
30094 * sysdeps/pthread/Makeconfig: New file.
30095 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30096 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30097
d9195db8
GB
300982012-08-16 Gary Benson <gbenson@redhat.com>
30099
30100 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30101 unmapping the first object in a namespace.
30102
86466cd9
RM
301032012-08-16 Roland McGrath <roland@hack.frob.com>
30104
30105 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30106 (__internal_setnetgrent): ... this. Add internal_function to
30107 definition. Add libc_hidden_def.
30108 (setnetgrent): Update caller.
30109 (internal_endnetgrent): Renamed to ...
30110 (__internal_endnetgrent): ... this. Add internal_function to
30111 definition. Add libc_hidden_def.
30112 (endnetgrent): Update caller.
30113 (internal_getnetgrent_r): Renamed to ...
30114 (__internal_getnetgrent_r): ... this. Add internal_function to
30115 definition. Add libc_hidden_def.
30116 (__getnetgrent_r): Update caller.
30117 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30118
c3c8283c
JM
301192012-08-16 Joseph Myers <joseph@codesourcery.com>
30120
30121 * stdlib/longlong.h: Update from GCC.
30122
db1ee0a8
RM
301232012-08-16 Roland McGrath <roland@hack.frob.com>
30124
30125 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30126 on _QL, which is set by umul_ppmm but never used.
30127 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30128 variables, which are set by GMP macros but never used.
30129 * stdio-common/_itowa.c (_itowa): Likewise.
30130 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30131 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30132
30f69637
CD
301332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30134
30135 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30136 struct La_sh_regs is not constant.
30137 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30138 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30139 and struct La_sparc64_regs are not constant.
30140
93a78ac4
JM
301412012-08-16 Joseph Myers <joseph@codesourcery.com>
30142
30143 * sysdeps/unix/sysv/linux/kernel-features.h
30144 (__ASSUME_POSIX_TIMERS): Remove.
30145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30146 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30147 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30148 Make code unconditional.
30149 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30150 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30151 Make code unconditional.
30152 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30153 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30154 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30156 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30157 Make code unconditional.
30158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30159 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30160 (__libc_missing_posix_timers): Remove.
30161
dd924cd7
RM
301622012-08-15 Roland McGrath <roland@hack.frob.com>
30163
4b4f2771
RM
30164 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30165 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30166
601c888b
RM
30167 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30168
176790a7
RM
30169 * elf/dl-sym.c: Include <stdlib.h>.
30170
329bc018
RM
30171 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30172 constants, which avoids warnings in 32-bit builds.
30173
e04e272d
RM
30174 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30175 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30176
952bf94a
RM
30177 * misc/lseek.c: File moved to ...
30178 * io/lseek.c: ... here.
30179
7c99b50a
RM
30180 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30181
dd924cd7
RM
30182 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30183 shifting LEN more than 31 bits at once.
30184
b3f479a8
LD
301852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30186
30187 [BZ #14195]
8c4ae0d4
RM
30188 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30189 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30190 * string/test-strncasecmp.c (check1): Renamed to...
30191 (bz12205): ...this.
30192 (bz14195): Add new testcase for two empty input strings and N > 0.
30193 (test_main): Call new testcase, adapt for renamed function.
30194
9c55864e
AJ
301952012-08-15 Andreas Jaeger <aj@suse.de>
30196
30197 [BZ #14090]
30198 * crypt/md5test2.c: New test, based on test supplied by Serge
30199 Belyshev <belyshev@depni.sinp.msu.ru>.
30200 * crypt/Makefile (xtests): Add md5test-giant..
30201 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30202
02dcb6c5
PE
302032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30204
30205 [BZ #14090]
30206 * crypt/md5.c (md5_process_block): Don't assume the buffer
30207 length is less than 2**32.
30208 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30209 length is less than 2**64.
30210
a3f95dcc
RM
302112012-08-15 Roland McGrath <roland@hack.frob.com>
30212
be75d758
RM
30213 * string/str-two-way.h: Include <sys/param.h>.
30214 (MAX): Macro removed.
30215
7312ca90
RM
30216 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30217 Move #define and #undef of memmove to just before and after
30218 including <string.h>.
30219
9a0a5486
RM
30220 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30221 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30222 and after including <string.h>. Move declarations of
30223 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30224 to before #include "string/memmove.c".
30225
67cc348d
RM
30226 * include/dirent.h: Declare __getdirentries.
30227
a3f95dcc
RM
30228 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30229 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30230
ca98e171
MF
302312012-08-14 Mike Frysinger <vapier@gentoo.org>
30232
30233 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30234 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30235 * sysdeps/i386/configure: Regenerated.
30236 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30237 STABS_CURRENT_FILE, and STABS_FUN.
30238 (END): Remove call to STABS_FUN_END.
30239 (STABS_CURRENT_FILE1): Delete.
30240 (STABS_CURRENT_FILE): Likewise.
30241 (STABS_FUN): Likewise.
30242 (STABS_FUN_END): Likewise.
30243 (STABS_FUN2): Likewise.
30244 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30245 * sysdeps/x86_64/configure: Regenerated.
30246
5908bf46
RM
302472012-08-14 Roland McGrath <roland@hack.frob.com>
30248
30249 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30250 * elf/dl-lookup.c: Likewise.
5908bf46 30251
f2c05b9e
JM
302522012-08-14 Joseph Myers <joseph@codesourcery.com>
30253
30254 * sysdeps/unix/sysv/linux/kernel-features.h
30255 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30256 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30257 unconditionally.
30258 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30259 unconditionally.
30260 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30261 condition on __ASSUME_CLONE_THREAD_FLAGS.
30262
e11f5155
AJ
302632012-08-14 Andreas Jaeger <aj@suse.de>
30264
30265 * sysdeps/i386/fpu/libm-test-ulps: Update.
30266
51a9ba86
MK
302672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30268
2fdd4f78
AJ
30269 * include/atomic.h (atomic_exchange_and_add): Split into ...
30270 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30271 New atomic macros.
51a9ba86 30272
ba6cba9e
MT
302732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30274
30275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30276
42443a47
JL
302772012-08-13 Jeff Law <law@redhat.com>
30278
30279 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30280 null byte in the output string.
30281
121dce05
JM
302822012-08-10 Joseph Myers <joseph@codesourcery.com>
30283
30284 * sysdeps/unix/sysv/linux/kernel-features.h
30285 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30286 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30287 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30289 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30290 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30291 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30292
bf51f568
JL
302932012-08-09 Jeff Law <law@redhat.com>
30294
30295 [BZ #13939]
30296 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30297 When avoid_arena is set, don't retry in the that arena. Pick the
30298 next one, whatever it might be.
30299 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30300 (arena_lock): Pass in new parameter to arena_get2.
30301 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30302 arena_get2.
30303 (__libc_malloc): Unify retrying after main arena failure with
30304 __libc_memalign version.
30305 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30306
f85fa270
L
303072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30308
30309 [BZ #14166]
30310 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30311 to __redirect_strstr.
30312 (__strstr_sse42): Use typeof __redirect_strstr.
30313 (__strstr_ia32): Likewise.
30314 (__libc_strstr): New prototype.
30315 (strstr): Renamed to ...
30316 (__libc_strstr): This.
30317 (strstr): New strong alias of __libc_strstr.
30318 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30319 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30320 __redirect_time.
30321 Include <time.h>.
30322 (__libc_time): New prototype.
30323 (time_ifunc): Replace time with __libc_time.
30324 (time): New strong alias and hidden definition of __libc_time.
30325 (__GI_time): Remove strong alias.
30326 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30327 Include <stddef.h>.
30328 (memmove): Redefined to __redirect_memmove.
30329 (__memmove_sse2): Use typeof __redirect_memmove.
30330 (__memmove_ssse3): Likewise.
30331 (__memmove_ssse3_back): Likewise.
30332 (__libc_memmove): New prototype.
30333 (memmove): Renamed to ...
30334 (__libc_memmove): This.
30335 (memmove): New strong alias of __libc_memmove.
30336
33b4a91e
MS
303372012-08-08 Mark Salter <msalter@redhat.com>
30338
30339 * elf/elf.h
30340 (R_MN10300_TLS_GD): Define.
30341 (R_MN10300_TLS_LD): Likewise.
30342 (R_MN10300_TLS_LDO): Likewise.
30343 (R_MN10300_TLS_GOTIE): Likewise.
30344 (R_MN10300_TLS_IE): Likewise.
30345 (R_MN10300_TLS_LE): Likewise.
30346 (R_MN10300_TLS_DTPMOD): Likewise.
30347 (R_MN10300_TLS_DTPOFF): Likewise.
30348 (R_MN10300_TLS_TPOFF): Likewise.
30349 (R_MN10300_SYM_DIFF): Likewise.
30350 (R_MN10300_ALIGN): Likewise.
30351 (R_MN10300_NUM): Update.
30352
b36137f1
JM
303532012-08-08 Joseph Myers <joseph@codesourcery.com>
30354
30355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30356 Remove.
30357
cdd915fd
RM
303582012-08-08 Roland McGrath <roland@hack.frob.com>
30359
a2433aac
RM
30360 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30361
cdd915fd
RM
30362 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30363 sysdeps/unix -> sysdeps/posix move.
30364 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30365
bf9b740a
AM
303662012-08-07 Allan McRae <allan@archlinux.org>
30367
30368 [BZ #14303]
30369 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30370 (SUNOS_CPP): Likewise.
30371 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30372 not found.
30373 (open_input): Call CPP using execvp.
30374
93df14ee
JM
303752012-08-07 Joseph Myers <joseph@codesourcery.com>
30376
30377 * sysdeps/unix/sysv/linux/kernel-features.h
30378 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30379 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30380 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30381 (__ASSUME_WAITID_SYSCALL): Likewise.
30382 * sysdeps/unix/sysv/linux/dl-execstack.c
30383 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30384 code unconditional.
30385 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30386 conditional code.
30387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30388 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30389 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30390 code.
30391 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30392 unconditional.
30393 [__ASSUME_WAITID_SYSCALL]: Likewise.
30394 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30395
d34689de
RM
303962012-08-07 Roland McGrath <roland@hack.frob.com>
30397
a281decc
RM
30398 * sysdeps/unix/closedir.c: Renamed to ...
30399 * sysdeps/posix/closedir.c: ... here.
30400 * sysdeps/unix/dirfd.c: Renamed to ...
30401 * sysdeps/posix/dirfd.c: ... here.
30402 * sysdeps/unix/dirstream.h: Renamed to ...
30403 * sysdeps/posix/dirstream.h: ... here.
30404 * sysdeps/unix/fdopendir.c: Renamed to ...
30405 * sysdeps/posix/fdopendir.c: ... here.
30406 * sysdeps/unix/opendir.c: Renamed to ...
30407 * sysdeps/posix/opendir.c: ... here.
30408 * sysdeps/unix/readdir.c: Renamed to ...
30409 * sysdeps/posix/readdir.c: ... here.
30410 * sysdeps/unix/readdir_r.c: Renamed to ...
30411 * sysdeps/posix/readdir_r.c: ... here.
30412 * sysdeps/unix/rewinddir.c: Renamed to ...
30413 * sysdeps/posix/rewinddir.c: ... here.
30414 * sysdeps/unix/seekdir.c: Renamed to ...
30415 * sysdeps/posix/seekdir.c: ... here.
30416 * sysdeps/unix/telldir.c: Renamed to ...
30417 * sysdeps/posix/telldir.c: ... here.
30418 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30419 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30420 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30421 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30422
22895b47
RM
30423 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30424 * bits/fcntl.h: ... here.
30425
707a53b6
RM
30426 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30427 not 0.
30428 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30429 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30430 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30431 (struct flock): Move l_start, l_len to the beginning.
30432 Use __pid_t for l_pid.
30433 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30434 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30435 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30436 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30437 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30438 [__USE_LARGEFILE64] (struct flock64): New type.
30439 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30440
f0bd3e25
RM
30441 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30442 * bits/dirent.h: ... here.
30443
d34689de
RM
30444 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30445 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30446
6dad2c06
JM
304472012-08-07 Joseph Myers <joseph@codesourcery.com>
30448
30449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30450 Change from 2.6.0 to 2.6.16.
30451 * sysdeps/unix/sysv/linux/configure: Regenerated.
30452 * sysdeps/unix/sysv/linux/kernel-features.h
30453 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30454 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30455 version.
30456 (__ASSUME_UTIMES): Likewise.
30457 (__ASSUME_CLONE_STOPPED): Remove.
30458 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30459 architectures, not kernel version.
30460 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30461 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30462 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30463 (__ASSUME_WAITID_SYSCALL): Likewise.
30464 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30465 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30466 * README: State 2.6.16 as minimum Linux kernel version. Do not
30467 refer to older versions.
30468
03af9520
RM
304692012-08-06 Roland McGrath <roland@hack.frob.com>
30470
8e49df1d
RM
30471 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30472 Define alphasort64 as an alias.
30473 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30474 Define versionsort64 as an alias.
30475 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30476 Define scandir64 as an alias.
30477 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30478 Define scandirat64 as an alias.
30479 * dirent/alphasort64.c (alphasort64):
30480 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30481 * dirent/versionsort64.c: Likewise.
30482 * dirent/scandir64.c: Likewise.
30483 * dirent/scandirat64.c: Likewise.
30484 * sysdeps/wordsize-64/alphasort.c: File removed.
30485 * sysdeps/wordsize-64/alphasort64.c: File removed.
30486 * sysdeps/wordsize-64/scandir.c: File removed.
30487 * sysdeps/wordsize-64/scandir64.c: File removed.
30488 * sysdeps/wordsize-64/scandirat.c: File removed.
30489 * sysdeps/wordsize-64/scandirat64.c: File removed.
30490 * sysdeps/wordsize-64/versionsort.c: File removed.
30491 * sysdeps/wordsize-64/versionsort64.c: File removed.
30492 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30495 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30497 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30500
30501 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30503 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30505 [defined __arch64__ || defined __sparcv9]
30506 (__INO_T_MATCHES_INO64_T): New macro.
30507 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30508 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30509 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30510 * sysdeps/unix/sysv/linux/bits/dirent.h
30511 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30512 (_DIRENT_MATCHES_DIRENT64): New macro.
30513
03af9520
RM
30514 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30515 Define lockf64 as an alias.
30516 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30517 Define fseeko64 as an alias.
30518 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30519 Define ftello64 as an alias.
30520 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30521 Define _IO_fgetpos64 and fgetpos64 as aliases.
30522 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30523 Define _IO_fsetpos64 and fsetpos64 as aliases.
30524 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30525 Conditionalize body on this.
30526 * libio/fseeko64.c: Likewise.
30527 * libio/ftello64.c: Likewise.
30528 * libio/iofgetpos64.c: Likewise.
30529 * libio/iofsetpos64.c: Likewise.
30530 * sysdeps/wordsize-64/lockf.c: File removed.
30531 * sysdeps/wordsize-64/lockf64.c: File removed.
30532 * sysdeps/wordsize-64/fseeko.c: File removed.
30533 * sysdeps/wordsize-64/fseeko64.c: File removed.
30534 * sysdeps/wordsize-64/ftello.c: File removed.
30535 * sysdeps/wordsize-64/ftello64.c: File removed.
30536 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30537 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30538 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30539 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30542 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30543 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30544 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30545 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30546 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30547 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30549 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30550
30551 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30553 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30555 [defined __arch64__ || defined __sparcv9]
30556 (__OFF_T_MATCHES_OFF64_T): New macro.
30557 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30558 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30560 (__OFF_T_MATCHES_OFF64_T): New macro.
30561
c5757acd
L
305622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30563
30564 * stdlib/secure-getenv.c (__secure_getenv): Replace
30565 GLIBC_2_16 with GLIBC_2_17.
30566
3a31811e
L
305672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30568
30569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30571
faa2bccb
DM
305722012-08-03 David S. Miller <davem@davemloft.net>
30573
30574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30575
85fe1997
JM
305762012-08-03 Joseph Myers <joseph@codesourcery.com>
30577
30578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30579 Remove.
30580 (__ASSUME_CORRECT_SI_PID): Likewise.
30581 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30582 (__ASSUME_TMPFS_NAME): Likewise.
30583 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30584 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30585 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30586 (HAVE_AUX_SECURE): Make definition unconditional.
30587 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30588 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30589
4f75b7a0
RM
305902012-08-03 Roland McGrath <roland@hack.frob.com>
30591
30592 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30593 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30594 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30595 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30596 __eloop_threshold instead of SYMLOOP_MAX.
30597
30598 * sysdeps/generic/eloop-threshold.h: New file.
30599 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30600 of MAXSYMLINKS.
30601 * elf/chroot_canon.c (chroot_canon): Likewise.
30602
7aab07e4
JM
306032012-08-03 Joseph Myers <joseph@codesourcery.com>
30604
30605 [BZ #13717]
30606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30607 Change to 2.6.0 everywhere.
30608 * sysdeps/unix/sysv/linux/configure: Regenerated.
30609 * sysdeps/unix/sysv/linux/kernel-features.h
30610 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30611 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30612 kernel versions.
30613 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30614 (__ASSUME_FUTEX_REQUEUE): Remove.
30615 (__ASSUME_STATFS64): Define unconditionally.
30616 (__ASSUME_AT_SECURE): Likewise.
30617 (__ASSUME_CORRECT_SI_PID): Likewise.
30618 (__ASSUME_TGKILL): Define without depending on kernel version for
30619 i386.
30620 (__ASSUME_UTIMES): Likewise.
30621 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30622 kernel version.
30623 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30624 (__ASSUME_TMPFS_NAME): Likewise.
30625 * README: Update reference to Linux kernel versions.
30626
b67e9372
MP
306272012-08-02 Marek Polacek <polacek@redhat.com>
30628
1f529f7d 30629 [BZ# 14150]
b67e9372
MP
30630 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30631 libc_cv_asm_type_prefix with %.
30632 * configure: Regenerated.
d2441631
RM
30633 * include/libc-symbols.h: Remove comment about
30634 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30635 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30636 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30637 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30638 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30639 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30640 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30641 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30642 * elf/tst-unique2mod1.c: Likewise.
30643 * elf/tst-unique1mod2.c: Likewise.
30644 * elf/tst-unique1mod1.c: Likewise.
30645 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30646 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30647 Replace ASM_TYPE_DIRECTIVE with .type.
30648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30649 * sysdeps/i386/sysdep.h: Likewise.
30650 * sysdeps/x86_64/sysdep.h: Likewise.
30651 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30653 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30654 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30655 * sysdeps/powerpc/powerpc32/sysdep.h:
30656 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30657 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30658 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30659 * sysdeps/i386/fpu/e_powf.S: Likewise.
30660 * sysdeps/i386/fpu/e_expl.S: Likewise.
30661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30663 * sysdeps/i386/fpu/e_pow.S: Likewise.
30664 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30666 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30667 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30668 * sysdeps/i386/fpu/e_log2.S: Likewise.
30669 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30670 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30671 * sysdeps/i386/fpu/e_powl.S: Likewise.
30672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30673 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30674 * sysdeps/i386/fpu/e_logl.S: Likewise.
30675 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30676 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30677 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30678 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30679 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30680 * sysdeps/i386/fpu/e_log.S: Likewise.
30681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30682 * sysdeps/i386/fpu/e_logf.S: Likewise.
30683 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30684 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30685 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30686 * sysdeps/i386/fpu/e_log10.S: Likewise.
30687 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30688 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30689 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30690 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30692 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30693 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30694 * sysdeps/i386/i686/strtok.S: Likewise.
30695 * sysdeps/i386/i386-mcount.S: Likewise.
30696 * sysdeps/i386/strtok.S: Likewise.
30697 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30701 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30703 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30704 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30706 * sysdeps/x86_64/_mcount.S: Likewise.
30707 * sysdeps/x86_64/strtok.S: Likewise.
30708 * sysdeps/sh/_mcount.S: Likewise.
30709
2747bf9a
RM
307102012-08-01 Roland McGrath <roland@hack.frob.com>
30711
30712 * libio/iofopen.c: Include <fcntl.h>.
30713 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30714 (_IO_fopen64, fopen64): Define as aliases.
30715 * libio/iofopen64.c: Include <fcntl.h>.
30716 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30717 Conditionalize body on this.
30718 * sysdeps/wordsize-64/iofopen.c: File removed.
30719 * sysdeps/wordsize-64/iofopen64.c: File removed.
30720
3fb791b8
MP
307212012-08-01 Marek Polacek <polacek@redhat.com>
30722
30723 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30724 Use dlfcn directly instead of a variable.
30725 (binfmt-subdir): Do not define.
30726 (dlfcn): Likewise.
30727
a9f1039f
JM
307282012-08-01 Joseph Myers <joseph@codesourcery.com>
30729
23bddc06
JM
30730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30731 Remove all definitions.
30732 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30733 <kernel-features.h>.
30734 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30735 (miss_F_GETOWN_EX): Remove all definitions.
30736 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30737 macro definition.
30738 [!__ASSUME_FCNTL64]: Remove conditional code.
30739 [__ASSUME_FCNTL64]: Make code unconditional.
30740 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30741 <kernel-features.h>.
30742 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30743 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30744 (lockf64) [__NR_fcntl64]: Make code unconditional.
30745 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30746
a9f1039f
JM
30747 * sysdeps/unix/sysv/linux/kernel-features.h
30748 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30749 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30750 Make code unconditional.
30751 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30752 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30754 [__NR_vfork]: Make code unconditional.
30755 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30756 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30758 [__NR_vfork]: Make code unconditional.
30759 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30760 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30761
09c0ee5f
RM
307622012-08-01 Roland McGrath <roland@hack.frob.com>
30763
48aec5b9
RM
30764 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30765 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30766
cd97c966
RM
30767 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30768 Define mkstemp64 as an alias.
3f55550c
RM
30769 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30770 Define mkstemps64 as an alias.
cd97c966
RM
30771 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30772 Define mkostemp64 as an alias.
b8625cfc
RM
30773 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30774 Define mkostemps64 as an alias.
cd97c966
RM
30775 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30776 Conditionalize body on this.
30777 * misc/mkostemp64.c: Likewise.
b8625cfc 30778 * misc/mkostemps64.c: Likewise.
3f55550c 30779 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30780 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30781 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30782 * sysdeps/wordsize-64/mkostemp.c: File removed.
30783 * sysdeps/wordsize-64/mkstemp.c: File removed.
30784 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30788
09c0ee5f
RM
30789 [BZ #14138]
30790 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30791 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30792 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30793 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30794
30795 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30796 compat_symbol macros from <shlib-compat.h> rather than the underlying
30797 default_symbol_version and symbol_version macros, so that DEFAULT
30798 lines in shlib-versions are respected.
30799 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30800
7e66ee51
FW
308012012-08-01 Florian Weimer <fweimer@redhat.com>
30802
30803 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30804 Declare with warn_unused_result.
30805 (setgid, setregid, setegid, setresgid): Likewise.
30806 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30807 Likewise.
30808 * WUR-REPORT: Remove set*id functions.
30809
d2a54255
PT
308102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30811
30812 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30813
7ecdb005
RM
308142012-07-31 Roland McGrath <roland@hack.frob.com>
30815
b4180a5e 30816 [BZ #10191]
789bd351
RM
30817 * include/sys/socket.h (__libc_accept, __libc_accept4):
30818 Add attribute_hidden.
30819 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30820
40ce302d
RM
30821 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30822 use of PTR_MANGLE.
30823 * inet/getnetgrent_r.c (setup): Likewise.
30824
7ecdb005
RM
30825 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30826
e2eabb2c
DM
308272012-07-31 David S. Miller <davem@davemloft.net>
30828
30829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30830
d0419dbf
JM
308312012-07-31 Joseph Myers <joseph@codesourcery.com>
30832
30833 [BZ #13629]
30834 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30835 value between 1.0 and 2.0 and smaller part has absolute value less
30836 than 1.0.
30837 * math/s_clog10.c (__clog10): Likewise.
30838 * math/s_clog10f.c (__clog10f): Likewise.
30839 * math/s_clog10l.c (__clog10l): Likewise.
30840 * math/s_clogf.c (__clogf): Likewise.
30841 * math/s_clogl.c (__clogl): Likewise.
30842 * math/libm-test.inc (clog_test): Add more tests.
30843 (clog10_test): Likewise.
30844 * sysdeps/i386/fpu/libm-test-ulps: Update.
30845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30846
2bc13872
FW
308472012-07-31 Florian Weimer <fweimer@redhat.com>
30848
30849 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30850 Exit with zero in case no suitable GID is found, and write a
30851 message to standard error.
30852
bea9b193
RM
308532012-07-30 Roland McGrath <roland@hack.frob.com>
30854
30855 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30856 rather than to 1.
30857 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30858 (MAXPATHLEN): Removed.
30859 (NOGROUP, NODEV): New macros.
30860 (setbit, clrbit, isset, isclr): New macros.
30861 (howmany, roundup, powerof2): New macros.
30862 (DEV_BSIZE): New macro.
30863
30864 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30865 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30866
30867 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30868 definition on [!__NO_LONG_DOUBLE_MATH].
30869
30870 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30871 PTR_MANGLE and PTR_DEMANGLE.
30872
30873 * socket/accept4.c (accept4): Rename to __libc_accept4.
30874 Define accept4 as a weak alias.
30875
30876 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30877 on [_DIRENT_HAVE_D_TYPE].
30878 * io/ftw.c (ftw_dir): Likewise.
30879
30880 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30881
30882 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30883
30884 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30885 Use the BSD numbers rather than the arbitrary ones we had.
30886 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30887 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30888 (SIGXCPU, SIGXFSZ): New macros.
30889 (_NSIG): Now 32.
30890
30891 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30892 initializer on [_LIBC_REENTRANT].
30893
30894 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30895 definitions inside [_POSIX_MAPPED_FILES].
30896
30897 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30898
30899 * dirent/opendir.c: Include <fcntl.h>.
30900
30901 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30902 (__libc_getspecific): Likewise.
30903 (__libc_key_create): Likewise.
30904
30905 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30906 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30907 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30908 (tmpfile64): Define as alias.
30909 * sysdeps/wordsize-64/tmpfile.c: File removed.
30910 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30911 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30912 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30913
30914 * stdio-common/vfscanf.c: Include <stdbool.h>.
30915 * nss/makedb.c: Likewise.
30916 * stdio-common/_i18n_number.h: Likewise.
30917 * argp/argp-help.c: Likewise.
30918 * posix/wordexp.c: Likewise.
30919 * sysdeps/posix/spawni.c: Likewise.
30920 * nss/nss_files/files-initgroups.c: Likewise.
30921 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30922 * nss/nss_files/files-initgroups.c: Likewise.
30923 * nss/nss_db/db-netgrp.c: Likewise.
30924 * nss/nss_db/db-initgroups.c: Likewise.
30925 * io/fchmodat.c: Include <sys/stat.h>.
30926
30927 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30928 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30929
30930 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30931 [HAVE_MMAP].
30932
30933 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30934 Add multiple inclusion protection.
30935
e5abc686
DM
309362012-07-27 David S. Miller <davem@davemloft.net>
30937
30938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30939
815e6fa3
GB
309402012-07-27 Gary Benson <gbenson@redhat.com>
30941
30942 [BZ #14298]
30943 * elf/rtld.c: Include <stap-probe.h>.
30944 (dl_main): Added static probes "init_start" and "init_complete".
30945 * elf/dl-load.c: Include <stap-probe.h>.
30946 (lose): Take new parameter "nsid".
30947 Added static probe "map_failed".
30948 (_dl_map_object_from_fd): Pass namespace id to lose.
30949 Added static probe "map_start".
30950 (open_verify): Pass namespace id to lose.
30951 * elf/dl-open.c: Include <stap-probe.h>.
30952 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30953 and "reloc_complete".
30954 * elf/dl-close.c: Include <stap-probe.h>.
30955 (_dl_close_worker): Added static probes "unmap_start" and
30956 "unmap_complete".
30957 * elf/rtld-debugger-interface.txt: New file documenting the above.
30958
9f98c16c
RM
309592012-07-26 Roland McGrath <roland@hack.frob.com>
30960
30961 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30962 rather than a string variable.
30963 * sunrpc/rpc_main.c (h_output): Likewise.
30964 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30965
f3c22df3
PT
309662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30967
30968 * inet/check_native.c: New file.
30969
3129cfc6
JM
309702012-07-26 Joseph Myers <joseph@codesourcery.com>
30971
da865e95
JM
30972 [BZ #13629]
30973 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30974 if larger part has absolute value 1.0.
30975 * math/s_clog10.c (__clog10): Likewise.
30976 * math/s_clog10f.c (__clog10f): Likewise.
30977 * math/s_clog10l.c (__clog10l): Likewise.
30978 * math/s_clogf.c (__clogf): Likewise.
30979 * math/s_clogl.c (__clogl): Likewise.
30980 * math/libm-test.inc (clog_test): Add more tests.
30981 (clog10_test): Likewise.
30982 * sysdeps/i386/fpu/libm-test-ulps: Update.
30983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30984
3129cfc6
JM
30985 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30986 (pltexit): Likewise.
30987 (La_regs): Likewise.
30988 (La_retval): Likewise.
30989 (int_retval): Likewise.
30990 Update #error for removed macros to refer only to definitions in
30991 tst-audit.h.
30992 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30993 macro.
30994 (pltexit): Likewise.
30995 (La_regs): Likewise.
30996 (La_retval): Likewise.
30997 (int_retval): Likewise.
30998 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30999 macro.
31000 (pltexit): Likewise.
31001 (La_regs): Likewise.
31002 (La_retval): Likewise.
31003 (int_retval): Likewise.
31004 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31005 macro.
31006 (pltexit): Likewise.
31007 (La_regs): Likewise.
31008 (La_retval): Likewise.
31009 (int_retval): Likewise.
31010 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31011 macro.
31012 (pltexit): Likewise.
31013 (La_regs): Likewise.
31014 (La_retval): Likewise.
31015 (int_retval): Likewise.
31016 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31017 macro.
31018 (pltexit): Likewise.
31019 (La_regs): Likewise.
31020 (La_retval): Likewise.
31021 (int_retval): Likewise.
31022 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31023 macro.
31024 (pltexit): Likewise.
31025 (La_regs): Likewise.
31026 (La_retval): Likewise.
31027 (int_retval): Likewise.
31028 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31029 macro definitions in tst-audit.h.
31030 * sysdeps/i386/tst-audit.h: New file.
31031 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31032 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31033 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31034 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31035 * sysdeps/sh/tst-audit.h: Likewise.
31036 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31037 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31038 * sysdeps/x86_64/tst-audit.h: Likewise.
31039
bfc07087
AJ
310402012-07-26 Andreas Jaeger <aj@suse.de>
31041
b1b2aaf8
AJ
31042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31043 ptrace.
31044
31045 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31046 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31047 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31048 PTRACE_O_MASK.
31049 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31050 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31051 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31052
bfc07087
AJ
31053 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31054 value.
31055
31056 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31057 _sigsys.
31058 (si_call_addr, si_syscall, si_arch): Define new macro.
31059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31060 _sigsys.
31061 (si_call_addr, si_syscall, si_arch): Define new marcro.
31062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31063 _sigsys.
31064 (si_call_addr, si_syscall, si_arch): Define new macro.
31065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31066 _sigsys.
31067 (si_call_addr, si_syscall, si_arch): Define new macro.
31068
89b4b02f
JM
310692012-07-25 Joseph Myers <joseph@codesourcery.com>
31070
31071 [BZ #13717]
31072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31073 Change to 2.4.21 where previously 2.4.1.
31074 * sysdeps/unix/sysv/linux/configure: Regenerated.
31075 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31076 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31077 Linux kernel version.
31078 (__ASSUME_STD_AUXV): Remove.
31079 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31080 kernel version.
31081 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31082 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31083 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31084 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31085 (__ASSUME_NETLINK_SUPPORT): Likewise.
31086 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31087 (__no_netlink_support): Remove conditional definition.
31088 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31089 Remove.
31090 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31091 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31092 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31093 (if_nameindex_ioctl): Remove.
31094 (if_nameindex_netlink): Do not handle __no_netlink_support.
31095 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31096 code.
31097 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31098 Remove conditional code.
31099 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31100 code.
31101 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31102 unconditional.
31103 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31104 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31105 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31106 Remove.
31107 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31108 [!__ASSUME_STD_AUXV]: Remove conditional code.
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31110 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31111 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31113 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31114 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31115 code.
31116 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31118 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31119 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31120 conditional code.
31121 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31123 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31124 code.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31126 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31127 conditional code.
31128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31129 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31130 code unconditional.
31131 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31132 conditional code.
31133 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31134 unconditional.
31135 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31136 conditional code.
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31138 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31139 unconditional.
31140 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31141 conditional code.
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31143 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31144 code unconditional.
31145 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31146 conditional code.
31147 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31148 unconditional.
31149 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31150 conditional code.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31152 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31153 code unconditional.
31154 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31155 conditional code.
31156 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31157 unconditional.
31158 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31159 conditional code.
31160
842a39cd
AS
311612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31162
31163 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31164 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31165 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31166 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31167 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31168 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31169 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31170 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31171 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31172 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31173 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31174 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31175 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31176 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31177 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31178 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31179 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31181 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31183 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31184 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31186
84b3fd84
FW
311872012-07-25 Florian Weimer <fweimer@redhat.com>
31188
31189 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31190 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31191 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31192 Introduce __libc_secure_getenv.
0c7936d5
FW
31193 * stdlib/Versions (2.17): Add secure_getenv
31194 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31195 * stdlib/secure-getenv.c: Rename __secure_getenv to
31196 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31197 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31198 * stdlib/tst-secure-getenv.c: New.
31199 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31200 * manual/startup.texi (Environment Access): Document
31201 secure_getenv.
84b3fd84
FW
31202 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31203 __libc_secure_getenv.
31204 * inet/ruserpass.c (ruserpass): Likewise.
31205 * malloc/mtrace.c (mtrace): Likewise.
31206 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31207 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31208 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31209 * sysdeps/posix/tempname.c: Likewise. Evaluate
31210 HAVE_SECURE_GETENV.
31211 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31212 __secure_getenv to __libc_secure_getenv.
84b3fd84 31213 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31215 Likewise.
31216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31217 Likewise.
31218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31225
56e49b71
JM
312262012-07-25 Joseph Myers <joseph@codesourcery.com>
31227
31228 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31229 (struct La_i86_retval): Likewise.
31230 (struct La_x86_64_regs): Likewise.
31231 (struct La_x86_64_retval): Likewise.
31232 (struct La_x32_regs): Likewise.
31233 (struct La_x32_retval): Likewise.
31234 (struct La_ppc32_regs): Likewise.
31235 (struct La_ppc32_retval): Likewise.
31236 (struct La_ppc64_regs): Likewise.
31237 (struct La_ppc64_retval): Likewise.
31238 (struct La_sh_regs): Likewise.
31239 (struct La_sh_retval): Likewise.
31240 (struct La_s390_32_regs): Likewise.
31241 (struct La_s390_32_retval): Likewise.
31242 (struct La_s390_64_regs): Likewise.
31243 (struct La_s390_64_retval): Likewise.
31244 (struct La_sparc32_regs): Likewise.
31245 (struct La_sparc32_retval): Likewise.
31246 (struct La_sparc64_regs): Likewise.
31247 (struct La_sparc64_retval): Likewise.
31248 (struct audit_ifaces): Remove architecture-specific pltenter and
31249 pltexit members.
31250 * sysdeps/i386/ldsodefs.h: New file.
31251 * sysdeps/powerpc/ldsodefs.h: Likewise.
31252 * sysdeps/s390/ldsodefs.h: Likewise.
31253 * sysdeps/sh/ldsodefs.h: Likewise.
31254 * sysdeps/sparc/ldsodefs.h: Likewise.
31255 * sysdeps/x86_64/ldsodefs.h: Likewise.
31256
354691b7
MP
312572012-07-25 Marek Polacek <polacek@redhat.com>
31258
31259 [BZ #6808]
31260 * math/libm-test.inc (yn_test): Add another test.
31261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31262 to ERANGE when the result is +-Inf.
31263 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31264 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31265 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31266 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31267
bf9e2071
JM
312682012-07-24 Joseph Myers <joseph@codesourcery.com>
31269
31270 * conform/data/time.h-data (NULL): Use macro-constant. Require
31271 equal to 0.
31272 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31273 clock_t.
31274 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31275
57633811
TS
312762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31277
31278 * configure.in <sysdeps resolving>: Correct printing
31279 Implies_before.
31280 * configure: Regenerate.
31281
c23c33b0
TS
312822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31283
31284 * math/w_ilogb.c: Include <limits.h>.
31285 * math/w_ilogbl.c: Likewise.
31286
b5982523
JM
312872012-07-20 Joseph Myers <joseph@codesourcery.com>
31288
31289 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31290 va_copy. Document allowing for unavailable va_copy only as
31291 pre-C99 compatibility.
31292 * manual/string.texi (Copying and Concatenation): Use va_copy
31293 instead of __va_copy in concat example.
31294
ac4ea442
PT
312952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31296
31297 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31298 (__sendto): Use create_address_port. Initialize APORT and deallocate
31299 it if not null.
31300
f98eafbd
PT
31301 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31302 with O_NOLINK passed to __file_name_lookup.
31303
898c7aab
PT
31304 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31305 with O_NOLINK passed to __file_name_lookup.
31306
0ced335a
PT
31307 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31308 negative N or less than NGIDS.
31309
b3404dbd
PT
31310 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31311 type to string_t. Set ERANGE as errno and return it if NAME is not big
31312 enough. Use memcpy instead of strncpy.
31313
0f48659e
JM
313142012-07-20 Joseph Myers <joseph@codesourcery.com>
31315
31316 * elf/Makefile (check-data): Remove.
31317 (localplt.data): New vpath directive.
31318 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31319 instead of $(check-data).
31320 * scripts/data/localplt-generic.data: Move to ...
31321 * sysdeps/generic/localplt.data: ... here.
31322 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31323 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31324 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31326 ... here.
31327 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31329 ... here.
31330 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31332 ... here.
31333 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31335 ... here.
31336 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31338 ... here.
31339 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31341 ... here.
31342
d37cbdaa
AZ
313432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31344
31345 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31346 PPC32 and PPC64 files.
31347 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31348 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31349
46f85fc2
AK
313502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31351
31352 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31353 __makecontext_ret to ...
31354 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31355 ... here and call exit if uc_link is NULL. New file.
31356 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31357 __makecontext_ret.S.
31358 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31359 __makecontext_ret to ...
31360 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31361 ... here and call exit if uc_link is NULL. New file.
31362 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31363 __makecontext_ret.S.
31364
08f43f9b
AK
313652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31366
31367 * elf/elf.h (R_390_IRELATIVE): New definition.
31368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31369 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31370 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31372 (elf_machine_lazy_rel): Likewise.
31373 * sysdeps/s390/dl-irel.h: New file.
31374 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31375 * sysdeps/s390/s390-64/memset.S: New asm code.
31376 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31377 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31378 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31379 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31380 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31381 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31382 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31383 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31384 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31385 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31386 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31387 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31388 * sysdeps/s390/s390-32/memset.S: New asm code.
31389 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31390
3b05db33
MP
313912012-07-17 Marek Polacek <polacek@redhat.com>
31392
31393 [BZ #14349]
31394 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31395 * sysdeps/s390/s390-64/configure.in: Likewise.
31396 * sysdeps/sparc/configure.in: Likewise.
31397 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31398 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31399 * sysdeps/i386/configure.in: Likewise.
31400 * sysdeps/x86_64/configure.in: Likewise.
31401 * sysdeps/sh/configure.in: Likewise.
31402 * sysdeps/s390/s390-32/configure: Regenerated.
31403 * sysdeps/s390/s390-64/configure: Likewise.
31404 * sysdeps/x86_64/configure: Likewise.
31405 * sysdeps/sh/configure: Likewise.
31406 * sysdeps/powerpc/powerpc64/configure: Likewise.
31407 * sysdeps/powerpc/powerpc32/configure: Likewise.
31408 * sysdeps/sparc/configure: Likwise.
31409 * sysdeps/i386/configure: Likewise.
31410
a66877c6
MP
31411 * elf/dl-open.c: Comment fixes.
31412
cfc82fd8
JM
314132012-07-17 Joseph Myers <joseph@codesourcery.com>
31414
bd29910a
JM
31415 * Makefile [CXX] (check-data): Remove.
31416 [CXX] (c++-types.data): New vpath directive.
31417 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31418 vpath. Do not allow for C++ type data being missing.
31419 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31420 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31421 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31422 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31423 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31424 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31425 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31427 ... here.
31428 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31430 ... here.
31431 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31433 ... here.
31434 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31436 ... here.
31437 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31439 ... here.
31440 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31442 ... here.
31443 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31445 ... here.
31446 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31448
cfc82fd8
JM
31449 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31450 definitions to architecture-specific files.
31451 (TLS_IE): Likewise.
31452 (TLS_LD): Likewise.
31453 (TLS_GD): Likewise.
31454 * sysdeps/i386/tls-macros.h: New file.
31455 * sysdeps/powerpc/tls-macros.h: Likewise.
31456 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31457 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31458 * sysdeps/sh/tls-macros.h: Likewise.
31459 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31460 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31461 * sysdeps/x86_64/tls-macros.h: Likewise.
31462
f7db3170
TS
314632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31464
07cbfc23
TS
31465 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31466 zero value for regular exit case.
31467
f7db3170
TS
31468 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31469 (__start_context): Preserve zero value for regular exit case.
31470
dc97c227
TS
314712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31472 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31473
31474 * manual/setjmp.texi (setcontext): Clarify normal process
31475 termination when uc_link is the null pointer.
31476 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31477 exit call.
31478
d0cd7d02
AS
314792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31480
31481 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31482 preprocessor. Test for each exception mask separately.
31483
dd318934
AJ
314842012-07-16 Andreas Jaeger <aj@suse.de>
31485
31486 * po/ru.po: Update from translation team.
31487
8048311a
JM
314882012-07-15 Joseph Myers <joseph@codesourcery.com>
31489
31490 * conform/data/string.h-data (NULL): Use macro-constant. Require
31491 equal to 0.
31492 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31493 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31494 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31495 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31497
b637d46e
AJ
314982012-07-13 Andreas Jaeger <aj@suse.de>
31499
31500 * po/fr.po: Update from translation team.
31501
541428fe
MP
315022012-07-12 Marek Polacek <polacek@redhat.com>
31503
31504 [BZ #14173]
31505 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31506 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31507 loop condition.
31508
ec332e94
JM
315092012-07-12 Joseph Myers <joseph@codesourcery.com>
31510
31511 [BZ #13717]
31512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31513 Change to 2.4.1 where previously 2.4.0.
31514 * sysdeps/unix/sysv/linux/configure: Regenerated.
31515 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31516 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31517 version.
31518 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31519 (__ASSUME_AT_CLKTCK): Remove.
31520 (__ASSUME_AT_PAGESIZE): Likewise.
31521 (__ASSUME_AT_XID): Likewise.
31522 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31523 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31524 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31525 unconditionally.
31526 (HAVE_AUX_PAGESIZE): Likewise.
31527 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31528 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31529 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31530
7b6e99be
JB
315312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31532
31533 [BZ #14307]
31534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31535 the temporary buffer used to invoke __gethostbyname2_r,
31536 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31537 host_data / struct gaih_addrtuple.
31538 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31539 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31540 header file nss/nsswitch.h.
31541 * nss/nsswitch.h (global scope): Add definition of implementation
31542 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31543 resolv/nss_dns/dns-host.c).
31544
608404eb
AJ
315452012-07-11 Andreas Jaeger <aj@suse.de>
31546
31547 * po/fr.po: Update from translation team.
31548
71220aca
AJ
31549 * po/sv.po: Update from translation team
31550 * po/fr.po: Another update from translation team.
31551
28cfe843
AZ
315522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31553
31554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31555 for subnormals or multiply small sinh result by itself.
31556 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31558
6b90f981
DM
315592012-07-11 David S. Miller <davem@davemloft.net>
31560
31561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31562
c6825772
AS
315632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31564
31565 [BZ #14347]
31566 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31567 (INTERNAL_MARK): Shift it here.
31568
7b8e0d49
MP
315692012-07-10 Marek Polacek <polacek@redhat.com>
31570
31571 [BZ #14151]
31572 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31573 libc_cv_asm_global_directive with .globl.
31574 * configure: Regenerated.
31575 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31576 with .globl.
31577 * sysdeps/i386/configure: Regenerated.
31578 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31579 with .globl.
31580 * sysdeps/x86_64/configure: Regenerated.
31581 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31582 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31583 * elf/tst-unique2mod2.c: Likewise.
31584 * elf/tst-unique2mod1.c: Likewise.
31585 * elf/tst-unique1mod2.c: Likewise.
31586 * elf/tst-unique1mod1.c: Likewise.
31587 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31588 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31589 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31590 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31591 * sysdeps/mach/sysdep.h: Likewise.
31592 * sysdeps/i386/sysdep.h: Likewise.
31593 * sysdeps/i386/i386-mcount.S: Likewise.
31594 * sysdeps/x86_64/_mcount.S: Likewise.
31595 * sysdeps/x86_64/sysdep.h: Likewise.
31596 * sysdeps/sh/_mcount.S: Likewise.
31597 * sysdeps/sh/sysdep.h: Likewise.
31598 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31599 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31600 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31601 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31602 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31603 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31604 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31605 * locale/localeinfo.h: Likewise.
31606 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31607 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31608
6c55cda3
RM
316092012-07-09 Roland McGrath <roland@hack.frob.com>
31610
31611 [BZ #14336]
31612 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31613 system".
31614 * manual/message.texi (The Uniforum approach): Likewise.
31615 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31616 (glibc iconv Implementation): Likewise.
31617
638a572e
JM
316182012-07-09 Joseph Myers <joseph@codesourcery.com>
31619
31620 [BZ #14337]
31621 * math/s_clog.c (__clog): Avoid scaling a value down where that
31622 could result in underflow.
31623 * math/s_clog10.c (__clog10): Likewise.
31624 * math/s_clog10f.c (__clog10f): Likewise.
31625 * math/s_clog10l.c (__clog10l): Likewise.
31626 * math/s_clogf.c (__clogf): Likewise.
31627 * math/s_clogl.c (__clogl): Likewise.
31628 * math/libm-test.inc (clog_test): Add more tests.
31629 (clog10_test): Likewise.
31630 * sysdeps/i386/fpu/libm-test-ulps: Update.
31631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31632
261f4859
AS
316332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31634
0abaf3e4
AS
31635 [BZ #14283]
31636 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31637 by 7 not 8 to examine high bit of fractional part.
31638
261f4859
AS
31639 [BZ #14042]
31640 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31641 for call to __mcount_internal.
31642 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31643 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31644 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31645
f17ac40d
JM
316462012-07-06 Joseph Myers <joseph@codesourcery.com>
31647
9ad63c23
JM
31648 [BZ #14154]
31649 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31650 approximation for values within 0x1p-13f of an odd multiple of
31651 pi/4.
31652 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31653 exception. Add more tests.
31654 * sysdeps/i386/fpu/libm-test-ulps: Update.
31655
f17ac40d
JM
31656 [BZ #6778]
31657 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31658 inputs and return -1 for them. Do not check for +Inf in case not
31659 reachable for +Inf.
31660 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31661 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31662 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31663 and return -1 for them. Do not check for +Inf in case not
31664 reachable for +Inf.
31665 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31666 define.
31667 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31668 and return -1 for them. Do not check for +Inf in case not
31669 reachable for +Inf.
31670 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31671 spurious underflow.
31672 * sysdeps/i386/fpu/libm-test-ulps: Update.
31673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31674
fb21f89b
MF
316752012-07-06 Mike Frysinger <vapier@gentoo.org>
31676
31677 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31678
cdfe2c5e
JM
316792012-07-05 Joseph Myers <joseph@codesourcery.com>
31680
31681 [BZ #14157]
31682 [BZ #14331]
31683 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31684 could result in spurious underflow. Scale down values above
31685 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31686 * math/s_csqrtf.c (__csqrtf): Likewise.
31687 * math/s_csqrtl.c (__csqrtl): Likewise.
31688 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31689 spurious underflow.
31690 * sysdeps/i386/fpu/libm-test-ulps: Update.
31691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31692
70d35b67
AS
316932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31694
704bc459
AS
31695 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31696 xopen-msg.sed.
31697 * catgets/xopen-msg.awk: New file.
31698 * catgets/xopen-msg.sed: Removed.
31699
70d35b67
AS
31700 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31701 po2text.sed.
31702 * intl/po2test.awk: New file.
31703 * intl/po2test.sed: Removed.
31704
ca61cf32
JM
317052012-07-04 Joseph Myers <joseph@codesourcery.com>
31706
31707 [BZ #14328]
31708 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31709 or multiply small sinh result by itself.
31710 * math/s_ctanf.c (__ctanf): Likewise.
31711 * math/s_ctanh.c (__ctanh): Likewise.
31712 * math/s_ctanhf.c (__ctanhf): Likewise.
31713 * math/s_ctanhl.c (__ctanhl): Likewise.
31714 * math/s_ctanl.c (__ctanl): Likewise.
31715 * math/libm-test.inc (ctan_test_tonearest): New function.
31716 (ctan_test_towardzero): Likewise.
31717 (ctan_test_downward): Likewise.
31718 (ctan_test_upward): Likewise.
31719 (ctanh_test_tonearest): Likewise.
31720 (ctanh_test_towardzero): Likewise.
31721 (ctanh_test_downward): Likewise.
31722 (ctanh_test_upward): Likewise.
31723 (main): Call these new functions.
31724 * sysdeps/i386/fpu/libm-test-ulps: Update.
31725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31726
ca48a46a
MF
317272012-07-03 Mike Frysinger <vapier@gentoo.org>
31728
31729 * .gitignore: Delete /ports entry.
31730
9d63d37d
AJ
317312012-07-03 Andreas Jaeger <aj@suse.de>
31732
31733 * po/bg.po: Update from translation team.
31734 * po/cs.po: Likewise.
31735 * po/de.po: Likewise.
31736 * po/hr.po: Likewise.
31737 * po/nl.pl: Likewise.
31738 * po/pl.po: Likewise.
31739 * po/vi.po: Likewise.
31740
370ca3d2
JM
317412012-07-03 Joseph Myers <joseph@codesourcery.com>
31742
95f5a9a8
JM
31743 * Makeconfig [!+link] (+link-before-libc): New variable.
31744 [!+link] (+link-after-libc): Likewise.
31745 [!+link] (+link-tests): Likewise.
31746 [!+link] (+link): Define in terms of $(+link-before-libc) and
31747 $(+link-after-libc).
31748 [!+link-static] (+link-static-before-libc): New variable.
31749 [!+link-static] (+link-static-after-libc): Likewise.
31750 [!+link-static] (+link-static-tests): Likewise.
31751 [!+link-static] (+link-static): Define in terms of
31752 $(+link-static-before-libc) and $(+link-static-after-libc).
31753 [build-shared] (link-libc-before-gnulib): New variable.
31754 [build-shared] (link-libc-tests): Likewise.
31755 [build-shared] (link-libc): Define in terms of
31756 $(link-libc-before-gnulib).
31757 [!build-shared] (link-libc-tests): New variable.
31758 (link-libc-static-tests): New variable.
31759 [!gnulib] (gnulib-arch): New variable.
31760 [!gnulib] (gnulib-tests): Likewise.
31761 [!gnulib] (static-gnulib-arch): Likewise.
31762 [!gnulib] (static-gnulib-tests): Likewise.
31763 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31764 Define with "=" instead of ":=".
31765 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31766 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31767 * Rules (binaries-all-notests): New variable.
31768 (binaries-all-tests): Likewise.
31769 (binaries-static-notests): Likewise.
31770 (binaries-static-tests): Likewise.
31771 (binaries-all): Define using $(binaries-all-notests) and
31772 $(binaries-all-tests).
31773 (binaries-static): Define using $(binaries-static-notests) and
31774 $(binaries-static-tests).
31775 (binaries-shared-tests): New variable.
31776 (binaries-shared-notests): Likewise.
31777 (binaries-shared): Remove variable.
31778 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31779 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31780 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31781 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31782 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31783 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31784 * elf/Makefile (sln-modules): New variable.
31785 (extra-objs): Add $(sln-modules:=.o).
31786 (ldconfig-modules): Add static-stubs.
31787 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31788 * elf/static-stubs.c: New file.
31789
7a845b2c
JM
31790 [BZ #14283]
31791 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31792 by 7 not 8 to examine high bit of fractional part. Use volatile
31793 variables when splitting into final array of floats if
31794 __FLT_EVAL_METHOD__ != 0.
31795 * math/libm-test.inc (cos_test): Add another test.
31796 (sin_test): Likewise.
31797 * sysdeps/i386/fpu/libm-test-ulps: Update.
31798
e2283f38
JM
31799 [BZ #14273]
31800 * math/libm-test.inc (cosh_test): Add more tests.
31801
370ca3d2
JM
31802 * version.h (RELEASE): Set to "development".
31803 (VERSION): Set to "2.16.90".
31804
ee9247c3
CD
318052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31806
31807 * NEWS: Update copyright. Remove last-updated date.
31808 Mention math library bug fixes and timezone data changes.
31809 * README: Mention GNU/Hurd, x32, and HPPA support status.
31810
4648c381
TS
318112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31812
31813 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31814
aac78a43
AJ
318152012-06-27 Andreas Jaeger <aj@suse.de>
31816
31817 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31818
ed3dbfad
AJ
318192012-06-25 Andreas Jaeger <aj@suse.de>
31820
31821 * sysdeps/s390/fpu/libm-test-ulps: Update.
31822
4d0ee855
AS
318232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31824 Thomas Schwinge <thomas@codesourcery.com>
31825
31826 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31827 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31829 fanotify_mark.
31830
af1bce34
TS
318312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31832
a9fa33ba
TS
31833 * sysdeps/mach/start.c: Remove file.
31834 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31835 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31836 * sysdeps/sh/init-first.c: Likewise.
31837
58f902b8
TS
31838 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31839 registers for frame unwinding purposes, add CFI directives.
31840 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31842 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31843 Likewise.
31844
1518f58b
TS
31845 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31846 __fortify_fail returning.
31847 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31848
db9b5059
TS
31849 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31850 sysdeps/sh/____longjmp_chk.S.
31851 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31852 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31853 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31854 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31855
967705fe
TS
31856 * sysdeps/sh/abort-instr.h: New file.
31857 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31858 process in case exit returns.
31859
a9def8c4
TS
31860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31861 initialize the GOT register before use.
31862
2a649725
TS
31863 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31864 calculation of ARGC > 4.
31865
af1bce34
TS
31866 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31867 meaningful names to some local labels.
31868
d230f50a
KK
318692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31870 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31871
31872 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31873 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31874 (__arch_compare_and_exchange_val_16_acq): Likewise.
31875 (__arch_compare_and_exchange_val_32_acq): Likewise.
31876 (atomic_exchange_and_add): Fix gUSA sequence.
31877 (atomic_add): Likewise.
31878 (atomic_add_negative): Likewise.
31879 (atomic_add_zero): Likewise.
31880 (atomic_bit_test_set): Likewise.
31881
0479b305
AS
318822012-06-22 Andreas Schwab <schwab@redhat.com>
31883
31884 [BZ #13579]
31885 * include/link.h (struct link_map): Add l_free_initfini.
31886 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31887 l_initfini.
31888 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31889 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31890 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31891 set.
31892
0e3933b9
CD
318932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31894
31895 * configure.in: Use AC_LANG_SOURCE.
31896 * configure: Regenerate.
31897
4248b1b1
RM
318982012-06-22 Roland McGrath <roland@hack.frob.com>
31899
31900 * configure.in (libc_cv_localstatedir): New substituted variable.
31901 * configure: Regenerated.
31902 * config.make.in (localstatedir): New variable, substituted from
31903 libc_cv_localstatedir.
31904 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31905 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31906 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31907 * sysdeps/gnu/configure: Regenerated.
31908
006dd861
JL
319092012-06-21 Jeff Law <law@redhat.com>
31910
31911 [BZ #14277]
31912 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31913 free. Simplify list management for _LIBC case.
31914
79662d42
JM
319152012-06-21 Joseph Myers <joseph@codesourcery.com>
31916
b7abb4bf
JM
31917 [BZ #14273]
31918 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31919 Clear sign bit of 64-bit integer value before comparing against
31920 overflow value.
31921
79662d42
JM
31922 * sysdeps/mach/configure: Regenerated.
31923
1f150908
L
319242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31925
31926 [BZ #14278]
31927 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31928
28363bbf
JL
319292012-06-21 Jeff Law <law@redhat.com>
31930
31931 [BZ #13882]
31932 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31933 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31935 * elf/dl-open.c (dl_open_worker): Likewise.
31936
09615db4
CD
319372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31938
31939 * scripts/list-sources.sh: Scan PORTS for translations.
31940 * po/libc.pot: Regenerated.
31941
2174c6dd
AJ
319422012-06-21 Andreas Jaeger <aj@suse.de>
31943
31944 [BZ #12194]
31945 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31946 warning.
31947 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31948 * bits/byteswap-16.h (__bswap_16): Likewise.
31949 * bits/byteswap.h (__bswap_constant_16): Likewise.
31950
3ee947b1
L
319512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31952
31953 [BZ #14117]
a2f34833
L
31954 * sysdeps/i386/fpu_control.h: Removed.
31955 * sysdeps/x86_64/fpu_control.h: Moved to ...
31956 * sysdeps/x86/fpu_control.h: Here.
31957
3ee947b1
L
31958 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31959 (_FPU_SETCW): Likewise.
31960
ed1825f8
L
319612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31962
25f1282a
L
31963 [BZ #14117]
31964 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31965 * sysdeps/x86/fpu/bits/mathinline.h: This.
31966 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31967
ed1825f8
L
31968 [BZ #14050]
31969 [BZ #14117]
31970 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31971 functions if __x86_64__ is defined.
31972
36d54b74
CLT
319732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31974
31975 * string/endian.h: Add !__ASSEMBLER__ condition for including
31976 conversion interfaces.
31977
10285c21
JM
319782012-06-15 Joseph Myers <joseph@codesourcery.com>
31979
31980 [BZ #14241]
31981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31982 of ABS(x) in calculating zero to negative powers other than odd
31983 integers.
31984 * math/libm-test.inc (pow_test): Add more tests.
31985
06c5abbd
AJ
319862012-06-15 Andreas Jaeger <aj@suse.de>
31987
31988 * manual/contrib.texi (Contributors): Update entry of Liubov
31989 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31990 Machado Filho.
31991
a3aeac40
CH
319922012-06-15 Cyril Hrubis <metan@ucw.cz>
31993
31994 * string/string.h: Add __wur to GNU version of strerror_r.
31995
49bdf4c1
L
319962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31997
31998 [BZ #14229]
31999 * string/Makefile (tests): Add tst-strtok_r.
32000 * string/tst-strtok_r.c: New file.
32001 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32002 RAX_LP/RDX_LP on SAVE_PTR.
32003
834f9b8d
RM
320042012-06-14 Roland McGrath <roland@hack.frob.com>
32005
32006 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32007
75fa1921
JM
320082012-06-14 Joseph Myers <joseph@codesourcery.com>
32009
32010 * libm_test.inc (csqrt_test): Allow more spurious underflow
32011 exceptions.
32012 (j0_test): Likewise.
32013 (j1_test): Likewise.
32014 (y0_test): Likewise.
32015 (y1_test): Likewise.
32016
771766df
CD
320172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32018
32019 * po/Makefile (libc.pot): Use UTF-8 charset.
32020
ceb9e56b
PP
320212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32022
32023 [BZ #14210]
32024 Suppress sign-conversion warning from FD_SET.
32025 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32026 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32027 not unsigned long int.
32028 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32029
ddb28975
L
320302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 [BZ #14050]
32033 [BZ #14117]
32034 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32035 __extern_always_inline instead of __extern_inline.
32036 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32037 (__signbit): Likewise.
32038 (__signbitl): Support C++ namespace.
32039 (lrintf): New inline function.
32040 (lrint): Likewise.
32041 (llrintf): Likewise.
32042 (llrint): Likewise.
32043 (fmaxf): Likewise.
32044 (fmax): Likewise.
32045 (fminf): Likewise.
32046 (fmin): Likewise.
32047 (rint): Likewise.
32048 (rintf): Likewise.
32049 (ceil): Likewise.
32050 (ceilf): Likewise.
32051 (floor): Likewise.
32052 (floorf): Likewise.
32053 (nearbyint): Likewise.
32054 (nearbyintf): Likewise.
32055
d7b4fb26
TS
320562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32057
32058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32059 non-default versions.
32060
eb55f5c2
RM
320612012-06-11 Roland McGrath <roland@hack.frob.com>
32062
32063 [BZ #14218]
32064 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32065
366af02c
TS
320662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32067
99ff6e5c
TS
32068 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32069 (FE_UPWARD, FE_DOWNWARD): Don't define.
32070 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32071 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32072
366af02c
TS
32073 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32074 reading it.
32075 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32076 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32077
793ea851
KK
320782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32079
32080 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32082 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32083 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32084
a728a38f
L
320852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32086
32087 [BZ #14117]
c08010c7
L
32088 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32089 * sysdeps/i386/fpu/Implies: New file.
32090 * sysdeps/x86_64/fpu/Implies: Likewise.
32091 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32092 * sysdeps/x86/fpu/bits/fenv.h: This.
32093
a728a38f
L
32094 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32095 __SSE_MATH__.
32096
6e230d11
SP
320972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32098
32099 [BZ #14134]
32100 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32101 character 0xffff that matches the last element of the
32102 conversion table.
32103
1b671feb
AZ
321042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32105
32106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32107 fmodl commit.
32108
6043738b
AZ
321092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32110
32111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32112 values higher than 25.6283.
32113
34ae0b32
AZ
321142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32115
32116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32117 subnormal exponent extraction and add some __builtin_expect.
32118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32119 Fix for subnormal mantissa calculation.
32120
1214ec8f
MF
321212012-06-04 Mike Frysinger <vapier@gentoo.org>
32122
32123 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32124 cpu2 is -1 and errno is not ENOSYS.
32125
f3d1f93c
L
321262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 [BZ #14117]
0e4a3cd7
L
32129 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32130 * sysdeps/x86/bits/string.h: This.
32131 * sysdeps/x86_64/bits/string.h: Removed.
32132
6704c645
L
32133 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32134 if not compiling for x86-64, but compiling for >= i486.
32135
48495318
L
32136 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32137 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32138
14adcbfc
L
32139 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32140 New macro from Linux kernel 3.4.0.
32141 (FP_XSTATE_MAGIC2): Likewise.
32142 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32143 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32144 (struct _fpx_sw_bytes): New struct.
32145 (struct _xsave_hdr): Likewise.
32146 (struct _ymmh_state): Likewise.
32147 (struct _xstate): Likewise.
32148
68e408ab
L
32149 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32150 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32151 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32152 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32153 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32154 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32155
f3d1f93c
L
32156 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32157 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32158 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32159 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32160 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32161 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32162
d9dc34cd
TMQMF
321632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32164
32165 [BZ #13743]
32166 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32167 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32168 (sysdep_headers): Include sys/platform/ppc.h.
32169 * sysdeps/powerpc/test-gettimebase.c: Test for
32170 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32171 * manual/Makefile (appendices): Include platform.texi.
32172 * manual/contrib.texi (Contributors): Update @node pointers.
32173 * manual/maint.texi (Maintenance): Likewise.
32174 (Platform): New node.
32175 * manual/platform.texi: New file. Document the new features.
32176
4af3879c
SP
321772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32178 Jakub Jelinek <jakub@redhat.com>
32179
32180 [BZ #14188]
32181 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32182 where __builtin_expect is unavailable.
32183
2fd6ff13
DM
321842012-06-03 David S. Miller <davem@davemloft.net>
32185
32186 * stdlib/longlong.h: Updated from GCC.
32187
173f7220
AS
321882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32189
32190 [BZ #14042]
32191 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32192 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32193 __mcount_internal.
32194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32195 (GLIBC_2.16): Likewise.
32196
f34a1c6f
L
321972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32198
32199 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32200
88a4576f
JM
322012012-06-01 Joseph Myers <joseph@codesourcery.com>
32202
ea32bcdd
JM
32203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32204 (default-abi): New variable.
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32206 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32207 variable.
32208 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32209 Likewise.
32210 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32211 Likewise.
32212 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32213 Likewise.
32214
88a4576f
JM
32215 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32216 definition. Document in comment.
32217
402fe938
DM
322182012-06-01 David S. Miller <davem@davemloft.net>
32219
32220 * stdlib/longlong.h: Updated from GCC.
32221
3553723f
L
322222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32223
32224 [BZ #14117]
3bd872c4
L
32225 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32226 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32227 sys/debugreg.h sys/io.h here.
32228 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32229 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32230 sys/io.h.
32231 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32232 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32233 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32234 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32235 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32236 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32237
3553723f
L
32238 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32239 Define only if __x86_64__ is defined.
32240
4842e4fe
JM
322412012-06-01 Joseph Myers <joseph@codesourcery.com>
32242
c5bfe3d5
JM
32243 [BZ #14048]
32244 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32245 Use int64_t for variable i.
32246 * math/libm-test.inc (fmod_test): Add more tests.
32247
4842e4fe
JM
32248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32249 z computation is not scheduled after fetestexcept.
32250 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32251 Use math_force_eval instead of asm to ensure calculation scheduled
32252 before exception test.
32253 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32254 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32255
efb73488
AJ
322562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32257
32258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32259 computation is not scheduled after fetestexcept.
32260
29bcce7c
L
322612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 [BZ #14117]
32264 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32265 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32266
73a68f94
AZ
322672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32268
32269 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32271
67b6df78
L
322722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32273
edf2933a 32274 [BZ #14117]
ebc64a18
L
32275 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32276 <bits/wordsize.h>.
32277 (__WCHAR_MIN): Support __WORDSIZE == 64.
32278 (__WCHAR_MAX): Likewise.
32279
edf2933a
L
32280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32281 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32282
57c6cf40
L
32283 [BZ #14183]
32284 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32285 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32286
67b6df78 32287 [BZ #14117]
8eb6281e
L
32288 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32289 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32290
aac639f4
L
32291 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32292 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32293
67b6df78
L
32294 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32295 Defined to 1 if __x86_64__ isn't defined.
32296 (_STAT_VER_LINUX_OLD): New.
32297 (st_atime): Remove duplicate.
32298 (st_mtime): Likewise.
32299 (st_ctime): Likewise.
32300
1c2cfe81
DM
323012012-05-31 David S. Miller <davem@davemloft.net>
32302
32303 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32304 entries.
32305
5be8418c
AS
323062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32307
e7725326
AS
32308 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32309 gen-libm-test.pl.
32310
5be8418c
AS
32311 [BZ #14132]
32312 * elf/dl-reloc.c: Include <_itoa.h>.
32313 (_dl_reloc_bad_type): Remove use of INTUSE.
32314 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32315 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32316 * stdio-common/psiginfo.c (psiginfo): Likewise.
32317 * stdio-common/psignal.c (psignal): Likewise.
32318 * string/strsignal.c (strsignal): Likewise.
32319 * include/signal.h (_sys_siglist): Declare hidden proto.
32320 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32321 INTVARDEF with libc_hidden_data_def.
32322 * stdio-common/itoa-udigits.c: Likewise.
32323 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32324 (_itoa_lower_digits_internal): Remove declaration.
32325 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32326 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32327 (_sys_sigabbrev_internal): Remove aliases.
32328 (_sys_siglist): Define hidden alias.
32329
507352f1
MT
323302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32331
32332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32333 bits/sysctl.h.
32334
42bbb1c3
L
323352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32336
32337 [BZ #14117]
6bd784b6
L
32338 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32339 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32340
8bca20f0
L
32341 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32342 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32343 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32344 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32346 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32347
f9e890a9
L
32348 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32349 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32350 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32351
471101a1
L
32352 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32353 with __addr.
32354 (insw): Likewise.
32355 (insl): Likewise.
32356 (outsb): Likewise.
32357 (outsw): Likewise.
32358 (outsl): Likewise.
32359
6451c862
L
32360 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32361 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32362 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32363
a254b8c9
L
32364 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32365 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32366 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32367 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32368 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32369 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32370
b8dfdd92
L
32371 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32372 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32373
578cd270
L
32374 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32375 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32376
de662f5f
L
32377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32380
25653439
L
32381 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32382 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32383 to ...
32384 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32385
6bad24a0
L
32386 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32387 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32388 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32389
42bbb1c3
L
32390 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32391 for x86-64.
32392 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32393
2d10d547
JM
323942012-05-31 Joseph Myers <joseph@codesourcery.com>
32395
32396 * math/math.h (M_El): Use two more decimal places.
32397 (M_LOG2El): Likewise.
32398 (M_LOG10El): Likewise.
32399 (M_LN2l): Likewise.
32400 (M_LN10l): Likewise.
32401 (M_PIl): Likewise.
32402 (M_PI_2l): Likewise.
32403 (M_PI_4l): Likewise.
32404 (M_1_PIl): Likewise.
32405 (M_2_PIl): Likewise.
32406 (M_2_SQRTPIl): Likewise.
32407 (M_SQRT2l): Likewise.
32408 (M_SQRT1_2l): Likewise.
32409
f230c29b
DM
324102012-05-31 David S. Miller <davem@davemloft.net>
32411
32412 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32413 values between float registers.
32414 * sysdeps/sparc/sparc64/memset.S: Likewise.
32415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32416
fed806c3
MF
324172012-05-31 Mike Frysinger <vapier@gentoo.org>
32418
32419 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32420 -D_FORTIFY_SOURCE=1.
32421 (CPPFLAGS-tst-longjmp_chk.c): Define.
32422 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32423 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32424 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32425 CFLAGS-tst-wchar-h.c.
32426
30917259
MP
324272012-05-31 Marek Polacek <polacek@redhat.com>
32428
32429 [BZ #14132]
32430 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32431 __endmntent_internal): Remove declaration.
32432 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32433 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32434 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32435
1c58d5dc
DM
324362012-05-30 David S. Miller <davem@davemloft.net>
32437
32438 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32439 (___Q_simulate_exceptions): Use real FP ops rather than writing
32440 into the %fsr.
32441 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32442 Likewise.
32443
7dc00e0d
L
324442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32445
32446 [BZ #14117]
0bd53985
L
32447 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32448 * sysdeps/x86/bits/xtitypes.h: This.
32449
3a257e66
L
32450 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32451 * sysdeps/x86/bits/wordsize.h: This.
32452
62f62904
L
32453 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32454 * sysdeps/x86/bits/huge_vall.h: This.
32455
404fe9d9
L
32456 * sysdeps/i386/bits/select.h: Removed.
32457 * sysdeps/x86_64/bits/select.h: Renamed to ...
32458 * sysdeps/x86/bits/select.h: This.
32459
d48d0446
L
32460 * sysdeps/i386/bits/setjmp.h: Removed.
32461 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32462 * sysdeps/x86/bits/setjmp.h: This.
32463
7dc00e0d
L
32464 * sysdeps/i386/bits/mathdef.h: Removed.
32465 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32466 * sysdeps/x86/bits/mathdef.h: This.
32467
03277f8f
AS
324682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32469
32470 [BZ #14132]
32471 * include/sys/socket.h (__connect_internal)
32472 (__libc_sa_len_internal): Remove declaration.
32473 (__connect, __libc_sa_len): Declare hidden_proto.
32474 (SA_LEN): Remove use of INTUSE.
32475 * socket/connect.c: Add libc_hidden_def.
32476 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32477 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32478 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32479 alias.
32480 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32482 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32483 of adding _internal alias.
32484
13764867
L
324852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32486
32487 [BZ #14117]
6bd97696
L
32488 * sysdeps/i386/bits/link.h: Removed.
32489 * sysdeps/i386/bits/linkmap.h: Likewise.
32490 * sysdeps/x86_64/bits/link.h: Renamed to ...
32491 * sysdeps/x86/bits/link.h: This.
32492 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32493 * sysdeps/x86/bits/linkmap.h: This.
32494
f726f0bb
L
32495 * sysdeps/i386/bits/endian.h: Removed.
32496 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32497 * sysdeps/x86/bits/endian.h: This.
32498
13764867
L
32499 * sysdeps/i386/bits/byteswap.h: Removed.
32500 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32501 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32502 * sysdeps/x86/bits/byteswap.h: This.
32503 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32504 * sysdeps/x86/bits/byteswap-16.h: This.
32505 * sysdeps/i386/Implies: Add x86.
32506 * sysdeps/x86_64/Implies: Likewise.
32507
ae251b0b
DM
325082012-05-30 David S. Miller <davem@davemloft.net>
32509
32510 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32511 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32512 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32513 (FP_TRAPPING_EXCEPTIONS): Define.
32514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32515 (FP_TRAPPING_EXCEPTIONS): Define.
32516 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32517 subnormals only when inexact has been signalled or underflow
32518 exceptions are enabled.
32519 (_FP_PACK_CANONICAL): Likewise.
32520
d5c90867
L
325212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32522
32523 [BZ #14183]
32524 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32525 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32526
63f1549e
RH
325272012-05-30 Richard Henderson <rth@twiddle.net>
32528
8d8f2279
RH
32529 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32530 with #ifndef NOT_IN_libc.
32531
63f1549e
RH
32532 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32533 marked to avoid plt entry.
32534
0ab0291b
L
325352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32536
32537 [BZ #14112]
32538 * Makeconfig (default-abi): New macro.
32539 (abi-includes): Likewise.
32540 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32541 $(abi-$(default-abi)-lib-soname) for soname if defined.
32542 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32543 abi-variants.
32544 * Makefile (installed-stubs): Likewise.
32545 * include/stubs-biarch.h: Removed.
32546 * scripts/lib-names.awk: Only handle one library at a time.
32547 * scripts/soversions.awk: Remove WORDSIZE support.
32548 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32549 entries.
32550 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32551 Removed.
32552 (syscall-list-default-condition): Likewise.
32553 (syscall-list-default-condition): Likewise.
32554 (syscall-list-includes): Likewise.
32555 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32556 syscall-list-* with abi-*. Handle undefined abi-variants.
32557 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32558 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32559 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32560 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32561 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32562 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32563 Removed.
32564 (syscall-list-32-options): Likewise.
32565 (syscall-list-32-condition): Likewise.
32566 (syscall-list-64-options): Likewise.
32567 (syscall-list-64-condition): Likewise.
32568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32569 macro.
32570 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32571 Renamed to ...
32572 (abi-*): This.
32573 (abi-64-ld-soname): New macro.
32574 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32575 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32576 Renamed to ...
32577 (abi-*): This.
32578 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32579 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32580
4da0431d
JM
325812012-05-30 Joseph Myers <joseph@codesourcery.com>
32582
3a85279c
JM
32583 * sysdeps/unix/sysv/linux/kernel-features.h
32584 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32585 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32586 include <kernel-features.h>.
32587 [!__NR_ftruncate64]: Remove conditional code.
32588 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32589 [__NR_ftruncate64]: Make code unconditional.
32590 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32591 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32592 include <kernel-features.h>.
32593 [!__NR_ftruncate64]: Remove conditional code.
32594 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32595 [__NR_ftruncate64]: Make code unconditional.
32596 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32598 include <kernel-features.h>.
32599 [!__NR_ftruncate64]: Remove conditional code.
32600 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32601 [__NR_ftruncate64]: Make code unconditional.
32602 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32604 include <kernel-features.h>.
32605 [!__NR_ftruncate64]: Remove conditional code.
32606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32607 [__NR_ftruncate64]: Make code unconditional.
32608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32609
4da0431d
JM
32610 * configure.in (libc_cv_fpie): Weaken to a compile test using
32611 LIBC_TRY_CC_OPTION.
32612 * configure: Regenerated.
32613
11ef492c
AK
326142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32615
32616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32620 Refreshed.
32621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32627 Refreshed.
32628
d66ef399
DM
326292012-05-27 David S. Miller <davem@davemloft.net>
32630
32631 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32632 (___Q_zero): New.
32633 (__Q_simulate_exceptions): Return void. Change to simulate
32634 exceptions by writing into the %fsr.
32635 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32636 (__Qp_handle_exceptions): Likewise.
32637 (numbers): Delete.
32638 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32639 __Qp_handle_exceptions.
32640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32641 __Qp_handle_exceptions.
32642 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32643 as unused and give dummy FP_RND_NEAREST initializer.
32644 (FP_INHIBIT_RESULTS): Define.
32645 (___Q_simulate_exceptions): Update declaration.
32646 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32647 formatting.
32648 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32649 as unused and give dummy FP_RND_NEAREST initializer.
32650 (__Qp_handle_exceptions): Update declaration.
32651 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32652 formatting.
32653
04fb54b5
TS
326542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32655
32656 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32657 the temporary FPU control word.
32658 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32659 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32660 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32661 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32662 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32663 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32664 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32666 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32667 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32669
3f99608f
KK
326702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32671
32672 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32673 fields.
32674
65a4de4e
CLT
326752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32676
32677 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32678 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32679 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32680 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32681 Likewise.
32682 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32683 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32684 Likewise.
32685
15749d40
UD
326862012-05-27 Ulrich Drepper <drepper@gmail.com>
32687
32688 * po/h.po: Update from translation team.
32689
25dbcb27
AS
326902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32691
3d3f8e55
AS
32692 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32693
25dbcb27
AS
32694 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32695 handling of denormals.
32696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32697 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32698 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32699 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32703 Likewise.
32704
7ad47a80 327052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32706
32707 [BZ #14152]
32708 * math/libm-test.inc (fma_test): Don't always expect underflow
32709 exception.
32710
9c6ea9fa
SP
327112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32712
32713 [BZ #12416]
32714 * elf/tst-execstack.c: Include stackinfo.h.
32715 (do_test): Adjust test case to ensure that pthread_getattr_np
32716 behaviour remains the same after marking stack executable.
32717
a8239222
JM
327182012-05-25 Joseph Myers <joseph@codesourcery.com>
32719
32720 * sysdeps/unix/sysv/linux/kernel-features.h
32721 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32722 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32723 kernel-features.h.
32724 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32725 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32726 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
327312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32732
32733 * configure.in: Define the default includes to being none.
32734 * configure: Regenerated.
32735
3a097cc7
RM
327362012-05-25 Roland McGrath <roland@hack.frob.com>
32737
8422c9a5
RM
32738 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32739 * sysdeps/x86_64/setjmp.S: Likewise.
32740 * sysdeps/i386/bsd-setjmp.S: Likewise.
32741 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32742 * sysdeps/i386/setjmp.S: Likewise.
32743 * sysdeps/i386/__longjmp.S: Likewise.
32744 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32745 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32746
3a097cc7
RM
32747 * include/stap-probe.h: New file.
32748 * configure.in: Handle --enable-systemtap.
32749 * configure: Regenerated.
32750 * config.h.in (USE_STAP_PROBE): New #undef.
32751 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32752 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32753 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32754
21708942
JM
327552012-05-25 Joseph Myers <joseph@codesourcery.com>
32756
32757 [BZ #13717]
32758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32759 to 2.4.0 where earlier.
32760 * sysdeps/unix/sysv/linux/configure: Regenerated.
32761 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32762 <kernel-features.h>.
32763 [__ASSUME_32BITUIDS]: Make code unconditional.
32764 [!__ASSUME_32BITUIDS]: Remove conditional code.
32765 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
32770 [__ASSUME_32BITUIDS]: Make code unconditional.
32771 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32772 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32773 <kernel-features.h>.
32774 [__ASSUME_32BITUIDS]: Make code unconditional.
32775 [!__ASSUME_32BITUIDS]: Remove conditional code.
32776 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
32813 <kernel-features.h>.
32814 [__NR_setresgid] (__setresgid): Do not declare.
32815 [__ASSUME_32BITUIDS]: Make code unconditional.
32816 [!__ASSUME_32BITUIDS]: Remove conditional code.
32817 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32818 <kernel-features.h>.
32819 [__NR_setresuid] (__setresuid): Do not declare.
32820 [__ASSUME_32BITUIDS]: Make code unconditional.
32821 [!__ASSUME_32BITUIDS]: Remove conditional code.
32822 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32823 <kernel-features.h>.
32824 [__ASSUME_32BITUIDS]: Make code unconditional.
32825 [!__ASSUME_32BITUIDS]: Remove conditional code.
32826 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
32863 (__ASSUME_SETRESUID_SYSCALL): Remove.
32864 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32865 (__ASSUME_32BITUIDS): Likewise.
32866 (__ASSUME_LDT_WORKS): Likewise.
32867 (__ASSUME_O_DIRECTORY): Likewise.
32868 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32869 architecture but not kernel version.
32870 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32871 (__ASSUME_MMAP2_SYSCALL): Likewise.
32872 (__ASSUME_STAT64_SYSCALL): Likewise.
32873 (__ASSUME_IPC64): Likewise.
32874 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32875 <kernel-features.h>.
32876 [__ASSUME_32BITUIDS]: Make code unconditional.
32877 [!__ASSUME_32BITUIDS]: Remove conditional code.
32878 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32879 <kernel-features.h>.
32880 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32881 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32882 132096]: Remove conditional code.
32883 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32884 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32885 <kernel-features.h>.
32886 [__ASSUME_32BITUIDS]: Make code unconditional.
32887 [!__ASSUME_32BITUIDS]: Remove conditional code.
32888 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
32893 <kernel-features.h>.
32894 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32895 unconditional.
32896 (__setresgid): Do not declare.
32897 [__ASSUME_32BITUIDS]: Make code unconditional.
32898 [!__ASSUME_32BITUIDS]: Remove conditional code.
32899 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32900 <kernel-features.h>.
32901 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32902 unconditional.
32903 (__setresuid): Do not declare.
32904 [__ASSUME_32BITUIDS]: Make code unconditional.
32905 [!__ASSUME_32BITUIDS]: Remove conditional code.
32906 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32907 <kernel-features.h>.
32908 [__ASSUME_32BITUIDS]: Make code unconditional.
32909 [!__ASSUME_32BITUIDS]: Remove conditional code.
32910 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32911 <kernel-features.h>.
32912 [__ASSUME_32BITUIDS]: Make code unconditional.
32913 [!__ASSUME_32BITUIDS]: Remove conditional code.
32914
a386f1cc
RH
329152012-05-25 Richard Henderson <rth@twiddle.net>
32916
32917 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32918 dl_hwcap to ifunc resolver.
32919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32920 elf_ifunc_invoke.
32921 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32922 dl_hwcap to ifunc resolver.
32923 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32924
b6550497
JM
329252012-05-24 Joseph Myers <joseph@codesourcery.com>
32926
32927 [BZ #14153]
32928 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32929 for |x| <= 2**-26, not 2**-57.
32930 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32931 exception.
32932
b0bc23a1
JL
329332012-05-24 Jeff Law <law@redhat.com>
32934
32935 * stdio-common/Makefile (tests): Add bug25.
32936 * stdio-common/bug25.c: New test.
32937
347c92e9
L
329382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32939
32940 [BZ #13576]
32941 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32942 multiple of MALLOC_ALIGNMENT in size.
32943 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32944
6bcc8b3f
JM
329452012-05-24 Joseph Myers <joseph@codesourcery.com>
32946
32947 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32948 Require >= 256.
32949 (FILENAME_MAX): Use macro-int-constant.
32950 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32951 (_IOFBF): Use macro-int-constant.
32952 (_IOLBF): Likewise.
32953 (_IONBF): Likewise.
32954 (SEEK_CUR): Likewise.
32955 (SEEK_END): Likewise.
32956 (SEEK_SET): Likewise.
32957 (TMP_MAX): Likewise.
32958 (EOF): Use macro-int-constant. Require < 0.
32959 (NULL): Use macro-constant. Require == 0.
32960 (stdin): Require type to be FILE *.
32961 (stdout): Likewise.
32962 (stderr): Likewise.
32963 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32964 macro-int-constant.
32965 (EXIT_SUCCESS): Likewise.
32966 (NULL): Use macro-constant. Require == 0.
32967 (RAND_MAX): Use macro-int-constant.
32968 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32969 [C99-based standards] (strtof): Require function.
32970 [C99-based standards] (strtold): Likewise.
32971 [C99-based standards] (strtoll): Likewise.
32972 [C99-based standards] (strtoull): Likewise.
32973 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32974 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32975 [ISO || ISO99 || ISO11] (math.h): Likewise.
32976 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32977 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32979
d18ea0c5
AS
329802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32981
32982 [BZ #14132]
56d25bb8
AS
32983 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32984 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32985 * intl/dgettext.c (DCGETTEXT): Likewise.
32986 * intl/gettext.c (DCGETTEXT): Likewise.
32987 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32988 * posix/regex_internal.h (gettext): Likewise.
32989 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32990 Remove declaration.
32991 * include/argz.h (__argz_count_internal)
32992 (__argz_stringify_internal): Remove declaration.
32993 (__argz_count, __argz_stringify): Declare hidden proto.
32994 * intl/dcgettext.c: Remove use of INTDEF.
32995 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32996 * string/argz-stringify.c: Likewise.
32997 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32998 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32999 Declare hidden proto.
d18ea0c5
AS
33000 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33001 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33002 Declare hidden proto.
33003 * include/stdio.h (__asprintf_internal): Don't declare.
33004 (__asprintf): Don't define as macro. Declare hidden proto.
33005 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33006 (__fsetlocking): Declare hidden proto.
33007 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33008 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33009 hidden proto.
33010 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33011 (_IO_setlinebuf): Remove use of INTUSE.
33012 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33013 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33014 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33015 Remove declaration.
33016 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33017 (_IO_do_flush): Remove use of INTUSE.
33018 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33019 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33020 (_IO_adjust_column, _IO_least_wmarker)
33021 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33022 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33023 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33024 (_IO_default_doallocate, _IO_wdefault_doallocate)
33025 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33026 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33027 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33028 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33029 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33030 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33031 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33032 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33033 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33034 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33035 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33036 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33037 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33038 proto.
33039 (_IO_flush_all_internal, _IO_adjust_column_internal)
33040 (_IO_default_uflow_internal, _IO_default_finish_internal)
33041 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33042 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33043 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33044 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33045 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33046 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33047 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33048 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33049 (_IO_file_close_internal, _IO_file_close_it_internal)
33050 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33051 (_IO_file_init_internal, _IO_file_attach_internal)
33052 (_IO_file_fopen_internal, _IO_file_read_internal)
33053 (_IO_file_sync_internal, _IO_file_seek_internal)
33054 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33055 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33056 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33057 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33058 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33059 (_IO_list_all_internal, _IO_link_in_internal)
33060 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33061 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33062 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33063 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33064 (_IO_do_write_internal, _IO_padn_internal)
33065 (_IO_getline_info_internal, _IO_getline_internal)
33066 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33067 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33068 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33069 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33070 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33071 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33072 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33073 with libc_hidden_ver, remove use of INTUSE.
33074 * libio/genops.c: Likewise.
33075 * libio/freopen.c: Likewise.
33076 * libio/freopen64.c: Likewise.
33077 * libio/iofclose.c: Likewise.
33078 * libio/iofdopen.c: Likewise.
33079 * libio/iofflush.c: Likewise.
33080 * libio/iofflush_u.c: Likewise.
33081 * libio/iofgets.c: Likewise.
33082 * libio/iofgets_u.c: Likewise.
33083 * libio/iofopen.c: Likewise.
33084 * libio/iofopncook.c: Likewise.
33085 * libio/iofread.c: Likewise.
33086 * libio/iofread_u.c: Likewise.
33087 * libio/ioftell.c: Likewise.
33088 * libio/iofwrite.c: Likewise.
33089 * libio/iogetline.c: Likewise.
33090 * libio/iogets.c: Likewise.
33091 * libio/iogetwline.c: Likewise.
33092 * libio/iopadn.c: Likewise.
33093 * libio/iopopen.c: Likewise.
33094 * libio/ioseekoff.c: Likewise.
33095 * libio/ioseekpos.c: Likewise.
33096 * libio/iosetbuffer.c: Likewise.
33097 * libio/iosetvbuf.c: Likewise.
33098 * libio/ioungetc.c: Likewise.
33099 * libio/ioungetwc.c: Likewise.
33100 * libio/iovdprintf.c: Likewise.
33101 * libio/iovsprintf.c: Likewise.
33102 * libio/iovsscanf.c: Likewise.
33103 * libio/memstream.c: Likewise.
33104 * libio/obprintf.c: Likewise.
33105 * libio/oldfileops.c: Likewise.
33106 * libio/oldiofclose.c: Likewise.
33107 * libio/oldiofdopen.c: Likewise.
33108 * libio/oldiofopen.c: Likewise.
33109 * libio/oldiopopen.c: Likewise.
33110 * libio/oldstdfiles.c: Likewise.
33111 * libio/putc.c: Likewise.
33112 * libio/setbuf.c: Likewise.
33113 * libio/setlinebuf.c: Likewise.
33114 * libio/stdfiles.c: Likewise.
33115 * libio/strops.c: Likewise.
33116 * libio/vasprintf.c: Likewise.
33117 * libio/vscanf.c: Likewise.
33118 * libio/vsnprintf.c: Likewise.
33119 * libio/vswprintf.c: Likewise.
33120 * libio/wfiledoalloc.c: Likewise.
33121 * libio/wfileops.c: Likewise.
33122 * libio/wgenops.c: Likewise.
33123 * libio/wmemstream.c: Likewise.
33124 * libio/wstrops.c: Likewise.
33125 * libio/__fpurge.c: Likewise.
33126 * libio/__fsetlocking.c: Likewise.
33127 * assert/assert.c: Likewise.
33128 * debug/fgets_chk.c: Likewise.
33129 * debug/fgets_u_chk.c: Likewise.
33130 * debug/fread_chk.c: Likewise.
33131 * debug/fread_u_chk.c: Likewise.
33132 * debug/gets_chk.c: Likewise.
33133 * debug/obprintf_chk.c: Likewise.
33134 * debug/vasprintf_chk.c: Likewise.
33135 * debug/vdprintf_chk.c: Likewise.
33136 * debug/vsnprintf_chk.c: Likewise.
33137 * debug/vsprintf_chk.c: Likewise.
33138 * malloc/mtrace.c: Likewise.
33139 * misc/error.c: Likewise.
33140 * misc/syslog.c: Likewise.
33141 * stdio-common/asprintf.c: Likewise.
33142 * stdio-common/fxprintf.c: Likewise.
33143 * stdio-common/getw.c: Likewise.
33144 * stdio-common/isoc99_fscanf.c: Likewise.
33145 * stdio-common/isoc99_scanf.c: Likewise.
33146 * stdio-common/isoc99_vfscanf.c: Likewise.
33147 * stdio-common/isoc99_vscanf.c: Likewise.
33148 * stdio-common/isoc99_vsscanf.c: Likewise.
33149 * stdio-common/printf-prs.c: Likewise.
33150 * stdio-common/printf_fp.c: Likewise.
33151 * stdio-common/printf_fphex.c: Likewise.
33152 * stdio-common/printf_size.c: Likewise.
33153 * stdio-common/putw.c: Likewise.
33154 * stdio-common/scanf.c: Likewise.
33155 * stdio-common/sprintf.c: Likewise.
33156 * stdio-common/tmpfile.c: Likewise.
33157 * stdio-common/vfprintf.c: Likewise.
33158 * stdio-common/vfscanf.c: Likewise.
33159 * stdlib/strfmon_l.c: Likewise.
33160 * sunrpc/openchild.c: Likewise.
33161 * sunrpc/xdr_stdio.c: Likewise.
33162 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33163 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33164
d6c33fda
RM
331652012-05-24 Roland McGrath <roland@hack.frob.com>
33166
c1487492
RM
33167 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33168
33169 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33170 in the third column, to generate for the shared library an IFUNC
33171 that uses _dl_vdso_vsym.
33172 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33173 * Makeconfig (object-suffixes-noshared): New variable.
33174
33175 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33176 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33177 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33178 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33179
d6c33fda
RM
33180 [BZ #14132]
33181 * include/sys/time.h (__gettimeofday): Remove macro.
33182 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33183 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33184 Remove INTDEF.
33185 (__gettimeofday): Add libc_hidden_def.
33186 (gettimeofday): Add libc_hidden_weak.
33187 * sysdeps/mach/gettimeofday.c: Likewise.
33188 * sysdeps/posix/gettimeofday.c: Likewise.
33189 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33190 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33192 (__gettimeofday_internal): Remove strong_alias.
33193 (__gettimeofday): Add libc_hidden_def.
33194 (gettimeofday): Add libc_hidden_weak.
33195 * sysdeps/unix/syscalls.list (gettimeofday):
33196 Remove __gettimeofday_internal alias.
33197
b5a2bbe6
L
331982012-05-24 Daniel Jacobowitz <drow@false.org>
33199 H.J. Lu <hongjiu.lu@intel.com>
33200
33201 [BZ #12495]
33202 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33203 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33204 (largebin_index_32_big): New.
33205 (largebin_index): Use it for 16-byte alignment.
33206 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33207 correction with front_misalign.
33208
cfba4fda
L
332092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33210
7f907421
L
33211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33213 Likewise.
33214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33215 Likewise.
33216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33217 Likewise.
33218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33219 Likewise.
33220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33221 Likewise.
33222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33223 Likewise.
33224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33225 Likewise.
33226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33227 Likewise.
33228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33229 Likewise.
33230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33231 Likewise.
33232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33233 Likewise.
33234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33235 Likewise.
33236
cfba4fda
L
33237 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33238 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33239
80bad0cc
JM
332402012-05-24 Joseph Myers <joseph@codesourcery.com>
33241
7a25eb06
JM
33242 [BZ #10846]
33243 [BZ #14036]
33244 * math/libm-test.inc (exp_test): Add test from bug 14036.
33245 (pow_test): Add test from bug 10846.
33246
795405f9
JM
33247 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33248 and other flags.
33249 (special_function): Do not include flags in test name.
33250 (parse_args): Likewise.
33251 * sysdeps/i386/fpu/libm-test-ulps: Update.
33252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33254 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33256
80bad0cc
JM
33257 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33258 exceptions.
33259 * math/libm-test.inc ("Philosophy"): Update comment about
33260 exception testing.
33261 (UNDERFLOW_EXCEPTION): New macro.
33262 (UNDERFLOW_EXCEPTION_OK): Likewise.
33263 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33264 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33265 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33266 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33267 (INVALID_EXCEPTION_OK): Update value.
33268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33269 (OVERFLOW_EXCEPTION_OK): Likewise.
33270 (IGNORE_ZERO_INF_SIGN): Likewise.
33271 (test_exceptions): Handle underflow exceptions.
33272 (acos_test): Update for underflow exception expectations.
33273 (cexp_test): Likewise.
33274 (clog_test): Likewise.
33275 (clog10_test): Likewise.
33276 (csqrt_test): Likewise.
33277 (ctan_test): Likewise.
33278 (ctanh_test): Likewise.
33279 (exp_test): Likewise.
33280 (exp10_test): Likewise.
33281 (exp2_test): Likewise.
33282 (expm1_test): Likewise.
33283 (fma_test): Likewise.
33284 (j0_test): Likewise.
33285 (jn_test): Likewise.
33286 (nexttoward_test): Likewise.
33287 (pow_test): Likewise.
33288 (scalbn_test): Likewise.
33289 (scalbln_test): Likewise.
33290 (tan_test): Likewise.
33291 (y1_test): Likewise.
33292 * sysdeps/i386/fpu/libm-test-ulps: Update.
33293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33294
9e0e3d0b
DM
332952012-05-23 David S. Miller <davem@davemloft.net>
33296
33297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33298 (__libc_sigaction): Remove unused local variables.
33299
ccd0a08f
L
333002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33301
33302 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33303
62bdf9a6
PE
333042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33305
f8591f80
PE
33306 mktime: avoid signed integer overflow
33307 * time/mktime.c (__mktime_internal): Do not mishandle the case
33308 where diff == INT_MIN.
33309
94c7d826
PE
33310 mktime: simplify computation of average
33311 * time/mktime.c (ranged_convert): Use new time_t_avg function
33312 instead of rolling our own (probably-slower) code.
33313
ce73d683
PE
33314 mktime: do not assume signed right shift propagates sign bit
33315 * time/mktime.c (isdst_differ): New static function.
33316 (__mktime_internal): No need to normalize tm_isdst now.
33317 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33318 tm_isdst values.
33319
72a22e59
PE
33320 mktime: merge another wrapv change from gnulib
33321 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33322 from some compilers.
33323
68605433
PE
33324 mktime: remove incorrect attempt at unusual arithmetics
33325 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33326 The code didn't really work on such machines anyway.
33327 (TYPE_MINIMUM): Assume two's complement.
33328 (twos_complement_arithmetic): Verify that long_int and time_t
33329 are two's complement (or unsigned, in the latter case).
33330
03cf7fe3
PE
33331 mktime: check signed shifts on long_int and time_t, too
33332 * time/mktime.c (SHR): Check that shifts work as desired
33333 on the types long_int and time_t too, as SHR is used on
33334 such types.
33335
f04dfbc2
PE
33336 mktime: do not assume 'long' is wide enough
33337 * time/mktime.c (verify): Move decl up.
33338 (long_int): New type.
33339 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33340 to remove assumption in the code that 'long' is wide enough to
33341 store year values. This assumption is not true on x32 and on
33342 some non-glibc platforms.
33343
62bdf9a6
PE
33344 mktime: merge wrapv change from gnulib
33345 * time/mktime.c (WRAPV): New macro.
33346 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33347 (guess_time_tm, __mktime_internal): Do not assume that signed
33348 integer overflow wraps around; modern compilers generate code
33349 where this assumption is no longer valid.
33350
5e292e4f
L
333512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33352
33353 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33354 Replace "jmp L(pseudo_end)" with "ret".
33355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33356 Likewise.
33357
8caf8c87
AJ
333582012-05-23 Andreas Jaeger <aj@suse.de>
33359
33360 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33361 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33362
1a09dc56
AJ
333632012-05-23 Andreas Jaeger <aj@suse.de>
33364 Maximilian Attems <max@stro.at>
33365
33366 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33367 New macros.
33368
1c87aba0
L
333692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33370
33371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33372 code so that pseudo_end is just ret and the stack pointer is
33373 correct also for static library in error case.
33374
40e45bd5
JM
333752012-05-23 Joseph Myers <joseph@codesourcery.com>
33376
c2670533
JM
33377 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33378 move to syscalls.list.
33379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33383
40e45bd5
JM
33384 * manual/install.texi (Running make install): Do not mention Linux
33385 kernel version for which pt_chown is not needed.
33386 (Linux): Do not mention problems with nscd with 2.0 kernels.
33387 * INSTALL: Regenerated.
33388
be08eda5
AJ
333892012-05-23 Andreas Jaeger <aj@suse.de>
33390
33391 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33392 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33393 macro.
33394 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33395 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33396 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33397 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33398 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33400 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33403 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33404 * sysdeps/unix/sysv/linux/bits/in.h
33405 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33406
a6a056bb
RM
334072012-05-22 Roland McGrath <roland@hack.frob.com>
33408
33409 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33410 (PREPARE_VERSION): Just use assert instead, it will be elided
33411 under [NDEBUG] anyway.
33412
c9009328
L
334132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 * sysdeps/unix/sysv/linux/Makefile: Include
33416 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33417 (sysdep_routines): Remove sysctl.
c9009328
L
33418 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33419 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33420 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33421 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33422 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33423
73338355
AJ
334242012-05-22 Andreas Jaeger <aj@suse.de>
33425
33426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33427 that pseudo_end is just ret and the stack pointer is correct also
33428 for static library in error case.
33429
d44638b0
PP
334302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33431
33432 [BZ #14122]
33433 * nss/nsswitch.c (defconfig_entries): New variable.
33434 (__nss_database_lookup): Don't leak defconfig entries.
33435 (nss_parse_service_list): Don't leak on error paths.
33436 (free_database_entries): New function.
33437 (free_defconfig): New function.
33438 (free_mem): Move common code to free_database_entries.
33439
31a39bd8
L
334402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33441
da0331a8
L
33442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33443 Add arch_prctl.
33444 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33445
31a39bd8
L
33446 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33447 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33449 New macro.
33450 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33451 (INTERNAL_SYSCALL_TYPES): Likewise.
33452 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33453 (LOAD_REGS_TYPES_[1-6]): Likewise.
33454 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33455 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33456
45470df3
AZ
334572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33458
33459 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33460 copysignl for GLIBC_2_0.
33461 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33462 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33464 logbl for GLIBC_2_0.
33465 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33466 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33467
98a61bcb
L
334682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33469
a4f6e481
L
33470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33471 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33472
f63d5db6
L
33473 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33474 Use "neg %eax".
33475
98a61bcb
L
33476 * time/mktime.c: Update copyright years.
33477
95770f14
PE
334782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33479
6226efbd
PE
33480 mktime: merge comment-quoting-style change from gnulib
33481 * time/mktime.c: Quote 'like this' in comments.
33482 The GNU coding standards suggest that we no longer quote `like this',
33483 as "`" and "'" are typically rendered asymmetrically nowadays.
33484 The typical gnulib style is to quote 'like this' when quoting
33485 code, and "like this" when quoting English.
33486
b99e4f78
PE
33487 * time/mktime.c (compile-command): Add "-I.".
33488
643e01e6
PE
33489 mktime: merge mktime-internal.h change from gnulib
33490 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33491
2554247d
PE
33492 mktime: merge time_r change from gnulib
33493 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33494
826dd0ab
PE
33495 mktime: merge DEBUG change from gnulib
33496 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33497 case system <time.h> has a #define.
33498
bd83aabe
PE
33499 mktime: merge <sys/types.h> change from gnulib
33500 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33501 since <time.t> is now guaranteed to define time_t.
33502
95770f14
PE
33503 mktime: merge HAVE_CONFIG_H change from gnulib
33504 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33505
5e1a27a9
L
335062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33507
0e44a77e
L
33508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33509 Use "neg %eax".
33510
5e1a27a9
L
33511 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33512 __rlim_t cast.
33513 (struct rusage): Use anonymous union to pad each field to
33514 __syscall_slong_t.
33515
46259bec
DM
335162012-05-21 David S. Miller <davem@davemloft.net>
33517
33518 * Makefules (o-iterator): Remove .s cases.
33519 (compile-command.s): Delete.
33520 (COMPILE.s): Delete.
33521 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33522
59f0c22e
JM
335232012-05-21 Joseph Myers <joseph@codesourcery.com>
33524
33525 * configure.in (libc_cv_predef_stack_protector): Only consider
33526 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33527 * configure: Regenerated.
33528
20c07380
L
335292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33530
bbb3154b
L
33531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33532 New macro. Use R*LP on int and pointer.
33533 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33534 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33535 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33536 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33537
20c07380
L
33538 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33539 [__WORDSIZE_TIME64_COMPAT32] instead of
33540 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33541 (struct utmp): Likewise.
33542 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33543 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33544 Renamed to ...
33545 (__WORDSIZE_TIME64_COMPAT32): This.
33546 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33547 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33548 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33549 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33550 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33551 (__WORDSIZE_TIME64_COMPAT32): New macro.
33552
d8d1017e
AJ
335532012-05-21 Andreas Jaeger <aj@suse.de>
33554
33555 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33556 only if [SHARED]. Add prototype for __wcschr_ia32.
33557
6c7fb145
RM
335582012-05-21 Roland McGrath <roland@hack.frob.com>
33559
33560 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33561 of %rbp unmolested in the jmp_buf while mangling the low bits.
33562 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33563 unmolested high bits of %rbp while demangling the low bits.
33564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33565
66274218
AJ
335662012-05-21 Andreas Jaeger <aj@suse.de>
33567
07c58f8f
AJ
33568 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33569 * sunrpc/svc_simple.c: Use it for registerrpc.
33570 * sunrpc/xcrypt.c: Use it for passwd2des.
33571
66274218
AJ
33572 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33573
61f65140
L
335742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33575
33576 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33577 Don't define if [__SYSCALL_WORDSIZE != 32].
33578 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33579 New macro.
33580
5fefb436
AJ
335812012-05-21 Bruno Haible <bruno@clisp.org>
33582 Andreas Jaeger <aj@suse.de>
33583
33584 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33585 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33586 inptr and inend for must_buffer_ch.
33587 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33588 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33589 * stdio-common/Makefile (tests): Remove bug15.
33590 (bug15-ENV): Remove macro.
33591 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33592 anymore.
33593
d8e272ab
AJ
335942012-05-19 Andreas Jaeger <aj@suse.de>
33595 Roland McGrath <roland@hack.frob.com>
33596
33597 * manual/contrib.texi: Completely rewritten. It contains now an
33598 alphabetical list of contributors and their contributions.
33599
4a56a162
RH
336002012-05-21 Richard Henderson <rth@twiddle.net>
33601
33602 * misc/getauxval.c (__getauxval): Use unsigned long int.
33603 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33604 (getauxval): Use unsigned long int.
33605
d024d23c
L
336062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33607
33608 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33609
cbc00a03
RM
336102012-05-21 Roland McGrath <roland@hack.frob.com>
33611
33612 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33613 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33614 __alignof__ (long double).
33615
478143fa
AZ
336162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33617
33618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33619
c7683a6d
RH
336202012-05-20 Richard Henderson <rth@twiddle.net>
33621
33622 * misc/getauxval.c: New file.
33623 * misc/sys/auxv.h: New file.
33624 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33625 (routines): Add getauxval.
33626 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33627 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33628 * elf/dl-sysdep.c (_dl_auxv): Remove.
33629 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33630 * elf/dl-support.c (_dl_auxv): New variable.
33631 (_dl_aux_init): Initialize it.
33632 * manual/startup.texi (Auxiliary Vector): New node.
33633 * sysdeps/generic/bits/hwcap.h: New file.
33634 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33635 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33636 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33637 * sysdeps/sparc/sysdep.h: ... here. Include it.
33638 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33639 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33641 Update.
c7683a6d
RH
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33650
a6f1845d
AZ
336512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33652
33653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33654
cbcbe830
DM
336552012-05-19 David S. Miller <davem@davemloft.net>
33656
33657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33658
e0b16cc2
JM
336592012-05-19 Joseph Myers <joseph@codesourcery.com>
33660
33661 [BZ #14123]
33662 * math/s_ccosh.c: Include <float.h>
33663 (__ccosh): Avoid internal overflow calculating sinh and cosh
33664 values before multiplying by sin and cos values.
33665 * math/s_ccoshf.c: Likewise.
33666 * math/s_ccoshl.c: Likewise.
33667 * math/s_csin.c: Likewise.
33668 * math/s_csinf.c: Likewise.
33669 * math/s_csinl.c: Likewise.
33670 * math/s_csinh.c: Likewise.
33671 * math/s_csinhf.c: Likewise.
33672 * math/s_csinhl.c: Likewise.
33673 * math/libm-test.inc (ccos_test): Add more tests.
33674 (ccosh_test): Likewise.
33675 (csin_test): Likewise.
33676 (csinh_test): Likewise.
33677 * sysdeps/i386/fpu/libm-test-ulps: Update.
33678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33679
6ad13e08
L
336802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33681
f66f0ce8
L
33682 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33683 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33684
6ad13e08
L
33685 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33686
b1d072a7
JM
336872012-05-19 Joseph Myers <joseph@codesourcery.com>
33688
33689 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33690 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33691 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33692 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33693 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33694 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33695 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33696 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33697 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33698 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33699 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33700 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33701 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33702 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33703 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33704 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33705 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33706 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33707 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33708 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33709 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33710 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33711 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33712 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33713 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33714 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33715 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33716 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33717 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33718 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33719 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33720
9eae47cb
AJ
337212012-05-18 Andreas Jaeger <aj@suse.de>
33722
33723 * csu/.gitignore: Delete.
33724
bb07f69f
L
337252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33726
33727 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33728 (timex): Use __syscall_slong_t.
33729
e6bdb741
AJ
337302012-05-18 Andreas Jaeger <aj@suse.de>
33731 Carlos O'Donell <carlos_odonell@mentor.com>
33732
33733 * manual/install.texi (Configuring and compiling): Update
33734 description about files modified in the source directory.
d6c33fda 33735 * INSTALL: Regenerated.
e6bdb741 33736
1b74487e
L
337372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33738
33739 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33740 value. Use "or" to set return value to -1.
33741 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33742 negate return value.
33743
a88b64b9
TMQMF
337442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33745
57f41c40
AS
33746 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33747 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33748 failure if the compiler has Graphite support disabled.
33749 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33750 Likewise.
57f41c40
AS
33751 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33752 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33753 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33754 Likewise.
33755
3707636e
L
337562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33757
610b8622
L
33758 * sysdeps/x86_64/x32/_itoa.h: New file.
33759
7cd195df
L
33760 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33761 getdents system call only if kernel and user dirents have the
33762 same d_ino and d_off.
33763
94b07d20
L
33764 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33765 LLONG_MAX != LONG_MAX.
33766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33767 (_fitoa_word): Likewise.
33768
18298070
L
33769 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33770 years.
33771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33772 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33774
553c7ea4
L
33775 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33776 include <bits/wordsize.h>. Check __x86_64__ instead of
33777 __WORDSIZE.
33778 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33779 if __x86_64__ is defined. Use anonymous union on fpstate.
33780
3707636e
L
33781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33782 anonymous union.
33783
b53ef01a
AS
337842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33785
37fb1dc0
AS
33786 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33787 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33789 Refer to _rtld_local_ro instead of _rtld_global_ro.
33790 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33791 Likewise.
33792 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33793 Likewise.
33794 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33795 Likewise.
33796 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33797 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33798 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33799
b53ef01a
AS
33800 * sysdeps/powerpc/powerpc32/dl-machine.c
33801 (__elf_machine_runtime_setup) [PROF]: Don't reference
33802 _dl_prof_resolve.
33803
7a185db2
AJ
338042012-05-18 Andreas Jaeger <aj@suse.de>
33805
33806 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33807 function only available for GCCs before 3.4 since GCC 3.4
33808 introduced a builtin.
33809 (lrint): Likewise.
33810 (llrintf): Likewise.
33811 (llrint): Likewise.
33812 (fmaxf): Likewise.
33813 (fmax): Likewise.
33814 (fminf): Likewise.
33815 (fmin): Likewise.
33816 (rint): Likewise.
33817 (rintf): Likewise.
33818 (nearbyint): Likewise.
33819 (nearbyintf): Likewise.
33820 (ceil): Likewise.
33821 (ceilf): Likewise.
33822 (floor): Likewise.
33823 (floorf): Likewise.
33824
3e5aef87
L
338252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33826
428bd707
L
33827 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33828 on both fields and cast pointer to __syscall_ulong_t.
33829
3e5aef87
L
33830 * bits/types.h (__fsword_t): New type.
33831 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33832 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33834 (__FSWORD_T_TYPE): Likewise.
33835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33836 (__FSWORD_T_TYPE): Likewise.
33837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33838 (__FSWORD_T_TYPE): Likewise.
33839 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33840 (__FSWORD_T_TYPE): Likewise.
33841 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33842 __SWORD_TYPE with __fsword_t.
33843 (statfs64): Likewise.
33844
1ba7c3dc
DM
338452012-05-17 David S. Miller <davem@davemloft.net>
33846
33847 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33848
59910343
AJ
338492012-05-17 Andreas Jaeger <aj@suse.de>
33850
33851 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33852 warning.
33853
2e4c1e9e
L
338542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33855
33856 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33857
de7f5ce7
AJ
338582012-05-17 Andreas Jaeger <aj@suse.de>
33859
33860 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33861 when it is used.
33862
286abc3d
CM
338632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33864
33865 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33866
477cc68e
L
338672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33868
33869 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33870 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33871
1a0994f5
CD
338722012-05-17 Andreas Jaeger <aj@suse.de>
33873 Carlos O'Donell <carlos_odonell@mentor.com>
33874
33875 [BZ #14059]
33876 * sysdeps/x86_64/multiarch/init-arch.h
33877 (bit_YMM_Usable): Rename to...
33878 (bit_AVX_Usable): ... this.
33879 (bit_FMA4_Usable): New macro.
33880 (bit_XMM_state): New macro.
33881 (bit_YMM_state): New macro.
33882 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33883 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33884 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33885 (CPUID_OSXSAVE): New macro.
33886 (CPUID_AVX): New macro.
33887 (CPUID_FMA4): New macro.
33888 (index_YMM_Usable): Rename to...
33889 (index_AVX_Usable): ... this.
33890 (HAS_AVX): Use HAS_ARCH_FEATURE.
33891 (HAS_FMA4): Likewise.
33892 (HAS_YMM_USABLE): Remove.
33893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33894 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33895 are present.
33896 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33897 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33898 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33899 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33900 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33901
0af797de
CM
339022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33903
33904 * math/libm-test.c: Support platforms without multiple rounding modes.
33905 * math/bug-nextafter.c: Support platforms without FP exceptions.
33906 * math/bug-nexttoward.c: Likewise.
33907 * math/test-fenv.c: Likewise.
33908 * math/test-misc.c: Likewise.
33909 * stdlib/bug-getcontext.c: Likewise.
33910
e39745ff
AJ
339112012-05-17 Andreas Jaeger <aj@suse.de>
33912
33913 * manual/examples/search.c (critter_cmp): Change signature to
33914 avoid warnings.
33915 * manual/string.texi (Collation Functions): Likewise.
33916
48970aba
L
339172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33918
33919 * bits/types.h: Fold copyright years.
33920 * bits/typesizes.h: Likewise.
33921 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33925 * time/time.h: Likewise.
33926
bedee953
PP
339272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33928
33929 [BZ #208]
33930 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33931 in instead of returning them. Return void.
33932 (__libc_mallinfo): Accumulate over all arenas.
33933 (__malloc_stats): Adjust for change in int_mallinfo interface.
33934
61653dfb
RM
339352012-05-16 Roland McGrath <roland@hack.frob.com>
33936
30b99d79
RM
33937 [BZ #10375]
33938 * configure.in (NM): Add AC_CHECK_TOOL for it.
33939 (libc_extra_cflags): New substituted variable.
33940 Check for -fstack-protector being used implicitly.
33941 * configure: Regenerated.
33942 * config.make.in (config-extra-cflags): New variable,
33943 gets @libc_extra_cflags@.
33944 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33945
61653dfb
RM
33946 [BZ #10375]
33947 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33948 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33949 * configure: Regenerated.
33950 * config.make.in (CPPUNDEFS): New substituted variable.
33951 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33952 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33953 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33954
661768bb
L
339552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33956
33957 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33958 (mq_attr): Use __syscall_slong_t.
33959
d4261567
L
339602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33961
33962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33963 Check __x86_64__ instead of __WORDSIZE.
33964 (_STAT_VER_LINUX): Likewise.
33965 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33966 __syscall_ulong_t and __syscall_slong_t.
33967 (stat64): Likewise.
33968
cf3ff365
L
339692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33970
33971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33972
76cf3e4d
L
339732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33974
33975 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33976
a637753a
L
339772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33978
33979 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33980 __syscall_ulong_t.
33981
d5e05119
L
33982 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33983 include <bits/wordsize.h>. Check __x86_64__ instead of
33984 __WORDSIZE.
33985 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33986 defined.
33987 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33988
f62ee380
L
33989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33990 include <bits/wordsize.h>. Check __x86_64__ instead of
33991 __WORDSIZE.
33992 (user_regs_struct): Use "__extension__ unsigned long long"
33993 instead of "unsigned long" if __x86_64__ is defined.
33994 (user): Likewise. Pad after pointer field if __ILP32__ is
33995 defined.
33996
4e124ced
JM
339972012-05-16 Joseph Myers <joseph@codesourcery.com>
33998
6a3951a0
JM
33999 * configure.in (makeinfo): Require version 4.5 or later. Allow
34000 versions 5 to 9.
34001 * configure: Regenerated.
34002 * manual/install.texi (texinfo): Increase version requirement to
34003 4.5 or later.
34004 * INSTALL: Regenerated.
34005
4e124ced
JM
34006 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34007
953ca31a
L
340082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34009
34010 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34011
617aca05
L
34012 * sysdeps/x86_64/x32/ffs.c: New file.
34013
5762f7ae
L
34014 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34015 __syscall_ulong_t.
34016 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34017 defined. Use __syscall_ulong_t.
34018 (shminfo): Use __syscall_ulong_t.
34019 (shm_info): Likewise.
34020
a26b6856
L
34021 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34022 __syscall_ulong_t.
34023
cb2b9ef7
L
34024 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34025 <bits/wordsize.h>.
34026 (msgqnum_t): Use __syscall_ulong_t.
34027 (msglen_t): Likewise.
34028 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34029 __syscall_ulong_t.
34030
34683bb0
L
34031 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34032 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34033
84a68786
L
34034 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34035
48baa5f1
L
34036 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34037 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34038
180be88b
L
34039 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34040 __syscall_slong_t.
34041
5e90c8ad
L
34042 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34043 include <bits/wordsize.h>. Check __x86_64__ instead of
34044 __WORDSIZE.
34045
23dfb58b
L
34046 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34047 "unsigned long long int" if __x86_64__ is defined.
34048 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34049
ce5d54b0
L
34050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34051 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34052 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34053
13dc9eac
L
34054 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34055 <stdint.h>.
34056 (GET_PC): Cast to uintptr_t first.
34057 (GET_FRAME): Likewise.
34058 (GET_STACK): Likewise.
34059
a7895d15
L
34060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34061 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34066 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34067 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34068 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34072 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34074 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34076 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34085 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34086 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34088 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34089
656416c9
AS
340902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34091
5bd66283
AS
34092 * Makerules (+depfiles): Also collect depfiles from .oS in
34093 $(extra-objs).
34094 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34095 .oS, $(libnldbl-routines)).
34096
656416c9
AS
34097 * Makerules (native-compile-mkdep-flags): Define.
34098 * sunrpc/Makefile (extra-objs): Add $(addprefix
34099 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34100 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34101 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34102 calling $(make-target-directory).
34103
a46f2169
L
341042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34105
34106 * bits/types.h (__snseconds_t): Removed.
34107 * time/time.h (struct timespec): Replace __snseconds_t with
34108 __syscall_slong_t.
34109 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34110 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34111 Likewise.
34112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34113 (__SNSECONDS_T_TYPE): Likewise.
34114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34115 (__SNSECONDS_T_TYPE): Likewise.
34116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34117 (__SNSECONDS_T_TYPE): Likewise.
34118
6af6528b
L
341192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34120
34121 * sysdeps/mach/hurd/bits/typesizes.h
34122 (__SYSCALL_SLONG_TYPE): New macro.
34123 (__SYSCALL_ULONG_TYPE): Likewise.
34124
de986b56
L
341252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34126
34127 * bits/types.h (__syscall_slong_t): New type.
34128 (__syscall_ulong_t): Likewise.
34129
34130 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34131 (__SYSCALL_ULONG_TYPE): Likewise.
34132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34133 (__SYSCALL_SLONG_TYPE): Likewise.
34134 (__SYSCALL_ULONG_TYPE): Likewise.
34135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34136 (__SYSCALL_SLONG_TYPE): Likewise.
34137 (__SYSCALL_ULONG_TYPE): Likewise.
34138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34139 (__SYSCALL_SLONG_TYPE): Likewise.
34140 (__SYSCALL_ULONG_TYPE): Likewise.
34141
85736dc7
L
341422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34145 Add sigaltstack-offsets.sym.
34146 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34147 <sigaltstack-offsets.h>.
34148 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34149 longjmp_msg pointer.
34150 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34151 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34152 signal stack.
34153 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34154
cc03b296
JM
341552012-05-15 Joseph Myers <joseph@codesourcery.com>
34156
a9538892
JM
34157 * elf/stackguard-macros.h: Remove file.
34158 * sysdeps/generic/stackguard-macros.h: New file.
34159 * sysdeps/i386/stackguard-macros.h: Likewise.
34160 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34161 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34162 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34163 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34164 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34165 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34166 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34167 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34168 <elf/stackguard-macros.h>.
34169
cc03b296
JM
34170 [BZ #14109]
34171 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34172 __aligned__ in attribute.
34173 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34174 (gregset_t): Likewise.
34175
93171016
L
341762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34177
34178 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34179 * sysdeps/x86_64/64/Implies-after: Here. New file.
34180 * sysdeps/x86_64/x32/Implies-after: New file.
34181
d86813a0
L
341822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34183
34184 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34185 and access return value for _dl_profile_fixup. Use R10_LP to
34186 load frame size.
34187
2953ec75
L
341882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34189
34190 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34191
3b550e9e
L
341922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34193
34194 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34195 * sysdeps/x86_64/x32/sysdep.h: New file.
34196
eda41706
L
341972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34198
34199 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34200 * sysdeps/x86_64/setjmp.S: Likewise.
34201
9ea01d93
AZ
342022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34203
34204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34205 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34206 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34207 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34208 remove unused global constant.
34209
02a91938
CM
342102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34211
34212 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34213 include of <not-cancel.h>.
34214
6540185f
RM
342152012-05-15 Roland McGrath <roland@hack.frob.com>
34216
34217 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34218
509072a0
AJ
342192012-05-15 Jeff Law <law@redhat.com>
34220 Andreas Jaeger <aj@suse.de>
34221
34222 [BZ #13594]
34223 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34224 out from...
34225 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34226 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34227 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34228 code changing __hst_map_handle.map.
34229
ba75122d
RM
342302012-05-15 Roland McGrath <roland@hack.frob.com>
34231
34232 * configure.in (sysnames): Look for Implies-before and Implies-after
34233 files.
34234 * configure: Regenerated.
34235
890d8bd8
L
342362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34237
34238 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34239 8-byte data alignment with LP_SIZE alignment.
34240
f6ee6623
L
342412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34242
34243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34244 into R10_LP.
34245
ea2626f6
L
342462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34247
34248 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34249
085f715e
L
342502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34251
34252 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34253 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34254 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34255 Likewise.
34256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34257
be8498fc
L
342582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34259
34260 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34261 (stackinfo_sub_sp): Likewise.
34262
70bc83b9
L
342632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34264
34265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34266 RAX_LP.
34267
9bc0b730
L
342682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34269
34270 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34271 into R*_LP.
34272
6d2850e7
L
342732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34274
34275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34276 sizes into R*_LP.
34277
3cb84561
L
342782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34279
34280 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34281
54e2ed81
L
342822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34285 into R11_LP and load __x86_64_shared_cache_size_half into
34286 R8_LP.
34287
8a17f349
L
342882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34289
34290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34291 R8_LP.
34292
777b1eea
AZ
342932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34294
34295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34296 logb for POWER7.
34297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34298 logbf for POWER7.
34299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34300 logbl for POWER7.
34301 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34302 powerpc32/power7/fpu/s_logb.c via #include.
34303 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34304 powerpc32/power7/fpu/s_logbf.c via #include.
34305 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34306 powerpc32/power7/fpu/s_logbl.c via #include.
34307
d20d4ac2
JM
343082012-05-15 Joseph Myers <joseph@codesourcery.com>
34309
34310 * README.libm: Remove file.
34311
6cdef1ab
L
343122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34313
34314 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34315 count for x32. Use R*_LP and omit operand-size suffix.
34316
0b254d8f
L
343172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34318
34319 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34320 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34321 * sysdeps/x86_64/x32/shlib-versions: New file.
34322
ceb809dc
RM
343232012-05-14 Roland McGrath <roland@hack.frob.com>
34324
34325 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34326 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34327 Use _dl_fatal_printf instead.
34328
37f1abd4
JM
343292012-05-14 Joseph Myers <joseph@codesourcery.com>
34330
34331 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34332 set if not set by the user. Do not allow for being unset.
34333 * sysdeps/unix/sysv/linux/configure: Regenerated.
34334
11de3a33
L
343352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34336
34337 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34338 the `q' suffix from lea and replace .quad with ASM_ADDR.
34339
e02f153a
L
343402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34341
34342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34343 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34344 instead of $17.
34345 (PTR_DEMANGLE): Likewise.
34346
520ae0fd
L
343472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34348
34349 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34350 (LP_OP): Likewise.
34351 (ASM_ADDR): Likewise.
34352 (RAX_LP): Likewise.
34353 (RBP_LP): Likewise.
34354 (RBX_LP): Likewise.
34355 (RCX_LP): Likewise.
34356 (RDI_LP): Likewise.
34357 (RSI_LP): Likewise.
34358 (RSP_LP): Likewise.
34359 (R8_LP): Likewise.
34360 (R9_LP): Likewise.
34361 (R10_LP): Likewise.
34362 (R10_LP): Likewise.
34363 (R11_LP): Likewise.
34364 (R12_LP): Likewise.
34365 (R13_LP): Likewise.
34366 (R14_LP): Likewise.
34367 (R15_LP): Likewise.
34368
b985be81
L
343692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34370
34371 * sysdeps/x86_64/x32/dl-machine.h: New file.
34372
6a4888ff
AJ
343732012-05-14 Andreas Jaeger <aj@suse.de>
34374
34375 * manual/Makefile (subdir): Remove export of subdir.
34376 (all): Remove target.
34377 (.PHONY): Remove all from list.
34378 (mkinstalldirs): Remove.
34379 (.PHONY): Remove installdirs from list.
34380 ($(inst_infodir)/libc.info): Use make-target-directory.
34381 (installdirs): Remove.
34382 (subdir_%): Remove.
34383 (glibc-targets): Remove.
34384 (lib): Remove.
34385 (stubs): Remove.
34386 ($(objpfx)stubs ../po/manual.pot): Remove.
34387 ($(objpfx)stamp%): Remove.
34388 (make-target-directory): Remove.
34389 (subdir_install): Remove.
34390 (routines): Remove.
34391 (aux): Remove.
34392 (sources): Remove.
34393 (objects): Remove.
34394 (headers): Remove.
34395
34396 [BZ #13750]
34397 * manual/.gitignore: Remove, it's not needed anymore.
34398 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34399 all files in it.
34400 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34401 directory.
34402 (texis): Renamed to $(objpfx)texis.
34403 (texis-path): New, contains path to generated files.
34404 (chapters.%): Use texis-path for complete path, add extra argument
34405 libc-texinfo.sh.
34406 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34407 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34408 (summary,texi, stamp-summary): Use complete path of
34409 files. Generate files in build dir.
34410 (dir-add.texi): Build in build dir.
34411 (libm-err.texi,stamp-libm-err): Likewise.
34412 (version.texi, stamp-version): Likewise.
34413 (.%c.texi): Likewise.
34414 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34415 (mostlyclean): Remove target.
34416 (realclean): Remove target.
34417 (generated): Add new variable with contents from mostlyclean and
34418 realclean, remove entries duplicated in common-mostlyclean, add
34419 stamp-libm-err and stamp-version.
34420 (generated-dirs): Add libc directory.
34421 ($(inst_infodir)/libc.info): Install files from build dir.
34422
34423 * manual/install.texi (Configuring and compiling): Adjust since
34424 the info files are not part of the tar ball anymore.
34425
7ac77294
AJ
344262012-05-14 Andreas Jaeger <aj@suse.de>
34427
34428 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34429 variable.
34430
ffb7875d
JM
344312012-05-14 Joseph Myers <joseph@codesourcery.com>
34432
34433 [BZ #13717]
34434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34435 to 2.2.0 where earlier.
34436 * sysdeps/unix/sysv/linux/configure: Regenerated.
34437 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34438 Remove conditional code.
34439 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34440 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34441 Remove conditional code.
34442 [!__NR_lchown]: Likewise.
34443 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34444 [__NR_lchown]: Likewise.
34445 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34446 comment referencing __ASSUME_LCHOWN_SYSCALL.
34447 * sysdeps/unix/sysv/linux/i386/sigaction.c
34448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34450 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34451 Remove conditional code.
34452 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34453 (__protocol_available): Remove #if 0 code.
34454 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34455 conditional code.
34456 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/kernel-features.h
34458 (__ASSUME_GETCWD_SYSCALL): Don't define.
34459 (__ASSUME_REALTIME_SIGNALS): Likewise.
34460 (__ASSUME_PREAD_SYSCALL): Likewise.
34461 (__ASSUME_PWRITE_SYSCALL): Likewise.
34462 (__ASSUME_POLL_SYSCALL): Likewise.
34463 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34464 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34465 non-SPARC.
34466 (__ASSUME_SIOCGIFNAME): Don't define.
34467 (__ASSUME_MSG_NOSIGNAL): Likewise.
34468 (__ASSUME_SENDFILE): Define unconditionally.
34469 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34470 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34471 conditional code.
34472 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34473 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34474 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34475 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34476 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34477 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34478 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34480 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34483 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34484 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34486 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34489 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34490 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34495 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34503 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34504 Remove conditional code.
34505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34506 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34507 Remove conditional code.
34508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34509 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34510 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34511 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34512 Remove conditional code.
34513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34514 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34515 Remove conditional code.
34516 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34517 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34518 Remove conditional code.
34519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34520 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34521 Remove conditional code.
34522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34523 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34524 Remove conditional code.
34525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34526 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34527 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34529 * sysdeps/unix/sysv/linux/sigaction.c
34530 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34531 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34532 * sysdeps/unix/sysv/linux/sigpending.c
34533 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34534 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34535 * sysdeps/unix/sysv/linux/sigprocmask.c
34536 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34537 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34538 * sysdeps/unix/sysv/linux/sigsuspend.c
34539 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34540 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34541 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34542 (__libc_missing_rt_sigs): Remove.
34543 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34544 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34545 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34546 Remove conditional code.
34547 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34548 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34549 return 1.
34550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34551 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34552 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34553 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34554
1bfb7291
AJ
345552012-05-14 Andreas Jaeger <aj@suse.de>
34556
caae5a81
AJ
34557 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34558 it's not used in glibc.
34559 (__coshm1): Likewise.
34560 (__acosh1p): Likewise.
34561 (__sgn): Likewise.
34562
1bfb7291
AJ
34563 * manual/string.texi (Copying and Concatenation): Add missing
34564 variable in concat example.
34565 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34566
c044d724
L
345672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34568
144c5467 34569 [BZ #14103]
c044d724
L
34570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34571 __builtin_clzl with __builtin_clzll.
34572
2523c62b
L
345732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 [BZ #14104]
34576 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34577 libc_freeres_ptr.
34578
d7bb4c42
LD
345792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34580
34581 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34582 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34583 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34584 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34585
9dc4e1fb
MF
345862012-05-14 Mike Frysinger <vapier@gentoo.org>
34587
34588 * NEWS: Update ia64 info.
34589
c7df0112
AS
345902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34591
34592 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34593 used as bcopy.
34594
dc70356c
TS
345952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34596
34597 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34598 * sysdeps/unix/syscalls.list (dup3): Likewise.
34599 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34600 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34601
9fb1a21f
L
346022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34603
34604 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34605 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34606
4822a2a5
L
346072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34608
34609 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34610 thread pointer.
34611 (TLS_IE): Use mov/add instead of movq/addq to load thread
34612 pointer.
34613 (TLS_GD_PREFIX): New.
34614 (TLS_GD): Use it.
34615
842b81d6
DM
346162012-05-11 David S. Miller <davem@davemloft.net>
34617
34618 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34619 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34620 (_FPU_SETCW): Likewise.
34621
1cf463cd
L
346222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34623
34624 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34625 is 32-byte aligned.
34626
60cc4a18
AS
346272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34628
34629 [BZ #11837]
34630 * iconvdata/gb18030.c: Update tables.
34631 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34632 characters specially.
34633 (BODY for TO_LOOP): Add encoding of missing ranges.
34634
febb44a4
TS
346352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34636
34637 [BZ #13673]
34638 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34639 * sysdeps/mach/hurd/dup3.c: Likewise.
34640 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34641 * sysdeps/powerpc/memmove.c:: Likewise.
34642
0a10fb9e
L
346432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34644
34645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34646 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34647
df8a552f
L
346482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 * elf/elf.h (R_X86_64_RELATIVE64): New.
34651 (R_X86_64_NUM): Updated.
34652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34653 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34654 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34655 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34656 tst-quad1pie tst-quad2pie
34657 (modules-names): Add tst-quadmod1 tst-quadmod2.
34658 ($(objpfx)tst-quad1): New dependency.
34659 ($(objpfx)tst-quad2): Likewise.
34660 ($(objpfx)tst-quad1pie): Likewise.
34661 ($(objpfx)tst-quad2pie): Likewise.
34662 * sysdeps/x86_64/tst-quad1.c: New file.
34663 * sysdeps/x86_64/tst-quad1pie.c: New file.
34664 * sysdeps/x86_64/tst-quad2.c: Likewise.
34665 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34666 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34667 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34668 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34669 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34670
f34d6f84
ST
346712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34672
f42d41d1
ST
34673 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34674 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34675 * streams/stropts.h (t_scalar_t): Define type.
34676
3c3571fc
ST
34677 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34678 (_PATH_PRESERVE): Set to "/var/lib".
34679 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34680
61f06bd3
ST
34681 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34682 instead of int.
34683
918d4d71
ST
34684 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34685 if __dir_mkfile succeeded.
34686
f34d6f84
ST
34687 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34688 checking for _hurd_dtablesize. Unlock it right after having
34689 finished _hurd_dtable allocation.
34690
10589b4a
TS
346912012-05-10 Thomas Schwinge <thomas@schwinge.name>
34692
674cdbc7
TS
34693 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34694 * sysdeps/mach/hurd/configure: Regenerated.
34695 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34696 special-casing to...
34697 * sysdeps/gnu/configure.in: ... this new file.
34698 * sysdeps/unix/sysv/linux/configure: Regenerated.
34699 * sysdeps/gnu/configure: New generated file.
34700
8e41b99f
TS
34701 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34702 for Linux: use nsec instead of usec, as well as:
34703 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34704 members of type struct timespec.
34705 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34706 New macros.
34707 (struct stat64): Likewise.
34708 (_STATBUF_ST_NSEC): New macro.
34709 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34710
10589b4a
TS
34711 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34712 __strtoul_internal rather than strtoul.
34713
63643c85
PT
347142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34715
34716 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34717 and reject them.
34718
3faebe6a
ST
347192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34720
34721 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34722 which preserves existing values.
34723 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34724
c6474b07
PT
347252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34726
34727 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34728 TIMEOUT values. Return EINVAL for NFDS values either negative or
34729 greater than FD_SETSIZE.
34730
1043890b
ST
347312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34732
34733 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34734 allocated, call __vm_protect to finish enabling the existing space, and
34735 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34736 allocate the remainder.
34737
37ed8b9b
PT
347382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34739
34740 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34741 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34742
db653660
ST
347432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34744
37ed8b9b
PT
34745 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34746 sysdeps/mach/hurd/readlink.c.
b29d4053 34747
db653660
ST
34748 * posix/tst-sysconf.c (posix_options): Only use
34749 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34750 _POSIX_SYNCHRONIZED_IO when they are defined
34751 * sysdeps/mach/hurd/bits/posix_opt.h:
34752 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34753 (_XOPEN_REALTIME): Undefine macro.
34754 (_XOPEN_REALTIME_THREADS): Undefine macro.
34755 (_XOPEN_SHM): Undefine macro.
34756 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34757 macro to -1.
34758 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34759 macro to -1.
34760 (_POSIX_ASYNC_IO): Undefine macro.
34761 (_POSIX_PRIORITIZED_IO): Undefine macro.
34762 (_POSIX_SPIN_LOCKS): Define macro to -1.
34763
ee16e894
ST
34764 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34765 SA_NODEFER, SA_RESETHAND.
34766 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34767 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34768 F_DUPFD_CLOEXEC.
34769
6103ae3b
TS
347702012-05-10 Thomas Schwinge <thomas@schwinge.name>
34771
34772 * elf/Makefile (pldd-modules): Define unconditionally.
34773
80b4e5f3
TS
347742012-05-10 Thomas Schwinge <thomas@schwinge.name>
34775
34776 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34777
edadcbd6
ST
347782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34779
34780 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34781 Return ENOENT when name is empty.
34782 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34783
80694780
TS
347842012-05-10 Thomas Schwinge <thomas@schwinge.name>
34785
1792c087
TS
34786 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34787
80694780
TS
34788 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34789
6b645f0d
ST
347902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34791
80694780
TS
34792 Fix mlock in all cases except non-readable pages.
34793 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34794 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34795
6b645f0d
ST
34796 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34797 (__mkdir): When path is `/', just fail with EEXIST.
34798 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34799
e468f8a3
TS
348002012-05-10 Thomas Schwinge <thomas@schwinge.name>
34801
34802 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34803 <sys/uio.h> (for writev).
34804 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34805 and <sys/param.h> (for MIN).
34806
a4186cff
PT
348072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34808
34809 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34810 REQUESTED_TIME. Properly set the remaining time and return EINTR
34811 if interrupted.
34812
510bbf14
TS
348132012-05-10 Thomas Schwinge <thomas@schwinge.name>
34814
34815 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34816 Depend on against $(link-rpcuserlibs).
34817
5d5722e8
ST
348182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34819
a4186cff
PT
34820 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34821 (__libc_stack_end): Do not use attribute_relro.
34822 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34823 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34824 to libthread-provided value.
a4186cff
PT
34825 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34826 attribute_relro.
5d5722e8 34827
37233df9
TS
348282012-05-10 Thomas Schwinge <thomas@schwinge.name>
34829
be971a2b
TS
34830 [BZ #3748]
34831 * bits/libc-lock.h (__libc_once_get): New macro.
34832 * sysdeps/mach/bits/libc-lock.h: Likewise.
34833 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34835 instead of using implementation details.
34836
37233df9
TS
34837 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34838 * libio/freopen.c: Likewise.
34839 * libio/freopen64.c: Likewise.
34840 * misc/syslog.c: Likewise.
34841 * nscd/connections.c: Likewise.
34842 * nscd/netgroupcache.c: Likewise.
34843 * sysdeps/posix/getcwd.c: Likewise.
34844
38de94a5
RM
348452012-05-10 Roland McGrath <roland@hack.frob.com>
34846
34847 * math/w_ilogbf.c: Add #include <limits.h>.
34848
67530489
ST
348492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34850
a4186cff 34851 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34852 path instead of returning without unlocking.
34853
67530489
ST
34854 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34855 immediate-write ioctls.
34856 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34857
5aa3a74a
TS
348582012-05-10 Thomas Schwinge <thomas@schwinge.name>
34859
18bad2ae
TS
34860 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34861 __builtin_frame_address instead of making assumptions about the
34862 location of the return address relative to DATA. Force early load of
34863 the return address.
34864 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34865 __builtin_frame_address.
34866
5aa3a74a
TS
34867 dup3 for GNU Hurd.
34868 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34869 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34870 implement dup3 and do some further code clean-ups.
34871 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34872 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34873
ecd0de9a
ST
348742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34875
cd9fa985
ST
34876 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34877
a4186cff
PT
34878 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34879 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34880 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34881 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34882 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34883 d->port.lock.
802ca5a5 34884
a4186cff
PT
34885 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34886 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34887 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34888
bcf55240
TS
348892012-05-10 Thomas Schwinge <thomas@schwinge.name>
34890
6960eb42
TS
34891 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34892 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34893 definitions.
34894
eb43375f
TS
34895 accept4 for GNU Hurd.
34896 * include/sys/socket.h (__libc_accept4): New prototype.
34897 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34898 to implement __libc_accept4.
34899 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34900 __libc_accept4.
34901 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34902
bcf55240
TS
34903 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34904 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34905 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34906 signal-defines.sym.
34907
6178c55b
ST
349082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34909
a4186cff 34910 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34911
6f080c2f
TS
349122012-05-10 Thomas Schwinge <thomas@schwinge.name>
34913
34914 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34915 assertion on O_CLOEXEC flag.
34916 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34917 * hurd/intern-fd.c: Likewise.
34918 * hurd/port2fd.c: Likewise.
34919
bcfe3a54
ST
349202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34921
34922 [BZ #3906]
34923 * bits/in.h (IPV6_PKTINFO): Define new macro.
34924 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34925
89c9aa49
AZ
349262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34927
34928 [BZ #13954]
34929 [BZ #13955]
34930 [BZ #13956]
34931 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34933 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34934 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34936 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34937 * math/libm-test.inc (logb_test) : Additional logb tests.
34938
021db4be
AJ
349392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34940 Andreas Jaeger <aj@suse.de>
34941
34942 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34943 * configure: Regenerated.
34944 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34945 * config.make.in (link-obsolete-rpc): New substituted variable.
34946 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34947 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34948 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34949 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34950 so that libc.a contains the symbols.
34951 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34952 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34953 * sunrpc/auth_none.c: Likewise.
34954 * sunrpc/auth_unix.c: Likewise.
34955 * sunrpc/authdes_prot.c: Likewise.
34956 * sunrpc/authuxprot.c: Likewise.
34957 * sunrpc/clnt_gen.c: Likewise.
34958 * sunrpc/clnt_perr.c: Likewise.
34959 * sunrpc/clnt_raw.c: Likewise.
34960 * sunrpc/clnt_simp.c: Likewise.
34961 * sunrpc/clnt_tcp.c: Likewise.
34962 * sunrpc/clnt_udp.c: Likewise.
34963 * sunrpc/clnt_unix.c: Likewise.
34964 * sunrpc/des_crypt.c: Likewise.
34965 * sunrpc/des_soft.c: Likewise.
34966 * sunrpc/get_myaddr.c: Likewise.
34967 * sunrpc/key_call.c: Likewise.
34968 * sunrpc/key_prot.c: Likewise.
34969 * sunrpc/netname.c: Likewise.
34970 * sunrpc/pm_getmaps.c: Likewise.
34971 * sunrpc/pm_getport.c: Likewise.
34972 * sunrpc/pmap_clnt.c: Likewise.
34973 * sunrpc/pmap_prot.c: Likewise.
34974 * sunrpc/pmap_prot2.c: Likewise.
34975 * sunrpc/pmap_rmt.c: Likewise.
34976 * sunrpc/publickey.c: Likewise.
34977 * sunrpc/rpc_cmsg.c: Likewise.
34978 * sunrpc/rpc_common.c: Likewise.
34979 * sunrpc/rpc_dtable.c: Likewise.
34980 * sunrpc/rpc_prot.c: Likewise.
34981 * sunrpc/rpc_thread.c: Likewise.
34982 * sunrpc/rtime.c: Likewise.
34983 * sunrpc/svc.c: Likewise.
34984 * sunrpc/svc_auth.c: Likewise.
34985 * sunrpc/svc_raw.c: Likewise.
34986 * sunrpc/svc_run.c: Likewise.
34987 * sunrpc/svc_tcp.c: Likewise.
34988 * sunrpc/svc_udp.c: Likewise.
34989 * sunrpc/svc_unix.c: Likewise.
34990 * sunrpc/svcauth_des.c: Likewise.
34991 * sunrpc/xcrypt.c: Likewise.
34992 * sunrpc/xdr.c: Likewise.
34993 * sunrpc/xdr_array.c: Likewise.
34994 * sunrpc/xdr_float.c: Likewise.
34995 * sunrpc/xdr_intXX_t.c: Likewise.
34996 * sunrpc/xdr_mem.c: Likewise.
34997 * sunrpc/xdr_rec.c: Likewise.
34998 * sunrpc/xdr_ref.c: Likewise.
34999 * sunrpc/xdr_sizeof.c: Likewise.
35000 * sunrpc/xdr_stdio.c: Likewise.
35001
b5c086a2
RM
350022012-05-10 Roland McGrath <roland@hack.frob.com>
35003
35004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35005 change. Update copyright years.
35006
6d74dd09
JM
350072012-05-10 Joseph Myers <joseph@codesourcery.com>
35008
35009 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35010
28e72501
MK
350112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35012 Joseph Myers <joseph@codesourcery.com>
35013 Paul Pluzhnikov <ppluzhnikov@google.com>
35014
35015 [BZ #14012]
35016 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35017 requiring rpcgen.
35018 [cross-compiling] (extra-libs): Likewise.
35019 [cross-compiling] (extra-libs-others): Likewise.
35020 [cross-compiling] (librpcsvc-routines): Likewise.
35021 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35022 [cross-compiling] (omit-deps): Likewise.
35023 (sunrpc-CPPFLAGS): New variable.
35024 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35025 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35026 (cross-rpcgen-objs): New variable.
35027 (extra-objs): Append $(cross-rpcgen-objs).
35028 ($(cross-rpcgen-objs)): New rule.
35029 ($(objpfx)cross-rpcgen): Likewise.
35030 (rpcgen-cmd): Define to use $(built-program-file). Expand
35031 comment.
35032 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35033 ($(objpfx)x%.stmp): Likewise.
35034 * sunrpc/proto.h [IS_IN_build] (_): Define.
35035 [IS_IN_build] (_libc_intl_domainname): Likewise.
35036
c8c59454
L
350372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35038
35039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35040 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35041 and R_X86_64_TPOFF64.
35042
6f27cd16
JM
350432012-05-10 Joseph Myers <joseph@codesourcery.com>
35044
35045 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35046 sysdeps/unix/sysv/syscalls.list.
35047 (stime): Likewise.
35048 (utime): Likewise.
35049 * sysdeps/unix/sysv/syscalls.list: Remove file.
35050
02467e1c
PE
350512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35052
35053 [BZ #3440]
35054 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35055 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35056 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35057 (__LC_IDENTIFICATION): Make these macros useful in #if
35058 expressions, as required by C99.
35059
da392631
AS
350602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35061
35062 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35063 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35064 after this.
35065
8115f29b
L
350662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35067
35068 * stdlib/longlong.h: Updated from GCC.
35069
bdd74070
AJ
350702012-05-09 Andreas Jaeger <aj@suse.de>
35071
edfe0dbe
AJ
35072 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35073 default is first entry.
35074 (run_mode): Set type.
35075 (main): Remove informal message about syslog.
35076 (options): Fix typo.
35077
bcfe3a54
ST
35078 [BZ #14053]
35079 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35080 to asm.
bcfe3a54
ST
35081 (lrint): Likewise.
35082 (llrintf): Likewise.
35083 (llrint): Likewise.
35084 (rint): Likewise.
35085 (rintf): Likewise.
35086 (nearbyint): Likewise.
35087 (nearbyintf): Likewise.
bdd74070 35088
91d8d69e
AJ
350892012-05-09 Andreas Jaeger <aj@suse.de>
35090 Pedro Alves <palves@redhat.com>
35091
35092 * nscd/nscd.c (run_mode): Use enum.
35093 (main): Cleanup coding style issue.
35094
bb90b80b
AJ
350952012-05-09 Alexandre Oliva <aoliva@redhat.com>
35096 Andreas Jaeger <aj@suse.de>
35097
bcfe3a54
ST
35098 * nscd/nscd.c (go_background): Replaced with...
35099 (run_mode): ... this.
bb90b80b 35100 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35101 (options): Add -F --foreground.
35102 (main): Implement it.
35103 (parse_opt): Parse it.
bb90b80b 35104
1a4b75a1
AJ
351052012-05-09 Andreas Jaeger <aj@suse.de>
35106
35107 [BZ #14083]
35108 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35109 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35110 -Wconversion warning.
35111 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35112 Likewise.
35113
b1cc2472
JM
351142012-05-09 Joseph Myers <joseph@codesourcery.com>
35115
35116 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35117 == 0.
35118 (LC_ALL): Use macro-int-constant.
35119 (LC_COLLATE): Likewise.
35120 (LC_CTYPE): Likewise.
35121 (LC_MESSAGES): Likewise.
35122 (LC_MONETARY): Likewise.
35123 (LC_NUMERIC): Likewise.
35124 (LC_TIME): Likewise.
35125 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35126 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35128 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35129 Specify type.
35130 [C99-based standards] (float_t): Expect type.
35131 [C99-based standards] (double_t): Expect type.
35132 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35133 type.
35134 [C99-based standards] (HUGE_VALL): Likewise.
35135 [C99-based standards] (INFINITY): Likewise.
35136 [C99-based standards] (NAN): Likewise.
35137 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35138 [C99-based standards] (FP_NAN): Likewise.
35139 [C99-based standards] (FP_NORMAL): Likewise.
35140 [C99-based standards] (FP_SUBNORMAL): Likewise.
35141 [C99-based standards] (FP_ZERO): Likewise.
35142 [C99-based standards] (FP_FAST_FMA): Use
35143 optional-macro-int-constant. Specify type. Require == 1.
35144 [C99-based standards] (FP_FAST_FMAF): Likewise.
35145 [C99-based standards] (FP_FAST_FMAL): Likewise.
35146 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35147 [C99-based standards] (FP_ILOGBNAN): Likewise.
35148 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35149 Specify type.
35150 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35151 [C99-based standards] (math_errhandling): Specify type.
35152 [ISO99 || ISO11] (signgam): Do not allow.
35153 [non-C99-based standards] (copysignf): Do not allow.
35154 [non-C99-based standards] (exp2f): Likewise.
35155 [non-C99-based standards] (log2f): Likewise.
35156 [non-C99-based standards] (modff): Allow.
35157 [non-C99-based standards] (erff): Do not allow.
35158 [non-C99-based standards] (erfcf): Likewise.
35159 [non-C99-based standards] (gammaf): Likewise.
35160 [non-C99-based standards] (hypotf): Likewise.
35161 [non-C99-based standards] (j0f): Likewise.
35162 [non-C99-based standards] (j1f): Likewise.
35163 [non-C99-based standards] (jnf): Likewise.
35164 [non-C99-based standards] (lgammaf): Likewise.
35165 [non-C99-based standards] (tgammaf): Likewise.
35166 [non-C99-based standards] (y0f): Likewise.
35167 [non-C99-based standards] (y1f): Likewise.
35168 [non-C99-based standards] (ynf): Likewise.
35169 [non-C99-based standards] (isnanf): Likewise.
35170 [non-C99-based standards] (acoshf): Likewise.
35171 [non-C99-based standards] (asinhf): Likewise.
35172 [non-C99-based standards] (atanhf): Likewise.
35173 [non-C99-based standards] (cbrtf): Likewise.
35174 [non-C99-based standards] (expm1f): Likewise.
35175 [non-C99-based standards] (ilogbf): Likewise.
35176 [non-C99-based standards] (log1pf): Likewise.
35177 [non-C99-based standards] (logbf): Likewise.
35178 [non-C99-based standards] (nextafterf): Likewise.
35179 [non-C99-based standards] (remainderf): Likewise.
35180 [non-C99-based standards] (rintf): Likewise.
35181 [non-C99-based standards] (scalbf): Likewise.
35182 [non-C99-based standards] (copysignl): Likewise.
35183 [non-C99-based standards] (exp2l): Likewise.
35184 [non-C99-based standards] (log2l): Likewise.
35185 [non-C99-based standards] (modfl): Allow.
35186 [non-C99-based standards] (erfl): Do not allow.
35187 [non-C99-based standards] (erfcl): Likewise.
35188 [non-C99-based standards] (gammal): Likewise.
35189 [non-C99-based standards] (hypotl): Likewise.
35190 [non-C99-based standards] (j0l): Likewise.
35191 [non-C99-based standards] (j1l): Likewise.
35192 [non-C99-based standards] (jnl): Likewise.
35193 [non-C99-based standards] (lgammal): Likewise.
35194 [non-C99-based standards] (tgammal): Likewise.
35195 [non-C99-based standards] (y0l): Likewise.
35196 [non-C99-based standards] (y1l): Likewise.
35197 [non-C99-based standards] (ynl): Likewise.
35198 [non-C99-based standards] (isnanl): Likewise.
35199 [non-C99-based standards] (acoshl): Likewise.
35200 [non-C99-based standards] (asinhl): Likewise.
35201 [non-C99-based standards] (atanhl): Likewise.
35202 [non-C99-based standards] (cbrtl): Likewise.
35203 [non-C99-based standards] (expm1l): Likewise.
35204 [non-C99-based standards] (ilogbl): Likewise.
35205 [non-C99-based standards] (log1pl): Likewise.
35206 [non-C99-based standards] (logbl): Likewise.
35207 [non-C99-based standards] (nextafterl): Likewise.
35208 [non-C99-based standards] (remainderl): Likewise.
35209 [non-C99-based standards] (rintl): Likewise.
35210 [non-C99-based standards] (scalbl): Likewise.
35211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35212 [non-C99-based standards] (FP_*): Do not allow.
35213 [C99-based standards] (FP_*): Change to
35214 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35215 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35216 allow.
35217 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35218 (SIG_ERR): Likewise.
35219 [X/Open-based standards] (SIG_HOLD): Likewise.
35220 (SIG_IGN): Likewise.
35221 (SIGABRT): Use macro-int-constant. Specify type. Require
35222 positive value.
35223 (SIGFPE): Likewise.
35224 (SIGILL): Likewise.
35225 (SIGINT): Likewise.
35226 (SIGSEGV): Likewise.
35227 (SIGTER): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35230 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35231 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35232 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35239 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35246 [X/Open-based standards] (SIGTRAP): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35251 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35252 allow.
35253
b9f1922d
IW
352542012-05-08 Ian Wienand <ianw@vmware.com>
35255
35256 [BZ #14080]
35257 * time/tzset.c (__tzset_parse_tz): Update default rules for
35258 daylight time changes in the Energy Policy Act of 2005.
35259
1db86e88
AJ
352602012-05-09 Andreas Jaeger <aj@suse.de>
35261
35262 [BZ #13983]
35263 * elf/ldconfig.c (parse_conf): Change string to make clear that
35264 ldconfig only issued a warning if ld.so.conf does not exist.
35265
dee4a4e3
DM
352662012-05-08 David S. Miller <davem@davemloft.net>
35267
ee0db190
DM
35268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35269 movxtod instead of popping the value on the stack.
35270
dee4a4e3
DM
35271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35272
6a43ec98
CD
352732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35274
35275 * config.h.in: Add HAVE_ARM_PCS_VFP.
35276
05c2c961
RMG
352772012-05-08 Roland Mc Grath <roland@hack.frob.com>
35278
bcfe3a54
ST
35279 [BZ #13979]
35280 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35281 checking but the checks are disabled for any reason.
05c2c961 35282
4b30f61a
L
352832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35286 and ELF64_R_TYPE with ELFW(R_TYPE).
35287
eee2bc67
JM
352882012-05-08 Joseph Myers <joseph@codesourcery.com>
35289
7ea5391a
JM
35290 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35291 (ulimit): Likewise.
35292
eee2bc67
JM
35293 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35294 (settimeofday): Likewise.
35295
abb66a67
MF
352962012-05-08 Mike Frysinger <vapier@gentoo.org>
35297
35298 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35299 a struct th_u2 inside the union, and move tu_block/tu_code into
35300 a new th_u3 union of tu_block/tu_code inside of that. Move
35301 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35302 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35303 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35304 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35305 (th_stuff): Change to th_u1.tu_stuff.
35306 (th_data): Define.
35307 (th_msg): Change to th_u1.th_u2.tu_data.
35308
7f18b530
DM
353092012-05-07 David S. Miller <davem@davemloft.net>
35310
05760585
DM
35311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35312
7f18b530
DM
35313 [BZ #14074]
35314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35315 (SETUP_PIC_REG): Use it.
35316 (SETUP_PIC_REG_LEAF): Use it.
35317
495fd99f
JM
353182012-05-07 Joseph Myers <joseph@codesourcery.com>
35319
35320 [BZ #13885]
35321 [BZ #13923]
35322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35323 USE_AS_EXPM1L.
35324 (EXPL_FINITE): Likewise.
35325 (FLDLOG): Likewise.
35326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35327 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35328 e_expl.S.
35329 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35330 USE_AS_EXPM1L.
35331 (EXPL_FINITE): Likewise.
35332 (FLDLOG): Likewise.
35333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35334 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35335 e_expl.S.
35336 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35337 test of -max_value argument for long double.
35338 * sysdeps/i386/fpu/libm-test-ulps: Update.
35339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35340
6693d694
DM
353412012-05-06 David S. Miller <davem@davemloft.net>
35342
35343 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35344 quad soft-float symbols whose references which are compiler
35345 generated.
35346 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35347
6c23e11c
JM
353482012-05-06 Joseph Myers <joseph@codesourcery.com>
35349
d8b82cad
JM
35350 [BZ #13884]
35351 [BZ #13914]
35352 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35353 USE_AS_EXP10L.
35354 (EXPL_FINITE): Likewise.
35355 (FLDLOG): Likewise.
35356 (c0): Likewise.
35357 (c1): Likewise.
35358 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35359 Adjust comments for base varying.
35360 (__expl_finite): Change alias to EXPL_FINITE.
35361 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35362 e_expl.S.
35363 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35364 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35366 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35368 USE_AS_EXP10L.
35369 (EXPL_FINITE): Likewise.
35370 (FLDLOG): Likewise.
35371 (c0): Likewise.
35372 (c1): Likewise.
35373 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35374 Adjust comments for base varying.
35375 (__expl_finite): Change alias to EXPL_FINITE.
35376 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35377 tests for bugs.
35378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35379
6c23e11c
JM
35380 [BZ #14064]
35381 * math/libm-test.inc (check_float_internal): Correct ulp
35382 calculation for subnormal expected results.
35383
29ba805c
AJ
353842012-05-06 Andreas Jaeger <aj@suse.de>
35385
35386 * Makeconfig (+math-flags): New, set to -frounding-math.
35387 (+cflags): Add +math-flags so that all of glibc gets compiled with
35388 it.
35389
35390 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35391
7b17aeda
JM
353922012-05-05 Joseph Myers <joseph@codesourcery.com>
35393
5779f134
JM
35394 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35395 Disable one test.
35396
41498f4d
JM
35397 [BZ #13787]
35398 [BZ #13922]
35399 [BZ #14036]
35400 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35401 (__ieee754_expl): Allow for and saturate large arguments.
35402 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35403 (u_threshold): Likewise.
35404 (__exp): Call __ieee754_exp before checking for overflow and
35405 underflow.
35406 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35407 (u_threshold): Likewise.
35408 (__expf): Call __ieee754_expf before checking for overflow and
35409 underflow.
35410 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35411 (u_threshold): Likewise.
35412 (__expl): Call __ieee754_expl before checking for overflow and
35413 underflow.
35414 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35415 (__ieee754_expl): Allow for and saturate large arguments.
35416 * math/libm-test.inc (exp_test): Add another test. Do not allow
35417 missing overflow exception on overflow.
35418 (expm1_test): Do not allow missing overflow exception on overflow.
35419
6698b8bf
JM
35420 * sysdeps/i386/fpu/e_expl.c: Move to ...
35421 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35422 rather than using inline asm.
35423 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35424 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35425 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35426
7b17aeda
JM
35427 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35428 (nice): Likewise.
35429 (poll): Likewise.
35430 (signal): Likewise.
35431 (time): Likewise.
35432 (times): Likewise.
35433
f7c85819
JM
354342012-05-04 Joseph Myers <joseph@codesourcery.com>
35435
35436 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35437 sysdeps/unix/common/syscalls.list.
35438 (fchmod): Likewise.
35439 (fchown): Likewise.
35440 (ftruncate): Likewise.
35441 (getrusage): Likewise.
35442 (gettimeofday): Likewise.
35443 (setpgid): Likewise.
35444 (setregid): Likewise.
35445 (setreuid): Likewise.
35446 (sigaction): Likewise.
35447 (truncate): Likewise.
35448 (vhangup): Likewise.
35449 * sysdeps/unix/common/syscalls.list: Remove file.
35450 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35451 * sysdeps/unix/sysv/linux/Implies: Likewise.
35452
336270d0
L
354532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35454
35455 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35457 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35458 Moved to ...
35459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35460 Here.
35461 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35462 to ...
35463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35464 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35465 to ...
35466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35467 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35468 to ...
35469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35470 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35471 to ...
35472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35473 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35474 to ...
35475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35476 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35477 to ...
35478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35479 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35480 to ...
35481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35482 Here.
35483 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35484 to ...
35485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35486 Here.
35487 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35488 to ...
35489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35490 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35491 Moved to ...
35492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35493 Here.
35494 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35495 to ...
35496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35497
d128e450
JM
354982012-05-04 Joseph Myers <joseph@codesourcery.com>
35499
fa8ee516
JM
35500 * sysdeps/unix/common/bits/dirent.h: Remove file.
35501 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35502
d128e450
JM
35503 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35504 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35505 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35506 * sysdeps/unix/bsd/isatty.c: Likewise.
35507 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35508 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35509 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35510
ff8faaf0 355112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35512
62881be4 35513 [BZ #13563]
31dc8730
AZ
35514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35515 long double comparison inaccuracies.
35516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35518
6fef930c
AS
355192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35520
35521 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35523
8f203e6c
JM
355242012-05-04 Joseph Myers <joseph@codesourcery.com>
35525
35526 [BZ #14049]
35527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35528 nonzero digits before rounding a hex value.
35529 * stdlib/tst-strtod.c (tests): Add another test.
35530
5197d9c2
AK
355312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35532
35533 * sysdeps/s390/fpu/libm-test-ulps: Update.
35534
f0c1dedf
AJ
355352012-05-03 Andreas Jaeger <aj@suse.de>
35536
35537 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35538 does not get optimized out.
35539 (malloc_opt_barrier): New.
35540
a65ef2ae 355412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35542 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35543
2b942cb7 35544 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35545 intermediate file deletion.
2b942cb7 35546 (generated): Add .symlist files.
a65ef2ae 35547
54b71e02
JM
355482012-05-03 Joseph Myers <joseph@codesourcery.com>
35549
35550 [BZ #13775]
35551 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35552 Redirect under this condition.
35553 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35554 [__USE_GNU] (__dprintf_chk): Not under this condition.
35555 [__USE_GNU] (__vdprintf_chk): Likewise.
35556 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35557 under this condition.
35558 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35559 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35560 [__USE_XOPEN2K8] (vdprintf): Likewise.
35561 [__USE_GNU] (__dprintf_chk): Not under this condition.
35562 [__USE_GNU] (__vdprintf_chk): Likewise.
35563 [__USE_GNU] (dprintf): Likewise.
35564 [__USE_GNU] (vdprintf): Likewise.
35565
d3dfcc41
RM
355662012-05-03 Roland McGrath <roland@hack.frob.com>
35567
35568 * elf/Makefile (common-generated): Set this instead of generated for
35569 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35570 $(all-built-dso)-derived lists.
35571
7ac30cc5
AJ
355722012-05-03 Andreas Jaeger <aj@suse.de>
35573
0c51e550
AJ
35574 * sysdeps/i386/fpu/libm-test-ulps: Update.
35575
7ac30cc5
AJ
35576 * FAQ: Removed.
35577 * FAQ.in: Likewise.
35578 * scripts/gen-FAQ.pl: Likewise.
35579 * manual/install.texi (Installation): Point to online location of
35580 FAQ.
35581 * Makefile (files-for-dist): Remove FAQ.
35582 (FAQ): Remove.
35583
d4c2917f
AM
355842012-05-02 Allan McRae <allan@archlinux.org>
35585
35586 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35587 (LDFLAGS-reldepmod5.so): Likewise.
35588 (LDFLAGS-reldep6mod1.so): Likewise.
35589 (LDFLAGS-reldep6mod4.so): Likewise.
35590 (LDFLAGS-reldep8mod3.so): Likewise.
35591 (LDFLAGS-unload4mod1.so): Likewise.
35592 (LDFLAGS-unload4mod2.so): Likewise.
35593 (LDFLAGS-tst-initorder): Likewise.
35594 (LDFLAGS-tst-initordera2.so): Likewise.
35595 (LDFLAGS-tst-initordera3.so): Likewise.
35596 (LDFLAGS-tst-initordera4.so): Likewise.
35597 (LDFLAGS-tst-initorderb2.so): Likewise.
35598 (LDFLAGS-noload): Likewise.
35599 (LDFLAGS-next): Likewise.
35600 (LDFLAGS-order2mod1.so): Likewise.
35601 (LDFLAGS-order2mod2.so): Likewise.
35602 (LDFLAGS-tst-initorder2): Likewise.
35603 (LDFLAGS-tst-initorder2a.so): Likewise.
35604 (LDFLAGS-tst-initorder2b.so): Likewise.
35605 (LDFLAGS-tst-initorder2c.so): Likewise.
35606 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35607
d77f993f
DM
356082012-05-02 David S. Miller <davem@davemloft.net>
35609
35610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35611
171a70b4
PP
356122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35613
35614 [BZ #14055]
35615 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35616
0be196ad
AJ
356172012-05-02 Andreas Jaeger <aj@suse.de>
35618
35619 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35620 since we manipulate rounding mode.
35621 (CPPFLAGS-test-idouble.c): Likewise.
35622 (CPPFLAGS-test-ifloat.c): Likewise.
35623 (CFLAGS-test-ldouble.c): Likewise.
35624 (CFLAGS-test-double.c): Likewise.
35625 (CFLAGS-test-float.c): Likewise.
35626 (CFLAGS-test-misc.c): Likewise.
35627 (CFLAGS-test-test-fenv.c): Likewise.
35628
4f9d04aa
AZ
356292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35630
2b942cb7
RM
35631 [BZ #2550]
35632 [BZ #2570]
35633 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35634 comparisons to determine direction to adjust input.
4f9d04aa 35635
82a79e7d
RM
356362012-05-01 Roland McGrath <roland@hack.frob.com>
35637
f5a01ca9
RM
35638 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35639 output to the target.
35640
90fe4186
RM
35641 * scripts/localplt.awk: New file.
35642 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35643 (check-localplt-CFLAGS): Variable removed.
35644 ($(all-built-dso:=.jmprel)): New static pattern rule.
35645 (generated): Add those targets.
35646 (localplt-built-dso): New variable.
35647 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35648
35649 * elf/check-localplt.c: File removed.
35650
82397ed6
RM
35651 * scripts/check-execstack.awk: New file.
35652 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35653 (check-execstack-CFLAGS): Variable removed.
35654 ($(objpfx)check-execstack.h): Target removed.
35655 ($(objpfx)execstack-default): New target.
35656 (generated): Add that instead of check-execstack.h.
35657 ($(all-built-dso:=.phdr)): New static pattern rule.
35658 (generated): Add those targets.
35659 * elf/check-execstack.c: File removed.
35660
82a79e7d
RM
35661 * scripts/check-textrel.awk: New file.
35662 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35663 (check-textrel-CFLAGS): Variable removed.
35664 (all-built-dso): Use := to define.o
35665 ($(all-built-dso:=.dyn)): New static pattern rule.
35666 (generated): Add those targets.
35667 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35668 * config.make.in (READELF): New substituted variable.
35669 * elf/check-textrel.c: File removed.
35670
62fde54f 356712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35672
615605c9
JM
35673 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35674 allow.
35675 * conform/data/ctype.h-data [C99-based standards] (isblank):
35676 Expect function.
35677 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35678 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35680 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35681 Specify type. Require positive value.
35682 (EILSEQ): Likewise.
35683 (ERANGE): Likewise.
35684 [ISO || POSIX] (EILSEQ): Do not expect.
35685 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35686 Specify type. Require positive value.
35687 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35688 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35689 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35690 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35691 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35692 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35693 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35694 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35695 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35696 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35697 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35698 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35699 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35701 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35702 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35703 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35704 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35707 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35709 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35710 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35716 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35717 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35718 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35721 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35723 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35724 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35725 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35726 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35727 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35728 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35729 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35730 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35731 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35732 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35733 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35734 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35735 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35736 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35737 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35738 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35739 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35740 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35746 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35747 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35752 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35754 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35755 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35761 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35762 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35763 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35764 Require >= 2.
35765 (FLT_ROUNDS): Expect as macro, not constant.
35766 (FLT_MANT_DIG): Use macro-int-constant.
35767 (DBL_MANT_DIG): Likewise.
35768 (LDBL_MANT_DIG): Likewise.
35769 (FLT_DIG): Likewise.
35770 (DBL_DIG): Likewise.
35771 (LDBL_DIG): Likewise.
35772 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35773 (DBL_MIN_EXP): Likewise.
35774 (LDBL_MIN_EXP): Likewise.
35775 (FLT_MAX_EXP): Use macro-int-constant.
35776 (DBL_MAX_EXP): Likewise.
35777 (LDBL_MAX_EXP): Likewise.
35778 (FLT_MAX_10_EXP): Likewise.
35779 (DBL_MAX_10_EXP): Likewise.
35780 (LDBL_MAX_10_EXP): Likewise.
35781 (FLT_MAX): Use macro-constant.
35782 (DBL_MAX): Likewise.
35783 (LDBL_MAX): Likewise.
35784 (FLT_EPSILON): Use macro-constant. Give upper bound.
35785 (DBL_EPSILON): Likewise.
35786 (LDBL_EPSILON): Likewise.
35787 (FLT_MIN): Likewise.
35788 (DBL_MIN): Likewise.
35789 (LDBL_MIN): Likewise.
35790 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35791 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35792 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35793 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35794 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35795 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35796 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35797 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35798 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35799 [ISO11] (FLT_TRUE_MIN): Likewise.
35800 [ISO11] (LDBL_TRUE_MIN): Likewise.
35801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35802 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35803 (SCHAR_MIN): Use macro-int-constant. Specify type.
35804 (SCHAR_MAX): Likewise.
35805 (UCHAR_MAX): Likewise.
35806 (CHAR_MIN): Likewise.
35807 (CHAR_MAX): Likewise.
35808 (MB_LEN_MAX): Use macro-int-constant.
35809 (SHRT_MIN): Use macro-int-constant. Specify type.
35810 (SHRT_MAX): Likewise.
35811 (USHRT_MAX): Likewise.
35812 (INT_MAX): Likewise.
35813 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35814 bound negative.
35815 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35816 bound with "U".
35817 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35818 bound with "L".
35819 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35820 bound negative. Suffix upper bound with "L".
35821 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35822 bound with "UL".
35823 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35824 Specify type.
35825 [C99-based standards] (LLONG_MAX): Likewise.
35826 [C99-based standards] (ULLONG_MAX): Likewise.
35827 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35828 == 0.
35829 [ISO11] (max_align_t): Require type.
35830 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35831
c9140a62
JM
35832 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35833 from $CFLAGS, without defining away __attribute__ calls.
35834 (checknamespace): Use $CFLAGS_namespace.
35835
9af0bf29
JM
35836 * conform/conformtest.pl (@keywords): Only include C99 keywords
35837 for standards based on C99 or C11.
35838
343222a2
JM
35839 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35840 Disable tests.
35841 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35842 UNIX98]: Likewise.
35843
661f8cf0
JM
35844 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35845 usability of symbols in #if.
35846
ee74b9cb
JM
35847 * conform/conformtest.pl: If macro or constant types start
35848 "promoted:", expect the symbol to be of the following type
35849 promoted by the integer promotions.
62fde54f 35850
aafc49b3
JM
35851 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35852 in one place. Also handle "macro-constant".
35853
fefdf574
JM
35854 * conform/conformtest.pl: Only accept expected macro values with
35855 "==". Parse all "macro" lines in one place.
35856 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35857
f2d922fe
JM
35858 * conform/conformtest.pl: Handle braced types on "constant" lines
35859 instead of handling "typed-constant".
35860 * conform/data/signal.h-data: Use "constant" instead of
35861 "typed-constant".
35862
d22956c9
JM
35863 * conform/conformtest.pl: Handle "optional-" at start of lines in
35864 one place rather than duplicating several cases. Handle each
35865 format of "macro" line with initial "optional-".
35866
028e2e38
JM
35867 * conform/conformtest.pl: Only accept expected constant or
35868 optional-constant values with "==". Parse all "constant" lines in
35869 one place. Parse all "optional-constant" lines in one place.
35870 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35871 * conform/data/fmtmsg.h-data: Likewise.
35872 * conform/data/netinet/in.h-data: Likewise.
35873 * conform/data/tar.h-data: Likewise.
35874 * conform/data/limits.h-data: Use "==" form on "constant" and
35875 "optional-constant" lines.
35876
1b8f2850
JM
35877 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35878 Use -std=c99 for XOPEN2K.
35879 (@knownproblems): Remove.
35880 (newtoken): Don't check %isknown.
35881
a05a144b
JM
35882 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35883 Do not expect macro.
35884 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35896 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35897 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35914 [XPG3] (acosh): Likewise.
35915 [XPG3] (asinh): Likewise.
35916 [XPG3] (atanh): Likewise.
35917 [XPG3] (cbrt): Likewise.
35918 [XPG3] (expm1): Likewise.
35919 [XPG3] (ilogb): Likewise.
35920 [XPG3] (log1p): Likewise.
35921 [XPG3] (logb): Likewise.
35922 [XPG3] (nextafter): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35925 [XPG3] (remainder): Likewise.
35926 [XPG3] (rint): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35934 [UNIX98 || XOPEN2K] (scalb): Expect.
35935 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35936 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36072
73c5ebe3
JM
36073 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36074 _XOPEN_SOURCE_EXTENDED for XPG4.
36075
39c33b6c
JM
36076 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36077
62fde54f
JM
36078 * Makeconfig (localtime): Remove variable.
36079 (inst_localtime-file): Likewise.
36080
0741d64c
AS
360812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36082
36083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36084 Update.
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36086 Update.
36087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36088 Update.
36089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36090 Update.
36091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36092 Update.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36094 Update.
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36096 Update.
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36098 Update.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36100 Update.
36101
7cb029ee
JM
361022012-05-01 Joseph Myers <joseph@codesourcery.com>
36103
36104 [BZ #2550]
36105 [BZ #2570]
36106 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36107 comparisons to determine direction to adjust input.
36108 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36109 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36111 Likewise.
36112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36113 Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36115 Likewise.
36116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36118 Likewise.
36119 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36120 Likewise.
36121 * math/libm-test.inc (nexttoward_test): Add more tests.
36122
412bd966
AS
361232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36124
36125 [BZ #14040]
36126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36127 in version GLIBC_2.1, not GLIBC_2.0.
36128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36129 Likewise.
36130
9568c0c2
JM
361312012-04-30 Joseph Myers <joseph@codesourcery.com>
36132
adfbc8ac
JM
36133 [BZ #13942]
36134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36135 (1 - x) * (1 + x).
36136 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36137 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36138 * math/libm-test.inc (acos_test): Add more tests.
36139 (asin_test): Likewise.
36140 * sysdeps/i386/fpu/libm-test-ulps: Update.
36141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36142
5ba3cc69
JM
36143 [BZ #14034]
36144 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36145 of square root.
36146 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36147 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36148 * math/libm-test.inc (acos_test_tonearest): New function.
36149 (acos_test_towardzero): Likewise.
36150 (acos_test_downward): Likewise.
36151 (acos_test_upward): Likewise.
36152 (asin_test_tonearest): Likewise.
36153 (asin_test_towardzero): Likewise.
36154 (asin_test_downward): Likewise.
36155 (asin_test_upward): Likewise.
36156 (main): Call the new functions.
36157 * sysdeps/i386/fpu/libm-test-ulps: Update.
36158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36159
9568c0c2
JM
36160 [BZ #13884]
36161 [BZ #13924]
36162 * math/e_exp10.c: Include <float.h>.
36163 (__ieee754_exp10): Handle underflow here rather than multiplying
36164 large negative argument by M_LN10.
36165 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36166 of __ieee754_expf.
36167 * math/e_exp10l.c: Include <float.h>.
36168 (__ieee754_exp10l): Handle underflow here rather than multiplying
36169 large negative argument by M_LN10l.
36170 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36171 spurious overflow exception on underflow.
36172
5ac3ea17
MP
361732012-04-29 Marek Polacek <polacek@redhat.com>
36174
36175 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36176 (__fortify_function): New macro.
36177 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36178 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36179 __extern_always_inline.
36180 * libio/bits/stdio2.h: Likewise.
36181 * libio/bits/stdio.h: Likewise.
36182 * string/string.h: Likewise.
36183 * string/bits/string3.h: Likewise.
36184 * include/stdio.h: Likewise.
36185 * stdlib/bits/stdlib.h: Likewise.
36186 * stdlib/stdlib.h: Likewise.
36187 * rt/bits/mqueue2.h: Likewise.
36188 * rt/mqueue.h: Likewise.
36189 * posix/bits/unistd.h: Likewise.
36190 * posix/unistd.h: Likewise.
36191 * io/bits/poll2.h: Likewise.
36192 * io/bits/fcntl2.h: Likewise.
36193 * io/fcntl.h: Likewise.
36194 * io/sys/poll.h: Likewise.
36195 * misc/bits/syslog.h: Likewise.
36196 * misc/bits/syslog-ldbl.h: Likewise.
36197 * misc/sys/syslog.h: Likewise.
36198 * socket/bits/socket2.h: Likewise.
36199 * socket/sys/socket.h: Likewise.
36200 * debug/tst-chk1.c: Likewise.
36201 * wcsmbs/bits/wchar2.h: Likewise.
36202 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36203 * wcsmbs/wchar.h: Likewise.
36204
ecf0ebfb
AJ
362052012-04-29 Andreas Jaeger <aj@suse.de>
36206
36207 * Makerules (tests): Remove enable-check-abi protection.
36208 (check-abi-warn): Remove.
36209 (check-abi-%): Remove check-abi-warn usage.
36210
36211 * configure.in: Remove check-abi configure option.
36212 * configure: Regenerated.
36213 * config.make.in (enable-check-abi): Remove.
36214
6d5c57fa
AS
362152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36216
24c5d07e 36217 [BZ #14033]
ded5180a
AS
36218 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36219 double functions to double *_finite functions.
36220
7e0d315d
AS
36221 [BZ #13941]
36222 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36223 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36224 LDBL_MIN_EXP.
36225 * stdio-common/Makefile (tests): Add tst-sprintf3.
36226 * stdio-common/tst-sprintf3.c: New file.
36227
6d5c57fa
AS
36228 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36229 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36230
0749ff8b
JM
362312012-04-28 Joseph Myers <joseph@codesourcery.com>
36232
36233 * conform/conformtest.pl: Remove duplicate typed-constant
36234 handling.
36235
8dbd5d7b
DM
362362012-04-28 David S. Miller <davem@davemloft.net>
36237
36238 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36239 (check-abi-%): Remove AWK script prerequisite and explicit
36240 abilist directory.
36241 (check-abi): Rewrite to just diff the symlist with the abilist.
36242 (config-tls, config-abi-config): Delete, no longer used.
36243 (update-abi-%): Remove AWK script and explicit abilist directory.
36244 (update-abi): Rewrite to simply compare and conditionally copy the
36245 symlist and the sysdep abilist file. Remove update-abi-config
36246 checks.
36247 * abilist/ld.abilist: Remove.
36248 * abilist/libBrokenLocale.abilist: Remove.
36249 * abilist/libanl.abilist: Remove.
36250 * abilist/libcrypt.abilist: Remove.
36251 * abilist/libdl.abilist: Remove.
36252 * abilist/librt.abilist: Remove.
36253 * abilist/libthread_db.abilist: Remove.
36254 * abilist/libutil.abilist: Remove.
36255 * scripts/extract-abilist.awk: Remove.
36256 * scripts/merge-abilist.awk: Remove.
36257 * sysdeps/generic/libcidn.abilist: New file.
36258 * sysdeps/generic/libnss_compat.abilist: New file.
36259 * sysdeps/generic/libnss_db.abilist: New file.
36260 * sysdeps/generic/libnss_dns.abilist: New file.
36261 * sysdeps/generic/libnss_files.abilist: New file.
36262 * sysdeps/generic/libnss_hesiod.abilist: New file.
36263 * sysdeps/generic/libnss_nis.abilist: New file.
36264 * sysdeps/generic/libnss_nisplus.abilist: New file.
36265 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36266 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36267 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36268 file.
36269 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36270 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36271 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36272 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36273 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36274 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36275 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36276 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36277 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36278 file.
36279 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36280 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36281 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36282 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36283 file.
36284 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36285 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36286 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36287 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36288 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36289 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36290 file.
36291 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36292 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36293 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36294 file.
36295 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36297 New file.
36298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36299 New file.
36300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36301 New file.
36302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36303 New file.
36304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36305 New file.
36306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36307 New file.
36308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36309 New file.
36310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36311 New file.
36312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36313 New file.
36314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36315 New file.
36316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36317 New file.
36318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36319 New file.
36320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36321 New file.
36322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36323 file.
36324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36325 New file.
36326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36327 New file.
36328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36329 file.
36330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36331 New file.
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36333 New file.
36334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36335 file.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36337 New file.
36338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36339 New file.
36340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36341 New file.
36342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36343 New file.
36344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36345 New file.
36346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36347 New file.
36348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36350 file.
36351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36352 New file.
36353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36354 file.
36355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36356 file.
36357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36358 file.
36359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36360 file.
36361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36362 file.
36363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36364 New file.
36365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36366 file.
36367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36368 file.
36369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36370 New file.
36371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36372 file.
36373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36375 file.
36376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36377 New file.
36378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36379 file.
36380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36381 file.
36382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36383 file.
36384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36385 file.
36386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36387 file.
36388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36389 New file.
36390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36391 file.
36392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36393 file.
36394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36395 New file.
36396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36397 file.
36398 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36399 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36400 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36401 file.
36402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36403 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36404 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36405 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36406 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36407 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36408 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36409 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36410 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36411 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36414 file.
36415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36416 New file.
36417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36418 file.
36419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36420 file.
36421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36422 file.
36423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36424 file.
36425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36426 file.
36427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36428 New file.
36429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36430 New file.
36431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36432 file.
36433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36434 New file.
36435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36436 file.
36437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36439 file.
36440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36441 New file.
36442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36443 file.
36444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36445 file.
36446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36447 file.
36448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36449 file.
36450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36451 file.
36452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36453 New file.
36454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36455 New file.
36456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36457 file.
36458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36459 New file.
36460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36461 file.
36462
41d73a1b
JM
364632012-04-28 Joseph Myers <joseph@codesourcery.com>
36464
36465 * conform/conformtest.pl: Fix typo in handling typed-constant from
36466 allow-header.
36467
28aeeda4
JM
364682012-04-27 Joseph Myers <joseph@codesourcery.com>
36469
adae8f5e
JM
36470 * README: Cut down references to pre-2.6 Linux kernels and
36471 Linuxthreads. Update lists of configurations in libc and ports
36472 and sort alphabetically. Say "or newer" with Linux kernel version
36473 requirements.
36474
28aeeda4
JM
36475 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36476
a462cb63
RA
364772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36478
36479 [BZ #887]
36480 * math/libm-test.inc (logb_test_downward): New test to expose
36481 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36482 rounding mode.
36483
6ad3493e
JM
364842012-04-27 Joseph Myers <joseph@codesourcery.com>
36485
36486 [BZ #14027]
36487 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36488 to be done.
36489 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36490 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36491
2ce4f015
JM
364922012-04-26 Joseph Myers <joseph@codesourcery.com>
36493
5aeb141a
JM
36494 * sysdeps/unix/i386/brk.S: Remove file.
36495 * sysdeps/unix/i386/dl-brk.S: Likewise.
36496 * sysdeps/unix/i386/pipe.S: Likewise.
36497 * sysdeps/unix/i386/sigreturn.S: Likewise.
36498 * sysdeps/unix/i386/syscall.S: Likewise.
36499 * sysdeps/unix/i386/vfork.S: Likewise.
36500 * sysdeps/unix/i386/wait.S: Likewise.
36501
7143acae
JM
36502 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36503 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36504
2ce4f015
JM
36505 * configure.in (arm*-none*): Do not allow without
36506 --enable-hacker-mode.
36507 (netbsd*): Remove case setting base_os.
36508 (386bsd*): Likewise.
36509 (freebsd*): Likewise.
36510 (bsdi*): Likewise.
36511 (osf*): Likewise.
36512 (sunos*): Likewise.
36513 (ultrix*): Likewise.
36514 (newsos*): Likewise.
36515 (dynix*): Likewise.
36516 (*bsd*): Likewise.
36517 (sysv*): Likewise.
36518 (isc*): Likewise.
36519 (esix*): Likewise.
36520 (sco*): Likewise.
36521 (minix*): Likewise.
36522 (irix4*): Likewise.
36523 (irix6*): Likewise.
36524 (solaris[2-9]*): Likewise.
36525 (none): Likewise.
36526 * configure: Regenerated.
36527
0ac229c8
AZ
365282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36529
36530 [BZ #11521]
36531 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36532 overflow or cancellation in calculating denominator.
36533 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36534 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36535 down expression to avoid unexpected rounding in newer GCCs.
36536 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36537
33f244f4
DM
365382012-04-26 David S. Miller <davem@davemloft.net>
36539
36540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36541 long-double compat symbols.
36542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36555
cfa1f3e8
DM
365562012-04-25 David S. Miller <davem@davemloft.net>
36557
36558 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36559 HWCAP_* values only after the memory barriers have been defined.
36560 (atomic_full_barrier): Define.
36561 (atomic_read_barrier): Define.
36562 (atomic_write_barrier): Define.
36563
6e236b92
SP
365642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36565
36566 * shlib-versions: Add libgcc_s version information.
36567 * sysdeps/generic/libgcc_s.h: Remove.
36568 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36569 libgcc_s.h.
36570 * sysdeps/gnu/unwind-resume.c: Likewise.
36571 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36572
aab39a09
DM
365732012-04-25 David S. Miller <davem@davemloft.net>
36574
36575 * sysdeps/unix/sparc/brk.S: Delete.
36576 * sysdeps/unix/sparc/dl-brk.S: Delete.
36577 * sysdeps/unix/sparc/pipe.S: Delete.
36578 * sysdeps/unix/sparc/sysdep.S: Delete.
36579 * sysdeps/unix/sparc/sysdep.h: Delete.
36580 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36581 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36582 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36584 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36585 (JUMPTARGET): Remove.
36586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36587 sysdeps/unix/sparc/sysdep.h
36588 (ENTRY, END): Remove.
36589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36590
a3cc4f48
JM
365912012-04-25 Joseph Myers <joseph@codesourcery.com>
36592
2ed8cda2
JM
36593 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36594 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36595 -DIS_IN_build.
36596
35d76d59
JM
36597 * timezone/README: Update upstream location and email address for
36598 tzcode and tzdata.
36599 * timezone/zdump.c: Update from tzcode 2012b.
36600 * timezone/zic.c: Likewise.
36601
a3cc4f48
JM
36602 * configure.in (libc_cv_as_needed): Remove test.
36603 * configure: Regenerated.
36604 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36605 conditional definition.
36606 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36607 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36608 * config.make.in (have-as-needed): Remove variable.
36609
ceab42c3
SP
366102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36611 Paul Pluzhnikov <ppluzhnikov@google.com>
36612
36613 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36614 strings correctly.
36615
3ce2865f
CLT
366162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36617
36618 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36619 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36620 * sysdeps/sh/strlen.S: Likewise.
36621
f37e0d68
JM
366222012-04-24 Joseph Myers <joseph@codesourcery.com>
36623
ae186e9a
JM
36624 * sysdeps/unix/fork.S: Remove file.
36625 * sysdeps/unix/i386/fork.S: Likewise.
36626 * sysdeps/unix/sparc/fork.S: Likewise.
36627
b96914af
JM
36628 * sysdeps/unix/system.c: Remove file.
36629 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36630
f37e0d68
JM
36631 * sysdeps/unix/getegid.S: Remove file.
36632 * sysdeps/unix/geteuid.S: Likewise.
36633
87ef29ca
RM
366342012-04-24 Roland McGrath <roland@hack.frob.com>
36635
83bcd236
RM
36636 * scripts/check-localplt.awk: New file.
36637 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36638 of diff.
36639 * scripts/data/localplt-generic.data: Add a comment.
36640
87ef29ca
RM
36641 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36642 NODE when __dir_mkfile failed.
36643 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36644 Reported by Ludovic Courtès <ludo@gnu.org>.
36645
e5a6e567
AJ
366462012-04-24 Andreas Jaeger <aj@suse.de>
36647
36648 * Makerules (common-clean): Also remove gen-as-const-headers
36649 files.
36650
c1820385
JM
366512012-04-24 Joseph Myers <joseph@codesourcery.com>
36652
36653 * Makerules (native-compile): Do not change working directory for
36654 build. Use $(OUTPUT_OPTION) in command.
36655 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36656
94e02fc4
AZ
366572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36658
36659 [BZ #13886]
36660 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36661 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36662 * math/libm-test.inc (floor_test): Add more tests.
36663 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36664
3a533ca3
JM
366652012-04-24 Joseph Myers <joseph@codesourcery.com>
36666
940ab4b3
JM
36667 * sysdeps/unix/getdents.c: Remove file.
36668 * sysdeps/unix/sysv/getdents.c: Likewise.
36669 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36670
90e037bd
JM
36671 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36672 sysdeps/unix/mman/syscalls.list.
36673 (mmap): Likewise.
36674 (mprotect): Likewise.
36675 (msync): Likewise.
36676 (munmap): Likewise.
36677 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36678 * sysdeps/unix/mman/syscalls.list: Remove.
36679 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36680
3a533ca3
JM
36681 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36682 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36683 * configure: Regenerated.
36684 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36685 $(libgcc_s_suffix).
36686 * config.make.in (libgcc_s_suffix): Remove variable.
36687
1ad743de
JM
366882012-04-23 Joseph Myers <joseph@codesourcery.com>
36689
4ad451e2
JM
36690 * sysdeps/unix/sysv/gethostname.c: Move to ...
36691 * sysdeps/posix/gethostname.c: ... here.
36692
5e37ce39
JM
36693 * sysdeps/unix/execve.S: Remove file.
36694
1ad743de
JM
36695 * sysdeps/unix/_exit.S: Remove file.
36696
4e681b5b
AJ
366972012-04-23 Andreas Jaeger <aj@suse.de>
36698
36699 [BZ #13739]
36700 * manual/Makefile: Remove make dist support, there's no
36701 need for a stand-alone documentation tar ball.
36702 (TEXI2DVI): Define always, it's not in Makeconfig.
36703 (dist): Removed.
36704 (tar-it): Removed.
36705 (edition): Removed.
36706 (glibc-doc-$(edition).tar): Removed
36707 (%.Z): Removed.
36708 (%.gz): Removed.
36709 (%.uu): Removed.
36710 (ETAGS): Remove, it's in Makeconfig.
36711 (move-if-change): Remove, it's in Makeconfig.
36712
38686a03 367132012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36714
36715 [BZ #13970]
36716 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36717 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36718 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36719 (strtod_l, strtof_l, strtold_l): Remove __wur.
36720 It is not necessarily an error to ignore strtol's return value.
36721 One can reliably look at the stored endptr to decide whether
36722 the number had valid syntax.
36723
7c0616fa
AJ
367242012-04-21 Andreas Jaeger <aj@suse.de>
36725
803cb6b7 36726 [BZ #13739]
7c0616fa
AJ
36727 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36728
b0fe253f
JM
367292012-04-21 Joseph Myers <joseph@codesourcery.com>
36730
36731 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36732 * sysdeps/unix/sysv/Versions: Remove file.
36733
8280f22d
MT
367342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36735
36736 [BZ #13927]
36737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36738
75ce411f 367392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36740
36741 [BZ #7064]
36742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36743 version from __vm86.
36744
097d59fa
JM
367452012-04-20 Joseph Myers <joseph@codesourcery.com>
36746
a90f3bcb
JM
36747 * sysdeps/unix/common/lxstat.c: Remove file.
36748 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36749
edc7ea78
JM
36750 * sysdeps/unix/sysv/Makefile: Remove file.
36751
cb78c221
JM
36752 * sysdeps/unix/sysv/direct.h: Remove file.
36753
efa6a45f
JM
36754 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36755 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36756 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36757 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36758 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36759 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36760 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36761
9c9f2d0c
JM
36762 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36763
4541c83b
JM
36764 * sysdeps/unix/xmknod.c: Remove file.
36765 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36766
f5d153a0
JM
36767 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36768
aa746595
JM
36769 * sysdeps/unix/sysv/i386/time.S: Remove file.
36770
cce5905e
JM
36771 * sysdeps/unix/fxstat.c: Remove file.
36772 * sysdeps/unix/xstat.c: Likewise.
36773 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36774
37fa3841
JM
36775 * sysdeps/unix/sysv/sigaction.c: Remove file.
36776
ff1962a3
JM
36777 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36778 (sysdep_headers): Remove variable.
36779 [termio.h not in sysdep_headers] (generated): Likewise.
36780 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36781 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36782 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36783 * sysdeps/unix/sysv/tcflow.c: Likewise.
36784 * sysdeps/unix/sysv/tcflush.c: Likewise.
36785 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36786 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36787 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36788 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36789 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36790
e7740d31
JM
36791 * sysdeps/unix/siglist.c: Remove file.
36792
ee06f18b
JM
36793 * sysdeps/unix/getppid.S: Remove file.
36794
097d59fa
JM
36795 * sysdeps/unix/mkdir.c: Remove file.
36796 * sysdeps/unix/rmdir.c: Likewise.
36797
ff3d51ec
AS
367982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36799
36800 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36801 ERR_MAX value.
36802 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36803 errlist-compat value.
36804
50f81fd7
DM
368052012-04-18 David S. Miller <davem@davemloft.net>
36806
36807 * sysdeps/generic/memcopy.h (reg_char): Delete.
36808 * debug/strcat_chk.c: Use char, not reg_char.
36809 * debug/strcpy_chk.c: Likewise.
36810 * debug/strncat_chk.c: Likewise.
36811 * debug/strncpy_chk.c: Likewise.
36812 * string/memchr.c: Likewise.
36813 * string/memrchr.c: Likewise.
36814 * string/rawmemchr.c: Likewise.
36815 * string/strcat.c: Likewise.
36816 * string/strchr.c: Likewise.
36817 * string/strchrnul.c: Likewise.
36818 * string/strcmp.c: Likewise.
36819 * string/strcpy.c: Likewise.
36820 * string/strncat.c: Likewise.
36821 * string/strncmp.c: Likewise.
36822 * string/strncpy.c: Likewise.
36823
8ff41c46
WS
368242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36825
36826 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36827 __builtin_memcopy is called when src and dest ranges are known to not
36828 overlap.
36829
6b652f46
WS
368302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36831
36832 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36833 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36834 fwd_align_merge macro call.
36835 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36836 bwd_align_merge macro call.
36837 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36838
b282631e
WS
368392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36840
36841 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36842 bwd_align_merge macros.
36843 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36844 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36845 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36846
95aa737c
DM
368472012-04-18 David S. Miller <davem@davemloft.net>
36848
36849 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36850
7a99a614
AJ
368512012-04-18 Andreas Jaeger <aj@suse.de>
36852
36853 [BZ# 6794]
36854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36855 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36856 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36857
36858 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36859 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36860 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36861
36862 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36863 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36864 Adjust for changed ldbl-128 files.
36865
36866 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36867 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36868 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36869
e5270c23
DM
368702012-04-17 David S. Miller <davem@davemloft.net>
36871
36872 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36873
fb5e92c9
AS
368742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36875
36876 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36877 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36878 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36879 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36880 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36881 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36882
76da7265
AZ
368832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36884
36885 [BZ #6794]
36886 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36887 * math/libm-test.inc: Add ilogb errno and exception tests.
36888 * math/w_ilogb.c: New file: ilogb wrapper.
36889 * math/w_ilogbf.c: New file: ilogbf wrapper.
36890 * math/w_ilogbl.c: New file: ilogbl wrapper.
36891 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36892 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36893 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36894 exception being thrown with 0.0 as argument.
36895 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36896 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36897 exception being thrown with 0.0 as argument.
36898 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36899 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36900 exception being thrown with 0.0 as argument.
36901 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36902 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36903 exception being thrown with 0.0 as argument.
36904 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36905 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36906 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36907 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36909 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36910 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36911 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36912 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36913
0396e69d
PB
369142012-04-17 Petr Baudis <pasky@ucw.cz>
36915
36916 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36917 with altivec.
36918
750b5926
MP
369192012-04-16 Marek Polacek <polacek@redhat.com>
36920
36921 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36922
751728a1
MP
369232012-04-16 Marek Polacek <polacek@redhat.com>
36924
36925 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36926 operands of fdivp instruction.
36927
34a27407
L
369282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36929
36930 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36931 * elf/tst-auditmod3b.c: Likewise.
36932 * elf/tst-auditmod4b.c: Likewise.
36933 * elf/tst-auditmod5b.c: Likewise.
36934 * elf/tst-auditmod6b.c: Likewise.
36935 * elf/tst-auditmod6c.c: Likewise.
36936 * elf/tst-auditmod7b.c: Likewise.
36937 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36938 * sysdeps/x86_64/preconfigure.in: Likewise.
36939 * sysdeps/x86_64/preconfigure: Regenerated.
36940
7e73e17d
L
369412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36942
36943 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36944 __ILP32__.
36945
c7a6ab72
AB
369462012-04-13 Antoine Balestrat <merkil33@gmail.com>
36947
36948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36949 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36950
a9e8e0e0
CL
369512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36952
36953 [BZ #13973]
36954 * locale/iso-639.def: Fix gl language name. Spotted by
36955 Yaron Shahrabani.
36956
ec98af7d
RM
369572012-04-12 Roland McGrath <roland@hack.frob.com>
36958
36959 [BZ #2074]
36960 * libio/libio.h (__io_write_fn): Update comment.
36961
247c3ede
PB
369622012-04-12 Petr Baudis <pasky@ucw.cz>
36963
36964 [BZ #2074]
36965 * stdio.texi (Hook Functions): The user provided writer function
36966 is not allowed to return -1.
36967
55939d6d
DM
369682012-04-11 David S. Miller <davem@davemloft.net>
36969
36970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36971
90020f5a
MF
369722012-04-11 Mike Frysinger <vapier@gentoo.org>
36973
36974 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36975 Add a leading slash to rtkaio.
36976
288f9098
JM
369772012-04-11 Jim Meyering <meyering@redhat.com>
36978
90020f5a
MF
36979 [BZ #11959]
36980 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36981 It is not necessarily an error to ignore fwrite's return
36982 value. One can reliably use ferror to test for errors after
36983 the fact.
288f9098 36984
4be2b570
L
369852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36986
36987 * bits/types.h (__snseconds_t): New type.
36988 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36989
36990 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36992 (__SNSECONDS_T_TYPE): Likewise.
36993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36994 (__SNSECONDS_T_TYPE): Likewise.
36995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36996 (__SNSECONDS_T_TYPE): Likewise.
36997
288f9098 369982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36999
37000 [BZ #2636]
37001 * manual/time.texi (Processor Time): Return type of times is
37002 elapsed real time since an arbitrary point in the past.
37003 (CPU Time): Move CLK_TCK from here...
37004 (Processor Time): ...to here. Correct description.
37005 * manual/conf.texi (Constants for Sysconf): Correct description of
37006 _SC_CLK_TCK.
37007
d7dd4413
DM
370082012-04-10 David S. Miller <davem@davemloft.net>
37009
37010 [BZ #13967]
37011 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37012 where the is a gap between DT_REL(A) and DT_JMPREL.
37013
b46068fc
L
370142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37015
37016 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37017 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37018 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37019
73d65cc3
SP
370202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37021
37022 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37023 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37024 (dl_main): Handle --inhibit-cache.
37025 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37026 _dl_inhibit_cache.
37027 * elf/dl-load.c (_dl_map_object): Use it.
37028 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37029
bcc8d661
JM
370302012-04-09 Joseph Myers <joseph@codesourcery.com>
37031
8f9a2fae
JM
37032 [BZ #13872]
37033 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37034 (__ieee754_powl): Saturate large exponents rather than testing for
37035 overflow of y*log2(x).
37036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37037 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37038 exceptions.
37039
bcc8d661
JM
37040 [BZ #11521]
37041 * math/s_ctan.c: Include <float.h>.
37042 (__ctan): Avoid internal overflow or cancellation in calculating
37043 denominator.
37044 * math/s_ctanf.c: Likewise.
37045 * math/s_ctanl.c: Likewise.
37046 * math/s_ctanh.c: Likewise.
37047 * math/s_ctanhf.c: Likewise.
37048 * math/s_ctanhl.c: Likewise.
37049 * math/libm-test.inc (ctan_test): Add more tests.
37050 (ctanh_test): Likewise.
37051 * sysdeps/i386/fpu/libm-test-ulps: Update.
37052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37053
823fbbb4
AJ
370542012-04-09 Andreas Jaeger <aj@suse.de>
37055
03879793
AJ
37056 [BZ #6894]
37057 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37058 is an optional BSD extension.
37059
823fbbb4
AJ
37060 [BZ #10254]
37061 * manual/stdio.texi (Opening Streams): Document additional fopen
37062 parameters.
37063
8de131cb
RM
370642012-04-09 Roland McGrath <roland@hack.frob.com>
37065
37066 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37067 %eax without telling the compiler.
37068
c0ed9d7d
CD
370692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37070
37071 [BZ # 13963]
37072 * manual/install.texi: Use sourceware.org.
37073
c483f6b4
JM
370742012-04-09 Joseph Myers <joseph@codesourcery.com>
37075
d7dd9453
JM
37076 [BZ #13873]
37077 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37078 (__ieee754_pow): Generate overflow and underflow using huge*huge
37079 and tiny*tiny rather than just returning constant infinity or zero
37080 for large exponents.
37081 * math/libm-test.inc (pow_test): Require overflow exceptions for
37082 applicable cases of large exponents.
37083
c483f6b4
JM
37084 [BZ #706]
37085 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37086 (__ieee754_pow): Use iterative multiplication algorithm only for
37087 integer exponents with absolute value below 1024. Check for odd
37088 integer exponents when using algorithm for real exponents.
37089 * math/libm-test.inc (pow_test): Add more tests.
37090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37091
d2de7579
JM
370922012-04-08 Joseph Myers <joseph@codesourcery.com>
37093
37094 [BZ #13705]
37095 * math/libm-test.inc (exp_test): Do not allow overflow exception
37096 on underflow test.
37097
f77f1232
AJ
370982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37099
37100 [BZ #13705]
37101 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37102 instead of __kernel_standard_f.
37103
3884932b
MF
371042012-04-08 Mike Frysinger <vapier@gentoo.org>
37105
37106 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37107 * sysdeps/x86_64/memset_chk.S: Likewise.
37108
54472e9c
AJ
371092012-04-08 Andreas Jaeger <aj@suse.de>
37110
6ab0fbfc
AJ
37111 [BZ #10153]
37112 * manual/startup.texi (Environment Access): Describe return value
37113 for putenv and setenv.
37114
61efba8c
AJ
37115 [BZ #6895]
37116 * manual/filesys.texi (Directory Entries): Add description for
37117 DT_LNK.
37118
95c3f29a
AJ
37119 [BZ #6890]
37120 * manual/filesys.texi (Directory Entries): Clarify that it's file
37121 system not operating system in the description of DT_UNKNOWN.
37122
54472e9c
AJ
37123 [BZ #6578]
37124 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37125
624254b1
SC
371262012-04-08 Stephen Compall <s11@member.fsf.org>
37127
37128 [BZ #6649]
37129 * manual/llio.texi (Opening and Closing Files): Add cross
37130 reference to explain mode argument.
37131
1e4920e0
MF
371322012-04-07 Mike Frysinger <vapier@gentoo.org>
37133
37134 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37135 * sysdeps/x86_64/memset_chk.S: Likewise.
37136
5ed848f3
DM
371372012-04-07 David S. Miller <davem@davemloft.net>
37138
37139 * elf/elf.h (R_SPARC_WDISP10): Define.
37140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37141 R_SPARC_SIZE32.
37142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37143 R_SPARC_SIZE64 and R_SPARC_H34.
37144
96154cd8
CD
371452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37146
37147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37148 conditions and remove no longer applicable assertion.
37149
9904dc47
L
371502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37151
37152 * bits/byteswap.h: Include <features.h>.
37153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37155
f8887d0a
L
371562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37157
37158 * bits/byteswap.h (__bswap_16): Removed.
37159 Include <bits/byteswap-16.h> to get __bswap_16.
37160 * sysdeps/i386/bits/byteswap.h: Likewise.
37161 * sysdeps/s390/bits/byteswap.h: Likewise.
37162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37163 * bits/byteswap-16.h: New file.
37164 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37165 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37166 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37167 * string/Makefile (headers): Add bits/byteswap-16.h.
37168
62470f60
PP
371692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37170
37171 [BZ #13895]
37172 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37173 extra indirection.
37174 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37175 * nss/tst-nss-static.c: New.
37176
4dad7bab
RM
371772012-04-06 Robert Millan <rmh@gnu.org>
37178
37179 [BZ #6486]
37180 * manual/llio.texi (File Position Primitive): lseek
37181 refers to WHENCE when it really means OFFSET.
37182
e9142a17
AJ
371832012-04-06 Andreas Jaeger <aj@suse.de>
37184
2c040eff
AJ
37185 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37186 strncmp declarations.
37187
e9142a17
AJ
37188 * abilist/libc.abilist: Add __poll and __ppoll.
37189
ff9f1c5f
DM
371902012-04-05 David S. Miller <davem@davemloft.net>
37191
dcd2ae90
DM
37192 * scripts/check-local-headers.sh: Accept a host triplet in the
37193 path matched by the exclude regexp.
37194
993eb054
DM
37195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37196 definition.
37197 * sysdeps/powerpc/powerpc32/dl-machine.h
37198 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37199 * sysdeps/s390/s390-32/dl-machine.h
37200 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37201 * sysdeps/sparc/sparc32/dl-machine.h
37202 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37203 * sysdeps/sparc/sparc64/dl-machine.h
37204 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37205
ff9f1c5f
DM
37206 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37207 lazy binding.
48e2e132 37208 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37209 undefined symbol errors.
37210
48e2e132 37211 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37212 DT_NEEDED entries.
37213
e80d6f94
MM
372142012-04-05 Michael Matz <matz@suse.de>
37215
37216 [BZ #13592]
37217 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37218
349fa79f
AJ
372192012-04-05 Andreas Jaeger <aj@suse.de>
37220
37221 [BZ #13908]
37222 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37223 comment.
37224
f402708f
KK
372252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37226
37227 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37228 which ROUND is no valid rounding mode.
37229
2ecccfc9
KK
372302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37231
37232 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37233 read again.
37234 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37235
8a53f50f
KK
372362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37237
37238 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37239 an exception using FPU order intentionally.
37240
372412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37242
37243 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37244 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37245 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37246 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37247
d653abb7
SJ
372482012-04-05 Simon Josefsson <simon@josefsson.org>
37249
37250 [BZ #12340]
37251 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37252 EINVAL when BUFLEN is too smal.
37253
c3b1bf7d
TS
372542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37255
37256 [BZ #13553]
37257 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37258 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37259
b1aa60f3
AJ
372602012-04-03 Andreas Jaeger <aj@suse.de>
37261
c3b1bf7d 37262 [BZ #13938]
67f60a26
AJ
37263 * manual/setjmp.texi (System V contexts): Fix sentence.
37264
b1aa60f3
AJ
37265 [BZ #13926]
37266 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37267 New macro for this case.
37268 [!__GNUC__] (__bswap_64): New inline function for this case.
37269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37270 * bits/byteswap.h: Likewise.
37271 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37272 ull, guard with __GLIBC_HAVE_LONG_LONG.
37273
37274 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37275 __GLIBC_HAVE_LONG_LONG.
37276
37277 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37278 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37279
39c59c35
TMQMF
372802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37281
37282 [BZ #13691]
37283 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37284 inptr and inend, rather than using last_ch.
37285
135ffda8
DM
372862012-04-02 David S. Miller <davem@davemloft.net>
37287
37288 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37289 * stdio-common/printf-parse.h (read_int): Change return type to
37290 'int', return -1 on INT_MAX overflow.
37291 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37292 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37293 overflows INT_MAX. Check for overflow of in-format-string precision
37294 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37295 SIZE_MAX not INT_MAX for integer overflow test.
37296 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37297 skip the construct in the format string but do not record anything.
37298 * stdio-common/bug22.c: Adjust to test both width/prevision
37299 INT_MAX overflow as well as total length INT_MAX overflow. Check
37300 explicitly for proper errno values.
37301
228c019e
TS
373022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37303
302cadd3
TS
37304 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37305 CHAR_MAX.
37306 * string/test-strcmp.c [! WIDE]: Likewise.
37307 * time/tst-mktime2.c: Likewise for INT_MAX.
37308 * string/test-string.h: #include <sys/param.h> for MIN.
37309
228c019e
TS
37310 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37311 * sysdeps/i386/init-first.c (init): Likewise.
37312 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37313 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37314 * sysdeps/sh/init-first.c (init): Likewise.
37315
cfa633f5
UD
373162012-04-01 Ulrich Drepper <drepper@gmail.com>
37317
37318 * po/ru.po: Update from translation team.
d1635ef8 37319 * po/vi.po: Likewise.
cfa633f5 37320
6cd0a5ea
SP
373212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37322
37323 * resolv/nss_dns/dns-host.c: Merge copyright years.
37324
4b43400f
LD
373252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37326
37327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37328 Optimize memcpy with prefetch if
37329 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37330 src, dst pointers have unequal 16 byte alignments.
37331
48c41d04
SP
373322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37333
37334 [BZ #13928]
37335 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37336 from a CNAME entry and return the minimum ttl for the query.
37337 (gaih_getanswer_slice): Likewise.
37338
b8dc394d
JL
373392012-03-30 Jeff Law <law@redhat.com>
37340
37341 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37342 due to long keys.
37343 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37344 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37345
2f5a5ed0
JL
37346 * resolv/nss_dns/dns-host.c: Update copyright year.
37347
1d39e359
UD
373482012-03-30 Ulrich Drepper <drepper@gmail.com>
37349
c030f70c 37350 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37351 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37352
1d39e359
UD
37353 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37354 comments for sendmmsg.
37355
373562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37357
37358 [BZ #13691]
37359 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37360 with only 1 character between 0x0041 and 0x01b0.
37361 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37362 * wcsmbs/tst-mbsnrtowcs.c: New file.
37363
20fde227
DM
373642012-03-29 David S. Miller <davem@davemloft.net>
37365
37366 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37367 small copies by hand.
37368
984a4237
JL
373692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37370
37371 [BZ #13761]
57f41c40
AS
37372 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37373 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37374 group memberships.
984a4237 37375
18c9d62b
DM
373762012-03-28 David S. Miller <davem@davemloft.net>
37377
88d85d4f
DM
37378 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37379 that branches into memcpy.
37380 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37383 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37385 bits.
37386 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37387 implementation too.
37388 * sysdeps/sparc/mempcpy.S: New file.
37389
e5aa83e1
DM
37390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37391 the IFUNC routine in the libc case.
37392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37393
88570753
DM
37394 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37395 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37396 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37397 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37398 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37399 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37400 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37401 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37402
249d7567
DM
37403 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37404 loop to 256 bytes instead of 64 bytes and fix test signedness.
37405
18c9d62b
DM
37406 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37407 * sysdeps/sparc/sparc32/Makefile: rather than here...
37408 * sysdeps/sparc/sparc64/Makefile: and here.
37409
05f3d1f6
UD
374102012-03-28 Ulrich Drepper <drepper@gmail.com>
37411
37412 * malloc/mallocbug.c: Avoid warnings about unused variables.
37413
86ae07a8
JL
374142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37415
37416 [BZ #13760]
37417 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37418 in the right place. Discard and retry query if response is
37419 larger than input buffer size.
37420
41bf21a1
JM
374212012-03-28 Joseph Myers <joseph@codesourcery.com>
37422
d6270972
JM
37423 [BZ #369]
37424 [BZ #2678]
37425 [BZ #3866]
37426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37427 x for large integer exponent.
37428 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37429 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37430 sign of result as needed afterwards.
37431 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37432 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37433 result for underflowing pow the same as for overflow.
37434 (__kernel_standard_l): Handle powl overflow and underflow here
37435 rather than calling __kernel_standard.
37436 * math/libm-test.inc (pow_test): Add more tests.
37437
414fca03 37438 [BZ #3868]
41bf21a1
JM
37439 [BZ #13879]
37440 [BZ #13910]
37441 [BZ #13911]
37442 [BZ #13912]
37443 [BZ #13913]
37444 [BZ #13915]
37445 [BZ #13916]
37446 [BZ #13917]
37447 [BZ #13918]
37448 [BZ #13919]
37449 [BZ #13920]
37450 [BZ #13921]
37451 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37452 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37453 (__kernel_standard_l): New function.
37454 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37455 __kernel_standard.
37456 * math/w_acosl.c (__acosl): Likewise.
37457 * math/w_asinl.c (__asinl): Likewise.
37458 * math/w_atan2l.c (__atan2l): Likewise.
37459 * math/w_atanhl.c (__atanhl): Likewise.
37460 * math/w_coshl.c (__coshl): Likewise.
37461 * math/w_exp10l.c (__exp10l): Likewise.
37462 * math/w_exp2l.c (__exp2l): Likewise.
37463 * math/w_fmodl.c (__fmodl): Likewise.
37464 * math/w_hypotl.c (__hypotl): Likewise.
37465 * math/w_j0l.c (__j0l, __y0l): Likewise.
37466 * math/w_j1l.c (__j1l, __y1l): Likewise.
37467 * math/w_jnl.c (__jnl, __ynl): Likewise.
37468 * math/w_lgammal.c (__lgammal): Likewise.
37469 * math/w_log10l.c (__log10l): Likewise.
37470 * math/w_log2l.c (__log2l): Likewise.
37471 * math/w_logl.c (__logl): Likewise.
37472 * math/w_powl.c (__powl): Likewise.
37473 * math/w_remainderl.c (__remainderl): Likewise.
37474 * math/w_scalbl.c (sysv_scalbl): Likewise.
37475 * math/w_sinhl.c (__sinhl): Likewise.
37476 * math/w_sqrtl.c (__sqrtl): Likewise.
37477 * math/w_tgammal.c (__tgammal): Likewise.
37478 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37479 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37480 * math/libm-test.inc (acos_test): Add more tests.
37481 (acosh_test): Likewise.
37482 (asin_test): Likewise.
37483 (atanh_test): Likewise.
37484 (exp_test): Likewise.
37485 (exp10_test): Likewise.
37486 (exp2_test): Likewise.
37487 (expm1_test): Likewise.
37488 (lgamma_test): Likewise.
37489 (log_test): Likewise.
37490 (log10_test): Likewise.
37491 (log1p_test): Likewise.
37492 (log2_test): Likewise.
37493 (pow_test): Do not allow some spurious overflow exceptions.
37494 (sqrt_test): Add more tests.
37495 (tgamma_test): Likewise.
37496 (y0_test): Likewise.
37497 (y1_test): Likewise.
37498 (yn_test): Likewise.
37499
dd62fda6
AB
375002012-03-27 Anton Blanchard <anton@samba.org>
37501
37502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37503 MAP_HUGETLB.
37504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37507
1e3cdfda
AJ
375082012-03-27 David S. Miller <davem@davemloft.net>
37509
b855ab85
DM
37510 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37511
1e3cdfda
AJ
37512 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37513 have-as-vis3 check.
37514
375152012-03-27 Andreas Jaeger <aj@suse.de>
37516
37517 * sysdeps/x86_64/elf/configure.in: Moved to ...
37518 * sysdeps/x86_64/configure.in: ... here.
37519 * sysdeps/x86_64/elf/start.S: Moved to ...
37520 * sysdeps/x86_64/start.S: ... here.
37521 * sysdeps/x86_64/elf/configure: Delete.
37522
37523 * sysdeps/x86_64/configure.in: Merge contents from
37524 sysdeps/i386/configure.in (without i686 check).
37525
37526 * sysdeps/i386/elf/Versions: Merge into ...
37527 * sysdeps/i386/Versions: ... this.
37528 * sysdeps/i386/elf/Versions: Delete file.
37529 * sysdeps/i386/elf/start.S: Moved to ...
37530 * sysdeps/i386/start.S: ...here.
37531 * sysdeps/i386/elf/configure.in: Merge into...
37532 * sysdeps/i386/configure.in: ...here.
37533 * sysdeps/i386/elf/configure.in: Delete file.
37534 * sysdeps/i386/elf/configure: Delete file.
37535
37536 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37537 * debug/backtracesyms.c: ... here.
37538 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37539 * debug/backtracesymsfd.c: ... here.
37540 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37541 * sysdeps/generic/ifunc-sel.h: ... here.
37542
37543 * sysdeps/unix/i386/start.c: Delete file.
37544 * sysdeps/unix/sparc/start.c: Delete file.
37545 * sysdeps/unix/start.c: Delete file.
37546
37547 * sysdeps/sh/elf/configure.in: Moved to ...
37548 * sysdeps/sh/configure.in: ... here.
37549 * sysdeps/sh/elf/start.S: Moved to ...
37550 * sysdeps/sh/start.S: ... here.
37551 * sysdeps/sh/elf/configure: Delete file.
37552
37553 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37554 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37555 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37556 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37557 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37558 * sysdeps/powerpc/powerpc64/start.S: here.
37559 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37560 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37561 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37562 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37563 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37564
37565 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37566 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37567 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37568 * sysdeps/powerpc/powerpc32/start.S: ... here.
37569 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37570 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37571 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37572
37573 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37574 * sysdeps/powerpc/ifunc-sel.h: ... here.
37575 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37576 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37577
37578 * sysdeps/sparc/elf/configure.in: Moved to ...
37579 * sysdeps/sparc/configure.in: ... here.
37580 * sysdeps/sparc/elf/configure: Delete file.
37581 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37582 * sysdeps/sparc/sparc32/start.S: ... here.
37583 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37584 * sysdeps/sparc/sparc64/start.S: ... here.
37585 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37586 * sysdeps/sparc/sparc32/Makefile: ... this.
37587 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37588 * sysdeps/sparc/sparc64/Makefile: ... this.
37589
37590 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37591 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37592 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37593 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37594 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37595 * sysdeps/s390/s390-32/setjmp.S: ... here.
37596 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37597 * sysdeps/s390/s390-32/configure.in: ... here.
37598 * sysdeps/s390/s390-32/elf/configure: Delete file.
37599 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37600 * sysdeps/s390/s390-32/start.S: ... here.
37601
37602 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37603 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37604 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37605 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37606 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37607 * sysdeps/s390/s390-64/setjmp.S: ... here.
37608 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37609 * sysdeps/s390/s390-64/configure.in: ... here
37610 * sysdeps/s390/s390-64/elf/configure: Delete file.
37611 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37612 * sysdeps/s390/s390-64/start.S: ... here.
37613 * sysdeps/s390/s390-64/elf/configure: Delete.
37614
37615 * configure.in: Remove support for elf directories in sysdeps.
37616
37617 * configure: Regenerated.
37618 * sysdeps/i386/configure: Regenerated.
37619 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37620 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37621 * sysdeps/s390/s390-32/configure: Regenerated.
37622 * sysdeps/s390/s390-64/configure: Regenerated.
37623 * sysdeps/sh/configure: Regenerated.
37624 * sysdeps/sparc/configure: Regenerated.
37625 * sysdeps/x86_64/configure: Regenerated.
37626
a3f61311
AS
376272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37628
c876e002
AS
37629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37630
a3f61311
AS
37631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37632 denormal result into account.
37633
ac4c54f0
RM
376342012-03-25 Roland McGrath <roland@hack.frob.com>
37635
37636 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37637 Reported by Allan McRae <allan@archlinux.org>.
37638
6a9b9c02
JL
376392012-03-23 Jeff Law <law@redhat.com>
37640
37641 * nss/getnssent.c (__nss_getent): Fix typo.
37642
4c42a0c1
DM
376432012-03-23 David S. Miller <davem@davemloft.net>
37644
37645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37646
1532c7ac
L
376472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37648
37649 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37650 to pad to uint64_t for each field.
37651 (dl_tls_index): Replace unsigned long with uint64_t.
37652
3ff42526
PP
376532012-03-23 Daniel Jacobowitz <dmj@google.com>
37654 Paul Pluzhnikov <ppluzhnikov@google.com>
37655
37656 [BZ #6528]
37657 * grp/Makefile (otherlibs): Don't set it.
37658 * inet/Makefile (otherlibs): Likewise.
37659 * login/Makefile (otherlibs): Likewise.
37660 * nscd/Makefile (otherlibs): Likewise.
37661 * posix/Makefile (otherlibs): Likewise.
37662 * pwd/Makefile (otherlibs): Likewise.
37663 * rt/Makefile (otherlibs): Likewise.
37664 * sunrpc/Makefile (otherlibs): Likewise.
37665 * nss/Makefile (otherlibs): Likewise.
37666 Add libnss_files to routines and static-only-routines.
37667 ($(objpfx)getent): Remove rule.
37668 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37669 static-only-routines.
37670
7c69cd14
JM
376712012-03-22 Joseph Myers <joseph@codesourcery.com>
37672
37673 [BZ #13892]
37674 * math/s_cexp.c: Include <float.h>.
37675 (__cexp): Handle exp result overflowing not necessarily
37676 overflowing both real and imaginary parts of result.
37677 * math/s_cexpf.c: Likewise.
37678 * math/s_cexpl.c: Likewise.
37679 * math/libm-test.inc (cexp_test): Add more tests.
37680 * sysdeps/i386/fpu/libm-test-ulps: Update.
37681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37682
81b035fe
L
376832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37684
37685 * include/link.h (ELFW): New macro.
37686 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37687 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37688
1da7940c
L
376892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37690
37691 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37692 with uint64_t.
37693
b749dbb9
L
376942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37695
37696 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37697 declaration.
37698 (struct La_x32_retval): Likewise.
37699
2ff87f3f
L
377002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37701
37702 * sysdeps/x86_64/preconfigure.in: New file.
37703 * sysdeps/x86_64/preconfigure: New generated file.
37704
c0df8e69
JM
377052012-03-22 Joseph Myers <joseph@codesourcery.com>
37706
48e44791
JM
37707 [BZ #13824]
37708 * math/e_exp2l.c: Include <float.h>.
37709 (__ieee754_exp2l): Handle overflow and underflow cases
37710 separately. Only pass fractional part of argument to
37711 __ieee754_expl.
37712 * math/libm-test.inc (exp2_test): Add more tests.
37713
c0df8e69
JM
37714 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37715 negating x to take absolute value.
37716 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37717 Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37720 Likewise.
37721 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37722 computing low part if x was negated.
37723 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37724
c8e43ba7
L
377252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37726
37727 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37728 la_x32_gnu_pltexit.
37729 (pltexit): Cast int_retval to ptrdiff_t.
37730 * elf/tst-auditmod3b.c: Likewise.
37731 * elf/tst-auditmod4b.c: Likewise.
37732 * elf/tst-auditmod5b.c: Likewise.
37733 * elf/tst-auditmod6b.c: Likewise.
37734 * elf/tst-auditmod6c.c: Likewise.
37735 * elf/tst-auditmod7b.c: Likewise.
37736
37737 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37738 and x32_gnu_pltexit.
37739
37740 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37741 __ELF_NATIVE_CLASS.
37742 (La_x32_regs): New macro.
37743 (La_x32_retval): Likewise.
37744 (la_x32_gnu_pltenter): New function prototype.
37745 (la_x32_gnu_pltexit): Likewise.
37746
7998fa78
AS
377472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37748
dcb33988
AS
37749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37750 exponent.
37751
233fc563
AS
37752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37753
7998fa78
AS
37754 * configure.in (libc_cv_cc_nofma): Check for option to disable
37755 generation of FMA instructions.
37756 * configure: Regenerate.
37757 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37758 * sysdeps/ieee754/dbl-64/Makefile: New file.
37759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37760 Remove brandred-fma4.
37761 (CFLAGS-brandred-fma4.c): Remove.
37762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37764 define.
37765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37766 define.
37767
8e95c99a
L
377682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37769
37770 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37771 LLONG_MAX != LONG_MAX.
37772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37773 (_fitoa_word): Likewise.
37774 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37775 LLONG_MAX != LONG_MAX.
37776 * stdio-common/_itowa.h: Include <_itoa.h>.
37777 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37778 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37779 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37780 only if not defined.
37781 (_ITOA_WORD_TYPE): Likewise.
37782 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37783 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37784
6f4db457
DM
377852012-03-21 David S. Miller <davem@davemloft.net>
37786
37787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37788
7785fe5a
L
377892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37790
37791 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37792 of x86_64 when setting libc_cv_slibdir, libdir and
37793 libc_cv_localedir.
37794 * sysdeps/unix/sysv/linux/configure: Regenerated.
37795
4535cd55
JM
377962012-03-21 Joseph Myers <joseph@codesourcery.com>
37797
37798 * manual/lang.texi (Old Varargs): Remove section.
37799 (How Variadic): Update menu.
37800 (va_start): Do not mention varargs.h.
37801
17228132
TS
378022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37803 Joseph Myers <joseph@codesourcery.com>
37804
37805 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37806 link test.
37807 * configure: Regenerated.
37808
8149f976
TS
378092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37810
05f3d1f6
UD
37811 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37812 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37813 conformtest.pl
8149f976 37814
1a4ac776
JM
378152012-03-21 Joseph Myers <joseph@codesourcery.com>
37816
be22ce65
JM
37817 * NOTES: Remove.
37818 * Makefile (files-for-dist): Remove NOTES.
37819 (NOTES): Remove rule.
37820 * README: Don't refer to NOTES.
37821 * manual/creature.texi: Don't include macros.texi.
37822 * manual/intro.texi (creature.texi): Remove comment referring to
37823 NOTES.
37824
40b601fb
JM
37825 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37826 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37827 * configure: Regenerated.
37828 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37829 LIBC_TRY_CC_OPTION.
37830 (libc_cv_as_i686): Likewise.
37831 (libc_cv_cc_avx): Likewise.
37832 (libc_cv_cc_sse2avx): Likewise.
37833 (libc_cv_cc_fma4): Likewise.
37834 (libc_cv_cc_novzeroupper): Likewise.
37835 * sysdeps/i386/configure: Regenerated.
37836
1a4ac776
JM
37837 [BZ #13883]
37838 * sysdeps/i386/fpu/s_cexp.S: Remove.
37839 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37841 * math/libm-test.inc (cexp_test): Add more tests.
37842 * sysdeps/i386/fpu/libm-test-ulps: Update.
37843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37844
a458e7fe
AM
378452012-03-21 Allan McRae <allan@archlinux.org>
37846
37847 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37848
0cb7efc5
JM
378492012-03-21 Joseph Myers <joseph@codesourcery.com>
37850
37851 [BZ #13871]
37852 * math/w_exp2.c: Do not include <float.h>.
37853 (o_threshold, u_threshold): Remove.
37854 (__exp2): Calculate result before checking finiteness and calling
37855 __kernel_standard.
37856 * math/w_exp2f.c: Likewise.
37857 * math/w_exp2l.c: Likewise.
37858 * math/libm-test.inc (exp2_test): Require overflow exception for
37859 1e6 input.
2460d3aa
JM
37860
37861 [BZ #3866]
37862 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37863 range of signed 64-bit integers before using fistpll. Remove
37864 checks for whether integers fit in mantissa bits.
37865 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37866 the range of signed 32-bit integers before using fistpl. Remove
37867 checks for whether integers fit in mantissa bits.
37868 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37869 (__ieee754_powl): Test for y outside the range of signed 64-bit
37870 integers before using fistpll. Reduce 64-bit values to 63-bit
37871 ones as needed.
37872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37873 divide-by-zero is raised for zero to large negative powers.
37874 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37875 (__ieee754_powl): Test for y outside the range of signed 64-bit
37876 integers before using fistpll. Reduce 64-bit values to 63-bit
37877 ones as needed.
37878 * math/libm-test.inc (pow_test): Add more tests.
37879
eb96ffb0
L
378802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37881
37882 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37883 <stdio-common/_itoa.h>.
37884 * debug/segfault.c: Likewise.
37885 * elf/dl-cache.c: Likewise.
37886 * elf/dl-minimal.c: Likewise.
37887 * elf/dl-misc.c: Likewise.
37888 * elf/dl-sysdep.c: Likewise.
37889 * elf/dl-version.c: Likewise.
37890 * elf/rtld.c: Likewise.
37891 * hurd/hurdsock.c: Likewise.
37892 * hurd/lookup-retry.c: Likewise.
37893 * malloc/malloc.c: Likewise.
37894 * malloc/mtrace.c: Likewise.
37895 * nscd/nscd_getgr_r.c: Likewise.
37896 * nscd/nscd_getpw_r.c: Likewise.
37897 * nscd/nscd_getserv_r.c: Likewise.
37898 * posix/getopt_init.c: Likewise.
37899 * posix/wordexp.c: Likewise.
37900 * stdio-common/_itoa.c: Likewise.
37901 * stdio-common/printf_fphex.c: Likewise.
37902 * stdio-common/vfprintf.c: Likewise.
37903 * string/_strerror.c: Likewise.
37904 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37905 * sysdeps/i386/i686/hp-timing.h: Likewise.
37906 * sysdeps/mach/_strerror.c: Likewise.
37907 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37908 * sysdeps/mach/hurd/sethostid.c: Likewise.
37909 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37910 * sysdeps/mach/xpg-strerror.c: Likewise.
37911 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37913 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37914 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37916 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37918 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37919 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37920 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37921 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37922 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37923 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37924 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37925 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37926 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37927 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37928 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37929 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37930 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37931 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37932
37933 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37934
37935 * stdio-common/_itoa.h: Moved to ...
37936 * sysdeps/generic/_itoa.h: Here.
37937
37938 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37939
37940 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37941 instead of "_itoa.h" and "_itowa.h".
37942 * stdio-common/vfprintf.: Likewise.
37943
d1af992d
L
379442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37945
37946 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37947 <bits/wordsize.h>.
37948 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37949 (__signbit): Likwise.
37950 (llrintf): Likwise.
37951 (llrint): Likwise.
37952
114883e0
L
379532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37954
37955 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37956 __WORDSIZE != 64.
37957
c135cc1b
JM
379582012-03-20 Joseph Myers <joseph@codesourcery.com>
37959
37960 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37961 OVERFLOW_EXCEPTION_OK.
37962 * math/libm-test.inc ("Philosophy"): Update comment about
37963 exception testing.
37964 (OVERFLOW_EXCEPTION): Define.
37965 (OVERFLOW_EXCEPTION_OK): Likewise.
37966 (INVALID_EXCEPTION_OK): Renumber.
37967 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37968 (IGNORE_ZERO_INF_SIGN): Likewise.
37969 (test_exceptions): Handle FE_OVERFLOW.
37970 (exp10_test): Expect overflow exceptions.
37971 (exp2_test): Likewise.
37972 (expm1_test): Likewise.
37973 (nextafter_test): Likewise.
37974 (pow_test): Likewise.
37975 (scalbn_test): Likewise.
37976 (scalbln_test): Likewise.
37977
95443d88
L
379782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37979
37980 * sysdeps/x86_64/bits/atomic.h
37981 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37982 64bit integer.
37983 (atomic_exchange_acq): Likewise.
37984 (__arch_exchange_and_add_body): Likewise.
37985 (__arch_add_body): Likewise.
37986 (atomic_add_negative): Likewise.
37987 (atomic_add_zero): Likewise.
37988
490df6c4
L
379892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37990
c2722551 37991 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37992 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37993
5e52b189
L
379942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37995
37996 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37997 Check __x86_64__ instead of __WORDSIZE.
37998
a9879d4c
L
379992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38000
38001 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38002
5df98260
DM
380032012-03-19 David S. Miller <davem@davemloft.net>
38004
e1497744
DM
38005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38006
5df98260
DM
38007 * sysdeps/sparc/fpu/fenv_private.h: New file.
38008 * sysdeps/sparc/fpu/math_private.h: Use it.
38009 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38010 Remove.
57f41c40 38011 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38012 (libc_feholdexcept_setroundl): Remove.
38013 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38014 Remove.
38015 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38016 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38017
b4c35121
L
380182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38019
38020 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38021 int64_t instead of long int.
38022 (INSERT_WORDS64): Likwise.
38023
56965fd7
L
380242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38025
38026 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38027 _Unwind_GetCFA return to _Unwind_Ptr first.
38028
83d1aec8
JM
380292012-03-19 Joseph Myers <joseph@codesourcery.com>
38030
1897ad44
JM
38031 [BZ #13629]
38032 * math/s_clog.c: Include <float.h>.
38033 (__clog): Scale large or subnormal inputs.
38034 * math/s_clogf.c: Likewise.
38035 * math/s_clogl.c: Likewise.
38036 * math/s_clog10.c: Include <float.h>.
38037 (M_LOG10_2): Define.
38038 (__clog10): Scale large or subnormal inputs.
38039 * math/s_clog10f.c: Likewise.
38040 * math/s_clog10l.c: Likewise.
38041 * math/libm-test.inc (clog_test): Add more tests.
38042 (clog10_test): Likewise.
38043 * sysdeps/i386/fpu/libm-test-ulps: Update.
38044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38045
7726d6a9
JM
38046 [BZ #11451]
38047 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38048 x and y.
38049 * math/libm-test.inc (atan2_test): Add another test.
38050
83d1aec8
JM
38051 * Makerules (common-objdir-compile): Remove.
38052 * sysdeps/unix/Makefile (config-generated): Do not add
38053 $(unix-generated) to variable.
38054 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38055 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38056 Remove rule.
38057 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38058 Likewise.
38059 [generic bits/local_lim.h] (before-compile): Do not append to
38060 variable.
38061 [generic bits/local_lim.h] (common-generated): Likewise.
38062 [generic sys/param.h] (before-compile): Do not append to variable.
38063 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38064 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38065 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38066 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38067 include.
38068 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38069 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38070 [generic sys/param.h] ($(addprefix
38071 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38072 [generic sys/param.h] (common-generated): Do not append to
38073 variable.
38074 [generic sys/param.h] (sysdep_headers): Likewise.
38075 [generic bits/errno.h] (before-compile): Do not append to
38076 variable.
38077 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38078 rule.
38079 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38080 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38081 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38082 [generic bits/errno.h] (common-generated): Do not append to
38083 variable.
38084 [generic bits/ioctls.h] (before-compile): Do not append to
38085 variable.
38086 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38087 rule.
38088 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38089 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38090 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38091 rule.
38092 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38093 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38094 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38095 [generic bits/ioctls.h] (common-generated): Do not append to
38096 variable.
38097 [generic sys/syscall.h] (syscall.h): Remove variable.
38098 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38099 rule.
38100 [generic sys/syscall.h] (before-compile): Do not append to
38101 variable.
38102 [generic sys/syscall.h] (common-generated): Likewise.
38103 * sysdeps/unix/errnos-tmpl.c: Remove file.
38104 * sysdeps/unix/errnos.awk: Likewise.
38105 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38106 * sysdeps/unix/ioctls.awk: Likewise.
38107 * sysdeps/unix/mk-local_lim.c: Likewise.
38108 * sysdeps/unix/snarf-ioctls: Likewise.
38109
4851a949
RH
381102012-03-19 Richard Henderson <rth@twiddle.net>
38111
bd37f2ee
RH
38112 * sysdeps/i386/fpu/fenv_private.h: New file.
38113 * sysdeps/i386/fpu/math_private.h: Use it.
38114 (math_opt_barrier, math_force_eval): Remove.
38115 (libc_feholdexcept_setround_53bit): Remove.
38116 (libc_feupdateenv_53bit): Remove.
38117 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38118 (math_opt_barrier, math_force_eval): Remove.
38119 (libc_feholdexcept): Remove.
38120 (libc_feholdexcept_setround): Remove.
38121 (libc_fetestexcept, libc_fesetenv): Remove.
38122 (libc_feupdateenv_test): Remove.
38123 (libc_feupdateenv, libc_feholdsetround): Remove.
38124 (libc_feresetround): Remove.
38125
d0adc922
RH
38126 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38127 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38128
0fe0f1f8
RH
38129 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38130 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38131 (libc_feupdateenv_testl): New.
38132 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38133 (libc_feupdateenv_testf): New.
38134 (libc_feupdateenv): Use libc_feupdateenv_test.
38135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38136 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38137
eb92c487
RH
38138 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38139 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38140 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38141 (libc_feresetround_noex): New.
38142 (libc_feresetround_noexf): New.
38143 (libc_feresetround_noexl): New.
38144 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38145 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38146 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38147 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38148 SET_RESTORE_ROUND.
38149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38150 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38151 (__cos): Likewise.
38152 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38153 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38154 SET_RESTORE_ROUND_NOEX.
38155 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38156 SET_RESTORE_ROUND_NOEXF.
38157 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38158 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38159 (libc_feholdsetroundf): New.
38160 (libc_feresetround, libc_feresetroundf): New.
38161
7d2e8012
RH
38162 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38163 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38164 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38165
b4dabbb4
RH
38166 * sysdeps/generic/math_private.h: Include <fenv.h>.
38167 (default_libc_feholdexcept): New.
38168 (default_libc_feholdexcept_setround): New.
38169 (default_libc_fesetenv, default_libc_feupdateenv): New.
38170 (libc_feholdexcept): Only define if undefined.
38171 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38172 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38173 (libc_feholdexcept_setroundl): Likewise.
38174 (libc_feholdexcept_setround_53bit): Likewise.
38175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38176 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38177 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38178 (libc_feupdateenv_53bit): Likewise.
38179 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38180 (libc_feholdexcept): Convert from macro to inline function.
38181 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38182 (libc_fesetenv, libc_feupdateenv): Likewise.
38183
4851a949
RH
38184 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38185 not previously defined.
38186 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38187 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38188 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38189 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38190 * sysdeps/ieee754/flt-32/math_private.h: New file.
38191 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38192 math_private.h below SET_FLOAT_WORD.
38193 (__isnan, __isinf_ns, __finite): Remove.
38194 (__isnanf, __isinf_nsf, __finitef): Remove.
38195
e79d442e
AS
381962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38197
38198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38199
90b80344
DM
382002012-03-17 David S. Miller <davem@davemloft.net>
38201
38202 [BZ #6471]
38203 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38204 for 2.16.
38205
edc21804
DM
382062012-03-16 David S. Miller <davem@davemloft.net>
38207
77e927af
DM
38208 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38209 warnings.
38210
374976dd
DM
38211 [BZ #6471]
38212 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38213 properly.
38214 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38215 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38216 sysdep_routines when subdir is sysvipc.
38217 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38218 __getshmlba helper.
38219
edc21804
DM
38220 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38221
473c3ef3
L
382222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38223
38224 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38225 [__LP64__].
38226
eb0f39b6
L
382272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38228
38229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38230 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38231 (__lround): Renamed to ...
38232 (__llround): This. Replace long int with long long int.
38233 Define lround functions as aliases of llround functions.
38234 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38235
6b6cd74b
L
382362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38237
38238 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38239 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38240 adresses to uintptr_t. Replace "long int" and "unsigned long
38241 int" with "greg_t" on va_arg.
38242
f1a77b01
L
382432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38244
38245 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38246 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38247
38248 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38249 Move e_machine check before EI_CLASS check. Handle x32
38250 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38251 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38252 SKIP_EM_IA_64 and include
38253 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38254
38255 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38256 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38257 (add_system_dir): New macro.
38258
38259 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38260 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38261
11b90b9f
JM
382622012-03-16 Joseph Myers <joseph@codesourcery.com>
38263
c36e1d23
JM
38264 [BZ #2551]
38265 [BZ #2552]
38266 [BZ #2553]
38267 [BZ #2554]
38268 [BZ #2562]
38269 [BZ #2563]
38270 [BZ #2565]
38271 [BZ #2566]
38272 [BZ #2576]
38273 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38274 (y0): Likewise.
38275 * math/w_j0f.c (j0f): Likewise.
38276 (y0f): Likewise.
38277 * math/w_j0l.c (__j0l): Likewise.
38278 (__y0l): Likewise.
38279 * math/w_j1.c (j1): Likewise.
38280 (y1): Likewise.
38281 * math/w_j1f.c (j1f): Likewise.
38282 (y1f): Likewise.
38283 * math/w_j1l.c (__j1l): Likewise.
38284 (__y1l): Likewise.
38285 * math/w_jn.c (jn): Likewise.
38286 (yn): Likewise.
38287 * math/w_jnf.c (jnf): Likewise.
38288 (ynf): Likewise.
38289 * math/w_jnl.c (__jnl): Likewise.
38290 (__ynl): Likewise.
38291 * math/libm-test.inc (j0_test): Add more tests.
38292 (j1_test): Likewise.
38293 (jn_test): Likewise. Add trailing semicolon to existing test.
38294 (y0_test): Likewise.
38295 (y1_test): Likewise.
38296 * sysdeps/i386/fpu/libm-test-ulps: Update.
38297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38298
11b90b9f
JM
38299 [BZ #13851]
38300 [BZ #13854]
38301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38302 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38303 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38305 (__tanl): Set errno for infinite argument.
38306 * sysdeps/i386/fpu/mptan.c: Remove.
38307 * sysdeps/i386/fpu/s_tan.S: Likewise.
38308 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38309 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38310 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38311 * math/libm-test.inc (tan_test): Add more tests and enable more
38312 tests for double and long double.
38313 * sysdeps/i386/fpu/libm-test-ulps: Update.
38314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38315
6a1bd2a1
JK
383162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38317
38318 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38319 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38320
10a803e0
RM
383212012-03-16 Roland McGrath <roland@hack.frob.com>
38322
38323 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38324 * configure.in: Use it for both main tree and add-ons.
38325 * configure: Regenerated.
38326
f196c7f7
L
383272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38328
38329 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38330
8848d99d
JM
383312012-03-16 Joseph Myers <joseph@codesourcery.com>
38332
96cbe7f4
JM
38333 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38334 in comment.
38335
8848d99d
JM
38336 [BZ #13851]
38337 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38338 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38342 infinite argument.
38343 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38345 != 0 for prec == 2.
38346 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38347 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38348 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38349 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38350 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38351 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38352 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38353 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38354 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38355 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38356 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38357 * math/libm-test.inc (cos_test): Add more tests and enable more
38358 tests for long double.
38359 (sin_test): Likewise.
38360 (sincos_test): Likewise.
38361 * sysdeps/i386/fpu/libm-test-ulps: Update.
38362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38363
dd7f4703
DM
383642012-03-16 David S. Miller <davem@davemloft.net>
38365
38366 * sysdeps/sparc/fpu/math_private.h: New file.
38367
006f1daa
DM
383682012-03-15 David S. Miller <davem@davemloft.net>
38369
c0c83bc8
DM
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38371 file.
e6a62e18 38372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38374 file.
e6a62e18
DM
38375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38381 sysdep routines.
38382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38383
88cb87d9
DM
38384 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38385 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38386
006f1daa 38387 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38389 sparc-ifunc.h
006f1daa 38390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38392 Likewise.
38393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38394 Likewise.
006f1daa
DM
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38399 Likewise.
006f1daa
DM
38400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38405 Likewise.
38406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38407 Likewise.
006f1daa
DM
38408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38427 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38432
11e0098e
AS
384332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38434
38435 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38436 scaling.
38437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38438
e85b09d0
AJ
384392012-03-15 Andreas Jaeger <aj@suse.de>
38440
38441 [BZ #13852]
38442 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38443 ieee754/flt-32 implementation for sin, cos and sincos.
38444 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38445 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38446 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38447 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38448 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38449 ieee754/flt-32 implementation for tan.
38450
38451 * math/libm-test.inc (cos_test): Enable some large input tests for
38452 float as well
38453 (sin_test): Likewise.
38454 (sincos_test): Likewise.
38455 (tan_test): Add tests for large input.
38456
38457 * sysdeps/i386/fpu/libm-test-ulps: Update.
38458
81c64153
AJ
384592012-03-15 Andreas Jaeger <aj@suse.de>
38460
38461 [BZ #13658]
38462 * math/libm-test.inc (cos_test): Add more test cases.
38463 (sin_test): Likewise.
38464 (sincos_test): Likewise.
38465
7bbfa5c6
AJ
384662012-03-15 Andreas Jaeger <aj@suse.de>
38467
38468 [BZ #13837]
38469 * math/libm-test.inc (cos_test): Add a test case for large input
38470 value.
38471 (sin_test): Likewise.
38472 (sincos_test): Likewise.
38473
57f41c40
AS
384742012-03-15 Andreas Jaeger <aj@suse.de>
38475 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38476
38477 [BZ #13658]
0671f479 38478 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38479 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38480 * sysdeps/i386/fpu/branred.c: Likewise.
38481 * sysdeps/i386/fpu/dosincos.c: Likewise.
38482 * sysdeps/i386/fpu/mpa.c: Likewise.
38483 * sysdeps/i386/fpu/s_cos.S: Likewise.
38484 * sysdeps/i386/fpu/s_sin.S: Likewise.
38485 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38486 * sysdeps/i386/fpu/sincos32.c: Likewise.
38487
38488 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38489 Define.
38490 (libc_feupdateenv_53bit): Define.
38491 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38492 Define.
38493 (libc_feupdateenv_53bit): Define.
38494
38495 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38496 53 bit (without extend i386 double precision).
38497
38498 * math/libm-test.inc (sincos_test): Add tests for large input.
38499 (sin): Likewise.
38500 (cos): Likewise.
38501
38502 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38503
9cad04ea
AS
385042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38505
38506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38507
f7062b9a
DM
385082012-03-15 David S. Miller <davem@davemloft.net>
38509
38510 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38511 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38512 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38513 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38526 file.
f7062b9a 38527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38529 file.
f7062b9a 38530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38532 file.
f7062b9a 38533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38535 file.
f7062b9a
DM
38536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38538 fmin/fmax sysdep routines.
38539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38540
7bd951ff
DM
385412012-03-14 David S. Miller <davem@davemloft.net>
38542
559398ab
DM
38543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38572 routines.
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38574 file.
559398ab 38575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38577 file.
559398ab 38578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38580 file.
559398ab 38581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38583 file.
559398ab 38584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38586 file.
559398ab 38587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38589 file.
38590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38591 file.
38592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38593 file.
38594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38595 file.
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38597 New file.
38598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38599 file.
38600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38601 file.
559398ab 38602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38604 file.
559398ab 38605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38607 file.
559398ab 38608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38610 file.
559398ab 38611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38613 VIS3 routines.
559398ab
DM
38614
38615 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38616 New file.
38617
5a1c1e32
DM
38618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38619
eae47a36
DM
38620 * sysdeps/sparc/configure.in: New file.
38621 * sysdeps/sparc/configure: Generate.
38622 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38623 * configure: Regenerate.
38624 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38625 * config.make.in (have-as-vis3): New.
38626 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38627 available use -Av9d instead of -Av9a.
38628 * sysdeps/sparc/sparc64/Makefile: Likewise.
38629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38631 New file.
38632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38633 file.
38634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38635 New file.
38636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38637 file.
eae47a36
DM
38638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38643
c0c83bc8
DM
38644 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38645 fzeros/fnegs to load 0x80000000 into a float register instead of
38646 using the stack.
7bd951ff
DM
38647 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38648
bd951ccb
JM
386492012-03-14 Joseph Myers <joseph@codesourcery.com>
38650
38651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38652 bits/syscall.h.
38653 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38654 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38655 ($(inst_includedir)/bits/syscall.h): Remove rule.
38656 ($(objpfx)bits/syscall.d): Include instead of
38657 $(objpfx)syscall-list.d.
38658 (generated): Change syscall-list.h and syscall-list.d to
38659 bits/syscall.h and bits/syscall.d.
38660
bb4e6db2
RM
386612012-03-14 Roland McGrath <roland@hack.frob.com>
38662
38663 [BZ #13846]
38664 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38665
aa4a2ae1
JM
386662012-03-14 Joseph Myers <joseph@codesourcery.com>
38667
e456826d
JM
38668 [BZ #13841]
38669 * math/s_csqrt.c: Include <float.h>.
38670 (__csqrt): Scale large or subnormal inputs.
38671 * math/s_csqrtf.c: Likewise.
38672 * math/s_csqrtl.c: Likewise.
38673 * math/libm-test.inc (csqrt_test): Add more tests.
38674 * sysdeps/i386/fpu/libm-test-ulps: Update.
38675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38676
aa4a2ae1
JM
38677 [BZ #13840]
38678 * math/libm-test.inc (hypot_test): Add more tests.
38679
7c10fd35
DM
386802012-03-13 David S. Miller <davem@davemloft.net>
38681
38682 [BZ #13840]
38683 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38684 double-precision for the calculation instead of scaling.
38685
f453b98b
JM
386862012-03-13 Joseph Myers <joseph@codesourcery.com>
38687
38688 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38689 manipulate bits before adding and subtracting TWO52[sx].
38690 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38692 Likewise.
38693 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38694
09a3453f
DM
386952012-03-13 David S. Miller <davem@davemloft.net>
38696
8e59da90
DM
38697 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38698 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38700 rtld-global-offsets.h
38701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38702
2a8ab7f2
DM
38703 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38704 large parameters.
38705
10f62770
DM
38706 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38707
5f0bdb18
DM
38708 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38709 'err' in the ifdef scope in which it is actually used.
38710
09a3453f
DM
38711 * nss/nss_db/db-init.c: Include string.h
38712
b4b2eb5e
DM
387132012-03-12 David S. Miller <davem@davemloft.net>
38714
98bb2f1c
DM
38715 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38716 masking out of the most significant byte of random value used.
38717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38718 Fix coding style in previous change.
38719
b4b2eb5e
DM
38720 * sysdeps/unix/sysv/linux/kernel-features.h
38721 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38722 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38723 expression.
38724 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38725 later.
38726
6e226b09
DM
387272012-03-11 David S. Miller <davem@davemloft.net>
38728
a1bcbd40
DM
38729 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38730 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38732 for 'resultvar' otherwise things get truncated on 64-bit.
38733
cb9d6174
DM
38734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38735 Fix masking out of the most significant byte of random value used.
38736
6e226b09
DM
38737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38738
058c132d
AS
387392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38740
38741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38742
2d2cd515
DM
387432012-03-09 David S. Miller <davem@davemloft.net>
38744
38745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38746 variables with appropriate CPP guards.
57f41c40
AS
38747 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38748 from the frame pointer, not the stack pointer. Correct layout
38749 comments. Fix test on resulting framesize and the management of
38750 the outregs buffer for pltexit. Preserve floating point return
38751 values across _dl_call_pltexit call.
2d2cd515
DM
38752 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38753 framesize and the management of the outregs buffer for pltexit.
38754 Preserve floating point return values across _dl_call_pltexit
38755 call.
57f41c40
AS
38756 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38757 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38758 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38759 (print_exit): Fix format string for return register value.
38760
9a07f9d0
JM
387612012-03-10 Joseph Myers <joseph@codesourcery.com>
38762
38763 * sunrpc/Makefile (others): Add rpcgen.
38764 ($(objpfx)rpcgen): Remove special build rule and dependency on
38765 libc.
38766 * sunrpc/rpcgen.c: New file.
38767
547b5e30
PE
387682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38769
c524201a
PE
38770 [BZ #13673]
38771 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38772 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38773 * sysdeps/i386/crti.S: Likewise.
38774 * sysdeps/i386/crtn.S: Likewise.
38775 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38776 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38777 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38778 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38779 * sysdeps/sh/crti.S: Likewise.
38780 * sysdeps/sh/crtn.S: Likewise.
38781 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38782
7b6235f2
PE
38783 [BZ #13673]
38784 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38785 with URL.
38786 * locale/programs/locfile-kw.gperf: Likewise.
38787 * locale/programs/charmap-kw.h: Regenerated.
38788 * locale/programs/locfile-kw.h: Likewise.
38789
547b5e30
PE
38790 [BZ #13673]
38791 * intl/plural.y: Replace FSF snail mail address with URL.
38792 * intl/plural.c: Regenerated.
38793
5f0a5dae
RH
387942012-03-09 Richard Henderson <rth@twiddle.net>
38795
38796 * include/math_private.h: Remove file.
38797 * math/math_private.h: Move file ...
38798 * sysdeps/generic/math_private.h: ... here.
38799
b8c03620
RH
38800 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38801 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38803
4e234f5d 38804 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38805 and <math_private.h>.
38806 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38807 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38811 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38894 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38897 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38899 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38900 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38901 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38902 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38903 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38904 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38905 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38906 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38907 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38908 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38909 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38910 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38911 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38912 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38913 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38914 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38916 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38917 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38918 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38920 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38921 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38922 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38923 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38924 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38927 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38929 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38930 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38931 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38933 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38935 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38936 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38938 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38939 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38940 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38941 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38942 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38943 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38944 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38945 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38946 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38948 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38949 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38950 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38951 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38952 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38954 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38955 * sysdeps/ieee754/k_standard.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39071 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39080 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39090 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39092 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39095 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39105 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39106 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39116 * sysdeps/ieee754/s_lib_version.c: Likewise.
39117 * sysdeps/ieee754/s_matherr.c: Likewise.
39118 * sysdeps/ieee754/s_signgam.c: Likewise.
39119 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39121 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39122 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39123 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39124 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39125 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39126 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39127 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39128 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39129 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39130 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39131 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39132 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39133 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39134 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39135 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39136 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39140
1991fa03
JM
391412012-03-09 Joseph Myers <joseph@codesourcery.com>
39142
39143 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39144 * sunrpc/rpc_main.c: Likewise.
39145 * sunrpc/rpc_svcout.c: Likewise.
39146
60d6f5a6
DM
391472012-03-09 David S. Miller <davem@davemloft.net>
39148
39149 * include/math_private.h: New file.
39150
4962050e
JM
391512012-03-09 Joseph Myers <joseph@codesourcery.com>
39152
02a6f887
JM
39153 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39154 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39155 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39156 from <bits/socket_type.h>.
39157 (enum __socket_type): Don't define here.
39158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39160 bits/socket_type.h.
39161
c6e013c1
JM
39162 [BZ #13566]
39163 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39164 checking __USE_GNU.
39165
4962050e
JM
39166 * Makerules ($(inst_includedir)/%.h): New rule.
39167 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39168 (install-others): Remove variable setting.
39169 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39170
38842f45
RH
391712012-03-08 Richard Henderson <rth@twiddle.net>
39172
67bb6da6
RH
39173 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39174 from macro to inline function; merge with the
39175 !__LIBC_INTERNAL_MATH_INLINES version.
39176 (__ieee754_sqrtf): Likewise.
39177
15194b4b
RH
39178 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39179 to inline function.
39180 (__rintf, __floor, __floorf): Likewise.
39181
64e21ede
RH
39182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39183 macro to inline function.
39184 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39185
38842f45
RH
39186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39187 not <math/math_private.h>.
39188
c64bf5fe
DM
391892012-03-08 David S. Miller <davem@davemloft.net>
39190
39191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39192 copyright year.
39193 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39194
82d86f28
TS
391952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39196
39197 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39198 normalization.
39199 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39200 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39201
aea5d727
UD
392022012-03-08 Ulrich Drepper <drepper@gmail.com>
39203
39204 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39205 be defined individually, they must be defined as a block. Define
39206 S for printing a string instead of hidint the different by using a
39207 macro for adding the 'l'.
39208 * stdio-common/tst-fphex-wide.c: Adjust.
39209
70bca0a3
MP
392102012-03-07 Marek Polacek <polacek@redhat.com>
39211
39212 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39213
65b81130
MP
392142012-03-08 Marek Polacek <polacek@redhat.com>
39215
39216 [BZ #13806]
39217 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39218 * stdio-common/tst-fphex.c: Define a few macros to make the
39219 test reusable. Use them.
39220 * stdio-common/tst-fphex-wide.c: New file.
39221
07037eeb
JM
392222012-03-08 Joseph Myers <joseph@codesourcery.com>
39223
a7a93d50
JM
39224 [BZ #6911]
39225 * manual/macros.texi (gnusystems): New macro.
39226 (nongnusystems): Likewise.
39227 (gnulinuxhurdsystems): Likewise.
39228 (gnuhurdsystems): Likewise..
39229 (gnulinuxsystems): Likewise.
39230 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39231 variants of the GNU system, not "GNU system".
39232 * manual/conf.texi: Likewise.
39233 * manual/errno.texi: Likewise. Update example of errno macro
39234 expansion.
39235 * manual/filesys.texi: Likewise.
39236 (getumask): Document as specific to GNU/Hurd.
39237 * manual/install.texi: Likewise. Reword some references to
39238 GNU/Linux.
39239 * manual/intro.texi: Likewise.
39240 * manual/io.texi: Likewise.
39241 (File Name Portability): Detail which constraints are inapplicable
39242 to all GNU systems and which are only inapplicable to GNU/Hurd.
39243 * manual/job.texi: Likewise.
39244 * manual/llio.texi: Likewise.
39245 (O_NOCTTY): Document as present on GNU/Linux.
39246 * manual/maint.texi: Likewise.
39247 * manual/memory.texi: Likewise.
39248 * manual/pattern.texi: Likewise.
39249 * manual/pipe.texi: Likewise.
39250 * manual/process.texi: Likewise.
39251 * manual/resource.texi: Likewise.
39252 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39253 child on GNU/Hurd.
39254 * manual/setjmp.texi: Likewise.
39255 * manual/signal.texi: Likewise.
39256 * manual/startup.texi: Likewise.
39257 * manual/stdio.texi: Likewise.
39258 * manual/terminal.texi: Likewise.
39259 (ONLCR): Document as POSIX.
39260 (OXTABS): Document availability on GNU/Linux as XTABS.
39261 (ONOEOT): Document availability separately from other bits.
39262 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39263 * manual/time.texi: Likewise.
39264 * manual/users.texi: Likewise.
39265 * INSTALL: Regenerated.
39266 * sysdeps/gnu/errlist.c: Regenerated.
39267
07037eeb
JM
39268 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39269 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39270 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39271 puts.
39272 * configure: Regenerated.
39273
d1d3431a
JM
392742012-03-07 Joseph Myers <joseph@codesourcery.com>
39275
af6a1e37
JM
39276 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39277 default includes instead of AC_HEADER_CHECK.
39278 * sysdeps/i386/configure: Regenerated.
39279
d1d3431a
JM
39280 [BZ #10716]
39281 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39282 * math/s_cacoshf.c (__cacoshf): Likewise.
39283 * math/s_cacoshl.c (__cacoshl): Likewise.
39284 * math/s_casinh.c (__casinh): Set signs of result from argument.
39285 * math/s_casinhf.c (__casinhf): Likewise.
39286 * math/s_casinhl.c (__casinhl): Likewise.
39287 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39288 (casinh_test): Add more tests.
39289 * sysdeps/i386/fpu/libm-test-ulps: Update.
39290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39291
482ff4da
UD
392922012-03-07 Ulrich Drepper <drepper@gmail.com>
39293
872fda05
UD
39294 * po/zh_TW.po: Update from translation team.
39295
a4300c7a
UD
39296 * login/Makefile (distribute): Remove variable.
39297 * catgets/Makefile: Likewise.
39298 * mach/Makefile: Likewise.
39299 * malloc/Makefile: Likewise.
39300 * misc/Makefile: Likewise.
39301 * iconv/Makefile: Likewise.
39302 * nscd/Makefile: Likewise.
39303 * hurd/Makefile: Likewise.
39304 * manual/Makefile: Likewise.
39305 * locale/Makefile: Likewise.
39306 * intl/Makefile: Likewise.
39307 * conform/Makefile: Likewise.
39308 * nss/Makefile: Likewise.
39309 * time/Makefile: Likewise.
39310 * soft-fp/Makefile: Likewise.
39311 * dirent/Makefile: Likewise.
39312 * gmon/Makefile: Likewise.
39313 * po/Makefile: Likewise.
39314 * rt/Makefile: Likewise.
39315 * socket/Makefile: Likewise.
39316 * math/Makefile: Likewise.
39317 * signal/Makefile: Likewise.
39318 * debug/Makefile: Likewise.
39319 * elf/Makefile: Likewise.
39320 * timezone/Makefile: Likewise.
39321 * stdlib/Makefile: Likewise.
39322 * iconvdata/Makefile: Likewise.
39323 * sunrpc/Makefile: Likewise.
39324 * io/Makefile: Likewise.
39325 * argp/Makefile: Likewise.
39326 * inet/Makefile: Likewise.
39327 * hesiod/Makefile: Likewise.
39328 * grp/Makefile: Likewise.
39329 * csu/Makefile: Likewise.
39330 * wctype/Makefile: Likewise.
39331 * crypt/Makefile: Likewise.
39332 * libio/Makefile: Likewise.
39333 * string/Makefile: Likewise.
39334 * nis/Makefile: Likewise.
39335 * resolv/Makefile: Likewise.
39336 * stdio-common/Makefile: Likewise.
39337 * wcsmbs/Makefile: Likewise.
39338 * dlfcn/Makefile: Likewise.
39339 * posix/Makefile: Likewise.
39340
3b7c4e74 39341 [BZ #6959]
482ff4da
UD
39342 * timezone/Makefile: Don't install timezone files, just the programs
39343 and scripts.
39344
f72ed77d
UD
393452012-03-06 Ulrich Drepper <drepper@gmail.com>
39346
a000466f
UD
39347 * nss/databases.def: Add missing gshadow entry.
39348
f72ed77d
UD
39349 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39350
a53b7a4e
MP
393512012-03-06 Marek Polacek <polacek@redhat.com>
39352
39353 [BZ #13726]
39354 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39355 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39356 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39357 * stdio-common/tst-long-dbl-fphex.c: New file.
39358
e9258400
DM
393592012-03-06 David S. Miller <davem@davemloft.net>
39360
39361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39362 (set_obp_int): New function.
39363 (get_obp_int): New function.
39364 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39366 Avoid unused variable warnings on 'val' and use builtin_expect.
39367 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39368 __builtin_expect.
e9258400
DM
39369 (INLINE_CLONE_SYSCALL): Likewise.
39370
3bd2c723
DM
393712012-03-05 David S. Miller <davem@davemloft.net>
39372
39373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39374
bbb78d03
AS
393752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39376
884c5db4
AS
39377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39378
bbb78d03
AS
39379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39380 only for |x| >= 40.
39381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39382
1c9f702a 393832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39384
39385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39386 Replace gettimeofday with __vdso_gettimeofday.
39387
7be16f82
RM
39388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39389 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39390 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39391
39392 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39393 time with __vdso_time.
39394
ed58a00f
JM
393952012-03-05 Joseph Myers <joseph@codesourcery.com>
39396
39397 * manual/lang.texi (size_t): Note types to which size_t may be
39398 equivalent with the GNU C Library, but do not describe when
39399 differences between them are significant.
39400
30ee4ced
AJ
394012012-03-05 Andreas Jaeger <aj@suse.de>
39402
39403 * sysdeps/i386/fpu/libm-test-ulps: Update.
39404
b7cd39e8
JM
394052012-03-05 Joseph Myers <joseph@codesourcery.com>
39406
39407 [BZ #3976]
39408 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39409 (__ieee754_pow): Save and restore rounding mode and use
39410 round-to-nearest for main computations.
39411 * math/libm-test.inc (pow_test_tonearest): New function.
39412 (pow_test_towardzero): Likewise.
39413 (pow_test_downward): Likewise.
39414 (pow_test_upward): Likewise.
39415 (main): Call the new functions.
39416 * sysdeps/i386/fpu/libm-test-ulps: Update.
39417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39418
39419 [BZ #3976]
39420 * math/libm-test.inc (cosh_test_tonearest): New function.
39421 (cosh_test_towardzero): Likewise.
39422 (cosh_test_downward): Likewise.
39423 (cosh_test_upward): Likewise.
39424 (sinh_test_tonearest): Likewise.
39425 (sinh_test_towardzero): Likewise.
39426 (sinh_test_downward): Likewise.
39427 (sinh_test_upward): Likewise.
39428 (main): Call the new functions.
39429 * sysdeps/i386/fpu/libm-test-ulps: Update.
39430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39431
6c6a98c9
TV
394322012-03-05 Tom de Vries <tom@codesourcery.com>
39433
39434 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39435 default stack guard is set in last bytes.
39436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39437
21bb2d2e 394382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39439
21bb2d2e 39440 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39441
21bb2d2e
AJ
39442 [BZ #13656]
39443 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39444 possibly allocate from heap instead of stack.
39445 * stdio-common/bug-vfprintf-nargs.c: New file.
39446 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39447
c6922934
AS
394482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39449
39450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39451
bc957d53
MP
394522012-03-03 Marek Polacek <polacek@redhat.com>
39453
39454 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39455 * math/math_private.h: Likewise.
39456 * stdlib/tst-strtod.c: Likewise.
39457 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39458 * sysdeps/x86_64/bits/atomic.h: Likewise.
39459
6358490d
DM
394602012-03-02 David S. Miller <davem@davemloft.net>
39461
39462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39466 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39467 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39468 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39469 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39470
01ae168d
RM
394712012-03-02 Roland McGrath <roland@hack.frob.com>
39472
d9a17c07
RM
39473 [BZ #13792]
39474 * manual/examples/README: New file, says the example source files
39475 can be used under GPL>=2.
39476 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39477 line containing just "*/".
39478 * manual/examples/add.c: Add copyright header (GPL>=2).
39479 * manual/examples/argp-ex1.c: Likewise.
39480 * manual/examples/argp-ex2.c: Likewise.
39481 * manual/examples/argp-ex3.c: Likewise.
39482 * manual/examples/argp-ex4.c: Likewise.
39483 * manual/examples/atexit.c: Likewise.
39484 * manual/examples/db.c: Likewise.
39485 * manual/examples/dir.c: Likewise.
39486 * manual/examples/dir2.c: Likewise.
39487 * manual/examples/execinfo.c: Likewise.
39488 * manual/examples/filecli.c: Likewise.
39489 * manual/examples/filesrv.c: Likewise.
39490 * manual/examples/fmtmsgexpl.c: Likewise.
39491 * manual/examples/genpass.c: Likewise.
39492 * manual/examples/inetcli.c: Likewise.
39493 * manual/examples/inetsrv.c: Likewise.
39494 * manual/examples/isockad.c: Likewise.
39495 * manual/examples/longopt.c: Likewise.
39496 * manual/examples/memopen.c: Likewise.
39497 * manual/examples/memstrm.c: Likewise.
39498 * manual/examples/mkfsock.c: Likewise.
39499 * manual/examples/mkisock.c: Likewise.
39500 * manual/examples/mygetpass.c: Likewise.
39501 * manual/examples/pipe.c: Likewise.
39502 * manual/examples/popen.c: Likewise.
39503 * manual/examples/rprintf.c: Likewise.
39504 * manual/examples/search.c: Likewise.
39505 * manual/examples/select.c: Likewise.
39506 * manual/examples/setjmp.c: Likewise.
39507 * manual/examples/sigh1.c: Likewise.
39508 * manual/examples/sigusr.c: Likewise.
39509 * manual/examples/stpcpy.c: Likewise.
39510 * manual/examples/strdupa.c: Likewise.
39511 * manual/examples/strftim.c: Likewise.
39512 * manual/examples/strncat.c: Likewise.
39513 * manual/examples/subopt.c: Likewise.
39514 * manual/examples/swapcontext.c: Likewise.
39515 * manual/examples/termios.c: Likewise.
39516 * manual/examples/testopt.c: Likewise.
39517 * manual/examples/testpass.c: Likewise.
39518 * manual/examples/timeval_subtract.c: Likewise.
39519
01ae168d
RM
39520 [BZ #13792]
39521 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39522 function to ...
39523 * manual/timeval_subtract.c.texi: ... here, new file.
39524
49efa33d
DM
395252012-03-02 David S. Miller <davem@davemloft.net>
39526
39527 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39528
28afd92d
JM
395292012-03-02 Joseph Myers <joseph@codesourcery.com>
39530
804360ed
JM
39531 [BZ #3976]
39532 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39533 (__sin): Save and restore rounding mode and use round-to-nearest
39534 for all computations.
39535 (__cos): Save and restore rounding mode and use round-to-nearest
39536 for all computations.
39537 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39538 <fenv.h>.
39539 (tan): Save and restore rounding mode and use round-to-nearest for
39540 all computations.
39541 * math/libm-test.inc (cos_test_tonearest): New function.
39542 (cos_test_towardzero): Likewise.
39543 (cos_test_downward): Likewise.
39544 (cos_test_upward): Likewise.
39545 (sin_test_tonearest): Likewise.
39546 (sin_test_towardzero): Likewise.
39547 (sin_test_downward): Likewise.
39548 (sin_test_upward): Likewise.
39549 (tan_test_tonearest): Likewise.
39550 (tan_test_towardzero): Likewise.
39551 (tan_test_downward): Likewise.
39552 (tan_test_upward): Likewise.
39553 (main): Call the new functions.
39554 * sysdeps/i386/fpu/libm-test-ulps: Update.
39555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39556
a6d06d7b
JM
39557 [BZ #10135]
39558 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39559 small n, then large n, before computing and testing k+n.
39560 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39562 Likewise.
39563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39564 Likewise.
39565 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39566 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39573 * math/libm-test.inc (scalbn_test): Add more tests.
39574 (scalbln_test): Likewise.
39575
07e12bb3
JM
39576 * manual/filesys.texi (mode_t): Describe constraints on size and
39577 signedness, not exact equivalence to a particular type.
39578 (ino_t): Likewise.
39579 (ino64_t): Likewise.
39580 (dev_t): Likewise.
39581 (nlink_t): Likewise.
39582 (blkcnt_t): Likewise.
39583 (blkcnt64_t): Likewise.
39584 * manual/llio.texi (off_t): Likewise.
39585
28afd92d
JM
39586 [BZ #3976]
39587 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39588 (__ieee754_exp): Save and restore rounding mode and use
39589 round-to-nearest for all computations.
39590 * math/libm-test.inc (exp_test_tonearest): New function.
39591 (exp_test_towardzero): Likewise.
39592 (exp_test_downward): Likewise.
39593 (exp_test_upward): Likewise.
39594 (main): Call the new functions.
39595 * sysdeps/i386/fpu/libm-test-ulps: Update.
39596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39597
b1eeb65d
CD
395982012-03-01 Chris Demetriou <cgd@google.com>
39599
39600 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39601 have predictable order.
39602
53362a4b
DM
396032012-03-01 David S. Miller <davem@davemloft.net>
39604
3c969083
DM
39605 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39606
759707de
DM
39607 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39608 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39609 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39610 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39611
dfdb8ff2
DM
39612 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39613 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39614 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39616 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39617 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39618 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39619 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39620 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39621
ead89f96
DM
39622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39623
7f66bd07
DM
39624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39625 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39626 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39627
53362a4b
DM
39628 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39629 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39630 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39631 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39632 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39635 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39636 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39637 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39638 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39639 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39641 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39644 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39645 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39646 * sysdeps/sparc/elf/configure: Regenerated.
39647
7b1902cb
JM
396482012-03-01 Joseph Myers <joseph@codesourcery.com>
39649
bec039bc
JM
39650 * configure.in (AS, LD): Require binutils 2.20 or later.
39651 * configure: Regenerated.
39652 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39653 as required minimum version.
39654 * INSTALL: Regenerated.
39655
7b1902cb
JM
39656 [BZ #2541]
39657 [BZ #4108]
39658 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39659 before squaring exponent.
39660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39661 bottom long double and 27 bits of top long double before squaring
39662 exponent.
39663 * math/libm-test.inc (erfc_test): Add more tests.
39664 * sysdeps/i386/fpu/libm-test-ulps: Update.
39665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39667
f775c276
KT
396682012-03-01 Kai Tietz <ktietz@redhat.com>
39669
39670 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39671 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39672 containing bit-fields.
39673 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39674 * soft-fp/single.h (_FP_UNION_S): Likewise.
39675 * soft-fp/double.h (_FP_UNION_D): Likewise.
39676
5b8a4d4a
JM
396772012-02-29 Joseph Myers <joseph@codesourcery.com>
39678
0bab47b6
JM
39679 [BZ #13786]
39680 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39681 not include ../strcmp.S.
39682 [USE_AS_STRNCASECMP_L]: Likewise.
39683 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39684 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39685 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39686 (__strncasecmp_l_ia32): Define as alias to
39687 __strncasecmp_l_nonascii.
39688
0fcad3e2
JM
39689 [BZ #5794]
39690 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39691 * sysdeps/i386/fpu/libm-test-ulps: Update.
39692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39693
5b8a4d4a
JM
39694 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39696
8fdceb2e
JL
396972012-02-29 Jeff Law <law@redhat.com>
39698
39699 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39700 out of bounds read.
39701
1f393a11
MP
397022012-02-29 Marek Polacek <polacek@redhat.com>
39703
39704 [BZ #13706]
39705 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39706 * elf/Makefile: Add rules to run tst-unused-dep.out.
39707
8847f037
DM
397082012-02-28 David S. Miller <davem@davemloft.net>
39709
39710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39714 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39715 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39716
169d7f11
JM
397172012-02-29 Joseph Myers <joseph@codesourcery.com>
39718
39719 * math/libm-test.inc (llround_test): Move one test from
39720 lround_test. Use TEST_f_L in moved test.
39721 (lround_test): Move misplaced test to llround_test. Add testcase
39722 from bug 2561.
39723
39adf059
UD
397242012-02-28 Ulrich Drepper <drepper@gmail.com>
39725
39726 * sysdeps/x86_64/fpu/e_expf.S: New file.
39727 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39728
71b5d1c5
SB
397292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39730
39731 [BZ #13637]
39732 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39733 of remain_len that may cause incomplete multi-byte character and
39734 false match.
39735 * posix/bug-regex33.c: New file.
39736 * posix/Makefile (tests): Add bug-regex33.
39737
1f77f049
JM
397382012-02-28 Joseph Myers <joseph@codesourcery.com>
39739
39740 * manual/macros.texi: New file.
39741 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39742 * manual/libc.texinfo: Include macros.texi.
39743 * manual/creatute.texi: Likewise.
39744 * manual/install.texi: Likewise.
39745 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39746 @glibcadj{} in references to the GNU C Library.
39747 * manual/charset.texi: Likewise.
39748 * manual/conf.texi: Likewise.
39749 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39750 when not using those macros.
39751 * manual/creature.texi: Likewise.
39752 * manual/crypt.texi: Likewise.
39753 * manual/errno.texi: Likewise.
39754 * manual/filesys.texi: Likewise.
39755 * manual/header.texi: Likewise.
39756 * manual/install.texi: Likewise.
39757 * manual/intro.texi: Likewise.
39758 * manual/io.texi: Likewise.
39759 * manual/job.texi: Likewise.
39760 * manual/lang.texi: Likewise.
39761 * manual/libc.texiinfo: Likewise.
39762 * manual/llio.texi: Likewise.
39763 * manual/locale.texi: Likewise.
39764 * manual/maint.texi: Likewise.
39765 * manual/math.texi: Likewise.
39766 * manual/memory.texi: Likewise.
39767 * manual/message.texi: Likewise.
39768 * manual/nss.texi: Likewise.
39769 * manual/pattern.texi: Likewise.
39770 * manual/process.texi: Likewise.
39771 * manual/resource.texi: Likewise.
39772 * manual/search.texi: Likewise.
39773 * manual/setjmp.texi: Likewise.
39774 * manual/signal.texi: Likewise.
39775 * manual/socket.texi: Likewise.
39776 * manual/startup.texi: Likewise.
39777 * manual/stdio.texi: Likewise.
39778 * manual/string.texi: Likewise.
39779 * manual/sysinfo.texi: Likewise.
39780 * manual/syslog.texi: Likewise.
39781 * manual/terminal.texi: Likewise.
39782 * manual/time.texi: Likewise.
39783 * manual/users.texi: Likewise.
39784 * INSTALL: Regenerated.
39785 * NOTES: Regenerated.
d40c5d54 39786 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39787
450bf206
AS
397882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39789
39790 * include/dirent.h: Include <dirstream.h> before
39791 <dirent/dirent.h>.
39792
741a235b
DM
397932012-02-28 David S. Miller <davem@davemloft.net>
39794
39795 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39796 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39797 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39798 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39799
d6b5aa58
DM
398002012-02-27 David S. Miller <davem@davemloft.net>
39801
1aff59a3
DM
39802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39804 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39805 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39806
d6b5aa58
DM
39807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39808 frame pointer instead of stack pointer relative arg slot.
39809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39810 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39811 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39812
433f48bf
CD
398132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39814
39815 [BZ #3992]
39816 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39817
d674b76d
DM
398182012-02-27 David S. Miller <davem@davemloft.net>
39819
39820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39826 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39827 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39828
0e7727f7
JM
398292012-02-27 Joseph Myers <joseph@codesourcery.com>
39830
39831 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39832 later. Allow versions 5-9.
43be4ca2 39833 * configure: Regenerated.
0e7727f7
JM
39834 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39835 required minimum version and 4.6 as recommended version. Do not
39836 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39837 * INSTALL: Regenerated.
0e7727f7 39838
a78bc654
DM
398392012-02-27 David S. Miller <davem@davemloft.net>
39840
428d5830
DM
39841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39847 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39849
a78bc654
DM
39850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39851 manipulate bits before adding and subtracting TWO112[sx].
39852 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39853
4579f81c
RM
398542012-02-27 Roland McGrath <roland@hack.frob.com>
39855
36c8acb4
RM
39856 [BZ #13775]
39857 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39858 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39859 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39860 being in POSIX, because they are in 1003.1-2008.
39861
84ad622b
RM
39862 * rt/tst-aio.c: Include <fcntl.h>.
39863 * rt/tst-aio7.c: Likewise.
39864 * rt/tst-aio64.c: Likewise.
39865
4579f81c
RM
39866 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39867
abd923db
JM
398682012-02-27 Joseph Myers <joseph@codesourcery.com>
39869
39870 * manual/install.texi (--with-headers): Describe headers as
39871 interface headers, not private headers.
39872 (Specific advice for GNU/Linux systems): Describe use of headers
39873 from "make headers_install", not private headers from older
39874 kernels.
43be4ca2 39875 * INSTALL: Regenerated.
abd923db
JM
39876 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39877 Change to 2.6.19.
39878 * sysdeps/unix/sysv/linux/configure: Regenerated.
39879
6664049b
JM
39880 * manual/llio.texi (fclean): Remove documentation.
39881
bb8b6697
JM
39882 * manual/Makefile (libc-texi-generated): New variable. Include
39883 version.texi.
39884 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39885 $(libc-texi-generated), not duplicated list of files.
39886 (version.texi, stamp-version): New rules.
39887 (realclean): Remove $(libc-texi-generated), not individual files
39888 from that list. Do not remove dir-add.texinfo.
39889 * manual/libc.texinfo: Comment out uses of edition numbers and
39890 references to printed manual. Remove last-updated dates.
39891 (EDITION): Comment out.
39892 (ISBN): Likewise.
39893 (VERSION, UPDATED): Remove.
39894 (version.texi): Include.
39895
12e5c3b9
AS
398962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39897
39898 * sysdeps/posix/spawni.c: Include <signal.h>.
39899 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39900 * sysdeps/pthread/aio_fsync.c: Likewise.
39901
4efeffc1 399022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39903
ba63ba08
UD
39904 * conform/Makefile (tests): Run only when not cross-compiling and
39905 when fast-check is not defined.
39906
d94a4670
UD
39907 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39908 * conform/data/limits.h-data: Fixes for POSIX2008.
39909 * conform/run-conformtest.sh: Run all tests.
39910 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39911 headers.
39912 * include/bits/dlfcn.h: Likewise.
39913 * include/langinfo.h: Likewise.
39914 * include/monetary.h: Likewise.
39915 * include/sys/poll.h: Likewise.
39916
39917 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39918 for __USE_GNU.
39919 * posix/spawn.h: Define __need_sigset_t.
39920 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39921 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39922 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39923 to get sigevent_t only.
39924 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39925 only for __USE_GNU.
39926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39927 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39928 process_vm_writev only for __USE_GNU.
39929 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39930
39931 * conform/Makefile: For now ignore errors from run-conformtest.
39932 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39933 POSIX to avoid namespace pollution. Don't prepend headers.
39934 * conform/data/aio.h-data: Fixes for POSIX testing.
39935 * conform/data/fcntl.h-data: Likewise.
39936 * conform/data/glob.h-data: Likewise.
39937 * conform/data/grp.h-data: Likewise.
39938 * conform/data/pthread.h-data: Likewise.
39939 * conform/data/pwd.h-data: Likewise.
39940 * conform/data/signal.h-data: Likewise.
39941 * conform/data/spawn.h-data: Likewise.
39942 * conform/data/stdio.h-data: Likewise.
39943 * conform/data/stdlib.h-data: Likewise.
39944 * conform/data/stropts.h-data: Likewise.
39945 * conform/data/sys/mman.h-data: Likewise.
39946 * conform/data/sys/stat.h-data: Likewise.
39947 * conform/data/sys/types.h-data: Likewise.
39948 * conform/data/sys/wait.h-data: Likewise.
39949 * conform/data/time.h-data: Likewise.
39950 * conform/data/unistd.h-data: Likewise.
39951 * conform/data/utime.h-data: Likewise.
39952
39953 * io/sys/stat.h: fchmod was always in POSIX.
39954 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39955 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39956 * rt/aio.h: Define __need_timespec before including <time.h>.
39957 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39958 struct. Add forward declaration of pthread_attr_t and use it in
39959 sigevent.
39960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39962 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39963 always remove CLK_TCK definition.
39964
c20105c3
AS
399652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39966
39967 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39968
7a270350
UD
399692012-02-25 Ulrich Drepper <drepper@gmail.com>
39970
31341567
UD
39971 * conform/run-conformtest.sh: New file.
39972 * conform/Makefile: Run run-conformtest for tests.
39973 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39974 support.
39975
39976 * conform/data/uchar.h-data: New file.
39977 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39978 * conform/data/arpa/inet.h-data: Likewise.
39979 * conform/data/assert.h-data: Likewise.
39980 * conform/data/complex.h-data: Likewise.
39981 * conform/data/cpio.h-data: Likewise.
39982 * conform/data/ctype.h-data: Likewise.
39983 * conform/data/dirent.h-data: Likewise.
39984 * conform/data/dlfcn.h-data: Likewise.
39985 * conform/data/errno.h-data: Likewise.
39986 * conform/data/fcntl.h-data: Likewise.
39987 * conform/data/float.h-data: Likewise.
39988 * conform/data/fmtmsg.h-data: Likewise.
39989 * conform/data/fnmatch.h-data: Likewise.
39990 * conform/data/ftw.h-data: Likewise.
39991 * conform/data/glob.h-data: Likewise.
39992 * conform/data/grp.h-data: Likewise.
39993 * conform/data/iconv.h-data: Likewise.
39994 * conform/data/inttypes.h-data: Likewise.
39995 * conform/data/langinfo.h-data: Likewise.
39996 * conform/data/libgen.h-data: Likewise.
39997 * conform/data/limits.h-data: Likewise.
39998 * conform/data/locale.h-data: Likewise.
39999 * conform/data/math.h-data: Likewise.
40000 * conform/data/monetary.h-data: Likewise.
40001 * conform/data/mqueue.h-data: Likewise.
40002 * conform/data/ndbm.h-data: Likewise.
40003 * conform/data/net/if.h-data: Likewise.
40004 * conform/data/netdb.h-data: Likewise.
40005 * conform/data/netinet/in.h-data: Likewise.
40006 * conform/data/nl_types.h-data: Likewise.
40007 * conform/data/poll.h-data: Likewise.
40008 * conform/data/pthread.h-data: Likewise.
40009 * conform/data/pwd.h-data: Likewise.
40010 * conform/data/regex.h-data: Likewise.
40011 * conform/data/sched.h-data: Likewise.
40012 * conform/data/search.h-data: Likewise.
40013 * conform/data/semaphore.h-data: Likewise.
40014 * conform/data/setjmp.h-data: Likewise.
40015 * conform/data/signal.h-data: Likewise.
40016 * conform/data/spawn.h-data: Likewise.
40017 * conform/data/stdarg.h-data: Likewise.
40018 * conform/data/stdio.h-data: Likewise.
40019 * conform/data/stdlib.h-data: Likewise.
40020 * conform/data/string.h-data: Likewise.
40021 * conform/data/strings.h-data: Likewise.
40022 * conform/data/stropts.h-data: Likewise.
40023 * conform/data/sys/ipc.h-data: Likewise.
40024 * conform/data/sys/mman.h-data: Likewise.
40025 * conform/data/sys/msg.h-data: Likewise.
40026 * conform/data/sys/resource.h-data: Likewise.
40027 * conform/data/sys/select.h-data: Likewise.
40028 * conform/data/sys/sem.h-data: Likewise.
40029 * conform/data/sys/shm.h-data: Likewise.
40030 * conform/data/sys/socket.h-data: Likewise.
40031 * conform/data/sys/stat.h-data: Likewise.
40032 * conform/data/sys/statvfs.h-data: Likewise.
40033 * conform/data/sys/time.h-data: Likewise.
40034 * conform/data/sys/timeb.h-data: Likewise.
40035 * conform/data/sys/times.h-data: Likewise.
40036 * conform/data/sys/types.h-data: Likewise.
40037 * conform/data/sys/uio.h-data: Likewise.
40038 * conform/data/sys/un.h-data: Likewise.
40039 * conform/data/sys/utsname.h-data: Likewise.
40040 * conform/data/sys/wait.h-data: Likewise.
40041 * conform/data/syslog.h-data: Likewise.
40042 * conform/data/tar.h-data: Likewise.
40043 * conform/data/termios.h-data: Likewise.
40044 * conform/data/utime.h-data: Likewise.
40045 * conform/data/utmpx.h-data: Likewise.
40046 * conform/data/varargs.h-data: Likewise.
40047 * conform/data/wchar.h-data: Likewise.
40048 * conform/data/wctype.h-data: Likewise.
40049 * conform/data/wordexp.h-data: Likewise.
40050
40051 * include/stropts.h: New file.
40052 * include/uchar.h: New file.
40053 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40054 * include/assert.h: Likewise.
40055 * include/ctype.h: Likewise.
40056 * include/dirent.h: Likewise.
40057 * include/dlfcn.h: Likewise.
40058 * include/fcntl.h: Likewise.
40059 * include/fnmatch.h: Likewise.
40060 * include/glob.h: Likewise.
40061 * include/grp.h: Likewise.
40062 * include/libio.h: Likewise.
40063 * include/locale.h: Likewise.
40064 * include/math.h: Likewise.
40065 * include/net/if.h: Likewise.
40066 * include/netdb.h: Likewise.
40067 * include/netinet/in.h: Likewise.
40068 * include/pthread.h: Likewise.
40069 * include/pwd.h: Likewise.
40070 * include/regex.h: Likewise.
40071 * include/sched.h: Likewise.
40072 * include/search.h: Likewise.
40073 * include/setjmp.h: Likewise.
40074 * include/signal.h: Likewise.
40075 * include/stdio.h: Likewise.
40076 * include/stdlib.h: Likewise.
40077 * include/string.h: Likewise.
40078 * include/sys/cdefs.h: Likewise.
40079 * include/sys/mman.h: Likewise.
40080 * include/sys/msg.h: Likewise.
40081 * include/sys/resource.h: Likewise.
40082 * include/sys/select.h: Likewise.
40083 * include/sys/socket.h: Likewise.
40084 * include/sys/stat.h: Likewise.
40085 * include/sys/statvfs.h: Likewise.
40086 * include/sys/time.h: Likewise.
40087 * include/sys/times.h: Likewise.
40088 * include/sys/uio.h: Likewise.
40089 * include/sys/utsname.h: Likewise.
40090 * include/sys/wait.h: Likewise.
40091 * include/termios.h: Likewise.
40092 * include/time.h: Likewise.
40093 * include/ulimit.h: Likewise.
40094 * include/unistd.h: Likewise.
40095 * include/utime.h: Likewise.
40096 * include/wchar.h: Likewise.
40097 * include/wctype.h: Likewise.
40098 * include/wordexp.h: Likewise.
40099
40100 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40101
7a270350
UD
40102 * time/time.h: TIME_UTC must be a macro.
40103 Make timespec_get available for ISO C11 only as well.
40104
7724defc
UD
401052012-02-24 Ulrich Drepper <drepper@gmail.com>
40106
40107 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40108 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40109
6b1d1d46
JM
401102012-02-24 Joseph Myers <joseph@codesourcery.com>
40111
40112 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40113
0f8bbd69
JM
401142012-02-24 Joseph Myers <joseph@codesourcery.com>
40115
40116 * manual/texinfo.tex: Update to version 2012-01-19.16.
40117
66ab80bc
JM
401182012-02-24 Joseph Myers <joseph@codesourcery.com>
40119
40120 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40121
74981cc5
RM
401222012-02-24 Roland McGrath <roland@hack.frob.com>
40123
ee968201
RM
40124 [BZ #13738]
40125 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40126 * manual/fdl-1.3.texi: New file.
40127 * manual/fdl-1.1.texi: File removed.
40128
74981cc5
RM
40129 [BZ #13738]
40130 * manual/libc.texinfo (FDL_VERSION): New @set.
40131 Use it for mention of FDL in cover text.
40132 (Documentation License): Use it in @include file name.
40133
7bb764bc
JM
401342012-02-22 Joseph Myers <joseph@codesourcery.com>
40135 Roland McGrath <roland@hack.frob.com>
40136
40137 [BZ #5461]
57f41c40
AS
40138 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40139 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40140 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40141 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40142 name.
40143 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40144
6cbeae47
JM
401452012-02-22 Joseph Myers <joseph@codesourcery.com>
40146
40147 [BZ #2547]
40148 [BZ #11365]
40149 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40150 manipulate bits before adding and subtracting TWO23[sx].
40151 * math/libm-test.inc (nearbyint_test): Add more tests.
40152
fe45ce09
JM
401532012-02-22 Joseph Myers <joseph@codesourcery.com>
40154
40155 [BZ #2548]
40156 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40157 bits before adding and subtracting TWO23[sx].
40158 * math/libm-test.inc (rint_test): Add more tests.
40159 (rint_test_tonearest): Likewise.
40160 (rint_test_towardzero): Likewise.
40161 (rint_test_downward): Likewise.
40162 (rint_test_upward: Likewise.
40163
ff3b3d82
JM
401642012-02-22 Joseph Myers <joseph@codesourcery.com>
40165
40166 [BZ #10110]
40167 * include/stdc-predef.h: New file. Extracted from features.h.
40168 * include/features.h: Include stdc-predef.h.
40169 * Makefile (headers): Add stdc-predef.h.
40170 * CONFORMANCE (Compiler limitations): Update.
40171
ef0aab35
JM
401722012-02-22 Joseph Myers <joseph@codesourcery.com>
40173
40174 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40175
58639409
DM
401762012-02-21 David S. Miller <davem@davemloft.net>
40177
40178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40179 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40180
c0e70b25
DM
401812012-02-20 David S. Miller <davem@davemloft.net>
40182
40183 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40184 using a normal save/restore sequence, rather than allocating a
40185 dummy stack frame just to store a frame pointer and restore.
40186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40187
fb06851d
JM
401882012-02-21 Joseph Myers <joseph@codesourcery.com>
40189
40190 * manual/install.texi: Fix stray word in line-wrapped comment.
40191
7a8b71c3
DM
401922012-02-20 David S. Miller <davem@davemloft.net>
40193
d510c123
DM
40194 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40195 both binutils and gcc support GOTDATA.
40196
0722d7c2
DM
40197 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40198 "rd %pc" in the PIC register setup sequences.
40199
3d2b3019
DM
40200 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40201 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40202 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40203 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40204 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40209 (SYSCALL_ERROR_HANDLER): Likewise.
40210 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40211 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40213 (SYSCALL_ERROR_HANDLER): Likewise.
40214
c80098a9
DM
40215 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40216 (HAVE_GCC_GOTDATA): New.
40217 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40218 relocation support in both binutils and gcc.
40219 * sysdeps/sparc/elf/configure: Regenerate.
40220
3a2545a0
DM
40221 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40222 * sysdeps/sparc/sparc32/elf/configure: Delete.
40223 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40224 * sysdeps/sparc/sparc64/elf/configure: Delete.
40225 * sysdeps/sparc/elf/configure.in: New file.
40226 * sysdeps/sparc/elf/configure: Generate.
40227
7a8b71c3
DM
40228 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40229 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40231 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40232 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40233
f1e86fca
JM
402342012-02-21 Joseph Myers <joseph@codesourcery.com>
40235
40236 * manual/install.texi: Do not mention specific glibc version
40237 numbers.
40238 * manual/libc.texinfo (VERSION, UPDATED): Update.
40239 (@copying): Use @copyright{} and range of years.
40240
0e7dfaef
JM
402412012-02-21 Joseph Myers <joseph@codesourcery.com>
40242
40243 [BZ #13695]
40244 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40245 [crti.S not in sysdirs] (generated): Do not append.
40246 [crti.S not in sysdirs] (omit-deps): Likewise.
40247 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40248 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40249 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40250 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40251 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40252 Likewise.
40253 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40254 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40255 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40256 * csu/defs.awk: Remove file.
40257 * sysdeps/generic/initfini.c: Likewise.
40258 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40259 variable.
40260 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40261 Likewise.
40262
599af3ca
JM
402632012-02-20 Joseph Myers <joseph@codesourcery.com>
40264
40265 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40266 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40267 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40270 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40271 <bits/epoll.h>.
40272 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40273 (__EPOLL_PACKED): Define to empty if not defined by
40274 <bits/epoll.h>.
40275 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40277 bits/epoll.h.
40278
0e499750
JM
402792012-02-20 Joseph Myers <joseph@codesourcery.com>
40280
40281 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40282 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40284 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40285 <bits/timerfd.h>.
40286 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40288 bits/timerfd.h.
40289
5ad91f6e
JM
402902012-02-20 Joseph Myers <joseph@codesourcery.com>
40291
40292 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40293 in C locale.
40294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40295 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40298
06b99b02
AJ
402992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40300
40301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40302 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40303
7638c0fd
AS
403042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40305
40306 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40307 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40308 defined.
40309 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40310 Likewise.
40311 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40312 entry for 2.16.
40313
92221550
AJ
403142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40315
40316 * math/w_acos.c: Use non-signaling floating-point comparisons.
40317 * math/w_acosf.c: Likewise.
40318 * math/w_acosh.c: Likewise.
40319 * math/w_acoshf.c: Likewise.
40320 * math/w_acoshl.c: Likewise.
40321 * math/w_acosl.c: Likewise.
40322 * math/w_asin.c: Likewise.
40323 * math/w_asinf.c: Likewise.
40324 * math/w_asinl.c: Likewise.
40325 * math/w_atanh.c: Likewise.
40326 * math/w_atanhf.c: Likewise.
40327 * math/w_atanhl.c: Likewise.
40328 * math/w_exp2.c: Likewise.
40329 * math/w_exp2f.c: Likewise.
40330 * math/w_exp2l.c: Likewise.
40331 * math/w_j0.c: Likewise.
40332 * math/w_j0f.c: Likewise.
40333 * math/w_j0l.c: Likewise.
40334 * math/w_j1.c: Likewise.
40335 * math/w_j1f.c: Likewise.
40336 * math/w_j1l.c: Likewise.
40337 * math/w_jn.c: Likewise.
40338 * math/w_jnf.c: Likewise.
40339 * math/w_log.c: Likewise.
40340 * math/w_log10.c: Likewise.
40341 * math/w_log10f.c: Likewise.
40342 * math/w_log10l.c: Likewise.
40343 * math/w_log2.c: Likewise.
40344 * math/w_log2f.c: Likewise.
40345 * math/w_log2l.c: Likewise.
40346 * math/w_logf.c: Likewise.
40347 * math/w_logl.c: Likewise.
40348 * math/w_sqrt.c: Likewise.
40349 * math/w_sqrtf.c: Likewise.
40350 * math/w_sqrtl.c: Likewise.
40351 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40352 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40354 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40355 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40356
ebaf36eb
JM
403572012-02-19 Joseph Myers <joseph@codesourcery.com>
40358
40359 [BZ #9739]
40360 * manual/string.texi (strnlen): Use correct parameter name in
40361 equivalent expression.
40362
71c254a6
JM
403632012-02-19 Joseph Myers <joseph@codesourcery.com>
40364
40365 [BZ #11174]
40366 * manual/users.texi (seteuid): Consistently use neweuid for
40367 argument name.
40368
16d2c631
JM
403692012-02-19 Joseph Myers <joseph@codesourcery.com>
40370
40371 [BZ #13704]
40372 * manual/nss.texi (Services in the NSS configuration): Correct
40373 list of services in example configuration file.
40374
cd837b09
NB
403752012-02-19 Nick Bowler <nbowler@draconx.ca>
40376
40377 [BZ #11322]
40378 * manual/arith.texi: Remove statements about negative zero
40379 behaving identically to zero.
40380
02c4bbad
JM
403812012-02-18 Joseph Myers <joseph@codesourcery.com>
40382
40383 [BZ #5993]
40384 * manual/install.texi: Do not document upgrading from libc5.
40385
366842e7
JM
403862012-02-18 Joseph Myers <joseph@codesourcery.com>
40387
40388 [BZ #4596]
40389 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40390
dd54084d
DM
403912012-02-18 David S. Miller <davem@davemloft.net>
40392
40393 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40394 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40395 %o7 across the call.
40396 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40397 instead.
40398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40399 SETUP_PIC_REG_LEAF.
40400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40401 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40402 * sysdeps/sparc/crtn.S: Likewise.
40403
2bcc53a3
UD
404042012-02-17 Ulrich Drepper <drepper@gmail.com>
40405
40406 * aout/Makefile: Remove.
40407
09c093b5
RK
404082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40409
40410 [BZ #13058]
40411 * manual/examples/argp-ex1.c (main): Format definition in GNU
40412 style.
40413 * manual/examples/argp-ex2.c (main): Likewise.
40414 * manual/examples/argp-ex3.c (main): Likewise.
40415 * manual/examples/argp-ex4.c (main): Likewise.
40416 * manual/examples/longopt.c (main): Use new-style prototype
40417 definition.
40418 * manual/examples/strncat.c (main): Specify return type and use
40419 (void) for arguments.
40420 * manual/examples/subopt.c (main): Use char **argv argument.
40421
2ee633a2
JM
404222012-02-17 Joseph Myers <joseph@codesourcery.com>
40423
40424 [BZ #5077]
40425 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40426 rounding modes.
40427
0520adde
FB
404282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40429
40430 [BZ #6907]
40431 * manual/string.texi (strchr): Change when strchrnul is
40432 recommended.
40433
3f4081cd
DGM
404342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40435
40436 [BZ #174]
40437 * manual/locale.texi (setlocale): Document LOCPATH.
40438
d1b10e78
JM
404392012-02-17 Joseph Myers <joseph@codesourcery.com>
40440
40441 [BZ #10210]
40442 * manual/process.texi (execle): Move @dots{} before last argument.
40443
79c6869c
PB
404442012-02-17 Paul Bolle <pebolle@tiscali.nl>
40445
40446 [BZ #12047]
40447 * manual/charset.texi (Generic Charset Conversion): Fix typo
40448 (LC_TYPE -> LC_CTYPE).
40449
cc6e48bc
NB
404502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40451
40452 [BZ #5805]
40453 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40454 (scalbnf): Likewise.
40455 (scalbnl): Likewise.
40456 (scalbln): Likewise.
40457 (scalblnf): Likewise.
40458 (scalblnl): Likewise.
40459 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40460 (vwarnx): Likewise.
40461 (verr): Likewise.
40462 (verrx): Likewise.
40463 * manual/filesys.texi (telldir): Use braces around return type.
40464 * manual/llio.texi (mmap): Add space after comma.
40465 (mmap64): Likewise.
40466 * manual/math.texi (jn): Use @var{} on parameter names.
40467 (jnf): Likewise.
40468 (jnl): Likewise.
40469 (yn): Likewise.
40470 (ynf): Likewise.
40471 (ynl): Likewise.
40472 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40473 line.
40474 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40475 "...".
40476 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40477 (sched_get_priority_max): Likewise.
40478 * manual/signal.texi (sigvec): Add space after comma.
40479 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40480 names.
40481 (if_indextoname): Likewise.
40482 (if_freenameindex): Likewise.
40483 (sendto): Use ',' instead of '.' in prototype.
40484 * manual/startup.texi (syscall): Use @dots{} instead of literal
40485 "...".
40486 * manual/stdio.texi (__fpending): Separate initial words of
40487 paragraph from @deftypefun line.
40488 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40489 "...".
40490 (vsyslog): Use @var{} on parameter names.
40491 * manual/terminal.texi (stty): Use @var{} on parameter names.
40492 * manual/users.texi (getutmp): Use @var{} on parameter names.
40493 (getutmpx): Likewise.
40494
5b23062f
JM
404952012-02-17 Joseph Myers <joseph@codesourcery.com>
40496
40497 [BZ #6884]
40498 * manual/stdio.texi (fopen): Fix typos in description of
40499 ",ccs=STRING".
40500
8dee4833
AJ
405012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40502
40503 [BZ #4026]
40504 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40505 get clock_id definition.
40506
9078ce93
TS
405072012-02-17 Thomas Schwinge <thomas@schwinge.name>
40508
40509 [BZ #4822]
40510 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40511 (madvise): Cast every argument to void on its own.
40512
3835c55f
JM
405132012-02-17 Joseph Myers <joseph@codesourcery.com>
40514
40515 [BZ #9902]
40516 * manual/startup.texi (Exit Status): Fix typo.
40517
35c47e37
JM
405182012-02-17 Joseph Myers <joseph@codesourcery.com>
40519
40520 [BZ #10140]
40521 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40522 * manual/examples/argp-ex2.c: Likewise.
40523 * manual/examples/argp-ex3.c: Likewise.
40524
e3b69ca7
RH
405252012-02-16 Richard Henderson <rth@redhat.com>
40526
40527 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40528 * sysdeps/s390/s390-32/initfini.c: Remove.
40529 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40530 * sysdeps/s390/s390-64/initfini.c: Remove.
40531
df83af67
KK
405322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40533
40534 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40535 compiler output for sysdeps/generic/initfini.c.
40536 * sysdeps/sh/elf/initfini.c: Remove file.
40537
f63f3380
DM
405382012-02-16 David S. Miller <davem@davemloft.net>
40539
fb59b3a4
DM
40540 [BZ #11494]
40541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40542
f63f3380
DM
40543 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40544 * sysdeps/sparc/crti.S: New file.
40545 * sysdeps/sparc/crtn.S: New file.
40546 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40547 * sysdeps/sparc/sparc64/Makefile: Likewise.
40548
df6a4a4a
MF
405492012-02-15 Mike Frysinger <vapier@gentoo.org>
40550
6dd8f3dc 40551 [BZ #3335]
df6a4a4a
MF
40552 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40553
1cac7236
RM
405542012-02-15 Roland McGrath <roland@hack.frob.com>
40555
d2c736f8
RM
40556 [BZ #4822]
40557 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40558
1cac7236
RM
40559 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40560 (write, read, close): Likewise.
40561 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40562
8e475601
JM
405632012-02-15 Joseph Myers <joseph@codesourcery.com>
40564
40565 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40566 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40567 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40568 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40569 <bits/signalfd.h>.
40570 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40572 bits/signalfd.h.
40573
ed656b40
MP
405742012-02-14 Marek Polacek <polacek@redhat.com>
40575
40576 * sysdeps/x86_64/crti.S: New file.
40577 * sysdeps/x86_64/crtn.S: New file.
40578 * sysdeps/x86_64/elf/initfini.c: Remove file.
40579
2a979d3a
JM
405802012-02-13 Joseph Myers <joseph@codesourcery.com>
40581
40582 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40583 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40584 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40585 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40586 <bits/inotify.h>.
40587 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40589 bits/inotify.h.
40590
2a418ac3
JM
405912012-02-13 Joseph Myers <joseph@codesourcery.com>
40592
40593 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40594 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40595 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40596 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40597 <bits/eventfd.h>.
40598 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40600 bits/eventfd.h.
40601
fb779be7
TS
406022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40603
e19e83c5
RM
40604 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40605 __feraiseexcept instead of feraiseexcept.
7c35ffed 40606
fb779be7
TS
40607 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40608 nanosleep invocations.
40609 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40610 strings, and add error checking for a nanosleep invocations.
40611
59ba27a6
PE
406122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40613
40614 Replace FSF snail mail address with URLs, as per GNU coding standards.
40615 Most of the snail mail addresses were wrong anyway, and omitting
40616 them makes the source code easier to maintain. Almost all of the
40617 changes are to license notices and to locale LC_IDENTIFICATION
40618 addresses, except for this one:
40619 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40620 not its snail mail address.
40621
57b957eb
RH
406222012-02-09 Richard Henderson <rth@twiddle.net>
40623
af850b1c
RH
40624 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40625 of kernel-features.h.
40626
57b957eb
RH
40627 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40628
6b73181a
MP
406292012-02-08 Marek Polacek <polacek@redhat.com>
40630
40631 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40632 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40633 * sysdeps/gnu/_G_config.h: Likewise.
40634 * sysdeps/generic/_G_config.h: Likewise.
40635
26ecc33a
AS
406362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40637
6c6dbc63
AS
40638 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40639 tests.
40640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40641
e216c012
AS
40642 * sysdeps/powerpc/powerpc32/crti.S: New file.
40643 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40644 * sysdeps/powerpc/powerpc64/crti.S: New file.
40645 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40646
26ecc33a
AS
40647 * Makeconfig (have-initfini): Don't set.
40648 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40649 * configure.in (nopic_initfini): Don't substitute.
40650 * config.h.in (HAVE_INITFINI): Don't #undef.
40651 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40652 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40653
3add8e13
JM
406542012-02-08 Joseph Myers <joseph@codesourcery.com>
40655
40656 Support crti.S and crtn.S provided directly by architectures.
40657 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40658 [crti.S in sysdirs] (omit-deps): Likewise.
40659 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40660 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40661 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40662 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40663 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40664 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40665 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40666 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40667 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40668 compiler output for sysdeps/generic/initfini.c.
40669 * sysdeps/i386/elf/Makefile: Remove file.
40670 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40671
a22f12b4
MP
406722012-02-07 Marek Polacek <polacek@redhat.com>
40673
40674 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40675 * sysdeps/gnu/_G_config.h: Likewise.
40676 * sysdeps/mach/hurd/_G_config.h: Likewise.
40677
148cf100
MP
406782012-02-07 Marek Polacek <polacek@redhat.com>
40679
40680 * math/Makefile (tests): Add tst-CMPLX2.
40681 * math/tst-CMPLX2.c: New file.
40682
cfdc0dd7
AS
406832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40684
84ba42c4
AS
40685 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40686
cfdc0dd7
AS
40687 * math/libm-test.inc (jn_test): Add missing L suffix.
40688
622c86f4
MP
406892012-02-06 Marek Polacek <polacek@redhat.com>
40690
40691 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40692 * sysdeps/i386/fpu/e_powf.S: Likewise.
40693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40694 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40696 * sysdeps/i386/fpu/e_pow.S: Likewise.
40697 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40698 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40699 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40700 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40701 * sysdeps/i386/fpu/e_log2.S: Likewise.
40702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40703 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40704 * sysdeps/i386/fpu/e_powl.S: Likewise.
40705 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40706 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40707 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40708 * sysdeps/i386/fpu/e_logl.S: Likewise.
40709 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40710 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40711 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40712 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40713 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40715 * sysdeps/i386/fpu/e_log.S: Likewise.
40716 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40718 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40719 * sysdeps/i386/fpu/e_logf.S: Likewise.
40720 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40721 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40722 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40723 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40724 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40725 * sysdeps/i386/fpu/e_log10.S: Likewise.
40726 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40727 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40728 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40729 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40730 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40731 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40732 * sysdeps/i386/asm-syntax.h: Likewise.
40733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40736 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40737 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40738 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40739 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40740 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40742 * sysdeps/powerpc/sysdep.h: Likewise.
40743 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40744 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40745
d4a54ac6
JM
407462012-02-06 Joseph Myers <joseph@codesourcery.com>
40747
40748 [BZ #411]
40749 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40750
314054ea
JM
407512012-02-06 Joseph Myers <joseph@codesourcery.com>
40752
40753 * sysdeps/i386/sysdep.h: Include <features.h>.
40754 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40755 version.
40756
d8e0ca50
JM
407572012-02-05 Joseph Myers <joseph@codesourcery.com>
40758
40759 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40760 Define.
40761 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40762 LOAD_PIC_REG_STR.
40763
b1da7dd9
JM
407642012-02-03 Joseph Myers <joseph@codesourcery.com>
40765
40766 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40767 (SETUP_PIC_REG): Use GET_PC_THUNK.
40768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40769 macro.
40770
9a1d9254
JM
407712012-02-03 Joseph Myers <joseph@codesourcery.com>
40772
40773 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40774 for non-PIC compilation.
40775 (SETUP_PIC_REG): Add .p2align directive.
40776 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40777 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40778 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40779 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40781 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40782 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40784 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40785 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40786 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40787 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40788 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40789 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40790 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40791 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40792 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40793 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40794 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40795 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40798 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40799 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40802 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40804 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40805 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40806 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40807 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40808 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40809 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40810 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40817
65dc3b75
JM
408182012-02-03 Joseph Myers <joseph@codesourcery.com>
40819
40820 * math/tst-CMPLX.c: Include <stdio.h>.
40821
d55bf177
JM
408222012-01-31 Joseph Myers <joseph@codesourcery.com>
40823
40824 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40825 float.
40826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40827 * sysdeps/sparc/bits/mathdef.h: Likewise.
40828
69db4f8f
MP
408292012-01-31 Marek Polacek <polacek@redhat.com>
40830
40831 * libio/libio.h: Don't define _PARAMS.
40832 * locale/programs/config.h: Don't define PARAMS.
40833 * stdlib/strtol_l.c: Likewise.
40834 (__strtol_l): Remove PARAMS from the prototype.
40835
41b81892
UD
408362012-01-31 Ulrich Drepper <drepper@gmail.com>
40837
3b49edc0
UD
40838 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40839 names. Just use the correct names. Remove unnecessary wrapper
40840 functions.
40841 * malloc/arena.c: Likewise.
40842 * malloc/hooks.c: Likewise.
40843
41b81892
UD
40844 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40845 ARENA_TEST says not to. Simplify test for creation of a new arena.
40846 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40847
27a25b6e
UD
408482012-01-30 Ulrich Drepper <drepper@gmail.com>
40849
40850 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40851 into tail calls.
40852 (update_get_addr): New function.
40853 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40854 GET_ADDR_MODULE parameter.
40855
c8a89e7d
JM
408562012-01-30 Joseph Myers <joseph@codesourcery.com>
40857
40858 * crypt/cert.c: Remove __STDC__ conditionals.
40859 * crypt/crypt-entry.c: Likewise.
40860 * crypt/crypt_util.c: Likewise.
40861 * libio/filedoalloc.c: Likewise.
40862 * libio/fileops.c: Likewise.
40863 * libio/genops.c: Likewise.
40864 * libio/iofclose.c: Likewise.
40865 * libio/iofdopen.c: Likewise.
40866 * libio/iofopen.c: Likewise.
40867 * libio/iofopen64.c: Likewise.
40868 * libio/iogetdelim.c: Likewise.
40869 * libio/iopopen.c: Likewise.
40870 * libio/obprintf.c: Likewise.
40871 * libio/oldfileops.c: Likewise.
40872 * libio/oldiofclose.c: Likewise.
40873 * libio/oldiofdopen.c: Likewise.
40874 * libio/oldiofopen.c: Likewise.
40875 * libio/oldiopopen.c: Likewise.
40876 * libio/wfiledoalloc.c: Likewise.
40877 * libio/wgenops.c: Likewise.
40878 * locale/programs/xmalloc.c: Likewise.
40879 * misc/syslog.c: Likewise.
40880 * stdio-common/xbug.c: Likewise.
40881 * string/memchr.c: Likewise.
40882 * string/memcmp.c: Likewise.
40883 * string/memrchr.c: Likewise.
40884 * string/rawmemchr.c: Likewise.
40885 * sysdeps/posix/getcwd.c: Likewise.
40886 * time/strftime_l.c: Likewise.
40887
3b100462
JM
408882012-01-30 Joseph Myers <joseph@codesourcery.com>
40889
40890 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40891 * config.make.in (config-cflags-sse2avx): Define.
40892 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40893 Fix typo.
40894
607998af
CM
408952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40896
40897 * scripts/config.guess: Update from upstream config git repository.
40898 * scripts/config.sub: Likewise.
40899
3601428f
CM
409002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40901
3ac8b282
CM
40902 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40903 (EM_NUM): Update.
40904 (R_TILEPRO_*, R_TILEGX_*): New macros.
40905
e034841e
CM
40906 * scripts/firstversions.awk: Fix bug in version range handling.
40907
540d7568
CM
40908 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40909
3601428f
CM
40910 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40911
463de862
CM
40912 * include/sys/epoll.h: New file.
40913 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40914 libc_hidden_def.
40915
73139a76
UD
409162012-01-28 Ulrich Drepper <drepper@gmail.com>
40917
96bc5b45
UD
40918 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40919 Avoid unnecessary __WORDSIZE == 64 test.
40920 (fmaxf): Use VEX format if possible.
40921 (fmax): Likewise.
40922 (fminf): Likewise.
40923 (fmin): Likewise.
40924
56f6f6a2
UD
40925 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40926 * math/math_private.h: Remove libc_fegetround* and
40927 libc_fesetround*.
40928 * sysdeps/i386/configure.in: Check for -msse2avx.
40929 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40930 also if SSE2AVX is defined.
40931 Remove libc_fegetround* and libc_fesetround*.
40932 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40933 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40935 of HAS_YMM_USABLE.
40936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40941
73139a76
UD
40942 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40943
d73f93a4
AZ
409442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40945
40946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40947 size is not set.
40948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40949
6ee65ed6
UD
409502012-01-27 Ulrich Drepper <drepper@gmail.com>
40951
40952 [BZ #13618]
40953 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40954 relocation.
40955 * Makeconfig (libm): Define.
40956 * elf/Makefile: Add rules to build and run tst-relsort1.
40957 * elf/tst-relsort1.c: New file.
40958 * elf/tst-relsort1mod1.c: New file.
40959 * elf/tst-relsort1mod2.c: New file.
40960
8db21882
JM
409612012-01-27 Joseph Myers <joseph@codesourcery.com>
40962
40963 * math/s_ldexp.c: Remove __STDC__ conditionals.
40964 * math/s_ldexpf.c: Likewise.
40965 * math/s_ldexpl.c: Likewise.
40966 * math/s_nextafter.c: Likewise.
40967 * math/s_nexttowardf.c: Likewise.
40968 * math/s_significand.c: Likewise.
40969 * math/s_significandf.c: Likewise.
40970 * math/s_significandl.c: Likewise.
40971 * math/w_jnl.c: Likewise.
40972 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40973 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40974 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40975 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40976 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40978 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40979 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40987 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40991 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40992 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40993 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40994 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40996 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40997 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40999 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41000 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41001 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41002 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41003 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41004 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41006 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41008 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41009 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41011 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41012 * sysdeps/ieee754/k_standard.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41079 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41092 * sysdeps/ieee754/s_matherr.c: Likewise.
41093 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41094 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41097
965a54a4
JM
410982012-01-26 Joseph Myers <joseph@codesourcery.com>
41099
41100 * crypt/md5.h: Remove __STDC__ conditionals.
41101 * libio/libioP.h: Likewise.
41102 * locale/programs/config.h: Likewise.
41103 * sysdeps/generic/sysdep.h: Likewise.
41104 * sysdeps/i386/asm-syntax.h: Likewise.
41105 * sysdeps/s390/asm-syntax.h: Likewise.
41106 * sysdeps/unix/sysdep.h: Likewise.
41107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41109
7071ad79
JM
411102012-01-26 Joseph Myers <joseph@codesourcery.com>
41111
41112 * libio/libio.h: Remove __STDC__ conditionals.
41113 * malloc/obstack.h: Likewise.
41114 * math/complex.h: Likewise.
41115 * math/math.h: Likewise.
41116 * sysdeps/generic/_G_config.h: Likewise.
41117 * sysdeps/gnu/_G_config.h: Likewise.
41118 * sysdeps/mach/hurd/_G_config.h: Likewise.
41119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41121 * sysdeps/sparc/bits/mathdef.h: Likewise.
41122
afc5ed09
UD
411232012-01-26 Ulrich Drepper <drepper@gmail.com>
41124
41125 [BZ #13583]
41126 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41127 Clean up HAS_* macros.
afc5ed09 41128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41129 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41130 possible.
41131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41132 HAS_AVX.
41133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41138
bdb6de1d
JM
411392012-01-25 Joseph Myers <joseph@codesourcery.com>
41140
41141 * elf/tst-unique3.cc (gets): Remove declaration.
41142 * elf/tst-unique3lib.cc (gets): Likewise.
41143 * elf/tst-unique3lib2.cc (gets): Likewise.
41144 * elf/tst-unique4.cc (gets): Likewise.
41145
b15549e6
UD
411462012-01-24 Ulrich Drepper <drepper@gmail.com>
41147
41148 * include/stdio.h: Add C++ protection. Add gets declarations and
41149 definitions.
41150 * debug/tst-chk1.c: Don't declare gets here.
41151 * stdio-common/tst-gets.c: Likewise.
41152
a037381f
JM
411532012-01-24 Joseph Myers <joseph@codesourcery.com>
41154
41155 * posix/glob: Remove directory.
41156
f1d4aa75
JM
411572012-01-24 Joseph Myers <joseph@codesourcery.com>
41158
41159 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41160
81c0c964
PT
411612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41162
41163 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41164 of the non-standard EPFNOSUPPORT.
41165
0ea698ae
ST
411662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41167
41168 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41169 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41170 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41171
d220b117
UD
411722012-01-21 Ulrich Drepper <drepper@gmail.com>
41173
41174 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41175
3e1aa84e
UD
411762012-01-20 Ulrich Drepper <drepper@gmail.com>
41177
41178 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41179 transient errors.
41180 * nscd/grpcache.c (cache_addgr): Likewise.
41181 * nscd/hstcache.c (cache_addhst): Likewise.
41182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41183 * nscd/pwdcache.c (cache_addpw): Likewise.
41184 * nscd/servicescache.c (cache_addserv): Likewise.
41185
400aa020
UD
411862012-01-16 Ulrich Drepper <drepper@gmail.com>
41187
d77e7869
UD
41188 * malloc/malloc.c: Various cleanups.
41189 * malloc/hooks.c: Likewise.
41190
400aa020
UD
41191 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41192 * stdlib/bug-fmtmsg1.c: New file.
41193
41194 * stdlib/fmtmsg.c (init): Add missing unlock.
41195 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41196
e0a309cf
MP
411972012-01-12 Marek Polacek <polacek@redhat.com>
41198
41199 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41200 and _GNU_SOURCE.
41201
929d11c7
WS
412022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41203
41204 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41205 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41206 macro to ensure uniqueness of label name.
41207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41209
41d0e869
UD
412102012-01-11 Ulrich Drepper <drepper@gmail.com>
41211
0cc5ed3b
UD
41212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41213
41d0e869
UD
41214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41215 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41218
a47a831a
UD
412192012-01-10 Ulrich Drepper <drepper@gmail.com>
41220
daa891c0
UD
41221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41222
41223 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41225 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41226
e58ef0f2
UD
41227 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41228
a47a831a 41229 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41230 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41233
41234 * math/bits/math-finite.h: Add ldexp support.
41235
a0bfc9c7
MP
412362012-01-10 Marek Polacek <polacek@redhat.com>
41237
41238 * locale/programs/localedef.h (show_archive_content): Add noreturn
41239 attribute.
41240
d6e97a1d
UD
412412012-01-09 Ulrich Drepper <drepper@gmail.com>
41242
41243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41244
d5835c26
UD
412452012-01-08 Ulrich Drepper <drepper@gmail.com>
41246
e5f484c6
UD
41247 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41248
d5835c26
UD
41249 * io/Makefile (headers): Add bits/poll2.h.
41250
d1f741e9
WS
412512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41252
41253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41254 typo #include statement.
41255
ec09c1c4
UD
412562012-01-08 Ulrich Drepper <drepper@gmail.com>
41257
41258 * include/sys/cdefs.h: Define __attribute_alloc_size.
41259 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41260 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41261 * elf/pldd.c: Likewise.
41262 * iconv/iconv_charmap.c: Likewise.
41263 * iconv/iconvconfig.c: Likewise.
41264 * iconv/strtab.c: Likewise.
41265 * locale/programs/locale.c: Likewise.
41266 * locale/programs/localedef.h: Likewise.
41267 * locale/programs/simple-hash.c: Likewise.
41268 * nscd/nscd.h: Likewise.
41269 * nss/makedb.c: Likewise.
41270 * sysdeps/generic/ldconfig.h: Likewise.
41271 * locale/programs/localedef.c: Remove xmalloc prototype.
41272 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41273
20b38e03
PP
412742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41275
41276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41277 appropriate.
41278
a0da5fe1
UD
412792012-01-08 Ulrich Drepper <drepper@gmail.com>
41280
1d5a644a 41281 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41282 * math/tst-CMPLX.c: New file.
1d5a644a 41283
8784a6db
UD
41284 * math/complex.h (CMPLXL): Fix typo.
41285
d9a216c0
UD
41286 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41287 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41288 GLIBC_2.16.
41289 * debug/tst-chk1.c: Add poll and ppoll tests.
41290 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41291 * include/sys/poll.h: Add hidden proto for ppoll.
41292 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41293 * sysdeps/mach/hurd/ppoll.c: Likewise.
41294 * io/ppoll.c: Likewise.
41295 * debug/poll_chk.c: New file.
41296 * debug/ppoll_chk.c: New file.
41297 * include/bits/poll2.h: New file.
41298 * io/bits/poll2.h: New file.
41299
ac097f5c
UD
41300 [BZ #1350]
41301 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41302
2119dcfa
UD
41303 * configure.in: static is always set to yes. Remove.
41304 * config.make.in: Don't set build-static.
41305 * Makeconfig: Remove use of build-static.
41306 * dlfcn/Makefile: Likewise.
41307 * elf/Makefile: Likewise.
41308 * math/Makefile: Likewise.
41309 * misc/Makefile: Likewise.
41310 * nptl/Makefile: Likewise.
41311 * sysdeps/mach/hurd/Makefile: Likewise.
41312
121766a9
UD
41313 * configure.in: PWD_P is not used anymore.
41314 * config.make.in: Remove PWD_P entry.
41315
51a1d39c 41316 * configure.in: Remove last remnants of RANLIB.
8720d066 41317 No need to check for signed size_t anymore.
215f4bdc
UD
41318 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41319 and IA-64.
3857022a 41320 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41321 * aclocal.m4: Likewise.
41322
d3ed7225
UD
41323 * wcsmbs/mbrtoc16.c: Implement using towc function.
41324 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41325 * wcsmbs/wcsmbsload.c: Likewise.
41326 * iconv/gconv_simple.c: Likewise.
41327 * iconv/gconv_int.h: Likewise.
41328 * iconv/gconv_builtin.h: Likewise.
41329 * iconv/iconv_prog.c: Remove CHAR16 handling.
41330
41331 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41332
41333 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41334
a0da5fe1
UD
41335 * configure.in: Remove --with-elf and --enable-bounded options.
41336 Dont set base_machine for ia64. More non-ELF conditions removed.
41337 Remove testing and setting of leading underscore information.
41338 * config.make.in (build-bounded): Set to no.
41339 * config.h.in: Remove NO_UNDERSCORES entry.
41340 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41341 them.
41342 * csu/start.c: Remove !NO_UNDERSCORE code.
41343 * locale/localeinfo.h: Likewise.
41344 * sysdeps/generic/machine-gmon.h: Likewise.
41345 * sysdeps/generic/sysdep.h: Likewise.
41346 * sysdeps/i386/sysdep.h: Likewise.
41347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41348 * sysdeps/mach/sysdep.h: Likewise.
41349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41351 * sysdeps/sh/sysdep.h: Likewise.
41352 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41353 * sysdeps/unix/i386/sysdep.S: Likewise.
41354 * sysdeps/unix/sparc/start.c: Likewise.
41355 * sysdeps/unix/sparc/sysdep.S: Likewise.
41356 * sysdeps/unix/sparc/sysdep.h: Likewise.
41357 * sysdeps/unix/start.c: Likewise.
41358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41359 * sysdeps/x86_64/sysdep.h: Likewise.
41360
df78418a
UD
413612012-01-07 Ulrich Drepper <drepper@gmail.com>
41362
a784e502
UD
41363 [BZ #13553]
41364 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41365 for non-gcc.
41366 * argp/argp-fmtstream.h: Use const instead __const.
41367 * argp/argp.h: Likewise.
41368 * assert/assert.h: Likewise.
41369 * bits/fenv.h: Likewise.
41370 * bits/sched.h: Likewise.
41371 * bits/sigset.h: Likewise.
41372 * bits/sigthread.h: Likewise.
41373 * catgets/nl_types.h: Likewise.
41374 * conform/data/pthread.h-data: Likewise.
41375 * crypt/crypt-private.h: Likewise.
41376 * crypt/crypt.h: Likewise.
41377 * crypt/crypt_util.c: Likewise.
41378 * ctype/ctype.h: Likewise.
41379 * debug/execinfo.h: Likewise.
41380 * debug/mbsnrtowcs_chk.c: Likewise.
41381 * debug/mbsrtowcs_chk.c: Likewise.
41382 * debug/wcsnrtombs_chk.c: Likewise.
41383 * debug/wcsrtombs_chk.c: Likewise.
41384 * debug/wcstombs_chk.c: Likewise.
41385 * dirent/dirent.h: Likewise.
41386 * dlfcn/dlfcn.h: Likewise.
41387 * elf/neededtest4.c: Likewise.
41388 * grp/grp.h: Likewise.
41389 * gshadow/gshadow.h: Likewise.
41390 * iconv/gconv.h: Likewise.
41391 * iconv/gconv_int.h: Likewise.
41392 * iconv/gconv_simple.c: Likewise.
41393 * iconv/iconv.h: Likewise.
41394 * iconv/loop.c: Likewise.
41395 * iconv/skeleton.c: Likewise.
41396 * include/aio.h: Likewise.
41397 * include/aliases.h: Likewise.
41398 * include/argz.h: Likewise.
41399 * include/arpa/inet.h: Likewise.
41400 * include/assert.h: Likewise.
41401 * include/dirent.h: Likewise.
41402 * include/dlfcn.h: Likewise.
41403 * include/execinfo.h: Likewise.
41404 * include/fcntl.h: Likewise.
41405 * include/fenv.h: Likewise.
41406 * include/glob.h: Likewise.
41407 * include/grp.h: Likewise.
41408 * include/libintl.h: Likewise.
41409 * include/mntent.h: Likewise.
41410 * include/netdb.h: Likewise.
41411 * include/pwd.h: Likewise.
41412 * include/rpc/netdb.h: Likewise.
41413 * include/sched.h: Likewise.
41414 * include/search.h: Likewise.
41415 * include/shadow.h: Likewise.
41416 * include/signal.h: Likewise.
41417 * include/stdio.h: Likewise.
41418 * include/stdlib.h: Likewise.
41419 * include/string.h: Likewise.
41420 * include/sys/socket.h: Likewise.
41421 * include/sys/stat.h: Likewise.
41422 * include/sys/statfs.h: Likewise.
41423 * include/sys/statvfs.h: Likewise.
41424 * include/sys/syslog.h: Likewise.
41425 * include/sys/time.h: Likewise.
41426 * include/sys/uio.h: Likewise.
41427 * include/time.h: Likewise.
41428 * include/unistd.h: Likewise.
41429 * include/utmp.h: Likewise.
41430 * include/wchar.h: Likewise.
41431 * include/wctype.h: Likewise.
41432 * inet/aliases.h: Likewise.
41433 * inet/arpa/inet.h: Likewise.
41434 * inet/netinet/ether.h: Likewise.
41435 * inet/netinet/in.h: Likewise.
41436 * intl/libintl.h: Likewise.
41437 * io/bits/fcntl2.h: Likewise.
41438 * io/fcntl.h: Likewise.
41439 * io/ftw.h: Likewise.
41440 * io/sys/poll.h: Likewise.
41441 * io/sys/stat.h: Likewise.
41442 * io/sys/statfs.h: Likewise.
41443 * io/sys/statvfs.h: Likewise.
41444 * io/utime.h: Likewise.
41445 * libio/bits/stdio.h: Likewise.
41446 * libio/bits/stdio2.h: Likewise.
41447 * libio/libio.h: Likewise.
41448 * libio/libioP.h: Likewise.
41449 * libio/stdio.h: Likewise.
41450 * locale/lc-ctype.c: Likewise.
41451 * locale/locale.h: Likewise.
41452 * login/utmp.h: Likewise.
41453 * malloc/arena.c: Likewise.
41454 * malloc/malloc.c: Likewise.
41455 * malloc/malloc.h: Likewise.
41456 * malloc/mcheck.c: Likewise.
41457 * malloc/mtrace.c: Likewise.
41458 * math/bits/mathcalls.h: Likewise.
41459 * math/fenv.h: Likewise.
41460 * math/math_private.h: Likewise.
41461 * misc/bits/error.h: Likewise.
41462 * misc/bits/syslog.h: Likewise.
41463 * misc/err.h: Likewise.
41464 * misc/error.h: Likewise.
41465 * misc/fstab.h: Likewise.
41466 * misc/mntent.h: Likewise.
41467 * misc/regexp.h: Likewise.
41468 * misc/search.h: Likewise.
41469 * misc/sgtty.h: Likewise.
41470 * misc/sys/mman.h: Likewise.
41471 * misc/sys/syslog.h: Likewise.
41472 * misc/sys/uio.h: Likewise.
41473 * misc/sys/xattr.h: Likewise.
41474 * misc/ttyent.h: Likewise.
41475 * nis/rpcsvc/ypclnt.h: Likewise.
41476 * nss/nss.h: Likewise.
41477 * posix/bits/unistd.h: Likewise.
41478 * posix/fnmatch.h: Likewise.
41479 * posix/glob.h: Likewise.
41480 * posix/sched.h: Likewise.
41481 * posix/spawn.h: Likewise.
41482 * posix/sys/wait.h: Likewise.
41483 * posix/unistd.h: Likewise.
41484 * posix/wordexp.h: Likewise.
41485 * pwd/pwd.h: Likewise.
41486 * resolv/netdb.h: Likewise.
41487 * resource/sys/resource.h: Likewise.
41488 * rt/aio.h: Likewise.
41489 * rt/bits/mqueue2.h: Likewise.
41490 * rt/mqueue.h: Likewise.
41491 * shadow/shadow.h: Likewise.
41492 * signal/signal.h: Likewise.
41493 * socket/send.c: Likewise.
41494 * socket/sendto.c: Likewise.
41495 * socket/sys/socket.h: Likewise.
41496 * stdio-common/printf.h: Likewise.
41497 * stdlib/bits/stdlib.h: Likewise.
41498 * stdlib/fmtmsg.h: Likewise.
41499 * stdlib/monetary.h: Likewise.
41500 * stdlib/stdlib.h: Likewise.
41501 * stdlib/ucontext.h: Likewise.
41502 * streams/stropts.h: Likewise.
41503 * string/argz.h: Likewise.
41504 * string/bits/string2.h: Likewise.
41505 * string/string.h: Likewise.
41506 * string/strings.h: Likewise.
41507 * sunrpc/rpc/auth.h: Likewise.
41508 * sunrpc/rpc/auth_des.h: Likewise.
41509 * sunrpc/rpc/clnt.h: Likewise.
41510 * sunrpc/rpc/netdb.h: Likewise.
41511 * sunrpc/rpc/pmap_clnt.h: Likewise.
41512 * sunrpc/rpc/xdr.h: Likewise.
41513 * sysdeps/generic/inttypes.h: Likewise.
41514 * sysdeps/generic/net/if.h: Likewise.
41515 * sysdeps/generic/sys/swap.h: Likewise.
41516 * sysdeps/gnu/net/if.h: Likewise.
41517 * sysdeps/gnu/utmpx.h: Likewise.
41518 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41519 * sysdeps/i386/i486/bits/string.h: Likewise.
41520 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41521 * sysdeps/s390/bits/string.h: Likewise.
41522 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41523 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41524 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41525 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41526 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41527 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41528 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41529 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41530 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41531 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41532 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41533 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41534 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41536 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41537 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41538 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41543 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41544 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41545 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41546 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41547 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41550 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41551 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41552 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41553 * sysvipc/sys/ipc.h: Likewise.
41554 * sysvipc/sys/msg.h: Likewise.
41555 * sysvipc/sys/sem.h: Likewise.
41556 * sysvipc/sys/shm.h: Likewise.
41557 * termios/termios.h: Likewise.
41558 * time/sys/time.h: Likewise.
41559 * time/time.h: Likewise.
41560 * wcsmbs/bits/wchar2.h: Likewise.
41561 * wcsmbs/uchar.h: Likewise.
41562 * wcsmbs/wchar.h: Likewise.
41563 * wctype/wctype.h: Likewise.
41564
0269750c
UD
41565 [BZ #13551]
41566 * Makeconfig: Remove all but ELF support including AIX support.
41567 * Makerules: Likewise.
41568 * config.h.in: Likewise.
41569 * config.make.in: Likewise.
41570 * configure: Likewise.
41571 * configure.in: Likewise.
41572 * csu/Makefile: Likewise.
41573 * csu/version.c: Likewise.
41574 * debug/Makefile: Likewise.
41575 * dlfcn/Makefile: Likewise.
41576 * elf/Makefile: Likewise.
41577 * extra-lib.mk: Likewise.
41578 * iconv/Makefile: Likewise.
41579 * include/libc-symbols.h: Likewise.
41580 * include/shlib-compat.h: Likewise.
41581 * resolv/Makefile: Likewise.
41582 * resolv/res_libc.c: Likewise.
41583 * rt/Makefile: Likewise.
41584 * sysdeps/i386/asm-syntax.h: Likewise.
41585 * sysdeps/i386/sysdep.h: Likewise.
41586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41587 * sysdeps/mach/sysdep.h: Likewise.
41588 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41589 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41590 * sysdeps/s390/asm-syntax.h: Likewise.
41591 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41592 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41593 * sysdeps/sh/sysdep.h: Likewise.
41594 * sysdeps/unix/sparc/sysdep.h: Likewise.
41595 * sysdeps/wordsize-32/divdi3.c: Likewise.
41596 * sysdeps/x86_64/sysdep.h: Likewise.
41597
00bbd29b
UD
41598 * argp/Versions: Remove _argp_unlock_xxx.
41599
41600 [BZ #13559]
41601 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41602 * abilist/libBrokenLocale.abilist: Likewise.
41603 * abilist/libanl.abilist: Likewise.
41604 * abilist/libc.abilist: Likewise.
41605 * abilist/libcrypt.abilist: Likewise.
41606 * abilist/libdl.abilist: Likewise.
41607 * abilist/libm.abilist: Likewise.
41608 * abilist/libnsl.abilist: Likewise.
41609 * abilist/libpthread.abilist: Likewise.
41610 * abilist/libresolv.abilist: Likewise.
41611 * abilist/librt.abilist: Likewise.
41612 * abilist/libthread_db.abilist: Likewise.
41613 * abilist/libutil.abilist: Likewise.
41614 * abilist/libnss_db.abilist: New file.
41615
41616 * scripts/abilist.awk: Add support for indirect functions.
41617
a2693a0e
UD
41618 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41619
3f05895f
UD
41620 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41621
ecb6fb48
UD
41622 * shlib-versions: Remove entries for ports architectures.
41623
664f8cb9
UD
41624 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41625 files in ports.
41626 * elf/stackguard-macros.h: Remove support for IA-64.
41627 * elf/tst-auditmod1.c: Likewise.
41628 * sysdeps/generic/ldsodefs.h: Likewise.
41629
7ae81d88
UD
41630 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41631 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41632 configure files.
41633
bdeba135
UD
41634 [BZ #13552]
41635 * configure.in: Remove --enable-omitfp support.
41636 * FAQ.in: Adjust.
41637 * config.make.in: Likewise.
41638 * Makeconfig: Likewise.
41639 * manual/install.texi: Likewise.
41640
d75a0a62
UD
41641 In case anyone cares, the IA-64 architecture could move to ports.
41642 * sysdeps/ia64/*: Removed.
41643 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41644 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41645
dcc9756b
UD
41646 [BZ #13555]
41647 * configure.in: Remove entries for unsupported architectures.
41648
d3761ebc 41649 [BZ #13533]
9954432e
UD
41650 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41651 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41652 routines.
41653 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41654 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41655 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41656 fall back to using wcrtomb.
41657 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41658 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41659 renaming.
41660 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41661 * wcsmbs/tst-c16c32-1.c: New file.
41662
41663 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41664 local variable.
41665
c3a87236
UD
41666 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41667
28926a1b
UD
41668 * elf/tst-unique3.cc: Add explicit declaration of gets.
41669 * elf/tst-unique3lib.cc: Likewise.
41670 * elf/tst-unique3lib2.cc: Likewise.
41671 * elf/tst-unique4.cc: Likewise.
41672
df78418a
UD
41673 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41674
8ecd6b2a
JM
416752012-01-06 Joseph Myers <joseph@codesourcery.com>
41676
41677 [BZ #13566]
41678 * assert/assert.h (static_assert): Don't define for C++.
41679 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41680 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41681
9f115170
UD
416822012-01-03 Ulrich Drepper <drepper@gmail.com>
41683
5e0d0300
UD
41684 * iconv/loop.c (single loop): Fix assertion in storing of
41685 remaining bytes.
41686
9f115170
UD
41687 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41688
81fb02b0
UD
416892012-01-01 Ulrich Drepper <drepper@gmail.com>
41690
41691 * posix/getconf.c: Update copyright year.
41692 * nss/getent.c: Likewise.
a316c1f6 41693 * nss/makedb.c: Likewise.
81fb02b0
UD
41694 * iconv/iconvconfig.c: Likewise.
41695 * iconv/iconv_prog.c: Likewise.
41696 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41697 * elf/pldd.c: Likewise.
41698 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41699 * catgets/gencat.c: Likewise.
41700 * csu/version.c: Likewise.
41701 * elf/ldd.bash.in: Likewise.
41702 * elf/sprof.c (print_version): Likewise.
41703 * locale/programs/locale.c: Likewise.
41704 * locale/programs/localedef.c: Likewise.
a316c1f6 41705 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41706 * nscd/nscd.c (print_version): Likewise.
41707 * debug/xtrace.sh: Likewise.
41708 * malloc/memusage.sh: Likewise.
41709 * malloc/mtrace.pl: Likewise.
41710 * debug/catchsegv.sh: Likewise.
41711
2ba92745
JJ
417122011-12-30 Jakub Jelinek <jakub@redhat.com>
41713
41714 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41715 pure attribute.
41716
dadebdae
UD
417172011-12-24 Ulrich Drepper <drepper@gmail.com>
41718
d3761ebc 41719 [BZ #13533]
db6af3eb
UD
41720 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41721 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41722 transformations.
41723 * iconv/gconv_int.h: Likewise.
41724 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41725 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41726 from libc for GLIBC_2.16.
41727 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41728 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41729 * wcsmbs/uchar.h: Really define mbstate_t.
41730 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41731 * wcsmbs/c16rtomb.c: New file.
41732 * wcsmbs/mbrtoc16.c: New file.
41733 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41734 for C/POSIX locale.
41735 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41736 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41737
dadebdae
UD
41738 * wcsmbs/wchar.h: Add missing __restrict.
41739
67371b56
UD
417402011-12-23 Ulrich Drepper <drepper@gmail.com>
41741
74033a25
UD
41742 [BZ #13532]
41743 * time/Makefile (routines): Add timespec_get.
41744 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41745 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41746 timespec for ISO C11.
41747 * time/timespec_get.c: New file.
41748 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41749 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41750
380d7e87
UD
41751 [BZ #13531]
41752 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41753 * stdlib/stdlib.h: Declare aligned_alloc.
41754 * Versions.def: Add GLIBC_2.16 for libc.
41755 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41756
4e9e7a35
UD
41757 [BZ 13527]
41758 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41759 ISO C11.
41760
380d7e87 41761 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41762 code.
41763
03a71829
UD
41764 [BZ #13528]
41765 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41766
839e283e
UD
41767 [BZ #13529]
41768 * assert/assert.h (static_assert): Define.
41769
ce5294e2 41770 * version.h: Update for 2.16 development version.
90fa7312 41771
8d44e150 41772 [BZ #13526]
d7809905
UD
41773 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41774 _ISOC11_SOURCE.
41775
c0da14cd
UD
41776 * version.h (RELEASE): Bump for 2.15 release.
41777 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41778
530a3249
MP
41779 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41780 Patch by Marek Polacek <mpolacek@redhat.com>.
41781
67371b56
UD
41782 * bits/byteswap.h: Protect long long constants with __extension__.
41783 * sysdeps/i386/bits/byteswap.h: Likewise.
41784 * sysdeps/ia64/bits/byteswap.h: Likewise.
41785 * sysdeps/s390/bits/byteswap.h: Likewise.
41786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41787
15db4de1
LD
417882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41789
41790 [BZ #13540]
bbe315ea
LD
41791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41792 destination buffer.
15db4de1
LD
41793 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41794
2b2596b1
MP
417952011-12-23 Marek Polacek <polacek@redhat.com>
41796
41797 * elf/dl-addr.c (determine_info): Add inline keyword.
41798 * elf/tst-auditmod4b.c (check_avx): Likewise.
41799 * elf/tst-auditmod6b.c (check_avx): Likewise.
41800 * elf/tst-auditmod6c.c (check_avx): Likewise.
41801 * elf/tst-auditmod7b.c (check_avx): Likewise.
41802
70c6c246
UD
418032011-12-23 Ulrich Drepper <drepper@gmail.com>
41804
41805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41806 !__SSE_MATH__.
41807
c044cf14
LD
418082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41809
15db4de1 41810 [BZ #13540]
c044cf14
LD
41811 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41812 processing for last bytes.
41813
6b13d9d9
BH
418142011-08-06 Bruno Haible <bruno@clisp.org>
41815
d455f537
BH
41816 [BZ #13061]
41817 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41818 U+0385, not to U+1FEE.
41819
6b13d9d9
BH
41820 [BZ #13062]
41821 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41822 entry for U+00A5 U+0301.
41823
db910efd
UD
418242011-12-22 Ulrich Drepper <drepper@gmail.com>
41825
27deeafc
UD
41826 [BZ #13166]
41827 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41828 buffer for the output is too small.
41829
aed9d171
UD
41830 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41831 optimization.
41832
db910efd
UD
41833 [BZ #13185]
41834 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41835 SSE flags if possible.
41836
2bd779ae
LD
418372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41838
e7f9dac3 41839 [BZ #13540]
2bd779ae
LD
41840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41841 processing for last bytes.
41842
154bfc16
JM
418432011-12-22 Joseph Myers <joseph@codesourcery.com>
41844
41845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41846 (syscall-list-default-options, syscall-list-default-condition)
41847 (syscall-list-includes): Define.
41848 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41849 list of ABIs and options and #if conditions for each ABI. Do not
41850 handle common syscalls between ABIs specially.
41851 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41852 Remove.
41853 (syscall-list-variants, syscall-list-32bit-options)
41854 (syscall-list-32bit-condition, syscall-list-64bit-options)
41855 (syscall-list-64bit-condition): Define.
41856 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
41861 Remove.
41862 (syscall-list-variants, syscall-list-32bit-options)
41863 (syscall-list-32bit-condition, syscall-list-64bit-options)
41864 (syscall-list-64bit-condition): Define.
41865 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41866 Remove.
41867 (syscall-list-variants, syscall-list-32bit-options)
41868 (syscall-list-32bit-condition, syscall-list-64bit-options)
41869 (syscall-list-64bit-condition): Define.
41870
21eaf3a5
UD
418712011-12-22 Ulrich Drepper <drepper@gmail.com>
41872
16c6f992
UD
41873 * locale/iso-639.def: Add brx entry.
41874
41043168
UD
41875 [BZ #13328]
41876 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41877 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41878
21eaf3a5
UD
41879 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41880 __feraiseexcept_renamed.
41881
e3a851a2
UD
418822011-12-21 Ulrich Drepper <drepper@gmail.com>
41883
4920765e
UD
41884 [BZ #13538]
41885 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41886 EPOLLET with unsigned values.
41887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41889
e3a851a2
UD
41890 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41891 to large cancellation.
41892 * math/s_cacoshf.c: Likewise.
41893 * math/s_cacoshl.c: Likewise.
41894
b27e24b8
RK
418952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41896
41897 [BZ #13305]
aebefeee 41898 [BZ #12786]
b27e24b8
RK
41899 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41900 * math/s_cacoshf.c: Likewise.
41901 * math/s_cacoshl.c: Likewise.
41902
ee190f67
UD
419032011-12-21 Ulrich Drepper <drepper@gmail.com>
41904
41905 [BZ #13439]
41906 * iconv/gconv.h: Define __GCONV_SWAP.
41907 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41908 * iconvdata/utf-16.c: Likewise.
41909 * iconvdata/utf-32.c: Likewise.
41910
707f25df
AS
419112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41912
41913 [BZ #13524]
41914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41915 numerator after shifting it by one limb.
41916
d2daaa1e
RÁE
419172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41918
41919 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41920 under [__USE_EXTERN_INLINES].
41921
a4647e72
UD
419222011-12-17 Ulrich Drepper <drepper@gmail.com>
41923
41924 [BZ #13446]
41925 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41926
f0b264f1
AZ
419272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41928
41929 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41930 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41931 optimized code.
41932 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41933 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41934 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41935 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41936 for strncasecmp/strncasecmp_l compilation.
41937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41938 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41939
8ef4f244
MP
419402011-12-08 Marek Polacek <mpolacek@redhat.com>
41941
41942 [BZ #13484]
41943 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41944 of __asm__.
41945
97ac2654
UD
419462011-12-17 Ulrich Drepper <drepper@gmail.com>
41947
41948 [BZ #13506]
41949 * time/tzfile.c (__tzfile_read): Check values from file header.
41950
91d2a845
WS
419512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41952
41953 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41954 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41955 * powerpc/powerpc32/dl-start.S: Likewise.
41956 * powerpc/powerpc32/elf/start.S: Likewise.
41957 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41958 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41959 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41960 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41961 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41962 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41963 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41964 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41965 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41966 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41967 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41968 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41969 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41970 * powerpc/powerpc32/memset.S: Likewise.
41971 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41972 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41973 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41974 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41975 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41976 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41977 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41978 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41979 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41980 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41982 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41983 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41984
a1267ba1
AZ
419852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41986
41987 * math/libm-test.inc: Added more nearbyint tests.
41988 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41989 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41992
ad8ac1bd
RL
419932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41994
41995 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41996 FD_CLOEXEC.
41997
1d3e4b61
UD
419982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41999
42000 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42001 Add wcscpy-ssse3 wcscpy-c.
42002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42003 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42004 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42005 * sysdeps/x86_64/wcschr.S: New file.
42006 * sysdeps/x86_64/wcsrchr.S: New file.
42007 * string/test-strcmp.c: Remove checking of wcscmp function for
42008 wrong alignments.
42009 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42010 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42011 wcsrchr-sse2 wcsrchr-c.
42012 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42013 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42014 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42015 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42016 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42017 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42018 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42019 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42021 * wcsmbc/wcschr.c (WCSCHR): New macro.
42022
5b330a2d
UD
420232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42024
42025 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42026 * wcsmbs/test-wcsrchr.c: New file.
42027 * string/test-strrchr.c: Add wcsrchr support.
42028 (WIDE): New macro.
42029 * wcsmbs/test-wcscpy.c: New file.
42030 * string/test-strcpy.c: Add wcscpy support.
42031 (WIDE): New macro.
26428b7c 42032
f039c043
UD
420332011-12-10 Ulrich Drepper <drepper@gmail.com>
42034
42035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42036 the inner loop.
42037
850fb039
AS
420382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42039
42040 [BZ #13472]
42041 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42042
4efbd5cb
UD
420432011-12-04 Ulrich Drepper <drepper@gmail.com>
42044
52ff5dd0 42045 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42046 Minor optimizations.
52ff5dd0 42047
4efbd5cb
UD
42048 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42049 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42050 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42051
8a426e12
UD
420522011-12-03 Ulrich Drepper <drepper@gmail.com>
42053
aff2453d
UD
42054 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42055 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42056 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42057 for gcc to avoid warnings.
42058 * inet/Makefile (tests): Add tst-checks.
42059 * inet/tst-checks.c: New file.
42060
42061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42062 warning.
42063
42064 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42065 __wmemcmp_sse2.
42066
42067 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42068 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42069
8a426e12
UD
42070 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42071
9bea3473
UD
420722011-12-02 Ulrich Drepper <drepper@gmail.com>
42073
3a965496
UD
42074 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42075 problem.
42076
9bea3473
UD
42077 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42078
f101631b
UD
420792011-11-29 Joseph Myers <joseph@codesourcery.com>
42080
42081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42082 conditional on GCC version.
42083 (__arch_compare_and_exchange_val_8_acq)
42084 (__arch_compare_and_exchange_val_16_acq)
42085 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42086 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42087 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42088
a98275aa
UD
420892011-12-02 Joseph Myers <joseph@codesourcery.com>
42090
42091 * sysdeps/sh/backtrace.c: New file.
42092
d4cc29a2
AS
420932011-12-02 Andreas Schwab <schwab@redhat.com>
42094
42095 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42096 parenthesis.
42097
6257af2d
AS
420982011-12-01 Andreas Schwab <schwab@redhat.com>
42099
42100 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42101 falling back to utime.
42102
b5f44c1a
AS
421032011-11-30 Andreas Schwab <schwab@redhat.com>
42104
42105 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42106 expectations for float.
42107
f3a6cc0a
AS
421082011-11-29 Andreas Schwab <schwab@redhat.com>
42109
42110 * locale/weight.h (findidx): Add parameter len.
42111 * locale/weightwc.h (findidx): Likewise.
42112 * posix/fnmatch_loop.c (FCT): Adjust caller.
42113 * posix/regcomp.c (build_equiv_class): Likewise.
42114 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42115 * posix/regexec.c (check_node_accept_bytes): Likewise.
42116 * string/strcoll_l.c (STRCOLL): Likewise.
42117 * string/strxfrm_l.c (STRXFRM): Likewise.
42118
9d65ea3a
UD
421192011-11-17 Ulrich Drepper <drepper@gmail.com>
42120
42121 * Makefile.in: Remove CVSOPT handling.
42122 * configure.in: Remove use of AC_REVISION.
42123 * iconvdata/Makefile (distribute): No need to filter out CVS.
42124 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42125 handling.
42126
5583a086
AS
421272011-11-16 Andreas Schwab <schwab@redhat.com>
42128
42129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42130 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42131 [USE_AS_STRNCASECMP_L]: Likewise.
42132 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42133 NO_TLS_DIRECT_SEG_REFS.
42134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42135 Fix argument offsets for non-PIC.
42136 [USE_AS_STRNCASECMP_L]: Likewise.
42137 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42138 NO_TLS_DIRECT_SEG_REFS.
42139
d62a8200
UD
421402011-11-15 Ulrich Drepper <drepper@gmail.com>
42141
9d65ea3a 42142 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42143 O_CLOEXEC.
42144 * locale/loadlocale.c (_nl_load_locale): Likewise.
42145
09f93bd3
AS
421462011-11-15 Andreas Schwab <schwab@redhat.com>
42147
446514f9
AS
42148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42149 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42151 (SYSCALL_GETTIME): Set errno on error.
42152
09f93bd3
AS
42153 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42154 count references to noai6ai_cached.
42155
312be3f9
UD
421562011-11-15 Ulrich Drepper <drepper@gmail.com>
42157
42158 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42159
42160 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42161 FD_CLOEXEC for /proc/self/maps.
42162
42163 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42164 FD_CLOEXEC for /proc/meminfo.
42165
42166 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42167 gai.conf.
42168
42169 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42170 FD_CLOEXEC for given file.
42171
42172 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42173
42174 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42175 FD_CLOEXEC for /etc/hosts.
42176 (_gethtent): Likewise.
42177
42178 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42179
42180 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42181 cancellation and set FD_CLOEXEC for /etc/netgroup.
42182
42183 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42184 reading /etc/publickey.
42185
42186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42187 allow cancellation when reading /etc/group.
42188
42189 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42190 cancellation.
42191 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42192
42193 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42194 when using data file.
42195
42196 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42197
42198 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42199 (write_nis_obj): Use "c" and "e" in fopen.
42200
42201 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42202
42203 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42204
42205 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42206
42207 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42208
42209 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42210 locale.alias.
42211
42212 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42213
42214 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42215
42216 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42217
42218 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42219 file parsing and set FD_CLOEXEC.
42220
82af0fa8
UD
422212011-11-14 Ulrich Drepper <drepper@gmail.com>
42222
42223 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42224
a5fb313c
AS
422252011-11-14 Andreas Schwab <schwab@redhat.com>
42226
42227 * malloc/arena.c (arena_get2): Don't call reused_arena when
42228 _int_new_arena failed.
42229
6abf3465
UD
422302011-11-14 Ulrich Drepper <drepper@gmail.com>
42231
42232 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42233 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42238 to compile strcasecmp and strncasecmp.
42239 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42240 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42241
42242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42243
76e3966e
UD
422442011-11-13 Ulrich Drepper <drepper@gmail.com>
42245
42246 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42247 locale-defines.sym to gen-as-const-headers.
42248 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42249 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42251 to compile strcasecmp and strncasecmp.
42252 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42253 strcasecmp_l and strncasecmp_l.
42254 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42255 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42256 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42257 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42258 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42259 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42260 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42261 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42262 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42263 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42264 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42265
ab26144e
UD
422662011-11-12 Ulrich Drepper <drepper@gmail.com>
42267
7edb22ef
UD
42268 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42269 result of SYSDEP_GETTIME_CPU to retval.
42270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42271 parameter list to macro. Remove trailing semicolon. Adjust users.
42272
9694fc44
UD
42273 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42274 variable.
42275
8ad89ef8
UD
42276 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42277 mantissa words.
42278 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42279
0c822ef9
UD
42280 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42281 from unused variable.
42282
874e0564
UD
42283 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42284 DWARF definitions.
42285 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42286 for assembling.
42287
3a2edc79
UD
42288 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42289 over namespaces.
42290
f3c2577f
UD
42291 * sunrpc/rpc_prot.c (rejected): Fix case value.
42292
294ce126
UD
42293 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42294 unsigned long long int to avoid warnings in shift.
42295
5e2b63c6
UD
42296 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42297 of use of trans.
42298 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42299 variable tmp.
42300
e7f4b08e
UD
42301 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42302 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42303 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42304
ab26144e
UD
42305 * nis/nis_table.c (nis_list): Use variable of correct type for
42306 result of __follow_path call.
42307
8a6d5255
AZ
423082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42309
42310 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42311 of math functions ceil, trunc, floor, round, and sqrt, when
42312 avaliable on the platform.
42313 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42314 name clash.
42315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42316 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42317 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42318
aaddc98c
MP
423192011-10-30 Marek Polacek <mpolacek@redhat.com>
42320
42321 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42322 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42323
95b7042b
RM
423242011-11-11 Roland McGrath <roland@hack.frob.com>
42325
42326 * include/unistd.h: Fix __readlink return type.
42327 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42328
57769839
UD
423292011-11-11 Ulrich Drepper <drepper@gmail.com>
42330
42331 * stdlib/ucontext.h: Undo last change for makecontext.
42332
edc5984d
AS
423332011-11-11 Andreas Schwab <schwab@redhat.com>
42334
98591e58
AS
42335 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42336
edc5984d
AS
42337 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42338 * setjmp/setjmp.h: Mark functions as non-leaf.
42339 * setjmp/bits/setjmp2.h: Likewise.
42340 * stdlib/ucontext.h: Likewise.
42341
77cdc054
AS
423422011-11-10 Andreas Schwab <schwab@redhat.com>
42343
42344 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42345 (reused_arena): Don't check arena limit.
42346 (arena_get2): Atomically check arena limit.
42347
fe72eebd
UD
423482011-11-08 Ulrich Drepper <drepper@gmail.com>
42349
5f078c32
UD
42350 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42351 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42352
fe72eebd
UD
42353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42354 instructions.
42355
ae1bc2fa
AS
423562011-11-07 Andreas Schwab <schwab@redhat.com>
42357
7583a88d
AS
42358 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42359 handler when locking.
42360
ae1bc2fa
AS
42361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42362 Fix size of allocated buffer.
42363
10fb0bfa
AS
423642011-11-04 Andreas Schwab <schwab@redhat.com>
42365
998832a4
AS
42366 [BZ #10103]
42367 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42368 declarations for long double functions.
42369 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42370
10fb0bfa
AS
42371 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42372
3d7ba52b
AS
423732011-11-03 Andreas Schwab <schwab@redhat.com>
42374
a9ae54a1
AS
42375 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42376 installed.
42377
3d7ba52b
AS
42378 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42379 is disabled.
42380
bc8db248
ST
423812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42382
42383 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42384
45b96dd6
AS
423852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42386
647776f6
AS
42387 * include/alloca.h (stackinfo_alloca_round): Define.
42388 (extend_alloca): Use it.
42389 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42390 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42391 here.
42392
d91a8b93
AS
42393 * scripts/check-local-headers.sh: Ignore libaudit.h.
42394
45b96dd6
AS
42395 * nscd/Makefile (extra-objs): Make recursively expanded.
42396
432d41ce
UD
423972011-11-01 Ulrich Drepper <drepper@gmail.com>
42398
34372fc6
UD
42399 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42400 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42401
fadb59f8
UD
42402 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42403 * posix/tst-rfc3484-2.c: Likewise.
42404 * posix/tst-rfc3484-3.c: Likewise.
42405
78239589
UD
42406 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42407 process_vm_writev.
42408 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42409 process_vm_writev.
42410 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42411 process_vm_writev from libc using GLIBC_2.15 version.
42412
432d41ce
UD
42413 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42414
02f9c6cf
PP
424152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42416
42417 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42418 stack usage.
42419
3a2c0242
UD
424202011-10-31 Ulrich Drepper <drepper@gmail.com>
42421
f4ec4833
UD
42422 [BZ #13367]
42423 * nss/getent.c (initgroups_keys): Show error message in case no group
42424 names are given.
42425
3a2c0242
UD
42426 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42427 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42428 __bump_nl_timestamp.
42429 * nscd/connections (nscd_init): When host database is served open
42430 netlink socket and request notification about configuration changes.
42431 (main_loop_poll): Track netlink file descriptor and bump timestamp
42432 in case data becomes available.
42433 (main_loop_epoll): Likewise.
42434 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42435 (database_pers_head): Add extra_data fileds.
42436 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42437 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42438 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42439 Adjust caller.
42440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42441 in6ai data, call __free_in6ai.
42442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42443 Add -DHAVE_NETLINK.
42444 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42445 interface information. Reuse previous data if netlink timestamp
42446 is not changed.
42447 (__bump_nl_timestamp): New function.
42448 (__free_in6ai): New function.
42449
636064eb
UD
424502011-10-30 Ulrich Drepper <drepper@gmail.com>
42451
42452 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42453 close_not_cancel_no_status here.
42454 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42455
9beb2334
UD
424562011-10-29 Ulrich Drepper <drepper@gmail.com>
42457
6ef76f3b
UD
42458 [BZ #13276]
42459 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42460 return value.
42461
0ffc4f3e 42462 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42463 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42464 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42465
cb95113e
UD
424662011-07-03 Andreas Jaeger <aj@suse.de>
42467
42468 [BZ #10709]
42469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42470 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42471 * math/libm-test.inc (sin_test): Add test case.
42472
a1b560ff
UD
424732011-10-29 Ulrich Drepper <drepper@gmail.com>
42474
c9aaface
UD
42475 [BZ #13337]
42476 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42477 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42478
d272e7f1
UD
42479 * elf/chroot_canon.c (chroot_canon): Cleanups.
42480
1bc33071
UD
42481 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42482
1760874d
TJ
42483 [BZ #13335]
42484 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42485 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42486
51d91b18
UD
42487 * string/test-strchr.c: Make usable for strchrnul testing.
42488 * string/test-strchrnul.c: New file.
42489 * string/Makefile (strop-tests): Add strchrnul.
42490
a1b560ff 42491 * po/it.po: Update from translation team.
b611fb81 42492 * po/es.po: Likewise.
a1b560ff 42493
a5b81e1f
UD
424942011-10-28 Ulrich Drepper <drepper@gmail.com>
42495
fd52bc6d
UD
42496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42497 the three constants needed as parameters. Drop the others.
42498 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42499 __m128i_strloadu_tolower.
52e4b9eb
UD
42500 Create and initialize variable zero and use it in all the places
42501 where _mm_setzero_si128 was used.
fd52bc6d 42502
a5b81e1f
UD
42503 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42504 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42505 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42507 anymore.
42508 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42509 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42510 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42511 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42512 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42513 __mpranred, __mptan.
42514 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42515 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42516 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42517 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42518 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42519 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42522 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42523
b4343346
AS
425242011-10-28 Andreas Schwab <schwab@redhat.com>
42525
0c92d8a8
AS
42526 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42527 redefine if SHARED.
42528 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42529
b4343346
AS
42530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42531 wide char related routines to wcsmbs subdir.
42532
3871f58f
AS
425332011-10-27 Andreas Schwab <schwab@redhat.com>
42534
42535 [BZ #13344]
42536 * misc/sys/cdefs.h (__THROWNL): Define.
42537 * posix/unistd.h: Use __THREADNL instead of __THREAD
42538 for memory synchronization functions.
42539
94d44d9f
RM
425402011-10-26 Roland McGrath <roland@hack.frob.com>
42541
21b64b15 42542 [BZ #13349]
94d44d9f
RM
42543 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42544 doesn't exist.
42545 * manual/stdio.texi (Obstack Streams): Node removed.
42546
f6ce9294
AS
425472011-10-26 Andreas Schwab <schwab@redhat.com>
42548
80479147
AS
42549 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42552
f6ce9294
AS
42553 * math/math_private.h (math_force_eval): Allow non-addressable
42554 arguments.
42555 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42556
618280a1
UD
425572011-10-25 Ulrich Drepper <drepper@gmail.com>
42558
e0016b11
UD
42559 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42560 file is not needed.
42561
42562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42569 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42570 Add AVX variants.
42571 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42572 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42573 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42574 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42575 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42576 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42578 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42580 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42581 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42582 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42584 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42585 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42586 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42589 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42590
42591 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42592 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42593
618280a1
UD
42594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42595 place. Use VEX encoding when compiling for AVX.
42596
37822576
AS
425972011-10-25 Andreas Schwab <schwab@redhat.com>
42598
1f1e1947
AS
42599 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42600 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42601
37822576
AS
42602 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42603
31ea014d
UD
426042011-10-25 Ulrich Drepper <drepper@gmail.com>
42605
d7826aa1 42606 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42607 useless if() expression.
d7826aa1
UD
42608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42620 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42622 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42626 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42627
31ea014d
UD
42628 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42629
16437fec
AS
426302011-10-25 Andreas Schwab <schwab@redhat.com>
42631
42632 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42633 condition.
42634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42635
31d3cc00
UD
426362011-10-25 Ulrich Drepper <drepper@gmail.com>
42637
42638 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42639 .text section. Avoid duplicate constants.
42640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42650 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42652 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42657 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42667 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42668 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42669 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42670 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42671 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42672 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42673 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42674 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42675 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42678 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42679 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42680 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42682 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42683 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42684 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42685
58985aa9
UD
426862011-10-24 Ulrich Drepper <drepper@gmail.com>
42687
202c9deb
UD
42688 * sysdeps/x86_64/dla.h: Move to ...
42689 * sysdeps/x86_64/fpu/dla.h: ...here.
42690 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42691 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42692
af968f62
UD
42693 * config.make.in: Add have-mfma4 entry.
42694 * configure.in: Substitute libc_cv_cc_fma4.
42695 * math/Makefile (dbl-only-routines): Add sincostab.
42696 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42697 Use __sincostab not sincos.
42698 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42699 name is a macro.
42700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42704 using __copysign.
42705 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42706 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42707 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42708 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42709 and __inv.
42710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42711 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42712 __copysign.
42713 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42714 define aliases when function name is a macro.
42715 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42716 sysdeps/ieee754/dbl-64/sincos.tbl.
42717 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42718 fma4-enabled routines.
42719 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42720 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42721 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42722 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42724 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42727 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42728 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42729 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42731 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42732 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42733 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42734 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42735 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42736 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42737 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42739 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42740 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42746 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42747 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42748 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42749
58985aa9
UD
42750 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42751 rename.
42752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42760
a201fbcf
AS
427612011-10-24 Andreas Schwab <schwab@redhat.com>
42762
42763 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42764
fc2ee42a
LD
427652011-10-23 Ulrich Drepper <drepper@gmail.com>
42766
bb3129bd
UD
42767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42768
0275fff8
UD
42769 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42770 prediction.
42771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42772
2fa2ae85
UD
42773 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42774 Remove unused variable magic_bits.
42775 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42776
fc2ee42a
LD
42777 * string/strnlen.c: Define and use STRNLEN macro.
42778 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42779 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42781 * wcsmbs/wcslen.c: Define and use WCSLEN.
42782 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42783 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42784 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42785 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42786 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42787 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42788 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42789
ce7dd29f
LD
427902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42791
42792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42793 strnlen-sse2-no-bsf.
42794 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42796 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42797 Add strnlen support.
42798 (USE_AS_STRNLEN): New macro.
42799 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42801 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42802 * sysdeps/x86_64/wcslen.S: New file.
42803
979c70a3
MZ
428042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42805
42806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42807 XMM-moves are used for copying on small sizes.
42808
2d09f82f
LD
428092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42810
42811 * wcsmbs/Makefile (strop-tests): Add wcschr.
42812 * wcsmbs/test-wcschr.c: New file.
42813 * string/test-strchr.c: Update.
42814 Add wcschr support.
42815 (WIDE): New macro.
42816
619fccca
LD
428172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42818
2d09f82f 42819 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42820 * wcsmbs/test-wcslen.c: New file.
42821 * string/test-strlen.c: Update.
42822 Add wcslen support.
42823 (WIDE): New macro.
42824
09f699ea
UD
428252011-10-23 Ulrich Drepper <drepper@gmail.com>
42826
42827 * po/it.po: Update from translation team.
42828
95584d3b
LD
428292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42830
42831 * sysdeps/x86_64/wcscmp.S: Update.
42832 Fix wrong comparison semantics.
42833 wcscmp shall use signed comparison not unsigned.
42834 Don't use substraction to avoid overflow bug.
42835 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42836 * wcsmbc/wcscmp.c: Likewise.
42837 * string/test-strcmp.c: Likewise.
42838 Add new tests to check cases with negative values.
42839
c8b3296b
UD
428402011-10-23 Ulrich Drepper <drepper@gmail.com>
42841
42842 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42843 * sysdeps/x86_64/dla.h: ...here. New file.
42844 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42853
246ad57a
AS
428542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42855
42856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42857 __ynl_finite aliases.
42858
a1a87169
UD
428592011-10-22 Ulrich Drepper <drepper@gmail.com>
42860
0d355eb7
UD
42861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42862
a1a87169
UD
42863 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42864 define DLA_FMA.
42865 [DLA_FMA] (EMULV): Use DLA_FMA.
42866 [DLA_FMA] (MUL12): Use EMULV.
42867 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42868 that are not needed.
42869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42876
ee2aafe0
AS
428772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42878
42879 * math/s_nan.c: Undef __nan.
42880 * math/s_nanf.c: Undef __nanf.
42881 * math/s_nanl.c: Undef __nanl.
42882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42883 "math_private.h".
42884
bc62c2fb
UD
428852011-10-22 Ulrich Drepper <drepper@gmail.com>
42886
77425c63
UD
42887 * math/s_catan.c: Add branch predictions.
42888 * math/s_catanf.c: Likewise.
42889 * math/s_catanh.c: Likewise.
42890 * math/s_catanhf.c: Likewise.
42891 * math/s_catanhl.c: Likewise.
42892 * math/s_catanl.c: Likewise.
42893 * math/s_cexp.c: Likewise.
42894 * math/s_cexpf.c: Likewise.
42895 * math/s_cexpl.c: Likewise.
42896 * math/s_clog.c: Likewise.
42897 * math/s_clog10.c: Likewise.
42898 * math/s_clog10f.c: Likewise.
42899 * math/s_clog10l.c: Likewise.
42900 * math/s_clogf.c: Likewise.
42901 * math/s_clogl.c: Likewise.
42902 * math/s_csqrt.c: Likewise.
42903 * math/s_csqrtf.c: Likewise.
42904 * math/s_csqrtl.c: Likewise.
42905 * math/s_ctanf.c: Likewise.
42906 * math/s_ctanh.c: Likewise.
42907 * math/s_ctanhf.c: Likewise.
42908 * math/s_ctanhl.c: Likewise.
42909 * math/s_ctanl.c: Likewise.
42910
bc62c2fb
UD
42911 * math/math_private.h: Define __nan, __nanf, __nanl.
42912 * math/s_cacosh.c: Include <math_private.h>.
42913 * math/s_cacoshl.c: Likewise.
42914 * math/s_casinh.c: Likewise.
42915 * math/s_casinhf.c: Likewise.
42916 * math/s_casinhl.c: Likewise.
42917 * math/s_ccos.c: Rely entire on ccosh.
42918 * math/s_ccosf.c: Rely entire on ccoshf.
42919 * math/s_ccosl.c: Rely entirely on ccoshl.
42920 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42921 Remove tests for FE_INVALID.
42922 * math/s_ccoshf.c: Likewise.
42923 * math/s_ccoshl.c: Likewise.
42924 * math/s_csin.c: Likewise.
42925 * math/s_csinf.c: Likewise.
42926 * math/s_csinh.c Likewise.
42927 * math/s_csinhf.c: Likewise.
42928 * math/s_csinhl.c: Likewise.
42929 * math/s_csinl.c: Likewise.
42930 * math/s_ctan.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42932 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42933 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42934
8ec250a4
UD
429352011-10-21 Ulrich Drepper <drepper@gmail.com>
42936
c196fed8
UD
42937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42938 compilation problems.
42939
8ec250a4
UD
42940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42941 __builtin_expect.
42942
8d4f46c6
UD
429432011-10-20 Ulrich Drepper <drepper@gmail.com>
42944
ed72b654
UD
42945 * sysdeps/i386/configure.in: Test for -mfma4 option.
42946 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42947 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42948 COMMON_CPUID_INDEX_80000001.
42949 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42950 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42951 use it if FMA3 is not supported.
42952 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42953
8d4f46c6
UD
42954 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42956
d45c60c2
AS
429572011-10-20 Andreas Schwab <schwab@redhat.com>
42958
42959 [BZ #12892]
42960 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42961 it would create a cycle with a link time dependency.
42962
d9a4d2ab
UD
429632011-10-19 Ulrich Drepper <drepper@gmail.com>
42964
855d1560
UD
42965 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42966 instruction.
42967 * string/Makefile (strop-tests): Add rawmemchr.
42968 * string/test-rawmemchr.c: New file.
42969
d9a4d2ab
UD
42970 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42972 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42973 when compiling str{,n}casecmp and when AVX is available. Hook up
42974 new optimized code in initializers.
42975
8f3b1ffe
AS
429762011-10-19 Andreas Schwab <schwab@redhat.com>
42977
42978 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42979 __feraiseexcept instead of feraiseexcept.
42980
d38f1dba
UD
429812011-10-18 Ulrich Drepper <drepper@gmail.com>
42982
d9a8d0ab
UD
42983 * math/math_private.h: Define defaults for libc_fetestexcept and
42984 libc_feupdateenv.
42985 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42986 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42990 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42991 libc_fetestexcept and libc_feupdateenv.
42992
4855e3dd
UD
42993 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42994 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42995 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42996 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42997 libc_feholdexcept_setround.
42998
581d30e3
UD
42999 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43000 Add s_nearbyint-c and s_nearbyintf-c.
43001 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43002 nearbyintf inlines.
43003 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43004 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43005 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43007
d38f1dba
UD
43008 * math/math_private.h: Define defaults for libc_fegetround,
43009 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43010 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43011 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43013 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43014 standard functions.
43015 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43016 Remove comments and hacks for old compiler versions.
43017 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43018 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43019 libc_feholdexceptl.
43020
caa6c9d8
AS
430212011-10-18 Andreas Schwab <schwab@redhat.com>
43022
43023 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43024 (__feraiseexcept_renamed): Add __NTH.
43025 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43026 namespace violations.
43027
97c066e6
UD
430282011-10-17 Ulrich Drepper <drepper@gmail.com>
43029
99ce7b04
UD
43030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43031
1004d182
UD
43032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43033
228a984d
UD
43034 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43035 recently added interfaces.
43036 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43037
c8553a6a
UD
43038 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43039 about macro parameter expansion.
43040
ed22dcf6
UD
43041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43042 __NO_MATH_INLINES is defined. Cleanups.
43043
43044 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43045 and __floorf is target has SSE4.1.
43046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43047 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43048 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43049 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43050
b171c137
UD
43051 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43052 name.
43053 (floorf): Likewise.
43054
97c066e6
UD
43055 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43056
629f62ef
AS
430572011-10-17 Andreas Schwab <schwab@redhat.com>
43058
49a43d80
AS
43059 * misc/sys/cdefs.h: Fix last change.
43060
629f62ef
AS
43061 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43062 database lookup.
43063
e453f6cd
UD
430642011-10-16 Ulrich Drepper <drepper@gmail.com>
43065
aa78043a
UD
43066 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43067
ad0f5cad
UD
43068 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43074 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43076 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43077 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43078 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43079 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43080 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43081 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43082 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43083 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43084 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43085 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43086 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43087 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43088 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43089 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43090
43091 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43092 ceil, ceilf, floor, floorf.
43093
43094 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43095 Perform IRELATIVE relocations last.
43096
e453f6cd
UD
43097 * elf/do-rel.h: Add another parameter nrelative, replacing the
43098 local variable with the same name. Change name of the function
43099 to end in Rel or Rela (uppercase).
43100 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43101 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43102 elf_dynamic_do_##reloc function.
43103
fd5bdc09
UD
431042011-10-15 Ulrich Drepper <drepper@gmail.com>
43105
79b195b5
UD
43106 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43107 is sufficient, at least on modern CPUs.
43108
d4a28569
UD
43109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43110
b61099b5
UD
43111 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43113
bcf01e6d
UD
43114 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43115 __expl_finite.
43116 * math/bits/math-finite.h: Add entries for exp.
43117 * math/e_expl.c: Add __*_finite alias.
43118 * sysdeps/i386/fpu/e_exp.S: Likewise.
43119 * sysdeps/i386/fpu/e_expf.S: Likewise.
43120 * sysdeps/i386/fpu/e_expl.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43125 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43126 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43127 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43128
ba1a0d59
UD
43129 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43130 is sufficient, at least on modern CPUs.
43131
fd5bdc09
UD
43132 * ctype/ctype-info.c (__ctype_init): Define.
43133 * include/ctype.h (__ctype_init): Declare.
43134 (__ctype_b_loc): The variable is always initialized.
43135 (__ctype_toupper_loc): Likewise.
43136 (__ctype_tolower_loc): Likewise.
43137 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43138 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43139
7872cfb0
AS
431402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43141
b468825a
AS
43142 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43143
7872cfb0
AS
43144 * configure.in: Also look in $cxxmachine/include for C++ system
43145 headers.
43146
be13f7bf
LD
431472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43148
43149 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43150 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43151 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43152 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43154 (USE_AS_WMEMCMP): New macro.
43155 Fixing indents.
43156 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43157 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43158 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43159 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43161 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43162 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43163 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43164 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43165 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43166 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43167 (USE_AS_WMEMCMP): New macro.
43168 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43169 * sysdeps/string/test-memcmp.c: Update.
43170 Fix simple_wmemcmp.
43171 Add new tests.
43172 * wcsmbs/wmemcmp.c: Update.
43173 (WMEMCMP): New macro.
43174 Fix overflow bug.
43175
556a2007
AJ
431762011-10-12 Andreas Jaeger <aj@suse.de>
43177
43178 [BZ #13268]
43179 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43180
538faaa7
UD
431812011-10-15 Ulrich Drepper <drepper@gmail.com>
43182
ab6737ff
UD
43183 * libio/iofwide.c (do_length): Avoid warning.
43184
538faaa7
UD
43185 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43186
396a21b1
UD
431872011-10-14 Ulrich Drepper <drepper@gmail.com>
43188
cdf2901f
UD
43189 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43190
38ad40ce
UD
43191 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43192 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43193 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43194 * sysdeps/i386/i686/fpu/e_log.S: New file.
43195 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43196 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43197
396a21b1
UD
43198 * ctype/ctype.h: Add support for inlined isXXX functions when
43199 compiling C++ code.
43200
6b1f68c9
AS
432012011-10-14 Andreas Schwab <schwab@redhat.com>
43202
349290c0
AS
43203 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43204
6b1f68c9
AS
43205 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43206
f2282d42
RM
432072011-10-13 Roland McGrath <roland@hack.frob.com>
43208
43209 [BZ #13291]
43210 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43211
5298ffa8
AS
432122011-10-13 Andreas Schwab <schwab@redhat.com>
43213
714fad23
AS
43214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43215 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43216 feraiseexcept.
43217
81dcc7fb
AS
43218 * sysdeps/x86_64/memrchr.S: Check for zero size.
43219
5298ffa8
AS
43220 * string/stratcliff.c: Add memrchr tests.
43221
951fbcec
LD
432222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43223
43224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43225 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43226 rawmemchr-sse2 rawmemchr-sse2-bsf.
43227 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43228 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43229 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43230 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43231 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43232 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43233 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43234 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43235 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43236 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43237 * string/memrchr.c (MEMRCHR): New macro.
43238
0ac5ae23
UD
432392011-10-12 Ulrich Drepper <drepper@gmail.com>
43240
43241 Add integration with gcc's -ffinite-math-only and optimize wrapper
43242 functions in libm.
43243 * Versions.def: Define GLIBC_2.15 version for libm.
43244 * math/Makefile (headers): Add bits/math-finite.h.
43245 * math/bits/math-finite.h: New file.
43246 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43247 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43248 * math/e_acoshl.c: Add __*_finite alias.
43249 * math/e_acosl.c: Likewise.
43250 * math/e_asinl.c: Likewise.
43251 * math/e_atan2l.c: Likewise.
43252 * math/e_atanhl.c: Likewise.
43253 * math/e_coshl.c: Likewise.
43254 * math/e_exp10.c: Likewise.
43255 * math/e_exp10f.c: Likewise.
43256 * math/e_exp10l.c: Likewise.
43257 * math/e_exp2l.c: Likewise.
43258 * math/e_fmodl.c: Likewise.
43259 * math/e_gammal_r.c: Likewise.
43260 * math/e_hypotl.c: Likewise.
43261 * math/e_j0l.c: Likewise.
43262 * math/e_j1l.c: Likewise.
43263 * math/e_jnl.c: Likewise.
43264 * math/e_lgammal_r.c: Likewise.
43265 * math/e_log10l.c: Likewise.
43266 * math/e_log2l.c: Likewise.
43267 * math/e_logl.c: Likewise.
43268 * math/e_powl.c: Likewise.
43269 * math/e_sinhl.c: Likewise.
43270 * math/e_sqrtl.c: Likewise.
43271 * math/e_scalb.c: Completely rewritten and optimized.
43272 * math/e_scalbf.c: Likewise.
43273 * math/e_scalbl.c: Likewise.
43274 * math/w_acos.c: Likewise.
43275 * math/w_acosf.c: Likewise.
43276 * math/w_acosl.c: Likewise.
43277 * math/w_acosh.c: Likewise.
43278 * math/w_acoshf.c: Likewise.
43279 * math/w_acoshl.c: Likewise.
43280 * math/w_asin.c: Likewise.
43281 * math/w_asinf.c: Likewise.
43282 * math/w_asinl.c: Likewise.
43283 * math/w_atan2.c: Likewise.
43284 * math/w_atan2f.c: Likewise.
43285 * math/w_atan2l.c: Likewise.
43286 * math/w_atanh.c: Likewise.
43287 * math/w_atanhf.c: Likewise.
43288 * math/w_atanhl.c: Likewise.
43289 * math/w_exp10.c: Likewise.
43290 * math/w_exp10f.c: Likewise.
43291 * math/w_exp10l.c: Likewise.
43292 * math/w_fmod.c: Likewise.
43293 * math/w_fmodf.c: Likewise.
43294 * math/w_fmodl.c: Likewise.
43295 * math/w_j0.c: Likewise.
43296 * math/w_j0f.c: Likewise.
43297 * math/w_j0l.c: Likewise.
43298 * math/w_j1.c: Likewise.
43299 * math/w_j1f.c: Likewise.
43300 * math/w_j1l.c: Likewise.
43301 * math/w_jn.c: Likewise.
43302 * math/w_jnf.c: Likewise.
43303 * math/w_log.c: Likewise.
43304 * math/w_logf.c: Likewise.
43305 * math/w_logl.c: Likewise.
43306 * math/w_log10.c: Likewise.
43307 * math/w_log10f.c: Likewise.
43308 * math/w_log10l.c: Likewise.
43309 * math/w_log2.c: Likewise.
43310 * math/w_log2f.c: Likewise.
43311 * math/w_log2l.c: Likewise.
43312 * math/w_pow.c: Likewise.
43313 * math/w_powf.c: Likewise.
43314 * math/w_powl.c: Likewise.
43315 * math/w_remainder.c: Likewise.
43316 * math/w_remainderf.c: Likewise.
43317 * math/w_remainderl.c: Likewise.
43318 * math/w_scalb.c: Likewise.
43319 * math/w_scalbf.c: Likewise.
43320 * math/w_scalbl.c: Likewise.
43321 * math/w_sqrt.c: Likewise.
43322 * math/w_sqrtf.c: Likewise.
43323 * math/w_sqrtl.c: Likewise.
43324 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43325 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43326 used.
43327 * math/math_private.h: Declare __kernel_standard_f.
43328 * math/w_cosh.c: Remove cruft and optimize a bit.
43329 * math/w_coshf.c: Likewise.
43330 * math/w_coshl.c: Likewise.
43331 * math/w_exp2.c: Likewise.
43332 * math/w_exp2f.c: Likewise.
43333 * math/w_exp2l.c: Likewise.
43334 * math/w_hypot.c: Likewise.
43335 * math/w_hypotf.c: Likewise.
43336 * math/w_hypotl.c: Likewise.
43337 * math/w_lgamma.c: Likewise.
43338 * math/w_lgamma_r.c: Likewise.
43339 * math/w_lgammaf.c: Likewise.
43340 * math/w_lgammaf_r.c: Likewise.
43341 * math/w_lgammal.c: Likewise.
43342 * math/w_lgammal_r.c: Likewise.
43343 * math/w_sinh.c: Likewise.
43344 * math/w_sinhf.c: Likewise.
43345 * math/w_sinhl.c: Likewise.
43346 * math/w_tgamma.c: Likewise.
43347 * math/w_tgammaf.c: Likewise.
43348 * math/w_tgammal.c: Likewise.
43349 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43351 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43352 Minor optimizations. Pretty printing. Remove cruft.
43353 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43355 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43357 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43358 * sysdeps/i386/fpu/e_asin.S: Likewise.
43359 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43360 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43361 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43362 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43364 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43365 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43366 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43367 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43368 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43369 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43370 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43371 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43372 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43373 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43374 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43375 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43376 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43377 * sysdeps/i386/fpu/e_log.S: Likewise.
43378 * sysdeps/i386/fpu/e_log10.S: Likewise.
43379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43380 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43381 * sysdeps/i386/fpu/e_log2.S: Likewise.
43382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43383 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43384 * sysdeps/i386/fpu/e_logf.S: Likewise.
43385 * sysdeps/i386/fpu/e_logl.S: Likewise.
43386 * sysdeps/i386/fpu/e_pow.S: Likewise.
43387 * sysdeps/i386/fpu/e_powf.S: Likewise.
43388 * sysdeps/i386/fpu/e_powl.S: Likewise.
43389 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43390 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43391 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43395 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43396 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43397 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43404 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43405 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43412 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43418 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43423 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43426 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43427 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43429 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43432 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43433 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43434 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43435 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43439 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43440 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43441 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43443 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43445 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43446 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43447 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43448 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43449 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43453 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43454 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43455 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43456 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43457 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43458 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43459 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43462 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43463 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43465 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43468 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43469 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43472 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43474 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43475 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43476 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43478 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43480 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43483 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43485 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43486 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43487 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43488 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43489 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43490 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43491 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43495 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43496 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43497 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43498 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43499 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43500 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43501 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43506 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43508 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43509 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43510 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43511 (__isnanf): Likewise.
43512 (__isinf_ns): Likewise.
43513 (__isinf_nsf): Likewise.
43514 (__finite): Likewise.
43515 (__finitef): Likewise.
43516 (__ieee754_sqrt): Define as macro.
43517 (__ieee754_sqrtf): Define as macro.
43518 (__ieee754_sqrtl): Define as macro.
43519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43520 inlined copy.
43521 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43522 __FINITE_MATH_ONLY__ consistent.
43523 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43524
12cc2fcd
AS
435252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43526
a843a204
AS
43527 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43528 of rawmemchr.
43529
12cc2fcd
AS
43530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43531
c853acd5
UD
435322011-10-09 Ulrich Drepper <drepper@gmail.com>
43533
43534 * po/ja.po: Update from translation team.
43535
c658d255
RM
435362011-10-08 Roland McGrath <roland@hack.frob.com>
43537
110946e4
RM
43538 * locale/programs/locarchive.c (prepare_address_space): New function.
43539 (create_archive, enlarge_archive, open_archive): Use it.
43540
50604220
RM
43541 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43542 inside [SHARED], where it is used.
43543
c658d255
RM
43544 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43545
43546 * nss/getent.c (netgroup_keys): Remove unused variable.
43547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43548
6a621eb7
UD
435492011-10-08 Ulrich Drepper <drepper@gmail.com>
43550
7edb55ce
UD
43551 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43552 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43556 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43557 * math/Makefile (libm-calls): Add s_isinf_ns.
43558 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43559 * math/multc3.c: Likewise.
43560 * math/s_casin.c: Likewise.
43561 * math/s_casinf.c: Likewise.
43562 * math/s_casinl.c: Likewise.
43563 * math/s_ccos.c: Likewise.
43564 * math/s_ccosf.c: Likewise.
43565 * math/s_ccosl.c: Likewise.
43566 * math/s_ctan.c: Likewise.
43567 * math/s_ctanf.c: Likewise.
43568 * math/s_ctanh.c: Likewise.
43569 * math/s_ctanhf.c: Likewise.
43570 * math/s_ctanhl.c: Likewise.
43571 * math/s_ctanl.c: Likewise.
43572 * math/w_fmod.c: Likewise.
43573 * math/w_fmodf.c: Likewise.
43574 * math/w_fmodl.c: Likewise.
43575 * math/w_remainder.c: Likewise.
43576 * math/w_remainderf.c: Likewise.
43577 * math/w_remainderl.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43579 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43582 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43583 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43584 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43585 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43586
187da0ae
UD
43587 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43588 of the number.
43589 * stdio-common/printf_fphex.c: Likewise.
43590 * stdio-common/printf_size.c: Likewise.
43591
9277c064
UD
43592 * math/e_exp10.c: Include math_private.h using <...> not "...".
43593 * math/e_exp10f.c: Likewise.
43594 * math/e_exp10l.c: Likewise.
43595 * math/e_exp2l.c: Likewise.
43596 * math/e_j0l.c: Likewise.
43597 * math/e_j1l.c: Likewise.
43598 * math/e_jnl.c: Likewise.
43599 * math/e_lgammal_r.c: Likewise.
43600 * math/e_rem_pio2l.c: Likewise.
43601 * math/e_scalb.c: Likewise.
43602 * math/e_scalbf.c: Likewise.
43603 * math/e_scalbl.c: Likewise.
43604 * math/k_cosl.c: Likewise.
43605 * math/k_sinl.c: Likewise.
43606 * math/k_tanl.c: Likewise.
43607 * math/s_cacoshf.c: Likewise.
43608 * math/s_catan.c: Likewise.
43609 * math/s_catanf.c: Likewise.
43610 * math/s_catanh.c: Likewise.
43611 * math/s_catanhf.c: Likewise.
43612 * math/s_catanhl.c: Likewise.
43613 * math/s_catanl.c: Likewise.
43614 * math/s_ccosh.c: Likewise.
43615 * math/s_ccoshf.c: Likewise.
43616 * math/s_ccoshl.c: Likewise.
43617 * math/s_cexp.c: Likewise.
43618 * math/s_cexpf.c: Likewise.
43619 * math/s_cexpl.c: Likewise.
43620 * math/s_clog.c: Likewise.
43621 * math/s_clog10.c: Likewise.
43622 * math/s_clog10f.c: Likewise.
43623 * math/s_clog10l.c: Likewise.
43624 * math/s_clogf.c: Likewise.
43625 * math/s_clogl.c: Likewise.
43626 * math/s_csin.c: Likewise.
43627 * math/s_csinf.c: Likewise.
43628 * math/s_csinh.c: Likewise.
43629 * math/s_csinhf.c: Likewise.
43630 * math/s_csinhl.c: Likewise.
43631 * math/s_csinl.c: Likewise.
43632 * math/s_csqrt.c: Likewise.
43633 * math/s_csqrtf.c: Likewise.
43634 * math/s_csqrtl.c: Likewise.
43635 * math/s_ctan.c: Likewise.
43636 * math/s_ctanf.c: Likewise.
43637 * math/s_ctanh.c: Likewise.
43638 * math/s_ctanhf.c: Likewise.
43639 * math/s_ctanhl.c: Likewise.
43640 * math/s_ctanl.c: Likewise.
43641 * math/s_ldexp.c: Likewise.
43642 * math/s_ldexpf.c: Likewise.
43643 * math/s_ldexpl.c: Likewise.
43644 * math/s_significand.c: Likewise.
43645 * math/s_significandf.c: Likewise.
43646 * math/s_significandl.c: Likewise.
43647 * math/w_acos.c: Likewise.
43648 * math/w_acosf.c: Likewise.
43649 * math/w_acosh.c: Likewise.
43650 * math/w_acoshf.c: Likewise.
43651 * math/w_acoshl.c: Likewise.
43652 * math/w_acosl.c: Likewise.
43653 * math/w_asin.c: Likewise.
43654 * math/w_asinf.c: Likewise.
43655 * math/w_asinl.c: Likewise.
43656 * math/w_atan2.c: Likewise.
43657 * math/w_atan2f.c: Likewise.
43658 * math/w_atan2l.c: Likewise.
43659 * math/w_atanh.c: Likewise.
43660 * math/w_atanhf.c: Likewise.
43661 * math/w_atanhl.c: Likewise.
43662 * math/w_cosh.c: Likewise.
43663 * math/w_coshf.c: Likewise.
43664 * math/w_coshl.c: Likewise.
43665 * math/w_dremf.c: Likewise.
43666 * math/w_exp10.c: Likewise.
43667 * math/w_exp10f.c: Likewise.
43668 * math/w_exp10l.c: Likewise.
43669 * math/w_exp2.c: Likewise.
43670 * math/w_exp2f.c: Likewise.
43671 * math/w_fmod.c: Likewise.
43672 * math/w_fmodf.c: Likewise.
43673 * math/w_fmodl.c: Likewise.
43674 * math/w_hypot.c: Likewise.
43675 * math/w_hypotf.c: Likewise.
43676 * math/w_hypotl.c: Likewise.
43677 * math/w_j0.c: Likewise.
43678 * math/w_j0f.c: Likewise.
43679 * math/w_j0l.c: Likewise.
43680 * math/w_j1.c: Likewise.
43681 * math/w_j1f.c: Likewise.
43682 * math/w_j1l.c: Likewise.
43683 * math/w_jn.c: Likewise.
43684 * math/w_jnf.c: Likewise.
43685 * math/w_jnl.c: Likewise.
43686 * math/w_lgamma.c: Likewise.
43687 * math/w_lgamma_r.c: Likewise.
43688 * math/w_lgammaf.c: Likewise.
43689 * math/w_lgammaf_r.c: Likewise.
43690 * math/w_lgammal.c: Likewise.
43691 * math/w_lgammal_r.c: Likewise.
43692 * math/w_log.c: Likewise.
43693 * math/w_log10.c: Likewise.
43694 * math/w_log10f.c: Likewise.
43695 * math/w_log10l.c: Likewise.
43696 * math/w_log2.c: Likewise.
43697 * math/w_log2f.c: Likewise.
43698 * math/w_log2l.c: Likewise.
43699 * math/w_logf.c: Likewise.
43700 * math/w_logl.c: Likewise.
43701 * math/w_pow.c: Likewise.
43702 * math/w_powf.c: Likewise.
43703 * math/w_powl.c: Likewise.
43704 * math/w_remainder.c: Likewise.
43705 * math/w_remainderf.c: Likewise.
43706 * math/w_remainderl.c: Likewise.
43707 * math/w_scalb.c: Likewise.
43708 * math/w_scalbf.c: Likewise.
43709 * math/w_scalbl.c: Likewise.
43710 * math/w_sinh.c: Likewise.
43711 * math/w_sinhf.c: Likewise.
43712 * math/w_sinhl.c: Likewise.
43713 * math/w_sqrt.c: Likewise.
43714 * math/w_sqrtf.c: Likewise.
43715 * math/w_sqrtl.c: Likewise.
43716 * math/w_tgamma.c: Likewise.
43717 * math/w_tgammaf.c: Likewise.
43718 * math/w_tgammal.c: Likewise.
43719
6a621eb7
UD
43720 * po/ja.po: Update from translation team.
43721
bf582445
AJ
437222011-09-29 Andreas Jaeger <aj@suse.de>
43723
f9efbf3a
AJ
43724 [BZ #13179]
43725 * sunrpc/netname.c (netname2host): Fix logic.
43726
bf582445
AJ
43727 [BZ #6779]
43728 [BZ #6783]
43729 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43730 correctly.
43731 * math/w_remainder.c (__remainder): Likewise.
43732 * math/w_remainderf.c (__remainderf): Likewise.
43733 * math/libm-test.inc (remainder_test): Add test cases.
43734
48693bea
AK
437352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43736
43737 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43738 sdiv_qrnnd.
43739
42622229
LD
437402011-10-07 Ulrich Drepper <drepper@gmail.com>
43741
43742 * string/test-memcmp.c: Avoid unncessary #defines.
43743 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43744
093ecf92
LD
437452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43746
43747 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43748 Use new sse2 version for core i3 - i7 as it's faster
43749 than sse42 version.
43750 (bit_Prefer_PMINUB_for_stringop): New.
43751 * sysdeps/x86_64/rawmemchr.S: Update.
43752 Replace with faster SSE2 version.
43753 * sysdeps/x86_64/memrchr.S: New file.
43754 * sysdeps/x86_64/memchr.S: Update.
43755 Replace with faster SSE2 version.
43756
fde56e5c
MP
437572011-09-12 Marek Polacek <mpolacek@redhat.com>
43758
43759 * elf/dl-load.c (lose): Add cast to avoid warning.
43760
21fd49a9
UD
437612011-10-07 Ulrich Drepper <drepper@gmail.com>
43762
5a06e643
UD
43763 * po/ca.po: Update from translation team.
43764
684ae515
UD
43765 * inet/getnetgrent_r.c: Hook up nscd.
43766 * nscd/Makefile (routines): Add nscd_netgroup.
43767 (nscd-modules): Add netgroupcache.
43768 (CFLAGS-netgroupcache.c): Define.
43769 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43770 (cache_search): Add const to second parameter.
43771 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43772 INNETGR.
43773 (dbs): Add netgrdb entry.
43774 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43775 (verify_persistent_db): Handle netgrdb.
43776 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43777 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43778 GETFDNETGR.
43779 (netgroup_response_header): Define.
43780 (innetgroup_response_header): Define.
43781 (datahead): Add netgroup_response_header and innetgroup_response_header
43782 elements.
43783 * nscd/nscd.conf: Add entries for netgroup cache.
43784 * nscd/nscd.h (dbtype): Add netgrdb.
43785 (_PATH_NSCD_NETGROUP_DB): Define.
43786 (netgroup_iov_disabled): Declare.
43787 (xmalloc, xcalloc, xrealloc): Move declarations here.
43788 (cache_search): Adjust prototype.
43789 Add netgroup-related prototypes.
43790 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43791 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43792 (__nscd_innetgr): Declare.
43793 * nscd/selinux.c (perms): Use access_vector_t as element type and
43794 add netgroup-related initializers.
43795 * nscd/netgroupcache.c: New file.
43796 * nscd/nscd_netgroup.c: New file.
43797 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43798 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43799 For four parameters use innetgr.
43800 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43801 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43802 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43803 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43804
21fd49a9
UD
43805 * nscd/connections.c (register_traced_file): Don't register file
43806 for disabled databases.
43807
054c0457
UD
438082011-10-06 Ulrich Drepper <drepper@gmail.com>
43809
32b63198
UD
43810 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43811
054c0457
UD
43812 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43813 from tree and freeing node.
43814
64031225
JO
438152011-09-25 Jiri Olsa <jolsa@redhat.com>
43816
43817 * nss/nsswitch.c (__nss_database_lookup): Handle
43818 nss_parse_service_list out of memory case.
43819
0490345c
JO
438202011-09-15 Jiri Olsa <jolsa@redhat.com>
43821
43822 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43823 out of memory case.
43824
3a62d00d
AS
438252011-10-04 Andreas Schwab <schwab@redhat.com>
43826
43827 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43828 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43829 pass it down.
43830 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43831 elf_machine_rela, elf_machine_lazy_rel.
43832 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43833 (ELF_DYNAMIC_DO_REL): Likewise.
43834 (ELF_DYNAMIC_DO_RELA): Likewise.
43835 (ELF_DYNAMIC_RELOCATE): Likewise.
43836 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43837 to ELF_DYNAMIC_DO_REL.
43838 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43839 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43840 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43841 elf_machine_rela.
43842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43843 skip_ifunc, don't call ifunc function if non-zero.
43844 (elf_machine_rela): Likewise.
43845 (elf_machine_lazy_rel): Likewise.
43846 (elf_machine_lazy_rela): Likewise.
43847 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43848 (elf_machine_lazy_rel): Likewise.
43849 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43850 Likewise.
43851 (elf_machine_lazy_rel): Likewise.
43852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43853 Likewise.
43854 (elf_machine_lazy_rel): Likewise.
43855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43856 (elf_machine_lazy_rel): Likewise.
43857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43858 (elf_machine_lazy_rel): Likewise.
43859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43860 (elf_machine_lazy_rel): Likewise.
43861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43862 (elf_machine_lazy_rel): Likewise.
43863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43864 (elf_machine_lazy_rel): Likewise.
43865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43866 (elf_machine_lazy_rel): Likewise.
43867
68577918
UD
438682011-09-28 Ulrich Drepper <drepper@gmail.com>
43869
43870 * nss/nss_files/files-init.c (_nss_files_init): Use static
43871 initialization for all the *_traced_file variables.
43872
68822d74
AS
438732011-09-28 Andreas Schwab <schwab@redhat.com>
43874
43875 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43876
2056100b
RM
438772011-09-27 Roland McGrath <roland@hack.frob.com>
43878
43879 [BZ #13226]
43880 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43881
32c76b63
AS
438822011-09-27 Andreas Schwab <schwab@redhat.com>
43883
43884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43885 Reread the line before reparsing it.
43886
bf972c9d
AS
438872011-09-26 Andreas Schwab <schwab@redhat.com>
43888
43889 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43890
e057a1b5
JM
438912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43892 Maxim Kuvyrkov <maxim@codesourcery.com>
43893 Joseph Myers <joseph@codesourcery.com>
43894
43895 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43896 if needed for __stack_chk_guard.
43897
bc7e1c36
RM
438982011-09-19 Roland McGrath <roland@hack.frob.com>
43899
ecb1482f
RM
43900 * sysdeps/posix/spawni.c (script_execute): Always define it.
43901 It will be optimized away if unused.
43902 (maybe_script_execute): New function.
43903 (__spawni): Call it.
43904
bc7e1c36
RM
43905 * Makerules: Don't include tls.make.
43906 (config-tls): Always set to thread.
43907 * tls.make.c: File removed.
43908
1c3b002b
MF
439092011-09-19 Mike Frysinger <vapier@gentoo.org>
43910
43911 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43912 * config.make.in (CPPFLAGS-config): New substituted variable.
43913
2840865d
UD
439142011-09-15 Ulrich Drepper <drepper@gmail.com>
43915
88738eb6
UD
43916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43917
cbf645a6 43918 [BZ #13192]
2840865d
UD
43919 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43920 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43921
b402e91a
RM
439222011-09-15 Roland McGrath <roland@hack.frob.com>
43923
43924 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43925 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43927 (CALL_FAIL): Likewise.
43928 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43929 (CALL_FAIL): Macro removed.
43930 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43931
4c1a1f71
UD
439322011-09-15 Ulrich Drepper <drepper@gmail.com>
43933
43934 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43935 for __FINITE_MATH_ONLY__ == 1.
43936
edc121be
AS
439372011-09-15 Andreas Schwab <schwab@redhat.com>
43938
43939 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43940 __ieee754_sqrt instead of sqrt.
43941 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43942 __ieee754_sqrtf instead of sqrtf.
43943 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43944 __floorf instead of floorf.
43945 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43946 __floorf, __truncf instead of floorf, truncf.
43947
cd205654
UD
439482011-09-14 Ulrich Drepper <drepper@gmail.com>
43949
ee4d0315
UD
43950 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43951
cd205654
UD
43952 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43953 __extern_always_inline.
43954 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43955 32-bit.
43956
48b67d71
AS
439572011-09-14 Andreas Schwab <schwab@redhat.com>
43958
43959 * elf/rtld.c (dl_main): Also relocate in dependency order when
43960 doing symbol dependency testing.
43961
1ae12c75
AS
439622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43963
43964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43965 Always define `refsym'.
43966
995a80df
AS
439672011-09-13 Andreas Schwab <schwab@redhat.com>
43968
e529793b
AS
43969 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43970 (__FD_ELT): Renamed from __FDELT.
43971 * misc/bits/select2.h (__FD_ELT): Likewise.
43972 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43973 __FD_MASK instead of __FDELT, __FDMASK.
43974 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43975 Likewise.
43976 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43977 Likewise.
43978
52d4fef8
AS
43979 * elf/Makefile (gen-ldd): Fix pattern.
43980
995a80df
AS
43981 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43982 (init_tls): Likewise.
43983
8682f8b0
UD
439842011-09-12 Ulrich Drepper <drepper@gmail.com>
43985
43986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43987
de82006d
AS
439882011-09-12 Andreas Schwab <schwab@redhat.com>
43989
a7c8e6a1
AS
43990 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43991 `struct cmsghdr *' instead of `void *'.
43992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43993 Likewise.
43994
0f31fe77
AS
439952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43996
43997 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43998 if non-absolute.
43999 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44000 ldd_rewrite_script.
0f31fe77 44001
32b4c839
UD
440022011-09-11 Ulrich Drepper <drepper@gmail.com>
44003
83cd1420
UD
44004 * configure.in: Remove --with-tls option.
44005 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44006 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44007 out in case it is missing.
44008 * sysdeps/ia64/elf/configure.in: Likewise.
44009 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44010 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44011 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44012 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44013 * sysdeps/sh/elf/configure.in: Likewise.
44014 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44015 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44016 * sysdeps/x86_64/elf/configure.in: Likewise.
44017 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44018 * sysdeps/mach/hurd/tls.h: Likewise.
44019
633f745d
UD
44020 [BZ #13067]
44021 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44022
f318beb8
UD
44023 [BZ #13090]
44024 * configure.in: Fix use of AC_INIT.
44025
32b4c839
UD
44026 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44027
3ce1f295
UD
440282011-09-10 Ulrich Drepper <drepper@gmail.com>
44029
bb016596
UD
44030 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44031 __set_errno.
8e58439c
UD
44032 * malloc/hooks.c: Likewise.
44033
aebae053 44034 [BZ #11929]
02d46fc4
UD
44035 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44036 variables statically.
44037 (narenas): Initialize.
44038 (list_lock): Initialize.
bb016596
UD
44039 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44040 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44041 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44042 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44043 Add initializers to main_arena and mp_.
44044 (malloc_state): Remove pagesize member. Change all users to use
44045 GLRO(dl_pagesize).
44046
44047 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44048 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44049 is always initialized.
44050
22a89187
UD
44051 * malloc/malloc.c: Removed unused configurations and dead code.
44052 * malloc/arena.c: Likewise.
44053 * malloc/hooks.c: Likewise.
02d46fc4 44054 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44055
d063d164
UD
44056 * include/tls.h: Removed. USE___THREAD must always be defined.
44057 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44058 * elf/dl-libc.c: Likewise.
44059 * elf/dl-tsd.c: Likewise.
44060 * include/errno.h: Likewise.
44061 * include/netdb.h: Likewise.
44062 * include/resolv.h: Likewise.
44063 * inet/herrno-loc.c: Likewise.
44064 * inet/herrno.c: Likewise.
44065 * malloc/arena.c: Likewise.
44066 * malloc/hooks.c: Likewise.
44067 * malloc/malloc.c: Likewise.
44068 * resolv/res-state.c: Likewise.
44069 * resolv/res_libc.c: Likewise.
44070 * sysdeps/i386/dl-machine.h: Likewise.
44071 * sysdeps/ia64/dl-machine.h: Likewise.
44072 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44073 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44074 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44075 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44076 * sysdeps/sh/dl-machine.h: Likewise.
44077 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44078 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44079 * sysdeps/unix/i386/sysdep.S: Likewise.
44080 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44081 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44086 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44091 * sysdeps/x86_64/dl-machine.h: Likewise.
44092 * tls.make.c: Likewise.
44093
3ce1f295
UD
44094 * configure.in: Remove --with-__thread option. Make tests for
44095 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44096 tls_model attribute fail if no support is available. Remove
44097 USE_IN_LIBIO.
44098 * Makeconfig: Adjust for dropped configure option. All features are
44099 now mandatory.
44100 * Makerules: Likewise.
44101 * Versions.def: Likewise.
44102 * argp/argp-fmtstream.c: Likewise.
44103 * argp/argp-fmtstream.h: Likewise.
44104 * argp/argp-help.c: Likewise.
44105 * assert/assert.c: Likewise.
44106 * config.h.in: Likewise.
44107 * config.make.in: Likewise.
44108 * configure: Likewise.
44109 * configure.in: Likewise.
44110 * csu/Versions: Likewise.
44111 * csu/init.c: Likewise.
44112 * elf/tst-audit2.c: Likewise.
44113 * elf/tst-tls10.c: Likewise.
44114 * elf/tst-tls10.h: Likewise.
44115 * elf/tst-tls11.c: Likewise.
44116 * elf/tst-tls12.c: Likewise.
44117 * elf/tst-tls14.c: Likewise.
44118 * elf/tst-tlsmod11.c: Likewise.
44119 * elf/tst-tlsmod12.c: Likewise.
44120 * elf/tst-tlsmod13.c: Likewise.
44121 * elf/tst-tlsmod13a.c: Likewise.
44122 * elf/tst-tlsmod14a.c: Likewise.
44123 * elf/tst-tlsmod15b.c: Likewise.
44124 * elf/tst-tlsmod16a.c: Likewise.
44125 * elf/tst-tlsmod16b.c: Likewise.
44126 * elf/tst-tlsmod7.c: Likewise.
44127 * elf/tst-tlsmod8.c: Likewise.
44128 * elf/tst-tlsmod9.c: Likewise.
44129 * gmon/gmon.c: Likewise.
44130 * grp/fgetgrent_r.c: Likewise.
44131 * grp/putgrent.c: Likewise.
44132 * hurd/fopenport.c: Likewise.
44133 * include/libc-symbols.h: Likewise.
44134 * include/tls.h: Likewise.
44135 * intl/gettextP.h: Likewise.
44136 * intl/loadinfo.h: Likewise.
44137 * locale/global-locale.c: Likewise.
44138 * locale/localeinfo.h: Likewise.
44139 * mach/devstream.c: Likewise.
44140 * malloc/arena.c: Likewise.
44141 * malloc/set-freeres.c: Likewise.
44142 * misc/err.c: Likewise.
44143 * misc/getttyent.c: Likewise.
44144 * misc/mntent_r.c: Likewise.
44145 * posix/getopt.c: Likewise.
44146 * posix/wordexp.c: Likewise.
44147 * pwd/fgetpwent_r.c: Likewise.
44148 * resolv/Versions: Likewise.
44149 * resolv/res_hconf.c: Likewise.
44150 * shadow/fgetspent_r.c: Likewise.
44151 * shadow/putspent.c: Likewise.
44152 * stdio-common/printf_fphex.c: Likewise.
44153 * stdio-common/tmpfile.c: Likewise.
44154 * stdlib/abort.c: Likewise.
44155 * stdlib/fmtmsg.c: Likewise.
44156 * sunrpc/auth_unix.c: Likewise.
44157 * sunrpc/clnt_perr.c: Likewise.
44158 * sunrpc/clnt_tcp.c: Likewise.
44159 * sunrpc/clnt_udp.c: Likewise.
44160 * sunrpc/clnt_unix.c: Likewise.
44161 * sunrpc/openchild.c: Likewise.
44162 * sunrpc/svc_simple.c: Likewise.
44163 * sunrpc/svc_tcp.c: Likewise.
44164 * sunrpc/svc_udp.c: Likewise.
44165 * sunrpc/svc_unix.c: Likewise.
44166 * sunrpc/xdr.c: Likewise.
44167 * sunrpc/xdr_array.c: Likewise.
44168 * sunrpc/xdr_rec.c: Likewise.
44169 * sunrpc/xdr_ref.c: Likewise.
44170 * sunrpc/xdr_stdio.c: Likewise.
44171
1248c1c4
PB
441722011-09-09 Ulrich Drepper <drepper@gmail.com>
44173
44174 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44175
441762011-07-03 Andreas Jaeger <aj@suse.de>
44177
44178 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44179 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44180 regenerate with gen-libm-tests.pl.
44181
441822010-05-12 Petr Baudis <pasky@suse.cz>
44183
44184 [BZ #11589]
44185 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44186 around j0() zero points by switching to j1().
44187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44191
f22e1074
UD
441922011-09-09 Ulrich Drepper <drepper@gmail.com>
44193
f19009c1
UD
44194 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44195 instead of 0.
44196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44197 instead of 0.
f19009c1
UD
44198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44199 Patch in part by Pavel Roskin <proski@gnu.org>.
44200
3f8cc204
UD
44201 [BZ #13138]
44202 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44203 realloc.
44204 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44205 Free memory block if necessary.
44206
f22e1074
UD
44207 [BZ #12847]
44208 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44209 be NULL. Don't lock in this case.
44210
0a2349f9
RM
442112011-09-09 Roland McGrath <roland@hack.frob.com>
44212
44213 * elf/elf.h (ELFOSABI_GNU): New macro.
44214 (ELFOSABI_LINUX): Define to that.
44215
f3cdd467
DZ
442162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44217
44218 * string/strncat.c (strncat): Undef the symbol in case it has been
44219 defined in bits/string.h.
44220
74718d13
UD
442212011-09-09 Ulrich Drepper <drepper@gmail.com>
44222
633e9e0f
UD
44223 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44224
0a2349f9 44225 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44226 link map.
44227
f9924780
AJ
442282011-08-17 Andreas Jaeger <aj@suse.de>
44229
44230 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44231
7f5517aa
PP
442322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44233 Ian Lance Taylor <iant@google.com>
44234
44235 * math/libm-test.inc (lround_test): New testcase.
44236 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44237
762011fe
UD
442382011-09-08 Ulrich Drepper <drepper@gmail.com>
44239
92963737
UD
44240 * Makefile: Remove support for automatic cvs check-ins.
44241 * Makerules: Likewise.
44242 * config.make.in: Likewise.
44243 * configure.in: Likewise.
44244 * intl/Makefile: Likewise.
44245 * locale/Makefile: Likewise.
44246 * po/Makefile: Likewise.
44247 * posix/Makefile: Likewise.
44248 * sysdeps/gnu/Makefile: Likewise.
44249 * sysdeps/mach/hurd/Makefile: Likewise.
44250 * sysdeps/sparc/sparc32/Makefile: Likewise.
44251
b0727fd8
JS
44252 [BZ #13118]
44253 * posix/Makefile (bug-regex32-ENV): Define.
44254 Patch by John Stanley <jpsinthemix@verizon.net>.
44255
a0f33f99
UD
44256 * misc/Makefile (headers): Add bits/select2.h.
44257 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44258 * misc/bits/select2.h: New file.
44259 * include/bits/select2.h: New file.
44260 * debug/Makefile (routines): Add fdelt_chk.
44261 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44262 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44263 FD_ISSET.
44264 * debug/fdelt_chk.c: New file.
44265
762011fe
UD
44266 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44267 * wcsmbs/test-wmemcmp.c: Likewise.
44268 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44269 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44270
442712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44272
44273 * string/Makefile (strop-tests): Add memcmp.
44274 * string/test-wmemcmp.c: New file.
44275 * string/test-memcmp.c: Add wmemcmp support.
44276
7f513ec8
RM
442772011-09-08 Roland McGrath <roland@hack.frob.com>
44278
0442afb4
RM
44279 [BZ #13153]
44280 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44281 2011-07-19 change.
44282
7f513ec8
RM
44283 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44284 garbage value in a __mach_port_mod_refs call in the cases of the
44285 task-self and thread-self ports.
44286
a12b2239
ST
442872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44288
44289 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44290
610f9ab4
AS
442912011-09-08 Andreas Schwab <schwab@redhat.com>
44292
7f513ec8 44293 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44294
48882a1a
LD
442952011-09-07 Ulrich Drepper <drepper@gmail.com>
44296
b49865be
UD
44297 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44298
fdc86bc9
UD
44299 * elf/dl-libc.c (dlerror_run): Pass back error code from
44300 dl_catch_error.
44301
c966526a
UD
44302 [BZ #13123]
44303 * elf/dl-load.c (lose): Free l_origin if it is valid.
44304
48882a1a
LD
44305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44306 names.
44307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44312 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44313
77a2a8b4
AZ
443142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44315
44316 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44317 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44319 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44320 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44321 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44322 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44323 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44324 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44325 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44326
24f579d8
AM
443272011-08-15 Alan Modra <amodra@gmail.com>
44328
44329 [BZ #13092]
44330 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44331 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44332 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44333 ppc_mcount to static-only-routines.
44334 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44335 __mcount_internal.
44336 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44337 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44338
3d4837df
UD
443392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44340
44341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44342 for finite and infinity parameters.
44343
22700377
WS
443442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44345
44346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44347 and add nop instructions for throughput optimization.
44348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44349
5025581e
WS
443502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44351
44352 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44353 aligned copy for power7 with vector-scalar instructions.
44354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44355
08a300c9
L
443562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44357
44358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44359 AVX check.
44360
59178ef9
AS
443612011-09-07 Andreas Schwab <schwab@redhat.com>
44362
44363 [BZ #13144]
44364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44365 last change.
44366
e38ba7ab
UD
443672011-09-07 Ulrich Drepper <drepper@gmail.com>
44368
44369 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44370 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44371 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44372 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44373 clock_gettime.
44374
d53a73ac
UD
443752011-09-06 Ulrich Drepper <drepper@gmail.com>
44376
fc8bffcc
UD
44377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44378 Forgot to demangle the pointer.
44379
ceaa0c5d
UD
44380 * sysdeps/i386/sysdep.h: Define atom_text_section.
44381 * sysdeps/x86_64/sysdep.h: Likewise.
44382 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44383 section with atom_text_section.
44384 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44386 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44389
a77d3c17
UD
44390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44392 already be defined. Change to take two parameters and don't assign
44393 result to variable. Adjust all users.
44394 Define INTERNAL_GETTIME if not already defined.
44395 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44396 call.
44397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44398 HAVE_CLOCK_GETTIME_VSYSCALL.
44399 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44400
d53a73ac
UD
44401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44402 gettimeofday vsyscall, just use time.
44403
a8f84144
AS
444042011-09-06 Andreas Schwab <schwab@redhat.com>
44405
44406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44407 <errno.h>.
44408
ef606249
UD
444092011-09-06 Ulrich Drepper <drepper@gmail.com>
44410
44411 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44412 syscall on x86-64.
44413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44414 syscall.
44415 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44417 syscall if possible.
44418
6585cb60
UD
444192011-09-05 Ulrich Drepper <drepper@gmail.com>
44420
44421 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44422 e_ident. Don't pass to find_mapsXX.
44423 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44424
a5f524e4
LD
444252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44426
44427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44428 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44429 * sysdeps/x86_64/multiarch/strchr.S: Update.
44430 Check bit_slow_BSF bit.
44431 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44433 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44434
554881ef
UD
444352011-09-05 Ulrich Drepper <drepper@gmail.com>
44436
d96de963
UD
44437 [BZ #13134]
44438 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44439 before glibc 2.15.
44440 (tryshell): Define.
44441 (__spawni): Change last parameter to be flag. Test
44442 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44443 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44444 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44445 * posix/spawni.c: Likewise.
44446 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44447 * posix/spawnp.c: Likewise. Change normal version to use
44448 SPAWN_XFLAGS_USE_PATH.
44449 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44450 SPAWN_XFLAGS_TRY_SHELL.
44451
d48e5868
UD
44452 [BZ #13150]
44453 * posix/glob.h: Remove gcc 1.x support.
44454
554881ef
UD
44455 [BZ #13068]
44456 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44457
693fb948
LD
444582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44459
44460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44461 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44462 strrchr-sse2-bsf
44463 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44464 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44465 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44467 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44468 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44469
1b48c537
UD
444702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44471
49d42c37
UD
44472 * sysdeps/x86_64/wcscmp.S: New file.
44473
1b48c537
UD
44474 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44475 wcscmp-c wcscmp-sse2
44476 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44477 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44478 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44479 * wcsmbs/wcscmp.c: Allow renaming.
44480
15c95c5d
DM
444812011-09-05 David S. Miller <davem@davemloft.net>
44482
44483 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44484 stack slot, rather than the struct return pointer slot.
44485 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44486 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44489
2f0ad8f3
UD
444902011-09-05 Ulrich Drepper <drepper@gmail.com>
44491
d88ae418
UD
44492 * po/ja.po: Update from translation team.
44493
2f0ad8f3
UD
44494 [BZ #13144]
44495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44496 kernel in 64-bit binaries.
44497
5f4318d1
DM
444982011-09-01 David S. Miller <davem@davemloft.net>
44499
44500 * elf/elf.h (HWCAP_SPARC_*): Move to..
44501 * sysdeps/sparc/sysdep.h: this new file and add new values.
44502 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44503 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44504 _DL_HWCAP_COUNT to 24.
44505 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44506 entries.
44507 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44508 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44509 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44511 instead of magic constants.
44512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44513
3ba57516
DM
445142011-08-31 David S. Miller <davem@davemloft.net>
44515
44516 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44518 Reimplement to do errno handling inline.
44519 (SYSCALL_ERROR_HANDLER): New macro.
44520 (__SYSCALL_STRING): Do not do errno handling in asm.
44521 (__CLONE_SYSCALL_STRING): Delete.
44522 (__INTERNAL_SYSCALL_STRING): Delete.
44523 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44524 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44525 (PSEUDO): Reimplement to do errno handling inline.
44526 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44527 (SYSCALL_ERROR_HANDLER): New macro.
44528 (__SYSCALL_STRING): Do not do errno handling in asm.
44529 (__CLONE_SYSCALL_STRING): Delete.
44530 (__INTERNAL_SYSCALL_STRING): Delete.
44531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44532 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44533 i386.
44534 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44535 (inline_syscall*): Add 'err' argument.
44536 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44537 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44538 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44539 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44540
44541 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44542 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44543
2bc17433
AS
445442011-08-30 Andreas Schwab <schwab@redhat.com>
44545
44546 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44547
fbeb5f4d
JO
445482011-08-29 Jiri Olsa <jolsa@redhat.com>
44549
44550 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44551 directive.
44552
ad69cc26
DM
445532011-08-24 David S. Miller <davem@davemloft.net>
44554
44555 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44556
39dd69df
AS
445572011-08-24 Andreas Schwab <schwab@redhat.com>
44558
44559 * elf/Makefile: Add rules to build and run unload8 test.
44560 * elf/unload8.c: New file.
44561 * elf/unload8mod1.c: New file.
44562 * elf/unload8mod1x.c: New file.
44563 * elf/unload8mod2.c: New file.
44564 * elf/unload8mod3.c: New file.
44565
44566 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44567 it wasn't used.
44568
2c0b250a
DM
445692011-08-23 David S. Miller <davem@davemloft.net>
44570
44571 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44572 subtract stack bias.
44573 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44574 %sp not %fp in calculations.
44575 (_JMPBUF_UNWINDS_ADJ): Likewise.
44576
22044b48
DM
44577 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44578 (aio_suspend): Call it to force an exception region around the
44579 AIO_MISC_WAIT() invocation.
44580
2cae4995
AS
445812011-08-23 Andreas Schwab <schwab@redhat.com>
44582
44583 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44584 backslash.
44585
873a772e
AJ
445862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44587
44588 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44589 protection macro.
44590 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44591 and <dl-machine.h>.
44592 (Elf64_FuncDesc): Remove.
44593
25ad0df1
DM
445942011-08-22 David S. Miller <davem@davemloft.net>
44595
44596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44597 sigaltstack check, add missing cfi directives.
44598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44599 missing cfi directives, and sigaltstack handling.
44600
e888bcbe
AS
446012011-08-16 Andreas Schwab <schwab@redhat.com>
44602
44603 [BZ #11724]
44604 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44605 object is seen twice.
44606 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44607
44608 * elf/Makefile (distribute): Add tst-initorder2.c.
44609 (tests): Add tst-initorder2.
44610 (modules-names): Add tst-initorder2a tst-initorder2b
44611 tst-initorder2c tst-initorder2d. Add rules to build them.
44612 ($(objpfx)tst-initorder2.out): New rule.
44613 * elf/tst-initorder2.c: New file.
44614 * elf/tst-initorder2.exp: New file.
44615
87162f46
AS
446162011-08-22 Andreas Schwab <schwab@redhat.com>
44617
70538b7f
AS
44618 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44619
f55ffe58
AS
44620 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44621 dependencies back to end of function.
44622
87162f46
AS
44623 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44624 $(elfobjdir)/ld.so.
44625
91b392a4
UD
446262011-08-21 Ulrich Drepper <drepper@gmail.com>
44627
44628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44629 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44631 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44632 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44633 of __vdso_gettimeofday.
44634 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44635 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44636 attribute_hidden.
44637 (_libc_vdso_platform_setup): Remove initialization of
44638 __vdso_gettimeofday and __vdso_time.
44639
5c43483f
UD
446402011-08-20 Ulrich Drepper <drepper@gmail.com>
44641
775a77e7
UD
44642 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44643 and fgetc_unlocked.
44644 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44645 getc_unlocked.
89f447ed 44646
49c74ba9
UD
44647 * elf/dl-open.c (add_to_global): Report additions to the global scope
44648 for LD_DEBUG=scopes.
44649 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44650 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44651
5c43483f
UD
44652 [BZ #13114]
44653 * stdio-common/Makefile (tests): Add bug24.
44654 * stdio-common/bug24.c: New file.
44655
a101b025
AJ
446562011-08-19 Andreas Jaeger <aj@suse.de>
44657
44658 [BZ #13114]
44659 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44660 non-existant file when using close-on-exec mode.
44661
c88f1766
UD
446622011-08-20 Ulrich Drepper <drepper@gmail.com>
44663
0276a718
UD
44664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44665 the very first instruction.
44666
c88f1766
UD
44667 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44668 the CFI state in the end.
44669 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44670 inclusion of dl-trampoline.h.
44671 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44672
51ccffa0
AS
446732011-08-19 Andreas Schwab <schwab@redhat.com>
44674
94d7165f
AS
44675 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44676 expectations for long double.
44677
51ccffa0
AS
44678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44679 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44680
fd708658 446812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44682
44683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44684 artificual limit depends upon the system page size.
44685
44f0a71e
UD
446862011-08-17 Ulrich Drepper <drepper@gmail.com>
44687
44688 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44689 * resolv/Makefile: Define CFLAGS-libresolv.
44690
8de79a24
AS
446912011-08-17 Andreas Schwab <schwab@redhat.com>
44692
44693 * nss/makedb.c (compute_tables): Make variables used in nested
44694 function static.
44695
27724598
UD
446962011-08-17 Ulrich Drepper <drepper@gmail.com>
44697
c5305d88
UD
44698 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44699 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44700 if buffer was too small.
44701
27724598
UD
44702 * elf/pldd.c (main): Attach to all threads in the process.
44703 Rewrite /proc handling to use *at functions.
44704
076fe015
UD
447052011-08-16 Ulrich Drepper <drepper@gmail.com>
44706
174baab3
UD
44707 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44708 specifies first scope to show.
44709 (dl_open_worker): Update callers. Move printing scope of new
44710 object to before the relocation.
44f0a71e 44711 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44712 * sysdeps/generic/ldsodefs.h: Update declaration.
44713
076fe015
UD
44714 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44715 string for the scope number.
44716
a60df2c3
UD
447172011-08-14 Ulrich Drepper <drepper@gmail.com>
44718
44719 * nscd/servicescache.c (cache_addserv): Make sure written is always
44720 initialized.
44721
5e4287d1
RM
447222011-08-14 Roland McGrath <roland@hack.frob.com>
44723
85ae0589
RM
44724 * sysdeps/i386/i486/bits/atomic.h
44725 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44726 statement expression, so as to suppress "set but not used" warning.
44727 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44728
69f63097
RM
44729 * string/strncat.c (STRNCAT): Use prototype definition.
44730
675456ef
RM
44731 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44732 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44733 -Iprograms here.
44734 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44735 (localedef-modules): Add localedef.
44736 (locale-modules): Add locale.
44737
5e4287d1
RM
44738 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44739 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44740 to avoid a warning.
44741
9c96ff23
DM
447422011-08-14 David S. Miller <davem@davemloft.net>
44743
44744 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44745 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44746
f9ddf089
UD
447472011-08-13 Ulrich Drepper <drepper@gmail.com>
44748
44f0a71e 44749 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44750 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44751 * elf/rtld.c (dl_main): Set l_name of vDSO.
44752 Call _dl_show_scope when DL_DEBUG_SCOPES.
44753 (process_dl_debug): Recognize scopes flag and also set it for all.
44754 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44755 Declare _dl_show_scope.
44756
1dc27704
UD
44757 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44758 (do_dlopen): Pass caller_dlopen to dl_open.
44759 (__libc_dlopen_mode): Initialize caller_dlopen.
44760
f9ddf089
UD
44761 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44762 of libc. Make tolower call locale-independent. Optimize a bit by
44763 using isdigit instead of isalnum.
44764 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44765
9ac533d3
UD
447662011-08-12 Ulrich Drepper <drepper@gmail.com>
44767
44768 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44769 was a dependency or dynamically loaded.
44770
89edf2e9
UD
447712011-08-11 Ulrich Drepper <drepper@gmail.com>
44772
8e999d29
UD
44773 * intl/l10nflist.c: Allow architecture-specific pop function.
44774 * sysdeps/x86_64/l10nflist.c: New file.
44775
89edf2e9
UD
44776 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44777 classification.
44778
14d96785
AS
447792011-08-10 Andreas Schwab <schwab@redhat.com>
44780
44781 * include/dirent.h: Add libc_hidden_proto for scandirat and
44782 scandirat64. Don't declare __scandirat64.
44783 * dirent/scandirat.c: Add libc_hidden_def.
44784 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44785 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44786
6761ac04
DM
447872011-08-10 David S. Miller <davem@davemloft.net>
44788
44789 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44790 enum.
44791 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44794
c55fbd1e
UD
447952011-08-09 Ulrich Drepper <drepper@gmail.com>
44796
44797 * Versions.def [libc]: Add GLIBC_2.15.
44798 * dirent/Makefile (routines): Add scandirat and scandirat64.
44799 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44800 GLIBC_2.15.
44801 * dirent/dirent.h: Declare scandirat and scandirat64.
44802 * dirent/scandirat.c: New file.
44803 * dirent/scandirat64.c: New file.
44804 * sysdeps/wordsize-64/scandirat.c: New file.
44805 * sysdeps/wordsize-64/scandirat64.c: New file.
44806 * dirent/opendir.c: Define opendirat.
44807 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44808 using scandirat.
44809 * dirent/scandir64.c: Adjust for scandir.c change.
44810 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44811 __scandirat64, and __scandir_cancel_handler.
44812 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44813 additional parameter and use openat instead of open (outside of ld.so).
44814 Add new __opendir as wrapper around __opendirat.
44815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44816 here without requiring old scandirat implementation.
44817
879165f2
UD
448182011-08-08 Ulrich Drepper <drepper@gmail.com>
44819
44820 * dirent/scandir.c (cancel_handler): Renamed to
44821 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44822 defined. Adjust users.
44823 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44825
cb7e923b
UD
448262011-08-04 Ulrich Drepper <drepper@gmail.com>
44827
16292edd
UD
44828 * string/test-string.h (IMPL): Use __STRING to expand name and then
44829 stringify it.
44830
cb7e923b
UD
44831 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44832 of cleanups.
44833
cff82933
LD
448342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44835
44836 * string/Makefile: Update.
44837 (strop-tests): Append strncat.
44838 * string/test-wcscmp.c: New file.
44839 New comprehensive test for wcscmp.
44840 * string/test-strcmp.c: Update.
44841 (WIDE): New define.
44842
9be9bfcc
AS
448432011-07-22 Andreas Schwab <schwab@redhat.com>
44844
44845 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44846 line.
44847
2e96f1c7
AS
448482011-07-26 Andreas Schwab <schwab@redhat.com>
44849
44850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44851 encoding to ACE if AI_IDN.
44852
85188888
JJ
448532011-08-01 Jakub Jelinek <jakub@redhat.com>
44854
44855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44856 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44857
5fa16e9b
LD
448582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44859
44860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44861 Fix overflow bug in strncat.
44862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44863
44864 * string/test-strncat.c: Update.
44865 Add new tests for checking overflow bugs.
44866
448672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44868
44869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44870 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44871 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44872 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44874 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44875 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44876 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44877 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44878
44879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44880 (USE_AS_STRCAT): Define.
44881 Add strcat and strncat support.
44882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44883
8c1a459f
AS
448842011-07-25 Andreas Schwab <schwab@redhat.com>
44885
44886 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44887 __n bigger than INT_MAX+1.
44888 (__strncmp_g): Likewise.
44889
bba33c28
UD
448902011-07-23 Ulrich Drepper <drepper@gmail.com>
44891
798be72d
UD
44892 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44893 * libio/stido.h: Likewise.
44894
8accd4dc
UD
44895 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44896 (AF_NFC): Define.
44897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44898 (AF_NFC): Define.
44899
cbff0d96
UD
44900 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44903 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44905
9191c04a
UD
44906 [BZ #13021]
44907 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44908 installed.
44909
bba33c28
UD
44910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44911 typo.
44912 (_dl_x86_64_save_sse): Likewise.
44913
90f139dd
UD
449142011-07-22 Ulrich Drepper <drepper@gmail.com>
44915
1aae088a
UD
44916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44917 OSXSAVE.
44918 (_dl_x86_64_save_sse): Likewise.
44919
8e2045f5
UD
44920 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44921
90f139dd
UD
44922 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44923
1d002f25
AS
449242011-07-21 Andreas Schwab <schwab@redhat.com>
44925
44926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44927 change.
44928 (_dl_x86_64_save_sse): Use correct AVX check.
44929
21137f89
UD
449302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44931
44932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44933 bug in strncpy/strncat.
44934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44935
a65c0b7a
UD
449362011-07-21 Ulrich Drepper <drepper@gmail.com>
44937
44938 * string/tester.c (test_strcat): Add tests for different alignments
44939 of source and destination.
44940 (test_strncat): Likewise.
44941
6986b98a
UD
449422011-07-20 Ulrich Drepper <drepper@gmail.com>
44943
90bb2039
UD
44944 [BZ #12852]
44945 * posix/glob.c (glob): Check passed in values before using them in
44946 expressions to avoid some overflows.
44947 (glob_in_dir): Likewise.
44948
5644ef54
UD
44949 [BZ #13007]
44950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44951 check for AVX enablement so that we don't crash with old kernels and
44952 new hardware.
44953 * elf/tst-audit4.c: Add same checks here.
44954 * elf/tst-audit6.c: Likewise.
44955
44956 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44957
bfc9dc9b
AS
449582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44959
44960 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44961
702e64bb
UD
449622011-07-20 Ulrich Drepper <drepper@gmail.com>
44963
44964 * po/cs.po: Update from translation team.
44965 * po/bg.po: Likewise.
44966
295e904f
MP
449672011-07-12 Marek Polacek <mpolacek@redhat.com>
44968
44969 * misc/sys/cdefs.h: Add support for const attribute.
44970 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44971 to gnu_dev_{major,minor,makedev} functions.
44972
3ff94596
MP
449732011-07-20 Marek Polacek <mpolacek@redhat.com>
44974
44975 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44976
28b59fca
AS
449772011-07-20 Andreas Schwab <schwab@redhat.com>
44978
44979 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44980 strlen results.
44981
19df733e
AK
449822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44983
44984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44985 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44986 register in order to avoid conflicts with the soft frame pointer
44987 being held in r11 when necessary.
44988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44989 (INTERNAL_VSYSCALL_NCS): Likewise.
44990
c8835729
MP
449912011-07-14 Marek Polacek <mpolacek@redhat.com>
44992
44993 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44994 * elf/dl-fini.c (_dl_fini): Adjust caller.
44995 * elf/dl-close.c (_dl_close_worker): Likewise.
44996 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44997
b902330c
MP
449982011-07-15 Marek Polacek <mpolacek@redhat.com>
44999
8991e135
MP
45000 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45001 "aux_cache->nlibs < 0".
45002
b902330c
MP
45003 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45004 in the reload-count case.
45005
99710781
LD
450062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45007
45008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45009 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45010 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45012 * sysdeps/x86_64/multiarch/strcat.S: New file.
45013 * sysdeps/x86_64/multiarch/strncat.S: New file.
45014 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45016 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45017 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45019 (USE_AS_STRCAT): Define.
45020 Add strcat and strncat support.
45021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45022 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45023 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45024 * string/strncat.c: Update.
45025 (USE_AS_STRNCAT): Define.
45026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45027 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45028 and i7.
45029 * sysdeps/x86_64/multiarch/init-arch.h
45030 (bit_Prefer_PMINUB_for_stringop): New.
45031 (index_Prefer_PMINUB_for_stringop): Likewise.
45032 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45033 bit_Prefer_PMINUB_for_stringop.
45034
7dc6bd90
UD
450352011-07-19 Ulrich Drepper <drepper@gmail.com>
45036
45037 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45038 buffer64.
45039 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45040 of casting of buffer.
45041 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45042 buffer32 and buffer64.
45043 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45044 writes instead of casting of buffer.
45045 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45046 buffer32.
45047 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45048 casting of buffer.
45049
e0e72284
AS
450502011-07-19 Andreas Schwab <schwab@redhat.com>
45051
45052 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45053
feb1eb0b
UD
450542011-07-19 Ulrich Drepper <drepper@gmail.com>
45055
45056 * nscd/nscd.c (termination_handler): Don't do anything for a database
45057 if it has not yet been initialized.
45058
298711ff
UD
450592011-07-18 Ulrich Drepper <drepper@gmail.com>
45060
45061 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45062
450632011-07-15 Marek Polacek <mpolacek@redhat.com>
45064
45065 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45066
f9d68389
UD
450672011-07-18 Ulrich Drepper <drepper@gmail.com>
45068
45069 * po/nl.po: Update from translation team.
45070 * po/sv.po: Likewise.
45071
db290cf5
RM
450722011-07-16 Roland McGrath <roland@hack.frob.com>
45073
45074 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45075 now disallowed by GCC.
5c550700 45076
fd5e21c7
RM
45077 * configure.in (use-default-link): Default to yes if a test -shared
45078 link meets our qualifications.
45079 * configure: Regenerated.
45080
5c550700
RM
45081 * config.make.in (output-format): New variable.
45082 * configure.in: Check for ld --print-output-format support.
45083 * configure: Regenerated.
45084 * Makerules ($(common-objpfx)format.lds)
45085 [$(output-format) != unknown]: Just use $(output-format),
45086 instead of the linker-script munging.
45087
9fa2c032
RM
450882011-07-14 Roland McGrath <roland@hack.frob.com>
45089
a6928d51
RM
45090 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45091 of $(common-objpfx)shlib.lds.
45092 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45093
661607b3
RM
45094 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45095 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45096
9fa2c032
RM
45097 * configure.in (-z relro check): Adjust test code to add a large
45098 writable data section after it.
45099 * configure: Regenerated.
45100
defe9061
RM
451012011-07-11 Roland McGrath <roland@hack.frob.com>
45102
45103 * configure.in (-z relro check): Fix test code to make the variable
45104 truly const.
45105 * configure: Regenerated.
45106
319b9ad4
UD
451072011-07-11 Ulrich Drepper <drepper@gmail.com>
45108
45109 * nscd/nscd.h (struct traced_file): Define.
45110 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45111 elements. Add traced_files.
45112 (inotify_fd): Declare.
45113 (register_traced_file): Declare.
45114 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45115 (inotify_fd): Export.
45116 (resolv_conf_descr): Remove.
45117 (nscd_init): Move inotify descriptor creation to main.
45118 Don't register files for notification here.
45119 (register_traced_file): New function.
45120 (invalidate_cache): Don't use reset_res to determine whether to call
45121 res_init, go through the list of registered files.
45122 (main_loop_poll): The inotify descriptors are now stored in the
45123 structures for the traced files.
45124 (main_loop_epoll): Likewise
45125 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45126 to __nss_disable_nscd.
45127 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45128 for a database anymore. Check the records for all the registered
45129 files instead.
45130 * nss/Makefile (libnss_files-routines): Add files-init.
45131 (libnss_db-routines): Add db-init.
45132 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45133 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45134 * nss/nss_db/db-init.c: New file.
45135 * nss/nss_files/files-init.c: New file.
45136 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45137 __nss_lookup_function.
45138 (__nss_lookup_function): Call nss_load_library.
45139 (nss_load_all_libraries): New function.
45140 (__nss_disable_nscd): Take parameter with callback function for files
45141 to register. Set is_nscd. Load all the DSOs for the NSS modules
45142 used for the cached services.
45143 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45144 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45145 options for features to all the files in nscd.
45146
45147 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45148
23bee3e8
RM
451492011-07-10 Roland McGrath <roland@hack.frob.com>
45150
45151 * csu/elf-init.c (__libc_csu_init): Comment typo.
45152
46a5b7f0
UD
451532011-07-09 Ulrich Drepper <drepper@gmail.com>
45154
45155 * po/pl.po: Update from translation team.
45156 * po/ja.po: Likewise.
45157 * po/ru.po: Likewise.
45158 * po/ko.po: Likewise.
45159 * po/fr.po: Likewise.
45160
d30cf5bb
RM
451612011-07-09 Roland McGrath <roland@hack.frob.com>
45162
113ddea4
RM
45163 * configure.in (.ctors/.dtors header and trailer check):
45164 Use an empirical test on a built program.
45165 * configure: Regenerated.
45166
574920b4
RM
45167 * configure.in (-z relro check): Use an empirical test on a built DSO.
45168 Detect, but do not require, on ia64.
45169 * configure: Regenerated.
45170
d30cf5bb
RM
45171 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45172 Update tests that use readelf to use $READELF instead.
45173 * configure: Regenerated.
45174
8538fdb3
UD
451752011-07-08 Ulrich Drepper <drepper@gmail.com>
45176
45177 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45178 if the result is not used.
45179
04d08991
AJ
451802011-07-05 Andreas Jaeger <aj@suse.de>
45181
45182 [BZ#9696]
45183 * stdlib/tst-strtod.c: Add testcase.
45184
de283087
AD
451852011-07-07 Ulrich Drepper <drepper@gmail.com>
45186
4e5f31c8 45187 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45188 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45189 The latter has a higher limit. Take additional parameter to pass to
45190 the new function.
45191 (__pathconf): Pass file to __statfs_link_max.
45192 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45193 __statfs_link_max.
45194 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45195 __statfs_link_max.
45196
de283087
AD
45197 [BZ #12868]
45198 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45199 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45200 Handle Lustre.
45201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45202 (__statfs_filesize_max): Likewise.
45203 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45204
c75fa153
AJ
452052011-07-05 Andreas Jaeger <aj@suse.de>
45206
45207 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45208
1a544854
UD
452092011-07-06 Marek Polacek <mpolacek@redhat.com>
45210
45211 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45212 `status' variable.
45213 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45214 Likewise.
45215
6f0eec67
UD
452162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45217
45218 * Makefile (strop-tests): Add strncat.
45219 * string/test-strncat.c: New file.
45220
aae30307
UD
452212011-06-30 Marek Polacek <mpolacek@redhat.com>
45222
45223 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45224
c0cfb5eb
UD
452252011-06-21 Andreas Jaeger <aj@suse.de>
45226
45227 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45228 Copy rule from iconvdata/Makefile.
45229
01636b21
UD
452302011-07-06 Ulrich Drepper <drepper@gmail.com>
45231
45232 [BZ #12922]
45233 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45234 but no long options are defined, just return 'W'.
45235
9895c8bc
UD
452362011-06-22 Marek Polacek <mpolacek@redhat.com>
45237
45238 [BZ #9696]
45239 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45240
5d4cf042
UD
452412011-07-06 Ulrich Drepper <drepper@gmail.com>
45242
45243 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45244 netgroups to read.
960e5535 45245 (innetgr): Likewise.
5d4cf042 45246
751eb97e
RM
452472011-07-05 Roland McGrath <roland@hack.frob.com>
45248
45249 * config.make.in (install_root): Default to $(DESTDIR).
45250
f15f1e45
UD
452512011-07-05 Ulrich Drepper <drepper@gmail.com>
45252
45253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45254
4e34ac6a
RM
452552011-07-02 Roland McGrath <roland@hack.frob.com>
45256
5e9b6af4
RM
45257 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45258
84f9ea0f
RM
45259 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45260 containing directory rather than embedding absolute directory names.
45261
ea5ee9f7
RM
45262 * scripts/check-local-headers.sh: Rewritten using awk.
45263 Match by word, not by line. Print error messages for matches.
45264 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45265
1b74661a
RM
45266 * Makerules [shlib-lds-flags empty]:
45267 ($(common-objpfx)libc_pic.opts): New target.
45268 ($(common-objpfx)libc_pic.os.clean): New target.
45269 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45270
45271 * config.make.in (OBJCOPY): New variable.
45272 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45273 * configure: Regenerated.
45274
f781ef40
RM
45275 * config.make.in (use-default-link): New variable.
45276 * configure.in (use_default_link): Grok --with-default-link to set it.
45277 * configure: Regenerated.
45278 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45279 (shlib-lds, shlib-lds-flags): Define to empty.
45280
2d4fa81e
RM
45281 * Makerules (shlib-lds): New variable.
45282 (shlib-lds-flags): New variable.
45283 (build-shlib, build-moduile, build-module-asneeded): Use it.
45284 ($(common-objpfx)libc.so): Use $(shlib-lds).
45285 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45286 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45287
31fffa6b
RM
45288 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45289 DT_FLAGS/DT_FLAGS_1 with zero flags.
45290
4e34ac6a
RM
45291 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45292 linker script munging.
45293
fcfc776b
UD
452942011-07-02 Ulrich Drepper <drepper@gmail.com>
45295
45296 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45297 as 128-bit value.
45298 * crypt/sha512.c (sha512_process_block): Perform total addition using
45299 128-bit if possible.
45300 (__sha512_finish_ctx): Likewise.
45301 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45302 as 64-bit value.
45303 * crypt/sha256.c (SWAP64): Define.
45304 (sha256_process_block): Perform total addition using 64-bit if
45305 possible.
45306 (__sha256_finish_ctx): Likewise.
45307
99231d9a
UD
453082011-07-01 Ulrich Drepper <drepper@gmail.com>
45309
45310 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45312 * nscd/hstcache.c (cache_addhst): Likewise.
45313 * nscd/grpcache.c (cache_addgr): Likewise.
45314 * nscd/aicache.c (addhstaiX): Likewise
45315 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45316
445b4a53
TK
453172011-07-01 Thorsten Kukuk <kukuk@suse.de>
45318
45319 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45321 * nscd/hstcache.c (cache_addhst): Likewise.
45322 * nscd/grpcache.c (cache_addgr): Likewise.
45323 * nscd/aicache.c (addhstaiX): Likewise
45324
6d4d8e8e
AS
453252011-07-01 Andreas Schwab <schwab@redhat.com>
45326
45327 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45328 domain only when needed.
45329
89f654c5
AS
453302011-06-30 Andreas Schwab <schwab@redhat.com>
45331
45332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45333 is always restored.
45334
cf3b23ff
UD
453352011-06-29 Ulrich Drepper <drepper@gmail.com>
45336
45337 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45338 are re-adding the entry.
45339 * nscd/servicescache.c (cache_addserv): Likewise.
45340
751626f9
AJ
453412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45342
45343 * sysdeps/generic/dl-irel.h: fix protection against multiple
45344 inclusions.
45345 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45346
9113ea1f
UD
453472011-06-28 Ulrich Drepper <drepper@gmail.com>
45348
5c0b8d90
UD
45349 [BZ #12935]
45350 * malloc/memusage.sh: Fix quoting in message.
45351 * debug/xtrace.sh: Likewise.
45352
9113ea1f
UD
45353 * configure.in: Remove support for --experimental-malloc option, make
45354 it the default.
45355 * config.make.in: Likewise.
45356 * malloc/Makefile: Likewise.
45357
a4172181
AS
453582011-06-27 Andreas Schwab <schwab@redhat.com>
45359
45360 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45361 two-byte characters.
45362
78a7eee7
RM
453632011-06-27 Roland McGrath <roland@hack.frob.com>
45364
62bede13
RM
45365 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45366 AC_CACHE_CHECK invocation.
45367 * configure: Regenerated.
45368
78a7eee7
RM
45369 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45370
5ce33a62
UD
453712011-06-27 Ulrich Drepper <drepper@gmail.com>
45372
034807a9
UD
45373 [BZ #12350]
45374 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45375 bit from old_res_options.
45376
4902da17
UD
45377 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45378
5ce33a62
UD
45379 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45380 value type for setfct.
45381
c2344f56
L
453822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45383
45384 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45385 __gettimeofday instead of gettimeofday.
45386
68468076
UD
453872011-06-26 Ulrich Drepper <drepper@gmail.com>
45388
45389 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45390
acb0d739
L
453912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45392
45393 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45394
45395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45396 info.
45397
8912479f
L
453982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45399
45400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45401 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45402 strcpy-sse2-unaligned strncpy-sse2-unaligned
45403 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45404 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45405 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45406 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45407 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45410 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45411 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45412 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45413 (STRCPY): Support SSE2 and SSSE3 versions.
45414
d5495a11
UD
454152011-06-24 Ulrich Drepper <drepper@gmail.com>
45416
45417 [BZ #12874]
45418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45419 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45420 kernels which artificially limit size of requests.
45421
0b1cbaae
L
454222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45423
45424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45425 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45426 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45427 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45428 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45429 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45430 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45431 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45434 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45435 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45436 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45437 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45438 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45440 Enable unaligned load optimization for Intel Core i3, i5 and i7
45441 processors.
45442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45443 Define.
45444 (index_Fast_Unaligned_Load): Define.
45445 (HAS_FAST_UNALIGNED_LOAD): Define.
45446
07f494a0
MP
454472011-06-23 Marek Polacek <mpolacek@redhat.com>
45448
45449 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45450
fa3fc0fe
UD
454512011-06-22 Ulrich Drepper <drepper@gmail.com>
45452
45453 [BZ #12907]
45454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45455 until it is clear that the information is realy needed.
45456 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45457
e12df166
AS
454582011-06-22 Andreas Schwab <schwab@redhat.com>
45459
45460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45461
852eb34d
UD
454622011-06-22 Ulrich Drepper <drepper@gmail.com>
45463
84e2a551
UD
45464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45465 /sys/devices/system/cpu/online if it is usable.
45466
852eb34d
UD
45467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45468 reading the information from the /proc filesystem to once a second.
45469
6e502e19
UD
454702011-06-21 Andreas Jaeger <aj@suse.de>
45471
45472 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45473 NULL after inclusion of kernel headers.
45474
75d39ff2
UD
454752011-06-21 Ulrich Drepper <drepper@gmail.com>
45476
51f9aa6a
UD
45477 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45478 calls to internal_setent.
45479
c0244a9d
UD
45480 [BZ #12885]
45481 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45482 addresses using gethostbyname4_r ignore IPv4 addresses.
45483
c5e3c2ae
UD
45484 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45485 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45486
75d39ff2
UD
45487 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45488
42675c6f
DM
454892011-06-20 David S. Miller <davem@davemloft.net>
45490
45491 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45492 inclusions.
45493 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45494
45495 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45496 (elf_irel): Use it.
45497 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45498 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45499 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45500 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45501 * sysdeps/x86_64/dl-irel.h: Likewise.
45502
45503 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45504 * elf/dl-sym.c: Likewise.
45505
57912a71
UD
455062011-06-15 Ulrich Drepper <drepper@gmail.com>
45507
45508 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45509 need to dereference resplen2.
45510
ee22793d
AS
455112011-06-14 Andreas Schwab <schwab@redhat.com>
45512
45513 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45514
a9e836b0
UD
455152011-06-15 Ulrich Drepper <drepper@gmail.com>
45516
77fb9117
UD
45517 * Makeconfig: Define vardbdir and inst_vardbdir.
45518 * nss/Makefile: Add rules to install db-Makefile.
45519
40c1b22c
UD
45520 * nss/nss_db/db-XXX.c: Cleanup.
45521
9f2da732
UD
45522 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45523 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45524 GLIBC_PRIVATE.
45525 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45526 * nss/makedb.c: Implement -g option to specify that value strings
45527 are generated and should not be added to table iterated over for
45528 get*ent calls.
45529 * nss/nss_db/db-initgroups.c: New file.
45530
82e9a1f7
UD
45531 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45532 interface.
45533
c41af17e
UD
45534 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45535 (internal_getgrouplist): Adjust to name change.
45536 Update use_initgroups_entry if this is not the first call.
45537 * nss/databases.def: Add initgroups entry.
45538
a9e836b0
UD
45539 * nss/makedb.c (compute_tables): Check result of multiple hash table
45540 sizes to minimize maximum chain length.
45541
2666d441
UD
455422011-06-14 Ulrich Drepper <drepper@gmail.com>
45543
45544 * Versions.def: Add entry for libnss_db.
45545 * shlib-versions: Likewise.
45546 * nss/Makefile: Add rules to build libnss_db.
45547 * nss/Versions: Add libnss_db information. Organize libnss_files
45548 entries better.
45549 * nss/db-Makefile: Add gshadow support. Change rules for the new
45550 makedb progra. Some minor improvements to generate smaller files.
45551 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45552 here from...
45553 * nss/makedb.c: ...here.
45554 Improve database format to be smaller and require less memory at
45555 runtime.
45556 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45557 db anymore.
45558 * nss/nss_db/db-netgrp.c: Likewise.
45559 * nss/nss_db/db-open.c: Likewise.
45560 * nss/nss_files/flies-XXX.x: Adjust comments.
45561 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45562 * nss/nss_files/files-grp.c: Likewise.
45563 * nss/nss_files/files-hosts.c: Likewise.
45564 * nss/nss_files/files-network.c: Likewise.
45565 * nss/nss_files/files-proto.c: Likewise.
45566 * nss/nss_files/files-pwd.c: Likewise.
45567 * nss/nss_files/files-rpc.c: Likewise.
45568 * nss/nss_files/files-service.c: Likewise.
45569 * nss/nss_files/files-sgrp.c: Likewise.
45570 * nss/nss_files/files-spwd.c: Likewise.
45571 * nss/nss_db/db-alias.c: Removed.
45572 * nss/nss_db/dummy-db.h: Removed.
45573
9ee76b5a
UD
455742011-06-02 Ulrich Drepper <drepper@gmail.com>
45575
45576 * nss/makedb.c: Rewritten to not use database library.
45577 * nss/Makefile: Update to build new makedb program.
45578
c71ca1f8
AJ
455792011-06-14 Andreas Jaeger <aj@suse.de>
45580
45581 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45582 memset declaration.
45583
3154bfb8
UD
455842011-06-10 Andreas Schwab <schwab@redhat.com>
45585
45586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45587 tmpbuf.
45588
b350afab
RM
455892011-06-10 Roland McGrath <roland@hack.frob.com>
45590
decd4e50
RM
45591 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45592 * elf/Makefile ($(objpfx)ld.so): Likewise.
45593
5615eaf2
RM
45594 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45595 Don't list ld.so twice in dependencies.
45596
45597 * posix/bug-regex31.c: Include <stdlib.h>.
45598
45599 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45600
45601 * nis/nss_compat/compat-spwd.c
45602 (getspent_next_nss_netgr): Remove unused variable.
45603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45604
45605 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45606 nonmembers" output to use the right array.
45607
45608 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45609
45610 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45611
45612 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45613 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45614 * catgets/gencat.c (read_input_file): Likewise.
45615 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45616
45617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45618 variable definition inside #if's controlling its use.
45619
45620 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45621
45622 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45623
45624 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45625
45626 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45627 unreachable code.
45628
45629 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45630
b68e08db
RM
45631 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45632 * configure: Regenerated.
45633
b350afab
RM
45634 * Makerules: Revert last change.
45635 * elf/Makefile: Likewise.
45636
28368601
RM
456372011-06-09 Roland McGrath <roland@hack.frob.com>
45638
45639 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45640 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45641 (reloc-link): Likewise.
45642
11988f8f
UD
456432011-06-09 Ulrich Drepper <drepper@gmail.com>
45644
45645 * elf/Makefile: Add rules to build pldd.
45646 * elf/pldd.c: New file.
45647 * elf/pldd-xx.c: New file.
45648
e80fab37
UD
456492011-06-07 Ulrich Drepper <drepper@gmail.com>
45650
45651 * version.h: Update for 2.15 development version.
45652
9b849836
DM
456532011-06-07 David S. Miller <davem@davemloft.net>
45654
45655 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45656 ifuncs.
45657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45658 elf_machine_lazy_rel): Likewise.
45659 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45661 elf_machine_lazy_rel): Likewise.
45662 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45663 dl_hwcap via passed in argument.
45664 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45665 Likewise.
45666
5a31b283
AK
456672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45668
45669 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45670
069e52f8
RM
456712011-06-06 Roland McGrath <roland@hack.frob.com>
45672
45673 [BZ #12849]
45674 * manual/fdl-1.1.texi: New file, verbatim from:
45675 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45676 * manual/lgpl-2.1.texi: New file, verbatim from:
45677 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45678 * manual/Makefile (licenses): New variable, list those new file names.
45679 (texis): Use it.
45680 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45681
45682 * manual/fdl.texi: File removed.
45683 * manual/lesser.texi: File removed.
45684 * manual/libc.texinfo (Copying, Documentation License):
45685 Use new @include file names, put @appendix directive before @include.
45686
f16846a5
JJ
456872011-06-04 Jakub Jelinek <jakub@redhat.com>
45688
45689 [BZ #12841]
45690 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45691 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45692 (mq_open): Add __NTH.
45693
3d29045b
L
456942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45695
45696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45697 Assume Intel Core i3/i5/i7 processor if AVX is available.
45698
8c297311
UD
456992011-05-31 Ulrich Drepper <drepper@gmail.com>
45700
45701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45702 typo.
45703
c8fc0c91
UD
457042011-05-31 Andreas Schwab <schwab@redhat.com>
45705
45706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45707 memory. Use alloca_account. Fix memory leak when retrying.
45708
5b27a807
UD
457092011-05-31 Ulrich Drepper <drepper@gmail.com>
45710
356f8bc6
UD
45711 * version.h (RELEASE): Bump for 2.14 release.
45712 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45713
5b27a807
UD
45714 * config.make.in (RANLIB): Remove entry.
45715
01f16ab0
UD
457162011-05-30 Ulrich Drepper <drepper@gmail.com>
45717
41fce8bd
UD
45718 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45719 (libc.pot): Work around missing support for .ksh extension in xgettext.
45720
4769ae77
UD
45721 [BZ #12684]
45722 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45723 if both request failed.
45724 (send_dg): In case of server errors clear resplen or *resplen2.
45725
6b1e7d19
UD
45726 [BZ #12454]
45727 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45728 when there are multiple maps.
45729 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45730 (_dl_fini): Remove test here.
45731
01f16ab0
UD
45732 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45733
b1ebd700
UD
457342011-05-29 Ulrich Drepper <drepper@gmail.com>
45735
7ae22829
UD
45736 [BZ #12350]
45737 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45738 bit from old_res_options.
45739 (gaih_inet): Likewise.
45740
553149f6 45741 [BZ #11099]
18a84741 45742 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45743 as signed.
45744
652ffab1
UD
45745 * resolv/res_init.c (res_setoptions): Make the code more compact.
45746
16985fd0
UD
45747 [BZ #11558]
45748 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45749 set RES_USEVC.
45750
0464f746
UD
45751 [BZ #11634]
45752 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45753
7d17596c
UD
45754 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45755
cf6bbbd7
UD
45756 [BZ #11781]
45757 * malloc/malloc.h: Declare malloc hook variables as volatile.
45758
13f1ab36
UD
45759 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45760 in last patch.
45761
b1ebd700
UD
45762 [BZ #11799]
45763 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45764 raise in the comment.
80e2212d
UD
45765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45766 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45767 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45768
ce67228d
UD
457692011-05-28 Ulrich Drepper <drepper@gmail.com>
45770
8887a920
UD
45771 [BZ #12811]
45772 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45773 grow the buffers more if it already has to be sufficient.
45774 (build_wcs_upper_buffer): Likewise.
45775 * posix/regexec.c (check_matching): Likewise.
45776 (clean_state_log_if_needed): Likewise.
45777 (extend_buffers): Don't enlarge buffers beyond size of the input
45778 buffer.
45779 Patches mostly by Emil Wojak <emil@wojak.eu>.
45780 * posix/bug-regex32.c: New file.
45781 * posix/Makefile (tests): Add bug-regex32.
45782
4f031072
UD
45783 * locale/findlocale.c (_nl_find_locale): Return right away if
45784 _nl_explode_name failed.
45785 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45786
d0478f0c
UD
45787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45788
de81b246
UD
45789 * debug/xtrace.sh: Unify messages.
45790 * malloc/memusage.sh: Likewise.
45791
c738465a
UD
45792 [BZ #12813]
45793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45794 time symbol from vDSO. Substitute with vsyscall if not available.
45795 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45796 __vdso_time.
45797
f1f929d7
UD
45798 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45799 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45800 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45801 Add sendmmsg and internal_sendmmsg.
45802 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45805
ce67228d
UD
45806 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45807 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45809
e57420c6
UD
458102011-05-27 Ulrich Drepper <drepper@gmail.com>
45811
a8509ca5
UD
45812 [BZ #12813]
45813 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45814 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45815 available.
45816 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45817 __vdso_getcpu.
45818
e57420c6
UD
45819 [BZ #12814]
45820 * iconvdata/Makefile (tests): Add bug-iconv9.
45821 * iconvdata/bug-iconv9.c: New file.
45822
4d07db15
AS
458232011-05-27 Andreas Schwab <schwab@redhat.com>
45824
45825 [BZ #12814]
45826 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45827
ea486f69
JJ
458282011-05-25 Jakub Jelinek <jakub@redhat.com>
45829
45830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45831 (struct user_regs_struct): Change intcs field back to cs.
45832
6f038433
UD
458332011-05-25 Ulrich Drepper <drepper@gmail.com>
45834
45835 * po/ja.po: Update from translation team.
45836
67f86a25
UD
458372011-05-23 Ulrich Drepper <drepper@gmail.com>
45838
45839 [BZ #12795]
45840 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45841 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45842
def7fbd6
AS
458432011-05-20 Andreas Schwab <schwab@redhat.com>
45844
45845 * stdlib/longlong.h: Update from GCC.
45846
f50ef8f1
AS
458472011-05-23 Andreas Schwab <schwab@redhat.com>
45848
45849 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45850 parameter name.
45851 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45852 Add parameter name.
45853 (__sysconf): Pass it down.
45854
de7ce8f1
UD
458552011-05-22 Ulrich Drepper <drepper@gmail.com>
45856
f2962a71
UD
45857 [BZ #12671]
45858 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45859 some situations.
45860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45861 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45862 add in in __libc_use_alloca calls. Adjust callers.
45863 (glob): Use malloc in some situations.
45864
de7ce8f1
UD
45865 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45866 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45867 pltexit.
45868
aec84f53
UD
458692011-05-21 Ulrich Drepper <drepper@gmail.com>
45870
05bb4a68
UD
45871 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45872 and CLOCK_BOOTTIME_ALARM.
45873
7ea72f99
UD
45874 [BZ #12782]
45875 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45876 is returned.
45877
7e4afad5
UD
45878 * string/_strerror.c (__strerror_r): Print negative errors as signed
45879 numbers.
45880
8e211fec
UD
45881 [BZ #12777]
45882 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45883 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45884 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45885
f7d82dc9
UD
45886 * configure.in: Fix typo in redirection and correct removal of test
45887 files in two cases.
45888
cc9e536d
UD
45889 [BZ #12788]
45890 * locale/setlocale.c (new_composite_name): Fix test to check for
45891 identical name of all categories.
45892
aec84f53
UD
45893 [BZ #12792]
45894 * libio/filedoalloc.c (local_isatty): New function.
45895 (_IO_file_doallocate): Use local_isatty.
45896 * stdio-common/perror.c (perror): In case a new stream is used
45897 forward the stream error.
45898 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45899 error flag.
45900
78e64fdc
RT
459012011-05-20 Ulrich Drepper <drepper@gmail.com>
45902
34a9094f
UD
45903 [BZ #11869]
45904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45905 alloca.
45906 * include/alloca.h (extend_alloca_account): Define.
45907
78e64fdc
RT
45908 [BZ #11857]
45909 * posix/regex.h: Fix comments with documentation of user-accessible
45910 fields after compilation and describe correct free'ing of pattern
45911 after re_compile_pattern.
45912 Patch by Reuben Thomas <rrt@sc3d.org>.
45913
457bddfc
RA
459142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45915
45916 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45917 and -mno-altivec to prevent the compiler from using Altivec and/or
45918 VSX instructions when the corresponding registers are not available.
45919
a4527b51
AS
459202011-05-19 Andreas Schwab <schwab@redhat.com>
45921
45922 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45923
ed690b2f
UD
459242011-05-19 Ulrich Drepper <drepper@gmail.com>
45925
45926 * libio/freopen.c (freopen): Use __dup2, not dup2.
45927 * libio/freopen64.c (freopen64): Likewise.
45928
8db73634
L
459292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45930
45931 [BZ #12775]
45932 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45933 * math/Makefile (tests): Add test-powl.
45934 (CFLAGS-test-powl.c): Define.
45935 * math/test-powl.c: New file.
45936
0a197a9d
L
459372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45938
45939 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45940
ee30c380
UD
459412011-05-17 Ulrich Drepper <drepper@gmail.com>
45942
45943 [BZ #11837]
45944 * iconvdata/gb18030.c: Update to GB18020-2005.
45945
6ce75379
UD
459462011-05-16 Ulrich Drepper <drepper@gmail.com>
45947
a4b89fd8
AR
45948 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45949 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45950 Patch by Aharon Robbins <arnold@skeeve.com>.
45951
ea389b12
UD
45952 [BZ #11892]
45953 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45954 on the stack.
45955
68a3f91f
UD
45956 [BZ #11895]
45957 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45958 through underflows.
45959
15cc7dd1
UD
45960 [BZ #12766]
45961 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45962 point to strings before performing equality test for error_one_per_line
45963 mode.
45964
f3799213
UD
45965 [BZ #11697]
45966 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45967
d79a9c94
UD
45968 [BZ #11820]
45969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45970 (struct user_fpregs_struct): Avoid __uint*_t types.
45971
56e5eb46
UD
45972 [BZ #6420]
45973 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45974 symbol info. Use it instead of calling _dl_addr locally.
45975 (lock_and_info): New function.
45976 (tr_freehook): Call lock_and_info and pass symbol info as additional
45977 parameter to tr_where.
45978 (tr_mallochook): Likewise.
45979 (tr_reallochook): Likewise.
45980 (tr_memalignhook): Likewise.
45981
6ce75379
UD
45982 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45983 used and couldn't be at all thread-safe.
45984
f8a3b5bf
UD
459852011-05-15 Ulrich Drepper <drepper@gmail.com>
45986
94b7cc37
UD
45987 * libio/freopen.c (freopen): Don't close old file descriptor
45988 before the new one is opened. Instead dup the new file descriptor
45989 to the old one after the new stream is created.
45990 * libio/freopen64.c (freopen64): Likewise.
45991 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45992 * libio/fileops.c (_IO_new_file_close_it): Handle new
45993 _IO_FLAGS2_NOCLOSE flag.
45994 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45995 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45996 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45997 _IO_FLAGS2_NOCLOSE flag.
45998 * include/unistd.h: Add hidden_proto for dup3.
45999 Define __have_dup3.
46000 * io/dup3.c: Define hidden symbol.
46001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46002
bd25564e
UD
46003 [BZ #7101]
46004 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46005 when an incomplete long option is used.
46006 * posix/tst-getopt_long1.c: New file.
46007 * posix/Makefile (tests): Add tst-getopt_long1.
46008
c84cfef4
UD
46009 [BZ #10138]
46010 * scripts/config.guess: Update from autoconf-2.68.
46011 * scripts/config.sub: Likewise.
46012
3b85df27
UD
46013 [BZ #10157]
46014 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46015 tests into ...
46016 (has_cpuclock): ...this. New function.
46017 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46018 macro here based on has_cpuclock code.
46019
15a856b1
UD
46020 [BZ #10149]
46021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46022 First byte (not low byte) is now always NUL.
46023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46024
05f399e6
UD
46025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46026 Use non-cancelable interfaces.
46027
10a52685 46028 [BZ #9809]
94ecc67d
UD
46029 * locale/iso-639.def: Add entry for Sorani.
46030
f8a3b5bf
UD
46031 [BZ #11901]
46032 * include/stdlib.h: Move include protection to the right place.
46033 Define abort_msg_s. Declare __abort_msg with it.
46034 * stdlib/abort.c (__abort_msg): Adjust type.
46035 * assert/assert.c (__assert_fail_base): New function. Majority
46036 of code from __assert_fail. Allocate memory for __abort_msg with
46037 mmap.
46038 (__assert_fail): Now call __assert_fail_base.
46039 * assert/assert-perr.c: Remove bulk of implementation. Use
46040 __assert_fail_base.
46041 * include/assert.hL Declare __assert_fail_base.
46042 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46043 mmap.
46044 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46045
1af4e298
UD
460462011-05-14 Ulrich Drepper <drepper@gmail.com>
46047
f8a3b5bf 46048 [BZ #11952]
d26dfc60
MG
46049 [BZ #12453]
46050 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46051 until all modules are registered in the DTV.
46052 * elf/Makefile: Add rules to build and run tst-tls19.
46053 * elf/tst-tls19.c: New file.
46054 * elf/tst-tls19mod1.c: New file.
46055 * elf/tst-tls19mod2.c: New file.
46056 * elf/tst-tls19mod3.c: New file.
46057 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46058
2fc54d6f
UD
46059 [BZ #12083]
46060 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46061 correctly.
46062
98d76b46
UD
46063 [BZ #12601]
46064 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46065 two-byte sequence errors.
46066 * iconvdata/Makefile (tests): Add bug-iconv8.
46067 * iconvdata/bug-iconv8.c: New file.
46068
da3c19ef
UD
46069 [BZ #12626]
46070 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46071 buf2 definition.
46072
ca408c15
UD
46073 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46074
d6f67f7d
UD
46075 [BZ #12432]
46076 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46077 (dummy_getcfa): New function.
46078 (init): Get _Unwind_GetCFA address, use dummy if not found.
46079 (backtrace_helper): In recursion check, also check whether CFA changes.
46080 (__backtrace): Completely initialize arg.
46081
1af4e298 46082 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46083 storing incomplete byte sequence in state object. Avoid testing for
46084 guaranteed too small input if we know there is enough data available.
1af4e298 46085
da62f81b
AS
460862011-05-11 Andreas Schwab <schwab@redhat.com>
46087
46088 * Makeconfig (+link-pie): Indent.
46089 * Rules (binaries-pie): Define if $(have-fpie) and
46090 $(build-shared).
46091 (binaries-shared): Also filter out $(binaries-pie).
46092 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46093 * nscd/Makefile (others-pie): Add nscd.
46094 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46095 ($(objpfx)nscd): Remove command override.
46096 * login/Makefile (others-pie): Add pt_chown.
46097 ($(objpfx)pt_chown): Remove command override.
46098 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46099 remove command overrides.
46100
fcabc0f8
UD
461012011-05-13 Ulrich Drepper <drepper@gmail.com>
46102
20030ae6
UD
46103 * libio/tst_putwc.c: Fix error messages.
46104
fcabc0f8
UD
46105 [BZ #12724]
46106 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46107 currently writing and seek to current position when not.
46108 * libio/Makefile (tests): Add bug-fclose1.
46109 * libio/bug-fclose1.c: New file.
46110
320a5dc0
PB
461112011-05-12 Ulrich Drepper <drepper@gmail.com>
46112
46113 [BZ #12511]
46114 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46115 don't set DF_1_NODELETE here.
46116 (do_lookup_x): When entering new entry test for copy relocation
46117 and if necessary set DF_1_NODELETE flag.
46118 * elf/tst-unique4.cc: New file.
46119 * elf/tst-unique4.h: New file.
46120 * elf/tst-unique4lib.cc: New file.
46121 * elf/Makefile: Add rules to build and run tst-unique4.
46122 Patch by Piotr Bury <pbury@goahead.com>.
46123
22836f52
UD
461242011-05-11 Ulrich Drepper <drepper@gmail.com>
46125
f574184a
UD
46126 [BZ #12052]
46127 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46128
e1fb097f
UD
46129 [BZ #12625]
46130 * misc/mntent_r.c (addmntent): Flush the stream after the output
46131
22836f52
UD
46132 [BZ #12393]
46133 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46134 (is_trusted_path_normalize): Skip initial colon. Append slash
46135 to empty buffer. Duplicate is_trusted_path code but allow
46136 constructed patch to be prefix.
46137 (is_dst): Allow $ORIGIN followed by /.
46138 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46139 Correct testing of result of is_trusted_path_normalize
46140 (decompose_rpath): Fix warning.
46141
7b3b0b2a
UD
461422011-05-10 Ulrich Drepper <drepper@gmail.com>
46143
46144 [BZ #11257]
46145 * grp/initgroups.c (internal_getgrouplist): When we found the service
46146 list through the initgroups entry in nsswitch.conf do not always
46147 continue on a successful lookup. Don't always use the
eac80ce2 46148 __nss_group_database value if it is set.
7b3b0b2a
UD
46149 * nss/nsswitch.conf (initgroups): Change action for successful db
46150 lookup to continue for compatibility.
46151
2a81eaa5
UD
461522011-05-09 Ulrich Drepper <drepper@gmail.com>
46153
be97a69e
UD
46154 [BZ #11532]
46155 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46156 and CP774 modules.
46157 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46158 and CP774 modules.
46159 * iconvdata/tst-tables.sh: Likewise.
46160 * iconvdata/cp770.c: New file.
46161 * iconvdata/cp771.c: New file.
46162 * iconvdata/cp772.c: New file.
46163 * iconvdata/cp773.c: New file.
46164 * iconvdata/cp774.c: New file.
46165 * iconvdata/testdata/CP770: New file.
46166 * iconvdata/testdata/CP770..UTF8: New file.
46167 * iconvdata/testdata/CP771: New file.
46168 * iconvdata/testdata/CP771..UTF8: New file.
46169 * iconvdata/testdata/CP772: New file.
46170 * iconvdata/testdata/CP772..UTF8: New file.
46171 * iconvdata/testdata/CP773: New file.
46172 * iconvdata/testdata/CP773..UTF8: New file.
46173 * iconvdata/testdata/CP774: New file.
46174 * iconvdata/testdata/CP774..UTF8: New file.
46175
46176 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46177 END CHARMAP line.
46178 * iconvdata/gen-8bit-gap.sh: Likewise.
46179 * iconvdata/gen-8bit.sh: Likewise.
46180
c1e9e399
UD
46181 * locale/iso-639.def: Add ary entry.
46182
24c55fb3 46183 [BZ #11258]
96b4b1b0
UD
46184 * locale/C-translit.h.in: Add U20A1 transliteration.
46185
bdc2f971
KB
46186 [BZ #12178]
46187 * locale/iso-639.def: Add wae entry.
46188 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46189
2952b117
UD
46190 [BZ #12545]
46191 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46192 for n.
46193
2a81eaa5
UD
46194 [BZ #12711]
46195 * locale/C-translit.h.in: Add entry for U20B9.
46196 Patch by pravin.d.s@gmail.com.
46197
28377d1b
UD
461982011-05-08 Ulrich Drepper <drepper@gmail.com>
46199
7fb90fb8
UD
46200 [BZ #12713]
46201 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46202 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46203 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46204 in rtld. Use *stat64.
7fb90fb8 46205 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46206 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46207 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46208 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46209 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46210 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46211 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46212 __fstatat64 macros.
7fb90fb8
UD
46213 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46214 * dirent/rewinddir.c: Add libc_hidden_def.
46215 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46216 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46217
28377d1b
UD
46218 * include/dirent.h (__alloc_dir): Add flags parameter.
46219 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46220 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46221 __alloc_dir.
46222 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46223 from fdopendir if O_CLOEXEC is already set.
46224
66bdbaa4
AM
462252011-03-15 Alan Modra <amodra@gmail.com>
46226
46227 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46228 l_tls_firstbyte_offset non-zero. Save padding offset in
46229 l_tls_firstbyte_offset for later use.
46230 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46231 freeing static tls block.
46232
95721191
JN
462332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46234
46235 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46236 where #ifdef was intended. The intent is to prevent ARG_MAX from
46237 being defined by the kernel headers.
46238
f87dfb1f
UD
462392011-05-07 Ulrich Drepper <drepper@gmail.com>
46240
46241 [BZ #12734]
46242 * resolv/resolv.h: Define RES_NOTLDQUERY.
46243 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46244 no-tld-query and set RES_NOTLDQUERY.
46245 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46246 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46247 modern BIND to search name as TLD unless forbidden.
46248
47c3cd7a
UD
462492011-05-07 Petr Baudis <pasky@suse.cz>
46250 Ulrich Drepper <drepper@gmail.com>
46251
46252 [BZ #12393]
46253 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46254 (is_trusted_path): ...to here.
c1e9ea35 46255 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46256 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46257 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46258
8a35c912
PP
462592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46260
46261 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46262 __BEGIN/__END_DECLS.
46263
acd41f47
UD
462642011-05-06 Ulrich Drepper <drepper@gmail.com>
46265
46266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46267 NSS_STATUS_NOTFOUND if no record was found.
46268
597df647
AS
462692011-05-05 Andreas Schwab <schwab@redhat.com>
46270
46271 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46272 (headers-not-in-tirpc): Remove rpc/netdb.h
46273 * resolv/netdb.h: Revert last change.
46274
b9af1301
PP
462752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46276
46277 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46278 circular dependency between libgcc.a and libc.a.
46279
4e34d5f5
AS
462802011-05-05 Andreas Schwab <schwab@redhat.com>
46281
46282 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46283 * nis/Makefile: Don't install rpcsvc/*.
46284 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46285 instead of <rpc/types.h>.
46286 (MAXHOSTNAMELEN): Define.
46287
00ee369c
AS
462882011-05-03 Andreas Schwab <schwab@redhat.com>
46289
46290 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46291
0b592a30
MB
462922011-04-28 Maciej Babinski <mbabinski@google.com>
46293
46294 [BZ #12714]
46295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46296 gethostbyname4_r when IPv6 results are possible.
46297
6e04cbbe
UD
462982011-05-02 Ulrich Drepper <drepper@gmail.com>
46299
46300 [BZ #12723]
46301 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46302 _PC_PIPE_BUF handling.
46303
e4ecafe0
BH
463042011-04-30 Bruno Haible <bruno@clisp.org>
46305
46306 [BZ #12717]
46307 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46308 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46309 to 'int'.
46310 * inet/getnameinfo.c (getnameinfo): Likewise.
46311
125ee683
UD
463122011-04-29 Ulrich Drepper <drepper@gmail.com>
46313
46314 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46315 to groups setting in database lookup.
46316 * nss/nsswitch.conf: Add initgroups entry.
46317
b722481a
EB
463182011-04-22 Ulrich Drepper <drepper@gmail.com>
46319
46320 [BZ #12685]
46321 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46322 mode string.
46323 Patch by Eric Blake <eblake@redhat.com>.
46324
4df46dbd
L
463252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46326
46327 * sunrpc/Makefile (need-export-routines): Add svc_run.
46328 (routines): Remove svc_run.
46329 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46330 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46331 * sunrpc/svc_run.c (svc_run): Likewise.
46332 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46333
e84142d2
UD
463342011-04-21 Ulrich Drepper <drepper@gmail.com>
46335
46336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46337 problem in reallocation in last patch.
46338
877175d8
UD
463392011-04-20 Ulrich Drepper <drepper@gmail.com>
46340
46341 * sunrpc/Makefile: Move inclusion of Rules.
46342
ab8eed78
UD
463432011-04-19 Ulrich Drepper <drepper@gmail.com>
46344
46345 * nss/nss_files/files-initgroups.c: New file.
46346 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46347 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46348 _nss_files_initgroups_dyn.
46349
e3d8f584
RS
463502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46351
46352 * elf/elf.h (R_ARM_IRELATIVE): Define.
46353
af190f45
UD
463542011-04-19 Ulrich Drepper <drepper@gmail.com>
46355
46356 * po/ru.po: Update from translation team.
46357
53cf59ef
UD
463582011-04-17 Ulrich Drepper <drepper@gmail.com>
46359
46360 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46361 dependencies.
46362
4c559bcd
MF
463632011-02-06 Mike Frysinger <vapier@gentoo.org>
46364
46365 [BZ #12653]
46366 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46367 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46371
4420675c
AS
463722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46373
46374 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46375 differing bytes.
46376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46379
75ea32ab
UD
463802011-04-17 Ulrich Drepper <drepper@gmail.com>
46381
46382 [BZ #12420]
46383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46384 storing it.
46385 * stdlib/bug-getcontext.c: New file.
46386 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46387
27390476
AK
463882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46389
46390 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46391 instructions into .machine "z9-109".
46392 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46393 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46394
10442705
AK
463952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46396
46397 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46398 between environment variables and auxiliary vector.
46399
7b57bfe5
UD
464002011-04-16 Ulrich Drepper <drepper@gmail.com>
46401
46402 * Makefile: Add rules to build linkobj/libc.so.
46403 * include/libc-symbols.h: Define libc_hidden_nolink.
46404 * include/rpc/auth.h: Mark functions which are to be hidden.
46405 * include/rpc/auth_des.h: Likewise.
46406 * include/rpc/auth_unix.h: Likewise.
46407 * include/rpc/clnt.h: Likewise.
46408 * include/rpc/des_crypt.h: Likewise.
46409 * include/rpc/key_prot.h: Likewise.
46410 * include/rpc/pmap_clnt.h: Likewise.
46411 * include/rpc/pmap_prot.h: Likewise.
46412 * include/rpc/pmap_rmt.h: Likewise.
46413 * include/rpc/rpc_msg.h: Likewise.
46414 * include/rpc/svc.h: Likewise.
46415 * include/rpc/svc_auth.h: Likewise.
46416 * include/rpc/xdr.h: Likewise.
46417 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46418 * nss/Makefile: Likewise.
46419 * sunrpc/Makefile: Don't install headers. Build library with normal
46420 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46421 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46422 for the compat linking library. Remove use of INTDEF/INTUSE.
46423 * sunrpc/auth_none.c: Likewise.
46424 * sunrpc/auth_unix.c: Likewise.
46425 * sunrpc/authdes_prot.c: Likewise.
46426 * sunrpc/authuxprot.c: Likewise.
46427 * sunrpc/clnt_gen.c: Likewise.
46428 * sunrpc/clnt_perr.c: Likewise.
46429 * sunrpc/clnt_raw.c: Likewise.
46430 * sunrpc/clnt_simp.c: Likewise.
46431 * sunrpc/clnt_tcp.c: Likewise.
46432 * sunrpc/clnt_udp.c: Likewise.
46433 * sunrpc/clnt_unix.c: Likewise.
46434 * sunrpc/des_crypt.c: Likewise.
46435 * sunrpc/des_soft.c: Likewise.
46436 * sunrpc/get_myaddr.c: Likewise.
46437 * sunrpc/key_call.c: Likewise.
46438 * sunrpc/key_prot.c: Likewise.
46439 * sunrpc/netname.c: Likewise.
46440 * sunrpc/pm_getmaps.c: Likewise.
46441 * sunrpc/pm_getport.c: Likewise.
46442 * sunrpc/pmap_clnt.c: Likewise.
46443 * sunrpc/pmap_prot.c: Likewise.
46444 * sunrpc/pmap_prot2.c: Likewise.
46445 * sunrpc/pmap_rmt.c: Likewise.
46446 * sunrpc/publickey.c: Likewise.
46447 * sunrpc/rpc_cmsg.c: Likewise.
46448 * sunrpc/rpc_common.c: Likewise.
46449 * sunrpc/rpc_dtable.c: Likewise.
46450 * sunrpc/rpc_prot.c: Likewise.
46451 * sunrpc/rpc_thread.c: Likewise.
46452 * sunrpc/rtime.c: Likewise.
46453 * sunrpc/svc.c: Likewise.
46454 * sunrpc/svc_auth.c: Likewise.
46455 * sunrpc/svc_authux.c: Likewise.
46456 * sunrpc/svc_raw.c: Likewise.
46457 * sunrpc/svc_run.c: Likewise.
46458 * sunrpc/svc_simple.c: Likewise.
46459 * sunrpc/svc_tcp.c: Likewise.
46460 * sunrpc/svc_udp.c: Likewise.
46461 * sunrpc/svc_unix.c: Likewise.
46462 * sunrpc/svcauth_des.c: Likewise.
46463 * sunrpc/xcrypt.c: Likewise.
46464 * sunrpc/xdr.c: Likewise.
46465 * sunrpc/xdr_array.c: Likewise.
46466 * sunrpc/xdr_float.c: Likewise.
46467 * sunrpc/xdr_intXX_t.c: Likewise.
46468 * sunrpc/xdr_mem.c: Likewise.
46469 * sunrpc/xdr_rec.c: Likewise.
46470 * sunrpc/xdr_ref.c: Likewise.
46471 * sunrpc/xdr_sizeof.c: Likewise.
46472 * sunrpc/xdr_stdio.c: Likewise.
46473
e6c61494
UD
464742011-04-10 Ulrich Drepper <drepper@gmail.com>
46475
46476 [BZ #12650]
46477 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46478 * sysdeps/ia64/dl-tls.h: Likewise.
46479 * sysdeps/powerpc/dl-tls.h: Likewise.
46480 * sysdeps/s390/dl-tls.h: Likewise.
46481 * sysdeps/sh/dl-tls.h: Likewise.
46482 * sysdeps/sparc/dl-tls.h: Likewise.
46483 * sysdeps/x86_64/dl-tls.h: Likewise.
46484 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46485
34fe483e
AS
464862011-03-14 Andreas Schwab <schwab@redhat.com>
46487
46488 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46489 rpath element also skip the following colon.
46490 (expand_dynamic_string_token): Add is_path parameter and pass
46491 down to DL_DST_REQUIRED and _dl_dst_substitute.
46492 (decompose_rpath): Call expand_dynamic_string_token with
46493 non-zero is_path. Ignore empty rpaths.
46494 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46495 with zero is_path.
46496
f12a32e6
AS
464972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46498
46499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46500 Make cancelable.
46501
38a7d692
UD
465022011-04-09 Ulrich Drepper <drepper@gmail.com>
46503
46504 [BZ #12655]
46505 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46506 Patch by Filipe David Manana <fdmanana@apache.org>.
46507
e451d22b
AS
465082011-04-07 Andreas Schwab <schwab@redhat.com>
46509
46510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46511 Maintain aligned stack.
46512 (CHECK_RSP): Remove unused macro.
46513
dedc7c7b
UD
465142011-04-03 Ulrich Drepper <drepper@gmail.com>
46515
46516 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46518
94521213
UD
465192011-04-02 Ulrich Drepper <drepper@gmail.com>
46520
46521 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46522
8cb700c0 46523 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46524
0354e355
L
465252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46526
46527 [BZ #12518]
46528 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46529 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46530 * sysdeps/x86_64/memmove.c: New file.
46531 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46532 (memcpy): Renamed to ...
46533 (__new_memcpy): This.
46534 (memcpy): Provide GLIBC_2_14 memcpy.
46535 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46536 (memcpy): Provide GLIBC_2_2_5 memcpy.
46537
8593482f
UD
465382011-04-01 Ulrich Drepper <drepper@gmail.com>
46539
46540 [BZ #12631]
46541 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46542
81a5726b
AS
465432011-03-30 Andreas Schwab <schwab@redhat.com>
46544
46545 * misc/syncfs.c: New file.
46546 * misc/Makefile (routines): Add syncfs.
46547 * posix/unistd.h: Declare syncfs.
46548 * sysdeps/unix/syscalls.list: Add syncfs.
46549
00e5419f
AS
465502011-04-01 Andreas Schwab <schwab@redhat.com>
46551
46552 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46553 open_by_handle_at.
46554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46559 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46561
748876bf
UD
465622011-04-01 Ulrich Drepper <drepper@gmail.com>
46563
658e451d
UD
46564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46566 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46571
748876bf
UD
46572 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46573 sync_file_range.c with -fexceptions.
46574 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46575 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46576 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46577 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46578 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46579 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46581 sync_file_range as cancellation point
46582 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46583 now a wrapper around __call_sync_file_range with cancellation handling.
46584 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46585 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46586 function name to __call_sync_file_range.
46587 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46588 Add call_sync_file_range.
748876bf 46589
6e63d5e1
AS
465902011-04-01 Andreas Schwab <schwab@redhat.com>
46591
46592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46593 bits/timex.h.
6e63d5e1 46594
46998f74
UD
465952011-04-01 Ulrich Drepper <drepper@gmail.com>
46596
4c1423ed
UD
46597 * iconv/iconv.h: Fix typo in comment.
46598 * io/fcntl.h: Likewise.
46599 * libio/stdio.h: Likewise.
46600 * posix/spawn.h: Likewise.
46601 * posix/unistd.h: Likewise.
46602 * stdlib/stdlib.h: Likewise.
46603 * time/time.h: Likewise.
46604 * wcsmbs/wchar.h: Likewise.
46605
158648c0
UD
46606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46607 open_by_handle): Add.
46608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46609 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46610 Augment a few comments.
46611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46616 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46617 open_by_handle.
46618
46998f74
UD
46619 * io/fcntl.h (AT_EMPTY_PATH): Define.
46620
83fe108b
UD
466212011-03-30 Ulrich Drepper <drepper@gmail.com>
46622
46623 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46624 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46625 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46626 to...
46627 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46628 * Versions.def: Add GLIBC_2.14.
46629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46630 Export.
83fe108b 46631
bb242059
UD
466322011-03-22 Ulrich Drepper <drepper@gmail.com>
46633
46634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46635 round counter.
46636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46637
c97a1282
L
466382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46639
46640 [BZ #12597]
46641 * string/test-strncmp.c (do_page_test): New function.
46642 (check2): Likewise.
46643 (test_main): Call check2.
46644 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46645
2a115601
UD
466462011-03-20 Ulrich Drepper <drepper@gmail.com>
46647
46648 [BZ #12587]
46649 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46650 Handle cache information in CPU leaf 4.
46651 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46652
8126d904
UD
466532011-03-18 Ulrich Drepper <drepper@gmail.com>
46654
042c49c6 46655 [BZ #12583]
8126d904
UD
46656 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46657 character representation.
46658 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46659
ccfe366e
RA
466602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46661
46662 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46663 END(__isnan) to END(__isnanf) to match function entry point/label
46664 EALIGN(__isnanf,...).
46665
c6e13027
JJ
466662011-03-10 Jakub Jelinek <jakub@redhat.com>
46667
46668 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46669
33f85a3f
UD
466702011-03-10 Ulrich Drepper <drepper@gmail.com>
46671
028478fa
UD
46672 [BZ #12510]
46673 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46674 copy from the symbol referenced in the relocation to initialize the
46675 used variable.
46676 Patch by Piotr Bury <pbury@goahead.com>.
46677 * elf/Makefile: Add rules to build and tst-unique3.
46678 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46679 * elf/tst-unique3.cc: New file.
46680 * elf/tst-unique3.h: New file.
46681 * elf/tst-unique3lib.cc: New file.
46682 * elf/tst-unique3lib2.cc: New file.
46683
33f85a3f
UD
46684 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46685
03592fc7
MF
466862011-03-10 Mike Frysinger <vapier@gentoo.org>
46687
46688 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46689 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46690 to _start.
03592fc7 46691
6a5ee102
UD
466922011-03-06 Ulrich Drepper <drepper@gmail.com>
46693
46694 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46695 to-be-loaded object along a path to loader is ld.so.
46696
7e4ba49c
HJ
466972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46698 Ulrich Drepper <drepper@gmail.com>
46699
46700 * sysdeps/x86_64/memset.S: After aligning destination, code
46701 branches to different locations depending on the value of
46702 misalignment, when multiarch is enabled. Fix this.
46703
467042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46705
46706 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46707 Set _x86_64_preferred_memory_instruction for AMD processsors.
46708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46709 Set bit_Prefer_SSE_for_memop for AMD processors.
46710
13a804de
UD
467112011-03-04 Ulrich Drepper <drepper@gmail.com>
46712
46713 * libio/fmemopen.c (fmemopen): Optimize a bit.
46714
9d25c392
AS
467152011-03-03 Andreas Schwab <schwab@redhat.com>
46716
46717 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46718
a5543c6a
RM
467192011-03-03 Roland McGrath <roland@redhat.com>
46720
46721 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46722
012d35f7
DM
467232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46724
7e4ba49c 46725 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46726 __bzero_ultra1 instead of __memset_ultra1.
46727
4bff6e01
AS
467282011-02-23 Andreas Schwab <schwab@redhat.com>
46729 Ulrich Drepper <drepper@gmail.com>
46730
46731 [BZ #12509]
46732 * include/link.h (struct link_map): Add l_orig_initfini.
46733 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46734 returning unsuccessfully.
46735 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46736 close of a file loaded at startup, restore the original l_initfini
46737 list.
46738 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46739 list, store the pointer.
46740 * elf/Makefile ($(objpfx)noload-mem): New rule.
46741 (noload-ENV): Define.
46742 (tests): Add $(objpfx)noload-mem.
46743 * elf/noload.c: Include <memcheck.h>.
46744 (main): Call mtrace. Close all opened handles.
46745
f2092faf
AS
467462011-02-17 Andreas Schwab <schwab@redhat.com>
46747
46748 [BZ #12454]
46749 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46750 dependencies are missing.
46751
6c8a2e88
ST
467522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46753
f2092faf 46754 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46755 Hurd needs munmap.
46756 * sysdeps/mach/hurd/ifreq.h: New file.
46757
84a42118
PB
467582011-01-27 Petr Baudis <pasky@suse.cz>
46759 Ulrich Drepper <drepper@gmail.com>
46760
071f805e 46761 [BZ 12445]#
84a42118
PB
46762 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46763 to extend_alloca().
46764 * stdio-common/bug23.c: New file.
46765 * stdio-common/Makefile (tests): Add bug23.
46766
e23fe25b
AS
467672010-09-28 Andreas Schwab <schwab@redhat.com>
46768 Ulrich Drepper <drepper@gmail.com>
46769
46770 [BZ #12489]
46771 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46772 before performing relro protection. At old place add assertion
46773 to make sure nothing changed.
46774
d3f02e10
NS
467752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46776 Glauber de Oliveira Costa <glommer@gmail.com>
46777
46778 * elf/elf.h: Add new ARM TLS relocs.
46779
d55fd7a5
RA
467802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46781
46782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46783 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46784 cast from r3.
46785 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46786 'tests' variable.
46787 * sysdeps/wordsize-64/tst-writev.c: New file.
46788
2206397e
RA
467892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46790
46791 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46792 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46793 insns in _dl_start to prevent a TOC reference before relocs are
46794 resolved.
46795
e9433893
UD
467962011-02-15 Ulrich Drepper <drepper@gmail.com>
46797
46798 [BZ #12469]
46799 * Makeconfig: Remove RANLIB definition.
46800 * Makerules: Don't use RANLIB.
46801 * aclocal.m4: Remove ranlib test.
46802 * configure.in: No need to check for ranlib.
46803 * elf/rtld-Rules: Don't use RANLIB.
46804
f75286c6
ST
468052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46806
8e31c82d
ST
46807 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46808 protection macro.
46809 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46810 inclusion protection macro.
46811
f75286c6
ST
46812 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46813 SIGRTMIN and SIGRTMAX and print information in that case only when
46814 SIGRTMIN is defined.
46815
c1d0e639
JJ
468162011-02-11 Jakub Jelinek <jakub@redhat.com>
46817
46818 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46819 arginfo fn returning -1.
46820
46821 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46822 and thousands string is zero terminated.
46823
edf9294e
AS
468242011-02-03 Andreas Schwab <schwab@redhat.com>
46825
46826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46827 sysdeps/unix/sysv/linux/bits/socket.h.
46828
2b7e92df
ST
468292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46830
edf9294e
AS
46831 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46832 (__CPU_COUNT): Remove old macros.
46833 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46834 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46835 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46836 (__sched_cpualloc, __sched_cpufree): Add declarations.
46837
a4c7ea7b
UD
468382011-02-05 Ulrich Drepper <drepper@gmail.com>
46839
46840 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46841 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46842 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46843 (readdhstai): Return value of addhstaiX call.
46844 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46845 (addgrbyX): Return value returned by cache_addgr.
46846 (readdgrbyname): Return value returned by addgrbyX.
46847 (readdgrbygid): Likewise.
46848 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46849 (addpwbyX): Return value returned by cache_addpw.
46850 (readdpwbyname): Return value returned by addhstbyX.
46851 (readdpwbyuid): Likewise.
46852 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46853 (addservbyX): Return value returned by cache_addserv.
46854 (readdservbyname): Return value returned by addservbyX:
46855 (readdservbyport): Likewise.
46856 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46857 (addhstbyX): Return value returned by cache_addhst.
46858 (readdhstbyname): Return value returned by addhstbyX.
46859 (readdhstbyaddr): Likewise.
46860 (readdhstbynamev6): Likewise.
46861 (readdhstbyaddrv6): Likewise.
46862 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46863 (readdinitgroups): Return value returned by addinitgroupsX.
46864 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46865 (prune_cache): Keep track of timeout value of re-added entries.
46866 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46867 * nscd/nscd.h: Adjust prototypes of readd* functions.
46868
a0bf67cc
RM
468692011-02-04 Roland McGrath <roland@redhat.com>
46870
46871 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46872 (nis_stats): Likewise.
46873 * nis/nis_modify.c (nis_modify): Likewise.
46874 * nis/nis_remove.c (nis_remove): Likewise.
46875 * nis/nis_add.c (nis_add): Likewise.
46876
46877 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46878
46879 * posix/fnmatch_loop.c: Add some consts.
46880
46881 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46882
435b95eb
L
468832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46884
46885 [BZ #12460]
46886 * config.make.in (config-cflags-novzeroupper): Define.
46887 * configure.in: Substitute libc_cv_cc_novzeroupper.
46888 * elf/Makefile (AVX-CFLAGS): Define.
46889 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46890 (CFLAGS-tst-auditmod4a.c): Likewise.
46891 (CFLAGS-tst-auditmod4b.c): Likewise.
46892 (CFLAGS-tst-auditmod6b.c): Likewise.
46893 (CFLAGS-tst-auditmod6c.c): Likewise.
46894 (CFLAGS-tst-auditmod7b.c): Likewise.
46895 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46896
8517b15e
UD
468972011-02-02 Ulrich Drepper <drepper@gmail.com>
46898
46899 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46900 function to the callback.
46901 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46902
10a656fe
AS
469032011-02-02 Andreas Schwab <schwab@redhat.com>
46904
46905 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46906 of errno.
46907
968dad0a
UD
469082011-01-19 Ulrich Drepper <drepper@gmail.com>
46909
9f94d2ea 46910 [BZ #11724]
968dad0a
UD
46911 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46912 of constructors.
46913 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46914 of destructors.
46915 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46916
46917 [BZ #11724]
46918 * elf/Makefile: Add rules to build and run new test.
46919 * elf/tst-initorder.c: New file.
46920 * elf/tst-initorder.exp: New file.
46921 * elf/tst-initordera1.c: New file.
46922 * elf/tst-initordera2.c: New file.
46923 * elf/tst-initordera3.c: New file.
46924 * elf/tst-initordera4.c: New file.
46925 * elf/tst-initorderb1.c: New file.
46926 * elf/tst-initorderb2.c: New file.
46927 * elf/tst-order-a1.c: New file.
46928 * elf/tst-order-a2.c: New file.
46929 * elf/tst-order-a3.c: New file.
46930 * elf/tst-order-a4.c: New file.
46931 * elf/tst-order-b1.c: New file.
46932 * elf/tst-order-b2.c: New file.
46933 * elf/tst-order-main.c: New file.
46934 New test case by George Gensure <werkt0@gmail.com>.
46935
86e92359
UD
469362010-10-01 Andreas Schwab <schwab@redhat.com>
46937
46938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46939 decoding ACE if AI_CANONIDN.
46940
5d5732b0
UD
469412011-01-18 Ulrich Drepper <drepper@gmail.com>
46942
46943 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46944
a77e8cbc
UD
469452011-01-17 Ulrich Drepper <drepper@gmail.com>
46946
6392473f
UD
46947 * version.h (RELEASE): Bump for 2.13 release.
46948 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46949
620a0529
UD
46950 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46951
18ba70a5
UD
46952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46953 MADV_NOHUGEPAGE.
32465c3e
UD
46954 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46956 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46957 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46960
c0dafcf1
UD
46961 * posix/getconf.c: Update copyright year.
46962 * catgets/gencat.c: Likewise.
46963 * csu/version.c: Likewise.
46964 * debug/catchsegv.sh: Likewise.
46965 * debug/xtrace.sh: Likewise.
46966 * elf/ldconfig.c: Likewise.
46967 * elf/ldd.bash.in: Likewise.
46968 * elf/sprof.c (print_version): Likewise.
46969 * iconv/iconv_prog.c: Likewise.
46970 * iconv/iconvconfig.c: Likewise.
46971 * locale/programs/locale.c: Likewise.
46972 * locale/programs/localedef.c: Likewise.
46973 * malloc/memusage.sh: Likewise.
46974 * malloc/mtrace.pl: Likewise.
46975 * nscd/nscd.c (print_version): Likewise.
46976 * nss/getent.c: Likewise.
46977
a77e8cbc
UD
46978 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46979 PF_CAIF, and PF_ALG.
46980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46981
77e8bddf
AS
469822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46983
1f20b93a
AS
46984 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46985 (modules-names): Use them.
46986 (ifunc-test-modules, ifunc-pie-tests): Define.
46987 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46988 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46989 (test-extras): Likewise.
46990 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46991 $(compile-command.c).
46992 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46993 (all-built-dso): Define.
46994 (check-textrel.out, check-execstack.out): Depend on it.
46995
77e8bddf
AS
46996 * configure.in: Don't override --enable-multi-arch.
46997
bc425b33
UD
469982011-01-15 Ulrich Drepper <drepper@gmail.com>
46999
47000 [BZ #6812]
47001 * nscd/hstcache.c (tryagain): Define.
47002 (cache_addhst): Return tryagain not notfound for temporary errors.
47003 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47004 failed.
47005
794c3ad3
UD
470062011-01-14 Ulrich Drepper <drepper@gmail.com>
47007
70181fdd
UD
47008 [BZ #10563]
47009 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47010 to make the syscall.
47011 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47012
794c3ad3
UD
47013 [BZ #12378]
47014 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47015 and fall back to matching as normal character if the string ends before
47016 the matching ']' is found. This is what POSIX requires.
47017 * posix/testfnm.c: Adjust test result.
47018 * posix/globtest.sh: Adjust test result. Add new test.
47019 * posix/tst-fnmatch.input: Likewise.
47020 * posix/tst-fnmatch2.c: Add new test.
47021
68dc9497
AS
470222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47023
47024 * elf/Makefile (check-execstack): Revert last change. Depend on
47025 check-execstack.h.
47026 (check-execstack.h): New target.
47027 (generated): Add check-execstack.h.
47028 * elf/check-execstack.c: Include "check-execstack.h".
47029 (main): Revert last change.
47030 (handle_file): Return zero if GNU_STACK is absent and
47031 DEFAULT_STACK_PERMS doesn't include PF_X.
47032
451f001b
UD
470332011-01-13 Ulrich Drepper <drepper@gmail.com>
47034
cfa28e56
UD
47035 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47036 in child fails because the descriptor is already closed.
8cf8ce17
UD
47037 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47038 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47039 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47040
1086d70d
UD
47041 [BZ #12397]
47042 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47043 syscall.
47044
451f001b
UD
47045 [BZ #10484]
47046 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47047 temporary buffer used to handle multi lookups locally.
a85b5cb4 47048 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47049
08769175
UD
470502011-01-12 Ulrich Drepper <drepper@gmail.com>
47051
47052 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47053 loader is ld.so.
47054
5e49c52e
UD
470552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47056
47057 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47058 alignment for SSE2.
47059
60522a5f
UD
470602011-01-12 Ulrich Drepper <drepper@gmail.com>
47061
47062 [BZ #12394]
47063 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47064 characters. When rounding increased number of integer digits recompute
47065 number of groups.
47066 * stdio-common/tst-grouping.c: New file.
47067 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47068
f257bbd7
UD
470692011-01-09 Ulrich Drepper <drepper@gmail.com>
47070
47071 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47072 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47073
47074 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47075 void.
47076 * bits/select.h: Likewise.
47077
fa9c15cb
UD
470782011-01-08 Ulrich Drepper <drepper@gmail.com>
47079
47080 * po/ja.po: Update from translation team.
47081
16c2895f
DM
470822011-01-04 David S. Miller <davem@sunset.davemloft.net>
47083
47084 [BZ #11155]
47085 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47086 implementation just like for lxstat, fxstatat, et al.
47087
2543fef2
JM
470882010-12-27 Jim Meyering <meyering@redhat.com>
47089
47090 [BZ #12348]
47091 * posix/regexec.c (build_trtable): Return failure indication upon
47092 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47093
98727dbe
UD
470942010-12-25 Ulrich Drepper <drepper@gmail.com>
47095
5bd6dc5c
UD
47096 [BZ #12201]
47097 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47098 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47101
97983464
UD
47102 [BZ #12207]
47103 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47104
98727dbe
UD
47105 [BZ #12204]
47106 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47107 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47108
4a531bb0
L
471092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47110
47111 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47112 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47113 script has SORT_BY_INIT_PRIORITY.
47114 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47115 NO_CTORS_DTORS_SECTIONS is defined.
47116 * elf/soinit.c: Likewise.
47117 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47118 NO_CTORS_DTORS_SECTIONS is defined.
47119 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47120 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47121 * sysdeps/sh/init-first.c: Likewise.
47122 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47123
07eb4b71
UD
471242010-12-24 Ulrich Drepper <drepper@gmail.com>
47125
47126 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47127 always use the slow path.
47128
30950a5f
RA
471292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47130
47131 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47132 similar rule which adds the sysdep directories to the header search in
47133 order to pick up the correct platform stackinfo.h.
47134 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47135 perform test if it is, otherwise return successfully without testing.
47136 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47137 DEFAULT_STACK_PERMS define in stackinfo.h.
47138 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47139 defined in stackinfo.h.
47140 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47141 DEFAULT_STACK_PERMS defined in stackinfo.h.
47142 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47143 * sysdeps/ia64/stackinfo.h: Likewise.
47144 * sysdeps/s390/stackinfo.h: Likewise.
47145 * sysdeps/sh/stackinfo.h: Likewise.
47146 * sysdeps/sparc/stackinfo.h: Likewise.
47147 * sysdeps/x86_64/stackinfo.h: Likewise.
47148 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47149 PF_X for powerpc64. Retain PF_X for powerpc32.
47150
db753e2c
UD
471512010-12-19 Ulrich Drepper <drepper@gmail.com>
47152
14b697f7
UD
47153 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47154 accurately.
db753e2c
UD
47155 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47156 GETDENTS_64BIT_ALIGNED.
47157
28300719
UD
471582010-12-14 Ulrich Drepper <dreper@gmail.com>
47159
14b697f7 47160 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47161
4f197237
AS
471622010-12-10 Andreas Schwab <schwab@redhat.com>
47163
dbb0472f
AS
47164 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47165 _GNU_SOURCE.
47166
4f197237
AS
47167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47168 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47169 Remove __restrict.
47170 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47171 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47172
fb88ac72
UD
471732010-12-09 Ulrich Drepper <drepper@gmail.com>
47174
47175 [BZ #11655]
47176 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47177 are initialized.
47178
42acbb92
JJ
471792010-12-09 Jakub Jelinek <jakub@redhat.com>
47180
47181 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47182
c038d98d
UD
471832010-12-03 Ulrich Drepper <drepper@gmail.com>
47184
47185 * po/it.po: Update from translation team.
47186
3a4a2499
L
471872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47188
47189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47190 unused codes.
47191
1e24cf6e
UD
471922010-11-30 Ulrich Drepper <drepper@gmail.com>
47193
47194 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47195
a7690819
AS
471962010-11-24 Andreas Schwab <schwab@redhat.com>
47197
47198 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47199 specially.
47200 (gaih_getanswer_slice): Likewise.
47201
3bf8d1b1
JJ
472022010-10-20 Jakub Jelinek <jakub@redhat.com>
47203
47204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47205
6db52fbb
PB
472062010-05-31 Petr Baudis <pasky@suse.cz>
47207
47208 [BZ #11149]
47209 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47210 silently even in the chroot mode.
47211
eaca7569
UD
472122010-11-22 Ulrich Drepper <drepper@gmail.com>
47213
47214 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47215 last patch a bit. Pretty printing
47216
3056dcdb
UD
472172010-05-31 Petr Baudis <pasky@suse.cz>
47218
47219 [BZ #10085]
47220 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47221 initialization of skip_initgroups_dyn.
47222
cf7c9078
UD
472232010-11-19 Ulrich Drepper <drepper@gmail.com>
47224
47225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47227
a1fb5e3e
UD
472282010-11-16 Ulrich Drepper <drepper@gmail.com>
47229
47230 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47231
3540d66b
AS
472322010-11-11 Andreas Schwab <schwab@redhat.com>
47233
47234 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47235 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47236 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47237 ($(objpfx)tst-fnmatch-mem): New rule.
47238 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47239 * posix/tst-fnmatch.c (main): Call mtrace.
47240
13b69574
L
472412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47242
47243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47244 Support Intel processor model 6 and model 0x2c.
47245
da93d214
LM
472462010-11-10 Luis Machado <luisgpm@br.ibm.com>
47247
47248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47249 signed comparison.
47250
8ca52c6e
L
472512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47252
47253 [BZ #12205]
47254 * string/test-strncasecmp.c (check_result): New function.
47255 (do_one_test): Use it.
47256 (check1): New function.
47257 (test_main): Use it.
47258 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47259 Support strcasecmp and strncasecmp.
47260
69da074d
UD
472612010-11-08 Ulrich Drepper <drepper@gmail.com>
47262
47263 [BZ #12194]
47264 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47265 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47266
ff02d528
L
472672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47268
47269 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47270 IFUNC support.
47271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47272 memset-x86-64.
47273 * sysdeps/x86_64/multiarch/bzero.S: New file.
47274 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47275 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47276 * sysdeps/x86_64/multiarch/memset.S: New file.
47277 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47279 Set bit_Prefer_SSE_for_memop for Intel processors.
47280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47281 Define.
47282 (index_Prefer_SSE_for_memop): Define.
47283 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47284
344d0b54
LM
472852010-11-04 Luis Machado <luisgpm@br.ibm.com>
47286
47287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47288 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47289
c0dde15b
UD
472902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47291
47292 [BZ #12191]
47293 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47294 (__x86_64_raw_data_cache_size_half): Likewise.
47295 (__x86_64_raw_shared_cache_size): Likewise.
47296 (__x86_64_raw_shared_cache_size_half): Likewise.
47297
47298 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47299 (__x86_64_raw_data_cache_size_half): Likewise.
47300 (__x86_64_raw_shared_cache_size): Likewise.
47301 (__x86_64_raw_shared_cache_size_half): Likewise.
47302 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47303 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47304 and __x86_64_raw_shared_cache_size_half. Round
47305 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47306 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47307 to multiple of 256 bytes.
47308
0e516e0e
MS
473092010-11-03 Ulrich Drepper <drepper@gmail.com>
47310
47311 [BZ #12167]
47312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47313 of inacessible symlinks. Verify result of symlink before returning it.
47314 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47315 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47316
0e012e87
ER
473172010-10-28 Erich Ritz <erichritz@gmail.com>
47318
47319 * math/math.h (isinf): Fix typo in comment.
47320
de0ff7bc
UD
473212010-11-01 Ulrich Drepper <drepper@gmail.com>
47322
47323 * po/da.po: Update from translation team.
47324
fa41c84d
UD
473252010-10-26 Ulrich Drepper <drepper@gmail.com>
47326
47327 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47328 is added to the list.
47329
f0967738
AK
473302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47331 Ulrich Drepper <drepper@gmail.com>
47332
47333 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47334 the global list here. Move code to...
47335 (_dl_add_to_namespace_list): ...here. New function.
47336 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47337 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47338 * elf/dl-load.c (lose): Don't remove the element from the list.
47339 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47340 (_dl_map_object): Likewise.
47341
473422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47343
47344 [BZ #12159]
47345 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47346 into all bytes of SSE register.
47347 Patch by Richard Li <richardpku@gmail.com>.
47348
f0967738 473492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47350
47351 [BZ #12140]
47352 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47353 perturbing.
47354
d0b9e94f
MB
473552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47356
47357 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47358 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47360 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47362 submachine.
47363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47364
8e9f92e9
AS
473652010-10-22 Andreas Schwab <schwab@redhat.com>
47366
47367 * include/dlfcn.h (__RTLD_SECURE): Define.
47368 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47369 mode & __RTLD_SECURE instead.
47370 (open_path): Rename preloaded parameter to secure.
47371 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47372 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47373 * elf/dl-deps.c (openaux): Likewise.
47374 * elf/rtld.c (struct map_args): Remove is_preloaded.
47375 (map_doit): Don't use it.
47376 (dl_main): Likewise.
47377 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47378 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47379
bc96fbda
AS
473802010-09-09 Andreas Schwab <schwab@redhat.com>
47381
47382 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47383 (sysd-rules-targets): Remove duplicates.
47384 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47385 rtld-%.$o dependency.
47386
22cd1c9b
AS
473872010-10-18 Andreas Schwab <schwab@redhat.com>
47388
47389 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47390 _dl_map_object do it.
47391
18edac48
UD
473922010-10-19 Ulrich Drepper <drepper@gmail.com>
47393
47394 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47395 fast fma builtins, define the macros in the C99 standard.
47396 (FP_FAST_FMAF): Likewise.
47397 (FP_FAST_FMAL): Likewise.
47398 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47399
47400 * bits/mathdef.h: Update copyright year.
47401 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47402
d2050124
MM
474032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47404
47405 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47406 builtins, define the macros in the C99 standard.
47407 (FP_FAST_FMAF): Likewise.
47408 (FP_FAST_FMAL): Likewise.
47409 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47410 multiply/add.
47411 (FP_FAST_FMAF): Likewise.
47412
475facd1
JJ
474132010-10-15 Jakub Jelinek <jakub@redhat.com>
47414
47415 [BZ #3268]
47416 * math/libm-test.inc (fma_test): Some new testcases.
47417 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47418 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47419 y and infinite z. Do multiplication by C already in long double.
47420 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47422 y and infinite z. Do bitwise or of inexact bit into u.d.
47423 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47424 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47425 * sysdeps/i386/fpu/s_fma.S: Removed.
47426 * sysdeps/i386/fpu/s_fmal.S: Removed.
47427
7c08a05c
JJ
474282010-10-16 Jakub Jelinek <jakub@redhat.com>
47429
47430 [BZ #3268]
47431 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47433 computation is not scheduled after fetestexcept. Fix value
47434 of minimum denormal long double.
47435
f3f7372d
JJ
474362010-10-14 Jakub Jelinek <jakub@redhat.com>
47437
47438 [BZ #3268]
47439 * math/libm-test.inc (fma_test): Add some more tests.
47440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47441 correctly.
47442
14d43591
AS
474432010-10-15 Andreas Schwab <schwab@redhat.com>
47444
47445 * scripts/data/localplt-s390-linux-gnu.data: New file.
47446 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47447
5e908464
JJ
474482010-10-13 Jakub Jelinek <jakub@redhat.com>
47449
47450 [BZ #3268]
47451 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47452 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47453 instead of dbl-64.
47454 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47455 inlines.
47456 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47458 if one of x and y is very large and the other is subnormal.
47459 * sysdeps/s390/fpu/s_fmaf.c: New file.
47460 * sysdeps/s390/fpu/s_fma.c: New file.
47461 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47462 * sysdeps/powerpc/fpu/s_fma.S: New file.
47463 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47464 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47465 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47466
474672010-10-12 Jakub Jelinek <jakub@redhat.com>
47468
47469 [BZ #3268]
47470 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47471 fma tests.
47472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47473 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47474 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47475 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47476 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47477 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47478 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47479
b833d51f
UD
474802010-10-12 Ulrich Drepper <drepper@redhat.com>
47481
47482 [BZ #12078]
47483 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47484 * posix/bug-regex31.input: Add test case.
47485
1751705d
UD
474862010-10-11 Ulrich Drepper <drepper@gmail.com>
47487
e9b9cbf5
UD
47488 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47489 * posix/bug-regex31.input: New file.
47490
47491 [BZ #12078]
47492 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47493 (parse_sub_exp): Fix last change, use postorder.
47494
ef06edbe
UD
47495 * posix/bug-regex31.c: New file.
47496 * posix/Makefile: Add rules to build and run bug-regex31.
47497
a129c80d
UD
47498 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47499
47500 [BZ #12078]
47501 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47502
b76b818e
UD
47503 [BZ #12108]
47504 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47505 to have entries in sys_siglist.
47506
1751705d
UD
47507 [BZ #12093]
47508 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47509 be NULL.
47510
9ff8d36f
JJ
475112010-10-07 Jakub Jelinek <jakub@redhat.com>
47512
47513 [BZ #3268]
47514 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47515 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47516 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47517 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47518 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47519 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47520 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47521 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47522 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47523 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47524 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47525 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47526 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47527 * math/ftestexcept.c (fetestexcept): Likewise.
47528 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47529 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47530 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47531 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47532 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47533 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47535
af325969
UD
475362010-10-11 Ulrich Drepper <drepper@gmail.com>
47537
c579b202 47538 [BZ #12107]
af325969
UD
47539 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47540 newline.
47541
67a67b95
UD
475422010-10-06 Ulrich Drepper <drepper@gmail.com>
47543
47544 * string/bug-strstr1.c: New file.
47545 * string/Makefile: Add rules to build and run bug-strstr1.
47546
5fb308bc
EB
475472010-10-05 Eric Blake <eblake@redhat.com>
47548
47549 [BZ #12092]
47550 * string/str-two-way.h (two_way_long_needle): Always clear memory
47551 when skipping input due to the shift table.
47552
45db99c7
UD
475532010-10-03 Ulrich Drepper <drepper@gmail.com>
47554
3b111893
UD
47555 [BZ #12005]
47556 * malloc/mcheck.c: Handle large requests.
47557
45db99c7
UD
47558 [BZ #12077]
47559 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47560 for strncmp and strncasecmp.
47561 * string/stratcliff.c: Add tests for strcmp and strncmp.
47562 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47563
cf7a1eb8
NI
475642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47565
47566 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47567 __set_fpscr.
47568
6484ba5e
AJ
475692010-09-30 Andreas Jaeger <aj@suse.de>
47570
47571 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47572 (CGROUP_SUPER_MAGIC): Define.
47573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47574 Handle btrfs and cgroup file systems.
47575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47576 Likewise.
47577
91c42559
LM
475782010-09-27 Luis Machado <luisgpm@br.ibm.com>
47579
47580 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47581 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47582
87a97932
AK
475832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47584
47585 [BZ #12067]
47586 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47587 trying to locate the ELF header.
47588
c21cc9bc
AS
475892010-09-27 Andreas Schwab <schwab@redhat.com>
47590
47591 [BZ #11611]
47592 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47593 Mask out sign-bit copies when constructing f_fsid.
47594
315970f6
PB
475952010-09-24 Petr Baudis <pasky@suse.cz>
47596
47597 * debug/stack_chk_fail_local.c: Add missing licence exception.
47598 * debug/warning-nop.c: Likewise.
47599
1ac7a2c7
JM
476002010-09-15 Joseph Myers <joseph@codesourcery.com>
47601
47602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47603 implementing getdents64 using getdents syscall, set d_type if
47604 __ASSUME_GETDENTS32_D_TYPE.
47605
56801c50
AS
476062010-09-16 Andreas Schwab <schwab@redhat.com>
47607
47608 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47609 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47610
dda51327
UD
476112010-09-21 Ulrich Drepper <drepper@redhat.com>
47612
47613 [BZ #12037]
47614 * posix/unistd.h: Undo change of feature selection for ftruncate from
47615 2010-01-11.
47616
8ffcee4a
UD
476172010-09-20 Ulrich Drepper <drepper@redhat.com>
47618
a545ecd9 47619 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47620 detection.
47621
e24f0a8b
AS
476222010-09-20 Andreas Schwab <schwab@redhat.com>
47623
47624 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47625 fanotify_mark.
47626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47627
7291c56f
AS
476282010-09-14 Andreas Schwab <schwab@redhat.com>
47629
47630 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47631 variables after CHECK_SP call.
47632 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47633
bc5fb037
AS
476342010-09-13 Andreas Schwab <schwab@redhat.com>
47635 Ulrich Drepper <drepper@redhat.com>
47636
47637 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47638 re-relocationg ld.so.
47639 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47640 _dl_init_paths call.
47641 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47642 here anymore.
47643
e66e7419
UD
476442010-09-14 Ulrich Drepper <drepper@redhat.com>
47645
47646 * resolv/res_init.c (__res_vinit): Count the default server we added.
47647
c044aa75
CLT
476482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47649 Ulrich Drepper <drepper@redhat.com>
47650
47651 [BZ #11968]
47652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47653 (____longjmp_chk): Use %ebx for saving value across system call.
47654 Add unwind info.
47655
32cf4069
AS
476562010-09-06 Andreas Schwab <schwab@redhat.com>
47657
47658 * manual/Makefile: Don't mix pattern rules with normal rules.
47659
817328ee
AS
476602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47661
47662 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47663 operation.
47664 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47665 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47666 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47667 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47669 Likewise.
47670
29fddf61
UD
476712010-09-04 Ulrich Drepper <drepper@redhat.com>
47672
47673 [BZ #11979]
47674 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47675 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47676
0959ffc9
UD
476772010-09-02 Ulrich Drepper <drepper@redhat.com>
47678
47679 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47680 * sysdeps/x86_64/addmul_1.S: Likewise.
47681 * sysdeps/x86_64/lshift.S: Likewise.
47682 * sysdeps/x86_64/mul_1.S: Likewise.
47683 * sysdeps/x86_64/rshift.S: Likewise.
47684 * sysdeps/x86_64/sub_n.S: Likewise.
47685 * sysdeps/x86_64/submul_1.S: Likewise.
47686
ece29840
ST
476872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47688
0959ffc9
UD
47689 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47690 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47691 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47692 * bits/sched.h [__need_schedparam]
ece29840 47693 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47694 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47695 (__defined_schedparam): Define to 1.
ece29840
ST
47696 (__sched_param): New structure, identical to sched_param.
47697 (__need_schedparam): Undefine.
47698
e53a31fe
MF
476992010-08-31 Mike Frysinger <vapier@gentoo.org>
47700
fdc0c10d
MF
47701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47702 (epoll_create1): Declare.
47703
e53a31fe
MF
47704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47705
a726d796
AS
477062010-08-31 Andreas Schwab <schwab@redhat.com>
47707
47708 [BZ #7066]
47709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47710 shifting retval into place.
47711
2f3e3dc7
UD
477122010-09-01 Ulrich Drepper <drepper@redhat.com>
47713
f2933da9
UD
47714 * nis/rpcsvc/nis.h: Update copyright notice.
47715 * nis/rpcsvc/nis.x: Likewise.
47716 * nis/rpcsvc/nis_callback.h: Likewise.
47717 * nis/rpcsvc/nis_callback.x: Likewise.
47718 * nis/rpcsvc/nis_object.x: Likewise.
47719 * nis/rpcsvc/nis_tags.h: Likewise.
47720 * nis/rpcsvc/yp.h: Likewise.
47721 * nis/rpcsvc/yp.x: Likewise.
47722 * nis/rpcsvc/ypupd.h: Likewise.
47723 * nis/yp_xdr.c: Likewise.
47724 * nis/ypupdate_xdr.c: Likewise.
47725
2f3e3dc7
UD
47726 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47727 mainly the body of pmap_getport. Add parameters to specify timeouts.
47728 (pmap_getport): Use __libc_rpc_getport.
47729 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47730 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47731 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47732
f3dcc2f9
AS
477332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47734
47735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47736 fanotify_mark.
47737
6d34eb5b
RM
477382010-08-27 Roland McGrath <roland@redhat.com>
47739
47740 * sysdeps/i386/i686/multiarch/Makefile
47741 (CFLAGS-varshift.c): New variable.
47742
9ea3de11
UD
477432010-08-27 Ulrich Drepper <drepper@redhat.com>
47744
c96d23fc
UD
47745 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47746 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47747
9ea3de11
UD
47748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47749
47750 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47751
623aac7f
L
477522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47753
47754 * sysdeps/x86_64/strlen.S: Unroll the loop.
47755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47756 strlen-sse2 strlen-sse2-bsf.
47757 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47758 __strlen_no_bsf if bit_Slow_BSF is set.
47759 (__strlen_sse42): Removed.
47760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47761 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47762
8b2b7715
RM
477632010-08-25 Roland McGrath <roland@redhat.com>
47764
47765 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47766 * sysdeps/x86_64/multiarch/varshift.c: New file.
47767 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47768 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47769 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47770 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47771
e73015f2
L
477722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47773
47774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47775 strlen-sse2 strlen-sse2-bsf.
47776 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47777 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47778 (__strlen_sse2): Removed.
47779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47782 bit_Slow_BSF for Atom.
47783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47784 (index_Slow_BSF): Define.
47785 (HAS_SLOW_BSF): Define.
47786
df24a73e
UD
477872010-08-25 Ulrich Drepper <drepper@redhat.com>
47788
47789 [BZ #10851]
47790 * resolv/res_init.c (__res_vinit): When no server address at all
47791 is given default to loopback.
47792
f2ac4868
RM
477932010-08-24 Roland McGrath <roland@redhat.com>
47794
09055553
RM
47795 * configure.in: Remove config-name.h generation.
47796 * configure: Regenerated.
47797 * config-name.in: File removed.
47798 * scripts/config-uname.sh: New file.
47799 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47800 ($(objdir)config-name.h): New target.
47801
f2ac4868
RM
47802 * sunrpc/rpc_parse.h: Avoid nested comment.
47803
73f27d5e
RH
478042010-08-24 Richard Henderson <rth@redhat.com>
47805 Ulrich Drepper <drepper@redhat.com>
47806 H.J. Lu <hongjiu.lu@intel.com>
47807
47808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47810 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47811 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47812 _mm_alignr_epi8 with _mm_loadu_si128.
47813 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47814 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47815 (__m128i_shift_right): Removed.
47816 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47817 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47818 * sysdeps/x86_64/multiarch/varshift.h: New file.
47819 * sysdeps/x86_64/multiarch/varshift.S: New file.
47820
84b9230c
MF
478212010-08-21 Mike Frysinger <vapier@gentoo.org>
47822
47823 * configure.in: Move assembler checks to before sysdep dir checking.
47824
9bbd0ddc
PB
478252010-08-20 Petr Baudis <pasky@suse.cz>
47826
47827 * LICENSES: Sync the sunrpc license.
47828
9da4bb31
UD
478292010-08-19 Ulrich Drepper <drepper@redhat.com>
47830
a7ab6ec8
UD
47831 * sunrpc/auth_des.c: Update copyright notice once again.
47832 * sunrpc/auth_none.c: Likewise.
47833 * sunrpc/auth_unix.c: Likewise.
47834 * sunrpc/authdes_prot.c: Likewise.
47835 * sunrpc/authuxprot.c: Likewise.
47836 * sunrpc/bindrsvprt.c: Likewise.
47837 * sunrpc/clnt_gen.c: Likewise.
47838 * sunrpc/clnt_perr.c: Likewise.
47839 * sunrpc/clnt_raw.c: Likewise.
47840 * sunrpc/clnt_simp.c: Likewise.
47841 * sunrpc/clnt_tcp.c: Likewise.
47842 * sunrpc/clnt_udp.c: Likewise.
47843 * sunrpc/clnt_unix.c: Likewise.
47844 * sunrpc/des_crypt.c: Likewise.
47845 * sunrpc/des_soft.c: Likewise.
47846 * sunrpc/get_myaddr.c: Likewise.
47847 * sunrpc/getrpcport.c: Likewise.
47848 * sunrpc/key_call.c: Likewise.
47849 * sunrpc/key_prot.c: Likewise.
47850 * sunrpc/openchild.c: Likewise.
47851 * sunrpc/pm_getmaps.c: Likewise.
47852 * sunrpc/pm_getport.c: Likewise.
47853 * sunrpc/pmap_clnt.c: Likewise.
47854 * sunrpc/pmap_prot.c: Likewise.
47855 * sunrpc/pmap_prot2.c: Likewise.
47856 * sunrpc/pmap_rmt.c: Likewise.
47857 * sunrpc/rpc/auth.h: Likewise.
47858 * sunrpc/rpc/auth_unix.h: Likewise.
47859 * sunrpc/rpc/clnt.h: Likewise.
47860 * sunrpc/rpc/des_crypt.h: Likewise.
47861 * sunrpc/rpc/key_prot.h: Likewise.
47862 * sunrpc/rpc/netdb.h: Likewise.
47863 * sunrpc/rpc/pmap_clnt.h: Likewise.
47864 * sunrpc/rpc/pmap_prot.h: Likewise.
47865 * sunrpc/rpc/pmap_rmt.h: Likewise.
47866 * sunrpc/rpc/rpc.h: Likewise.
47867 * sunrpc/rpc/rpc_des.h: Likewise.
47868 * sunrpc/rpc/rpc_msg.h: Likewise.
47869 * sunrpc/rpc/svc.h: Likewise.
47870 * sunrpc/rpc/svc_auth.h: Likewise.
47871 * sunrpc/rpc/types.h: Likewise.
47872 * sunrpc/rpc/xdr.h: Likewise.
47873 * sunrpc/rpc_clntout.c: Likewise.
47874 * sunrpc/rpc_cmsg.c: Likewise.
47875 * sunrpc/rpc_common.c: Likewise.
47876 * sunrpc/rpc_cout.c: Likewise.
47877 * sunrpc/rpc_dtable.c: Likewise.
47878 * sunrpc/rpc_hout.c: Likewise.
47879 * sunrpc/rpc_main.c: Likewise.
47880 * sunrpc/rpc_parse.c: Likewise.
47881 * sunrpc/rpc_parse.h: Likewise.
47882 * sunrpc/rpc_prot.c: Likewise.
47883 * sunrpc/rpc_sample.c: Likewise.
47884 * sunrpc/rpc_scan.c: Likewise.
47885 * sunrpc/rpc_scan.h: Likewise.
47886 * sunrpc/rpc_svcout.c: Likewise.
47887 * sunrpc/rpc_tblout.c: Likewise.
47888 * sunrpc/rpc_util.c: Likewise.
47889 * sunrpc/rpc_util.h: Likewise.
47890 * sunrpc/rpcinfo.c: Likewise.
47891 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47892 * sunrpc/rpcsvc/key_prot.x: Likewise.
47893 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47894 * sunrpc/rpcsvc/mount.x: Likewise.
47895 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47896 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47897 * sunrpc/rpcsvc/rex.x: Likewise.
47898 * sunrpc/rpcsvc/rstat.x: Likewise.
47899 * sunrpc/rpcsvc/rusers.x: Likewise.
47900 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47901 * sunrpc/rpcsvc/spray.x: Likewise.
47902 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47903 * sunrpc/rtime.c: Likewise.
47904 * sunrpc/svc.c: Likewise.
47905 * sunrpc/svc_auth.c: Likewise.
47906 * sunrpc/svc_authux.c: Likewise.
47907 * sunrpc/svc_raw.c: Likewise.
47908 * sunrpc/svc_run.c: Likewise.
47909 * sunrpc/svc_simple.c: Likewise.
47910 * sunrpc/svc_tcp.c: Likewise.
47911 * sunrpc/svc_udp.c: Likewise.
47912 * sunrpc/svc_unix.c: Likewise.
47913 * sunrpc/svcauth_des.c: Likewise.
47914 * sunrpc/xcrypt.c: Likewise.
47915 * sunrpc/xdr.c: Likewise.
47916 * sunrpc/xdr_array.c: Likewise.
47917 * sunrpc/xdr_float.c: Likewise.
47918 * sunrpc/xdr_mem.c: Likewise.
47919 * sunrpc/xdr_rec.c: Likewise.
47920 * sunrpc/xdr_ref.c: Likewise.
47921 * sunrpc/xdr_sizeof.c: Likewise.
47922 * sunrpc/xdr_stdio.c: Likewise.
47923
9da4bb31
UD
47924 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47925 handling.
47926
bdaa77bc
AS
479272010-08-19 Andreas Schwab <schwab@redhat.com>
47928
47929 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47930
fe2f79db
LM
479312010-08-19 Luis Machado <luisgpm@br.ibm.com>
47932
47933 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47934 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47936 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47938 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47940 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47943 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47944 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47945 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47946 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47947
b9b42ee0
AB
479482010-07-26 Anton Blanchard <anton@samba.org>
47949
47950 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47951 * malloc/arena.c (heap_trim): Likewise.
47952
1c06ba31
UD
479532010-08-16 Ulrich Drepper <drepper@redhat.com>
47954
47955 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47956 here. Not...
47957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47958 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47959
f8392f40
L
479602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47961
47962 * sysdeps/i386/elf/Makefile: New file.
47963
3162f12e
AS
479642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47965
47966 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47967 from fanotify_init.
47968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47970
28c90b2c
UD
479712010-08-15 Ulrich Drepper <drepper@redhat.com>
47972
47973 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47974 of strncasecmp_l.
1feccb6c 47975 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47976
ca6bb004
UD
479772010-08-14 Ulrich Drepper <drepper@redhat.com>
47978
e9f82e0d
UD
47979 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47980 strncase_l-nonascii.
47981 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47982 Add strncase_l-ssse3.
47983 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47984 * sysdeps/x86_64/strcmp.S: Likewise.
47985 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47986 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47987 * sysdeps/x86_64/strncase.S: New file.
47988 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47989 * sysdeps/x86_64/strncase_l.S: New file.
47990 * string/Makefile (strop-tests): Add strncasecmp.
47991 * string/test-strncasecmp.c: New file.
47992
47993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47994 warning.
47995
ca6bb004
UD
47996 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47997 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47998
052fa7b3
AS
479992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48000
48001 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48002
962dba78
UD
480032010-08-12 Ulrich Drepper <drepper@redhat.com>
48004
48005 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48008
bebff237
AM
480092010-05-01 Alan Modra <amodra@gmail.com>
48010
48011 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48012 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48013 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48014 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48015 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48016 tidying. Don't tail-call __sigjmp_save for static lib.
48017 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48018 save location.
48019 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48020 (CALL_MCOUNT): Add eh info, and nop after bl.
48021 (TAIL_CALL_SYSCALL_ERROR): New macro.
48022 (PSEUDO_RET): Use it.
48023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48024 Correct save location of integer regs and cr.
48025 (_dl_profile_resolve): Correct cr save location. Delete nops
48026 after bl when SHARED. Reduce cfi size a little by better
48027 placement of cfi directives.
48028 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48029 make a stack frame. Instead use parm save area as a temp.
48030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48031 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48033 Don't make a stack frame for parent, use parm save area.
48034 Increase child stack frame to 112 bytes. Don't save unused reg,
48035 and adjust reg usage. Set up cfi on error recovery and
48036 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48038 (__makecontext): Add dummy nop after jump to exit.
48039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48040 Use correct parm save area and cr save, reduce stack frame.
48041 Correct cfi for possible PSEUDO_RET frame setup.
48042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48043 Branch to local label emitted by PSEUDO_RET rather than
48044 __syscall_error.
48045
02637374
AS
480462010-08-12 Andreas Schwab <schwab@redhat.com>
48047
48048 [BZ #11904]
48049 * locale/programs/locale.c (print_assignment): New function.
48050 (show_locale_vars): Use it.
48051
c3e2f19b
UD
480522010-08-11 Ulrich Drepper <drepper@redhat.com>
48053
3cdaa6ad
UD
48054 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48055 field.
48056 (struct statfs64): Likewise.
48057 (_STATFS_F_FLAGS): Define.
48058 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48060 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48061 (ST_VALID): Define locally.
48062 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48063 __statvfs_getflags, use the provided value.
48064 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48065 __ASSUME_STATFS_F_FLAGS.
48066
754f7da3
UD
48067 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48068
10b3bedc
UD
48069 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48070 Add sys/fanotify.h.
48071 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48072 fanotify_mask for GLIBC_2.13.
48073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48074 fanotify_init and fanotify_mark.
48075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48076 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48077
c08fb0d7
UD
48078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48079 Add prlimit.
48080 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48081 prlimit64 for GLIBC_2.13.
48082 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48083 prlimit64.
48084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48085 syscall.
48086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48088 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48089 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48091 add prlimit alias.
48092 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48093
15bac72b
UD
48094 [BZ #11903]
48095 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48096 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48097
c3e2f19b
UD
48098 * nss/Makefile: Add rules to build and run tst-nss-test1.
48099 * shlib-versions: Add entry for libnss_test1.
48100 * nss/nss_test1.c: New file.
48101 * nss/tst-nss-test1.c: New file.
48102
48103 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48104 (__nss_configure_lookup): Set appropriate entry in
48105 __nss_configure_lookup to true.
48106 * nss/nsswitch.h: Define enum with indeces of databases in
48107 databases and __nss_database_custom arrays. Declare
48108 __nss_database_custom.
48109 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48110 to avoid using nscd when custom rules are installed.
48111 * nss/getXXbyYY_r.c: Likewise.
48112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48113
48114 * nss/nss_files/files-parse.c: Whitespace fixes.
48115
f15ce4d8
UD
481162010-08-09 Ulrich Drepper <drepper@redhat.com>
48117
48118 [BZ #11883]
48119 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48120 * posix/fnmatch_loop.c: Likewise.
48121
d22e4cc9
AK
481222010-07-17 Andi Kleen <ak@linux.intel.com>
48123
48124 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48125 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48126 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48127 * Versions.def [GLIBC_2.13]: Add.
48128
805bc17d
UD
481292010-08-06 Ulrich Drepper <drepper@redhat.com>
48130
48131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48132 Also fail if tpwd after pwuid call is NULL.
48133
5a42321d
ST
481342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48135
48136 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48137 when converting to ms.
48138
fd3ebeda
ST
481392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48140
48141 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48142 EOPNOTSUPP errors with ENOTTY.
48143 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48144 EOPNOTSUPP errors with ENOTTY.
48145
73507d3a
UD
481462010-07-31 Ulrich Drepper <drepper@redhat.com>
48147
48148 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48149 Add strcasecmp_l-ssse3.
48150 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48151 strcasecmp.
48152 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48153 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48154 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48155
fe36dd02
UD
481562010-07-30 Ulrich Drepper <drepper@redhat.com>
48157
66f6765a
UD
48158 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48159
42e08a54
UD
48160 * string/Makefile (strop-tests): Add strcasecmp.
48161 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48162 strcasecmp_l-nonascii.
48163 (gen-as-const-headers): Add locale-defines.sym.
48164 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48165 * sysdeps/x86_64/strcasecmp.S: New file.
48166 * sysdeps/x86_64/strcasecmp_l.S: New file.
48167 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48168 * sysdeps/x86_64/locale-defines.sym: New file.
48169 * string/test-strcasecmp.c: New file.
48170
fe36dd02
UD
48171 * string/test-strcasestr.c: Test both ends of the range of characters.
48172 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48173
48cbc0d6
RM
481742010-07-29 Roland McGrath <roland@redhat.com>
48175
76e6d6bc 48176 [BZ #11856]
48cbc0d6
RM
48177 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48178
880113d9
UD
481792010-07-27 Ulrich Drepper <drepper@redhat.com>
48180
48181 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48182 for ld.so.
48183
deb9cabb
AS
481842010-07-27 Andreas Schwab <schwab@redhat.com>
48185
48186 * manual/memory.texi (Malloc Tunable Parameters): Document
48187 M_PERTURB.
48188
1c7570ff
RM
481892010-07-26 Roland McGrath <roland@redhat.com>
48190
48191 [BZ #11840]
48192 * configure.in (-fgnu89-inline check): Set and substitute
48193 gnu89_inline, not libc_cv_gnu89_inline.
48194 * configure: Regenerated.
48195 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48196
24fb0f88
UD
481972010-07-26 Ulrich Drepper <drepper@redhat.com>
48198
48199 * string/test-strnlen.c: New file.
48200 * string/Makefile (strop-tests): Add strnlen.
48201 * string/tester.c (test_strnlen): Add a few more test cases.
48202 * string/tst-strlen.c: Better error reporting.
48203
48204 * sysdeps/x86_64/strnlen.S: New file.
48205
8e96b93a
UD
482062010-07-24 Ulrich Drepper <drepper@redhat.com>
48207
48208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48209 lower-latency instructions.
48210
dbc676d4
UD
482112010-07-23 Ulrich Drepper <drepper@redhat.com>
48212
48213 * string/test-strcasestr.c: New file.
48214 * string/test-strstr.c: New file.
48215 * string/Makefile (strop-tests): Add strstr and strcasestr.
48216 * string/str-two-way.h: Don't undefine MAX.
48217 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48218
f6a31e0e
AS
482192010-07-21 Andreas Schwab <schwab@redhat.com>
48220
48221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48222 strcasestr-nonascii.
48223 (CFLAGS-strcasestr-nonascii.c): Define.
48224 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48226 Remove unused attribute.
48227
5dbc3b6c
RM
482282010-07-20 Roland McGrath <roland@redhat.com>
48229
48230 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48231 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48232 ld.so.cache was broken. With it, there is no way to disable dsocaps
48233 like LD_HWCAP_MASK can disable hwcaps.
48234
23d101d8
EPM
482352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48236
48237 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48238
cc9f2e47
UD
482392010-07-16 Ulrich Drepper <drepper@redhat.com>
48240
48241 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48242 call in strcasestr.
48243 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48244 __strcasestr_sse42_nonascii.
48245 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48246 strcasestr-nonascii.c.
48247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48248
77c1b069
LM
482492010-06-15 Luis Machado <luisgpm@br.ibm.com>
48250
48251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48252 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48255
440566c3
UD
482562010-07-09 Ulrich Drepper <drepper@redhat.com>
48257
48258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48259 fcntl.
48260
5be9d05d
AS
482612010-07-06 Andreas Schwab <schwab@redhat.com>
48262
c30b7ee2 48263 [BZ #11577]
5be9d05d
AS
48264 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48265 dl_signal_cerror.
48266
8a492a67
UD
482672010-07-06 Ulrich Drepper <drepper@redhat.com>
48268
48269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48270 _PC_PIPE_BUF using F_GETPIPE_SZ.
48271
713df3d5
RM
482722010-07-05 Roland McGrath <roland@redhat.com>
48273
48274 * manual/arith.texi (Rounding Functions): Fix rint description
48275 implicit in round description.
48276
702e8f14
UD
482772010-07-02 Ulrich Drepper <drepper@redhat.com>
48278
48279 * elf/Makefile: Fix linking for a few tests to make recent linker
48280 happy.
48281
52ed8be9
AS
482822010-06-30 Andreas Schwab <schwab@redhat.com>
48283
48284 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48285 $(common-objpfx)libc_nonshared.a.
48286
f47c9a11
LM
482872010-06-21 Luis Machado <luisgpm@br.ibm.com>
48288
48289 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48290 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48291 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48292 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48293 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48294 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48296 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48311 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48312 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48313 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48314 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48315 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48316 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48317 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48318 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48319 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48320 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48321 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48322 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48337
6fb8cbcb
L
483382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48339
48340 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48341 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48342 * string/memmove.c (memmove): Renamed to ...
48343 (MEMMOVE): ...this. Default to memmove.
48344 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48345 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48346 (END_CHK): Define.
48347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48348 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48349 mempcpy-ssse3-back memmove-ssse3-back.
48350 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48353 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48354 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48355 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48356 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48357 * sysdeps/x86_64/multiarch/memmove.c: New file.
48358 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48359 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48360 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48361 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48362 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48364 Define.
48365 (index_Fast_Copy_Backward): Define.
48366 (HAS_ARCH_FEATURE): Define.
48367 (HAS_FAST_REP_STRING): Define.
48368 (HAS_FAST_COPY_BACKWARD): Define.
48369
4e733bac 483702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48371
48372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48373 Restore proper fallback handling.
48374
63c4ed22
UD
483752010-06-19 Ulrich Drepper <drepper@redhat.com>
48376
ac2b484c
UD
48377 [BZ #11701]
48378 * posix/group_member.c (__group_member): Correct checking loop.
48379
63c4ed22
UD
48380 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48381 OOM in getpwuid_r correctly. Return error number when the caller
48382 should return, otherwise -1.
48383 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48384 call returning > 0 value.
48385 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48386
765ade4b
AS
483872010-06-07 Andreas Schwab <schwab@redhat.com>
48388
48389 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48390 libc_nonshared.a from targets in modules-names.
48391
80da2e09
KS
483922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48393
48394 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48395 requires it.
48396
158db122
LM
483972010-06-10 Luis Machado <luisgpm@br.ibm.com>
48398
48399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48400 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48403
caa78cf8
AS
484042010-06-02 Andreas Schwab <schwab@redhat.com>
48405
48406 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48407
b2ef2c01
UD
484082010-06-14 Ulrich Drepper <drepper@redhat.com>
48409
48410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48411 and F_GETPIPE_SZ.
48412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48418
fbd643b6
RM
484192010-06-14 Roland McGrath <roland@redhat.com>
48420
48421 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48422
f32f2869
JJ
484232010-06-07 Jakub Jelinek <jakub@redhat.com>
48424
48425 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48426 __REDIRECT followed by __THROW.
48427 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48428 * posix/getopt.h (getopt): Likewise.
48429
2a50c078
EPM
484302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48431
48432 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48433 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48434 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48435 in AT_FLAGS.
48436 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48437 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48438
eb5ad2eb
LM
484392010-05-28 Luis Machado <luisgpm@br.ibm.com>
48440
48441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48442
3c88fe1e
L
484432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48444
48445 [BZ #11640]
48446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48447 Properly check family and model.
48448
d2f73151
TY
484492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48450
48451 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48452
ebd2e13d
LM
484532010-05-24 Luis Machado <luisgpm@br.ibm.com>
48454
48455 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48456
b32b8b45
UD
484572010-05-21 Ulrich Drepper <drepper@redhat.com>
48458
48459 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48460 symbol reference.
48461
9acbe24d
AS
484622010-05-19 Andreas Schwab <schwab@redhat.com>
48463
48464 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48465 symbol reference.
48466
f0ccf6ea
AS
484672010-05-21 Andreas Schwab <schwab@redhat.com>
48468
3d04ff3a
AS
48469 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48470 and internal_recvmmsg.
48471 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48472 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48473 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48474 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48475
f0ccf6ea
AS
48476 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48477 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48478 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48479
5b08ac57
AS
484802010-05-20 Andreas Schwab <schwab@redhat.com>
48481
48482 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48483
4828935d
LM
484842010-05-17 Luis Machado <luisgpm@br.ibm.com>
48485
48486 POWER7 optimizations.
48487 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48488 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48489
373d545e
UD
484902010-05-19 Ulrich Drepper <drepper@redhat.com>
48491
48492 * version.h: Update for 2.13 development version.
48493
21a2b1ae
AS
484942010-05-12 Andrew Stubbs <ams@codesourcery.com>
48495
48496 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48497 exceptions. Return 0.
48498
3f7dcb2b
RM
484992010-05-07 Roland McGrath <roland@redhat.com>
48500
48501 * elf/ldconfig.c (main): Add a const.
48502
5f24d53a 485032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48504
a160f8d8
UD
48505 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48506 (args_options): Add no-idn option.
48507 (ahosts_keys_int): Add idn_flags to ai_flags.
48508 (parse_option): Handle 'i' option to clear idn_flags.
48509
5f24d53a
UD
48510 * malloc/malloc.c (_int_free): Possible race in the most recently
48511 added check. Only act on the data if no current modification
48512 happened.
265bb1ce
UD
48513
48514See ChangeLog.17 for earlier changes.